From f0fee06f8af1091056a64b47f93745655459b025 Mon Sep 17 00:00:00 2001 From: Dan Delany Date: Tue, 19 Dec 2017 04:34:10 -0500 Subject: [PATCH] fix minor issues --- ...ce06.js => bundle.5a32ea5f840fdaca44b2.js} | 8666 +++++++++-------- docs/build/bundle.5a32ea5f840fdaca44b2.js.map | 1 + docs/build/bundle.a1c15d9f438ce991ce06.js.map | 1 - docs/build/index.html | 2 +- .../examples/Area2Datasets.js.example | 2 +- .../examples/AreaDifference.js.example | 2 +- docs/src/docs/BarChart/propDocs.json | 2 +- .../KernelDensityEstimation.js.example | 2 +- .../examples/ScatterPlot.js.example | 2 +- .../XYPlot/examples/CustomSpacing.js.example | 7 +- .../docs/XYPlot/examples/XYPlot.js.example | 40 +- .../lessons/QuickStart/QuickStartLesson.js | 14 +- package.json | 15 +- src/AreaChart.js | 4 +- src/ColorHeatmap.js | 2 +- src/utils/resolveXYScales.js | 4 +- 16 files changed, 4712 insertions(+), 4054 deletions(-) rename docs/build/{bundle.a1c15d9f438ce991ce06.js => bundle.5a32ea5f840fdaca44b2.js} (98%) create mode 100644 docs/build/bundle.5a32ea5f840fdaca44b2.js.map delete mode 100644 docs/build/bundle.a1c15d9f438ce991ce06.js.map diff --git a/docs/build/bundle.a1c15d9f438ce991ce06.js b/docs/build/bundle.5a32ea5f840fdaca44b2.js similarity index 98% rename from docs/build/bundle.a1c15d9f438ce991ce06.js rename to docs/build/bundle.5a32ea5f840fdaca44b2.js index 57a6a477..92bb744e 100644 --- a/docs/build/bundle.a1c15d9f438ce991ce06.js +++ b/docs/build/bundle.5a32ea5f840fdaca44b2.js @@ -60,7 +60,7 @@ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 607); +/******/ return __webpack_require__(__webpack_require__.s = 608); /******/ }) /************************************************************************/ /******/ ([ @@ -1960,7 +1960,7 @@ function loadLocale(name) { try { oldLocale = globalLocale._abbr; var aliasedRequire = require; - __webpack_require__(1411)("./" + name); + __webpack_require__(1412)("./" + name); getSetGlobalLocale(oldLocale); } catch (e) {} } @@ -4674,7 +4674,7 @@ if (false) { } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(701)(); + module.exports = __webpack_require__(702)(); } @@ -4685,7 +4685,7 @@ if (false) { "use strict"; -module.exports = __webpack_require__(628); +module.exports = __webpack_require__(629); /***/ }), @@ -21909,17 +21909,6 @@ function haversin(x) { /* 8 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(15); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports, __webpack_require__) { - "use strict"; @@ -21947,7 +21936,7 @@ var _d = __webpack_require__(36); var d3 = _interopRequireWildcard(_d); -var _componentPlayground = __webpack_require__(1166); +var _componentPlayground = __webpack_require__(1167); var _componentPlayground2 = _interopRequireDefault(_componentPlayground); @@ -21955,7 +21944,7 @@ var _src = __webpack_require__(270); var Reactochart = _interopRequireWildcard(_src); -var _util = __webpack_require__(1416); +var _util = __webpack_require__(1415); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } @@ -22058,6 +22047,17 @@ ExampleSection.defaultProps = { }; exports.default = ExampleSection; +/***/ }), +/* 9 */ +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__(15); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; + + /***/ }), /* 10 */ /***/ (function(module, exports) { @@ -22095,11 +22095,11 @@ var _lodash = __webpack_require__(6); var _lodash2 = _interopRequireDefault(_lodash); -var _remark = __webpack_require__(729); +var _remark = __webpack_require__(730); var _remark2 = _interopRequireDefault(_remark); -var _remarkReact = __webpack_require__(834); +var _remarkReact = __webpack_require__(835); var _remarkReact2 = _interopRequireDefault(_remarkReact); @@ -22664,7 +22664,7 @@ module.exports = !__webpack_require__(12)(function () { /* 20 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var IE8_DOM_DEFINE = __webpack_require__(433); var toPrimitive = __webpack_require__(60); var dP = Object.defineProperty; @@ -22794,7 +22794,7 @@ var _react2 = _interopRequireDefault(_react); var _d = __webpack_require__(36); -var _Data = __webpack_require__(29); +var _Data = __webpack_require__(28); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -22889,19 +22889,19 @@ function scaleEqual(scaleA, scaleB) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_creator__ = __webpack_require__(204); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_creator__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_local__ = __webpack_require__(901); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_local__ = __webpack_require__(902); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_1__src_local__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_matcher__ = __webpack_require__(359); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_2__src_matcher__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_mouse__ = __webpack_require__(902); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_mouse__ = __webpack_require__(903); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_3__src_mouse__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_namespace__ = __webpack_require__(205); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_4__src_namespace__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_namespaces__ = __webpack_require__(206); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_5__src_namespaces__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_select__ = __webpack_require__(903); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_select__ = __webpack_require__(904); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_6__src_select__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_selectAll__ = __webpack_require__(931); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_selectAll__ = __webpack_require__(932); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_7__src_selectAll__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_selection_index__ = __webpack_require__(50); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_8__src_selection_index__["b"]; }); @@ -22911,9 +22911,9 @@ function scaleEqual(scaleA, scaleB) { /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_10__src_selectorAll__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_selection_style__ = __webpack_require__(363); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_11__src_selection_style__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_touch__ = __webpack_require__(932); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_touch__ = __webpack_require__(933); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_12__src_touch__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_touches__ = __webpack_require__(933); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_touches__ = __webpack_require__(934); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_13__src_touches__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_window__ = __webpack_require__(211); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_14__src_window__["a"]; }); @@ -22942,92 +22942,6 @@ function scaleEqual(scaleA, scaleB) { /* 26 */ /***/ (function(module, exports, __webpack_require__) { -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.defaultPropKeysToDeepCheck = undefined; -exports.default = xyPropsEqual; -exports.xyPropsEqualDebug = xyPropsEqualDebug; - -var _lodash = __webpack_require__(6); - -var _lodash2 = _interopRequireDefault(_lodash); - -var _shallowEqual = __webpack_require__(271); - -var _shallowEqual2 = _interopRequireDefault(_shallowEqual); - -var _Scale = __webpack_require__(24); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -// xyPropsEqual is a function used by XYPlot-type charts, -// in their `shouldComponentUpdate` methods, for determining whether next props are the same as previous props. -// in a perfect world this would just be a simple shallow equality check, -// however some props are almost always passed as object/array literals (so they never ===) -// or require special equality checks (eg. d3 scales) - -// default list of props to check for *deep equality* using _.isEqual -// can be overridden by components by passing `propKeysToDeepCheck` argument -// todo: decide whether data really belongs on this list? deep-checking data can be slow, but re-rendering is even slower -var defaultPropKeysToDeepCheck = exports.defaultPropKeysToDeepCheck = ['margin', 'scaleType', 'spacing', 'domain', 'style', 'data']; - -function xyPropsEqual(propsA, propsB) { - var customKeysToDeepCheck = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var includeDefaults = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; - - var propKeysToDeepCheck = includeDefaults ? defaultPropKeysToDeepCheck.concat(customKeysToDeepCheck) : customKeysToDeepCheck; - - var propKeysToSkipShallowCheck = propKeysToDeepCheck.concat('scale'); - - var isEqual = - // most keys just get shallow-equality checked - (0, _shallowEqual2.default)(_lodash2.default.omit(propsA, propKeysToSkipShallowCheck), _lodash2.default.omit(propsB, propKeysToSkipShallowCheck)) && - // propKeysToDeepCheck get deep-equality checked using _.isEqual - _lodash2.default.every(propKeysToDeepCheck, function (key) { - return _lodash2.default.isEqual(propsA[key], propsB[key]); - }) && - // d3 scales are special, get deep-checked using custom `scaleEqual` utility - _lodash2.default.every(['x', 'y'], function (key) { - return (0, _Scale.scaleEqual)(_lodash2.default.get(propsA, 'scale[' + key + ']'), _lodash2.default.get(propsA, 'scale[' + key + ']')); - }); - - return isEqual; -} - -function xyPropsEqualDebug(propsA, propsB) { - var customKeysToDeepCheck = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var includeDefaults = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; - - var propKeysToDeepCheck = includeDefaults ? defaultPropKeysToDeepCheck.concat(customKeysToDeepCheck) : customKeysToDeepCheck; - // debug version of xyPropsEqual which console.logs, for figuring out which props are failing equality check - // const start = performance.now(); - var propKeysToSkipShallowCheck = propKeysToDeepCheck.concat('scale'); - - var isEqual = - // most keys just get shallow-equality checked - (0, _shallowEqual2.default)(_lodash2.default.omit(propsA, propKeysToSkipShallowCheck), _lodash2.default.omit(propsB, propKeysToSkipShallowCheck)) && _lodash2.default.every(propKeysToDeepCheck, function (key) { - var isDeepEqual = _lodash2.default.isEqual(propsA[key], propsB[key]); - if (!isDeepEqual) console.log('xyProps: ' + key + ' not equal'); - return isDeepEqual; - }) && _lodash2.default.every(['x', 'y'], function (key) { - var isScaleEqual = (0, _Scale.scaleEqual)(propsA.scale[key], propsB.scale[key]); - if (!isScaleEqual) console.log('xyProps: scale.' + key + ' not equal'); - return isScaleEqual; - }); - - // console.log('xyProps isEqual', isEqual); - // console.log('took', performance.now() - start); - return isEqual; -} - -/***/ }), -/* 27 */ -/***/ (function(module, exports, __webpack_require__) { - "use strict"; /** * Copyright 2014-2015, Facebook, Inc. @@ -23092,7 +23006,7 @@ module.exports = warning; /***/ }), -/* 28 */ +/* 27 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -23104,45 +23018,45 @@ module.exports = warning; /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_1__src_ascending__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_bisector__ = __webpack_require__(348); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_2__src_bisector__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_cross__ = __webpack_require__(877); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_cross__ = __webpack_require__(878); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_3__src_cross__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_descending__ = __webpack_require__(878); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_descending__ = __webpack_require__(879); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_4__src_descending__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_deviation__ = __webpack_require__(350); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_5__src_deviation__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_extent__ = __webpack_require__(352); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_6__src_extent__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_histogram__ = __webpack_require__(879); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_histogram__ = __webpack_require__(880); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_7__src_histogram__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_threshold_freedmanDiaconis__ = __webpack_require__(882); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_threshold_freedmanDiaconis__ = __webpack_require__(883); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return __WEBPACK_IMPORTED_MODULE_8__src_threshold_freedmanDiaconis__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_threshold_scott__ = __webpack_require__(883); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_threshold_scott__ = __webpack_require__(884); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return __WEBPACK_IMPORTED_MODULE_9__src_threshold_scott__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__src_threshold_sturges__ = __webpack_require__(356); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return __WEBPACK_IMPORTED_MODULE_10__src_threshold_sturges__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_max__ = __webpack_require__(884); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_max__ = __webpack_require__(885); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_11__src_max__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_mean__ = __webpack_require__(885); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_mean__ = __webpack_require__(886); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_12__src_mean__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_median__ = __webpack_require__(886); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_median__ = __webpack_require__(887); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_13__src_median__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_merge__ = __webpack_require__(887); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_merge__ = __webpack_require__(888); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_14__src_merge__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__src_min__ = __webpack_require__(357); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_15__src_min__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__src_pairs__ = __webpack_require__(349); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_16__src_pairs__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__src_permute__ = __webpack_require__(888); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__src_permute__ = __webpack_require__(889); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_17__src_permute__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__src_quantile__ = __webpack_require__(202); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_18__src_quantile__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__src_range__ = __webpack_require__(354); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return __WEBPACK_IMPORTED_MODULE_19__src_range__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__src_scan__ = __webpack_require__(889); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__src_scan__ = __webpack_require__(890); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_20__src_scan__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__src_shuffle__ = __webpack_require__(890); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__src_shuffle__ = __webpack_require__(891); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return __WEBPACK_IMPORTED_MODULE_21__src_shuffle__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__src_sum__ = __webpack_require__(891); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__src_sum__ = __webpack_require__(892); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return __WEBPACK_IMPORTED_MODULE_22__src_sum__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__src_ticks__ = __webpack_require__(355); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return __WEBPACK_IMPORTED_MODULE_23__src_ticks__["a"]; }); @@ -23152,7 +23066,7 @@ module.exports = warning; /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return __WEBPACK_IMPORTED_MODULE_24__src_transpose__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__src_variance__ = __webpack_require__(351); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return __WEBPACK_IMPORTED_MODULE_25__src_variance__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__src_zip__ = __webpack_require__(892); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__src_zip__ = __webpack_require__(893); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return __WEBPACK_IMPORTED_MODULE_26__src_zip__["a"]; }); @@ -23184,7 +23098,7 @@ module.exports = warning; /***/ }), -/* 29 */ +/* 28 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23443,7 +23357,7 @@ function combineDatasets() { } /***/ }), -/* 30 */ +/* 29 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23452,52 +23366,84 @@ function combineDatasets() { Object.defineProperty(exports, "__esModule", { value: true }); -exports.accessorOrType = exports.valueOrAccessor = exports.datumValueTypes = exports.scaleType = exports.getter = exports.fourDirectionsOf = exports.xyObjectOf = undefined; - -var _react = __webpack_require__(2); +exports.defaultPropKeysToDeepCheck = undefined; +exports.default = xyPropsEqual; +exports.xyPropsEqualDebug = xyPropsEqualDebug; -var _react2 = _interopRequireDefault(_react); +var _lodash = __webpack_require__(6); -var _propTypes = __webpack_require__(3); +var _lodash2 = _interopRequireDefault(_lodash); -var _propTypes2 = _interopRequireDefault(_propTypes); +var _shallowEqual = __webpack_require__(271); -var _lodash = __webpack_require__(6); +var _shallowEqual2 = _interopRequireDefault(_shallowEqual); -var _lodash2 = _interopRequireDefault(_lodash); +var _Scale = __webpack_require__(24); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } +// xyPropsEqual is a function used by XYPlot-type charts, +// in their `shouldComponentUpdate` methods, for determining whether next props are the same as previous props. +// in a perfect world this would just be a simple shallow equality check, +// however some props are almost always passed as object/array literals (so they never ===) +// or require special equality checks (eg. d3 scales) -var xyObjectOf = exports.xyObjectOf = function xyObjectOf(type) { - return _propTypes2.default.shape({ x: type, y: type }); -}; +// default list of props to check for *deep equality* using _.isEqual +// can be overridden by components by passing `propKeysToDeepCheck` argument +// todo: decide whether data really belongs on this list? deep-checking data can be slow, but re-rendering is even slower +var defaultPropKeysToDeepCheck = exports.defaultPropKeysToDeepCheck = ['margin', 'scaleType', 'spacing', 'domain', 'style', 'data']; -var fourDirectionsOf = exports.fourDirectionsOf = function fourDirectionsOf(type) { - return _propTypes2.default.shape({ - top: type, - bottom: type, - left: type, - right: type +function xyPropsEqual(propsA, propsB) { + var customKeysToDeepCheck = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + var includeDefaults = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; + + var propKeysToDeepCheck = includeDefaults ? defaultPropKeysToDeepCheck.concat(customKeysToDeepCheck) : customKeysToDeepCheck; + + var propKeysToSkipShallowCheck = propKeysToDeepCheck.concat('scale'); + + var isEqual = + // most keys just get shallow-equality checked + (0, _shallowEqual2.default)(_lodash2.default.omit(propsA, propKeysToSkipShallowCheck), _lodash2.default.omit(propsB, propKeysToSkipShallowCheck)) && + // propKeysToDeepCheck get deep-equality checked using _.isEqual + _lodash2.default.every(propKeysToDeepCheck, function (key) { + return _lodash2.default.isEqual(propsA[key], propsB[key]); + }) && + // d3 scales are special, get deep-checked using custom `scaleEqual` utility + _lodash2.default.every(['x', 'y'], function (key) { + return (0, _Scale.scaleEqual)(_lodash2.default.get(propsA, 'scale[' + key + ']'), _lodash2.default.get(propsA, 'scale[' + key + ']')); }); -}; -var getter = exports.getter = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number, _propTypes2.default.array, _propTypes2.default.func]); + return isEqual; +} -var scaleType = exports.scaleType = _propTypes2.default.oneOf(['linear', 'time', 'ordinal', 'log', 'pow']); +function xyPropsEqualDebug(propsA, propsB) { + var customKeysToDeepCheck = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; + var includeDefaults = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; -var datumValueTypes = exports.datumValueTypes = [_propTypes2.default.number, _propTypes2.default.string, _propTypes2.default.instanceOf(Date)]; + var propKeysToDeepCheck = includeDefaults ? defaultPropKeysToDeepCheck.concat(customKeysToDeepCheck) : customKeysToDeepCheck; + // debug version of xyPropsEqual which console.logs, for figuring out which props are failing equality check + // const start = performance.now(); + var propKeysToSkipShallowCheck = propKeysToDeepCheck.concat('scale'); -var valueOrAccessor = exports.valueOrAccessor = _propTypes2.default.oneOfType([].concat(datumValueTypes, [_propTypes2.default.func])); + var isEqual = + // most keys just get shallow-equality checked + (0, _shallowEqual2.default)(_lodash2.default.omit(propsA, propKeysToSkipShallowCheck), _lodash2.default.omit(propsB, propKeysToSkipShallowCheck)) && _lodash2.default.every(propKeysToDeepCheck, function (key) { + var isDeepEqual = _lodash2.default.isEqual(propsA[key], propsB[key]); + if (!isDeepEqual) console.log('xyProps: ' + key + ' not equal'); + return isDeepEqual; + }) && _lodash2.default.every(['x', 'y'], function (key) { + var isScaleEqual = (0, _Scale.scaleEqual)(propsA.scale[key], propsB.scale[key]); + if (!isScaleEqual) console.log('xyProps: scale.' + key + ' not equal'); + return isScaleEqual; + }); -var accessorOrType = exports.accessorOrType = function accessorOrType(type) { - if (_lodash2.default.isArray(type)) return _propTypes2.default.oneOfType([_propTypes2.default.func].concat(_toConsumableArray(type))); - return _propTypes2.default.oneOfType([_propTypes2.default.func, type]); -}; + // console.log('xyProps isEqual', isEqual); + // console.log('took', performance.now() - start); + return isEqual; +} /***/ }), -/* 31 */ +/* 30 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -23572,7 +23518,7 @@ function newInterval(floori, offseti, count, field) { /***/ }), -/* 32 */ +/* 31 */ /***/ (function(module, exports) { module.exports = function (it) { @@ -23581,6 +23527,60 @@ module.exports = function (it) { }; +/***/ }), +/* 32 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.accessorOrType = exports.valueOrAccessor = exports.datumValueTypes = exports.scaleType = exports.getter = exports.fourDirectionsOf = exports.xyObjectOf = undefined; + +var _react = __webpack_require__(2); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(3); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _lodash = __webpack_require__(6); + +var _lodash2 = _interopRequireDefault(_lodash); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } + +var xyObjectOf = exports.xyObjectOf = function xyObjectOf(type) { + return _propTypes2.default.shape({ x: type, y: type }); +}; + +var fourDirectionsOf = exports.fourDirectionsOf = function fourDirectionsOf(type) { + return _propTypes2.default.shape({ + top: type, + bottom: type, + left: type, + right: type + }); +}; + +var getter = exports.getter = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number, _propTypes2.default.array, _propTypes2.default.func]); + +var scaleType = exports.scaleType = _propTypes2.default.oneOf(['linear', 'time', 'ordinal', 'log', 'pow']); + +var datumValueTypes = exports.datumValueTypes = [_propTypes2.default.number, _propTypes2.default.string, _propTypes2.default.instanceOf(Date)]; + +var valueOrAccessor = exports.valueOrAccessor = _propTypes2.default.oneOfType([].concat(datumValueTypes, [_propTypes2.default.func])); + +var accessorOrType = exports.accessorOrType = function accessorOrType(type) { + if (_lodash2.default.isArray(type)) return _propTypes2.default.oneOfType([_propTypes2.default.func].concat(_toConsumableArray(type))); + return _propTypes2.default.oneOfType([_propTypes2.default.func, type]); +}; + /***/ }), /* 33 */ /***/ (function(module, exports, __webpack_require__) { @@ -23692,9 +23692,9 @@ function whitespace(character) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__build_package__ = __webpack_require__(876); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__build_package__ = __webpack_require__(877); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return __WEBPACK_IMPORTED_MODULE_0__build_package__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_array__ = __webpack_require__(28); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_array__ = __webpack_require__(27); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "bisect", function() { return __WEBPACK_IMPORTED_MODULE_1_d3_array__["b"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "bisectRight", function() { return __WEBPACK_IMPORTED_MODULE_1_d3_array__["d"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "bisectLeft", function() { return __WEBPACK_IMPORTED_MODULE_1_d3_array__["c"]; }); @@ -23726,17 +23726,17 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "transpose", function() { return __WEBPACK_IMPORTED_MODULE_1_d3_array__["C"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "variance", function() { return __WEBPACK_IMPORTED_MODULE_1_d3_array__["D"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "zip", function() { return __WEBPACK_IMPORTED_MODULE_1_d3_array__["E"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_d3_axis__ = __webpack_require__(893); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_d3_axis__ = __webpack_require__(894); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "axisTop", function() { return __WEBPACK_IMPORTED_MODULE_2_d3_axis__["d"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "axisRight", function() { return __WEBPACK_IMPORTED_MODULE_2_d3_axis__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "axisBottom", function() { return __WEBPACK_IMPORTED_MODULE_2_d3_axis__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "axisLeft", function() { return __WEBPACK_IMPORTED_MODULE_2_d3_axis__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_d3_brush__ = __webpack_require__(897); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_d3_brush__ = __webpack_require__(898); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "brush", function() { return __WEBPACK_IMPORTED_MODULE_3_d3_brush__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "brushX", function() { return __WEBPACK_IMPORTED_MODULE_3_d3_brush__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "brushY", function() { return __WEBPACK_IMPORTED_MODULE_3_d3_brush__["d"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "brushSelection", function() { return __WEBPACK_IMPORTED_MODULE_3_d3_brush__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_d3_chord__ = __webpack_require__(983); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_d3_chord__ = __webpack_require__(984); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "chord", function() { return __WEBPACK_IMPORTED_MODULE_4_d3_chord__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "ribbon", function() { return __WEBPACK_IMPORTED_MODULE_4_d3_chord__["b"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_d3_collection__ = __webpack_require__(98); @@ -23807,7 +23807,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "easeElasticIn", function() { return __WEBPACK_IMPORTED_MODULE_10_d3_ease__["r"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "easeElasticOut", function() { return __WEBPACK_IMPORTED_MODULE_10_d3_ease__["t"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "easeElasticInOut", function() { return __WEBPACK_IMPORTED_MODULE_10_d3_ease__["s"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_d3_force__ = __webpack_require__(996); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_d3_force__ = __webpack_require__(997); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "forceCenter", function() { return __WEBPACK_IMPORTED_MODULE_11_d3_force__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "forceCollide", function() { return __WEBPACK_IMPORTED_MODULE_11_d3_force__["b"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "forceLink", function() { return __WEBPACK_IMPORTED_MODULE_11_d3_force__["c"]; }); @@ -23825,7 +23825,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "precisionFixed", function() { return __WEBPACK_IMPORTED_MODULE_12_d3_format__["f"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "precisionPrefix", function() { return __WEBPACK_IMPORTED_MODULE_12_d3_format__["g"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "precisionRound", function() { return __WEBPACK_IMPORTED_MODULE_12_d3_format__["h"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_d3_geo__ = __webpack_require__(1026); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13_d3_geo__ = __webpack_require__(1027); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "geoArea", function() { return __WEBPACK_IMPORTED_MODULE_13_d3_geo__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "geoBounds", function() { return __WEBPACK_IMPORTED_MODULE_13_d3_geo__["h"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "geoCentroid", function() { return __WEBPACK_IMPORTED_MODULE_13_d3_geo__["i"]; }); @@ -23915,7 +23915,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "quantize", function() { return __WEBPACK_IMPORTED_MODULE_15_d3_interpolate__["w"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_d3_path__ = __webpack_require__(78); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "path", function() { return __WEBPACK_IMPORTED_MODULE_16_d3_path__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_d3_polygon__ = __webpack_require__(1075); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17_d3_polygon__ = __webpack_require__(1076); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "polygonArea", function() { return __WEBPACK_IMPORTED_MODULE_17_d3_polygon__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "polygonCentroid", function() { return __WEBPACK_IMPORTED_MODULE_17_d3_polygon__["b"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "polygonHull", function() { return __WEBPACK_IMPORTED_MODULE_17_d3_polygon__["d"]; }); @@ -23923,16 +23923,16 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "polygonLength", function() { return __WEBPACK_IMPORTED_MODULE_17_d3_polygon__["e"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_18_d3_quadtree__ = __webpack_require__(222); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "quadtree", function() { return __WEBPACK_IMPORTED_MODULE_18_d3_quadtree__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19_d3_queue__ = __webpack_require__(1082); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19_d3_queue__ = __webpack_require__(1083); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "queue", function() { return __WEBPACK_IMPORTED_MODULE_19_d3_queue__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_d3_random__ = __webpack_require__(1085); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20_d3_random__ = __webpack_require__(1086); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "randomUniform", function() { return __WEBPACK_IMPORTED_MODULE_20_d3_random__["f"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "randomNormal", function() { return __WEBPACK_IMPORTED_MODULE_20_d3_random__["e"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "randomLogNormal", function() { return __WEBPACK_IMPORTED_MODULE_20_d3_random__["d"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "randomBates", function() { return __WEBPACK_IMPORTED_MODULE_20_d3_random__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "randomIrwinHall", function() { return __WEBPACK_IMPORTED_MODULE_20_d3_random__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "randomExponential", function() { return __WEBPACK_IMPORTED_MODULE_20_d3_random__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_d3_request__ = __webpack_require__(1090); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21_d3_request__ = __webpack_require__(1091); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "request", function() { return __WEBPACK_IMPORTED_MODULE_21_d3_request__["d"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "html", function() { return __WEBPACK_IMPORTED_MODULE_21_d3_request__["b"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "json", function() { return __WEBPACK_IMPORTED_MODULE_21_d3_request__["c"]; }); @@ -23940,7 +23940,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "xml", function() { return __WEBPACK_IMPORTED_MODULE_21_d3_request__["g"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "csv", function() { return __WEBPACK_IMPORTED_MODULE_21_d3_request__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "tsv", function() { return __WEBPACK_IMPORTED_MODULE_21_d3_request__["f"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22_d3_scale__ = __webpack_require__(1097); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22_d3_scale__ = __webpack_require__(1098); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "scaleBand", function() { return __WEBPACK_IMPORTED_MODULE_22_d3_scale__["i"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "scalePoint", function() { return __WEBPACK_IMPORTED_MODULE_22_d3_scale__["o"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "scaleIdentity", function() { return __WEBPACK_IMPORTED_MODULE_22_d3_scale__["j"]; }); @@ -24099,7 +24099,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "utcMonths", function() { return __WEBPACK_IMPORTED_MODULE_25_d3_time__["S"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "utcYear", function() { return __WEBPACK_IMPORTED_MODULE_25_d3_time__["_7"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "utcYears", function() { return __WEBPACK_IMPORTED_MODULE_25_d3_time__["_8"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26_d3_time_format__ = __webpack_require__(1154); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26_d3_time_format__ = __webpack_require__(1155); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "timeFormatDefaultLocale", function() { return __WEBPACK_IMPORTED_MODULE_26_d3_time_format__["d"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "timeFormat", function() { return __WEBPACK_IMPORTED_MODULE_26_d3_time_format__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "timeParse", function() { return __WEBPACK_IMPORTED_MODULE_26_d3_time_format__["f"]; }); @@ -24118,9 +24118,9 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "transition", function() { return __WEBPACK_IMPORTED_MODULE_28_d3_transition__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "active", function() { return __WEBPACK_IMPORTED_MODULE_28_d3_transition__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "interrupt", function() { return __WEBPACK_IMPORTED_MODULE_28_d3_transition__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29_d3_voronoi__ = __webpack_require__(1156); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29_d3_voronoi__ = __webpack_require__(1157); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "voronoi", function() { return __WEBPACK_IMPORTED_MODULE_29_d3_voronoi__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30_d3_zoom__ = __webpack_require__(1161); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30_d3_zoom__ = __webpack_require__(1162); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "zoom", function() { return __WEBPACK_IMPORTED_MODULE_30_d3_zoom__["a"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "zoomTransform", function() { return __WEBPACK_IMPORTED_MODULE_30_d3_zoom__["c"]; }); /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "zoomIdentity", function() { return __WEBPACK_IMPORTED_MODULE_30_d3_zoom__["b"]; }); @@ -24751,35 +24751,35 @@ function extend() { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return root; }); /* harmony export (immutable) */ __webpack_exports__["a"] = Selection; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__select__ = __webpack_require__(904); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__selectAll__ = __webpack_require__(905); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__filter__ = __webpack_require__(906); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__data__ = __webpack_require__(907); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__select__ = __webpack_require__(905); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__selectAll__ = __webpack_require__(906); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__filter__ = __webpack_require__(907); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__data__ = __webpack_require__(908); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__enter__ = __webpack_require__(361); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__exit__ = __webpack_require__(909); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__merge__ = __webpack_require__(910); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__order__ = __webpack_require__(911); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__sort__ = __webpack_require__(912); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__call__ = __webpack_require__(913); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__nodes__ = __webpack_require__(914); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__node__ = __webpack_require__(915); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__size__ = __webpack_require__(916); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__empty__ = __webpack_require__(917); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__each__ = __webpack_require__(918); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__attr__ = __webpack_require__(919); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__exit__ = __webpack_require__(910); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__merge__ = __webpack_require__(911); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__order__ = __webpack_require__(912); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__sort__ = __webpack_require__(913); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__call__ = __webpack_require__(914); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__nodes__ = __webpack_require__(915); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__node__ = __webpack_require__(916); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__size__ = __webpack_require__(917); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__empty__ = __webpack_require__(918); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__each__ = __webpack_require__(919); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__attr__ = __webpack_require__(920); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__style__ = __webpack_require__(363); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__property__ = __webpack_require__(920); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__classed__ = __webpack_require__(921); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__text__ = __webpack_require__(922); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__html__ = __webpack_require__(923); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__raise__ = __webpack_require__(924); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__lower__ = __webpack_require__(925); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__append__ = __webpack_require__(926); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__insert__ = __webpack_require__(927); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__remove__ = __webpack_require__(928); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__datum__ = __webpack_require__(929); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__property__ = __webpack_require__(921); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__classed__ = __webpack_require__(922); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__text__ = __webpack_require__(923); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__html__ = __webpack_require__(924); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__raise__ = __webpack_require__(925); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__lower__ = __webpack_require__(926); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__append__ = __webpack_require__(927); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__insert__ = __webpack_require__(928); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__remove__ = __webpack_require__(929); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__datum__ = __webpack_require__(930); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__on__ = __webpack_require__(208); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__dispatch__ = __webpack_require__(930); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__dispatch__ = __webpack_require__(931); @@ -24876,31 +24876,31 @@ Selection.prototype = selection.prototype = { /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_5__src_number__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_object__ = __webpack_require__(372); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_6__src_object__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_round__ = __webpack_require__(938); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_round__ = __webpack_require__(939); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_7__src_round__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_string__ = __webpack_require__(373); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return __WEBPACK_IMPORTED_MODULE_8__src_string__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_transform_index__ = __webpack_require__(939); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_transform_index__ = __webpack_require__(940); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_9__src_transform_index__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return __WEBPACK_IMPORTED_MODULE_9__src_transform_index__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__src_zoom__ = __webpack_require__(942); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__src_zoom__ = __webpack_require__(943); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return __WEBPACK_IMPORTED_MODULE_10__src_zoom__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_rgb__ = __webpack_require__(367); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_11__src_rgb__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_11__src_rgb__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_11__src_rgb__["c"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_hsl__ = __webpack_require__(943); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_hsl__ = __webpack_require__(944); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_12__src_hsl__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_12__src_hsl__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_lab__ = __webpack_require__(944); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_lab__ = __webpack_require__(945); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_13__src_lab__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_hcl__ = __webpack_require__(945); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_hcl__ = __webpack_require__(946); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_14__src_hcl__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_14__src_hcl__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__src_cubehelix__ = __webpack_require__(946); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__src_cubehelix__ = __webpack_require__(947); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_15__src_cubehelix__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_15__src_cubehelix__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__src_quantize__ = __webpack_require__(947); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__src_quantize__ = __webpack_require__(948); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return __WEBPACK_IMPORTED_MODULE_16__src_quantize__["a"]; }); @@ -25100,7 +25100,7 @@ function create(node, id, self) { /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding -var aFunction = __webpack_require__(32); +var aFunction = __webpack_require__(31); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; @@ -25177,10 +25177,10 @@ exports.right = function(str){ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_color__["e"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_0__src_color__["g"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__src_color__["f"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_lab__ = __webpack_require__(936); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_lab__ = __webpack_require__(937); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_1__src_lab__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__src_lab__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_cubehelix__ = __webpack_require__(937); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_cubehelix__ = __webpack_require__(938); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__src_cubehelix__["a"]; }); @@ -25203,7 +25203,7 @@ exports.right = function(str){ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__rotation__ = __webpack_require__(146); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transform__ = __webpack_require__(148); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__fit__ = __webpack_require__(229); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__resample__ = __webpack_require__(1041); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__resample__ = __webpack_require__(1042); @@ -26320,22 +26320,22 @@ module.exports = { /* harmony export (immutable) */ __webpack_exports__["b"] = transition; /* harmony export (immutable) */ __webpack_exports__["c"] = newId; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_selection__ = __webpack_require__(25); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attr__ = __webpack_require__(953); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attrTween__ = __webpack_require__(954); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__delay__ = __webpack_require__(955); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__duration__ = __webpack_require__(956); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ease__ = __webpack_require__(957); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__filter__ = __webpack_require__(958); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__merge__ = __webpack_require__(959); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__on__ = __webpack_require__(960); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__remove__ = __webpack_require__(961); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__select__ = __webpack_require__(962); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__selectAll__ = __webpack_require__(963); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__selection__ = __webpack_require__(964); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__style__ = __webpack_require__(965); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__styleTween__ = __webpack_require__(966); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__text__ = __webpack_require__(967); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__transition__ = __webpack_require__(968); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__attr__ = __webpack_require__(954); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__attrTween__ = __webpack_require__(955); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__delay__ = __webpack_require__(956); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__duration__ = __webpack_require__(957); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ease__ = __webpack_require__(958); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__filter__ = __webpack_require__(959); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__merge__ = __webpack_require__(960); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__on__ = __webpack_require__(961); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__remove__ = __webpack_require__(962); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__select__ = __webpack_require__(963); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__selectAll__ = __webpack_require__(964); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__selection__ = __webpack_require__(965); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__style__ = __webpack_require__(966); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__styleTween__ = __webpack_require__(967); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__text__ = __webpack_require__(968); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__transition__ = __webpack_require__(969); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__tween__ = __webpack_require__(144); @@ -26502,14 +26502,14 @@ module.exports = function (key) { var _assign = __webpack_require__(17); var ReactBaseClasses = __webpack_require__(274); -var ReactChildren = __webpack_require__(615); -var ReactDOMFactories = __webpack_require__(620); +var ReactChildren = __webpack_require__(616); +var ReactDOMFactories = __webpack_require__(621); var ReactElement = __webpack_require__(93); -var ReactPropTypes = __webpack_require__(621); -var ReactVersion = __webpack_require__(624); +var ReactPropTypes = __webpack_require__(622); +var ReactVersion = __webpack_require__(625); -var createReactClass = __webpack_require__(625); -var onlyChild = __webpack_require__(627); +var createReactClass = __webpack_require__(626); +var onlyChild = __webpack_require__(628); var createElement = ReactElement.createElement; var createFactory = ReactElement.createFactory; @@ -26749,7 +26749,7 @@ module.exports = PooledClass; -var ReactRef = __webpack_require__(635); +var ReactRef = __webpack_require__(636); var ReactInstrumentation = __webpack_require__(42); var warning = __webpack_require__(14); @@ -26908,7 +26908,7 @@ module.exports = ReactReconciler; /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_dispatch__ = __webpack_require__(899); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_dispatch__ = __webpack_require__(900); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_dispatch__["a"]; }); @@ -26918,7 +26918,7 @@ module.exports = ReactReconciler; /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_path__ = __webpack_require__(988); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_path__ = __webpack_require__(989); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_path__["a"]; }); @@ -27087,7 +27087,7 @@ module.exports = function (index, length) { /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var dPs = __webpack_require__(436); var enumBugKeys = __webpack_require__(247); var IE_PROTO = __webpack_require__(246)('IE_PROTO'); @@ -27180,7 +27180,7 @@ module.exports = function (it, Constructor, name, forbiddenField) { var ctx = __webpack_require__(53); var call = __webpack_require__(447); var isArrayIter = __webpack_require__(260); -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var toLength = __webpack_require__(21); var getIterFn = __webpack_require__(262); var BREAK = {}; @@ -27945,17 +27945,17 @@ function wrap(nodes, loose) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_nest__ = __webpack_require__(989); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_nest__ = __webpack_require__(990); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__src_nest__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_set__ = __webpack_require__(990); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_set__ = __webpack_require__(991); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_1__src_set__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_map__ = __webpack_require__(218); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_2__src_map__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_keys__ = __webpack_require__(991); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_keys__ = __webpack_require__(992); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__src_keys__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_values__ = __webpack_require__(992); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_values__ = __webpack_require__(993); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_4__src_values__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_entries__ = __webpack_require__(993); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_entries__ = __webpack_require__(994); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_5__src_entries__["a"]; }); @@ -28109,7 +28109,7 @@ module.exports = function (it, TYPE) { Object.defineProperty(exports, "__esModule", { - value: true + value: true }); exports.methodIfFuncProp = methodIfFuncProp; exports.hasOneOfTwo = hasOneOfTwo; @@ -28123,13 +28123,28 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de // convenience function for event callbacks... we often want to say // "if this.props.onThing is a function, call this.onThing(e) (which will do stuff, then call this.props.onThing)" function methodIfFuncProp(propName, props, context) { - return _lodash2.default.isFunction(props[propName]) && _lodash2.default.isFunction(context[propName]) ? context[propName] : null; + return _lodash2.default.isFunction(props[propName]) && _lodash2.default.isFunction(context[propName]) ? context[propName] : null; } function hasOneOfTwo(a, b) { - return _lodash2.default.some([a, b], _lodash2.default.isUndefined) && _lodash2.default.some([a, b], function (v) { - return !_lodash2.default.isUndefined(v); - }); + return _lodash2.default.some([a, b], _lodash2.default.isUndefined) && _lodash2.default.some([a, b], function (v) { + return !_lodash2.default.isUndefined(v); + }); +} + +function componentName(Component) { + return Component.displayName || "Component"; +} + +function hasSome(obj, keys) { + return _lodash2.default.isObject(obj) && _lodash2.default.some(keys, function (k) { + return _lodash2.default.has(obj, k); + }); +} +function hasAll(obj, keys) { + return _lodash2.default.isObject(obj) && _lodash2.default.every(keys, function (k) { + return _lodash2.default.has(obj, k); + }); } /***/ }), @@ -29039,10 +29054,10 @@ function azimuthalInvert(angle) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["b"] = linearish; /* harmony export (immutable) */ __webpack_exports__["a"] = linear; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(28); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(27); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(51); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__continuous__ = __webpack_require__(151); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__tickFormat__ = __webpack_require__(1100); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__tickFormat__ = __webpack_require__(1101); @@ -29119,28 +29134,28 @@ function linear() { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_interval__ = __webpack_require__(31); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_interval__ = __webpack_require__(30); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_0__src_interval__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_millisecond__ = __webpack_require__(1106); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_millisecond__ = __webpack_require__(1107); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_1__src_millisecond__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_1__src_millisecond__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return __WEBPACK_IMPORTED_MODULE_1__src_millisecond__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return __WEBPACK_IMPORTED_MODULE_1__src_millisecond__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_second__ = __webpack_require__(1107); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_second__ = __webpack_require__(1108); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_2__src_second__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return __WEBPACK_IMPORTED_MODULE_2__src_second__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return __WEBPACK_IMPORTED_MODULE_2__src_second__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return __WEBPACK_IMPORTED_MODULE_2__src_second__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_minute__ = __webpack_require__(1108); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_minute__ = __webpack_require__(1109); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_3__src_minute__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_3__src_minute__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_hour__ = __webpack_require__(1109); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_hour__ = __webpack_require__(1110); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__src_hour__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_4__src_hour__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_day__ = __webpack_require__(1110); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_day__ = __webpack_require__(1111); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_5__src_day__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_5__src_day__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_week__ = __webpack_require__(1111); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_week__ = __webpack_require__(1112); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return __WEBPACK_IMPORTED_MODULE_6__src_week__["g"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return __WEBPACK_IMPORTED_MODULE_6__src_week__["h"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_6__src_week__["g"]; }); @@ -29157,22 +29172,22 @@ function linear() { /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__src_week__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_6__src_week__["e"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_6__src_week__["f"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_month__ = __webpack_require__(1112); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_month__ = __webpack_require__(1113); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_7__src_month__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_7__src_month__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_year__ = __webpack_require__(1113); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_year__ = __webpack_require__(1114); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return __WEBPACK_IMPORTED_MODULE_8__src_year__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return __WEBPACK_IMPORTED_MODULE_8__src_year__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_utcMinute__ = __webpack_require__(1114); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_utcMinute__ = __webpack_require__(1115); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return __WEBPACK_IMPORTED_MODULE_9__src_utcMinute__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return __WEBPACK_IMPORTED_MODULE_9__src_utcMinute__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__src_utcHour__ = __webpack_require__(1115); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__src_utcHour__ = __webpack_require__(1116); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return __WEBPACK_IMPORTED_MODULE_10__src_utcHour__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return __WEBPACK_IMPORTED_MODULE_10__src_utcHour__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_utcDay__ = __webpack_require__(1116); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_utcDay__ = __webpack_require__(1117); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return __WEBPACK_IMPORTED_MODULE_11__src_utcDay__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return __WEBPACK_IMPORTED_MODULE_11__src_utcDay__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__ = __webpack_require__(1117); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__ = __webpack_require__(1118); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_5", function() { return __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__["g"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_6", function() { return __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__["h"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__["g"]; }); @@ -29189,10 +29204,10 @@ function linear() { /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__["e"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return __WEBPACK_IMPORTED_MODULE_12__src_utcWeek__["f"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_utcMonth__ = __webpack_require__(1118); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_utcMonth__ = __webpack_require__(1119); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return __WEBPACK_IMPORTED_MODULE_13__src_utcMonth__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return __WEBPACK_IMPORTED_MODULE_13__src_utcMonth__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_utcYear__ = __webpack_require__(1119); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_utcYear__ = __webpack_require__(1120); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_7", function() { return __WEBPACK_IMPORTED_MODULE_14__src_utcYear__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_8", function() { return __WEBPACK_IMPORTED_MODULE_14__src_utcYear__["b"]; }); @@ -29318,7 +29333,7 @@ function asin(x) { /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return circles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return edges; }); /* harmony export (immutable) */ __webpack_exports__["d"] = Diagram; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Beach__ = __webpack_require__(1160); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Beach__ = __webpack_require__(1161); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Cell__ = __webpack_require__(430); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Circle__ = __webpack_require__(431); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Edge__ = __webpack_require__(243); @@ -30065,10 +30080,10 @@ module.exports = escapeTextContentForBrowser; var _assign = __webpack_require__(17); var EventPluginRegistry = __webpack_require__(173); -var ReactEventEmitterMixin = __webpack_require__(656); +var ReactEventEmitterMixin = __webpack_require__(657); var ViewportMetrics = __webpack_require__(289); -var getVendorPrefixedEventName = __webpack_require__(657); +var getVendorPrefixedEventName = __webpack_require__(658); var isEventSupported = __webpack_require__(177); /** @@ -30675,9 +30690,9 @@ module.exports = g; /* Dependencies. */ -var characterEntities = __webpack_require__(747); +var characterEntities = __webpack_require__(748); var legacy = __webpack_require__(321); -var invalid = __webpack_require__(748); +var invalid = __webpack_require__(749); var decimal = __webpack_require__(115); var hexadecimal = __webpack_require__(322); var alphanumerical = __webpack_require__(323); @@ -31333,9 +31348,9 @@ module.exports = encode; /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__src_timer__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__src_timer__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__src_timer__["d"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_timeout__ = __webpack_require__(950); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_timeout__ = __webpack_require__(951); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__src_timeout__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_interval__ = __webpack_require__(951); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_interval__ = __webpack_require__(952); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__src_interval__["a"]; }); @@ -31541,9 +31556,9 @@ function rotationPhiGamma(deltaPhi, deltaGamma) { /* harmony export (immutable) */ __webpack_exports__["a"] = clipRectangle; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__math__ = __webpack_require__(7); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__buffer__ = __webpack_require__(388); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__line__ = __webpack_require__(1031); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__line__ = __webpack_require__(1032); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__rejoin__ = __webpack_require__(389); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_d3_array__ = __webpack_require__(28); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_d3_array__ = __webpack_require__(27); @@ -31795,7 +31810,7 @@ TransformStream.prototype = { /* harmony export (immutable) */ __webpack_exports__["c"] = deinterpolateLinear; /* harmony export (immutable) */ __webpack_exports__["a"] = copy; /* harmony export (immutable) */ __webpack_exports__["b"] = continuous; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(28); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(27); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(51); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__array__ = __webpack_require__(80); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constant__ = __webpack_require__(235); @@ -32199,7 +32214,7 @@ module.exports = function (exec, skipClosing) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); module.exports = function () { var that = anObject(this); var result = ''; @@ -32252,8 +32267,8 @@ module.exports = function (KEY, length, exec) { /***/ (function(module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) -var anObject = __webpack_require__(8); -var aFunction = __webpack_require__(32); +var anObject = __webpack_require__(9); +var aFunction = __webpack_require__(31); var SPECIES = __webpack_require__(16)('species'); module.exports = function (O, D) { var C = anObject(O).constructor; @@ -32431,7 +32446,7 @@ module.exports = function (COLLECTION) { // https://tc39.github.io/proposal-setmap-offrom/ var $export = __webpack_require__(0); -var aFunction = __webpack_require__(32); +var aFunction = __webpack_require__(31); var ctx = __webpack_require__(53); var forOf = __webpack_require__(91); @@ -43021,7 +43036,7 @@ module.exports = getEventModifierState; var DOMLazyTree = __webpack_require__(95); -var Danger = __webpack_require__(641); +var Danger = __webpack_require__(642); var ReactDOMComponentTree = __webpack_require__(18); var ReactInstrumentation = __webpack_require__(42); @@ -43309,7 +43324,7 @@ module.exports = createMicrosoftUnsafeLocalFunction; var _prodInvariant = __webpack_require__(13); -var ReactPropTypesSecret = __webpack_require__(659); +var ReactPropTypesSecret = __webpack_require__(660); var propTypesFactory = __webpack_require__(278); var React = __webpack_require__(74); @@ -43498,11 +43513,11 @@ module.exports = ReactComponentEnvironment; var _prodInvariant = __webpack_require__(13), _assign = __webpack_require__(17); -var ReactCompositeComponent = __webpack_require__(664); +var ReactCompositeComponent = __webpack_require__(665); var ReactEmptyComponent = __webpack_require__(296); var ReactHostComponent = __webpack_require__(297); -var getNextDebugID = __webpack_require__(665); +var getNextDebugID = __webpack_require__(666); var invariant = __webpack_require__(5); var warning = __webpack_require__(14); @@ -44547,7 +44562,7 @@ var locationsAreEqual = exports.locationsAreEqual = function locationsAreEqual(a exports.__esModule = true; -var _warning = __webpack_require__(27); +var _warning = __webpack_require__(26); var _warning2 = _interopRequireDefault(_warning); @@ -44645,7 +44660,7 @@ exports.default = createTransitionManager; /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(27); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(26); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(22); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__); @@ -44764,7 +44779,7 @@ Router.childContextTypes = { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(709); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(710); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__); @@ -44841,7 +44856,7 @@ var matchPath = function matchPath(pathname) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(27); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(26); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__); @@ -45018,7 +45033,7 @@ function normalize(value) { "use strict"; -var count = __webpack_require__(822); +var count = __webpack_require__(823); module.exports = enclose; @@ -45089,7 +45104,7 @@ function enclose(title) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_drag__ = __webpack_require__(900); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_drag__ = __webpack_require__(901); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_drag__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_nodrag__ = __webpack_require__(364); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__src_nodrag__["a"]; }); @@ -45773,10 +45788,10 @@ function basis(t1, v0, v1, v2, v3) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_selection_index__ = __webpack_require__(948); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_selection_index__ = __webpack_require__(949); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_transition_index__ = __webpack_require__(70); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__src_transition_index__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_active__ = __webpack_require__(979); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_active__ = __webpack_require__(980); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__src_active__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_interrupt__ = __webpack_require__(374); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__src_interrupt__["a"]; }); @@ -45997,12 +46012,12 @@ function map(object, f) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_dsv__ = __webpack_require__(220); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__src_dsv__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_csv__ = __webpack_require__(994); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_csv__ = __webpack_require__(995); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__src_csv__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_1__src_csv__["d"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_1__src_csv__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__src_csv__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_tsv__ = __webpack_require__(995); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_tsv__ = __webpack_require__(996); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_2__src_tsv__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_2__src_tsv__["d"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_2__src_tsv__["a"]; }); @@ -46161,7 +46176,7 @@ function inferColumns(rows) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_quadtree__ = __webpack_require__(999); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_quadtree__ = __webpack_require__(1000); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_quadtree__["a"]; }); @@ -46185,7 +46200,7 @@ function inferColumns(rows) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_defaultLocale__ = __webpack_require__(1017); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_defaultLocale__ = __webpack_require__(1018); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__src_defaultLocale__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_defaultLocale__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__src_defaultLocale__["c"]; }); @@ -46193,11 +46208,11 @@ function inferColumns(rows) { /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__src_locale__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_formatSpecifier__ = __webpack_require__(380); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_2__src_formatSpecifier__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_precisionFixed__ = __webpack_require__(1023); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_precisionFixed__ = __webpack_require__(1024); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_3__src_precisionFixed__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_precisionPrefix__ = __webpack_require__(1024); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_precisionPrefix__ = __webpack_require__(1025); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_4__src_precisionPrefix__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_precisionRound__ = __webpack_require__(1025); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_precisionRound__ = __webpack_require__(1026); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_5__src_precisionRound__["a"]; }); @@ -46246,7 +46261,7 @@ function inferColumns(rows) { /* harmony export (immutable) */ __webpack_exports__["a"] = conicEqualAreaRaw; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__math__ = __webpack_require__(7); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__conic__ = __webpack_require__(228); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__cylindricalEqualArea__ = __webpack_require__(1042); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__cylindricalEqualArea__ = __webpack_require__(1043); @@ -46418,17 +46433,17 @@ function mercatorProjection(project) { /* harmony export (immutable) */ __webpack_exports__["c"] = hierarchy; /* harmony export (immutable) */ __webpack_exports__["b"] = computeHeight; /* harmony export (immutable) */ __webpack_exports__["a"] = Node; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__count__ = __webpack_require__(1055); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__each__ = __webpack_require__(1056); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__eachBefore__ = __webpack_require__(1057); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__eachAfter__ = __webpack_require__(1058); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sum__ = __webpack_require__(1059); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__sort__ = __webpack_require__(1060); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__path__ = __webpack_require__(1061); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ancestors__ = __webpack_require__(1062); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__descendants__ = __webpack_require__(1063); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__leaves__ = __webpack_require__(1064); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__links__ = __webpack_require__(1065); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__count__ = __webpack_require__(1056); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__each__ = __webpack_require__(1057); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__eachBefore__ = __webpack_require__(1058); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__eachAfter__ = __webpack_require__(1059); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sum__ = __webpack_require__(1060); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__sort__ = __webpack_require__(1061); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__path__ = __webpack_require__(1062); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ancestors__ = __webpack_require__(1063); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__descendants__ = __webpack_require__(1064); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__leaves__ = __webpack_require__(1065); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__links__ = __webpack_require__(1066); @@ -47546,7 +47561,7 @@ module.exports = document && document.documentElement; // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = __webpack_require__(15); -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var check = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); @@ -47839,7 +47854,7 @@ module.exports = __webpack_require__(59).getIteratorMethod = function (it) { /***/ (function(module, exports, __webpack_require__) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) -var speciesConstructor = __webpack_require__(1260); +var speciesConstructor = __webpack_require__(1261); module.exports = function (original, length) { return new (speciesConstructor(original))(length); @@ -48080,7 +48095,7 @@ module.exports = function () { "use strict"; // 25.4.1.5 NewPromiseCapability(C) -var aFunction = __webpack_require__(32); +var aFunction = __webpack_require__(31); function PromiseCapability(C) { var resolve, reject; @@ -48391,9 +48406,9 @@ exports[DATA_VIEW] = $DataView; Object.defineProperty(exports, "__esModule", { value: true }); -exports.utils = exports.resolveXYScales = exports.resolveObjectProps = exports.YTicks = exports.YGrid = exports.YAxisTitle = exports.YAxisLabels = exports.YAxis = exports.XTicks = exports.XGrid = exports.XAxisTitle = exports.XAxisLabels = exports.XAxis = exports.YLine = exports.XLine = exports.RangeRect = exports.Bar = exports.FunnelChart = exports.KernelDensityEstimation = exports.Histogram = exports.AreaHeatmap = exports.ColorHeatmap = exports.AreaChart = exports.MarkerLineChart = exports.AreaBarChart = exports.RangeBarChart = exports.BarChart = exports.ScatterPlot = exports.LineChart = exports.XYPlot = exports.TreeMap = exports.SankeyDiagram = exports.PieChart = undefined; +exports.utils = exports.ZoomContainer = exports.resolveXYScales = exports.YTicks = exports.YGrid = exports.YAxisTitle = exports.YAxisLabels = exports.YAxis = exports.XTicks = exports.XGrid = exports.XAxisTitle = exports.XAxisLabels = exports.XAxis = exports.YLine = exports.XLine = exports.RangeRect = exports.Bar = exports.FunnelChart = exports.KernelDensityEstimation = exports.Histogram = exports.AreaHeatmap = exports.ColorHeatmap = exports.AreaChart = exports.MarkerLineChart = exports.AreaBarChart = exports.RangeBarChart = exports.BarChart = exports.ScatterPlot = exports.LineChart = exports.XYPlot = exports.TreeMap = exports.SankeyDiagram = exports.PieChart = undefined; -var _PieChart = __webpack_require__(1384); +var _PieChart = __webpack_require__(1385); Object.defineProperty(exports, 'PieChart', { enumerable: true, @@ -48402,7 +48417,7 @@ Object.defineProperty(exports, 'PieChart', { } }); -var _SankeyDiagram = __webpack_require__(1385); +var _SankeyDiagram = __webpack_require__(1386); Object.defineProperty(exports, 'SankeyDiagram', { enumerable: true, @@ -48411,7 +48426,7 @@ Object.defineProperty(exports, 'SankeyDiagram', { } }); -var _TreeMap = __webpack_require__(1390); +var _TreeMap = __webpack_require__(1391); Object.defineProperty(exports, 'TreeMap', { enumerable: true, @@ -48420,7 +48435,7 @@ Object.defineProperty(exports, 'TreeMap', { } }); -var _XYPlot = __webpack_require__(1391); +var _XYPlot = __webpack_require__(1392); Object.defineProperty(exports, 'XYPlot', { enumerable: true, @@ -48429,7 +48444,7 @@ Object.defineProperty(exports, 'XYPlot', { } }); -var _LineChart = __webpack_require__(470); +var _LineChart = __webpack_require__(471); Object.defineProperty(exports, 'LineChart', { enumerable: true, @@ -48438,7 +48453,7 @@ Object.defineProperty(exports, 'LineChart', { } }); -var _ScatterPlot = __webpack_require__(1392); +var _ScatterPlot = __webpack_require__(1393); Object.defineProperty(exports, 'ScatterPlot', { enumerable: true, @@ -48447,7 +48462,7 @@ Object.defineProperty(exports, 'ScatterPlot', { } }); -var _BarChart = __webpack_require__(1393); +var _BarChart = __webpack_require__(1394); Object.defineProperty(exports, 'BarChart', { enumerable: true, @@ -48456,7 +48471,7 @@ Object.defineProperty(exports, 'BarChart', { } }); -var _RangeBarChart = __webpack_require__(471); +var _RangeBarChart = __webpack_require__(472); Object.defineProperty(exports, 'RangeBarChart', { enumerable: true, @@ -48465,7 +48480,7 @@ Object.defineProperty(exports, 'RangeBarChart', { } }); -var _AreaBarChart = __webpack_require__(473); +var _AreaBarChart = __webpack_require__(474); Object.defineProperty(exports, 'AreaBarChart', { enumerable: true, @@ -48474,7 +48489,7 @@ Object.defineProperty(exports, 'AreaBarChart', { } }); -var _MarkerLineChart = __webpack_require__(1395); +var _MarkerLineChart = __webpack_require__(1396); Object.defineProperty(exports, 'MarkerLineChart', { enumerable: true, @@ -48483,7 +48498,7 @@ Object.defineProperty(exports, 'MarkerLineChart', { } }); -var _AreaChart = __webpack_require__(1396); +var _AreaChart = __webpack_require__(1397); Object.defineProperty(exports, 'AreaChart', { enumerable: true, @@ -48492,7 +48507,7 @@ Object.defineProperty(exports, 'AreaChart', { } }); -var _ColorHeatmap = __webpack_require__(1397); +var _ColorHeatmap = __webpack_require__(1398); Object.defineProperty(exports, 'ColorHeatmap', { enumerable: true, @@ -48501,7 +48516,7 @@ Object.defineProperty(exports, 'ColorHeatmap', { } }); -var _AreaHeatmap = __webpack_require__(1398); +var _AreaHeatmap = __webpack_require__(1399); Object.defineProperty(exports, 'AreaHeatmap', { enumerable: true, @@ -48510,7 +48525,7 @@ Object.defineProperty(exports, 'AreaHeatmap', { } }); -var _Histogram = __webpack_require__(1399); +var _Histogram = __webpack_require__(1400); Object.defineProperty(exports, 'Histogram', { enumerable: true, @@ -48519,7 +48534,7 @@ Object.defineProperty(exports, 'Histogram', { } }); -var _KernelDensityEstimation = __webpack_require__(1400); +var _KernelDensityEstimation = __webpack_require__(1401); Object.defineProperty(exports, 'KernelDensityEstimation', { enumerable: true, @@ -48528,7 +48543,7 @@ Object.defineProperty(exports, 'KernelDensityEstimation', { } }); -var _FunnelChart = __webpack_require__(1401); +var _FunnelChart = __webpack_require__(1402); Object.defineProperty(exports, 'FunnelChart', { enumerable: true, @@ -48537,7 +48552,7 @@ Object.defineProperty(exports, 'FunnelChart', { } }); -var _Bar = __webpack_require__(472); +var _Bar = __webpack_require__(473); Object.defineProperty(exports, 'Bar', { enumerable: true, @@ -48555,7 +48570,7 @@ Object.defineProperty(exports, 'RangeRect', { } }); -var _XLine = __webpack_require__(474); +var _XLine = __webpack_require__(475); Object.defineProperty(exports, 'XLine', { enumerable: true, @@ -48564,7 +48579,7 @@ Object.defineProperty(exports, 'XLine', { } }); -var _YLine = __webpack_require__(475); +var _YLine = __webpack_require__(476); Object.defineProperty(exports, 'YLine', { enumerable: true, @@ -48573,7 +48588,7 @@ Object.defineProperty(exports, 'YLine', { } }); -var _XAxis = __webpack_require__(1402); +var _XAxis = __webpack_require__(1403); Object.defineProperty(exports, 'XAxis', { enumerable: true, @@ -48582,7 +48597,7 @@ Object.defineProperty(exports, 'XAxis', { } }); -var _XAxisLabels = __webpack_require__(479); +var _XAxisLabels = __webpack_require__(480); Object.defineProperty(exports, 'XAxisLabels', { enumerable: true, @@ -48591,7 +48606,7 @@ Object.defineProperty(exports, 'XAxisLabels', { } }); -var _XAxisTitle = __webpack_require__(601); +var _XAxisTitle = __webpack_require__(602); Object.defineProperty(exports, 'XAxisTitle', { enumerable: true, @@ -48600,7 +48615,7 @@ Object.defineProperty(exports, 'XAxisTitle', { } }); -var _XGrid = __webpack_require__(478); +var _XGrid = __webpack_require__(479); Object.defineProperty(exports, 'XGrid', { enumerable: true, @@ -48609,7 +48624,7 @@ Object.defineProperty(exports, 'XGrid', { } }); -var _XTicks = __webpack_require__(477); +var _XTicks = __webpack_require__(478); Object.defineProperty(exports, 'XTicks', { enumerable: true, @@ -48627,7 +48642,7 @@ Object.defineProperty(exports, 'YAxis', { } }); -var _YAxisLabels = __webpack_require__(604); +var _YAxisLabels = __webpack_require__(605); Object.defineProperty(exports, 'YAxisLabels', { enumerable: true, @@ -48636,7 +48651,7 @@ Object.defineProperty(exports, 'YAxisLabels', { } }); -var _YAxisTitle = __webpack_require__(605); +var _YAxisTitle = __webpack_require__(606); Object.defineProperty(exports, 'YAxisTitle', { enumerable: true, @@ -48645,7 +48660,7 @@ Object.defineProperty(exports, 'YAxisTitle', { } }); -var _YGrid = __webpack_require__(603); +var _YGrid = __webpack_require__(604); Object.defineProperty(exports, 'YGrid', { enumerable: true, @@ -48654,7 +48669,7 @@ Object.defineProperty(exports, 'YGrid', { } }); -var _YTicks = __webpack_require__(602); +var _YTicks = __webpack_require__(603); Object.defineProperty(exports, 'YTicks', { enumerable: true, @@ -48663,25 +48678,25 @@ Object.defineProperty(exports, 'YTicks', { } }); -var _resolveObjectProps = __webpack_require__(1414); +var _resolveXYScales = __webpack_require__(470); -Object.defineProperty(exports, 'resolveObjectProps', { +Object.defineProperty(exports, 'resolveXYScales', { enumerable: true, get: function get() { - return _interopRequireDefault(_resolveObjectProps).default; + return _interopRequireDefault(_resolveXYScales).default; } }); -var _resolveXYScales = __webpack_require__(469); +var _ZoomContainer = __webpack_require__(1414); -Object.defineProperty(exports, 'resolveXYScales', { +Object.defineProperty(exports, 'ZoomContainer', { enumerable: true, get: function get() { - return _interopRequireDefault(_resolveXYScales).default; + return _interopRequireDefault(_ZoomContainer).default; } }); -var _Data = __webpack_require__(29); +var _Data = __webpack_require__(28); var Data = _interopRequireWildcard(_Data); @@ -48804,7 +48819,7 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _CustomPropTypes = __webpack_require__(30); +var _CustomPropTypes = __webpack_require__(32); var CustomPropTypes = _interopRequireWildcard(_CustomPropTypes); @@ -48934,7 +48949,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _unitsCss = __webpack_require__(1403); +var _unitsCss = __webpack_require__(1404); var _unitsCss2 = _interopRequireDefault(_unitsCss); @@ -49032,7 +49047,7 @@ var ReactNoopUpdateQueue = __webpack_require__(275); var canDefineProperty = __webpack_require__(276); var emptyObject = __webpack_require__(108); var invariant = __webpack_require__(5); -var lowPriorityWarning = __webpack_require__(614); +var lowPriorityWarning = __webpack_require__(615); /** * Base class helpers for the updating state of a component. @@ -49323,7 +49338,7 @@ module.exports = REACT_ELEMENT_TYPE; // Therefore we re-export development-only version with all the PropTypes checks here. // However if one is migrating to the `prop-types` npm library, they will go through the // `index.js` entry point, and it will branch depending on the environment. -var factory = __webpack_require__(622); +var factory = __webpack_require__(623); module.exports = function(isValidElement) { // It is still allowed in 15.5. var throwOnDirectAccess = false; @@ -49386,25 +49401,25 @@ module.exports = ReactDOMComponentFlags; -var ARIADOMPropertyConfig = __webpack_require__(629); -var BeforeInputEventPlugin = __webpack_require__(630); -var ChangeEventPlugin = __webpack_require__(634); -var DefaultEventPluginOrder = __webpack_require__(637); -var EnterLeaveEventPlugin = __webpack_require__(638); -var HTMLDOMPropertyConfig = __webpack_require__(639); -var ReactComponentBrowserEnvironment = __webpack_require__(640); -var ReactDOMComponent = __webpack_require__(646); +var ARIADOMPropertyConfig = __webpack_require__(630); +var BeforeInputEventPlugin = __webpack_require__(631); +var ChangeEventPlugin = __webpack_require__(635); +var DefaultEventPluginOrder = __webpack_require__(638); +var EnterLeaveEventPlugin = __webpack_require__(639); +var HTMLDOMPropertyConfig = __webpack_require__(640); +var ReactComponentBrowserEnvironment = __webpack_require__(641); +var ReactDOMComponent = __webpack_require__(647); var ReactDOMComponentTree = __webpack_require__(18); -var ReactDOMEmptyComponent = __webpack_require__(670); -var ReactDOMTreeTraversal = __webpack_require__(671); -var ReactDOMTextComponent = __webpack_require__(672); +var ReactDOMEmptyComponent = __webpack_require__(671); +var ReactDOMTreeTraversal = __webpack_require__(672); +var ReactDOMTextComponent = __webpack_require__(673); var ReactDefaultBatchingStrategy = __webpack_require__(301); -var ReactEventListener = __webpack_require__(673); -var ReactInjection = __webpack_require__(675); -var ReactReconcileTransaction = __webpack_require__(676); -var SVGDOMPropertyConfig = __webpack_require__(682); -var SelectEventPlugin = __webpack_require__(683); -var SimpleEventPlugin = __webpack_require__(684); +var ReactEventListener = __webpack_require__(674); +var ReactInjection = __webpack_require__(676); +var ReactReconcileTransaction = __webpack_require__(677); +var SVGDOMPropertyConfig = __webpack_require__(683); +var SelectEventPlugin = __webpack_require__(684); +var SimpleEventPlugin = __webpack_require__(685); var alreadyInjected = false; @@ -50208,7 +50223,7 @@ var DOMProperty = __webpack_require__(94); var ReactDOMComponentTree = __webpack_require__(18); var ReactInstrumentation = __webpack_require__(42); -var quoteAttributeValueForBrowser = __webpack_require__(655); +var quoteAttributeValueForBrowser = __webpack_require__(656); var warning = __webpack_require__(14); var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$'); @@ -50795,9 +50810,9 @@ module.exports = ReactHostComponent; var _prodInvariant = __webpack_require__(13); var ReactCurrentOwner = __webpack_require__(65); -var REACT_ELEMENT_TYPE = __webpack_require__(666); +var REACT_ELEMENT_TYPE = __webpack_require__(667); -var getIteratorFn = __webpack_require__(667); +var getIteratorFn = __webpack_require__(668); var invariant = __webpack_require__(5); var KeyEscapeUtils = __webpack_require__(187); var warning = __webpack_require__(14); @@ -51358,7 +51373,7 @@ var _assign = __webpack_require__(17); var PooledClass = __webpack_require__(75); var Transaction = __webpack_require__(131); var ReactInstrumentation = __webpack_require__(42); -var ReactServerUpdateQueue = __webpack_require__(669); +var ReactServerUpdateQueue = __webpack_require__(670); /** * Executed within the scope of the `Transaction` instance. Consider these as @@ -51597,9 +51612,9 @@ module.exports = EventListener; -var ReactDOMSelection = __webpack_require__(677); +var ReactDOMSelection = __webpack_require__(678); -var containsNode = __webpack_require__(679); +var containsNode = __webpack_require__(680); var focusNode = __webpack_require__(291); var getActiveElement = __webpack_require__(304); @@ -51774,7 +51789,7 @@ var ReactBrowserEventEmitter = __webpack_require__(135); var ReactCurrentOwner = __webpack_require__(65); var ReactDOMComponentTree = __webpack_require__(18); var ReactDOMContainerInfo = __webpack_require__(306); -var ReactDOMFeatureFlags = __webpack_require__(694); +var ReactDOMFeatureFlags = __webpack_require__(695); var ReactFeatureFlags = __webpack_require__(286); var ReactInstanceMap = __webpack_require__(112); var ReactInstrumentation = __webpack_require__(42); @@ -52342,7 +52357,7 @@ module.exports = ReactDOMContainerInfo; -var adler32 = __webpack_require__(695); +var adler32 = __webpack_require__(696); var TAG_END = /\/?>/; var COMMENT_START = /^<\!\-\-/; @@ -52739,7 +52754,7 @@ Link.contextTypes = { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(27); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(26); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(22); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__); @@ -53226,7 +53241,7 @@ var substr = 'ab'.substr(-1) === 'b' /* Dependencies. */ var xtend = __webpack_require__(49); -var inherits = __webpack_require__(742); +var inherits = __webpack_require__(743); /* Expose. */ module.exports = unherit; @@ -53477,7 +53492,7 @@ module.exports = { commonmark: false, footnotes: false, pedantic: false, - blocks: __webpack_require__(751) + blocks: __webpack_require__(752) }; @@ -53961,8 +53976,8 @@ function failsafe(h, node, definition) { "use strict"; -var keys = __webpack_require__(871); -var foreach = __webpack_require__(873); +var keys = __webpack_require__(872); +var foreach = __webpack_require__(874); var hasSymbols = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; var toStr = Object.prototype.toString; @@ -54888,49 +54903,49 @@ function one(b) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_linear__ = __webpack_require__(969); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_linear__ = __webpack_require__(970); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return __WEBPACK_IMPORTED_MODULE_0__src_linear__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_quad__ = __webpack_require__(970); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_quad__ = __webpack_require__(971); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return __WEBPACK_IMPORTED_MODULE_1__src_quad__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return __WEBPACK_IMPORTED_MODULE_1__src_quad__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return __WEBPACK_IMPORTED_MODULE_1__src_quad__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return __WEBPACK_IMPORTED_MODULE_1__src_quad__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_cubic__ = __webpack_require__(971); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_cubic__ = __webpack_require__(972); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_2__src_cubic__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_2__src_cubic__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_2__src_cubic__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_2__src_cubic__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_poly__ = __webpack_require__(972); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_poly__ = __webpack_require__(973); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return __WEBPACK_IMPORTED_MODULE_3__src_poly__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return __WEBPACK_IMPORTED_MODULE_3__src_poly__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return __WEBPACK_IMPORTED_MODULE_3__src_poly__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return __WEBPACK_IMPORTED_MODULE_3__src_poly__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_sin__ = __webpack_require__(973); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_sin__ = __webpack_require__(974); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return __WEBPACK_IMPORTED_MODULE_4__src_sin__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return __WEBPACK_IMPORTED_MODULE_4__src_sin__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return __WEBPACK_IMPORTED_MODULE_4__src_sin__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return __WEBPACK_IMPORTED_MODULE_4__src_sin__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_exp__ = __webpack_require__(974); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_exp__ = __webpack_require__(975); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return __WEBPACK_IMPORTED_MODULE_5__src_exp__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return __WEBPACK_IMPORTED_MODULE_5__src_exp__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return __WEBPACK_IMPORTED_MODULE_5__src_exp__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return __WEBPACK_IMPORTED_MODULE_5__src_exp__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_circle__ = __webpack_require__(975); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_circle__ = __webpack_require__(976); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_6__src_circle__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_6__src_circle__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_6__src_circle__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_6__src_circle__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_bounce__ = __webpack_require__(976); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_bounce__ = __webpack_require__(977); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_7__src_bounce__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_7__src_bounce__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__src_bounce__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_7__src_bounce__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_back__ = __webpack_require__(977); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_back__ = __webpack_require__(978); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_8__src_back__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_8__src_back__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_8__src_back__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_8__src_back__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_elastic__ = __webpack_require__(978); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_elastic__ = __webpack_require__(979); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_9__src_elastic__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_9__src_elastic__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_9__src_elastic__["c"]; }); @@ -55136,12 +55151,12 @@ var initialRadius = 10, "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__exponent__ = __webpack_require__(145); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__formatGroup__ = __webpack_require__(1018); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__formatNumerals__ = __webpack_require__(1019); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__formatGroup__ = __webpack_require__(1019); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__formatNumerals__ = __webpack_require__(1020); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__formatSpecifier__ = __webpack_require__(380); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__formatTypes__ = __webpack_require__(381); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__formatPrefixAuto__ = __webpack_require__(382); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__identity__ = __webpack_require__(1022); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__identity__ = __webpack_require__(1023); @@ -55342,9 +55357,9 @@ FormatSpecifier.prototype.toString = function() { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__formatDefault__ = __webpack_require__(1020); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__formatDefault__ = __webpack_require__(1021); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__formatPrefixAuto__ = __webpack_require__(382); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__formatRounded__ = __webpack_require__(1021); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__formatRounded__ = __webpack_require__(1022); @@ -55486,7 +55501,7 @@ function areaPoint(lambda, phi) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["a"] = circleStream; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__cartesian__ = __webpack_require__(118); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constant__ = __webpack_require__(1029); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__constant__ = __webpack_require__(1030); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__math__ = __webpack_require__(7); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__rotation__ = __webpack_require__(146); @@ -55692,7 +55707,7 @@ function clipAntimeridianInterpolate(from, to, direction, stream) { /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__rejoin__ = __webpack_require__(389); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__math__ = __webpack_require__(7); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__polygonContains__ = __webpack_require__(391); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_d3_array__ = __webpack_require__(28); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_d3_array__ = __webpack_require__(27); @@ -56415,35 +56430,35 @@ equirectangularRaw.invert = equirectangularRaw; "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_cluster__ = __webpack_require__(1054); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_cluster__ = __webpack_require__(1055); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "cluster", function() { return __WEBPACK_IMPORTED_MODULE_0__src_cluster__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_hierarchy_index__ = __webpack_require__(231); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "hierarchy", function() { return __WEBPACK_IMPORTED_MODULE_1__src_hierarchy_index__["c"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_pack_index__ = __webpack_require__(1066); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_pack_index__ = __webpack_require__(1067); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "pack", function() { return __WEBPACK_IMPORTED_MODULE_2__src_pack_index__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_pack_siblings__ = __webpack_require__(399); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "packSiblings", function() { return __WEBPACK_IMPORTED_MODULE_3__src_pack_siblings__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_pack_enclose__ = __webpack_require__(400); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "packEnclose", function() { return __WEBPACK_IMPORTED_MODULE_4__src_pack_enclose__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_partition__ = __webpack_require__(1068); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_partition__ = __webpack_require__(1069); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "partition", function() { return __WEBPACK_IMPORTED_MODULE_5__src_partition__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_stratify__ = __webpack_require__(1069); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_stratify__ = __webpack_require__(1070); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "stratify", function() { return __WEBPACK_IMPORTED_MODULE_6__src_stratify__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_tree__ = __webpack_require__(1070); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_tree__ = __webpack_require__(1071); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "tree", function() { return __WEBPACK_IMPORTED_MODULE_7__src_tree__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_treemap_index__ = __webpack_require__(1071); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_treemap_index__ = __webpack_require__(1072); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemap", function() { return __WEBPACK_IMPORTED_MODULE_8__src_treemap_index__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_treemap_binary__ = __webpack_require__(1072); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_treemap_binary__ = __webpack_require__(1073); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemapBinary", function() { return __WEBPACK_IMPORTED_MODULE_9__src_treemap_binary__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__src_treemap_dice__ = __webpack_require__(120); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemapDice", function() { return __WEBPACK_IMPORTED_MODULE_10__src_treemap_dice__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__src_treemap_slice__ = __webpack_require__(149); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemapSlice", function() { return __WEBPACK_IMPORTED_MODULE_11__src_treemap_slice__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_treemap_sliceDice__ = __webpack_require__(1073); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__src_treemap_sliceDice__ = __webpack_require__(1074); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemapSliceDice", function() { return __WEBPACK_IMPORTED_MODULE_12__src_treemap_sliceDice__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__src_treemap_squarify__ = __webpack_require__(233); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemapSquarify", function() { return __WEBPACK_IMPORTED_MODULE_13__src_treemap_squarify__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_treemap_resquarify__ = __webpack_require__(1074); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__src_treemap_resquarify__ = __webpack_require__(1075); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "treemapResquarify", function() { return __WEBPACK_IMPORTED_MODULE_14__src_treemap_resquarify__["a"]; }); @@ -56591,7 +56606,7 @@ function packEnclose(circles) { /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__array__ = __webpack_require__(1067); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__array__ = __webpack_require__(1068); /* harmony default export */ __webpack_exports__["a"] = (function(circles) { @@ -56923,7 +56938,7 @@ function ordinal(range) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["a"] = calendar; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(28); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(27); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_d3_interpolate__ = __webpack_require__(51); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_d3_time__ = __webpack_require__(122); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_d3_time_format__ = __webpack_require__(410); @@ -57082,7 +57097,7 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for /* unused harmony reexport timeFormatLocale */ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_isoFormat__ = __webpack_require__(412); /* unused harmony reexport isoFormat */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_isoParse__ = __webpack_require__(1120); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_isoParse__ = __webpack_require__(1121); /* unused harmony reexport isoParse */ @@ -57755,15 +57770,15 @@ var formatIso = Date.prototype.toISOString /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_arc__ = __webpack_require__(1130); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_arc__ = __webpack_require__(1131); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_arc__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__src_area__ = __webpack_require__(414); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__src_area__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__src_line__ = __webpack_require__(237); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return __WEBPACK_IMPORTED_MODULE_2__src_line__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_pie__ = __webpack_require__(1131); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__src_pie__ = __webpack_require__(1132); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return __WEBPACK_IMPORTED_MODULE_3__src_pie__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_areaRadial__ = __webpack_require__(1134); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__src_areaRadial__ = __webpack_require__(1135); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_4__src_areaRadial__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return __WEBPACK_IMPORTED_MODULE_4__src_areaRadial__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__src_lineRadial__ = __webpack_require__(416); @@ -57771,11 +57786,11 @@ var formatIso = Date.prototype.toISOString /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return __WEBPACK_IMPORTED_MODULE_5__src_lineRadial__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__src_pointRadial__ = __webpack_require__(417); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return __WEBPACK_IMPORTED_MODULE_6__src_pointRadial__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_link_index__ = __webpack_require__(1135); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__src_link_index__ = __webpack_require__(1136); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return __WEBPACK_IMPORTED_MODULE_7__src_link_index__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return __WEBPACK_IMPORTED_MODULE_7__src_link_index__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return __WEBPACK_IMPORTED_MODULE_7__src_link_index__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_symbol__ = __webpack_require__(1136); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__src_symbol__ = __webpack_require__(1137); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return __WEBPACK_IMPORTED_MODULE_8__src_symbol__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return __WEBPACK_IMPORTED_MODULE_8__src_symbol__["b"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__src_symbol_circle__ = __webpack_require__(419); @@ -57792,13 +57807,13 @@ var formatIso = Date.prototype.toISOString /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return __WEBPACK_IMPORTED_MODULE_14__src_symbol_triangle__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__src_symbol_wye__ = __webpack_require__(425); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return __WEBPACK_IMPORTED_MODULE_15__src_symbol_wye__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__src_curve_basisClosed__ = __webpack_require__(1137); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__src_curve_basisClosed__ = __webpack_require__(1138); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_16__src_curve_basisClosed__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__src_curve_basisOpen__ = __webpack_require__(1138); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__src_curve_basisOpen__ = __webpack_require__(1139); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_17__src_curve_basisOpen__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__src_curve_basis__ = __webpack_require__(154); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_18__src_curve_basis__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__src_curve_bundle__ = __webpack_require__(1139); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__src_curve_bundle__ = __webpack_require__(1140); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_19__src_curve_bundle__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__src_curve_cardinalClosed__ = __webpack_require__(426); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_20__src_curve_cardinalClosed__["b"]; }); @@ -57806,46 +57821,46 @@ var formatIso = Date.prototype.toISOString /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_21__src_curve_cardinalOpen__["b"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__src_curve_cardinal__ = __webpack_require__(155); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_22__src_curve_cardinal__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__src_curve_catmullRomClosed__ = __webpack_require__(1140); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__src_curve_catmullRomClosed__ = __webpack_require__(1141); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_23__src_curve_catmullRomClosed__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__src_curve_catmullRomOpen__ = __webpack_require__(1141); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__src_curve_catmullRomOpen__ = __webpack_require__(1142); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_24__src_curve_catmullRomOpen__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__src_curve_catmullRom__ = __webpack_require__(239); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_25__src_curve_catmullRom__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__src_curve_linearClosed__ = __webpack_require__(1142); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__src_curve_linearClosed__ = __webpack_require__(1143); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_26__src_curve_linearClosed__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__src_curve_linear__ = __webpack_require__(152); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_27__src_curve_linear__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__src_curve_monotone__ = __webpack_require__(1143); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__src_curve_monotone__ = __webpack_require__(1144); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_28__src_curve_monotone__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_28__src_curve_monotone__["b"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__src_curve_natural__ = __webpack_require__(1144); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__src_curve_natural__ = __webpack_require__(1145); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_29__src_curve_natural__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__src_curve_step__ = __webpack_require__(1145); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__src_curve_step__ = __webpack_require__(1146); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return __WEBPACK_IMPORTED_MODULE_30__src_curve_step__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_30__src_curve_step__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return __WEBPACK_IMPORTED_MODULE_30__src_curve_step__["c"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__src_stack__ = __webpack_require__(1146); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__src_stack__ = __webpack_require__(1147); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return __WEBPACK_IMPORTED_MODULE_31__src_stack__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__src_offset_expand__ = __webpack_require__(1147); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__src_offset_expand__ = __webpack_require__(1148); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return __WEBPACK_IMPORTED_MODULE_32__src_offset_expand__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__src_offset_diverging__ = __webpack_require__(1148); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__src_offset_diverging__ = __webpack_require__(1149); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return __WEBPACK_IMPORTED_MODULE_33__src_offset_diverging__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__src_offset_none__ = __webpack_require__(125); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return __WEBPACK_IMPORTED_MODULE_34__src_offset_none__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__src_offset_silhouette__ = __webpack_require__(1149); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__src_offset_silhouette__ = __webpack_require__(1150); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return __WEBPACK_IMPORTED_MODULE_35__src_offset_silhouette__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__src_offset_wiggle__ = __webpack_require__(1150); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__src_offset_wiggle__ = __webpack_require__(1151); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return __WEBPACK_IMPORTED_MODULE_36__src_offset_wiggle__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__src_order_ascending__ = __webpack_require__(240); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return __WEBPACK_IMPORTED_MODULE_37__src_order_ascending__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__src_order_descending__ = __webpack_require__(1151); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__src_order_descending__ = __webpack_require__(1152); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return __WEBPACK_IMPORTED_MODULE_38__src_order_descending__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__src_order_insideOut__ = __webpack_require__(1152); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__src_order_insideOut__ = __webpack_require__(1153); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return __WEBPACK_IMPORTED_MODULE_39__src_order_insideOut__["a"]; }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__src_order_none__ = __webpack_require__(126); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return __WEBPACK_IMPORTED_MODULE_40__src_order_none__["a"]; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__src_order_reverse__ = __webpack_require__(1153); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__src_order_reverse__ = __webpack_require__(1154); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return __WEBPACK_IMPORTED_MODULE_41__src_order_reverse__["a"]; }); @@ -59292,7 +59307,7 @@ module.exports = function (object, names) { /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(20); -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var getKeys = __webpack_require__(85); module.exports = __webpack_require__(19) ? Object.defineProperties : function defineProperties(O, Properties) { @@ -59378,7 +59393,7 @@ module.exports = !$assign || __webpack_require__(12)(function () { "use strict"; -var aFunction = __webpack_require__(32); +var aFunction = __webpack_require__(31); var isObject = __webpack_require__(15); var invoke = __webpack_require__(440); var arraySlice = [].slice; @@ -59522,7 +59537,7 @@ module.exports = Math.fround || function fround(x) { /***/ (function(module, exports, __webpack_require__) { // call something on iterator step with safe closing on error -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); module.exports = function (iterator, fn, value, entries) { try { return entries ? fn(anObject(value)[0], value[1]) : fn(value); @@ -59539,7 +59554,7 @@ module.exports = function (iterator, fn, value, entries) { /* 448 */ /***/ (function(module, exports, __webpack_require__) { -var aFunction = __webpack_require__(32); +var aFunction = __webpack_require__(31); var toObject = __webpack_require__(23); var IObject = __webpack_require__(128); var toLength = __webpack_require__(21); @@ -59639,7 +59654,7 @@ module.exports = function (exec) { /* 453 */ /***/ (function(module, exports, __webpack_require__) { -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var isObject = __webpack_require__(15); var newPromiseCapability = __webpack_require__(268); @@ -59925,7 +59940,7 @@ if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp) var redefineAll = __webpack_require__(92); var getWeak = __webpack_require__(72).getWeak; -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var isObject = __webpack_require__(15); var anInstance = __webpack_require__(90); var forOf = __webpack_require__(91); @@ -60032,7 +60047,7 @@ module.exports = function (it) { // all object keys, includes non-enumerable and symbols var gOPN = __webpack_require__(88); var gOPS = __webpack_require__(158); -var anObject = __webpack_require__(8); +var anObject = __webpack_require__(9); var Reflect = __webpack_require__(10).Reflect; module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { var keys = gOPN.f(anObject(it)); @@ -121876,558 +121891,1581 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), /* 468 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { -"use strict"; -/* harmony export (immutable) */ __webpack_exports__["c"] = left; -/* harmony export (immutable) */ __webpack_exports__["d"] = right; -/* harmony export (immutable) */ __webpack_exports__["b"] = justify; -/* harmony export (immutable) */ __webpack_exports__["a"] = center; -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(28); +var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @preserve + * numeral.js + * version : 2.0.6 + * author : Adam Draper + * license : MIT + * http://adamwdraper.github.com/Numeral-js/ + */ +(function (global, factory) { + if (true) { + !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), + __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? + (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : + __WEBPACK_AMD_DEFINE_FACTORY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + global.numeral = factory(); + } +}(this, function () { + /************************************ + Variables + ************************************/ -function targetDepth(d) { - return d.target.depth; -} + var numeral, + _, + VERSION = '2.0.6', + formats = {}, + locales = {}, + defaults = { + currentLocale: 'en', + zeroFormat: null, + nullFormat: null, + defaultFormat: '0,0', + scalePercentBy100: true + }, + options = { + currentLocale: defaults.currentLocale, + zeroFormat: defaults.zeroFormat, + nullFormat: defaults.nullFormat, + defaultFormat: defaults.defaultFormat, + scalePercentBy100: defaults.scalePercentBy100 + }; -function left(node) { - return node.depth; -} -function right(node, n) { - return n - 1 - node.height; -} + /************************************ + Constructors + ************************************/ -function justify(node, n) { - return node.sourceLinks.length ? node.depth : n - 1; -} + // Numeral prototype object + function Numeral(input, number) { + this._input = input; -function center(node) { - return node.targetLinks.length ? node.depth - : node.sourceLinks.length ? Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__["o" /* min */])(node.sourceLinks, targetDepth) - 1 - : 0; -} + this._value = number; + } + numeral = function(input) { + var value, + kind, + unformatFunction, + regexp; -/***/ }), -/* 469 */ -/***/ (function(module, exports, __webpack_require__) { + if (numeral.isNumeral(input)) { + value = input.value(); + } else if (input === 0 || typeof input === 'undefined') { + value = 0; + } else if (input === null || _.isNaN(input)) { + value = null; + } else if (typeof input === 'string') { + if (options.zeroFormat && input === options.zeroFormat) { + value = 0; + } else if (options.nullFormat && input === options.nullFormat || !input.replace(/[^0-9]+/g, '').length) { + value = null; + } else { + for (kind in formats) { + regexp = typeof formats[kind].regexps.unformat === 'function' ? formats[kind].regexps.unformat() : formats[kind].regexps.unformat; -"use strict"; + if (regexp && input.match(regexp)) { + unformatFunction = formats[kind].unformat; + break; + } + } -Object.defineProperty(exports, "__esModule", { - value: true -}); + unformatFunction = unformatFunction || numeral._.stringToNumber; -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + value = unformatFunction(input); + } + } else { + value = Number(input)|| null; + } -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + return new Numeral(input, value); + }; -exports.default = resolveXYScales; + // version number + numeral.version = VERSION; -var _lodash = __webpack_require__(6); + // compare numeral object + numeral.isNumeral = function(obj) { + return obj instanceof Numeral; + }; -var _lodash2 = _interopRequireDefault(_lodash); + // helper functions + numeral._ = _ = { + // formats numbers separators, decimals places, signs, abbreviations + numberToFormat: function(value, format, roundingFunction) { + var locale = locales[numeral.options.currentLocale], + negP = false, + optDec = false, + leadingCount = 0, + abbr = '', + trillion = 1000000000000, + billion = 1000000000, + million = 1000000, + thousand = 1000, + decimal = '', + neg = false, + abbrForce, // force abbreviation + abs, + min, + max, + power, + int, + precision, + signed, + thousands, + output; -var _d = __webpack_require__(36); + // make sure we never format a null value + value = value || 0; -var _react = __webpack_require__(2); + abs = Math.abs(value); -var _react2 = _interopRequireDefault(_react); + // see if we should use parentheses for negative number or if we should prefix with a sign + // if both are present we default to parentheses + if (numeral._.includes(format, '(')) { + negP = true; + format = format.replace(/[\(|\)]/g, ''); + } else if (numeral._.includes(format, '+') || numeral._.includes(format, '-')) { + signed = numeral._.includes(format, '+') ? format.indexOf('+') : value < 0 ? format.indexOf('-') : -1; + format = format.replace(/[\+|\-]/g, ''); + } -var _invariant = __webpack_require__(22); + // see if abbreviation is wanted + if (numeral._.includes(format, 'a')) { + abbrForce = format.match(/a(k|m|b|t)?/); -var _invariant2 = _interopRequireDefault(_invariant); + abbrForce = abbrForce ? abbrForce[1] : false; -var _Data = __webpack_require__(29); + // check for space before abbreviation + if (numeral._.includes(format, ' a')) { + abbr = ' '; + } -var _Scale = __webpack_require__(24); + format = format.replace(new RegExp(abbr + 'a[kmbt]?'), ''); -var _Margin = __webpack_require__(171); + if (abs >= trillion && !abbrForce || abbrForce === 't') { + // trillion + abbr += locale.abbreviations.trillion; + value = value / trillion; + } else if (abs < trillion && abs >= billion && !abbrForce || abbrForce === 'b') { + // billion + abbr += locale.abbreviations.billion; + value = value / billion; + } else if (abs < billion && abs >= million && !abbrForce || abbrForce === 'm') { + // million + abbr += locale.abbreviations.million; + value = value / million; + } else if (abs < million && abs >= thousand && !abbrForce || abbrForce === 'k') { + // thousand + abbr += locale.abbreviations.thousand; + value = value / thousand; + } + } -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + // check for optional decimals + if (numeral._.includes(format, '[.]')) { + optDec = true; + format = format.replace('[.]', '.'); + } -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + // break number and format + int = value.toString().split('.')[0]; + precision = format.split('.')[1]; + thousands = format.indexOf(','); + leadingCount = (format.split('.')[0].split(',')[0].match(/0/g) || []).length; -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + if (precision) { + if (numeral._.includes(precision, '[')) { + precision = precision.replace(']', ''); + precision = precision.split('['); + decimal = numeral._.toFixed(value, (precision[0].length + precision[1].length), roundingFunction, precision[1].length); + } else { + decimal = numeral._.toFixed(value, precision.length, roundingFunction); + } -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + int = decimal.split('.')[0]; -/** - * `resolveXYScales` is a higher-order-component. - * - * @param {Component} Component - The React Component (class) which should be wrapped by this HOC - * @returns {Component} - A Component which auto-resolves XY scales from given props -*/ + if (numeral._.includes(decimal, '.')) { + decimal = locale.delimiters.decimal + decimal.split('.')[1]; + } else { + decimal = ''; + } -var errs = { - getDomain: function getDomain(C) { - return 'Components enhanced by resolveXYScales must have a static getDomain method, ' + componentName(C) + ' does not have one'; - } -}; -function componentName(Component) { - return Component.displayName || "Component wrapped by resolveXYScales"; -} + if (optDec && Number(decimal.slice(1)) === 0) { + decimal = ''; + } + } else { + int = numeral._.toFixed(value, 0, roundingFunction); + } -function isValidScaleType(scaleType) { - // todo: check against whitelist? - return _lodash2.default.isString(scaleType); -} -function areValidScales(scales) { - return _lodash2.default.every(scales, _Scale.isValidScale); -} -function areValidScaleTypes(scaleTypes) { - return _lodash2.default.every(scaleTypes, isValidScaleType); -} + // check abbreviation again after rounding + if (abbr && !abbrForce && Number(int) >= 1000 && abbr !== locale.abbreviations.trillion) { + int = String(Number(int) / 1000); -function mapOverChildren(children, iteratee) { - for (var _len = arguments.length, iterateeArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { - iterateeArgs[_key - 2] = arguments[_key]; - } + switch (abbr) { + case locale.abbreviations.thousand: + abbr = locale.abbreviations.million; + break; + case locale.abbreviations.million: + abbr = locale.abbreviations.billion; + break; + case locale.abbreviations.billion: + abbr = locale.abbreviations.trillion; + break; + } + } - // loop over all children (react elements) and call iteratee (a function) on each one - // iteratee is called with parameters (child.props, child.type, ...iterateeArgs) - if (!_lodash2.default.isFunction(iteratee)) throw new Error('mapOverChildren iteratee must be a function'); - return _lodash2.default.compact(_react2.default.Children.map(children, function (child) { - if (!child || !_react2.default.isValidElement(child)) return null; - return iteratee.apply(undefined, [child.props, child.type].concat(iterateeArgs)); - })); -} -function omitNullUndefined(obj) { - return _lodash2.default.omitBy(obj, function (v) { - return _lodash2.default.isUndefined(v) || _lodash2.default.isNull(v); - }); -} + // format number + if (numeral._.includes(int, '-')) { + int = int.slice(1); + neg = true; + } -// not currently being used but potentially has some learnings -// function resolveXYPropsOnComponentOrChildren(propKeys, props, reducers = {}, validators = {}, result = {}) { -// const isDone = (o) => (_.every(propKeys, k => _.isObject(o[k]) && _.every(['x', 'y'], xy => _.has(o[k][xy])))); -// result = _.pick({...props, ...result}, propKeys); + if (int.length < leadingCount) { + for (var i = leadingCount - int.length; i > 0; i--) { + int = '0' + int; + } + } -// let resolved = {}; -// _.forEach(propKeys, propKey => { -// _.forEach(['x', 'y'], k => { -// const isValid = validators[propKey] || (() => true); -// if(_.isObject(props[propKey]) && _.has(props[propKey], k) && isValid(props[propKey][k])) { -// if(!_.has(result, propKey)) result[propKey] = {}; -// result[propKey][k] = props[propKey][k]; -// } -// }); -// }); + if (thousands > -1) { + int = int.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1' + locale.delimiters.thousands); + } -// if(isDone(result)) return result; + if (format.indexOf('.') === 0) { + int = ''; + } -// if(React.Children.count(props.children)) { -// let childProps = mapOverChildren(props.children, resolveXYPropsOnComponentOrChildren, propKeys, 'props', result); -// React.Children.forEach(props.children, child => { -// if(!child) return; -// childProps.push(resolveXYPropsOnComponentOrChildren(propKeys, child.props, result)); -// }); -// let childDomains = []; -// React.Children.forEach(props.children, child => { -// childDomains = childDomains.concat(this._resolveDomain(child.props, child.type, scaleType)); -// }); + output = int + decimal + (abbr ? abbr : ''); -// console.log('combining domains', childDomains); -// const childDomain = _.fromPairs(['x', 'y'].map(k => { -// console.log(_.compact(_.map(childDomains, k)), scaleType[k]); -// const kDomain = combineDomains(_.compact(_.map(childDomains, k)), dataTypeFromScaleType(scaleType[k])); -// console.log(kDomain); -// return [k, kDomain]; -// })); -// console.log('combined domains', childDomain); + if (negP) { + output = (negP && neg ? '(' : '') + output + (negP && neg ? ')' : ''); + } else { + if (signed >= 0) { + output = signed === 0 ? (neg ? '-' : '+') + output : output + (neg ? '-' : '+'); + } else if (neg) { + output = '-' + output; + } + } -// domain = _.assign(childDomain, domain); -// return domain; -// } + return output; + }, + // unformats numbers separators, decimals places, signs, abbreviations + stringToNumber: function(string) { + var locale = locales[options.currentLocale], + stringOriginal = string, + abbreviations = { + thousand: 3, + million: 6, + billion: 9, + trillion: 12 + }, + abbreviation, + value, + i, + regexp; -// propKeys.forEach(k => { -// result[propKeys] = props -// }) -// } + if (options.zeroFormat && string === options.zeroFormat) { + value = 0; + } else if (options.nullFormat && string === options.nullFormat || !string.replace(/[^0-9]+/g, '').length) { + value = null; + } else { + value = 1; + if (locale.delimiters.decimal !== '.') { + string = string.replace(/\./g, '').replace(locale.delimiters.decimal, '.'); + } -function resolveXYScales(ComposedComponent) { - var _class, _temp2; + for (abbreviation in abbreviations) { + regexp = new RegExp('[^a-zA-Z]' + locale.abbreviations[abbreviation] + '(?:\\)|(\\' + locale.currency.symbol + ')?(?:\\))?)?$'); - return _temp2 = _class = function (_React$Component) { - _inherits(_class, _React$Component); + if (stringOriginal.match(regexp)) { + value *= Math.pow(10, abbreviations[abbreviation]); + break; + } + } - function _class() { - var _ref; + // check for negative number + value *= (string.split('-').length + Math.min(string.split('(').length - 1, string.split(')').length - 1)) % 2 ? 1 : -1; - var _temp, _this, _ret; + // remove non numbers + string = string.replace(/[^0-9\.]+/g, ''); - _classCallCheck(this, _class); + value *= Number(string); + } - for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { - args[_key2] = arguments[_key2]; - } + return value; + }, + isNaN: function(value) { + return typeof value === 'number' && isNaN(value); + }, + includes: function(string, search) { + return string.indexOf(search) !== -1; + }, + insert: function(string, subString, start) { + return string.slice(0, start) + subString + string.slice(start); + }, + reduce: function(array, callback /*, initialValue*/) { + if (this === null) { + throw new TypeError('Array.prototype.reduce called on null or undefined'); + } - return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = _class.__proto__ || Object.getPrototypeOf(_class)).call.apply(_ref, [this].concat(args))), _this), _this._makeScales = function (_ref2) { - var width = _ref2.width, - height = _ref2.height, - xScaleType = _ref2.xScaleType, - yScaleType = _ref2.yScaleType, - xDomain = _ref2.xDomain, - yDomain = _ref2.yDomain, - xScale = _ref2.xScale, - yScale = _ref2.yScale, - marginTop = _ref2.marginTop, - marginBottom = _ref2.marginBottom, - marginLeft = _ref2.marginLeft, - marginRight = _ref2.marginRight, - spacingTop = _ref2.spacingTop, - spacingBottom = _ref2.spacingBottom, - spacingLeft = _ref2.spacingLeft, - spacingRight = _ref2.spacingRight; + if (typeof callback !== 'function') { + throw new TypeError(callback + ' is not a function'); + } - var spacing = { top: spacingTop, bottom: spacingBottom, left: spacingLeft, right: spacingRight }; - var margin = { top: marginTop, bottom: marginBottom, left: marginLeft, right: marginRight }; - var innerChartWidth = (0, _Margin.innerWidth)(width, margin); - var innerChartHeight = (0, _Margin.innerHeight)(height, margin); + var t = Object(array), + len = t.length >>> 0, + k = 0, + value; - // use existing scales if provided, otherwise create new - if (!(0, _Scale.isValidScale)(xScale)) { - //innerRange functions produce range (i.e. [5,20]) and map function normalizes to 0 (i.e. [0,15]) - var xRange = (0, _Margin.innerRangeX)(innerChartWidth, spacing).map(function (v) { - return v - (spacing.left || 0); - }); - xScale = (0, _Scale.initScale)(xScaleType).domain(xDomain).range(xRange); - } - if (!(0, _Scale.isValidScale)(yScale)) { - var yRange = (0, _Margin.innerRangeY)(innerChartHeight, spacing).map(function (v) { - return v - (spacing.top || 0); - }); - yScale = (0, _Scale.initScale)(yScaleType).domain(yDomain).range(yRange); - } + if (arguments.length === 3) { + value = arguments[2]; + } else { + while (k < len && !(k in t)) { + k++; + } - // todo - ticks, nice and getDomain should be an axis prop instead, and axis should have getDomain + if (k >= len) { + throw new TypeError('Reduce of empty array with no initial value'); + } - // set `nice` option to round scale domains to nicer numbers - // const kTickCount = tickCount ? tickCount[k] : 10; - // if(nice && nice[k] && _.isFunction(kScale.nice)) kScale.nice(kTickCount); + value = t[k++]; + } + for (; k < len; k++) { + if (k in t) { + value = callback(value, t[k], k, t); + } + } + return value; + }, + /** + * Computes the multiplier necessary to make x >= 1, + * effectively eliminating miscalculations caused by + * finite precision. + */ + multiplier: function (x) { + var parts = x.toString().split('.'); - // extend scale domain to include custom `ticks` if passed - // - // if(ticks[k]) { - // const dataType = dataTypeFromScaleType(scaleType[k]); - // const tickDomain = domainFromData(ticks[k], _.identity, dataType); - // kScale.domain(combineDomains([kScale.domain(), tickDomain]), dataType); - // } + return parts.length < 2 ? 1 : Math.pow(10, parts[1].length); + }, + /** + * Given a variable number of arguments, returns the maximum + * multiplier that must be used to normalize an operation involving + * all of them. + */ + correctionFactor: function () { + var args = Array.prototype.slice.call(arguments); - // reverse scale domain if `invertScale` is passed - // if(invertScale[k]) kScale.domain(kScale.domain().reverse()); + return args.reduce(function(accum, next) { + var mn = _.multiplier(next); + return accum > mn ? accum : mn; + }, 1); + }, + /** + * Implementation of toFixed() that treats floats more like decimals + * + * Fixes binary rounding issues (eg. (0.615).toFixed(2) === '0.61') that present + * problems for accounting- and finance-related software. + */ + toFixed: function(value, maxDecimals, roundingFunction, optionals) { + var splitValue = value.toString().split('.'), + minDecimals = maxDecimals - (optionals || 0), + boundedPrecision, + optionalsRegExp, + power, + output; - return { xScale: xScale, yScale: yScale }; - }, _temp), _possibleConstructorReturn(_this, _ret); - } + // Use the smallest precision value possible to avoid errors from floating point representation + if (splitValue.length === 2) { + boundedPrecision = Math.min(Math.max(splitValue[1].length, minDecimals), maxDecimals); + } else { + boundedPrecision = minDecimals; + } - // todo better way for HOC's to pass statics through? + power = Math.pow(10, boundedPrecision); + // Multiply up by precision, round accurately, then divide and use native toFixed(): + output = (roundingFunction(value + 'e+' + boundedPrecision) / power).toFixed(boundedPrecision); - _createClass(_class, [{ - key: '_resolveScaleType', - value: function _resolveScaleType(props, Component) { - var xScaleType = props.xScaleType, - yScaleType = props.yScaleType; + if (optionals > maxDecimals - boundedPrecision) { + optionalsRegExp = new RegExp('\\.?0{1,' + (optionals - (maxDecimals - boundedPrecision)) + '}$'); + output = output.replace(optionalsRegExp, ''); + } + return output; + } + }; - var isDone = function isDone() { - return areValidScaleTypes([xScaleType, yScaleType]); - }; + // avaliable options + numeral.options = options; - // short-circuit if both scale types provided - if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + // avaliable formats + numeral.formats = formats; - // if Component provides a custom static getScaleType method - // use it to determine remaining scale types - if (_lodash2.default.isFunction(Component.getScaleType)) { - var componentScaleTypes = omitNullUndefined(Component.getScaleType(props)); + // avaliable formats + numeral.locales = locales; - var _$assign = _lodash2.default.assign(componentScaleTypes, omitNullUndefined({ xScaleType: xScaleType, yScaleType: yScaleType })); + // This function sets the current locale. If + // no arguments are passed in, it will simply return the current global + // locale key. + numeral.locale = function(key) { + if (key) { + options.currentLocale = key.toLowerCase(); + } - xScaleType = _$assign.xScaleType; - yScaleType = _$assign.yScaleType; + return options.currentLocale; + }; - if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + // This function provides access to the loaded locale data. If + // no arguments are passed in, it will simply return the current + // global locale object. + numeral.localeData = function(key) { + if (!key) { + return locales[options.currentLocale]; } - // if component has domain props, - // infer the data type, & use that to get scale type - if (!isValidScaleType(xScaleType) && (0, _Data.isValidDomain)(props.xDomain)) { - xScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Scale.inferDataTypeFromDomain)(props.xDomain)); - } - if (!isValidScaleType(yScaleType) && (0, _Data.isValidDomain)(props.yDomain)) { - yScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Scale.inferDataTypeFromDomain)(props.yDomain)); + key = key.toLowerCase(); + + if (!locales[key]) { + throw new Error('Unknown locale : ' + key); } - if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; - // if Component has data or datasets props, - // infer the data type, & use that to get scale type - if (_lodash2.default.isArray(props.data) || _lodash2.default.isArray(props.datasets)) { - var datasets = _lodash2.default.isArray(props.datasets) ? props.datasets : [props.data]; + return locales[key]; + }; - if (!isValidScaleType(xScaleType)) { - xScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Data.inferDatasetsType)(datasets, (0, _Data.makeAccessor2)(props.x))); - } - if (!isValidScaleType(yScaleType)) { - yScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Data.inferDatasetsType)(datasets, (0, _Data.makeAccessor2)(props.y))); - } - if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + numeral.reset = function() { + for (var property in defaults) { + options[property] = defaults[property]; } + }; - // if Component has children, - // recurse through descendants to resolve their scale types the same way - if (_react2.default.Children.count(props.children)) { - var childrenScaleTypes = mapOverChildren(props.children, this._resolveScaleType.bind(this)); + numeral.zeroFormat = function(format) { + options.zeroFormat = typeof(format) === 'string' ? format : null; + }; - if (!isValidScaleType(xScaleType)) { - var childXScaleTypes = _lodash2.default.compact(_lodash2.default.uniq(childrenScaleTypes.map(function (childScaleTypes) { - return childScaleTypes.xScaleType; - }))); - if (!childXScaleTypes.length === 1) console.warn("Multiple children with different X scale types found - defaulting to 'ordinal'"); - xScaleType = childXScaleTypes.length === 1 ? childXScaleTypes[0] : "ordinal"; - } - if (!isValidScaleType(yScaleType)) { - var childYScaleTypes = _lodash2.default.compact(_lodash2.default.uniq(childrenScaleTypes.map(function (childScaleTypes) { - return childScaleTypes.yScaleType; - }))); - if (!childYScaleTypes.length === 1) console.warn("Multiple children with different Y scale types found - defaulting to 'ordinal'"); - yScaleType = childYScaleTypes.length === 1 ? childYScaleTypes[0] : "ordinal"; - } - } + numeral.nullFormat = function (format) { + options.nullFormat = typeof(format) === 'string' ? format : null; + }; - if (!isDone()) console.warn('resolveXYScales was unable to resolve both scale types. xScaleType: ' + xScaleType + ', yScaleType: ' + yScaleType); + numeral.defaultFormat = function(format) { + options.defaultFormat = typeof(format) === 'string' ? format : '0.0'; + }; - return { xScaleType: xScaleType, yScaleType: yScaleType }; - } - }, { - key: '_resolveDomain', - value: function _resolveDomain(props, Component, xScaleType, yScaleType) { - var xDomain = props.xDomain, - yDomain = props.yDomain; + numeral.register = function(type, name, format) { + name = name.toLowerCase(); - var xDataType = (0, _Scale.dataTypeFromScaleType)(xScaleType); - var yDataType = (0, _Scale.dataTypeFromScaleType)(yScaleType); + if (this[type + 's'][name]) { + throw new TypeError(name + ' ' + type + ' already registered.'); + } - var isXDone = function isXDone() { - return (0, _Data.isValidDomain)(xDomain, xDataType); - }; - var isYDone = function isYDone() { - return (0, _Data.isValidDomain)(yDomain, yDataType); - }; - var isDone = function isDone() { - return isXDone() && isYDone(); - }; + this[type + 's'][name] = format; - // short-circuit if all domains provided - if (isDone()) return { xDomain: xDomain, yDomain: yDomain }; + return format; + }; - // if Component provides a custom static getScaleType method - // use it to determine remaining scale types - if (_lodash2.default.isFunction(Component.getDomain)) { - var _Component$getDomain = Component.getDomain(_extends({}, props, { xScaleType: xScaleType, yScaleType: yScaleType })), - componentXDomain = _Component$getDomain.xDomain, - componentYDomain = _Component$getDomain.yDomain; - if (!isXDone() && componentXDomain && !(0, _Data.isValidDomain)(componentXDomain, xDataType)) console.warn('Component.getDomain returned an invalid domain for data type \'' + xDataType + '\': ' + componentXDomain + ' - ignoring'); - if (!isXDone() && (0, _Data.isValidDomain)(componentXDomain, xDataType)) xDomain = componentXDomain; + numeral.validate = function(val, culture) { + var _decimalSep, + _thousandSep, + _currSymbol, + _valArray, + _abbrObj, + _thousandRegEx, + localeData, + temp; - if (!isYDone() && componentYDomain && !(0, _Data.isValidDomain)(componentYDomain, yDataType)) console.warn('Component.getDomain returned an invalid domain for data type \'' + yDataType + '\': ' + componentYDomain + ' - ignoring'); - if (!isYDone() && (0, _Data.isValidDomain)(componentYDomain, yDataType)) yDomain = componentYDomain; + //coerce val to string + if (typeof val !== 'string') { + val += ''; - if (isDone()) return { xDomain: xDomain, yDomain: yDomain }; + if (console.warn) { + console.warn('Numeral.js: Value is not string. It has been co-erced to: ', val); + } } - // if Component has data or datasets props, - // use the default domainFromDatasets function to determine a domain from them - if (_lodash2.default.isArray(props.data) || _lodash2.default.isArray(props.datasets)) { - var datasets = _lodash2.default.isArray(props.datasets) ? props.datasets : [props.data]; - if (!isXDone()) { - xDomain = (0, _Data.domainFromDatasets)(datasets, (0, _Data.makeAccessor2)(props.x), xDataType); - } - if (!isYDone()) { - yDomain = (0, _Data.domainFromDatasets)(datasets, (0, _Data.makeAccessor2)(props.y), yDataType); - } - if (isDone()) return { xDomain: xDomain, yDomain: yDomain }; + //trim whitespaces from either sides + val = val.trim(); + + //if val is just digits return true + if (!!val.match(/^\d+$/)) { + return true; } - // if Component has children, - // recurse through descendants to resolve their domains the same way, - // and combine them into a single domain, if there are multiple - if (_react2.default.Children.count(props.children)) { - var childrenDomains = mapOverChildren(props.children, this._resolveDomain.bind(this), xScaleType, yScaleType); + //if val is empty return false + if (val === '') { + return false; + } - if (!isXDone()) { - var childXDomains = _lodash2.default.compact(childrenDomains.map(function (childDomains) { - return childDomains.xDomain; - })); - xDomain = (0, _Data.combineDomains)(childXDomains, xDataType); - } - if (!isYDone()) { - var childYDomains = _lodash2.default.compact(childrenDomains.map(function (childDomains) { - return childDomains.yDomain; - })); - yDomain = (0, _Data.combineDomains)(childYDomains, yDataType); - } + //get the decimal and thousands separator from numeral.localeData + try { + //check if the culture is understood by numeral. if not, default it to current locale + localeData = numeral.localeData(culture); + } catch (e) { + localeData = numeral.localeData(numeral.locale()); } - if (!isDone()) console.warn('resolveXYScales was unable to resolve both domains. xDomain: ' + xDomain + ', yDomain: ' + yDomain); + //setup the delimiters and currency symbol based on culture/locale + _currSymbol = localeData.currency.symbol; + _abbrObj = localeData.abbreviations; + _decimalSep = localeData.delimiters.decimal; + if (localeData.delimiters.thousands === '.') { + _thousandSep = '\\.'; + } else { + _thousandSep = localeData.delimiters.thousands; + } - return { xDomain: xDomain, yDomain: yDomain }; - } - }, { - key: '_resolveTickDomain', - value: function _resolveTickDomain(props, Component, _ref3) { - var xScaleType = _ref3.xScaleType, - yScaleType = _ref3.yScaleType, - xDomain = _ref3.xDomain, - yDomain = _ref3.yDomain, - xScale = _ref3.xScale, - yScale = _ref3.yScale; + // validating currency symbol + temp = val.match(/^[^\d]+/); + if (temp !== null) { + val = val.substr(1); + if (temp[0] !== _currSymbol) { + return false; + } + } - // todo resolve directly from ticks/tickCount props? - if (_lodash2.default.isFunction(Component.getTickDomain)) { - var componentTickDomains = Component.getTickDomain(_extends({ xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }, props)); - return omitNullUndefined(componentTickDomains); + //validating abbreviation symbol + temp = val.match(/[^\d]+$/); + if (temp !== null) { + val = val.slice(0, -1); + if (temp[0] !== _abbrObj.thousand && temp[0] !== _abbrObj.million && temp[0] !== _abbrObj.billion && temp[0] !== _abbrObj.trillion) { + return false; + } } - if (_react2.default.Children.count(props.children)) { - var childrenTickDomains = mapOverChildren(props.children, this._resolveTickDomain.bind(this), { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }); + _thousandRegEx = new RegExp(_thousandSep + '{2}'); - var childrenXTickDomains = _lodash2.default.compact(childrenTickDomains.map(function (childTickDomains) { - return childTickDomains.xTickDomain; - })); - var xTickDomain = childrenXTickDomains.length ? (0, _Data.combineDomains)(childrenXTickDomains, (0, _Scale.dataTypeFromScaleType)(xScaleType)) : undefined; + if (!val.match(/[^\d.,]/g)) { + _valArray = val.split(_decimalSep); + if (_valArray.length > 2) { + return false; + } else { + if (_valArray.length < 2) { + return ( !! _valArray[0].match(/^\d+.*\d$/) && !_valArray[0].match(_thousandRegEx)); + } else { + if (_valArray[0].length === 1) { + return ( !! _valArray[0].match(/^\d+$/) && !_valArray[0].match(_thousandRegEx) && !! _valArray[1].match(/^\d+$/)); + } else { + return ( !! _valArray[0].match(/^\d+.*\d$/) && !_valArray[0].match(_thousandRegEx) && !! _valArray[1].match(/^\d+$/)); + } + } + } + } - var childrenYTickDomains = _lodash2.default.compact(childrenTickDomains.map(function (childTickDomains) { - return childTickDomains.yTickDomain; - })); - var yTickDomain = childrenYTickDomains.length ? (0, _Data.combineDomains)(childrenYTickDomains, (0, _Scale.dataTypeFromScaleType)(yScaleType)) : undefined; + return false; + }; - return omitNullUndefined({ xTickDomain: xTickDomain, yTickDomain: yTickDomain }); - } - return {}; - } - }, { - key: '_resolveMargin', - value: function _resolveMargin(props, Component, _ref4) { - var xScaleType = _ref4.xScaleType, - yScaleType = _ref4.yScaleType, - xDomain = _ref4.xDomain, - yDomain = _ref4.yDomain, - xScale = _ref4.xScale, - yScale = _ref4.yScale; - var marginTop = props.marginTop, - marginBottom = props.marginBottom, - marginLeft = props.marginLeft, - marginRight = props.marginRight; + /************************************ + Numeral Prototype + ************************************/ + numeral.fn = Numeral.prototype = { + clone: function() { + return numeral(this); + }, + format: function(inputString, roundingFunction) { + var value = this._value, + format = inputString || options.defaultFormat, + kind, + output, + formatFunction; - var isDone = function isDone() { - return _lodash2.default.every([marginTop, marginBottom, marginLeft, marginRight], _lodash2.default.isNumber); - }; + // make sure we have a roundingFunction + roundingFunction = roundingFunction || Math.round; - // short-circuit if all margins provided - if (isDone()) return { marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight }; + // format based on value + if (value === 0 && options.zeroFormat !== null) { + output = options.zeroFormat; + } else if (value === null && options.nullFormat !== null) { + output = options.nullFormat; + } else { + for (kind in formats) { + if (format.match(formats[kind].regexps.format)) { + formatFunction = formats[kind].format; - // if Component provides a custom static getMargin method - // use it to determine remaining domains - if (_lodash2.default.isFunction(Component.getMargin)) { - var componentMargin = omitNullUndefined(Component.getMargin(_extends({}, props, { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }))); + break; + } + } - var _$assign2 = _lodash2.default.assign(componentMargin, omitNullUndefined({ marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight })); + formatFunction = formatFunction || numeral._.numberToFormat; - marginTop = _$assign2.marginTop; - marginBottom = _$assign2.marginBottom; - marginLeft = _$assign2.marginLeft; - marginRight = _$assign2.marginRight; + output = formatFunction(value, format, roundingFunction); + } - if (isDone()) return { marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight }; - } + return output; + }, + value: function() { + return this._value; + }, + input: function() { + return this._input; + }, + set: function(value) { + this._value = Number(value); - // if Component has children, - // recurse through descendants to resolve their margins the same way, - // and combine them into a single margin, if there are multiple - if (_react2.default.Children.count(props.children)) { - var childrenMargins = mapOverChildren(props.children, this._resolveMargin.bind(this), { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }); + return this; + }, + add: function(value) { + var corrFactor = _.correctionFactor.call(null, this._value, value); - // console.log('combining child margins', childMargins); - var childrenMargin = (0, _Data.combineBorderObjects)(childrenMargins.map(function (childMargins) { - return { top: childMargins.marginTop, bottom: childMargins.marginBottom, left: childMargins.marginLeft, right: childMargins.marginRight }; - })); + function cback(accum, curr, currI, O) { + return accum + Math.round(corrFactor * curr); + } - marginTop = _lodash2.default.isUndefined(marginTop) ? childrenMargin.top : marginTop; - marginBottom = _lodash2.default.isUndefined(marginBottom) ? childrenMargin.bottom : marginBottom; - marginLeft = _lodash2.default.isUndefined(marginLeft) ? childrenMargin.left : marginLeft; - marginRight = _lodash2.default.isUndefined(marginRight) ? childrenMargin.right : marginRight; - } + this._value = _.reduce([this._value, value], cback, 0) / corrFactor; - return { marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight }; - } - }, { - key: '_resolveSpacing', - value: function _resolveSpacing(props, Component, _ref5) { - var xScaleType = _ref5.xScaleType, - yScaleType = _ref5.yScaleType, - xDomain = _ref5.xDomain, - yDomain = _ref5.yDomain, - xScale = _ref5.xScale, - yScale = _ref5.yScale; - var spacingTop = props.spacingTop, - spacingBottom = props.spacingBottom, - spacingLeft = props.spacingLeft, - spacingRight = props.spacingRight; + return this; + }, + subtract: function(value) { + var corrFactor = _.correctionFactor.call(null, this._value, value); + function cback(accum, curr, currI, O) { + return accum - Math.round(corrFactor * curr); + } - var isDone = function isDone() { - return _lodash2.default.every([spacingTop, spacingBottom, spacingLeft, spacingRight], _lodash2.default.isNumber); - }; + this._value = _.reduce([value], cback, Math.round(this._value * corrFactor)) / corrFactor; - // short-circuit if all spacing provided - if (isDone()) return { spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight }; + return this; + }, + multiply: function(value) { + function cback(accum, curr, currI, O) { + var corrFactor = _.correctionFactor(accum, curr); + return Math.round(accum * corrFactor) * Math.round(curr * corrFactor) / Math.round(corrFactor * corrFactor); + } - // if Component provides a custom static getSpacing method - // use it to determine remaining domains - if (_lodash2.default.isFunction(Component.getSpacing)) { - var componentSpacing = omitNullUndefined(Component.getSpacing(_extends({}, props, { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }))); + this._value = _.reduce([this._value, value], cback, 1); - var _$assign3 = _lodash2.default.assign(componentSpacing, omitNullUndefined({ spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight })); + return this; + }, + divide: function(value) { + function cback(accum, curr, currI, O) { + var corrFactor = _.correctionFactor(accum, curr); + return Math.round(accum * corrFactor) / Math.round(curr * corrFactor); + } - spacingTop = _$assign3.spacingTop; - spacingBottom = _$assign3.spacingBottom; - spacingLeft = _$assign3.spacingLeft; - spacingRight = _$assign3.spacingRight; + this._value = _.reduce([this._value, value], cback); - if (isDone()) return { spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight }; + return this; + }, + difference: function(value) { + return Math.abs(numeral(this._value).subtract(value).value()); } + }; - // if Component has children, - // recurse through descendants to resolve their spacings the same way, - // and combine them into a single spacing, if there are multiple - if (_react2.default.Children.count(props.children)) { - var childrenSpacings = mapOverChildren(props.children, this._resolveSpacing.bind(this), { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }); - - var childrenSpacing = (0, _Data.combineBorderObjects)(childrenSpacings.map(function (childSpacing) { - return { top: childSpacing.spacingTop, bottom: childSpacing.spacingBottom, left: childSpacing.spacingLeft, right: childSpacing.spacingRight }; - })); + /************************************ + Default Locale && Format + ************************************/ - spacingTop = _lodash2.default.isUndefined(spacingTop) ? childrenSpacing.top : spacingTop; - spacingBottom = _lodash2.default.isUndefined(spacingBottom) ? childrenSpacing.bottom : spacingBottom; - spacingLeft = _lodash2.default.isUndefined(spacingLeft) ? childrenSpacing.left : spacingLeft; - spacingRight = _lodash2.default.isUndefined(spacingRight) ? childrenSpacing.right : spacingRight; + numeral.register('locale', 'en', { + delimiters: { + thousands: ',', + decimal: '.' + }, + abbreviations: { + thousand: 'k', + million: 'm', + billion: 'b', + trillion: 't' + }, + ordinal: function(number) { + var b = number % 10; + return (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + }, + currency: { + symbol: '$' } + }); - if (isDone()) return { spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight }; - } - }, { - key: 'render', - value: function render() { - var props = this.props; + + +(function() { + numeral.register('format', 'bps', { + regexps: { + format: /(BPS)/, + unformat: /(BPS)/ + }, + format: function(value, format, roundingFunction) { + var space = numeral._.includes(format, ' BPS') ? ' ' : '', + output; + + value = value * 10000; + + // check for space before BPS + format = format.replace(/\s?BPS/, ''); + + output = numeral._.numberToFormat(value, format, roundingFunction); + + if (numeral._.includes(output, ')')) { + output = output.split(''); + + output.splice(-1, 0, space + 'BPS'); + + output = output.join(''); + } else { + output = output + space + 'BPS'; + } + + return output; + }, + unformat: function(string) { + return +(numeral._.stringToNumber(string) * 0.0001).toFixed(15); + } + }); +})(); + + +(function() { + var decimal = { + base: 1000, + suffixes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] + }, + binary = { + base: 1024, + suffixes: ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'] + }; + + var allSuffixes = decimal.suffixes.concat(binary.suffixes.filter(function (item) { + return decimal.suffixes.indexOf(item) < 0; + })); + var unformatRegex = allSuffixes.join('|'); + // Allow support for BPS (http://www.investopedia.com/terms/b/basispoint.asp) + unformatRegex = '(' + unformatRegex.replace('B', 'B(?!PS)') + ')'; + + numeral.register('format', 'bytes', { + regexps: { + format: /([0\s]i?b)/, + unformat: new RegExp(unformatRegex) + }, + format: function(value, format, roundingFunction) { + var output, + bytes = numeral._.includes(format, 'ib') ? binary : decimal, + suffix = numeral._.includes(format, ' b') || numeral._.includes(format, ' ib') ? ' ' : '', + power, + min, + max; + + // check for space before + format = format.replace(/\s?i?b/, ''); + + for (power = 0; power <= bytes.suffixes.length; power++) { + min = Math.pow(bytes.base, power); + max = Math.pow(bytes.base, power + 1); + + if (value === null || value === 0 || value >= min && value < max) { + suffix += bytes.suffixes[power]; + + if (min > 0) { + value = value / min; + } + + break; + } + } + + output = numeral._.numberToFormat(value, format, roundingFunction); + + return output + suffix; + }, + unformat: function(string) { + var value = numeral._.stringToNumber(string), + power, + bytesMultiplier; + + if (value) { + for (power = decimal.suffixes.length - 1; power >= 0; power--) { + if (numeral._.includes(string, decimal.suffixes[power])) { + bytesMultiplier = Math.pow(decimal.base, power); + + break; + } + + if (numeral._.includes(string, binary.suffixes[power])) { + bytesMultiplier = Math.pow(binary.base, power); + + break; + } + } + + value *= (bytesMultiplier || 1); + } + + return value; + } + }); +})(); + + +(function() { + numeral.register('format', 'currency', { + regexps: { + format: /(\$)/ + }, + format: function(value, format, roundingFunction) { + var locale = numeral.locales[numeral.options.currentLocale], + symbols = { + before: format.match(/^([\+|\-|\(|\s|\$]*)/)[0], + after: format.match(/([\+|\-|\)|\s|\$]*)$/)[0] + }, + output, + symbol, + i; + + // strip format of spaces and $ + format = format.replace(/\s?\$\s?/, ''); + + // format the number + output = numeral._.numberToFormat(value, format, roundingFunction); + + // update the before and after based on value + if (value >= 0) { + symbols.before = symbols.before.replace(/[\-\(]/, ''); + symbols.after = symbols.after.replace(/[\-\)]/, ''); + } else if (value < 0 && (!numeral._.includes(symbols.before, '-') && !numeral._.includes(symbols.before, '('))) { + symbols.before = '-' + symbols.before; + } + + // loop through each before symbol + for (i = 0; i < symbols.before.length; i++) { + symbol = symbols.before[i]; + + switch (symbol) { + case '$': + output = numeral._.insert(output, locale.currency.symbol, i); + break; + case ' ': + output = numeral._.insert(output, ' ', i + locale.currency.symbol.length - 1); + break; + } + } + + // loop through each after symbol + for (i = symbols.after.length - 1; i >= 0; i--) { + symbol = symbols.after[i]; + + switch (symbol) { + case '$': + output = i === symbols.after.length - 1 ? output + locale.currency.symbol : numeral._.insert(output, locale.currency.symbol, -(symbols.after.length - (1 + i))); + break; + case ' ': + output = i === symbols.after.length - 1 ? output + ' ' : numeral._.insert(output, ' ', -(symbols.after.length - (1 + i) + locale.currency.symbol.length - 1)); + break; + } + } + + + return output; + } + }); +})(); + + +(function() { + numeral.register('format', 'exponential', { + regexps: { + format: /(e\+|e-)/, + unformat: /(e\+|e-)/ + }, + format: function(value, format, roundingFunction) { + var output, + exponential = typeof value === 'number' && !numeral._.isNaN(value) ? value.toExponential() : '0e+0', + parts = exponential.split('e'); + + format = format.replace(/e[\+|\-]{1}0/, ''); + + output = numeral._.numberToFormat(Number(parts[0]), format, roundingFunction); + + return output + 'e' + parts[1]; + }, + unformat: function(string) { + var parts = numeral._.includes(string, 'e+') ? string.split('e+') : string.split('e-'), + value = Number(parts[0]), + power = Number(parts[1]); + + power = numeral._.includes(string, 'e-') ? power *= -1 : power; + + function cback(accum, curr, currI, O) { + var corrFactor = numeral._.correctionFactor(accum, curr), + num = (accum * corrFactor) * (curr * corrFactor) / (corrFactor * corrFactor); + return num; + } + + return numeral._.reduce([value, Math.pow(10, power)], cback, 1); + } + }); +})(); + + +(function() { + numeral.register('format', 'ordinal', { + regexps: { + format: /(o)/ + }, + format: function(value, format, roundingFunction) { + var locale = numeral.locales[numeral.options.currentLocale], + output, + ordinal = numeral._.includes(format, ' o') ? ' ' : ''; + + // check for space before + format = format.replace(/\s?o/, ''); + + ordinal += locale.ordinal(value); + + output = numeral._.numberToFormat(value, format, roundingFunction); + + return output + ordinal; + } + }); +})(); + + +(function() { + numeral.register('format', 'percentage', { + regexps: { + format: /(%)/, + unformat: /(%)/ + }, + format: function(value, format, roundingFunction) { + var space = numeral._.includes(format, ' %') ? ' ' : '', + output; + + if (numeral.options.scalePercentBy100) { + value = value * 100; + } + + // check for space before % + format = format.replace(/\s?\%/, ''); + + output = numeral._.numberToFormat(value, format, roundingFunction); + + if (numeral._.includes(output, ')')) { + output = output.split(''); + + output.splice(-1, 0, space + '%'); + + output = output.join(''); + } else { + output = output + space + '%'; + } + + return output; + }, + unformat: function(string) { + var number = numeral._.stringToNumber(string); + if (numeral.options.scalePercentBy100) { + return number * 0.01; + } + return number; + } + }); +})(); + + +(function() { + numeral.register('format', 'time', { + regexps: { + format: /(:)/, + unformat: /(:)/ + }, + format: function(value, format, roundingFunction) { + var hours = Math.floor(value / 60 / 60), + minutes = Math.floor((value - (hours * 60 * 60)) / 60), + seconds = Math.round(value - (hours * 60 * 60) - (minutes * 60)); + + return hours + ':' + (minutes < 10 ? '0' + minutes : minutes) + ':' + (seconds < 10 ? '0' + seconds : seconds); + }, + unformat: function(string) { + var timeArray = string.split(':'), + seconds = 0; + + // turn hours and minutes into seconds and add them all up + if (timeArray.length === 3) { + // hours + seconds = seconds + (Number(timeArray[0]) * 60 * 60); + // minutes + seconds = seconds + (Number(timeArray[1]) * 60); + // seconds + seconds = seconds + Number(timeArray[2]); + } else if (timeArray.length === 2) { + // minutes + seconds = seconds + (Number(timeArray[0]) * 60); + // seconds + seconds = seconds + Number(timeArray[1]); + } + return Number(seconds); + } + }); +})(); + +return numeral; +})); + + +/***/ }), +/* 469 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (immutable) */ __webpack_exports__["c"] = left; +/* harmony export (immutable) */ __webpack_exports__["d"] = right; +/* harmony export (immutable) */ __webpack_exports__["b"] = justify; +/* harmony export (immutable) */ __webpack_exports__["a"] = center; +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_d3_array__ = __webpack_require__(27); + + +function targetDepth(d) { + return d.target.depth; +} + +function left(node) { + return node.depth; +} + +function right(node, n) { + return n - 1 - node.height; +} + +function justify(node, n) { + return node.sourceLinks.length ? node.depth : n - 1; +} + +function center(node) { + return node.targetLinks.length ? node.depth + : node.sourceLinks.length ? Object(__WEBPACK_IMPORTED_MODULE_0_d3_array__["o" /* min */])(node.sourceLinks, targetDepth) - 1 + : 0; +} + + +/***/ }), +/* 470 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +exports.default = resolveXYScales; + +var _lodash = __webpack_require__(6); + +var _lodash2 = _interopRequireDefault(_lodash); + +var _d = __webpack_require__(36); + +var _react = __webpack_require__(2); + +var _react2 = _interopRequireDefault(_react); + +var _invariant = __webpack_require__(22); + +var _invariant2 = _interopRequireDefault(_invariant); + +var _Data = __webpack_require__(28); + +var _Scale = __webpack_require__(24); + +var _Margin = __webpack_require__(171); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +/** + * `resolveXYScales` is a higher-order-component. + * + * @param {Component} Component - The React Component (class) which should be wrapped by this HOC + * @returns {Component} - A Component which auto-resolves XY scales from given props +*/ + +var errs = { + getDomain: function getDomain(C) { + return 'Components enhanced by resolveXYScales must have a static getDomain method, ' + componentName(C) + ' does not have one'; + } +}; +function componentName(Component) { + return Component.displayName || "Component wrapped by resolveXYScales"; +} + +function isValidScaleType(scaleType) { + // todo: check against whitelist? + return _lodash2.default.isString(scaleType); +} +function areValidScales(scales) { + return _lodash2.default.every(scales, _Scale.isValidScale); +} +function areValidScaleTypes(scaleTypes) { + return _lodash2.default.every(scaleTypes, isValidScaleType); +} + +function mapOverChildren(children, iteratee) { + for (var _len = arguments.length, iterateeArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + iterateeArgs[_key - 2] = arguments[_key]; + } + + // loop over all children (react elements) and call iteratee (a function) on each one + // iteratee is called with parameters (child.props, child.type, ...iterateeArgs) + if (!_lodash2.default.isFunction(iteratee)) throw new Error('mapOverChildren iteratee must be a function'); + + return _lodash2.default.compact(_react2.default.Children.map(children, function (child) { + if (!child || !_react2.default.isValidElement(child)) return null; + return iteratee.apply(undefined, [child.props, child.type].concat(iterateeArgs)); + })); +} +function omitNullUndefined(obj) { + return _lodash2.default.omitBy(obj, function (v) { + return _lodash2.default.isUndefined(v) || _lodash2.default.isNull(v); + }); +} + +// not currently being used but potentially has some learnings +// function resolveXYPropsOnComponentOrChildren(propKeys, props, reducers = {}, validators = {}, result = {}) { +// const isDone = (o) => (_.every(propKeys, k => _.isObject(o[k]) && _.every(['x', 'y'], xy => _.has(o[k][xy])))); +// result = _.pick({...props, ...result}, propKeys); + +// let resolved = {}; +// _.forEach(propKeys, propKey => { +// _.forEach(['x', 'y'], k => { +// const isValid = validators[propKey] || (() => true); +// if(_.isObject(props[propKey]) && _.has(props[propKey], k) && isValid(props[propKey][k])) { +// if(!_.has(result, propKey)) result[propKey] = {}; +// result[propKey][k] = props[propKey][k]; +// } +// }); +// }); + +// if(isDone(result)) return result; + +// if(React.Children.count(props.children)) { +// let childProps = mapOverChildren(props.children, resolveXYPropsOnComponentOrChildren, propKeys, 'props', result); +// React.Children.forEach(props.children, child => { +// if(!child) return; +// childProps.push(resolveXYPropsOnComponentOrChildren(propKeys, child.props, result)); +// }); +// let childDomains = []; +// React.Children.forEach(props.children, child => { +// childDomains = childDomains.concat(this._resolveDomain(child.props, child.type, scaleType)); +// }); + +// console.log('combining domains', childDomains); +// const childDomain = _.fromPairs(['x', 'y'].map(k => { +// console.log(_.compact(_.map(childDomains, k)), scaleType[k]); +// const kDomain = combineDomains(_.compact(_.map(childDomains, k)), dataTypeFromScaleType(scaleType[k])); +// console.log(kDomain); +// return [k, kDomain]; +// })); +// console.log('combined domains', childDomain); + +// domain = _.assign(childDomain, domain); +// return domain; +// } + +// propKeys.forEach(k => { +// result[propKeys] = props +// }) +// } + + +function resolveXYScales(ComposedComponent) { + var _class, _temp2; + + return _temp2 = _class = function (_React$Component) { + _inherits(_class, _React$Component); + + function _class() { + var _ref; + + var _temp, _this, _ret; + + _classCallCheck(this, _class); + + for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + + return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = _class.__proto__ || Object.getPrototypeOf(_class)).call.apply(_ref, [this].concat(args))), _this), _this._makeScales = function (_ref2) { + var width = _ref2.width, + height = _ref2.height, + xScaleType = _ref2.xScaleType, + yScaleType = _ref2.yScaleType, + xDomain = _ref2.xDomain, + yDomain = _ref2.yDomain, + xScale = _ref2.xScale, + yScale = _ref2.yScale, + marginTop = _ref2.marginTop, + marginBottom = _ref2.marginBottom, + marginLeft = _ref2.marginLeft, + marginRight = _ref2.marginRight, + spacingTop = _ref2.spacingTop, + spacingBottom = _ref2.spacingBottom, + spacingLeft = _ref2.spacingLeft, + spacingRight = _ref2.spacingRight; + + var spacing = { top: spacingTop, bottom: spacingBottom, left: spacingLeft, right: spacingRight }; + var margin = { top: marginTop, bottom: marginBottom, left: marginLeft, right: marginRight }; + var innerChartWidth = (0, _Margin.innerWidth)(width, margin); + var innerChartHeight = (0, _Margin.innerHeight)(height, margin); + + // use existing scales if provided, otherwise create new + if (!(0, _Scale.isValidScale)(xScale)) { + //innerRange functions produce range (i.e. [5,20]) and map function normalizes to 0 (i.e. [0,15]) + var xRange = (0, _Margin.innerRangeX)(innerChartWidth, spacing).map(function (v) { + return v - (spacing.left || 0); + }); + xScale = (0, _Scale.initScale)(xScaleType).domain(xDomain).range(xRange); + } + if (!(0, _Scale.isValidScale)(yScale)) { + var yRange = (0, _Margin.innerRangeY)(innerChartHeight, spacing).map(function (v) { + return v - (spacing.top || 0); + }); + yScale = (0, _Scale.initScale)(yScaleType).domain(yDomain).range(yRange); + } + + // todo - ticks, nice and getDomain should be an axis prop instead, and axis should have getDomain + + // set `nice` option to round scale domains to nicer numbers + // const kTickCount = tickCount ? tickCount[k] : 10; + // if(nice && nice[k] && _.isFunction(kScale.nice)) kScale.nice(kTickCount); + + // extend scale domain to include custom `ticks` if passed + // + // if(ticks[k]) { + // const dataType = dataTypeFromScaleType(scaleType[k]); + // const tickDomain = domainFromData(ticks[k], _.identity, dataType); + // kScale.domain(combineDomains([kScale.domain(), tickDomain]), dataType); + // } + + // reverse scale domain if `invertScale` is passed + // if(invertScale[k]) kScale.domain(kScale.domain().reverse()); + + return { xScale: xScale, yScale: yScale }; + }, _temp), _possibleConstructorReturn(_this, _ret); + } + + // todo better way for HOC's to pass statics through? + + + _createClass(_class, [{ + key: '_resolveScaleType', + value: function _resolveScaleType(props, Component) { + var xScaleType = props.xScaleType, + yScaleType = props.yScaleType; + + + var isDone = function isDone() { + return areValidScaleTypes([xScaleType, yScaleType]); + }; + + // short-circuit if both scale types provided + if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + + // if Component provides a custom static getScaleType method + // use it to determine remaining scale types + if (_lodash2.default.isFunction(Component.getScaleType)) { + var componentScaleTypes = omitNullUndefined(Component.getScaleType(props)); + + var _$assign = _lodash2.default.assign(componentScaleTypes, omitNullUndefined({ xScaleType: xScaleType, yScaleType: yScaleType })); + + xScaleType = _$assign.xScaleType; + yScaleType = _$assign.yScaleType; + + if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + } + + // if component has domain props, + // infer the data type, & use that to get scale type + if (!isValidScaleType(xScaleType) && (0, _Data.isValidDomain)(props.xDomain)) { + xScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Scale.inferDataTypeFromDomain)(props.xDomain)); + } + if (!isValidScaleType(yScaleType) && (0, _Data.isValidDomain)(props.yDomain)) { + yScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Scale.inferDataTypeFromDomain)(props.yDomain)); + } + if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + + // if Component has data or datasets props, + // infer the data type, & use that to get scale type + if (_lodash2.default.isArray(props.data) || _lodash2.default.isArray(props.datasets)) { + var datasets = _lodash2.default.isArray(props.datasets) ? props.datasets : [props.data]; + + if (!isValidScaleType(xScaleType)) { + xScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Data.inferDatasetsType)(datasets, (0, _Data.makeAccessor2)(props.x))); + } + if (!isValidScaleType(yScaleType)) { + yScaleType = (0, _Scale.scaleTypeFromDataType)((0, _Data.inferDatasetsType)(datasets, (0, _Data.makeAccessor2)(props.y))); + } + if (isDone()) return { xScaleType: xScaleType, yScaleType: yScaleType }; + } + + // if Component has children, + // recurse through descendants to resolve their scale types the same way + if (_react2.default.Children.count(props.children)) { + var childrenScaleTypes = mapOverChildren(props.children, this._resolveScaleType.bind(this)); + + if (!isValidScaleType(xScaleType)) { + var childXScaleTypes = _lodash2.default.compact(_lodash2.default.uniq(childrenScaleTypes.map(function (childScaleTypes) { + return childScaleTypes.xScaleType; + }))); + if (!childXScaleTypes.length === 1) console.warn("Multiple children with different X scale types found - defaulting to 'ordinal'"); + xScaleType = childXScaleTypes.length === 1 ? childXScaleTypes[0] : "ordinal"; + } + if (!isValidScaleType(yScaleType)) { + var childYScaleTypes = _lodash2.default.compact(_lodash2.default.uniq(childrenScaleTypes.map(function (childScaleTypes) { + return childScaleTypes.yScaleType; + }))); + if (!childYScaleTypes.length === 1) console.warn("Multiple children with different Y scale types found - defaulting to 'ordinal'"); + yScaleType = childYScaleTypes.length === 1 ? childYScaleTypes[0] : "ordinal"; + } + } + + if (!isDone()) console.warn('resolveXYScales was unable to resolve both scale types. xScaleType: ' + xScaleType + ', yScaleType: ' + yScaleType); + + return { xScaleType: xScaleType, yScaleType: yScaleType }; + } + }, { + key: '_resolveDomain', + value: function _resolveDomain(props, Component, xScaleType, yScaleType) { + var xDomain = props.xDomain, + yDomain = props.yDomain; + + var xDataType = (0, _Scale.dataTypeFromScaleType)(xScaleType); + var yDataType = (0, _Scale.dataTypeFromScaleType)(yScaleType); + + var isXDone = function isXDone() { + return (0, _Data.isValidDomain)(xDomain, xDataType); + }; + var isYDone = function isYDone() { + return (0, _Data.isValidDomain)(yDomain, yDataType); + }; + var isDone = function isDone() { + return isXDone() && isYDone(); + }; + + // short-circuit if all domains provided + if (isDone()) return { xDomain: xDomain, yDomain: yDomain }; + + // if Component provides a custom static getScaleType method + // use it to determine remaining scale types + if (_lodash2.default.isFunction(Component.getDomain)) { + var _Component$getDomain = Component.getDomain(_extends({}, props, { xScaleType: xScaleType, yScaleType: yScaleType })), + componentXDomain = _Component$getDomain.xDomain, + componentYDomain = _Component$getDomain.yDomain; + + if (!isXDone() && componentXDomain && !(0, _Data.isValidDomain)(componentXDomain, xDataType)) console.warn('Component.getDomain returned an invalid domain for data type \'' + xDataType + '\': ' + componentXDomain + ' - ignoring'); + if (!isXDone() && (0, _Data.isValidDomain)(componentXDomain, xDataType)) xDomain = componentXDomain; + + if (!isYDone() && componentYDomain && !(0, _Data.isValidDomain)(componentYDomain, yDataType)) console.warn('Component.getDomain returned an invalid domain for data type \'' + yDataType + '\': ' + componentYDomain + ' - ignoring'); + if (!isYDone() && (0, _Data.isValidDomain)(componentYDomain, yDataType)) yDomain = componentYDomain; + + if (isDone()) return { xDomain: xDomain, yDomain: yDomain }; + } + + // if Component has data or datasets props, + // use the default domainFromDatasets function to determine a domain from them + if (_lodash2.default.isArray(props.data) || _lodash2.default.isArray(props.datasets)) { + var datasets = _lodash2.default.isArray(props.datasets) ? props.datasets : [props.data]; + if (!isXDone()) { + xDomain = (0, _Data.domainFromDatasets)(datasets, (0, _Data.makeAccessor2)(props.x), xDataType); + } + if (!isYDone()) { + yDomain = (0, _Data.domainFromDatasets)(datasets, (0, _Data.makeAccessor2)(props.y), yDataType); + } + if (isDone()) return { xDomain: xDomain, yDomain: yDomain }; + } + + // if Component has children, + // recurse through descendants to resolve their domains the same way, + // and combine them into a single domain, if there are multiple + if (_react2.default.Children.count(props.children)) { + var childrenDomains = mapOverChildren(props.children, this._resolveDomain.bind(this), xScaleType, yScaleType); + + if (!isXDone()) { + var childXDomains = _lodash2.default.compact(childrenDomains.map(function (childDomains) { + return childDomains.xDomain; + })); + xDomain = (0, _Data.combineDomains)(childXDomains, xDataType); + } + if (!isYDone()) { + var childYDomains = _lodash2.default.compact(childrenDomains.map(function (childDomains) { + return childDomains.yDomain; + })); + yDomain = (0, _Data.combineDomains)(childYDomains, yDataType); + } + } + + if (!isDone()) console.warn('resolveXYScales was unable to resolve both domains. xDomain: ' + xDomain + ', yDomain: ' + yDomain); + + return { xDomain: xDomain, yDomain: yDomain }; + } + }, { + key: '_resolveTickDomain', + value: function _resolveTickDomain(props, Component, _ref3) { + var xScaleType = _ref3.xScaleType, + yScaleType = _ref3.yScaleType, + xDomain = _ref3.xDomain, + yDomain = _ref3.yDomain, + xScale = _ref3.xScale, + yScale = _ref3.yScale; + + // todo resolve directly from ticks/tickCount props? + if (_lodash2.default.isFunction(Component.getTickDomain)) { + var componentTickDomains = Component.getTickDomain(_extends({ xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }, props)); + return omitNullUndefined(componentTickDomains); + } + + if (_react2.default.Children.count(props.children)) { + var childrenTickDomains = mapOverChildren(props.children, this._resolveTickDomain.bind(this), { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }); + + var childrenXTickDomains = _lodash2.default.compact(childrenTickDomains.map(function (childTickDomains) { + return childTickDomains.xTickDomain; + })); + var xTickDomain = childrenXTickDomains.length ? (0, _Data.combineDomains)(childrenXTickDomains, (0, _Scale.dataTypeFromScaleType)(xScaleType)) : undefined; + + var childrenYTickDomains = _lodash2.default.compact(childrenTickDomains.map(function (childTickDomains) { + return childTickDomains.yTickDomain; + })); + var yTickDomain = childrenYTickDomains.length ? (0, _Data.combineDomains)(childrenYTickDomains, (0, _Scale.dataTypeFromScaleType)(yScaleType)) : undefined; + + return omitNullUndefined({ xTickDomain: xTickDomain, yTickDomain: yTickDomain }); + } + + return {}; + } + }, { + key: '_resolveMargin', + value: function _resolveMargin(props, Component, _ref4) { + var xScaleType = _ref4.xScaleType, + yScaleType = _ref4.yScaleType, + xDomain = _ref4.xDomain, + yDomain = _ref4.yDomain, + xScale = _ref4.xScale, + yScale = _ref4.yScale; + var marginTop = props.marginTop, + marginBottom = props.marginBottom, + marginLeft = props.marginLeft, + marginRight = props.marginRight; + + + var isDone = function isDone() { + return _lodash2.default.every([marginTop, marginBottom, marginLeft, marginRight], _lodash2.default.isNumber); + }; + + // short-circuit if all margins provided + if (isDone()) return { marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight }; + + // if Component provides a custom static getMargin method + // use it to determine remaining domains + if (_lodash2.default.isFunction(Component.getMargin)) { + var componentMargin = omitNullUndefined(Component.getMargin(_extends({}, props, { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }))); + + var _$assign2 = _lodash2.default.assign(componentMargin, omitNullUndefined({ marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight })); + + marginTop = _$assign2.marginTop; + marginBottom = _$assign2.marginBottom; + marginLeft = _$assign2.marginLeft; + marginRight = _$assign2.marginRight; + + if (isDone()) return { marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight }; + } + + // if Component has children, + // recurse through descendants to resolve their margins the same way, + // and combine them into a single margin, if there are multiple + if (_react2.default.Children.count(props.children)) { + var childrenMargins = mapOverChildren(props.children, this._resolveMargin.bind(this), { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }); + + // console.log('combining child margins', childMargins); + var childrenMargin = (0, _Data.combineBorderObjects)(childrenMargins.map(function (childMargins) { + return { top: childMargins.marginTop, bottom: childMargins.marginBottom, left: childMargins.marginLeft, right: childMargins.marginRight }; + })); + + marginTop = _lodash2.default.isUndefined(marginTop) ? childrenMargin.top : marginTop; + marginBottom = _lodash2.default.isUndefined(marginBottom) ? childrenMargin.bottom : marginBottom; + marginLeft = _lodash2.default.isUndefined(marginLeft) ? childrenMargin.left : marginLeft; + marginRight = _lodash2.default.isUndefined(marginRight) ? childrenMargin.right : marginRight; + } + + return { marginTop: marginTop, marginBottom: marginBottom, marginLeft: marginLeft, marginRight: marginRight }; + } + }, { + key: '_resolveSpacing', + value: function _resolveSpacing(props, Component, _ref5) { + var xScaleType = _ref5.xScaleType, + yScaleType = _ref5.yScaleType, + xDomain = _ref5.xDomain, + yDomain = _ref5.yDomain, + xScale = _ref5.xScale, + yScale = _ref5.yScale; + var spacingTop = props.spacingTop, + spacingBottom = props.spacingBottom, + spacingLeft = props.spacingLeft, + spacingRight = props.spacingRight; + + + var isDone = function isDone() { + return _lodash2.default.every([spacingTop, spacingBottom, spacingLeft, spacingRight], _lodash2.default.isNumber); + }; + + // short-circuit if all spacing provided + if (isDone()) return { spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight }; + + // if Component provides a custom static getSpacing method + // use it to determine remaining domains + if (_lodash2.default.isFunction(Component.getSpacing)) { + var componentSpacing = omitNullUndefined(Component.getSpacing(_extends({}, props, { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }))); + + var _$assign3 = _lodash2.default.assign(componentSpacing, omitNullUndefined({ spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight })); + + spacingTop = _$assign3.spacingTop; + spacingBottom = _$assign3.spacingBottom; + spacingLeft = _$assign3.spacingLeft; + spacingRight = _$assign3.spacingRight; + + if (isDone()) return { spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight }; + } + + // if Component has children, + // recurse through descendants to resolve their spacings the same way, + // and combine them into a single spacing, if there are multiple + if (_react2.default.Children.count(props.children)) { + var childrenSpacings = mapOverChildren(props.children, this._resolveSpacing.bind(this), { xScaleType: xScaleType, yScaleType: yScaleType, xDomain: xDomain, yDomain: yDomain, xScale: xScale, yScale: yScale }); + + var childrenSpacing = (0, _Data.combineBorderObjects)(childrenSpacings.map(function (childSpacing) { + return { top: childSpacing.spacingTop, bottom: childSpacing.spacingBottom, left: childSpacing.spacingLeft, right: childSpacing.spacingRight }; + })); + + spacingTop = _lodash2.default.isUndefined(spacingTop) ? childrenSpacing.top : spacingTop; + spacingBottom = _lodash2.default.isUndefined(spacingBottom) ? childrenSpacing.bottom : spacingBottom; + spacingLeft = _lodash2.default.isUndefined(spacingLeft) ? childrenSpacing.left : spacingLeft; + spacingRight = _lodash2.default.isUndefined(spacingRight) ? childrenSpacing.right : spacingRight; + } + + if (isDone()) return { spacingTop: spacingTop, spacingBottom: spacingBottom, spacingLeft: spacingLeft, spacingRight: spacingRight }; + } + }, { + key: 'render', + value: function render() { + var props = this.props; var width = props.width, height = props.height, invertXScale = props.invertXScale, @@ -122548,7 +123586,7 @@ function resolveXYScales(ComposedComponent) { } /***/ }), -/* 470 */ +/* 471 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -122580,13 +123618,13 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _CustomPropTypes = __webpack_require__(30); +var _CustomPropTypes = __webpack_require__(32); var CustomPropTypes = _interopRequireWildcard(_CustomPropTypes); -var _Data = __webpack_require__(29); +var _Data = __webpack_require__(28); -var _xyPropsEqual = __webpack_require__(26); +var _xyPropsEqual = __webpack_require__(29); var _xyPropsEqual2 = _interopRequireDefault(_xyPropsEqual); @@ -122724,7 +123762,7 @@ function pointsToPathStr(points) { } /***/ }), -/* 471 */ +/* 472 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -122756,19 +123794,19 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _CustomPropTypes = __webpack_require__(30); +var _CustomPropTypes = __webpack_require__(32); var CustomPropTypes = _interopRequireWildcard(_CustomPropTypes); var _Scale = __webpack_require__(24); -var _Data = __webpack_require__(29); +var _Data = __webpack_require__(28); -var _xyPropsEqual = __webpack_require__(26); +var _xyPropsEqual = __webpack_require__(29); var _xyPropsEqual2 = _interopRequireDefault(_xyPropsEqual); -var _Bar = __webpack_require__(472); +var _Bar = __webpack_require__(473); var _Bar2 = _interopRequireDefault(_Bar); @@ -123018,7 +124056,7 @@ RangeBarChart.defaultProps = { exports.default = RangeBarChart; /***/ }), -/* 472 */ +/* 473 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123038,7 +124076,7 @@ var _invariant = __webpack_require__(22); var _invariant2 = _interopRequireDefault(_invariant); -var _isUndefined = __webpack_require__(1394); +var _isUndefined = __webpack_require__(1395); var _isUndefined2 = _interopRequireDefault(_isUndefined); @@ -123197,7 +124235,7 @@ Bar.defaultProps = { exports.default = Bar; /***/ }), -/* 473 */ +/* 474 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123227,15 +124265,15 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _CustomPropTypes = __webpack_require__(30); +var _CustomPropTypes = __webpack_require__(32); var CustomPropTypes = _interopRequireWildcard(_CustomPropTypes); var _Scale = __webpack_require__(24); -var _Data = __webpack_require__(29); +var _Data = __webpack_require__(28); -var _xyPropsEqual = __webpack_require__(26); +var _xyPropsEqual = __webpack_require__(29); var _xyPropsEqual2 = _interopRequireDefault(_xyPropsEqual); @@ -123429,7 +124467,7 @@ AreaBarChart.defaultProps = { exports.default = AreaBarChart; /***/ }), -/* 474 */ +/* 475 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123510,7 +124548,7 @@ XLine.defaultProps = { exports.default = XLine; /***/ }), -/* 475 */ +/* 476 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123591,7 +124629,7 @@ YLine.defaultProps = { exports.default = YLine; /***/ }), -/* 476 */ +/* 477 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123661,7 +124699,7 @@ function getAxisChildProps(props) { } /***/ }), -/* 477 */ +/* 478 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123791,7 +124829,7 @@ XTicks.defaultProps = { exports.default = XTicks; /***/ }), -/* 478 */ +/* 479 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123817,7 +124855,7 @@ var _propTypes2 = _interopRequireDefault(_propTypes); var _Scale = __webpack_require__(24); -var _XLine = __webpack_require__(474); +var _XLine = __webpack_require__(475); var _XLine2 = _interopRequireDefault(_XLine); @@ -123902,7 +124940,7 @@ XGrid.defaultProps = { exports.default = XGrid; /***/ }), -/* 479 */ +/* 480 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -123930,15 +124968,15 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _MeasuredValueLabel = __webpack_require__(480); +var _MeasuredValueLabel = __webpack_require__(481); var _MeasuredValueLabel2 = _interopRequireDefault(_MeasuredValueLabel); var _Scale = __webpack_require__(24); -var _Label = __webpack_require__(482); +var _Label = __webpack_require__(483); -var _xyPropsEqual = __webpack_require__(26); +var _xyPropsEqual = __webpack_require__(29); var _xyPropsEqual2 = _interopRequireDefault(_xyPropsEqual); @@ -124216,7 +125254,7 @@ var XAxisLabelDebugRect = function (_React$Component2) { exports.default = XAxisLabels; /***/ }), -/* 480 */ +/* 481 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -124313,7 +125351,7 @@ MeasuredValueLabel.defaultProps = { exports.default = MeasuredValueLabel; /***/ }), -/* 481 */ +/* 482 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -124452,7 +125490,7 @@ module.exports = utilities; /***/ }), -/* 482 */ +/* 483 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -124482,7 +125520,7 @@ var _moment = __webpack_require__(1); var _moment2 = _interopRequireDefault(_moment); -var _numeral = __webpack_require__(1412); +var _numeral = __webpack_require__(468); var _numeral2 = _interopRequireDefault(_numeral); @@ -124604,7 +125642,7 @@ function getLabelsYOverhang(scale, labels) { } /***/ }), -/* 483 */ +/* 484 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -124682,7 +125720,7 @@ return af; /***/ }), -/* 484 */ +/* 485 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -124829,7 +125867,7 @@ return ar; /***/ }), -/* 485 */ +/* 486 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -124893,7 +125931,7 @@ return arDz; /***/ }), -/* 486 */ +/* 487 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -124957,7 +125995,7 @@ return arKw; /***/ }), -/* 487 */ +/* 488 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125088,7 +126126,7 @@ return arLy; /***/ }), -/* 488 */ +/* 489 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125153,7 +126191,7 @@ return arMa; /***/ }), -/* 489 */ +/* 490 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125263,7 +126301,7 @@ return arSa; /***/ }), -/* 490 */ +/* 491 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125327,7 +126365,7 @@ return arTn; /***/ }), -/* 491 */ +/* 492 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125437,7 +126475,7 @@ return az; /***/ }), -/* 492 */ +/* 493 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125576,7 +126614,7 @@ return be; /***/ }), -/* 493 */ +/* 494 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125671,7 +126709,7 @@ return bg; /***/ }), -/* 494 */ +/* 495 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125735,7 +126773,7 @@ return bm; /***/ }), -/* 495 */ +/* 496 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125859,7 +126897,7 @@ return bn; /***/ }), -/* 496 */ +/* 497 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -125983,7 +127021,7 @@ return bo; /***/ }), -/* 497 */ +/* 498 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126096,7 +127134,7 @@ return br; /***/ }), -/* 498 */ +/* 499 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126244,7 +127282,7 @@ return bs; /***/ }), -/* 499 */ +/* 500 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126337,7 +127375,7 @@ return ca; /***/ }), -/* 500 */ +/* 501 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126514,7 +127552,7 @@ return cs; /***/ }), -/* 501 */ +/* 502 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126582,7 +127620,7 @@ return cv; /***/ }), -/* 502 */ +/* 503 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126668,7 +127706,7 @@ return cy; /***/ }), -/* 503 */ +/* 504 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126733,7 +127771,7 @@ return da; /***/ }), -/* 504 */ +/* 505 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126816,7 +127854,7 @@ return de; /***/ }), -/* 505 */ +/* 506 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126900,7 +127938,7 @@ return deAt; /***/ }), -/* 506 */ +/* 507 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -126983,7 +128021,7 @@ return deCh; /***/ }), -/* 507 */ +/* 508 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127088,7 +128126,7 @@ return dv; /***/ }), -/* 508 */ +/* 509 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127193,7 +128231,7 @@ return el; /***/ }), -/* 509 */ +/* 510 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127265,7 +128303,7 @@ return enAu; /***/ }), -/* 510 */ +/* 511 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127333,7 +128371,7 @@ return enCa; /***/ }), -/* 511 */ +/* 512 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127405,7 +128443,7 @@ return enGb; /***/ }), -/* 512 */ +/* 513 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127477,7 +128515,7 @@ return enIe; /***/ }), -/* 513 */ +/* 514 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127549,7 +128587,7 @@ return enNz; /***/ }), -/* 514 */ +/* 515 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127627,7 +128665,7 @@ return eo; /***/ }), -/* 515 */ +/* 516 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127724,7 +128762,7 @@ return es; /***/ }), -/* 516 */ +/* 517 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127820,7 +128858,7 @@ return esDo; /***/ }), -/* 517 */ +/* 518 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127908,7 +128946,7 @@ return esUs; /***/ }), -/* 518 */ +/* 519 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -127993,7 +129031,7 @@ return et; /***/ }), -/* 519 */ +/* 520 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128064,7 +129102,7 @@ return eu; /***/ }), -/* 520 */ +/* 521 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128176,7 +129214,7 @@ return fa; /***/ }), -/* 521 */ +/* 522 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128288,7 +129326,7 @@ return fi; /***/ }), -/* 522 */ +/* 523 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128353,7 +129391,7 @@ return fo; /***/ }), -/* 523 */ +/* 524 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128441,7 +129479,7 @@ return fr; /***/ }), -/* 524 */ +/* 525 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128520,7 +129558,7 @@ return frCa; /***/ }), -/* 525 */ +/* 526 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128603,7 +129641,7 @@ return frCh; /***/ }), -/* 526 */ +/* 527 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128683,7 +129721,7 @@ return fy; /***/ }), -/* 527 */ +/* 528 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128764,7 +129802,7 @@ return gd; /***/ }), -/* 528 */ +/* 529 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128846,7 +129884,7 @@ return gl; /***/ }), -/* 529 */ +/* 530 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -128973,7 +130011,7 @@ return gomLatn; /***/ }), -/* 530 */ +/* 531 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129102,7 +130140,7 @@ return gu; /***/ }), -/* 531 */ +/* 532 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129206,7 +130244,7 @@ return he; /***/ }), -/* 532 */ +/* 533 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129335,7 +130373,7 @@ return hi; /***/ }), -/* 533 */ +/* 534 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129485,7 +130523,7 @@ return hr; /***/ }), -/* 534 */ +/* 535 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129599,7 +130637,7 @@ return hu; /***/ }), -/* 535 */ +/* 536 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129699,7 +130737,7 @@ return hyAm; /***/ }), -/* 536 */ +/* 537 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129787,7 +130825,7 @@ return id; /***/ }), -/* 537 */ +/* 538 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129919,7 +130957,7 @@ return is; /***/ }), -/* 538 */ +/* 539 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -129994,7 +131032,7 @@ return it; /***/ }), -/* 539 */ +/* 540 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130079,7 +131117,7 @@ return ja; /***/ }), -/* 540 */ +/* 541 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130167,7 +131205,7 @@ return jv; /***/ }), -/* 541 */ +/* 542 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130261,7 +131299,7 @@ return ka; /***/ }), -/* 542 */ +/* 543 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130353,7 +131391,7 @@ return kk; /***/ }), -/* 543 */ +/* 544 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130416,7 +131454,7 @@ return km; /***/ }), -/* 544 */ +/* 545 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130547,7 +131585,7 @@ return kn; /***/ }), -/* 545 */ +/* 546 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130635,7 +131673,7 @@ return ko; /***/ }), -/* 546 */ +/* 547 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130728,7 +131766,7 @@ return ky; /***/ }), -/* 547 */ +/* 548 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130870,7 +131908,7 @@ return lb; /***/ }), -/* 548 */ +/* 549 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -130945,7 +131983,7 @@ return lo; /***/ }), -/* 549 */ +/* 550 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131067,7 +132105,7 @@ return lt; /***/ }), -/* 550 */ +/* 551 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131169,7 +132207,7 @@ return lv; /***/ }), -/* 551 */ +/* 552 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131285,7 +132323,7 @@ return me; /***/ }), -/* 552 */ +/* 553 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131354,7 +132392,7 @@ return mi; /***/ }), -/* 553 */ +/* 554 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131449,7 +132487,7 @@ return mk; /***/ }), -/* 554 */ +/* 555 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131535,7 +132573,7 @@ return ml; /***/ }), -/* 555 */ +/* 556 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131699,7 +132737,7 @@ return mr; /***/ }), -/* 556 */ +/* 557 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131786,7 +132824,7 @@ return ms; /***/ }), -/* 557 */ +/* 558 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131874,7 +132912,7 @@ return msMy; /***/ }), -/* 558 */ +/* 559 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -131975,7 +133013,7 @@ return my; /***/ }), -/* 559 */ +/* 560 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132043,7 +133081,7 @@ return nb; /***/ }), -/* 560 */ +/* 561 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132171,7 +133209,7 @@ return ne; /***/ }), -/* 561 */ +/* 562 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132264,7 +133302,7 @@ return nl; /***/ }), -/* 562 */ +/* 563 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132357,7 +133395,7 @@ return nlBe; /***/ }), -/* 563 */ +/* 564 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132422,7 +133460,7 @@ return nn; /***/ }), -/* 564 */ +/* 565 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132551,7 +133589,7 @@ return paIn; /***/ }), -/* 565 */ +/* 566 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132680,7 +133718,7 @@ return pl; /***/ }), -/* 566 */ +/* 567 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132750,7 +133788,7 @@ return pt; /***/ }), -/* 567 */ +/* 568 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132817,7 +133855,7 @@ return ptBr; /***/ }), -/* 568 */ +/* 569 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -132897,7 +133935,7 @@ return ro; /***/ }), -/* 569 */ +/* 570 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133085,7 +134123,7 @@ return ru; /***/ }), -/* 570 */ +/* 571 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133188,7 +134226,7 @@ return sd; /***/ }), -/* 571 */ +/* 572 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133254,7 +134292,7 @@ return se; /***/ }), -/* 572 */ +/* 573 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133330,7 +134368,7 @@ return si; /***/ }), -/* 573 */ +/* 574 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133485,7 +134523,7 @@ return sk; /***/ }), -/* 574 */ +/* 575 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133652,7 +134690,7 @@ return sl; /***/ }), -/* 575 */ +/* 576 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133727,7 +134765,7 @@ return sq; /***/ }), -/* 576 */ +/* 577 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133842,7 +134880,7 @@ return sr; /***/ }), -/* 577 */ +/* 578 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -133957,7 +134995,7 @@ return srCyrl; /***/ }), -/* 578 */ +/* 579 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134051,7 +135089,7 @@ return ss; /***/ }), -/* 579 */ +/* 580 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134125,7 +135163,7 @@ return sv; /***/ }), -/* 580 */ +/* 581 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134189,7 +135227,7 @@ return sw; /***/ }), -/* 581 */ +/* 582 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134324,7 +135362,7 @@ return ta; /***/ }), -/* 582 */ +/* 583 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134418,7 +135456,7 @@ return te; /***/ }), -/* 583 */ +/* 584 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134491,7 +135529,7 @@ return tet; /***/ }), -/* 584 */ +/* 585 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134563,7 +135601,7 @@ return th; /***/ }), -/* 585 */ +/* 586 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134630,7 +135668,7 @@ return tlPh; /***/ }), -/* 586 */ +/* 587 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134755,7 +135793,7 @@ return tlh; /***/ }), -/* 587 */ +/* 588 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134850,7 +135888,7 @@ return tr; /***/ }), -/* 588 */ +/* 589 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -134946,7 +135984,7 @@ return tzl; /***/ }), -/* 589 */ +/* 590 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135009,7 +136047,7 @@ return tzm; /***/ }), -/* 590 */ +/* 591 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135072,7 +136110,7 @@ return tzmLatn; /***/ }), -/* 591 */ +/* 592 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135228,7 +136266,7 @@ return uk; /***/ }), -/* 592 */ +/* 593 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135332,7 +136370,7 @@ return ur; /***/ }), -/* 593 */ +/* 594 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135395,7 +136433,7 @@ return uz; /***/ }), -/* 594 */ +/* 595 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135458,7 +136496,7 @@ return uzLatn; /***/ }), -/* 595 */ +/* 596 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135542,7 +136580,7 @@ return vi; /***/ }), -/* 596 */ +/* 597 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135615,7 +136653,7 @@ return xPseudo; /***/ }), -/* 597 */ +/* 598 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135680,7 +136718,7 @@ return yo; /***/ }), -/* 598 */ +/* 599 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135796,7 +136834,7 @@ return zhCn; /***/ }), -/* 599 */ +/* 600 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -135906,7 +136944,7 @@ return zhHk; /***/ }), -/* 600 */ +/* 601 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration @@ -136015,7 +137053,7 @@ return zhTw; /***/ }), -/* 601 */ +/* 602 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -136156,7 +137194,7 @@ XAxisTitle.defaultProps = { exports.default = XAxisTitle; /***/ }), -/* 602 */ +/* 603 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -136285,7 +137323,7 @@ YTicks.defaultProps = { exports.default = YTicks; /***/ }), -/* 603 */ +/* 604 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -136309,7 +137347,7 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _YLine = __webpack_require__(475); +var _YLine = __webpack_require__(476); var _YLine2 = _interopRequireDefault(_YLine); @@ -136396,7 +137434,7 @@ YGrid.defaultProps = { exports.default = YGrid; /***/ }), -/* 604 */ +/* 605 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -136424,15 +137462,15 @@ var _propTypes = __webpack_require__(3); var _propTypes2 = _interopRequireDefault(_propTypes); -var _MeasuredValueLabel = __webpack_require__(480); +var _MeasuredValueLabel = __webpack_require__(481); var _MeasuredValueLabel2 = _interopRequireDefault(_MeasuredValueLabel); var _Scale = __webpack_require__(24); -var _Label = __webpack_require__(482); +var _Label = __webpack_require__(483); -var _xyPropsEqual = __webpack_require__(26); +var _xyPropsEqual = __webpack_require__(29); var _xyPropsEqual2 = _interopRequireDefault(_xyPropsEqual); @@ -136710,7 +137748,7 @@ var YAxisLabelDebugRect = function (_React$Component2) { exports.default = YAxisLabels; /***/ }), -/* 605 */ +/* 606 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -136849,26 +137887,26 @@ YAxisTitle.defaultProps = { exports.default = YAxisTitle; /***/ }), -/* 606 */ +/* 607 */ /***/ (function(module, exports) { module.exports = "const GettersAndAccessorsExample = (props) => {\n // sample data in a few different shapes\n const arrData = [\n [0, 4], [5, 20], [10, 13], [15, 19]\n ];\n const objData = [\n {count: 4, friends: [{id: 'a', age: 24}, {id: 'b', age: 19}]},\n {count: 7, friends: [{id: 'a', age: 28}, {id: 'b', age: 29}]},\n {count: 19, friends: [{id: 'a', age: 22}, {id: 'b', age: 44}]},\n {count: 22, friends: [{id: 'a', age: 41}, {id: 'b', age: 22}]},\n ];\n\n return \n \n \n {/* array getters: line X is d[0] and line Y is d[1] */}\n \n {/* use strings for deep object access */}\n \n {/* or use functions if you prefer */}\n d.count}\n getY={(d) => d.friends[1].age}\n lineStyle={{stroke: 'purple'}}\n />\n \n};\n\n\nReactDOM.render(, mountNode);\n" /***/ }), -/* 607 */ +/* 608 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(608); +module.exports = __webpack_require__(609); /***/ }), -/* 608 */ +/* 609 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -__webpack_require__(609); +__webpack_require__(610); var _react = __webpack_require__(2); @@ -136878,20 +137916,20 @@ var _reactDom = __webpack_require__(4); var _reactDom2 = _interopRequireDefault(_reactDom); -var _App = __webpack_require__(698); +var _App = __webpack_require__(699); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } _reactDom2.default.render(_react2.default.createElement(_App.App, null), document.getElementById('container')); /***/ }), -/* 609 */ +/* 610 */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a