{"size": 432170, "ext": "js", "max_stars_repo_path": "dist/bundle.js", "max_stars_repo_name": "epeli/flyplayer", "max_stars_repo_stars_event_min_datetime": "2015-12-23T18:32:05.000Z", "max_stars_repo_stars_event_max_datetime": "2015-12-23T18:32:05.000Z", "max_issues_repo_path": "dist/bundle.js", "max_issues_repo_name": "epeli/flyplayer", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/bundle.js", "max_forks_repo_name": "epeli/flyplayer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 3350.1550387597, "max_line_length": 32092, "alphanum_fraction": 0.717666659}
!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="/dist",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){return i["default"].createElement(c.Provider,{store:b},i["default"].createElement(v["default"],null))}n(457);var o=n(12),i=r(o),s=n(180),l=r(s),u=n(211),c=n(63),p=n(120),d=r(p),h=n(44),f=r(h),g=n(219),v=r(g),y=n(218),m=n(222),_=[m.thunkMiddleware],b=(0,u.createStore)((0,m.composeReducers)(y.inputReducer,f["default"],d["default"]),u.applyMiddleware.apply(void 0,_));b.dispatch((0,p.setStorageKey)("flysight")),b.dispatch((0,p.restoreFromStorage)()),window.getState=b.getState,l["default"].render(i["default"].createElement(a,null),document.getElementById("app"))},function(e,t,n){"use strict";function r(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=r},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var a=new Error(n);throw a.name="Invariant Violation",a.framesToPop=1,a}e.exports=n},function(e,t,n){"use strict";var r=n(9),a=r;e.exports=a},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){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;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(o){return!1}}var a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,i,s=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var u in r)a.call(r,u)&&(s[u]=r[u]);if(Object.getOwnPropertySymbols){i=Object.getOwnPropertySymbols(r);for(var c=0;c<i.length;c++)o.call(r,i[c])&&(s[i[c]]=r[i[c]])}}return s}},function(e,t,n){"use strict";function r(e){for(var t;t=e._renderedComponent;)e=t;return e}function a(e,t){var n=r(e);n._hostNode=t,t[g]=n}function o(e){var t=e._hostNode;t&&(delete t[g],e._hostNode=null)}function i(e,t){if(!(e._flags&f.hasCachedChildNodes)){var n=e._renderedChildren,o=t.firstChild;e:for(var i in n)if(n.hasOwnProperty(i)){var s=n[i],l=r(s)._domID;if(0!==l){for(;null!==o;o=o.nextSibling)if(1===o.nodeType&&o.getAttribute(h)===String(l)||8===o.nodeType&&o.nodeValue===" react-text: "+l+" "||8===o.nodeType&&o.nodeValue===" react-empty: "+l+" "){a(s,o);continue e}c("32",l)}}e._flags|=f.hasCachedChildNodes}}function s(e){if(e[g])return e[g];for(var t=[];!e[g];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[g]);e=t.pop())n=r,t.length&&i(r,e);return n}function l(e){var t=s(e);return null!=t&&t._hostNode===e?t:null}function u(e){if(void 0===e._hostNode?c("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:c("34"),e=e._hostParent;for(;t.length;e=t.pop())i(e,e._hostNode);return e._hostNode}var c=n(2),p=n(28),d=n(188),h=(n(1),p.ID_ATTRIBUTE_NAME),f=d,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:s,getInstanceFromNode:l,getNodeFromInstance:u,precacheChildNodes:i,precacheNode:a,uncacheNode:o};e.exports=v},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){var r=n(154),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";e.exports=n(398)},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function a(e){return void 0!==e.key}var o=n(4),i=n(20),s=(n(3),n(201),Object.prototype.hasOwnProperty),l="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,u={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,a,o,i){var s={$$typeof:l,type:e,key:t,ref:n,props:i,_owner:o};return s};c.createElement=function(e,t,n){var o,l={},p=null,d=null,h=null,f=null;if(null!=t){r(t)&&(d=t.ref),a(t)&&(p=""+t.key),h=void 0===t.__self?null:t.__self,f=void 0===t.__source?null:t.__source;for(o in t)s.call(t,o)&&!u.hasOwnProperty(o)&&(l[o]=t[o])}var g=arguments.length-2;if(1===g)l.children=n;else if(g>1){for(var v=Array(g),y=0;y<g;y++)v[y]=arguments[y+2];l.children=v}if(e&&e.defaultProps){var m=e.defaultProps;for(o in m)void 0===l[o]&&(l[o]=m[o])}return c(e,p,d,h,f,i.current,l)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var l,p=o({},e.props),d=e.key,h=e.ref,f=e._self,g=e._source,v=e._owner;if(null!=t){r(t)&&(h=t.ref,v=i.current),a(t)&&(d=""+t.key);var y;e.type&&e.type.defaultProps&&(y=e.type.defaultProps);for(l in t)s.call(t,l)&&!u.hasOwnProperty(l)&&(void 0===t[l]&&void 0!==y?p[l]=y[l]:p[l]=t[l])}var m=arguments.length-2;if(1===m)p.children=n;else if(m>1){for(var _=Array(m),b=0;b<m;b++)_[b]=arguments[b+2];p.children=_}return c(e.type,d,h,f,g,v,p)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===l},c.REACT_ELEMENT_TYPE=l,e.exports=c},function(e,t,n){"use strict";function r(){S.ReactReconcileTransaction&&x?void 0:c("123")}function a(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!0)}function o(e,t,n,a,o,i){r(),x.batchedUpdates(e,t,n,a,o,i)}function i(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==y.length?c("124",t,y.length):void 0,y.sort(i),m++;for(var n=0;n<t;n++){var r=y[n],a=r._pendingCallbacks;r._pendingCallbacks=null;var o;if(f.logTopLevelRenders){var s=r;r._currentElement.props===r._renderedComponent._currentElement&&(s=r._renderedComponent),o="React update: "+s.getName(),console.time(o)}if(g.performUpdateIfNecessary(r,e.reconcileTransaction,m),o&&console.timeEnd(o),a)for(var l=0;l<a.length;l++)e.callbackQueue.enqueue(a[l],r.getPublicInstance())}}function l(e){return r(),x.isBatchingUpdates?(y.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=m+1))):void x.batchedUpdates(l,e)}function u(e,t){x.isBatchingUpdates?void 0:c("125"),_.enqueue(e,t),b=!0}var c=n(2),p=n(4),d=n(184),h=n(19),f=n(191),g=n(29),v=n(42),y=(n(1),[]),m=0,_=d.getPooled(),b=!1,x=null,w={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),A()):y.length=0}},C={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},E=[w,C];p(a.prototype,v.Mixin,{getTransactionWrappers:function(){return E},destructor:function(){this.dirtyComponentsLength=null,d.release(this.callbackQueue),this.callbackQueue=null,S.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return v.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),h.addPoolingTo(a);var A=function(){for(;y.length||b;){if(y.length){var e=a.getPooled();e.perform(s,null,e),a.release(e)}if(b){b=!1;var t=_;_=d.getPooled(),t.notifyAll(),d.release(t)}}},T={injectReconcileTransaction:function(e){e?void 0:c("126"),S.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:c("127"),"function"!=typeof e.batchedUpdates?c("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?c("129"):void 0,x=e}},S={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:l,flushBatchedUpdates:A,injection:T,asap:u};e.exports=S},function(e,t,n){"use strict";var r=n(45),a=r({bubbled:null,captured:null}),o=r({topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null}),i={topLevelTypes:o,PropagationPhases:a};e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var a=this.constructor.Interface;for(var o in a)if(a.hasOwnProperty(o)){var s=a[o];s?this[o]=s(n):"target"===o?this.target=r:this[o]=n[o]}var l=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return l?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse,this}var a=n(4),o=n(19),i=n(9),s=(n(3),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),l={type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};a(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=l,r.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var i=new r;a(i,e.prototype),e.prototype=i,e.prototype.constructor=e,e.Interface=a({},n.Interface,t),e.augmentClass=n.augmentClass,o.addPoolingTo(e,o.fourArgumentPooler)},o.addPoolingTo(r,o.fourArgumentPooler),e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(2),a=(n(1),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),o=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var a=r.instancePool.pop();return r.call(a,e,t,n),a}return new r(e,t,n)},s=function(e,t,n,r){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n,r),o}return new a(e,t,n,r)},l=function(e,t,n,r,a){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r,a),i}return new o(e,t,n,r,a)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},c=10,p=a,d=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||p,n.poolSize||(n.poolSize=c),n.release=u,n},h={addPoolingTo:d,oneArgumentPooler:a,twoArgumentPooler:o,threeArgumentPooler:i,fourArgumentPooler:s,fiveArgumentPooler:l};e.exports=h},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?o(e[0],e[1]):a(e):l(e)}var a=n(268),o=n(269),i=n(34),s=n(6),l=n(375);e.exports=r},function(e,t,n){function r(e,t){var n=o(e,t);return a(n)?n:void 0}var a=n(264),o=n(301);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var a=n(36),o=1/0;e.exports=r},function(e,t,n){function r(e,t,n){return a(o,e,t,n)}var a=n(355),o=n(358);e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(131),o=n(138),i=n(35);e.exports=r},function(e,t,n){"use strict";function r(e){if(v){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)y(t,n[r],null);else null!=e.html?p(t,e.html):null!=e.text&&h(t,e.text)}}function a(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function o(e,t){v?e.children.push(t):e.node.appendChild(t.node)}function i(e,t){v?e.html=t:p(e.node,t)}function s(e,t){v?e.text=t:h(e.node,t)}function l(){return this.node.nodeName}function u(e){return{node:e,children:[],html:null,text:null,toString:l}}var c=n(97),p=n(68),d=n(111),h=n(208),f=1,g=11,v="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),y=d(function(e,t,n){t.node.nodeType===g||t.node.nodeType===f&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===c.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});u.insertTreeBefore=y,u.replaceChildWithTree=a,u.queueChild=o,u.queueHTML=i,u.queueText=s,e.exports=u},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var a=n(2),o=(n(1),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=o,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)?a("48",p):void 0;var d=p.toLowerCase(),h=n[p],f={attributeName:d,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:r(h,t.MUST_USE_PROPERTY),hasBooleanValue:r(h,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(h,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(h,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(h,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(f.hasBooleanValue+f.hasNumericValue+f.hasOverloadedBooleanValue<=1?void 0:a("50",p),l.hasOwnProperty(p)){var g=l[p];f.attributeName=g}i.hasOwnProperty(p)&&(f.attributeNamespace=i[p]),u.hasOwnProperty(p)&&(f.propertyName=u[p]),c.hasOwnProperty(p)&&(f.mutationMethod=c[p]),s.properties[p]=f}}}),i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:i,ATTRIBUTE_NAME_CHAR:i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:o};e.exports=s},function(e,t,n){"use strict";function r(){a.attachRefs(this,this._currentElement)}var a=n(426),o=(n(11),n(3),{mountComponent:function(e,t,n,a,o,i){var s=e.mountComponent(t,n,a,o,i);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){a.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,o){var i=e._currentElement;if(t!==i||o!==e._context){var s=a.shouldUpdateRefs(i,t);s&&a.detachRefs(e,i),e.receiveComponent(t,n,o),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=o},function(e,t){"use strict";function n(e,t){var n=e.length;for(n>t&&(n=t);e[n-1]===l;)n--;return n}function r(e){return function t(r){for(var a=arguments.length,o=Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];var s=o[0],l=o[1],u=n(arguments);return u>=1?e(r,s,l):t}}function a(e){return function t(a,o){for(var i=arguments.length,s=Array(i>2?i-2:0),u=2;u<i;u++)s[u-2]=arguments[u];var c=s[0],p=s[1],d=n(arguments,2);if(o===l||c===l||p===l)throw new Error("Can only use placeholder on first argument of this function.");return d>=2?a===l?r(function(t,n,r){return e(t,o,n,r)}):e(a,o,c,p):1===d?r(function(t,n,r){return e(a,t,n,r)}):t}}function o(e){return function t(o,i,s){for(var u=arguments.length,c=Array(u>3?u-3:0),p=3;p<u;p++)c[p-3]=arguments[p];var d=c[0],h=c[1],f=n(arguments,3);if(s===l||d===l||h===l)throw new Error("Can only use placeholder on first or second argument of this function.");return f>=3?o===l?i===l?a(function(t,n,r,a){return e(t,n,s,r,a)}):r(function(t,n,r){return e(t,i,s,n,r)}):i===l?r(function(t,n,r){return e(o,t,s,n,r)}):e(o,i,s,d,h):2===f?o===l?a(function(t,n,r,a){return e(t,i,n,r,a)}):r(function(t,n,r){return e(o,i,t,n,r)}):1===f?a(function(t,n,r,a){return e(o,t,n,r,a)}):t}}function i(e){return function t(i,s,u,c){for(var p=arguments.length,d=Array(p>4?p-4:0),h=4;h<p;h++)d[h-4]=arguments[h];var f=d[0],g=d[1],v=n(arguments,4);if(c===l||f===l||g===l)throw new Error("Can only use placeholder on first, second or third argument of this function.");return v>=4?i===l?s===l?u===l?o(function(t,n,r,a,o){return e(t,n,r,c,a,o)}):a(function(t,n,r,a){return e(t,n,u,c,r,a)}):u===l?a(function(t,n,r,a){return e(t,s,n,c,r,a)}):r(function(t,n,r){return e(t,s,u,c,n,r)}):s===l?u===l?a(function(t,n,r,a){return e(i,t,n,c,r,a)}):r(function(t,n,r){return e(i,t,u,c,n,r)}):u===l?r(function(t,n,r){return e(i,s,t,c,n,r)}):e(i,s,u,c,f,g):3===v?i===l?s===l?o(function(t,n,r,a,o){return e(t,n,u,r,a,o)}):a(function(t,n,r,a){return e(t,s,u,n,r,a)}):s===l?a(function(t,n,r,a){return e(i,t,u,n,r,a)}):r(function(t,n,r){return e(i,s,u,t,n,r)}):2===v?i===l?o(function(t,n,r,a,o){return e(t,s,n,r,a,o)}):a(function(t,n,r,a){return e(i,s,t,n,r,a)}):1===v?o(function(t,n,r,a,o){return e(i,t,n,r,a,o)}):t}}function s(e){var t=arguments.length<=1||void 0===arguments[1]?e.length:arguments[1];return[e,r,a,o,i][t](e)}Object.defineProperty(t,"__esModule",{value:!0}),t.curry1=r,t.curry2=a,t.curry3=o,t.curry4=i,t["default"]=s;var l=t._="@@updeep/placeholder"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=arguments.length<=1||void 0===arguments[1]?e.length:arguments[1];return(0,i["default"])(function(){return(0,l["default"])(e.apply(void 0,arguments))},t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var o=n(30),i=r(o),s=n(119),l=r(s)},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){function r(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}var a=n(6),o=n(36),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(60),o=n(94);e.exports=r},function(e,t,n){function r(e){return"symbol"==typeof e||a(e)&&s.call(e)==o}var a=n(25),o="[object Symbol]",i=Object.prototype,s=i.toString;e.exports=r},function(e,t,n){function r(e){var t=a(e),n=t%1;return t===t?n?t-n:t:0}var a=n(379);e.exports=r},function(e,t,n){"use strict";var r=n(2),a=n(98),o=n(99),i=n(105),s=n(200),l=n(202),u=(n(1),{}),c=null,p=function(e,t){e&&(o.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},d=function(e){return p(e,!0)},h=function(e){return p(e,!1)},f=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?r("94",t,typeof n):void 0;var o=f(e),i=u[t]||(u[t]={});i[o]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=u[t],r=f(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=u[t];if(r){var o=f(e);delete r[o]}},deleteAllListeners:function(e){var t=f(e);for(var n in u)if(u.hasOwnProperty(n)&&u[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete u[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,l=0;l<i.length;l++){var u=i[l];if(u){var c=u.extractEvents(e,t,n,r);c&&(o=s(o,c))}}return o},enqueueEvents:function(e){e&&(c=s(c,e))},processEventQueue:function(e){var t=c;c=null,e?l(t,d):l(t,h),c?r("95"):void 0,i.rethrowCaughtError()},__purge:function(){u={}},__getListenerBank:function(){return u}};e.exports=g},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return _(e,r)}function a(e,t,n){var a=t?m.bubbled:m.captured,o=r(e,n,a);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&g.traverseTwoPhase(e._targetInst,a,e)}function i(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?g.getParentInstance(t):null;g.traverseTwoPhase(n,a,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,a=_(e,r);a&&(n._dispatchListeners=v(n._dispatchListeners,a),n._dispatchInstances=v(n._dispatchInstances,e))}}function l(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function u(e){y(e,o)}function c(e){y(e,i)}function p(e,t,n,r){g.traverseEnterLeave(n,r,s,e,t)}function d(e){y(e,l)}var h=n(15),f=n(38),g=n(99),v=n(200),y=n(202),m=(n(3),h.PropagationPhases),_=f.getListener,b={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:p};e.exports=b},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(16),o=n(114),i={view:function(e){if(e.view)return e.view;var t=o(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";var r=n(2),a=(n(1),{reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,a,o,i,s,l){this.isInTransaction()?r("27"):void 0;var u,c;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),c=e.call(t,n,a,o,i,s,l),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(p){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(a){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var a,i=t[n],s=this.wrapperInitData[n];try{a=!0,s!==o.OBSERVED_ERROR&&i.close&&i.close.call(this,s),a=!1}finally{if(a)try{this.closeAll(n+1)}catch(l){}}}this.wrapperInitData.length=0}}),o={Mixin:a,OBSERVED_ERROR:{}};e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){return!Object.keys(e).length}function i(e,t,n){return Object.keys(e).reduce(function(n,r){return t(n,e[r],r)},n)}function s(e,t){return i(e,function(e,n,r){var a=n;return Array.isArray(n)||null===n||"object"!==("undefined"==typeof n?"undefined":p(n))?"function"==typeof n&&(a=n(t[r])):a=u(n,t[r]),t[r]!==a&&(e[r]=a),e},{})}function l(e,t){var n=[].concat(a(t));return Object.keys(e).forEach(function(t){n[t]=e[t]}),n}function u(e,t){if("function"==typeof e){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return e.apply(void 0,[t].concat(r))}if(!(0,g["default"])(e))return e;var i="undefined"==typeof t||null===t?{}:t,u=s(e,i);return o(u)?i:Array.isArray(i)?l(u,i):c({},i,u)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},d=n(31),h=r(d),f=n(61),g=r(f);t["default"]=(0,h["default"])(u,2)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{_thunk:e}}function o(){var e=arguments.length<=0||void 0===arguments[0]?m:arguments[0];!e.mapState&&e.scope&&(e=s({},e,{mapState:x})),e.mapState||e.scope||(e=s({},e,{mapState:_}));var t=e.scope;Array.isArray(t)&&(t=t.join("."));var n=e.defaults?function(t){return s({},e.defaults,t)}:x,r=(0,l.connect)(function(t){var r=b(e.scope,t);return e.mapState(n(r))},function(r){var a=function i(a,o){return o&&"function"==typeof o._thunk?o._thunk(i.bind(null,a),e.updates):void r({type:"LEAN_UPDATE"+w(t)+w(a),update:o,withDefaults:n,scope:e.scope})},o=function(e,t){return function(){return a(t,e.apply(void 0,arguments))}};return y(o,e.updates)});return e.scope&&(r.displayName=e.scope),r}function i(e,t){if(!C.test(t.type))return e;var n=t.scope,r=t.update,a=t.withDefaults;return n?(0,d["default"])(n,function(e){return(0,v["default"])(r,a(e))},e):(0,v["default"])(t.update,a(e))}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.thunk=a,t.connectLean=o,t["default"]=i;var l=n(63),u=n(172),c=r(u),p=n(91),d=r(p),h=n(360),f=r(h),g=n(463),v=r(g),y=f["default"].convert({cap:!1}),m={},_=function(){return m},b=(0,c["default"])(m),x=function(e){return e},w=function(e){return e?"/"+e:""},C=/^LEAN_UPDATE/},function(e,t,n){"use strict";var r=n(1),a=function(e){var t,n={};e instanceof Object&&!Array.isArray(e)?void 0:r(!1);for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};e.exports=a},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(317),o=n(318),i=n(319),s=n(320),l=n(321);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){var r=n(8),a=r.Symbol;e.exports=a},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}var a=n(90);e.exports=r},function(e,t){function n(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var r=Object.defineProperty;e.exports=n},function(e,t,n){function r(e){return a(e)?o(e):{}}var a=n(10),o=Object.create;e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){function r(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=a(e.prototype),r=e.apply(n,t);return o(r)?r:n}}var a=n(54),o=n(10);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return a(t)?n["string"==typeof t?"string":"hash"]:n.map}var a=n(314);e.exports=r},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){var r=n(22),a=r(Object,"create");e.exports=a},function(e,t,n){function r(e){var t=a(e)?l.call(e):"";return t==o||t==i}var a=n(10),o="[object Function]",i="[object GeneratorFunction]",s=Object.prototype,l=s.toString;e.exports=r},function(e,t,n){function r(e){if(!o(e)||d.call(e)!=i)return!1;var t=a(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==p}var a=n(82),o=n(25),i="[object Object]",s=Function.prototype,l=Object.prototype,u=s.toString,c=l.hasOwnProperty,p=u.call(Object),d=l.toString;e.exports=r},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function i(){
g&&h&&(g=!1,h.length?f=h.concat(f):v=-1,f.length&&s())}function s(){if(!g){var e=a(i);g=!0;for(var t=f.length;t;){for(h=f,f=[];++v<t;)h&&h[v].run();v=-1,t=f.length}h=null,g=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,p,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var h,f=[],g=!1,v=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.push(new l(e,t)),1!==f.length||g||a(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.connect=t.Provider=void 0;var a=n(385),o=r(a),i=n(386),s=r(i);t.Provider=o["default"],t.connect=s["default"]},function(e,t){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},r={getHostProps:function(e,t){if(!t.disabled)return t;var r={};for(var a in t)!n[a]&&t.hasOwnProperty(a)&&(r[a]=t[a]);return r}};e.exports=r},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=f++,d[e[v]]={}),d[e[v]]}var a,o=n(4),i=n(15),s=n(98),l=n(418),u=n(199),c=n(449),p=n(115),d={},h=!1,f=0,g={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),y=o({},l,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,a=r(n),o=s.registrationNameDependencies[e],l=i.topLevelTypes,u=0;u<o.length;u++){var c=o[u];a.hasOwnProperty(c)&&a[c]||(c===l.topWheel?p("wheel")?y.ReactEventListener.trapBubbledEvent(l.topWheel,"wheel",n):p("mousewheel")?y.ReactEventListener.trapBubbledEvent(l.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(l.topWheel,"DOMMouseScroll",n):c===l.topScroll?p("scroll",!0)?y.ReactEventListener.trapCapturedEvent(l.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(l.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):c===l.topFocus||c===l.topBlur?(p("focus",!0)?(y.ReactEventListener.trapCapturedEvent(l.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(l.topBlur,"blur",n)):p("focusin")&&(y.ReactEventListener.trapBubbledEvent(l.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(l.topBlur,"focusout",n)),a[l.topBlur]=!0,a[l.topFocus]=!0):g.hasOwnProperty(c)&&y.ReactEventListener.trapBubbledEvent(c,g[c],n),a[c]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===a&&(a=y.supportsEventPageXY()),!a&&!h){var e=u.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),h=!0}}});e.exports=y},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(41),o=n(199),i=n(113),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+o.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+o.currentScrollTop}};a.augmentClass(r,s),e.exports=r},function(e,t){"use strict";function n(e){var t=""+e,n=a.exec(t);if(!n)return t;var r,o="",i=0,s=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==i&&(o+=t.substring(s,i)),s=i+1,o+=r}return s!==i?o+t.substring(s,i):o}function r(e){return"boolean"==typeof e||"number"==typeof e?""+e:n(e)}var a=/["'&<>]/;e.exports=r},function(e,t,n){"use strict";var r,a=n(7),o=n(97),i=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=n(111),u=l(function(e,t){if(e.namespaceURI!==o.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(a.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.connectFile=void 0;var a=n(12),o=r(a),i=n(383),s=r(i),l=n(384),u=r(l),c=n(217),p=r(c),d=n(44),h=o["default"].createClass({displayName:"File",componentDidMount:function(){localStorage.flysightRawData&&this.props.parseRawData(localStorage.flysightRawData)},render:function(){return o["default"].createElement("div",{className:"File"},o["default"].createElement("h3",null,"Select FlySight data file"),o["default"].createElement("p",null,o["default"].createElement("input",{type:"file",accept:".csv",onChange:this.props.handleFiles})),o["default"].createElement("div",{style:{width:"100%",padding:10,backgroundColor:"silver",textAlign:"center"}},o["default"].createElement("p",null,"Or drag and drop one here."),o["default"].createElement(u["default"],{frame:document,onFrameDrop:this.props.handleFiles},o["default"].createElement("p",null,"Drop it!"))))}});t.connectFile=(0,d.connectLean)({scope:"inMemoryOnly",defaults:{gpsData:[]},mapState:function(e){return{gpsData:e.gpsData}}});h=(0,d.connectLean)({updates:{handleFiles:function(e){return(0,d.thunk)(function(t,n){var r=n.parseRawData,a=e.dataTransfer?e.dataTransfer.files:e.target.files,o=a[0];t({graph:{dataFilename:o.name}});var i=new FileReader;i.onload=function(e){localStorage.flysightRawData=e.target.result,t({graph:{graphPosition:null,syncPointIndex:null}}),t(r(e.target.result))},i.readAsText(o)})},parseRawData:function(e){return(0,d.thunk)(function(t){s["default"].parse(e,{complete:function(e){console.log("parse errors",e.errors),t({inMemoryOnly:{gpsData:(0,p["default"])(e.data)}})}})})}}})(h),t["default"]=h},function(e,t){"use strict";function n(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(!a.call(t,r[i])||!n(e[r[i]],t[r[i]]))return!1;return!0}var a=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}var a=n(54),o=n(78),i=4294967295;r.prototype=a(o.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){var r=n(22),a=n(8),o=r(a,"Map");e.exports=o},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(322),o=n(323),i=n(324),s=n(325),l=n(326);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new a(e);this.size=t.size}var a=n(46),o=n(337),i=n(338),s=n(339),l=n(340),u=n(341);r.prototype.clear=o,r.prototype["delete"]=i,r.prototype.get=s,r.prototype.has=l,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}var a=n(53),o=n(90),i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(135),a=n(290),o=a(r);e.exports=o},function(e,t,n){function r(e,t){t=o(t,e)?[t]:a(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var a=n(79),o=n(33),i=n(23);e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){function r(e){return a(e)?e:o(e)}var a=n(6),o=n(168);e.exports=r},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new a(t).set(new a(e)),t}var a=n(128);e.exports=r},function(e,t,n){function r(e,t,n,r,w,C,E,A){var T=t&v;if(!T&&"function"!=typeof e)throw new TypeError(f);var S=r?r.length:0;if(S||(t&=~(_|b),r=w=void 0),E=void 0===E?E:x(h(E),0),A=void 0===A?A:h(A),S-=w?w.length:0,t&b){var P=r,O=w;r=w=void 0}var D=T?void 0:u(e),k=[e,t,n,r,w,P,O,C,E,A];if(D&&c(k,D),e=k[0],t=k[1],n=k[2],r=k[3],w=k[4],A=k[9]=null==k[9]?T?0:e.length:x(k[9]-S,0),!A&&t&(y|m)&&(t&=~(y|m)),t&&t!=g)M=t==y||t==m?i(e,t,A):t!=_&&t!=(g|_)||w.length?s.apply(void 0,k):l(e,t,n,r);else var M=o(e,t,n);var R=D?a:p;return d(R(M,k),e,t)}var a=n(141),o=n(292),i=n(293),s=n(149),l=n(294),u=n(156),c=n(328),p=n(164),d=n(166),h=n(37),f="Expected a function",g=1,v=2,y=8,m=16,_=32,b=64,x=Math.max;e.exports=r},function(e,t,n){var r=n(86),a=r(Object.getPrototypeOf,Object);e.exports=a},function(e,t,n){var r=n(86),a=n(178),o=Object.getOwnPropertySymbols,i=o?r(o,Object):a;e.exports=i},function(e,t){function n(e){return l.test(e)}var r="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe23",o="\\u20d0-\\u20f0",i="\\ufe0e\\ufe0f",s="\\u200d",l=RegExp("["+s+r+a+o+i+"]");e.exports=n},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e,t){for(var n=-1,a=e.length,o=0,i=[];++n<a;){var s=e[n];s!==t&&s!==r||(e[n]=r,i[o++]=n)}return i}var r="__lodash_placeholder__";e.exports=n},function(e,t,n){var r=n(275),a=n(167),o=a(r);e.exports=o},function(e,t,n){function r(e){return o(e)?i(e):a(e)}var a=n(251),o=n(84),i=n(344);e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var r=n(24),a=r("update",n(381));a.placeholder=n(18),e.exports=a},function(e,t,n){function r(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}var a=n(77);e.exports=r},function(e,t,n){function r(e){return a(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||l.call(e)==o)}var a=n(362),o="[object Arguments]",i=Object.prototype,s=i.hasOwnProperty,l=i.toString,u=i.propertyIsEnumerable;e.exports=r},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(142);e.exports=r},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function a(e,t,n){c.insertTreeBefore(e,t,n)}function o(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):v(e,t,n)}function i(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],l(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var a=t;;){var o=a.nextSibling;if(v(e,a,r),a===n)break;a=o}}function l(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function u(e,t,n){var r=e.parentNode,a=e.nextSibling;a===t?n&&v(r,document.createTextNode(n),a):n?(g(a,n),l(r,a,t)):l(r,e,t)}var c=n(27),p=n(393),d=n(195),h=(n(5),n(11),n(111)),f=n(68),g=n(208),v=h(function(e,t,n){e.insertBefore(t,n)}),y=p.dangerouslyReplaceNodeWithMarkup,m={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:u,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case d.INSERT_MARKUP:a(e,s.content,r(e,s.afterNode));break;case d.MOVE_EXISTING:o(e,s.fromNode,r(e,s.afterNode));break;case d.SET_MARKUP:f(e,s.content);break;case d.TEXT_CONTENT:g(e,s.content);break;case d.REMOVE_NODE:i(e,s.fromNode)}}}};e.exports=m},function(e,t){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};e.exports=n},function(e,t,n){"use strict";function r(){if(s)for(var e in l){var t=l[e],n=s.indexOf(e);if(n>-1?void 0:i("96",e),!u.plugins[n]){t.extractEvents?void 0:i("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var o in r)a(r[o],t,o)?void 0:i("98",o,e)}}}function a(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)?i("99",n):void 0,u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a in r)if(r.hasOwnProperty(a)){var s=r[a];o(s,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function o(e,t,n){u.registrationNameModules[e]?i("100",e):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=n(2),s=(n(1),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?i("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];l.hasOwnProperty(n)&&l[n]===a||(l[n]?i("102",n):void 0,l[n]=a,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var a in r)r.hasOwnProperty(a)&&delete r[a]}};e.exports=u},function(e,t,n){"use strict";function r(e){return e===m.topMouseUp||e===m.topTouchEnd||e===m.topTouchCancel}function a(e){return e===m.topMouseMove||e===m.topTouchMove}function o(e){return e===m.topMouseDown||e===m.topTouchStart}function i(e,t,n,r){var a=e.type||"unknown-event";e.currentTarget=_.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(a,n,e):v.invokeGuardedCallback(a,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var a=0;a<n.length&&!e.isPropagationStopped();a++)i(e,t,n[a],r[a]);else n&&i(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function l(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function u(e){var t=l(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?f("103"):void 0,e.currentTarget=t?_.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function p(e){return!!e._dispatchListeners}var d,h,f=n(2),g=n(15),v=n(105),y=(n(1),n(3),{injectComponentTree:function(e){d=e},injectTreeTraversal:function(e){h=e}}),m=g.topLevelTypes,_={isEndish:r,isMoveish:a,isStartish:o,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:u,hasDispatches:p,getInstanceFromNode:function(e){return d.getInstanceFromNode(e)},getNodeFromInstance:function(e){return d.getNodeFromInstance(e)},isAncestor:function(e,t){return h.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return h.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return h.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return h.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,a){return h.traverseEnterLeave(e,t,n,r,a)},injection:y};e.exports=_},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var a={escape:n,unescape:r};e.exports=a},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function a(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function o(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(2),l=n(197),u=n(108),c=n(109),p=(n(1),n(3),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||p[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:l.func},h={},f={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var a=d[r](t,r,e,u.prop,null,c);if(a instanceof Error&&!(a.message in h)){h[a.message]=!0;i(n)}}},getValue:function(e){return e.valueLink?(a(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(o(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(a(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(o(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=f},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||o}var a=n(2),o=n(106),i=(n(201),n(32));n(1),n(3);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?a("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";var r=n(2),a=(n(1),!1),o={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){a?r("104"):void 0,o.replaceNodeWithMarkup=e.replaceNodeWithMarkup,o.processChildrenUpdates=e.processChildrenUpdates,a=!0}}};e.exports=o},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var a=t.call(e);return r.test(a)}catch(o){return!1}}function a(e){return"."+e}function o(e){return parseInt(e.substr(1),10)}function i(e){if(C)return y.get(e);var t=a(e);return _[t]}function s(e){if(C)y["delete"](e);else{var t=a(e);delete _[t]}}function l(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};if(C)y.set(e,r);else{var o=a(e);_[o]=r}}function u(e){if(C)m.add(e);else{var t=a(e);b[t]=!0}}function c(e){if(C)m["delete"](e);else{var t=a(e);delete b[t]}}function p(){return C?Array.from(y.keys()):Object.keys(_).map(o)}function d(){return C?Array.from(m.keys()):Object.keys(b).map(o)}function h(e){var t=i(e);if(t){var n=t.childIDs;s(e),n.forEach(h)}}function f(e,t,n){return"\n    in "+e+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function g(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function v(e){var t,n=A.getDisplayName(e),r=A.getElement(e),a=A.getOwnerID(e);return a&&(t=A.getDisplayName(a)),f(n,r&&r._source,t)}var y,m,_,b,x=n(2),w=n(20),C=(n(1),n(3),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));C?(y=new Map,m=new Set):(_={},b={});var E=[],A={onSetChildren:function(e,t){var n=i(e);n.childIDs=t;for(var r=0;r<t.length;r++){var a=t[r],o=i(a);o?void 0:x("140"),null==o.childIDs&&"object"==typeof o.element&&null!=o.element?x("141"):void 0,o.isMounted?void 0:x("71"),null==o.parentID&&(o.parentID=e),o.parentID!==e?x("142",a,o.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){l(e,t,n)},onBeforeUpdateComponent:function(e,t){var n=i(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=i(e);t.isMounted=!0;var n=0===t.parentID;n&&u(e)},onUpdateComponent:function(e){var t=i(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=i(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&c(e)}E.push(e)},purgeUnmountedComponents:function(){if(!A._preventPurging){for(var e=0;e<E.length;e++){var t=E[e];h(t)}E.length=0}},isMounted:function(e){var t=i(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=e.type,r="function"==typeof n?n.displayName||n.name:n,a=e._owner;t+=f(r||"Unknown",e._source,a&&a.getName())}var o=w.current,i=o&&o._debugID;return t+=A.getStackAddendumByID(i)},getStackAddendumByID:function(e){for(var t="";e;)t+=v(e),e=A.getParentID(e);return t},getChildIDs:function(e){var t=i(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=A.getElement(e);return t?g(t):null},getElement:function(e){var t=i(e);return t?t.element:null},getOwnerID:function(e){var t=A.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=i(e);return t?t.parentID:null},getSource:function(e){var t=i(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=A.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=i(e);return t?t.updateCount:0},getRegisteredIDs:p,getRootIDs:d};e.exports=A},function(e,t,n){"use strict";function r(e,t,n,r){try{return t(n,r)}catch(o){return void(null===a&&(a=o))}}var a=null,o={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(a){var e=a;throw a=null,e}}};e.exports=o},function(e,t,n){"use strict";function r(e,t){}var a=(n(3),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=a},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=n(45),a=r({prop:null,context:null,childContext:null});e.exports=a},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){l.enqueueUpdate(e)}function a(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function o(e,t){var n=s.get(e);if(!n){return null}return n}var i=n(2),s=(n(20),n(40)),l=(n(11),n(14)),u=(n(1),n(3),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var a=o(e);return a?(a._pendingCallbacks?a._pendingCallbacks.push(t):a._pendingCallbacks=[t],void r(a)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=o(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){var a=n._pendingStateQueue||(n._pendingStateQueue=[]);a.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?i("122",t,a(e)):void 0}});e.exports=u},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,a)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=a[e];return!!r&&!!n[r]}function r(e){return n}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/**
	 * Checks if an event is supported in the current execution environment.
	 *
	 * NOTE: This will not work correctly for non-generic events such as `change`,
	 * `reset`, `load`, `error`, and `select`.
	 *
	 * Borrows from Modernizr.
	 *
	 * @param {string} eventNameSuffix Event name, e.g. "click".
	 * @param {?boolean} capture Check if the capture phase is supported.
	 * @return {boolean} True if the event is supported.
	 * @internal
	 * @license Modernizr 3.0.0pre (Custom Build) | MIT
	 */
function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&a&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var a,o=n(7);o.canUseDOM&&(a=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var a=typeof e,o=typeof t;return"string"===a||"number"===a?"string"===o||"number"===o:"object"===o&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?u.escape(e.key):t.toString(36)}function a(e,t,n,o){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||s.isValidElement(e))return n(o,e,""===t?c+r(e,0):t),1;var h,f,g=0,v=""===t?c:t+p;if(Array.isArray(e))for(var y=0;y<e.length;y++)h=e[y],f=v+r(h,y),g+=a(h,f,n,o);else{var m=l(e);if(m){var _,b=m.call(e);if(m!==e.entries)for(var x=0;!(_=b.next()).done;)h=_.value,f=v+r(h,x++),g+=a(h,f,n,o);else for(;!(_=b.next()).done;){var w=_.value;w&&(h=w[1],f=v+u.escape(w[0])+p+r(h,0),g+=a(h,f,n,o))}}else if("object"===d){var C="",E=String(e);i("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,C)}}return g}function o(e,t,n){return null==e?0:a(e,"",t,n)}var i=n(2),s=(n(20),n(13)),l=n(204),u=(n(1),n(100)),c=(n(3),"."),p=":";e.exports=o},function(e,t,n){"use strict";var r=(n(4),n(9)),a=(n(3),r);e.exports=a},function(e,t,n){(function(e){"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0});"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=n}).call(t,n(62))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return{type:C,key:e}}function i(){return localStorage.clear(),window.scrollTo(0,0),{type:A}}function s(){return function(e,t){var n=S(t()),r=window.localStorage[n],a=null;if(!r)return void console.warn("No saved state",n);try{a=JSON.parse(r)}catch(o){return void console.warn("Failed to parse saved state",n)}e({type:w,state:a})}}function l(){return function(e){window.addEventListener("blur",function(){console.log("on blur save"),e(u())},!1),window.addEventListener("beforeunload",function(){console.log("on beforeunload save"),e(u())},!1)}}function u(){return{type:E}}function c(e){var t=S(e);return t?(T.cancel(),e=(0,y["default"])(x,e),window.localStorage[t]=JSON.stringify(e),void console.log("App state saved to storage",t,e)):void console.warn("Storage key not found. Cannot save")}function p(e,t){switch(t.type){case w:return b({},t.state,a({},x,e[x]));case E:return c(e),e;case C:return(0,g["default"])([x,"storageKey"],function(){return t.key},e);case A:return{};default:return T(e),e}}Object.defineProperty(t,"__esModule",{value:!0});var d=n(171),h=r(d),f=n(91),g=r(f),v=n(173),y=r(v),m=n(170),_=r(m),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.setStorageKey=o,t.clearAll=i,t.restoreFromStorage=s,t.autoSaveToStorage=l,t.saveToStorageNow=u,t["default"]=p;var x="inMemoryOnly",w="RESTORE_FROM_STORAGE",C="SET_STORAGE_KEY",E="SAVE_NOW",A="CLEAR_ALL",T=(0,_["default"])(5e3,c),S=(0,h["default"])([x,"storageKey"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return s["default"].createElement("div",o({style:l.box},e))}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=a;var i=n(12),s=r(i),l={box:{width:"400px",margin:"0 auto"}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.connectGraphData=void 0;var a=n(171),o=r(a),i=n(12),s=r(i),l=n(180),u=r(l),c=n(225),p=r(c),d=n(44),h=n(121),f=r(h),g=n(69),v=s["default"].createClass({displayName:"Graph",propTypes:{gpsData:i.PropTypes.array.isRequired,graphPosition:i.PropTypes.number,setGraphExit:i.PropTypes.func.isRequired},createGraph:function(){var e=this;console.log("creating graph el");var t=u["default"].findDOMNode(this.refs.container);this.dygGraph=new p["default"](t,this.props.gpsData,{clickCallback:function(t,n,r){e.props.setGraphExit({graphPosition:n/1e3,syncPointIndex:(0,o["default"])([0,"idx"],r)})},labels:["time","altitude","fallrate","ground speed","distance"],series:{fallrate:{axis:"y2"},"ground speed":{axis:"y2"}},ylabel:"Altitude in meters",y2label:"Ground speed km/h",errorBars:!0}),this.dygGraph.resize(window.innerWidth,350),this.updateAnnotations()},componentDidMount:function(){this.createGraph()},resetZoom:function(e){e.preventDefault(),this.dygGraph.resetZoom()},updateAnnotations:function(){var e=[];this.props.graphPosition&&e.push({series:"altitude",x:1e3*this.props.graphPosition,width:80,height:15,tickHeight:20,shortText:"Exit Point",text:"The moment you jumped out",cssClass:"Graph-exit-point"}),this.dygGraph.setAnnotations(e)},componentDidUpdate:function(e){this.props.gpsData!==e.gpsData&&this.createGraph(),this.props.graphPosition!==e.graphPosition&&this.updateAnnotations()},render:function(){return s["default"].createElement("div",{className:"Graph"},s["default"].createElement(f["default"],null,s["default"].createElement("h3",null,"Pick exit point")),s["default"].createElement("div",{className:"Graph-wrap",ref:"container"}),s["default"].createElement(f["default"],null,s["default"].createElement("button",{onClick:this.resetZoom},"reset zoom")))}}),y=t.connectGraphData=(0,d.connectLean)({scope:"graph",updates:{setGraphExit:function(e){var t=e.graphPosition,n=e.syncPointIndex;return{graphPosition:t,syncPointIndex:n}}}});v=y(v),v=(0,g.connectFile)(v),t["default"]=v},function(e,t,n){"use strict";var r=n(9),a={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=a},function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}e.exports=n},function(e,t){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t,n){function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}var a=n(54),o=n(78);r.prototype=a(o.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.__data__=new a;++t<n;)this.add(e[t])}var a=n(73),o=n(335),i=n(336);r.prototype.add=r.prototype.push=o,r.prototype.has=i,e.exports=r},function(e,t,n){var r=n(8),a=r.Uint8Array;e.exports=a},function(e,t,n){var r=n(22),a=n(8),o=r(a,"WeakMap");e.exports=o},function(e,t,n){function r(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}var a=n(260);e.exports=r},function(e,t,n){function r(e,t){var n=i(e)||o(e)?a(e.length,String):[],r=n.length,l=!!r;for(var c in e)!t&&!u.call(e,c)||l&&("length"==c||s(c,r))||n.push(c);return n}var a=n(277),o=n(93),i=n(6),s=n(58),l=Object.prototype,u=l.hasOwnProperty;e.exports=r},function(e,t){function n(e,t,n,r){var a=-1,o=e?e.length:0;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}e.exports=n},function(e,t,n){function r(e,t){return e&&a(t,o(t),e)}var a=n(148),o=n(26);e.exports=r},function(e,t,n){function r(e,t,n,x,w,C,E){var S;if(x&&(S=C?x(e,w,C,E):x(e)),void 0!==S)return S;if(!m(e))return e;var P=v(e);if(P){if(S=h(e),!t)return u(e,S)}else{var D=d(e),k=D==A||D==T;if(y(e))return l(e,t);if(D==O||D==b||k&&!C){if(S=g(k?{}:e),!t)return c(e,s(S,e))}else{if(!G[D])return C?e:{};S=f(e,D,r,t)}}E||(E=new a);var M=E.get(e);if(M)return M;if(E.set(e,S),!P)var R=n?p(e):_(e);return o(R||e,function(a,o){R&&(o=a,a=e[o]),i(S,o,r(a,t,n,x,o,e,E))}),S}var a=n(74),o=n(49),i=n(75),s=n(133),l=n(280),u=n(55),c=n(287),p=n(297),d=n(158),h=n(309),f=n(310),g=n(311),v=n(6),y=n(363),m=n(10),_=n(26),b="[object Arguments]",x="[object Array]",w="[object Boolean]",C="[object Date]",E="[object Error]",A="[object Function]",T="[object GeneratorFunction]",S="[object Map]",P="[object Number]",O="[object Object]",D="[object RegExp]",k="[object Set]",M="[object String]",R="[object Symbol]",I="[object WeakMap]",N="[object ArrayBuffer]",L="[object DataView]",F="[object Float32Array]",j="[object Float64Array]",U="[object Int8Array]",W="[object Int16Array]",H="[object Int32Array]",B="[object Uint8Array]",V="[object Uint8ClampedArray]",z="[object Uint16Array]",Y="[object Uint32Array]",G={};G[b]=G[x]=G[N]=G[L]=G[w]=G[C]=G[F]=G[j]=G[U]=G[W]=G[H]=G[S]=G[P]=G[O]=G[D]=G[k]=G[M]=G[R]=G[B]=G[V]=G[z]=G[Y]=!0,G[E]=G[A]=G[I]=!1,e.exports=r},function(e,t,n){function r(e,t){return e&&a(e,t,o)}var a=n(257),o=n(26);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}var a=n(51),o=n(6);e.exports=r},function(e,t,n){function r(e,t,n,s,l){return e===t||(null==e||null==t||!o(e)&&!i(t)?e!==e&&t!==t:a(e,t,r,n,s,l))}var a=n(261),o=n(10),i=n(25);e.exports=r},function(e,t,n){function r(e){if(!a(e))return o(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var a=n(85),o=n(330),i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],l=e[s];n(l,s)&&a(i,s,l)}return i}var a=n(53);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){var r=n(34),a=n(162),o=a?function(e,t){return a.set(e,t),e}:r;e.exports=o},function(e,t,n){function r(e){if("string"==typeof e)return e;if(o(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}var a=n(47),o=n(36),i=1/0,s=a?a.prototype:void 0,l=s?s.toString:void 0;e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:a(e,t,n)}var a=n(276);e.exports=r},function(e,t){function n(e,t,n,a){for(var o=-1,i=e.length,s=n.length,l=-1,u=t.length,c=r(i-s,0),p=Array(u+c),d=!a;++l<u;)p[l]=t[l];for(;++o<s;)(d||o<i)&&(p[n[o]]=e[o]);for(;c--;)p[l++]=e[o++];return p}var r=Math.max;e.exports=n},function(e,t){function n(e,t,n,a){for(var o=-1,i=e.length,s=-1,l=n.length,u=-1,c=t.length,p=r(i-l,0),d=Array(p+c),h=!a;++o<p;)d[o]=e[o];for(var f=o;++u<c;)d[f+u]=t[u];for(;++s<l;)(h||o<i)&&(d[f+n[s]]=e[o++]);return d}var r=Math.max;e.exports=n},function(e,t,n){function r(e,t,n,r){var i=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),i?o(n,u,c):a(n,u,c)}return n}var a=n(75),o=n(53);e.exports=r},function(e,t,n){function r(e,t,n,_,b,x,w,C,E,A){function T(){for(var h=arguments.length,f=Array(h),g=h;g--;)f[g]=arguments[g];if(D)var v=u(T),y=i(f,v);if(_&&(f=a(f,_,b,D)),x&&(f=o(f,x,w,D)),h-=y,D&&h<A){var m=p(f,v);return l(e,t,r,T.placeholder,n,f,m,C,E,A-h)}var R=P?n:this,I=O?R[e]:e;return h=f.length,C?f=c(f,C):k&&h>1&&f.reverse(),S&&E<h&&(f.length=E),this&&this!==d&&this instanceof T&&(I=M||s(I)),I.apply(R,f)}var S=t&y,P=t&h,O=t&f,D=t&(g|v),k=t&m,M=O?void 0:s(e);return T}var a=n(146),o=n(147),i=n(289),s=n(56),l=n(151),u=n(157),c=n(334),p=n(87),d=n(8),h=1,f=2,g=8,v=16,y=128,m=512;e.exports=r},function(e,t,n){function r(e,t){t=void 0===t?" ":o(t);var n=t.length;if(n<2)return n?a(t,e):t;var r=a(t,c(e/l(t)));return s(t)?i(u(r),0,e).join(""):r.slice(0,e)}var a=n(272),o=n(142),i=n(145),s=n(84),l=n(89),u=n(343),c=Math.ceil;e.exports=r},function(e,t,n){function r(e,t,n,r,h,f,g,v,y,m){var _=t&c,b=_?g:void 0,x=_?void 0:g,w=_?f:void 0,C=_?void 0:f;t|=_?p:d,t&=~(_?d:p),t&u||(t&=~(s|l));var E=[e,t,h,w,b,C,x,v,y,m],A=n.apply(void 0,E);return a(e)&&o(A,E),A.placeholder=r,i(A,e,t)}var a=n(315),o=n(164),i=n(166),s=1,l=2,u=4,c=8,p=32,d=64;e.exports=r},function(e,t,n){function r(e,t,n,r,u,c){var p=u&l,d=e.length,h=t.length;if(d!=h&&!(p&&h>d))return!1;var f=c.get(e);if(f&&c.get(t))return f==t;var g=-1,v=!0,y=u&s?new a:void 0;for(c.set(e,t),c.set(t,e);++g<d;){var m=e[g],_=t[g];if(r)var b=p?r(_,m,g,t,e,c):r(m,_,g,e,t,c);if(void 0!==b){if(b)continue;v=!1;break}if(y){if(!o(t,function(e,t){if(!i(y,t)&&(m===e||n(m,e,r,u,c)))return y.push(t)})){v=!1;break}}else if(m!==_&&!n(m,_,r,u,c)){v=!1;break}}return c["delete"](e),c["delete"](t),v}var a=n(127),o=n(250),i=n(144),s=1,l=2;e.exports=r},function(e,t,n){function r(e){return i(o(e,void 0,a),e+"")}var a=n(353),o=n(163),i=n(88);e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e){return a(e,i,o)}var a=n(136),o=n(300),i=n(366);e.exports=r},function(e,t,n){var r=n(162),a=n(369),o=r?function(e){return r.get(e)}:a;e.exports=o},function(e,t){function n(e){var t=e;return t.placeholder}e.exports=n},function(e,t,n){var r=n(242),a=n(72),o=n(244),i=n(245),s=n(129),l=n(258),u=n(169),c="[object Map]",p="[object Object]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",g="[object DataView]",v=Object.prototype,y=v.toString,m=u(r),_=u(a),b=u(o),x=u(i),w=u(s),C=l;(r&&C(new r(new ArrayBuffer(1)))!=g||a&&C(new a)!=c||o&&C(o.resolve())!=d||i&&C(new i)!=h||s&&C(new s)!=f)&&(C=function(e){var t=y.call(e),n=t==p?e.constructor:void 0,r=n?u(n):void 0;if(r)switch(r){case m:return g;case _:return c;case b:return d;case x:return h;case w:return f}return t}),e.exports=C},function(e,t,n){function r(e){return e===e&&!a(e)}var a=n(10);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){var r=n(129),a=r&&new r;e.exports=a},function(e,t,n){function r(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=o(r.length-t,0),l=Array(s);++i<s;)l[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(l),a(e,this,u)}}var a=n(48),o=Math.max;e.exports=r},function(e,t,n){var r=n(141),a=n(167),o=a(r);e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function r(e,t,n){var r=t+"";return i(e,o(r,s(a(r),n)))}var a=n(302),o=n(312),i=n(88),s=n(346);e.exports=r},function(e,t){function n(e){var t=0,n=0;return function(){var i=o(),s=a-(i-n);if(n=i,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=500,a=16,o=Date.now;e.exports=n},function(e,t,n){var r=n(327),a=n(95),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,l=r(function(e){e=a(e);var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,a){t.push(r?a.replace(s,"$1"):n||e)}),t});e.exports=l},function(e,t){function n(e){if(null!=e){try{return a.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var r=Function.prototype,a=r.toString;e.exports=n},function(e,t,n){var r=n(24),a=r("debounce",n(352));a.placeholder=n(18),e.exports=a},function(e,t,n){var r=n(24),a=r("get",n(92));a.placeholder=n(18),e.exports=a},function(e,t,n){var r=n(24),a=r("getOr",n(92));a.placeholder=n(18),e.exports=a},function(e,t,n){var r=n(24),a=r("omit",n(176));a.placeholder=n(18),e.exports=a},function(e,t,n){function r(e,t){var n={};return t=i(t,3),o(e,function(e,r,o){a(n,r,t(e,r,o))}),n}var a=n(53),o=n(135),i=n(21);e.exports=r},function(e,t){function n(e){if("function"!=typeof e)throw new TypeError(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var r="Expected a function";e.exports=n},function(e,t,n){var r=n(50),a=n(253),o=n(270),i=n(153),s=n(155),l=n(23),u=i(function(e,t){return null==e?{}:(t=r(t,l),o(e,a(s(e),t)))});e.exports=u},function(e,t,n){function r(e,t){var n=s(e)?a:o;return n(e,l(i(t,3)))}var a=n(248),o=n(254),i=n(21),s=n(6),l=n(175);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||c.test(e)?p(e.slice(2),n?2:8):l.test(e)?i:+e}var a=n(10),o=n(36),i=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;e.exports=r},function(e,t,n){"use strict";e.exports=n(402)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(12);t["default"]=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},a=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){a.forEach(function(t){r[n(t,e)]=r[e]})});var o={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},i={isUnitlessNumber:r,shorthandPropertyExpansions:o};e.exports=i},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var a=n(2),o=n(4),i=n(19);n(1);o(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?a("24"):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},checkpoint:function(){return this._callbacks?this._callbacks.length:0},rollback:function(e){this._callbacks&&(this._callbacks.length=e,this._contexts.length=e)},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e){return!!u.hasOwnProperty(e)||!l.hasOwnProperty(e)&&(s.test(e)?(u[e]=!0,!0):(l[e]=!0,!1))}function a(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var o=n(28),i=(n(5),n(11),n(451)),s=(n(3),new RegExp("^["+o.ATTRIBUTE_NAME_START_CHAR+"]["+o.ATTRIBUTE_NAME_CHAR+"]*$")),l={},u={},c={createMarkupForID:function(e){return o.ID_ATTRIBUTE_NAME+"="+i(e)},setAttributeForID:function(e,t){e.setAttribute(o.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return o.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(o.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(n){if(a(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+i(t)}return o.isCustomAttribute(e)?null==t?"":e+"="+i(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+i(t):""},setValueForProperty:function(e,t,n){var r=o.properties.hasOwnProperty(t)?o.properties[t]:null;if(r){var i=r.mutationMethod;if(i)i(e,n);else{if(a(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,l=r.attributeNamespace;l?e.setAttributeNS(l,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(o.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=o.properties.hasOwnProperty(t)?o.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var a=n.propertyName;n.hasBooleanValue?e[a]=!1:e[a]=""}else e.removeAttribute(n.attributeName)}else o.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=c},function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"$&/")}function a(e,t){this.func=e,this.context=t,this.count=0}function o(e,t,n){var r=e.func,a=e.context;r.call(a,t,e.count++)}function i(e,t,n){if(null==e)return e;var r=a.getPooled(t,n);y(e,o,r),a.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function l(e,t,n){var a=e.result,o=e.keyPrefix,i=e.func,s=e.context,l=i.call(s,t,e.count++);Array.isArray(l)?u(l,a,n,v.thatReturnsArgument):null!=l&&(g.isValidElement(l)&&(l=g.cloneAndReplaceKey(l,o+(!l.key||t&&t.key===l.key?"":r(l.key)+"/")+n)),a.push(l))}function u(e,t,n,a,o){var i="";null!=n&&(i=r(n)+"/");var u=s.getPooled(t,i,a,o);y(e,l,u),s.release(u)}function c(e,t,n){if(null==e)return e;var r=[];return u(e,r,null,t,n),r}function p(e,t,n){return null}function d(e,t){return y(e,p,null)}function h(e){var t=[];return u(e,t,null,v.thatReturnsArgument),t}var f=n(19),g=n(13),v=n(9),y=n(117),m=f.twoArgumentPooler,_=f.fourArgumentPooler,b=/\/+/g;a.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},f.addPoolingTo(a,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},f.addPoolingTo(s,_);var x={forEach:i,map:c,mapIntoWithKeyPrefixInternal:u,count:d,toArray:h};e.exports=x},function(e,t,n){"use strict";function r(e,t){var n=w.hasOwnProperty(t)?w[t]:null;E.hasOwnProperty(t)&&(n!==b.OVERRIDE_BASE?p("73",t):void 0),e&&(n!==b.DEFINE_MANY&&n!==b.DEFINE_MANY_MERGED?p("74",t):void 0)}function a(e,t){if(t){"function"==typeof t?p("75"):void 0,f.isValidElement(t)?p("76"):void 0;var n=e.prototype,a=n.__reactAutoBindPairs;t.hasOwnProperty(_)&&C.mixins(e,t.mixins);for(var o in t)if(t.hasOwnProperty(o)&&o!==_){var i=t[o],u=n.hasOwnProperty(o);if(r(u,o),C.hasOwnProperty(o))C[o](e,i);else{var c=w.hasOwnProperty(o),d="function"==typeof i,h=d&&!c&&!u&&t.autobind!==!1;if(h)a.push(o,i),n[o]=i;else if(u){var g=w[o];!c||g!==b.DEFINE_MANY_MERGED&&g!==b.DEFINE_MANY?p("77",g,o):void 0,g===b.DEFINE_MANY_MERGED?n[o]=s(n[o],i):g===b.DEFINE_MANY&&(n[o]=l(n[o],i))}else n[o]=i}}}else;}function o(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var a=n in C;a?p("78",n):void 0;var o=n in e;o?p("79",n):void 0,e[n]=r}}}function i(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:p("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?p("81",n):void 0,e[n]=t[n]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var a={};return i(a,n),i(a,r),a}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function u(e,t){var n=t.bind(e);return n}function c(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],a=t[n+1];e[r]=u(e,a)}}var p=n(2),d=n(4),h=n(102),f=n(13),g=(n(108),n(107),n(106)),v=n(32),y=(n(1),n(45)),m=n(17),_=(n(3),m({mixins:null})),b=y({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),x=[],w={mixins:b.DEFINE_MANY,statics:b.DEFINE_MANY,propTypes:b.DEFINE_MANY,contextTypes:b.DEFINE_MANY,childContextTypes:b.DEFINE_MANY,getDefaultProps:b.DEFINE_MANY_MERGED,getInitialState:b.DEFINE_MANY_MERGED,getChildContext:b.DEFINE_MANY_MERGED,render:b.DEFINE_ONCE,componentWillMount:b.DEFINE_MANY,componentDidMount:b.DEFINE_MANY,componentWillReceiveProps:b.DEFINE_MANY,shouldComponentUpdate:b.DEFINE_ONCE,componentWillUpdate:b.DEFINE_MANY,componentDidUpdate:b.DEFINE_MANY,componentWillUnmount:b.DEFINE_MANY,updateComponent:b.OVERRIDE_BASE},C={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)a(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=d({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=d({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=s(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=d({},e.propTypes,t)},statics:function(e,t){o(e,t)},autobind:function(){}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},A=function(){};d(A.prototype,h.prototype,E);var T={createClass:function(e){var t=function(e,n,r){this.__reactAutoBindPairs.length&&c(this),this.props=e,this.context=n,this.refs=v,this.updater=r||g,this.state=null;var a=this.getInitialState?this.getInitialState():null;"object"!=typeof a||Array.isArray(a)?p("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=a};t.prototype=new A,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],x.forEach(a.bind(null,t)),a(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:p("83");for(var n in w)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){x.push(e)}}};e.exports=T},function(e,t){"use strict";var n={hasCachedChildNodes:1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=l.getValue(e);null!=t&&a(this,Boolean(e.multiple),t)}}function a(e,t,n){var r,a,o=u.getNodeFromInstance(e).options;if(t){for(r={},a=0;a<n.length;a++)r[""+n[a]]=!0;for(a=0;a<o.length;a++){var i=r.hasOwnProperty(o[a].value);o[a].selected!==i&&(o[a].selected=i)}}else{for(r=""+n,a=0;a<o.length;a++)if(o[a].value===r)return void(o[a].selected=!0);o.length&&(o[0].selected=!0)}}function o(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(r,this),n}var i=n(4),s=n(64),l=n(101),u=n(5),c=n(14),p=(n(3),!1),d={getHostProps:function(e,t){return i({},s.getHostProps(e,t),{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=l.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:o.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||p||(p=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=l.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,a(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?a(e,Boolean(t.multiple),t.defaultValue):a(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=d},function(e,t){"use strict";var n,r={injectEmptyComponentFactory:function(e){n=e}},a={create:function(e){return n(e)}};a.injection=r,e.exports=a},function(e,t){"use strict";var n={logTopLevelRenders:!1};e.exports=n},function(e,t,n){"use strict";function r(e){return l?void 0:i("111",e.type),new l(e)}function a(e){return new c(e)}function o(e){return e instanceof c}var i=n(2),s=n(4),l=(n(1),null),u={},c=null,p={injectGenericComponentClass:function(e){l=e},injectTextComponentClass:function(e){c=e},injectComponentClasses:function(e){s(u,e)}},d={createInternalComponent:r,createInstanceForText:a,isTextComponent:o,injection:p};e.exports=d},function(e,t,n){"use strict";function r(e){return o(document.documentElement,e)}var a=n(412),o=n(228),i=n(124),s=n(125),l={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,a=e.selectionRange;t!==n&&r(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,a),i(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=a.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else a.setOffsets(e,t)}};e.exports=l},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function a(e){return e?e.nodeType===I?e.documentElement:e.firstChild:null}function o(e){return e.getAttribute&&e.getAttribute(k)||""}function i(e,t,n,r,a){var o;if(x.logTopLevelRenders){var i=e._currentElement.props,s=i.type;o="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(o)}var l=E.mountComponent(e,n,null,m(e,t),a,0);o&&console.timeEnd(o),e._renderedComponent._topLevelWrapper=e,U._mountImageIntoNode(l,t,e,r,n)}function s(e,t,n,r){var a=T.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);a.perform(i,null,e,t,a,n,r),T.ReactReconcileTransaction.release(a)}function l(e,t,n){for(E.unmountComponent(e,n),t.nodeType===I&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function u(e){var t=a(e);if(t){var n=y.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==R&&e.nodeType!==I&&e.nodeType!==N)}function p(e){var t=a(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function d(e){var t=p(e);return t?t._hostContainerInfo._topLevelWrapper:null}var h=n(2),f=n(27),g=n(28),v=n(65),y=(n(20),n(5)),m=n(405),_=n(408),b=n(13),x=n(191),w=n(40),C=(n(11),n(421)),E=n(29),A=n(110),T=n(14),S=n(32),P=n(206),O=(n(1),n(68)),D=n(116),k=(n(3),g.ID_ATTRIBUTE_NAME),M=g.ROOT_ATTRIBUTE_NAME,R=1,I=9,N=11,L={},F=1,j=function(){
this.rootID=F++};j.prototype.isReactComponent={},j.prototype.render=function(){return this.props};var U={TopLevelWrapper:j,_instancesByReactRootID:L,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,a){return U.scrollMonitor(r,function(){A.enqueueElementInternal(e,t,n),a&&A.enqueueCallbackInternal(e,a)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:h("37"),v.ensureScrollValueMonitoring();var a=P(e,!1);T.batchedUpdates(s,a,t,n,r);var o=a._instance.rootID;return L[o]=a,a},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&w.has(e)?void 0:h("38"),U._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){A.validateCallback(r,"ReactDOM.render"),b.isValidElement(t)?void 0:h("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var i,s=b(j,null,null,null,null,null,t);if(e){var l=w.get(e);i=l._processChildContext(l._context)}else i=S;var c=d(n);if(c){var p=c._currentElement,f=p.props;if(D(f,t)){var g=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(g)};return U._updateRootComponent(c,s,i,n,v),g}U.unmountComponentAtNode(n)}var y=a(n),m=y&&!!o(y),_=u(n),x=m&&!c&&!_,C=U._renderNewRootComponent(s,n,x,i)._renderedComponent.getPublicInstance();return r&&r.call(C),C},render:function(e,t,n){return U._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:h("40");var t=d(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(M);return!1}return delete L[t._instance.rootID],T.batchedUpdates(l,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,o,i){if(c(t)?void 0:h("41"),o){var s=a(t);if(C.canReuseMarkup(e,s))return void y.precacheNode(n,s);var l=s.getAttribute(C.CHECKSUM_ATTR_NAME);s.removeAttribute(C.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(C.CHECKSUM_ATTR_NAME,l);var p=e,d=r(p,u),g=" (client) "+p.substring(d-20,d+20)+"\n (server) "+u.substring(d-20,d+20);t.nodeType===I?h("42",g):void 0}if(t.nodeType===I?h("43"):void 0,i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);f.insertTreeBefore(t,e,null)}else O(t,e),y.precacheNode(n,t.firstChild)}};e.exports=U},function(e,t,n){"use strict";var r=n(45),a=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=a},function(e,t,n){"use strict";var r=n(2),a=n(13),o=(n(1),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?o.EMPTY:a.isValidElement(e)?"function"==typeof e.type?o.COMPOSITE:o.HOST:void r("26",e)}});e.exports=o},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function a(e){this.message=e,this.stack=""}function o(e){function t(t,n,r,o,i,s,l){o=o||T,s=s||r;if(null==n[r]){var u=w[i];return t?new a("Required "+u+" `"+s+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,o,i,s){var l=t[n],u=m(l);if(u!==e){var c=w[o],p=_(l);return new a("Invalid "+c+" `"+i+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return o(t)}function s(){return o(E.thatReturns(null))}function l(e){function t(t,n,r,o,i){if("function"!=typeof e)return new a("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var l=w[o],u=m(s);return new a("Invalid "+l+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<s.length;c++){var p=e(s,c,r,o,i+"["+c+"]",C);if(p instanceof Error)return p}return null}return o(t)}function u(){function e(e,t,n,r,o){var i=e[t];if(!x.isValidElement(i)){var s=w[r],l=m(i);return new a("Invalid "+s+" `"+o+"` of type "+("`"+l+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return o(e)}function c(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var s=w[o],l=e.name||T,u=b(t[n]);return new a("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected ")+("instance of `"+l+"`."))}return null}return o(t)}function p(e){function t(t,n,o,i,s){for(var l=t[n],u=0;u<e.length;u++)if(r(l,e[u]))return null;var c=w[i],p=JSON.stringify(e);return new a("Invalid "+c+" `"+s+"` of value `"+l+"` "+("supplied to `"+o+"`, expected one of "+p+"."))}return Array.isArray(e)?o(t):E.thatReturnsNull}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new a("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=m(s);if("object"!==l){var u=w[o];return new a("Invalid "+u+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."))}for(var c in s)if(s.hasOwnProperty(c)){var p=e(s,c,r,o,i+"."+c,C);if(p instanceof Error)return p}return null}return o(t)}function h(e){function t(t,n,r,o,i){for(var s=0;s<e.length;s++){var l=e[s];if(null==l(t,n,r,o,i,C))return null}var u=w[o];return new a("Invalid "+u+" `"+i+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?o(t):E.thatReturnsNull}function f(){function e(e,t,n,r,o){if(!v(e[t])){var i=w[r];return new a("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return o(e)}function g(e){function t(t,n,r,o,i){var s=t[n],l=m(s);if("object"!==l){var u=w[o];return new a("Invalid "+u+" `"+i+"` of type `"+l+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var p=e[c];if(p){var d=p(s,c,r,o,i+"."+c,C);if(d)return d}}return null}return o(t)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||x.isValidElement(e))return!0;var t=A(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var a=n.value;if(a&&!v(a[1]))return!1}return!0;default:return!1}}function y(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":y(t,e)?"symbol":t}function _(e){var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){return e.constructor&&e.constructor.name?e.constructor.name:T}var x=n(13),w=n(107),C=n(109),E=n(9),A=n(204),T=(n(3),"<<anonymous>>"),S={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:f(),objectOf:d,oneOf:p,oneOfType:h,shape:g};a.prototype=Error.prototype,e.exports=S},function(e,t){"use strict";e.exports="15.3.2"},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t,n){"use strict";function r(e,t){return null==t?a("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var a=n(2);n(1);e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===a.COMPOSITE;)e=e._renderedComponent;return t===a.HOST?e._renderedComponent:t===a.EMPTY?null:void 0}var a=n(196);e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[a]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";e.exports=n},function(e,t,n){"use strict";function r(){return!o&&a.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var a=n(7),o=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function a(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function o(e,t){var n;if(null===e||e===!1)n=u.create(o);else if("object"==typeof e){var s=e;!s||"function"!=typeof s.type&&"string"!=typeof s.type?i("130",null==s.type?s.type:typeof s.type,r(s._owner)):void 0,"string"==typeof s.type?n=c.createInternalComponent(s):a(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):i("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var i=n(2),s=n(4),l=n(401),u=n(190),c=n(192),p=(n(1),n(3),function(e){this.construct(e)});s(p.prototype,l.Mixin,{_instantiateReactComponent:o});e.exports=o},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(7),a=n(67),o=n(68),i=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){o(e,a(t))})),e.exports=i},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],a=t.slice(0,-1);return function(){return a.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){function r(){y===v&&(y=v.slice())}function o(){return g}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),y.push(e),function(){if(t){t=!1,r();var n=y.indexOf(e);y.splice(n,1)}}}function c(e){if(!(0,i["default"])(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(m)throw new Error("Reducers may not dispatch actions.");try{m=!0,g=f(g,e)}finally{m=!1}for(var t=v=y,n=0;n<t.length;n++)t[n]();return e}function p(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");f=e,c({type:u.INIT})}function d(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(o())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[l["default"]]=function(){return this},e}var h;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var f=e,g=t,v=[],y=v,m=!1;return c({type:u.INIT}),h={dispatch:c,subscribe:s,getState:o,replaceReducer:p},h[l["default"]]=d,h}t.__esModule=!0,t.ActionTypes=void 0,t["default"]=a;var o=n(61),i=r(o),s=n(458),l=r(s),u=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var a=n(210),o=r(a),i=n(455),s=r(i),l=n(454),u=r(l),c=n(453),p=r(c),d=n(209),h=r(d),f=n(212);r(f);t.createStore=o["default"],t.combineReducers=s["default"],t.bindActionCreators=u["default"],t.applyMiddleware=p["default"],t.compose=h["default"]},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n,r){var a="function"==typeof e?e(r):e,o=a?t:n;return(0,i["default"])(o,r)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(43),i=r(o),s=n(31),l=r(s);t["default"]=(0,l["default"])(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=!0;return(0,p["default"])(t,function(t,r){if(t!==e[r])return n=!1,!1}),n}function o(e,t){var n="function"==typeof e?e:(0,s["default"])(e),r=Array.isArray(t)?h["default"]:g["default"],o=r(t,n),i=a(t,o);return i?t:o}Object.defineProperty(t,"__esModule",{value:!0});var i=n(43),s=r(i),l=n(31),u=r(l),c=n(354),p=r(c),d=n(367),h=r(d),f=n(174),g=r(f);t["default"]=(0,u["default"])(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return Array.isArray(e)?e:(0,i["default"])(e.split("."),function(e){return!e})}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var o=n(177),i=r(o)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{pos:{latitude:parseFloat(e[1],10),longitude:parseFloat(e[2],10)},time:new Date(e[0]),altitude:parseFloat(e[3],10),vertAccuracy:parseFloat(e[8],10),horAccuracy:parseFloat(e[7],10)}}function o(e){var t=null,n=0;return e.slice(2,-1).map(function(e){var r=a(e);if(!t)return void(t=r);var o=1e3*(0,s["default"])(t.pos.latitude,t.pos.longitude,r.pos.latitude,r.pos.longitude),i=r.time.getTime()-t.time.getTime(),l=t.altitude-r.altitude,u=l/(i/1e3)*3.6,c=o/(i/1e3)*3.6,p=(t.vertAccuracy+r.vertAccuracy)/2,d=(t.horAccuracy+r.horAccuracy)/2;return n+=o,t=r,[r.time,[r.altitude,r.vertAccuracy],[u,p],[c,d],n]}).filter(Boolean)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=n(239),s=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return{type:"INPUT_VALUE",value:t,stateKey:e}}function o(e,t){return"INPUT_VALUE"===t.type?(0,p["default"])(t.stateKey,function(){return t.value},e):e}Object.defineProperty(t,"__esModule",{value:!0}),t.setInputValue=a,t.inputReducer=o;var i=n(12),s=r(i),l=n(172),u=r(l),c=n(91),p=r(c),d=n(173),h=r(d),f=n(63),g=s["default"].createClass({displayName:"Input",render:function(){var e=this.props.component||"input";return s["default"].createElement(e,(0,h["default"])(["stateKey","component"],this.props))}});g=(0,f.connect)(function(e,t){return{value:(0,u["default"])("",t.stateKey,e)}},function(e,t){return{onChange:function(n){e(a(t.stateKey,n.target.value))}}})(g),t["default"]=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(12),o=r(a),i=n(63),s=n(120),l=n(122),u=r(l),c=n(220),p=r(c),d=n(69),h=r(d),f=n(121),g=r(f),v=o["default"].createClass({displayName:"Main",render:function(){return o["default"].createElement("div",null,o["default"].createElement(g["default"],null,o["default"].createElement("p",null,"Convert ",o["default"].createElement("a",{href:"http://flysight.ca/"},"FlySight")," data files (.csv) to SubRip (.srt) subtitles."),o["default"].createElement("p",null,"Watch a ",o["default"].createElement("a",{href:"https://youtu.be/Oa81xi-d5iw"},"demo video")," or play with the ",o["default"].createElement("a",{href:"https://raw.githubusercontent.com/epeli/flysight-subtitles/master/data/15-30-18.CSV"},"data file"),"."),o["default"].createElement(h["default"],null)),o["default"].createElement(u["default"],null),o["default"].createElement(g["default"],null,o["default"].createElement(p["default"],null)),o["default"].createElement("p",{style:{textAlign:"center"}},o["default"].createElement("button",{onClick:this.props.clearAll},"Reset all data")),o["default"].createElement("hr",null),o["default"].createElement("p",{style:{textAlign:"center"}},"Made by Esa-Matti Suuronen (esa-matti@suuronen.org)"))}});v=(0,i.connect)(null,{clearAll:s.clearAll})(v),t["default"]=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return t?e.replace(new RegExp("."+t+"$"),""):e.replace(/\.[^\/.]+$/,"")}Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),i=r(o),s=n(170),l=r(s),u=n(238),c=n(44),p=n(221),d=r(p),h=n(122),f=n(69),g="\nFallrate FALLRATE km/h\nAltitude ALTITUDE m\nGround speed SPEED km/h\nDistance DISTANCE m\nFreefall time TIME s\nGlide ratio GLIDE\n".trim(),v=i["default"].createClass({displayName:"SubripView",componentWillMount:function(){this.debouncedGenerate=(0,l["default"])(1e3,this.generate)},getInitialState:function(){return{subtitleString:"",dirty:!1}},generate:function(e){if(this.canGenerateSubs()){var t=(0,d["default"])(this.props.subtitleTemplate||g,this.props.gpsData,this.props.syncPointIndex,this.props.videoMinutes,this.props.videoSeconds,this.props.dropzoneElevation);this.setState({subtitleString:t,dirty:!1},e)}},getRef:function(e){this.textarea=e},getDownloadFilename:function(){var e=this.props,t=e.dataFilename,n=e.filename;return n?a(n,"srt")+".srt":t?a(t)+".srt":"flysight.srt"},handleDownload:function(e){e.preventDefault(),this.generate();var t=new Blob([this.state.subtitleString],{type:"text/plain;charset=utf-8"});(0,u.saveAs)(t,this.getDownloadFilename())},handleCopy:function(e){var t=this;e.preventDefault(),this.generate(function(){t.textarea.select(),console.log("copy",document.execCommand("copy"))})},componentWillReceiveProps:function(){this.debouncedGenerate(),this.setState({dirty:!0})},canGenerateSubs:function(){var e=this.props,t=e.syncPointIndex,n=e.gpsData,r=n.length>0;return!!t&&r},render:function(){var e=this.state,t=e.subtitleString,n=e.dirty,r=this.props,o=r.filename,s=r.dataFilename,l=r.videoMinutes,u=r.videoSeconds,c=r.dropzoneElevation,p=r.subtitleTemplate,d=this.canGenerateSubs();return i["default"].createElement("div",{style:{width:"400px",margin:"0 auto"}},i["default"].createElement("div",null,i["default"].createElement("h3",null,"Exit time in the video"),i["default"].createElement("p",null,"minutes and seconds"),i["default"].createElement("input",{onChange:this.props.handleVideoMinutes,value:l,type:"text",placeholder:"01"}),i["default"].createElement("input",{onChange:this.props.handleVideoSeconds,value:u,type:"text",placeholder:"2.34"}),i["default"].createElement("br",null),i["default"].createElement("small",null,"You can use fractions of seconds if needed."),i["default"].createElement("h3",null,"Dropzone elevation"),i["default"].createElement("p",null,"meters"),i["default"].createElement("input",{onChange:this.props.handleDropzoneElevation,value:c,type:"text",placeholder:"0"}),i["default"].createElement("br",null),i["default"].createElement("small",null,"protip: You can see it from the graph on landing"),i["default"].createElement("h3",null,"Subtitle template"),i["default"].createElement("textarea",{value:p,onChange:this.props.handleSubtitleTemplate,style:{width:"100%"},type:"text",placeholder:g,rows:"6"}),i["default"].createElement("a",{href:"#",onClick:this.props.setDefaultSubtitleTemplate},"use default"),i["default"].createElement("h3",null,"Download filename"),i["default"].createElement("input",{value:o,onChange:this.props.handleFilename,type:"text",placeholder:s?a(s):"GOPR0123"}),i["default"].createElement("br",null),i["default"].createElement("small",null,"Most players can pick up the subtitle file when it's in the same directory with video file with same name. For a player I'd recommend ",i["default"].createElement("a",{href:"https://mpv.io/"},"mpv"),". VLC is bit laggy with big subtitle files.")),i["default"].createElement("h2",null,"The subtitles!"),i["default"].createElement("i",null,!d&&"Missing some data. Exit point from the graph?",d&&t&&n&&"Dirty! Compiling soon.",d&&!t&&"Compiling!"),d&&t&&i["default"].createElement("div",null,i["default"].createElement("p",null,i["default"].createElement("button",{style:{width:"100%",padding:"1em"},onClick:this.handleCopy},"Copy to clipboard"),i["default"].createElement("button",{style:{width:"100%",padding:"1em"},onClick:this.handleDownload},"Dowload"),i["default"].createElement("textarea",{readOnly:!0,rows:"15",style:{width:"100%"},value:t,ref:this.getRef}))))}});v=(0,c.connectLean)({scope:"options",defaults:{videoMinutes:0,videoSeconds:0,dropzoneElevation:0,subtitleTemplate:g,filename:""},updates:{handleDropzoneElevation:function(e){return{dropzoneElevation:e.target.value}},handleVideoMinutes:function(e){return{videoMinutes:e.target.value}},handleVideoSeconds:function(e){return{videoSeconds:e.target.value}},handleSubtitleTemplate:function(e){return{subtitleTemplate:e.target.value}},handleFilename:function(e){return{filename:e.target.value}},setDefaultSubtitleTemplate:function(e){return e&&e.preventDefault(),{subtitleTemplate:g}}}})(v),v=(0,h.connectGraphData)(v),v=(0,f.connectFile)(v),t["default"]=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=String(e).split("."),n=s(t,2),r=n[0],a=n[1];return a?r+"."+(0,p["default"])(a,2,"0"):r+".00"}function o(e,t){var n=Object.keys(t),r=new RegExp(n.join("|"),"g");return e.replace(r,function(e){return t[e]}).trim()}function i(e,t,n,r,i){var s=arguments.length<=5||void 0===arguments[5]?0:arguments[5];console.log("Generating subrip!"),r=parseInt(r,10)||0,i=parseFloat(i,10)||0,s=parseFloat(s,10);for(var l=n,u=60*r*1e3+1e3*i,c=t[n];0!==n;){n--;var p=t[n],d=c[0].getTime()-p[0].getTime(),h=u-d;if(h<0)break;u=h,c=p}c=t[n];for(var f=0,g="",y=null,m=null;;){n++;var _=t[n];if(!_)break;var b=_[0].getTime()-c[0].getTime(),x=u+b,w=_[4],C=-1*((c[4]-_[4])/(c[1][0]-_[1][0])).toFixed(2),E={FALLRATE:Math.round(c[2][0]),ALTITUDE:Math.round(c[1][0]-s),SPEED:Math.round(c[3][0]),GLIDE:a(C,2),DISTANCE:0,TIME:0};if(l===n&&(y=w,m=u),null!==y&&(E.DISTANCE=Math.round(w-y)),null!==m&&(E.TIME=Math.round((u-m)/1e3)),f++,g+=f,g+="\n",g+=v(u)+" --> "+v(x),g+="\n",g+=o(e,E),g+="\n\n",E.TIME>300)break;c=_,u=x}return g}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(l){a=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(a)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t["default"]=i;var l=n(373),u=r(l),c=n(372),p=r(c),d=function(e,t){return(0,u["default"])(String(t),e,"0")},h=function(e){return Math.floor(e/60/1e3)},f=function(e){return Math.floor((e-60*h(e)*1e3)/1e3)},g=function(e){return e%1e3},v=function(e){return"00:"+d(2,h(e))+":"+d(2,f(e))+","+d(3,g(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0],n=arguments[1];return t.filter(s["default"]).reduce(function(e,t){return t(e,n)},e)}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(359),s=r(i);t.thunkMiddleware=a,t.composeReducers=o},function(e,t,n){t=e.exports=n(224)(),t.push([e.id,".Graph,.Graph-wrap{width:100%;height:100%}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(r[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(e,t,n){/*! @license Copyright 2014 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */
!function(e){"use strict";for(var t,n,r={},a=function(){},o="memory".split(","),i="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=o.pop();)e[t]=e[t]||r;for(;n=i.pop();)e[n]=e[n]||a}(this.console=this.console||{}),/**
	 * @license
	 * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";CanvasRenderingContext2D.prototype.installPattern=function(e){if("undefined"!=typeof this.isPatternInstalled)throw"Must un-install old line pattern before installing a new one.";this.isPatternInstalled=!0;var t=[0,0],n=[],r=this.beginPath,a=this.lineTo,o=this.moveTo,i=this.stroke;this.uninstallPattern=function(){this.beginPath=r,this.lineTo=a,this.moveTo=o,this.stroke=i,this.uninstallPattern=void 0,this.isPatternInstalled=void 0},this.beginPath=function(){n=[],r.call(this)},this.moveTo=function(e,t){n.push([[e,t]]),o.call(this,e,t)},this.lineTo=function(e,t){var r=n[n.length-1];r.push([e,t])},this.stroke=function(){if(0===n.length)return void i.call(this);for(var r=0;r<n.length;r++)for(var s=n[r],l=s[0][0],u=s[0][1],c=1;c<s.length;c++){var p=s[c][0],d=s[c][1];this.save();var h=p-l,f=d-u,g=Math.sqrt(h*h+f*f),v=Math.atan2(f,h);this.translate(l,u),o.call(this,0,0),this.rotate(v);for(var y=t[0],m=0;g>m;){var _=e[y];m+=t[1]?t[1]:_,m>g?(t=[y,m-g],m=g):t=[(y+1)%e.length,0],y%2===0?a.call(this,m,0):o.call(this,m,0),y=(y+1)%e.length}this.restore(),l=p,u=d}i.call(this),n=[]}},CanvasRenderingContext2D.prototype.uninstallPattern=function(){throw"Must install a line pattern before uninstalling it."}}();/**
	 * @license
	 * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
var r=function(){return function(){"use strict";var e=function(e){this.dygraph_=e,this.yAxes_=[],this.xAxis_={},this.series_={},this.global_=this.dygraph_.attrs_,this.user_=this.dygraph_.user_attrs_||{},this.labels_=[],this.highlightSeries_=this.get("highlightSeriesOpts")||{},this.reparseSeries()};e.AXIS_STRING_MAPPINGS_={y:0,Y:0,y1:0,Y1:0,y2:1,Y2:1},e.axisToIndex_=function(t){if("string"==typeof t){if(e.AXIS_STRING_MAPPINGS_.hasOwnProperty(t))return e.AXIS_STRING_MAPPINGS_[t];throw"Unknown axis : "+t}if("number"==typeof t){if(0===t||1===t)return t;throw"Dygraphs only supports two y-axes, indexed from 0-1."}if(t)throw"Unknown axis : "+t;return 0},e.prototype.reparseSeries=function(){var t=this.get("labels");if(t){this.labels_=t.slice(1),this.yAxes_=[{series:[],options:{}}],this.xAxis_={options:{}},this.series_={};var n=!this.user_.series;if(n){for(var r=0,a=0;a<this.labels_.length;a++){var o=this.labels_[a],s=this.user_[o]||{},l=0,u=s.axis;"object"==typeof u&&(l=++r,this.yAxes_[l]={series:[o],options:u}),u||this.yAxes_[0].series.push(o),this.series_[o]={idx:a,yAxis:l,options:s}}for(var a=0;a<this.labels_.length;a++){var o=this.labels_[a],s=this.series_[o].options,u=s.axis;if("string"==typeof u){if(!this.series_.hasOwnProperty(u))return void console.error("Series "+o+" wants to share a y-axis with series "+u+", which does not define its own axis.");var l=this.series_[u].yAxis;this.series_[o].yAxis=l,this.yAxes_[l].series.push(o)}}}else for(var a=0;a<this.labels_.length;a++){var o=this.labels_[a],s=this.user_.series[o]||{},l=e.axisToIndex_(s.axis);this.series_[o]={idx:a,yAxis:l,options:s},this.yAxes_[l]?this.yAxes_[l].series.push(o):this.yAxes_[l]={series:[o],options:{}}}var c=this.user_.axes||{};i.update(this.yAxes_[0].options,c.y||{}),this.yAxes_.length>1&&i.update(this.yAxes_[1].options,c.y2||{}),i.update(this.xAxis_.options,c.x||{})}},e.prototype.get=function(e){var t=this.getGlobalUser_(e);return null!==t?t:this.getGlobalDefault_(e)},e.prototype.getGlobalUser_=function(e){return this.user_.hasOwnProperty(e)?this.user_[e]:null},e.prototype.getGlobalDefault_=function(e){return this.global_.hasOwnProperty(e)?this.global_[e]:i.DEFAULT_ATTRS.hasOwnProperty(e)?i.DEFAULT_ATTRS[e]:null},e.prototype.getForAxis=function(e,t){var n,r;if("number"==typeof t)n=t,r=0===n?"y":"y2";else{if("y1"==t&&(t="y"),"y"==t)n=0;else if("y2"==t)n=1;else{if("x"!=t)throw"Unknown axis "+t;n=-1}r=t}var a=n==-1?this.xAxis_:this.yAxes_[n];if(a){var o=a.options;if(o.hasOwnProperty(e))return o[e]}if("x"!==t||"logscale"!==e){var s=this.getGlobalUser_(e);if(null!==s)return s}var l=i.DEFAULT_ATTRS.axes[r];return l.hasOwnProperty(e)?l[e]:this.getGlobalDefault_(e)},e.prototype.getForSeries=function(e,t){if(t===this.dygraph_.getHighlightSeries()&&this.highlightSeries_.hasOwnProperty(e))return this.highlightSeries_[e];if(!this.series_.hasOwnProperty(t))throw"Unknown series: "+t;var n=this.series_[t],r=n.options;return r.hasOwnProperty(e)?r[e]:this.getForAxis(e,n.yAxis)},e.prototype.numAxes=function(){return this.yAxes_.length},e.prototype.axisForSeries=function(e){return this.series_[e].yAxis},e.prototype.axisOptions=function(e){return this.yAxes_[e].options},e.prototype.seriesForAxis=function(e){return this.yAxes_[e].series},e.prototype.seriesNames=function(){return this.labels_};return e}()}(),a=function(){"use strict";var e=function(e){this.dygraph_=e,this.points=[],this.setNames=[],this.annotations=[],this.yAxes_=null,this.xTicks_=null,this.yTicks_=null};return e.prototype.addDataset=function(e,t){this.points.push(t),this.setNames.push(e)},e.prototype.getPlotArea=function(){return this.area_},e.prototype.computePlotArea=function(){var e={x:0,y:0};e.w=this.dygraph_.width_-e.x-this.dygraph_.getOption("rightGap"),e.h=this.dygraph_.height_;var t={chart_div:this.dygraph_.graphDiv,reserveSpaceLeft:function(t){var n={x:e.x,y:e.y,w:t,h:e.h};return e.x+=t,e.w-=t,n},reserveSpaceRight:function(t){var n={x:e.x+e.w-t,y:e.y,w:t,h:e.h};return e.w-=t,n},reserveSpaceTop:function(t){var n={x:e.x,y:e.y,w:e.w,h:t};return e.y+=t,e.h-=t,n},reserveSpaceBottom:function(t){var n={x:e.x,y:e.y+e.h-t,w:e.w,h:t};return e.h-=t,n},chartRect:function(){return{x:e.x,y:e.y,w:e.w,h:e.h}}};this.dygraph_.cascadeEvents_("layout",t),this.area_=e},e.prototype.setAnnotations=function(e){this.annotations=[];for(var t=this.dygraph_.getOption("xValueParser")||function(e){return e},n=0;n<e.length;n++){var r={};if(!e[n].xval&&void 0===e[n].x)return void console.error("Annotations must have an 'x' property");if(e[n].icon&&(!e[n].hasOwnProperty("width")||!e[n].hasOwnProperty("height")))return void console.error("Must set width and height when setting annotation.icon property");i.update(r,e[n]),r.xval||(r.xval=t(r.x)),this.annotations.push(r)}},e.prototype.setXTicks=function(e){this.xTicks_=e},e.prototype.setYAxes=function(e){this.yAxes_=e},e.prototype.evaluate=function(){this._xAxis={},this._evaluateLimits(),this._evaluateLineCharts(),this._evaluateLineTicks(),this._evaluateAnnotations()},e.prototype._evaluateLimits=function(){var e=this.dygraph_.xAxisRange();this._xAxis.minval=e[0],this._xAxis.maxval=e[1];var t=e[1]-e[0];this._xAxis.scale=0!==t?1/t:1,this.dygraph_.getOptionForAxis("logscale","x")&&(this._xAxis.xlogrange=i.log10(this._xAxis.maxval)-i.log10(this._xAxis.minval),this._xAxis.xlogscale=0!==this._xAxis.xlogrange?1/this._xAxis.xlogrange:1);for(var n=0;n<this.yAxes_.length;n++){var r=this.yAxes_[n];r.minyval=r.computedValueRange[0],r.maxyval=r.computedValueRange[1],r.yrange=r.maxyval-r.minyval,r.yscale=0!==r.yrange?1/r.yrange:1,this.dygraph_.getOption("logscale")&&(r.ylogrange=i.log10(r.maxyval)-i.log10(r.minyval),r.ylogscale=0!==r.ylogrange?1/r.ylogrange:1,isFinite(r.ylogrange)&&!isNaN(r.ylogrange)||console.error("axis "+n+" of graph at "+r.g+" can't be displayed in log scale for range ["+r.minyval+" - "+r.maxyval+"]"))}},e.calcXNormal_=function(e,t,n){return n?(i.log10(e)-i.log10(t.minval))*t.xlogscale:(e-t.minval)*t.scale},e.calcYNormal_=function(e,t,n){if(n){var r=1-(i.log10(t)-i.log10(e.minyval))*e.ylogscale;return isFinite(r)?r:NaN}return 1-(t-e.minyval)*e.yscale},e.prototype._evaluateLineCharts=function(){for(var t=this.dygraph_.getOption("stackedGraph"),n=this.dygraph_.getOptionForAxis("logscale","x"),r=0;r<this.points.length;r++){for(var a=this.points[r],o=this.setNames[r],i=this.dygraph_.getOption("connectSeparatedPoints",o),s=this.dygraph_.axisPropertiesForSeries(o),l=this.dygraph_.attributes_.getForSeries("logscale",o),u=0;u<a.length;u++){var c=a[u];c.x=e.calcXNormal_(c.xval,this._xAxis,n);var p=c.yval;t&&(c.y_stacked=e.calcYNormal_(s,c.yval_stacked,l),null===p||isNaN(p)||(p=c.yval_stacked)),null===p&&(p=NaN,i||(c.yval=NaN)),c.y=e.calcYNormal_(s,p,l)}this.dygraph_.dataHandler_.onLineEvaluated(a,s,l)}},e.prototype._evaluateLineTicks=function(){var e,t,n,r;for(this.xticks=[],e=0;e<this.xTicks_.length;e++)t=this.xTicks_[e],n=t.label,r=this.dygraph_.toPercentXCoord(t.v),r>=0&&r<1&&this.xticks.push([r,n]);for(this.yticks=[],e=0;e<this.yAxes_.length;e++)for(var a=this.yAxes_[e],o=0;o<a.ticks.length;o++)t=a.ticks[o],n=t.label,r=this.dygraph_.toPercentYCoord(t.v,e),r>0&&r<=1&&this.yticks.push([e,r,n])},e.prototype._evaluateAnnotations=function(){var e,t={};for(e=0;e<this.annotations.length;e++){var n=this.annotations[e];t[n.xval+","+n.series]=n}if(this.annotated_points=[],this.annotations&&this.annotations.length)for(var r=0;r<this.points.length;r++){var a=this.points[r];for(e=0;e<a.length;e++){var o=a[e],i=o.xval+","+o.name;i in t&&(o.annotation=t[i],this.annotated_points.push(o))}}},e.prototype.removeAllDatasets=function(){delete this.points,delete this.setNames,delete this.setPointsLengths,delete this.setPointsOffsets,this.points=[],this.setNames=[],this.setPointsLengths=[],this.setPointsOffsets=[]},e}(),o=function(){"use strict";var e=function(e,t,n,r){if(this.dygraph_=e,this.layout=r,this.element=t,this.elementContext=n,this.height=e.height_,this.width=e.width_,!this.isIE&&!i.isCanvasSupported(this.element))throw"Canvas is not supported.";if(this.area=r.getPlotArea(),this.dygraph_.isUsingExcanvas_)this._createIEClipArea();else if(!i.isAndroid()){var a=this.dygraph_.canvas_ctx_;a.beginPath(),a.rect(this.area.x,this.area.y,this.area.w,this.area.h),a.clip(),a=this.dygraph_.hidden_ctx_,a.beginPath(),a.rect(this.area.x,this.area.y,this.area.w,this.area.h),a.clip()}};return e.prototype.clear=function(){var e;if(this.isIE)try{this.clearDelay&&(this.clearDelay.cancel(),this.clearDelay=null),e=this.elementContext}catch(t){return}e=this.elementContext,e.clearRect(0,0,this.width,this.height)},e.prototype.render=function(){this._updatePoints(),this._renderLineChart()},e.prototype._createIEClipArea=function(){function e(e){if(0!==e.w&&0!==e.h){var r=document.createElement("div");r.className=t,r.style.backgroundColor=a,r.style.position="absolute",r.style.left=e.x+"px",r.style.top=e.y+"px",r.style.width=e.w+"px",r.style.height=e.h+"px",n.appendChild(r)}}for(var t="dygraph-clip-div",n=this.dygraph_.graphDiv,r=n.childNodes.length-1;r>=0;r--)n.childNodes[r].className==t&&n.removeChild(n.childNodes[r]);for(var a=document.bgColor,o=this.dygraph_.graphDiv;o!=document;){var i=o.currentStyle.backgroundColor;if(i&&"transparent"!=i){a=i;break}o=o.parentNode}var s=this.area;e({x:0,y:0,w:s.x,h:this.height}),e({x:s.x,y:0,w:this.width-s.x,h:s.y}),e({x:s.x+s.w,y:0,w:this.width-s.x-s.w,h:this.height}),e({x:s.x,y:s.y+s.h,w:this.width-s.x,h:this.height-s.h-s.y})},e._getIteratorPredicate=function(t){return t?e._predicateThatSkipsEmptyPoints:null},e._predicateThatSkipsEmptyPoints=function(e,t){return null!==e[t].yval},e._drawStyledLine=function(t,n,r,a,o,s,l){var u=t.dygraph,c=u.getBooleanOption("stepPlot",t.setName);i.isArrayLike(a)||(a=null);var p=u.getBooleanOption("drawGapEdgePoints",t.setName),d=t.points,h=t.setName,f=i.createIterator(d,0,d.length,e._getIteratorPredicate(u.getBooleanOption("connectSeparatedPoints",h))),g=a&&a.length>=2,v=t.drawingContext;v.save(),g&&v.installPattern(a);var y=e._drawSeries(t,f,r,l,o,p,c,n);e._drawPointsOnLine(t,y,s,n,l),g&&v.uninstallPattern(),v.restore()},e._drawSeries=function(e,t,n,r,a,o,i,s){var l,u,c=null,p=null,d=null,h=[],f=!0,g=e.drawingContext;g.beginPath(),g.strokeStyle=s,g.lineWidth=n;for(var v=t.array_,y=t.end_,m=t.predicate_,_=t.start_;_<y;_++){if(u=v[_],m){for(;_<y&&!m(v,_);)_++;if(_==y)break;u=v[_]}if(null===u.canvasy||u.canvasy!=u.canvasy)i&&null!==c&&(g.moveTo(c,p),g.lineTo(u.canvasx,p)),c=p=null;else{if(l=!1,o||!c){t.nextIdx_=_,t.next(),d=t.hasNext?t.peek.canvasy:null;var b=null===d||d!=d;l=!c&&b,o&&(!f&&!c||t.hasNext&&b)&&(l=!0)}null!==c?n&&(i&&(g.moveTo(c,p),g.lineTo(u.canvasx,p)),g.lineTo(u.canvasx,u.canvasy)):g.moveTo(u.canvasx,u.canvasy),(a||l)&&h.push([u.canvasx,u.canvasy,u.idx]),c=u.canvasx,p=u.canvasy}f=!1}return g.stroke(),h},e._drawPointsOnLine=function(e,t,n,r,a){for(var o=e.drawingContext,i=0;i<t.length;i++){var s=t[i];o.save(),n.call(e.dygraph,e.dygraph,e.setName,o,s[0],s[1],r,a,s[2]),o.restore()}},e.prototype._updatePoints=function(){for(var e=this.layout.points,t=e.length;t--;)for(var n=e[t],r=n.length;r--;){var a=n[r];a.canvasx=this.area.w*a.x+this.area.x,a.canvasy=this.area.h*a.y+this.area.y}},e.prototype._renderLineChart=function(e,t){var n,r,a=t||this.elementContext,o=this.layout.points,s=this.layout.setNames;this.colors=this.dygraph_.colorsMap_;var l=this.dygraph_.getOption("plotter"),u=l;i.isArrayLike(u)||(u=[u]);var c={};for(n=0;n<s.length;n++){r=s[n];var p=this.dygraph_.getOption("plotter",r);p!=l&&(c[r]=p)}for(n=0;n<u.length;n++)for(var d=u[n],h=n==u.length-1,f=0;f<o.length;f++)if(r=s[f],!e||r==e){var g=o[f],v=d;if(r in c){if(!h)continue;v=c[r]}var y=this.colors[r],m=this.dygraph_.getOption("strokeWidth",r);a.save(),a.strokeStyle=y,a.lineWidth=m,v({points:g,setName:r,drawingContext:a,color:y,strokeWidth:m,dygraph:this.dygraph_,axis:this.dygraph_.axisPropertiesForSeries(r),plotArea:this.area,seriesIndex:f,seriesCount:o.length,singleSeriesName:e,allSeriesPoints:o}),a.restore()}},e._Plotters={linePlotter:function(t){e._linePlotter(t)},fillPlotter:function(t){e._fillPlotter(t)},errorPlotter:function(t){e._errorPlotter(t)}},e._linePlotter=function(t){var n=t.dygraph,r=t.setName,a=t.strokeWidth,o=n.getNumericOption("strokeBorderWidth",r),s=n.getOption("drawPointCallback",r)||i.Circles.DEFAULT,l=n.getOption("strokePattern",r),u=n.getBooleanOption("drawPoints",r),c=n.getNumericOption("pointSize",r);o&&a&&e._drawStyledLine(t,n.getOption("strokeBorderColor",r),a+2*o,l,u,s,c),e._drawStyledLine(t,t.color,a,l,u,s,c)},e._errorPlotter=function(t){var n=t.dygraph,r=t.setName,a=n.getBooleanOption("errorBars")||n.getBooleanOption("customBars");if(a){var o=n.getBooleanOption("fillGraph",r);o&&console.warn("Can't use fillGraph option with error bars");var s,l=t.drawingContext,u=t.color,c=n.getNumericOption("fillAlpha",r),p=n.getBooleanOption("stepPlot",r),d=t.points,h=i.createIterator(d,0,d.length,e._getIteratorPredicate(n.getBooleanOption("connectSeparatedPoints",r))),f=NaN,g=NaN,v=[-1,-1],y=i.toRGB_(u),m="rgba("+y.r+","+y.g+","+y.b+","+c+")";l.fillStyle=m,l.beginPath();for(var _=function(e){return null===e||void 0===e||isNaN(e)};h.hasNext;){var b=h.next();!p&&_(b.y)||p&&!isNaN(g)&&_(g)?f=NaN:(s=[b.y_bottom,b.y_top],p&&(g=b.y),isNaN(s[0])&&(s[0]=b.y),isNaN(s[1])&&(s[1]=b.y),s[0]=t.plotArea.h*s[0]+t.plotArea.y,s[1]=t.plotArea.h*s[1]+t.plotArea.y,isNaN(f)||(p?(l.moveTo(f,v[0]),l.lineTo(b.canvasx,v[0]),l.lineTo(b.canvasx,v[1])):(l.moveTo(f,v[0]),l.lineTo(b.canvasx,s[0]),l.lineTo(b.canvasx,s[1])),l.lineTo(f,v[1]),l.closePath()),v=s,f=b.canvasx)}l.fill()}},e._fastCanvasProxy=function(e){var t=[],n=null,r=null,a=1,o=2,i=0,s=function(e){if(!(t.length<=1)){for(var n=t.length-1;n>0;n--){var r=t[n];if(r[0]==o){var i=t[n-1];i[1]==r[1]&&i[2]==r[2]&&t.splice(n,1)}}for(var n=0;n<t.length-1;){var r=t[n];r[0]==o&&t[n+1][0]==o?t.splice(n,1):n++}if(t.length>2&&!e){var s=0;t[0][0]==o&&s++;for(var l=null,u=null,n=s;n<t.length;n++){var r=t[n];if(r[0]==a)if(null===l&&null===u)l=n,u=n;else{var c=r[2];c<t[l][2]?l=n:c>t[u][2]&&(u=n)}}var p=t[l],d=t[u];t.splice(s,t.length-s),l<u?(t.push(p),t.push(d)):l>u?(t.push(d),t.push(p)):t.push(p)}}},l=function(n){s(n);for(var l=0,u=t.length;l<u;l++){var c=t[l];c[0]==a?e.lineTo(c[1],c[2]):c[0]==o&&e.moveTo(c[1],c[2])}t.length&&(r=t[t.length-1][1]),i+=t.length,t=[]},u=function(e,a,o){var i=Math.round(a);if(null===n||i!=n){var s=n-r>1,u=i-n>1,c=s||u;l(c),n=i}t.push([e,a,o])};return{moveTo:function(e,t){u(o,e,t)},lineTo:function(e,t){u(a,e,t)},stroke:function(){l(!0),e.stroke()},fill:function(){l(!0),e.fill()},beginPath:function(){l(!0),e.beginPath()},closePath:function(){l(!0),e.closePath()},_count:function(){return i}}},e._fillPlotter=function(t){if(!t.singleSeriesName&&0===t.seriesIndex){for(var n=t.dygraph,r=n.getLabels().slice(1),a=r.length;a>=0;a--)n.visibility()[a]||r.splice(a,1);var o=function(){for(var e=0;e<r.length;e++)if(n.getBooleanOption("fillGraph",r[e]))return!0;return!1}();if(o)for(var s,l,u=t.plotArea,c=t.allSeriesPoints,p=c.length,d=n.getNumericOption("fillAlpha"),h=n.getBooleanOption("stackedGraph"),f=n.getColors(),g={},v=function(e,t,n,r){if(e.lineTo(t,n),h)for(var a=r.length-1;a>=0;a--){var o=r[a];e.lineTo(o[0],o[1])}},y=p-1;y>=0;y--){var m=t.drawingContext,_=r[y];if(n.getBooleanOption("fillGraph",_)){var b=n.getBooleanOption("stepPlot",_),x=f[y],w=n.axisPropertiesForSeries(_),C=1+w.minyval*w.yscale;C<0?C=0:C>1&&(C=1),C=u.h*C+u.y;var E,A=c[y],T=i.createIterator(A,0,A.length,e._getIteratorPredicate(n.getBooleanOption("connectSeparatedPoints",_))),S=NaN,P=[-1,-1],O=i.toRGB_(x),D="rgba("+O.r+","+O.g+","+O.b+","+d+")";m.fillStyle=D,m.beginPath();var k,M=!0;(A.length>2*n.width_||i.FORCE_FAST_PROXY)&&(m=e._fastCanvasProxy(m));for(var R,I=[];T.hasNext;)if(R=T.next(),i.isOK(R.y)||b){if(h){if(!M&&k==R.xval)continue;M=!1,k=R.xval,s=g[R.canvasx];var N;N=void 0===s?C:l?s[0]:s,E=[R.canvasy,N],b?P[0]===-1?g[R.canvasx]=[R.canvasy,C]:g[R.canvasx]=[R.canvasy,P[0]]:g[R.canvasx]=R.canvasy}else E=isNaN(R.canvasy)&&b?[u.y+u.h,C]:[R.canvasy,C];isNaN(S)?(m.moveTo(R.canvasx,E[1]),m.lineTo(R.canvasx,E[0])):(b?(m.lineTo(R.canvasx,P[0]),m.lineTo(R.canvasx,E[0])):m.lineTo(R.canvasx,E[0]),h&&(I.push([S,P[1]]),l&&s?I.push([R.canvasx,s[1]]):I.push([R.canvasx,E[1]]))),P=E,S=R.canvasx}else v(m,S,P[1],I),I=[],S=NaN,null===R.y_stacked||isNaN(R.y_stacked)||(g[R.canvasx]=u.h*R.y_stacked+u.y);l=b,E&&R&&(v(m,R.canvasx,E[1],I),I=[]),m.fill()}}}},e}(),i=function(){"use strict";var t=function(e,t,n,r){this.is_initial_draw_=!0,this.readyFns_=[],void 0!==r?(console.warn("Using deprecated four-argument dygraph constructor"),this.__old_init__(e,t,n,r)):this.__init__(e,t,n)};return t.NAME="Dygraph",t.VERSION="1.1.1",t.__repr__=function(){return"["+t.NAME+" "+t.VERSION+"]"},t.toString=function(){return t.__repr__()},t.DEFAULT_ROLL_PERIOD=1,t.DEFAULT_WIDTH=480,t.DEFAULT_HEIGHT=320,t.ANIMATION_STEPS=12,t.ANIMATION_DURATION=200,t.KMB_LABELS=["K","M","B","T","Q"],t.KMG2_BIG_LABELS=["k","M","G","T","P","E","Z","Y"],t.KMG2_SMALL_LABELS=["m","u","n","p","f","a","z","y"],t.numberValueFormatter=function(e,n){var r=n("sigFigs");if(null!==r)return t.floatFormat(e,r);var a,o=n("digitsAfterDecimal"),i=n("maxNumberWidth"),s=n("labelsKMB"),l=n("labelsKMG2");if(a=0!==e&&(Math.abs(e)>=Math.pow(10,i)||Math.abs(e)<Math.pow(10,-o))?e.toExponential(o):""+t.round_(e,o),s||l){var u,c=[],p=[];s&&(u=1e3,c=t.KMB_LABELS),l&&(s&&console.warn("Setting both labelsKMB and labelsKMG2. Pick one!"),u=1024,c=t.KMG2_BIG_LABELS,p=t.KMG2_SMALL_LABELS);for(var d=Math.abs(e),h=t.pow(u,c.length),f=c.length-1;f>=0;f--,h/=u)if(d>=h){a=t.round_(e/h,o)+c[f];break}if(l){var g=String(e.toExponential()).split("e-");2===g.length&&g[1]>=3&&g[1]<=24&&(a=g[1]%3>0?t.round_(g[0]/t.pow(10,g[1]%3),o):Number(g[0]).toFixed(2),a+=p[Math.floor(g[1]/3)-1])}}return a},t.numberAxisLabelFormatter=function(e,n,r){return t.numberValueFormatter.call(this,e,r)},t.SHORT_MONTH_NAMES_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t.dateAxisLabelFormatter=function(e,n,r){var a=r("labelsUTC"),o=a?t.DateAccessorsUTC:t.DateAccessorsLocal,i=o.getFullYear(e),s=o.getMonth(e),l=o.getDate(e),u=o.getHours(e),c=o.getMinutes(e),p=o.getSeconds(e),d=o.getSeconds(e);if(n>=t.DECADAL)return""+i;if(n>=t.MONTHLY)return t.SHORT_MONTH_NAMES_[s]+"&#160;"+i;var h=3600*u+60*c+p+.001*d;return 0===h||n>=t.DAILY?t.zeropad(l)+"&#160;"+t.SHORT_MONTH_NAMES_[s]:t.hmsString_(u,c,p)},t.dateAxisFormatter=t.dateAxisLabelFormatter,t.dateValueFormatter=function(e,n){return t.dateString_(e,n("labelsUTC"))},t.Plotters=o._Plotters,t.DEFAULT_ATTRS={highlightCircleSize:3,highlightSeriesOpts:null,highlightSeriesBackgroundAlpha:.5,labelsDivWidth:250,labelsDivStyles:{},labelsSeparateLines:!1,labelsShowZeroValues:!0,labelsKMB:!1,labelsKMG2:!1,showLabelsOnHighlight:!0,digitsAfterDecimal:2,maxNumberWidth:6,sigFigs:null,strokeWidth:1,strokeBorderWidth:0,strokeBorderColor:"white",axisTickSize:3,axisLabelFontSize:14,rightGap:5,showRoller:!1,xValueParser:t.dateParser,delimiter:",",sigma:2,errorBars:!1,fractions:!1,wilsonInterval:!0,customBars:!1,fillGraph:!1,fillAlpha:.15,connectSeparatedPoints:!1,stackedGraph:!1,stackedGraphNaNFill:"all",hideOverlayOnMouseOut:!0,legend:"onmouseover",stepPlot:!1,avoidMinZero:!1,xRangePad:0,yRangePad:null,drawAxesAtZero:!1,titleHeight:28,xLabelHeight:18,yLabelWidth:18,drawXAxis:!0,drawYAxis:!0,axisLineColor:"black",axisLineWidth:.3,gridLineWidth:.3,axisLabelColor:"black",axisLabelWidth:50,drawYGrid:!0,drawXGrid:!0,gridLineColor:"rgb(128,128,128)",interactionModel:null,animatedZooms:!1,showRangeSelector:!1,rangeSelectorHeight:40,rangeSelectorPlotStrokeColor:"#808FAB",rangeSelectorPlotFillColor:"#A7B1C4",showInRangeSelector:null,plotter:[t.Plotters.fillPlotter,t.Plotters.errorPlotter,t.Plotters.linePlotter],plugins:[],axes:{x:{pixelsPerLabel:70,axisLabelWidth:60,axisLabelFormatter:t.dateAxisLabelFormatter,valueFormatter:t.dateValueFormatter,drawGrid:!0,drawAxis:!0,independentTicks:!0,ticker:null},y:{axisLabelWidth:50,pixelsPerLabel:30,valueFormatter:t.numberValueFormatter,axisLabelFormatter:t.numberAxisLabelFormatter,drawGrid:!0,drawAxis:!0,independentTicks:!0,ticker:null},y2:{axisLabelWidth:50,pixelsPerLabel:30,valueFormatter:t.numberValueFormatter,axisLabelFormatter:t.numberAxisLabelFormatter,drawAxis:!0,drawGrid:!1,independentTicks:!1,ticker:null}}},t.HORIZONTAL=1,t.VERTICAL=2,t.PLUGINS=[],t.addedAnnotationCSS=!1,t.prototype.__old_init__=function(e,n,r,a){if(null!==r){for(var o=["Date"],i=0;i<r.length;i++)o.push(r[i]);t.update(a,{labels:o})}this.__init__(e,n,a)},t.prototype.__init__=function(e,n,a){if(/MSIE/.test(navigator.userAgent)&&!window.opera&&"undefined"!=typeof G_vmlCanvasManager&&"complete"!=document.readyState){var o=this;return void setTimeout(function(){o.__init__(e,n,a)},100)}if(null!==a&&void 0!==a||(a={}),a=t.mapLegacyOptions_(a),"string"==typeof e&&(e=document.getElementById(e)),!e)return void console.error("Constructing dygraph with a non-existent div!");this.isUsingExcanvas_="undefined"!=typeof G_vmlCanvasManager,this.maindiv_=e,this.file_=n,this.rollPeriod_=a.rollPeriod||t.DEFAULT_ROLL_PERIOD,this.previousVerticalX_=-1,this.fractions_=a.fractions||!1,this.dateWindow_=a.dateWindow||null,this.annotations_=[],this.zoomed_x_=!1,this.zoomed_y_=!1,e.innerHTML="",""===e.style.width&&a.width&&(e.style.width=a.width+"px"),""===e.style.height&&a.height&&(e.style.height=a.height+"px"),""===e.style.height&&0===e.clientHeight&&(e.style.height=t.DEFAULT_HEIGHT+"px",""===e.style.width&&(e.style.width=t.DEFAULT_WIDTH+"px")),this.width_=e.clientWidth||a.width||0,this.height_=e.clientHeight||a.height||0,a.stackedGraph&&(a.fillGraph=!0),this.user_attrs_={},t.update(this.user_attrs_,a),this.attrs_={},t.updateDeep(this.attrs_,t.DEFAULT_ATTRS),this.boundaryIds_=[],this.setIndexByName_={},this.datasetIndex_=[],this.registeredEvents_=[],this.eventListeners_={},this.attributes_=new r(this),this.createInterface_(),this.plugins_=[];for(var i=t.PLUGINS.concat(this.getOption("plugins")),s=0;s<i.length;s++){var l,u=i[s];l="undefined"!=typeof u.activate?u:new u;var c={plugin:l,events:{},options:{},pluginOptions:{}},p=l.activate(this);for(var d in p)p.hasOwnProperty(d)&&(c.events[d]=p[d]);this.plugins_.push(c)}for(var s=0;s<this.plugins_.length;s++){var h=this.plugins_[s];for(var d in h.events)if(h.events.hasOwnProperty(d)){var f=h.events[d],g=[h.plugin,f];d in this.eventListeners_?this.eventListeners_[d].push(g):this.eventListeners_[d]=[g]}}this.createDragInterface_(),this.start_()},t.prototype.cascadeEvents_=function(e,n){if(!(e in this.eventListeners_))return!1;var r={dygraph:this,cancelable:!1,defaultPrevented:!1,preventDefault:function(){if(!r.cancelable)throw"Cannot call preventDefault on non-cancelable event.";r.defaultPrevented=!0},propagationStopped:!1,stopPropagation:function(){r.propagationStopped=!0}};t.update(r,n);var a=this.eventListeners_[e];if(a)for(var o=a.length-1;o>=0;o--){var i=a[o][0],s=a[o][1];if(s.call(i,r),r.propagationStopped)break}return r.defaultPrevented},t.prototype.getPluginInstance_=function(e){for(var t=0;t<this.plugins_.length;t++){var n=this.plugins_[t];if(n.plugin instanceof e)return n.plugin}return null},t.prototype.isZoomed=function(e){if(null===e||void 0===e)return this.zoomed_x_||this.zoomed_y_;if("x"===e)return this.zoomed_x_;if("y"===e)return this.zoomed_y_;throw"axis parameter is ["+e+"] must be null, 'x' or 'y'."},t.prototype.toString=function(){var e=this.maindiv_,t=e&&e.id?e.id:e;return"[Dygraph "+t+"]"},t.prototype.attr_=function(e,t){return t?this.attributes_.getForSeries(e,t):this.attributes_.get(e)},t.prototype.getOption=function(e,t){return this.attr_(e,t)},t.prototype.getNumericOption=function(e,t){return this.getOption(e,t)},t.prototype.getStringOption=function(e,t){return this.getOption(e,t)},t.prototype.getBooleanOption=function(e,t){return this.getOption(e,t)},t.prototype.getFunctionOption=function(e,t){return this.getOption(e,t)},t.prototype.getOptionForAxis=function(e,t){return this.attributes_.getForAxis(e,t)},t.prototype.optionsViewForAxis_=function(e){var t=this;return function(n){var r=t.user_attrs_.axes;return r&&r[e]&&r[e].hasOwnProperty(n)?r[e][n]:("x"!==e||"logscale"!==n)&&("undefined"!=typeof t.user_attrs_[n]?t.user_attrs_[n]:(r=t.attrs_.axes,r&&r[e]&&r[e].hasOwnProperty(n)?r[e][n]:"y"==e&&t.axes_[0].hasOwnProperty(n)?t.axes_[0][n]:"y2"==e&&t.axes_[1].hasOwnProperty(n)?t.axes_[1][n]:t.attr_(n)))}},t.prototype.rollPeriod=function(){return this.rollPeriod_},t.prototype.xAxisRange=function(){return this.dateWindow_?this.dateWindow_:this.xAxisExtremes()},t.prototype.xAxisExtremes=function(){var e=this.getNumericOption("xRangePad")/this.plotter_.area.w;if(0===this.numRows())return[0-e,1+e];var t=this.rawData_[0][0],n=this.rawData_[this.rawData_.length-1][0];if(e){var r=n-t;t-=r*e,n+=r*e}return[t,n]},t.prototype.yAxisRange=function(e){if("undefined"==typeof e&&(e=0),e<0||e>=this.axes_.length)return null;var t=this.axes_[e];return[t.computedValueRange[0],t.computedValueRange[1]]},t.prototype.yAxisRanges=function(){for(var e=[],t=0;t<this.axes_.length;t++)e.push(this.yAxisRange(t));return e},t.prototype.toDomCoords=function(e,t,n){return[this.toDomXCoord(e),this.toDomYCoord(t,n)]},t.prototype.toDomXCoord=function(e){if(null===e)return null;var t=this.plotter_.area,n=this.xAxisRange();return t.x+(e-n[0])/(n[1]-n[0])*t.w},t.prototype.toDomYCoord=function(e,t){var n=this.toPercentYCoord(e,t);if(null===n)return null;var r=this.plotter_.area;return r.y+n*r.h},t.prototype.toDataCoords=function(e,t,n){return[this.toDataXCoord(e),this.toDataYCoord(t,n)]},t.prototype.toDataXCoord=function(e){if(null===e)return null;var n=this.plotter_.area,r=this.xAxisRange();if(this.attributes_.getForAxis("logscale","x")){var a=(e-n.x)/n.w,o=t.log10(r[0]),i=t.log10(r[1]),s=o+a*(i-o),l=Math.pow(t.LOG_SCALE,s);return l}return r[0]+(e-n.x)/n.w*(r[1]-r[0])},t.prototype.toDataYCoord=function(e,n){if(null===e)return null;var r=this.plotter_.area,a=this.yAxisRange(n);if("undefined"==typeof n&&(n=0),this.attributes_.getForAxis("logscale",n)){var o=(e-r.y)/r.h,i=t.log10(a[0]),s=t.log10(a[1]),l=s-o*(s-i),u=Math.pow(t.LOG_SCALE,l);return u}return a[0]+(r.y+r.h-e)/r.h*(a[1]-a[0])},t.prototype.toPercentYCoord=function(e,n){if(null===e)return null;"undefined"==typeof n&&(n=0);var r,a=this.yAxisRange(n),o=this.attributes_.getForAxis("logscale",n);if(o){var i=t.log10(a[0]),s=t.log10(a[1]);r=(s-t.log10(e))/(s-i)}else r=(a[1]-e)/(a[1]-a[0]);return r},t.prototype.toPercentXCoord=function(e){if(null===e)return null;var n,r=this.xAxisRange(),a=this.attributes_.getForAxis("logscale","x");if(a===!0){var o=t.log10(r[0]),i=t.log10(r[1]);n=(t.log10(e)-o)/(i-o)}else n=(e-r[0])/(r[1]-r[0]);return n},t.prototype.numColumns=function(){return this.rawData_?this.rawData_[0]?this.rawData_[0].length:this.attr_("labels").length:0},t.prototype.numRows=function(){return this.rawData_?this.rawData_.length:0},t.prototype.getValue=function(e,t){return e<0||e>this.rawData_.length?null:t<0||t>this.rawData_[e].length?null:this.rawData_[e][t]},t.prototype.createInterface_=function(){var e=this.maindiv_;this.graphDiv=document.createElement("div"),this.graphDiv.style.textAlign="left",this.graphDiv.style.position="relative",e.appendChild(this.graphDiv),this.canvas_=t.createCanvas(),this.canvas_.style.position="absolute",this.hidden_=this.createPlotKitCanvas_(this.canvas_),this.canvas_ctx_=t.getContext(this.canvas_),this.hidden_ctx_=t.getContext(this.hidden_),this.resizeElements_(),this.graphDiv.appendChild(this.hidden_),this.graphDiv.appendChild(this.canvas_),this.mouseEventElement_=this.createMouseEventElement_(),this.layout_=new a(this);var n=this;this.mouseMoveHandler_=function(e){n.mouseMove_(e)},this.mouseOutHandler_=function(e){var r=e.target||e.fromElement,a=e.relatedTarget||e.toElement;t.isNodeContainedBy(r,n.graphDiv)&&!t.isNodeContainedBy(a,n.graphDiv)&&n.mouseOut_(e)},this.addAndTrackEvent(window,"mouseout",this.mouseOutHandler_),this.addAndTrackEvent(this.mouseEventElement_,"mousemove",this.mouseMoveHandler_),this.resizeHandler_||(this.resizeHandler_=function(e){n.resize()},this.addAndTrackEvent(window,"resize",this.resizeHandler_))},t.prototype.resizeElements_=function(){this.graphDiv.style.width=this.width_+"px",this.graphDiv.style.height=this.height_+"px";var e=t.getContextPixelRatio(this.canvas_ctx_);this.canvas_.width=this.width_*e,this.canvas_.height=this.height_*e,this.canvas_.style.width=this.width_+"px",this.canvas_.style.height=this.height_+"px",1!==e&&this.canvas_ctx_.scale(e,e);var n=t.getContextPixelRatio(this.hidden_ctx_);this.hidden_.width=this.width_*n,this.hidden_.height=this.height_*n,this.hidden_.style.width=this.width_+"px",this.hidden_.style.height=this.height_+"px",1!==n&&this.hidden_ctx_.scale(n,n)},t.prototype.destroy=function(){this.canvas_ctx_.restore(),this.hidden_ctx_.restore();for(var e=this.plugins_.length-1;e>=0;e--){var n=this.plugins_.pop();n.plugin.destroy&&n.plugin.destroy()}var r=function(e){for(;e.hasChildNodes();)r(e.firstChild),e.removeChild(e.firstChild)};this.removeTrackedEvents_(),t.removeEvent(window,"mouseout",this.mouseOutHandler_),t.removeEvent(this.mouseEventElement_,"mousemove",this.mouseMoveHandler_),t.removeEvent(window,"resize",this.resizeHandler_),this.resizeHandler_=null,r(this.maindiv_);var a=function(e){for(var t in e)"object"==typeof e[t]&&(e[t]=null)};a(this.layout_),a(this.plotter_),a(this)},t.prototype.createPlotKitCanvas_=function(e){var n=t.createCanvas();return n.style.position="absolute",n.style.top=e.style.top,n.style.left=e.style.left,n.width=this.width_,n.height=this.height_,n.style.width=this.width_+"px",n.style.height=this.height_+"px",n},t.prototype.createMouseEventElement_=function(){if(this.isUsingExcanvas_){var e=document.createElement("div");return e.style.position="absolute",e.style.backgroundColor="white",e.style.filter="alpha(opacity=0)",e.style.width=this.width_+"px",e.style.height=this.height_+"px",this.graphDiv.appendChild(e),e}return this.canvas_},t.prototype.setColors_=function(){var e=this.getLabels(),n=e.length-1;this.colors_=[],this.colorsMap_={};for(var r=this.getNumericOption("colorSaturation")||1,a=this.getNumericOption("colorValue")||.5,o=Math.ceil(n/2),i=this.getOption("colors"),s=this.visibility(),l=0;l<n;l++)if(s[l]){var u=e[l+1],c=this.attributes_.getForSeries("color",u);if(!c)if(i)c=i[l%i.length];else{var p=l%2?o+(l+1)/2:Math.ceil((l+1)/2),d=1*p/(1+n);c=t.hsvToRGB(d,r,a)}this.colors_.push(c),this.colorsMap_[u]=c}},t.prototype.getColors=function(){return this.colors_},t.prototype.getPropertiesForSeries=function(e){for(var t=-1,n=this.getLabels(),r=1;r<n.length;r++)if(n[r]==e){t=r;break}return t==-1?null:{name:e,column:t,visible:this.visibility()[t-1],color:this.colorsMap_[e],axis:1+this.attributes_.axisForSeries(e)}},t.prototype.createRollInterface_=function(){this.roller_||(this.roller_=document.createElement("input"),this.roller_.type="text",this.roller_.style.display="none",this.graphDiv.appendChild(this.roller_));var e=this.getBooleanOption("showRoller")?"block":"none",t=this.plotter_.area,n={position:"absolute",zIndex:10,top:t.y+t.h-25+"px",left:t.x+1+"px",display:e};this.roller_.size="2",this.roller_.value=this.rollPeriod_;for(var r in n)n.hasOwnProperty(r)&&(this.roller_.style[r]=n[r]);var a=this;this.roller_.onchange=function(){a.adjustRoll(a.roller_.value)}},t.prototype.createDragInterface_=function(){var e={isZooming:!1,isPanning:!1,is2DPan:!1,dragStartX:null,dragStartY:null,dragEndX:null,dragEndY:null,dragDirection:null,prevEndX:null,prevEndY:null,prevDragDirection:null,cancelNextDblclick:!1,initialLeftmostDate:null,xUnitsPerPixel:null,dateRange:null,px:0,py:0,boundedDates:null,boundedValues:null,tarp:new t.IFrameTarp,initializeMouseDown:function(e,n,r){e.preventDefault?e.preventDefault():(e.returnValue=!1,e.cancelBubble=!0);var a=t.findPos(n.canvas_);r.px=a.x,r.py=a.y,r.dragStartX=t.dragGetX_(e,r),r.dragStartY=t.dragGetY_(e,r),r.cancelNextDblclick=!1,r.tarp.cover()},destroy:function(){var e=this;if((e.isZooming||e.isPanning)&&(e.isZooming=!1,
e.dragStartX=null,e.dragStartY=null),e.isPanning){e.isPanning=!1,e.draggingDate=null,e.dateRange=null;for(var t=0;t<r.axes_.length;t++)delete r.axes_[t].draggingValue,delete r.axes_[t].dragValueRange}e.tarp.uncover()}},n=this.getOption("interactionModel"),r=this,a=function(t){return function(n){t(n,r,e)}};for(var o in n)n.hasOwnProperty(o)&&this.addAndTrackEvent(this.mouseEventElement_,o,a(n[o]));if(!n.willDestroyContextMyself){var i=function(t){e.destroy()};this.addAndTrackEvent(document,"mouseup",i)}},t.prototype.drawZoomRect_=function(e,n,r,a,o,i,s,l){var u=this.canvas_ctx_;i==t.HORIZONTAL?u.clearRect(Math.min(n,s),this.layout_.getPlotArea().y,Math.abs(n-s),this.layout_.getPlotArea().h):i==t.VERTICAL&&u.clearRect(this.layout_.getPlotArea().x,Math.min(a,l),this.layout_.getPlotArea().w,Math.abs(a-l)),e==t.HORIZONTAL?r&&n&&(u.fillStyle="rgba(128,128,128,0.33)",u.fillRect(Math.min(n,r),this.layout_.getPlotArea().y,Math.abs(r-n),this.layout_.getPlotArea().h)):e==t.VERTICAL&&o&&a&&(u.fillStyle="rgba(128,128,128,0.33)",u.fillRect(this.layout_.getPlotArea().x,Math.min(a,o),this.layout_.getPlotArea().w,Math.abs(o-a))),this.isUsingExcanvas_&&(this.currentZoomRectArgs_=[e,n,r,a,o,0,0,0])},t.prototype.clearZoomRect_=function(){this.currentZoomRectArgs_=null,this.canvas_ctx_.clearRect(0,0,this.width_,this.height_)},t.prototype.doZoomX_=function(e,t){this.currentZoomRectArgs_=null;var n=this.toDataXCoord(e),r=this.toDataXCoord(t);this.doZoomXDates_(n,r)},t.prototype.doZoomXDates_=function(e,t){var n=this.xAxisRange(),r=[e,t];this.zoomed_x_=!0;var a=this;this.doAnimatedZoom(n,r,null,null,function(){a.getFunctionOption("zoomCallback")&&a.getFunctionOption("zoomCallback").call(a,e,t,a.yAxisRanges())})},t.prototype.doZoomY_=function(e,t){this.currentZoomRectArgs_=null;for(var n=this.yAxisRanges(),r=[],a=0;a<this.axes_.length;a++){var o=this.toDataYCoord(e,a),i=this.toDataYCoord(t,a);r.push([i,o])}this.zoomed_y_=!0;var s=this;this.doAnimatedZoom(null,null,n,r,function(){if(s.getFunctionOption("zoomCallback")){var e=s.xAxisRange();s.getFunctionOption("zoomCallback").call(s,e[0],e[1],s.yAxisRanges())}})},t.zoomAnimationFunction=function(e,t){var n=1.5;return(1-Math.pow(n,-e))/(1-Math.pow(n,-t))},t.prototype.resetZoom=function(){var e=!1,t=!1,n=!1;null!==this.dateWindow_&&(e=!0,t=!0);for(var r=0;r<this.axes_.length;r++)"undefined"!=typeof this.axes_[r].valueWindow&&null!==this.axes_[r].valueWindow&&(e=!0,n=!0);if(this.clearSelection(),e){this.zoomed_x_=!1,this.zoomed_y_=!1;var a=this.rawData_[0][0],o=this.rawData_[this.rawData_.length-1][0];if(!this.getBooleanOption("animatedZooms")){for(this.dateWindow_=null,r=0;r<this.axes_.length;r++)null!==this.axes_[r].valueWindow&&delete this.axes_[r].valueWindow;return this.drawGraph_(),void(this.getFunctionOption("zoomCallback")&&this.getFunctionOption("zoomCallback").call(this,a,o,this.yAxisRanges()))}var i=null,s=null,l=null,u=null;if(t&&(i=this.xAxisRange(),s=[a,o]),n){l=this.yAxisRanges();var c=this.gatherDatasets_(this.rolledSeries_,null),p=c.extremes;for(this.computeYAxisRanges_(p),u=[],r=0;r<this.axes_.length;r++){var d=this.axes_[r];u.push(null!==d.valueRange&&void 0!==d.valueRange?d.valueRange:d.extremeRange)}}var h=this;this.doAnimatedZoom(i,s,l,u,function(){h.dateWindow_=null;for(var e=0;e<h.axes_.length;e++)null!==h.axes_[e].valueWindow&&delete h.axes_[e].valueWindow;h.getFunctionOption("zoomCallback")&&h.getFunctionOption("zoomCallback").call(h,a,o,h.yAxisRanges())})}},t.prototype.doAnimatedZoom=function(e,n,r,a,o){var i,s,l=this.getBooleanOption("animatedZooms")?t.ANIMATION_STEPS:1,u=[],c=[];if(null!==e&&null!==n)for(i=1;i<=l;i++)s=t.zoomAnimationFunction(i,l),u[i-1]=[e[0]*(1-s)+s*n[0],e[1]*(1-s)+s*n[1]];if(null!==r&&null!==a)for(i=1;i<=l;i++){s=t.zoomAnimationFunction(i,l);for(var p=[],d=0;d<this.axes_.length;d++)p.push([r[d][0]*(1-s)+s*a[d][0],r[d][1]*(1-s)+s*a[d][1]]);c[i-1]=p}var h=this;t.repeatAndCleanup(function(e){if(c.length)for(var t=0;t<h.axes_.length;t++){var n=c[e][t];h.axes_[t].valueWindow=[n[0],n[1]]}u.length&&(h.dateWindow_=u[e]),h.drawGraph_()},l,t.ANIMATION_DURATION/l,o)},t.prototype.getArea=function(){return this.plotter_.area},t.prototype.eventToDomCoords=function(e){if(e.offsetX&&e.offsetY)return[e.offsetX,e.offsetY];var n=t.findPos(this.mouseEventElement_),r=t.pageX(e)-n.x,a=t.pageY(e)-n.y;return[r,a]},t.prototype.findClosestRow=function(e){for(var n=1/0,r=-1,a=this.layout_.points,o=0;o<a.length;o++)for(var i=a[o],s=i.length,l=0;l<s;l++){var u=i[l];if(t.isValidPoint(u,!0)){var c=Math.abs(u.canvasx-e);c<n&&(n=c,r=u.idx)}}return r},t.prototype.findClosestPoint=function(e,n){for(var r,a,o,i,s,l,u,c=1/0,p=this.layout_.points.length-1;p>=0;--p)for(var d=this.layout_.points[p],h=0;h<d.length;++h)i=d[h],t.isValidPoint(i)&&(a=i.canvasx-e,o=i.canvasy-n,r=a*a+o*o,r<c&&(c=r,s=i,l=p,u=i.idx));var f=this.layout_.setNames[l];return{row:u,seriesName:f,point:s}},t.prototype.findStackedPoint=function(e,n){for(var r,a,o=this.findClosestRow(e),i=0;i<this.layout_.points.length;++i){var s=this.getLeftBoundary_(i),l=o-s,u=this.layout_.points[i];if(!(l>=u.length)){var c=u[l];if(t.isValidPoint(c)){var p=c.canvasy;if(e>c.canvasx&&l+1<u.length){var d=u[l+1];if(t.isValidPoint(d)){var h=d.canvasx-c.canvasx;if(h>0){var f=(e-c.canvasx)/h;p+=f*(d.canvasy-c.canvasy)}}}else if(e<c.canvasx&&l>0){var g=u[l-1];if(t.isValidPoint(g)){var h=c.canvasx-g.canvasx;if(h>0){var f=(c.canvasx-e)/h;p+=f*(g.canvasy-c.canvasy)}}}(0===i||p<n)&&(r=c,a=i)}}}var v=this.layout_.setNames[a];return{row:o,seriesName:v,point:r}},t.prototype.mouseMove_=function(e){var t=this.layout_.points;if(void 0!==t&&null!==t){var n=this.eventToDomCoords(e),r=n[0],a=n[1],o=this.getOption("highlightSeriesOpts"),i=!1;if(o&&!this.isSeriesLocked()){var s;s=this.getBooleanOption("stackedGraph")?this.findStackedPoint(r,a):this.findClosestPoint(r,a),i=this.setSelection(s.row,s.seriesName)}else{var l=this.findClosestRow(r);i=this.setSelection(l)}var u=this.getFunctionOption("highlightCallback");u&&i&&u.call(this,e,this.lastx_,this.selPoints_,this.lastRow_,this.highlightSet_)}},t.prototype.getLeftBoundary_=function(e){if(this.boundaryIds_[e])return this.boundaryIds_[e][0];for(var t=0;t<this.boundaryIds_.length;t++)if(void 0!==this.boundaryIds_[t])return this.boundaryIds_[t][0];return 0},t.prototype.animateSelection_=function(e){var n=10,r=30;void 0===this.fadeLevel&&(this.fadeLevel=0),void 0===this.animateId&&(this.animateId=0);var a=this.fadeLevel,o=e<0?a:n-a;if(o<=0)return void(this.fadeLevel&&this.updateSelection_(1));var i=++this.animateId,s=this;t.repeatAndCleanup(function(t){s.animateId==i&&(s.fadeLevel+=e,0===s.fadeLevel?s.clearSelection():s.updateSelection_(s.fadeLevel/n))},o,r,function(){})},t.prototype.updateSelection_=function(e){this.cascadeEvents_("select",{selectedRow:this.lastRow_,selectedX:this.lastx_,selectedPoints:this.selPoints_});var n,r=this.canvas_ctx_;if(this.getOption("highlightSeriesOpts")){r.clearRect(0,0,this.width_,this.height_);var a=1-this.getNumericOption("highlightSeriesBackgroundAlpha");if(a){var o=!0;if(o){if(void 0===e)return void this.animateSelection_(1);a*=e}r.fillStyle="rgba(255,255,255,"+a+")",r.fillRect(0,0,this.width_,this.height_)}this.plotter_._renderLineChart(this.highlightSet_,r)}else if(this.previousVerticalX_>=0){var i=0,s=this.attr_("labels");for(n=1;n<s.length;n++){var l=this.getNumericOption("highlightCircleSize",s[n]);l>i&&(i=l)}var u=this.previousVerticalX_;r.clearRect(u-i-1,0,2*i+2,this.height_)}if(this.isUsingExcanvas_&&this.currentZoomRectArgs_&&t.prototype.drawZoomRect_.apply(this,this.currentZoomRectArgs_),this.selPoints_.length>0){var c=this.selPoints_[0].canvasx;for(r.save(),n=0;n<this.selPoints_.length;n++){var p=this.selPoints_[n];if(t.isOK(p.canvasy)){var d=this.getNumericOption("highlightCircleSize",p.name),h=this.getFunctionOption("drawHighlightPointCallback",p.name),f=this.plotter_.colors[p.name];h||(h=t.Circles.DEFAULT),r.lineWidth=this.getNumericOption("strokeWidth",p.name),r.strokeStyle=f,r.fillStyle=f,h.call(this,this,p.name,r,c,p.canvasy,f,d,p.idx)}}r.restore(),this.previousVerticalX_=c}},t.prototype.setSelection=function(e,t,n){this.selPoints_=[];var r=!1;if(e!==!1&&e>=0){e!=this.lastRow_&&(r=!0),this.lastRow_=e;for(var a=0;a<this.layout_.points.length;++a){var o=this.layout_.points[a],i=e-this.getLeftBoundary_(a);if(i<o.length&&o[i].idx==e){var s=o[i];null!==s.yval&&this.selPoints_.push(s)}else for(var l=0;l<o.length;++l){var s=o[l];if(s.idx==e){null!==s.yval&&this.selPoints_.push(s);break}}}}else this.lastRow_>=0&&(r=!0),this.lastRow_=-1;return this.selPoints_.length?this.lastx_=this.selPoints_[0].xval:this.lastx_=-1,void 0!==t&&(this.highlightSet_!==t&&(r=!0),this.highlightSet_=t),void 0!==n&&(this.lockedSet_=n),r&&this.updateSelection_(void 0),r},t.prototype.mouseOut_=function(e){this.getFunctionOption("unhighlightCallback")&&this.getFunctionOption("unhighlightCallback").call(this,e),this.getBooleanOption("hideOverlayOnMouseOut")&&!this.lockedSet_&&this.clearSelection()},t.prototype.clearSelection=function(){return this.cascadeEvents_("deselect",{}),this.lockedSet_=!1,this.fadeLevel?void this.animateSelection_(-1):(this.canvas_ctx_.clearRect(0,0,this.width_,this.height_),this.fadeLevel=0,this.selPoints_=[],this.lastx_=-1,this.lastRow_=-1,void(this.highlightSet_=null))},t.prototype.getSelection=function(){if(!this.selPoints_||this.selPoints_.length<1)return-1;for(var e=0;e<this.layout_.points.length;e++)for(var t=this.layout_.points[e],n=0;n<t.length;n++)if(t[n].x==this.selPoints_[0].x)return t[n].idx;return-1},t.prototype.getHighlightSeries=function(){return this.highlightSet_},t.prototype.isSeriesLocked=function(){return this.lockedSet_},t.prototype.loadedEvent_=function(e){this.rawData_=this.parseCSV_(e),this.cascadeDataDidUpdateEvent_(),this.predraw_()},t.prototype.addXTicks_=function(){var e;e=this.dateWindow_?[this.dateWindow_[0],this.dateWindow_[1]]:this.xAxisExtremes();var t=this.optionsViewForAxis_("x"),n=t("ticker")(e[0],e[1],this.plotter_.area.w,t,this);this.layout_.setXTicks(n)},t.prototype.getHandlerClass_=function(){var e;return e=this.attr_("dataHandler")?this.attr_("dataHandler"):this.fractions_?this.getBooleanOption("errorBars")?t.DataHandlers.FractionsBarsHandler:t.DataHandlers.DefaultFractionHandler:this.getBooleanOption("customBars")?t.DataHandlers.CustomBarsHandler:this.getBooleanOption("errorBars")?t.DataHandlers.ErrorBarsHandler:t.DataHandlers.DefaultHandler},t.prototype.predraw_=function(){var e=new Date;this.dataHandler_=new(this.getHandlerClass_()),this.layout_.computePlotArea(),this.computeYAxes_(),this.is_initial_draw_||(this.canvas_ctx_.restore(),this.hidden_ctx_.restore()),this.canvas_ctx_.save(),this.hidden_ctx_.save(),this.plotter_=new o(this,this.hidden_,this.hidden_ctx_,this.layout_),this.createRollInterface_(),this.cascadeEvents_("predraw"),this.rolledSeries_=[null];for(var t=1;t<this.numColumns();t++){var n=this.dataHandler_.extractSeries(this.rawData_,t,this.attributes_);this.rollPeriod_>1&&(n=this.dataHandler_.rollingAverage(n,this.rollPeriod_,this.attributes_)),this.rolledSeries_.push(n)}this.drawGraph_();var r=new Date;this.drawingTimeMs_=r-e},t.PointType=void 0,t.stackPoints_=function(e,t,n,r){for(var a=null,o=null,i=null,s=-1,l=function(t){if(!(s>=t))for(var n=t;n<e.length;++n)if(i=null,!isNaN(e[n].yval)&&null!==e[n].yval){s=n,i=e[n];break}},u=0;u<e.length;++u){var c=e[u],p=c.xval;void 0===t[p]&&(t[p]=0);var d=c.yval;isNaN(d)||null===d?"none"==r?d=0:(l(u),d=o&&i&&"none"!=r?o.yval+(i.yval-o.yval)*((p-o.xval)/(i.xval-o.xval)):o&&"all"==r?o.yval:i&&"all"==r?i.yval:0):o=c;var h=t[p];a!=p&&(h+=d,t[p]=h),a=p,c.yval_stacked=h,h>n[1]&&(n[1]=h),h<n[0]&&(n[0]=h)}},t.prototype.gatherDatasets_=function(e,n){var r,a,o,i,s,l,u=[],c=[],p=[],d={},h=e.length-1;for(r=h;r>=1;r--)if(this.visibility()[r-1]){if(n){l=e[r];var f=n[0],g=n[1];for(o=null,i=null,a=0;a<l.length;a++)l[a][0]>=f&&null===o&&(o=a),l[a][0]<=g&&(i=a);null===o&&(o=0);for(var v=o,y=!0;y&&v>0;)v--,y=null===l[v][1];null===i&&(i=l.length-1);var m=i;for(y=!0;y&&m<l.length-1;)m++,y=null===l[m][1];v!==o&&(o=v),m!==i&&(i=m),u[r-1]=[o,i],l=l.slice(o,i+1)}else l=e[r],u[r-1]=[0,l.length-1];var _=this.attr_("labels")[r],b=this.dataHandler_.getExtremeYValues(l,n,this.getBooleanOption("stepPlot",_)),x=this.dataHandler_.seriesToPoints(l,_,u[r-1][0]);this.getBooleanOption("stackedGraph")&&(s=this.attributes_.axisForSeries(_),void 0===p[s]&&(p[s]=[]),t.stackPoints_(x,p[s],b,this.getBooleanOption("stackedGraphNaNFill"))),d[_]=b,c[r]=x}return{points:c,extremes:d,boundaryIds:u}},t.prototype.drawGraph_=function(){var e=new Date,t=this.is_initial_draw_;this.is_initial_draw_=!1,this.layout_.removeAllDatasets(),this.setColors_(),this.attrs_.pointSize=.5*this.getNumericOption("highlightCircleSize");var n=this.gatherDatasets_(this.rolledSeries_,this.dateWindow_),r=n.points,a=n.extremes;this.boundaryIds_=n.boundaryIds,this.setIndexByName_={};var o=this.attr_("labels");o.length>0&&(this.setIndexByName_[o[0]]=0);for(var i=0,s=1;s<r.length;s++)this.setIndexByName_[o[s]]=s,this.visibility()[s-1]&&(this.layout_.addDataset(o[s],r[s]),this.datasetIndex_[s]=i++);this.computeYAxisRanges_(a),this.layout_.setYAxes(this.axes_),this.addXTicks_();var l=this.zoomed_x_;if(this.zoomed_x_=l,this.layout_.evaluate(),this.renderGraph_(t),this.getStringOption("timingName")){var u=new Date;console.log(this.getStringOption("timingName")+" - drawGraph: "+(u-e)+"ms")}},t.prototype.renderGraph_=function(e){this.cascadeEvents_("clearChart"),this.plotter_.clear(),this.getFunctionOption("underlayCallback")&&this.getFunctionOption("underlayCallback").call(this,this.hidden_ctx_,this.layout_.getPlotArea(),this,this);var t={canvas:this.hidden_,drawingContext:this.hidden_ctx_};if(this.cascadeEvents_("willDrawChart",t),this.plotter_.render(),this.cascadeEvents_("didDrawChart",t),this.lastRow_=-1,this.canvas_.getContext("2d").clearRect(0,0,this.width_,this.height_),null!==this.getFunctionOption("drawCallback")&&this.getFunctionOption("drawCallback").call(this,this,e),e)for(this.readyFired_=!0;this.readyFns_.length>0;){var n=this.readyFns_.pop();n(this)}},t.prototype.computeYAxes_=function(){var e,n,r,a,o;if(void 0!==this.axes_&&this.user_attrs_.hasOwnProperty("valueRange")===!1)for(e=[],r=0;r<this.axes_.length;r++)e.push(this.axes_[r].valueWindow);for(this.axes_=[],n=0;n<this.attributes_.numAxes();n++)a={g:this},t.update(a,this.attributes_.axisOptions(n)),this.axes_[n]=a;if(o=this.attr_("valueRange"),o&&(this.axes_[0].valueRange=o),void 0!==e){var i=Math.min(e.length,this.axes_.length);for(r=0;r<i;r++)this.axes_[r].valueWindow=e[r]}for(n=0;n<this.axes_.length;n++)if(0===n)a=this.optionsViewForAxis_("y"+(n?"2":"")),o=a("valueRange"),o&&(this.axes_[n].valueRange=o);else{var s=this.user_attrs_.axes;s&&s.y2&&(o=s.y2.valueRange,o&&(this.axes_[n].valueRange=o))}},t.prototype.numAxes=function(){return this.attributes_.numAxes()},t.prototype.axisPropertiesForSeries=function(e){return this.axes_[this.attributes_.axisForSeries(e)]},t.prototype.computeYAxisRanges_=function(e){for(var t,n,r,a,o,i=function(e){return isNaN(parseFloat(e))},s=this.attributes_.numAxes(),l=0;l<s;l++){var u=this.axes_[l],c=this.attributes_.getForAxis("logscale",l),p=this.attributes_.getForAxis("includeZero",l),d=this.attributes_.getForAxis("independentTicks",l);if(r=this.attributes_.seriesForAxis(l),t=!0,a=.1,null!==this.getNumericOption("yRangePad")&&(t=!1,a=this.getNumericOption("yRangePad")/this.plotter_.area.h),0===r.length)u.extremeRange=[0,1];else{for(var h,f,g=1/0,v=-(1/0),y=0;y<r.length;y++)e.hasOwnProperty(r[y])&&(h=e[r[y]][0],null!==h&&(g=Math.min(h,g)),f=e[r[y]][1],null!==f&&(v=Math.max(f,v)));p&&!c&&(g>0&&(g=0),v<0&&(v=0)),g==1/0&&(g=0),v==-(1/0)&&(v=1),n=v-g,0===n&&(0!==v?n=Math.abs(v):(v=1,n=1));var m,_;if(c)if(t)m=v+a*n,_=g;else{var b=Math.exp(Math.log(n)*a);m=v*b,_=g/b}else m=v+a*n,_=g-a*n,t&&!this.getBooleanOption("avoidMinZero")&&(_<0&&g>=0&&(_=0),m>0&&v<=0&&(m=0));u.extremeRange=[_,m]}if(u.valueWindow)u.computedValueRange=[u.valueWindow[0],u.valueWindow[1]];else if(u.valueRange){var x=i(u.valueRange[0])?u.extremeRange[0]:u.valueRange[0],w=i(u.valueRange[1])?u.extremeRange[1]:u.valueRange[1];if(!t)if(u.logscale){var b=Math.exp(Math.log(n)*a);x*=b,w/=b}else n=w-x,x-=n*a,w+=n*a;u.computedValueRange=[x,w]}else u.computedValueRange=u.extremeRange;if(d){u.independentTicks=d;var C=this.optionsViewForAxis_("y"+(l?"2":"")),E=C("ticker");u.ticks=E(u.computedValueRange[0],u.computedValueRange[1],this.plotter_.area.h,C,this),o||(o=u)}}if(void 0===o)throw'Configuration Error: At least one axis has to have the "independentTicks" option activated.';for(var l=0;l<s;l++){var u=this.axes_[l];if(!u.independentTicks){for(var C=this.optionsViewForAxis_("y"+(l?"2":"")),E=C("ticker"),A=o.ticks,T=o.computedValueRange[1]-o.computedValueRange[0],S=u.computedValueRange[1]-u.computedValueRange[0],P=[],O=0;O<A.length;O++){var D=(A[O].v-o.computedValueRange[0])/T,k=u.computedValueRange[0]+D*S;P.push(k)}u.ticks=E(u.computedValueRange[0],u.computedValueRange[1],this.plotter_.area.h,C,this,P)}}},t.prototype.detectTypeFromString_=function(e){var t=!1,n=e.indexOf("-");n>0&&"e"!=e[n-1]&&"E"!=e[n-1]||e.indexOf("/")>=0||isNaN(parseFloat(e))?t=!0:8==e.length&&e>"19700101"&&e<"20371231"&&(t=!0),this.setXAxisOptions_(t)},t.prototype.setXAxisOptions_=function(e){e?(this.attrs_.xValueParser=t.dateParser,this.attrs_.axes.x.valueFormatter=t.dateValueFormatter,this.attrs_.axes.x.ticker=t.dateTicker,this.attrs_.axes.x.axisLabelFormatter=t.dateAxisLabelFormatter):(this.attrs_.xValueParser=function(e){return parseFloat(e)},this.attrs_.axes.x.valueFormatter=function(e){return e},this.attrs_.axes.x.ticker=t.numericTicks,this.attrs_.axes.x.axisLabelFormatter=this.attrs_.axes.x.valueFormatter)},t.prototype.parseCSV_=function(e){var n,r,a=[],o=t.detectLineDelimiter(e),i=e.split(o||"\n"),s=this.getStringOption("delimiter");i[0].indexOf(s)==-1&&i[0].indexOf("\t")>=0&&(s="\t");var l=0;"labels"in this.user_attrs_||(l=1,this.attrs_.labels=i[0].split(s),this.attributes_.reparseSeries());for(var u,c=0,p=!1,d=this.attr_("labels").length,h=!1,f=l;f<i.length;f++){var g=i[f];if(c=f,0!==g.length&&"#"!=g[0]){var v=g.split(s);if(!(v.length<2)){var y=[];if(p||(this.detectTypeFromString_(v[0]),u=this.getFunctionOption("xValueParser"),p=!0),y[0]=u(v[0],this),this.fractions_)for(r=1;r<v.length;r++)n=v[r].split("/"),2!=n.length?(console.error('Expected fractional "num/den" values in CSV data but found a value \''+v[r]+"' on line "+(1+f)+" ('"+g+"') which is not of this form."),y[r]=[0,0]):y[r]=[t.parseFloat_(n[0],f,g),t.parseFloat_(n[1],f,g)];else if(this.getBooleanOption("errorBars"))for(v.length%2!=1&&console.error("Expected alternating (value, stdev.) pairs in CSV data but line "+(1+f)+" has an odd number of values ("+(v.length-1)+"): '"+g+"'"),r=1;r<v.length;r+=2)y[(r+1)/2]=[t.parseFloat_(v[r],f,g),t.parseFloat_(v[r+1],f,g)];else if(this.getBooleanOption("customBars"))for(r=1;r<v.length;r++){var m=v[r];/^ *$/.test(m)?y[r]=[null,null,null]:(n=m.split(";"),3==n.length?y[r]=[t.parseFloat_(n[0],f,g),t.parseFloat_(n[1],f,g),t.parseFloat_(n[2],f,g)]:console.warn('When using customBars, values must be either blank or "low;center;high" tuples (got "'+m+'" on line '+(1+f)))}else for(r=1;r<v.length;r++)y[r]=t.parseFloat_(v[r],f,g);if(a.length>0&&y[0]<a[a.length-1][0]&&(h=!0),y.length!=d&&console.error("Number of columns in line "+f+" ("+y.length+") does not agree with number of labels ("+d+") "+g),0===f&&this.attr_("labels")){var _=!0;for(r=0;_&&r<y.length;r++)y[r]&&(_=!1);if(_){console.warn("The dygraphs 'labels' option is set, but the first row of CSV data ('"+g+"') appears to also contain labels. Will drop the CSV labels and use the option labels.");continue}}a.push(y)}}}return h&&(console.warn("CSV is out of order; order it correctly to speed loading."),a.sort(function(e,t){return e[0]-t[0]})),a},t.prototype.parseArray_=function(e){if(0===e.length)return console.error("Can't plot empty data set"),null;if(0===e[0].length)return console.error("Data set cannot contain an empty row"),null;var n;if(null===this.attr_("labels")){for(console.warn("Using default labels. Set labels explicitly via 'labels' in the options parameter"),this.attrs_.labels=["X"],n=1;n<e[0].length;n++)this.attrs_.labels.push("Y"+n);this.attributes_.reparseSeries()}else{var r=this.attr_("labels");if(r.length!=e[0].length)return console.error("Mismatch between number of labels ("+r+") and number of columns in array ("+e[0].length+")"),null}if(t.isDateLike(e[0][0])){this.attrs_.axes.x.valueFormatter=t.dateValueFormatter,this.attrs_.axes.x.ticker=t.dateTicker,this.attrs_.axes.x.axisLabelFormatter=t.dateAxisLabelFormatter;var a=t.clone(e);for(n=0;n<e.length;n++){if(0===a[n].length)return console.error("Row "+(1+n)+" of data is empty"),null;if(null===a[n][0]||"function"!=typeof a[n][0].getTime||isNaN(a[n][0].getTime()))return console.error("x value in row "+(1+n)+" is not a Date"),null;a[n][0]=a[n][0].getTime()}return a}return this.attrs_.axes.x.valueFormatter=function(e){return e},this.attrs_.axes.x.ticker=t.numericTicks,this.attrs_.axes.x.axisLabelFormatter=t.numberAxisLabelFormatter,e},t.prototype.parseDataTable_=function(e){var n=function(e){var t=String.fromCharCode(65+e%26);for(e=Math.floor(e/26);e>0;)t=String.fromCharCode(65+(e-1)%26)+t.toLowerCase(),e=Math.floor((e-1)/26);return t},r=e.getNumberOfColumns(),a=e.getNumberOfRows(),o=e.getColumnType(0);if("date"==o||"datetime"==o)this.attrs_.xValueParser=t.dateParser,this.attrs_.axes.x.valueFormatter=t.dateValueFormatter,this.attrs_.axes.x.ticker=t.dateTicker,this.attrs_.axes.x.axisLabelFormatter=t.dateAxisLabelFormatter;else{if("number"!=o)return console.error("only 'date', 'datetime' and 'number' types are supported for column 1 of DataTable input (Got '"+o+"')"),null;this.attrs_.xValueParser=function(e){return parseFloat(e)},this.attrs_.axes.x.valueFormatter=function(e){return e},this.attrs_.axes.x.ticker=t.numericTicks,this.attrs_.axes.x.axisLabelFormatter=this.attrs_.axes.x.valueFormatter}var i,s,l=[],u={},c=!1;for(i=1;i<r;i++){var p=e.getColumnType(i);if("number"==p)l.push(i);else if("string"==p&&this.getBooleanOption("displayAnnotations")){var d=l[l.length-1];u.hasOwnProperty(d)?u[d].push(i):u[d]=[i],c=!0}else console.error("Only 'number' is supported as a dependent type with Gviz. 'string' is only supported if displayAnnotations is true")}var h=[e.getColumnLabel(0)];for(i=0;i<l.length;i++)h.push(e.getColumnLabel(l[i])),this.getBooleanOption("errorBars")&&(i+=1);this.attrs_.labels=h,r=h.length;var f=[],g=!1,v=[];for(i=0;i<a;i++){var y=[];if("undefined"!=typeof e.getValue(i,0)&&null!==e.getValue(i,0)){if("date"==o||"datetime"==o?y.push(e.getValue(i,0).getTime()):y.push(e.getValue(i,0)),this.getBooleanOption("errorBars"))for(s=0;s<r-1;s++)y.push([e.getValue(i,1+2*s),e.getValue(i,2+2*s)]);else{for(s=0;s<l.length;s++){var m=l[s];if(y.push(e.getValue(i,m)),c&&u.hasOwnProperty(m)&&null!==e.getValue(i,u[m][0])){var _={};_.series=e.getColumnLabel(m),_.xval=y[0],_.shortText=n(v.length),_.text="";for(var b=0;b<u[m].length;b++)b&&(_.text+="\n"),_.text+=e.getValue(i,u[m][b]);v.push(_)}}for(s=0;s<y.length;s++)isFinite(y[s])||(y[s]=null)}f.length>0&&y[0]<f[f.length-1][0]&&(g=!0),f.push(y)}else console.warn("Ignoring row "+i+" of DataTable because of undefined or null first column.")}g&&(console.warn("DataTable is out of order; order it correctly to speed loading."),f.sort(function(e,t){return e[0]-t[0]})),this.rawData_=f,v.length>0&&this.setAnnotations(v,!0),this.attributes_.reparseSeries()},t.prototype.cascadeDataDidUpdateEvent_=function(){this.cascadeEvents_("dataDidUpdate",{})},t.prototype.start_=function(){var e=this.file_;if("function"==typeof e&&(e=e()),t.isArrayLike(e))this.rawData_=this.parseArray_(e),this.cascadeDataDidUpdateEvent_(),this.predraw_();else if("object"==typeof e&&"function"==typeof e.getColumnRange)this.parseDataTable_(e),this.cascadeDataDidUpdateEvent_(),this.predraw_();else if("string"==typeof e){var n=t.detectLineDelimiter(e);if(n)this.loadedEvent_(e);else{var r;r=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");var a=this;r.onreadystatechange=function(){4==r.readyState&&(200!==r.status&&0!==r.status||a.loadedEvent_(r.responseText))},r.open("GET",e,!0),r.send(null)}}else console.error("Unknown data format: "+typeof e)},t.prototype.updateOptions=function(e,n){"undefined"==typeof n&&(n=!1);var r=e.file,a=t.mapLegacyOptions_(e);"rollPeriod"in a&&(this.rollPeriod_=a.rollPeriod),"dateWindow"in a&&(this.dateWindow_=a.dateWindow,"isZoomedIgnoreProgrammaticZoom"in a||(this.zoomed_x_=null!==a.dateWindow)),"valueRange"in a&&!("isZoomedIgnoreProgrammaticZoom"in a)&&(this.zoomed_y_=null!==a.valueRange);var o=t.isPixelChangingOptionList(this.attr_("labels"),a);t.updateDeep(this.user_attrs_,a),this.attributes_.reparseSeries(),r?(this.cascadeEvents_("dataWillUpdate",{}),this.file_=r,n||this.start_()):n||(o?this.predraw_():this.renderGraph_(!1))},t.mapLegacyOptions_=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&"file"!=n&&e.hasOwnProperty(n)&&(t[n]=e[n]);var r=function(e,n,r){t.axes||(t.axes={}),t.axes[e]||(t.axes[e]={}),t.axes[e][n]=r},a=function(n,a,o){"undefined"!=typeof e[n]&&(console.warn("Option "+n+" is deprecated. Use the "+o+" option for the "+a+" axis instead. (e.g. { axes : { "+a+" : { "+o+" : ... } } } (see http://dygraphs.com/per-axis.html for more information."),r(a,o,e[n]),delete t[n])};return a("xValueFormatter","x","valueFormatter"),a("pixelsPerXLabel","x","pixelsPerLabel"),a("xAxisLabelFormatter","x","axisLabelFormatter"),a("xTicker","x","ticker"),a("yValueFormatter","y","valueFormatter"),a("pixelsPerYLabel","y","pixelsPerLabel"),a("yAxisLabelFormatter","y","axisLabelFormatter"),a("yTicker","y","ticker"),a("drawXGrid","x","drawGrid"),a("drawXAxis","x","drawAxis"),a("drawYGrid","y","drawGrid"),a("drawYAxis","y","drawAxis"),a("xAxisLabelWidth","x","axisLabelWidth"),a("yAxisLabelWidth","y","axisLabelWidth"),t},t.prototype.resize=function(e,t){if(!this.resize_lock){this.resize_lock=!0,null===e!=(null===t)&&(console.warn("Dygraph.resize() should be called with zero parameters or two non-NULL parameters. Pretending it was zero."),e=t=null);var n=this.width_,r=this.height_;e?(this.maindiv_.style.width=e+"px",this.maindiv_.style.height=t+"px",this.width_=e,this.height_=t):(this.width_=this.maindiv_.clientWidth,this.height_=this.maindiv_.clientHeight),n==this.width_&&r==this.height_||(this.resizeElements_(),this.predraw_()),this.resize_lock=!1}},t.prototype.adjustRoll=function(e){this.rollPeriod_=e,this.predraw_()},t.prototype.visibility=function(){for(this.getOption("visibility")||(this.attrs_.visibility=[]);this.getOption("visibility").length<this.numColumns()-1;)this.attrs_.visibility.push(!0);return this.getOption("visibility")},t.prototype.setVisibility=function(e,t){var n=this.visibility();e<0||e>=n.length?console.warn("invalid series number in setVisibility: "+e):(n[e]=t,this.predraw_())},t.prototype.size=function(){return{width:this.width_,height:this.height_}},t.prototype.setAnnotations=function(e,n){return t.addAnnotationRule(),this.annotations_=e,this.layout_?(this.layout_.setAnnotations(this.annotations_),void(n||this.predraw_())):void console.warn("Tried to setAnnotations before dygraph was ready. Try setting them in a ready() block. See dygraphs.com/tests/annotation.html")},t.prototype.annotations=function(){return this.annotations_},t.prototype.getLabels=function(){var e=this.attr_("labels");return e?e.slice():null},t.prototype.indexFromSetName=function(e){return this.setIndexByName_[e]},t.prototype.ready=function(e){this.is_initial_draw_?this.readyFns_.push(e):e.call(this,this)},t.addAnnotationRule=function(){if(!t.addedAnnotationCSS){var e="border: 1px solid black; background-color: white; text-align: center;",n=document.createElement("style");n.type="text/css",document.getElementsByTagName("head")[0].appendChild(n);for(var r=0;r<document.styleSheets.length;r++)if(!document.styleSheets[r].disabled){var a=document.styleSheets[r];try{if(a.insertRule){var o=a.cssRules?a.cssRules.length:0;a.insertRule(".dygraphDefaultAnnotation { "+e+" }",o)}else a.addRule&&a.addRule(".dygraphDefaultAnnotation",e);return void(t.addedAnnotationCSS=!0)}catch(i){}}console.warn("Unable to add default annotation CSS rule; display may be off.")}},e.exports=t,t}();/**
	 * @license
	 * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
!function(){"use strict";function e(e){var t=n.exec(e);if(!t)return null;var r=parseInt(t[1],10),a=parseInt(t[2],10),o=parseInt(t[3],10);return t[4]?{r:r,g:a,b:o,a:parseFloat(t[4])}:{r:r,g:a,b:o}}i.LOG_SCALE=10,i.LN_TEN=Math.log(i.LOG_SCALE),i.log10=function(e){return Math.log(e)/i.LN_TEN},i.DOTTED_LINE=[2,2],i.DASHED_LINE=[7,3],i.DOT_DASH_LINE=[7,2,2,2],i.getContext=function(e){return e.getContext("2d")},i.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):(e[t+n]=function(){n(window.event)},e.attachEvent("on"+t,e[t+n]))},i.prototype.addAndTrackEvent=function(e,t,n){i.addEvent(e,t,n),this.registeredEvents_.push({elem:e,type:t,fn:n})},i.removeEvent=function(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else{try{e.detachEvent("on"+t,e[t+n])}catch(r){}e[t+n]=null}},i.prototype.removeTrackedEvents_=function(){if(this.registeredEvents_)for(var e=0;e<this.registeredEvents_.length;e++){var t=this.registeredEvents_[e];i.removeEvent(t.elem,t.type,t.fn)}this.registeredEvents_=[]},i.cancelEvent=function(e){return e=e?e:window.event,e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.cancelBubble=!0,e.cancel=!0,e.returnValue=!1,!1},i.hsvToRGB=function(e,t,n){var r,a,o;if(0===t)r=n,a=n,o=n;else{var i=Math.floor(6*e),s=6*e-i,l=n*(1-t),u=n*(1-t*s),c=n*(1-t*(1-s));switch(i){case 1:r=u,a=n,o=l;break;case 2:r=l,a=n,o=c;break;case 3:r=l,a=u,o=n;break;case 4:r=c,a=l,o=n;break;case 5:r=n,a=l,o=u;break;case 6:case 0:r=n,a=c,o=l}}return r=Math.floor(255*r+.5),a=Math.floor(255*a+.5),o=Math.floor(255*o+.5),"rgb("+r+","+a+","+o+")"},i.findPos=function(e){var t=0,n=0;if(e.offsetParent)for(var r=e;;){var a="0",o="0";if(window.getComputedStyle){var i=window.getComputedStyle(r,null);a=i.borderLeft||"0",o=i.borderTop||"0"}if(t+=parseInt(a,10),n+=parseInt(o,10),t+=r.offsetLeft,n+=r.offsetTop,!r.offsetParent)break;r=r.offsetParent}else e.x&&(t+=e.x),e.y&&(n+=e.y);for(;e&&e!=document.body;)t-=e.scrollLeft,n-=e.scrollTop,e=e.parentNode;return{x:t,y:n}},i.pageX=function(e){if(e.pageX)return!e.pageX||e.pageX<0?0:e.pageX;var t=document.documentElement,n=document.body;return e.clientX+(t.scrollLeft||n.scrollLeft)-(t.clientLeft||0)},i.pageY=function(e){if(e.pageY)return!e.pageY||e.pageY<0?0:e.pageY;var t=document.documentElement,n=document.body;return e.clientY+(t.scrollTop||n.scrollTop)-(t.clientTop||0)},i.dragGetX_=function(e,t){return i.pageX(e)-t.px},i.dragGetY_=function(e,t){return i.pageY(e)-t.py},i.isOK=function(e){return!!e&&!isNaN(e)},i.isValidPoint=function(e,t){return!!e&&(null!==e.yval&&(null!==e.x&&void 0!==e.x&&(null!==e.y&&void 0!==e.y&&!(isNaN(e.x)||!t&&isNaN(e.y)))))},i.floatFormat=function(e,t){var n=Math.min(Math.max(1,t||2),21);return Math.abs(e)<.001&&0!==e?e.toExponential(n-1):e.toPrecision(n)},i.zeropad=function(e){return e<10?"0"+e:""+e},i.DateAccessorsLocal={getFullYear:function(e){return e.getFullYear()},getMonth:function(e){return e.getMonth()},getDate:function(e){return e.getDate()},getHours:function(e){return e.getHours()},getMinutes:function(e){return e.getMinutes()},getSeconds:function(e){return e.getSeconds()},getMilliseconds:function(e){return e.getMilliseconds()},getDay:function(e){return e.getDay()},makeDate:function(e,t,n,r,a,o,i){return new Date(e,t,n,r,a,o,i)}},i.DateAccessorsUTC={getFullYear:function(e){return e.getUTCFullYear()},getMonth:function(e){return e.getUTCMonth()},getDate:function(e){return e.getUTCDate()},getHours:function(e){return e.getUTCHours()},getMinutes:function(e){return e.getUTCMinutes()},getSeconds:function(e){return e.getUTCSeconds()},getMilliseconds:function(e){return e.getUTCMilliseconds()},getDay:function(e){return e.getUTCDay()},makeDate:function(e,t,n,r,a,o,i){return new Date(Date.UTC(e,t,n,r,a,o,i))}},i.hmsString_=function(e,t,n){var r=i.zeropad,a=r(e)+":"+r(t);return n&&(a+=":"+r(n)),a},i.dateString_=function(e,t){var n=i.zeropad,r=t?i.DateAccessorsUTC:i.DateAccessorsLocal,a=new Date(e),o=r.getFullYear(a),s=r.getMonth(a),l=r.getDate(a),u=r.getHours(a),c=r.getMinutes(a),p=r.getSeconds(a),d=""+o,h=n(s+1),f=n(l),g=3600*u+60*c+p,v=d+"/"+h+"/"+f;return g&&(v+=" "+i.hmsString_(u,c,p)),v},i.round_=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},i.binarySearch=function(e,t,n,r,a){if(null!==r&&void 0!==r&&null!==a&&void 0!==a||(r=0,a=t.length-1),r>a)return-1;null!==n&&void 0!==n||(n=0);var o,s=function(e){return e>=0&&e<t.length},l=parseInt((r+a)/2,10),u=t[l];return u==e?l:u>e?n>0&&(o=l-1,s(o)&&t[o]<e)?l:i.binarySearch(e,t,n,r,l-1):u<e?n<0&&(o=l+1,s(o)&&t[o]>e)?l:i.binarySearch(e,t,n,l+1,a):-1},i.dateParser=function(e){var t,n;if((e.search("-")==-1||e.search("T")!=-1||e.search("Z")!=-1)&&(n=i.dateStrToMillis(e),n&&!isNaN(n)))return n;if(e.search("-")!=-1){for(t=e.replace("-","/","g");t.search("-")!=-1;)t=t.replace("-","/");n=i.dateStrToMillis(t)}else 8==e.length?(t=e.substr(0,4)+"/"+e.substr(4,2)+"/"+e.substr(6,2),n=i.dateStrToMillis(t)):n=i.dateStrToMillis(e);return n&&!isNaN(n)||console.error("Couldn't parse "+e+" as a date"),n},i.dateStrToMillis=function(e){return new Date(e).getTime()},i.update=function(e,t){if("undefined"!=typeof t&&null!==t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},i.updateDeep=function(e,t){function n(e){return"object"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}if("undefined"!=typeof t&&null!==t)for(var r in t)t.hasOwnProperty(r)&&(null===t[r]?e[r]=null:i.isArrayLike(t[r])?e[r]=t[r].slice():n(t[r])?e[r]=t[r]:"object"==typeof t[r]?("object"==typeof e[r]&&null!==e[r]||(e[r]={}),i.updateDeep(e[r],t[r])):e[r]=t[r]);return e},i.isArrayLike=function(e){var t=typeof e;return("object"==t||"function"==t&&"function"==typeof e.item)&&null!==e&&"number"==typeof e.length&&3!==e.nodeType},i.isDateLike=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},i.clone=function(e){for(var t=[],n=0;n<e.length;n++)i.isArrayLike(e[n])?t.push(i.clone(e[n])):t.push(e[n]);return t},i.createCanvas=function(){var e=document.createElement("canvas"),t=/MSIE/.test(navigator.userAgent)&&!window.opera;return t&&"undefined"!=typeof G_vmlCanvasManager&&(e=G_vmlCanvasManager.initElement(e)),e},i.getContextPixelRatio=function(e){try{var t=window.devicePixelRatio,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return void 0!==t?t/n:1}catch(r){return 1}},i.isAndroid=function(){return/Android/.test(navigator.userAgent)},i.Iterator=function(e,t,n,r){t=t||0,n=n||e.length,this.hasNext=!0,this.peek=null,this.start_=t,this.array_=e,this.predicate_=r,this.end_=Math.min(e.length,t+n),this.nextIdx_=t-1,this.next()},i.Iterator.prototype.next=function(){if(!this.hasNext)return null;for(var e=this.peek,t=this.nextIdx_+1,n=!1;t<this.end_;){if(!this.predicate_||this.predicate_(this.array_,t)){this.peek=this.array_[t],n=!0;break}t++}return this.nextIdx_=t,n||(this.hasNext=!1,this.peek=null),e},i.createIterator=function(e,t,n,r){return new i.Iterator(e,t,n,r)},i.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),i.repeatAndCleanup=function(e,t,n,r){var a,o=0,s=(new Date).getTime();if(e(o),1==t)return void r();var l=t-1;!function u(){o>=t||i.requestAnimFrame.call(window,function(){var t=(new Date).getTime(),i=t-s;a=o,o=Math.floor(i/n);var c=o-a,p=o+c>l;p||o>=l?(e(l),r()):(0!==c&&e(o),u())})}()};var t={annotationClickHandler:!0,annotationDblClickHandler:!0,annotationMouseOutHandler:!0,annotationMouseOverHandler:!0,axisLabelColor:!0,axisLineColor:!0,axisLineWidth:!0,clickCallback:!0,drawCallback:!0,drawHighlightPointCallback:!0,drawPoints:!0,drawPointCallback:!0,drawXGrid:!0,drawYGrid:!0,fillAlpha:!0,gridLineColor:!0,gridLineWidth:!0,hideOverlayOnMouseOut:!0,highlightCallback:!0,highlightCircleSize:!0,interactionModel:!0,isZoomedIgnoreProgrammaticZoom:!0,labelsDiv:!0,labelsDivStyles:!0,labelsDivWidth:!0,labelsKMB:!0,labelsKMG2:!0,labelsSeparateLines:!0,labelsShowZeroValues:!0,legend:!0,panEdgeFraction:!0,pixelsPerYLabel:!0,pointClickCallback:!0,pointSize:!0,rangeSelectorPlotFillColor:!0,rangeSelectorPlotStrokeColor:!0,showLabelsOnHighlight:!0,showRoller:!0,strokeWidth:!0,underlayCallback:!0,unhighlightCallback:!0,zoomCallback:!0};i.isPixelChangingOptionList=function(e,n){var r={};if(e)for(var a=1;a<e.length;a++)r[e[a]]=!0;var o=function(e){for(var n in e)if(e.hasOwnProperty(n)&&!t[n])return!0;return!1};for(var i in n)if(n.hasOwnProperty(i))if("highlightSeriesOpts"==i||r[i]&&!n.series){if(o(n[i]))return!0}else if("series"==i||"axes"==i){var s=n[i];for(var l in s)if(s.hasOwnProperty(l)&&o(s[l]))return!0}else if(!t[i])return!0;return!1},i.Circles={DEFAULT:function(e,t,n,r,a,o,i){n.beginPath(),n.fillStyle=o,n.arc(r,a,i,0,2*Math.PI,!1),n.fill()}},i.IFrameTarp=function(){this.tarps=[]},i.IFrameTarp.prototype.cover=function(){for(var e=document.getElementsByTagName("iframe"),t=0;t<e.length;t++){var n=e[t],r=i.findPos(n),a=r.x,o=r.y,s=n.offsetWidth,l=n.offsetHeight,u=document.createElement("div");u.style.position="absolute",u.style.left=a+"px",u.style.top=o+"px",u.style.width=s+"px",u.style.height=l+"px",u.style.zIndex=999,document.body.appendChild(u),this.tarps.push(u)}},i.IFrameTarp.prototype.uncover=function(){for(var e=0;e<this.tarps.length;e++)this.tarps[e].parentNode.removeChild(this.tarps[e]);this.tarps=[]},i.detectLineDelimiter=function(e){for(var t=0;t<e.length;t++){var n=e.charAt(t);if("\r"===n)return t+1<e.length&&"\n"===e.charAt(t+1)?"\r\n":n;if("\n"===n)return t+1<e.length&&"\r"===e.charAt(t+1)?"\n\r":n}return null},i.isNodeContainedBy=function(e,t){if(null===t||null===e)return!1;for(var n=e;n&&n!==t;)n=n.parentNode;return n===t},i.pow=function(e,t){return t<0?1/Math.pow(e,-t):Math.pow(e,t)};var n=/^rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(?:,\s*([01](?:\.\d+)?))?\)$/;i.toRGB_=function(t){var n=e(t);if(n)return n;var r=document.createElement("div");r.style.backgroundColor=t,r.style.visibility="hidden",document.body.appendChild(r);var a;return a=window.getComputedStyle?window.getComputedStyle(r,null).backgroundColor:r.currentStyle.backgroundColor,document.body.removeChild(r),e(a)},i.isCanvasSupported=function(e){var t;try{t=e||document.createElement("canvas"),t.getContext("2d")}catch(n){var r=navigator.appVersion.match(/MSIE (\d\.\d)/),a=navigator.userAgent.toLowerCase().indexOf("opera")!=-1;return!(!r||r[1]<6||a)}return!0},i.parseFloat_=function(e,t,n){var r=parseFloat(e);if(!isNaN(r))return r;if(/^ *$/.test(e))return null;if(/^ *nan *$/i.test(e))return NaN;var a="Unable to parse '"+e+"' as a number";return void 0!==n&&void 0!==t&&(a+=" on line "+(1+(t||0))+" ('"+n+"') of CSV."),console.error(a),null}}(),/**
	 * @license
	 * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.GVizChart=function(e){this.container=e},i.GVizChart.prototype.draw=function(e,t){this.container.innerHTML="","undefined"!=typeof this.date_graph&&this.date_graph.destroy(),this.date_graph=new i(this.container,e,t)},i.GVizChart.prototype.setSelection=function(e){var t=!1;e.length&&(t=e[0].row),this.date_graph.setSelection(t)},i.GVizChart.prototype.getSelection=function(){var e=[],t=this.date_graph.getSelection();if(t<0)return e;for(var n=this.date_graph.layout_.points,r=0;r<n.length;++r)e.push({row:t,column:r+1});return e}}(),/**
	 * @license
	 * Copyright 2011 Robert Konigsberg (konigsberg@google.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";var e=100;i.Interaction={},i.Interaction.maybeTreatMouseOpAsClick=function(e,t,n){n.dragEndX=i.dragGetX_(e,n),n.dragEndY=i.dragGetY_(e,n);var r=Math.abs(n.dragEndX-n.dragStartX),a=Math.abs(n.dragEndY-n.dragStartY);r<2&&a<2&&void 0!==t.lastx_&&t.lastx_!=-1&&i.Interaction.treatMouseOpAsClick(t,e,n),n.regionWidth=r,n.regionHeight=a},i.Interaction.startPan=function(e,t,n){var r,a;n.isPanning=!0;var o=t.xAxisRange();if(t.getOptionForAxis("logscale","x")?(n.initialLeftmostDate=i.log10(o[0]),n.dateRange=i.log10(o[1])-i.log10(o[0])):(n.initialLeftmostDate=o[0],n.dateRange=o[1]-o[0]),n.xUnitsPerPixel=n.dateRange/(t.plotter_.area.w-1),t.getNumericOption("panEdgeFraction")){var s=t.width_*t.getNumericOption("panEdgeFraction"),l=t.xAxisExtremes(),u=t.toDomXCoord(l[0])-s,c=t.toDomXCoord(l[1])+s,p=t.toDataXCoord(u),d=t.toDataXCoord(c);n.boundedDates=[p,d];var h=[],f=t.height_*t.getNumericOption("panEdgeFraction");for(r=0;r<t.axes_.length;r++){a=t.axes_[r];var g=a.extremeRange,v=t.toDomYCoord(g[0],r)+f,y=t.toDomYCoord(g[1],r)-f,m=t.toDataYCoord(v,r),_=t.toDataYCoord(y,r);h[r]=[m,_]}n.boundedValues=h}for(n.is2DPan=!1,n.axes=[],r=0;r<t.axes_.length;r++){a=t.axes_[r];var b={},x=t.yAxisRange(r),w=t.attributes_.getForAxis("logscale",r);w?(b.initialTopValue=i.log10(x[1]),b.dragValueRange=i.log10(x[1])-i.log10(x[0])):(b.initialTopValue=x[1],b.dragValueRange=x[1]-x[0]),b.unitsPerPixel=b.dragValueRange/(t.plotter_.area.h-1),n.axes.push(b),(a.valueWindow||a.valueRange)&&(n.is2DPan=!0)}},i.Interaction.movePan=function(e,t,n){n.dragEndX=i.dragGetX_(e,n),n.dragEndY=i.dragGetY_(e,n);var r=n.initialLeftmostDate-(n.dragEndX-n.dragStartX)*n.xUnitsPerPixel;n.boundedDates&&(r=Math.max(r,n.boundedDates[0]));var a=r+n.dateRange;if(n.boundedDates&&a>n.boundedDates[1]&&(r-=a-n.boundedDates[1],a=r+n.dateRange),t.getOptionForAxis("logscale","x")?t.dateWindow_=[Math.pow(i.LOG_SCALE,r),Math.pow(i.LOG_SCALE,a)]:t.dateWindow_=[r,a],n.is2DPan)for(var o=n.dragEndY-n.dragStartY,s=0;s<t.axes_.length;s++){var l=t.axes_[s],u=n.axes[s],c=o*u.unitsPerPixel,p=n.boundedValues?n.boundedValues[s]:null,d=u.initialTopValue+c;p&&(d=Math.min(d,p[1]));var h=d-u.dragValueRange;p&&h<p[0]&&(d-=h-p[0],h=d-u.dragValueRange),t.attributes_.getForAxis("logscale",s)?l.valueWindow=[Math.pow(i.LOG_SCALE,h),Math.pow(i.LOG_SCALE,d)]:l.valueWindow=[h,d]}t.drawGraph_(!1)},i.Interaction.endPan=i.Interaction.maybeTreatMouseOpAsClick,i.Interaction.startZoom=function(e,t,n){n.isZooming=!0,n.zoomMoved=!1},i.Interaction.moveZoom=function(e,t,n){n.zoomMoved=!0,n.dragEndX=i.dragGetX_(e,n),n.dragEndY=i.dragGetY_(e,n);var r=Math.abs(n.dragStartX-n.dragEndX),a=Math.abs(n.dragStartY-n.dragEndY);n.dragDirection=r<a/2?i.VERTICAL:i.HORIZONTAL,t.drawZoomRect_(n.dragDirection,n.dragStartX,n.dragEndX,n.dragStartY,n.dragEndY,n.prevDragDirection,n.prevEndX,n.prevEndY),n.prevEndX=n.dragEndX,n.prevEndY=n.dragEndY,n.prevDragDirection=n.dragDirection},i.Interaction.treatMouseOpAsClick=function(e,t,n){for(var r=e.getFunctionOption("clickCallback"),a=e.getFunctionOption("pointClickCallback"),o=null,i=-1,s=Number.MAX_VALUE,l=0;l<e.selPoints_.length;l++){var u=e.selPoints_[l],c=Math.pow(u.canvasx-n.dragEndX,2)+Math.pow(u.canvasy-n.dragEndY,2);!isNaN(c)&&(i==-1||c<s)&&(s=c,i=l)}var p=e.getNumericOption("highlightCircleSize")+2;if(s<=p*p&&(o=e.selPoints_[i]),o){var d={cancelable:!0,point:o,canvasx:n.dragEndX,canvasy:n.dragEndY},h=e.cascadeEvents_("pointClick",d);if(h)return;a&&a.call(e,t,o)}var d={cancelable:!0,xval:e.lastx_,pts:e.selPoints_,canvasx:n.dragEndX,canvasy:n.dragEndY};e.cascadeEvents_("click",d)||r&&r.call(e,t,e.lastx_,e.selPoints_)},i.Interaction.endZoom=function(e,t,n){t.clearZoomRect_(),n.isZooming=!1,i.Interaction.maybeTreatMouseOpAsClick(e,t,n);var r=t.getArea();if(n.regionWidth>=10&&n.dragDirection==i.HORIZONTAL){var a=Math.min(n.dragStartX,n.dragEndX),o=Math.max(n.dragStartX,n.dragEndX);a=Math.max(a,r.x),o=Math.min(o,r.x+r.w),a<o&&t.doZoomX_(a,o),n.cancelNextDblclick=!0}else if(n.regionHeight>=10&&n.dragDirection==i.VERTICAL){var s=Math.min(n.dragStartY,n.dragEndY),l=Math.max(n.dragStartY,n.dragEndY);s=Math.max(s,r.y),l=Math.min(l,r.y+r.h),s<l&&t.doZoomY_(s,l),n.cancelNextDblclick=!0}n.dragStartX=null,n.dragStartY=null},i.Interaction.startTouch=function(e,t,n){e.preventDefault(),e.touches.length>1&&(n.startTimeForDoubleTapMs=null);for(var r=[],a=0;a<e.touches.length;a++){var o=e.touches[a];r.push({pageX:o.pageX,pageY:o.pageY,dataX:t.toDataXCoord(o.pageX),dataY:t.toDataYCoord(o.pageY)})}if(n.initialTouches=r,1==r.length)n.initialPinchCenter=r[0],n.touchDirections={x:!0,y:!0};else if(r.length>=2){n.initialPinchCenter={pageX:.5*(r[0].pageX+r[1].pageX),pageY:.5*(r[0].pageY+r[1].pageY),dataX:.5*(r[0].dataX+r[1].dataX),dataY:.5*(r[0].dataY+r[1].dataY)};var i=180/Math.PI*Math.atan2(n.initialPinchCenter.pageY-r[0].pageY,r[0].pageX-n.initialPinchCenter.pageX);i=Math.abs(i),i>90&&(i=90-i),n.touchDirections={x:i<67.5,y:i>22.5}}n.initialRange={x:t.xAxisRange(),y:t.yAxisRange()}},i.Interaction.moveTouch=function(e,t,n){n.startTimeForDoubleTapMs=null;var r,a=[];for(r=0;r<e.touches.length;r++){var o=e.touches[r];a.push({pageX:o.pageX,pageY:o.pageY})}var i,s=n.initialTouches,l=n.initialPinchCenter;i=1==a.length?a[0]:{pageX:.5*(a[0].pageX+a[1].pageX),pageY:.5*(a[0].pageY+a[1].pageY)};var u={pageX:i.pageX-l.pageX,pageY:i.pageY-l.pageY},c=n.initialRange.x[1]-n.initialRange.x[0],p=n.initialRange.y[0]-n.initialRange.y[1];u.dataX=u.pageX/t.plotter_.area.w*c,u.dataY=u.pageY/t.plotter_.area.h*p;var d,h;if(1==a.length)d=1,h=1;else if(a.length>=2){var f=s[1].pageX-l.pageX;d=(a[1].pageX-i.pageX)/f;var g=s[1].pageY-l.pageY;h=(a[1].pageY-i.pageY)/g}d=Math.min(8,Math.max(.125,d)),h=Math.min(8,Math.max(.125,h));var v=!1;if(n.touchDirections.x&&(t.dateWindow_=[l.dataX-u.dataX+(n.initialRange.x[0]-l.dataX)/d,l.dataX-u.dataX+(n.initialRange.x[1]-l.dataX)/d],v=!0),n.touchDirections.y)for(r=0;r<1;r++){var y=t.axes_[r],m=t.attributes_.getForAxis("logscale",r);m||(y.valueWindow=[l.dataY-u.dataY+(n.initialRange.y[0]-l.dataY)/h,l.dataY-u.dataY+(n.initialRange.y[1]-l.dataY)/h],v=!0)}if(t.drawGraph_(!1),v&&a.length>1&&t.getFunctionOption("zoomCallback")){var _=t.xAxisRange();t.getFunctionOption("zoomCallback").call(t,_[0],_[1],t.yAxisRanges())}},i.Interaction.endTouch=function(e,t,n){if(0!==e.touches.length)i.Interaction.startTouch(e,t,n);else if(1==e.changedTouches.length){var r=(new Date).getTime(),a=e.changedTouches[0];n.startTimeForDoubleTapMs&&r-n.startTimeForDoubleTapMs<500&&n.doubleTapX&&Math.abs(n.doubleTapX-a.screenX)<50&&n.doubleTapY&&Math.abs(n.doubleTapY-a.screenY)<50?t.resetZoom():(n.startTimeForDoubleTapMs=r,n.doubleTapX=a.screenX,n.doubleTapY=a.screenY)}};var t=function(e,t,n){return e<t?t-e:e>n?e-n:0},n=function(e,n){var r=i.findPos(n.canvas_),a={left:r.x,right:r.x+n.canvas_.offsetWidth,top:r.y,bottom:r.y+n.canvas_.offsetHeight},o={x:i.pageX(e),y:i.pageY(e)},s=t(o.x,a.left,a.right),l=t(o.y,a.top,a.bottom);return Math.max(s,l)};i.Interaction.defaultModel={mousedown:function(t,r,a){if(!t.button||2!=t.button){a.initializeMouseDown(t,r,a),t.altKey||t.shiftKey?i.startPan(t,r,a):i.startZoom(t,r,a);var o=function(t){if(a.isZooming){var o=n(t,r);o<e?i.moveZoom(t,r,a):null!==a.dragEndX&&(a.dragEndX=null,a.dragEndY=null,r.clearZoomRect_())}else a.isPanning&&i.movePan(t,r,a)},s=function(e){a.isZooming?null!==a.dragEndX?i.endZoom(e,r,a):i.Interaction.maybeTreatMouseOpAsClick(e,r,a):a.isPanning&&i.endPan(e,r,a),i.removeEvent(document,"mousemove",o),i.removeEvent(document,"mouseup",s),a.destroy()};r.addAndTrackEvent(document,"mousemove",o),r.addAndTrackEvent(document,"mouseup",s)}},willDestroyContextMyself:!0,touchstart:function(e,t,n){i.Interaction.startTouch(e,t,n)},touchmove:function(e,t,n){i.Interaction.moveTouch(e,t,n)},touchend:function(e,t,n){i.Interaction.endTouch(e,t,n)},dblclick:function(e,t,n){if(n.cancelNextDblclick)return void(n.cancelNextDblclick=!1);var r={canvasx:n.dragEndX,canvasy:n.dragEndY};t.cascadeEvents_("dblclick",r)||e.altKey||e.shiftKey||t.resetZoom()}},i.DEFAULT_ATTRS.interactionModel=i.Interaction.defaultModel,i.defaultInteractionModel=i.Interaction.defaultModel,i.endZoom=i.Interaction.endZoom,i.moveZoom=i.Interaction.moveZoom,i.startZoom=i.Interaction.startZoom,i.endPan=i.Interaction.endPan,i.movePan=i.Interaction.movePan,i.startPan=i.Interaction.startPan,i.Interaction.nonInteractiveModel_={mousedown:function(e,t,n){n.initializeMouseDown(e,t,n)},mouseup:i.Interaction.maybeTreatMouseOpAsClick},i.Interaction.dragIsPanInteractionModel={mousedown:function(e,t,n){n.initializeMouseDown(e,t,n),i.startPan(e,t,n)},mousemove:function(e,t,n){n.isPanning&&i.movePan(e,t,n)},mouseup:function(e,t,n){n.isPanning&&i.endPan(e,t,n)}}}(),/**
	 * @license
	 * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.TickList=void 0,i.Ticker=void 0,i.numericLinearTicks=function(e,t,n,r,a,o){var s=function(e){return"logscale"!==e&&r(e)};return i.numericTicks(e,t,n,s,a,o)},i.numericTicks=function(e,t,n,r,a,o){var s,l,u,c,p=r("pixelsPerLabel"),d=[];if(o)for(s=0;s<o.length;s++)d.push({v:o[s]});else{if(r("logscale")){c=Math.floor(n/p);var h=i.binarySearch(e,i.PREFERRED_LOG_TICK_VALUES,1),f=i.binarySearch(t,i.PREFERRED_LOG_TICK_VALUES,-1);h==-1&&(h=0),f==-1&&(f=i.PREFERRED_LOG_TICK_VALUES.length-1);var g=null;if(f-h>=c/4){for(var v=f;v>=h;v--){var y=i.PREFERRED_LOG_TICK_VALUES[v],m=Math.log(y/e)/Math.log(t/e)*n,_={v:y};null===g?g={tickValue:y,pixel_coord:m}:Math.abs(m-g.pixel_coord)>=p?g={tickValue:y,pixel_coord:m}:_.label="",d.push(_)}d.reverse()}}if(0===d.length){var b,x,w=r("labelsKMG2");w?(b=[1,2,4,8,16,32,64,128,256],x=16):(b=[1,2,5,10,20,50,100],x=10);var C,E,A,T,S=Math.ceil(n/p),P=Math.abs(t-e)/S,O=Math.floor(Math.log(P)/Math.log(x)),D=Math.pow(x,O);for(l=0;l<b.length&&(C=D*b[l],E=Math.floor(e/C)*C,A=Math.ceil(t/C)*C,c=Math.abs(A-E)/C,T=n/c,!(T>p));l++);for(E>A&&(C*=-1),s=0;s<=c;s++)u=E+s*C,d.push({v:u})}}var k=r("axisLabelFormatter");for(s=0;s<d.length;s++)void 0===d[s].label&&(d[s].label=k.call(a,d[s].v,0,r,a));return d},i.dateTicker=function(e,t,n,r,a,o){var s=i.pickDateTickGranularity(e,t,n,r);return s>=0?i.getDateAxis(e,t,s,r,a):[]},i.SECONDLY=0,i.TWO_SECONDLY=1,i.FIVE_SECONDLY=2,i.TEN_SECONDLY=3,i.THIRTY_SECONDLY=4,i.MINUTELY=5,i.TWO_MINUTELY=6,i.FIVE_MINUTELY=7,i.TEN_MINUTELY=8,i.THIRTY_MINUTELY=9,i.HOURLY=10,i.TWO_HOURLY=11,i.SIX_HOURLY=12,i.DAILY=13,i.TWO_DAILY=14,i.WEEKLY=15,i.MONTHLY=16,i.QUARTERLY=17,i.BIANNUAL=18,i.ANNUAL=19,i.DECADAL=20,i.CENTENNIAL=21,i.NUM_GRANULARITIES=22,i.DATEFIELD_Y=0,i.DATEFIELD_M=1,i.DATEFIELD_D=2,i.DATEFIELD_HH=3,i.DATEFIELD_MM=4,i.DATEFIELD_SS=5,i.DATEFIELD_MS=6,i.NUM_DATEFIELDS=7,i.TICK_PLACEMENT=[],i.TICK_PLACEMENT[i.SECONDLY]={datefield:i.DATEFIELD_SS,step:1,spacing:1e3},i.TICK_PLACEMENT[i.TWO_SECONDLY]={datefield:i.DATEFIELD_SS,step:2,spacing:2e3},i.TICK_PLACEMENT[i.FIVE_SECONDLY]={datefield:i.DATEFIELD_SS,step:5,spacing:5e3},i.TICK_PLACEMENT[i.TEN_SECONDLY]={datefield:i.DATEFIELD_SS,step:10,spacing:1e4},i.TICK_PLACEMENT[i.THIRTY_SECONDLY]={datefield:i.DATEFIELD_SS,step:30,spacing:3e4},i.TICK_PLACEMENT[i.MINUTELY]={datefield:i.DATEFIELD_MM,step:1,spacing:6e4},i.TICK_PLACEMENT[i.TWO_MINUTELY]={datefield:i.DATEFIELD_MM,step:2,spacing:12e4},i.TICK_PLACEMENT[i.FIVE_MINUTELY]={datefield:i.DATEFIELD_MM,step:5,spacing:3e5},i.TICK_PLACEMENT[i.TEN_MINUTELY]={datefield:i.DATEFIELD_MM,step:10,spacing:6e5},i.TICK_PLACEMENT[i.THIRTY_MINUTELY]={datefield:i.DATEFIELD_MM,step:30,spacing:18e5},i.TICK_PLACEMENT[i.HOURLY]={datefield:i.DATEFIELD_HH,step:1,spacing:36e5},i.TICK_PLACEMENT[i.TWO_HOURLY]={datefield:i.DATEFIELD_HH,step:2,spacing:72e5},i.TICK_PLACEMENT[i.SIX_HOURLY]={datefield:i.DATEFIELD_HH,step:6,spacing:216e5},i.TICK_PLACEMENT[i.DAILY]={datefield:i.DATEFIELD_D,step:1,spacing:864e5},i.TICK_PLACEMENT[i.TWO_DAILY]={datefield:i.DATEFIELD_D,step:2,spacing:1728e5},i.TICK_PLACEMENT[i.WEEKLY]={datefield:i.DATEFIELD_D,step:7,spacing:6048e5},i.TICK_PLACEMENT[i.MONTHLY]={datefield:i.DATEFIELD_M,step:1,spacing:2629817280},i.TICK_PLACEMENT[i.QUARTERLY]={datefield:i.DATEFIELD_M,step:3,spacing:216e5*365.2524},i.TICK_PLACEMENT[i.BIANNUAL]={datefield:i.DATEFIELD_M,step:6,spacing:432e5*365.2524},i.TICK_PLACEMENT[i.ANNUAL]={datefield:i.DATEFIELD_Y,step:1,spacing:864e5*365.2524},i.TICK_PLACEMENT[i.DECADAL]={datefield:i.DATEFIELD_Y,step:10,spacing:315578073600},i.TICK_PLACEMENT[i.CENTENNIAL]={datefield:i.DATEFIELD_Y,step:100,spacing:3155780736e3},i.PREFERRED_LOG_TICK_VALUES=function(){for(var e=[],t=-39;t<=39;t++)for(var n=Math.pow(10,t),r=1;r<=9;r++){var a=n*r;e.push(a)}return e}(),i.pickDateTickGranularity=function(e,t,n,r){for(var a=r("pixelsPerLabel"),o=0;o<i.NUM_GRANULARITIES;o++){var s=i.numDateTicks(e,t,o);if(n/s>=a)return o}return-1},i.numDateTicks=function(e,t,n){var r=i.TICK_PLACEMENT[n].spacing;return Math.round(1*(t-e)/r)},i.getDateAxis=function(e,t,n,r,a){var o=r("axisLabelFormatter"),s=r("labelsUTC"),l=s?i.DateAccessorsUTC:i.DateAccessorsLocal,u=i.TICK_PLACEMENT[n].datefield,c=i.TICK_PLACEMENT[n].step,p=i.TICK_PLACEMENT[n].spacing,d=new Date(e),h=[];h[i.DATEFIELD_Y]=l.getFullYear(d),h[i.DATEFIELD_M]=l.getMonth(d),h[i.DATEFIELD_D]=l.getDate(d),h[i.DATEFIELD_HH]=l.getHours(d),h[i.DATEFIELD_MM]=l.getMinutes(d),h[i.DATEFIELD_SS]=l.getSeconds(d),h[i.DATEFIELD_MS]=l.getMilliseconds(d);var f=h[u]%c;n==i.WEEKLY&&(f=l.getDay(d)),h[u]-=f;for(var g=u+1;g<i.NUM_DATEFIELDS;g++)h[g]=g===i.DATEFIELD_D?1:0;var v=[],y=l.makeDate.apply(null,h),m=y.getTime();if(n<=i.HOURLY)for(m<e&&(m+=p,y=new Date(m));m<=t;)v.push({v:m,label:o.call(a,y,n,r,a)}),m+=p,y=new Date(m);else for(m<e&&(h[u]+=c,y=l.makeDate.apply(null,h),m=y.getTime());m<=t;)(n>=i.DAILY||l.getHours(y)%c===0)&&v.push({v:m,label:o.call(a,y,n,r,a)}),h[u]+=c,y=l.makeDate.apply(null,h),m=y.getTime();return v},i&&i.DEFAULT_ATTRS&&i.DEFAULT_ATTRS.axes&&i.DEFAULT_ATTRS.axes.x&&i.DEFAULT_ATTRS.axes.y&&i.DEFAULT_ATTRS.axes.y2&&(i.DEFAULT_ATTRS.axes.x.ticker=i.dateTicker,i.DEFAULT_ATTRS.axes.y.ticker=i.numericTicks,i.DEFAULT_ATTRS.axes.y2.ticker=i.numericTicks)}(),i.Plugins={},/**
	 * @license
	 * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.Plugins.Annotations=function(){"use strict";var e=function(){this.annotations_=[]};return e.prototype.toString=function(){return"Annotations Plugin"},e.prototype.activate=function(e){return{clearChart:this.clearChart,didDrawChart:this.didDrawChart}},e.prototype.detachLabels=function(){for(var e=0;e<this.annotations_.length;e++){var t=this.annotations_[e];t.parentNode&&t.parentNode.removeChild(t),this.annotations_[e]=null}this.annotations_=[]},e.prototype.clearChart=function(e){this.detachLabels()},e.prototype.didDrawChart=function(e){var t=e.dygraph,n=t.layout_.annotated_points;if(n&&0!==n.length)for(var r=e.canvas.parentNode,a={position:"absolute",fontSize:t.getOption("axisLabelFontSize")+"px",zIndex:10,overflow:"hidden"},o=function(e,n,r){return function(a){var o=r.annotation;o.hasOwnProperty(e)?o[e](o,r,t,a):t.getOption(n)&&t.getOption(n)(o,r,t,a)}},i=e.dygraph.plotter_.area,s={},l=0;l<n.length;l++){var u=n[l];if(!(u.canvasx<i.x||u.canvasx>i.x+i.w||u.canvasy<i.y||u.canvasy>i.y+i.h)){var c=u.annotation,p=6;c.hasOwnProperty("tickHeight")&&(p=c.tickHeight);var d=document.createElement("div");for(var h in a)a.hasOwnProperty(h)&&(d.style[h]=a[h]);c.hasOwnProperty("icon")||(d.className="dygraphDefaultAnnotation"),c.hasOwnProperty("cssClass")&&(d.className+=" "+c.cssClass);var f=c.hasOwnProperty("width")?c.width:16,g=c.hasOwnProperty("height")?c.height:16;if(c.hasOwnProperty("icon")){var v=document.createElement("img");v.src=c.icon,v.width=f,v.height=g,d.appendChild(v)}else u.annotation.hasOwnProperty("shortText")&&d.appendChild(document.createTextNode(u.annotation.shortText));var y=u.canvasx-f/2;d.style.left=y+"px";var m=0;if(c.attachAtBottom){var _=i.y+i.h-g-p;s[y]?_-=s[y]:s[y]=0,s[y]+=p+g,m=_}else m=u.canvasy-g-p;d.style.top=m+"px",d.style.width=f+"px",d.style.height=g+"px",d.title=u.annotation.text,d.style.color=t.colorsMap_[u.name],d.style.borderColor=t.colorsMap_[u.name],c.div=d,t.addAndTrackEvent(d,"click",o("clickHandler","annotationClickHandler",u,this)),t.addAndTrackEvent(d,"mouseover",o("mouseOverHandler","annotationMouseOverHandler",u,this)),t.addAndTrackEvent(d,"mouseout",o("mouseOutHandler","annotationMouseOutHandler",u,this)),t.addAndTrackEvent(d,"dblclick",o("dblClickHandler","annotationDblClickHandler",u,this)),r.appendChild(d),this.annotations_.push(d);var b=e.drawingContext;if(b.save(),b.strokeStyle=t.colorsMap_[u.name],b.beginPath(),c.attachAtBottom){var _=m+g;b.moveTo(u.canvasx,_),b.lineTo(u.canvasx,_+p)}else b.moveTo(u.canvasx,u.canvasy),b.lineTo(u.canvasx,u.canvasy-2-p);b.closePath(),b.stroke(),b.restore()}}},e.prototype.destroy=function(){this.detachLabels()},e}(),/**
	 * @license
	 * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.Plugins.Axes=function(){"use strict";var e=function(){this.xlabels_=[],this.ylabels_=[]};return e.prototype.toString=function(){return"Axes Plugin"},e.prototype.activate=function(e){return{layout:this.layout,clearChart:this.clearChart,willDrawChart:this.willDrawChart}},e.prototype.layout=function(e){var t=e.dygraph;if(t.getOptionForAxis("drawAxis","y")){var n=t.getOptionForAxis("axisLabelWidth","y")+2*t.getOptionForAxis("axisTickSize","y");e.reserveSpaceLeft(n)}if(t.getOptionForAxis("drawAxis","x")){var r;r=t.getOption("xAxisHeight")?t.getOption("xAxisHeight"):t.getOptionForAxis("axisLabelFontSize","x")+2*t.getOptionForAxis("axisTickSize","x"),e.reserveSpaceBottom(r)}if(2==t.numAxes()){if(t.getOptionForAxis("drawAxis","y2")){var n=t.getOptionForAxis("axisLabelWidth","y2")+2*t.getOptionForAxis("axisTickSize","y2");e.reserveSpaceRight(n)}}else t.numAxes()>2&&t.error("Only two y-axes are supported at this time. (Trying to use "+t.numAxes()+")")},e.prototype.detachLabels=function(){function e(e){for(var t=0;t<e.length;t++){var n=e[t];n.parentNode&&n.parentNode.removeChild(n)}}e(this.xlabels_),e(this.ylabels_),this.xlabels_=[],this.ylabels_=[]},e.prototype.clearChart=function(e){this.detachLabels()},e.prototype.willDrawChart=function(e){function t(e){return Math.round(e)+.5}function n(e){return Math.round(e)-.5}var r=e.dygraph;if(r.getOptionForAxis("drawAxis","x")||r.getOptionForAxis("drawAxis","y")||r.getOptionForAxis("drawAxis","y2")){var a,o,i,s,l,u=e.drawingContext,c=e.canvas.parentNode,p=r.width_,d=r.height_,h=function(e){return{position:"absolute",fontSize:r.getOptionForAxis("axisLabelFontSize",e)+"px",zIndex:10,color:r.getOptionForAxis("axisLabelColor",e),width:r.getOptionForAxis("axisLabelWidth",e)+"px",lineHeight:"normal",overflow:"hidden"}},f={x:h("x"),y:h("y"),y2:h("y2")},g=function(e,t,n){var r=document.createElement("div"),a=f["y2"==n?"y2":t];for(var o in a)a.hasOwnProperty(o)&&(r.style[o]=a[o]);var i=document.createElement("div");return i.className="dygraph-axis-label dygraph-axis-label-"+t+(n?" dygraph-axis-label-"+n:""),i.innerHTML=e,r.appendChild(i),r};u.save();var v=r.layout_,y=e.dygraph.plotter_.area,m=function(e){return function(t){return r.getOptionForAxis(t,e)}};if(r.getOptionForAxis("drawAxis","y")){if(v.yticks&&v.yticks.length>0){var _=r.numAxes(),b=[m("y"),m("y2")];for(l=0;l<v.yticks.length;l++){if(s=v.yticks[l],"function"==typeof s)return;o=y.x;var x=1,w="y1",C=b[0];1==s[0]&&(o=y.x+y.w,x=-1,w="y2",C=b[1]);var E=C("axisLabelFontSize");i=y.y+s[1]*y.h,a=g(s[2],"y",2==_?w:null);var A=i-E/2;A<0&&(A=0),A+E+3>d?a.style.bottom="0":a.style.top=A+"px",0===s[0]?(a.style.left=y.x-C("axisLabelWidth")-C("axisTickSize")+"px",a.style.textAlign="right"):1==s[0]&&(a.style.left=y.x+y.w+C("axisTickSize")+"px",a.style.textAlign="left"),a.style.width=C("axisLabelWidth")+"px",c.appendChild(a),this.ylabels_.push(a)}var T=this.ylabels_[0],E=r.getOptionForAxis("axisLabelFontSize","y"),S=parseInt(T.style.top,10)+E;S>d-E&&(T.style.top=parseInt(T.style.top,10)-E/2+"px")}var P;if(r.getOption("drawAxesAtZero")){var O=r.toPercentXCoord(0);(O>1||O<0||isNaN(O))&&(O=0),P=t(y.x+O*y.w)}else P=t(y.x);u.strokeStyle=r.getOptionForAxis("axisLineColor","y"),u.lineWidth=r.getOptionForAxis("axisLineWidth","y"),u.beginPath(),u.moveTo(P,n(y.y)),u.lineTo(P,n(y.y+y.h)),u.closePath(),u.stroke(),2==r.numAxes()&&(u.strokeStyle=r.getOptionForAxis("axisLineColor","y2"),u.lineWidth=r.getOptionForAxis("axisLineWidth","y2"),u.beginPath(),u.moveTo(n(y.x+y.w),n(y.y)),u.lineTo(n(y.x+y.w),n(y.y+y.h)),u.closePath(),u.stroke())}if(r.getOptionForAxis("drawAxis","x")){if(v.xticks){var C=m("x");for(l=0;l<v.xticks.length;l++){s=v.xticks[l],o=y.x+s[0]*y.w,i=y.y+y.h,a=g(s[1],"x"),a.style.textAlign="center",a.style.top=i+C("axisTickSize")+"px";var D=o-C("axisLabelWidth")/2;D+C("axisLabelWidth")>p&&(D=p-C("axisLabelWidth"),a.style.textAlign="right"),D<0&&(D=0,a.style.textAlign="left"),a.style.left=D+"px",a.style.width=C("axisLabelWidth")+"px",c.appendChild(a),this.xlabels_.push(a)}}u.strokeStyle=r.getOptionForAxis("axisLineColor","x"),u.lineWidth=r.getOptionForAxis("axisLineWidth","x"),u.beginPath();var k;if(r.getOption("drawAxesAtZero")){var O=r.toPercentYCoord(0,0);(O>1||O<0)&&(O=1),k=n(y.y+O*y.h)}else k=n(y.y+y.h);u.moveTo(t(y.x),k),u.lineTo(t(y.x+y.w),k),u.closePath(),u.stroke()}u.restore()}},e}(),/**
	 * @license
	 * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.Plugins.ChartLabels=function(){"use strict";var e=function(){this.title_div_=null,this.xlabel_div_=null,this.ylabel_div_=null,this.y2label_div_=null};e.prototype.toString=function(){return"ChartLabels Plugin"},e.prototype.activate=function(e){return{layout:this.layout,didDrawChart:this.didDrawChart}};var t=function(e){var t=document.createElement("div");return t.style.position="absolute",t.style.left=e.x+"px",t.style.top=e.y+"px",t.style.width=e.w+"px",t.style.height=e.h+"px",t};e.prototype.detachLabels_=function(){for(var e=[this.title_div_,this.xlabel_div_,this.ylabel_div_,this.y2label_div_],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}this.title_div_=null,this.xlabel_div_=null,this.ylabel_div_=null,this.y2label_div_=null};var n=function(e,t,n,r,a){var o=document.createElement("div");o.style.position="absolute",1==n?o.style.left="0px":o.style.left=t.x+"px",o.style.top=t.y+"px",o.style.width=t.w+"px",o.style.height=t.h+"px",o.style.fontSize=e.getOption("yLabelWidth")-2+"px";var i=document.createElement("div");i.style.position="absolute",i.style.width=t.h+"px",i.style.height=t.w+"px",i.style.top=t.h/2-t.w/2+"px",i.style.left=t.w/2-t.h/2+"px",i.style.textAlign="center";var s="rotate("+(1==n?"-":"")+"90deg)";i.style.transform=s,i.style.WebkitTransform=s,i.style.MozTransform=s,i.style.OTransform=s,i.style.msTransform=s,"undefined"!=typeof document.documentMode&&document.documentMode<9&&(i.style.filter="progid:DXImageTransform.Microsoft.BasicImage(rotation="+(1==n?"3":"1")+")",i.style.left="0px",i.style.top="0px");var l=document.createElement("div");return l.className=r,l.innerHTML=a,i.appendChild(l),o.appendChild(i),o};return e.prototype.layout=function(e){this.detachLabels_();var r=e.dygraph,a=e.chart_div;if(r.getOption("title")){var o=e.reserveSpaceTop(r.getOption("titleHeight"));this.title_div_=t(o),this.title_div_.style.textAlign="center",this.title_div_.style.fontSize=r.getOption("titleHeight")-8+"px",this.title_div_.style.fontWeight="bold",this.title_div_.style.zIndex=10;var i=document.createElement("div");i.className="dygraph-label dygraph-title",i.innerHTML=r.getOption("title"),this.title_div_.appendChild(i),a.appendChild(this.title_div_)}if(r.getOption("xlabel")){var s=e.reserveSpaceBottom(r.getOption("xLabelHeight"));this.xlabel_div_=t(s),this.xlabel_div_.style.textAlign="center",this.xlabel_div_.style.fontSize=r.getOption("xLabelHeight")-2+"px";var i=document.createElement("div");i.className="dygraph-label dygraph-xlabel",i.innerHTML=r.getOption("xlabel"),this.xlabel_div_.appendChild(i),a.appendChild(this.xlabel_div_)}if(r.getOption("ylabel")){var l=e.reserveSpaceLeft(0);this.ylabel_div_=n(r,l,1,"dygraph-label dygraph-ylabel",r.getOption("ylabel")),a.appendChild(this.ylabel_div_)}if(r.getOption("y2label")&&2==r.numAxes()){var u=e.reserveSpaceRight(0);this.y2label_div_=n(r,u,2,"dygraph-label dygraph-y2label",r.getOption("y2label")),a.appendChild(this.y2label_div_)}},e.prototype.didDrawChart=function(e){var t=e.dygraph;this.title_div_&&(this.title_div_.children[0].innerHTML=t.getOption("title")),this.xlabel_div_&&(this.xlabel_div_.children[0].innerHTML=t.getOption("xlabel")),this.ylabel_div_&&(this.ylabel_div_.children[0].children[0].innerHTML=t.getOption("ylabel")),this.y2label_div_&&(this.y2label_div_.children[0].children[0].innerHTML=t.getOption("y2label"))},e.prototype.clearChart=function(){},e.prototype.destroy=function(){this.detachLabels_()},e}(),/**
	 * @license
	 * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.Plugins.Grid=function(){"use strict";var e=function(){};return e.prototype.toString=function(){return"Gridline Plugin"},e.prototype.activate=function(e){return{willDrawChart:this.willDrawChart}},e.prototype.willDrawChart=function(e){function t(e){return Math.round(e)+.5}function n(e){return Math.round(e)-.5}var r,a,o,i,s=e.dygraph,l=e.drawingContext,u=s.layout_,c=e.dygraph.plotter_.area;if(s.getOptionForAxis("drawGrid","y")){for(var p=["y","y2"],d=[],h=[],f=[],g=[],v=[],o=0;o<p.length;o++)f[o]=s.getOptionForAxis("drawGrid",p[o]),f[o]&&(d[o]=s.getOptionForAxis("gridLineColor",p[o]),h[o]=s.getOptionForAxis("gridLineWidth",p[o]),v[o]=s.getOptionForAxis("gridLinePattern",p[o]),g[o]=v[o]&&v[o].length>=2);for(i=u.yticks,l.save(),o=0;o<i.length;o++){var y=i[o][0];f[y]&&(g[y]&&l.installPattern(v[y]),l.strokeStyle=d[y],l.lineWidth=h[y],r=t(c.x),a=n(c.y+i[o][1]*c.h),l.beginPath(),l.moveTo(r,a),l.lineTo(r+c.w,a),l.closePath(),l.stroke(),g[y]&&l.uninstallPattern())}l.restore()}if(s.getOptionForAxis("drawGrid","x")){i=u.xticks,l.save();var v=s.getOptionForAxis("gridLinePattern","x"),g=v&&v.length>=2;for(g&&l.installPattern(v),l.strokeStyle=s.getOptionForAxis("gridLineColor","x"),l.lineWidth=s.getOptionForAxis("gridLineWidth","x"),o=0;o<i.length;o++)r=t(c.x+i[o][0]*c.w),a=n(c.y+c.h),l.beginPath(),l.moveTo(r,a),l.lineTo(r,c.y),l.closePath(),l.stroke();g&&l.uninstallPattern(),l.restore()}},e.prototype.destroy=function(){},e}(),/**
	 * @license
	 * Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.Plugins.Legend=function(){"use strict";var e=function(){this.legend_div_=null,this.is_generated_div_=!1};e.prototype.toString=function(){return"Legend Plugin"};var t;e.prototype.activate=function(e){var t,n=e.getOption("labelsDivWidth"),r=e.getOption("labelsDiv");if(r&&null!==r)t="string"==typeof r||r instanceof String?document.getElementById(r):r;else{var a={position:"absolute",fontSize:"14px",zIndex:10,width:n+"px",top:"0px",left:e.size().width-n-2+"px",background:"white",lineHeight:"normal",textAlign:"left",overflow:"hidden"};i.update(a,e.getOption("labelsDivStyles")),t=document.createElement("div"),t.className="dygraph-legend";for(var o in a)if(a.hasOwnProperty(o))try{t.style[o]=a[o]}catch(s){console.warn("You are using unsupported css properties for your browser in labelsDivStyles")}e.graphDiv.appendChild(t),this.is_generated_div_=!0}return this.legend_div_=t,this.one_em_width_=10,{select:this.select,deselect:this.deselect,predraw:this.predraw,didDrawChart:this.didDrawChart}};var n=function(e){var t=document.createElement("span");t.setAttribute("style","margin: 0; padding: 0 0 0 1em; border: 0;"),e.appendChild(t);var n=t.offsetWidth;return e.removeChild(t),n},r=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};return e.prototype.select=function(t){var n=t.selectedX,r=t.selectedPoints,a=t.selectedRow,o=t.dygraph.getOption("legend");if("never"===o)return void(this.legend_div_.style.display="none");if("follow"===o){var i=t.dygraph.plotter_.area,s=t.dygraph.getOption("labelsDivWidth"),l=t.dygraph.getOptionForAxis("axisLabelWidth","y"),u=r[0].x*i.w+20,c=r[0].y*i.h-20;u+s+1>window.scrollX+window.innerWidth&&(u=u-40-s-(l-i.x)),t.dygraph.graphDiv.appendChild(this.legend_div_),this.legend_div_.style.left=l+u+"px",this.legend_div_.style.top=c+"px"}var p=e.generateLegendHTML(t.dygraph,n,r,this.one_em_width_,a);this.legend_div_.innerHTML=p,this.legend_div_.style.display=""},e.prototype.deselect=function(t){var r=t.dygraph.getOption("legend");"always"!==r&&(this.legend_div_.style.display="none");var a=n(this.legend_div_);this.one_em_width_=a;var o=e.generateLegendHTML(t.dygraph,void 0,void 0,a,null);this.legend_div_.innerHTML=o},e.prototype.didDrawChart=function(e){this.deselect(e)},e.prototype.predraw=function(e){if(this.is_generated_div_){e.dygraph.graphDiv.appendChild(this.legend_div_);var t=e.dygraph.plotter_.area,n=e.dygraph.getOption("labelsDivWidth");this.legend_div_.style.left=t.x+t.w-n-1+"px",this.legend_div_.style.top=t.y+"px",this.legend_div_.style.width=n+"px"}},e.prototype.destroy=function(){this.legend_div_=null},e.generateLegendHTML=function(e,n,a,o,s){if(e.getOption("showLabelsOnHighlight")!==!0)return"";var l,u,c,p,d,h=e.getLabels();if("undefined"==typeof n){if("always"!=e.getOption("legend"))return"";for(u=e.getOption("labelsSeparateLines"),l="",c=1;c<h.length;c++){var f=e.getPropertiesForSeries(h[c]);f.visible&&(""!==l&&(l+=u?"<br/>":" "),d=e.getOption("strokePattern",h[c]),p=t(d,f.color,o),l+="<span style='font-weight: bold; color: "+f.color+";'>"+p+" "+r(h[c])+"</span>")}return l}var g=e.optionsViewForAxis_("x"),v=g("valueFormatter");l=v.call(e,n,g,h[0],e,s,0),""!==l&&(l+=":");var y=[],m=e.numAxes();for(c=0;c<m;c++)y[c]=e.optionsViewForAxis_("y"+(c?1+c:""));var _=e.getOption("labelsShowZeroValues");u=e.getOption("labelsSeparateLines");var b=e.getHighlightSeries();for(c=0;c<a.length;c++){var x=a[c];if((0!==x.yval||_)&&i.isOK(x.canvasy)){u&&(l+="<br/>");var f=e.getPropertiesForSeries(x.name),w=y[f.axis-1],C=w("valueFormatter"),E=C.call(e,x.yval,w,x.name,e,s,h.indexOf(x.name)),A=x.name==b?" class='highlight'":"";l+="<span"+A+"> <b><span style='color: "+f.color+";'>"+r(x.name)+"</span></b>:&#160;"+E+"</span>"}}return l},t=function(e,t,n){var r=/MSIE/.test(navigator.userAgent)&&!window.opera;if(r)return"&mdash;";if(!e||e.length<=1)return'<div style="display: inline-block; position: relative; bottom: .5ex; padding-left: 1em; height: 1px; border-bottom: 2px solid '+t+';"></div>';var a,o,i,s,l,u=0,c=0,p=[];for(a=0;a<=e.length;a++)u+=e[a%e.length];if(l=Math.floor(n/(u-e[0])),l>1){for(a=0;a<e.length;a++)p[a]=e[a]/n;c=p.length}else{for(l=1,a=0;a<e.length;a++)p[a]=e[a]/u;c=p.length+1}var d="";for(o=0;o<l;o++)for(a=0;a<c;a+=2)i=p[a%p.length],s=a<e.length?p[(a+1)%p.length]:0,d+='<div style="display: inline-block; position: relative; bottom: .5ex; margin-right: '+s+"em; padding-left: "+i+"em; height: 1px; border-bottom: 2px solid "+t+';"></div>';return d},e}(),/**
	 * @license
	 * Copyright 2011 Paul Felix (paul.eric.felix@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.Plugins.RangeSelector=function(){"use strict";var e=function(){this.isIE_=/MSIE/.test(navigator.userAgent)&&!window.opera,this.hasTouchInterface_="undefined"!=typeof TouchEvent,this.isMobileDevice_=/mobile|android/gi.test(navigator.appVersion),this.interfaceCreated_=!1};return e.prototype.toString=function(){return"RangeSelector Plugin"},e.prototype.activate=function(e){return this.dygraph_=e,this.isUsingExcanvas_=e.isUsingExcanvas_,this.getOption_("showRangeSelector")&&this.createInterface_(),{layout:this.reserveSpace_,predraw:this.renderStaticLayer_,didDrawChart:this.renderInteractiveLayer_}},e.prototype.destroy=function(){this.bgcanvas_=null,this.fgcanvas_=null,this.leftZoomHandle_=null,this.rightZoomHandle_=null,this.iePanOverlay_=null},e.prototype.getOption_=function(e,t){return this.dygraph_.getOption(e,t)},e.prototype.setDefaultOption_=function(e,t){this.dygraph_.attrs_[e]=t},e.prototype.createInterface_=function(){this.createCanvases_(),this.isUsingExcanvas_&&this.createIEPanOverlay_(),this.createZoomHandles_(),this.initInteraction_(),this.getOption_("animatedZooms")&&(console.warn("Animated zooms and range selector are not compatible; disabling animatedZooms."),this.dygraph_.updateOptions({animatedZooms:!1},!0)),this.interfaceCreated_=!0,this.addToGraph_()},e.prototype.addToGraph_=function(){var e=this.graphDiv_=this.dygraph_.graphDiv;e.appendChild(this.bgcanvas_),e.appendChild(this.fgcanvas_),e.appendChild(this.leftZoomHandle_),e.appendChild(this.rightZoomHandle_)},e.prototype.removeFromGraph_=function(){var e=this.graphDiv_;e.removeChild(this.bgcanvas_),e.removeChild(this.fgcanvas_),e.removeChild(this.leftZoomHandle_),e.removeChild(this.rightZoomHandle_),this.graphDiv_=null},e.prototype.reserveSpace_=function(e){this.getOption_("showRangeSelector")&&e.reserveSpaceBottom(this.getOption_("rangeSelectorHeight")+4)},e.prototype.renderStaticLayer_=function(){this.updateVisibility_()&&(this.resize_(),this.drawStaticLayer_())},e.prototype.renderInteractiveLayer_=function(){this.updateVisibility_()&&!this.isChangingRange_&&(this.placeZoomHandles_(),this.drawInteractiveLayer_())},e.prototype.updateVisibility_=function(){var e=this.getOption_("showRangeSelector");if(e)this.interfaceCreated_?this.graphDiv_&&this.graphDiv_.parentNode||this.addToGraph_():this.createInterface_();else if(this.graphDiv_){this.removeFromGraph_();var t=this.dygraph_;setTimeout(function(){t.width_=0,t.resize()},1)}return e},e.prototype.resize_=function(){function e(e,t,n){var r=i.getContextPixelRatio(t);e.style.top=n.y+"px",e.style.left=n.x+"px",e.width=n.w*r,e.height=n.h*r,e.style.width=n.w+"px",e.style.height=n.h+"px",1!=r&&t.scale(r,r)}var t=this.dygraph_.layout_.getPlotArea(),n=0;this.dygraph_.getOptionForAxis("drawAxis","x")&&(n=this.getOption_("xAxisHeight")||this.getOption_("axisLabelFontSize")+2*this.getOption_("axisTickSize")),this.canvasRect_={x:t.x,y:t.y+t.h+n+4,w:t.w,h:this.getOption_("rangeSelectorHeight")},e(this.bgcanvas_,this.bgcanvas_ctx_,this.canvasRect_),e(this.fgcanvas_,this.fgcanvas_ctx_,this.canvasRect_)},e.prototype.createCanvases_=function(){this.bgcanvas_=i.createCanvas(),this.bgcanvas_.className="dygraph-rangesel-bgcanvas",this.bgcanvas_.style.position="absolute",this.bgcanvas_.style.zIndex=9,this.bgcanvas_ctx_=i.getContext(this.bgcanvas_),this.fgcanvas_=i.createCanvas(),this.fgcanvas_.className="dygraph-rangesel-fgcanvas",this.fgcanvas_.style.position="absolute",this.fgcanvas_.style.zIndex=9,this.fgcanvas_.style.cursor="default",this.fgcanvas_ctx_=i.getContext(this.fgcanvas_)},e.prototype.createIEPanOverlay_=function(){this.iePanOverlay_=document.createElement("div"),this.iePanOverlay_.style.position="absolute",this.iePanOverlay_.style.backgroundColor="white",this.iePanOverlay_.style.filter="alpha(opacity=0)",this.iePanOverlay_.style.display="none",this.iePanOverlay_.style.cursor="move",this.fgcanvas_.appendChild(this.iePanOverlay_)},e.prototype.createZoomHandles_=function(){var e=new Image;e.className="dygraph-rangesel-zoomhandle",e.style.position="absolute",e.style.zIndex=10,e.style.visibility="hidden",e.style.cursor="col-resize",/MSIE 7/.test(navigator.userAgent)?(e.width=7,e.height=14,e.style.backgroundColor="white",e.style.border="1px solid #333333"):(e.width=9,e.height=16,e.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAYAAADESFVDAAAAAXNSR0IArs4c6QAAAAZiS0dEANAAzwDP4Z7KegAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAd0SU1FB9sHGw0cMqdt1UwAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAaElEQVQoz+3SsRFAQBCF4Z9WJM8KCDVwownl6YXsTmCUsyKGkZzcl7zkz3YLkypgAnreFmDEpHkIwVOMfpdi9CEEN2nGpFdwD03yEqDtOgCaun7sqSTDH32I1pQA2Pb9sZecAxc5r3IAb21d6878xsAAAAAASUVORK5CYII="),this.isMobileDevice_&&(e.width*=2,e.height*=2),this.leftZoomHandle_=e,this.rightZoomHandle_=e.cloneNode(!1)},e.prototype.initInteraction_=function(){var e,t,n,r,a,o,s,l,u,c,p,d,h,f,g=this,v=document,y=0,m=null,_=!1,b=!1,x=!this.isMobileDevice_&&!this.isUsingExcanvas_,w=new i.IFrameTarp;e=function(e){var t=g.dygraph_.xAxisExtremes(),n=(t[1]-t[0])/g.canvasRect_.w,r=t[0]+(e.leftHandlePos-g.canvasRect_.x)*n,a=t[0]+(e.rightHandlePos-g.canvasRect_.x)*n;return[r,a]},t=function(e){return i.cancelEvent(e),_=!0,y=e.clientX,m=e.target?e.target:e.srcElement,"mousedown"!==e.type&&"dragstart"!==e.type||(i.addEvent(v,"mousemove",n),i.addEvent(v,"mouseup",r)),g.fgcanvas_.style.cursor="col-resize",w.cover(),!0},n=function(e){if(!_)return!1;i.cancelEvent(e);var t=e.clientX-y;if(Math.abs(t)<4)return!0;y=e.clientX;var n,r=g.getZoomHandleStatus_();m==g.leftZoomHandle_?(n=r.leftHandlePos+t,n=Math.min(n,r.rightHandlePos-m.width-3),n=Math.max(n,g.canvasRect_.x)):(n=r.rightHandlePos+t,n=Math.min(n,g.canvasRect_.x+g.canvasRect_.w),n=Math.max(n,r.leftHandlePos+m.width+3));var o=m.width/2;return m.style.left=n-o+"px",g.drawInteractiveLayer_(),x&&a(),!0},r=function(e){return!!_&&(_=!1,w.uncover(),i.removeEvent(v,"mousemove",n),i.removeEvent(v,"mouseup",r),g.fgcanvas_.style.cursor="default",x||a(),!0)},a=function(){try{var t=g.getZoomHandleStatus_();if(g.isChangingRange_=!0,t.isZoomed){var n=e(t);g.dygraph_.doZoomXDates_(n[0],n[1])}else g.dygraph_.resetZoom()}finally{g.isChangingRange_=!1}},o=function(e){if(g.isUsingExcanvas_)return e.srcElement==g.iePanOverlay_;var t=g.leftZoomHandle_.getBoundingClientRect(),n=t.left+t.width/2;t=g.rightZoomHandle_.getBoundingClientRect();var r=t.left+t.width/2;return e.clientX>n&&e.clientX<r},s=function(e){return!(b||!o(e)||!g.getZoomHandleStatus_().isZoomed)&&(i.cancelEvent(e),b=!0,y=e.clientX,"mousedown"===e.type&&(i.addEvent(v,"mousemove",l),i.addEvent(v,"mouseup",u)),!0)},l=function(e){if(!b)return!1;i.cancelEvent(e);var t=e.clientX-y;if(Math.abs(t)<4)return!0;y=e.clientX;var n=g.getZoomHandleStatus_(),r=n.leftHandlePos,a=n.rightHandlePos,o=a-r;r+t<=g.canvasRect_.x?(r=g.canvasRect_.x,a=r+o):a+t>=g.canvasRect_.x+g.canvasRect_.w?(a=g.canvasRect_.x+g.canvasRect_.w,r=a-o):(r+=t,a+=t);var s=g.leftZoomHandle_.width/2;return g.leftZoomHandle_.style.left=r-s+"px",g.rightZoomHandle_.style.left=a-s+"px",g.drawInteractiveLayer_(),x&&c(),!0},u=function(e){return!!b&&(b=!1,i.removeEvent(v,"mousemove",l),i.removeEvent(v,"mouseup",u),x||c(),!0)},c=function(){try{g.isChangingRange_=!0,g.dygraph_.dateWindow_=e(g.getZoomHandleStatus_()),g.dygraph_.drawGraph_(!1)}finally{g.isChangingRange_=!1}},p=function(e){if(!_&&!b){var t=o(e)?"move":"default";t!=g.fgcanvas_.style.cursor&&(g.fgcanvas_.style.cursor=t)}},d=function(e){"touchstart"==e.type&&1==e.targetTouches.length?t(e.targetTouches[0])&&i.cancelEvent(e):"touchmove"==e.type&&1==e.targetTouches.length?n(e.targetTouches[0])&&i.cancelEvent(e):r(e)},h=function(e){"touchstart"==e.type&&1==e.targetTouches.length?s(e.targetTouches[0])&&i.cancelEvent(e):"touchmove"==e.type&&1==e.targetTouches.length?l(e.targetTouches[0])&&i.cancelEvent(e):u(e)},f=function(e,t){for(var n=["touchstart","touchend","touchmove","touchcancel"],r=0;r<n.length;r++)g.dygraph_.addAndTrackEvent(e,n[r],t)},this.setDefaultOption_("interactionModel",i.Interaction.dragIsPanInteractionModel),this.setDefaultOption_("panEdgeFraction",1e-4);var C=window.opera?"mousedown":"dragstart";this.dygraph_.addAndTrackEvent(this.leftZoomHandle_,C,t),this.dygraph_.addAndTrackEvent(this.rightZoomHandle_,C,t),this.isUsingExcanvas_?this.dygraph_.addAndTrackEvent(this.iePanOverlay_,"mousedown",s):(this.dygraph_.addAndTrackEvent(this.fgcanvas_,"mousedown",s),this.dygraph_.addAndTrackEvent(this.fgcanvas_,"mousemove",p)),this.hasTouchInterface_&&(f(this.leftZoomHandle_,d),f(this.rightZoomHandle_,d),f(this.fgcanvas_,h))},e.prototype.drawStaticLayer_=function(){var e=this.bgcanvas_ctx_;e.clearRect(0,0,this.canvasRect_.w,this.canvasRect_.h);try{this.drawMiniPlot_()}catch(t){console.warn(t)}var n=.5;this.bgcanvas_ctx_.lineWidth=1,e.strokeStyle="gray",e.beginPath(),e.moveTo(n,n),e.lineTo(n,this.canvasRect_.h-n),e.lineTo(this.canvasRect_.w-n,this.canvasRect_.h-n),e.lineTo(this.canvasRect_.w-n,n),e.stroke()},e.prototype.drawMiniPlot_=function(){var e=this.getOption_("rangeSelectorPlotFillColor"),t=this.getOption_("rangeSelectorPlotStrokeColor");if(e||t){var n=this.getOption_("stepPlot"),r=this.computeCombinedSeriesAndLimits_(),a=r.yMax-r.yMin,o=this.bgcanvas_ctx_,i=.5,s=this.dygraph_.xAxisExtremes(),l=Math.max(s[1]-s[0],1e-30),u=(this.canvasRect_.w-i)/l,c=(this.canvasRect_.h-i)/a,p=this.canvasRect_.w-i,d=this.canvasRect_.h-i,h=null,f=null;o.beginPath(),o.moveTo(i,d);for(var g=0;g<r.data.length;g++){var v=r.data[g],y=null!==v[0]?(v[0]-s[0])*u:NaN,m=null!==v[1]?d-(v[1]-r.yMin)*c:NaN;(n||null===h||Math.round(y)!=Math.round(h))&&(isFinite(y)&&isFinite(m)?(null===h?o.lineTo(y,d):n&&o.lineTo(y,f),o.lineTo(y,m),h=y,f=m):(null!==h&&(n?(o.lineTo(y,f),o.lineTo(y,d)):o.lineTo(h,d)),h=f=null))}if(o.lineTo(p,d),o.closePath(),e){var _=this.bgcanvas_ctx_.createLinearGradient(0,0,0,d);_.addColorStop(0,"white"),_.addColorStop(1,e),this.bgcanvas_ctx_.fillStyle=_,o.fill()}t&&(this.bgcanvas_ctx_.strokeStyle=t,this.bgcanvas_ctx_.lineWidth=1.5,o.stroke())}},e.prototype.computeCombinedSeriesAndLimits_=function(){var e,t=this.dygraph_,n=this.getOption_("logscale"),r=t.numColumns(),a=t.getLabels(),o=new Array(r),s=!1;for(e=1;e<r;e++){var l=this.getOption_("showInRangeSelector",a[e]);o[e]=l,null!==l&&(s=!0)}if(!s)for(e=0;e<o.length;e++)o[e]=!0;var u=[],c=t.dataHandler_,p=t.attributes_;for(e=1;e<t.numColumns();e++)if(o[e]){var d=c.extractSeries(t.rawData_,e,p);t.rollPeriod()>1&&(d=c.rollingAverage(d,t.rollPeriod(),p)),u.push(d)}var h=[];for(e=0;e<u[0].length;e++){for(var f=0,g=0,v=0;v<u.length;v++){var y=u[v][e][1];null===y||isNaN(y)||(g++,f+=y)}h.push([u[0][e][0],f/g])}var m=Number.MAX_VALUE,_=-Number.MAX_VALUE;for(e=0;e<h.length;e++){var b=h[e][1];null!==b&&isFinite(b)&&(!n||b>0)&&(m=Math.min(m,b),_=Math.max(_,b))}var x=.25;if(n)for(_=i.log10(_),_+=_*x,m=i.log10(m),e=0;e<h.length;e++)h[e][1]=i.log10(h[e][1]);else{var w,C=_-m;w=C<=Number.MIN_VALUE?_*x:C*x,_+=w,m-=w}return{data:h,yMin:m,yMax:_}},e.prototype.placeZoomHandles_=function(){var e=this.dygraph_.xAxisExtremes(),t=this.dygraph_.xAxisRange(),n=e[1]-e[0],r=Math.max(0,(t[0]-e[0])/n),a=Math.max(0,(e[1]-t[1])/n),o=this.canvasRect_.x+this.canvasRect_.w*r,i=this.canvasRect_.x+this.canvasRect_.w*(1-a),s=Math.max(this.canvasRect_.y,this.canvasRect_.y+(this.canvasRect_.h-this.leftZoomHandle_.height)/2),l=this.leftZoomHandle_.width/2;this.leftZoomHandle_.style.left=o-l+"px",this.leftZoomHandle_.style.top=s+"px",this.rightZoomHandle_.style.left=i-l+"px",this.rightZoomHandle_.style.top=this.leftZoomHandle_.style.top,this.leftZoomHandle_.style.visibility="visible",this.rightZoomHandle_.style.visibility="visible"},e.prototype.drawInteractiveLayer_=function(){var e=this.fgcanvas_ctx_;e.clearRect(0,0,this.canvasRect_.w,this.canvasRect_.h);var t=1,n=this.canvasRect_.w-t,r=this.canvasRect_.h-t,a=this.getZoomHandleStatus_();if(e.strokeStyle="black",a.isZoomed){var o=Math.max(t,a.leftHandlePos-this.canvasRect_.x),i=Math.min(n,a.rightHandlePos-this.canvasRect_.x);e.fillStyle="rgba(240, 240, 240, 0.6)",e.fillRect(0,0,o,this.canvasRect_.h),e.fillRect(i,0,this.canvasRect_.w-i,this.canvasRect_.h),e.beginPath(),e.moveTo(t,t),e.lineTo(o,t),e.lineTo(o,r),e.lineTo(i,r),e.lineTo(i,t),e.lineTo(n,t),e.stroke(),this.isUsingExcanvas_&&(this.iePanOverlay_.style.width=i-o+"px",this.iePanOverlay_.style.left=o+"px",this.iePanOverlay_.style.height=r+"px",this.iePanOverlay_.style.display="inline")}else e.beginPath(),e.moveTo(t,t),e.lineTo(t,r),e.lineTo(n,r),e.lineTo(n,t),e.stroke(),this.iePanOverlay_&&(this.iePanOverlay_.style.display="none")},e.prototype.getZoomHandleStatus_=function(){var e=this.leftZoomHandle_.width/2,t=parseFloat(this.leftZoomHandle_.style.left)+e,n=parseFloat(this.rightZoomHandle_.style.left)+e;return{leftHandlePos:t,rightHandlePos:n,isZoomed:t-1>this.canvasRect_.x||n+1<this.canvasRect_.x+this.canvasRect_.w}},e}(),i.PLUGINS.push(i.Plugins.Legend,i.Plugins.Axes,i.Plugins.RangeSelector,i.Plugins.ChartLabels,i.Plugins.Annotations,i.Plugins.Grid),/**
	 * @license
	 * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.OPTIONS_REFERENCE={xValueParser:{"default":"parseFloat() or Date.parse()*",labels:["CSV parsing"],type:"function(str) -> number",description:"A function which parses x-values (i.e. the dependent series). Must return a number, even when the values are dates. In this case, millis since epoch are used. This is used primarily for parsing CSV data. *=Dygraphs is slightly more accepting in the dates which it will parse. See code for details."},stackedGraph:{"default":"false",labels:["Data Line display"],type:"boolean",description:"If set, stack series on top of one another rather than drawing them independently. The first series specified in the input data will wind up on top of the chart and the last will be on bottom. NaN values are drawn as white areas without a line on top, see stackedGraphNaNFill for details."},stackedGraphNaNFill:{"default":"all",labels:["Data Line display"],type:"string",description:'Controls handling of NaN values inside a stacked graph. NaN values are interpolated/extended for stacking purposes, but the actual point value remains NaN in the legend display. Valid option values are "all" (interpolate internally, repeat leftmost and rightmost value as needed), "inside" (interpolate internally only, use zero outside leftmost and rightmost value), and "none" (treat NaN as zero everywhere).'},pointSize:{"default":"1",labels:["Data Line display"],type:"integer",description:'The size of the dot to draw on each point in pixels (see drawPoints). A dot is always drawn when a point is "isolated", i.e. there is a missing point on either side of it. This also controls the size of those dots.'},labelsDivStyles:{"default":"null",labels:["Legend"],type:"{}",description:"Additional styles to apply to the currently-highlighted points div. For example, { 'fontWeight': 'bold' } will make the labels bold. In general, it is better to use CSS to style the .dygraph-legend class than to use this property."},drawPoints:{"default":"false",labels:["Data Line display"],type:"boolean",description:"Draw a small dot at each point, in addition to a line going through the point. This makes the individual data points easier to see, but can increase visual clutter in the chart. The small dot can be replaced with a custom rendering by supplying a <a href='#drawPointCallback'>drawPointCallback</a>."},drawGapEdgePoints:{"default":"false",labels:["Data Line display"],type:"boolean",description:"Draw points at the edges of gaps in the data. This improves visibility of small data segments or other data irregularities."},drawPointCallback:{"default":"null",labels:["Data Line display"],type:"function(g, seriesName, canvasContext, cx, cy, color, pointSize)",parameters:[["g","the reference graph"],["seriesName","the name of the series"],["canvasContext","the canvas to draw on"],["cx","center x coordinate"],["cy","center y coordinate"],["color","series color"],["pointSize","the radius of the image."],["idx","the row-index of the point in the data."]],description:"Draw a custom item when drawPoints is enabled. Default is a small dot matching the series color. This method should constrain drawing to within pointSize pixels from (cx, cy).  Also see <a href='#drawHighlightPointCallback'>drawHighlightPointCallback</a>"},height:{"default":"320",labels:["Overall display"],type:"integer",description:"Height, in pixels, of the chart. If the container div has been explicitly sized, this will be ignored."},zoomCallback:{"default":"null",labels:["Callbacks"],type:"function(minDate, maxDate, yRanges)",parameters:[["minDate","milliseconds since epoch"],["maxDate","milliseconds since epoch."],["yRanges","is an array of [bottom, top] pairs, one for each y-axis."]],description:"A function to call when the zoom window is changed (either by zooming in or out)."},pointClickCallback:{snippet:"function(e, point){<br>&nbsp;&nbsp;alert(point);<br>}","default":"null",labels:["Callbacks","Interactive Elements"],type:"function(e, point)",parameters:[["e","the event object for the click"],["point","the point that was clicked See <a href='#point_properties'>Point properties</a> for details"]],description:"A function to call when a data point is clicked. and the point that was clicked."},color:{"default":"(see description)",labels:["Data Series Colors"],type:"string",example:"red",description:"A per-series color definition. Used in conjunction with, and overrides, the colors option."},colors:{"default":"(see description)",labels:["Data Series Colors"],type:"array<string>",example:"['red', '#00FF00']",description:'List of colors for the data series. These can be of the form "#AABBCC" or "rgb(255,100,200)" or "yellow", etc. If not specified, equally-spaced points around a color wheel are used. Overridden by the \'color\' option.'},connectSeparatedPoints:{"default":"false",labels:["Data Line display"],type:"boolean",description:"Usually, when Dygraphs encounters a missing value in a data series, it interprets this as a gap and draws it as such. If, instead, the missing values represents an x-value for which only a different series has data, then you'll want to connect the dots by setting this to true. To explicitly include a gap with this option set, use a value of NaN."},highlightCallback:{"default":"null",labels:["Callbacks"],type:"function(event, x, points, row, seriesName)",description:"When set, this callback gets called every time a new point is highlighted.",parameters:[["event","the JavaScript mousemove event"],["x","the x-coordinate of the highlighted points"],["points","an array of highlighted points: <code>[ {name: 'series', yval: y-value}, &hellip; ]</code>"],["row","integer index of the highlighted row in the data table, starting from 0"],["seriesName","name of the highlighted series, only present if highlightSeriesOpts is set."]]},drawHighlightPointCallback:{"default":"null",labels:["Data Line display"],type:"function(g, seriesName, canvasContext, cx, cy, color, pointSize)",parameters:[["g","the reference graph"],["seriesName","the name of the series"],["canvasContext","the canvas to draw on"],["cx","center x coordinate"],["cy","center y coordinate"],["color","series color"],["pointSize","the radius of the image."],["idx","the row-index of the point in the data."]],description:"Draw a custom item when a point is highlighted.  Default is a small dot matching the series color. This method should constrain drawing to within pointSize pixels from (cx, cy) Also see <a href='#drawPointCallback'>drawPointCallback</a>"},highlightSeriesOpts:{"default":"null",labels:["Interactive Elements"],type:"Object",description:"When set, the options from this object are applied to the timeseries closest to the mouse pointer for interactive highlighting. See also 'highlightCallback'. Example: highlightSeriesOpts: { strokeWidth: 3 }."},highlightSeriesBackgroundAlpha:{"default":"0.5",labels:["Interactive Elements"],type:"float",description:"Fade the background while highlighting series. 1=fully visible background (disable fading), 0=hiddden background (show highlighted series only)."},includeZero:{"default":"false",labels:["Axis display"],type:"boolean",description:"Usually, dygraphs will use the range of the data plus some padding to set the range of the y-axis. If this option is set, the y-axis will always include zero, typically as the lowest value. This can be used to avoid exaggerating the variance in the data"},rollPeriod:{"default":"1",labels:["Error Bars","Rolling Averages"],type:"integer &gt;= 1",description:"Number of days over which to average data. Discussed extensively above."},unhighlightCallback:{"default":"null",labels:["Callbacks"],type:"function(event)",parameters:[["event","the mouse event"]],description:"When set, this callback gets called every time the user stops highlighting any point by mousing out of the graph."},axisTickSize:{"default":"3.0",labels:["Axis display"],type:"number",description:"The size of the line to display next to each tick mark on x- or y-axes."},labelsSeparateLines:{"default":"false",labels:["Legend"],type:"boolean",description:"Put <code>&lt;br/&gt;</code> between lines in the label string. Often used in conjunction with <strong>labelsDiv</strong>."},xValueFormatter:{"default":"",labels:["Deprecated"],type:"",description:"Prefer axes: { x: { valueFormatter } }"},valueFormatter:{"default":"Depends on the type of your data.",labels:["Legend","Value display/formatting"],type:"function(num or millis, opts, seriesName, dygraph, row, col)",description:"Function to provide a custom display format for the values displayed on mouseover. This does not affect the values that appear on tick marks next to the axes. To format those, see axisLabelFormatter. This is usually set on a <a href='per-axis.html'>per-axis</a> basis. .",parameters:[["num_or_millis","The value to be formatted. This is always a number. For date axes, it's millis since epoch. You can call new Date(millis) to get a Date object."],["opts","This is a function you can call to access various options (e.g. opts('labelsKMB')). It returns per-axis values for the option when available."],["seriesName","The name of the series from which the point came, e.g. 'X', 'Y', 'A', etc."],["dygraph","The dygraph object for which the formatting is being done"],["row","The row of the data from which this point comes. g.getValue(row, 0) will return the x-value for this point."],["col","The column of the data from which this point comes. g.getValue(row, col) will return the original y-value for this point. This can be used to get the full confidence interval for the point, or access un-rolled values for the point."]]},pixelsPerYLabel:{"default":"",labels:["Deprecated"],type:"integer",description:"Prefer axes: { y: { pixelsPerLabel } }"},annotationMouseOverHandler:{"default":"null",labels:["Annotations"],type:"function(annotation, point, dygraph, event)",description:"If provided, this function is called whenever the user mouses over an annotation."},annotationMouseOutHandler:{"default":"null",labels:["Annotations"],type:"function(annotation, point, dygraph, event)",parameters:[["annotation","the annotation left"],["point","the point associated with the annotation"],["dygraph","the reference graph"],["event","the mouse event"]],description:"If provided, this function is called whenever the user mouses out of an annotation."},annotationClickHandler:{"default":"null",labels:["Annotations"],type:"function(annotation, point, dygraph, event)",parameters:[["annotation","the annotation left"],["point","the point associated with the annotation"],["dygraph","the reference graph"],["event","the mouse event"]],description:"If provided, this function is called whenever the user clicks on an annotation."},annotationDblClickHandler:{"default":"null",labels:["Annotations"],type:"function(annotation, point, dygraph, event)",parameters:[["annotation","the annotation left"],["point","the point associated with the annotation"],["dygraph","the reference graph"],["event","the mouse event"]],description:"If provided, this function is called whenever the user double-clicks on an annotation."},drawCallback:{"default":"null",labels:["Callbacks"],type:"function(dygraph, is_initial)",parameters:[["dygraph","The graph being drawn"],["is_initial","True if this is the initial draw, false for subsequent draws."]],description:"When set, this callback gets called every time the dygraph is drawn. This includes the initial draw, after zooming and repeatedly while panning."},labelsKMG2:{"default":"false",labels:["Value display/formatting"],type:"boolean",description:"Show k/M/G for kilo/Mega/Giga on y-axis. This is different than <code>labelsKMB</code> in that it uses base 2, not 10."},delimiter:{"default":",",labels:["CSV parsing"],type:"string",description:"The delimiter to look for when separating fields of a CSV file. Setting this to a tab is not usually necessary, since tab-delimited data is auto-detected."},axisLabelFontSize:{"default":"14",labels:["Axis display"],type:"integer",description:"Size of the font (in pixels) to use in the axis labels, both x- and y-axis."},underlayCallback:{"default":"null",labels:["Callbacks"],type:"function(context, area, dygraph)",parameters:[["context","the canvas drawing context on which to draw"],["area","An object with {x,y,w,h} properties describing the drawing area."],["dygraph","the reference graph"]],description:"When set, this callback gets called before the chart is drawn. It details on how to use this."},width:{"default":"480",labels:["Overall display"],type:"integer",description:"Width, in pixels, of the chart. If the container div has been explicitly sized, this will be ignored."},interactionModel:{"default":"...",labels:["Interactive Elements"],type:"Object",description:"TODO(konigsberg): document this"},ticker:{"default":"Dygraph.dateTicker or Dygraph.numericTicks",labels:["Axis display"],type:"function(min, max, pixels, opts, dygraph, vals) -> [{v: ..., label: ...}, ...]",parameters:[["min",""],["max",""],["pixels",""],["opts",""],["dygraph","the reference graph"],["vals",""]],description:"This lets you specify an arbitrary function to generate tick marks on an axis. The tick marks are an array of (value, label) pairs. The built-in functions go to great lengths to choose good tick marks so, if you set this option, you'll most likely want to call one of them and modify the result. See dygraph-tickers.js for an extensive discussion. This is set on a <a href='per-axis.html'>per-axis</a> basis."},xAxisLabelWidth:{"default":"",labels:["Deprecated"],type:"integer",description:"Prefer axes: { x: { axisLabelWidth } }"},xAxisHeight:{"default":"(null)",labels:["Axis display"],type:"integer",description:"Height, in pixels, of the x-axis. If not set explicitly, this is computed based on axisLabelFontSize and axisTickSize."},showLabelsOnHighlight:{"default":"true",labels:["Interactive Elements","Legend"],type:"boolean",description:"Whether to show the legend upon mouseover."},axis:{"default":"(none)",labels:["Axis display"],type:"string",description:"Set to either 'y1' or 'y2' to assign a series to a y-axis (primary or secondary). Must be set per-series."},pixelsPerXLabel:{"default":"",labels:["Deprecated"],type:"integer",description:"Prefer axes { x: { pixelsPerLabel } }"},pixelsPerLabel:{"default":"70 (x-axis) or 30 (y-axes)",labels:["Axis display","Grid"],type:"integer",description:"Number of pixels to require between each x- and y-label. Larger values will yield a sparser axis with fewer ticks. This is set on a <a href='per-axis.html'>per-axis</a> basis."},labelsDiv:{"default":"null",labels:["Legend"],type:"DOM element or string",example:"<code style='font-size: small'>document.getElementById('foo')</code>or<code>'foo'",description:"Show data labels in an external div, rather than on the graph.  This value can either be a div element or a div id."},fractions:{"default":"false",labels:["CSV parsing","Error Bars"],type:"boolean",description:'When set, attempt to parse each cell in the CSV file as "a/b", where a and b are integers. The ratio will be plotted. This allows computation of Wilson confidence intervals (see below).'},logscale:{"default":"false",labels:["Axis display"],type:"boolean",description:"When set for the y-axis or x-axis, the graph shows that axis in log scale. Any values less than or equal to zero are not displayed. Showing log scale with ranges that go below zero will result in an unviewable graph.\n\n Not compatible with showZero. connectSeparatedPoints is ignored. This is ignored for date-based x-axes."},strokeWidth:{"default":"1.0",labels:["Data Line display"],type:"float",example:"0.5, 2.0",description:"The width of the lines connecting data points. This can be used to increase the contrast or some graphs."},strokePattern:{"default":"null",labels:["Data Line display"],type:"array<integer>",example:"[10, 2, 5, 2]",description:"A custom pattern array where the even index is a draw and odd is a space in pixels. If null then it draws a solid line. The array should have a even length as any odd lengthed array could be expressed as a smaller even length array. This is used to create dashed lines."},strokeBorderWidth:{"default":"null",labels:["Data Line display"],type:"float",example:"1.0",description:"Draw a border around graph lines to make crossing lines more easily distinguishable. Useful for graphs with many lines."},strokeBorderColor:{"default":"white",labels:["Data Line display"],type:"string",example:"red, #ccffdd",description:"Color for the line border used if strokeBorderWidth is set."},wilsonInterval:{"default":"true",labels:["Error Bars"],type:"boolean",description:'Use in conjunction with the "fractions" option. Instead of plotting +/- N standard deviations, dygraphs will compute a Wilson confidence interval and plot that. This has more reasonable behavior for ratios close to 0 or 1.'},fillGraph:{"default":"false",labels:["Data Line display"],type:"boolean",description:"Should the area underneath the graph be filled? This option is not compatible with error bars. This may be set on a <a href='per-axis.html'>per-series</a> basis."},highlightCircleSize:{"default":"3",labels:["Interactive Elements"],type:"integer",description:"The size in pixels of the dot drawn over highlighted points."},gridLineColor:{"default":"rgb(128,128,128)",labels:["Grid"],type:"red, blue",description:"The color of the gridlines. This may be set on a per-axis basis to define each axis' grid separately."},gridLinePattern:{"default":"null",labels:["Grid"],type:"array<integer>",example:"[10, 2, 5, 2]",description:"A custom pattern array where the even index is a draw and odd is a space in pixels. If null then it draws a solid line. The array should have a even length as any odd lengthed array could be expressed as a smaller even length array. This is used to create dashed gridlines."},visibility:{"default":"[true, true, ...]",labels:["Data Line display"],type:"Array of booleans",description:"Which series should initially be visible? Once the Dygraph has been constructed, you can access and modify the visibility of each series using the <code>visibility</code> and <code>setVisibility</code> methods."},valueRange:{"default":"Full range of the input is shown",labels:["Axis display"],type:"Array of two numbers",example:"[10, 110]",description:"Explicitly set the vertical range of the graph to [low, high]. This may be set on a per-axis basis to define each y-axis separately. If either limit is unspecified, it will be calculated automatically (e.g. [null, 30] to automatically calculate just the lower bound)"},labelsDivWidth:{"default":"250",labels:["Legend"],type:"integer",description:"Width (in pixels) of the div which shows information on the currently-highlighted points."},colorSaturation:{"default":"1.0",labels:["Data Series Colors"],type:"float (0.0 - 1.0)",description:"If <strong>colors</strong> is not specified, saturation of the automatically-generated data series colors."},yAxisLabelWidth:{"default":"",labels:["Deprecated"],type:"integer",description:"Prefer axes { y: { axisLabelWidth } }"},hideOverlayOnMouseOut:{"default":"true",labels:["Interactive Elements","Legend"],type:"boolean",description:"Whether to hide the legend when the mouse leaves the chart area."},yValueFormatter:{"default":"",labels:["Deprecated"],type:"",description:"Prefer axes: { y: { valueFormatter } }"},legend:{"default":"onmouseover",labels:["Legend"],type:"string",description:'When to display the legend. By default, it only appears when a user mouses over the chart. Set it to "always" to always display a legend of some sort. When set to "follow", legend follows highlighted points.'},labelsShowZeroValues:{"default":"true",labels:["Legend"],type:"boolean",description:"Show zero value labels in the labelsDiv."},stepPlot:{"default":"false",labels:["Data Line display"],type:"boolean",description:"When set, display the graph as a step plot instead of a line plot. This option may either be set for the whole graph or for single series."},labelsUTC:{"default":"false",labels:["Value display/formatting","Axis display"],type:"boolean",description:"Show date/time labels according to UTC (instead of local time)."},labelsKMB:{"default":"false",labels:["Value display/formatting"],type:"boolean",description:"Show K/M/B for thousands/millions/billions on y-axis."},rightGap:{"default":"5",labels:["Overall display"],type:"integer",description:"Number of pixels to leave blank at the right edge of the Dygraph. This makes it easier to highlight the right-most data point."},avoidMinZero:{"default":"false",labels:["Deprecated"],type:"boolean",description:"Deprecated, please use yRangePad instead. When set, the heuristic that fixes the Y axis at zero for a data set with the minimum Y value of zero is disabled. \nThis is particularly useful for data sets that contain many zero values, especially for step plots which may otherwise have lines not visible running along the bottom axis."},drawAxesAtZero:{"default":"false",labels:["Axis display"],type:"boolean",description:"When set, draw the X axis at the Y=0 position and the Y axis at the X=0 position if those positions are inside the graph's visible area. Otherwise, draw the axes at the bottom or left graph edge as usual."},xRangePad:{"default":"0",labels:["Axis display"],type:"float",description:"Add the specified amount of extra space (in pixels) around the X-axis value range to ensure points at the edges remain visible."},yRangePad:{"default":"null",labels:["Axis display"],type:"float",description:"If set, add the specified amount of extra space (in pixels) around the Y-axis value range to ensure points at the edges remain visible. If unset, use the traditional Y padding algorithm."},xAxisLabelFormatter:{"default":"",labels:["Deprecated"],type:"",description:"Prefer axes { x: { axisLabelFormatter } }"},axisLabelFormatter:{"default":"Depends on the data type",labels:["Axis display"],type:"function(number or Date, granularity, opts, dygraph)",parameters:[["number or date","Either a number (for a numeric axis) or a Date object (for a date axis)"],["granularity","specifies how fine-grained the axis is. For date axes, this is a reference to the time granularity enumeration, defined in dygraph-tickers.js, e.g. Dygraph.WEEKLY."],["opts","a function which provides access to various options on the dygraph, e.g. opts('labelsKMB')."],["dygraph","the referenced graph"]],description:"Function to call to format the tick values that appear along an axis. This is usually set on a <a href='per-axis.html'>per-axis</a> basis."},clickCallback:{snippet:"function(e, date_millis){<br>&nbsp;&nbsp;alert(new Date(date_millis));<br>}","default":"null",labels:["Callbacks"],type:"function(e, x, points)",parameters:[["e","The event object for the click"],["x","The x value that was clicked (for dates, this is milliseconds since epoch)"],["points","The closest points along that date. See <a href='#point_properties'>Point properties</a> for details."]],description:"A function to call when the canvas is clicked."},yAxisLabelFormatter:{"default":"",labels:["Deprecated"],type:"",description:"Prefer axes: { y: { axisLabelFormatter } }"},labels:{"default":'["X", "Y1", "Y2", ...]*',labels:["Legend"],type:"array<string>",description:"A name for each data series, including the independent (X) series. For CSV files and DataTable objections, this is determined by context. For raw data, this must be specified. If it is not, default values are supplied and a warning is logged."},dateWindow:{"default":"Full range of the input is shown",labels:["Axis display"],type:"Array of two numbers",example:"[<br>&nbsp;&nbsp;Date.parse('2006-01-01'),<br>&nbsp;&nbsp;(new Date()).valueOf()<br>]",description:"Initially zoom in on a section of the graph. Is of the form [earliest, latest], where earliest/latest are milliseconds since epoch. If the data for the x-axis is numeric, the values in dateWindow must also be numbers."},showRoller:{"default":"false",labels:["Interactive Elements","Rolling Averages"],type:"boolean",description:"If the rolling average period text box should be shown."},sigma:{"default":"2.0",labels:["Error Bars"],type:"float",description:"When errorBars is set, shade this many standard deviations above/below each point."},customBars:{"default":"false",labels:["CSV parsing","Error Bars"],type:"boolean",description:'When set, parse each CSV cell as "low;middle;high". Error bars will be drawn for each point between low and high, with the series itself going through middle.'},colorValue:{"default":"1.0",labels:["Data Series Colors"],type:"float (0.0 - 1.0)",description:"If colors is not specified, value of the data series colors, as in hue/saturation/value. (0.0-1.0, default 0.5)"},errorBars:{"default":"false",labels:["CSV parsing","Error Bars"],type:"boolean",description:"Does the data contain standard deviations? Setting this to true alters the input format (see above)."},displayAnnotations:{"default":"false",labels:["Annotations"],type:"boolean",description:"Only applies when Dygraphs is used as a GViz chart. Causes string columns following a data series to be interpreted as annotations on points in that series. This is the same format used by Google's AnnotatedTimeLine chart."},panEdgeFraction:{"default":"null",labels:["Axis display","Interactive Elements"],type:"float",description:"A value representing the farthest a graph may be panned, in percent of the display. For example, a value of 0.1 means that the graph can only be panned 10% pased the edges of the displayed values. null means no bounds."},title:{labels:["Chart labels"],type:"string","default":"null",description:"Text to display above the chart. You can supply any HTML for this value, not just text. If you wish to style it using CSS, use the 'dygraph-label' or 'dygraph-title' classes."},titleHeight:{"default":"18",labels:["Chart labels"],type:"integer",description:"Height of the chart title, in pixels. This also controls the default font size of the title. If you style the title on your own, this controls how much space is set aside above the chart for the title's div."},xlabel:{labels:["Chart labels"],type:"string","default":"null",description:"Text to display below the chart's x-axis. You can supply any HTML for this value, not just text. If you wish to style it using CSS, use the 'dygraph-label' or 'dygraph-xlabel' classes."},xLabelHeight:{labels:["Chart labels"],type:"integer","default":"18",description:"Height of the x-axis label, in pixels. This also controls the default font size of the x-axis label. If you style the label on your own, this controls how much space is set aside below the chart for the x-axis label's div."},ylabel:{labels:["Chart labels"],type:"string","default":"null",description:"Text to display to the left of the chart's y-axis. You can supply any HTML for this value, not just text. If you wish to style it using CSS, use the 'dygraph-label' or 'dygraph-ylabel' classes. The text will be rotated 90 degrees by default, so CSS rules may behave in unintuitive ways. No additional space is set aside for a y-axis label. If you need more space, increase the width of the y-axis tick labels using the yAxisLabelWidth option. If you need a wider div for the y-axis label, either style it that way with CSS (but remember that it's rotated, so width is controlled by the 'height' property) or set the yLabelWidth option."},y2label:{labels:["Chart labels"],type:"string","default":"null",description:"Text to display to the right of the chart's secondary y-axis. This label is only displayed if a secondary y-axis is present. See <a href='http://dygraphs.com/tests/two-axes.html'>this test</a> for an example of how to do this. The comments for the 'ylabel' option generally apply here as well. This label gets a 'dygraph-y2label' instead of a 'dygraph-ylabel' class."},yLabelWidth:{labels:["Chart labels"],type:"integer","default":"18",description:"Width of the div which contains the y-axis label. Since the y-axis label appears rotated 90 degrees, this actually affects the height of its div."},isZoomedIgnoreProgrammaticZoom:{"default":"false",labels:["Zooming"],type:"boolean",description:"When this option is passed to updateOptions() along with either the <code>dateWindow</code> or <code>valueRange</code> options, the zoom flags are not changed to reflect a zoomed state. This is primarily useful for when the display area of a chart is changed programmatically and also where manual zooming is allowed and use is made of the <code>isZoomed</code> method to determine this."},drawXGrid:{"default":"true",labels:["Grid","Deprecated"],type:"boolean",description:"Use the per-axis option drawGrid instead. Whether to display vertical gridlines under the chart."},drawYGrid:{"default":"true",labels:["Grid","Deprecated"],type:"boolean",description:"Use the per-axis option drawGrid instead. Whether to display horizontal gridlines under the chart."},drawGrid:{"default":"true for x and y, false for y2",labels:["Grid"],type:"boolean",description:"Whether to display gridlines in the chart. This may be set on a per-axis basis to define the visibility of each axis' grid separately."},independentTicks:{"default":"true for y, false for y2",labels:["Axis display","Grid"],type:"boolean",description:"Only valid for y and y2, has no effect on x: This option defines whether the y axes should align their ticks or if they should be independent. Possible combinations: 1.) y=true, y2=false (default): y is the primary axis and the y2 ticks are aligned to the the ones of y. (only 1 grid) 2.) y=false, y2=true: y2 is the primary axis and the y ticks are aligned to the the ones of y2. (only 1 grid) 3.) y=true, y2=true: Both axis are independent and have their own ticks. (2 grids) 4.) y=false, y2=false: Invalid configuration causes an error."},drawXAxis:{"default":"true",labels:["Axis display"],type:"boolean",description:"Deprecated. Use axes : { x : { drawAxis } }."},drawYAxis:{"default":"true",labels:["Axis display"],type:"boolean",description:"Deprecated. Use axes : { y : { drawAxis } }."},drawAxis:{"default":"true for x and y, false for y2",labels:["Axis display"],type:"boolean",description:"Whether to draw the specified axis. This may be set on a per-axis basis to define the visibility of each axis separately. Setting this to false also prevents axis ticks from being drawn and reclaims the space for the chart grid/lines."},gridLineWidth:{"default":"0.3",labels:["Grid"],type:"float",description:"Thickness (in pixels) of the gridlines drawn under the chart. The vertical/horizontal gridlines can be turned off entirely by using the drawXGrid and drawYGrid options. This may be set on a per-axis basis to define each axis' grid separately."},axisLineWidth:{"default":"0.3",labels:["Axis display"],type:"float",description:"Thickness (in pixels) of the x- and y-axis lines."},axisLineColor:{"default":"black",labels:["Axis display"],type:"string",description:"Color of the x- and y-axis lines. Accepts any value which the HTML canvas strokeStyle attribute understands, e.g. 'black' or 'rgb(0, 100, 255)'."},fillAlpha:{"default":"0.15",labels:["Error Bars","Data Series Colors"],type:"float (0.0 - 1.0)",description:"Error bars (or custom bars) for each series are drawn in the same color as the series, but with partial transparency. This sets the transparency. A value of 0.0 means that the error bars will not be drawn, whereas a value of 1.0 means that the error bars will be as dark as the line for the series itself. This can be used to produce chart lines whose thickness varies at each point."},axisLabelColor:{"default":"black",labels:["Axis display"],type:"string",description:"Color for x- and y-axis labels. This is a CSS color string."},axisLabelWidth:{"default":"50 (y-axis), 60 (x-axis)",labels:["Axis display","Chart labels"],type:"integer",description:"Width (in pixels) of the containing divs for x- and y-axis labels. For the y-axis, this also controls the width of the y-axis. Note that for the x-axis, this is independent from pixelsPerLabel, which controls the spacing between labels."
},sigFigs:{"default":"null",labels:["Value display/formatting"],type:"integer",description:"By default, dygraphs displays numbers with a fixed number of digits after the decimal point. If you'd prefer to have a fixed number of significant figures, set this option to that number of sig figs. A value of 2, for instance, would cause 1 to be display as 1.0 and 1234 to be displayed as 1.23e+3."},digitsAfterDecimal:{"default":"2",labels:["Value display/formatting"],type:"integer",description:"Unless it's run in scientific mode (see the <code>sigFigs</code> option), dygraphs displays numbers with <code>digitsAfterDecimal</code> digits after the decimal point. Trailing zeros are not displayed, so with a value of 2 you'll get '0', '0.1', '0.12', '123.45' but not '123.456' (it will be rounded to '123.46'). Numbers with absolute value less than 0.1^digitsAfterDecimal (i.e. those which would show up as '0.00') will be displayed in scientific notation."},maxNumberWidth:{"default":"6",labels:["Value display/formatting"],type:"integer",description:"When displaying numbers in normal (not scientific) mode, large numbers will be displayed with many trailing zeros (e.g. 100000000 instead of 1e9). This can lead to unwieldy y-axis labels. If there are more than <code>maxNumberWidth</code> digits to the left of the decimal in a number, dygraphs will switch to scientific notation, even when not operating in scientific mode. If you'd like to see all those digits, set this to something large, like 20 or 30."},file:{"default":"(set when constructed)",labels:["Data"],type:"string (URL of CSV or CSV), GViz DataTable or 2D Array",description:"Sets the data being displayed in the chart. This can only be set when calling updateOptions; it cannot be set from the constructor. For a full description of valid data formats, see the <a href='http://dygraphs.com/data.html'>Data Formats</a> page."},timingName:{"default":"null",labels:["Debugging"],type:"string",description:"Set this option to log timing information. The value of the option will be logged along with the timimg, so that you can distinguish multiple dygraphs on the same page."},showRangeSelector:{"default":"false",labels:["Interactive Elements"],type:"boolean",description:"Show or hide the range selector widget."},rangeSelectorHeight:{"default":"40",labels:["Interactive Elements"],type:"integer",description:"Height, in pixels, of the range selector widget. This option can only be specified at Dygraph creation time."},rangeSelectorPlotStrokeColor:{"default":"#808FAB",labels:["Interactive Elements"],type:"string",description:'The range selector mini plot stroke color. This can be of the form "#AABBCC" or "rgb(255,100,200)" or "yellow". You can also specify null or "" to turn off stroke.'},rangeSelectorPlotFillColor:{"default":"#A7B1C4",labels:["Interactive Elements"],type:"string",description:'The range selector mini plot fill color. This can be of the form "#AABBCC" or "rgb(255,100,200)" or "yellow". You can also specify null or "" to turn off fill.'},showInRangeSelector:{"default":"null",labels:["Interactive Elements"],type:"boolean",description:"Mark this series for inclusion in the range selector. The mini plot curve will be an average of all such series. If this is not specified for any series, the default behavior is to average all the series. Setting it for one series will result in that series being charted alone in the range selector."},animatedZooms:{"default":"false",labels:["Interactive Elements"],type:"boolean",description:"Set this option to animate the transition between zoom windows. Applies to programmatic and interactive zooms. Note that if you also set a drawCallback, it will be called several times on each zoom. If you set a zoomCallback, it will only be called after the animation is complete."},plotter:{"default":"[DygraphCanvasRenderer.Plotters.fillPlotter, DygraphCanvasRenderer.Plotters.errorPlotter, DygraphCanvasRenderer.Plotters.linePlotter]",labels:["Data Line display"],type:"array or function",description:"A function (or array of functions) which plot each data series on the chart. TODO(danvk): more details! May be set per-series."},axes:{"default":"null",labels:["Configuration"],type:"Object",description:"Defines per-axis options. Valid keys are 'x', 'y' and 'y2'. Only some options may be set on a per-axis basis. If an option may be set in this way, it will be noted on this page. See also documentation on <a href='http://dygraphs.com/per-axis.html'>per-series and per-axis options</a>."},series:{"default":"null",labels:["Series"],type:"Object",description:"Defines per-series options. Its keys match the y-axis label names, and the values are dictionaries themselves that contain options specific to that series. When this option is missing, it falls back on the old-style of per-series options comingled with global options."},plugins:{"default":"[]",labels:["Configuration"],type:"Array<plugin>",description:"Defines per-graph plugins. Useful for per-graph customization"},dataHandler:{"default":"(depends on data)",labels:["Data"],type:"Dygraph.DataHandler",description:"Custom DataHandler. This is an advanced customization. See http://bit.ly/151E7Aq."}},function(){"use strict";var e,t=function(e){window.console&&window.console.warn(e)},n=["type","default","description"],r=["Annotations","Axis display","Chart labels","CSV parsing","Callbacks","Data","Data Line display","Data Series Colors","Error Bars","Grid","Interactive Elements","Legend","Overall display","Rolling Averages","Series","Value display/formatting","Zooming","Debugging","Configuration","Deprecated"],a={};for(e=0;e<r.length;e++)a[r[e]]=!0;for(var o in i.OPTIONS_REFERENCE)if(i.OPTIONS_REFERENCE.hasOwnProperty(o)){var s=i.OPTIONS_REFERENCE[o];for(e=0;e<n.length;e++)s.hasOwnProperty(n[e])?"string"!=typeof s[n[e]]&&t(o+"."+n[e]+" must be of type string"):t("Option "+o+' missing "'+n[e]+'" property');var l=s.labels;if("object"!=typeof l)t('Option "'+o+'" is missing a "labels": [...] option');else for(e=0;e<l.length;e++)a.hasOwnProperty(l[e])||t('Option "'+o+'" has label "'+l[e]+'", which is invalid.')}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
i.DataHandler=function(){},i.DataHandlers={},function(){"use strict";var e=i.DataHandler;e.X=0,e.Y=1,e.EXTRAS=2,e.prototype.extractSeries=function(e,t,n){},e.prototype.seriesToPoints=function(t,n,r){for(var a=[],o=0;o<t.length;++o){var i=t[o],s=i[1],l=null===s?null:e.parseFloat(s),u={x:NaN,y:NaN,xval:e.parseFloat(i[0]),yval:l,name:n,idx:o+r};a.push(u)}return this.onPointsCreated_(t,a),a},e.prototype.onPointsCreated_=function(e,t){},e.prototype.rollingAverage=function(e,t,n){},e.prototype.getExtremeYValues=function(e,t,n){},e.prototype.onLineEvaluated=function(e,t,n){},e.prototype.computeYInterpolation_=function(e,t,n){var r=t[1]-e[1],a=t[0]-e[0],o=r/a,i=(n-e[0])*o;return e[1]+i},e.prototype.getIndexesInWindow_=function(e,t){var n=0,r=e.length-1;if(t){for(var a=0,o=t[0],i=t[1];a<e.length-1&&e[a][0]<o;)n++,a++;for(a=e.length-1;a>0&&e[a][0]>i;)r--,a--}return n<=r?[n,r]:[0,e.length-1]},e.parseFloat=function(e){return null===e?NaN:e}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.DataHandlers.DefaultHandler=function(){};var e=i.DataHandlers.DefaultHandler;e.prototype=new i.DataHandler,e.prototype.extractSeries=function(e,t,n){for(var r=[],a=n.get("logscale"),o=0;o<e.length;o++){var i=e[o][0],s=e[o][t];a&&s<=0&&(s=null),r.push([i,s])}return r},e.prototype.rollingAverage=function(e,t,n){t=Math.min(t,e.length);var r,a,o,i,s,l=[];if(1==t)return e;for(r=0;r<e.length;r++){for(i=0,s=0,a=Math.max(0,r-t+1);a<r+1;a++)o=e[a][1],null===o||isNaN(o)||(s++,i+=e[a][1]);s?l[r]=[e[r][0],i/s]:l[r]=[e[r][0],null]}return l},e.prototype.getExtremeYValues=function(e,t,n){for(var r,a=null,o=null,i=0,s=e.length-1,l=i;l<=s;l++)r=e[l][1],null===r||isNaN(r)||((null===o||r>o)&&(o=r),(null===a||r<a)&&(a=r));return[a,o]}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.DataHandlers.DefaultFractionHandler=function(){};var e=i.DataHandlers.DefaultFractionHandler;e.prototype=new i.DataHandlers.DefaultHandler,e.prototype.extractSeries=function(e,t,n){for(var r,a,o,i,s,l,u=[],c=100,p=n.get("logscale"),d=0;d<e.length;d++)r=e[d][0],o=e[d][t],p&&null!==o&&(o[0]<=0||o[1]<=0)&&(o=null),null!==o?(i=o[0],s=o[1],null===i||isNaN(i)?u.push([r,i,[i,s]]):(l=s?i/s:0,a=c*l,u.push([r,a,[i,s]]))):u.push([r,null,[null,null]]);return u},e.prototype.rollingAverage=function(e,t,n){t=Math.min(t,e.length);var r,a=[],o=0,i=0,s=100;for(r=0;r<e.length;r++){o+=e[r][2][0],i+=e[r][2][1],r-t>=0&&(o-=e[r-t][2][0],i-=e[r-t][2][1]);var l=e[r][0],u=i?o/i:0;a[r]=[l,s*u]}return a}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.DataHandlers.BarsHandler=function(){i.DataHandler.call(this)},i.DataHandlers.BarsHandler.prototype=new i.DataHandler;var e=i.DataHandlers.BarsHandler;e.prototype.extractSeries=function(e,t,n){},e.prototype.rollingAverage=function(e,t,n){},e.prototype.onPointsCreated_=function(e,t){for(var n=0;n<e.length;++n){var r=e[n],a=t[n];a.y_top=NaN,a.y_bottom=NaN,a.yval_minus=i.DataHandler.parseFloat(r[2][0]),a.yval_plus=i.DataHandler.parseFloat(r[2][1])}},e.prototype.getExtremeYValues=function(e,t,n){for(var r,a=null,o=null,i=0,s=e.length-1,l=i;l<=s;l++)if(r=e[l][1],null!==r&&!isNaN(r)){var u=e[l][2][0],c=e[l][2][1];u>r&&(u=r),c<r&&(c=r),(null===o||c>o)&&(o=c),(null===a||u<a)&&(a=u)}return[a,o]},e.prototype.onLineEvaluated=function(e,t,n){for(var r,o=0;o<e.length;o++)r=e[o],r.y_top=a.calcYNormal_(t,r.yval_minus,n),r.y_bottom=a.calcYNormal_(t,r.yval_plus,n)}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.DataHandlers.CustomBarsHandler=function(){};var e=i.DataHandlers.CustomBarsHandler;e.prototype=new i.DataHandlers.BarsHandler,e.prototype.extractSeries=function(e,t,n){for(var r,a,o,i=[],s=n.get("logscale"),l=0;l<e.length;l++)r=e[l][0],o=e[l][t],s&&null!==o&&(o[0]<=0||o[1]<=0||o[2]<=0)&&(o=null),null!==o?(a=o[1],null===a||isNaN(a)?i.push([r,a,[a,a]]):i.push([r,a,[o[0],o[2]]])):i.push([r,null,[null,null]]);return i},e.prototype.rollingAverage=function(e,t,n){t=Math.min(t,e.length);var r,a,o,i,s,l,u,c=[];for(a=0,i=0,o=0,s=0,l=0;l<e.length;l++){if(r=e[l][1],u=e[l][2],c[l]=e[l],null===r||isNaN(r)||(a+=u[0],i+=r,o+=u[1],s+=1),l-t>=0){var p=e[l-t];null===p[1]||isNaN(p[1])||(a-=p[2][0],i-=p[1],o-=p[2][1],s-=1)}s?c[l]=[e[l][0],1*i/s,[1*a/s,1*o/s]]:c[l]=[e[l][0],null,[null,null]]}return c}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.DataHandlers.ErrorBarsHandler=function(){};var e=i.DataHandlers.ErrorBarsHandler;e.prototype=new i.DataHandlers.BarsHandler,e.prototype.extractSeries=function(e,t,n){for(var r,a,o,i,s=[],l=n.get("sigma"),u=n.get("logscale"),c=0;c<e.length;c++)r=e[c][0],i=e[c][t],u&&null!==i&&(i[0]<=0||i[0]-l*i[1]<=0)&&(i=null),null!==i?(a=i[0],null===a||isNaN(a)?s.push([r,a,[a,a,a]]):(o=l*i[1],s.push([r,a,[a-o,a+o,i[1]]]))):s.push([r,null,[null,null,null]]);return s},e.prototype.rollingAverage=function(e,t,n){t=Math.min(t,e.length);var r,a,o,i,s,l,u,c,p,d=[],h=n.get("sigma");for(r=0;r<e.length;r++){for(s=0,c=0,l=0,a=Math.max(0,r-t+1);a<r+1;a++)o=e[a][1],null===o||isNaN(o)||(l++,s+=o,c+=Math.pow(e[a][2][2],2));l?(u=Math.sqrt(c)/l,p=s/l,d[r]=[e[r][0],p,[p-h*u,p+h*u]]):(i=1==t?e[r][1]:null,d[r]=[e[r][0],i,[i,i]])}return d}}(),/**
	 * @license
	 * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
	 * MIT-licensed (http://opensource.org/licenses/MIT)
	 */
function(){"use strict";i.DataHandlers.FractionsBarsHandler=function(){};var e=i.DataHandlers.FractionsBarsHandler;e.prototype=new i.DataHandlers.BarsHandler,e.prototype.extractSeries=function(e,t,n){for(var r,a,o,i,s,l,u,c,p=[],d=100,h=n.get("sigma"),f=n.get("logscale"),g=0;g<e.length;g++)r=e[g][0],o=e[g][t],f&&null!==o&&(o[0]<=0||o[1]<=0)&&(o=null),null!==o?(i=o[0],s=o[1],null===i||isNaN(i)?p.push([r,i,[i,i,i,s]]):(l=s?i/s:0,u=s?h*Math.sqrt(l*(1-l)/s):1,c=d*u,a=d*l,p.push([r,a,[a-c,a+c,i,s]]))):p.push([r,null,[null,null,null,null]]);return p},e.prototype.rollingAverage=function(e,t,n){t=Math.min(t,e.length);var r,a,o,i,s=[],l=n.get("sigma"),u=n.get("wilsonInterval"),c=0,p=0,d=100;for(o=0;o<e.length;o++){c+=e[o][2][2],p+=e[o][2][3],o-t>=0&&(c-=e[o-t][2][2],p-=e[o-t][2][3]);var h=e[o][0],f=p?c/p:0;if(u)if(p){var g=f<0?0:f,v=p,y=l*Math.sqrt(g*(1-g)/v+l*l/(4*v*v)),m=1+l*l/p;r=(g+l*l/(2*p)-y)/m,a=(g+l*l/(2*p)+y)/m,s[o]=[h,g*d,[r*d,a*d]]}else s[o]=[h,0,[0,0]];else i=p?l*Math.sqrt(f*(1-f)/p):1,s[o]=[h,d*f,[d*(f-i),d*(f+i)]]}return s}}()},function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return a(e.replace(o,"ms-"))}var a=n(226),o=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!a(e)&&(a(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var a=n(236);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?i(!1):void 0,"number"!=typeof t?i(!1):void 0,0===t||t-1 in e?void 0:i(!1),"function"==typeof e.callee?i(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(n){}for(var r=Array(t),a=0;a<t;a++)r[a]=e[a];return r}function a(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function o(e){return a(e)?Array.isArray(e)?e.slice():r(e):[e]}var i=n(1);e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function a(e,t){var n=u;u?void 0:l(!1);var a=r(e),o=a&&s(a);if(o){n.innerHTML=o[1]+e+o[2];for(var c=o[0];c--;)n=n.lastChild}else n.innerHTML=e;var p=n.getElementsByTagName("script");p.length&&(t?void 0:l(!1),i(p).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var o=n(7),i=n(229),s=n(231),l=n(1),u=o.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=a},function(e,t,n){"use strict";function r(e){return i?void 0:o(!1),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?i.innerHTML="<link />":i.innerHTML="<"+e+"></"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var a=n(7),o=n(1),i=a.canUseDOM?document.createElement("div"):null,s={},l=[1,'<select multiple="true">',"</select>"],u=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},h=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];h.forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return a(e).replace(o,"-ms-")}var a=n(233),o=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return a(e)&&3==e.nodeType}var a=n(235);e.exports=r},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){var r,a,o=o||function(e){"use strict";if(!("undefined"==typeof e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in r,o=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement),s=/CriOS\/[\d]+/.test(navigator.userAgent),l=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},u="application/octet-stream",c=4e4,p=function(e){var t=function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()};setTimeout(t,c)},d=function(e,t,n){t=[].concat(t);for(var r=t.length;r--;){var a=e["on"+t[r]];if("function"==typeof a)try{a.call(e,n||e)}catch(o){l(o)}}},h=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,l,c){c||(t=h(t));var f,g=this,v=t.type,y=v===u,m=function(){d(g,"writestart progress write writeend".split(" "))},_=function(){if((s||y&&i)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=s?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;"),n=e.open(t,"_blank");n||(e.location.href=t),t=void 0,g.readyState=g.DONE,m()},r.readAsDataURL(t),void(g.readyState=g.INIT)}if(f||(f=n().createObjectURL(t)),y)e.location.href=f;else{var a=e.open(f,"_blank");a||(e.location.href=f)}g.readyState=g.DONE,m(),p(f)};return g.readyState=g.INIT,a?(f=n().createObjectURL(t),void setTimeout(function(){r.href=f,r.download=l,o(r),m(),p(f),g.readyState=g.DONE})):void _()},g=f.prototype,v=function(e,t,n){return new f(e,t||e.name||"download",n)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=h(e)),navigator.msSaveOrOpenBlob(e,t)}:(g.abort=function(){},g.readyState=g.INIT=0,g.WRITING=1,g.DONE=2,g.error=g.onwritestart=g.onprogress=g.onwrite=g.onabort=g.onerror=g.onwriteend=null,v)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof e&&e.exports?e.exports.saveAs=o:null!==n(470)&&null!==n(471)&&(r=[],a=function(){return o}.apply(t,r),!(void 0!==a&&(e.exports=a)))},function(e,t){var n=6371,r=function(e){return e*Math.PI/180},a=function(e,t){var a=e[0],o=e[1],i=t[0],s=t[1],l=r(i-a),u=r(s-o),a=r(a),i=r(i),c=Math.pow(Math.sin(l/2),2)+Math.pow(Math.sin(u/2),2)*Math.cos(a)*Math.cos(i),p=2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c));return n*p},o=function(e){return e.reduce(function(e,t){var n=null===e.lastPoint?0:a(e.lastPoint,t);return{lastPoint:t,distance:n+e.distance}},{lastPoint:null,distance:0}).distance};e.exports=function(e,t,n,r){return"number"==typeof e?a([e,t],[n,r]):o(e)}},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},a="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,o){if("string"!=typeof t){var i=Object.getOwnPropertyNames(t);a&&(i=i.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;++s)if(!(n[i[s]]||r[i[s]]||o&&o[i[s]]))try{e[i[s]]=t[i[s]]}catch(l){}}return e}},function(e,t,n){"use strict";var r=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){var r=n(22),a=n(8),o=r(a,"DataView");e.exports=o},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(304),o=n(305),i=n(306),s=n(307),l=n(308);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){var r=n(22),a=n(8),o=r(a,"Promise");e.exports=o},function(e,t,n){var r=n(22),a=n(8),o=r(a,"Set");e.exports=o},function(e,t){function n(e,t){return e.set(t[0],t[1]),e}e.exports=n},function(e,t){function n(e,t){return e.add(t),e}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}e.exports=n},function(e,t){function n(e,t,n){for(var r=-1,a=e?e.length:0;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(140),a=r("length");e.exports=a},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t,n){function r(e,t,n,r){var p=-1,d=o,h=!0,f=e.length,g=[],v=t.length;if(!f)return g;n&&(t=s(t,l(n))),r?(d=i,h=!1):t.length>=c&&(d=u,h=!1,t=new a(t));e:for(;++p<f;){var y=e[p],m=n?n(y):y;if(y=r||0!==y?y:0,h&&m===m){for(var _=v;_--;)if(t[_]===m)continue e;g.push(y)}else d(t,m,r)||g.push(y)}return g}var a=n(127),o=n(130),i=n(249),s=n(50),l=n(143),u=n(144),c=200;e.exports=r},function(e,t,n){function r(e,t){var n=[];return a(e,function(e,r,a){t(e,r,a)&&n.push(e)}),n}var a=n(76);e.exports=r},function(e,t){function n(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}e.exports=n},function(e,t,n){function r(e,t,n,i,s){var l=-1,u=e.length;for(n||(n=o),s||(s=[]);++l<u;){var c=e[l];t>0&&n(c)?t>1?r(c,t-1,n,i,s):a(s,c):i||(s[s.length]=c)}return s}var a=n(51),o=n(313);e.exports=r},function(e,t,n){var r=n(291),a=r();e.exports=a},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):a(e,o,n)}var a=n(255),o=n(263),i=n(342);e.exports=r},function(e,t,n){function r(e,t,n,r,g,y){var m=u(e),_=u(t),b=h,x=h;m||(b=l(e),b=b==d?f:b),_||(x=l(t),x=x==d?f:x);var w=b==f,C=x==f,E=b==x;if(E&&!w)return y||(y=new a),m||c(e)?o(e,t,n,r,g,y):i(e,t,b,n,r,g,y);if(!(g&p)){var A=w&&v.call(e,"__wrapped__"),T=C&&v.call(t,"__wrapped__");if(A||T){var S=A?e.value():e,P=T?t.value():t;return y||(y=new a),n(S,P,r,g,y)}}return!!E&&(y||(y=new a),s(e,t,n,r,g,y))}var a=n(74),o=n(152),i=n(295),s=n(296),l=n(158),u=n(6),c=n(364),p=2,d="[object Arguments]",h="[object Array]",f="[object Object]",g=Object.prototype,v=g.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var p=n[l];if(c&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++l<u;){p=n[l];var d=p[0],h=e[d],f=p[1];if(c&&p[2]){if(void 0===h&&!(d in e))return!1}else{var g=new a;if(r)var v=r(h,f,d,e,t,g);if(!(void 0===v?o(f,h,r,i|s,g):v))return!1}}return!0}var a=n(74),o=n(137),i=1,s=2;e.exports=r},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t,n){function r(e){if(!i(e)||o(e))return!1;var t=a(e)?f:u;return t.test(s(e))}var a=n(60),o=n(316),i=n(10),s=n(169),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,d=c.toString,h=p.hasOwnProperty,f=RegExp("^"+d.call(h).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return o(e)&&a(e.length)&&!!D[M.call(e)]}var a=n(94),o=n(25),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",p="[object Function]",d="[object Map]",h="[object Number]",f="[object Object]",g="[object RegExp]",v="[object Set]",y="[object String]",m="[object WeakMap]",_="[object ArrayBuffer]",b="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",C="[object Int8Array]",E="[object Int16Array]",A="[object Int32Array]",T="[object Uint8Array]",S="[object Uint8ClampedArray]",P="[object Uint16Array]",O="[object Uint32Array]",D={};D[x]=D[w]=D[C]=D[E]=D[A]=D[T]=D[S]=D[P]=D[O]=!0,D[i]=D[s]=D[_]=D[l]=D[b]=D[u]=D[c]=D[p]=D[d]=D[h]=D[f]=D[g]=D[v]=D[y]=D[m]=!1;var k=Object.prototype,M=k.toString;e.exports=r},function(e,t,n){function r(e){if(!a(e))return i(e);var t=o(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var a=n(10),o=n(85),i=n(331),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=-1,r=o(e)?Array(e.length):[];return a(e,function(e,a,o){r[++n]=t(e,a,o)}),r}var a=n(76),o=n(35);e.exports=r},function(e,t,n){function r(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}var a=n(262),o=n(299),i=n(161);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?u(c(e),t):function(n){var r=o(n,e);return void 0===r&&r===t?i(n,e):a(t,r,void 0,p|d)}}var a=n(137),o=n(92),i=n(361),s=n(33),l=n(159),u=n(161),c=n(23),p=1,d=2;e.exports=r},function(e,t,n){function r(e,t){return e=Object(e),a(e,t,function(t,n){return n in e})}var a=n(139);e.exports=r},function(e,t,n){function r(e){return function(t){return a(t,e)}}var a=n(77);e.exports=r},function(e,t){function n(e,t){var n="";if(!e||t<1||t>r)return n;do t%2&&(n+=e),t=a(t/2),t&&(e+=e);while(t);return n}var r=9007199254740991,a=Math.floor;e.exports=n},function(e,t,n){function r(e,t){return i(o(e,t,a),e+"")}var a=n(34),o=n(163),i=n(88);e.exports=r},function(e,t,n){function r(e,t,n,r){if(!l(e))return e;t=s(t,e)?[t]:o(t);for(var c=-1,p=t.length,d=p-1,h=e;null!=h&&++c<p;){var f=u(t[c]),g=n;if(c!=d){var v=h[f];g=r?r(v,f,h):void 0,void 0===g&&(g=l(v)?v:i(t[c+1])?[]:{})}a(h,f,g),h=h[f]}return e}var a=n(75),o=n(79),i=n(58),s=n(33),l=n(10),u=n(23);e.exports=r},function(e,t,n){var r=n(350),a=n(34),o=n(329),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a;e.exports=i},function(e,t){function n(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++r<a;)o[r]=e[r+t];return o}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e,t,n,r){return o(e,t,n(a(e,t)),r)}var a=n(77),o=n(274);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:a}var a=n(34);e.exports=r},function(e,t){function n(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}e.exports=n},function(e,t,n){function r(e,t){var n=t?a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var a=n(80);e.exports=r},function(e,t,n){function r(e,t,n){var r=t?n(i(e),!0):i(e);return o(r,a,new e.constructor)}var a=n(246),o=n(132),i=n(160);e.exports=r},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e,t,n){var r=t?n(i(e),!0):i(e);return o(r,a,new e.constructor)}var a=n(247),o=n(132),i=n(165);e.exports=r},function(e,t,n){function r(e){return i?Object(i.call(e)):{}}var a=n(47),o=a?a.prototype:void 0,i=o?o.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t){var n=t?a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var a=n(80);e.exports=r},function(e,t,n){function r(e,t){return a(e,o(e),t)}var a=n(148),o=n(83);e.exports=r},function(e,t,n){var r=n(8),a=r["__core-js_shared__"];e.exports=a},function(e,t){function n(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!a(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&r(s[i],i,s)!==!1;);return n}}var a=n(35);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),s=i.length;s--;){var l=i[e?s:++a];if(n(o[l],l,o)===!1)break}return t}}e.exports=n},function(e,t,n){function r(e,t,n){function r(){var t=this&&this!==o&&this instanceof r?l:e;return t.apply(s?n:this,arguments)}var s=t&i,l=a(e);return r}var a=n(56),o=n(8),i=1;e.exports=r},function(e,t,n){function r(e,t,n){function r(){for(var o=arguments.length,d=Array(o),h=o,f=l(r);h--;)d[h]=arguments[h];var g=o<3&&d[0]!==f&&d[o-1]!==f?[]:u(d,f);if(o-=g.length,o<n)return s(e,t,i,r.placeholder,void 0,d,g,void 0,void 0,n-o);var v=this&&this!==c&&this instanceof r?p:e;return a(v,this,d)}var p=o(e);return r}var a=n(48),o=n(56),i=n(149),s=n(151),l=n(157),u=n(87),c=n(8);e.exports=r},function(e,t,n){function r(e,t,n,r){function l(){for(var t=-1,o=arguments.length,s=-1,p=r.length,d=Array(p+o),h=this&&this!==i&&this instanceof l?c:e;++s<p;)d[s]=r[s];for(;o--;)d[s++]=arguments[++t];return a(h,u?n:this,d)}var u=t&s,c=o(e);return l}var a=n(48),o=n(56),i=n(8),s=1;e.exports=r},function(e,t,n){function r(e,t,n,r,a,C,A){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!r(new o(e),new o(t)));case d:case h:case v:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case y:case _:return e==t+"";case g:var T=l;case m:var S=C&p;if(T||(T=u),e.size!=t.size&&!S)return!1;var P=A.get(e);if(P)return P==t;C|=c,A.set(e,t);var O=s(T(e),T(t),r,a,C,A);return A["delete"](e),O;case b:if(E)return E.call(e)==E.call(t)}return!1}var a=n(47),o=n(128),i=n(90),s=n(152),l=n(160),u=n(165),c=1,p=2,d="[object Boolean]",h="[object Date]",f="[object Error]",g="[object Map]",v="[object Number]",y="[object RegExp]",m="[object Set]",_="[object String]",b="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",C=a?a.prototype:void 0,E=C?C.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,i,l){var u=i&o,c=a(e),p=c.length,d=a(t),h=d.length;if(p!=h&&!u)return!1;for(var f=p;f--;){var g=c[f];if(!(u?g in t:s.call(t,g)))return!1}var v=l.get(e);if(v&&l.get(t))return v==t;var y=!0;l.set(e,t),l.set(t,e);for(var m=u;++f<p;){g=c[f];var _=e[g],b=t[g];if(r)var x=u?r(b,_,g,t,e,l):r(_,b,g,e,t,l);if(!(void 0===x?_===b||n(_,b,r,i,l):x)){y=!1;break}m||(m="constructor"==g)}if(y&&!m){var w=e.constructor,C=t.constructor;w!=C&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof C&&C instanceof C)&&(y=!1)}return l["delete"](e),l["delete"](t),y}var a=n(26),o=2,i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return a(e,i,o)}var a=n(136),o=n(83),i=n(26);e.exports=r},function(e,t,n){function r(e){for(var t=e.name+"",n=a[t],r=i.call(a,t)?n.length:0;r--;){var o=n[r],s=o.func;if(null==s||s==e)return o.name}return t}var a=n(333),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){for(var t=o(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,a(i)]}return t}var a=n(159),o=n(26);e.exports=r},function(e,t,n){var r=n(51),a=n(82),o=n(83),i=n(178),s=Object.getOwnPropertySymbols,l=s?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=l},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t){function n(e){var t=e.match(r);return t?t[1].split(a):[]}var r=/\{\n\/\* \[wrapped with (.+)\] \*/,a=/,? & /;e.exports=n},function(e,t,n){function r(e,t,n){t=l(t,e)?[t]:a(t);for(var r=-1,p=t.length,d=!1;++r<p;){var h=c(t[r]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++r!=p?d:(p=e?e.length:0,!!p&&u(p)&&s(h,p)&&(i(e)||o(e)))}var a=n(79),o=n(93),i=n(6),s=n(58),l=n(33),u=n(94),c=n(23);e.exports=r},function(e,t,n){function r(){this.__data__=a?a(null):{},this.size=0}var a=n(59);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(a){var n=t[e];return n===o?void 0:n}return s.call(t,e)?t[e]:void 0}var a=n(59),o="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return a?void 0!==t[e]:i.call(t,e)}var a=n(59),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=a&&void 0===t?o:t,this}var a=n(59),o="__lodash_hash_undefined__";e.exports=r},function(e,t){function n(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&a.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,a=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n,r){var D=e.constructor;switch(t){case _:return a(e);case p:case d:return new D((+e));case b:return o(e,r);case x:case w:case C:case E:case A:case T:case S:case P:case O:return c(e,r);case h:return i(e,r,n);case f:case y:return new D(e);case g:return s(e);case v:return l(e,r,n);case m:return u(e)}}var a=n(80),o=n(281),i=n(282),s=n(283),l=n(284),u=n(285),c=n(286),p="[object Boolean]",d="[object Date]",h="[object Map]",f="[object Number]",g="[object RegExp]",v="[object Set]",y="[object String]",m="[object Symbol]",_="[object ArrayBuffer]",b="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",C="[object Int8Array]",E="[object Int16Array]",A="[object Int32Array]",T="[object Uint8Array]",S="[object Uint8ClampedArray]",P="[object Uint16Array]",O="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||i(e)?{}:a(o(e))}var a=n(54),o=n(82),i=n(85);e.exports=r},function(e,t){function n(e,t){var n=t.length;if(!n)return e;var a=n-1;return t[a]=(n>1?"& ":"")+t[a],t=t.join(n>2?", ":" "),e.replace(r,"{\n/* [wrapped with "+t+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=n},function(e,t,n){function r(e){return i(e)||o(e)||!!(s&&e&&e[s])}var a=n(47),o=n(93),i=n(6),s=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){var t=i(e),n=s[t];if("function"!=typeof n||!(t in a.prototype))return!1;if(e===n)return!0;var r=o(n);return!!r&&e===r[0]}var a=n(71),o=n(156),i=n(298),s=n(382);e.exports=r},function(e,t,n){function r(e){return!!o&&o in e}var a=n(288),o=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():i.call(t,n,1),--this.size,!0}var a=n(52),o=Array.prototype,i=o.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}var a=n(52);e.exports=r},function(e,t,n){function r(e){return a(this.__data__,e)>-1}var a=n(52);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var a=n(52);e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new a,map:new(i||o),string:new a}}var a=n(243),o=n(46),i=n(72);e.exports=r},function(e,t,n){function r(e){var t=a(this,e)["delete"](e);return this.size-=t?1:0,t}var a=n(57);e.exports=r},function(e,t,n){function r(e){return a(this,e).get(e)}var a=n(57);e.exports=r},function(e,t,n){function r(e){return a(this,e).has(e)}var a=n(57);e.exports=r},function(e,t,n){function r(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var a=n(57);e.exports=r},function(e,t,n){function r(e){var t=a(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}var a=n(368),o=500;e.exports=r},function(e,t,n){function r(e,t){var n=e[1],r=t[1],g=n|r,v=g<(l|u|d),y=r==d&&n==p||r==d&&n==h&&e[7].length<=t[8]||r==(d|h)&&t[7].length<=t[8]&&n==p;if(!v&&!y)return e;r&l&&(e[2]=t[2],g|=n&l?0:c);var m=t[3];if(m){var _=e[3];e[3]=_?a(_,m,t[4]):m,e[4]=_?i(e[3],s):t[4]}return m=t[5],m&&(_=e[5],e[5]=_?o(_,m,t[6]):m,e[6]=_?i(e[5],s):t[6]),m=t[7],m&&(e[7]=m),r&d&&(e[8]=null==e[8]?t[8]:f(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=g,e}var a=n(146),o=n(147),i=n(87),s="__lodash_placeholder__",l=1,u=2,c=4,p=8,d=128,h=256,f=Math.min;e.exports=r},function(e,t,n){var r=n(22),a=r(Object,"defineProperty");e.exports=a},function(e,t,n){var r=n(86),a=r(Object.keys,Object);e.exports=a},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){var r=n(154),a="object"==typeof t&&t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a,s=i&&r.process,l=function(){try{return s&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n(216)(e))},function(e,t){var n={};e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length,r=i(t.length,n),s=a(e);r--;){var l=t[r];e[r]=o(l,n)?s[l]:void 0}return e}var a=n(55),o=n(58),i=Math.min;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(){this.__data__=new a,this.size=0}var a=n(46);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}var a=n(46),o=n(72),i=n(73),s=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){return o(e)?i(e):a(e)}var a=n(252),o=n(84),i=n(345);e.exports=r},function(e,t){function n(e){for(var t=b.lastIndex=0;b.test(e);)++t;return t}var r="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe23",o="\\u20d0-\\u20f0",i="\\ufe0e\\ufe0f",s="["+r+"]",l="["+a+o+"]",u="\\ud83c[\\udffb-\\udfff]",c="(?:"+l+"|"+u+")",p="[^"+r+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",f="\\u200d",g=c+"?",v="["+i+"]?",y="(?:"+f+"(?:"+[p,d,h].join("|")+")"+v+g+")*",m=v+g+y,_="(?:"+[p+l+"?",l,d,h,s].join("|")+")",b=RegExp(u+"(?="+u+")|"+_+m,"g");e.exports=n},function(e,t){function n(e){return e.match(b)||[]}var r="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe23",o="\\u20d0-\\u20f0",i="\\ufe0e\\ufe0f",s="["+r+"]",l="["+a+o+"]",u="\\ud83c[\\udffb-\\udfff]",c="(?:"+l+"|"+u+")",p="[^"+r+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",f="\\u200d",g=c+"?",v="["+i+"]?",y="(?:"+f+"(?:"+[p,d,h].join("|")+")"+v+g+")*",m=v+g+y,_="(?:"+[p+l+"?",l,d,h,s].join("|")+")",b=RegExp(u+"(?="+u+")|"+_+m,"g");e.exports=n},function(e,t,n){function r(e,t){return a(g,function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)}),e.sort()}var a=n(49),o=n(130),i=1,s=2,l=8,u=16,c=32,p=64,d=128,h=256,f=512,g=[["ary",d],["bind",i],["bindKey",s],["curry",l],["curryRight",u],["flip",f],["partial",c],["partialRight",p],["rearg",h]];e.exports=r},function(e,t,n){function r(e){if(e instanceof a)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var a=n(71),o=n(126),i=n(55);e.exports=r},function(e,t,n){function r(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,a(e,o,void 0,void 0,void 0,void 0,t)}var a=n(81),o=128;e.exports=r},function(e,t,n){function r(e){return a(e,!1,!0)}var a=n(134);e.exports=r},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){function r(e,t,n){t=n?void 0:t;var i=a(e,o,void 0,void 0,void 0,void 0,void 0,t);return i.placeholder=r.placeholder,i}var a=n(81),o=8;r.placeholder={},e.exports=r},function(e,t,n){function r(e,t,n){function r(t){var n=m,r=_;return m=_=void 0,E=t,x=e.apply(r,n)}function c(e){return E=e,w=setTimeout(h,t),A?r(e):x}function p(e){var n=e-C,r=e-E,a=t-n;return T?u(a,b-r):a}function d(e){var n=e-C,r=e-E;return void 0===C||n>=t||n<0||T&&r>=b}function h(){var e=o();return d(e)?f(e):void(w=setTimeout(h,p(e)))}function f(e){return w=void 0,S&&m?r(e):(m=_=void 0,x)}function g(){void 0!==w&&clearTimeout(w),E=0,m=C=_=w=void 0}function v(){return void 0===w?x:f(o())}function y(){var e=o(),n=d(e);if(m=arguments,_=this,C=e,n){if(void 0===w)return c(C);if(T)return w=setTimeout(h,t),r(C)}return void 0===w&&(w=setTimeout(h,t)),x}var m,_,b,x,w,C,E=0,A=!1,T=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,a(n)&&(A=!!n.leading,T="maxWait"in n,b=T?l(i(n.maxWait)||0,t):b,S="trailing"in n?!!n.trailing:S),y.cancel=g,y.flush=v,y}var a=n(10),o=n(370),i=n(179),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},function(e,t,n){function r(e){var t=e?e.length:0;return t?a(e,1):[]}var a=n(256);e.exports=r},function(e,t,n){function r(e,t){var n=s(e)?a:o;return n(e,i(t,3))}var a=n(49),o=n(76),i=n(21),s=n(6);e.exports=r},function(e,t,n){function r(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}function a(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function o(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function i(e){return function(t){return e({},t)}}function s(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var a=r[0]=t.apply(void 0,r);return e.apply(void 0,r),a}}}function l(e,t,n,d){function h(e,t){if(S.cap){var n=u.iterateeRearg[e];if(n)return x(t,n);var r=!A&&u.iterateeAry[e];if(r)return b(t,r)}return t}function f(e,t,n){return P||S.curry&&n>1?F(t,n):t}function g(e,t,n){if(S.fixed&&(O||!u.skipFixed[e])){var r=u.methodSpread[e],a=r&&r.start;return void 0===a?I(t,n):V(t,a)}return t}function v(e,t,n){return S.rearg&&n>1&&(D||!u.skipRearg[e])?B(t,u.methodRearg[e]||u.aryRearg[n]):t}function y(e,t){t=Y(t);for(var n=-1,r=t.length,a=r-1,o=L(Object(e)),i=o;null!=i&&++n<r;){var s=t[n],l=i[s];null!=l&&(i[t[n]]=L(n==a?l:Object(l))),i=i[s]}return o}function m(e){return K.runInContext.convert(e)(void 0)}function _(e,t){var n=d;return function(r){var a=A?M:R,o=A?M[e]:t,i=N(N({},n),r);return l(a,e,o,i)}}function b(e,t){return w(e,function(e){return"function"==typeof e?a(e,t):e})}function x(e,t){return w(e,function(e){var n=t.length;return r(B(a(e,n),t),n)})}function w(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var a=S.rearg?0:n-1;return r[a]=t(r[a]),e.apply(void 0,r)}}function C(e,t){e=u.aliasToReal[e]||e;var n,r=t,a=X[e];return a?r=a(t):S.immutable&&(c.array[e]?r=s(t,o):c.object[e]?r=s(t,i(t)):c.set[e]&&(r=s(t,y))),j(G,function(t){return j(u.aryMethod[t],function(a){if(e==a){var o=u.methodSpread[e],i=o&&o.afterRearg;return n=i?g(e,v(e,r,t),t):v(e,g(e,r,t),t),n=h(e,n),n=f(e,n,t),!1}}),!n}),n||(n=r),n==t&&(n=P?F(n,1):function(){return t.apply(this,arguments)}),n.convert=_(e,t),u.placeholder[e]&&(E=!0,n.placeholder=t.placeholder=k),n}var E,A="function"==typeof t,T=t===Object(t);if(T&&(d=n,n=t,t=void 0),null==n)throw new TypeError;d||(d={});var S={cap:!("cap"in d)||d.cap,curry:!("curry"in d)||d.curry,fixed:!("fixed"in d)||d.fixed,immutable:!("immutable"in d)||d.immutable,rearg:!("rearg"in d)||d.rearg},P="curry"in d&&d.curry,O="fixed"in d&&d.fixed,D="rearg"in d&&d.rearg,k=A?n:p,M=A?n.runInContext():void 0,R=A?n:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isFunction:e.isFunction,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,spread:e.spread,toInteger:e.toInteger,toPath:e.toPath},I=R.ary,N=R.assign,L=R.clone,F=R.curry,j=R.forEach,U=R.isArray,W=R.isFunction,H=R.keys,B=R.rearg,V=R.spread,z=R.toInteger,Y=R.toPath,G=H(u.aryMethod),X={
castArray:function(e){return function(){var t=arguments[0];return U(t)?e(o(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[0],n=arguments[1],r=e(t,n),o=r.length;return S.cap&&"number"==typeof n?(n=n>2?n-2:1,o&&o<=n?r:a(r,n)):r}},mixin:function(e){return function(t){var n=this;if(!W(n))return e(n,Object(t));var r=[];return j(H(t),function(e){W(t[e])&&r.push([e,n.prototype[e]])}),e(n,Object(t)),j(r,function(e){var t=e[1];W(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]}),n}},nthArg:function(e){return function(t){var n=t<0?1:z(t)+1;return F(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return F(e(t,n),r)}},runInContext:function(t){return function(n){return l(e,t(n),d)}}};if(!T)return C(t,n);var K=n,Z=[];return j(G,function(e){j(u.aryMethod[e],function(e){var t=K[u.remap[e]||e];t&&Z.push([e,C(e,t)])})}),j(H(K),function(e){var t=K[e];if("function"==typeof t){for(var n=Z.length;n--;)if(Z[n][0]==e)return;t.convert=_(e,t),Z.push([e,t])}}),j(Z,function(e){K[e[0]]=e[1]}),K.convert=m,E&&(K.placeholder=k),j(H(K),function(e){j(u.realToAlias[e]||[],function(t){K[t]=K[e]})}),K}var u=n(357),c=u.mutate,p=n(18);e.exports=l},function(e,t){e.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}},function(e,t){t.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},t.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},t.iterateeRearg={mapKeys:[1]},t.methodRearg={assignInAllWith:[1,2,0],assignInWith:[1,2,0],assignAllWith:[1,2,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,2,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},t.methodSpread={assignAll:{start:0},assignAllWith:{afterRearg:!0,start:1},assignInAll:{start:0},assignInAllWith:{afterRearg:!0,start:1},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{afterRearg:!0,start:1},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},t.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},t.placeholder={bind:!0,bindKey:!0,curry:!0,curryRight:!0,partial:!0,partialRight:!0},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,n=t.aliasToReal,r={};for(var a in n){var o=n[a];e.call(r,o)?r[o].push(a):r[o]=[a]}return r}(),t.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(e,t,n){e.exports={ary:n(348),assign:n(133),clone:n(349),curry:n(351),forEach:n(49),isArray:n(6),isFunction:n(60),iteratee:n(365),keys:n(138),rearg:n(376),spread:n(377),toInteger:n(37),toPath:n(380)}},function(e,t,n){var r=n(24),a=r("isFunction",n(60),n(356));a.placeholder=n(18),e.exports=a},function(e,t,n){var r=n(24),a=r("mapValues",n(174));a.placeholder=n(18),e.exports=a},function(e,t,n){function r(e,t){return null!=e&&o(e,t,a)}var a=n(259),o=n(303);e.exports=r},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(35),o=n(25);e.exports=r},function(e,t,n){(function(e){var r=n(8),a=n(378),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||a;e.exports=c}).call(t,n(216)(e))},function(e,t,n){var r=n(265),a=n(143),o=n(332),i=o&&o.isTypedArray,s=i?a(i):r;e.exports=s},function(e,t,n){function r(e){return o("function"==typeof e?e:a(e,!0))}var a=n(134),o=n(21);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e,!0):o(e)}var a=n(131),o=n(266),i=n(35);e.exports=r},function(e,t,n){function r(e,t){var n=s(e)?a:i;return n(e,o(t,3))}var a=n(50),o=n(21),i=n(267),s=n(6);e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(r.Cache||a),n}var a=n(73),o="Expected a function";r.Cache=a,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(8),a=function(){return r.Date.now()};e.exports=a},function(e,t,n){function r(e,t){return i(e,o(a(t)))}var a=n(21),o=n(175),i=n(374);e.exports=r},function(e,t,n){function r(e,t,n){e=s(e),t=i(t);var r=t?o(e):0;return t&&r<t?e+a(t-r,n):e}var a=n(150),o=n(89),i=n(37),s=n(95);e.exports=r},function(e,t,n){function r(e,t,n){e=s(e),t=i(t);var r=t?o(e):0;return t&&r<t?a(t-r,n)+e:e}var a=n(150),o=n(89),i=n(37),s=n(95);e.exports=r},function(e,t,n){function r(e,t){return null==e?{}:o(e,i(e),a(t))}var a=n(21),o=n(139),i=n(155);e.exports=r},function(e,t,n){function r(e){return i(e)?a(s(e)):o(e)}var a=n(140),o=n(271),i=n(33),s=n(23);e.exports=r},function(e,t,n){var r=n(81),a=n(153),o=256,i=a(function(e,t){return r(e,o,void 0,void 0,void 0,t)});e.exports=i},function(e,t,n){function r(e,t){if("function"!=typeof e)throw new TypeError(u);return t=void 0===t?0:c(l(t),0),i(function(n){var r=n[t],i=s(n,0,t);return r&&o(i,r),a(e,this,i)})}var a=n(48),o=n(51),i=n(273),s=n(145),l=n(37),u="Expected a function",c=Math.max;e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if(e=a(e),e===o||e===-o){var t=e<0?-1:1;return t*i}return e===e?e:0}var a=n(179),o=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){return i(e)?a(e,u):s(e)?[e]:o(l(e))}var a=n(50),o=n(55),i=n(6),s=n(36),l=n(168),u=n(23);e.exports=r},function(e,t,n){function r(e,t,n){return null==e?e:a(e,t,o(n))}var a=n(278),o=n(279);e.exports=r},function(e,t,n){function r(e){if(l(e)&&!s(e)&&!(e instanceof a)){if(e instanceof o)return e;if(p.call(e,"__wrapped__"))return u(e)}return new o(e)}var a=n(71),o=n(126),i=n(78),s=n(6),l=n(25),u=n(347),c=Object.prototype,p=c.hasOwnProperty;r.prototype=i.prototype,r.prototype.constructor=r,e.exports=r},function(e,t,n){var r;/*!
		Papa Parse
		v4.1.2
		https://github.com/mholt/PapaParse
	*/
!function(a){"use strict";function o(e,t){if(t=t||{},t.worker&&P.WORKERS_SUPPORTED){var n=f();return n.userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=x(t.step),t.chunk=x(t.chunk),t.complete=x(t.complete),t.error=x(t.error),delete t.worker,void n.postMessage({input:e,config:t,workerId:n.id})}var r=null;return"string"==typeof e?r=t.download?new l(t):new c(t):(a.File&&e instanceof File||e instanceof Object)&&(r=new u(t)),r.stream(e)}function i(e,t){function n(){"object"==typeof t&&("string"==typeof t.delimiter&&1==t.delimiter.length&&P.BAD_DELIMITERS.indexOf(t.delimiter)==-1&&(l=t.delimiter),("boolean"==typeof t.quotes||t.quotes instanceof Array)&&(s=t.quotes),"string"==typeof t.newline&&(u=t.newline))}function r(e){if("object"!=typeof e)return[];var t=[];for(var n in e)t.push(n);return t}function a(e,t){var n="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var r=e instanceof Array&&e.length>0,a=!(t[0]instanceof Array);if(r){for(var i=0;i<e.length;i++)i>0&&(n+=l),n+=o(e[i],i);t.length>0&&(n+=u)}for(var s=0;s<t.length;s++){for(var c=r?e.length:t[s].length,p=0;p<c;p++){p>0&&(n+=l);var d=r&&a?e[p]:p;n+=o(t[s][d],p)}s<t.length-1&&(n+=u)}return n}function o(e,t){if("undefined"==typeof e||null===e)return"";e=e.toString().replace(/"/g,'""');var n="boolean"==typeof s&&s||s instanceof Array&&s[t]||i(e,P.BAD_DELIMITERS)||e.indexOf(l)>-1||" "==e.charAt(0)||" "==e.charAt(e.length-1);return n?'"'+e+'"':e}function i(e,t){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return!0;return!1}var s=!1,l=",",u="\r\n";if(n(),"string"==typeof e&&(e=JSON.parse(e)),e instanceof Array){if(!e.length||e[0]instanceof Array)return a(null,e);if("object"==typeof e[0])return a(r(e[0]),e)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.data[0]instanceof Array?e.fields:r(e.data[0])),e.data[0]instanceof Array||"object"==typeof e.data[0]||(e.data=[e.data])),a(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function s(e){function t(e){var t=_(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),this._handle.streamer=this,this._config=t}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},t.call(this,e),this.parseChunk=function(e){if(this.isFirstChunk&&x(this._config.beforeFirstChunk)){var t=this._config.beforeFirstChunk(e);void 0!==t&&(e=t)}this.isFirstChunk=!1;var n=this._partialLine+e;this._partialLine="";var r=this._handle.parse(n,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var o=r.meta.cursor;this._finished||(this._partialLine=n.substring(o-this._baseIndex),this._baseIndex=o),r&&r.data&&(this._rowCount+=r.data.length);var i=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(E)a.postMessage({results:r,workerId:P.WORKER_ID,finished:i});else if(x(this._config.chunk)){if(this._config.chunk(r,this._handle),this._paused)return;r=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),!i||!x(this._config.complete)||r&&r.meta.aborted||this._config.complete(this._completeResults),i||r&&r.meta.paused||this._nextChunk(),r}},this._sendError=function(e){x(this._config.error)?this._config.error(e):E&&this._config.error&&a.postMessage({workerId:P.WORKER_ID,error:e,finished:!1})}}function l(e){function t(e){var t=e.getResponseHeader("Content-Range");return parseInt(t.substr(t.lastIndexOf("/")+1))}e=e||{},e.chunkSize||(e.chunkSize=P.RemoteChunkSize),s.call(this,e);var n;C?this._nextChunk=function(){this._readChunk(),this._chunkLoaded()}:this._nextChunk=function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(n=new XMLHttpRequest,C||(n.onload=b(this._chunkLoaded,this),n.onerror=b(this._chunkError,this)),n.open("GET",this._input,!C),this._config.chunkSize){var e=this._start+this._config.chunkSize-1;n.setRequestHeader("Range","bytes="+this._start+"-"+e),n.setRequestHeader("If-None-Match","webkit-no-cache")}try{n.send()}catch(t){this._chunkError(t.message)}C&&0==n.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==n.readyState){if(n.status<200||n.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>t(n),this.parseChunk(n.responseText)}},this._chunkError=function(e){var t=n.statusText||e;this._sendError(t)}}function u(e){e=e||{},e.chunkSize||(e.chunkSize=P.LocalChunkSize),s.call(this,e);var t,n,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?(t=new FileReader,t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var a=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,a)}var o=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function c(e){e=e||{},s.call(this,e);var t,n;this.stream=function(e){return t=e,n=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?n.substr(0,e):n;return n=e?n.substr(e):"",this._finished=!n,this.parseChunk(t)}}}function p(e){function t(){if(b&&p&&(l("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+P.DefaultDelimiter+"'"),p=!1),e.skipEmptyLines)for(var t=0;t<b.data.length;t++)1==b.data[t].length&&""==b.data[t][0]&&b.data.splice(t--,1);return n()&&r(),a()}function n(){return e.header&&0==m.length}function r(){if(b){for(var e=0;n()&&e<b.data.length;e++)for(var t=0;t<b.data[e].length;t++)m.push(b.data[e][t]);b.data.splice(0,1)}}function a(){if(!b||!e.header&&!e.dynamicTyping)return b;for(var t=0;t<b.data.length;t++){for(var n={},r=0;r<b.data[t].length;r++){if(e.dynamicTyping){var a=b.data[t][r];"true"==a||"TRUE"==a?b.data[t][r]=!0:"false"==a||"FALSE"==a?b.data[t][r]=!1:b.data[t][r]=s(a)}e.header&&(r>=m.length?(n.__parsed_extra||(n.__parsed_extra=[]),n.__parsed_extra.push(b.data[t][r])):n[m[r]]=b.data[t][r])}e.header&&(b.data[t]=n,r>m.length?l("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+r,t):r<m.length&&l("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+r,t))}return e.header&&b.meta&&(b.meta.fields=m),b}function o(t){for(var n,r,a,o=[",","\t","|",";",P.RECORD_SEP,P.UNIT_SEP],i=0;i<o.length;i++){var s=o[i],l=0,u=0;a=void 0;for(var c=new d({delimiter:s,preview:10}).parse(t),p=0;p<c.data.length;p++){var h=c.data[p].length;u+=h,"undefined"!=typeof a?h>1&&(l+=Math.abs(h-a),a=h):a=h}c.data.length>0&&(u/=c.data.length),("undefined"==typeof r||l<r)&&u>1.99&&(r=l,n=s)}return e.delimiter=n,{successful:!!n,bestDelimiter:n}}function i(e){e=e.substr(0,1048576);var t=e.split("\r");if(1==t.length)return"\n";for(var n=0,r=0;r<t.length;r++)"\n"==t[r][0]&&n++;return n>=t.length/2?"\r\n":"\r"}function s(e){var t=h.test(e);return t?parseFloat(e):e}function l(e,t,n,r){b.errors.push({type:e,code:t,message:n,row:r})}var u,c,p,h=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,f=this,g=0,v=!1,y=!1,m=[],b={data:[],errors:[],meta:{}};if(x(e.step)){var w=e.step;e.step=function(r){if(b=r,n())t();else{if(t(),0==b.data.length)return;g+=r.data.length,e.preview&&g>e.preview?c.abort():w(b,f)}}}this.parse=function(n,r,a){if(e.newline||(e.newline=i(n)),p=!1,!e.delimiter){var s=o(n);s.successful?e.delimiter=s.bestDelimiter:(p=!0,e.delimiter=P.DefaultDelimiter),b.meta.delimiter=e.delimiter}var l=_(e);return e.preview&&e.header&&l.preview++,u=n,c=new d(l),b=c.parse(u,r,a),t(),v?{meta:{paused:!0}}:b||{meta:{paused:!1}}},this.paused=function(){return v},this.pause=function(){v=!0,c.abort(),u=u.substr(c.getCharIndex())},this.resume=function(){v=!1,f.streamer.parseChunk(u)},this.aborted=function(){return y},this.abort=function(){y=!0,c.abort(),b.meta.aborted=!0,x(e.complete)&&e.complete(b),u=""}}function d(e){e=e||{};var t=e.delimiter,n=e.newline,r=e.comments,a=e.step,o=e.preview,i=e.fastMode;if(("string"!=typeof t||P.BAD_DELIMITERS.indexOf(t)>-1)&&(t=","),r===t)throw"Comment character same as delimiter";r===!0?r="#":("string"!=typeof r||P.BAD_DELIMITERS.indexOf(r)>-1)&&(r=!1),"\n"!=n&&"\r"!=n&&"\r\n"!=n&&(n="\n");var s=0,l=!1;this.parse=function(e,u,c){function p(e){x.push(e),E=s}function d(t){return c?f():("undefined"==typeof t&&(t=e.substr(s)),C.push(t),s=v,p(C),b&&g(),f())}function h(t){s=t,p(C),C=[],P=e.indexOf(n,s)}function f(e){return{data:x,errors:w,meta:{delimiter:t,linebreak:n,aborted:l,truncated:!!e,cursor:E+(u||0)}}}function g(){a(f()),x=[],w=[]}if("string"!=typeof e)throw"Input must be a string";var v=e.length,y=t.length,m=n.length,_=r.length,b="function"==typeof a;s=0;var x=[],w=[],C=[],E=0;if(!e)return f();if(i||i!==!1&&e.indexOf('"')===-1){for(var A=e.split(n),T=0;T<A.length;T++){var C=A[T];if(s+=C.length,T!==A.length-1)s+=n.length;else if(c)return f();if(!r||C.substr(0,_)!=r){if(b){if(x=[],p(C.split(t)),g(),l)return f()}else p(C.split(t));if(o&&T>=o)return x=x.slice(0,o),f(!0)}}return f()}for(var S=e.indexOf(t,s),P=e.indexOf(n,s);;)if('"'!=e[s])if(r&&0===C.length&&e.substr(s,_)===r){if(P==-1)return f();s=P+m,P=e.indexOf(n,s),S=e.indexOf(t,s)}else if(S!==-1&&(S<P||P===-1))C.push(e.substring(s,S)),s=S+y,S=e.indexOf(t,s);else{if(P===-1)break;if(C.push(e.substring(s,P)),h(P+m),b&&(g(),l))return f();if(o&&x.length>=o)return f(!0)}else{var O=s;for(s++;;){var O=e.indexOf('"',O+1);if(O===-1)return c||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:s}),d();if(O===v-1){var D=e.substring(s,O).replace(/""/g,'"');return d(D)}if('"'!=e[O+1]){if(e[O+1]==t){C.push(e.substring(s,O).replace(/""/g,'"')),s=O+1+y,S=e.indexOf(t,s),P=e.indexOf(n,s);break}if(e.substr(O+1,m)===n){if(C.push(e.substring(s,O).replace(/""/g,'"')),h(O+1+m),S=e.indexOf(t,s),b&&(g(),l))return f();if(o&&x.length>=o)return f(!0);break}}else O++}}return d()},this.abort=function(){l=!0},this.getCharIndex=function(){return s}}function h(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}function f(){if(!P.WORKERS_SUPPORTED)return!1;if(!A&&null===P.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=P.SCRIPT_PATH||w;e+=(e.indexOf("?")!==-1?"&":"?")+"papaworker";var t=new a.Worker(e);return t.onmessage=g,t.id=S++,T[t.id]=t,t}function g(e){var t=e.data,n=T[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var a=function(){r=!0,v(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},o={abort:a,pause:y,resume:y};if(x(n.userStep)){for(var i=0;i<t.results.data.length&&(n.userStep({data:[t.results.data[i]],errors:t.results.errors,meta:t.results.meta},o),!r);i++);delete t.results}else x(n.userChunk)&&(n.userChunk(t.results,o,t.file),delete t.results)}t.finished&&!r&&v(t.workerId,t.results)}function v(e,t){var n=T[e];x(n.userComplete)&&n.userComplete(t),n.terminate(),delete T[e]}function y(){throw"Not implemented."}function m(e){var t=e.data;if("undefined"==typeof P.WORKER_ID&&t&&(P.WORKER_ID=t.workerId),"string"==typeof t.input)a.postMessage({workerId:P.WORKER_ID,results:P.parse(t.input,t.config),finished:!0});else if(a.File&&t.input instanceof File||t.input instanceof Object){var n=P.parse(t.input,t.config);n&&a.postMessage({workerId:P.WORKER_ID,results:n,finished:!0})}}function _(e){if("object"!=typeof e)return e;var t=e instanceof Array?[]:{};for(var n in e)t[n]=_(e[n]);return t}function b(e,t){return function(){e.apply(t,arguments)}}function x(e){return"function"==typeof e}var w,C=!a.document&&!!a.postMessage,E=C&&/(\?|&)papaworker(=|&|$)/.test(a.location.search),A=!1,T={},S=0,P={};if(P.parse=o,P.unparse=i,P.RECORD_SEP=String.fromCharCode(30),P.UNIT_SEP=String.fromCharCode(31),P.BYTE_ORDER_MARK="\ufeff",P.BAD_DELIMITERS=["\r","\n",'"',P.BYTE_ORDER_MARK],P.WORKERS_SUPPORTED=!C&&!!a.Worker,P.SCRIPT_PATH=null,P.LocalChunkSize=10485760,P.RemoteChunkSize=5242880,P.DefaultDelimiter=",",P.Parser=d,P.ParserHandle=p,P.NetworkStreamer=l,P.FileStreamer=u,P.StringStreamer=c,"undefined"!=typeof e&&e.exports?e.exports=P:x(a.define)&&a.define.amd?(r=function(){return P}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))):a.Papa=P,a.jQuery){var O=a.jQuery;O.fn.parse=function(e){function t(){if(0==i.length)return void(x(e.complete)&&e.complete());var t=i[0];if(x(e.before)){var a=e.before(t.file,t.inputElem);if("object"==typeof a){if("abort"==a.action)return void n("AbortError",t.file,t.inputElem,a.reason);if("skip"==a.action)return void r();"object"==typeof a.config&&(t.instanceConfig=O.extend(t.instanceConfig,a.config))}else if("skip"==a)return void r()}var o=t.instanceConfig.complete;t.instanceConfig.complete=function(e){x(o)&&o(e,t.file,t.inputElem),r()},P.parse(t.file,t.instanceConfig)}function n(t,n,r,a){x(e.error)&&e.error({name:t},n,r,a)}function r(){i.splice(0,1),t()}var o=e.config||{},i=[];return this.each(function(e){var t="INPUT"==O(this).prop("tagName").toUpperCase()&&"file"==O(this).attr("type").toLowerCase()&&a.FileReader;if(!t||!this.files||0==this.files.length)return!0;for(var n=0;n<this.files.length;n++)i.push({file:this.files[n],inputElem:this,instanceConfig:O.extend({},o)})}),t(),this}}E?a.onmessage=m:P.WORKERS_SUPPORTED&&(w=h(),document.body?document.addEventListener("DOMContentLoaded",function(){A=!0},!0):A=!0),l.prototype=Object.create(s.prototype),l.prototype.constructor=l,u.prototype=Object.create(s.prototype),u.prototype.constructor=u,c.prototype=Object.create(c.prototype),c.prototype.constructor=c}("undefined"!=typeof window?window:this)},function(e,t,n){!function(t,r){var a=n(12);e.exports=r(a)}(this,function(e){var t=e.createClass({displayName:"FileDrop",propTypes:{onDrop:e.PropTypes.func,onDragOver:e.PropTypes.func,onDragLeave:e.PropTypes.func,dropEffect:e.PropTypes.oneOf(["copy","move","link","none"]),targetAlwaysVisible:e.PropTypes.bool,frame:function(e,t,n){var r=e[t];return null==r?new Error("Warning: Required prop `"+t+"` was not specified in `"+n+"`"):r===document||r===window||r instanceof HTMLElement?void 0:new Error("Warning: Prop `"+t+"` must be one of the following: document, window, or an HTMLElement!")},onFrameDragEnter:e.PropTypes.func,onFrameDragLeave:e.PropTypes.func,onFrameDrop:e.PropTypes.func},getDefaultProps:function(){return{dropEffect:"copy",frame:document,targetAlwaysVisible:!1}},resetDragging:function(){this._dragCount=0,this.setState({draggingOverFrame:!1,draggingOverTarget:!1})},_handleDrop:function(e){if(e.preventDefault(),this.props.onDrop){var t=e.dataTransfer?e.dataTransfer.files:e.frame?e.frame.files:void 0;this.props.onDrop(t,e)}},_handleDragOver:function(e){e.preventDefault(),e.stopPropagation(),e.dataTransfer.dropEffect=this.props.dropEffect;var t=e.dataTransfer.effectAllowed;"all"!==t&&"uninitialized"!==t||this.setState({draggingOverTarget:!0}),this.props.onDragOver&&this.props.onDragOver(e)},_handleDragLeave:function(e){this.setState({draggingOverTarget:!1}),this.props.onDragLeave&&this.props.onDragLeave(e)},_handleFrameDrag:function(e){this._dragCount+="dragenter"===e.type?1:-1,1===this._dragCount?(this.setState({draggingOverFrame:!0}),this.props.onFrameDragEnter&&this.props.onFrameDragEnter(e)):0===this._dragCount&&(this.props.onFrameDragLeave&&this.props.onFrameDragLeave(e),this.setState({draggingOverFrame:!1}))},_handleFrameDrop:function(e){this.resetDragging(),this.state.draggingOverTarget||this.props.onFrameDrop&&this.props.onFrameDrop(e)},render:function(){var t,n="file-drop-target";(this.props.targetAlwaysVisible||this.state.draggingOverFrame)&&(this.state.draggingOverFrame&&(n+=" file-drop-dragging-over-frame"),this.state.draggingOverTarget&&(n+=" file-drop-dragging-over-target"),t=e.createElement("div",{className:n},this.props.children));var r="file-drop";return this.props.className&&(r+=" "+this.props.className),e.createElement("div",{className:r,onDrop:this._handleDrop,onDragLeave:this._handleDragLeave,onDragOver:this._handleDragOver},t)},_handleWindowDragOverOrDrop:function(e){e.preventDefault()},componentWillReceiveProps:function(e){e.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(this.props.frame),this.startFrameListeners(e.frame))},componentWillMount:function(){this.startFrameListeners(),this.resetDragging(),window.addEventListener("dragover",this._handleWindowDragOverOrDrop),window.addEventListener("drop",this._handleWindowDragOverOrDrop)},componentWillUnmount:function(){this.stopFrameListeners(),window.removeEventListener("dragover",this._handleWindowDragOverOrDrop),window.removeEventListener("drop",this._handleWindowDragOverOrDrop)},stopFrameListeners:function(e){e=e||this.props.frame,e.removeEventListener("dragenter",this._handleFrameDrag),e.removeEventListener("dragleave",this._handleFrameDrag),e.removeEventListener("drop",this._handleFrameDrop)},startFrameListeners:function(e){e=e||this.props.frame,e.addEventListener("dragenter",this._handleFrameDrag),e.addEventListener("dragleave",this._handleFrameDrag),e.addEventListener("drop",this._handleFrameDrop)}});return t})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t["default"]=void 0;var s=n(12),l=n(181),u=r(l),c=n(182),p=(r(c),function(e){function t(n,r){a(this,t);var i=o(this,e.call(this,n,r));return i.store=n.store,i}return i(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){var e=this.props.children;return s.Children.only(e)},t}(s.Component));t["default"]=p,p.propTypes={store:u["default"].isRequired,children:s.PropTypes.element.isRequired},p.childContextTypes={store:u["default"].isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e.displayName||e.name||"Component"}function l(e,t){try{return e.apply(t)}catch(n){return S.value=n,S}}function u(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],u=Boolean(e),d=e||E,f=void 0;f="function"==typeof t?t:t?(0,y["default"])(t):A;var v=n||T,m=r.pure,_=void 0===m||m,b=r.withRef,w=void 0!==b&&b,O=_&&v!==T,D=P++;return function(e){function t(e,t,n){var r=v(e,t,n);return r}var n="Connect("+s(e)+")",r=function(r){function s(e,t){a(this,s);var i=o(this,r.call(this,e,t));i.version=D,i.store=e.store||t.store,(0,C["default"])(i.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+n+'".'));var l=i.store.getState();return i.state={storeState:l},i.clearCache(),i}return i(s,r),s.prototype.shouldComponentUpdate=function(){return!_||this.haveOwnPropsChanged||this.hasStoreStateChanged},s.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},s.prototype.configureFinalMapState=function(e,t){var n=d(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},s.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},s.prototype.configureFinalMapDispatch=function(e,t){var n=f(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:f,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},s.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,g["default"])(e,this.stateProps))&&(this.stateProps=e,!0)},s.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,g["default"])(e,this.dispatchProps))&&(this.dispatchProps=e,!0)},s.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&O&&(0,g["default"])(e,this.mergedProps))&&(this.mergedProps=e,!0)},s.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},s.prototype.trySubscribe=function(){u&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillReceiveProps=function(e){_&&(0,g["default"])(e,this.props)||(this.haveOwnPropsChanged=!0)},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},s.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},s.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!_||t!==e){if(_&&!this.doStatePropsDependOnOwnProps){var n=l(this.updateStatePropsIfNeeded,this);if(!n)return;n===S&&(this.statePropsPrecalculationError=S.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},s.prototype.getWrappedInstance=function(){return(0,C["default"])(w,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},s.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,a=this.statePropsPrecalculationError,o=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,a)throw a;var i=!0,s=!0;_&&o&&(i=n||t&&this.doStatePropsDependOnOwnProps,s=t&&this.doDispatchPropsDependOnOwnProps);var l=!1,u=!1;r?l=!0:i&&(l=this.updateStatePropsIfNeeded()),s&&(u=this.updateDispatchPropsIfNeeded());var d=!0;return d=!!(l||u||t)&&this.updateMergedPropsIfNeeded(),!d&&o?o:(w?this.renderedElement=(0,p.createElement)(e,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,p.createElement)(e,this.mergedProps),this.renderedElement)},s}(p.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:h["default"]},r.propTypes={store:h["default"]},(0,x["default"])(r,e)}}var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0,t["default"]=u;var p=n(12),d=n(181),h=r(d),f=n(387),g=r(f),v=n(388),y=r(v),m=n(182),_=(r(m),n(61)),b=(r(_),n(240)),x=r(b),w=n(241),C=r(w),E=function(e){return{}},A=function(e){return{dispatch:e}},T=function(e,t,n){return c({},n,e,t)},S={value:null},P=0},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=Object.prototype.hasOwnProperty,o=0;o<n.length;o++)if(!a.call(t,n[o])||e[n[o]]!==t[n[o]])return!1;return!0}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return function(t){return(0,a.bindActionCreators)(e,t)}}t.__esModule=!0,t["default"]=r;var a=n(211)},function(e,t,n){"use strict";var r=n(5),a=n(124),o={focusDOMComponent:function(){a(r.getNodeFromInstance(this))}};e.exports=o},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function a(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function o(e){switch(e){case P.topCompositionStart:return O.compositionStart;case P.topCompositionEnd:return O.compositionEnd;case P.topCompositionUpdate:return O.compositionUpdate}}function i(e,t){return e===P.topKeyDown&&t.keyCode===x}function s(e,t){switch(e){case P.topKeyUp:return b.indexOf(t.keyCode)!==-1;case P.topKeyDown:return t.keyCode!==x;case P.topKeyPress:case P.topMouseDown:case P.topBlur:return!0;default:return!1}}function l(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function u(e,t,n,r){var a,u;if(w?a=o(e):k?s(e,n)&&(a=O.compositionEnd):i(e,n)&&(a=O.compositionStart),!a)return null;A&&(k||a!==O.compositionStart?a===O.compositionEnd&&k&&(u=k.getData()):k=v.getPooled(r));var c=y.getPooled(a,t,n,r);if(u)c.data=u;else{var p=l(n);null!==p&&(c.data=p)}return f.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case P.topCompositionEnd:return l(t);case P.topKeyPress:var n=t.which;return n!==T?null:(D=!0,S);case P.topTextInput:var r=t.data;return r===S&&D?null:r;default:return null}}function p(e,t){if(k){if(e===P.topCompositionEnd||!w&&s(e,t)){var n=k.getData();return v.release(k),k=null,n}return null}switch(e){case P.topPaste:return null;case P.topKeyPress:return t.which&&!a(t)?String.fromCharCode(t.which):null;case P.topCompositionEnd:return A?null:t.data;default:return null}}function d(e,t,n,r){var a;if(a=E?c(e,n):p(e,n),!a)return null;var o=m.getPooled(O.beforeInput,t,n,r);return o.data=a,f.accumulateTwoPhaseDispatches(o),o}var h=n(15),f=n(39),g=n(7),v=n(396),y=n(434),m=n(437),_=n(17),b=[9,13,27,32],x=229,w=g.canUseDOM&&"CompositionEvent"in window,C=null;g.canUseDOM&&"documentMode"in document&&(C=document.documentMode);var E=g.canUseDOM&&"TextEvent"in window&&!C&&!r(),A=g.canUseDOM&&(!w||C&&C>8&&C<=11),T=32,S=String.fromCharCode(T),P=h.topLevelTypes,O={beforeInput:{phasedRegistrationNames:{bubbled:_({onBeforeInput:null}),captured:_({onBeforeInputCapture:null})},dependencies:[P.topCompositionEnd,P.topKeyPress,P.topTextInput,P.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:_({onCompositionEnd:null}),captured:_({onCompositionEndCapture:null})},dependencies:[P.topBlur,P.topCompositionEnd,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:_({onCompositionStart:null}),captured:_({onCompositionStartCapture:null})},dependencies:[P.topBlur,P.topCompositionStart,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:_({onCompositionUpdate:null}),captured:_({onCompositionUpdateCapture:null})},dependencies:[P.topBlur,P.topCompositionUpdate,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]}},D=!1,k=null,M={eventTypes:O,extractEvents:function(e,t,n,r){return[u(e,t,n,r),d(e,t,n,r)]}};e.exports=M},function(e,t,n){"use strict";var r=n(183),a=n(7),o=(n(11),n(227),n(444)),i=n(234),s=n(237),l=(n(3),s(function(e){return i(e)})),u=!1,c="cssFloat";if(a.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(d){u=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var h={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];null!=a&&(n+=l(r)+":",n+=o(r,a,t)+";")}return n||null},setValueForStyles:function(e,t,n){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var s=o(i,t[i],n);if("float"!==i&&"cssFloat"!==i||(i=c),s)a[i]=s;else{var l=u&&r.shorthandPropertyExpansions[i];if(l)for(var p in l)a[p]="";else a[i]=""}}}};e.exports=h},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function a(e){var t=E.getPooled(D.change,M,e,A(e));b.accumulateTwoPhaseDispatches(t),C.batchedUpdates(o,t)}function o(e){_.enqueueEvents(e),_.processEventQueue(!1)}function i(e,t){k=e,M=t,k.attachEvent("onchange",a)}function s(){k&&(k.detachEvent("onchange",a),k=null,M=null)}function l(e,t){if(e===O.topChange)return t}function u(e,t,n){e===O.topFocus?(s(),i(t,n)):e===O.topBlur&&s()}function c(e,t){k=e,M=t,R=e.value,I=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(k,"value",F),k.attachEvent?k.attachEvent("onpropertychange",d):k.addEventListener("propertychange",d,!1)}function p(){k&&(delete k.value,k.detachEvent?k.detachEvent("onpropertychange",d):k.removeEventListener("propertychange",d,!1),k=null,M=null,R=null,I=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==R&&(R=t,a(e))}}function h(e,t){if(e===O.topInput)return t}function f(e,t,n){e===O.topFocus?(p(),c(t,n)):e===O.topBlur&&p()}function g(e,t){if((e===O.topSelectionChange||e===O.topKeyUp||e===O.topKeyDown)&&k&&k.value!==R)return R=k.value,M}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function y(e,t){if(e===O.topClick)return t}var m=n(15),_=n(38),b=n(39),x=n(7),w=n(5),C=n(14),E=n(16),A=n(114),T=n(115),S=n(207),P=n(17),O=m.topLevelTypes,D={change:{phasedRegistrationNames:{bubbled:P({onChange:null}),captured:P({onChangeCapture:null})},dependencies:[O.topBlur,O.topChange,O.topClick,O.topFocus,O.topInput,O.topKeyDown,O.topKeyUp,O.topSelectionChange]}},k=null,M=null,R=null,I=null,N=!1;x.canUseDOM&&(N=T("change")&&(!document.documentMode||document.documentMode>8));var L=!1;x.canUseDOM&&(L=T("input")&&(!document.documentMode||document.documentMode>11));var F={get:function(){return I.get.call(this)},set:function(e){R=""+e,I.set.call(this,e)}},j={eventTypes:D,extractEvents:function(e,t,n,a){var o,i,s=t?w.getNodeFromInstance(t):window;if(r(s)?N?o=l:i=u:S(s)?L?o=h:(o=g,i=f):v(s)&&(o=y),o){var c=o(e,t);if(c){var p=E.getPooled(D.change,c,n,a);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}i&&i(e,s,t)}};e.exports=j},function(e,t,n){"use strict";var r=n(2),a=n(27),o=n(7),i=n(230),s=n(9),l=(n(1),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(o.canUseDOM?void 0:r("56"),
t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=i(t,s)[0];e.parentNode.replaceChild(n,e)}else a.replaceChildWithTree(e,t)}});e.exports=l},function(e,t,n){"use strict";var r=n(17),a=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=a},function(e,t,n){"use strict";var r=n(15),a=n(39),o=n(5),i=n(66),s=n(17),l=r.topLevelTypes,u={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},c={eventTypes:u,extractEvents:function(e,t,n,r){if(e===l.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var s;if(r.window===r)s=r;else{var c=r.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var p,d;if(e===l.topMouseOut){p=t;var h=n.relatedTarget||n.toElement;d=h?o.getClosestInstanceFromNode(h):null}else p=null,d=t;if(p===d)return null;var f=null==p?s:o.getNodeFromInstance(p),g=null==d?s:o.getNodeFromInstance(d),v=i.getPooled(u.mouseLeave,p,n,r);v.type="mouseleave",v.target=f,v.relatedTarget=g;var y=i.getPooled(u.mouseEnter,d,n,r);return y.type="mouseenter",y.target=g,y.relatedTarget=f,a.accumulateEnterLeaveDispatches(v,y,p,d),[v,y]}};e.exports=c},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var a=n(4),o=n(19),i=n(205);a(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,a=this.getText(),o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=a.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(28),a=r.injection.MUST_USE_PROPERTY,o=r.injection.HAS_BOOLEAN_VALUE,i=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:o,allowTransparency:0,alt:0,as:0,async:o,autoComplete:0,autoPlay:o,capture:o,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:a|o,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:o,coords:0,crossOrigin:0,data:0,dateTime:0,"default":o,defer:o,dir:0,disabled:o,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:o,formTarget:0,frameBorder:0,headers:0,height:0,hidden:o,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:o,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:a|o,muted:a|o,name:0,nonce:0,noValidate:o,open:o,optimum:0,pattern:0,placeholder:0,playsInline:o,poster:0,preload:0,profile:0,radioGroup:0,readOnly:o,referrerPolicy:0,rel:0,required:o,reversed:o,role:0,rows:s,rowSpan:i,sandbox:0,scope:0,scoped:o,scrolling:0,seamless:o,selected:a|o,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:i,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,"typeof":0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:o,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=u},function(e,t,n){"use strict";var r=n(4),a=n(186),o=n(102),i=n(424),s=n(187),l=n(407),u=n(13),c=n(197),p=n(198),d=n(450),h=(n(3),u.createElement),f=u.createFactory,g=u.cloneElement,v=r,y={Children:{map:a.map,forEach:a.forEach,count:a.count,toArray:a.toArray,only:d},Component:o,PureComponent:i,createElement:h,cloneElement:g,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:f,createMixin:function(e){return e},DOM:l,version:p,__spread:v};e.exports=y},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var a=void 0===e[n];null!=t&&a&&(e[n]=o(t,!0))}var a=n(29),o=n(206),i=(n(100),n(116)),s=n(117);n(3);"undefined"!=typeof t&&t.env,1;var l={instantiateChildren:function(e,t,n,a){if(null==e)return null;var o={};return s(e,r,o),o},updateChildren:function(e,t,n,r,s,l,u,c,p){if(t||e){var d,h;for(d in t)if(t.hasOwnProperty(d)){h=e&&e[d];var f=h&&h._currentElement,g=t[d];if(null!=h&&i(f,g))a.receiveComponent(h,g,s,c),t[d]=h;else{h&&(r[d]=a.getHostNode(h),a.unmountComponent(h,!1));var v=o(g,!0);t[d]=v;var y=a.mountComponent(v,s,l,u,c,p);n.push(y)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(h=e[d],r[d]=a.getHostNode(h),a.unmountComponent(h,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];a.unmountComponent(r,t)}}};e.exports=l}).call(t,n(62))},function(e,t,n){"use strict";var r=n(96),a=n(409),o={processChildrenUpdates:a.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=o},function(e,t,n){"use strict";function r(e){}function a(e,t){}function o(e){return!(!e.prototype||!e.prototype.isReactComponent)}function i(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(2),l=n(4),u=n(103),c=n(20),p=n(13),d=n(105),h=n(40),f=(n(11),n(196)),g=(n(108),n(29)),v=n(443),y=n(32),m=(n(1),n(70)),_=n(116),b=(n(3),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=h.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return a(e,t),t};var x=1,w={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,l){this._context=l,this._mountOrder=x++,this._hostParent=t,this._hostContainerInfo=n;var u,c=this._currentElement.props,d=this._processContext(l),f=this._currentElement.type,g=e.getUpdateQueue(),v=o(f),m=this._constructComponent(v,c,d,g);v||null!=m&&null!=m.render?i(f)?this._compositeType=b.PureClass:this._compositeType=b.ImpureClass:(u=m,a(f,u),null===m||m===!1||p.isValidElement(m)?void 0:s("105",f.displayName||f.name||"Component"),m=new r(f),this._compositeType=b.StatelessFunctional);m.props=c,m.context=d,m.refs=y,m.updater=g,this._instance=m,h.set(m,this);var _=m.state;void 0===_&&(m.state=_=null),"object"!=typeof _||Array.isArray(_)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var w;return w=m.unstable_handleError?this.performInitialMountWithErrorHandling(u,t,n,e,l):this.performInitialMount(u,t,n,e,l),m.componentDidMount&&e.getReactMountReady().enqueue(m.componentDidMount,m),w},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var a=this._currentElement.type;return e?new a(t,n,r):a(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,a){var o,i=r.checkpoint();try{o=this.performInitialMount(e,t,n,r,a)}catch(s){r.rollback(i),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),o=this.performInitialMount(e,t,n,r,a)}return o},performInitialMount:function(e,t,n,r,a){var o=this._instance,i=0;o.componentWillMount&&(o.componentWillMount(),this._pendingStateQueue&&(o.state=this._processPendingState(o.props,o.context))),void 0===e&&(e=this._renderValidatedComponent());var s=f.getType(e);this._renderedNodeType=s;var l=this._instantiateReactComponent(e,s!==f.EMPTY);this._renderedComponent=l;var u=g.mountComponent(l,r,t,n,this._processChildContext(a),i);return u},getHostNode:function(){return g.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(g.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,h.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return y;var r={};for(var a in n)r[a]=e[a];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var a in t)a in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",a);return l({},e,t)}return e},_checkContextTypes:function(e,t,n){v(e,t,n,this.getName(),null,this._debugID)},receiveComponent:function(e,t,n){var r=this._currentElement,a=this._context;this._pendingElement=null,this.updateComponent(t,r,e,a,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?g.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,a){var o=this._instance;null==o?s("136",this.getName()||"ReactCompositeComponent"):void 0;var i,l=!1;this._context===a?i=o.context:(i=this._processContext(a),l=!0);var u=t.props,c=n.props;t!==n&&(l=!0),l&&o.componentWillReceiveProps&&o.componentWillReceiveProps(c,i);var p=this._processPendingState(c,i),d=!0;this._pendingForceUpdate||(o.shouldComponentUpdate?d=o.shouldComponentUpdate(c,p,i):this._compositeType===b.PureClass&&(d=!m(u,c)||!m(o.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,p,i,e,a)):(this._currentElement=n,this._context=a,o.props=c,o.state=p,o.context=i)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,a=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(a&&1===r.length)return r[0];for(var o=l({},a?r[0]:n.state),i=a?1:0;i<r.length;i++){var s=r[i];l(o,"function"==typeof s?s.call(n,o,e,t):s)}return o},_performComponentUpdate:function(e,t,n,r,a,o){var i,s,l,u=this._instance,c=Boolean(u.componentDidUpdate);c&&(i=u.props,s=u.state,l=u.context),u.componentWillUpdate&&u.componentWillUpdate(t,n,r),this._currentElement=e,this._context=o,u.props=t,u.state=n,u.context=r,this._updateRenderedComponent(a,o),c&&a.getReactMountReady().enqueue(u.componentDidUpdate.bind(u,i,s,l),u)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,a=this._renderValidatedComponent(),o=0;if(_(r,a))g.receiveComponent(n,a,e,this._processChildContext(t));else{var i=g.getHostNode(n);g.unmountComponent(n,!1);var s=f.getType(a);this._renderedNodeType=s;var l=this._instantiateReactComponent(a,s!==f.EMPTY);this._renderedComponent=l;var u=g.mountComponent(l,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),o);this._replaceNodeWithMarkup(i,u,n)}},_replaceNodeWithMarkup:function(e,t,n){u.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==b.StatelessFunctional){c.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{c.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||p.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),a=n.refs===y?n.refs={}:n.refs;a[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===b.StatelessFunctional?null:e},_instantiateReactComponent:null},C={Mixin:w};e.exports=C},function(e,t,n){"use strict";var r=n(5),a=n(417),o=n(194),i=n(29),s=n(14),l=n(198),u=n(445),c=n(203),p=n(452);n(3);a.inject();var d={findDOMNode:u,render:o.render,unmountComponentAtNode:o.unmountComponentAtNode,version:l,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:o,Reconciler:i});e.exports=d},function(e,t,n){"use strict";var r=n(64),a={getHostProps:r.getHostProps};e.exports=a},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function a(e,t){t&&(Q[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?g("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?g("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&Y in t.dangerouslySetInnerHTML?void 0:g("61")),null!=t.style&&"object"!=typeof t.style?g("62",r(e)):void 0)}function o(e,t,n,r){if(!(r instanceof N)){var a=e._hostContainerInfo,o=a._node&&a._node.nodeType===X,s=o?a._node:a._ownerDocument;H(t,s),r.getReactMountReady().enqueue(i,{inst:e,registrationName:t,listener:n})}}function i(){var e=this;E.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;D.postMountWrapper(e)}function l(){var e=this;R.postMountWrapper(e)}function u(){var e=this;k.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:g("63");var t=W(e);switch(t?void 0:g("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[T.trapBubbledEvent(C.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in K)K.hasOwnProperty(n)&&e._wrapperState.listeners.push(T.trapBubbledEvent(C.topLevelTypes[n],K[n],t));break;case"source":e._wrapperState.listeners=[T.trapBubbledEvent(C.topLevelTypes.topError,"error",t)];break;case"img":e._wrapperState.listeners=[T.trapBubbledEvent(C.topLevelTypes.topError,"error",t),T.trapBubbledEvent(C.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[T.trapBubbledEvent(C.topLevelTypes.topReset,"reset",t),T.trapBubbledEvent(C.topLevelTypes.topSubmit,"submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[T.trapBubbledEvent(C.topLevelTypes.topInvalid,"invalid",t)]}}function p(){M.postUpdateWrapper(this)}function d(e){ee.call(J,e)||($.test(e)?void 0:g("65",e),J[e]=!0)}function h(e,t){return e.indexOf("-")>=0||null!=t.is}function f(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(2),v=n(4),y=n(389),m=n(391),_=n(27),b=n(97),x=n(28),w=n(185),C=n(15),E=n(38),A=n(98),T=n(65),S=n(403),P=n(188),O=n(5),D=n(410),k=n(411),M=n(189),R=n(414),I=(n(11),n(422)),N=n(427),L=(n(9),n(67)),F=(n(1),n(115),n(17)),j=(n(70),n(118),n(3),P),U=E.deleteListener,W=O.getNodeFromInstance,H=T.listenTo,B=A.registrationNameModules,V={string:!0,number:!0},z=F({style:null}),Y=F({__html:null}),G={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},X=11,K={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Z={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},q={listing:!0,pre:!0,textarea:!0},Q=v({menuitem:!0},Z),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J={},ee={}.hasOwnProperty,te=1;f.displayName="ReactDOMComponent",f.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=te++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"button":o=S.getHostProps(this,o,t);break;case"input":D.mountWrapper(this,o,t),o=D.getHostProps(this,o),e.getReactMountReady().enqueue(c,this);break;case"option":k.mountWrapper(this,o,t),o=k.getHostProps(this,o);break;case"select":M.mountWrapper(this,o,t),o=M.getHostProps(this,o),e.getReactMountReady().enqueue(c,this);break;case"textarea":R.mountWrapper(this,o,t),o=R.getHostProps(this,o),e.getReactMountReady().enqueue(c,this)}a(this,o);var i,p;null!=t?(i=t._namespaceURI,p=t._tag):n._tag&&(i=n._namespaceURI,p=n._tag),(null==i||i===b.svg&&"foreignobject"===p)&&(i=b.html),i===b.html&&("svg"===this._tag?i=b.svg:"math"===this._tag&&(i=b.mathml)),this._namespaceURI=i;var d;if(e.useCreateElement){var h,f=n._ownerDocument;if(i===b.html)if("script"===this._tag){var g=f.createElement("div"),v=this._currentElement.type;g.innerHTML="<"+v+"></"+v+">",h=g.removeChild(g.firstChild)}else h=o.is?f.createElement(this._currentElement.type,o.is):f.createElement(this._currentElement.type);else h=f.createElementNS(i,this._currentElement.type);O.precacheNode(this,h),this._flags|=j.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(h),this._updateDOMProperties(null,o,e);var m=_(h);this._createInitialChildren(e,o,r,m),d=m}else{var x=this._createOpenTagMarkupAndPutListeners(e,o),C=this._createContentMarkup(e,o,r);d=!C&&Z[this._tag]?x+"/>":x+">"+C+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),o.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),o.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":o.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"button":o.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if(B.hasOwnProperty(r))a&&o(this,r,a,e);else{r===z&&(a&&(a=this._previousStyleCopy=v({},t.style)),a=m.createMarkupForStyles(a,this));var i=null;null!=this._tag&&h(this._tag,t)?G.hasOwnProperty(r)||(i=w.createMarkupForCustomAttribute(r,a)):i=w.createMarkupForProperty(r,a),i&&(n+=" "+i)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&(r=a.__html);else{var o=V[typeof t.children]?t.children:null,i=null!=o?null:t.children;if(null!=o)r=L(o);else if(null!=i){var s=this.mountChildren(i,e,n);r=s.join("")}}return q[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&_.queueHTML(r,a.__html);else{var o=V[typeof t.children]?t.children:null,i=null!=o?null:t.children;if(null!=o)_.queueText(r,o);else if(null!=i)for(var s=this.mountChildren(i,e,n),l=0;l<s.length;l++)_.queueChild(r,s[l])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var o=t.props,i=this._currentElement.props;switch(this._tag){case"button":o=S.getHostProps(this,o),i=S.getHostProps(this,i);break;case"input":o=D.getHostProps(this,o),i=D.getHostProps(this,i);break;case"option":o=k.getHostProps(this,o),i=k.getHostProps(this,i);break;case"select":o=M.getHostProps(this,o),i=M.getHostProps(this,i);break;case"textarea":o=R.getHostProps(this,o),i=R.getHostProps(this,i)}switch(a(this,i),this._updateDOMProperties(o,i,e),this._updateDOMChildren(o,i,e,r),this._tag){case"input":D.updateWrapper(this);break;case"textarea":R.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(e,t,n){var r,a,i;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===z){var s=this._previousStyleCopy;for(a in s)s.hasOwnProperty(a)&&(i=i||{},i[a]="");this._previousStyleCopy=null}else B.hasOwnProperty(r)?e[r]&&U(this,r):h(this._tag,e)?G.hasOwnProperty(r)||w.deleteValueForAttribute(W(this),r):(x.properties[r]||x.isCustomAttribute(r))&&w.deleteValueForProperty(W(this),r);for(r in t){var l=t[r],u=r===z?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&l!==u&&(null!=l||null!=u))if(r===z)if(l?l=this._previousStyleCopy=v({},l):this._previousStyleCopy=null,u){for(a in u)!u.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(i=i||{},i[a]="");for(a in l)l.hasOwnProperty(a)&&u[a]!==l[a]&&(i=i||{},i[a]=l[a])}else i=l;else if(B.hasOwnProperty(r))l?o(this,r,l,n):u&&U(this,r);else if(h(this._tag,t))G.hasOwnProperty(r)||w.setValueForAttribute(W(this),r,l);else if(x.properties[r]||x.isCustomAttribute(r)){var c=W(this);null!=l?w.setValueForProperty(c,r,l):w.deleteValueForProperty(c,r)}}i&&m.setValueForStyles(W(this),i,this)},_updateDOMChildren:function(e,t,n,r){var a=V[typeof e.children]?e.children:null,o=V[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=a?null:e.children,u=null!=o?null:t.children,c=null!=a||null!=i,p=null!=o||null!=s;null!=l&&null==u?this.updateChildren(null,n,r):c&&!p&&this.updateTextContent(""),null!=o?a!==o&&this.updateTextContent(""+o):null!=s?i!==s&&this.updateMarkup(""+s):null!=u&&this.updateChildren(u,n,r)},getHostNode:function(){return W(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":g("66",this._tag)}this.unmountChildren(e),O.uncacheNode(this),E.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return W(this)}},v(f.prototype,f.Mixin,I.Mixin),e.exports=f},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===a?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var a=(n(118),9);e.exports=r},function(e,t,n){"use strict";var r=n(4),a=n(27),o=n(5),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var l=n._ownerDocument,u=l.createComment(s);return o.precacheNode(this,u),a(u)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return o.getNodeFromInstance(this)},unmountComponent:function(){o.uncacheNode(this)}}),e.exports=i},function(e,t,n){"use strict";var r=n(13),a=r.createFactory,o={a:a("a"),abbr:a("abbr"),address:a("address"),area:a("area"),article:a("article"),aside:a("aside"),audio:a("audio"),b:a("b"),base:a("base"),bdi:a("bdi"),bdo:a("bdo"),big:a("big"),blockquote:a("blockquote"),body:a("body"),br:a("br"),button:a("button"),canvas:a("canvas"),caption:a("caption"),cite:a("cite"),code:a("code"),col:a("col"),colgroup:a("colgroup"),data:a("data"),datalist:a("datalist"),dd:a("dd"),del:a("del"),details:a("details"),dfn:a("dfn"),dialog:a("dialog"),div:a("div"),dl:a("dl"),dt:a("dt"),em:a("em"),embed:a("embed"),fieldset:a("fieldset"),figcaption:a("figcaption"),figure:a("figure"),footer:a("footer"),form:a("form"),h1:a("h1"),h2:a("h2"),h3:a("h3"),h4:a("h4"),h5:a("h5"),h6:a("h6"),head:a("head"),header:a("header"),hgroup:a("hgroup"),hr:a("hr"),html:a("html"),i:a("i"),iframe:a("iframe"),img:a("img"),input:a("input"),ins:a("ins"),kbd:a("kbd"),keygen:a("keygen"),label:a("label"),legend:a("legend"),li:a("li"),link:a("link"),main:a("main"),map:a("map"),mark:a("mark"),menu:a("menu"),menuitem:a("menuitem"),meta:a("meta"),meter:a("meter"),nav:a("nav"),noscript:a("noscript"),object:a("object"),ol:a("ol"),optgroup:a("optgroup"),option:a("option"),output:a("output"),p:a("p"),param:a("param"),picture:a("picture"),pre:a("pre"),progress:a("progress"),q:a("q"),rp:a("rp"),rt:a("rt"),ruby:a("ruby"),s:a("s"),samp:a("samp"),script:a("script"),section:a("section"),select:a("select"),small:a("small"),source:a("source"),span:a("span"),strong:a("strong"),style:a("style"),sub:a("sub"),summary:a("summary"),sup:a("sup"),table:a("table"),tbody:a("tbody"),td:a("td"),textarea:a("textarea"),tfoot:a("tfoot"),th:a("th"),thead:a("thead"),time:a("time"),title:a("title"),tr:a("tr"),track:a("track"),u:a("u"),ul:a("ul"),"var":a("var"),video:a("video"),wbr:a("wbr"),circle:a("circle"),clipPath:a("clipPath"),defs:a("defs"),ellipse:a("ellipse"),g:a("g"),image:a("image"),line:a("line"),linearGradient:a("linearGradient"),mask:a("mask"),path:a("path"),pattern:a("pattern"),polygon:a("polygon"),polyline:a("polyline"),radialGradient:a("radialGradient"),rect:a("rect"),stop:a("stop"),svg:a("svg"),text:a("text"),tspan:a("tspan")};e.exports=o},function(e,t){"use strict";var n={useCreateElement:!0};e.exports=n},function(e,t,n){"use strict";var r=n(96),a=n(5),o={dangerouslyProcessChildrenUpdates:function(e,t){var n=a.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=o},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function a(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);p.asap(r,this);var a=t.name;if("radio"===t.type&&null!=a){for(var i=c.getNodeFromInstance(this),s=i;s.parentNode;)s=s.parentNode;for(var l=s.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),d=0;d<l.length;d++){var h=l[d];if(h!==i&&h.form===i.form){var f=c.getInstanceFromNode(h);f?void 0:o("90"),p.asap(r,f)}}}return n}var o=n(2),i=n(4),s=n(64),l=n(185),u=n(101),c=n(5),p=n(14),d=(n(1),n(3),{getHostProps:function(e,t){var n=u.getValue(t),r=u.getChecked(t),a=i({type:void 0,step:void 0,min:void 0,max:void 0},s.getHostProps(e,t),{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return a},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:a.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&l.setValueForProperty(c.getNodeFromInstance(e),"checked",n||!1);var r=c.getNodeFromInstance(e),a=u.getValue(t);if(null!=a){var o=""+a;o!==r.value&&(r.value=o)}else null==t.value&&null!=t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=c.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=d},function(e,t,n){"use strict";function r(e){var t="";return o.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:l||(l=!0))}),t}var a=n(4),o=n(186),i=n(5),s=n(189),l=(n(3),!1),u={mountWrapper:function(e,t,n){var a=null;if(null!=n){var o=n;"optgroup"===o._tag&&(o=o._hostParent),null!=o&&"select"===o._tag&&(a=s.getSelectValueContext(o))}var i=null;if(null!=a){var l;if(l=null!=t.value?t.value+"":r(t.children),i=!1,Array.isArray(a)){for(var u=0;u<a.length;u++)if(""+a[u]===l){i=!0;break}}else i=""+a===l}e._wrapperState={selected:i}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=i.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=a({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var o=r(t.children);return o&&(n.children=o),n}};e.exports=u},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function a(e){var t=document.selection,n=t.createRange(),r=n.text.length,a=n.duplicate();a.moveToElementText(e),a.setEndPoint("EndToStart",n);var o=a.text.length,i=o+r;return{start:o,end:i}}function o(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,a=t.anchorOffset,o=t.focusNode,i=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(l){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),c=u?0:s.toString().length,p=s.cloneRange();p.selectNodeContents(e),p.setEnd(s.startContainer,s.startOffset);var d=r(p.startContainer,p.startOffset,p.endContainer,p.endOffset),h=d?0:p.toString().length,f=h+c,g=document.createRange();g.setStart(n,a),g.setEnd(o,i);var v=g.collapsed;return{start:v?f:h,end:v?h:f}}function i(e,t){var n,r,a=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),a.moveToElementText(e),a.moveStart("character",n),a.setEndPoint("EndToStart",a),a.moveEnd("character",r-n),a.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,a=Math.min(t.start,r),o=void 0===t.end?a:Math.min(t.end,r);if(!n.extend&&a>o){var i=o;o=a,a=i}var s=u(e,a),l=u(e,o);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),a>o?(n.addRange(p),
n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var l=n(7),u=n(448),c=n(205),p=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?a:o,setOffsets:p?i:s};e.exports=d},function(e,t,n){"use strict";var r=n(2),a=n(4),o=n(96),i=n(27),s=n(5),l=n(67),u=(n(1),n(118),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});a(u.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++,o=" react-text: "+a+" ",u=" /react-text ";if(this._domID=a,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(o),d=c.createComment(u),h=i(c.createDocumentFragment());return i.queueChild(h,i(p)),this._stringText&&i.queueChild(h,i(c.createTextNode(this._stringText))),i.queueChild(h,i(d)),s.precacheNode(this,p),this._closingComment=d,h}var f=l(this._stringText);return e.renderToStaticMarkup?f:"<!--"+o+"-->"+f+"<!--"+u+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();o.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function a(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);return c.asap(r,this),n}var o=n(2),i=n(4),s=n(64),l=n(101),u=n(5),c=n(14),p=(n(1),n(3),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?o("91"):void 0;var n=i({},s.getHostProps(e,t),{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=l.getValue(t),r=n;if(null==n){var i=t.defaultValue,s=t.children;null!=s&&(null!=i?o("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:o("93"),s=s[0]),i=""+s),null==i&&(i=""),r=i}e._wrapperState={initialValue:""+r,listeners:null,onChange:a.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=l.getValue(t);if(null!=r){var a=""+r;a!==n.value&&(n.value=a),null==t.defaultValue&&(n.defaultValue=a)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e);t.value=t.textContent}});e.exports=p},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:l("33"),"_hostNode"in t?void 0:l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var a=0,o=t;o;o=o._hostParent)a++;for(;n-a>0;)e=e._hostParent,n--;for(;a-n>0;)t=t._hostParent,a--;for(var i=n;i--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function a(e,t){"_hostNode"in e?void 0:l("35"),"_hostNode"in t?void 0:l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function o(e){return"_hostNode"in e?void 0:l("36"),e._hostParent}function i(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var a;for(a=r.length;a-- >0;)t(r[a],!1,n);for(a=0;a<r.length;a++)t(r[a],!0,n)}function s(e,t,n,a,o){for(var i=e&&t?r(e,t):null,s=[];e&&e!==i;)s.push(e),e=e._hostParent;for(var l=[];t&&t!==i;)l.push(t),t=t._hostParent;var u;for(u=0;u<s.length;u++)n(s[u],!0,a);for(u=l.length;u-- >0;)n(l[u],!1,o)}var l=n(2);n(1);e.exports={isAncestor:a,getLowestCommonAncestor:r,getParentInstance:o,traverseTwoPhase:i,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var a=n(4),o=n(14),i=n(42),s=n(9),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];a(r.prototype,i.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,a,o){var i=d.isBatchingUpdates;d.isBatchingUpdates=!0,i?e(t,n,r,a,o):p.perform(e,null,t,n,r,a,o)}};e.exports=d},function(e,t,n){"use strict";function r(){w||(w=!0,y.EventEmitter.injectReactEventListener(v),y.EventPluginHub.injectEventPluginOrder(i),y.EventPluginUtils.injectComponentTree(p),y.EventPluginUtils.injectTreeTraversal(h),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:x,EnterLeaveEventPlugin:s,ChangeEventPlugin:o,SelectEventPlugin:b,BeforeInputEventPlugin:a}),y.HostComponent.injectGenericComponentClass(c),y.HostComponent.injectTextComponentClass(f),y.DOMProperty.injectDOMPropertyConfig(l),y.DOMProperty.injectDOMPropertyConfig(_),y.EmptyComponent.injectEmptyComponentFactory(function(e){return new d(e)}),y.Updates.injectReconcileTransaction(m),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(u))}var a=n(390),o=n(392),i=n(394),s=n(395),l=n(397),u=n(400),c=n(404),p=n(5),d=n(406),h=n(415),f=n(413),g=n(416),v=n(419),y=n(420),m=n(425),_=n(429),b=n(430),x=n(431),w=!1;e.exports={inject:r}},function(e,t,n){"use strict";function r(e){a.enqueueEvents(e),a.processEventQueue(!1)}var a=n(38),o={handleTopLevel:function(e,t,n,o){var i=a.extractEvents(e,t,n,o);r(i)}};e.exports=o},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=p.getNodeFromInstance(e),n=t.parentNode;return p.getClosestInstanceFromNode(n)}function a(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function o(e){var t=h(e.nativeEvent),n=p.getClosestInstanceFromNode(t),a=n;do e.ancestors.push(a),a=a&&r(a);while(a);for(var o=0;o<e.ancestors.length;o++)n=e.ancestors[o],g._handleTopLevel(e.topLevelType,n,e.nativeEvent,h(e.nativeEvent))}function i(e){var t=f(window);e(t)}var s=n(4),l=n(123),u=n(7),c=n(19),p=n(5),d=n(14),h=n(114),f=n(232);s(a.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(a,c.twoArgumentPooler);var g={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:u.canUseDOM?window:null,setHandleTopLevel:function(e){g._handleTopLevel=e},setEnabled:function(e){g._enabled=!!e},isEnabled:function(){return g._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?l.listen(r,t,g.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?l.capture(r,t,g.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=i.bind(null,e);l.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(g._enabled){var n=a.getPooled(e,t);try{d.batchedUpdates(o,n)}finally{a.release(n)}}}};e.exports=g},function(e,t,n){"use strict";var r=n(28),a=n(38),o=n(99),i=n(103),s=n(187),l=n(190),u=n(65),c=n(192),p=n(14),d={Component:i.injection,Class:s.injection,DOMProperty:r.injection,EmptyComponent:l.injection,EventPluginHub:a.injection,EventPluginUtils:o.injection,EventEmitter:u.injection,HostComponent:c.injection,Updates:p.injection};e.exports=d},function(e,t,n){"use strict";var r=n(442),a=/\/?>/,o=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return o.test(e)?e:e.replace(a," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var a=r(e);return a===n}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){return{type:d.INSERT_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function a(e,t,n){return{type:d.MOVE_EXISTING,content:null,fromIndex:e._mountIndex,fromNode:h.getHostNode(e),toIndex:n,afterNode:t}}function o(e,t){return{type:d.REMOVE_NODE,content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function i(e){return{type:d.SET_MARKUP,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:d.TEXT_CONTENT,content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[],e.push(t)),e}function u(e,t){p.processChildrenUpdates(e,t)}var c=n(2),p=n(103),d=(n(40),n(11),n(195)),h=(n(20),n(29)),f=n(399),g=(n(9),n(446)),v=(n(1),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return f.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,a,o){var i,s=0;return i=g(t,s),f.updateChildren(e,i,n,r,a,this,this._hostContainerInfo,o,s),i},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var a=[],o=0;for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],l=0,u=h.mountComponent(s,t,this,this._hostContainerInfo,n,l);s._mountIndex=o++,a.push(u)}return a},updateTextContent:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];u(this,r)},updateMarkup:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[i(e)];u(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,a={},o=[],i=this._reconcilerUpdateChildren(r,e,o,a,t,n);if(i||r){var s,c=null,p=0,d=0,f=0,g=null;for(s in i)if(i.hasOwnProperty(s)){var v=r&&r[s],y=i[s];v===y?(c=l(c,this.moveChild(v,g,p,d)),d=Math.max(v._mountIndex,d),v._mountIndex=p):(v&&(d=Math.max(v._mountIndex,d)),c=l(c,this._mountChildAtIndex(y,o[f],g,p,t,n)),f++),p++,g=h.getHostNode(y)}for(s in a)a.hasOwnProperty(s)&&(c=l(c,this._unmountChild(r[s],a[s])));c&&u(this,c),this._renderedChildren=i}},unmountChildren:function(e){var t=this._renderedChildren;f.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return a(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return o(e,t)},_mountChildAtIndex:function(e,t,n,r,a,o){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=v},function(e,t,n){"use strict";var r=n(2),a=(n(1),{isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){a.isValidOwner(n)?void 0:r("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){a.isValidOwner(n)?void 0:r("120");var o=n.getPublicInstance();o&&o.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=a},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||s}function a(){}var o=n(4),i=n(102),s=n(106),l=n(32);a.prototype=i.prototype,r.prototype=new a,r.prototype.constructor=r,o(r.prototype,i.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=o.getPooled(null),this.useCreateElement=e}var a=n(4),o=n(184),i=n(19),s=n(65),l=n(193),u=(n(11),n(42)),c=n(110),p={initialize:l.getSelectionInformation,close:l.restoreSelection},d={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},h={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},f=[p,d,h],g={getTransactionWrappers:function(){return f},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};a(r.prototype,u.Mixin,g),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):o.addComponentAsRefTo(t,e,n)}function a(e,t,n){"function"==typeof e?e(null):o.removeComponentAsRefFrom(t,e,n)}var o=n(423),i={};i.attachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&r(n,e,t._owner)}},i.shouldUpdateRefs=function(e,t){var n=null===e||e===!1,r=null===t||t===!1;return n||r||t.ref!==e.ref||"string"==typeof t.ref&&t._owner!==e._owner},i.detachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&a(n,e,t._owner)}},e.exports=i},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var a=n(4),o=n(19),i=n(42),s=(n(11),n(428)),l=[],u={enqueue:function(){}},c={getTransactionWrappers:function(){return l},getReactMountReady:function(){return u},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};a(r.prototype,i.Mixin,c),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){}var o=n(110),i=(n(42),n(3),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&o.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?o.enqueueForceUpdate(e):a(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?o.enqueueReplaceState(e,t):a(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?o.enqueueSetState(e,t):a(e,"setState")},e}());e.exports=i},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering","in":0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},a={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){a.Properties[e]=0,r[e]&&(a.DOMAttributeNames[e]=r[e])}),e.exports=a},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function a(e,t){if(x||null==m||m!==p())return null;var n=r(m);if(!b||!f(b,n)){b=n;var a=c.getPooled(y.select,_,e,t);return a.type="select",a.target=m,i.accumulateTwoPhaseDispatches(a),a}return null}var o=n(15),i=n(39),s=n(7),l=n(5),u=n(193),c=n(16),p=n(125),d=n(207),h=n(17),f=n(70),g=o.topLevelTypes,v=s.canUseDOM&&"documentMode"in document&&document.documentMode<=11,y={select:{phasedRegistrationNames:{bubbled:h({onSelect:null}),captured:h({onSelectCapture:null})},dependencies:[g.topBlur,g.topContextMenu,g.topFocus,g.topKeyDown,g.topKeyUp,g.topMouseDown,g.topMouseUp,g.topSelectionChange]}},m=null,_=null,b=null,x=!1,w=!1,C=h({onSelect:null}),E={eventTypes:y,extractEvents:function(e,t,n,r){if(!w)return null;var o=t?l.getNodeFromInstance(t):window;switch(e){case g.topFocus:(d(o)||"true"===o.contentEditable)&&(m=o,_=t,b=null);break;case g.topBlur:m=null,_=null,b=null;break;case g.topMouseDown:x=!0;break;case g.topContextMenu:case g.topMouseUp:return x=!1,a(n,r);case g.topSelectionChange:if(v)break;case g.topKeyDown:case g.topKeyUp:return a(n,r)}return null},didPutListener:function(e,t,n){t===C&&(w=!0)}};e.exports=E},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}var a=n(2),o=n(15),i=n(123),s=n(39),l=n(5),u=n(432),c=n(433),p=n(16),d=n(436),h=n(438),f=n(66),g=n(435),v=n(439),y=n(440),m=n(41),_=n(441),b=n(9),x=n(112),w=(n(1),n(17)),C=o.topLevelTypes,E={abort:{phasedRegistrationNames:{bubbled:w({onAbort:!0}),captured:w({onAbortCapture:!0})}},animationEnd:{phasedRegistrationNames:{bubbled:w({onAnimationEnd:!0}),captured:w({onAnimationEndCapture:!0})}},animationIteration:{phasedRegistrationNames:{bubbled:w({onAnimationIteration:!0}),captured:w({onAnimationIterationCapture:!0})}},animationStart:{phasedRegistrationNames:{bubbled:w({onAnimationStart:!0}),captured:w({onAnimationStartCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:w({onBlur:!0}),captured:w({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:w({onCanPlay:!0}),captured:w({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:w({onCanPlayThrough:!0}),captured:w({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:w({onClick:!0}),captured:w({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:w({onContextMenu:!0}),captured:w({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:w({onCopy:!0}),captured:w({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:w({onCut:!0}),captured:w({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:w({onDoubleClick:!0}),captured:w({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:w({onDrag:!0}),captured:w({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:w({onDragEnd:!0}),captured:w({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:w({onDragEnter:!0}),captured:w({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:w({onDragExit:!0}),captured:w({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:w({onDragLeave:!0}),captured:w({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:w({onDragOver:!0}),captured:w({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:w({onDragStart:!0}),captured:w({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:w({onDrop:!0}),captured:w({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:w({onDurationChange:!0}),captured:w({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:w({onEmptied:!0}),captured:w({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:w({onEncrypted:!0}),captured:w({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:w({onEnded:!0}),captured:w({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:w({onError:!0}),captured:w({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:w({onFocus:!0}),captured:w({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:w({onInput:!0}),captured:w({onInputCapture:!0})}},invalid:{phasedRegistrationNames:{bubbled:w({onInvalid:!0}),captured:w({onInvalidCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:w({onKeyDown:!0}),captured:w({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:w({onKeyPress:!0}),captured:w({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:w({onKeyUp:!0}),captured:w({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:w({onLoad:!0}),captured:w({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:w({onLoadedData:!0}),captured:w({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:w({onLoadedMetadata:!0}),captured:w({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:w({onLoadStart:!0}),captured:w({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:w({onMouseDown:!0}),captured:w({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:w({onMouseMove:!0}),captured:w({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:w({onMouseOut:!0}),captured:w({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:w({onMouseOver:!0}),captured:w({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:w({onMouseUp:!0}),captured:w({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:w({onPaste:!0}),captured:w({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:w({onPause:!0}),captured:w({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:w({onPlay:!0}),captured:w({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:w({onPlaying:!0}),captured:w({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:w({onProgress:!0}),captured:w({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:w({onRateChange:!0}),captured:w({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:w({onReset:!0}),captured:w({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:w({onScroll:!0}),captured:w({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:w({onSeeked:!0}),captured:w({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:w({onSeeking:!0}),captured:w({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:w({onStalled:!0}),captured:w({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:w({onSubmit:!0}),captured:w({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:w({onSuspend:!0}),captured:w({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:w({onTimeUpdate:!0}),captured:w({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:w({onTouchCancel:!0}),captured:w({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:w({onTouchEnd:!0}),captured:w({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:w({onTouchMove:!0}),captured:w({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:w({onTouchStart:!0}),captured:w({onTouchStartCapture:!0})}},transitionEnd:{phasedRegistrationNames:{bubbled:w({onTransitionEnd:!0}),captured:w({onTransitionEndCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:w({onVolumeChange:!0}),captured:w({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:w({onWaiting:!0}),captured:w({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:w({onWheel:!0}),captured:w({onWheelCapture:!0})}}},A={topAbort:E.abort,topAnimationEnd:E.animationEnd,topAnimationIteration:E.animationIteration,topAnimationStart:E.animationStart,topBlur:E.blur,topCanPlay:E.canPlay,topCanPlayThrough:E.canPlayThrough,topClick:E.click,topContextMenu:E.contextMenu,topCopy:E.copy,topCut:E.cut,topDoubleClick:E.doubleClick,topDrag:E.drag,topDragEnd:E.dragEnd,topDragEnter:E.dragEnter,topDragExit:E.dragExit,topDragLeave:E.dragLeave,topDragOver:E.dragOver,topDragStart:E.dragStart,topDrop:E.drop,topDurationChange:E.durationChange,topEmptied:E.emptied,topEncrypted:E.encrypted,topEnded:E.ended,topError:E.error,topFocus:E.focus,topInput:E.input,topInvalid:E.invalid,topKeyDown:E.keyDown,topKeyPress:E.keyPress,topKeyUp:E.keyUp,topLoad:E.load,topLoadedData:E.loadedData,topLoadedMetadata:E.loadedMetadata,topLoadStart:E.loadStart,topMouseDown:E.mouseDown,topMouseMove:E.mouseMove,topMouseOut:E.mouseOut,topMouseOver:E.mouseOver,topMouseUp:E.mouseUp,topPaste:E.paste,topPause:E.pause,topPlay:E.play,topPlaying:E.playing,topProgress:E.progress,topRateChange:E.rateChange,topReset:E.reset,topScroll:E.scroll,topSeeked:E.seeked,topSeeking:E.seeking,topStalled:E.stalled,topSubmit:E.submit,topSuspend:E.suspend,topTimeUpdate:E.timeUpdate,topTouchCancel:E.touchCancel,topTouchEnd:E.touchEnd,topTouchMove:E.touchMove,topTouchStart:E.touchStart,topTransitionEnd:E.transitionEnd,topVolumeChange:E.volumeChange,topWaiting:E.waiting,topWheel:E.wheel};for(var T in A)A[T].dependencies=[T];var S=w({onClick:null}),P={},O={eventTypes:E,extractEvents:function(e,t,n,r){var o=A[e];if(!o)return null;var i;switch(e){case C.topAbort:case C.topCanPlay:case C.topCanPlayThrough:case C.topDurationChange:case C.topEmptied:case C.topEncrypted:case C.topEnded:case C.topError:case C.topInput:case C.topInvalid:case C.topLoad:case C.topLoadedData:case C.topLoadedMetadata:case C.topLoadStart:case C.topPause:case C.topPlay:case C.topPlaying:case C.topProgress:case C.topRateChange:case C.topReset:case C.topSeeked:case C.topSeeking:case C.topStalled:case C.topSubmit:case C.topSuspend:case C.topTimeUpdate:case C.topVolumeChange:case C.topWaiting:i=p;break;case C.topKeyPress:if(0===x(n))return null;case C.topKeyDown:case C.topKeyUp:i=h;break;case C.topBlur:case C.topFocus:i=d;break;case C.topClick:if(2===n.button)return null;case C.topContextMenu:case C.topDoubleClick:case C.topMouseDown:case C.topMouseMove:case C.topMouseOut:case C.topMouseOver:case C.topMouseUp:i=f;break;case C.topDrag:case C.topDragEnd:case C.topDragEnter:case C.topDragExit:case C.topDragLeave:case C.topDragOver:case C.topDragStart:case C.topDrop:i=g;break;case C.topTouchCancel:case C.topTouchEnd:case C.topTouchMove:case C.topTouchStart:i=v;break;case C.topAnimationEnd:case C.topAnimationIteration:case C.topAnimationStart:i=u;break;case C.topTransitionEnd:i=y;break;case C.topScroll:i=m;break;case C.topWheel:i=_;break;case C.topCopy:case C.topCut:case C.topPaste:i=c}i?void 0:a("86",e);var l=i.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(l),l},didPutListener:function(e,t,n){if(t===S){var a=r(e),o=l.getNodeFromInstance(e);P[a]||(P[a]=i.listen(o,"click",b))}},willDeleteListener:function(e,t){if(t===S){var n=r(e);P[n].remove(),delete P[n]}}};e.exports=O},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(16),o={animationName:null,elapsedTime:null,pseudoElement:null};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(16),o={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(16),o={data:null};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(66),o={dataTransfer:null};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(41),o={relatedTarget:null};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(16),o={data:null};a.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(41),o=n(112),i=n(447),s=n(113),l={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?o(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?o(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};a.augmentClass(r,l),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(41),o=n(113),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};a.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(16),o={propertyName:null,elapsedTime:null,pseudoElement:null};a.augmentClass(r,o),
e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return a.call(this,e,t,n,r)}var a=n(66),o={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};a.augmentClass(r,o),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,a=0,o=e.length,i=o&-4;a<i;){for(var s=Math.min(a+4096,i);a<s;a+=4)n+=(t+=e.charCodeAt(a))+(t+=e.charCodeAt(a+1))+(t+=e.charCodeAt(a+2))+(t+=e.charCodeAt(a+3));t%=r,n%=r}for(;a<o;a++)n+=t+=e.charCodeAt(a);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){(function(t){"use strict";function r(e,t,n,r,l,u){for(var c in e)if(e.hasOwnProperty(c)){var p;try{"function"!=typeof e[c]?a("84",r||"React class",o[n],c):void 0,p=e[c](t,c,r,n,null,i)}catch(d){p=d}if(p instanceof Error&&!(p.message in s)){s[p.message]=!0}}}var a=n(2),o=n(107),i=n(109);n(1),n(3);"undefined"!=typeof t&&t.env,1;var s={};e.exports=r}).call(t,n(62))},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var a=isNaN(t);if(a||0===t||o.hasOwnProperty(e)&&o[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var a=n(183),o=(n(3),a.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=i.get(e);return t?(t=s(t),t?o.getNodeFromInstance(t):null):void("function"==typeof e.render?a("44"):a("45",Object.keys(e)))}var a=n(2),o=(n(20),n(5)),i=n(40),s=n(203);n(1),n(3);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var a=e,o=void 0===a[n];o&&null!=t&&(a[n]=t)}}function a(e,t){if(null==e)return e;var n={};return o(e,r,n),n}var o=(n(100),n(117));n(3);"undefined"!=typeof t&&t.env,1,e.exports=a}).call(t,n(62))},function(e,t,n){"use strict";function r(e){if(e.key){var t=o[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=a(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var a=n(112),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function a(e,t){for(var a=n(e),o=0,i=0;a;){if(3===a.nodeType){if(i=o+a.textContent.length,o<=t&&i>=t)return{node:a,offset:t-o};o=i}a=n(r(a))}}e.exports=a},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function a(e){if(s[e])return s[e];if(!i[e])return e;var t=i[e];for(var n in t)if(t.hasOwnProperty(n)&&n in l)return s[e]=t[n];return""}var o=n(7),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},l={};o.canUseDOM&&(l=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),e.exports=a},function(e,t,n){"use strict";function r(e){return o.isValidElement(e)?void 0:a("143"),e}var a=n(2),o=n(13);n(1);e.exports=r},function(e,t,n){"use strict";function r(e){return'"'+a(e)+'"'}var a=n(67);e.exports=r},function(e,t,n){"use strict";var r=n(194);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,a){var i=e(n,r,a),l=i.dispatch,u=[],c={getState:i.getState,dispatch:function(e){return l(e)}};return u=t.map(function(e){return e(c)}),l=s["default"].apply(void 0,u)(i.dispatch),o({},i,{dispatch:l})}}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=a;var i=n(209),s=r(i)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),a={},o=0;o<r.length;o++){var i=r[o],s=e[i];"function"==typeof s&&(a[i]=n(s,t))}return a}t.__esModule=!0,t["default"]=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function o(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var a="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:a}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var s,l=Object.keys(n);try{o(n)}catch(u){s=u}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,o={},i=0;i<l.length;i++){var u=l[i],c=n[u],p=e[u],d=c(p,t);if("undefined"==typeof d){var h=a(u,t);throw new Error(h)}o[u]=d,r=r||d!==p}return r?o:e}}t.__esModule=!0,t["default"]=i;var s=n(210),l=n(61),u=(r(l),n(212));r(u)},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=h[r.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](r.parts[o]);for(;o<r.parts.length;o++)a.parts.push(u(r.parts[o],t))}else{for(var i=[],o=0;o<r.parts.length;o++)i.push(u(r.parts[o],t));h[r.id]={id:r.id,refs:1,parts:i}}}}function a(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],o=a[0],i=a[1],s=a[2],l=a[3],u={css:i,media:s,sourceMap:l};n[o]?n[o].parts.push(u):t.push(n[o]={id:o,parts:[u]})}return t}function o(e,t){var n=v(),r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function u(e,t){var n,r,a;if(t.singleton){var o=m++;n=y||(y=s(t)),r=c.bind(null,n,o,!1),a=c.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),a=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),a=function(){i(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}function c(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([n],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(a),o&&URL.revokeObjectURL(o)}var h={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},g=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=f(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,m=0,_=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=g()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=a(e);return r(n,t),function(e){for(var o=[],i=0;i<n.length;i++){var s=n[i],l=h[s.id];l.refs--,o.push(l)}if(e){var u=a(e);r(u,t)}for(var i=0;i<o.length;i++){var l=o[i];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete h[l.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){var r=n(223);"string"==typeof r&&(r=[[e.id,r,""]]);n(456)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){e.exports=n(459)},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(460),o=r(a),i=void 0;"undefined"!=typeof e?i=e:"undefined"!=typeof window&&(i=window);var s=(0,o["default"])(i);t["default"]=s}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=(0,i["default"])(e);return function(){return t}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(119),i=r(o);t["default"]=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(213),o=r(a),i=n(30),s=r(i);t["default"]=(0,s["default"])(function(e,t,n){return(0,o["default"])(e,t,function(e){return e},n)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var a=n(461),o=r(a),i=n(119),s=r(i),l=n(464),u=r(l),c=n(462),p=r(c),d=n(213),h=r(d),f=n(214),g=r(f),v=n(465),y=r(v),m=n(466),_=r(m),b=n(467),x=r(b),w=n(43),C=r(w),E=n(468),A=r(E),T=n(469),S=r(T),P=n(30),O=C["default"];O._=P._,O.constant=o["default"],O["if"]=p["default"],O.ifElse=h["default"],O.is=u["default"],O.freeze=s["default"],O.map=g["default"],O.omit=y["default"],O.omitBy=_["default"],O.reject=x["default"],O.update=C["default"],O.updateIn=A["default"],O.withDefault=S["default"],e.exports=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){for(var r=(0,i["default"])(e),a=n,o=0;o<r.length;++o){if("undefined"==typeof a)return!1;var s=r[o];a=a[s]}return"function"==typeof t?t(a):t===a}Object.defineProperty(t,"__esModule",{value:!0});var o=n(215),i=r(o),s=n(30),l=r(s);t["default"]=(0,l["default"])(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return(0,i["default"])(t,e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(176),i=r(o),s=n(31),l=r(s);t["default"]=(0,l["default"])(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return(0,i["default"])(t,e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(371),i=r(o),s=n(31),l=r(s);t["default"]=(0,l["default"])(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=(0,i["default"])(t,e),r=t.length===n.length;return r?t:n}Object.defineProperty(t,"__esModule",{value:!0});var o=n(177),i=r(o),s=n(31),l=r(s);t["default"]=(0,l["default"])(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return t===g?function(t){return Object.prototype.hasOwnProperty.call(t,g)?(0,c["default"])(a({},g,e),t):(0,d["default"])(e,t)}:a({},t,e)}function i(e,t,n){var r=(0,f["default"])(e),a=r.reduceRight(o,t);return(0,c["default"])(a,n)}Object.defineProperty(t,"__esModule",{value:!0});var s=n(30),l=r(s),u=n(43),c=r(u),p=n(214),d=r(p),h=n(215),f=r(h),g="*";t["default"]=(0,l["default"])(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return"undefined"==typeof n?(0,i["default"])(t,e):(0,i["default"])(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(43),i=r(o),s=n(30),l=r(s);t["default"]=(0,l["default"])(a)},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){(function(t){e.exports=t}).call(t,{})}]);