react-jsx-highstock
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -1,2 +0,1 @@ | ||
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
@@ -10,2 +9,7 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
import React, { Component } from 'react'; | ||
@@ -35,3 +39,3 @@ import PropTypes from 'prop-types'; | ||
var Highcharts = getHighcharts(); | ||
return _objectSpread({}, Highcharts.defaultOptions && Highcharts.defaultOptions.rangeSelector, rest, { | ||
return _objectSpread({}, Highcharts.defaultOptions && Highcharts.defaultOptions.rangeSelector, {}, rest, { | ||
inputEnabled: false, | ||
@@ -38,0 +42,0 @@ buttons: [] |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread"; | ||
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
@@ -10,2 +9,7 @@ import _createClass from "@babel/runtime/helpers/esm/createClass"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
import { Component } from 'react'; | ||
@@ -12,0 +16,0 @@ import PropTypes from 'prop-types'; |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactHighcharts=e(require("react")):t.ReactHighcharts=e(t.React)}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=16)}([function(e,n){e.exports=t},function(t,e,n){t.exports=n(11)()},,function(t,e,n){var r=n(14),i=n(15);t.exports=function(t,e,n){var o=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var a=(t=t||{}).random||(t.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var u=0;u<16;++u)e[o+u]=a[u];return e||i(a)}},function(t,e){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return!(!t||!t[r]&&!t[i]||t.__ownerID)};var r="@@__IMMUTABLE_ITERABLE__@@",i="@@__IMMUTABLE_RECORD__@@"},,function(t,e,n){"use strict";(function(e){var n="__global_unique_id__";t.exports=function(){return e[n]=(e[n]||0)+1}}).call(this,n(13))},function(t,e){const n=window.cancelAnimationFrame,r=window.requestAnimationFrame;t.exports=function(t){var e;return function(...i){e&&n(e),e=r(t.bind(t,...i))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}if("function"==typeof t.equals&&"function"==typeof e.equals&&t.equals(e))return!0;return!1},t.exports=e.default},,function(t,e,n){"use strict";var r=n(12);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}},function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(t,e){var r=e||0,i=n;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.r(e);var i=n(0),o=n.n(i),a=n(1),u=n.n(a);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t){return(v="function"==typeof Symbol&&"symbol"===h(Symbol.iterator)?function(t){return h(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":h(t)})(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?y(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}var C=n(3),S=n.n(C);var k=function(){this.__data__=[],this.size=0};var w=function(t,e){return t===e||t!=t&&e!=e};var P=function(t,e){for(var n=t.length;n--;)if(w(t[n][0],e))return n;return-1},A=Array.prototype.splice;var O=function(t){var e=this.__data__,n=P(e,t);return!(n<0||(n==e.length-1?e.pop():A.call(e,n,1),--this.size,0))};var j=function(t){var e=this.__data__,n=P(e,t);return n<0?void 0:e[n][1]};var E=function(t){return P(this.__data__,t)>-1};var _=function(t,e){var n=this.__data__,r=P(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function T(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}T.prototype.clear=k,T.prototype.delete=O,T.prototype.get=j,T.prototype.has=E,T.prototype.set=_;var L=T,D=Array.isArray;var R=function(){if(!arguments.length)return[];var t=arguments[0];return D(t)?t:[t]};var B=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var M=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1};var U=function(t,e){return!(null==t||!t.length)&&M(t,e,0)>-1},W=1,H=2;var N=function(t,e,n,r,i,o){var a=n&W,u=t.length,c=e.length;if(u!=c&&!(a&&c>u))return!1;var s=o.get(t);if(s&&o.get(e))return s==e;var l=-1,d=!0,p=n&H?new R:void 0;for(o.set(t,e),o.set(e,t);++l<u;){var f=t[l],h=e[l];if(r)var v=a?r(h,f,l,e,t,o):r(f,h,l,t,e,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!B(e,function(t,e){if(!U(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)})){d=!1;break}}else if(f!==h&&!i(f,h,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d};var I=function(t,e){return t===e||t!=t&&e!=e};var F=function(t,e){return function(n){return t(e(n))}},V=F(Object.keys,Object),q=1,z=Object.prototype.hasOwnProperty;var G=function(t,e,n,r,i,o){var a=n&q,u=V(t),c=u.length;if(c!=V(e).length&&!a)return!1;for(var s=c;s--;){var l=u[s];if(!(a?l in e:z.call(e,l)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++s<c;){var h=t[l=u[s]],v=e[l];if(r)var y=a?r(v,h,l,e,t,o):r(h,v,l,t,e,o);if(!(void 0===y?h===v||i(h,v,n,r,o):y)){p=!1;break}f||(f="constructor"==l)}if(p&&!f){var g=t.constructor,m=e.constructor;g!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(t),o.delete(e),p},X=Object.prototype.toString;var Y=function(t){return X.call(t)};var J=function(){return!1};var Z=function(){return!1},$=1,K="[object Arguments]",Q="[object Array]",tt="[object Object]",et=Object.prototype.hasOwnProperty;var nt=function(t,e,n,r,i,o){var a=D(t),u=D(e),c=a?Q:Y(t),s=u?Q:Y(e),l=(c=c==K?tt:c)==tt,d=(s=s==K?tt:s)==tt,p=c==s;if(p&&J(t)){if(!J(e))return!1;a=!0,l=!1}if(p&&!l)return o||(o=new L),a||Z(t)?N(t,e,n,r,i,o):I(t,e,c,n,r,i,o);if(!(n&$)){var f=l&&et.call(t,"__wrapped__"),h=d&&et.call(e,"__wrapped__");if(f||h){var v=f?t.value():t,y=h?e.value():e;return o||(o=new L),i(v,y,n,r,o)}}return!!p&&(o||(o=new L),G(t,e,n,r,i,o))};var rt=function(t){return null!=t&&"object"==typeof t};var it=function t(e,n,r,i,o){return e===n||(null==e||null==n||!rt(e)&&!rt(n)?e!=e&&n!=n:nt(e,n,r,i,t,o))};var ot=function(t,e){return it(t,e)};var at=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var ut=function(t){return t},ct=Math.max;var st=function(t,e,n){return e=ct(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=ct(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var u=Array(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),at(t,this,u)}};var lt=function(t){return t};var dt=function(t,e){return lt(st(t,e,ut),t+"")},pt=Object.prototype.toString;var ft=function(t){return pt.call(t)},ht=F(Object.getPrototypeOf,Object),vt="[object Object]",yt=Function.prototype,gt=Object.prototype,mt=yt.toString,bt=gt.hasOwnProperty,xt=mt.call(Object);var Ct=function(t){if(!rt(t)||ft(t)!=vt)return!1;var e=ht(t);if(null===e)return!0;var n=bt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&mt.call(n)==xt},St="[object DOMException]",kt="[object Error]";var wt=function(t){if(!rt(t))return!1;var e=ft(t);return e==kt||e==St||"string"==typeof t.message&&"string"==typeof t.name&&!Ct(t)},Pt=dt(function(t,e){try{return at(t,void 0,e)}catch(t){return wt(t)?t:new Error(t)}}),At=n(5),Ot=n.n(At),jt=n(9),Et=n.n(jt),_t=n(4),Tt=n.n(_t),Lt=n(7),Dt=n.n(Lt),Rt=1073741823;var Bt=o.a.createContext||function(t,e){var n,r,o="__create-react-context-"+Dt()()+"__",a=function(t){function n(){var e,n,r;return(e=t.apply(this,arguments)||this).emitter=(n=e.props.value,r=[],{on:function(t){r.push(t)},off:function(t){r=r.filter(function(e){return e!==t})},get:function(){return n},set:function(t,e){n=t,r.forEach(function(t){return t(n,e)})}}),e}Tt()(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[o]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,i=t.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof e?e(r,i):Rt,0!=(n|=0)&&this.emitter.set(t.value,n))}var o,a},r.render=function(){return this.props.children},n}(i.Component);a.childContextTypes=((n={})[o]=u.a.object.isRequired,n);var c=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!=((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}Tt()(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?Rt:e},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?Rt:t},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(i.Component);return c.contextTypes=((r={})[o]=u.a.object,r),{Provider:a,Consumer:c}},Mt=Bt(),Ut=Mt.Consumer,Wt=Mt.Provider,Ht=Mt;var Nt=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};var It=function(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Nt(t,e,n)};var Ft=function(){return!1};var Vt=function(t){return t.split("")};var qt=function(t){return t.split("")};var zt=function(t){return Ft(t)?qt(t):Vt(t)};var Gt=function(t){return t};var Xt=function(t){return function(e){e=Gt(e);var n=Ft(e)?zt(e):void 0,r=n?n[0]:e.charAt(0),i=n?It(n,1).join(""):e.slice(1);return r[t]()+i}},Yt=Xt("toLowerCase");var Jt=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var Zt=function(t){return t};var $t=function(t,e){return null==t?void 0:t[e]};var Kt=function(t,e){return null==t?void 0:t[e]},Qt=function(){try{var t=Kt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var te=function(t,e,n){"__proto__"==e&&Qt?Qt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},ee=Object.prototype.hasOwnProperty;var ne=function(t,e,n){var r=t[e];ee.call(t,e)&&w(r,n)&&(void 0!==n||e in t)||te(t,e,n)};var re=function(){if(!arguments.length)return[];var t=arguments[0];return D(t)?t:[t]},ie=9007199254740991,oe=/^(?:0|[1-9]\d*)$/;var ae=function(t,e){var n=typeof t;return!!(e=null==e?ie:e)&&("number"==n||"symbol"!=n&&oe.test(t))&&t>-1&&t%1==0&&t<e};var ue=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var ce=function(t){return t};var se=function(t,e,n,r){if(!ue(t))return t;for(var i=-1,o=(e=re(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var c=ce(e[i]),s=n;if(i!=a){var l=u[c];void 0===(s=r?r(l,c,u):void 0)&&(s=ue(l)?l:ae(e[i+1])?[]:{})}ne(u,c,s),u=u[c]}return t};var le=function(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=$t(t,a);n(u,a)&&se(o,re(a,t),u)}return o};var de=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var pe=function(t,e){if(null==t)return{};var n=Jt(de(t),function(t){return[t]});return e=Zt(e),le(t,n,function(t,n){return e(t,n[0])})},fe="Expected a function";var he=function(t){if("function"!=typeof t)throw new TypeError(fe);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}};var ve=function(t,e){return pe(t,he(Zt(e)))};var ye=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===n(o[c],c,o))break}return e}}(),ge=F(Object.keys,Object);var me=function(t,e){return t&&ye(t,e,ge)};var be=function(t,e){var n={};return e=Zt(e,3),me(t,function(t,r,i){te(n,e(t,r,i),t)}),n},xe=function(t){return ve(t,Se)},Ce=function(t){var e=function(t){return pe(t,Se)}(t);return be(e,function(t,e){return Yt(e.replace(/^on/,""))})},Se=function(t,e){return 0===e.indexOf("on")&&"function"==typeof t};var ke=function(t,e){var n={};return e=Zt(e,3),me(t,function(t,r,i){te(n,r,e(t,r,i))}),n},we=["getHighcharts","getChart","getAxis","getSeries","needsRedraw"];function Pe(t){var e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).filter(function(t){return we.indexOf(t)<0}).reduce(function(e,n){return e[n]=t[n],e},{})}(t);return ke(e,function(t){return!1===Ct(t)?t:Pe(t)})}function Ae(t){return function(e){for(var n=Pe(e),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.apply(void 0,[n].concat(i))}}function Oe(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=l(e,["children"]),o=pe(i,function(e,n){return!(we.indexOf(n)>-1)&&!1===ot(e,t[n])});return n&&!1===ot(t.children,r)&&(o.text=r),Object.keys(o).length>0&&o}var je=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getSeriesConfig",function(){var t=n.props,e=t.id,r=t.data,i=t.requiresAxis,o=t.getAxis,a=(t.children,l(t,["id","data","requiresAxis","getAxis","children"])),u="function"==typeof e?e():e,c=Ot()(r)?r.toJS():r,d=xe(a),p=s({id:u,data:c,events:Ce(a)},d);if(i){var f=o();p[f.type]=f.id}return p}),c(y(n),"createSeries",function(){var t=n.props.getChart(),e=n.getSeriesConfig();n.series=t.addSeries(e,!1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.visible,r=e.data,i=l(e,["visible","data"]),o=!1;Ot()(r)&&!1===Et()(r,t.data)?(this.series.setData(r.toJS(),!1),o=!0):!1===ot(r,t.data)&&(this.series.setData(r,!1),o=!0),n!==t.visible&&(this.series.setVisible(n,!1),o=!0);var a=Oe(t,i);!1!==a&&(this.series.update(a,!1),o=!0),o&&this.props.needsRedraw()}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.series&&this.series.remove&&(Pt(this.series.remove.bind(this.series),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.series||this.createSeries(),o.a.createElement(Wt,{value:this.series},this.props.children)}}]),e}();c(je,"defaultProps",{type:"line",id:S.a,children:null,data:[],requiresAxis:!0,visible:!0});var Ee=je;var _e=function(t,e){return null==t||t!=t?e:t},Te=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"state",{render:!1}),c(y(n),"renderTimeout",null),c(y(n),"unmounted",!1),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this;this.renderTimeout=window.requestAnimationFrame(function(){!1===t.unmounted&&t.setState({render:!0}),t.renderTimeout=null})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0,null!==this.renderTimeout&&window.cancelAnimationFrame(this.renderTimeout)}},{key:"render",value:function(){return this.state.render?this.props.children:null}}]),e}(),Le=Bt(),De=Le.Consumer,Re=Le.Provider,Be=Le,Me=Bt(),Ue=Me.Consumer,We=Me.Provider,He=Me;function Ne(t){return t.displayName||t.name||"Component"}function Ie(t){var e=function(e){return o.a.createElement(Ue,null,function(n){return o.a.createElement(t,r({},e,{getHighcharts:function(){return n}}))})};return e.displayName="Highcharts.Provider(".concat(Ne(t),")"),e}function Fe(t){var e=function(e){return o.a.createElement(De,null,function(n){var i=n.chart,a=n.chartType,u=n.needsRedraw;if(!i)return null;return o.a.createElement(t,r({},e,{getChart:function(){return{object:i,type:a,get:i.get.bind(i),setSize:i.setSize.bind(i),update:Ae(i.update.bind(i)),addAxis:Ae(i.addAxis.bind(i)),addSeries:Ae(i.addSeries.bind(i)),setTitle:Ae(i.setTitle.bind(i)),showLoading:i.showLoading.bind(i),hideLoading:i.hideLoading.bind(i),addCredits:Ae(i.addCredits.bind(i)),addAnnotation:i.addAnnotation?Ae(i.addAnnotation.bind(i)):null,removeAnnotation:i.removeAnnotation?i.removeAnnotation.bind(i):null}},needsRedraw:u}))})};return e.displayName="Chart.Provider(".concat(Ne(t),")"),Ie(e)}var Ve=Bt(),qe=Ve.Consumer,ze=Ve.Provider,Ge=Ve;function Xe(t){var e=function(e){var n=_e(e.requiresAxis,!0);return o.a.createElement(Te,null,o.a.createElement(qe,null,function(i){if(!i&&e.axisId){var a=e.getChart();i=a.get(e.axisId)}if(!i&&n)return null;return o.a.createElement(t,r({},e,{getAxis:function(){return{object:i,id:i.userOptions&&i.userOptions.id,type:i.coll,update:Ae(i.update.bind(i)),remove:i.remove.bind(i),addPlotBand:Ae(i.addPlotBand.bind(i)),removePlotBand:i.removePlotBand.bind(i),addPlotLine:Ae(i.addPlotLine.bind(i)),removePlotLine:i.removePlotLine.bind(i),getExtremes:i.getExtremes.bind(i),setExtremes:i.setExtremes.bind(i),setTitle:Ae(i.setTitle.bind(i))}}}))}))};return e.displayName="Axis.Provider(".concat(Ne(t),")"),Fe(e)}var Ye=Xe(Ee);function Je(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],function(n){return o.a.createElement(Ye,r({},n,e,{type:t.toLowerCase()}))});return n.displayName="".concat(t,"Series"),n}var Ze=n(8),$e=n.n(Ze),Ke=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"initHighcharts",function(){if(n.domNode){var t=n.props,e=t.chartCreationFunc,r=t.callback,i=t.chart,o=t.polar,a=t.gauge,u=t.styledMode,c=(t.children,l(t,["chartCreationFunc","callback","chart","polar","gauge","styledMode","children"])),d=s({chart:s({styledMode:u},i),title:{text:null},subtitle:{text:null},legend:{enabled:!1},rangeSelector:{enabled:!1},navigator:{enabled:!1},scrollbar:{enabled:!1},tooltip:{enabled:!1},credits:{enabled:!1},series:[],xAxis:[],yAxis:[]},c);n.chart=e(n.domNode,d),n.chart.polar=o,n.chart.angular=a,r(n.chart),n.setState({rendered:!0})}}),c(y(n),"setDomNode",function(t){n.domNode=t}),c(y(n),"needsRedraw",$e()(function(){n.chart.__destroyed||Pt(n.chart.redraw.bind(n.chart))})),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){window.requestAnimationFrame(this.initHighcharts)}},{key:"componentDidUpdate",value:function(t){var e=this.props.plotOptions;!1===ot(t.plotOptions,e)&&this.chart&&(this.chart.update({plotOptions:e},!1),this.needsRedraw())}},{key:"componentWillUnmount",value:function(){this.chart&&(window.requestAnimationFrame(this.chart.destroy.bind(this.chart)),this.chart.__destroyed=!0)}},{key:"render",value:function(){var t=this.props,e=t.chartType,n=t.children;return o.a.createElement("div",{className:"chart ".concat(this.props.className),ref:this.setDomNode},this.state.rendered&&o.a.createElement(Re,{value:{chart:this.chart,chartType:e,needsRedraw:this.needsRedraw}},n))}}]),e}();c(Ke,"defaultProps",{children:null,className:"",styledMode:!1,callback:function(){}});var Qe=Ke,tn=Ie(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Qe,r({},this.props,{chartCreationFunc:this.props.getHighcharts().chart,chartType:"chart"}))}}]),e}()),en=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateChart",function(t){n.props.getChart().update({chart:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t,e,n,r=this.props,i=r.width,o=r.height,a=r.getHighcharts,u=r.getChart,c=(r.needsRedraw,r.children,l(r,["width","height","getHighcharts","getChart","needsRedraw","children"])),s=xe(c),d=u();d.setSize(i,o),this.updateChart(s),t=a(),e=d.object,n=Ce(c),Object.keys(n).forEach(function(r){t.addEvent(e,r,n[r])})}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.width,r=e.height,i=e.getChart,o=l(e,["width","height","getChart"]);n===t.width&&r===t.height||i().setSize(n,r);var a=Oe(t,o);!1!==a&&this.updateChart(a)}},{key:"render",value:function(){return null}}]),e}();c(en,"defaultProps",{type:"line",onAddSeries:function(){},onAfterPrint:function(){},onBeforePrint:function(){},onClick:function(){},onLoad:function(){},onRedraw:function(){},onRender:function(){},onSelection:function(){}});var nn=Fe(en),rn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getAxisConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"])),i="function"==typeof e?e():e,o=xe(r);return s({id:i,title:{text:null},events:Ce(r)},o)}),c(y(n),"createAxis",function(){var t=n.props,e=t.id,r=t.dynamicAxis,i=t.isX,o=(0,t.getChart)(),a=n.getAxisConfig();if(r)n.axis=o.addAxis(a,i,!1);else{var u="function"==typeof e?e():e;n.axis=o.get(u),n.axis.update.call(n.axis,a,!1)}}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&(this.axis.update(e,!1),this.props.needsRedraw())}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.axis.remove&&(Pt(this.axis.remove.bind(this.axis),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.axis||this.createAxis(),o.a.createElement(ze,{value:this.axis},this.props.children)}}]),e}();c(rn,"defaultProps",{id:S.a,children:null,dynamicAxis:!0});var on=rn,an=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateAxisTitle",function(t){n.props.getAxis().setTitle(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateAxisTitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props,!0);!1!==e&&this.updateAxisTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateAxisTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),un=Fe(on);un.Title=Xe(an);var cn=un,sn=Fe(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.getChart,n=t.id,i=l(t,["getChart","id"]),a="stockChart"===e().type,u=a?"datetime":"linear",c=a?"xAxis":n;return o.a.createElement(cn,r({type:u},i,{id:c,isX:!0}))}}]),e}());sn.Title=cn.Title;var ln=sn,dn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(cn,r({},this.props,{isX:!1}))}}]),e}();c(dn,"defaultProps",{type:"linear"}),dn.Title=cn.Title;var pn=dn,fn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props.children;return t?[t]:null}}]),e}(),hn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.height,n=t.width,r=t.margin,i=t.style,a=t.series,u=t.children,c=l(t,["height","width","margin","style","series","children"]),d=!!a,p=s({overflow:"visible"},i),f=d?a:u;return o.a.createElement(tn,c,o.a.createElement(nn,{height:e,width:n,animation:!1,backgroundColor:null,borderWidth:0,margin:r,style:p,skipClone:!0}),o.a.createElement(ln,{labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[]}),o.a.createElement(pn,{id:"sparkline",labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[0]},f),d&&o.a.createElement(fn,null,u))}}]),e}();c(hn,"defaultProps",{height:20,width:120,margin:[2,0,2,0],style:{},plotOptions:{series:{animation:!1,lineWidth:1,shadow:!1,states:{hover:{lineWidth:1}},marker:{radius:1,states:{hover:{radius:2}}},fillOpacity:.25}}});var vn=hn,yn=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"update3dOptions",function(){var t=n.props,e={chart:{options3d:{enabled:!0,alpha:t.alpha,axisLabelPosition:t.axisLabelPosition,beta:t.beta,depth:t.depth,fitToPlot:t.fitToPlot,frame:t.frame,viewDistance:t.viewDistance}}};(0,t.getChart)().update(e,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.update3dOptions()}},{key:"componentDidUpdate",value:function(){this.update3dOptions()}},{key:"render",value:function(){return null}}]),e}();c(yn,"defaultProps",{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:"default",frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}});var gn=Fe(yn),mn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.alpha,i=t.axisLabelPosition,a=t.beta,u=t.depth,c=t.fitToPlot,s=t.frame,d=t.viewDistance,p=l(t,["children","alpha","axisLabelPosition","beta","depth","fitToPlot","frame","viewDistance"]);return o.a.createElement(tn,r({chart:{options3d:{enabled:!0}},zAxis:{id:"zAxis"}},p),o.a.createElement(gn,{alpha:n,axisLabelPosition:i,beta:a,depth:u,fitToPlot:c,frame:s,viewDistance:d}),e)}}]),e}(),bn=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getAnnotationConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),s({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getChart(),e=this.getAnnotationConfig();t.addAnnotation(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Oe(t,this.props)){var e=this.props.getChart(),n=this.getAnnotationConfig();e.removeAnnotation(n.id),e.addAnnotation(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();Pt(t.removeAnnotation,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(fn,null,n)}}]),e}();c(bn,"defaultProps",{id:S.a});var xn=Fe(bn),Cn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateCredits",function(t){var e=n.props.getChart();"text"in t&&!t.text&&delete t.text,e.addCredits(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateCredits(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props,!0);!1!==e&&this.updateCredits(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateCredits,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(Cn,"defaultProps",{enabled:!0});var Sn=Fe(Cn),kn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateLoading",function(t){n.props.getChart().update({loading:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=t.isLoading,r=t.getChart,i=l(t,["children","isLoading","getChart"]);(this.updateLoading(i),n)&&r().showLoading(e)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.children,r=e.isLoading,i=e.getChart,o=Oe(t,l(e,["children","isLoading","getChart"]));if(!1!==o&&this.updateLoading(o),r!==t.isLoading){var a=i();r&&a.showLoading(n),r||a.hideLoading()}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();Pt(t.hideLoading)}},{key:"render",value:function(){return null}}]),e}();c(kn,"defaultProps",{isLoading:!0});var wn=Fe(kn),Pn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateLegend",function(t){n.props.getChart().update({legend:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateLegend(s({},e))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateLegend(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateLegend,{enabled:!1})}},{key:"render",value:function(){return this.props.children}}]),e}();c(Pn,"defaultProps",{children:null,enabled:!0});var An=Pn,On=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateLegendTitle",function(t){n.props.getChart().update({legend:{title:t}},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateLegendTitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props,!0);!1!==e&&this.updateLegendTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateLegendTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),jn=Fe(An);jn.Title=Fe(On);var En=jn,_n=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updatePane",function(t){n.props.getChart().update({pane:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updatePane(s({},e))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updatePane(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updatePane,{})}},{key:"render",value:function(){return null}}]),e}();c(_n,"defaultProps",{children:null});var Tn=Fe(_n),Ln=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getPlotBandConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),s({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotBandConfig();t.addPlotBand(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Oe(t,this.props)){var e=this.props.getAxis(),n=this.getPlotBandConfig();e.removePlotBand(n.id),e.addPlotBand(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();Pt(t.removePlotBand,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(fn,null,n)}}]),e}();c(Ln,"defaultProps",{id:S.a});var Dn=Ln,Rn="[object AsyncFunction]",Bn="[object Function]",Mn="[object GeneratorFunction]",Un="[object Proxy]";var Wn=function(t){if(!ue(t))return!1;var e=ft(t);return e==Bn||e==Mn||e==Rn||e==Un},Hn=9007199254740991;var Nn=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn};var In=function(t){return null!=t&&Nn(t.length)&&!Wn(t)};var Fn=function(t){return function(e,n,r){var i=Object(e);if(!In(e)){var o=Zt(n,3);e=ge(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}};var Vn=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var qn=function(t){return t},zn=Math.max;var Gn=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qn(n);return i<0&&(i=zn(r+i,0)),Vn(t,Zt(e,3),i)},Xn=Fn(Gn),Yn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getLabelProps",function(t){return pe(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(n),"updatePlotBandLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.requestAnimationFrame(function(){var e=i.object&&Xn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updatePlotBandLabel(s({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Oe(t,this.props,!0)){var e=this.props,n=e.children,r=l(e,["children"]);this.updatePlotBandLabel(s({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));Pt(this.updatePlotBandLabel,s({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(Yn,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var Jn=Yn,Zn=Xe(Dn);Zn.Label=Xe(Jn);var $n=Zn,Kn=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getPlotLineConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),s({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotLineConfig();t.addPlotLine(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Oe(t,this.props)){var e=this.props.getAxis(),n=this.getPlotLineConfig();e.removePlotLine(n.id),e.addPlotLine(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();Pt(t.removePlotLine,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(fn,null,n)}}]),e}();c(Kn,"defaultProps",{id:S.a});var Qn=Kn,tr=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getLabelProps",function(t){return pe(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(n),"updatePlotLineLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.requestAnimationFrame(function(){var e=i.object&&Xn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updatePlotLineLabel(s({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Oe(t,this.props,!0)){var e=this.props,n=e.children,r=l(e,["children"]);this.updatePlotLineLabel(s({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));Pt(this.updatePlotLineLabel,s({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(tr,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var er=tr,nr=Xe(Qn);nr.Label=Xe(er);var rr=nr,ir=Fe(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateSubtitle",function(t){n.props.getChart().setTitle(void 0,t,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateSubtitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props,!0);!1!==e&&this.updateSubtitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateSubtitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),or=Fe(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateTitle",function(t){n.props.getChart().setTitle(t,null,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateTitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props,!0);!1!==e&&this.updateTitle(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),ar=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateTooltip",function(t){n.props.getChart().update({tooltip:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=(t.needsRedraw,l(t,["children","getHighcharts","getChart","needsRedraw"])),i=e(),o=n().object;o.tooltip=new i.Tooltip(o,s({},i.defaultOptions&&i.defaultOptions.tooltip,r)),this.updateTooltip(r)}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateTooltip(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateTooltip,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(ar,"defaultProps",{children:null,enabled:!0});var ur=Fe(ar),cr=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(cn,r({},this.props,{id:"zAxis",isX:!1,dynamicAxis:!1}))}}]),e}();c(cr,"defaultProps",{type:"linear"}),cr.Title=cn.Title;var sr=cr,lr=Fe(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.props.getChart().update({chart:{inverted:!0}})}},{key:"render",value:function(){return o.a.createElement(Ye,r({},this.props,{type:"bar"}))}}]),e}());function dr(t){var e=function(e){return o.a.createElement(Te,null,o.a.createElement(Ut,null,function(n){if(!n&&e.seriesId){var i=e.getChart();n=i.get(e.seriesId)}if(!n)return null;return o.a.createElement(t,r({},e,{getSeries:function(){return{object:n,id:n.userOptions&&n.userOptions.id,type:n.type,update:Ae(n.update.bind(n)),remove:n.remove.bind(n),setData:n.setData.bind(n),setVisible:n.setVisible.bind(n)}}}))}))};return e.displayName="Series.Provider(".concat(Ne(t),")"),Xe(e)}function pr(t,e){return function(n){return o.a.createElement(We,{value:e},o.a.createElement(t,n))}}var fr=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.varName,n=(0,t.getChart)();window[e]=n.object,console.log("Chart instance available as global variable as window.".concat(e))}},{key:"componentWillUnmount",value:function(){window[this.props.varName]=void 0}},{key:"render",value:function(){return o.a.createElement(fn,null)}}]),e}();c(fr,"defaultProps",{varName:"chart"});var hr=Fe(fr),vr={requiresAxis:!1},yr={baseSeries:u.a.string.isRequired},gr=Je("AreaRange"),mr=Je("Area"),br=Je("AreaSplineRange"),xr=Je("AreaSpline"),Cr=Je("BellCurve",{},yr),Sr=Je("BoxPlot"),kr=Je("Bubble"),wr=Je("Bullet"),Pr=Je("ColumnPyramid"),Ar=Je("ColumnRange"),Or=Je("Column"),jr=Je("Cylinder"),Er=Je("DependencyWheel"),_r=Je("ErrorBar"),Tr=Je("Funnel",vr),Lr=Je("Funnel3d"),Dr=Je("Gauge"),Rr=Je("Heatmap"),Br=Je("Histogram",{},yr),Mr=Je("Item"),Ur=Je("Line"),Wr=Je("NetworkGraph"),Hr=Je("PackedBubble",vr),Nr=Je("Pareto",{},yr),Ir=Je("Pie",vr),Fr=Je("Polygon"),Vr=Je("Pyramid",vr),qr=Je("Pyramid3d"),zr=Je("Sankey"),Gr=Je("Organization"),Xr=Je("Scatter"),Yr=Je("Scatter3d"),Jr=Je("SolidGauge"),Zr=Je("Spline"),$r=Je("StreamGraph"),Kr=Je("Sunburst"),Qr=Je("Tilemap"),ti=Je("Timeline"),ei=Je("Treemap"),ni=Je("VariablePie",vr),ri=Je("Variwide"),ii=Je("Venn",vr),oi=Je("Vector"),ai=Je("Waterfall"),ui=Je("WindBarb"),ci=Je("XRange"),si=Ie(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(Qe,r({},this.props,{chartCreationFunc:this.props.getHighcharts().stockChart,chartType:"stockChart"}))}}]),e}()),li=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateNavigatorAxis",function(t){n.props.getAxis().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateNavigatorAxis(xe(e))}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateNavigatorAxis(e)}},{key:"render",value:function(){var t=this.props,e=t.axisId,n=t.children;if(!n)return null;var r=i.Children.map(n,function(t){return!1===Object(i.isValidElement)(t)?t:Object(i.cloneElement)(t,{axisId:e})});return o.a.createElement(fn,null,r)}}]),e}(),di=Xe(li),pi=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(di,r({},this.props,{axisId:"navigator-x-axis"}))}}]),e}(),fi=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"updateNavigator",function(t){n.props.getChart().update({navigator:t},!0)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=l(t,["children","getHighcharts","getChart"]),i=e(),o=n().object;o.options.navigator.enabled=!0,i.fireEvent(o,"beforeRender"),this.updateNavigator(r),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateNavigator(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateNavigator,{enabled:!1})}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,t.state)});return o.a.createElement(pi,null,n)}}]),e}();c(fi,"defaultProps",{enabled:!0});var hi=fi,vi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateNavigatorSeries",function(t){n.props.getSeries().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.updateNavigatorSeries({showInNavigator:!0})}},{key:"componentWillUnmount",value:function(){Pt(this.updateNavigatorSeries,{showInNavigator:!1})}},{key:"render",value:function(){return null}}]),e}(),yi=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(di,r({},this.props,{axisId:"navigator-y-axis"}))}}]),e}(),gi=Fe(hi);gi.Series=dr(vi),gi.XAxis=pi,gi.YAxis=yi;var mi=gi,bi=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getRangeSelectorConfig",function(){var t=n.props,e=t.getHighcharts,r=(t.children,l(t,["getHighcharts","children"])),i=e();return s({},i.defaultOptions&&i.defaultOptions.rangeSelector,r,{inputEnabled:!1,buttons:[]})}),c(y(n),"updateRangeSelector",function(t){n.props.getChart().update({rangeSelector:t},!0)}),c(y(n),"renderRangeSelector",function(){var t=n.props,e=t.getChart,r=t.getAxis,i=e().object,o=r().getExtremes();i.rangeSelector.render.call(i.rangeSelector,o.min,o.max)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.getHighcharts,n=t.getChart,r=t.getAxis,i=e(),o=n().object;o.options.rangeSelector.enabled=!0,i.fireEvent(o,"init"),i.fireEvent(o,"afterGetContainer");var a=this.getRangeSelectorConfig();this.updateRangeSelector(a);var u=r().object;i.addEvent(u,"afterSetExtremes",this.renderRangeSelector),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateRangeSelector(e)}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.getHighcharts,n=(0,t.getAxis)().object;e().removeEvent(n,"afterSetExtremes",this.renderRangeSelector),Pt(this.updateRangeSelector,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t&&this.state.rendered?o.a.createElement(fn,null,t):null}}]),e}();c(bi,"defaultProps",{enabled:!0});var xi=Xe(bi),Ci=function(t){return o.a.createElement(xi,r({},t,{axisId:"xAxis"}))};function Si(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ki=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getButtons",function(){var t=n.props.getChart().object;if(t&&t.options){var e=t.options.rangeSelector.buttons;return void 0===e?[]:e}return[]}),c(y(n),"getButtonIndex",function(){var t=n.props,e=t.count,r=t.type;return Gn(n.getButtons(),function(t){return t.count===e&&t.type===r})}),c(y(n),"addButton",function(t){var e=[].concat(Si(n.getButtons()),[t]);n.updateRangeSelectorButtons(e)}),c(y(n),"removeButton",function(){var t=n.getButtonIndex();if(-1!==t){var e=Si(n.getButtons());e.splice(t,1),n.updateRangeSelectorButtons(e)}}),c(y(n),"updateRangeSelectorButtons",function(t){n.props.getChart().update({rangeSelector:{buttons:t}})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){if(!(this.getButtonIndex()>-1)){var t=this.props,e=t.count,n=t.type,r=t.offsetMin,i=t.offsetMax,o=t.dataGrouping,a=t.children,u=l(t,["count","type","offsetMin","offsetMax","dataGrouping","children"]),c={count:e,type:n,offsetMin:r,offsetMax:i,dataGrouping:o,text:a,events:Ce(u)};this.addButton(c)}}},{key:"componentWillUnmount",value:function(){Pt(this.removeButton)}},{key:"render",value:function(){return null}}]),e}();c(ki,"defaultProps",{count:1,offsetMin:0,offsetMax:0});var wi=ki,Pi=Xt("toUpperCase"),Ai=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"prefixPropsWithInput",function(t){return be(t,function(t,e){return 0===e.indexOf("input")?e:"input".concat(Pi(e))})}),c(y(n),"updateRangeSelectorInputs",function(t){var e=n.props.getChart(),r=n.prefixPropsWithInput(t);e.update({rangeSelector:s({},r)})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateRangeSelectorInputs(e)}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateRangeSelectorInputs(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateRangeSelectorInputs,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(Ai,"defaultProps",{enabled:!0});var Oi=Ai,ji=Fe(Ci);ji.Button=Fe(wi),ji.Input=Fe(Oi);var Ei=ji,_i=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateScrollbar",function(t){n.props.getChart().update({scrollbar:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateScrollbar(e)}},{key:"componentDidUpdate",value:function(t){var e=Oe(t,this.props);!1!==e&&this.updateScrollbar(e)}},{key:"componentWillUnmount",value:function(){Pt(this.updateScrollbar,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t?o.a.createElement(fn,null,t):null}}]),e}();c(_i,"defaultProps",{enabled:!0});var Ti=Fe(_i);n.d(e,"CandlestickSeries",function(){return Li}),n.d(e,"FlagsSeries",function(){return Di}),n.d(e,"OHLCSeries",function(){return Ri}),n.d(e,"FlagSeries",function(){return Bi}),n.d(e,"HighchartsChart",function(){return tn}),n.d(e,"HighchartsSparkline",function(){return vn}),n.d(e,"Highcharts3dChart",function(){return mn}),n.d(e,"Annotation",function(){return xn}),n.d(e,"Chart",function(){return nn}),n.d(e,"Credits",function(){return Sn}),n.d(e,"Loading",function(){return wn}),n.d(e,"Legend",function(){return En}),n.d(e,"Pane",function(){return Tn}),n.d(e,"PlotBand",function(){return $n}),n.d(e,"PlotLine",function(){return rr}),n.d(e,"Subtitle",function(){return ir}),n.d(e,"Title",function(){return or}),n.d(e,"Tooltip",function(){return ur}),n.d(e,"XAxis",function(){return ln}),n.d(e,"YAxis",function(){return pn}),n.d(e,"ZAxis",function(){return sr}),n.d(e,"AreaRangeSeries",function(){return gr}),n.d(e,"AreaSeries",function(){return mr}),n.d(e,"AreaSplineRangeSeries",function(){return br}),n.d(e,"AreaSplineSeries",function(){return xr}),n.d(e,"BarSeries",function(){return lr}),n.d(e,"BellCurveSeries",function(){return Cr}),n.d(e,"BoxPlotSeries",function(){return Sr}),n.d(e,"BubbleSeries",function(){return kr}),n.d(e,"BulletSeries",function(){return wr}),n.d(e,"ColumnPyramidSeries",function(){return Pr}),n.d(e,"ColumnRangeSeries",function(){return Ar}),n.d(e,"ColumnSeries",function(){return Or}),n.d(e,"CylinderSeries",function(){return jr}),n.d(e,"DependencyWheelSeries",function(){return Er}),n.d(e,"ErrorBarSeries",function(){return _r}),n.d(e,"FunnelSeries",function(){return Tr}),n.d(e,"Funnel3dSeries",function(){return Lr}),n.d(e,"GaugeSeries",function(){return Dr}),n.d(e,"HeatmapSeries",function(){return Rr}),n.d(e,"HistogramSeries",function(){return Br}),n.d(e,"ItemSeries",function(){return Mr}),n.d(e,"LineSeries",function(){return Ur}),n.d(e,"NetworkGraphSeries",function(){return Wr}),n.d(e,"PackedBubbleSeries",function(){return Hr}),n.d(e,"ParetoSeries",function(){return Nr}),n.d(e,"PieSeries",function(){return Ir}),n.d(e,"PolygonSeries",function(){return Fr}),n.d(e,"PyramidSeries",function(){return Vr}),n.d(e,"Pyramid3dSeries",function(){return qr}),n.d(e,"SankeySeries",function(){return zr}),n.d(e,"OrganizationSeries",function(){return Gr}),n.d(e,"ScatterSeries",function(){return Xr}),n.d(e,"Scatter3dSeries",function(){return Yr}),n.d(e,"SolidGaugeSeries",function(){return Jr}),n.d(e,"SplineSeries",function(){return Zr}),n.d(e,"StreamGraphSeries",function(){return $r}),n.d(e,"SunburstSeries",function(){return Kr}),n.d(e,"TilemapSeries",function(){return Qr}),n.d(e,"TimelineSeries",function(){return ti}),n.d(e,"TreemapSeries",function(){return ei}),n.d(e,"VariablePieSeries",function(){return ni}),n.d(e,"VariwideSeries",function(){return ri}),n.d(e,"VennSeries",function(){return ii}),n.d(e,"VectorSeries",function(){return oi}),n.d(e,"WaterfallSeries",function(){return ai}),n.d(e,"WindBarbSeries",function(){return ui}),n.d(e,"XRangeSeries",function(){return ci}),n.d(e,"HighchartsContext",function(){return He}),n.d(e,"HighchartsChartContext",function(){return Be}),n.d(e,"HighchartsAxisContext",function(){return Ge}),n.d(e,"HighchartsSeriesContext",function(){return Ht}),n.d(e,"provideHighcharts",function(){return Ie}),n.d(e,"provideChart",function(){return Fe}),n.d(e,"provideAxis",function(){return Xe}),n.d(e,"provideSeries",function(){return dr}),n.d(e,"withHighcharts",function(){return pr}),n.d(e,"Axis",function(){return cn}),n.d(e,"BaseChart",function(){return Qe}),n.d(e,"Debug",function(){return hr}),n.d(e,"Hidden",function(){return fn}),n.d(e,"Series",function(){return Ye}),n.d(e,"getModifiedProps",function(){return Oe}),n.d(e,"getNonEventHandlerProps",function(){return xe}),n.d(e,"getEventsConfig",function(){return Ce}),n.d(e,"withSeriesType",function(){return Je}),n.d(e,"HighchartsStockChart",function(){return si}),n.d(e,"Navigator",function(){return mi}),n.d(e,"RangeSelector",function(){return Ei}),n.d(e,"Scrollbar",function(){return Ti});var Li=Je("Candlestick"),Di=Je("Flags"),Ri=Je("OHLC"),Bi=Je("Flags")}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactHighcharts=e(require("react")):t.ReactHighcharts=e(t.React)}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(e,n){e.exports=t},function(t,e,n){t.exports=n(10)()},,function(t,e,n){var r=n(13),i=n(14);t.exports=function(t,e,n){var o=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var a=(t=t||{}).random||(t.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var u=0;u<16;++u)e[o+u]=a[u];return e||i(a)}},function(t,e){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return!(!t||!t[r]&&!t[i]||t.__ownerID)};var r="@@__IMMUTABLE_ITERABLE__@@",i="@@__IMMUTABLE_RECORD__@@"},,function(t,e,n){"use strict";(function(e){var n="__global_unique_id__";t.exports=function(){return e[n]=(e[n]||0)+1}}).call(this,n(12))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}if("function"==typeof t.equals&&"function"==typeof e.equals&&t.equals(e))return!0;return!1},t.exports=e.default},,function(t,e,n){"use strict";var r=n(11);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var i=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=t>>>((3&e)<<3)&255;return i}}},function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(t,e){var r=e||0,i=n;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.r(e);var i=n(0),o=n.n(i),a=n(1),u=n.n(a);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t){return(v="function"==typeof Symbol&&"symbol"===h(Symbol.iterator)?function(t){return h(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":h(t)})(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?y(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}var S=n(3),C=n.n(S);var k=function(){this.__data__=[],this.size=0};var P=function(t,e){return t===e||t!=t&&e!=e};var w=function(t,e){for(var n=t.length;n--;)if(P(t[n][0],e))return n;return-1},O=Array.prototype.splice;var A=function(t){var e=this.__data__,n=w(e,t);return!(n<0||(n==e.length-1?e.pop():O.call(e,n,1),--this.size,0))};var j=function(t){var e=this.__data__,n=w(e,t);return n<0?void 0:e[n][1]};var E=function(t){return w(this.__data__,t)>-1};var _=function(t,e){var n=this.__data__,r=w(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function T(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}T.prototype.clear=k,T.prototype.delete=A,T.prototype.get=j,T.prototype.has=E,T.prototype.set=_;var D=T,L=Array.isArray;var R=function(){if(!arguments.length)return[];var t=arguments[0];return L(t)?t:[t]};var B=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var M=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1};var U=function(t,e){return!(null==t||!t.length)&&M(t,e,0)>-1},W=1,H=2;var N=function(t,e,n,r,i,o){var a=n&W,u=t.length,c=e.length;if(u!=c&&!(a&&c>u))return!1;var s=o.get(t);if(s&&o.get(e))return s==e;var l=-1,d=!0,p=n&H?new R:void 0;for(o.set(t,e),o.set(e,t);++l<u;){var f=t[l],h=e[l];if(r)var v=a?r(h,f,l,e,t,o):r(f,h,l,t,e,o);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!B(e,function(t,e){if(!U(p,e)&&(f===t||i(f,t,n,r,o)))return p.push(e)})){d=!1;break}}else if(f!==h&&!i(f,h,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d};var I=function(t,e){return t===e||t!=t&&e!=e};var F=function(t,e){return function(n){return t(e(n))}},V=F(Object.keys,Object),q=1,z=Object.prototype.hasOwnProperty;var G=function(t,e,n,r,i,o){var a=n&q,u=V(t),c=u.length;if(c!=V(e).length&&!a)return!1;for(var s=c;s--;){var l=u[s];if(!(a?l in e:z.call(e,l)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++s<c;){var h=t[l=u[s]],v=e[l];if(r)var y=a?r(v,h,l,e,t,o):r(h,v,l,t,e,o);if(!(void 0===y?h===v||i(h,v,n,r,o):y)){p=!1;break}f||(f="constructor"==l)}if(p&&!f){var g=t.constructor,m=e.constructor;g!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(t),o.delete(e),p},X=Object.prototype.toString;var Y=function(t){return X.call(t)};var J=function(){return!1};var Z=function(){return!1},$=1,K="[object Arguments]",Q="[object Array]",tt="[object Object]",et=Object.prototype.hasOwnProperty;var nt=function(t,e,n,r,i,o){var a=L(t),u=L(e),c=a?Q:Y(t),s=u?Q:Y(e),l=(c=c==K?tt:c)==tt,d=(s=s==K?tt:s)==tt,p=c==s;if(p&&J(t)){if(!J(e))return!1;a=!0,l=!1}if(p&&!l)return o||(o=new D),a||Z(t)?N(t,e,n,r,i,o):I(t,e,c,n,r,i,o);if(!(n&$)){var f=l&&et.call(t,"__wrapped__"),h=d&&et.call(e,"__wrapped__");if(f||h){var v=f?t.value():t,y=h?e.value():e;return o||(o=new D),i(v,y,n,r,o)}}return!!p&&(o||(o=new D),G(t,e,n,r,i,o))};var rt=function(t){return null!=t&&"object"==typeof t};var it=function t(e,n,r,i,o){return e===n||(null==e||null==n||!rt(e)&&!rt(n)?e!=e&&n!=n:nt(e,n,r,i,t,o))};var ot=function(t,e){return it(t,e)};var at=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var ut=function(t){return t},ct=Math.max;var st=function(t,e,n){return e=ct(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=ct(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var u=Array(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),at(t,this,u)}};var lt=function(t){return t};var dt=function(t,e){return lt(st(t,e,ut),t+"")},pt=Object.prototype.toString;var ft=function(t){return pt.call(t)},ht=F(Object.getPrototypeOf,Object),vt="[object Object]",yt=Function.prototype,gt=Object.prototype,mt=yt.toString,bt=gt.hasOwnProperty,xt=mt.call(Object);var St=function(t){if(!rt(t)||ft(t)!=vt)return!1;var e=ht(t);if(null===e)return!0;var n=bt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&mt.call(n)==xt},Ct="[object DOMException]",kt="[object Error]";var Pt=function(t){if(!rt(t))return!1;var e=ft(t);return e==kt||e==Ct||"string"==typeof t.message&&"string"==typeof t.name&&!St(t)},wt=dt(function(t,e){try{return at(t,void 0,e)}catch(t){return Pt(t)?t:new Error(t)}}),Ot=n(5),At=n.n(Ot),jt=n(8),Et=n.n(jt),_t=n(4),Tt=n.n(_t),Dt=n(7),Lt=n.n(Dt),Rt=1073741823;var Bt=o.a.createContext||function(t,e){var n,r,o="__create-react-context-"+Lt()()+"__",a=function(t){function n(){var e,n,r;return(e=t.apply(this,arguments)||this).emitter=(n=e.props.value,r=[],{on:function(t){r.push(t)},off:function(t){r=r.filter(function(e){return e!==t})},get:function(){return n},set:function(t,e){n=t,r.forEach(function(t){return t(n,e)})}}),e}Tt()(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[o]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,i=t.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof e?e(r,i):Rt,0!=(n|=0)&&this.emitter.set(t.value,n))}var o,a},r.render=function(){return this.props.children},n}(i.Component);a.childContextTypes=((n={})[o]=u.a.object.isRequired,n);var c=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!=((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}Tt()(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?Rt:e},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?Rt:t},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(i.Component);return c.contextTypes=((r={})[o]=u.a.object,r),{Provider:a,Consumer:c}},Mt=Bt(),Ut=Mt.Consumer,Wt=Mt.Provider,Ht=Mt;var Nt=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};var It=function(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Nt(t,e,n)};var Ft=function(){return!1};var Vt=function(t){return t.split("")};var qt=function(t){return t.split("")};var zt=function(t){return Ft(t)?qt(t):Vt(t)};var Gt=function(t){return t};var Xt=function(t){return function(e){e=Gt(e);var n=Ft(e)?zt(e):void 0,r=n?n[0]:e.charAt(0),i=n?It(n,1).join(""):e.slice(1);return r[t]()+i}},Yt=Xt("toLowerCase");var Jt=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var Zt=function(t){return t};var $t=function(t,e){return null==t?void 0:t[e]};var Kt=function(t,e){return null==t?void 0:t[e]},Qt=function(){try{var t=Kt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var te=function(t,e,n){"__proto__"==e&&Qt?Qt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},ee=Object.prototype.hasOwnProperty;var ne=function(t,e,n){var r=t[e];ee.call(t,e)&&P(r,n)&&(void 0!==n||e in t)||te(t,e,n)};var re=function(){if(!arguments.length)return[];var t=arguments[0];return L(t)?t:[t]},ie=9007199254740991,oe=/^(?:0|[1-9]\d*)$/;var ae=function(t,e){var n=typeof t;return!!(e=null==e?ie:e)&&("number"==n||"symbol"!=n&&oe.test(t))&&t>-1&&t%1==0&&t<e};var ue=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var ce=function(t){return t};var se=function(t,e,n,r){if(!ue(t))return t;for(var i=-1,o=(e=re(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var c=ce(e[i]),s=n;if(i!=a){var l=u[c];void 0===(s=r?r(l,c,u):void 0)&&(s=ue(l)?l:ae(e[i+1])?[]:{})}ne(u,c,s),u=u[c]}return t};var le=function(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=$t(t,a);n(u,a)&&se(o,re(a,t),u)}return o};var de=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var pe=function(t,e){if(null==t)return{};var n=Jt(de(t),function(t){return[t]});return e=Zt(e),le(t,n,function(t,n){return e(t,n[0])})},fe="Expected a function";var he=function(t){if("function"!=typeof t)throw new TypeError(fe);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}};var ve=function(t,e){return pe(t,he(Zt(e)))};var ye=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===n(o[c],c,o))break}return e}}(),ge=F(Object.keys,Object);var me=function(t,e){return t&&ye(t,e,ge)};var be=function(t,e){var n={};return e=Zt(e,3),me(t,function(t,r,i){te(n,e(t,r,i),t)}),n},xe=function(t){return ve(t,Ce)},Se=function(t){var e=function(t){return pe(t,Ce)}(t);return be(e,function(t,e){return Yt(e.replace(/^on/,""))})},Ce=function(t,e){return 0===e.indexOf("on")&&"function"==typeof t};var ke=function(t,e){var n={};return e=Zt(e,3),me(t,function(t,r,i){te(n,r,e(t,r,i))}),n},Pe=["getHighcharts","getChart","getAxis","getSeries","needsRedraw"];function we(t){var e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).filter(function(t){return Pe.indexOf(t)<0}).reduce(function(e,n){return e[n]=t[n],e},{})}(t);return ke(e,function(t){return!1===St(t)?t:we(t)})}function Oe(t){return function(e){for(var n=we(e),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.apply(void 0,[n].concat(i))}}function Ae(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,i=l(e,["children"]),o=pe(i,function(e,n){return!(Pe.indexOf(n)>-1)&&!1===ot(e,t[n])});return n&&!1===ot(t.children,r)&&(o.text=r),Object.keys(o).length>0&&o}var je=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getSeriesConfig",function(){var t=n.props,e=t.id,r=t.data,i=t.requiresAxis,o=t.getAxis,a=(t.children,l(t,["id","data","requiresAxis","getAxis","children"])),u="function"==typeof e?e():e,c=At()(r)?r.toJS():r,d=xe(a),p=s({id:u,data:c,events:Se(a)},d);if(i){var f=o();p[f.type]=f.id}return p}),c(y(n),"createSeries",function(){var t=n.props.getChart(),e=n.getSeriesConfig();n.series=t.addSeries(e,!1)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.visible,r=e.data,i=l(e,["visible","data"]),o=!1;At()(r)&&!1===Et()(r,t.data)?(this.series.setData(r.toJS(),!1),o=!0):!1===ot(r,t.data)&&(this.series.setData(r,!1),o=!0),n!==t.visible&&(this.series.setVisible(n,!1),o=!0);var a=Ae(t,i);!1!==a&&(this.series.update(a,!1),o=!0),o&&this.props.needsRedraw()}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.series&&this.series.remove&&(wt(this.series.remove.bind(this.series),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.series||this.createSeries(),o.a.createElement(Wt,{value:this.series},this.props.children)}}]),e}();c(je,"defaultProps",{type:"line",id:C.a,children:null,data:[],requiresAxis:!0,visible:!0});var Ee=je;var _e=function(t,e){return null==t||t!=t?e:t},Te=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"state",{render:!1}),c(y(n),"renderTimeout",null),c(y(n),"unmounted",!1),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this;this.renderTimeout=window.requestAnimationFrame(function(){!1===t.unmounted&&t.setState({render:!0}),t.renderTimeout=null})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0,null!==this.renderTimeout&&window.cancelAnimationFrame(this.renderTimeout)}},{key:"render",value:function(){return this.state.render?this.props.children:null}}]),e}(),De=Bt(),Le=De.Consumer,Re=De.Provider,Be=De,Me=Bt(),Ue=Me.Consumer,We=Me.Provider,He=Me;function Ne(t){return t.displayName||t.name||"Component"}function Ie(t){var e=function(e){return o.a.createElement(Ue,null,function(n){return o.a.createElement(t,r({},e,{getHighcharts:function(){return n}}))})};return e.displayName="Highcharts.Provider(".concat(Ne(t),")"),e}function Fe(t){var e=function(e){return o.a.createElement(Le,null,function(n){var i=n.chart,a=n.chartType,u=n.needsRedraw;if(!i)return null;return o.a.createElement(t,r({},e,{getChart:function(){return{object:i,type:a,get:i.get.bind(i),setSize:i.setSize.bind(i),update:Oe(i.update.bind(i)),addAxis:Oe(i.addAxis.bind(i)),addSeries:Oe(i.addSeries.bind(i)),setTitle:Oe(i.setTitle.bind(i)),showLoading:i.showLoading.bind(i),hideLoading:i.hideLoading.bind(i),addCredits:Oe(i.addCredits.bind(i)),addAnnotation:i.addAnnotation?Oe(i.addAnnotation.bind(i)):null,removeAnnotation:i.removeAnnotation?i.removeAnnotation.bind(i):null}},needsRedraw:u}))})};return e.displayName="Chart.Provider(".concat(Ne(t),")"),Ie(e)}var Ve=Bt(),qe=Ve.Consumer,ze=Ve.Provider,Ge=Ve;function Xe(t){var e=function(e){var n=_e(e.requiresAxis,!0);return o.a.createElement(Te,null,o.a.createElement(qe,null,function(i){if(!i&&e.axisId){var a=e.getChart();i=a.get(e.axisId)}if(!i&&n)return null;return o.a.createElement(t,r({},e,{getAxis:function(){return{object:i,id:i.userOptions&&i.userOptions.id,type:i.coll,update:Oe(i.update.bind(i)),remove:i.remove.bind(i),addPlotBand:Oe(i.addPlotBand.bind(i)),removePlotBand:i.removePlotBand.bind(i),addPlotLine:Oe(i.addPlotLine.bind(i)),removePlotLine:i.removePlotLine.bind(i),getExtremes:i.getExtremes.bind(i),setExtremes:i.setExtremes.bind(i),setTitle:Oe(i.setTitle.bind(i))}}}))}))};return e.displayName="Axis.Provider(".concat(Ne(t),")"),Fe(e)}var Ye=Xe(Ee);function Je(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],function(n){return o.a.createElement(Ye,r({},n,e,{type:t.toLowerCase()}))});return n.displayName="".concat(t,"Series"),n}var Ze=window.cancelAnimationFrame,$e=window.requestAnimationFrame,Ke=function(t){var e;return function(){e&&Ze(e);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e=$e(t.bind.apply(t,[t].concat(r)))}},Qe=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"initHighcharts",function(){if(n.domNode){var t=n.props,e=t.chartCreationFunc,r=t.callback,i=t.chart,o=t.polar,a=t.gauge,u=t.styledMode,c=(t.children,l(t,["chartCreationFunc","callback","chart","polar","gauge","styledMode","children"])),d=s({chart:s({styledMode:u},i),title:{text:null},subtitle:{text:null},legend:{enabled:!1},rangeSelector:{enabled:!1},navigator:{enabled:!1},scrollbar:{enabled:!1},tooltip:{enabled:!1},credits:{enabled:!1},series:[],xAxis:[],yAxis:[]},c);n.chart=e(n.domNode,d),n.chart.polar=o,n.chart.angular=a,r(n.chart),n.setState({rendered:!0})}}),c(y(n),"setDomNode",function(t){n.domNode=t}),c(y(n),"needsRedraw",Ke(function(){n.chart.__destroyed||wt(n.chart.redraw.bind(n.chart))})),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){window.requestAnimationFrame(this.initHighcharts)}},{key:"componentDidUpdate",value:function(t){var e=this.props.plotOptions;!1===ot(t.plotOptions,e)&&this.chart&&(this.chart.update({plotOptions:e},!1),this.needsRedraw())}},{key:"componentWillUnmount",value:function(){this.chart&&(window.requestAnimationFrame(this.chart.destroy.bind(this.chart)),this.chart.__destroyed=!0)}},{key:"render",value:function(){var t=this.props,e=t.chartType,n=t.children;return o.a.createElement("div",{className:"chart ".concat(this.props.className),ref:this.setDomNode},this.state.rendered&&o.a.createElement(Re,{value:{chart:this.chart,chartType:e,needsRedraw:this.needsRedraw}},n))}}]),e}();c(Qe,"defaultProps",{children:null,className:"",styledMode:!1,callback:function(){}});var tn=Qe,en=Ie(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(tn,r({},this.props,{chartCreationFunc:this.props.getHighcharts().chart,chartType:"chart"}))}}]),e}()),nn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateChart",function(t){n.props.getChart().update({chart:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t,e,n,r=this.props,i=r.width,o=r.height,a=r.getHighcharts,u=r.getChart,c=(r.needsRedraw,r.children,l(r,["width","height","getHighcharts","getChart","needsRedraw","children"])),s=xe(c),d=u();d.setSize(i,o),this.updateChart(s),t=a(),e=d.object,n=Se(c),Object.keys(n).forEach(function(r){t.addEvent(e,r,n[r])})}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.width,r=e.height,i=e.getChart,o=l(e,["width","height","getChart"]);n===t.width&&r===t.height||i().setSize(n,r);var a=Ae(t,o);!1!==a&&this.updateChart(a)}},{key:"render",value:function(){return null}}]),e}();c(nn,"defaultProps",{type:"line",onAddSeries:function(){},onAfterPrint:function(){},onBeforePrint:function(){},onClick:function(){},onLoad:function(){},onRedraw:function(){},onRender:function(){},onSelection:function(){}});var rn=Fe(nn),on=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getAxisConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"])),i="function"==typeof e?e():e,o=xe(r);return s({id:i,title:{text:null},events:Se(r)},o)}),c(y(n),"createAxis",function(){var t=n.props,e=t.id,r=t.dynamicAxis,i=t.isX,o=(0,t.getChart)(),a=n.getAxisConfig();if(r)n.axis=o.addAxis(a,i,!1);else{var u="function"==typeof e?e():e;n.axis=o.get(u),n.axis.update.call(n.axis,a,!1)}}),n}return x(e,i["Component"]),f(e,[{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&(this.axis.update(e,!1),this.props.needsRedraw())}},{key:"componentDidMount",value:function(){this.props.needsRedraw()}},{key:"componentWillUnmount",value:function(){this.axis.remove&&(wt(this.axis.remove.bind(this.axis),!1),this.props.needsRedraw())}},{key:"render",value:function(){return this.axis||this.createAxis(),o.a.createElement(ze,{value:this.axis},this.props.children)}}]),e}();c(on,"defaultProps",{id:C.a,children:null,dynamicAxis:!0});var an=on,un=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateAxisTitle",function(t){n.props.getAxis().setTitle(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateAxisTitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props,!0);!1!==e&&this.updateAxisTitle(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateAxisTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),cn=Fe(an);cn.Title=Xe(un);var sn=cn,ln=Fe(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.getChart,n=t.id,i=l(t,["getChart","id"]),a="stockChart"===e().type,u=a?"datetime":"linear",c=a?"xAxis":n;return o.a.createElement(sn,r({type:u},i,{id:c,isX:!0}))}}]),e}());ln.Title=sn.Title;var dn=ln,pn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(sn,r({},this.props,{isX:!1}))}}]),e}();c(pn,"defaultProps",{type:"linear"}),pn.Title=sn.Title;var fn=pn,hn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props.children;return t?[t]:null}}]),e}(),vn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.height,n=t.width,r=t.margin,i=t.style,a=t.series,u=t.children,c=l(t,["height","width","margin","style","series","children"]),d=!!a,p=s({overflow:"visible"},i),f=d?a:u;return o.a.createElement(en,c,o.a.createElement(rn,{height:e,width:n,animation:!1,backgroundColor:null,borderWidth:0,margin:r,style:p,skipClone:!0}),o.a.createElement(dn,{labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[]}),o.a.createElement(fn,{id:"sparkline",labels:{enabled:!1},startOnTick:!1,endOnTick:!1,tickPositions:[0]},f),d&&o.a.createElement(hn,null,u))}}]),e}();c(vn,"defaultProps",{height:20,width:120,margin:[2,0,2,0],style:{},plotOptions:{series:{animation:!1,lineWidth:1,shadow:!1,states:{hover:{lineWidth:1}},marker:{radius:1,states:{hover:{radius:2}}},fillOpacity:.25}}});var yn=vn,gn=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"update3dOptions",function(){var t=n.props,e={chart:{options3d:{enabled:!0,alpha:t.alpha,axisLabelPosition:t.axisLabelPosition,beta:t.beta,depth:t.depth,fitToPlot:t.fitToPlot,frame:t.frame,viewDistance:t.viewDistance}}};(0,t.getChart)().update(e,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.update3dOptions()}},{key:"componentDidUpdate",value:function(){this.update3dOptions()}},{key:"render",value:function(){return null}}]),e}();c(gn,"defaultProps",{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:"default",frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}});var mn=Fe(gn),bn=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.alpha,i=t.axisLabelPosition,a=t.beta,u=t.depth,c=t.fitToPlot,s=t.frame,d=t.viewDistance,p=l(t,["children","alpha","axisLabelPosition","beta","depth","fitToPlot","frame","viewDistance"]);return o.a.createElement(en,r({chart:{options3d:{enabled:!0}},zAxis:{id:"zAxis"}},p),o.a.createElement(mn,{alpha:n,axisLabelPosition:i,beta:a,depth:u,fitToPlot:c,frame:s,viewDistance:d}),e)}}]),e}(),xn=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getAnnotationConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),s({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getChart(),e=this.getAnnotationConfig();t.addAnnotation(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Ae(t,this.props)){var e=this.props.getChart(),n=this.getAnnotationConfig();e.removeAnnotation(n.id),e.addAnnotation(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();wt(t.removeAnnotation,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(hn,null,n)}}]),e}();c(xn,"defaultProps",{id:C.a});var Sn=Fe(xn),Cn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateCredits",function(t){var e=n.props.getChart();"text"in t&&!t.text&&delete t.text,e.addCredits(t,!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateCredits(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props,!0);!1!==e&&this.updateCredits(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateCredits,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(Cn,"defaultProps",{enabled:!0});var kn=Fe(Cn),Pn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateLoading",function(t){n.props.getChart().update({loading:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=t.isLoading,r=t.getChart,i=l(t,["children","isLoading","getChart"]);(this.updateLoading(i),n)&&r().showLoading(e)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.children,r=e.isLoading,i=e.getChart,o=Ae(t,l(e,["children","isLoading","getChart"]));if(!1!==o&&this.updateLoading(o),r!==t.isLoading){var a=i();r&&a.showLoading(n),r||a.hideLoading()}}},{key:"componentWillUnmount",value:function(){var t=this.props.getChart();wt(t.hideLoading)}},{key:"render",value:function(){return null}}]),e}();c(Pn,"defaultProps",{isLoading:!0});var wn=Fe(Pn),On=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateLegend",function(t){n.props.getChart().update({legend:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateLegend(s({},e))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateLegend(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateLegend,{enabled:!1})}},{key:"render",value:function(){return this.props.children}}]),e}();c(On,"defaultProps",{children:null,enabled:!0});var An=On,jn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateLegendTitle",function(t){n.props.getChart().update({legend:{title:t}},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateLegendTitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props,!0);!1!==e&&this.updateLegendTitle(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateLegendTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}(),En=Fe(An);En.Title=Fe(jn);var _n=En,Tn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updatePane",function(t){n.props.getChart().update({pane:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updatePane(s({},e))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updatePane(e)}},{key:"componentWillUnmount",value:function(){wt(this.updatePane,{})}},{key:"render",value:function(){return null}}]),e}();c(Tn,"defaultProps",{children:null});var Dn=Fe(Tn),Ln=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getPlotBandConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),s({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotBandConfig();t.addPlotBand(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Ae(t,this.props)){var e=this.props.getAxis(),n=this.getPlotBandConfig();e.removePlotBand(n.id),e.addPlotBand(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();wt(t.removePlotBand,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(hn,null,n)}}]),e}();c(Ln,"defaultProps",{id:C.a});var Rn=Ln,Bn="[object AsyncFunction]",Mn="[object Function]",Un="[object GeneratorFunction]",Wn="[object Proxy]";var Hn=function(t){if(!ue(t))return!1;var e=ft(t);return e==Mn||e==Un||e==Bn||e==Wn},Nn=9007199254740991;var In=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Nn};var Fn=function(t){return null!=t&&In(t.length)&&!Hn(t)};var Vn=function(t){return function(e,n,r){var i=Object(e);if(!Fn(e)){var o=Zt(n,3);e=ge(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}};var qn=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var zn=function(t){return t},Gn=Math.max;var Xn=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:zn(n);return i<0&&(i=Gn(r+i,0)),qn(t,Zt(e,3),i)},Yn=Vn(Xn),Jn=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getLabelProps",function(t){return pe(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(n),"updatePlotBandLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.requestAnimationFrame(function(){var e=i.object&&Yn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updatePlotBandLabel(s({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Ae(t,this.props,!0)){var e=this.props,n=e.children,r=l(e,["children"]);this.updatePlotBandLabel(s({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));wt(this.updatePlotBandLabel,s({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(Jn,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var Zn=Jn,$n=Xe(Rn);$n.Label=Xe(Zn);var Kn=$n,Qn=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getPlotLineConfig",function(){var t=n.props,e=t.id,r=(t.children,l(t,["id","children"]));return n.id||(n.id="function"==typeof e?e():e),s({id:n.id},r)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props.getAxis(),e=this.getPlotLineConfig();t.addPlotLine(e),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){if(!1!==Ae(t,this.props)){var e=this.props.getAxis(),n=this.getPlotLineConfig();e.removePlotLine(n.id),e.addPlotLine(n)}}},{key:"componentWillUnmount",value:function(){var t=this.props.getAxis();wt(t.removePlotLine,this.id)}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,{id:t.id})});return o.a.createElement(hn,null,n)}}]),e}();c(Qn,"defaultProps",{id:C.a});var tr=Qn,er=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getLabelProps",function(t){return pe(t,function(t,n){return e.labelProps.indexOf(n)>-1})}),c(y(n),"updatePlotLineLabel",function(t){var e=n.props,r=e.id,i=(0,e.getAxis)();window.requestAnimationFrame(function(){var e=i.object&&Yn(i.object.plotLinesAndBands,function(t){return t.id===r});e&&(e.options.label=n.getLabelProps(t),e.render())})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updatePlotLineLabel(s({text:e},n))}},{key:"componentDidUpdate",value:function(t){if(!1!==Ae(t,this.props,!0)){var e=this.props,n=e.children,r=l(e,["children"]);this.updatePlotLineLabel(s({text:n},r))}}},{key:"componentWillUnmount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));wt(this.updatePlotLineLabel,s({text:null},e))}},{key:"render",value:function(){return null}}]),e}();c(er,"labelProps",["text","align","rotation","style","textAlign","useHTML","verticalAlign","x","y"]);var nr=er,rr=Xe(tr);rr.Label=Xe(nr);var ir=rr,or=Fe(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateSubtitle",function(t){n.props.getChart().setTitle(void 0,t,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateSubtitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props,!0);!1!==e&&this.updateSubtitle(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateSubtitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),ar=Fe(function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateTitle",function(t){n.props.getChart().setTitle(t,null,!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=l(t,["children"]);this.updateTitle(s({},n,{text:e}))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props,!0);!1!==e&&this.updateTitle(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateTitle,{text:null})}},{key:"render",value:function(){return null}}]),e}()),ur=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateTooltip",function(t){n.props.getChart().update({tooltip:t},!1),n.props.needsRedraw()}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=(t.needsRedraw,l(t,["children","getHighcharts","getChart","needsRedraw"])),i=e(),o=n().object;o.tooltip=new i.Tooltip(o,s({},i.defaultOptions&&i.defaultOptions.tooltip,r)),this.updateTooltip(r)}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateTooltip(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateTooltip,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(ur,"defaultProps",{children:null,enabled:!0});var cr=Fe(ur),sr=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(sn,r({},this.props,{id:"zAxis",isX:!1,dynamicAxis:!1}))}}]),e}();c(sr,"defaultProps",{type:"linear"}),sr.Title=sn.Title;var lr=sr,dr=Fe(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.props.getChart().update({chart:{inverted:!0}})}},{key:"render",value:function(){return o.a.createElement(Ye,r({},this.props,{type:"bar"}))}}]),e}());function pr(t){var e=function(e){return o.a.createElement(Te,null,o.a.createElement(Ut,null,function(n){if(!n&&e.seriesId){var i=e.getChart();n=i.get(e.seriesId)}if(!n)return null;return o.a.createElement(t,r({},e,{getSeries:function(){return{object:n,id:n.userOptions&&n.userOptions.id,type:n.type,update:Oe(n.update.bind(n)),remove:n.remove.bind(n),setData:n.setData.bind(n),setVisible:n.setVisible.bind(n)}}}))}))};return e.displayName="Series.Provider(".concat(Ne(t),")"),Xe(e)}function fr(t,e){return function(n){return o.a.createElement(We,{value:e},o.a.createElement(t,n))}}var hr=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.varName,n=(0,t.getChart)();window[e]=n.object,console.log("Chart instance available as global variable as window.".concat(e))}},{key:"componentWillUnmount",value:function(){window[this.props.varName]=void 0}},{key:"render",value:function(){return o.a.createElement(hn,null)}}]),e}();c(hr,"defaultProps",{varName:"chart"});var vr=Fe(hr),yr={requiresAxis:!1},gr={baseSeries:u.a.string.isRequired},mr=Je("AreaRange"),br=Je("Area"),xr=Je("AreaSplineRange"),Sr=Je("AreaSpline"),Cr=Je("BellCurve",{},gr),kr=Je("BoxPlot"),Pr=Je("Bubble"),wr=Je("Bullet"),Or=Je("ColumnPyramid"),Ar=Je("ColumnRange"),jr=Je("Column"),Er=Je("Cylinder"),_r=Je("DependencyWheel"),Tr=Je("ErrorBar"),Dr=Je("Funnel",yr),Lr=Je("Funnel3d"),Rr=Je("Gauge"),Br=Je("Heatmap"),Mr=Je("Histogram",{},gr),Ur=Je("Item"),Wr=Je("Line"),Hr=Je("NetworkGraph"),Nr=Je("PackedBubble",yr),Ir=Je("Pareto",{},gr),Fr=Je("Pie",yr),Vr=Je("Polygon"),qr=Je("Pyramid",yr),zr=Je("Pyramid3d"),Gr=Je("Sankey"),Xr=Je("Organization"),Yr=Je("Scatter"),Jr=Je("Scatter3d"),Zr=Je("SolidGauge"),$r=Je("Spline"),Kr=Je("StreamGraph"),Qr=Je("Sunburst"),ti=Je("Tilemap"),ei=Je("Timeline"),ni=Je("Treemap"),ri=Je("VariablePie",yr),ii=Je("Variwide"),oi=Je("Venn",yr),ai=Je("Vector"),ui=Je("Waterfall"),ci=Je("WindBarb"),si=Je("XRange"),li=Ie(function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(tn,r({},this.props,{chartCreationFunc:this.props.getHighcharts().stockChart,chartType:"stockChart"}))}}]),e}()),di=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateNavigatorAxis",function(t){n.props.getAxis().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateNavigatorAxis(xe(e))}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateNavigatorAxis(e)}},{key:"render",value:function(){var t=this.props,e=t.axisId,n=t.children;if(!n)return null;var r=i.Children.map(n,function(t){return!1===Object(i.isValidElement)(t)?t:Object(i.cloneElement)(t,{axisId:e})});return o.a.createElement(hn,null,r)}}]),e}(),pi=Xe(di),fi=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(pi,r({},this.props,{axisId:"navigator-x-axis"}))}}]),e}(),hi=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"updateNavigator",function(t){n.props.getChart().update({navigator:t},!0)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,t.getHighcharts),n=t.getChart,r=l(t,["children","getHighcharts","getChart"]),i=e(),o=n().object;o.options.navigator.enabled=!0,i.fireEvent(o,"beforeRender"),this.updateNavigator(r),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateNavigator(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateNavigator,{enabled:!1})}},{key:"render",value:function(){var t=this,e=this.props.children;if(!e||!this.state.rendered)return null;var n=i.Children.map(e,function(e){return!1===Object(i.isValidElement)(e)?e:Object(i.cloneElement)(e,t.state)});return o.a.createElement(fi,null,n)}}]),e}();c(hi,"defaultProps",{enabled:!0});var vi=hi,yi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateNavigatorSeries",function(t){n.props.getSeries().update(t)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){this.updateNavigatorSeries({showInNavigator:!0})}},{key:"componentWillUnmount",value:function(){wt(this.updateNavigatorSeries,{showInNavigator:!1})}},{key:"render",value:function(){return null}}]),e}(),gi=function(t){function e(){return d(this,e),g(this,m(e).apply(this,arguments))}return x(e,i["Component"]),f(e,[{key:"render",value:function(){return o.a.createElement(pi,r({},this.props,{axisId:"navigator-y-axis"}))}}]),e}(),mi=Fe(vi);mi.Series=pr(yi),mi.XAxis=fi,mi.YAxis=gi;var bi=mi;function xi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var Si=function(t){function e(t){var n;return d(this,e),c(y(n=g(this,m(e).call(this,t))),"getRangeSelectorConfig",function(){var t=n.props,e=t.getHighcharts,r=(t.children,l(t,["getHighcharts","children"])),i=e();return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xi(n,!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xi(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},i.defaultOptions&&i.defaultOptions.rangeSelector,{},r,{inputEnabled:!1,buttons:[]})}),c(y(n),"updateRangeSelector",function(t){n.props.getChart().update({rangeSelector:t},!0)}),c(y(n),"renderRangeSelector",function(){var t=n.props,e=t.getChart,r=t.getAxis,i=e().object,o=r().getExtremes();i.rangeSelector.render.call(i.rangeSelector,o.min,o.max)}),n.state={rendered:!1},n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.getHighcharts,n=t.getChart,r=t.getAxis,i=e(),o=n().object;o.options.rangeSelector.enabled=!0,i.fireEvent(o,"init"),i.fireEvent(o,"afterGetContainer");var a=this.getRangeSelectorConfig();this.updateRangeSelector(a);var u=r().object;i.addEvent(u,"afterSetExtremes",this.renderRangeSelector),this.setState({rendered:!0})}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateRangeSelector(e)}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.getHighcharts,n=(0,t.getAxis)().object;e().removeEvent(n,"afterSetExtremes",this.renderRangeSelector),wt(this.updateRangeSelector,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t&&this.state.rendered?o.a.createElement(hn,null,t):null}}]),e}();c(Si,"defaultProps",{enabled:!0});var Ci=Xe(Si),ki=function(t){return o.a.createElement(Ci,r({},t,{axisId:"xAxis"}))};function Pi(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var wi=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"getButtons",function(){var t=n.props.getChart().object;if(t&&t.options){var e=t.options.rangeSelector.buttons;return void 0===e?[]:e}return[]}),c(y(n),"getButtonIndex",function(){var t=n.props,e=t.count,r=t.type;return Xn(n.getButtons(),function(t){return t.count===e&&t.type===r})}),c(y(n),"addButton",function(t){var e=[].concat(Pi(n.getButtons()),[t]);n.updateRangeSelectorButtons(e)}),c(y(n),"removeButton",function(){var t=n.getButtonIndex();if(-1!==t){var e=Pi(n.getButtons());e.splice(t,1),n.updateRangeSelectorButtons(e)}}),c(y(n),"updateRangeSelectorButtons",function(t){n.props.getChart().update({rangeSelector:{buttons:t}})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){if(!(this.getButtonIndex()>-1)){var t=this.props,e=t.count,n=t.type,r=t.offsetMin,i=t.offsetMax,o=t.dataGrouping,a=t.children,u=l(t,["count","type","offsetMin","offsetMax","dataGrouping","children"]),c={count:e,type:n,offsetMin:r,offsetMax:i,dataGrouping:o,text:a,events:Se(u)};this.addButton(c)}}},{key:"componentWillUnmount",value:function(){wt(this.removeButton)}},{key:"render",value:function(){return null}}]),e}();c(wi,"defaultProps",{count:1,offsetMin:0,offsetMax:0});var Oi=wi,Ai=Xt("toUpperCase");function ji(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Ei(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ji(n,!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ji(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var _i=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"prefixPropsWithInput",function(t){return be(t,function(t,e){return 0===e.indexOf("input")?e:"input".concat(Ai(e))})}),c(y(n),"updateRangeSelectorInputs",function(t){var e=n.props.getChart(),r=n.prefixPropsWithInput(t);e.update({rangeSelector:Ei({},r)})}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateRangeSelectorInputs(e)}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateRangeSelectorInputs(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateRangeSelectorInputs,{enabled:!1})}},{key:"render",value:function(){return null}}]),e}();c(_i,"defaultProps",{enabled:!0});var Ti=_i,Di=Fe(ki);Di.Button=Fe(Oi),Di.Input=Fe(Ti);var Li=Di,Ri=function(t){function e(){var t,n;d(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return c(y(n=g(this,(t=m(e)).call.apply(t,[this].concat(i)))),"updateScrollbar",function(t){n.props.getChart().update({scrollbar:t},!0)}),n}return x(e,i["Component"]),f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=(t.children,l(t,["children"]));this.updateScrollbar(e)}},{key:"componentDidUpdate",value:function(t){var e=Ae(t,this.props);!1!==e&&this.updateScrollbar(e)}},{key:"componentWillUnmount",value:function(){wt(this.updateScrollbar,{enabled:!1})}},{key:"render",value:function(){var t=this.props.children;return t?o.a.createElement(hn,null,t):null}}]),e}();c(Ri,"defaultProps",{enabled:!0});var Bi=Fe(Ri);n.d(e,"CandlestickSeries",function(){return Mi}),n.d(e,"FlagsSeries",function(){return Ui}),n.d(e,"OHLCSeries",function(){return Wi}),n.d(e,"FlagSeries",function(){return Hi}),n.d(e,"HighchartsChart",function(){return en}),n.d(e,"HighchartsSparkline",function(){return yn}),n.d(e,"Highcharts3dChart",function(){return bn}),n.d(e,"Annotation",function(){return Sn}),n.d(e,"Chart",function(){return rn}),n.d(e,"Credits",function(){return kn}),n.d(e,"Loading",function(){return wn}),n.d(e,"Legend",function(){return _n}),n.d(e,"Pane",function(){return Dn}),n.d(e,"PlotBand",function(){return Kn}),n.d(e,"PlotLine",function(){return ir}),n.d(e,"Subtitle",function(){return or}),n.d(e,"Title",function(){return ar}),n.d(e,"Tooltip",function(){return cr}),n.d(e,"XAxis",function(){return dn}),n.d(e,"YAxis",function(){return fn}),n.d(e,"ZAxis",function(){return lr}),n.d(e,"AreaRangeSeries",function(){return mr}),n.d(e,"AreaSeries",function(){return br}),n.d(e,"AreaSplineRangeSeries",function(){return xr}),n.d(e,"AreaSplineSeries",function(){return Sr}),n.d(e,"BarSeries",function(){return dr}),n.d(e,"BellCurveSeries",function(){return Cr}),n.d(e,"BoxPlotSeries",function(){return kr}),n.d(e,"BubbleSeries",function(){return Pr}),n.d(e,"BulletSeries",function(){return wr}),n.d(e,"ColumnPyramidSeries",function(){return Or}),n.d(e,"ColumnRangeSeries",function(){return Ar}),n.d(e,"ColumnSeries",function(){return jr}),n.d(e,"CylinderSeries",function(){return Er}),n.d(e,"DependencyWheelSeries",function(){return _r}),n.d(e,"ErrorBarSeries",function(){return Tr}),n.d(e,"FunnelSeries",function(){return Dr}),n.d(e,"Funnel3dSeries",function(){return Lr}),n.d(e,"GaugeSeries",function(){return Rr}),n.d(e,"HeatmapSeries",function(){return Br}),n.d(e,"HistogramSeries",function(){return Mr}),n.d(e,"ItemSeries",function(){return Ur}),n.d(e,"LineSeries",function(){return Wr}),n.d(e,"NetworkGraphSeries",function(){return Hr}),n.d(e,"PackedBubbleSeries",function(){return Nr}),n.d(e,"ParetoSeries",function(){return Ir}),n.d(e,"PieSeries",function(){return Fr}),n.d(e,"PolygonSeries",function(){return Vr}),n.d(e,"PyramidSeries",function(){return qr}),n.d(e,"Pyramid3dSeries",function(){return zr}),n.d(e,"SankeySeries",function(){return Gr}),n.d(e,"OrganizationSeries",function(){return Xr}),n.d(e,"ScatterSeries",function(){return Yr}),n.d(e,"Scatter3dSeries",function(){return Jr}),n.d(e,"SolidGaugeSeries",function(){return Zr}),n.d(e,"SplineSeries",function(){return $r}),n.d(e,"StreamGraphSeries",function(){return Kr}),n.d(e,"SunburstSeries",function(){return Qr}),n.d(e,"TilemapSeries",function(){return ti}),n.d(e,"TimelineSeries",function(){return ei}),n.d(e,"TreemapSeries",function(){return ni}),n.d(e,"VariablePieSeries",function(){return ri}),n.d(e,"VariwideSeries",function(){return ii}),n.d(e,"VennSeries",function(){return oi}),n.d(e,"VectorSeries",function(){return ai}),n.d(e,"WaterfallSeries",function(){return ui}),n.d(e,"WindBarbSeries",function(){return ci}),n.d(e,"XRangeSeries",function(){return si}),n.d(e,"HighchartsContext",function(){return He}),n.d(e,"HighchartsChartContext",function(){return Be}),n.d(e,"HighchartsAxisContext",function(){return Ge}),n.d(e,"HighchartsSeriesContext",function(){return Ht}),n.d(e,"provideHighcharts",function(){return Ie}),n.d(e,"provideChart",function(){return Fe}),n.d(e,"provideAxis",function(){return Xe}),n.d(e,"provideSeries",function(){return pr}),n.d(e,"withHighcharts",function(){return fr}),n.d(e,"Axis",function(){return sn}),n.d(e,"BaseChart",function(){return tn}),n.d(e,"Debug",function(){return vr}),n.d(e,"Hidden",function(){return hn}),n.d(e,"Series",function(){return Ye}),n.d(e,"getModifiedProps",function(){return Ae}),n.d(e,"getNonEventHandlerProps",function(){return xe}),n.d(e,"getEventsConfig",function(){return Se}),n.d(e,"withSeriesType",function(){return Je}),n.d(e,"HighchartsStockChart",function(){return li}),n.d(e,"Navigator",function(){return bi}),n.d(e,"RangeSelector",function(){return Li}),n.d(e,"Scrollbar",function(){return Bi});var Mi=Je("Candlestick"),Ui=Je("Flags"),Wi=Je("OHLC"),Hi=Je("Flags")}])}); |
{ | ||
"name": "react-jsx-highstock", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Highcharts (including Highstock) charts built using React components", | ||
@@ -61,15 +61,14 @@ "main": "dist/react-jsx-highstock.min.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.4.5", | ||
"lodash-es": "^4.17.5", | ||
"react-jsx-highcharts": "3.6.0" | ||
"@babel/runtime": "^7.5.5", | ||
"lodash-es": "^4.17.13", | ||
"react-jsx-highcharts": "3.6.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.5", | ||
"@babel/plugin-proposal-class-properties": "^7.4.4", | ||
"@babel/plugin-transform-runtime": "^7.4.4", | ||
"@babel/preset-env": "^7.4.5", | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/register": "^7.4.4", | ||
"babel-eslint": "^10.0.1", | ||
"babel-eslint": "^10.0.2", | ||
"babel-loader": "^8.0.6", | ||
@@ -81,4 +80,4 @@ "babel-plugin-transform-react-remove-prop-types": "^0.4.24", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-import": "^2.17.3", | ||
"eslint-plugin-react": "^7.13.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-react": "^7.14.2", | ||
"highcharts": "^7.1.2", | ||
@@ -93,4 +92,4 @@ "jest": "^24.8.0", | ||
"rimraf": "^2.6.3", | ||
"webpack": "^4.33.0", | ||
"webpack-cli": "^3.3.4" | ||
"webpack": "^4.36.1", | ||
"webpack-cli": "^3.3.6" | ||
}, | ||
@@ -97,0 +96,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1878502
26
12456
+ Addedreact-jsx-highcharts@3.6.1(transitive)
- Removeddebounce-raf@1.0.1(transitive)
- Removedreact-jsx-highcharts@3.6.0(transitive)
Updated@babel/runtime@^7.5.5
Updatedlodash-es@^4.17.13
Updatedreact-jsx-highcharts@3.6.1