!function(root, factory) { 'object' == typeof exports && 'object' == typeof module ? module.exports = factory(require("react")) : 'function' == typeof define && define.amd ? define([ "react" ], factory) : 'object' == typeof exports ? exports.Victory = factory(require("react")) : root.Victory = factory(root.React); }(window, function(__WEBPACK_EXTERNAL_MODULE_react__) { return function(modules) { var installedModules = {}; function __webpack_require__(moduleId) { if (installedModules[moduleId]) return installedModules[moduleId].exports; var module1 = installedModules[moduleId] = { i: moduleId, l: !1, exports: {} }; return modules[moduleId].call(module1.exports, module1, module1.exports, __webpack_require__), module1.l = !0, module1.exports; } return __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.d = function(exports1, name, getter) { __webpack_require__.o(exports1, name) || Object.defineProperty(exports1, name, { enumerable: !0, get: getter }); }, __webpack_require__.r = function(exports1) { 'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports1, Symbol.toStringTag, { value: 'Module' }), Object.defineProperty(exports1, '__esModule', { value: !0 }); }, __webpack_require__.t = function(value, mode) { if (1 & mode && (value = __webpack_require__(value)), 8 & mode || 4 & mode && 'object' == typeof value && value && value.__esModule) return value; var ns = Object.create(null); if (__webpack_require__.r(ns), Object.defineProperty(ns, 'default', { enumerable: !0, value: value }), 2 & mode && 'string' != typeof value) for(var key in value)__webpack_require__.d(ns, key, (function(key) { return value[key]; }).bind(null, key)); return ns; }, __webpack_require__.n = function(module1) { var getter = module1 && module1.__esModule ? function() { return module1.default; } : function() { return module1; }; return __webpack_require__.d(getter, 'a', getter), getter; }, __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = "./index.js"); }({ "../../../node_modules/d3-array/src/array.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "slice", function() { return slice; }), __webpack_require__.d(__webpack_exports__, "map", function() { return map; }); var array = Array.prototype, slice = array.slice, map = array.map; }, "../../../node_modules/d3-array/src/ascending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; }; }, "../../../node_modules/d3-array/src/bisect.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "bisectRight", function() { return bisectRight; }), __webpack_require__.d(__webpack_exports__, "bisectLeft", function() { return bisectLeft; }); var _ascending__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/ascending.js"), ascendingBisect = Object(__webpack_require__("../../../node_modules/d3-array/src/bisector.js").default)(_ascending__WEBPACK_IMPORTED_MODULE_0__.default), bisectRight = ascendingBisect.right, bisectLeft = ascendingBisect.left; __webpack_exports__.default = bisectRight; }, "../../../node_modules/d3-array/src/bisector.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _ascending__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/ascending.js"); __webpack_exports__.default = function(compare) { var f; return 1 === compare.length && (f = compare, compare = function(d, x) { return Object(_ascending__WEBPACK_IMPORTED_MODULE_0__.default)(f(d), x); }), { left: function(a, x, lo, hi) { for(null == lo && (lo = 0), null == hi && (hi = a.length); lo < hi;){ var mid = lo + hi >>> 1; 0 > compare(a[mid], x) ? lo = mid + 1 : hi = mid; } return lo; }, right: function(a, x, lo, hi) { for(null == lo && (lo = 0), null == hi && (hi = a.length); lo < hi;){ var mid = lo + hi >>> 1; compare(a[mid], x) > 0 ? hi = mid : lo = mid + 1; } return lo; } }; }; }, "../../../node_modules/d3-array/src/constant.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return function() { return x; }; }; }, "../../../node_modules/d3-array/src/cross.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _pairs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/pairs.js"); __webpack_exports__.default = function(values0, values1, reduce) { var i0, i1, i, value0, n0 = values0.length, n1 = values1.length, values = Array(n0 * n1); for(null == reduce && (reduce = _pairs__WEBPACK_IMPORTED_MODULE_0__.pair), i0 = i = 0; i0 < n0; ++i0)for(value0 = values0[i0], i1 = 0; i1 < n1; ++i1, ++i)values[i] = reduce(value0, values1[i1]); return values; }; }, "../../../node_modules/d3-array/src/descending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN; }; }, "../../../node_modules/d3-array/src/deviation.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _variance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/variance.js"); __webpack_exports__.default = function(array, f) { var v = Object(_variance__WEBPACK_IMPORTED_MODULE_0__.default)(array, f); return v ? Math.sqrt(v) : v; }; }, "../../../node_modules/d3-array/src/extent.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(values, valueof) { var value, min, max, n = values.length, i = -1; if (null == valueof) { for(; ++i < n;)if (null != (value = values[i]) && value >= value) for(min = max = value; ++i < n;)null != (value = values[i]) && (min > value && (min = value), max < value && (max = value)); } else for(; ++i < n;)if (null != (value = valueof(values[i], i, values)) && value >= value) for(min = max = value; ++i < n;)null != (value = valueof(values[i], i, values)) && (min > value && (min = value), max < value && (max = value)); return [ min, max ]; }; }, "../../../node_modules/d3-array/src/histogram.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/array.js"), _bisect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-array/src/bisect.js"), _constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-array/src/constant.js"), _extent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-array/src/extent.js"), _identity__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-array/src/identity.js"), _range__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-array/src/range.js"), _ticks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-array/src/ticks.js"), _threshold_sturges__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-array/src/threshold/sturges.js"); __webpack_exports__.default = function() { var value = _identity__WEBPACK_IMPORTED_MODULE_4__.default, domain = _extent__WEBPACK_IMPORTED_MODULE_3__.default, threshold = _threshold_sturges__WEBPACK_IMPORTED_MODULE_7__.default; function histogram(data) { var i, x, n = data.length, values = Array(n); for(i = 0; i < n; ++i)values[i] = value(data[i], i, data); var xz = domain(values), x0 = xz[0], x1 = xz[1], tz = threshold(values, x0, x1); Array.isArray(tz) || (tz = Object(_ticks__WEBPACK_IMPORTED_MODULE_6__.tickStep)(x0, x1, tz), tz = Object(_range__WEBPACK_IMPORTED_MODULE_5__.default)(Math.ceil(x0 / tz) * tz, x1, tz)); for(var m = tz.length; tz[0] <= x0;)tz.shift(), --m; for(; tz[m - 1] > x1;)tz.pop(), --m; var bin, bins = Array(m + 1); for(i = 0; i <= m; ++i)(bin = bins[i] = []).x0 = i > 0 ? tz[i - 1] : x0, bin.x1 = i < m ? tz[i] : x1; for(i = 0; i < n; ++i)x0 <= (x = values[i]) && x <= x1 && bins[Object(_bisect__WEBPACK_IMPORTED_MODULE_1__.default)(tz, x, 0, m)].push(data[i]); return bins; } return histogram.value = function(_) { return arguments.length ? (value = "function" == typeof _ ? _ : Object(_constant__WEBPACK_IMPORTED_MODULE_2__.default)(_), histogram) : value; }, histogram.domain = function(_) { return arguments.length ? (domain = "function" == typeof _ ? _ : Object(_constant__WEBPACK_IMPORTED_MODULE_2__.default)([ _[0], _[1] ]), histogram) : domain; }, histogram.thresholds = function(_) { return arguments.length ? (threshold = "function" == typeof _ ? _ : Array.isArray(_) ? Object(_constant__WEBPACK_IMPORTED_MODULE_2__.default)(_array__WEBPACK_IMPORTED_MODULE_0__.slice.call(_)) : Object(_constant__WEBPACK_IMPORTED_MODULE_2__.default)(_), histogram) : threshold; }, histogram; }; }, "../../../node_modules/d3-array/src/identity.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return x; }; }, "../../../node_modules/d3-array/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _bisect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/bisect.js"); __webpack_require__.d(__webpack_exports__, "bisect", function() { return _bisect__WEBPACK_IMPORTED_MODULE_0__.default; }), __webpack_require__.d(__webpack_exports__, "bisectRight", function() { return _bisect__WEBPACK_IMPORTED_MODULE_0__.bisectRight; }), __webpack_require__.d(__webpack_exports__, "bisectLeft", function() { return _bisect__WEBPACK_IMPORTED_MODULE_0__.bisectLeft; }); var _ascending__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-array/src/ascending.js"); __webpack_require__.d(__webpack_exports__, "ascending", function() { return _ascending__WEBPACK_IMPORTED_MODULE_1__.default; }); var _bisector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-array/src/bisector.js"); __webpack_require__.d(__webpack_exports__, "bisector", function() { return _bisector__WEBPACK_IMPORTED_MODULE_2__.default; }); var _cross__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-array/src/cross.js"); __webpack_require__.d(__webpack_exports__, "cross", function() { return _cross__WEBPACK_IMPORTED_MODULE_3__.default; }); var _descending__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-array/src/descending.js"); __webpack_require__.d(__webpack_exports__, "descending", function() { return _descending__WEBPACK_IMPORTED_MODULE_4__.default; }); var _deviation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-array/src/deviation.js"); __webpack_require__.d(__webpack_exports__, "deviation", function() { return _deviation__WEBPACK_IMPORTED_MODULE_5__.default; }); var _extent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-array/src/extent.js"); __webpack_require__.d(__webpack_exports__, "extent", function() { return _extent__WEBPACK_IMPORTED_MODULE_6__.default; }); var _histogram__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-array/src/histogram.js"); __webpack_require__.d(__webpack_exports__, "histogram", function() { return _histogram__WEBPACK_IMPORTED_MODULE_7__.default; }); var _threshold_freedmanDiaconis__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-array/src/threshold/freedmanDiaconis.js"); __webpack_require__.d(__webpack_exports__, "thresholdFreedmanDiaconis", function() { return _threshold_freedmanDiaconis__WEBPACK_IMPORTED_MODULE_8__.default; }); var _threshold_scott__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-array/src/threshold/scott.js"); __webpack_require__.d(__webpack_exports__, "thresholdScott", function() { return _threshold_scott__WEBPACK_IMPORTED_MODULE_9__.default; }); var _threshold_sturges__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/d3-array/src/threshold/sturges.js"); __webpack_require__.d(__webpack_exports__, "thresholdSturges", function() { return _threshold_sturges__WEBPACK_IMPORTED_MODULE_10__.default; }); var _max__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/d3-array/src/max.js"); __webpack_require__.d(__webpack_exports__, "max", function() { return _max__WEBPACK_IMPORTED_MODULE_11__.default; }); var _mean__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../../node_modules/d3-array/src/mean.js"); __webpack_require__.d(__webpack_exports__, "mean", function() { return _mean__WEBPACK_IMPORTED_MODULE_12__.default; }); var _median__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../../node_modules/d3-array/src/median.js"); __webpack_require__.d(__webpack_exports__, "median", function() { return _median__WEBPACK_IMPORTED_MODULE_13__.default; }); var _merge__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../../node_modules/d3-array/src/merge.js"); __webpack_require__.d(__webpack_exports__, "merge", function() { return _merge__WEBPACK_IMPORTED_MODULE_14__.default; }); var _min__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../../node_modules/d3-array/src/min.js"); __webpack_require__.d(__webpack_exports__, "min", function() { return _min__WEBPACK_IMPORTED_MODULE_15__.default; }); var _pairs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../../node_modules/d3-array/src/pairs.js"); __webpack_require__.d(__webpack_exports__, "pairs", function() { return _pairs__WEBPACK_IMPORTED_MODULE_16__.default; }); var _permute__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../../node_modules/d3-array/src/permute.js"); __webpack_require__.d(__webpack_exports__, "permute", function() { return _permute__WEBPACK_IMPORTED_MODULE_17__.default; }); var _quantile__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../../node_modules/d3-array/src/quantile.js"); __webpack_require__.d(__webpack_exports__, "quantile", function() { return _quantile__WEBPACK_IMPORTED_MODULE_18__.default; }); var _range__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../../node_modules/d3-array/src/range.js"); __webpack_require__.d(__webpack_exports__, "range", function() { return _range__WEBPACK_IMPORTED_MODULE_19__.default; }); var _scan__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../../node_modules/d3-array/src/scan.js"); __webpack_require__.d(__webpack_exports__, "scan", function() { return _scan__WEBPACK_IMPORTED_MODULE_20__.default; }); var _shuffle__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("../../../node_modules/d3-array/src/shuffle.js"); __webpack_require__.d(__webpack_exports__, "shuffle", function() { return _shuffle__WEBPACK_IMPORTED_MODULE_21__.default; }); var _sum__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("../../../node_modules/d3-array/src/sum.js"); __webpack_require__.d(__webpack_exports__, "sum", function() { return _sum__WEBPACK_IMPORTED_MODULE_22__.default; }); var _ticks__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("../../../node_modules/d3-array/src/ticks.js"); __webpack_require__.d(__webpack_exports__, "ticks", function() { return _ticks__WEBPACK_IMPORTED_MODULE_23__.default; }), __webpack_require__.d(__webpack_exports__, "tickIncrement", function() { return _ticks__WEBPACK_IMPORTED_MODULE_23__.tickIncrement; }), __webpack_require__.d(__webpack_exports__, "tickStep", function() { return _ticks__WEBPACK_IMPORTED_MODULE_23__.tickStep; }); var _transpose__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("../../../node_modules/d3-array/src/transpose.js"); __webpack_require__.d(__webpack_exports__, "transpose", function() { return _transpose__WEBPACK_IMPORTED_MODULE_24__.default; }); var _variance__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("../../../node_modules/d3-array/src/variance.js"); __webpack_require__.d(__webpack_exports__, "variance", function() { return _variance__WEBPACK_IMPORTED_MODULE_25__.default; }); var _zip__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("../../../node_modules/d3-array/src/zip.js"); __webpack_require__.d(__webpack_exports__, "zip", function() { return _zip__WEBPACK_IMPORTED_MODULE_26__.default; }); }, "../../../node_modules/d3-array/src/max.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(values, valueof) { var value, max, n = values.length, i = -1; if (null == valueof) { for(; ++i < n;)if (null != (value = values[i]) && value >= value) for(max = value; ++i < n;)null != (value = values[i]) && value > max && (max = value); } else for(; ++i < n;)if (null != (value = valueof(values[i], i, values)) && value >= value) for(max = value; ++i < n;)null != (value = valueof(values[i], i, values)) && value > max && (max = value); return max; }; }, "../../../node_modules/d3-array/src/mean.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _number__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/number.js"); __webpack_exports__.default = function(values, valueof) { var value, n = values.length, m = n, i = -1, sum = 0; if (null == valueof) for(; ++i < n;)isNaN(value = Object(_number__WEBPACK_IMPORTED_MODULE_0__.default)(values[i])) ? --m : sum += value; else for(; ++i < n;)isNaN(value = Object(_number__WEBPACK_IMPORTED_MODULE_0__.default)(valueof(values[i], i, values))) ? --m : sum += value; if (m) return sum / m; }; }, "../../../node_modules/d3-array/src/median.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _ascending__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/ascending.js"), _number__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-array/src/number.js"), _quantile__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-array/src/quantile.js"); __webpack_exports__.default = function(values, valueof) { var value, n = values.length, i = -1, numbers = []; if (null == valueof) for(; ++i < n;)isNaN(value = Object(_number__WEBPACK_IMPORTED_MODULE_1__.default)(values[i])) || numbers.push(value); else for(; ++i < n;)isNaN(value = Object(_number__WEBPACK_IMPORTED_MODULE_1__.default)(valueof(values[i], i, values))) || numbers.push(value); return Object(_quantile__WEBPACK_IMPORTED_MODULE_2__.default)(numbers.sort(_ascending__WEBPACK_IMPORTED_MODULE_0__.default), 0.5); }; }, "../../../node_modules/d3-array/src/merge.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(arrays) { for(var m, merged, array, n = arrays.length, i = -1, j = 0; ++i < n;)j += arrays[i].length; for(merged = Array(j); --n >= 0;)for(m = (array = arrays[n]).length; --m >= 0;)merged[--j] = array[m]; return merged; }; }, "../../../node_modules/d3-array/src/min.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(values, valueof) { var value, min, n = values.length, i = -1; if (null == valueof) { for(; ++i < n;)if (null != (value = values[i]) && value >= value) for(min = value; ++i < n;)null != (value = values[i]) && min > value && (min = value); } else for(; ++i < n;)if (null != (value = valueof(values[i], i, values)) && value >= value) for(min = value; ++i < n;)null != (value = valueof(values[i], i, values)) && min > value && (min = value); return min; }; }, "../../../node_modules/d3-array/src/number.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return null === x ? NaN : +x; }; }, "../../../node_modules/d3-array/src/pairs.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function pair(a, b) { return [ a, b ]; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "pair", function() { return pair; }), __webpack_exports__.default = function(array, f) { null == f && (f = pair); for(var i = 0, n = array.length - 1, p = array[0], pairs = Array(n < 0 ? 0 : n); i < n;)pairs[i] = f(p, p = array[++i]); return pairs; }; }, "../../../node_modules/d3-array/src/permute.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(array, indexes) { for(var i = indexes.length, permutes = Array(i); i--;)permutes[i] = array[indexes[i]]; return permutes; }; }, "../../../node_modules/d3-array/src/quantile.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _number__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/number.js"); __webpack_exports__.default = function(values, p, valueof) { if (null == valueof && (valueof = _number__WEBPACK_IMPORTED_MODULE_0__.default), n = values.length) { if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values); if (p >= 1) return +valueof(values[n - 1], n - 1, values); var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values); return value0 + (+valueof(values[i0 + 1], i0 + 1, values) - value0) * (i - i0); } }; }, "../../../node_modules/d3-array/src/range.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(start, stop, step) { start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step; for(var i = -1, n = 0 | Math.max(0, Math.ceil((stop - start) / step)), range = Array(n); ++i < n;)range[i] = start + i * step; return range; }; }, "../../../node_modules/d3-array/src/scan.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _ascending__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/ascending.js"); __webpack_exports__.default = function(values, compare) { if (n = values.length) { var n, xi, i = 0, j = 0, xj = values[0]; for(null == compare && (compare = _ascending__WEBPACK_IMPORTED_MODULE_0__.default); ++i < n;)(0 > compare(xi = values[i], xj) || 0 !== compare(xj, xj)) && (xj = xi, j = i); if (0 === compare(xj, xj)) return j; } }; }, "../../../node_modules/d3-array/src/shuffle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(array, i0, i1) { for(var t, i, m = (null == i1 ? array.length : i1) - (i0 = null == i0 ? 0 : +i0); m;)i = Math.random() * m-- | 0, t = array[m + i0], array[m + i0] = array[i + i0], array[i + i0] = t; return array; }; }, "../../../node_modules/d3-array/src/sum.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(values, valueof) { var value, n = values.length, i = -1, sum = 0; if (null == valueof) for(; ++i < n;)(value = +values[i]) && (sum += value); else for(; ++i < n;)(value = +valueof(values[i], i, values)) && (sum += value); return sum; }; }, "../../../node_modules/d3-array/src/threshold/freedmanDiaconis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/array.js"), _ascending__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-array/src/ascending.js"), _number__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-array/src/number.js"), _quantile__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-array/src/quantile.js"); __webpack_exports__.default = function(values, min, max) { return values = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(values, _number__WEBPACK_IMPORTED_MODULE_2__.default).sort(_ascending__WEBPACK_IMPORTED_MODULE_1__.default), Math.ceil((max - min) / (2 * (Object(_quantile__WEBPACK_IMPORTED_MODULE_3__.default)(values, 0.75) - Object(_quantile__WEBPACK_IMPORTED_MODULE_3__.default)(values, 0.25)) * Math.pow(values.length, -1 / 3))); }; }, "../../../node_modules/d3-array/src/threshold/scott.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _deviation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/deviation.js"); __webpack_exports__.default = function(values, min, max) { return Math.ceil((max - min) / (3.5 * Object(_deviation__WEBPACK_IMPORTED_MODULE_0__.default)(values) * Math.pow(values.length, -1 / 3))); }; }, "../../../node_modules/d3-array/src/threshold/sturges.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(values) { return Math.ceil(Math.log(values.length) / Math.LN2) + 1; }; }, "../../../node_modules/d3-array/src/ticks.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "tickIncrement", function() { return tickIncrement; }), __webpack_require__.d(__webpack_exports__, "tickStep", function() { return tickStep; }); var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2); function tickIncrement(start, stop, count) { var step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log(step) / Math.LN10), error = step / Math.pow(10, power); return power >= 0 ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1); } function tickStep(start, stop, count) { var step0 = Math.abs(stop - start) / Math.max(0, count), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error = step0 / step1; return error >= e10 ? step1 *= 10 : error >= e5 ? step1 *= 5 : error >= e2 && (step1 *= 2), stop < start ? -step1 : step1; } __webpack_exports__.default = function(start, stop, count) { var reverse, n, ticks, step, i = -1; if (count = +count, (start = +start) == (stop = +stop) && count > 0) return [ start ]; if ((reverse = stop < start) && (n = start, start = stop, stop = n), 0 === (step = tickIncrement(start, stop, count)) || !isFinite(step)) return []; if (step > 0) for(start = Math.ceil(start / step), ticks = Array(n = Math.ceil((stop = Math.floor(stop / step)) - start + 1)); ++i < n;)ticks[i] = (start + i) * step; else for(ticks = Array(n = Math.ceil((start = Math.floor(start * step)) - (stop = Math.ceil(stop * step)) + 1)); ++i < n;)ticks[i] = (start - i) / step; return reverse && ticks.reverse(), ticks; }; }, "../../../node_modules/d3-array/src/transpose.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _min__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/min.js"); function length(d) { return d.length; } __webpack_exports__.default = function(matrix) { if (!(n = matrix.length)) return []; for(var i = -1, m = Object(_min__WEBPACK_IMPORTED_MODULE_0__.default)(matrix, length), transpose = Array(m); ++i < m;)for(var n, j = -1, row = transpose[i] = Array(n); ++j < n;)row[j] = matrix[j][i]; return transpose; }; }, "../../../node_modules/d3-array/src/variance.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _number__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/number.js"); __webpack_exports__.default = function(values, valueof) { var value, delta, n = values.length, m = 0, i = -1, mean = 0, sum = 0; if (null == valueof) for(; ++i < n;)isNaN(value = Object(_number__WEBPACK_IMPORTED_MODULE_0__.default)(values[i])) || (delta = value - mean, mean += delta / ++m, sum += delta * (value - mean)); else for(; ++i < n;)isNaN(value = Object(_number__WEBPACK_IMPORTED_MODULE_0__.default)(valueof(values[i], i, values))) || (delta = value - mean, mean += delta / ++m, sum += delta * (value - mean)); if (m > 1) return sum / (m - 1); }; }, "../../../node_modules/d3-array/src/zip.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _transpose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/transpose.js"); __webpack_exports__.default = function() { return Object(_transpose__WEBPACK_IMPORTED_MODULE_0__.default)(arguments); }; }, "../../../node_modules/d3-collection/src/entries.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(map) { var entries = []; for(var key in map)entries.push({ key: key, value: map[key] }); return entries; }; }, "../../../node_modules/d3-collection/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _nest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-collection/src/nest.js"); __webpack_require__.d(__webpack_exports__, "nest", function() { return _nest__WEBPACK_IMPORTED_MODULE_0__.default; }); var _set__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-collection/src/set.js"); __webpack_require__.d(__webpack_exports__, "set", function() { return _set__WEBPACK_IMPORTED_MODULE_1__.default; }); var _map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-collection/src/map.js"); __webpack_require__.d(__webpack_exports__, "map", function() { return _map__WEBPACK_IMPORTED_MODULE_2__.default; }); var _keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-collection/src/keys.js"); __webpack_require__.d(__webpack_exports__, "keys", function() { return _keys__WEBPACK_IMPORTED_MODULE_3__.default; }); var _values__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-collection/src/values.js"); __webpack_require__.d(__webpack_exports__, "values", function() { return _values__WEBPACK_IMPORTED_MODULE_4__.default; }); var _entries__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-collection/src/entries.js"); __webpack_require__.d(__webpack_exports__, "entries", function() { return _entries__WEBPACK_IMPORTED_MODULE_5__.default; }); }, "../../../node_modules/d3-collection/src/keys.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(map) { var keys = []; for(var key in map)keys.push(key); return keys; }; }, "../../../node_modules/d3-collection/src/map.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "prefix", function() { return prefix; }); var prefix = "$"; function Map1() {} function map(object, f) { var map = new Map1; if (object instanceof Map1) object.each(function(value, key) { map.set(key, value); }); else if (Array.isArray(object)) { var o, i = -1, n = object.length; if (null == f) for(; ++i < n;)map.set(i, object[i]); else for(; ++i < n;)map.set(f(o = object[i], i, object), o); } else if (object) for(var key in object)map.set(key, object[key]); return map; } Map1.prototype = map.prototype = { constructor: Map1, has: function(key) { return prefix + key in this; }, get: function(key) { return this[prefix + key]; }, set: function(key, value) { return this[prefix + key] = value, this; }, remove: function(key) { var property = prefix + key; return property in this && delete this[property]; }, clear: function() { for(var property in this)property[0] === prefix && delete this[property]; }, keys: function() { var keys = []; for(var property in this)property[0] === prefix && keys.push(property.slice(1)); return keys; }, values: function() { var values = []; for(var property in this)property[0] === prefix && values.push(this[property]); return values; }, entries: function() { var entries = []; for(var property in this)property[0] === prefix && entries.push({ key: property.slice(1), value: this[property] }); return entries; }, size: function() { var size = 0; for(var property in this)property[0] === prefix && ++size; return size; }, empty: function() { for(var property in this)if (property[0] === prefix) return !1; return !0; }, each: function(f) { for(var property in this)property[0] === prefix && f(this[property], property.slice(1), this); } }, __webpack_exports__.default = map; }, "../../../node_modules/d3-collection/src/nest.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-collection/src/map.js"); function createObject() { return {}; } function setObject(object, key, value) { object[key] = value; } function createMap() { return Object(_map__WEBPACK_IMPORTED_MODULE_0__.default)(); } function setMap(map, key, value) { map.set(key, value); } __webpack_exports__.default = function() { var sortValues, rollup, nest, keys = [], sortKeys = []; function apply(array, depth, createResult, setResult) { if (depth >= keys.length) return null != sortValues && array.sort(sortValues), null != rollup ? rollup(array) : array; for(var keyValue, value, values, i = -1, n = array.length, key = keys[depth++], valuesByKey = Object(_map__WEBPACK_IMPORTED_MODULE_0__.default)(), result = createResult(); ++i < n;)(values = valuesByKey.get(keyValue = key(value = array[i]) + "")) ? values.push(value) : valuesByKey.set(keyValue, [ value ]); return valuesByKey.each(function(values, key) { setResult(result, key, apply(values, depth, createResult, setResult)); }), result; } return nest = { object: function(array) { return apply(array, 0, createObject, setObject); }, map: function(array) { return apply(array, 0, createMap, setMap); }, entries: function(array) { return function entries(map, depth) { if (++depth > keys.length) return map; var array, sortKey = sortKeys[depth - 1]; return null != rollup && depth >= keys.length ? array = map.entries() : (array = [], map.each(function(v, k) { array.push({ key: k, values: entries(v, depth) }); })), null != sortKey ? array.sort(function(a, b) { return sortKey(a.key, b.key); }) : array; }(apply(array, 0, createMap, setMap), 0); }, key: function(d) { return keys.push(d), nest; }, sortKeys: function(order) { return sortKeys[keys.length - 1] = order, nest; }, sortValues: function(order) { return sortValues = order, nest; }, rollup: function(f) { return rollup = f, nest; } }; }; }, "../../../node_modules/d3-collection/src/set.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-collection/src/map.js"); function Set() {} var proto = _map__WEBPACK_IMPORTED_MODULE_0__.default.prototype; function set(object, f) { var set = new Set; if (object instanceof Set) object.each(function(value) { set.add(value); }); else if (object) { var i = -1, n = object.length; if (null == f) for(; ++i < n;)set.add(object[i]); else for(; ++i < n;)set.add(f(object[i], i, object)); } return set; } Set.prototype = set.prototype = { constructor: Set, has: proto.has, add: function(value) { return value += "", this[_map__WEBPACK_IMPORTED_MODULE_0__.prefix + value] = value, this; }, remove: proto.remove, clear: proto.clear, values: proto.keys, size: proto.size, empty: proto.empty, each: proto.each }, __webpack_exports__.default = set; }, "../../../node_modules/d3-collection/src/values.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(map) { var values = []; for(var key in map)values.push(map[key]); return values; }; }, "../../../node_modules/d3-color/src/color.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "Color", function() { return Color; }), __webpack_require__.d(__webpack_exports__, "darker", function() { return darker; }), __webpack_require__.d(__webpack_exports__, "brighter", function() { return brighter; }), __webpack_require__.d(__webpack_exports__, "default", function() { return color; }), __webpack_require__.d(__webpack_exports__, "rgbConvert", function() { return rgbConvert; }), __webpack_require__.d(__webpack_exports__, "rgb", function() { return rgb; }), __webpack_require__.d(__webpack_exports__, "Rgb", function() { return Rgb; }), __webpack_require__.d(__webpack_exports__, "hslConvert", function() { return hslConvert; }), __webpack_require__.d(__webpack_exports__, "hsl", function() { return hsl; }); var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/define.js"); function Color() {} var darker = 0.7, brighter = 1.4285714285714286, reI = "\\s*([+-]?\\d+)\\s*", reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*", reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*", reHex = /^#([0-9a-f]{3,8})$/, reRgbInteger = RegExp("^rgb\\(" + [ reI, reI, reI ] + "\\)$"), reRgbPercent = RegExp("^rgb\\(" + [ reP, reP, reP ] + "\\)$"), reRgbaInteger = RegExp("^rgba\\(" + [ reI, reI, reI, reN ] + "\\)$"), reRgbaPercent = RegExp("^rgba\\(" + [ reP, reP, reP, reN ] + "\\)$"), reHslPercent = RegExp("^hsl\\(" + [ reN, reP, reP ] + "\\)$"), reHslaPercent = RegExp("^hsla\\(" + [ reN, reP, reP, reN ] + "\\)$"), named = { aliceblue: 0xf0f8ff, antiquewhite: 0xfaebd7, aqua: 0x00ffff, aquamarine: 0x7fffd4, azure: 0xf0ffff, beige: 0xf5f5dc, bisque: 0xffe4c4, black: 0x000000, blanchedalmond: 0xffebcd, blue: 0x0000ff, blueviolet: 0x8a2be2, brown: 0xa52a2a, burlywood: 0xdeb887, cadetblue: 0x5f9ea0, chartreuse: 0x7fff00, chocolate: 0xd2691e, coral: 0xff7f50, cornflowerblue: 0x6495ed, cornsilk: 0xfff8dc, crimson: 0xdc143c, cyan: 0x00ffff, darkblue: 0x00008b, darkcyan: 0x008b8b, darkgoldenrod: 0xb8860b, darkgray: 0xa9a9a9, darkgreen: 0x006400, darkgrey: 0xa9a9a9, darkkhaki: 0xbdb76b, darkmagenta: 0x8b008b, darkolivegreen: 0x556b2f, darkorange: 0xff8c00, darkorchid: 0x9932cc, darkred: 0x8b0000, darksalmon: 0xe9967a, darkseagreen: 0x8fbc8f, darkslateblue: 0x483d8b, darkslategray: 0x2f4f4f, darkslategrey: 0x2f4f4f, darkturquoise: 0x00ced1, darkviolet: 0x9400d3, deeppink: 0xff1493, deepskyblue: 0x00bfff, dimgray: 0x696969, dimgrey: 0x696969, dodgerblue: 0x1e90ff, firebrick: 0xb22222, floralwhite: 0xfffaf0, forestgreen: 0x228b22, fuchsia: 0xff00ff, gainsboro: 0xdcdcdc, ghostwhite: 0xf8f8ff, gold: 0xffd700, goldenrod: 0xdaa520, gray: 0x808080, green: 0x008000, greenyellow: 0xadff2f, grey: 0x808080, honeydew: 0xf0fff0, hotpink: 0xff69b4, indianred: 0xcd5c5c, indigo: 0x4b0082, ivory: 0xfffff0, khaki: 0xf0e68c, lavender: 0xe6e6fa, lavenderblush: 0xfff0f5, lawngreen: 0x7cfc00, lemonchiffon: 0xfffacd, lightblue: 0xadd8e6, lightcoral: 0xf08080, lightcyan: 0xe0ffff, lightgoldenrodyellow: 0xfafad2, lightgray: 0xd3d3d3, lightgreen: 0x90ee90, lightgrey: 0xd3d3d3, lightpink: 0xffb6c1, lightsalmon: 0xffa07a, lightseagreen: 0x20b2aa, lightskyblue: 0x87cefa, lightslategray: 0x778899, lightslategrey: 0x778899, lightsteelblue: 0xb0c4de, lightyellow: 0xffffe0, lime: 0x00ff00, limegreen: 0x32cd32, linen: 0xfaf0e6, magenta: 0xff00ff, maroon: 0x800000, mediumaquamarine: 0x66cdaa, mediumblue: 0x0000cd, mediumorchid: 0xba55d3, mediumpurple: 0x9370db, mediumseagreen: 0x3cb371, mediumslateblue: 0x7b68ee, mediumspringgreen: 0x00fa9a, mediumturquoise: 0x48d1cc, mediumvioletred: 0xc71585, midnightblue: 0x191970, mintcream: 0xf5fffa, mistyrose: 0xffe4e1, moccasin: 0xffe4b5, navajowhite: 0xffdead, navy: 0x000080, oldlace: 0xfdf5e6, olive: 0x808000, olivedrab: 0x6b8e23, orange: 0xffa500, orangered: 0xff4500, orchid: 0xda70d6, palegoldenrod: 0xeee8aa, palegreen: 0x98fb98, paleturquoise: 0xafeeee, palevioletred: 0xdb7093, papayawhip: 0xffefd5, peachpuff: 0xffdab9, peru: 0xcd853f, pink: 0xffc0cb, plum: 0xdda0dd, powderblue: 0xb0e0e6, purple: 0x800080, rebeccapurple: 0x663399, red: 0xff0000, rosybrown: 0xbc8f8f, royalblue: 0x4169e1, saddlebrown: 0x8b4513, salmon: 0xfa8072, sandybrown: 0xf4a460, seagreen: 0x2e8b57, seashell: 0xfff5ee, sienna: 0xa0522d, silver: 0xc0c0c0, skyblue: 0x87ceeb, slateblue: 0x6a5acd, slategray: 0x708090, slategrey: 0x708090, snow: 0xfffafa, springgreen: 0x00ff7f, steelblue: 0x4682b4, tan: 0xd2b48c, teal: 0x008080, thistle: 0xd8bfd8, tomato: 0xff6347, turquoise: 0x40e0d0, violet: 0xee82ee, wheat: 0xf5deb3, white: 0xffffff, whitesmoke: 0xf5f5f5, yellow: 0xffff00, yellowgreen: 0x9acd32 }; function color_formatHex() { return this.rgb().formatHex(); } function color_formatRgb() { return this.rgb().formatRgb(); } function color(format) { var m, l; return format = (format + "").trim().toLowerCase(), (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), 6 === l ? rgbn(m) : 3 === l ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | 0xf0 & m, (0xf & m) << 4 | 0xf & m, 1) : 8 === l ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (0xff & m) / 0xff) : 4 === l ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | 0xf0 & m, ((0xf & m) << 4 | 0xf & m) / 0xff) : null) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) : (m = reRgbPercent.exec(format)) ? new Rgb(255 * m[1] / 100, 255 * m[2] / 100, 255 * m[3] / 100, 1) : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) : (m = reRgbaPercent.exec(format)) ? rgba(255 * m[1] / 100, 255 * m[2] / 100, 255 * m[3] / 100, m[4]) : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) : named.hasOwnProperty(format) ? rgbn(named[format]) : "transparent" === format ? new Rgb(NaN, NaN, NaN, 0) : null; } function rgbn(n) { return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, 0xff & n, 1); } function rgba(r, g, b, a) { return a <= 0 && (r = g = b = NaN), new Rgb(r, g, b, a); } function rgbConvert(o) { return (o instanceof Color || (o = color(o)), o) ? (o = o.rgb(), new Rgb(o.r, o.g, o.b, o.opacity)) : new Rgb; } function rgb(r, g, b, opacity) { return 1 == arguments.length ? rgbConvert(r) : new Rgb(r, g, b, null == opacity ? 1 : opacity); } function Rgb(r, g, b, opacity) { this.r = +r, this.g = +g, this.b = +b, this.opacity = +opacity; } function rgb_formatHex() { return "#" + hex(this.r) + hex(this.g) + hex(this.b); } function rgb_formatRgb() { var a = this.opacity; return (1 === (a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a))) ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (1 === a ? ")" : ", " + a + ")"); } function hex(value) { return ((value = Math.max(0, Math.min(255, Math.round(value) || 0))) < 16 ? "0" : "") + value.toString(16); } function hsla(h, s, l, a) { return a <= 0 ? h = s = l = NaN : l <= 0 || l >= 1 ? h = s = NaN : s <= 0 && (h = NaN), new Hsl(h, s, l, a); } function hslConvert(o) { if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity); if (o instanceof Color || (o = color(o)), !o) return new Hsl; if (o instanceof Hsl) return o; var r = (o = o.rgb()).r / 255, g = o.g / 255, b = o.b / 255, min = Math.min(r, g, b), max = Math.max(r, g, b), h = NaN, s = max - min, l = (max + min) / 2; return s ? (h = r === max ? (g - b) / s + (g < b) * 6 : g === max ? (b - r) / s + 2 : (r - g) / s + 4, s /= l < 0.5 ? max + min : 2 - max - min, h *= 60) : s = l > 0 && l < 1 ? 0 : h, new Hsl(h, s, l, o.opacity); } function hsl(h, s, l, opacity) { return 1 == arguments.length ? hslConvert(h) : new Hsl(h, s, l, null == opacity ? 1 : opacity); } function Hsl(h, s, l, opacity) { this.h = +h, this.s = +s, this.l = +l, this.opacity = +opacity; } function hsl2rgb(h, m1, m2) { return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255; } Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.default)(Color, color, { copy: function(channels) { return Object.assign(new this.constructor, this, channels); }, displayable: function() { return this.rgb().displayable(); }, hex: color_formatHex, formatHex: color_formatHex, formatHsl: function() { return hslConvert(this).formatHsl(); }, formatRgb: color_formatRgb, toString: color_formatRgb }), Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.default)(Rgb, rgb, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, { brighter: function(k) { return k = null == k ? brighter : Math.pow(brighter, k), new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); }, darker: function(k) { return k = null == k ? darker : Math.pow(darker, k), new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); }, rgb: function() { return this; }, displayable: function() { return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1; }, hex: rgb_formatHex, formatHex: rgb_formatHex, formatRgb: rgb_formatRgb, toString: rgb_formatRgb })), Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.default)(Hsl, hsl, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, { brighter: function(k) { return k = null == k ? brighter : Math.pow(brighter, k), new Hsl(this.h, this.s, this.l * k, this.opacity); }, darker: function(k) { return k = null == k ? darker : Math.pow(darker, k), new Hsl(this.h, this.s, this.l * k, this.opacity); }, rgb: function() { var h = this.h % 360 + (this.h < 0) * 360, s = isNaN(h) || isNaN(this.s) ? 0 : this.s, l = this.l, m2 = l + (l < 0.5 ? l : 1 - l) * s, m1 = 2 * l - m2; return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity); }, displayable: function() { return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1; }, formatHsl: function() { var a = this.opacity; return (1 === (a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a))) ? "hsl(" : "hsla(") + (this.h || 0) + ", " + 100 * (this.s || 0) + "%, " + 100 * (this.l || 0) + "%" + (1 === a ? ")" : ", " + a + ")"); } })); }, "../../../node_modules/d3-color/src/cubehelix.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return cubehelix; }), __webpack_require__.d(__webpack_exports__, "Cubehelix", function() { return Cubehelix; }); var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/define.js"), _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-color/src/color.js"), _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-color/src/math.js"), BC_DA = -1.78277 * 0.29227 - 0.1347134789; function cubehelix(h, s, l, opacity) { return 1 == arguments.length ? function(o) { if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity); o instanceof _color_js__WEBPACK_IMPORTED_MODULE_1__.Rgb || (o = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.rgbConvert)(o)); var r = o.r / 255, g = o.g / 255, b = o.b / 255, l = (BC_DA * b + -1.7884503806 * r - 3.5172982438 * g) / (BC_DA + -1.7884503806 - 3.5172982438), bl = b - l, k = -((1.97294 * (g - l) - -0.29227 * bl) / 0.90649), s = Math.sqrt(k * k + bl * bl) / (1.97294 * l * (1 - l)), h = s ? Math.atan2(k, bl) * _math_js__WEBPACK_IMPORTED_MODULE_2__.rad2deg - 120 : NaN; return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity); }(h) : new Cubehelix(h, s, l, null == opacity ? 1 : opacity); } function Cubehelix(h, s, l, opacity) { this.h = +h, this.s = +s, this.l = +l, this.opacity = +opacity; } Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.default)(Cubehelix, cubehelix, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_1__.Color, { brighter: function(k) { return k = null == k ? _color_js__WEBPACK_IMPORTED_MODULE_1__.brighter : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_1__.brighter, k), new Cubehelix(this.h, this.s, this.l * k, this.opacity); }, darker: function(k) { return k = null == k ? _color_js__WEBPACK_IMPORTED_MODULE_1__.darker : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_1__.darker, k), new Cubehelix(this.h, this.s, this.l * k, this.opacity); }, rgb: function() { var h = isNaN(this.h) ? 0 : (this.h + 120) * _math_js__WEBPACK_IMPORTED_MODULE_2__.deg2rad, l = +this.l, a = isNaN(this.s) ? 0 : this.s * l * (1 - l), cosh = Math.cos(h), sinh = Math.sin(h); return new _color_js__WEBPACK_IMPORTED_MODULE_1__.Rgb(255 * (l + a * (-0.14861 * cosh + 1.78277 * sinh)), 255 * (l + a * (-0.29227 * cosh + -0.90649 * sinh)), 255 * (l + a * (1.97294 * cosh)), this.opacity); } })); }, "../../../node_modules/d3-color/src/define.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function extend(parent, definition) { var prototype = Object.create(parent.prototype); for(var key in definition)prototype[key] = definition[key]; return prototype; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "extend", function() { return extend; }), __webpack_exports__.default = function(constructor, factory, prototype) { constructor.prototype = factory.prototype = prototype, prototype.constructor = constructor; }; }, "../../../node_modules/d3-color/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/color.js"); __webpack_require__.d(__webpack_exports__, "color", function() { return _color_js__WEBPACK_IMPORTED_MODULE_0__.default; }), __webpack_require__.d(__webpack_exports__, "rgb", function() { return _color_js__WEBPACK_IMPORTED_MODULE_0__.rgb; }), __webpack_require__.d(__webpack_exports__, "hsl", function() { return _color_js__WEBPACK_IMPORTED_MODULE_0__.hsl; }); var _lab_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-color/src/lab.js"); __webpack_require__.d(__webpack_exports__, "lab", function() { return _lab_js__WEBPACK_IMPORTED_MODULE_1__.default; }), __webpack_require__.d(__webpack_exports__, "hcl", function() { return _lab_js__WEBPACK_IMPORTED_MODULE_1__.hcl; }), __webpack_require__.d(__webpack_exports__, "lch", function() { return _lab_js__WEBPACK_IMPORTED_MODULE_1__.lch; }), __webpack_require__.d(__webpack_exports__, "gray", function() { return _lab_js__WEBPACK_IMPORTED_MODULE_1__.gray; }); var _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-color/src/cubehelix.js"); __webpack_require__.d(__webpack_exports__, "cubehelix", function() { return _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__.default; }); }, "../../../node_modules/d3-color/src/lab.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "gray", function() { return gray; }), __webpack_require__.d(__webpack_exports__, "default", function() { return lab; }), __webpack_require__.d(__webpack_exports__, "Lab", function() { return Lab; }), __webpack_require__.d(__webpack_exports__, "lch", function() { return lch; }), __webpack_require__.d(__webpack_exports__, "hcl", function() { return hcl; }), __webpack_require__.d(__webpack_exports__, "Hcl", function() { return Hcl; }); var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/define.js"), _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-color/src/color.js"), _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-color/src/math.js"), t0 = 4 / 29, t1 = 6 / 29, t2 = 3 * (6 / 29) * (6 / 29), t3 = t1 * t1 * t1; function labConvert(o) { if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity); if (o instanceof Hcl) return hcl2lab(o); o instanceof _color_js__WEBPACK_IMPORTED_MODULE_1__.Rgb || (o = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.rgbConvert)(o)); var x, z, r = rgb2lrgb(o.r), g = rgb2lrgb(o.g), b = rgb2lrgb(o.b), y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / 1); return r === g && g === b ? x = z = y : (x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / 0.96422), z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / 0.82521)), new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity); } function gray(l, opacity) { return new Lab(l, 0, 0, null == opacity ? 1 : opacity); } function lab(l, a, b, opacity) { return 1 == arguments.length ? labConvert(l) : new Lab(l, a, b, null == opacity ? 1 : opacity); } function Lab(l, a, b, opacity) { this.l = +l, this.a = +a, this.b = +b, this.opacity = +opacity; } function xyz2lab(t) { return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0; } function lab2xyz(t) { return t > t1 ? t * t * t : t2 * (t - t0); } function lrgb2rgb(x) { return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055); } function rgb2lrgb(x) { return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4); } function hclConvert(o) { if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity); if (o instanceof Lab || (o = labConvert(o)), 0 === o.a && 0 === o.b) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity); var h = Math.atan2(o.b, o.a) * _math_js__WEBPACK_IMPORTED_MODULE_2__.rad2deg; return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity); } function lch(l, c, h, opacity) { return 1 == arguments.length ? hclConvert(l) : new Hcl(h, c, l, null == opacity ? 1 : opacity); } function hcl(h, c, l, opacity) { return 1 == arguments.length ? hclConvert(h) : new Hcl(h, c, l, null == opacity ? 1 : opacity); } function Hcl(h, c, l, opacity) { this.h = +h, this.c = +c, this.l = +l, this.opacity = +opacity; } function hcl2lab(o) { if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity); var h = o.h * _math_js__WEBPACK_IMPORTED_MODULE_2__.deg2rad; return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity); } Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.default)(Lab, lab, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_1__.Color, { brighter: function(k) { return new Lab(this.l + 18 * (null == k ? 1 : k), this.a, this.b, this.opacity); }, darker: function(k) { return new Lab(this.l - 18 * (null == k ? 1 : k), this.a, this.b, this.opacity); }, rgb: function() { var y = (this.l + 16) / 116, x = isNaN(this.a) ? y : y + this.a / 500, z = isNaN(this.b) ? y : y - this.b / 200; return x = 0.96422 * lab2xyz(x), y = 1 * lab2xyz(y), z = 0.82521 * lab2xyz(z), new _color_js__WEBPACK_IMPORTED_MODULE_1__.Rgb(lrgb2rgb(3.1338561 * x - 1.6168667 * y - 0.4906146 * z), lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z), lrgb2rgb(0.0719453 * x - 0.2289914 * y + 1.4052427 * z), this.opacity); } })), Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.default)(Hcl, hcl, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_1__.Color, { brighter: function(k) { return new Hcl(this.h, this.c, this.l + 18 * (null == k ? 1 : k), this.opacity); }, darker: function(k) { return new Hcl(this.h, this.c, this.l - 18 * (null == k ? 1 : k), this.opacity); }, rgb: function() { return hcl2lab(this).rgb(); } })); }, "../../../node_modules/d3-color/src/math.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "deg2rad", function() { return deg2rad; }), __webpack_require__.d(__webpack_exports__, "rad2deg", function() { return rad2deg; }); var deg2rad = Math.PI / 180, rad2deg = 180 / Math.PI; }, "../../../node_modules/d3-ease/src/back.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "backIn", function() { return backIn; }), __webpack_require__.d(__webpack_exports__, "backOut", function() { return backOut; }), __webpack_require__.d(__webpack_exports__, "backInOut", function() { return backInOut; }); var backIn = function custom(s) { function backIn(t) { return t * t * ((s + 1) * t - s); } return s = +s, backIn.overshoot = custom, backIn; }(1.70158), backOut = function custom(s) { function backOut(t) { return --t * t * ((s + 1) * t + s) + 1; } return s = +s, backOut.overshoot = custom, backOut; }(1.70158), backInOut = function custom(s) { function backInOut(t) { return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2; } return s = +s, backInOut.overshoot = custom, backInOut; }(1.70158); }, "../../../node_modules/d3-ease/src/bounce.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "bounceIn", function() { return bounceIn; }), __webpack_require__.d(__webpack_exports__, "bounceOut", function() { return bounceOut; }), __webpack_require__.d(__webpack_exports__, "bounceInOut", function() { return bounceInOut; }); var b1 = 4 / 11, b2 = 6 / 11, b3 = 8 / 11, b4 = 3 / 4, b5 = 9 / 11, b6 = 10 / 11, b7 = 15 / 16, b8 = 21 / 22, b9 = 63 / 64, b0 = 1 / (4 / 11) / (4 / 11); function bounceIn(t) { return 1 - bounceOut(1 - t); } function bounceOut(t) { return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9; } function bounceInOut(t) { return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2; } }, "../../../node_modules/d3-ease/src/circle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function circleIn(t) { return 1 - Math.sqrt(1 - t * t); } function circleOut(t) { return Math.sqrt(1 - --t * t); } function circleInOut(t) { return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "circleIn", function() { return circleIn; }), __webpack_require__.d(__webpack_exports__, "circleOut", function() { return circleOut; }), __webpack_require__.d(__webpack_exports__, "circleInOut", function() { return circleInOut; }); }, "../../../node_modules/d3-ease/src/cubic.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function cubicIn(t) { return t * t * t; } function cubicOut(t) { return --t * t * t + 1; } function cubicInOut(t) { return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "cubicIn", function() { return cubicIn; }), __webpack_require__.d(__webpack_exports__, "cubicOut", function() { return cubicOut; }), __webpack_require__.d(__webpack_exports__, "cubicInOut", function() { return cubicInOut; }); }, "../../../node_modules/d3-ease/src/elastic.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "elasticIn", function() { return elasticIn; }), __webpack_require__.d(__webpack_exports__, "elasticOut", function() { return elasticOut; }), __webpack_require__.d(__webpack_exports__, "elasticInOut", function() { return elasticInOut; }); var tau = 2 * Math.PI, elasticIn = function custom(a, p) { var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau); function elasticIn(t) { return a * Math.pow(2, 10 * --t) * Math.sin((s - t) / p); } return elasticIn.amplitude = function(a) { return custom(a, p * tau); }, elasticIn.period = function(p) { return custom(a, p); }, elasticIn; }(1, 0.3), elasticOut = function custom(a, p) { var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau); function elasticOut(t) { return 1 - a * Math.pow(2, -10 * (t = +t)) * Math.sin((t + s) / p); } return elasticOut.amplitude = function(a) { return custom(a, p * tau); }, elasticOut.period = function(p) { return custom(a, p); }, elasticOut; }(1, 0.3), elasticInOut = function custom(a, p) { var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau); function elasticInOut(t) { return ((t = 2 * t - 1) < 0 ? a * Math.pow(2, 10 * t) * Math.sin((s - t) / p) : 2 - a * Math.pow(2, -10 * t) * Math.sin((s + t) / p)) / 2; } return elasticInOut.amplitude = function(a) { return custom(a, p * tau); }, elasticInOut.period = function(p) { return custom(a, p); }, elasticInOut; }(1, 0.3); }, "../../../node_modules/d3-ease/src/exp.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function expIn(t) { return Math.pow(2, 10 * t - 10); } function expOut(t) { return 1 - Math.pow(2, -10 * t); } function expInOut(t) { return ((t *= 2) <= 1 ? Math.pow(2, 10 * t - 10) : 2 - Math.pow(2, 10 - 10 * t)) / 2; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "expIn", function() { return expIn; }), __webpack_require__.d(__webpack_exports__, "expOut", function() { return expOut; }), __webpack_require__.d(__webpack_exports__, "expInOut", function() { return expInOut; }); }, "../../../node_modules/d3-ease/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-ease/src/linear.js"); __webpack_require__.d(__webpack_exports__, "easeLinear", function() { return _linear_js__WEBPACK_IMPORTED_MODULE_0__.linear; }); var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-ease/src/quad.js"); __webpack_require__.d(__webpack_exports__, "easeQuad", function() { return _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut; }), __webpack_require__.d(__webpack_exports__, "easeQuadIn", function() { return _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadIn; }), __webpack_require__.d(__webpack_exports__, "easeQuadOut", function() { return _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadOut; }), __webpack_require__.d(__webpack_exports__, "easeQuadInOut", function() { return _quad_js__WEBPACK_IMPORTED_MODULE_1__.quadInOut; }); var _cubic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-ease/src/cubic.js"); __webpack_require__.d(__webpack_exports__, "easeCubic", function() { return _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut; }), __webpack_require__.d(__webpack_exports__, "easeCubicIn", function() { return _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicIn; }), __webpack_require__.d(__webpack_exports__, "easeCubicOut", function() { return _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicOut; }), __webpack_require__.d(__webpack_exports__, "easeCubicInOut", function() { return _cubic_js__WEBPACK_IMPORTED_MODULE_2__.cubicInOut; }); var _poly_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-ease/src/poly.js"); __webpack_require__.d(__webpack_exports__, "easePoly", function() { return _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut; }), __webpack_require__.d(__webpack_exports__, "easePolyIn", function() { return _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyIn; }), __webpack_require__.d(__webpack_exports__, "easePolyOut", function() { return _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyOut; }), __webpack_require__.d(__webpack_exports__, "easePolyInOut", function() { return _poly_js__WEBPACK_IMPORTED_MODULE_3__.polyInOut; }); var _sin_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-ease/src/sin.js"); __webpack_require__.d(__webpack_exports__, "easeSin", function() { return _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut; }), __webpack_require__.d(__webpack_exports__, "easeSinIn", function() { return _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinIn; }), __webpack_require__.d(__webpack_exports__, "easeSinOut", function() { return _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinOut; }), __webpack_require__.d(__webpack_exports__, "easeSinInOut", function() { return _sin_js__WEBPACK_IMPORTED_MODULE_4__.sinInOut; }); var _exp_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-ease/src/exp.js"); __webpack_require__.d(__webpack_exports__, "easeExp", function() { return _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut; }), __webpack_require__.d(__webpack_exports__, "easeExpIn", function() { return _exp_js__WEBPACK_IMPORTED_MODULE_5__.expIn; }), __webpack_require__.d(__webpack_exports__, "easeExpOut", function() { return _exp_js__WEBPACK_IMPORTED_MODULE_5__.expOut; }), __webpack_require__.d(__webpack_exports__, "easeExpInOut", function() { return _exp_js__WEBPACK_IMPORTED_MODULE_5__.expInOut; }); var _circle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-ease/src/circle.js"); __webpack_require__.d(__webpack_exports__, "easeCircle", function() { return _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut; }), __webpack_require__.d(__webpack_exports__, "easeCircleIn", function() { return _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleIn; }), __webpack_require__.d(__webpack_exports__, "easeCircleOut", function() { return _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleOut; }), __webpack_require__.d(__webpack_exports__, "easeCircleInOut", function() { return _circle_js__WEBPACK_IMPORTED_MODULE_6__.circleInOut; }); var _bounce_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-ease/src/bounce.js"); __webpack_require__.d(__webpack_exports__, "easeBounce", function() { return _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut; }), __webpack_require__.d(__webpack_exports__, "easeBounceIn", function() { return _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceIn; }), __webpack_require__.d(__webpack_exports__, "easeBounceOut", function() { return _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceOut; }), __webpack_require__.d(__webpack_exports__, "easeBounceInOut", function() { return _bounce_js__WEBPACK_IMPORTED_MODULE_7__.bounceInOut; }); var _back_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-ease/src/back.js"); __webpack_require__.d(__webpack_exports__, "easeBack", function() { return _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut; }), __webpack_require__.d(__webpack_exports__, "easeBackIn", function() { return _back_js__WEBPACK_IMPORTED_MODULE_8__.backIn; }), __webpack_require__.d(__webpack_exports__, "easeBackOut", function() { return _back_js__WEBPACK_IMPORTED_MODULE_8__.backOut; }), __webpack_require__.d(__webpack_exports__, "easeBackInOut", function() { return _back_js__WEBPACK_IMPORTED_MODULE_8__.backInOut; }); var _elastic_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-ease/src/elastic.js"); __webpack_require__.d(__webpack_exports__, "easeElastic", function() { return _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut; }), __webpack_require__.d(__webpack_exports__, "easeElasticIn", function() { return _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticIn; }), __webpack_require__.d(__webpack_exports__, "easeElasticOut", function() { return _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticOut; }), __webpack_require__.d(__webpack_exports__, "easeElasticInOut", function() { return _elastic_js__WEBPACK_IMPORTED_MODULE_9__.elasticInOut; }); }, "../../../node_modules/d3-ease/src/linear.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function linear(t) { return +t; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "linear", function() { return linear; }); }, "../../../node_modules/d3-ease/src/poly.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "polyIn", function() { return polyIn; }), __webpack_require__.d(__webpack_exports__, "polyOut", function() { return polyOut; }), __webpack_require__.d(__webpack_exports__, "polyInOut", function() { return polyInOut; }); var polyIn = function custom(e) { function polyIn(t) { return Math.pow(t, e); } return e = +e, polyIn.exponent = custom, polyIn; }(3), polyOut = function custom(e) { function polyOut(t) { return 1 - Math.pow(1 - t, e); } return e = +e, polyOut.exponent = custom, polyOut; }(3), polyInOut = function custom(e) { function polyInOut(t) { return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2; } return e = +e, polyInOut.exponent = custom, polyInOut; }(3); }, "../../../node_modules/d3-ease/src/quad.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function quadIn(t) { return t * t; } function quadOut(t) { return t * (2 - t); } function quadInOut(t) { return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "quadIn", function() { return quadIn; }), __webpack_require__.d(__webpack_exports__, "quadOut", function() { return quadOut; }), __webpack_require__.d(__webpack_exports__, "quadInOut", function() { return quadInOut; }); }, "../../../node_modules/d3-ease/src/sin.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "sinIn", function() { return sinIn; }), __webpack_require__.d(__webpack_exports__, "sinOut", function() { return sinOut; }), __webpack_require__.d(__webpack_exports__, "sinInOut", function() { return sinInOut; }); var pi = Math.PI, halfPi = pi / 2; function sinIn(t) { return 1 - Math.cos(t * halfPi); } function sinOut(t) { return Math.sin(t * halfPi); } function sinInOut(t) { return (1 - Math.cos(pi * t)) / 2; } }, "../../../node_modules/d3-format/src/defaultLocale.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "format", function() { return format; }), __webpack_require__.d(__webpack_exports__, "formatPrefix", function() { return formatPrefix; }), __webpack_require__.d(__webpack_exports__, "default", function() { return defaultLocale; }); var locale, format, formatPrefix, _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/locale.js"); function defaultLocale(definition) { return format = (locale = Object(_locale_js__WEBPACK_IMPORTED_MODULE_0__.default)(definition)).format, formatPrefix = locale.formatPrefix, locale; } defaultLocale({ decimal: ".", thousands: ",", grouping: [ 3 ], currency: [ "$", "" ], minus: "-" }); }, "../../../node_modules/d3-format/src/exponent.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/formatDecimal.js"); __webpack_exports__.default = function(x) { return (x = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.default)(Math.abs(x))) ? x[1] : NaN; }; }, "../../../node_modules/d3-format/src/formatDecimal.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x, p) { if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; var i, coefficient = x.slice(0, i); return [ coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, +x.slice(i + 1) ]; }; }, "../../../node_modules/d3-format/src/formatGroup.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(grouping, thousands) { return function(value, width) { for(var i = value.length, t = [], j = 0, g = grouping[0], length = 0; i > 0 && g > 0 && (length + g + 1 > width && (g = Math.max(1, width - length)), t.push(value.substring(i -= g, i + g)), !((length += g + 1) > width));)g = grouping[j = (j + 1) % grouping.length]; return t.reverse().join(thousands); }; }; }, "../../../node_modules/d3-format/src/formatNumerals.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(numerals) { return function(value) { return value.replace(/[0-9]/g, function(i) { return numerals[+i]; }); }; }; }, "../../../node_modules/d3-format/src/formatPrefixAuto.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "prefixExponent", function() { return prefixExponent; }); var prefixExponent, _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/formatDecimal.js"); __webpack_exports__.default = function(x, p) { var d = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.default)(x, p); if (!d) return x + ""; var coefficient = d[0], exponent = d[1], i = exponent - (prefixExponent = 3 * Math.max(-8, Math.min(8, Math.floor(exponent / 3)))) + 1, n = coefficient.length; return i === n ? coefficient : i > n ? coefficient + Array(i - n + 1).join("0") : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) : "0." + Array(1 - i).join("0") + Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.default)(x, Math.max(0, p + i - 1))[0]; }; }, "../../../node_modules/d3-format/src/formatRounded.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/formatDecimal.js"); __webpack_exports__.default = function(x, p) { var d = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.default)(x, p); if (!d) return x + ""; var coefficient = d[0], exponent = d[1]; return exponent < 0 ? "0." + Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + Array(exponent - coefficient.length + 2).join("0"); }; }, "../../../node_modules/d3-format/src/formatSpecifier.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return formatSpecifier; }), __webpack_require__.d(__webpack_exports__, "FormatSpecifier", function() { return FormatSpecifier; }); var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i; function formatSpecifier(specifier) { var match; if (!(match = re.exec(specifier))) throw Error("invalid format: " + specifier); return new FormatSpecifier({ fill: match[1], align: match[2], sign: match[3], symbol: match[4], zero: match[5], width: match[6], comma: match[7], precision: match[8] && match[8].slice(1), trim: match[9], type: match[10] }); } function FormatSpecifier(specifier) { this.fill = void 0 === specifier.fill ? " " : specifier.fill + "", this.align = void 0 === specifier.align ? ">" : specifier.align + "", this.sign = void 0 === specifier.sign ? "-" : specifier.sign + "", this.symbol = void 0 === specifier.symbol ? "" : specifier.symbol + "", this.zero = !!specifier.zero, this.width = void 0 === specifier.width ? void 0 : +specifier.width, this.comma = !!specifier.comma, this.precision = void 0 === specifier.precision ? void 0 : +specifier.precision, this.trim = !!specifier.trim, this.type = void 0 === specifier.type ? "" : specifier.type + ""; } formatSpecifier.prototype = FormatSpecifier.prototype, FormatSpecifier.prototype.toString = function() { return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (void 0 === this.width ? "" : Math.max(1, 0 | this.width)) + (this.comma ? "," : "") + (void 0 === this.precision ? "" : "." + Math.max(0, 0 | this.precision)) + (this.trim ? "~" : "") + this.type; }; }, "../../../node_modules/d3-format/src/formatTrim.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(s) { out: for(var i1, n = s.length, i = 1, i0 = -1; i < n; ++i)switch(s[i]){ case ".": i0 = i1 = i; break; case "0": 0 === i0 && (i0 = i), i1 = i; break; default: if (!+s[i]) break out; i0 > 0 && (i0 = 0); } return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s; }; }, "../../../node_modules/d3-format/src/formatTypes.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/formatPrefixAuto.js"), _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-format/src/formatRounded.js"); __webpack_exports__.default = { "%": function(x, p) { return (100 * x).toFixed(p); }, b: function(x) { return Math.round(x).toString(2); }, c: function(x) { return x + ""; }, d: function(x) { return Math.round(x).toString(10); }, e: function(x, p) { return x.toExponential(p); }, f: function(x, p) { return x.toFixed(p); }, g: function(x, p) { return x.toPrecision(p); }, o: function(x) { return Math.round(x).toString(8); }, p: function(x, p) { return Object(_formatRounded_js__WEBPACK_IMPORTED_MODULE_1__.default)(100 * x, p); }, r: _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__.default, s: _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_0__.default, X: function(x) { return Math.round(x).toString(16).toUpperCase(); }, x: function(x) { return Math.round(x).toString(16); } }; }, "../../../node_modules/d3-format/src/identity.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return x; }; }, "../../../node_modules/d3-format/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/defaultLocale.js"); __webpack_require__.d(__webpack_exports__, "formatDefaultLocale", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.default; }), __webpack_require__.d(__webpack_exports__, "format", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.format; }), __webpack_require__.d(__webpack_exports__, "formatPrefix", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.formatPrefix; }); var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-format/src/locale.js"); __webpack_require__.d(__webpack_exports__, "formatLocale", function() { return _locale_js__WEBPACK_IMPORTED_MODULE_1__.default; }); var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-format/src/formatSpecifier.js"); __webpack_require__.d(__webpack_exports__, "formatSpecifier", function() { return _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__.default; }), __webpack_require__.d(__webpack_exports__, "FormatSpecifier", function() { return _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__.FormatSpecifier; }); var _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-format/src/precisionFixed.js"); __webpack_require__.d(__webpack_exports__, "precisionFixed", function() { return _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__.default; }); var _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-format/src/precisionPrefix.js"); __webpack_require__.d(__webpack_exports__, "precisionPrefix", function() { return _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__.default; }); var _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-format/src/precisionRound.js"); __webpack_require__.d(__webpack_exports__, "precisionRound", function() { return _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__.default; }); }, "../../../node_modules/d3-format/src/locale.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/exponent.js"), _formatGroup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-format/src/formatGroup.js"), _formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-format/src/formatNumerals.js"), _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-format/src/formatSpecifier.js"), _formatTrim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-format/src/formatTrim.js"), _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-format/src/formatTypes.js"), _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-format/src/formatPrefixAuto.js"), _identity_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-format/src/identity.js"), map = Array.prototype.map, prefixes = [ "y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y" ]; __webpack_exports__.default = function(locale) { var group = void 0 === locale.grouping || void 0 === locale.thousands ? _identity_js__WEBPACK_IMPORTED_MODULE_7__.default : Object(_formatGroup_js__WEBPACK_IMPORTED_MODULE_1__.default)(map.call(locale.grouping, Number), locale.thousands + ""), currencyPrefix = void 0 === locale.currency ? "" : locale.currency[0] + "", currencySuffix = void 0 === locale.currency ? "" : locale.currency[1] + "", decimal = void 0 === locale.decimal ? "." : locale.decimal + "", numerals = void 0 === locale.numerals ? _identity_js__WEBPACK_IMPORTED_MODULE_7__.default : Object(_formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__.default)(map.call(locale.numerals, String)), percent = void 0 === locale.percent ? "%" : locale.percent + "", minus = void 0 === locale.minus ? "-" : locale.minus + "", nan = void 0 === locale.nan ? "NaN" : locale.nan + ""; function newFormat(specifier) { var fill = (specifier = Object(_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__.default)(specifier)).fill, align = specifier.align, sign = specifier.sign, symbol = specifier.symbol, zero = specifier.zero, width = specifier.width, comma = specifier.comma, precision = specifier.precision, trim = specifier.trim, type = specifier.type; "n" === type ? (comma = !0, type = "g") : _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__.default[type] || (void 0 === precision && (precision = 12), trim = !0, type = "g"), (zero || "0" === fill && "=" === align) && (zero = !0, fill = "0", align = "="); var prefix = "$" === symbol ? currencyPrefix : "#" === symbol && /[boxX]/.test(type) ? "0" + type.toLowerCase() : "", suffix = "$" === symbol ? currencySuffix : /[%p]/.test(type) ? percent : "", formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__.default[type], maybeSuffix = /[defgprs%]/.test(type); function format(value) { var i, n, c, valuePrefix = prefix, valueSuffix = suffix; if ("c" === type) valueSuffix = formatType(value) + valueSuffix, value = ""; else { var valueNegative = (value = +value) < 0 || 1 / value < 0; if (value = isNaN(value) ? nan : formatType(Math.abs(value), precision), trim && (value = Object(_formatTrim_js__WEBPACK_IMPORTED_MODULE_4__.default)(value)), valueNegative && 0 == +value && "+" !== sign && (valueNegative = !1), valuePrefix = (valueNegative ? "(" === sign ? sign : minus : "-" === sign || "(" === sign ? "" : sign) + valuePrefix, valueSuffix = ("s" === type ? prefixes[8 + _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__.prefixExponent / 3] : "") + valueSuffix + (valueNegative && "(" === sign ? ")" : ""), maybeSuffix) { for(i = -1, n = value.length; ++i < n;)if (48 > (c = value.charCodeAt(i)) || c > 57) { valueSuffix = (46 === c ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix, value = value.slice(0, i); break; } } } comma && !zero && (value = group(value, 1 / 0)); var length = valuePrefix.length + value.length + valueSuffix.length, padding = length < width ? Array(width - length + 1).join(fill) : ""; switch(comma && zero && (value = group(padding + value, padding.length ? width - valueSuffix.length : 1 / 0), padding = ""), align){ case "<": value = valuePrefix + value + valueSuffix + padding; break; case "=": value = valuePrefix + padding + value + valueSuffix; break; case "^": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break; default: value = padding + valuePrefix + value + valueSuffix; } return numerals(value); } return precision = void 0 === precision ? 6 : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision)) : Math.max(0, Math.min(20, precision)), format.toString = function() { return specifier + ""; }, format; } return { format: newFormat, formatPrefix: function(specifier, value) { var f = newFormat(((specifier = Object(_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__.default)(specifier)).type = "f", specifier)), e = 3 * Math.max(-8, Math.min(8, Math.floor(Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__.default)(value) / 3))), k = Math.pow(10, -e), prefix = prefixes[8 + e / 3]; return function(value) { return f(k * value) + prefix; }; } }; }; }, "../../../node_modules/d3-format/src/precisionFixed.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/exponent.js"); __webpack_exports__.default = function(step) { return Math.max(0, -Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__.default)(Math.abs(step))); }; }, "../../../node_modules/d3-format/src/precisionPrefix.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/exponent.js"); __webpack_exports__.default = function(step, value) { return Math.max(0, 3 * Math.max(-8, Math.min(8, Math.floor(Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__.default)(value) / 3))) - Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__.default)(Math.abs(step))); }; }, "../../../node_modules/d3-format/src/precisionRound.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-format/src/exponent.js"); __webpack_exports__.default = function(step, max) { return max = Math.abs(max) - (step = Math.abs(step)), Math.max(0, Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__.default)(max) - Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__.default)(step)) + 1; }; }, "../../../node_modules/d3-interpolate/src/array.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "genericArray", function() { return genericArray; }); var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/value.js"), _numberArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/numberArray.js"); function genericArray(a, b) { var i, nb = b ? b.length : 0, na = a ? Math.min(nb, a.length) : 0, x = Array(na), c = Array(nb); for(i = 0; i < na; ++i)x[i] = Object(_value_js__WEBPACK_IMPORTED_MODULE_0__.default)(a[i], b[i]); for(; i < nb; ++i)c[i] = b[i]; return function(t) { for(i = 0; i < na; ++i)c[i] = x[i](t); return c; }; } __webpack_exports__.default = function(a, b) { return (Object(_numberArray_js__WEBPACK_IMPORTED_MODULE_1__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_1__.default : genericArray)(a, b); }; }, "../../../node_modules/d3-interpolate/src/basis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function basis(t1, v0, v1, v2, v3) { var t2 = t1 * t1, t3 = t2 * t1; return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "basis", function() { return basis; }), __webpack_exports__.default = function(values) { var n = values.length - 1; return function(t) { var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n), v1 = values[i], v2 = values[i + 1], v0 = i > 0 ? values[i - 1] : 2 * v1 - v2, v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1; return basis((t - i / n) * n, v0, v1, v2, v3); }; }; }, "../../../node_modules/d3-interpolate/src/basisClosed.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/basis.js"); __webpack_exports__.default = function(values) { var n = values.length; return function(t) { var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n), v0 = values[(i + n - 1) % n], v1 = values[i % n], v2 = values[(i + 1) % n], v3 = values[(i + 2) % n]; return Object(_basis_js__WEBPACK_IMPORTED_MODULE_0__.basis)((t - i / n) * n, v0, v1, v2, v3); }; }; }, "../../../node_modules/d3-interpolate/src/color.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "hue", function() { return hue; }), __webpack_require__.d(__webpack_exports__, "gamma", function() { return gamma; }), __webpack_require__.d(__webpack_exports__, "default", function() { return nogamma; }); var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/constant.js"); function linear(a, d) { return function(t) { return a + t * d; }; } function hue(a, b) { var d = b - a; return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(isNaN(a) ? b : a); } function gamma(y) { return 1 == (y = +y) ? nogamma : function(a, b) { var a1, b1, y1; return b - a ? (a1 = a, b1 = b, a1 = Math.pow(a1, y1 = y), b1 = Math.pow(b1, y1) - a1, y1 = 1 / y1, function(t) { return Math.pow(a1 + t * b1, y1); }) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(isNaN(a) ? b : a); }; } function nogamma(a, b) { var d = b - a; return d ? linear(a, d) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(isNaN(a) ? b : a); } }, "../../../node_modules/d3-interpolate/src/constant.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return function() { return x; }; }; }, "../../../node_modules/d3-interpolate/src/cubehelix.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "cubehelixLong", function() { return cubehelixLong; }); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/color.js"); function cubehelix(hue) { return function cubehelixGamma(y) { function cubehelix(start, end) { var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(end)).h), s = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.s, end.s), l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.l, end.l), opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.opacity, end.opacity); return function(t) { return start.h = h(t), start.s = s(t), start.l = l(Math.pow(t, y)), start.opacity = opacity(t), start + ""; }; } return y = +y, cubehelix.gamma = cubehelixGamma, cubehelix; }(1); } __webpack_exports__.default = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue); var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__.default); }, "../../../node_modules/d3-interpolate/src/date.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { var d = new Date; return a = +a, b = +b, function(t) { return d.setTime(a * (1 - t) + b * t), d; }; }; }, "../../../node_modules/d3-interpolate/src/discrete.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(range) { var n = range.length; return function(t) { return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))]; }; }; }, "../../../node_modules/d3-interpolate/src/hcl.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "hclLong", function() { return hclLong; }); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/color.js"); function hcl(hue) { return function(start, end) { var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.hcl)(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.hcl)(end)).h), c = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.c, end.c), l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.l, end.l), opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.opacity, end.opacity); return function(t) { return start.h = h(t), start.c = c(t), start.l = l(t), start.opacity = opacity(t), start + ""; }; }; } __webpack_exports__.default = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue); var hclLong = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__.default); }, "../../../node_modules/d3-interpolate/src/hsl.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "hslLong", function() { return hslLong; }); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/color.js"); function hsl(hue) { return function(start, end) { var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.hsl)(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.hsl)(end)).h), s = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.s, end.s), l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.l, end.l), opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.opacity, end.opacity); return function(t) { return start.h = h(t), start.s = s(t), start.l = l(t), start.opacity = opacity(t), start + ""; }; }; } __webpack_exports__.default = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue); var hslLong = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__.default); }, "../../../node_modules/d3-interpolate/src/hue.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/color.js"); __webpack_exports__.default = function(a, b) { var i = Object(_color_js__WEBPACK_IMPORTED_MODULE_0__.hue)(+a, +b); return function(t) { var x = i(t); return x - 360 * Math.floor(x / 360); }; }; }, "../../../node_modules/d3-interpolate/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/value.js"); __webpack_require__.d(__webpack_exports__, "interpolate", function() { return _value_js__WEBPACK_IMPORTED_MODULE_0__.default; }); var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/array.js"); __webpack_require__.d(__webpack_exports__, "interpolateArray", function() { return _array_js__WEBPACK_IMPORTED_MODULE_1__.default; }); var _basis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-interpolate/src/basis.js"); __webpack_require__.d(__webpack_exports__, "interpolateBasis", function() { return _basis_js__WEBPACK_IMPORTED_MODULE_2__.default; }); var _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-interpolate/src/basisClosed.js"); __webpack_require__.d(__webpack_exports__, "interpolateBasisClosed", function() { return _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__.default; }); var _date_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-interpolate/src/date.js"); __webpack_require__.d(__webpack_exports__, "interpolateDate", function() { return _date_js__WEBPACK_IMPORTED_MODULE_4__.default; }); var _discrete_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-interpolate/src/discrete.js"); __webpack_require__.d(__webpack_exports__, "interpolateDiscrete", function() { return _discrete_js__WEBPACK_IMPORTED_MODULE_5__.default; }); var _hue_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-interpolate/src/hue.js"); __webpack_require__.d(__webpack_exports__, "interpolateHue", function() { return _hue_js__WEBPACK_IMPORTED_MODULE_6__.default; }); var _number_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-interpolate/src/number.js"); __webpack_require__.d(__webpack_exports__, "interpolateNumber", function() { return _number_js__WEBPACK_IMPORTED_MODULE_7__.default; }); var _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-interpolate/src/numberArray.js"); __webpack_require__.d(__webpack_exports__, "interpolateNumberArray", function() { return _numberArray_js__WEBPACK_IMPORTED_MODULE_8__.default; }); var _object_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-interpolate/src/object.js"); __webpack_require__.d(__webpack_exports__, "interpolateObject", function() { return _object_js__WEBPACK_IMPORTED_MODULE_9__.default; }); var _round_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/d3-interpolate/src/round.js"); __webpack_require__.d(__webpack_exports__, "interpolateRound", function() { return _round_js__WEBPACK_IMPORTED_MODULE_10__.default; }); var _string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/d3-interpolate/src/string.js"); __webpack_require__.d(__webpack_exports__, "interpolateString", function() { return _string_js__WEBPACK_IMPORTED_MODULE_11__.default; }); var _transform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../../node_modules/d3-interpolate/src/transform/index.js"); __webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function() { return _transform_index_js__WEBPACK_IMPORTED_MODULE_12__.interpolateTransformCss; }), __webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function() { return _transform_index_js__WEBPACK_IMPORTED_MODULE_12__.interpolateTransformSvg; }); var _zoom_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../../node_modules/d3-interpolate/src/zoom.js"); __webpack_require__.d(__webpack_exports__, "interpolateZoom", function() { return _zoom_js__WEBPACK_IMPORTED_MODULE_13__.default; }); var _rgb_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../../node_modules/d3-interpolate/src/rgb.js"); __webpack_require__.d(__webpack_exports__, "interpolateRgb", function() { return _rgb_js__WEBPACK_IMPORTED_MODULE_14__.default; }), __webpack_require__.d(__webpack_exports__, "interpolateRgbBasis", function() { return _rgb_js__WEBPACK_IMPORTED_MODULE_14__.rgbBasis; }), __webpack_require__.d(__webpack_exports__, "interpolateRgbBasisClosed", function() { return _rgb_js__WEBPACK_IMPORTED_MODULE_14__.rgbBasisClosed; }); var _hsl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../../node_modules/d3-interpolate/src/hsl.js"); __webpack_require__.d(__webpack_exports__, "interpolateHsl", function() { return _hsl_js__WEBPACK_IMPORTED_MODULE_15__.default; }), __webpack_require__.d(__webpack_exports__, "interpolateHslLong", function() { return _hsl_js__WEBPACK_IMPORTED_MODULE_15__.hslLong; }); var _lab_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../../node_modules/d3-interpolate/src/lab.js"); __webpack_require__.d(__webpack_exports__, "interpolateLab", function() { return _lab_js__WEBPACK_IMPORTED_MODULE_16__.default; }); var _hcl_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../../node_modules/d3-interpolate/src/hcl.js"); __webpack_require__.d(__webpack_exports__, "interpolateHcl", function() { return _hcl_js__WEBPACK_IMPORTED_MODULE_17__.default; }), __webpack_require__.d(__webpack_exports__, "interpolateHclLong", function() { return _hcl_js__WEBPACK_IMPORTED_MODULE_17__.hclLong; }); var _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../../node_modules/d3-interpolate/src/cubehelix.js"); __webpack_require__.d(__webpack_exports__, "interpolateCubehelix", function() { return _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__.default; }), __webpack_require__.d(__webpack_exports__, "interpolateCubehelixLong", function() { return _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__.cubehelixLong; }); var _piecewise_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../../node_modules/d3-interpolate/src/piecewise.js"); __webpack_require__.d(__webpack_exports__, "piecewise", function() { return _piecewise_js__WEBPACK_IMPORTED_MODULE_19__.default; }); var _quantize_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../../node_modules/d3-interpolate/src/quantize.js"); __webpack_require__.d(__webpack_exports__, "quantize", function() { return _quantize_js__WEBPACK_IMPORTED_MODULE_20__.default; }); }, "../../../node_modules/d3-interpolate/src/lab.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return lab; }); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/color.js"); function lab(start, end) { var l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.lab)(start)).l, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.lab)(end)).l), a = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.a, end.a), b = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.b, end.b), opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__.default)(start.opacity, end.opacity); return function(t) { return start.l = l(t), start.a = a(t), start.b = b(t), start.opacity = opacity(t), start + ""; }; } }, "../../../node_modules/d3-interpolate/src/number.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return a = +a, b = +b, function(t) { return a * (1 - t) + b * t; }; }; }, "../../../node_modules/d3-interpolate/src/numberArray.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function isNumberArray(x) { return ArrayBuffer.isView(x) && !(x instanceof DataView); } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "isNumberArray", function() { return isNumberArray; }), __webpack_exports__.default = function(a, b) { b || (b = []); var i, n = a ? Math.min(b.length, a.length) : 0, c = b.slice(); return function(t) { for(i = 0; i < n; ++i)c[i] = a[i] * (1 - t) + b[i] * t; return c; }; }; }, "../../../node_modules/d3-interpolate/src/object.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/value.js"); __webpack_exports__.default = function(a, b) { var k, i = {}, c = {}; for(k in (null === a || "object" != typeof a) && (a = {}), (null === b || "object" != typeof b) && (b = {}), b)k in a ? i[k] = Object(_value_js__WEBPACK_IMPORTED_MODULE_0__.default)(a[k], b[k]) : c[k] = b[k]; return function(t) { for(k in i)c[k] = i[k](t); return c; }; }; }, "../../../node_modules/d3-interpolate/src/piecewise.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function piecewise(interpolate, values) { for(var i = 0, n = values.length - 1, v = values[0], I = Array(n < 0 ? 0 : n); i < n;)I[i] = interpolate(v, v = values[++i]); return function(t) { var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n))); return I[i](t - i); }; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return piecewise; }); }, "../../../node_modules/d3-interpolate/src/quantize.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(interpolator, n) { for(var samples = Array(n), i = 0; i < n; ++i)samples[i] = interpolator(i / (n - 1)); return samples; }; }, "../../../node_modules/d3-interpolate/src/rgb.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "rgbBasis", function() { return rgbBasis; }), __webpack_require__.d(__webpack_exports__, "rgbBasisClosed", function() { return rgbBasisClosed; }); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/basis.js"), _basisClosed_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-interpolate/src/basisClosed.js"), _color_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-interpolate/src/color.js"); function rgbSpline(spline) { return function(colors) { var i, color, n = colors.length, r = Array(n), g = Array(n), b = Array(n); for(i = 0; i < n; ++i)color = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.rgb)(colors[i]), r[i] = color.r || 0, g[i] = color.g || 0, b[i] = color.b || 0; return r = spline(r), g = spline(g), b = spline(b), color.opacity = 1, function(t) { return color.r = r(t), color.g = g(t), color.b = b(t), color + ""; }; }; } __webpack_exports__.default = function rgbGamma(y) { var color = Object(_color_js__WEBPACK_IMPORTED_MODULE_3__.gamma)(y); function rgb(start, end) { var r = color((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.rgb)(start)).r, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.rgb)(end)).r), g = color(start.g, end.g), b = color(start.b, end.b), opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_3__.default)(start.opacity, end.opacity); return function(t) { return start.r = r(t), start.g = g(t), start.b = b(t), start.opacity = opacity(t), start + ""; }; } return rgb.gamma = rgbGamma, rgb; }(1); var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_1__.default), rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_2__.default); }, "../../../node_modules/d3-interpolate/src/round.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return a = +a, b = +b, function(t) { return Math.round(a * (1 - t) + b * t); }; }; }, "../../../node_modules/d3-interpolate/src/string.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/number.js"), reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, reB = RegExp(reA.source, "g"); __webpack_exports__.default = function(a, b) { var b1, b2, am, bm, bs, bi = reA.lastIndex = reB.lastIndex = 0, i = -1, s = [], q = []; for(a += "", b += ""; (am = reA.exec(a)) && (bm = reB.exec(b));)(bs = bm.index) > bi && (bs = b.slice(bi, bs), s[i] ? s[i] += bs : s[++i] = bs), (am = am[0]) === (bm = bm[0]) ? s[i] ? s[i] += bm : s[++i] = bm : (s[++i] = null, q.push({ i: i, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(am, bm) })), bi = reB.lastIndex; return bi < b.length && (bs = b.slice(bi), s[i] ? s[i] += bs : s[++i] = bs), s.length < 2 ? q[0] ? (b1 = q[0].x, function(t) { return b1(t) + ""; }) : (b2 = b, function() { return b2; }) : (b = q.length, function(t) { for(var o, i = 0; i < b; ++i)s[(o = q[i]).i] = o.x(t); return s.join(""); }); }; }, "../../../node_modules/d3-interpolate/src/transform/decompose.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "identity", function() { return identity; }); var degrees = 180 / Math.PI, identity = { translateX: 0, translateY: 0, rotate: 0, skewX: 0, scaleX: 1, scaleY: 1 }; __webpack_exports__.default = function(a, b, c, d, e, f) { var scaleX, scaleY, skewX; return (scaleX = Math.sqrt(a * a + b * b)) && (a /= scaleX, b /= scaleX), (skewX = a * c + b * d) && (c -= a * skewX, d -= b * skewX), (scaleY = Math.sqrt(c * c + d * d)) && (c /= scaleY, d /= scaleY, skewX /= scaleY), a * d < b * c && (a = -a, b = -b, skewX = -skewX, scaleX = -scaleX), { translateX: e, translateY: f, rotate: Math.atan2(b, a) * degrees, skewX: Math.atan(skewX) * degrees, scaleX: scaleX, scaleY: scaleY }; }; }, "../../../node_modules/d3-interpolate/src/transform/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function() { return interpolateTransformCss; }), __webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function() { return interpolateTransformSvg; }); var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/number.js"), _parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/transform/parse.js"); function interpolateTransform(parse, pxComma, pxParen, degParen) { function pop(s) { return s.length ? s.pop() + " " : ""; } return function(a, b) { var a1, b1, s, q, a2, b2, s1, q1, s2 = [], q2 = []; return a = parse(a), b = parse(b), !function(xa, ya, xb, yb, s, q) { if (xa !== xb || ya !== yb) { var i = s.push("translate(", null, pxComma, null, pxParen); q.push({ i: i - 4, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(xa, xb) }, { i: i - 2, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(ya, yb) }); } else (xb || yb) && s.push("translate(" + xb + pxComma + yb + pxParen); }(a.translateX, a.translateY, b.translateX, b.translateY, s2, q2), a1 = a.rotate, a1 !== (b1 = b.rotate) ? (a1 - b1 > 180 ? b1 += 360 : b1 - a1 > 180 && (a1 += 360), q2.push({ i: s2.push(pop(s2) + "rotate(", null, degParen) - 2, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(a1, b1) })) : b1 && s2.push(pop(s2) + "rotate(" + b1 + degParen), a2 = a.skewX, a2 !== (b2 = b.skewX) ? q2.push({ i: s2.push(pop(s2) + "skewX(", null, degParen) - 2, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(a2, b2) }) : b2 && s2.push(pop(s2) + "skewX(" + b2 + degParen), !function(xa, ya, xb, yb, s, q) { if (xa !== xb || ya !== yb) { var i = s.push(pop(s) + "scale(", null, ",", null, ")"); q.push({ i: i - 4, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(xa, xb) }, { i: i - 2, x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__.default)(ya, yb) }); } else (1 !== xb || 1 !== yb) && s.push(pop(s) + "scale(" + xb + "," + yb + ")"); }(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s2, q2), a = b = null, function(t) { for(var o, i = -1, n = q2.length; ++i < n;)s2[(o = q2[i]).i] = o.x(t); return s2.join(""); }; }; } var interpolateTransformCss = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__.parseCss, "px, ", "px)", "deg)"), interpolateTransformSvg = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__.parseSvg, ", ", ")", ")"); }, "../../../node_modules/d3-interpolate/src/transform/parse.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "parseCss", function() { return parseCss; }), __webpack_require__.d(__webpack_exports__, "parseSvg", function() { return parseSvg; }); var cssNode, cssRoot, cssView, svgNode, _decompose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-interpolate/src/transform/decompose.js"); function parseCss(value) { return "none" === value ? _decompose_js__WEBPACK_IMPORTED_MODULE_0__.identity : (cssNode || (cssNode = document.createElement("DIV"), cssRoot = document.documentElement, cssView = document.defaultView), cssNode.style.transform = value, value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue("transform"), cssRoot.removeChild(cssNode), value = value.slice(7, -1).split(","), Object(_decompose_js__WEBPACK_IMPORTED_MODULE_0__.default)(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5])); } function parseSvg(value) { return null == value ? _decompose_js__WEBPACK_IMPORTED_MODULE_0__.identity : (svgNode || (svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g")), svgNode.setAttribute("transform", value), value = svgNode.transform.baseVal.consolidate()) ? (value = value.matrix, Object(_decompose_js__WEBPACK_IMPORTED_MODULE_0__.default)(value.a, value.b, value.c, value.d, value.e, value.f)) : _decompose_js__WEBPACK_IMPORTED_MODULE_0__.identity; } }, "../../../node_modules/d3-interpolate/src/value.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), _rgb_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/rgb.js"), _array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-interpolate/src/array.js"), _date_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-interpolate/src/date.js"), _number_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-interpolate/src/number.js"), _object_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-interpolate/src/object.js"), _string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-interpolate/src/string.js"), _constant_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-interpolate/src/constant.js"), _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-interpolate/src/numberArray.js"); __webpack_exports__.default = function(a, b) { var c, t = typeof b; return null == b || "boolean" === t ? Object(_constant_js__WEBPACK_IMPORTED_MODULE_7__.default)(b) : ("number" === t ? _number_js__WEBPACK_IMPORTED_MODULE_4__.default : "string" === t ? (c = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.color)(b)) ? (b = c, _rgb_js__WEBPACK_IMPORTED_MODULE_1__.default) : _string_js__WEBPACK_IMPORTED_MODULE_6__.default : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_0__.color ? _rgb_js__WEBPACK_IMPORTED_MODULE_1__.default : b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_3__.default : Object(_numberArray_js__WEBPACK_IMPORTED_MODULE_8__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_8__.default : Array.isArray(b) ? _array_js__WEBPACK_IMPORTED_MODULE_2__.genericArray : "function" != typeof b.valueOf && "function" != typeof b.toString || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_5__.default : _number_js__WEBPACK_IMPORTED_MODULE_4__.default)(a, b); }; }, "../../../node_modules/d3-interpolate/src/zoom.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var rho = Math.SQRT2; function cosh(x) { return ((x = Math.exp(x)) + 1 / x) / 2; } __webpack_exports__.default = function(p0, p1) { var i, S, ux0 = p0[0], uy0 = p0[1], w0 = p0[2], ux1 = p1[0], uy1 = p1[1], w1 = p1[2], dx = ux1 - ux0, dy = uy1 - uy0, d2 = dx * dx + dy * dy; if (d2 < 1e-12) S = Math.log(w1 / w0) / rho, i = function(t) { return [ ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(rho * t * S) ]; }; else { var d1 = Math.sqrt(d2), b0 = (w1 * w1 - w0 * w0 + 4 * d2) / (2 * w0 * 2 * d1), b1 = (w1 * w1 - w0 * w0 - 4 * d2) / (2 * w1 * 2 * d1), r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0); S = (Math.log(Math.sqrt(b1 * b1 + 1) - b1) - r0) / rho, i = function(t) { var x, x1, s = t * S, coshr0 = cosh(r0), u = w0 / (2 * d1) * (coshr0 * (((x = Math.exp(2 * (x = rho * s + r0))) - 1) / (x + 1)) - ((x1 = Math.exp(x1 = r0)) - 1 / x1) / 2); return [ ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / cosh(rho * s + r0) ]; }; } return i.duration = 1000 * S, i; }; }, "../../../node_modules/d3-path/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _path_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-path/src/path.js"); __webpack_require__.d(__webpack_exports__, "path", function() { return _path_js__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../../node_modules/d3-path/src/path.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var pi = Math.PI, tau = 2 * pi, tauEpsilon = tau - 1e-6; function Path() { this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = ""; } function path() { return new Path; } Path.prototype = path.prototype = { constructor: Path, moveTo: function(x, y) { this._ += "M" + (this._x0 = this._x1 = +x) + "," + (this._y0 = this._y1 = +y); }, closePath: function() { null !== this._x1 && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z"); }, lineTo: function(x, y) { this._ += "L" + (this._x1 = +x) + "," + (this._y1 = +y); }, quadraticCurveTo: function(x1, y1, x, y) { this._ += "Q" + +x1 + "," + +y1 + "," + (this._x1 = +x) + "," + (this._y1 = +y); }, bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._ += "C" + +x1 + "," + +y1 + "," + +x2 + "," + +y2 + "," + (this._x1 = +x) + "," + (this._y1 = +y); }, arcTo: function(x1, y1, x2, y2, r) { x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r; var x0 = this._x1, y0 = this._y1, x21 = x2 - x1, y21 = y2 - y1, x01 = x0 - x1, y01 = y0 - y1, l01_2 = x01 * x01 + y01 * y01; if (r < 0) throw Error("negative radius: " + r); if (null === this._x1) this._ += "M" + (this._x1 = x1) + "," + (this._y1 = y1); else if (l01_2 > 1e-6) { if (Math.abs(y01 * x21 - y21 * x01) > 1e-6 && r) { var x20 = x2 - x0, y20 = y2 - y0, l21_2 = x21 * x21 + y21 * y21, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - (x20 * x20 + y20 * y20)) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21; Math.abs(t01 - 1) > 1e-6 && (this._ += "L" + (x1 + t01 * x01) + "," + (y1 + t01 * y01)), this._ += "A" + r + "," + r + ",0,0," + +(y01 * x20 > x01 * y20) + "," + (this._x1 = x1 + t21 * x21) + "," + (this._y1 = y1 + t21 * y21); } else this._ += "L" + (this._x1 = x1) + "," + (this._y1 = y1); } }, arc: function(x, y, r, a0, a1, ccw) { x = +x, y = +y, r = +r, ccw = !!ccw; var dx = r * Math.cos(a0), dy = r * Math.sin(a0), x0 = x + dx, y0 = y + dy, cw = 1 ^ ccw, da = ccw ? a0 - a1 : a1 - a0; if (r < 0) throw Error("negative radius: " + r); null === this._x1 ? this._ += "M" + x0 + "," + y0 : (Math.abs(this._x1 - x0) > 1e-6 || Math.abs(this._y1 - y0) > 1e-6) && (this._ += "L" + x0 + "," + y0), r && (da < 0 && (da = da % tau + tau), da > tauEpsilon ? this._ += "A" + r + "," + r + ",0,1," + cw + "," + (x - dx) + "," + (y - dy) + "A" + r + "," + r + ",0,1," + cw + "," + (this._x1 = x0) + "," + (this._y1 = y0) : da > 1e-6 && (this._ += "A" + r + "," + r + ",0," + +(da >= pi) + "," + cw + "," + (this._x1 = x + r * Math.cos(a1)) + "," + (this._y1 = y + r * Math.sin(a1)))); }, rect: function(x, y, w, h) { this._ += "M" + (this._x0 = this._x1 = +x) + "," + (this._y0 = this._y1 = +y) + "h" + +w + "v" + +h + "h" + -w + "Z"; }, toString: function() { return this._; } }, __webpack_exports__.default = path; }, "../../../node_modules/d3-scale/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _src_band__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/band.js"); __webpack_require__.d(__webpack_exports__, "scaleBand", function() { return _src_band__WEBPACK_IMPORTED_MODULE_0__.default; }), __webpack_require__.d(__webpack_exports__, "scalePoint", function() { return _src_band__WEBPACK_IMPORTED_MODULE_0__.point; }); var _src_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/identity.js"); __webpack_require__.d(__webpack_exports__, "scaleIdentity", function() { return _src_identity__WEBPACK_IMPORTED_MODULE_1__.default; }); var _src_linear__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/linear.js"); __webpack_require__.d(__webpack_exports__, "scaleLinear", function() { return _src_linear__WEBPACK_IMPORTED_MODULE_2__.default; }); var _src_log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-scale/src/log.js"); __webpack_require__.d(__webpack_exports__, "scaleLog", function() { return _src_log__WEBPACK_IMPORTED_MODULE_3__.default; }); var _src_ordinal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-scale/src/ordinal.js"); __webpack_require__.d(__webpack_exports__, "scaleOrdinal", function() { return _src_ordinal__WEBPACK_IMPORTED_MODULE_4__.default; }), __webpack_require__.d(__webpack_exports__, "scaleImplicit", function() { return _src_ordinal__WEBPACK_IMPORTED_MODULE_4__.implicit; }); var _src_pow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-scale/src/pow.js"); __webpack_require__.d(__webpack_exports__, "scalePow", function() { return _src_pow__WEBPACK_IMPORTED_MODULE_5__.default; }), __webpack_require__.d(__webpack_exports__, "scaleSqrt", function() { return _src_pow__WEBPACK_IMPORTED_MODULE_5__.sqrt; }); var _src_quantile__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-scale/src/quantile.js"); __webpack_require__.d(__webpack_exports__, "scaleQuantile", function() { return _src_quantile__WEBPACK_IMPORTED_MODULE_6__.default; }); var _src_quantize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-scale/src/quantize.js"); __webpack_require__.d(__webpack_exports__, "scaleQuantize", function() { return _src_quantize__WEBPACK_IMPORTED_MODULE_7__.default; }); var _src_threshold__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-scale/src/threshold.js"); __webpack_require__.d(__webpack_exports__, "scaleThreshold", function() { return _src_threshold__WEBPACK_IMPORTED_MODULE_8__.default; }); var _src_time__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-scale/src/time.js"); __webpack_require__.d(__webpack_exports__, "scaleTime", function() { return _src_time__WEBPACK_IMPORTED_MODULE_9__.default; }); var _src_utcTime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/d3-scale/src/utcTime.js"); __webpack_require__.d(__webpack_exports__, "scaleUtc", function() { return _src_utcTime__WEBPACK_IMPORTED_MODULE_10__.default; }); var _src_category10__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/d3-scale/src/category10.js"); __webpack_require__.d(__webpack_exports__, "schemeCategory10", function() { return _src_category10__WEBPACK_IMPORTED_MODULE_11__.default; }); var _src_category20b__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../../node_modules/d3-scale/src/category20b.js"); __webpack_require__.d(__webpack_exports__, "schemeCategory20b", function() { return _src_category20b__WEBPACK_IMPORTED_MODULE_12__.default; }); var _src_category20c__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../../node_modules/d3-scale/src/category20c.js"); __webpack_require__.d(__webpack_exports__, "schemeCategory20c", function() { return _src_category20c__WEBPACK_IMPORTED_MODULE_13__.default; }); var _src_category20__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../../node_modules/d3-scale/src/category20.js"); __webpack_require__.d(__webpack_exports__, "schemeCategory20", function() { return _src_category20__WEBPACK_IMPORTED_MODULE_14__.default; }); var _src_cubehelix__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../../node_modules/d3-scale/src/cubehelix.js"); __webpack_require__.d(__webpack_exports__, "interpolateCubehelixDefault", function() { return _src_cubehelix__WEBPACK_IMPORTED_MODULE_15__.default; }); var _src_rainbow__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../../node_modules/d3-scale/src/rainbow.js"); __webpack_require__.d(__webpack_exports__, "interpolateRainbow", function() { return _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.default; }), __webpack_require__.d(__webpack_exports__, "interpolateWarm", function() { return _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.warm; }), __webpack_require__.d(__webpack_exports__, "interpolateCool", function() { return _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.cool; }); var _src_viridis__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../../node_modules/d3-scale/src/viridis.js"); __webpack_require__.d(__webpack_exports__, "interpolateViridis", function() { return _src_viridis__WEBPACK_IMPORTED_MODULE_17__.default; }), __webpack_require__.d(__webpack_exports__, "interpolateMagma", function() { return _src_viridis__WEBPACK_IMPORTED_MODULE_17__.magma; }), __webpack_require__.d(__webpack_exports__, "interpolateInferno", function() { return _src_viridis__WEBPACK_IMPORTED_MODULE_17__.inferno; }), __webpack_require__.d(__webpack_exports__, "interpolatePlasma", function() { return _src_viridis__WEBPACK_IMPORTED_MODULE_17__.plasma; }); var _src_sequential__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../../node_modules/d3-scale/src/sequential.js"); __webpack_require__.d(__webpack_exports__, "scaleSequential", function() { return _src_sequential__WEBPACK_IMPORTED_MODULE_18__.default; }); }, "../../../node_modules/d3-scale/src/array.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "map", function() { return map; }), __webpack_require__.d(__webpack_exports__, "slice", function() { return slice; }); var array = Array.prototype, map = array.map, slice = array.slice; }, "../../../node_modules/d3-scale/src/band.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return band; }), __webpack_require__.d(__webpack_exports__, "point", function() { return point; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), _ordinal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/ordinal.js"); function band() { var step, bandwidth, scale = Object(_ordinal__WEBPACK_IMPORTED_MODULE_1__.default)().unknown(void 0), domain = scale.domain, ordinalRange = scale.range, range = [ 0, 1 ], round = !1, paddingInner = 0, paddingOuter = 0, align = 0.5; function rescale() { var n = domain().length, reverse = range[1] < range[0], start = range[reverse - 0], stop = range[1 - reverse]; step = (stop - start) / Math.max(1, n - paddingInner + 2 * paddingOuter), round && (step = Math.floor(step)), start += (stop - start - step * (n - paddingInner)) * align, bandwidth = step * (1 - paddingInner), round && (start = Math.round(start), bandwidth = Math.round(bandwidth)); var values = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.range)(n).map(function(i) { return start + step * i; }); return ordinalRange(reverse ? values.reverse() : values); } return delete scale.unknown, scale.domain = function(_) { return arguments.length ? (domain(_), rescale()) : domain(); }, scale.range = function(_) { return arguments.length ? (range = [ +_[0], +_[1] ], rescale()) : range.slice(); }, scale.rangeRound = function(_) { return range = [ +_[0], +_[1] ], round = !0, rescale(); }, scale.bandwidth = function() { return bandwidth; }, scale.step = function() { return step; }, scale.round = function(_) { return arguments.length ? (round = !!_, rescale()) : round; }, scale.padding = function(_) { return arguments.length ? (paddingInner = paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingInner; }, scale.paddingInner = function(_) { return arguments.length ? (paddingInner = Math.max(0, Math.min(1, _)), rescale()) : paddingInner; }, scale.paddingOuter = function(_) { return arguments.length ? (paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingOuter; }, scale.align = function(_) { return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align; }, scale.copy = function() { return band().domain(domain()).range(range).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align); }, rescale(); } function point() { return function pointish(scale) { var copy = scale.copy; return scale.padding = scale.paddingOuter, delete scale.paddingInner, delete scale.paddingOuter, scale.copy = function() { return pointish(copy()); }, scale; }(band().paddingInner(1)); } }, "../../../node_modules/d3-scale/src/category10.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/colors.js"); __webpack_exports__.default = Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"); }, "../../../node_modules/d3-scale/src/category20.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/colors.js"); __webpack_exports__.default = Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"); }, "../../../node_modules/d3-scale/src/category20b.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/colors.js"); __webpack_exports__.default = Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"); }, "../../../node_modules/d3-scale/src/category20c.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/colors.js"); __webpack_exports__.default = Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"); }, "../../../node_modules/d3-scale/src/colors.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(s) { return s.match(/.{6}/g).map(function(x) { return "#" + x; }); }; }, "../../../node_modules/d3-scale/src/constant.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return function() { return x; }; }; }, "../../../node_modules/d3-scale/src/continuous.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "deinterpolateLinear", function() { return deinterpolateLinear; }), __webpack_require__.d(__webpack_exports__, "copy", function() { return copy; }), __webpack_require__.d(__webpack_exports__, "default", function() { return continuous; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/index.js"), _array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"), _constant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-scale/src/constant.js"), _number__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-scale/src/number.js"), unit = [ 0, 1 ]; function deinterpolateLinear(a, b) { return (b -= a = +a) ? function(x) { return (x - a) / b; } : Object(_constant__WEBPACK_IMPORTED_MODULE_3__.default)(b); } function bimap(domain, range, deinterpolate, reinterpolate) { var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1]; return d1 < d0 ? (d0 = deinterpolate(d1, d0), r0 = reinterpolate(r1, r0)) : (d0 = deinterpolate(d0, d1), r0 = reinterpolate(r0, r1)), function(x) { return r0(d0(x)); }; } function polymap(domain, range, deinterpolate, reinterpolate) { var j = Math.min(domain.length, range.length) - 1, d = Array(j), r = Array(j), i = -1; for(domain[j] < domain[0] && (domain = domain.slice().reverse(), range = range.slice().reverse()); ++i < j;)d[i] = deinterpolate(domain[i], domain[i + 1]), r[i] = reinterpolate(range[i], range[i + 1]); return function(x) { var i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.bisect)(domain, x, 1, j) - 1; return r[i](d[i](x)); }; } function copy(source, target) { return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()); } function continuous(deinterpolate, reinterpolate) { var piecewise, output, input, domain = unit, range = unit, interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolate, clamp = !1; function rescale() { return piecewise = Math.min(domain.length, range.length) > 2 ? polymap : bimap, output = input = null, scale; } function scale(x) { var deinterpolate1; return (output || (output = piecewise(domain, range, clamp ? function(a, b) { var d = deinterpolate(a = +a, b = +b); return function(x) { return x <= a ? 0 : x >= b ? 1 : d(x); }; } : deinterpolate, interpolate)))(+x); } return scale.invert = function(y) { var reinterpolate1; return (input || (input = piecewise(range, domain, deinterpolateLinear, clamp ? function(a, b) { var r = reinterpolate(a = +a, b = +b); return function(t) { return t <= 0 ? a : t >= 1 ? b : r(t); }; } : reinterpolate)))(+y); }, scale.domain = function(_) { return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_2__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_4__.default), rescale()) : domain.slice(); }, scale.range = function(_) { return arguments.length ? (range = _array__WEBPACK_IMPORTED_MODULE_2__.slice.call(_), rescale()) : range.slice(); }, scale.rangeRound = function(_) { return range = _array__WEBPACK_IMPORTED_MODULE_2__.slice.call(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateRound, rescale(); }, scale.clamp = function(_) { return arguments.length ? (clamp = !!_, rescale()) : clamp; }, scale.interpolate = function(_) { return arguments.length ? (interpolate = _, rescale()) : interpolate; }, rescale(); } }, "../../../node_modules/d3-scale/src/cubehelix.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/index.js"); __webpack_exports__.default = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateCubehelixLong)(Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(300, 0.5, 0.0), Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(-240, 0.5, 1.0)); }, "../../../node_modules/d3-scale/src/identity.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function identity() { var domain = [ 0, 1 ]; function scale(x) { return +x; } return scale.invert = scale, scale.domain = scale.range = function(_) { return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_2__.default), scale) : domain.slice(); }, scale.copy = function() { return identity().domain(domain); }, Object(_linear__WEBPACK_IMPORTED_MODULE_1__.linearish)(scale); }; }); var _array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"), _linear__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/linear.js"), _number__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/number.js"); }, "../../../node_modules/d3-scale/src/linear.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "linearish", function() { return linearish; }), __webpack_require__.d(__webpack_exports__, "default", function() { return function linear() { var scale = Object(_continuous__WEBPACK_IMPORTED_MODULE_2__.default)(_continuous__WEBPACK_IMPORTED_MODULE_2__.deinterpolateLinear, d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateNumber); return scale.copy = function() { return Object(_continuous__WEBPACK_IMPORTED_MODULE_2__.copy)(scale, linear()); }, linearish(scale); }; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/index.js"), _continuous__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/continuous.js"), _tickFormat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-scale/src/tickFormat.js"); function linearish(scale) { var domain = scale.domain; return scale.ticks = function(count) { var d = domain(); return Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.ticks)(d[0], d[d.length - 1], null == count ? 10 : count); }, scale.tickFormat = function(count, specifier) { return Object(_tickFormat__WEBPACK_IMPORTED_MODULE_3__.default)(domain(), count, specifier); }, scale.nice = function(count) { null == count && (count = 10); var step, d = domain(), i0 = 0, i1 = d.length - 1, start = d[i0], stop = d[i1]; return stop < start && (step = start, start = stop, stop = step, step = i0, i0 = i1, i1 = step), (step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.tickIncrement)(start, stop, count)) > 0 ? (start = Math.floor(start / step) * step, stop = Math.ceil(stop / step) * step, step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.tickIncrement)(start, stop, count)) : step < 0 && (start = Math.ceil(start * step) / step, stop = Math.floor(stop * step) / step, step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.tickIncrement)(start, stop, count)), step > 0 ? (d[i0] = Math.floor(start / step) * step, d[i1] = Math.ceil(stop / step) * step, domain(d)) : step < 0 && (d[i0] = Math.ceil(start * step) / step, d[i1] = Math.floor(stop * step) / step, domain(d)), scale; }, scale; } }, "../../../node_modules/d3-scale/src/log.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function log() { var scale = Object(_continuous__WEBPACK_IMPORTED_MODULE_4__.default)(deinterpolate, reinterpolate).domain([ 1, 10 ]), domain = scale.domain, base = 10, logs = logp(10), pows = powp(10); function rescale() { return logs = logp(base), pows = powp(base), domain()[0] < 0 && (logs = reflect(logs), pows = reflect(pows)), scale; } return scale.base = function(_) { return arguments.length ? (base = +_, rescale()) : base; }, scale.domain = function(_) { return arguments.length ? (domain(_), rescale()) : domain(); }, scale.ticks = function(count) { var r, d = domain(), u = d[0], v = d[d.length - 1]; (r = v < u) && (i = u, u = v, v = i); var p, k, t, i = logs(u), j = logs(v), n = null == count ? 10 : +count, z = []; if (!(base % 1) && j - i < n) { if (i = Math.round(i) - 1, j = Math.round(j) + 1, u > 0) { for(; i < j; ++i)for(k = 1, p = pows(i); k < base; ++k)if (!((t = p * k) < u)) { if (t > v) break; z.push(t); } } else for(; i < j; ++i)for(k = base - 1, p = pows(i); k >= 1; --k)if (!((t = p * k) < u)) { if (t > v) break; z.push(t); } } else z = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.ticks)(i, j, Math.min(j - i, n)).map(pows); return r ? z.reverse() : z; }, scale.tickFormat = function(count, specifier) { if (null == specifier && (specifier = 10 === base ? ".0e" : ","), "function" != typeof specifier && (specifier = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.format)(specifier)), count === 1 / 0) return specifier; null == count && (count = 10); var k = Math.max(1, base * count / scale.ticks().length); return function(d) { var i = d / pows(Math.round(logs(d))); return i * base < base - 0.5 && (i *= base), i <= k ? specifier(d) : ""; }; }, scale.nice = function() { return domain(Object(_nice__WEBPACK_IMPORTED_MODULE_3__.default)(domain(), { floor: function(x) { return pows(Math.floor(logs(x))); }, ceil: function(x) { return pows(Math.ceil(logs(x))); } })); }, scale.copy = function() { return Object(_continuous__WEBPACK_IMPORTED_MODULE_4__.copy)(scale, log().base(base)); }, scale; }; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-format/src/index.js"), _constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/constant.js"), _nice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-scale/src/nice.js"), _continuous__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-scale/src/continuous.js"); function deinterpolate(a, b) { return (b = Math.log(b / a)) ? function(x) { return Math.log(x / a) / b; } : Object(_constant__WEBPACK_IMPORTED_MODULE_2__.default)(b); } function reinterpolate(a, b) { return a < 0 ? function(t) { return -Math.pow(-b, t) * Math.pow(-a, 1 - t); } : function(t) { return Math.pow(b, t) * Math.pow(a, 1 - t); }; } function pow10(x) { return isFinite(x) ? +("1e" + x) : x < 0 ? 0 : x; } function powp(base) { return 10 === base ? pow10 : base === Math.E ? Math.exp : function(x) { return Math.pow(base, x); }; } function logp(base) { return base === Math.E ? Math.log : 10 === base && Math.log10 || 2 === base && Math.log2 || (base = Math.log(base), function(x) { return Math.log(x) / base; }); } function reflect(f) { return function(x) { return -f(-x); }; } }, "../../../node_modules/d3-scale/src/nice.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(domain, interval) { domain = domain.slice(); var t, i0 = 0, i1 = domain.length - 1, x0 = domain[i0], x1 = domain[i1]; return x1 < x0 && (t = i0, i0 = i1, i1 = t, t = x0, x0 = x1, x1 = t), domain[i0] = interval.floor(x0), domain[i1] = interval.ceil(x1), domain; }; }, "../../../node_modules/d3-scale/src/number.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return +x; }; }, "../../../node_modules/d3-scale/src/ordinal.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "implicit", function() { return implicit; }), __webpack_require__.d(__webpack_exports__, "default", function() { return function ordinal(range) { var index = Object(d3_collection__WEBPACK_IMPORTED_MODULE_0__.map)(), domain = [], unknown = implicit; function scale(d) { var key = d + "", i = index.get(key); if (!i) { if (unknown !== implicit) return unknown; index.set(key, i = domain.push(d)); } return range[(i - 1) % range.length]; } return range = null == range ? [] : _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(range), scale.domain = function(_) { if (!arguments.length) return domain.slice(); domain = [], index = Object(d3_collection__WEBPACK_IMPORTED_MODULE_0__.map)(); for(var d, key, i = -1, n = _.length; ++i < n;)index.has(key = (d = _[i]) + "") || index.set(key, domain.push(d)); return scale; }, scale.range = function(_) { return arguments.length ? (range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), scale) : range.slice(); }, scale.unknown = function(_) { return arguments.length ? (unknown = _, scale) : unknown; }, scale.copy = function() { return ordinal().domain(domain).range(range).unknown(unknown); }, scale; }; }); var d3_collection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-collection/src/index.js"), _array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"), implicit = { name: "implicit" }; }, "../../../node_modules/d3-scale/src/pow.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return pow; }), __webpack_require__.d(__webpack_exports__, "sqrt", function() { return sqrt; }); var _constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/constant.js"), _linear__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/linear.js"), _continuous__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/continuous.js"); function raise(x, exponent) { return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent); } function pow() { var exponent = 1, scale = Object(_continuous__WEBPACK_IMPORTED_MODULE_2__.default)(function(a, b) { return (b = raise(b, exponent) - (a = raise(a, exponent))) ? function(x) { return (raise(x, exponent) - a) / b; } : Object(_constant__WEBPACK_IMPORTED_MODULE_0__.default)(b); }, function(a, b) { return b = raise(b, exponent) - (a = raise(a, exponent)), function(t) { return raise(a + b * t, 1 / exponent); }; }), domain = scale.domain; return scale.exponent = function(_) { return arguments.length ? (exponent = +_, domain(domain())) : exponent; }, scale.copy = function() { return Object(_continuous__WEBPACK_IMPORTED_MODULE_2__.copy)(scale, pow().exponent(exponent)); }, Object(_linear__WEBPACK_IMPORTED_MODULE_1__.linearish)(scale); } function sqrt() { return pow().exponent(0.5); } }, "../../../node_modules/d3-scale/src/quantile.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function quantile() { var domain = [], range = [], thresholds = []; function rescale() { var i = 0, n = Math.max(1, range.length); for(thresholds = Array(n - 1); ++i < n;)thresholds[i - 1] = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.quantile)(domain, i / n); return scale; } function scale(x) { if (!isNaN(x = +x)) return range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.bisect)(thresholds, x)]; } return scale.invertExtent = function(y) { var i = range.indexOf(y); return i < 0 ? [ NaN, NaN ] : [ i > 0 ? thresholds[i - 1] : domain[0], i < thresholds.length ? thresholds[i] : domain[domain.length - 1] ]; }, scale.domain = function(_) { if (!arguments.length) return domain.slice(); domain = []; for(var d, i = 0, n = _.length; i < n; ++i)null == (d = _[i]) || isNaN(d = +d) || domain.push(d); return domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_0__.ascending), rescale(); }, scale.range = function(_) { return arguments.length ? (range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), rescale()) : range.slice(); }, scale.quantiles = function() { return thresholds.slice(); }, scale.copy = function() { return quantile().domain(domain).range(range); }, scale; }; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), _array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"); }, "../../../node_modules/d3-scale/src/quantize.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function quantize() { var x0 = 0, x1 = 1, n = 1, domain = [ 0.5 ], range = [ 0, 1 ]; function scale(x) { if (x <= x) return range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.bisect)(domain, x, 0, n)]; } function rescale() { var i = -1; for(domain = Array(n); ++i < n;)domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1); return scale; } return scale.domain = function(_) { return arguments.length ? (x0 = +_[0], x1 = +_[1], rescale()) : [ x0, x1 ]; }, scale.range = function(_) { return arguments.length ? (n = (range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_)).length - 1, rescale()) : range.slice(); }, scale.invertExtent = function(y) { var i = range.indexOf(y); return i < 0 ? [ NaN, NaN ] : i < 1 ? [ x0, domain[0] ] : i >= n ? [ domain[n - 1], x1 ] : [ domain[i - 1], domain[i] ]; }, scale.copy = function() { return quantize().domain([ x0, x1 ]).range(range); }, Object(_linear__WEBPACK_IMPORTED_MODULE_2__.linearish)(scale); }; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), _array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"), _linear__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-scale/src/linear.js"); }, "../../../node_modules/d3-scale/src/rainbow.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "warm", function() { return warm; }), __webpack_require__.d(__webpack_exports__, "cool", function() { return cool; }); var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-color/src/index.js"), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/index.js"), warm = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateCubehelixLong)(Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(-100, 0.75, 0.35), Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(80, 1.50, 0.8)), cool = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateCubehelixLong)(Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(260, 0.75, 0.35), Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(80, 1.50, 0.8)), rainbow = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__.cubehelix)(); __webpack_exports__.default = function(t) { (t < 0 || t > 1) && (t -= Math.floor(t)); var ts = Math.abs(t - 0.5); return rainbow.h = 360 * t - 100, rainbow.s = 1.5 - 1.5 * ts, rainbow.l = 0.8 - 0.9 * ts, rainbow + ""; }; }, "../../../node_modules/d3-scale/src/sequential.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function sequential(interpolator) { var x0 = 0, x1 = 1, clamp = !1; function scale(x) { var t = (x - x0) / (x1 - x0); return interpolator(clamp ? Math.max(0, Math.min(1, t)) : t); } return scale.domain = function(_) { return arguments.length ? (x0 = +_[0], x1 = +_[1], scale) : [ x0, x1 ]; }, scale.clamp = function(_) { return arguments.length ? (clamp = !!_, scale) : clamp; }, scale.interpolator = function(_) { return arguments.length ? (interpolator = _, scale) : interpolator; }, scale.copy = function() { return sequential(interpolator).domain([ x0, x1 ]).clamp(clamp); }, Object(_linear__WEBPACK_IMPORTED_MODULE_0__.linearish)(scale); }; }); var _linear__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/linear.js"); }, "../../../node_modules/d3-scale/src/threshold.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function threshold() { var domain = [ 0.5 ], range = [ 0, 1 ], n = 1; function scale(x) { if (x <= x) return range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.bisect)(domain, x, 0, n)]; } return scale.domain = function(_) { return arguments.length ? (n = Math.min((domain = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_)).length, range.length - 1), scale) : domain.slice(); }, scale.range = function(_) { return arguments.length ? (range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice(); }, scale.invertExtent = function(y) { var i = range.indexOf(y); return [ domain[i - 1], domain[i] ]; }, scale.copy = function() { return threshold().domain(domain).range(range); }, scale; }; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), _array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"); }, "../../../node_modules/d3-scale/src/tickFormat.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-format/src/index.js"); __webpack_exports__.default = function(domain, count, specifier) { var precision, start = domain[0], stop = domain[domain.length - 1], step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep)(start, stop, null == count ? 10 : count); switch((specifier = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.formatSpecifier)(null == specifier ? ",f" : specifier)).type){ case "s": var value = Math.max(Math.abs(start), Math.abs(stop)); return null != specifier.precision || isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.precisionPrefix)(step, value)) || (specifier.precision = precision), Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.formatPrefix)(specifier, value); case "": case "e": case "g": case "p": case "r": null != specifier.precision || isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.precisionRound)(step, Math.max(Math.abs(start), Math.abs(stop)))) || (specifier.precision = precision - ("e" === specifier.type)); break; case "f": case "%": null != specifier.precision || isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.precisionFixed)(step)) || (specifier.precision = precision - ("%" === specifier.type) * 2); } return Object(d3_format__WEBPACK_IMPORTED_MODULE_1__.format)(specifier); }; }, "../../../node_modules/d3-scale/src/time.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "calendar", function() { return calendar; }); var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-interpolate/src/index.js"), d3_time__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-time/src/index.js"), d3_time_format__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-time-format/src/index.js"), _array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-scale/src/array.js"), _continuous__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-scale/src/continuous.js"), _nice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-scale/src/nice.js"), durationMonth = 2592000000, durationYear = 31536000000; function date(t) { return new Date(t); } function number(t) { return t instanceof Date ? +t : +new Date(+t); } function calendar(year, month, week, day, hour, minute, second, millisecond, format) { var scale = Object(_continuous__WEBPACK_IMPORTED_MODULE_5__.default)(_continuous__WEBPACK_IMPORTED_MODULE_5__.deinterpolateLinear, d3_interpolate__WEBPACK_IMPORTED_MODULE_1__.interpolateNumber), invert = scale.invert, domain = scale.domain, formatMillisecond = format(".%L"), formatSecond = format(":%S"), formatMinute = format("%I:%M"), formatHour = format("%I %p"), formatDay = format("%a %d"), formatWeek = format("%b %d"), formatMonth = format("%B"), formatYear = format("%Y"), tickIntervals = [ [ second, 1, 1000 ], [ second, 5, 5000 ], [ second, 15, 15000 ], [ second, 30, 30000 ], [ minute, 1, 60000 ], [ minute, 5, 300000 ], [ minute, 15, 900000 ], [ minute, 30, 1800000 ], [ hour, 1, 3600000 ], [ hour, 3, 10800000 ], [ hour, 6, 21600000 ], [ hour, 12, 43200000 ], [ day, 1, 86400000 ], [ day, 2, 172800000 ], [ week, 1, 604800000 ], [ month, 1, durationMonth ], [ month, 3, 3 * durationMonth ], [ year, 1, durationYear ] ]; function tickFormat(date) { return (second(date) < date ? formatMillisecond : minute(date) < date ? formatSecond : hour(date) < date ? formatMinute : day(date) < date ? formatHour : month(date) < date ? week(date) < date ? formatDay : formatWeek : year(date) < date ? formatMonth : formatYear)(date); } function tickInterval(interval, start, stop, step) { if (null == interval && (interval = 10), "number" == typeof interval) { var target = Math.abs(stop - start) / interval, i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.bisector)(function(i) { return i[2]; }).right(tickIntervals, target); i === tickIntervals.length ? (step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep)(start / durationYear, stop / durationYear, interval), interval = year) : i ? (step = (i = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i])[1], interval = i[0]) : (step = Math.max(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep)(start, stop, interval), 1), interval = millisecond); } return null == step ? interval : interval.every(step); } return scale.invert = function(y) { return new Date(invert(y)); }, scale.domain = function(_) { return arguments.length ? domain(_array__WEBPACK_IMPORTED_MODULE_4__.map.call(_, number)) : domain().map(date); }, scale.ticks = function(interval, step) { var t, d = domain(), t0 = d[0], t1 = d[d.length - 1], r = t1 < t0; return r && (t = t0, t0 = t1, t1 = t), t = (t = tickInterval(interval, t0, t1, step)) ? t.range(t0, t1 + 1) : [], r ? t.reverse() : t; }, scale.tickFormat = function(count, specifier) { return null == specifier ? tickFormat : format(specifier); }, scale.nice = function(interval, step) { var d = domain(); return (interval = tickInterval(interval, d[0], d[d.length - 1], step)) ? domain(Object(_nice__WEBPACK_IMPORTED_MODULE_6__.default)(d, interval)) : scale; }, scale.copy = function() { return Object(_continuous__WEBPACK_IMPORTED_MODULE_5__.copy)(scale, calendar(year, month, week, day, hour, minute, second, millisecond, format)); }, scale; } __webpack_exports__.default = function() { return calendar(d3_time__WEBPACK_IMPORTED_MODULE_2__.timeYear, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeMonth, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeWeek, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeDay, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeHour, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeMinute, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeSecond, d3_time__WEBPACK_IMPORTED_MODULE_2__.timeMillisecond, d3_time_format__WEBPACK_IMPORTED_MODULE_3__.timeFormat).domain([ new Date(2000, 0, 1), new Date(2000, 0, 2) ]); }; }, "../../../node_modules/d3-scale/src/utcTime.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/time.js"), d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time-format/src/index.js"), d3_time__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-time/src/index.js"); __webpack_exports__.default = function() { return Object(_time__WEBPACK_IMPORTED_MODULE_0__.calendar)(d3_time__WEBPACK_IMPORTED_MODULE_2__.utcYear, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcMonth, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcWeek, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcDay, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcHour, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcMinute, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcSecond, d3_time__WEBPACK_IMPORTED_MODULE_2__.utcMillisecond, d3_time_format__WEBPACK_IMPORTED_MODULE_1__.utcFormat).domain([ Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2) ]); }; }, "../../../node_modules/d3-scale/src/viridis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "magma", function() { return magma; }), __webpack_require__.d(__webpack_exports__, "inferno", function() { return inferno; }), __webpack_require__.d(__webpack_exports__, "plasma", function() { return plasma; }); var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-scale/src/colors.js"); function ramp(range) { var n = range.length; return function(t) { return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))]; }; } __webpack_exports__.default = ramp(Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")); var magma = ramp(Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")), inferno = ramp(Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")), plasma = ramp(Object(_colors__WEBPACK_IMPORTED_MODULE_0__.default)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")); }, "../../../node_modules/d3-shape/src/arc.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-path/src/index.js"), _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/math.js"); function arcInnerRadius(d) { return d.innerRadius; } function arcOuterRadius(d) { return d.outerRadius; } function arcStartAngle(d) { return d.startAngle; } function arcEndAngle(d) { return d.endAngle; } function arcPadAngle(d) { return d && d.padAngle; } function cornerTangents(x0, y0, x1, y1, r1, rc, cw) { var x01 = x0 - x1, y01 = y0 - y1, lo = (cw ? rc : -rc) / Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(x01 * x01 + y01 * y01), ox = lo * y01, oy = -lo * x01, x11 = x0 + ox, y11 = y0 + oy, x10 = x1 + ox, y10 = y1 + oy, x00 = (x11 + x10) / 2, y00 = (y11 + y10) / 2, dx = x10 - x11, dy = y10 - y11, d2 = dx * dx + dy * dy, r = r1 - rc, D = x11 * y10 - x10 * y11, d = (dy < 0 ? -1 : 1) * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(0, r * r * d2 - D * D)), cx0 = (D * dy - dx * d) / d2, cy0 = (-D * dx - dy * d) / d2, cx1 = (D * dy + dx * d) / d2, cy1 = (-D * dx + dy * d) / d2, dx0 = cx0 - x00, dy0 = cy0 - y00, dx1 = cx1 - x00, dy1 = cy1 - y00; return dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1 && (cx0 = cx1, cy0 = cy1), { cx: cx0, cy: cy0, x01: -ox, y01: -oy, x11: cx0 * (r1 / r - 1), y11: cy0 * (r1 / r - 1) }; } __webpack_exports__.default = function() { var innerRadius = arcInnerRadius, outerRadius = arcOuterRadius, cornerRadius = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(0), padRadius = null, startAngle = arcStartAngle, endAngle = arcEndAngle, padAngle = arcPadAngle, context = null; function arc() { var buffer, r, r0 = +innerRadius.apply(this, arguments), r1 = +outerRadius.apply(this, arguments), a0 = startAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_2__.halfPi, a1 = endAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_2__.halfPi, da = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.abs)(a1 - a0), cw = a1 > a0; if (context || (context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__.path)()), r1 < r0 && (r = r1, r1 = r0, r0 = r), r1 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) { if (da > _math_js__WEBPACK_IMPORTED_MODULE_2__.tau - _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) context.moveTo(r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a0), r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a0)), context.arc(0, 0, r1, a0, a1, !cw), r0 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon && (context.moveTo(r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a1), r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a1)), context.arc(0, 0, r0, a1, a0, cw)); else { var t0, t1, a01 = a0, a11 = a1, a00 = a0, a10 = a1, da0 = da, da1 = da, ap = padAngle.apply(this, arguments) / 2, rp = ap > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon && (padRadius ? +padRadius.apply(this, arguments) : Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(r0 * r0 + r1 * r1)), rc = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.min)(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.abs)(r1 - r0) / 2, +cornerRadius.apply(this, arguments)), rc0 = rc, rc1 = rc; if (rp > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) { var p0 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.asin)(rp / r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(ap)), p1 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.asin)(rp / r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(ap)); (da0 -= 2 * p0) > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon ? (p0 *= cw ? 1 : -1, a00 += p0, a10 -= p0) : (da0 = 0, a00 = a10 = (a0 + a1) / 2), (da1 -= 2 * p1) > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon ? (p1 *= cw ? 1 : -1, a01 += p1, a11 -= p1) : (da1 = 0, a01 = a11 = (a0 + a1) / 2); } var x01 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a01), y01 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a01), x10 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a10), y10 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a10); if (rc > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon) { var oc, x11 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a11), y11 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a11), x00 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a00), y00 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a00); if (da < _math_js__WEBPACK_IMPORTED_MODULE_2__.pi && (oc = function(x0, y0, x1, y1, x2, y2, x3, y3) { var x10 = x1 - x0, y10 = y1 - y0, x32 = x3 - x2, y32 = y3 - y2, t = y32 * x10 - x32 * y10; if (!(t * t < _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon)) return t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t, [ x0 + t * x10, y0 + t * y10 ]; }(x01, y01, x00, y00, x11, y11, x10, y10))) { var ax = x01 - oc[0], ay = y01 - oc[1], bx = x11 - oc[0], by = y11 - oc[1], kc = 1 / Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.acos)((ax * bx + ay * by) / (Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(ax * ax + ay * ay) * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(bx * bx + by * by))) / 2), lc = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sqrt)(oc[0] * oc[0] + oc[1] * oc[1]); rc0 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.min)(rc, (r0 - lc) / (kc - 1)), rc1 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.min)(rc, (r1 - lc) / (kc + 1)); } } da1 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon ? rc1 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon ? (t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw), t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw), context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01), rc1 < rc ? context.arc(t0.cx, t0.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.y01, t1.x01), !cw) : (context.arc(t0.cx, t0.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.y11, t0.x11), !cw), context.arc(0, 0, r1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.cy + t0.y11, t0.cx + t0.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.cy + t1.y11, t1.cx + t1.x11), !cw), context.arc(t1.cx, t1.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.y11, t1.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.y01, t1.x01), !cw))) : (context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw)) : context.moveTo(x01, y01), r0 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon && da0 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon ? rc0 > _math_js__WEBPACK_IMPORTED_MODULE_2__.epsilon ? (t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw), t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw), context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01), rc0 < rc ? context.arc(t0.cx, t0.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.y01, t1.x01), !cw) : (context.arc(t0.cx, t0.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.y11, t0.x11), !cw), context.arc(0, 0, r0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t0.cy + t0.y11, t0.cx + t0.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.cy + t1.y11, t1.cx + t1.x11), cw), context.arc(t1.cx, t1.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.y11, t1.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.atan2)(t1.y01, t1.x01), !cw))) : context.arc(0, 0, r0, a10, a00, cw) : context.lineTo(x10, y10); } } else context.moveTo(0, 0); if (context.closePath(), buffer) return context = null, buffer + "" || null; } return arc.centroid = function() { var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2, a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - _math_js__WEBPACK_IMPORTED_MODULE_2__.pi / 2; return [ Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.cos)(a) * r, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__.sin)(a) * r ]; }, arc.innerRadius = function(_) { return arguments.length ? (innerRadius = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : innerRadius; }, arc.outerRadius = function(_) { return arguments.length ? (outerRadius = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : outerRadius; }, arc.cornerRadius = function(_) { return arguments.length ? (cornerRadius = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : cornerRadius; }, arc.padRadius = function(_) { return arguments.length ? (padRadius = null == _ ? null : "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : padRadius; }, arc.startAngle = function(_) { return arguments.length ? (startAngle = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : startAngle; }, arc.endAngle = function(_) { return arguments.length ? (endAngle = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : endAngle; }, arc.padAngle = function(_) { return arguments.length ? (padAngle = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), arc) : padAngle; }, arc.context = function(_) { return arguments.length ? (context = null == _ ? null : _, arc) : context; }, arc; }; }, "../../../node_modules/d3-shape/src/area.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-path/src/index.js"), _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/linear.js"), _line_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/line.js"), _point_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-shape/src/point.js"); __webpack_exports__.default = function() { var x0 = _point_js__WEBPACK_IMPORTED_MODULE_4__.x, x1 = null, y0 = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(0), y1 = _point_js__WEBPACK_IMPORTED_MODULE_4__.y, defined = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(!0), context = null, curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__.default, output = null; function area(data) { var i, j, k, d, buffer, n = data.length, defined0 = !1, x0z = Array(n), y0z = Array(n); for(null == context && (output = curve(buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__.path)())), i = 0; i <= n; ++i){ if (!(i < n && defined(d = data[i], i, data)) === defined0) { if (defined0 = !defined0) j = i, output.areaStart(), output.lineStart(); else { for(output.lineEnd(), output.lineStart(), k = i - 1; k >= j; --k)output.point(x0z[k], y0z[k]); output.lineEnd(), output.areaEnd(); } } defined0 && (x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data), output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i])); } if (buffer) return output = null, buffer + "" || null; } function arealine() { return Object(_line_js__WEBPACK_IMPORTED_MODULE_3__.default)().defined(defined).curve(curve).context(context); } return area.x = function(_) { return arguments.length ? (x0 = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), x1 = null, area) : x0; }, area.x0 = function(_) { return arguments.length ? (x0 = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), area) : x0; }, area.x1 = function(_) { return arguments.length ? (x1 = null == _ ? null : "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), area) : x1; }, area.y = function(_) { return arguments.length ? (y0 = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), y1 = null, area) : y0; }, area.y0 = function(_) { return arguments.length ? (y0 = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), area) : y0; }, area.y1 = function(_) { return arguments.length ? (y1 = null == _ ? null : "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), area) : y1; }, area.lineX0 = area.lineY0 = function() { return arealine().x(x0).y(y0); }, area.lineY1 = function() { return arealine().x(x0).y(y1); }, area.lineX1 = function() { return arealine().x(x1).y(y0); }, area.defined = function(_) { return arguments.length ? (defined = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(!!_), area) : defined; }, area.curve = function(_) { return arguments.length ? (curve = _, null != context && (output = curve(context)), area) : curve; }, area.context = function(_) { return arguments.length ? (null == _ ? context = output = null : output = curve(context = _), area) : context; }, area; }; }, "../../../node_modules/d3-shape/src/areaRadial.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/radial.js"), _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/area.js"), _lineRadial_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/lineRadial.js"); __webpack_exports__.default = function() { var a = Object(_area_js__WEBPACK_IMPORTED_MODULE_1__.default)().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__.curveRadialLinear), c = a.curve, x0 = a.lineX0, x1 = a.lineX1, y0 = a.lineY0, y1 = a.lineY1; return a.angle = a.x, delete a.x, a.startAngle = a.x0, delete a.x0, a.endAngle = a.x1, delete a.x1, a.radius = a.y, delete a.y, a.innerRadius = a.y0, delete a.y0, a.outerRadius = a.y1, delete a.y1, a.lineStartAngle = function() { return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(x0()); }, delete a.lineX0, a.lineEndAngle = function() { return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(x1()); }, delete a.lineX1, a.lineInnerRadius = function() { return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(y0()); }, delete a.lineY0, a.lineOuterRadius = function() { return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__.lineRadial)(y1()); }, delete a.lineY1, a.curve = function(_) { return arguments.length ? c(Object(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__.default)(_)) : c()._curve; }, a; }; }, "../../../node_modules/d3-shape/src/array.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "slice", function() { return slice; }); var slice = Array.prototype.slice; }, "../../../node_modules/d3-shape/src/constant.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return function() { return x; }; }; }, "../../../node_modules/d3-shape/src/curve/basis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function point(that, x, y) { that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6); } function Basis(context) { this._context = context; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "point", function() { return point; }), __webpack_require__.d(__webpack_exports__, "Basis", function() { return Basis; }), Basis.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0; }, lineEnd: function() { switch(this._point){ case 3: point(this, this._x1, this._y1); case 2: this._context.lineTo(this._x1, this._y1); } (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1, this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; case 1: this._point = 2; break; case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); default: point(this, x, y); } this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y; } }, __webpack_exports__.default = function(context) { return new Basis(context); }; }, "../../../node_modules/d3-shape/src/curve/basisClosed.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/noop.js"), _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/basis.js"); function BasisClosed(context) { this._context = context; } BasisClosed.prototype = { areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__.default, areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__.default, lineStart: function() { this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0; }, lineEnd: function() { switch(this._point){ case 1: this._context.moveTo(this._x2, this._y2), this._context.closePath(); break; case 2: this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath(); break; case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4); } }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1, this._x2 = x, this._y2 = y; break; case 1: this._point = 2, this._x3 = x, this._y3 = y; break; case 2: this._point = 3, this._x4 = x, this._y4 = y, this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6); break; default: Object(_basis_js__WEBPACK_IMPORTED_MODULE_1__.point)(this, x, y); } this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y; } }, __webpack_exports__.default = function(context) { return new BasisClosed(context); }; }, "../../../node_modules/d3-shape/src/curve/basisOpen.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/basis.js"); function BasisOpen(context) { this._context = context; } BasisOpen.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0; }, lineEnd: function() { (this._line || 0 !== this._line && 3 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1; break; case 1: this._point = 2; break; case 2: this._point = 3; var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6; this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0); break; case 3: this._point = 4; default: Object(_basis_js__WEBPACK_IMPORTED_MODULE_0__.point)(this, x, y); } this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y; } }, __webpack_exports__.default = function(context) { return new BasisOpen(context); }; }, "../../../node_modules/d3-shape/src/curve/bundle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/basis.js"); function Bundle(context, beta) { this._basis = new _basis_js__WEBPACK_IMPORTED_MODULE_0__.Basis(context), this._beta = beta; } Bundle.prototype = { lineStart: function() { this._x = [], this._y = [], this._basis.lineStart(); }, lineEnd: function() { var x = this._x, y = this._y, j = x.length - 1; if (j > 0) for(var t, x0 = x[0], y0 = y[0], dx = x[j] - x0, dy = y[j] - y0, i = -1; ++i <= j;)t = i / j, this._basis.point(this._beta * x[i] + (1 - this._beta) * (x0 + t * dx), this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)); this._x = this._y = null, this._basis.lineEnd(); }, point: function(x, y) { this._x.push(+x), this._y.push(+y); } }, __webpack_exports__.default = function custom(beta) { function bundle(context) { return 1 === beta ? new _basis_js__WEBPACK_IMPORTED_MODULE_0__.Basis(context) : new Bundle(context, beta); } return bundle.beta = function(beta) { return custom(+beta); }, bundle; }(0.85); }, "../../../node_modules/d3-shape/src/curve/cardinal.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function point(that, x, y) { that._context.bezierCurveTo(that._x1 + that._k * (that._x2 - that._x0), that._y1 + that._k * (that._y2 - that._y0), that._x2 + that._k * (that._x1 - x), that._y2 + that._k * (that._y1 - y), that._x2, that._y2); } function Cardinal(context, tension) { this._context = context, this._k = (1 - tension) / 6; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "point", function() { return point; }), __webpack_require__.d(__webpack_exports__, "Cardinal", function() { return Cardinal; }), Cardinal.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0; }, lineEnd: function() { switch(this._point){ case 2: this._context.lineTo(this._x2, this._y2); break; case 3: point(this, this._x1, this._y1); } (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1, this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; case 1: this._point = 2, this._x1 = x, this._y1 = y; break; case 2: this._point = 3; default: point(this, x, y); } this._x0 = this._x1, this._x1 = this._x2, this._x2 = x, this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; } }, __webpack_exports__.default = function custom(tension) { function cardinal(context) { return new Cardinal(context, tension); } return cardinal.tension = function(tension) { return custom(+tension); }, cardinal; }(0); }, "../../../node_modules/d3-shape/src/curve/cardinalClosed.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "CardinalClosed", function() { return CardinalClosed; }); var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/noop.js"), _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinal.js"); function CardinalClosed(context, tension) { this._context = context, this._k = (1 - tension) / 6; } CardinalClosed.prototype = { areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__.default, areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__.default, lineStart: function() { this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0; }, lineEnd: function() { switch(this._point){ case 1: this._context.moveTo(this._x3, this._y3), this._context.closePath(); break; case 2: this._context.lineTo(this._x3, this._y3), this._context.closePath(); break; case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5); } }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1, this._x3 = x, this._y3 = y; break; case 1: this._point = 2, this._context.moveTo(this._x4 = x, this._y4 = y); break; case 2: this._point = 3, this._x5 = x, this._y5 = y; break; default: Object(_cardinal_js__WEBPACK_IMPORTED_MODULE_1__.point)(this, x, y); } this._x0 = this._x1, this._x1 = this._x2, this._x2 = x, this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; } }, __webpack_exports__.default = function custom(tension) { function cardinal(context) { return new CardinalClosed(context, tension); } return cardinal.tension = function(tension) { return custom(+tension); }, cardinal; }(0); }, "../../../node_modules/d3-shape/src/curve/cardinalOpen.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "CardinalOpen", function() { return CardinalOpen; }); var _cardinal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinal.js"); function CardinalOpen(context, tension) { this._context = context, this._k = (1 - tension) / 6; } CardinalOpen.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0; }, lineEnd: function() { (this._line || 0 !== this._line && 3 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1; break; case 1: this._point = 2; break; case 2: this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break; case 3: this._point = 4; default: Object(_cardinal_js__WEBPACK_IMPORTED_MODULE_0__.point)(this, x, y); } this._x0 = this._x1, this._x1 = this._x2, this._x2 = x, this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; } }, __webpack_exports__.default = function custom(tension) { function cardinal(context) { return new CardinalOpen(context, tension); } return cardinal.tension = function(tension) { return custom(+tension); }, cardinal; }(0); }, "../../../node_modules/d3-shape/src/curve/catmullRom.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "point", function() { return point; }); var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/math.js"), _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinal.js"); function point(that, x, y) { var x1 = that._x1, y1 = that._y1, x2 = that._x2, y2 = that._y2; if (that._l01_a > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a, n = 3 * that._l01_a * (that._l01_a + that._l12_a); x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n, y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n; } if (that._l23_a > _math_js__WEBPACK_IMPORTED_MODULE_0__.epsilon) { var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a, m = 3 * that._l23_a * (that._l23_a + that._l12_a); x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m, y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m; } that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2); } function CatmullRom(context, alpha) { this._context = context, this._alpha = alpha; } CatmullRom.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0; }, lineEnd: function() { switch(this._point){ case 2: this._context.lineTo(this._x2, this._y2); break; case 3: this.point(this._x2, this._y2); } (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { if (x = +x, y = +y, this._point) { var x23 = this._x2 - x, y23 = this._y2 - y; this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)); } switch(this._point){ case 0: this._point = 1, this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; case 1: this._point = 2; break; case 2: this._point = 3; default: point(this, x, y); } this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = x, this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; } }, __webpack_exports__.default = function custom(alpha) { function catmullRom(context) { return alpha ? new CatmullRom(context, alpha) : new _cardinal_js__WEBPACK_IMPORTED_MODULE_1__.Cardinal(context, 0); } return catmullRom.alpha = function(alpha) { return custom(+alpha); }, catmullRom; }(0.5); }, "../../../node_modules/d3-shape/src/curve/catmullRomClosed.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinalClosed.js"), _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/noop.js"), _catmullRom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/catmullRom.js"); function CatmullRomClosed(context, alpha) { this._context = context, this._alpha = alpha; } CatmullRomClosed.prototype = { areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_1__.default, areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_1__.default, lineStart: function() { this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0; }, lineEnd: function() { switch(this._point){ case 1: this._context.moveTo(this._x3, this._y3), this._context.closePath(); break; case 2: this._context.lineTo(this._x3, this._y3), this._context.closePath(); break; case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5); } }, point: function(x, y) { if (x = +x, y = +y, this._point) { var x23 = this._x2 - x, y23 = this._y2 - y; this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)); } switch(this._point){ case 0: this._point = 1, this._x3 = x, this._y3 = y; break; case 1: this._point = 2, this._context.moveTo(this._x4 = x, this._y4 = y); break; case 2: this._point = 3, this._x5 = x, this._y5 = y; break; default: Object(_catmullRom_js__WEBPACK_IMPORTED_MODULE_2__.point)(this, x, y); } this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = x, this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; } }, __webpack_exports__.default = function custom(alpha) { function catmullRom(context) { return alpha ? new CatmullRomClosed(context, alpha) : new _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_0__.CardinalClosed(context, 0); } return catmullRom.alpha = function(alpha) { return custom(+alpha); }, catmullRom; }(0.5); }, "../../../node_modules/d3-shape/src/curve/catmullRomOpen.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinalOpen.js"), _catmullRom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/catmullRom.js"); function CatmullRomOpen(context, alpha) { this._context = context, this._alpha = alpha; } CatmullRomOpen.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0; }, lineEnd: function() { (this._line || 0 !== this._line && 3 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { if (x = +x, y = +y, this._point) { var x23 = this._x2 - x, y23 = this._y2 - y; this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha)); } switch(this._point){ case 0: this._point = 1; break; case 1: this._point = 2; break; case 2: this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break; case 3: this._point = 4; default: Object(_catmullRom_js__WEBPACK_IMPORTED_MODULE_1__.point)(this, x, y); } this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = x, this._y0 = this._y1, this._y1 = this._y2, this._y2 = y; } }, __webpack_exports__.default = function custom(alpha) { function catmullRom(context) { return alpha ? new CatmullRomOpen(context, alpha) : new _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_0__.CardinalOpen(context, 0); } return catmullRom.alpha = function(alpha) { return custom(+alpha); }, catmullRom; }(0.5); }, "../../../node_modules/d3-shape/src/curve/linear.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function Linear(context) { this._context = context; } __webpack_require__.r(__webpack_exports__), Linear.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._point = 0; }, lineEnd: function() { (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1, this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; case 1: this._point = 2; default: this._context.lineTo(x, y); } } }, __webpack_exports__.default = function(context) { return new Linear(context); }; }, "../../../node_modules/d3-shape/src/curve/linearClosed.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/noop.js"); function LinearClosed(context) { this._context = context; } LinearClosed.prototype = { areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__.default, areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__.default, lineStart: function() { this._point = 0; }, lineEnd: function() { this._point && this._context.closePath(); }, point: function(x, y) { x = +x, y = +y, this._point ? this._context.lineTo(x, y) : (this._point = 1, this._context.moveTo(x, y)); } }, __webpack_exports__.default = function(context) { return new LinearClosed(context); }; }, "../../../node_modules/d3-shape/src/curve/monotone.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function sign(x) { return x < 0 ? -1 : 1; } function slope3(that, x2, y2) { var h0 = that._x1 - that._x0, h1 = x2 - that._x1, s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0), s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0); return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs((s0 * h1 + s1 * h0) / (h0 + h1))) || 0; } function slope2(that, t) { var h = that._x1 - that._x0; return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t; } function point(that, t0, t1) { var x0 = that._x0, y0 = that._y0, x1 = that._x1, y1 = that._y1, dx = (x1 - x0) / 3; that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1); } function MonotoneX(context) { this._context = context; } function MonotoneY(context) { this._context = new ReflectContext(context); } function ReflectContext(context) { this._context = context; } function monotoneX(context) { return new MonotoneX(context); } function monotoneY(context) { return new MonotoneY(context); } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "monotoneX", function() { return monotoneX; }), __webpack_require__.d(__webpack_exports__, "monotoneY", function() { return monotoneY; }), MonotoneX.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0; }, lineEnd: function() { switch(this._point){ case 2: this._context.lineTo(this._x1, this._y1); break; case 3: point(this, this._t0, slope2(this, this._t0)); } (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line = 1 - this._line; }, point: function(x, y) { var t1 = NaN; if (y = +y, (x = +x) !== this._x1 || y !== this._y1) { switch(this._point){ case 0: this._point = 1, this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; case 1: this._point = 2; break; case 2: this._point = 3, point(this, slope2(this, t1 = slope3(this, x, y)), t1); break; default: point(this, this._t0, t1 = slope3(this, x, y)); } this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y, this._t0 = t1; } } }, (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) { MonotoneX.prototype.point.call(this, y, x); }, ReflectContext.prototype = { moveTo: function(x, y) { this._context.moveTo(y, x); }, closePath: function() { this._context.closePath(); }, lineTo: function(x, y) { this._context.lineTo(y, x); }, bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); } }; }, "../../../node_modules/d3-shape/src/curve/natural.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function Natural(context) { this._context = context; } function controlPoints(x) { var i, m, n = x.length - 1, a = Array(n), b = Array(n), r = Array(n); for(a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1], i = 1; i < n - 1; ++i)a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1]; for(a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n], i = 1; i < n; ++i)m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1]; for(a[n - 1] = r[n - 1] / b[n - 1], i = n - 2; i >= 0; --i)a[i] = (r[i] - a[i + 1]) / b[i]; for(i = 0, b[n - 1] = (x[n] + a[n - 1]) / 2; i < n - 1; ++i)b[i] = 2 * x[i + 1] - a[i + 1]; return [ a, b ]; } __webpack_require__.r(__webpack_exports__), Natural.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x = [], this._y = []; }, lineEnd: function() { var x = this._x, y = this._y, n = x.length; if (n) { if (this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]), 2 === n) this._context.lineTo(x[1], y[1]); else for(var px = controlPoints(x), py = controlPoints(y), i0 = 0, i1 = 1; i1 < n; ++i0, ++i1)this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]); } (this._line || 0 !== this._line && 1 === n) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null; }, point: function(x, y) { this._x.push(+x), this._y.push(+y); } }, __webpack_exports__.default = function(context) { return new Natural(context); }; }, "../../../node_modules/d3-shape/src/curve/radial.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "curveRadialLinear", function() { return curveRadialLinear; }), __webpack_require__.d(__webpack_exports__, "default", function() { return curveRadial; }); var curveRadialLinear = curveRadial(__webpack_require__("../../../node_modules/d3-shape/src/curve/linear.js").default); function Radial(curve) { this._curve = curve; } function curveRadial(curve) { function radial(context) { return new Radial(curve(context)); } return radial._curve = curve, radial; } Radial.prototype = { areaStart: function() { this._curve.areaStart(); }, areaEnd: function() { this._curve.areaEnd(); }, lineStart: function() { this._curve.lineStart(); }, lineEnd: function() { this._curve.lineEnd(); }, point: function(a, r) { this._curve.point(r * Math.sin(a), -(r * Math.cos(a))); } }; }, "../../../node_modules/d3-shape/src/curve/step.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function Step(context, t) { this._context = context, this._t = t; } function stepBefore(context) { return new Step(context, 0); } function stepAfter(context) { return new Step(context, 1); } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "stepBefore", function() { return stepBefore; }), __webpack_require__.d(__webpack_exports__, "stepAfter", function() { return stepAfter; }), Step.prototype = { areaStart: function() { this._line = 0; }, areaEnd: function() { this._line = NaN; }, lineStart: function() { this._x = this._y = NaN, this._point = 0; }, lineEnd: function() { 0 < this._t && this._t < 1 && 2 === this._point && this._context.lineTo(this._x, this._y), (this._line || 0 !== this._line && 1 === this._point) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line); }, point: function(x, y) { switch(x = +x, y = +y, this._point){ case 0: this._point = 1, this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break; case 1: this._point = 2; default: if (this._t <= 0) this._context.lineTo(this._x, y), this._context.lineTo(x, y); else { var x1 = this._x * (1 - this._t) + x * this._t; this._context.lineTo(x1, this._y), this._context.lineTo(x1, y); } } this._x = x, this._y = y; } }, __webpack_exports__.default = function(context) { return new Step(context, 0.5); }; }, "../../../node_modules/d3-shape/src/descending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN; }; }, "../../../node_modules/d3-shape/src/identity.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(d) { return d; }; }, "../../../node_modules/d3-shape/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _arc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/arc.js"); __webpack_require__.d(__webpack_exports__, "arc", function() { return _arc_js__WEBPACK_IMPORTED_MODULE_0__.default; }); var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/area.js"); __webpack_require__.d(__webpack_exports__, "area", function() { return _area_js__WEBPACK_IMPORTED_MODULE_1__.default; }); var _line_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/line.js"); __webpack_require__.d(__webpack_exports__, "line", function() { return _line_js__WEBPACK_IMPORTED_MODULE_2__.default; }); var _pie_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/pie.js"); __webpack_require__.d(__webpack_exports__, "pie", function() { return _pie_js__WEBPACK_IMPORTED_MODULE_3__.default; }); var _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-shape/src/areaRadial.js"); __webpack_require__.d(__webpack_exports__, "areaRadial", function() { return _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__.default; }), __webpack_require__.d(__webpack_exports__, "radialArea", function() { return _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__.default; }); var _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-shape/src/lineRadial.js"); __webpack_require__.d(__webpack_exports__, "lineRadial", function() { return _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__.default; }), __webpack_require__.d(__webpack_exports__, "radialLine", function() { return _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__.default; }); var _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-shape/src/pointRadial.js"); __webpack_require__.d(__webpack_exports__, "pointRadial", function() { return _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__.default; }); var _link_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-shape/src/link/index.js"); __webpack_require__.d(__webpack_exports__, "linkHorizontal", function() { return _link_index_js__WEBPACK_IMPORTED_MODULE_7__.linkHorizontal; }), __webpack_require__.d(__webpack_exports__, "linkVertical", function() { return _link_index_js__WEBPACK_IMPORTED_MODULE_7__.linkVertical; }), __webpack_require__.d(__webpack_exports__, "linkRadial", function() { return _link_index_js__WEBPACK_IMPORTED_MODULE_7__.linkRadial; }); var _symbol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol.js"); __webpack_require__.d(__webpack_exports__, "symbol", function() { return _symbol_js__WEBPACK_IMPORTED_MODULE_8__.default; }), __webpack_require__.d(__webpack_exports__, "symbols", function() { return _symbol_js__WEBPACK_IMPORTED_MODULE_8__.symbols; }); var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/circle.js"); __webpack_require__.d(__webpack_exports__, "symbolCircle", function() { return _symbol_circle_js__WEBPACK_IMPORTED_MODULE_9__.default; }); var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/cross.js"); __webpack_require__.d(__webpack_exports__, "symbolCross", function() { return _symbol_cross_js__WEBPACK_IMPORTED_MODULE_10__.default; }); var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/diamond.js"); __webpack_require__.d(__webpack_exports__, "symbolDiamond", function() { return _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_11__.default; }); var _symbol_square_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/square.js"); __webpack_require__.d(__webpack_exports__, "symbolSquare", function() { return _symbol_square_js__WEBPACK_IMPORTED_MODULE_12__.default; }); var _symbol_star_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/star.js"); __webpack_require__.d(__webpack_exports__, "symbolStar", function() { return _symbol_star_js__WEBPACK_IMPORTED_MODULE_13__.default; }); var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/triangle.js"); __webpack_require__.d(__webpack_exports__, "symbolTriangle", function() { return _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_14__.default; }); var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/wye.js"); __webpack_require__.d(__webpack_exports__, "symbolWye", function() { return _symbol_wye_js__WEBPACK_IMPORTED_MODULE_15__.default; }); var _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/basisClosed.js"); __webpack_require__.d(__webpack_exports__, "curveBasisClosed", function() { return _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_16__.default; }); var _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/basisOpen.js"); __webpack_require__.d(__webpack_exports__, "curveBasisOpen", function() { return _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_17__.default; }); var _curve_basis_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/basis.js"); __webpack_require__.d(__webpack_exports__, "curveBasis", function() { return _curve_basis_js__WEBPACK_IMPORTED_MODULE_18__.default; }); var _curve_bundle_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/bundle.js"); __webpack_require__.d(__webpack_exports__, "curveBundle", function() { return _curve_bundle_js__WEBPACK_IMPORTED_MODULE_19__.default; }); var _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinalClosed.js"); __webpack_require__.d(__webpack_exports__, "curveCardinalClosed", function() { return _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_20__.default; }); var _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinalOpen.js"); __webpack_require__.d(__webpack_exports__, "curveCardinalOpen", function() { return _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_21__.default; }); var _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/cardinal.js"); __webpack_require__.d(__webpack_exports__, "curveCardinal", function() { return _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_22__.default; }); var _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/catmullRomClosed.js"); __webpack_require__.d(__webpack_exports__, "curveCatmullRomClosed", function() { return _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_23__.default; }); var _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/catmullRomOpen.js"); __webpack_require__.d(__webpack_exports__, "curveCatmullRomOpen", function() { return _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_24__.default; }); var _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/catmullRom.js"); __webpack_require__.d(__webpack_exports__, "curveCatmullRom", function() { return _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_25__.default; }); var _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/linearClosed.js"); __webpack_require__.d(__webpack_exports__, "curveLinearClosed", function() { return _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_26__.default; }); var _curve_linear_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/linear.js"); __webpack_require__.d(__webpack_exports__, "curveLinear", function() { return _curve_linear_js__WEBPACK_IMPORTED_MODULE_27__.default; }); var _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/monotone.js"); __webpack_require__.d(__webpack_exports__, "curveMonotoneX", function() { return _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__.monotoneX; }), __webpack_require__.d(__webpack_exports__, "curveMonotoneY", function() { return _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__.monotoneY; }); var _curve_natural_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/natural.js"); __webpack_require__.d(__webpack_exports__, "curveNatural", function() { return _curve_natural_js__WEBPACK_IMPORTED_MODULE_29__.default; }); var _curve_step_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/step.js"); __webpack_require__.d(__webpack_exports__, "curveStep", function() { return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__.default; }), __webpack_require__.d(__webpack_exports__, "curveStepAfter", function() { return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__.stepAfter; }), __webpack_require__.d(__webpack_exports__, "curveStepBefore", function() { return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__.stepBefore; }); var _stack_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__("../../../node_modules/d3-shape/src/stack.js"); __webpack_require__.d(__webpack_exports__, "stack", function() { return _stack_js__WEBPACK_IMPORTED_MODULE_31__.default; }); var _offset_expand_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/expand.js"); __webpack_require__.d(__webpack_exports__, "stackOffsetExpand", function() { return _offset_expand_js__WEBPACK_IMPORTED_MODULE_32__.default; }); var _offset_diverging_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/diverging.js"); __webpack_require__.d(__webpack_exports__, "stackOffsetDiverging", function() { return _offset_diverging_js__WEBPACK_IMPORTED_MODULE_33__.default; }); var _offset_none_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/none.js"); __webpack_require__.d(__webpack_exports__, "stackOffsetNone", function() { return _offset_none_js__WEBPACK_IMPORTED_MODULE_34__.default; }); var _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/silhouette.js"); __webpack_require__.d(__webpack_exports__, "stackOffsetSilhouette", function() { return _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_35__.default; }); var _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/wiggle.js"); __webpack_require__.d(__webpack_exports__, "stackOffsetWiggle", function() { return _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_36__.default; }); var _order_appearance_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__("../../../node_modules/d3-shape/src/order/appearance.js"); __webpack_require__.d(__webpack_exports__, "stackOrderAppearance", function() { return _order_appearance_js__WEBPACK_IMPORTED_MODULE_37__.default; }); var _order_ascending_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__("../../../node_modules/d3-shape/src/order/ascending.js"); __webpack_require__.d(__webpack_exports__, "stackOrderAscending", function() { return _order_ascending_js__WEBPACK_IMPORTED_MODULE_38__.default; }); var _order_descending_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__("../../../node_modules/d3-shape/src/order/descending.js"); __webpack_require__.d(__webpack_exports__, "stackOrderDescending", function() { return _order_descending_js__WEBPACK_IMPORTED_MODULE_39__.default; }); var _order_insideOut_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__("../../../node_modules/d3-shape/src/order/insideOut.js"); __webpack_require__.d(__webpack_exports__, "stackOrderInsideOut", function() { return _order_insideOut_js__WEBPACK_IMPORTED_MODULE_40__.default; }); var _order_none_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__("../../../node_modules/d3-shape/src/order/none.js"); __webpack_require__.d(__webpack_exports__, "stackOrderNone", function() { return _order_none_js__WEBPACK_IMPORTED_MODULE_41__.default; }); var _order_reverse_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__("../../../node_modules/d3-shape/src/order/reverse.js"); __webpack_require__.d(__webpack_exports__, "stackOrderReverse", function() { return _order_reverse_js__WEBPACK_IMPORTED_MODULE_42__.default; }); }, "../../../node_modules/d3-shape/src/line.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-path/src/index.js"), _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/linear.js"), _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/point.js"); __webpack_exports__.default = function() { var x = _point_js__WEBPACK_IMPORTED_MODULE_3__.x, y = _point_js__WEBPACK_IMPORTED_MODULE_3__.y, defined = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(!0), context = null, curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__.default, output = null; function line(data) { var i, d, buffer, n = data.length, defined0 = !1; for(null == context && (output = curve(buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__.path)())), i = 0; i <= n; ++i)!(i < n && defined(d = data[i], i, data)) === defined0 && ((defined0 = !defined0) ? output.lineStart() : output.lineEnd()), defined0 && output.point(+x(d, i, data), +y(d, i, data)); if (buffer) return output = null, buffer + "" || null; } return line.x = function(_) { return arguments.length ? (x = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), line) : x; }, line.y = function(_) { return arguments.length ? (y = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), line) : y; }, line.defined = function(_) { return arguments.length ? (defined = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(!!_), line) : defined; }, line.curve = function(_) { return arguments.length ? (curve = _, null != context && (output = curve(context)), line) : curve; }, line.context = function(_) { return arguments.length ? (null == _ ? context = output = null : output = curve(context = _), line) : context; }, line; }; }, "../../../node_modules/d3-shape/src/lineRadial.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "lineRadial", function() { return lineRadial; }); var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/curve/radial.js"), _line_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/line.js"); function lineRadial(l) { var c = l.curve; return l.angle = l.x, delete l.x, l.radius = l.y, delete l.y, l.curve = function(_) { return arguments.length ? c(Object(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__.default)(_)) : c()._curve; }, l; } __webpack_exports__.default = function() { return lineRadial(Object(_line_js__WEBPACK_IMPORTED_MODULE_1__.default)().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__.curveRadialLinear)); }; }, "../../../node_modules/d3-shape/src/link/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "linkHorizontal", function() { return linkHorizontal; }), __webpack_require__.d(__webpack_exports__, "linkVertical", function() { return linkVertical; }), __webpack_require__.d(__webpack_exports__, "linkRadial", function() { return linkRadial; }); var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-path/src/index.js"), _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/array.js"), _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/point.js"), _pointRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-shape/src/pointRadial.js"); function linkSource(d) { return d.source; } function linkTarget(d) { return d.target; } function link(curve) { var source = linkSource, target = linkTarget, x = _point_js__WEBPACK_IMPORTED_MODULE_3__.x, y = _point_js__WEBPACK_IMPORTED_MODULE_3__.y, context = null; function link() { var buffer, argv = _array_js__WEBPACK_IMPORTED_MODULE_1__.slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv); if (context || (context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__.path)()), curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv)), buffer) return context = null, buffer + "" || null; } return link.source = function(_) { return arguments.length ? (source = _, link) : source; }, link.target = function(_) { return arguments.length ? (target = _, link) : target; }, link.x = function(_) { return arguments.length ? (x = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__.default)(+_), link) : x; }, link.y = function(_) { return arguments.length ? (y = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__.default)(+_), link) : y; }, link.context = function(_) { return arguments.length ? (context = null == _ ? null : _, link) : context; }, link; } function curveHorizontal(context, x0, y0, x1, y1) { context.moveTo(x0, y0), context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1); } function curveVertical(context, x0, y0, x1, y1) { context.moveTo(x0, y0), context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1); } function curveRadial(context, x0, y0, x1, y1) { var p0 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__.default)(x0, y0), p1 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__.default)(x0, y0 = (y0 + y1) / 2), p2 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__.default)(x1, y0), p3 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__.default)(x1, y1); context.moveTo(p0[0], p0[1]), context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]); } function linkHorizontal() { return link(curveHorizontal); } function linkVertical() { return link(curveVertical); } function linkRadial() { var l = link(curveRadial); return l.angle = l.x, delete l.x, l.radius = l.y, delete l.y, l; } }, "../../../node_modules/d3-shape/src/math.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "abs", function() { return abs; }), __webpack_require__.d(__webpack_exports__, "atan2", function() { return atan2; }), __webpack_require__.d(__webpack_exports__, "cos", function() { return cos; }), __webpack_require__.d(__webpack_exports__, "max", function() { return max; }), __webpack_require__.d(__webpack_exports__, "min", function() { return min; }), __webpack_require__.d(__webpack_exports__, "sin", function() { return sin; }), __webpack_require__.d(__webpack_exports__, "sqrt", function() { return sqrt; }), __webpack_require__.d(__webpack_exports__, "epsilon", function() { return epsilon; }), __webpack_require__.d(__webpack_exports__, "pi", function() { return pi; }), __webpack_require__.d(__webpack_exports__, "halfPi", function() { return halfPi; }), __webpack_require__.d(__webpack_exports__, "tau", function() { return tau; }), __webpack_require__.d(__webpack_exports__, "acos", function() { return acos; }), __webpack_require__.d(__webpack_exports__, "asin", function() { return asin; }); var abs = Math.abs, atan2 = Math.atan2, cos = Math.cos, max = Math.max, min = Math.min, sin = Math.sin, sqrt = Math.sqrt, epsilon = 1e-12, pi = Math.PI, halfPi = pi / 2, tau = 2 * pi; function acos(x) { return x > 1 ? 0 : x < -1 ? pi : Math.acos(x); } function asin(x) { return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x); } }, "../../../node_modules/d3-shape/src/noop.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function() {}; }, "../../../node_modules/d3-shape/src/offset/diverging.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(series, order) { if ((n = series.length) > 0) for(var i, d, dy, yp, yn, n, j = 0, m = series[order[0]].length; j < m; ++j)for(yp = yn = 0, i = 0; i < n; ++i)(dy = (d = series[order[i]][j])[1] - d[0]) > 0 ? (d[0] = yp, d[1] = yp += dy) : dy < 0 ? (d[1] = yn, d[0] = yn += dy) : (d[0] = 0, d[1] = dy); }; }, "../../../node_modules/d3-shape/src/offset/expand.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/none.js"); __webpack_exports__.default = function(series, order) { if ((n = series.length) > 0) { for(var i, n, y, j = 0, m = series[0].length; j < m; ++j){ for(y = i = 0; i < n; ++i)y += series[i][j][1] || 0; if (y) for(i = 0; i < n; ++i)series[i][j][1] /= y; } Object(_none_js__WEBPACK_IMPORTED_MODULE_0__.default)(series, order); } }; }, "../../../node_modules/d3-shape/src/offset/none.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(series, order) { if ((n = series.length) > 1) for(var j, s0, n, i = 1, s1 = series[order[0]], m = s1.length; i < n; ++i)for(s0 = s1, s1 = series[order[i]], j = 0; j < m; ++j)s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1]; }; }, "../../../node_modules/d3-shape/src/offset/silhouette.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/none.js"); __webpack_exports__.default = function(series, order) { if ((n = series.length) > 0) { for(var n, j = 0, s0 = series[order[0]], m = s0.length; j < m; ++j){ for(var i = 0, y = 0; i < n; ++i)y += series[i][j][1] || 0; s0[j][1] += s0[j][0] = -y / 2; } Object(_none_js__WEBPACK_IMPORTED_MODULE_0__.default)(series, order); } }; }, "../../../node_modules/d3-shape/src/offset/wiggle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/none.js"); __webpack_exports__.default = function(series, order) { if ((n = series.length) > 0 && (m = (s0 = series[order[0]]).length) > 0) { for(var s0, m, n, y = 0, j = 1; j < m; ++j){ for(var i = 0, s1 = 0, s2 = 0; i < n; ++i){ for(var si = series[order[i]], sij0 = si[j][1] || 0, s3 = (sij0 - (si[j - 1][1] || 0)) / 2, k = 0; k < i; ++k){ var sk = series[order[k]]; s3 += (sk[j][1] || 0) - (sk[j - 1][1] || 0); } s1 += sij0, s2 += s3 * sij0; } s0[j - 1][1] += s0[j - 1][0] = y, s1 && (y -= s2 / s1); } s0[j - 1][1] += s0[j - 1][0] = y, Object(_none_js__WEBPACK_IMPORTED_MODULE_0__.default)(series, order); } }; }, "../../../node_modules/d3-shape/src/order/appearance.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/order/none.js"); function peak(series) { for(var vi, i = -1, j = 0, n = series.length, vj = -1 / 0; ++i < n;)(vi = +series[i][1]) > vj && (vj = vi, j = i); return j; } __webpack_exports__.default = function(series) { var peaks = series.map(peak); return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__.default)(series).sort(function(a, b) { return peaks[a] - peaks[b]; }); }; }, "../../../node_modules/d3-shape/src/order/ascending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "sum", function() { return sum; }); var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/order/none.js"); function sum(series) { for(var v, s = 0, i = -1, n = series.length; ++i < n;)(v = +series[i][1]) && (s += v); return s; } __webpack_exports__.default = function(series) { var sums = series.map(sum); return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__.default)(series).sort(function(a, b) { return sums[a] - sums[b]; }); }; }, "../../../node_modules/d3-shape/src/order/descending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/order/ascending.js"); __webpack_exports__.default = function(series) { return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default)(series).reverse(); }; }, "../../../node_modules/d3-shape/src/order/insideOut.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _appearance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/order/appearance.js"), _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/order/ascending.js"); __webpack_exports__.default = function(series) { var i, j, n = series.length, sums = series.map(_ascending_js__WEBPACK_IMPORTED_MODULE_1__.sum), order = Object(_appearance_js__WEBPACK_IMPORTED_MODULE_0__.default)(series), top = 0, bottom = 0, tops = [], bottoms = []; for(i = 0; i < n; ++i)j = order[i], top < bottom ? (top += sums[j], tops.push(j)) : (bottom += sums[j], bottoms.push(j)); return bottoms.reverse().concat(tops); }; }, "../../../node_modules/d3-shape/src/order/none.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(series) { for(var n = series.length, o = Array(n); --n >= 0;)o[n] = n; return o; }; }, "../../../node_modules/d3-shape/src/order/reverse.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/order/none.js"); __webpack_exports__.default = function(series) { return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__.default)(series).reverse(); }; }, "../../../node_modules/d3-shape/src/pie.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), _descending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/descending.js"), _identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/identity.js"), _math_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/math.js"); __webpack_exports__.default = function() { var value = _identity_js__WEBPACK_IMPORTED_MODULE_2__.default, sortValues = _descending_js__WEBPACK_IMPORTED_MODULE_1__.default, sort = null, startAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(0), endAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(_math_js__WEBPACK_IMPORTED_MODULE_3__.tau), padAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(0); function pie(data) { var i, j, k, a1, v, n = data.length, sum = 0, index = Array(n), arcs = Array(n), a0 = +startAngle.apply(this, arguments), da = Math.min(_math_js__WEBPACK_IMPORTED_MODULE_3__.tau, Math.max(-_math_js__WEBPACK_IMPORTED_MODULE_3__.tau, endAngle.apply(this, arguments) - a0)), p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)), pa = p * (da < 0 ? -1 : 1); for(i = 0; i < n; ++i)(v = arcs[index[i] = i] = +value(data[i], i, data)) > 0 && (sum += v); for(null != sortValues ? index.sort(function(i, j) { return sortValues(arcs[i], arcs[j]); }) : null != sort && index.sort(function(i, j) { return sort(data[i], data[j]); }), i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1)v = arcs[j = index[i]], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = { data: data[j], index: i, value: v, startAngle: a0, endAngle: a1, padAngle: p }; return arcs; } return pie.value = function(_) { return arguments.length ? (value = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(+_), pie) : value; }, pie.sortValues = function(_) { return arguments.length ? (sortValues = _, sort = null, pie) : sortValues; }, pie.sort = function(_) { return arguments.length ? (sort = _, sortValues = null, pie) : sort; }, pie.startAngle = function(_) { return arguments.length ? (startAngle = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(+_), pie) : startAngle; }, pie.endAngle = function(_) { return arguments.length ? (endAngle = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(+_), pie) : endAngle; }, pie.padAngle = function(_) { return arguments.length ? (padAngle = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__.default)(+_), pie) : padAngle; }, pie; }; }, "../../../node_modules/d3-shape/src/point.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function x(p) { return p[0]; } function y(p) { return p[1]; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "x", function() { return x; }), __webpack_require__.d(__webpack_exports__, "y", function() { return y; }); }, "../../../node_modules/d3-shape/src/pointRadial.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x, y) { return [ (y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x) ]; }; }, "../../../node_modules/d3-shape/src/stack.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/array.js"), _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), _offset_none_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/offset/none.js"), _order_none_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/order/none.js"); function stackValue(d, key) { return d[key]; } __webpack_exports__.default = function() { var keys = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)([]), order = _order_none_js__WEBPACK_IMPORTED_MODULE_3__.default, offset = _offset_none_js__WEBPACK_IMPORTED_MODULE_2__.default, value = stackValue; function stack(data) { var i, oz, kz = keys.apply(this, arguments), m = data.length, n = kz.length, sz = Array(n); for(i = 0; i < n; ++i){ for(var sij, ki = kz[i], si = sz[i] = Array(m), j = 0; j < m; ++j)si[j] = sij = [ 0, +value(data[j], ki, j, data) ], sij.data = data[j]; si.key = ki; } for(i = 0, oz = order(sz); i < n; ++i)sz[oz[i]].index = i; return offset(sz, oz), sz; } return stack.keys = function(_) { return arguments.length ? (keys = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(_array_js__WEBPACK_IMPORTED_MODULE_0__.slice.call(_)), stack) : keys; }, stack.value = function(_) { return arguments.length ? (value = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(+_), stack) : value; }, stack.order = function(_) { return arguments.length ? (order = null == _ ? _order_none_js__WEBPACK_IMPORTED_MODULE_3__.default : "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__.default)(_array_js__WEBPACK_IMPORTED_MODULE_0__.slice.call(_)), stack) : order; }, stack.offset = function(_) { return arguments.length ? (offset = null == _ ? _offset_none_js__WEBPACK_IMPORTED_MODULE_2__.default : _, stack) : offset; }, stack; }; }, "../../../node_modules/d3-shape/src/symbol.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "symbols", function() { return symbols; }); var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-path/src/index.js"), _symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/circle.js"), _symbol_cross_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/cross.js"), _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/diamond.js"), _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/star.js"), _symbol_square_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/square.js"), _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/triangle.js"), _symbol_wye_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-shape/src/symbol/wye.js"), _constant_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-shape/src/constant.js"), symbols = [ _symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__.default, _symbol_cross_js__WEBPACK_IMPORTED_MODULE_2__.default, _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_3__.default, _symbol_square_js__WEBPACK_IMPORTED_MODULE_5__.default, _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__.default, _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_6__.default, _symbol_wye_js__WEBPACK_IMPORTED_MODULE_7__.default ]; __webpack_exports__.default = function() { var type = Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__.default)(_symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__.default), size = Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__.default)(64), context = null; function symbol() { var buffer; if (context || (context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__.path)()), type.apply(this, arguments).draw(context, +size.apply(this, arguments)), buffer) return context = null, buffer + "" || null; } return symbol.type = function(_) { return arguments.length ? (type = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__.default)(_), symbol) : type; }, symbol.size = function(_) { return arguments.length ? (size = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__.default)(+_), symbol) : size; }, symbol.context = function(_) { return arguments.length ? (context = null == _ ? null : _, symbol) : context; }, symbol; }; }, "../../../node_modules/d3-shape/src/symbol/circle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/math.js"); __webpack_exports__.default = { draw: function(context, size) { var r = Math.sqrt(size / _math_js__WEBPACK_IMPORTED_MODULE_0__.pi); context.moveTo(r, 0), context.arc(0, 0, r, 0, _math_js__WEBPACK_IMPORTED_MODULE_0__.tau); } }; }, "../../../node_modules/d3-shape/src/symbol/cross.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = { draw: function(context, size) { var r = Math.sqrt(size / 5) / 2; context.moveTo(-3 * r, -r), context.lineTo(-r, -r), context.lineTo(-r, -3 * r), context.lineTo(r, -3 * r), context.lineTo(r, -r), context.lineTo(3 * r, -r), context.lineTo(3 * r, r), context.lineTo(r, r), context.lineTo(r, 3 * r), context.lineTo(-r, 3 * r), context.lineTo(-r, r), context.lineTo(-3 * r, r), context.closePath(); } }; }, "../../../node_modules/d3-shape/src/symbol/diamond.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var tan30 = Math.sqrt(1 / 3), tan30_2 = 2 * tan30; __webpack_exports__.default = { draw: function(context, size) { var y = Math.sqrt(size / tan30_2), x = y * tan30; context.moveTo(0, -y), context.lineTo(x, 0), context.lineTo(0, y), context.lineTo(-x, 0), context.closePath(); } }; }, "../../../node_modules/d3-shape/src/symbol/square.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = { draw: function(context, size) { var w = Math.sqrt(size), x = -w / 2; context.rect(x, x, w, w); } }; }, "../../../node_modules/d3-shape/src/symbol/star.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/math.js"), kr = Math.sin(_math_js__WEBPACK_IMPORTED_MODULE_0__.pi / 10) / Math.sin(7 * _math_js__WEBPACK_IMPORTED_MODULE_0__.pi / 10), kx = Math.sin(_math_js__WEBPACK_IMPORTED_MODULE_0__.tau / 10) * kr, ky = -Math.cos(_math_js__WEBPACK_IMPORTED_MODULE_0__.tau / 10) * kr; __webpack_exports__.default = { draw: function(context, size) { var r = Math.sqrt(0.89081309152928522810 * size), x = kx * r, y = ky * r; context.moveTo(0, -r), context.lineTo(x, y); for(var i = 1; i < 5; ++i){ var a = _math_js__WEBPACK_IMPORTED_MODULE_0__.tau * i / 5, c = Math.cos(a), s = Math.sin(a); context.lineTo(s * r, -c * r), context.lineTo(c * x - s * y, s * x + c * y); } context.closePath(); } }; }, "../../../node_modules/d3-shape/src/symbol/triangle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var sqrt3 = Math.sqrt(3); __webpack_exports__.default = { draw: function(context, size) { var y = -Math.sqrt(size / (3 * sqrt3)); context.moveTo(0, 2 * y), context.lineTo(-sqrt3 * y, -y), context.lineTo(sqrt3 * y, -y), context.closePath(); } }; }, "../../../node_modules/d3-shape/src/symbol/wye.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var s = Math.sqrt(3) / 2, k = 1 / Math.sqrt(12), a = (k / 2 + 1) * 3; __webpack_exports__.default = { draw: function(context, size) { var r = Math.sqrt(size / a), x0 = r / 2, y0 = r * k, y1 = r * k + r, x2 = -x0; context.moveTo(x0, y0), context.lineTo(x0, y1), context.lineTo(x2, y1), context.lineTo(-0.5 * x0 - s * y0, s * x0 + -0.5 * y0), context.lineTo(-0.5 * x0 - s * y1, s * x0 + -0.5 * y1), context.lineTo(-0.5 * x2 - s * y1, s * x2 + -0.5 * y1), context.lineTo(-0.5 * x0 + s * y0, -0.5 * y0 - s * x0), context.lineTo(-0.5 * x0 + s * y1, -0.5 * y1 - s * x0), context.lineTo(-0.5 * x2 + s * y1, -0.5 * y1 - s * x2), context.closePath(); } }; }, "../../../node_modules/d3-time-format/src/defaultLocale.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "timeFormat", function() { return timeFormat; }), __webpack_require__.d(__webpack_exports__, "timeParse", function() { return timeParse; }), __webpack_require__.d(__webpack_exports__, "utcFormat", function() { return utcFormat; }), __webpack_require__.d(__webpack_exports__, "utcParse", function() { return utcParse; }), __webpack_require__.d(__webpack_exports__, "default", function() { return defaultLocale; }); var locale, timeFormat, timeParse, utcFormat, utcParse, _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time-format/src/locale.js"); function defaultLocale(definition) { return timeFormat = (locale = Object(_locale_js__WEBPACK_IMPORTED_MODULE_0__.default)(definition)).format, timeParse = locale.parse, utcFormat = locale.utcFormat, utcParse = locale.utcParse, locale; } defaultLocale({ dateTime: "%x, %X", date: "%-m/%-d/%Y", time: "%-I:%M:%S %p", periods: [ "AM", "PM" ], days: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], shortDays: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], months: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], shortMonths: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ] }); }, "../../../node_modules/d3-time-format/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time-format/src/defaultLocale.js"); __webpack_require__.d(__webpack_exports__, "timeFormatDefaultLocale", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.default; }), __webpack_require__.d(__webpack_exports__, "timeFormat", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.timeFormat; }), __webpack_require__.d(__webpack_exports__, "timeParse", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.timeParse; }), __webpack_require__.d(__webpack_exports__, "utcFormat", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcFormat; }), __webpack_require__.d(__webpack_exports__, "utcParse", function() { return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcParse; }); var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time-format/src/locale.js"); __webpack_require__.d(__webpack_exports__, "timeFormatLocale", function() { return _locale_js__WEBPACK_IMPORTED_MODULE_1__.default; }); var _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-time-format/src/isoFormat.js"); __webpack_require__.d(__webpack_exports__, "isoFormat", function() { return _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__.default; }); var _isoParse_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-time-format/src/isoParse.js"); __webpack_require__.d(__webpack_exports__, "isoParse", function() { return _isoParse_js__WEBPACK_IMPORTED_MODULE_3__.default; }); }, "../../../node_modules/d3-time-format/src/isoFormat.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "isoSpecifier", function() { return isoSpecifier; }); var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time-format/src/defaultLocale.js"), isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ", formatIso = Date.prototype.toISOString ? function(date) { return date.toISOString(); } : Object(_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__.utcFormat)(isoSpecifier); __webpack_exports__.default = formatIso; }, "../../../node_modules/d3-time-format/src/isoParse.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _isoFormat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time-format/src/isoFormat.js"), _defaultLocale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time-format/src/defaultLocale.js"), parseIso = +new Date("2000-01-01T00:00:00.000Z") ? function(string) { var date = new Date(string); return isNaN(date) ? null : date; } : Object(_defaultLocale_js__WEBPACK_IMPORTED_MODULE_1__.utcParse)(_isoFormat_js__WEBPACK_IMPORTED_MODULE_0__.isoSpecifier); __webpack_exports__.default = parseIso; }, "../../../node_modules/d3-time-format/src/locale.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return formatLocale; }); var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/index.js"); function localDate(d) { if (0 <= d.y && d.y < 100) { var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L); return date.setFullYear(d.y), date; } return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L); } function utcDate(d) { if (0 <= d.y && d.y < 100) { var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L)); return date.setUTCFullYear(d.y), date; } return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L)); } function newDate(y, m, d) { return { y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0 }; } function formatLocale(locale) { var locale_dateTime = locale.dateTime, locale_date = locale.date, locale_time = locale.time, locale_periods = locale.periods, locale_weekdays = locale.days, locale_shortWeekdays = locale.shortDays, locale_months = locale.months, locale_shortMonths = locale.shortMonths, periodRe = formatRe(locale_periods), periodLookup = formatLookup(locale_periods), weekdayRe = formatRe(locale_weekdays), weekdayLookup = formatLookup(locale_weekdays), shortWeekdayRe = formatRe(locale_shortWeekdays), shortWeekdayLookup = formatLookup(locale_shortWeekdays), monthRe = formatRe(locale_months), monthLookup = formatLookup(locale_months), shortMonthRe = formatRe(locale_shortMonths), shortMonthLookup = formatLookup(locale_shortMonths), formats = { a: function(d) { return locale_shortWeekdays[d.getDay()]; }, A: function(d) { return locale_weekdays[d.getDay()]; }, b: function(d) { return locale_shortMonths[d.getMonth()]; }, B: function(d) { return locale_months[d.getMonth()]; }, c: null, d: formatDayOfMonth, e: formatDayOfMonth, f: formatMicroseconds, H: formatHour24, I: formatHour12, j: formatDayOfYear, L: formatMilliseconds, m: formatMonthNumber, M: formatMinutes, p: function(d) { return locale_periods[+(d.getHours() >= 12)]; }, q: function(d) { return 1 + ~~(d.getMonth() / 3); }, Q: formatUnixTimestamp, s: formatUnixTimestampSeconds, S: formatSeconds, u: formatWeekdayNumberMonday, U: formatWeekNumberSunday, V: formatWeekNumberISO, w: formatWeekdayNumberSunday, W: formatWeekNumberMonday, x: null, X: null, y: formatYear, Y: formatFullYear, Z: formatZone, "%": formatLiteralPercent }, utcFormats = { a: function(d) { return locale_shortWeekdays[d.getUTCDay()]; }, A: function(d) { return locale_weekdays[d.getUTCDay()]; }, b: function(d) { return locale_shortMonths[d.getUTCMonth()]; }, B: function(d) { return locale_months[d.getUTCMonth()]; }, c: null, d: formatUTCDayOfMonth, e: formatUTCDayOfMonth, f: formatUTCMicroseconds, H: formatUTCHour24, I: formatUTCHour12, j: formatUTCDayOfYear, L: formatUTCMilliseconds, m: formatUTCMonthNumber, M: formatUTCMinutes, p: function(d) { return locale_periods[+(d.getUTCHours() >= 12)]; }, q: function(d) { return 1 + ~~(d.getUTCMonth() / 3); }, Q: formatUnixTimestamp, s: formatUnixTimestampSeconds, S: formatUTCSeconds, u: formatUTCWeekdayNumberMonday, U: formatUTCWeekNumberSunday, V: formatUTCWeekNumberISO, w: formatUTCWeekdayNumberSunday, W: formatUTCWeekNumberMonday, x: null, X: null, y: formatUTCYear, Y: formatUTCFullYear, Z: formatUTCZone, "%": formatLiteralPercent }, parses = { a: function(d, string, i) { var n = shortWeekdayRe.exec(string.slice(i)); return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1; }, A: function(d, string, i) { var n = weekdayRe.exec(string.slice(i)); return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1; }, b: function(d, string, i) { var n = shortMonthRe.exec(string.slice(i)); return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1; }, B: function(d, string, i) { var n = monthRe.exec(string.slice(i)); return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1; }, c: function(d, string, i) { return parseSpecifier(d, locale_dateTime, string, i); }, d: parseDayOfMonth, e: parseDayOfMonth, f: parseMicroseconds, H: parseHour24, I: parseHour24, j: parseDayOfYear, L: parseMilliseconds, m: parseMonthNumber, M: parseMinutes, p: function(d, string, i) { var n = periodRe.exec(string.slice(i)); return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1; }, q: parseQuarter, Q: parseUnixTimestamp, s: parseUnixTimestampSeconds, S: parseSeconds, u: parseWeekdayNumberMonday, U: parseWeekNumberSunday, V: parseWeekNumberISO, w: parseWeekdayNumberSunday, W: parseWeekNumberMonday, x: function(d, string, i) { return parseSpecifier(d, locale_date, string, i); }, X: function(d, string, i) { return parseSpecifier(d, locale_time, string, i); }, y: parseYear, Y: parseFullYear, Z: parseZone, "%": parseLiteralPercent }; function newFormat(specifier, formats) { return function(date) { var c, pad, format, string = [], i = -1, j = 0, n = specifier.length; for(date instanceof Date || (date = new Date(+date)); ++i < n;)37 === specifier.charCodeAt(i) && (string.push(specifier.slice(j, i)), null != (pad = pads[c = specifier.charAt(++i)]) ? c = specifier.charAt(++i) : pad = "e" === c ? " " : "0", (format = formats[c]) && (c = format(date, pad)), string.push(c), j = i + 1); return string.push(specifier.slice(j, i)), string.join(""); }; } function newParse(specifier, Z) { return function(string) { var week, day, d = newDate(1900, void 0, 1); if (parseSpecifier(d, specifier, string += "", 0) != string.length) return null; if ("Q" in d) return new Date(d.Q); if ("s" in d) return new Date(1000 * d.s + ("L" in d ? d.L : 0)); if (!Z || "Z" in d || (d.Z = 0), "p" in d && (d.H = d.H % 12 + 12 * d.p), void 0 === d.m && (d.m = "q" in d ? d.q : 0), "V" in d) { if (d.V < 1 || d.V > 53) return null; "w" in d || (d.w = 1), "Z" in d ? (week = (day = (week = utcDate(newDate(d.y, 0, 1))).getUTCDay()) > 4 || 0 === day ? d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.ceil(week) : Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday)(week), week = d3_time__WEBPACK_IMPORTED_MODULE_0__.utcDay.offset(week, (d.V - 1) * 7), d.y = week.getUTCFullYear(), d.m = week.getUTCMonth(), d.d = week.getUTCDate() + (d.w + 6) % 7) : (week = (day = (week = localDate(newDate(d.y, 0, 1))).getDay()) > 4 || 0 === day ? d3_time__WEBPACK_IMPORTED_MODULE_0__.timeMonday.ceil(week) : Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeMonday)(week), week = d3_time__WEBPACK_IMPORTED_MODULE_0__.timeDay.offset(week, (d.V - 1) * 7), d.y = week.getFullYear(), d.m = week.getMonth(), d.d = week.getDate() + (d.w + 6) % 7); } else ("W" in d || "U" in d) && ("w" in d || (d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0), day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay(), d.m = 0, d.d = "W" in d ? (d.w + 6) % 7 + 7 * d.W - (day + 5) % 7 : d.w + 7 * d.U - (day + 6) % 7); return "Z" in d ? (d.H += d.Z / 100 | 0, d.M += d.Z % 100, utcDate(d)) : localDate(d); }; } function parseSpecifier(d, specifier, string, j) { for(var c, parse, i = 0, n = specifier.length, m = string.length; i < n;){ if (j >= m) return -1; if (37 === (c = specifier.charCodeAt(i++))) { if (!(parse = parses[(c = specifier.charAt(i++)) in pads ? specifier.charAt(i++) : c]) || (j = parse(d, string, j)) < 0) return -1; } else if (c != string.charCodeAt(j++)) return -1; } return j; } return formats.x = newFormat(locale_date, formats), formats.X = newFormat(locale_time, formats), formats.c = newFormat(locale_dateTime, formats), utcFormats.x = newFormat(locale_date, utcFormats), utcFormats.X = newFormat(locale_time, utcFormats), utcFormats.c = newFormat(locale_dateTime, utcFormats), { format: function(specifier) { var f = newFormat(specifier += "", formats); return f.toString = function() { return specifier; }, f; }, parse: function(specifier) { var p = newParse(specifier += "", !1); return p.toString = function() { return specifier; }, p; }, utcFormat: function(specifier) { var f = newFormat(specifier += "", utcFormats); return f.toString = function() { return specifier; }, f; }, utcParse: function(specifier) { var p = newParse(specifier += "", !0); return p.toString = function() { return specifier; }, p; } }; } var pads = { "-": "", _: " ", 0: "0" }, numberRe = /^\s*\d+/, percentRe = /^%/, requoteRe = /[\\^$*+?|[\]().{}]/g; function pad(value, fill, width) { var sign = value < 0 ? "-" : "", string = (sign ? -value : value) + "", length = string.length; return sign + (length < width ? Array(width - length + 1).join(fill) + string : string); } function requote(s) { return s.replace(requoteRe, "\\$&"); } function formatRe(names) { return RegExp("^(?:" + names.map(requote).join("|") + ")", "i"); } function formatLookup(names) { for(var map = {}, i = -1, n = names.length; ++i < n;)map[names[i].toLowerCase()] = i; return map; } function parseWeekdayNumberSunday(d, string, i) { var n = numberRe.exec(string.slice(i, i + 1)); return n ? (d.w = +n[0], i + n[0].length) : -1; } function parseWeekdayNumberMonday(d, string, i) { var n = numberRe.exec(string.slice(i, i + 1)); return n ? (d.u = +n[0], i + n[0].length) : -1; } function parseWeekNumberSunday(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.U = +n[0], i + n[0].length) : -1; } function parseWeekNumberISO(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.V = +n[0], i + n[0].length) : -1; } function parseWeekNumberMonday(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.W = +n[0], i + n[0].length) : -1; } function parseFullYear(d, string, i) { var n = numberRe.exec(string.slice(i, i + 4)); return n ? (d.y = +n[0], i + n[0].length) : -1; } function parseYear(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1; } function parseZone(d, string, i) { var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6)); return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1; } function parseQuarter(d, string, i) { var n = numberRe.exec(string.slice(i, i + 1)); return n ? (d.q = 3 * n[0] - 3, i + n[0].length) : -1; } function parseMonthNumber(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.m = n[0] - 1, i + n[0].length) : -1; } function parseDayOfMonth(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.d = +n[0], i + n[0].length) : -1; } function parseDayOfYear(d, string, i) { var n = numberRe.exec(string.slice(i, i + 3)); return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1; } function parseHour24(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.H = +n[0], i + n[0].length) : -1; } function parseMinutes(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.M = +n[0], i + n[0].length) : -1; } function parseSeconds(d, string, i) { var n = numberRe.exec(string.slice(i, i + 2)); return n ? (d.S = +n[0], i + n[0].length) : -1; } function parseMilliseconds(d, string, i) { var n = numberRe.exec(string.slice(i, i + 3)); return n ? (d.L = +n[0], i + n[0].length) : -1; } function parseMicroseconds(d, string, i) { var n = numberRe.exec(string.slice(i, i + 6)); return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1; } function parseLiteralPercent(d, string, i) { var n = percentRe.exec(string.slice(i, i + 1)); return n ? i + n[0].length : -1; } function parseUnixTimestamp(d, string, i) { var n = numberRe.exec(string.slice(i)); return n ? (d.Q = +n[0], i + n[0].length) : -1; } function parseUnixTimestampSeconds(d, string, i) { var n = numberRe.exec(string.slice(i)); return n ? (d.s = +n[0], i + n[0].length) : -1; } function formatDayOfMonth(d, p) { return pad(d.getDate(), p, 2); } function formatHour24(d, p) { return pad(d.getHours(), p, 2); } function formatHour12(d, p) { return pad(d.getHours() % 12 || 12, p, 2); } function formatDayOfYear(d, p) { return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_0__.timeDay.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeYear)(d), d), p, 3); } function formatMilliseconds(d, p) { return pad(d.getMilliseconds(), p, 3); } function formatMicroseconds(d, p) { return formatMilliseconds(d, p) + "000"; } function formatMonthNumber(d, p) { return pad(d.getMonth() + 1, p, 2); } function formatMinutes(d, p) { return pad(d.getMinutes(), p, 2); } function formatSeconds(d, p) { return pad(d.getSeconds(), p, 2); } function formatWeekdayNumberMonday(d) { var day = d.getDay(); return 0 === day ? 7 : day; } function formatWeekNumberSunday(d, p) { return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeSunday.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeYear)(d) - 1, d), p, 2); } function formatWeekNumberISO(d, p) { var day = d.getDay(); return d = day >= 4 || 0 === day ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday.ceil(d), pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeThursday.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeYear)(d), d) + (4 === Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeYear)(d).getDay()), p, 2); } function formatWeekdayNumberSunday(d) { return d.getDay(); } function formatWeekNumberMonday(d, p) { return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeMonday.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.timeYear)(d) - 1, d), p, 2); } function formatYear(d, p) { return pad(d.getFullYear() % 100, p, 2); } function formatFullYear(d, p) { return pad(d.getFullYear() % 10000, p, 4); } function formatZone(d) { var z = d.getTimezoneOffset(); return (z > 0 ? "-" : (z *= -1, "+")) + pad(z / 60 | 0, "0", 2) + pad(z % 60, "0", 2); } function formatUTCDayOfMonth(d, p) { return pad(d.getUTCDate(), p, 2); } function formatUTCHour24(d, p) { return pad(d.getUTCHours(), p, 2); } function formatUTCHour12(d, p) { return pad(d.getUTCHours() % 12 || 12, p, 2); } function formatUTCDayOfYear(d, p) { return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_0__.utcDay.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcYear)(d), d), p, 3); } function formatUTCMilliseconds(d, p) { return pad(d.getUTCMilliseconds(), p, 3); } function formatUTCMicroseconds(d, p) { return formatUTCMilliseconds(d, p) + "000"; } function formatUTCMonthNumber(d, p) { return pad(d.getUTCMonth() + 1, p, 2); } function formatUTCMinutes(d, p) { return pad(d.getUTCMinutes(), p, 2); } function formatUTCSeconds(d, p) { return pad(d.getUTCSeconds(), p, 2); } function formatUTCWeekdayNumberMonday(d) { var dow = d.getUTCDay(); return 0 === dow ? 7 : dow; } function formatUTCWeekNumberSunday(d, p) { return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcSunday.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcYear)(d) - 1, d), p, 2); } function formatUTCWeekNumberISO(d, p) { var day = d.getUTCDay(); return d = day >= 4 || 0 === day ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d), pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcYear)(d), d) + (4 === Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcYear)(d).getUTCDay()), p, 2); } function formatUTCWeekdayNumberSunday(d) { return d.getUTCDay(); } function formatUTCWeekNumberMonday(d, p) { return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcYear)(d) - 1, d), p, 2); } function formatUTCYear(d, p) { return pad(d.getUTCFullYear() % 100, p, 2); } function formatUTCFullYear(d, p) { return pad(d.getUTCFullYear() % 10000, p, 4); } function formatUTCZone() { return "+0000"; } function formatLiteralPercent() { return "%"; } function formatUnixTimestamp(d) { return +d; } function formatUnixTimestampSeconds(d) { return Math.floor(+d / 1000); } }, "../../../node_modules/d3-time/src/day.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "days", function() { return days; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), day = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setHours(0, 0, 0, 0); }, function(date, step) { date.setDate(date.getDate() + step); }, function(start, end) { return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay; }, function(date) { return date.getDate() - 1; }); __webpack_exports__.default = day; var days = day.range; }, "../../../node_modules/d3-time/src/duration.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "durationSecond", function() { return durationSecond; }), __webpack_require__.d(__webpack_exports__, "durationMinute", function() { return durationMinute; }), __webpack_require__.d(__webpack_exports__, "durationHour", function() { return durationHour; }), __webpack_require__.d(__webpack_exports__, "durationDay", function() { return durationDay; }), __webpack_require__.d(__webpack_exports__, "durationWeek", function() { return durationWeek; }); var durationSecond = 1e3, durationMinute = 6e4, durationHour = 36e5, durationDay = 864e5, durationWeek = 6048e5; }, "../../../node_modules/d3-time/src/hour.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "hours", function() { return hours; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), hour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute); }, function(date, step) { date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour; }, function(date) { return date.getHours(); }); __webpack_exports__.default = hour; var hours = hour.range; }, "../../../node_modules/d3-time/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"); __webpack_require__.d(__webpack_exports__, "timeInterval", function() { return _interval_js__WEBPACK_IMPORTED_MODULE_0__.default; }); var _millisecond_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/millisecond.js"); __webpack_require__.d(__webpack_exports__, "timeMillisecond", function() { return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.default; }), __webpack_require__.d(__webpack_exports__, "timeMilliseconds", function() { return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.milliseconds; }), __webpack_require__.d(__webpack_exports__, "utcMillisecond", function() { return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.default; }), __webpack_require__.d(__webpack_exports__, "utcMilliseconds", function() { return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__.milliseconds; }); var _second_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-time/src/second.js"); __webpack_require__.d(__webpack_exports__, "timeSecond", function() { return _second_js__WEBPACK_IMPORTED_MODULE_2__.default; }), __webpack_require__.d(__webpack_exports__, "timeSeconds", function() { return _second_js__WEBPACK_IMPORTED_MODULE_2__.seconds; }), __webpack_require__.d(__webpack_exports__, "utcSecond", function() { return _second_js__WEBPACK_IMPORTED_MODULE_2__.default; }), __webpack_require__.d(__webpack_exports__, "utcSeconds", function() { return _second_js__WEBPACK_IMPORTED_MODULE_2__.seconds; }); var _minute_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-time/src/minute.js"); __webpack_require__.d(__webpack_exports__, "timeMinute", function() { return _minute_js__WEBPACK_IMPORTED_MODULE_3__.default; }), __webpack_require__.d(__webpack_exports__, "timeMinutes", function() { return _minute_js__WEBPACK_IMPORTED_MODULE_3__.minutes; }); var _hour_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-time/src/hour.js"); __webpack_require__.d(__webpack_exports__, "timeHour", function() { return _hour_js__WEBPACK_IMPORTED_MODULE_4__.default; }), __webpack_require__.d(__webpack_exports__, "timeHours", function() { return _hour_js__WEBPACK_IMPORTED_MODULE_4__.hours; }); var _day_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-time/src/day.js"); __webpack_require__.d(__webpack_exports__, "timeDay", function() { return _day_js__WEBPACK_IMPORTED_MODULE_5__.default; }), __webpack_require__.d(__webpack_exports__, "timeDays", function() { return _day_js__WEBPACK_IMPORTED_MODULE_5__.days; }); var _week_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-time/src/week.js"); __webpack_require__.d(__webpack_exports__, "timeWeek", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.sunday; }), __webpack_require__.d(__webpack_exports__, "timeWeeks", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.sundays; }), __webpack_require__.d(__webpack_exports__, "timeSunday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.sunday; }), __webpack_require__.d(__webpack_exports__, "timeSundays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.sundays; }), __webpack_require__.d(__webpack_exports__, "timeMonday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.monday; }), __webpack_require__.d(__webpack_exports__, "timeMondays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.mondays; }), __webpack_require__.d(__webpack_exports__, "timeTuesday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.tuesday; }), __webpack_require__.d(__webpack_exports__, "timeTuesdays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.tuesdays; }), __webpack_require__.d(__webpack_exports__, "timeWednesday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.wednesday; }), __webpack_require__.d(__webpack_exports__, "timeWednesdays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.wednesdays; }), __webpack_require__.d(__webpack_exports__, "timeThursday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.thursday; }), __webpack_require__.d(__webpack_exports__, "timeThursdays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.thursdays; }), __webpack_require__.d(__webpack_exports__, "timeFriday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.friday; }), __webpack_require__.d(__webpack_exports__, "timeFridays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.fridays; }), __webpack_require__.d(__webpack_exports__, "timeSaturday", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.saturday; }), __webpack_require__.d(__webpack_exports__, "timeSaturdays", function() { return _week_js__WEBPACK_IMPORTED_MODULE_6__.saturdays; }); var _month_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/d3-time/src/month.js"); __webpack_require__.d(__webpack_exports__, "timeMonth", function() { return _month_js__WEBPACK_IMPORTED_MODULE_7__.default; }), __webpack_require__.d(__webpack_exports__, "timeMonths", function() { return _month_js__WEBPACK_IMPORTED_MODULE_7__.months; }); var _year_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/d3-time/src/year.js"); __webpack_require__.d(__webpack_exports__, "timeYear", function() { return _year_js__WEBPACK_IMPORTED_MODULE_8__.default; }), __webpack_require__.d(__webpack_exports__, "timeYears", function() { return _year_js__WEBPACK_IMPORTED_MODULE_8__.years; }); var _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-time/src/utcMinute.js"); __webpack_require__.d(__webpack_exports__, "utcMinute", function() { return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__.default; }), __webpack_require__.d(__webpack_exports__, "utcMinutes", function() { return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__.utcMinutes; }); var _utcHour_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/d3-time/src/utcHour.js"); __webpack_require__.d(__webpack_exports__, "utcHour", function() { return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__.default; }), __webpack_require__.d(__webpack_exports__, "utcHours", function() { return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__.utcHours; }); var _utcDay_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/d3-time/src/utcDay.js"); __webpack_require__.d(__webpack_exports__, "utcDay", function() { return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__.default; }), __webpack_require__.d(__webpack_exports__, "utcDays", function() { return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__.utcDays; }); var _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../../node_modules/d3-time/src/utcWeek.js"); __webpack_require__.d(__webpack_exports__, "utcWeek", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcSunday; }), __webpack_require__.d(__webpack_exports__, "utcWeeks", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcSundays; }), __webpack_require__.d(__webpack_exports__, "utcSunday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcSunday; }), __webpack_require__.d(__webpack_exports__, "utcSundays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcSundays; }), __webpack_require__.d(__webpack_exports__, "utcMonday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcMonday; }), __webpack_require__.d(__webpack_exports__, "utcMondays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcMondays; }), __webpack_require__.d(__webpack_exports__, "utcTuesday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcTuesday; }), __webpack_require__.d(__webpack_exports__, "utcTuesdays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcTuesdays; }), __webpack_require__.d(__webpack_exports__, "utcWednesday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcWednesday; }), __webpack_require__.d(__webpack_exports__, "utcWednesdays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcWednesdays; }), __webpack_require__.d(__webpack_exports__, "utcThursday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcThursday; }), __webpack_require__.d(__webpack_exports__, "utcThursdays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcThursdays; }), __webpack_require__.d(__webpack_exports__, "utcFriday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcFriday; }), __webpack_require__.d(__webpack_exports__, "utcFridays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcFridays; }), __webpack_require__.d(__webpack_exports__, "utcSaturday", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcSaturday; }), __webpack_require__.d(__webpack_exports__, "utcSaturdays", function() { return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__.utcSaturdays; }); var _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../../node_modules/d3-time/src/utcMonth.js"); __webpack_require__.d(__webpack_exports__, "utcMonth", function() { return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__.default; }), __webpack_require__.d(__webpack_exports__, "utcMonths", function() { return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__.utcMonths; }); var _utcYear_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../../node_modules/d3-time/src/utcYear.js"); __webpack_require__.d(__webpack_exports__, "utcYear", function() { return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__.default; }), __webpack_require__.d(__webpack_exports__, "utcYears", function() { return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__.utcYears; }); }, "../../../node_modules/d3-time/src/interval.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function newInterval(floori, offseti, count, field) { function interval(date) { return floori(date = 0 == arguments.length ? new Date : new Date(+date)), date; } return interval.floor = function(date) { return floori(date = new Date(+date)), date; }, interval.ceil = function(date) { return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date; }, interval.round = function(date) { var d0 = interval(date), d1 = interval.ceil(date); return date - d0 < d1 - date ? d0 : d1; }, interval.offset = function(date, step) { return offseti(date = new Date(+date), null == step ? 1 : Math.floor(step)), date; }, interval.range = function(start, stop, step) { var previous, range = []; if (start = interval.ceil(start), step = null == step ? 1 : Math.floor(step), !(start < stop) || !(step > 0)) return range; do range.push(previous = new Date(+start)), offseti(start, step), floori(start); while (previous < start && start < stop) return range; }, interval.filter = function(test) { return newInterval(function(date) { if (date >= date) for(; floori(date), !test(date);)date.setTime(date - 1); }, function(date, step) { if (date >= date) { if (step < 0) for(; ++step <= 0;)for(; offseti(date, -1), !test(date);); else for(; --step >= 0;)for(; offseti(date, 1), !test(date);); } }); }, count && (interval.count = function(start, end) { return t0.setTime(+start), t1.setTime(+end), floori(t0), floori(t1), Math.floor(count(t0, t1)); }, interval.every = function(step) { return isFinite(step = Math.floor(step)) && step > 0 ? step > 1 ? interval.filter(field ? function(d) { return field(d) % step == 0; } : function(d) { return interval.count(0, d) % step == 0; }) : interval : null; }), interval; }; }); var t0 = new Date, t1 = new Date; }, "../../../node_modules/d3-time/src/millisecond.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "milliseconds", function() { return milliseconds; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), millisecond = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function() {}, function(date, step) { date.setTime(+date + step); }, function(start, end) { return end - start; }); millisecond.every = function(k) { return isFinite(k = Math.floor(k)) && k > 0 ? k > 1 ? Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setTime(Math.floor(date / k) * k); }, function(date, step) { date.setTime(+date + step * k); }, function(start, end) { return (end - start) / k; }) : millisecond : null; }, __webpack_exports__.default = millisecond; var milliseconds = millisecond.range; }, "../../../node_modules/d3-time/src/minute.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "minutes", function() { return minutes; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), minute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond); }, function(date, step) { date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute; }, function(date) { return date.getMinutes(); }); __webpack_exports__.default = minute; var minutes = minute.range; }, "../../../node_modules/d3-time/src/month.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "months", function() { return months; }); var month = Object(__webpack_require__("../../../node_modules/d3-time/src/interval.js").default)(function(date) { date.setDate(1), date.setHours(0, 0, 0, 0); }, function(date, step) { date.setMonth(date.getMonth() + step); }, function(start, end) { return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12; }, function(date) { return date.getMonth(); }); __webpack_exports__.default = month; var months = month.range; }, "../../../node_modules/d3-time/src/second.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "seconds", function() { return seconds; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), second = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setTime(date - date.getMilliseconds()); }, function(date, step) { date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond; }, function(date) { return date.getUTCSeconds(); }); __webpack_exports__.default = second; var seconds = second.range; }, "../../../node_modules/d3-time/src/utcDay.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "utcDays", function() { return utcDays; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), utcDay = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setUTCHours(0, 0, 0, 0); }, function(date, step) { date.setUTCDate(date.getUTCDate() + step); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationDay; }, function(date) { return date.getUTCDate() - 1; }); __webpack_exports__.default = utcDay; var utcDays = utcDay.range; }, "../../../node_modules/d3-time/src/utcHour.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "utcHours", function() { return utcHours; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), utcHour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setUTCMinutes(0, 0, 0); }, function(date, step) { date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour; }, function(date) { return date.getUTCHours(); }); __webpack_exports__.default = utcHour; var utcHours = utcHour.range; }, "../../../node_modules/d3-time/src/utcMinute.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "utcMinutes", function() { return utcMinutes; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"), utcMinute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setUTCSeconds(0, 0); }, function(date, step) { date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute; }, function(date) { return date.getUTCMinutes(); }); __webpack_exports__.default = utcMinute; var utcMinutes = utcMinute.range; }, "../../../node_modules/d3-time/src/utcMonth.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "utcMonths", function() { return utcMonths; }); var utcMonth = Object(__webpack_require__("../../../node_modules/d3-time/src/interval.js").default)(function(date) { date.setUTCDate(1), date.setUTCHours(0, 0, 0, 0); }, function(date, step) { date.setUTCMonth(date.getUTCMonth() + step); }, function(start, end) { return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12; }, function(date) { return date.getUTCMonth(); }); __webpack_exports__.default = utcMonth; var utcMonths = utcMonth.range; }, "../../../node_modules/d3-time/src/utcWeek.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "utcSunday", function() { return utcSunday; }), __webpack_require__.d(__webpack_exports__, "utcMonday", function() { return utcMonday; }), __webpack_require__.d(__webpack_exports__, "utcTuesday", function() { return utcTuesday; }), __webpack_require__.d(__webpack_exports__, "utcWednesday", function() { return utcWednesday; }), __webpack_require__.d(__webpack_exports__, "utcThursday", function() { return utcThursday; }), __webpack_require__.d(__webpack_exports__, "utcFriday", function() { return utcFriday; }), __webpack_require__.d(__webpack_exports__, "utcSaturday", function() { return utcSaturday; }), __webpack_require__.d(__webpack_exports__, "utcSundays", function() { return utcSundays; }), __webpack_require__.d(__webpack_exports__, "utcMondays", function() { return utcMondays; }), __webpack_require__.d(__webpack_exports__, "utcTuesdays", function() { return utcTuesdays; }), __webpack_require__.d(__webpack_exports__, "utcWednesdays", function() { return utcWednesdays; }), __webpack_require__.d(__webpack_exports__, "utcThursdays", function() { return utcThursdays; }), __webpack_require__.d(__webpack_exports__, "utcFridays", function() { return utcFridays; }), __webpack_require__.d(__webpack_exports__, "utcSaturdays", function() { return utcSaturdays; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"); function utcWeekday(i) { return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7), date.setUTCHours(0, 0, 0, 0); }, function(date, step) { date.setUTCDate(date.getUTCDate() + 7 * step); }, function(start, end) { return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationWeek; }); } var utcSunday = utcWeekday(0), utcMonday = utcWeekday(1), utcTuesday = utcWeekday(2), utcWednesday = utcWeekday(3), utcThursday = utcWeekday(4), utcFriday = utcWeekday(5), utcSaturday = utcWeekday(6), utcSundays = utcSunday.range, utcMondays = utcMonday.range, utcTuesdays = utcTuesday.range, utcWednesdays = utcWednesday.range, utcThursdays = utcThursday.range, utcFridays = utcFriday.range, utcSaturdays = utcSaturday.range; }, "../../../node_modules/d3-time/src/utcYear.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "utcYears", function() { return utcYears; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), utcYear = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setUTCMonth(0, 1), date.setUTCHours(0, 0, 0, 0); }, function(date, step) { date.setUTCFullYear(date.getUTCFullYear() + step); }, function(start, end) { return end.getUTCFullYear() - start.getUTCFullYear(); }, function(date) { return date.getUTCFullYear(); }); utcYear.every = function(k) { return isFinite(k = Math.floor(k)) && k > 0 ? Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k), date.setUTCMonth(0, 1), date.setUTCHours(0, 0, 0, 0); }, function(date, step) { date.setUTCFullYear(date.getUTCFullYear() + step * k); }) : null; }, __webpack_exports__.default = utcYear; var utcYears = utcYear.range; }, "../../../node_modules/d3-time/src/week.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "sunday", function() { return sunday; }), __webpack_require__.d(__webpack_exports__, "monday", function() { return monday; }), __webpack_require__.d(__webpack_exports__, "tuesday", function() { return tuesday; }), __webpack_require__.d(__webpack_exports__, "wednesday", function() { return wednesday; }), __webpack_require__.d(__webpack_exports__, "thursday", function() { return thursday; }), __webpack_require__.d(__webpack_exports__, "friday", function() { return friday; }), __webpack_require__.d(__webpack_exports__, "saturday", function() { return saturday; }), __webpack_require__.d(__webpack_exports__, "sundays", function() { return sundays; }), __webpack_require__.d(__webpack_exports__, "mondays", function() { return mondays; }), __webpack_require__.d(__webpack_exports__, "tuesdays", function() { return tuesdays; }), __webpack_require__.d(__webpack_exports__, "wednesdays", function() { return wednesdays; }), __webpack_require__.d(__webpack_exports__, "thursdays", function() { return thursdays; }), __webpack_require__.d(__webpack_exports__, "fridays", function() { return fridays; }), __webpack_require__.d(__webpack_exports__, "saturdays", function() { return saturdays; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-time/src/duration.js"); function weekday(i) { return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7), date.setHours(0, 0, 0, 0); }, function(date, step) { date.setDate(date.getDate() + 7 * step); }, function(start, end) { return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute) / _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationWeek; }); } var sunday = weekday(0), monday = weekday(1), tuesday = weekday(2), wednesday = weekday(3), thursday = weekday(4), friday = weekday(5), saturday = weekday(6), sundays = sunday.range, mondays = monday.range, tuesdays = tuesday.range, wednesdays = wednesday.range, thursdays = thursday.range, fridays = friday.range, saturdays = saturday.range; }, "../../../node_modules/d3-time/src/year.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "years", function() { return years; }); var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-time/src/interval.js"), year = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setMonth(0, 1), date.setHours(0, 0, 0, 0); }, function(date, step) { date.setFullYear(date.getFullYear() + step); }, function(start, end) { return end.getFullYear() - start.getFullYear(); }, function(date) { return date.getFullYear(); }); year.every = function(k) { return isFinite(k = Math.floor(k)) && k > 0 ? Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date) { date.setFullYear(Math.floor(date.getFullYear() / k) * k), date.setMonth(0, 1), date.setHours(0, 0, 0, 0); }, function(date, step) { date.setFullYear(date.getFullYear() + step * k); }) : null; }, __webpack_exports__.default = year; var years = year.range; }, "../../../node_modules/d3-timer/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-timer/src/timer.js"); __webpack_require__.d(__webpack_exports__, "now", function() { return _timer_js__WEBPACK_IMPORTED_MODULE_0__.now; }), __webpack_require__.d(__webpack_exports__, "timer", function() { return _timer_js__WEBPACK_IMPORTED_MODULE_0__.timer; }), __webpack_require__.d(__webpack_exports__, "timerFlush", function() { return _timer_js__WEBPACK_IMPORTED_MODULE_0__.timerFlush; }); var _timeout_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-timer/src/timeout.js"); __webpack_require__.d(__webpack_exports__, "timeout", function() { return _timeout_js__WEBPACK_IMPORTED_MODULE_1__.default; }); var _interval_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-timer/src/interval.js"); __webpack_require__.d(__webpack_exports__, "interval", function() { return _interval_js__WEBPACK_IMPORTED_MODULE_2__.default; }); }, "../../../node_modules/d3-timer/src/interval.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-timer/src/timer.js"); __webpack_exports__.default = function(callback, delay, time) { var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__.Timer, total = delay; return null == delay ? (t.restart(callback, delay, time), t) : (delay = +delay, time = null == time ? Object(_timer_js__WEBPACK_IMPORTED_MODULE_0__.now)() : +time, t.restart(function tick(elapsed) { elapsed += total, t.restart(tick, total += delay, time), callback(elapsed); }, delay, time), t); }; }, "../../../node_modules/d3-timer/src/timeout.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-timer/src/timer.js"); __webpack_exports__.default = function(callback, delay, time) { var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__.Timer; return delay = null == delay ? 0 : +delay, t.restart(function(elapsed) { t.stop(), callback(elapsed + delay); }, delay, time), t; }; }, "../../../node_modules/d3-timer/src/timer.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "now", function() { return now; }), __webpack_require__.d(__webpack_exports__, "Timer", function() { return Timer; }), __webpack_require__.d(__webpack_exports__, "timer", function() { return timer; }), __webpack_require__.d(__webpack_exports__, "timerFlush", function() { return timerFlush; }); var taskHead, taskTail, frame = 0, timeout = 0, interval = 0, clockLast = 0, clockNow = 0, clockSkew = 0, clock = "object" == typeof performance && performance.now ? performance : Date, setFrame = "object" == typeof window && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); }; function now() { return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew); } function clearNow() { clockNow = 0; } function Timer() { this._call = this._time = this._next = null; } function timer(callback, delay, time) { var t = new Timer; return t.restart(callback, delay, time), t; } function timerFlush() { now(), ++frame; for(var e, t = taskHead; t;)(e = clockNow - t._time) >= 0 && t._call.call(null, e), t = t._next; --frame; } function wake() { clockNow = (clockLast = clock.now()) + clockSkew, frame = timeout = 0; try { timerFlush(); } finally{ frame = 0, function() { for(var t0, t2, t1 = taskHead, time = 1 / 0; t1;)t1._call ? (time > t1._time && (time = t1._time), t0 = t1, t1 = t1._next) : (t2 = t1._next, t1._next = null, t1 = t0 ? t0._next = t2 : taskHead = t2); taskTail = t0, sleep(time); }(), clockNow = 0; } } function poke() { var now = clock.now(), delay = now - clockLast; delay > 1000 && (clockSkew -= delay, clockLast = now); } function sleep(time) { !frame && (timeout && (timeout = clearTimeout(timeout)), time - clockNow > 24 ? (time < 1 / 0 && (timeout = setTimeout(wake, time - clock.now() - clockSkew)), interval && (interval = clearInterval(interval))) : (interval || (clockLast = clock.now(), interval = setInterval(poke, 1000)), frame = 1, setFrame(wake))); } Timer.prototype = timer.prototype = { constructor: Timer, restart: function(callback, delay, time) { if ("function" != typeof callback) throw TypeError("callback is not a function"); time = (null == time ? now() : +time) + (null == delay ? 0 : +delay), this._next || taskTail === this || (taskTail ? taskTail._next = this : taskHead = this, taskTail = this), this._call = callback, this._time = time, sleep(); }, stop: function() { this._call && (this._call = null, this._time = 1 / 0, sleep()); } }; }, "../../../node_modules/d3-voronoi/src/Beach.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "removeBeach", function() { return removeBeach; }), __webpack_require__.d(__webpack_exports__, "addBeach", function() { return addBeach; }); var _RedBlackTree__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/RedBlackTree.js"), _Cell__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Cell.js"), _Circle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Circle.js"), _Edge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Edge.js"), _Diagram__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Diagram.js"), beachPool = []; function Beach() { Object(_RedBlackTree__WEBPACK_IMPORTED_MODULE_0__.RedBlackNode)(this), this.edge = this.site = this.circle = null; } function createBeach(site) { var beach = beachPool.pop() || new Beach; return beach.site = site, beach; } function detachBeach(beach) { Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.detachCircle)(beach), _Diagram__WEBPACK_IMPORTED_MODULE_4__.beaches.remove(beach), beachPool.push(beach), Object(_RedBlackTree__WEBPACK_IMPORTED_MODULE_0__.RedBlackNode)(beach); } function removeBeach(beach) { var circle = beach.circle, x = circle.x, y = circle.cy, vertex = [ x, y ], previous = beach.P, next = beach.N, disappearing = [ beach ]; detachBeach(beach); for(var lArc = previous; lArc.circle && Math.abs(x - lArc.circle.x) < _Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon && Math.abs(y - lArc.circle.cy) < _Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon;)previous = lArc.P, disappearing.unshift(lArc), detachBeach(lArc), lArc = previous; disappearing.unshift(lArc), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.detachCircle)(lArc); for(var rArc = next; rArc.circle && Math.abs(x - rArc.circle.x) < _Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon && Math.abs(y - rArc.circle.cy) < _Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon;)next = rArc.N, disappearing.push(rArc), detachBeach(rArc), rArc = next; disappearing.push(rArc), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.detachCircle)(rArc); var iArc, nArcs = disappearing.length; for(iArc = 1; iArc < nArcs; ++iArc)rArc = disappearing[iArc], lArc = disappearing[iArc - 1], Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.setEdgeEnd)(rArc.edge, lArc.site, rArc.site, vertex); lArc = disappearing[0], (rArc = disappearing[nArcs - 1]).edge = Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.createEdge)(lArc.site, rArc.site, null, vertex), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.attachCircle)(lArc), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.attachCircle)(rArc); } function addBeach(site) { for(var lArc, rArc, dxl, dxr, x = site[0], directrix = site[1], node = _Diagram__WEBPACK_IMPORTED_MODULE_4__.beaches._; node;)if ((dxl = leftBreakPoint(node, directrix) - x) > _Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon) node = node.L; else if ((dxr = x - function(arc, directrix) { var rArc = arc.N; if (rArc) return leftBreakPoint(rArc, directrix); var site = arc.site; return site[1] === directrix ? site[0] : 1 / 0; }(node, directrix)) > _Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon) { if (!node.R) { lArc = node; break; } node = node.R; } else { dxl > -_Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon ? (lArc = node.P, rArc = node) : dxr > -_Diagram__WEBPACK_IMPORTED_MODULE_4__.epsilon ? (lArc = node, rArc = node.N) : lArc = rArc = node; break; } Object(_Cell__WEBPACK_IMPORTED_MODULE_1__.createCell)(site); var newArc = createBeach(site); if (_Diagram__WEBPACK_IMPORTED_MODULE_4__.beaches.insert(lArc, newArc), lArc || rArc) { if (lArc === rArc) { Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.detachCircle)(lArc), rArc = createBeach(lArc.site), _Diagram__WEBPACK_IMPORTED_MODULE_4__.beaches.insert(newArc, rArc), newArc.edge = rArc.edge = Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.createEdge)(lArc.site, newArc.site), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.attachCircle)(lArc), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.attachCircle)(rArc); return; } if (!rArc) { newArc.edge = Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.createEdge)(lArc.site, newArc.site); return; } Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.detachCircle)(lArc), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.detachCircle)(rArc); var lSite = lArc.site, ax = lSite[0], ay = lSite[1], bx = site[0] - ax, by = site[1] - ay, rSite = rArc.site, cx = rSite[0] - ax, cy = rSite[1] - ay, d = 2 * (bx * cy - by * cx), hb = bx * bx + by * by, hc = cx * cx + cy * cy, vertex = [ (cy * hb - by * hc) / d + ax, (bx * hc - cx * hb) / d + ay ]; Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.setEdgeEnd)(rArc.edge, lSite, rSite, vertex), newArc.edge = Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.createEdge)(lSite, site, null, vertex), rArc.edge = Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.createEdge)(site, rSite, null, vertex), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.attachCircle)(lArc), Object(_Circle__WEBPACK_IMPORTED_MODULE_2__.attachCircle)(rArc); } } function leftBreakPoint(arc, directrix) { var site = arc.site, rfocx = site[0], rfocy = site[1], pby2 = rfocy - directrix; if (!pby2) return rfocx; var lArc = arc.P; if (!lArc) return -1 / 0; var lfocx = (site = lArc.site)[0], lfocy = site[1], plby2 = lfocy - directrix; if (!plby2) return lfocx; var hl = lfocx - rfocx, aby2 = 1 / pby2 - 1 / plby2, b = hl / plby2; return aby2 ? (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx : (rfocx + lfocx) / 2; } }, "../../../node_modules/d3-voronoi/src/Cell.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "createCell", function() { return createCell; }), __webpack_require__.d(__webpack_exports__, "cellHalfedgeStart", function() { return cellHalfedgeStart; }), __webpack_require__.d(__webpack_exports__, "cellHalfedgeEnd", function() { return cellHalfedgeEnd; }), __webpack_require__.d(__webpack_exports__, "sortCellHalfedges", function() { return sortCellHalfedges; }), __webpack_require__.d(__webpack_exports__, "clipCells", function() { return clipCells; }); var _Edge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Edge.js"), _Diagram__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Diagram.js"); function createCell(site) { return _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells[site.index] = { site: site, halfedges: [] }; } function cellHalfedgeStart(cell, edge) { return edge[+(edge.left !== cell.site)]; } function cellHalfedgeEnd(cell, edge) { return edge[+(edge.left === cell.site)]; } function sortCellHalfedges() { for(var cell, halfedges, j, m, i = 0, n = _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells.length; i < n; ++i)if ((cell = _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells[i]) && (m = (halfedges = cell.halfedges).length)) { var index = Array(m), array = Array(m); for(j = 0; j < m; ++j)index[j] = j, array[j] = function(cell, edge) { var site = cell.site, va = edge.left, vb = edge.right; return (site === vb && (vb = va, va = site), vb) ? Math.atan2(vb[1] - va[1], vb[0] - va[0]) : (site === va ? (va = edge[1], vb = edge[0]) : (va = edge[0], vb = edge[1]), Math.atan2(va[0] - vb[0], vb[1] - va[1])); }(cell, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges[halfedges[j]]); for(index.sort(function(i, j) { return array[j] - array[i]; }), j = 0; j < m; ++j)array[j] = halfedges[index[j]]; for(j = 0; j < m; ++j)halfedges[j] = array[j]; } } function clipCells(x0, y0, x1, y1) { var iCell, cell, site, iHalfedge, halfedges, nHalfedges, start, startX, startY, end, endX, endY, nCells = _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells.length, cover = !0; for(iCell = 0; iCell < nCells; ++iCell)if (cell = _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells[iCell]) { for(site = cell.site, iHalfedge = (halfedges = cell.halfedges).length; iHalfedge--;)_Diagram__WEBPACK_IMPORTED_MODULE_1__.edges[halfedges[iHalfedge]] || halfedges.splice(iHalfedge, 1); for(iHalfedge = 0, nHalfedges = halfedges.length; iHalfedge < nHalfedges;)endX = (end = cellHalfedgeEnd(cell, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges[halfedges[iHalfedge]]))[0], endY = end[1], startX = (start = cellHalfedgeStart(cell, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges[halfedges[++iHalfedge % nHalfedges]]))[0], startY = start[1], (Math.abs(endX - startX) > _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon || Math.abs(endY - startY) > _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon) && (halfedges.splice(iHalfedge, 0, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges.push(Object(_Edge__WEBPACK_IMPORTED_MODULE_0__.createBorderEdge)(site, end, Math.abs(endX - x0) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon && y1 - endY > _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? [ x0, Math.abs(startX - x0) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? startY : y1 ] : Math.abs(endY - y1) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon && x1 - endX > _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? [ Math.abs(startY - y1) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? startX : x1, y1 ] : Math.abs(endX - x1) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon && endY - y0 > _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? [ x1, Math.abs(startX - x1) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? startY : y0 ] : Math.abs(endY - y0) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon && endX - x0 > _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? [ Math.abs(startY - y0) < _Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon ? startX : x0, y0 ] : null)) - 1), ++nHalfedges); nHalfedges && (cover = !1); } if (cover) { var dx, dy, d2, dc = 1 / 0; for(iCell = 0, cover = null; iCell < nCells; ++iCell)(cell = _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells[iCell]) && (d2 = (dx = (site = cell.site)[0] - x0) * dx + (dy = site[1] - y0) * dy) < dc && (dc = d2, cover = cell); if (cover) { var v00 = [ x0, y0 ], v01 = [ x0, y1 ], v11 = [ x1, y1 ], v10 = [ x1, y0 ]; cover.halfedges.push(_Diagram__WEBPACK_IMPORTED_MODULE_1__.edges.push(Object(_Edge__WEBPACK_IMPORTED_MODULE_0__.createBorderEdge)(site = cover.site, v00, v01)) - 1, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges.push(Object(_Edge__WEBPACK_IMPORTED_MODULE_0__.createBorderEdge)(site, v01, v11)) - 1, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges.push(Object(_Edge__WEBPACK_IMPORTED_MODULE_0__.createBorderEdge)(site, v11, v10)) - 1, _Diagram__WEBPACK_IMPORTED_MODULE_1__.edges.push(Object(_Edge__WEBPACK_IMPORTED_MODULE_0__.createBorderEdge)(site, v10, v00)) - 1); } } for(iCell = 0; iCell < nCells; ++iCell)(cell = _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells[iCell]) && !cell.halfedges.length && delete _Diagram__WEBPACK_IMPORTED_MODULE_1__.cells[iCell]; } }, "../../../node_modules/d3-voronoi/src/Circle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "firstCircle", function() { return firstCircle; }), __webpack_require__.d(__webpack_exports__, "attachCircle", function() { return attachCircle; }), __webpack_require__.d(__webpack_exports__, "detachCircle", function() { return detachCircle; }); var firstCircle, _RedBlackTree__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/RedBlackTree.js"), _Diagram__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Diagram.js"), circlePool = []; function Circle() { Object(_RedBlackTree__WEBPACK_IMPORTED_MODULE_0__.RedBlackNode)(this), this.x = this.y = this.arc = this.site = this.cy = null; } function attachCircle(arc) { var lArc = arc.P, rArc = arc.N; if (lArc && rArc) { var lSite = lArc.site, cSite = arc.site, rSite = rArc.site; if (lSite !== rSite) { var bx = cSite[0], by = cSite[1], ax = lSite[0] - bx, ay = lSite[1] - by, cx = rSite[0] - bx, cy = rSite[1] - by, d = 2 * (ax * cy - ay * cx); if (!(d >= -_Diagram__WEBPACK_IMPORTED_MODULE_1__.epsilon2)) { var ha = ax * ax + ay * ay, hc = cx * cx + cy * cy, x = (cy * ha - ay * hc) / d, y = (ax * hc - cx * ha) / d, circle = circlePool.pop() || new Circle; circle.arc = arc, circle.site = cSite, circle.x = x + bx, circle.y = (circle.cy = y + by) + Math.sqrt(x * x + y * y), arc.circle = circle; for(var before = null, node = _Diagram__WEBPACK_IMPORTED_MODULE_1__.circles._; node;)if (circle.y < node.y || circle.y === node.y && circle.x <= node.x) { if (node.L) node = node.L; else { before = node.P; break; } } else if (node.R) node = node.R; else { before = node; break; } _Diagram__WEBPACK_IMPORTED_MODULE_1__.circles.insert(before, circle), before || (firstCircle = circle); } } } } function detachCircle(arc) { var circle = arc.circle; circle && (circle.P || (firstCircle = circle.N), _Diagram__WEBPACK_IMPORTED_MODULE_1__.circles.remove(circle), circlePool.push(circle), Object(_RedBlackTree__WEBPACK_IMPORTED_MODULE_0__.RedBlackNode)(circle), arc.circle = null); } }, "../../../node_modules/d3-voronoi/src/Diagram.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "epsilon", function() { return epsilon; }), __webpack_require__.d(__webpack_exports__, "epsilon2", function() { return epsilon2; }), __webpack_require__.d(__webpack_exports__, "beaches", function() { return beaches; }), __webpack_require__.d(__webpack_exports__, "cells", function() { return cells; }), __webpack_require__.d(__webpack_exports__, "circles", function() { return circles; }), __webpack_require__.d(__webpack_exports__, "edges", function() { return edges; }), __webpack_require__.d(__webpack_exports__, "default", function() { return Diagram; }); var beaches, cells, circles, edges, _Beach__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Beach.js"), _Cell__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Cell.js"), _Circle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Circle.js"), _Edge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Edge.js"), _RedBlackTree__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/d3-voronoi/src/RedBlackTree.js"), epsilon = 1e-6, epsilon2 = 1e-12; function lexicographic(a, b) { return b[1] - a[1] || b[0] - a[0]; } function Diagram(sites, extent) { var x, y, circle, site = sites.sort(lexicographic).pop(); for(edges = [], cells = Array(sites.length), beaches = new _RedBlackTree__WEBPACK_IMPORTED_MODULE_4__.default, circles = new _RedBlackTree__WEBPACK_IMPORTED_MODULE_4__.default;;)if (circle = _Circle__WEBPACK_IMPORTED_MODULE_2__.firstCircle, site && (!circle || site[1] < circle.y || site[1] === circle.y && site[0] < circle.x)) (site[0] !== x || site[1] !== y) && (Object(_Beach__WEBPACK_IMPORTED_MODULE_0__.addBeach)(site), x = site[0], y = site[1]), site = sites.pop(); else if (circle) Object(_Beach__WEBPACK_IMPORTED_MODULE_0__.removeBeach)(circle.arc); else break; if (Object(_Cell__WEBPACK_IMPORTED_MODULE_1__.sortCellHalfedges)(), extent) { var x0 = +extent[0][0], y0 = +extent[0][1], x1 = +extent[1][0], y1 = +extent[1][1]; Object(_Edge__WEBPACK_IMPORTED_MODULE_3__.clipEdges)(x0, y0, x1, y1), Object(_Cell__WEBPACK_IMPORTED_MODULE_1__.clipCells)(x0, y0, x1, y1); } this.edges = edges, this.cells = cells, beaches = circles = edges = cells = null; } Diagram.prototype = { constructor: Diagram, polygons: function() { var edges = this.edges; return this.cells.map(function(cell) { var polygon = cell.halfedges.map(function(i) { return Object(_Cell__WEBPACK_IMPORTED_MODULE_1__.cellHalfedgeStart)(cell, edges[i]); }); return polygon.data = cell.site.data, polygon; }); }, triangles: function() { var triangles = [], edges = this.edges; return this.cells.forEach(function(cell, i) { if (m = (halfedges = cell.halfedges).length) for(var a, b, c, halfedges, m, s0, site = cell.site, j = -1, e1 = edges[halfedges[m - 1]], s1 = e1.left === site ? e1.right : e1.left; ++j < m;)s0 = s1, s1 = (e1 = edges[halfedges[j]]).left === site ? e1.right : e1.left, s0 && s1 && i < s0.index && i < s1.index && 0 > (c = s1, (site[0] - c[0]) * (s0[1] - site[1]) - (site[0] - s0[0]) * (c[1] - site[1])) && triangles.push([ site.data, s0.data, s1.data ]); }), triangles; }, links: function() { return this.edges.filter(function(edge) { return edge.right; }).map(function(edge) { return { source: edge.left.data, target: edge.right.data }; }); }, find: function(x, y, radius) { for(var i0, cell, that = this, i1 = that._found || 0, n = that.cells.length; !(cell = that.cells[i1]);)if (++i1 >= n) return null; var dx = x - cell.site[0], dy = y - cell.site[1], d2 = dx * dx + dy * dy; do cell = that.cells[i0 = i1], i1 = null, cell.halfedges.forEach(function(e) { var edge = that.edges[e], v = edge.left; if (v !== cell.site && v || (v = edge.right)) { var vx = x - v[0], vy = y - v[1], v2 = vx * vx + vy * vy; v2 < d2 && (d2 = v2, i1 = v.index); } }); while (null !== i1) return that._found = i0, null == radius || d2 <= radius * radius ? cell.site : null; } }; }, "../../../node_modules/d3-voronoi/src/Edge.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "createEdge", function() { return createEdge; }), __webpack_require__.d(__webpack_exports__, "createBorderEdge", function() { return createBorderEdge; }), __webpack_require__.d(__webpack_exports__, "setEdgeEnd", function() { return setEdgeEnd; }), __webpack_require__.d(__webpack_exports__, "clipEdges", function() { return clipEdges; }); var _Diagram__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Diagram.js"); function createEdge(left, right, v0, v1) { var edge = [ null, null ], index = _Diagram__WEBPACK_IMPORTED_MODULE_0__.edges.push(edge) - 1; return edge.left = left, edge.right = right, v0 && setEdgeEnd(edge, left, right, v0), v1 && setEdgeEnd(edge, right, left, v1), _Diagram__WEBPACK_IMPORTED_MODULE_0__.cells[left.index].halfedges.push(index), _Diagram__WEBPACK_IMPORTED_MODULE_0__.cells[right.index].halfedges.push(index), edge; } function createBorderEdge(left, v0, v1) { var edge = [ v0, v1 ]; return edge.left = left, edge; } function setEdgeEnd(edge, left, right, vertex) { edge[0] || edge[1] ? edge.left === right ? edge[1] = vertex : edge[0] = vertex : (edge[0] = vertex, edge.left = left, edge.right = right); } function clipEdges(x0, y0, x1, y1) { for(var edge, i = _Diagram__WEBPACK_IMPORTED_MODULE_0__.edges.length; i--;)(function(edge, x0, y0, x1, y1) { var v1 = edge[1]; if (v1) return !0; var fm, fb, v0 = edge[0], left = edge.left, right = edge.right, lx = left[0], ly = left[1], rx = right[0], ry = right[1], fx = (lx + rx) / 2; if (ry === ly) { if (fx < x0 || fx >= x1) return; if (lx > rx) { if (v0) { if (v0[1] >= y1) return; } else v0 = [ fx, y0 ]; v1 = [ fx, y1 ]; } else { if (v0) { if (v0[1] < y0) return; } else v0 = [ fx, y1 ]; v1 = [ fx, y0 ]; } } else if (fm = (lx - rx) / (ry - ly), fb = (ly + ry) / 2 - fm * fx, fm < -1 || fm > 1) { if (lx > rx) { if (v0) { if (v0[1] >= y1) return; } else v0 = [ (y0 - fb) / fm, y0 ]; v1 = [ (y1 - fb) / fm, y1 ]; } else { if (v0) { if (v0[1] < y0) return; } else v0 = [ (y1 - fb) / fm, y1 ]; v1 = [ (y0 - fb) / fm, y0 ]; } } else if (ly < ry) { if (v0) { if (v0[0] >= x1) return; } else v0 = [ x0, fm * x0 + fb ]; v1 = [ x1, fm * x1 + fb ]; } else { if (v0) { if (v0[0] < x0) return; } else v0 = [ x1, fm * x1 + fb ]; v1 = [ x0, fm * x0 + fb ]; } return edge[0] = v0, edge[1] = v1, !0; })(edge = _Diagram__WEBPACK_IMPORTED_MODULE_0__.edges[i], x0, y0, x1, y1) && function(edge, x0, y0, x1, y1) { var r, a = edge[0], b = edge[1], ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay; if (r = x0 - ax, dx || !(r > 0)) { if (r /= dx, dx < 0) { if (r < t0) return; r < t1 && (t1 = r); } else if (dx > 0) { if (r > t1) return; r > t0 && (t0 = r); } if (r = x1 - ax, dx || !(r < 0)) { if (r /= dx, dx < 0) { if (r > t1) return; r > t0 && (t0 = r); } else if (dx > 0) { if (r < t0) return; r < t1 && (t1 = r); } if (r = y0 - ay, dy || !(r > 0)) { if (r /= dy, dy < 0) { if (r < t0) return; r < t1 && (t1 = r); } else if (dy > 0) { if (r > t1) return; r > t0 && (t0 = r); } if (r = y1 - ay, dy || !(r < 0)) { if (r /= dy, dy < 0) { if (r > t1) return; r > t0 && (t0 = r); } else if (dy > 0) { if (r < t0) return; r < t1 && (t1 = r); } return !(t0 > 0) && !(t1 < 1) || (t0 > 0 && (edge[0] = [ ax + t0 * dx, ay + t0 * dy ]), t1 < 1 && (edge[1] = [ ax + t1 * dx, ay + t1 * dy ]), !0); } } } } }(edge, x0, y0, x1, y1) && (Math.abs(edge[0][0] - edge[1][0]) > _Diagram__WEBPACK_IMPORTED_MODULE_0__.epsilon || Math.abs(edge[0][1] - edge[1][1]) > _Diagram__WEBPACK_IMPORTED_MODULE_0__.epsilon) || delete _Diagram__WEBPACK_IMPORTED_MODULE_0__.edges[i]; } }, "../../../node_modules/d3-voronoi/src/RedBlackTree.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function RedBlackTree() { this._ = null; } function RedBlackNode(node) { node.U = node.C = node.L = node.R = node.P = node.N = null; } function RedBlackRotateLeft(tree, node) { var p = node, q = node.R, parent = p.U; parent ? parent.L === p ? parent.L = q : parent.R = q : tree._ = q, q.U = parent, p.U = q, p.R = q.L, p.R && (p.R.U = p), q.L = p; } function RedBlackRotateRight(tree, node) { var p = node, q = node.L, parent = p.U; parent ? parent.L === p ? parent.L = q : parent.R = q : tree._ = q, q.U = parent, p.U = q, p.L = q.R, p.L && (p.L.U = p), q.R = p; } function RedBlackFirst(node) { for(; node.L;)node = node.L; return node; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "RedBlackNode", function() { return RedBlackNode; }), RedBlackTree.prototype = { constructor: RedBlackTree, insert: function(after, node) { var parent, grandpa, uncle; if (after) { if (node.P = after, node.N = after.N, after.N && (after.N.P = node), after.N = node, after.R) { for(after = after.R; after.L;)after = after.L; after.L = node; } else after.R = node; parent = after; } else this._ ? (after = RedBlackFirst(this._), node.P = null, node.N = after, after.P = after.L = node, parent = after) : (node.P = node.N = null, this._ = node, parent = null); for(node.L = node.R = null, node.U = parent, node.C = !0, after = node; parent && parent.C;)grandpa = parent.U, parent === grandpa.L ? (uncle = grandpa.R) && uncle.C ? (parent.C = uncle.C = !1, grandpa.C = !0, after = grandpa) : (after === parent.R && (RedBlackRotateLeft(this, parent), parent = (after = parent).U), parent.C = !1, grandpa.C = !0, RedBlackRotateRight(this, grandpa)) : (uncle = grandpa.L) && uncle.C ? (parent.C = uncle.C = !1, grandpa.C = !0, after = grandpa) : (after === parent.L && (RedBlackRotateRight(this, parent), parent = (after = parent).U), parent.C = !1, grandpa.C = !0, RedBlackRotateLeft(this, grandpa)), parent = after.U; this._.C = !1; }, remove: function(node) { node.N && (node.N.P = node.P), node.P && (node.P.N = node.N), node.N = node.P = null; var sibling, next, red, parent = node.U, left = node.L, right = node.R; if (next = left ? right ? RedBlackFirst(right) : left : right, parent ? parent.L === node ? parent.L = next : parent.R = next : this._ = next, left && right ? (red = next.C, next.C = node.C, next.L = left, left.U = next, next !== right ? (parent = next.U, next.U = node.U, node = next.R, parent.L = node, next.R = right, right.U = next) : (next.U = parent, parent = next, node = next.R)) : (red = node.C, node = next), node && (node.U = parent), !red) { if (node && node.C) { node.C = !1; return; } do { if (node === this._) break; if (node === parent.L) { if ((sibling = parent.R).C && (sibling.C = !1, parent.C = !0, RedBlackRotateLeft(this, parent), sibling = parent.R), sibling.L && sibling.L.C || sibling.R && sibling.R.C) { sibling.R && sibling.R.C || (sibling.L.C = !1, sibling.C = !0, RedBlackRotateRight(this, sibling), sibling = parent.R), sibling.C = parent.C, parent.C = sibling.R.C = !1, RedBlackRotateLeft(this, parent), node = this._; break; } } else if ((sibling = parent.L).C && (sibling.C = !1, parent.C = !0, RedBlackRotateRight(this, parent), sibling = parent.L), sibling.L && sibling.L.C || sibling.R && sibling.R.C) { sibling.L && sibling.L.C || (sibling.R.C = !1, sibling.C = !0, RedBlackRotateLeft(this, sibling), sibling = parent.L), sibling.C = parent.C, parent.C = sibling.L.C = !1, RedBlackRotateRight(this, parent), node = this._; break; } sibling.C = !0, node = parent, parent = parent.U; }while (!node.C) node && (node.C = !1); } } }, __webpack_exports__.default = RedBlackTree; }, "../../../node_modules/d3-voronoi/src/constant.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return function() { return x; }; }; }, "../../../node_modules/d3-voronoi/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _voronoi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/voronoi.js"); __webpack_require__.d(__webpack_exports__, "voronoi", function() { return _voronoi__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../../node_modules/d3-voronoi/src/point.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function x(d) { return d[0]; } function y(d) { return d[1]; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "x", function() { return x; }), __webpack_require__.d(__webpack_exports__, "y", function() { return y; }); }, "../../../node_modules/d3-voronoi/src/voronoi.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-voronoi/src/constant.js"), _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/d3-voronoi/src/point.js"), _Diagram__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-voronoi/src/Diagram.js"); __webpack_exports__.default = function() { var x = _point__WEBPACK_IMPORTED_MODULE_1__.x, y = _point__WEBPACK_IMPORTED_MODULE_1__.y, extent = null; function voronoi(data) { return new _Diagram__WEBPACK_IMPORTED_MODULE_2__.default(data.map(function(d, i) { var s = [ Math.round(x(d, i, data) / _Diagram__WEBPACK_IMPORTED_MODULE_2__.epsilon) * _Diagram__WEBPACK_IMPORTED_MODULE_2__.epsilon, Math.round(y(d, i, data) / _Diagram__WEBPACK_IMPORTED_MODULE_2__.epsilon) * _Diagram__WEBPACK_IMPORTED_MODULE_2__.epsilon ]; return s.index = i, s.data = d, s; }), extent); } return voronoi.polygons = function(data) { return voronoi(data).polygons(); }, voronoi.links = function(data) { return voronoi(data).links(); }, voronoi.triangles = function(data) { return voronoi(data).triangles(); }, voronoi.x = function(_) { return arguments.length ? (x = "function" == typeof _ ? _ : Object(_constant__WEBPACK_IMPORTED_MODULE_0__.default)(+_), voronoi) : x; }, voronoi.y = function(_) { return arguments.length ? (y = "function" == typeof _ ? _ : Object(_constant__WEBPACK_IMPORTED_MODULE_0__.default)(+_), voronoi) : y; }, voronoi.extent = function(_) { return arguments.length ? (extent = null == _ ? null : [ [ +_[0][0], +_[0][1] ], [ +_[1][0], +_[1][1] ] ], voronoi) : extent && [ [ extent[0][0], extent[0][1] ], [ extent[1][0], extent[1][1] ] ]; }, voronoi.size = function(_) { return arguments.length ? (extent = null == _ ? null : [ [ 0, 0 ], [ +_[0], +_[1] ] ], voronoi) : extent && [ extent[1][0] - extent[0][0], extent[1][1] - extent[0][1] ]; }, voronoi; }; }, "../../../node_modules/delaunator/delaunator.js": function(module1, exports1, __webpack_require__) { var global, factory; factory = function() { 'use strict'; var EDGE_STACK = new Uint32Array(512), Delaunator = function(coords) { var n = coords.length >> 1; if (n > 0 && 'number' != typeof coords[0]) throw Error('Expected coords to contain numbers.'); this.coords = coords; var maxTriangles = Math.max(2 * n - 5, 0); this._triangles = new Uint32Array(3 * maxTriangles), this._halfedges = new Int32Array(3 * maxTriangles), this._hashSize = Math.ceil(Math.sqrt(n)), this._hullPrev = new Uint32Array(n), this._hullNext = new Uint32Array(n), this._hullTri = new Uint32Array(n), this._hullHash = new Int32Array(this._hashSize).fill(-1), this._ids = new Uint32Array(n), this._dists = new Float64Array(n), this.update(); }; function dist(ax, ay, bx, by) { var dx = ax - bx, dy = ay - by; return dx * dx + dy * dy; } function orientIfSure(px, py, rx, ry, qx, qy) { var l = (ry - py) * (qx - px), r = (rx - px) * (qy - py); return Math.abs(l - r) >= 3.3306690738754716e-16 * Math.abs(l + r) ? l - r : 0; } function orient(rx, ry, qx, qy, px, py) { return 0 > (orientIfSure(px, py, rx, ry, qx, qy) || orientIfSure(rx, ry, qx, qy, px, py) || orientIfSure(qx, qy, px, py, rx, ry)); } function quicksort(ids, dists, left, right) { if (right - left <= 20) for(var i = left + 1; i <= right; i++){ for(var temp = ids[i], tempDist = dists[temp], j = i - 1; j >= left && dists[ids[j]] > tempDist;)ids[j + 1] = ids[j--]; ids[j + 1] = temp; } else { var i$1 = left + 1, j$1 = right; swap(ids, left + right >> 1, i$1), dists[ids[left]] > dists[ids[right]] && swap(ids, left, right), dists[ids[i$1]] > dists[ids[right]] && swap(ids, i$1, right), dists[ids[left]] > dists[ids[i$1]] && swap(ids, left, i$1); for(var temp$1 = ids[i$1], tempDist$1 = dists[temp$1];;){ do i$1++; while (dists[ids[i$1]] < tempDist$1) do j$1--; while (dists[ids[j$1]] > tempDist$1) if (j$1 < i$1) break; swap(ids, i$1, j$1); } ids[left + 1] = ids[j$1], ids[j$1] = temp$1, right - i$1 + 1 >= j$1 - left ? (quicksort(ids, dists, i$1, right), quicksort(ids, dists, left, j$1 - 1)) : (quicksort(ids, dists, left, j$1 - 1), quicksort(ids, dists, i$1, right)); } } function swap(arr, i, j) { var tmp = arr[i]; arr[i] = arr[j], arr[j] = tmp; } function defaultGetX(p) { return p[0]; } function defaultGetY(p) { return p[1]; } return Delaunator.from = function(points, getX, getY) { void 0 === getX && (getX = defaultGetX), void 0 === getY && (getY = defaultGetY); for(var n = points.length, coords = new Float64Array(2 * n), i = 0; i < n; i++){ var p = points[i]; coords[2 * i] = getX(p), coords[2 * i + 1] = getY(p); } return new Delaunator(coords); }, Delaunator.prototype.update = function() { for(var ax, ay, bx, by, cx, cy, dx, dy, ex, ey, bl, cl, d, i0, i1, i2, coords = this.coords, hullPrev = this._hullPrev, hullNext = this._hullNext, hullTri = this._hullTri, hullHash = this._hullHash, n = coords.length >> 1, minX = 1 / 0, minY = 1 / 0, maxX = -1 / 0, maxY = -1 / 0, i = 0; i < n; i++){ var x = coords[2 * i], y = coords[2 * i + 1]; x < minX && (minX = x), y < minY && (minY = y), x > maxX && (maxX = x), y > maxY && (maxY = y), this._ids[i] = i; } for(var cx1 = (minX + maxX) / 2, cy1 = (minY + maxY) / 2, minDist = 1 / 0, i$1 = 0; i$1 < n; i$1++){ var d1 = dist(cx1, cy1, coords[2 * i$1], coords[2 * i$1 + 1]); d1 < minDist && (i0 = i$1, minDist = d1); } var i0x = coords[2 * i0], i0y = coords[2 * i0 + 1]; minDist = 1 / 0; for(var i$2 = 0; i$2 < n; i$2++)if (i$2 !== i0) { var d$1 = dist(i0x, i0y, coords[2 * i$2], coords[2 * i$2 + 1]); d$1 < minDist && d$1 > 0 && (i1 = i$2, minDist = d$1); } for(var i1x = coords[2 * i1], i1y = coords[2 * i1 + 1], minRadius = 1 / 0, i$3 = 0; i$3 < n; i$3++)if (i$3 !== i0 && i$3 !== i1) { var r = function(ax, ay, bx, by, cx, cy) { var dx = bx - ax, dy = by - ay, ex = cx - ax, ey = cy - ay, bl = dx * dx + dy * dy, cl = ex * ex + ey * ey, d = 0.5 / (dx * ey - dy * ex), x = (ey * bl - dy * cl) * d, y = (dx * cl - ex * bl) * d; return x * x + y * y; }(i0x, i0y, i1x, i1y, coords[2 * i$3], coords[2 * i$3 + 1]); r < minRadius && (i2 = i$3, minRadius = r); } var i2x = coords[2 * i2], i2y = coords[2 * i2 + 1]; if (minRadius === 1 / 0) { for(var i$4 = 0; i$4 < n; i$4++)this._dists[i$4] = coords[2 * i$4] - coords[0] || coords[2 * i$4 + 1] - coords[1]; quicksort(this._ids, this._dists, 0, n - 1); for(var hull = new Uint32Array(n), j = 0, i$5 = 0, d0 = -1 / 0; i$5 < n; i$5++){ var id = this._ids[i$5]; this._dists[id] > d0 && (hull[j++] = id, d0 = this._dists[id]); } this.hull = hull.subarray(0, j), this.triangles = new Uint32Array(0), this.halfedges = new Uint32Array(0); return; } if (orient(i0x, i0y, i1x, i1y, i2x, i2y)) { var i$6 = i1, x$1 = i1x, y$1 = i1y; i1 = i2, i1x = i2x, i1y = i2y, i2 = i$6, i2x = x$1, i2y = y$1; } var center = (ax = i0x, ay = i0y, bx = i1x, by = i1y, cx = i2x, cy = i2y, dx = bx - ax, dy = by - ay, ex = cx - ax, ey = cy - ay, bl = dx * dx + dy * dy, cl = ex * ex + ey * ey, d = 0.5 / (dx * ey - dy * ex), { x: ax + (ey * bl - dy * cl) * d, y: ay + (dx * cl - ex * bl) * d }); this._cx = center.x, this._cy = center.y; for(var i$7 = 0; i$7 < n; i$7++)this._dists[i$7] = dist(coords[2 * i$7], coords[2 * i$7 + 1], center.x, center.y); quicksort(this._ids, this._dists, 0, n - 1), this._hullStart = i0; var hullSize = 3; hullNext[i0] = hullPrev[i2] = i1, hullNext[i1] = hullPrev[i0] = i2, hullNext[i2] = hullPrev[i1] = i0, hullTri[i0] = 0, hullTri[i1] = 1, hullTri[i2] = 2, hullHash.fill(-1), hullHash[this._hashKey(i0x, i0y)] = i0, hullHash[this._hashKey(i1x, i1y)] = i1, hullHash[this._hashKey(i2x, i2y)] = i2, this.trianglesLen = 0, this._addTriangle(i0, i1, i2, -1, -1, -1); for(var k = 0, xp = void 0, yp = void 0; k < this._ids.length; k++){ var i$8 = this._ids[k], x$2 = coords[2 * i$8], y$2 = coords[2 * i$8 + 1]; if (!(k > 0 && 0.0000000000000002220446049250313 >= Math.abs(x$2 - xp) && 0.0000000000000002220446049250313 >= Math.abs(y$2 - yp)) && (xp = x$2, yp = y$2, i$8 !== i0 && i$8 !== i1 && i$8 !== i2)) { for(var start = 0, j$1 = 0, key = this._hashKey(x$2, y$2); j$1 < this._hashSize && (-1 === (start = hullHash[(key + j$1) % this._hashSize]) || start === hullNext[start]); j$1++); for(var e = start = hullPrev[start], q = void 0; q = hullNext[e], !orient(x$2, y$2, coords[2 * e], coords[2 * e + 1], coords[2 * q], coords[2 * q + 1]);)if ((e = q) === start) { e = -1; break; } if (-1 !== e) { var t = this._addTriangle(e, i$8, hullNext[e], -1, -1, hullTri[e]); hullTri[i$8] = this._legalize(t + 2), hullTri[e] = t, hullSize++; for(var n$1 = hullNext[e]; q = hullNext[n$1], orient(x$2, y$2, coords[2 * n$1], coords[2 * n$1 + 1], coords[2 * q], coords[2 * q + 1]);)t = this._addTriangle(n$1, i$8, q, hullTri[i$8], -1, hullTri[n$1]), hullTri[i$8] = this._legalize(t + 2), hullNext[n$1] = n$1, hullSize--, n$1 = q; if (e === start) for(; orient(x$2, y$2, coords[2 * (q = hullPrev[e])], coords[2 * q + 1], coords[2 * e], coords[2 * e + 1]);)t = this._addTriangle(q, i$8, e, -1, hullTri[e], hullTri[q]), this._legalize(t + 2), hullTri[q] = t, hullNext[e] = e, hullSize--, e = q; this._hullStart = hullPrev[i$8] = e, hullNext[e] = hullPrev[n$1] = i$8, hullNext[i$8] = n$1, hullHash[this._hashKey(x$2, y$2)] = i$8, hullHash[this._hashKey(coords[2 * e], coords[2 * e + 1])] = e; } } } this.hull = new Uint32Array(hullSize); for(var i$9 = 0, e$1 = this._hullStart; i$9 < hullSize; i$9++)this.hull[i$9] = e$1, e$1 = hullNext[e$1]; this.triangles = this._triangles.subarray(0, this.trianglesLen), this.halfedges = this._halfedges.subarray(0, this.trianglesLen); }, Delaunator.prototype._hashKey = function(x, y) { var dx, dy, p; return Math.floor((dx = x - this._cx, p = dx / (Math.abs(dx) + Math.abs(dy = y - this._cy)), (dy > 0 ? 3 - p : 1 + p) / 4 * this._hashSize)) % this._hashSize; }, Delaunator.prototype._legalize = function(a) { for(var triangles = this._triangles, halfedges = this._halfedges, coords = this.coords, i = 0, ar = 0;;){ var b = halfedges[a], a0 = a - a % 3; if (ar = a0 + (a + 2) % 3, -1 === b) { if (0 === i) break; a = EDGE_STACK[--i]; continue; } var b0 = b - b % 3, al = a0 + (a + 1) % 3, bl = b0 + (b + 2) % 3, p0 = triangles[ar], pr = triangles[a], pl = triangles[al], p1 = triangles[bl]; if (function(ax, ay, bx, by, cx, cy, px, py) { var dx = ax - px, dy = ay - py, ex = bx - px, ey = by - py, fx = cx - px, fy = cy - py, bp = ex * ex + ey * ey, cp = fx * fx + fy * fy; return dx * (ey * cp - bp * fy) - dy * (ex * cp - bp * fx) + (dx * dx + dy * dy) * (ex * fy - ey * fx) < 0; }(coords[2 * p0], coords[2 * p0 + 1], coords[2 * pr], coords[2 * pr + 1], coords[2 * pl], coords[2 * pl + 1], coords[2 * p1], coords[2 * p1 + 1])) { triangles[a] = p1, triangles[b] = p0; var hbl = halfedges[bl]; if (-1 === hbl) { var e = this._hullStart; do { if (this._hullTri[e] === bl) { this._hullTri[e] = a; break; } e = this._hullPrev[e]; }while (e !== this._hullStart) } this._link(a, hbl), this._link(b, halfedges[ar]), this._link(ar, bl); var br = b0 + (b + 1) % 3; i < EDGE_STACK.length && (EDGE_STACK[i++] = br); } else { if (0 === i) break; a = EDGE_STACK[--i]; } } return ar; }, Delaunator.prototype._link = function(a, b) { this._halfedges[a] = b, -1 !== b && (this._halfedges[b] = a); }, Delaunator.prototype._addTriangle = function(i0, i1, i2, a, b, c) { var t = this.trianglesLen; return this._triangles[t] = i0, this._triangles[t + 1] = i1, this._triangles[t + 2] = i2, this._link(t, a), this._link(t + 1, b), this._link(t + 2, c), this.trianglesLen += 3, t; }, Delaunator; }, module1.exports = factory(); }, "../../../node_modules/delaunay-find/lib/index.js": function(module1, exports1, __webpack_require__) { "use strict"; exports1.__esModule = !0, exports1.default = void 0; var obj, _delaunator = (obj = __webpack_require__("../../../node_modules/delaunator/delaunator.js")) && obj.__esModule ? obj : { default: obj }; function pointX(p) { return p[0]; } function pointY(p) { return p[1]; } var Delaunay = function() { function Delaunay(points) { var delaunator = new _delaunator.default(points); this.inedges = new Int32Array(points.length / 2), this._hullIndex = new Int32Array(points.length / 2), this.points = delaunator.coords, this._init(delaunator); } var _proto = Delaunay.prototype; return _proto._init = function(delaunator) { var d = delaunator, points = this.points; if (d.hull && d.hull.length > 2 && function(d) { for(var triangles = d.triangles, coords = d.coords, i = 0; i < triangles.length; i += 3){ var a = 2 * triangles[i], b = 2 * triangles[i + 1], c = 2 * triangles[i + 2]; if ((coords[c] - coords[a]) * (coords[b + 1] - coords[a + 1]) - (coords[b] - coords[a]) * (coords[c + 1] - coords[a + 1]) > 1e-10) return !1; } return !0; }(d)) { this.collinear = Int32Array.from({ length: points.length / 2 }, function(_, i) { return i; }).sort(function(i, j) { return points[2 * i] - points[2 * j] || points[2 * i + 1] - points[2 * j + 1]; }); for(var e = this.collinear[0], f = this.collinear[this.collinear.length - 1], bounds = [ points[2 * e], points[2 * e + 1], points[2 * f], points[2 * f + 1] ], r = 1e-8 * Math.sqrt(Math.pow(bounds[3] - bounds[1], 2) + Math.pow(bounds[2] - bounds[0], 2)), i = 0, n = points.length / 2; i < n; ++i){ var x, y, r1, p = (x = points[2 * i], [ x + Math.sin(x + (y = points[2 * i + 1])) * r, y + Math.cos(x - y) * r ]); points[2 * i] = p[0], points[2 * i + 1] = p[1]; } delaunator = new _delaunator.default(points); } for(var halfedges = this.halfedges = delaunator.halfedges, hull = this.hull = delaunator.hull, triangles = this.triangles = delaunator.triangles, inedges = this.inedges.fill(-1), hullIndex = this._hullIndex.fill(-1), _e = 0, _n = halfedges.length; _e < _n; ++_e){ var _p = triangles[_e % 3 == 2 ? _e - 2 : _e + 1]; (-1 === halfedges[_e] || -1 === inedges[_p]) && (inedges[_p] = _e); } for(var _i = 0, _n2 = hull.length; _i < _n2; ++_i)hullIndex[hull[_i]] = _i; hull.length <= 2 && hull.length > 0 && (this.triangles = new Int32Array(3).fill(-1), this.halfedges = new Int32Array(3).fill(-1), this.triangles[0] = hull[0], this.triangles[1] = hull[1], this.triangles[2] = hull[1], inedges[hull[0]] = 1, 2 === hull.length && (inedges[hull[1]] = 0)); }, _proto.neighbors = function(i) { var results = [], inedges = this.inedges, hull = this.hull, _hullIndex = this._hullIndex, halfedges = this.halfedges, triangles = this.triangles, e0 = inedges[i]; if (-1 === e0) return results; var e = e0, p0 = -1; do { if (p0 = triangles[e], results.push(p0), triangles[e = e % 3 == 2 ? e - 2 : e + 1] !== i) break; if (-1 === (e = halfedges[e])) { var p = hull[(_hullIndex[i] + 1) % hull.length]; p !== p0 && results.push(p); break; } }while (e !== e0) return results; }, _proto.find = function(x, y, i) { if (void 0 === i && (i = 0), (x = +x) != x || (y = +y) != y) return -1; for(var c, i0 = i; (c = this._step(i, x, y)) >= 0 && c !== i && c !== i0;)i = c; return c; }, _proto._step = function(i, x, y) { var inedges = this.inedges, points = this.points; if (-1 === inedges[i] || !points.length) return (i + 1) % (points.length >> 1); for(var c = i, dc = Math.pow(x - points[2 * i], 2) + Math.pow(y - points[2 * i + 1], 2), _iterator = this.neighbors(i), _isArray = Array.isArray(_iterator), _i2 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;){ if (_isArray) { if (_i2 >= _iterator.length) break; _ref = _iterator[_i2++]; } else { if ((_i2 = _iterator.next()).done) break; _ref = _i2.value; } var _ref, t = _ref, dt = Math.pow(x - points[2 * t], 2) + Math.pow(y - points[2 * t + 1], 2); dt < dc && (dc = dt, c = t); } return c; }, Delaunay; }(); exports1.default = Delaunay, Delaunay.from = function(points, fx, fy, that) { return void 0 === fx && (fx = pointX), void 0 === fy && (fy = pointY), new Delaunay(function(points, fx, fy, that) { for(var n = points.length, array = new Float64Array(2 * n), i = 0; i < n; ++i){ var p = points[i]; array[2 * i] = fx.call(that, p, i, points), array[2 * i + 1] = fy.call(that, p, i, points); } return array; }(points, fx, fy, that)); }; }, "../../../node_modules/json-stringify-safe/stringify.js": function(module1, exports1) { (module1.exports = function(obj, replacer, spaces, cycleReplacer) { return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces); }).getSerialize = serializer; function serializer(replacer, cycleReplacer) { var stack = [], keys = []; return null == cycleReplacer && (cycleReplacer = function(key, value) { return stack[0] === value ? "[Circular ~]" : "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"; }), function(key, value) { if (stack.length > 0) { var thisPos = stack.indexOf(this); ~thisPos ? stack.splice(thisPos + 1) : stack.push(this), ~thisPos ? keys.splice(thisPos, 1 / 0, key) : keys.push(key), ~stack.indexOf(value) && (value = cycleReplacer.call(this, key, value)); } else stack.push(value); return null == replacer ? value : replacer.call(this, key, value); }; } }, "../../../node_modules/lodash/_LodashWrapper.js": function(module1, exports1) { module1.exports = function() {}; }, "../../../node_modules/lodash/_SetCache.js": function(module1, exports1, __webpack_require__) { var isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"); module1.exports = function() { if (!arguments.length) return []; var value = arguments[0]; return isArray(value) ? value : [ value ]; }; }, "../../../node_modules/lodash/_Stack.js": function(module1, exports1, __webpack_require__) { var listCacheClear = __webpack_require__("../../../node_modules/lodash/_listCacheClear.js"), listCacheDelete = __webpack_require__("../../../node_modules/lodash/_listCacheDelete.js"), listCacheGet = __webpack_require__("../../../node_modules/lodash/_listCacheGet.js"), listCacheHas = __webpack_require__("../../../node_modules/lodash/_listCacheHas.js"), listCacheSet = __webpack_require__("../../../node_modules/lodash/_listCacheSet.js"); function ListCache(entries) { var index = -1, length = null == entries ? 0 : entries.length; for(this.clear(); ++index < length;){ var entry = entries[index]; this.set(entry[0], entry[1]); } } ListCache.prototype.clear = listCacheClear, ListCache.prototype.delete = listCacheDelete, ListCache.prototype.get = listCacheGet, ListCache.prototype.has = listCacheHas, ListCache.prototype.set = listCacheSet, module1.exports = ListCache; }, "../../../node_modules/lodash/_Symbol.js": function(module1, exports1, __webpack_require__) { var Symbol1 = __webpack_require__("../../../node_modules/lodash/_root.js").Symbol; module1.exports = Symbol1; }, "../../../node_modules/lodash/_apply.js": function(module1, exports1) { module1.exports = function(func, thisArg, args) { switch(args.length){ case 0: return func.call(thisArg); case 1: return func.call(thisArg, args[0]); case 2: return func.call(thisArg, args[0], args[1]); case 3: return func.call(thisArg, args[0], args[1], args[2]); } return func.apply(thisArg, args); }; }, "../../../node_modules/lodash/_arrayAggregator.js": function(module1, exports1) { module1.exports = function(array, setter, iteratee, accumulator) { for(var index = -1, length = null == array ? 0 : array.length; ++index < length;){ var value = array[index]; setter(accumulator, value, iteratee(value), array); } return accumulator; }; }, "../../../node_modules/lodash/_arrayIncludes.js": function(module1, exports1, __webpack_require__) { var baseIndexOf = __webpack_require__("../../../node_modules/lodash/_baseIndexOf.js"); module1.exports = function(array, value) { return !!(null == array ? 0 : array.length) && baseIndexOf(array, value, 0) > -1; }; }, "../../../node_modules/lodash/_arrayIncludesWith.js": function(module1, exports1) { module1.exports = function(array, value, comparator) { for(var index = -1, length = null == array ? 0 : array.length; ++index < length;)if (comparator(value, array[index])) return !0; return !1; }; }, "../../../node_modules/lodash/_arrayMap.js": function(module1, exports1) { module1.exports = function(array, iteratee) { for(var index = -1, length = null == array ? 0 : array.length, result = Array(length); ++index < length;)result[index] = iteratee(array[index], index, array); return result; }; }, "../../../node_modules/lodash/_arrayPush.js": function(module1, exports1) { module1.exports = function(array, values) { for(var index = -1, length = values.length, offset = array.length; ++index < length;)array[offset + index] = values[index]; return array; }; }, "../../../node_modules/lodash/_arraySome.js": function(module1, exports1) { module1.exports = function(array, predicate) { for(var index = -1, length = null == array ? 0 : array.length; ++index < length;)if (predicate(array[index], index, array)) return !0; return !1; }; }, "../../../node_modules/lodash/_assignValue.js": function(module1, exports1, __webpack_require__) { var baseAssignValue = __webpack_require__("../../../node_modules/lodash/_baseAssignValue.js"), eq = __webpack_require__("../../../node_modules/lodash/eq.js"), hasOwnProperty = Object.prototype.hasOwnProperty; module1.exports = function(object, key, value) { var objValue = object[key]; hasOwnProperty.call(object, key) && eq(objValue, value) && (void 0 !== value || key in object) || baseAssignValue(object, key, value); }; }, "../../../node_modules/lodash/_assocIndexOf.js": function(module1, exports1, __webpack_require__) { var eq = __webpack_require__("../../../node_modules/lodash/eq.js"); module1.exports = function(array, key) { for(var length = array.length; length--;)if (eq(array[length][0], key)) return length; return -1; }; }, "../../../node_modules/lodash/_baseAggregator.js": function(module1, exports1) { module1.exports = function(array, setter, iteratee, accumulator) { for(var index = -1, length = null == array ? 0 : array.length; ++index < length;){ var value = array[index]; setter(accumulator, value, iteratee(value), array); } return accumulator; }; }, "../../../node_modules/lodash/_baseAssignValue.js": function(module1, exports1, __webpack_require__) { var defineProperty = __webpack_require__("../../../node_modules/lodash/_defineProperty.js"); module1.exports = function(object, key, value) { '__proto__' == key && defineProperty ? defineProperty(object, key, { configurable: !0, enumerable: !0, value: value, writable: !0 }) : object[key] = value; }; }, "../../../node_modules/lodash/_baseDelay.js": function(module1, exports1) { module1.exports = function(func, wait, args) { if ('function' != typeof func) throw TypeError('Expected a function'); return setTimeout(function() { func.apply(void 0, args); }, wait); }; }, "../../../node_modules/lodash/_baseDifference.js": function(module1, exports1, __webpack_require__) { var SetCache = __webpack_require__("../../../node_modules/lodash/_SetCache.js"), arrayIncludes = __webpack_require__("../../../node_modules/lodash/_arrayIncludes.js"), arrayIncludesWith = __webpack_require__("../../../node_modules/lodash/_arrayIncludesWith.js"), arrayMap = __webpack_require__("../../../node_modules/lodash/_arrayMap.js"), baseUnary = __webpack_require__("../../../node_modules/lodash/_baseUnary.js"), cacheHas = __webpack_require__("../../../node_modules/lodash/_cacheHas.js"); module1.exports = function(array, values, iteratee, comparator) { var index = -1, includes = arrayIncludes, isCommon = !0, length = array.length, result = [], valuesLength = values.length; if (!length) return result; iteratee && (values = arrayMap(values, baseUnary(iteratee))), comparator ? (includes = arrayIncludesWith, isCommon = !1) : values.length >= 200 && (includes = cacheHas, isCommon = !1, values = new SetCache(values)); outer: for(; ++index < length;){ var value = array[index], computed = null == iteratee ? value : iteratee(value); if (value = comparator || 0 !== value ? value : 0, isCommon && computed == computed) { for(var valuesIndex = valuesLength; valuesIndex--;)if (values[valuesIndex] === computed) continue outer; result.push(value); } else includes(values, computed, comparator) || result.push(value); } return result; }; }, "../../../node_modules/lodash/_baseFindIndex.js": function(module1, exports1) { module1.exports = function(array, predicate, fromIndex, fromRight) { for(var length = array.length, index = fromIndex + (fromRight ? 1 : -1); fromRight ? index-- : ++index < length;)if (predicate(array[index], index, array)) return index; return -1; }; }, "../../../node_modules/lodash/_baseFlatten.js": function(module1, exports1, __webpack_require__) { var arrayPush = __webpack_require__("../../../node_modules/lodash/_arrayPush.js"), isFlattenable = __webpack_require__("../../../node_modules/lodash/_isFlattenable.js"); module1.exports = function baseFlatten(array, depth, predicate, isStrict, result) { var index = -1, length = array.length; for(predicate || (predicate = isFlattenable), result || (result = []); ++index < length;){ var value = array[index]; depth > 0 && predicate(value) ? depth > 1 ? baseFlatten(value, depth - 1, predicate, isStrict, result) : arrayPush(result, value) : isStrict || (result[result.length] = value); } return result; }; }, "../../../node_modules/lodash/_baseFor.js": function(module1, exports1, __webpack_require__) { var baseFor = __webpack_require__("../../../node_modules/lodash/_createBaseFor.js")(); module1.exports = baseFor; }, "../../../node_modules/lodash/_baseForOwn.js": function(module1, exports1, __webpack_require__) { var baseFor = __webpack_require__("../../../node_modules/lodash/_baseFor.js"), keys = __webpack_require__("../../../node_modules/lodash/keys.js"); module1.exports = function(object, iteratee) { return object && baseFor(object, iteratee, keys); }; }, "../../../node_modules/lodash/_baseGet.js": function(module1, exports1, __webpack_require__) { var castPath = __webpack_require__("../../../node_modules/lodash/_castPath.js"), toKey = __webpack_require__("../../../node_modules/lodash/_toKey.js"); module1.exports = function(object, path) { path = castPath(path, object); for(var index = 0, length = path.length; null != object && index < length;)object = object[toKey(path[index++])]; return index && index == length ? object : void 0; }; }, "../../../node_modules/lodash/_baseGetTag.js": function(module1, exports1) { var nativeObjectToString = Object.prototype.toString; module1.exports = function(value) { return nativeObjectToString.call(value); }; }, "../../../node_modules/lodash/_baseHasIn.js": function(module1, exports1) { module1.exports = function(object, key) { return null != object && key in Object(object); }; }, "../../../node_modules/lodash/_baseIndexOf.js": function(module1, exports1) { module1.exports = function(array, value, fromIndex) { for(var index = fromIndex - 1, length = array.length; ++index < length;)if (array[index] === value) return index; return -1; }; }, "../../../node_modules/lodash/_baseInverter.js": function(module1, exports1, __webpack_require__) { var baseForOwn = __webpack_require__("../../../node_modules/lodash/_baseForOwn.js"); module1.exports = function(object, setter, iteratee, accumulator) { return baseForOwn(object, function(value, key, object) { setter(accumulator, iteratee(value), key, object); }), accumulator; }; }, "../../../node_modules/lodash/_baseIsDate.js": function(module1, exports1, __webpack_require__) { var baseGetTag = __webpack_require__("../../../node_modules/lodash/_baseGetTag.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"); module1.exports = function(value) { return isObjectLike(value) && '[object Date]' == baseGetTag(value); }; }, "../../../node_modules/lodash/_baseIsEqual.js": function(module1, exports1, __webpack_require__) { var baseIsEqualDeep = __webpack_require__("../../../node_modules/lodash/_baseIsEqualDeep.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"); module1.exports = function baseIsEqual(value, other, bitmask, customizer, stack) { return value === other || (null != value && null != other && (isObjectLike(value) || isObjectLike(other)) ? baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack) : value != value && other != other); }; }, "../../../node_modules/lodash/_baseIsEqualDeep.js": function(module1, exports1, __webpack_require__) { var Stack = __webpack_require__("../../../node_modules/lodash/_Stack.js"), equalArrays = __webpack_require__("../../../node_modules/lodash/_equalArrays.js"), equalByTag = __webpack_require__("../../../node_modules/lodash/_equalByTag.js"), equalObjects = __webpack_require__("../../../node_modules/lodash/_equalObjects.js"), getTag = __webpack_require__("../../../node_modules/lodash/_getTag.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isBuffer = __webpack_require__("../../../node_modules/lodash/isBuffer.js"), isTypedArray = __webpack_require__("../../../node_modules/lodash/isTypedArray.js"), argsTag = '[object Arguments]', arrayTag = '[object Array]', objectTag = '[object Object]', hasOwnProperty = Object.prototype.hasOwnProperty; module1.exports = function(object, other, bitmask, customizer, equalFunc, stack) { var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other); objTag = objTag == argsTag ? objectTag : objTag, othTag = othTag == argsTag ? objectTag : othTag; var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag; if (isSameTag && isBuffer(object)) { if (!isBuffer(other)) return !1; objIsArr = !0, objIsObj = !1; } if (isSameTag && !objIsObj) return stack || (stack = new Stack), objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); if (!(1 & bitmask)) { var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); if (objIsWrapped || othIsWrapped) { var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other; return stack || (stack = new Stack), equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); } } return !!isSameTag && (stack || (stack = new Stack), equalObjects(object, other, bitmask, customizer, equalFunc, stack)); }; }, "../../../node_modules/lodash/_baseIsMatch.js": function(module1, exports1, __webpack_require__) { var Stack = __webpack_require__("../../../node_modules/lodash/_Stack.js"), baseIsEqual = __webpack_require__("../../../node_modules/lodash/_baseIsEqual.js"); module1.exports = function(object, source, matchData, customizer) { var index = matchData.length, length = index, noCustomizer = !customizer; if (null == object) return !length; for(object = Object(object); index--;){ var data = matchData[index]; if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) return !1; } for(; ++index < length;){ var key = (data = matchData[index])[0], objValue = object[key], srcValue = data[1]; if (noCustomizer && data[2]) { if (void 0 === objValue && !(key in object)) return !1; } else { var stack = new Stack; if (customizer) var result = customizer(objValue, srcValue, key, object, source, stack); if (!(void 0 === result ? baseIsEqual(srcValue, objValue, 3, customizer, stack) : result)) return !1; } } return !0; }; }, "../../../node_modules/lodash/_baseIsRegExp.js": function(module1, exports1, __webpack_require__) { var baseGetTag = __webpack_require__("../../../node_modules/lodash/_baseGetTag.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"); module1.exports = function(value) { return isObjectLike(value) && '[object RegExp]' == baseGetTag(value); }; }, "../../../node_modules/lodash/_baseIteratee.js": function(module1, exports1, __webpack_require__) { var baseMatches = __webpack_require__("../../../node_modules/lodash/_baseMatches.js"), baseMatchesProperty = __webpack_require__("../../../node_modules/lodash/_baseMatchesProperty.js"), identity = __webpack_require__("../../../node_modules/lodash/identity.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), property = __webpack_require__("../../../node_modules/lodash/property.js"); module1.exports = function(value) { return 'function' == typeof value ? value : null == value ? identity : 'object' == typeof value ? isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value) : property(value); }; }, "../../../node_modules/lodash/_baseKeys.js": function(module1, exports1, __webpack_require__) { var nativeKeys = __webpack_require__("../../../node_modules/lodash/_overArg.js")(Object.keys, Object); module1.exports = nativeKeys; }, "../../../node_modules/lodash/_baseMap.js": function(module1, exports1) { module1.exports = function(array, iteratee) { for(var index = -1, length = null == array ? 0 : array.length, result = Array(length); ++index < length;)result[index] = iteratee(array[index], index, array); return result; }; }, "../../../node_modules/lodash/_baseMatches.js": function(module1, exports1, __webpack_require__) { var baseIsMatch = __webpack_require__("../../../node_modules/lodash/_baseIsMatch.js"), getMatchData = __webpack_require__("../../../node_modules/lodash/_getMatchData.js"), matchesStrictComparable = __webpack_require__("../../../node_modules/lodash/_matchesStrictComparable.js"); module1.exports = function(source) { var matchData = getMatchData(source); return 1 == matchData.length && matchData[0][2] ? matchesStrictComparable(matchData[0][0], matchData[0][1]) : function(object) { return object === source || baseIsMatch(object, source, matchData); }; }; }, "../../../node_modules/lodash/_baseMatchesProperty.js": function(module1, exports1, __webpack_require__) { var baseIsEqual = __webpack_require__("../../../node_modules/lodash/_baseIsEqual.js"), get = __webpack_require__("../../../node_modules/lodash/get.js"), hasIn = __webpack_require__("../../../node_modules/lodash/hasIn.js"), isKey = __webpack_require__("../../../node_modules/lodash/_isKey.js"), isStrictComparable = __webpack_require__("../../../node_modules/lodash/_isStrictComparable.js"), matchesStrictComparable = __webpack_require__("../../../node_modules/lodash/_matchesStrictComparable.js"), toKey = __webpack_require__("../../../node_modules/lodash/_toKey.js"); module1.exports = function(path, srcValue) { return isKey(path) && isStrictComparable(srcValue) ? matchesStrictComparable(toKey(path), srcValue) : function(object) { var objValue = get(object, path); return void 0 === objValue && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, 3); }; }; }, "../../../node_modules/lodash/_baseOrderBy.js": function(module1, exports1, __webpack_require__) { var arrayMap = __webpack_require__("../../../node_modules/lodash/_arrayMap.js"), baseGet = __webpack_require__("../../../node_modules/lodash/_baseGet.js"), baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), baseMap = __webpack_require__("../../../node_modules/lodash/_baseMap.js"), baseSortBy = __webpack_require__("../../../node_modules/lodash/_baseSortBy.js"), baseUnary = __webpack_require__("../../../node_modules/lodash/_baseUnary.js"), compareMultiple = __webpack_require__("../../../node_modules/lodash/_compareMultiple.js"), identity = __webpack_require__("../../../node_modules/lodash/identity.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"); module1.exports = function(collection, iteratees, orders) { iteratees = iteratees.length ? arrayMap(iteratees, function(iteratee) { return isArray(iteratee) ? function(value) { return baseGet(value, 1 === iteratee.length ? iteratee[0] : iteratee); } : iteratee; }) : [ identity ]; var index = -1; return iteratees = arrayMap(iteratees, baseUnary(baseIteratee)), baseSortBy(baseMap(collection, function(value, key, collection) { return { criteria: arrayMap(iteratees, function(iteratee) { return iteratee(value); }), index: ++index, value: value }; }), function(object, other) { return compareMultiple(object, other, orders); }); }; }, "../../../node_modules/lodash/_basePick.js": function(module1, exports1, __webpack_require__) { var basePickBy = __webpack_require__("../../../node_modules/lodash/_basePickBy.js"), hasIn = __webpack_require__("../../../node_modules/lodash/hasIn.js"); module1.exports = function(object, paths) { return basePickBy(object, paths, function(value, path) { return hasIn(object, path); }); }; }, "../../../node_modules/lodash/_basePickBy.js": function(module1, exports1, __webpack_require__) { var baseGet = __webpack_require__("../../../node_modules/lodash/_baseGet.js"), baseSet = __webpack_require__("../../../node_modules/lodash/_baseSet.js"), castPath = __webpack_require__("../../../node_modules/lodash/_castPath.js"); module1.exports = function(object, paths, predicate) { for(var index = -1, length = paths.length, result = {}; ++index < length;){ var path = paths[index], value = baseGet(object, path); predicate(value, path) && baseSet(result, castPath(path, object), value); } return result; }; }, "../../../node_modules/lodash/_baseProperty.js": function(module1, exports1) { module1.exports = function(key) { return function(object) { return null == object ? void 0 : object[key]; }; }; }, "../../../node_modules/lodash/_basePropertyDeep.js": function(module1, exports1, __webpack_require__) { var baseGet = __webpack_require__("../../../node_modules/lodash/_baseGet.js"); module1.exports = function(path) { return function(object) { return baseGet(object, path); }; }; }, "../../../node_modules/lodash/_baseRange.js": function(module1, exports1) { var nativeCeil = Math.ceil, nativeMax = Math.max; module1.exports = function(start, end, step, fromRight) { for(var index = -1, length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), result = Array(length); length--;)result[fromRight ? length : ++index] = start, start += step; return result; }; }, "../../../node_modules/lodash/_baseRest.js": function(module1, exports1, __webpack_require__) { var identity = __webpack_require__("../../../node_modules/lodash/identity.js"), overRest = __webpack_require__("../../../node_modules/lodash/_overRest.js"), setToString = __webpack_require__("../../../node_modules/lodash/_setToString.js"); module1.exports = function(func, start) { return setToString(overRest(func, start, identity), func + ''); }; }, "../../../node_modules/lodash/_baseSet.js": function(module1, exports1, __webpack_require__) { var assignValue = __webpack_require__("../../../node_modules/lodash/_assignValue.js"), castPath = __webpack_require__("../../../node_modules/lodash/_castPath.js"), isIndex = __webpack_require__("../../../node_modules/lodash/_isIndex.js"), isObject = __webpack_require__("../../../node_modules/lodash/isObject.js"), toKey = __webpack_require__("../../../node_modules/lodash/_toKey.js"); module1.exports = function(object, path, value, customizer) { if (!isObject(object)) return object; path = castPath(path, object); for(var index = -1, length = path.length, lastIndex = length - 1, nested = object; null != nested && ++index < length;){ var key = toKey(path[index]), newValue = value; if ('__proto__' === key || 'constructor' === key || 'prototype' === key) break; if (index != lastIndex) { var objValue = nested[key]; void 0 === (newValue = customizer ? customizer(objValue, key, nested) : void 0) && (newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {}); } assignValue(nested, key, newValue), nested = nested[key]; } return object; }; }, "../../../node_modules/lodash/_baseSortBy.js": function(module1, exports1) { module1.exports = function(array, comparer) { var length = array.length; for(array.sort(comparer); length--;)array[length] = array[length].value; return array; }; }, "../../../node_modules/lodash/_baseSortedUniq.js": function(module1, exports1, __webpack_require__) { var eq = __webpack_require__("../../../node_modules/lodash/eq.js"); module1.exports = function(array, iteratee) { for(var index = -1, length = array.length, resIndex = 0, result = []; ++index < length;){ var value = array[index], computed = iteratee ? iteratee(value) : value; if (!index || !eq(computed, seen)) { var seen = computed; result[resIndex++] = 0 === value ? 0 : value; } } return result; }; }, "../../../node_modules/lodash/_baseSum.js": function(module1, exports1) { module1.exports = function(array, iteratee) { for(var result, index = -1, length = array.length; ++index < length;){ var current = iteratee(array[index]); void 0 !== current && (result = void 0 === result ? current : result + current); } return result; }; }, "../../../node_modules/lodash/_baseToPairs.js": function(module1, exports1, __webpack_require__) { var arrayMap = __webpack_require__("../../../node_modules/lodash/_arrayMap.js"); module1.exports = function(object, props) { return arrayMap(props, function(key) { return [ key, object[key] ]; }); }; }, "../../../node_modules/lodash/_baseToString.js": function(module1, exports1, __webpack_require__) { var Symbol1 = __webpack_require__("../../../node_modules/lodash/_Symbol.js"), arrayMap = __webpack_require__("../../../node_modules/lodash/_arrayMap.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isSymbol = __webpack_require__("../../../node_modules/lodash/isSymbol.js"), INFINITY = 1 / 0, symbolProto = Symbol1 ? Symbol1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0; module1.exports = function baseToString(value) { if ('string' == typeof value) return value; if (isArray(value)) return arrayMap(value, baseToString) + ''; if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : ''; var result = value + ''; return '0' == result && 1 / value == -INFINITY ? '-0' : result; }; }, "../../../node_modules/lodash/_baseTrim.js": function(module1, exports1, __webpack_require__) { var trimmedEndIndex = __webpack_require__("../../../node_modules/lodash/_trimmedEndIndex.js"), reTrimStart = /^\s+/; module1.exports = function(string) { return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') : string; }; }, "../../../node_modules/lodash/_baseUnary.js": function(module1, exports1) { module1.exports = function(func) { return function(value) { return func(value); }; }; }, "../../../node_modules/lodash/_baseUniq.js": function(module1, exports1, __webpack_require__) { var SetCache = __webpack_require__("../../../node_modules/lodash/_SetCache.js"), arrayIncludes = __webpack_require__("../../../node_modules/lodash/_arrayIncludes.js"), arrayIncludesWith = __webpack_require__("../../../node_modules/lodash/_arrayIncludesWith.js"), cacheHas = __webpack_require__("../../../node_modules/lodash/_cacheHas.js"), createSet = __webpack_require__("../../../node_modules/lodash/_createSet.js"), setToArray = __webpack_require__("../../../node_modules/lodash/_setToArray.js"); module1.exports = function(array, iteratee, comparator) { var index = -1, includes = arrayIncludes, length = array.length, isCommon = !0, result = [], seen = result; if (comparator) isCommon = !1, includes = arrayIncludesWith; else if (length >= 200) { var set = iteratee ? null : createSet(array); if (set) return setToArray(set); isCommon = !1, includes = cacheHas, seen = new SetCache; } else seen = iteratee ? [] : result; outer: for(; ++index < length;){ var value = array[index], computed = iteratee ? iteratee(value) : value; if (value = comparator || 0 !== value ? value : 0, isCommon && computed == computed) { for(var seenIndex = seen.length; seenIndex--;)if (seen[seenIndex] === computed) continue outer; iteratee && seen.push(computed), result.push(value); } else includes(seen, computed, comparator) || (seen !== result && seen.push(computed), result.push(value)); } return result; }; }, "../../../node_modules/lodash/_baseValues.js": function(module1, exports1, __webpack_require__) { var arrayMap = __webpack_require__("../../../node_modules/lodash/_arrayMap.js"); module1.exports = function(object, props) { return arrayMap(props, function(key) { return object[key]; }); }; }, "../../../node_modules/lodash/_cacheHas.js": function(module1, exports1, __webpack_require__) { var baseIndexOf = __webpack_require__("../../../node_modules/lodash/_baseIndexOf.js"); module1.exports = function(array, value) { return !!(null == array ? 0 : array.length) && baseIndexOf(array, value, 0) > -1; }; }, "../../../node_modules/lodash/_castFunction.js": function(module1, exports1) { module1.exports = function(value) { return value; }; }, "../../../node_modules/lodash/_castPath.js": function(module1, exports1, __webpack_require__) { var isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isKey = __webpack_require__("../../../node_modules/lodash/_isKey.js"), stringToPath = __webpack_require__("../../../node_modules/lodash/_stringToPath.js"), toString = __webpack_require__("../../../node_modules/lodash/toString.js"); module1.exports = function(value, object) { return isArray(value) ? value : isKey(value, object) ? [ value ] : stringToPath(toString(value)); }; }, "../../../node_modules/lodash/_compareAscending.js": function(module1, exports1, __webpack_require__) { var isSymbol = __webpack_require__("../../../node_modules/lodash/isSymbol.js"); module1.exports = function(value, other) { if (value !== other) { var valIsDefined = void 0 !== value, valIsNull = null === value, valIsReflexive = value == value, valIsSymbol = isSymbol(value), othIsDefined = void 0 !== other, othIsNull = null === other, othIsReflexive = other == other, othIsSymbol = isSymbol(other); if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) return 1; if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) return -1; } return 0; }; }, "../../../node_modules/lodash/_compareMultiple.js": function(module1, exports1, __webpack_require__) { var compareAscending = __webpack_require__("../../../node_modules/lodash/_compareAscending.js"); module1.exports = function(object, other, orders) { for(var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length; ++index < length;){ var result = compareAscending(objCriteria[index], othCriteria[index]); if (result) { if (index >= ordersLength) return result; return result * ('desc' == orders[index] ? -1 : 1); } } return object.index - other.index; }; }, "../../../node_modules/lodash/_copyObject.js": function(module1, exports1, __webpack_require__) { var assignValue = __webpack_require__("../../../node_modules/lodash/_assignValue.js"), baseAssignValue = __webpack_require__("../../../node_modules/lodash/_baseAssignValue.js"); module1.exports = function(source, props, object, customizer) { var isNew = !object; object || (object = {}); for(var index = -1, length = props.length; ++index < length;){ var key = props[index], newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0; void 0 === newValue && (newValue = source[key]), isNew ? baseAssignValue(object, key, newValue) : assignValue(object, key, newValue); } return object; }; }, "../../../node_modules/lodash/_createAggregator.js": function(module1, exports1, __webpack_require__) { var arrayAggregator = __webpack_require__("../../../node_modules/lodash/_arrayAggregator.js"), baseAggregator = __webpack_require__("../../../node_modules/lodash/_baseAggregator.js"), baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"); module1.exports = function(setter, initializer) { return function(collection, iteratee) { var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {}; return func(collection, setter, baseIteratee(iteratee, 2), accumulator); }; }; }, "../../../node_modules/lodash/_createAssigner.js": function(module1, exports1, __webpack_require__) { var baseRest = __webpack_require__("../../../node_modules/lodash/_baseRest.js"), isIterateeCall = __webpack_require__("../../../node_modules/lodash/_isIterateeCall.js"); module1.exports = function(assigner) { return baseRest(function(object, sources) { var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0; for(customizer = assigner.length > 3 && 'function' == typeof customizer ? (length--, customizer) : void 0, guard && isIterateeCall(sources[0], sources[1], guard) && (customizer = length < 3 ? void 0 : customizer, length = 1), object = Object(object); ++index < length;){ var source = sources[index]; source && assigner(object, source, index, customizer); } return object; }); }; }, "../../../node_modules/lodash/_createBaseFor.js": function(module1, exports1) { module1.exports = function(fromRight) { return function(object, iteratee, keysFunc) { for(var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length; length--;){ var key = props[fromRight ? length : ++index]; if (!1 === iteratee(iterable[key], key, iterable)) break; } return object; }; }; }, "../../../node_modules/lodash/_createFind.js": function(module1, exports1, __webpack_require__) { var baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), isArrayLike = __webpack_require__("../../../node_modules/lodash/isArrayLike.js"), keys = __webpack_require__("../../../node_modules/lodash/keys.js"); module1.exports = function(findIndexFunc) { return function(collection, predicate, fromIndex) { var iterable = Object(collection); if (!isArrayLike(collection)) { var iteratee = baseIteratee(predicate, 3); collection = keys(collection), predicate = function(key) { return iteratee(iterable[key], key, iterable); }; } var index = findIndexFunc(collection, predicate, fromIndex); return index > -1 ? iterable[iteratee ? collection[index] : index] : void 0; }; }; }, "../../../node_modules/lodash/_createFlow.js": function(module1, exports1, __webpack_require__) { var LodashWrapper = __webpack_require__("../../../node_modules/lodash/_LodashWrapper.js"), flatRest = __webpack_require__("../../../node_modules/lodash/_flatRest.js"), getData = __webpack_require__("../../../node_modules/lodash/_getData.js"), getFuncName = __webpack_require__("../../../node_modules/lodash/_getFuncName.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isLaziable = __webpack_require__("../../../node_modules/lodash/_isLaziable.js"); module1.exports = function(fromRight) { return flatRest(function(funcs) { var length = funcs.length, index = length, prereq = LodashWrapper.prototype.thru; for(fromRight && funcs.reverse(); index--;){ var func = funcs[index]; if ('function' != typeof func) throw TypeError('Expected a function'); if (prereq && !wrapper && 'wrapper' == getFuncName(func)) var wrapper = new LodashWrapper([], !0); } for(index = wrapper ? index : length; ++index < length;){ var funcName = getFuncName(func = funcs[index]), data = 'wrapper' == funcName ? getData(func) : void 0; wrapper = data && isLaziable(data[0]) && 424 == data[1] && !data[4].length && 1 == data[9] ? wrapper[getFuncName(data[0])].apply(wrapper, data[3]) : 1 == func.length && isLaziable(func) ? wrapper[funcName]() : wrapper.thru(func); } return function() { var args = arguments, value = args[0]; if (wrapper && 1 == args.length && isArray(value)) return wrapper.plant(value).value(); for(var index = 0, result = length ? funcs[index].apply(this, args) : value; ++index < length;)result = funcs[index].call(this, result); return result; }; }); }; }, "../../../node_modules/lodash/_createInverter.js": function(module1, exports1, __webpack_require__) { var baseInverter = __webpack_require__("../../../node_modules/lodash/_baseInverter.js"); module1.exports = function(setter, toIteratee) { return function(object, iteratee) { return baseInverter(object, setter, toIteratee(iteratee), {}); }; }; }, "../../../node_modules/lodash/_createRange.js": function(module1, exports1, __webpack_require__) { var baseRange = __webpack_require__("../../../node_modules/lodash/_baseRange.js"), isIterateeCall = __webpack_require__("../../../node_modules/lodash/_isIterateeCall.js"), toFinite = __webpack_require__("../../../node_modules/lodash/toFinite.js"); module1.exports = function(fromRight) { return function(start, end, step) { return step && 'number' != typeof step && isIterateeCall(start, end, step) && (end = step = void 0), start = toFinite(start), void 0 === end ? (end = start, start = 0) : end = toFinite(end), step = void 0 === step ? start < end ? 1 : -1 : toFinite(step), baseRange(start, end, step, fromRight); }; }; }, "../../../node_modules/lodash/_createSet.js": function(module1, exports1) { module1.exports = function() {}; }, "../../../node_modules/lodash/_createToPairs.js": function(module1, exports1, __webpack_require__) { var baseToPairs = __webpack_require__("../../../node_modules/lodash/_baseToPairs.js"), getTag = __webpack_require__("../../../node_modules/lodash/_getTag.js"), mapToArray = __webpack_require__("../../../node_modules/lodash/_mapToArray.js"), setToPairs = __webpack_require__("../../../node_modules/lodash/_setToPairs.js"); module1.exports = function(keysFunc) { return function(object) { var tag = getTag(object); return '[object Map]' == tag ? mapToArray(object) : '[object Set]' == tag ? setToPairs(object) : baseToPairs(object, keysFunc(object)); }; }; }, "../../../node_modules/lodash/_defineProperty.js": function(module1, exports1, __webpack_require__) { var getNative = __webpack_require__("../../../node_modules/lodash/_getNative.js"), defineProperty = function() { try { var func = getNative(Object, 'defineProperty'); return func({}, '', {}), func; } catch (e) {} }(); module1.exports = defineProperty; }, "../../../node_modules/lodash/_equalArrays.js": function(module1, exports1, __webpack_require__) { var SetCache = __webpack_require__("../../../node_modules/lodash/_SetCache.js"), arraySome = __webpack_require__("../../../node_modules/lodash/_arraySome.js"), cacheHas = __webpack_require__("../../../node_modules/lodash/_cacheHas.js"); module1.exports = function(array, other, bitmask, customizer, equalFunc, stack) { var isPartial = 1 & bitmask, arrLength = array.length, othLength = other.length; if (arrLength != othLength && !(isPartial && othLength > arrLength)) return !1; var arrStacked = stack.get(array), othStacked = stack.get(other); if (arrStacked && othStacked) return arrStacked == other && othStacked == array; var index = -1, result = !0, seen = 2 & bitmask ? new SetCache : void 0; for(stack.set(array, other), stack.set(other, array); ++index < arrLength;){ var arrValue = array[index], othValue = other[index]; if (customizer) var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack); if (void 0 !== compared) { if (compared) continue; result = !1; break; } if (seen) { if (!arraySome(other, function(othValue, othIndex) { if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) return seen.push(othIndex); })) { result = !1; break; } } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { result = !1; break; } } return stack.delete(array), stack.delete(other), result; }; }, "../../../node_modules/lodash/_equalByTag.js": function(module1, exports1) { module1.exports = function(value, other) { return value === other || value != value && other != other; }; }, "../../../node_modules/lodash/_equalObjects.js": function(module1, exports1, __webpack_require__) { var getAllKeys = __webpack_require__("../../../node_modules/lodash/_getAllKeys.js"), hasOwnProperty = Object.prototype.hasOwnProperty; module1.exports = function(object, other, bitmask, customizer, equalFunc, stack) { var isPartial = 1 & bitmask, objProps = getAllKeys(object), objLength = objProps.length; if (objLength != getAllKeys(other).length && !isPartial) return !1; for(var index = objLength; index--;){ var key = objProps[index]; if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) return !1; } var objStacked = stack.get(object), othStacked = stack.get(other); if (objStacked && othStacked) return objStacked == other && othStacked == object; var result = !0; stack.set(object, other), stack.set(other, object); for(var skipCtor = isPartial; ++index < objLength;){ var objValue = object[key = objProps[index]], othValue = other[key]; if (customizer) var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack); if (!(void 0 === compared ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) { result = !1; break; } skipCtor || (skipCtor = 'constructor' == key); } if (result && !skipCtor) { var objCtor = object.constructor, othCtor = other.constructor; objCtor != othCtor && 'constructor' in object && 'constructor' in other && !('function' == typeof objCtor && objCtor instanceof objCtor && 'function' == typeof othCtor && othCtor instanceof othCtor) && (result = !1); } return stack.delete(object), stack.delete(other), result; }; }, "../../../node_modules/lodash/_flatRest.js": function(module1, exports1, __webpack_require__) { var flatten = __webpack_require__("../../../node_modules/lodash/flatten.js"), overRest = __webpack_require__("../../../node_modules/lodash/_overRest.js"), setToString = __webpack_require__("../../../node_modules/lodash/_setToString.js"); module1.exports = function(func) { return setToString(overRest(func, void 0, flatten), func + ''); }; }, "../../../node_modules/lodash/_freeGlobal.js": function(module1, exports1, __webpack_require__) { (function(global) { var freeGlobal = 'object' == typeof global && global && global.Object === Object && global; module1.exports = freeGlobal; }).call(this, __webpack_require__("../../../node_modules/webpack/buildin/global.js")); }, "../../../node_modules/lodash/_getAllKeys.js": function(module1, exports1, __webpack_require__) { var nativeKeys = __webpack_require__("../../../node_modules/lodash/_overArg.js")(Object.keys, Object); module1.exports = nativeKeys; }, "../../../node_modules/lodash/_getAllKeysIn.js": function(module1, exports1) { module1.exports = function(object) { var result = []; if (null != object) for(var key in Object(object))result.push(key); return result; }; }, "../../../node_modules/lodash/_getData.js": function(module1, exports1) { module1.exports = function() {}; }, "../../../node_modules/lodash/_getFuncName.js": function(module1, exports1) { module1.exports = function() { return ''; }; }, "../../../node_modules/lodash/_getMatchData.js": function(module1, exports1, __webpack_require__) { var isStrictComparable = __webpack_require__("../../../node_modules/lodash/_isStrictComparable.js"), keys = __webpack_require__("../../../node_modules/lodash/keys.js"); module1.exports = function(object) { for(var result = keys(object), length = result.length; length--;){ var key = result[length], value = object[key]; result[length] = [ key, value, isStrictComparable(value) ]; } return result; }; }, "../../../node_modules/lodash/_getNative.js": function(module1, exports1) { module1.exports = function(object, key) { return null == object ? void 0 : object[key]; }; }, "../../../node_modules/lodash/_getPrototype.js": function(module1, exports1, __webpack_require__) { var getPrototype = __webpack_require__("../../../node_modules/lodash/_overArg.js")(Object.getPrototypeOf, Object); module1.exports = getPrototype; }, "../../../node_modules/lodash/_getTag.js": function(module1, exports1) { var nativeObjectToString = Object.prototype.toString; module1.exports = function(value) { return nativeObjectToString.call(value); }; }, "../../../node_modules/lodash/_hasPath.js": function(module1, exports1, __webpack_require__) { var castPath = __webpack_require__("../../../node_modules/lodash/_castPath.js"), isArguments = __webpack_require__("../../../node_modules/lodash/isArguments.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isIndex = __webpack_require__("../../../node_modules/lodash/_isIndex.js"), isLength = __webpack_require__("../../../node_modules/lodash/isLength.js"), toKey = __webpack_require__("../../../node_modules/lodash/_toKey.js"); module1.exports = function(object, path, hasFunc) { path = castPath(path, object); for(var index = -1, length = path.length, result = !1; ++index < length;){ var key = toKey(path[index]); if (!(result = null != object && hasFunc(object, key))) break; object = object[key]; } return result || ++index != length ? result : !!(length = null == object ? 0 : object.length) && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object)); }; }, "../../../node_modules/lodash/_isFlattenable.js": function(module1, exports1, __webpack_require__) { var Symbol1 = __webpack_require__("../../../node_modules/lodash/_Symbol.js"), isArguments = __webpack_require__("../../../node_modules/lodash/isArguments.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), spreadableSymbol = Symbol1 ? Symbol1.isConcatSpreadable : void 0; module1.exports = function(value) { return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]); }; }, "../../../node_modules/lodash/_isIndex.js": function(module1, exports1) { var reIsUint = /^(?:0|[1-9]\d*)$/; module1.exports = function(value, length) { var type = typeof value; return !!(length = null == length ? 9007199254740991 : length) && ('number' == type || 'symbol' != type && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length; }; }, "../../../node_modules/lodash/_isIterateeCall.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/_isKey.js": function(module1, exports1, __webpack_require__) { var isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isSymbol = __webpack_require__("../../../node_modules/lodash/isSymbol.js"), reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/; module1.exports = function(value, object) { if (isArray(value)) return !1; var type = typeof value; return !!('number' == type || 'symbol' == type || 'boolean' == type || null == value || isSymbol(value)) || reIsPlainProp.test(value) || !reIsDeepProp.test(value) || null != object && value in Object(object); }; }, "../../../node_modules/lodash/_isLaziable.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/_isPrototype.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/_isStrictComparable.js": function(module1, exports1, __webpack_require__) { var isObject = __webpack_require__("../../../node_modules/lodash/isObject.js"); module1.exports = function(value) { return value == value && !isObject(value); }; }, "../../../node_modules/lodash/_listCacheClear.js": function(module1, exports1) { module1.exports = function() { this.__data__ = [], this.size = 0; }; }, "../../../node_modules/lodash/_listCacheDelete.js": function(module1, exports1, __webpack_require__) { var assocIndexOf = __webpack_require__("../../../node_modules/lodash/_assocIndexOf.js"), splice = Array.prototype.splice; module1.exports = function(key) { var data = this.__data__, index = assocIndexOf(data, key); return !(index < 0) && (index == data.length - 1 ? data.pop() : splice.call(data, index, 1), --this.size, !0); }; }, "../../../node_modules/lodash/_listCacheGet.js": function(module1, exports1, __webpack_require__) { var assocIndexOf = __webpack_require__("../../../node_modules/lodash/_assocIndexOf.js"); module1.exports = function(key) { var data = this.__data__, index = assocIndexOf(data, key); return index < 0 ? void 0 : data[index][1]; }; }, "../../../node_modules/lodash/_listCacheHas.js": function(module1, exports1, __webpack_require__) { var assocIndexOf = __webpack_require__("../../../node_modules/lodash/_assocIndexOf.js"); module1.exports = function(key) { return assocIndexOf(this.__data__, key) > -1; }; }, "../../../node_modules/lodash/_listCacheSet.js": function(module1, exports1, __webpack_require__) { var assocIndexOf = __webpack_require__("../../../node_modules/lodash/_assocIndexOf.js"); module1.exports = function(key, value) { var data = this.__data__, index = assocIndexOf(data, key); return index < 0 ? (++this.size, data.push([ key, value ])) : data[index][1] = value, this; }; }, "../../../node_modules/lodash/_mapToArray.js": function(module1, exports1) { module1.exports = function() { return []; }; }, "../../../node_modules/lodash/_matchesStrictComparable.js": function(module1, exports1) { module1.exports = function(key, srcValue) { return function(object) { return null != object && object[key] === srcValue && (void 0 !== srcValue || key in Object(object)); }; }; }, "../../../node_modules/lodash/_memoizeCapped.js": function(module1, exports1) { module1.exports = function(value) { return value; }; }, "../../../node_modules/lodash/_nodeUtil.js": function(module1, exports1, __webpack_require__) { (function(module1) { var freeGlobal = __webpack_require__("../../../node_modules/lodash/_freeGlobal.js"), freeExports = exports1 && !exports1.nodeType && exports1, freeModule = freeExports && 'object' == typeof module1 && module1 && !module1.nodeType && module1, freeProcess = freeModule && freeModule.exports === freeExports && freeGlobal.process, nodeUtil = function() { try { var types = freeModule && freeModule.require && freeModule.require('util').types; if (types) return types; return freeProcess && freeProcess.binding && freeProcess.binding('util'); } catch (e) {} }(); module1.exports = nodeUtil; }).call(this, __webpack_require__("../../../node_modules/webpack/buildin/module.js")(module1)); }, "../../../node_modules/lodash/_overArg.js": function(module1, exports1) { module1.exports = function(func, transform) { return function(arg) { return func(transform(arg)); }; }; }, "../../../node_modules/lodash/_overRest.js": function(module1, exports1, __webpack_require__) { var apply = __webpack_require__("../../../node_modules/lodash/_apply.js"), nativeMax = Math.max; module1.exports = function(func, start, transform) { return start = nativeMax(void 0 === start ? func.length - 1 : start, 0), function() { for(var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length); ++index < length;)array[index] = args[start + index]; index = -1; for(var otherArgs = Array(start + 1); ++index < start;)otherArgs[index] = args[index]; return otherArgs[start] = transform(array), apply(func, this, otherArgs); }; }; }, "../../../node_modules/lodash/_root.js": function(module1, exports1, __webpack_require__) { var freeGlobal = __webpack_require__("../../../node_modules/lodash/_freeGlobal.js"), freeSelf = 'object' == typeof self && self && self.Object === Object && self, root = freeGlobal || freeSelf || Function('return this')(); module1.exports = root; }, "../../../node_modules/lodash/_setToArray.js": function(module1, exports1) { module1.exports = function() { return []; }; }, "../../../node_modules/lodash/_setToPairs.js": function(module1, exports1) { module1.exports = function() { return []; }; }, "../../../node_modules/lodash/_setToString.js": function(module1, exports1) { module1.exports = function(value) { return value; }; }, "../../../node_modules/lodash/_stringToPath.js": function(module1, exports1, __webpack_require__) { var memoizeCapped = __webpack_require__("../../../node_modules/lodash/_memoizeCapped.js"), rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, reEscapeChar = /\\(\\)?/g, stringToPath = memoizeCapped(function(string) { var result = []; return 46 === string.charCodeAt(0) && result.push(''), string.replace(rePropName, function(match, number, quote, subString) { result.push(quote ? subString.replace(reEscapeChar, '$1') : number || match); }), result; }); module1.exports = stringToPath; }, "../../../node_modules/lodash/_toKey.js": function(module1, exports1, __webpack_require__) { var isSymbol = __webpack_require__("../../../node_modules/lodash/isSymbol.js"), INFINITY = 1 / 0; module1.exports = function(value) { if ('string' == typeof value || isSymbol(value)) return value; var result = value + ''; return '0' == result && 1 / value == -INFINITY ? '-0' : result; }; }, "../../../node_modules/lodash/_trimmedEndIndex.js": function(module1, exports1) { var reWhitespace = /\s/; module1.exports = function(string) { for(var index = string.length; index-- && reWhitespace.test(string.charAt(index));); return index; }; }, "../../../node_modules/lodash/assign.js": function(module1, exports1, __webpack_require__) { var assignValue = __webpack_require__("../../../node_modules/lodash/_assignValue.js"), copyObject = __webpack_require__("../../../node_modules/lodash/_copyObject.js"), createAssigner = __webpack_require__("../../../node_modules/lodash/_createAssigner.js"), isArrayLike = __webpack_require__("../../../node_modules/lodash/isArrayLike.js"), isPrototype = __webpack_require__("../../../node_modules/lodash/_isPrototype.js"), keys = __webpack_require__("../../../node_modules/lodash/keys.js"), hasOwnProperty = Object.prototype.hasOwnProperty, assign = createAssigner(function(object, source) { if (isPrototype(source) || isArrayLike(source)) { copyObject(source, keys(source), object); return; } for(var key in source)hasOwnProperty.call(source, key) && assignValue(object, key, source[key]); }); module1.exports = assign; }, "../../../node_modules/lodash/constant.js": function(module1, exports1) { module1.exports = function(value) { return function() { return value; }; }; }, "../../../node_modules/lodash/debounce.js": function(module1, exports1, __webpack_require__) { var isObject = __webpack_require__("../../../node_modules/lodash/isObject.js"), now = __webpack_require__("../../../node_modules/lodash/now.js"), toNumber = __webpack_require__("../../../node_modules/lodash/toNumber.js"), nativeMax = Math.max, nativeMin = Math.min; module1.exports = function(func, wait, options) { var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = !1, maxing = !1, trailing = !0; if ('function' != typeof func) throw TypeError('Expected a function'); function invokeFunc(time) { var args = lastArgs, thisArg = lastThis; return lastArgs = lastThis = void 0, lastInvokeTime = time, result = func.apply(thisArg, args); } function shouldInvoke(time) { var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime; return void 0 === lastCallTime || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait; } function timerExpired() { var time, timeSinceLastCall, timeSinceLastInvoke, timeWaiting, time1 = now(); if (shouldInvoke(time1)) return trailingEdge(time1); timerId = setTimeout(timerExpired, (timeSinceLastCall = time1 - lastCallTime, timeSinceLastInvoke = time1 - lastInvokeTime, timeWaiting = wait - timeSinceLastCall, maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting)); } function trailingEdge(time) { return (timerId = void 0, trailing && lastArgs) ? invokeFunc(time) : (lastArgs = lastThis = void 0, result); } function debounced() { var time, time1 = now(), isInvoking = shouldInvoke(time1); if (lastArgs = arguments, lastThis = this, lastCallTime = time1, isInvoking) { if (void 0 === timerId) return lastInvokeTime = time = lastCallTime, timerId = setTimeout(timerExpired, wait), leading ? invokeFunc(time) : result; if (maxing) return clearTimeout(timerId), timerId = setTimeout(timerExpired, wait), invokeFunc(lastCallTime); } return void 0 === timerId && (timerId = setTimeout(timerExpired, wait)), result; } return wait = toNumber(wait) || 0, isObject(options) && (leading = !!options.leading, maxWait = (maxing = 'maxWait' in options) ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait, trailing = 'trailing' in options ? !!options.trailing : trailing), debounced.cancel = function() { void 0 !== timerId && clearTimeout(timerId), lastInvokeTime = 0, lastArgs = lastCallTime = lastThis = timerId = void 0; }, debounced.flush = function() { return void 0 === timerId ? result : trailingEdge(now()); }, debounced; }; }, "../../../node_modules/lodash/defaults.js": function(module1, exports1, __webpack_require__) { var baseRest = __webpack_require__("../../../node_modules/lodash/_baseRest.js"), eq = __webpack_require__("../../../node_modules/lodash/eq.js"), isIterateeCall = __webpack_require__("../../../node_modules/lodash/_isIterateeCall.js"), keysIn = __webpack_require__("../../../node_modules/lodash/keysIn.js"), objectProto = Object.prototype, hasOwnProperty = objectProto.hasOwnProperty, defaults = baseRest(function(object, sources) { object = Object(object); var index = -1, length = sources.length, guard = length > 2 ? sources[2] : void 0; for(guard && isIterateeCall(sources[0], sources[1], guard) && (length = 1); ++index < length;)for(var source = sources[index], props = keysIn(source), propsIndex = -1, propsLength = props.length; ++propsIndex < propsLength;){ var key = props[propsIndex], value = object[key]; (void 0 === value || eq(value, objectProto[key]) && !hasOwnProperty.call(object, key)) && (object[key] = source[key]); } return object; }); module1.exports = defaults; }, "../../../node_modules/lodash/delay.js": function(module1, exports1, __webpack_require__) { var baseDelay = __webpack_require__("../../../node_modules/lodash/_baseDelay.js"), baseRest = __webpack_require__("../../../node_modules/lodash/_baseRest.js"), toNumber = __webpack_require__("../../../node_modules/lodash/toNumber.js"), delay = baseRest(function(func, wait, args) { return baseDelay(func, toNumber(wait) || 0, args); }); module1.exports = delay; }, "../../../node_modules/lodash/difference.js": function(module1, exports1, __webpack_require__) { var baseDifference = __webpack_require__("../../../node_modules/lodash/_baseDifference.js"), baseFlatten = __webpack_require__("../../../node_modules/lodash/_baseFlatten.js"), baseRest = __webpack_require__("../../../node_modules/lodash/_baseRest.js"), isArrayLikeObject = __webpack_require__("../../../node_modules/lodash/isArrayLikeObject.js"), difference = baseRest(function(array, values) { return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, !0)) : []; }); module1.exports = difference; }, "../../../node_modules/lodash/eq.js": function(module1, exports1) { module1.exports = function(value, other) { return value === other || value != value && other != other; }; }, "../../../node_modules/lodash/find.js": function(module1, exports1, __webpack_require__) { var find = __webpack_require__("../../../node_modules/lodash/_createFind.js")(__webpack_require__("../../../node_modules/lodash/findIndex.js")); module1.exports = find; }, "../../../node_modules/lodash/findIndex.js": function(module1, exports1, __webpack_require__) { var baseFindIndex = __webpack_require__("../../../node_modules/lodash/_baseFindIndex.js"), baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), toInteger = __webpack_require__("../../../node_modules/lodash/toInteger.js"), nativeMax = Math.max; module1.exports = function(array, predicate, fromIndex) { var length = null == array ? 0 : array.length; if (!length) return -1; var index = null == fromIndex ? 0 : toInteger(fromIndex); return index < 0 && (index = nativeMax(length + index, 0)), baseFindIndex(array, baseIteratee(predicate, 3), index); }; }, "../../../node_modules/lodash/flatten.js": function(module1, exports1, __webpack_require__) { var baseFlatten = __webpack_require__("../../../node_modules/lodash/_baseFlatten.js"); module1.exports = function(array) { return (null == array ? 0 : array.length) ? baseFlatten(array, 1) : []; }; }, "../../../node_modules/lodash/flow.js": function(module1, exports1, __webpack_require__) { var flow = __webpack_require__("../../../node_modules/lodash/_createFlow.js")(); module1.exports = flow; }, "../../../node_modules/lodash/forOwn.js": function(module1, exports1, __webpack_require__) { var baseForOwn = __webpack_require__("../../../node_modules/lodash/_baseForOwn.js"), castFunction = __webpack_require__("../../../node_modules/lodash/_castFunction.js"); module1.exports = function(object, iteratee) { return object && baseForOwn(object, castFunction(iteratee)); }; }, "../../../node_modules/lodash/fromPairs.js": function(module1, exports1) { module1.exports = function(pairs) { for(var index = -1, length = null == pairs ? 0 : pairs.length, result = {}; ++index < length;){ var pair = pairs[index]; result[pair[0]] = pair[1]; } return result; }; }, "../../../node_modules/lodash/get.js": function(module1, exports1, __webpack_require__) { var baseGet = __webpack_require__("../../../node_modules/lodash/_baseGet.js"); module1.exports = function(object, path, defaultValue) { var result = null == object ? void 0 : baseGet(object, path); return void 0 === result ? defaultValue : result; }; }, "../../../node_modules/lodash/groupBy.js": function(module1, exports1, __webpack_require__) { var baseAssignValue = __webpack_require__("../../../node_modules/lodash/_baseAssignValue.js"), createAggregator = __webpack_require__("../../../node_modules/lodash/_createAggregator.js"), hasOwnProperty = Object.prototype.hasOwnProperty, groupBy = createAggregator(function(result, value, key) { hasOwnProperty.call(result, key) ? result[key].push(value) : baseAssignValue(result, key, [ value ]); }); module1.exports = groupBy; }, "../../../node_modules/lodash/hasIn.js": function(module1, exports1, __webpack_require__) { var baseHasIn = __webpack_require__("../../../node_modules/lodash/_baseHasIn.js"), hasPath = __webpack_require__("../../../node_modules/lodash/_hasPath.js"); module1.exports = function(object, path) { return null != object && hasPath(object, path, baseHasIn); }; }, "../../../node_modules/lodash/identity.js": function(module1, exports1) { module1.exports = function(value) { return value; }; }, "../../../node_modules/lodash/includes.js": function(module1, exports1, __webpack_require__) { var baseIndexOf = __webpack_require__("../../../node_modules/lodash/_baseIndexOf.js"); module1.exports = function(array, value) { return !!(null == array ? 0 : array.length) && baseIndexOf(array, value, 0) > -1; }; }, "../../../node_modules/lodash/invert.js": function(module1, exports1, __webpack_require__) { var constant = __webpack_require__("../../../node_modules/lodash/constant.js"), createInverter = __webpack_require__("../../../node_modules/lodash/_createInverter.js"), identity = __webpack_require__("../../../node_modules/lodash/identity.js"), nativeObjectToString = Object.prototype.toString, invert = createInverter(function(result, value, key) { null != value && 'function' != typeof value.toString && (value = nativeObjectToString.call(value)), result[value] = key; }, constant(identity)); module1.exports = invert; }, "../../../node_modules/lodash/isArguments.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/isArray.js": function(module1, exports1) { var isArray = Array.isArray; module1.exports = isArray; }, "../../../node_modules/lodash/isArrayLike.js": function(module1, exports1, __webpack_require__) { var isFunction = __webpack_require__("../../../node_modules/lodash/isFunction.js"), isLength = __webpack_require__("../../../node_modules/lodash/isLength.js"); module1.exports = function(value) { return null != value && isLength(value.length) && !isFunction(value); }; }, "../../../node_modules/lodash/isArrayLikeObject.js": function(module1, exports1, __webpack_require__) { var isArrayLike = __webpack_require__("../../../node_modules/lodash/isArrayLike.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"); module1.exports = function(value) { return isObjectLike(value) && isArrayLike(value); }; }, "../../../node_modules/lodash/isBuffer.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/isDate.js": function(module1, exports1, __webpack_require__) { var baseIsDate = __webpack_require__("../../../node_modules/lodash/_baseIsDate.js"), baseUnary = __webpack_require__("../../../node_modules/lodash/_baseUnary.js"), nodeUtil = __webpack_require__("../../../node_modules/lodash/_nodeUtil.js"), nodeIsDate = nodeUtil && nodeUtil.isDate, isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; module1.exports = isDate; }, "../../../node_modules/lodash/isEmpty.js": function(module1, exports1, __webpack_require__) { var baseKeys = __webpack_require__("../../../node_modules/lodash/_baseKeys.js"), getTag = __webpack_require__("../../../node_modules/lodash/_getTag.js"), isArguments = __webpack_require__("../../../node_modules/lodash/isArguments.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isArrayLike = __webpack_require__("../../../node_modules/lodash/isArrayLike.js"), isBuffer = __webpack_require__("../../../node_modules/lodash/isBuffer.js"), isPrototype = __webpack_require__("../../../node_modules/lodash/_isPrototype.js"), isTypedArray = __webpack_require__("../../../node_modules/lodash/isTypedArray.js"), hasOwnProperty = Object.prototype.hasOwnProperty; module1.exports = function(value) { if (null == value) return !0; if (isArrayLike(value) && (isArray(value) || 'string' == typeof value || 'function' == typeof value.splice || isBuffer(value) || isTypedArray(value) || isArguments(value))) return !value.length; var tag = getTag(value); if ('[object Map]' == tag || '[object Set]' == tag) return !value.size; if (isPrototype(value)) return !baseKeys(value).length; for(var key in value)if (hasOwnProperty.call(value, key)) return !1; return !0; }; }, "../../../node_modules/lodash/isEqual.js": function(module1, exports1, __webpack_require__) { var baseIsEqual = __webpack_require__("../../../node_modules/lodash/_baseIsEqual.js"); module1.exports = function(value, other) { return baseIsEqual(value, other); }; }, "../../../node_modules/lodash/isFunction.js": function(module1, exports1, __webpack_require__) { var baseGetTag = __webpack_require__("../../../node_modules/lodash/_baseGetTag.js"), isObject = __webpack_require__("../../../node_modules/lodash/isObject.js"); module1.exports = function(value) { if (!isObject(value)) return !1; var tag = baseGetTag(value); return '[object Function]' == tag || '[object GeneratorFunction]' == tag || '[object AsyncFunction]' == tag || '[object Proxy]' == tag; }; }, "../../../node_modules/lodash/isLength.js": function(module1, exports1) { module1.exports = function(value) { return 'number' == typeof value && value > -1 && value % 1 == 0 && value <= 9007199254740991; }; }, "../../../node_modules/lodash/isNaN.js": function(module1, exports1, __webpack_require__) { var isNumber = __webpack_require__("../../../node_modules/lodash/isNumber.js"); module1.exports = function(value) { return isNumber(value) && value != +value; }; }, "../../../node_modules/lodash/isNil.js": function(module1, exports1) { module1.exports = function(value) { return null == value; }; }, "../../../node_modules/lodash/isNumber.js": function(module1, exports1, __webpack_require__) { var baseGetTag = __webpack_require__("../../../node_modules/lodash/_baseGetTag.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"); module1.exports = function(value) { return 'number' == typeof value || isObjectLike(value) && '[object Number]' == baseGetTag(value); }; }, "../../../node_modules/lodash/isObject.js": function(module1, exports1) { module1.exports = function(value) { var type = typeof value; return null != value && ('object' == type || 'function' == type); }; }, "../../../node_modules/lodash/isObjectLike.js": function(module1, exports1) { module1.exports = function(value) { return null != value && 'object' == typeof value; }; }, "../../../node_modules/lodash/isPlainObject.js": function(module1, exports1, __webpack_require__) { var baseGetTag = __webpack_require__("../../../node_modules/lodash/_baseGetTag.js"), getPrototype = __webpack_require__("../../../node_modules/lodash/_getPrototype.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"), objectProto = Object.prototype, funcToString = Function.prototype.toString, hasOwnProperty = objectProto.hasOwnProperty, objectCtorString = funcToString.call(Object); module1.exports = function(value) { if (!isObjectLike(value) || '[object Object]' != baseGetTag(value)) return !1; var proto = getPrototype(value); if (null === proto) return !0; var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; return 'function' == typeof Ctor && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString; }; }, "../../../node_modules/lodash/isRegExp.js": function(module1, exports1, __webpack_require__) { var baseIsRegExp = __webpack_require__("../../../node_modules/lodash/_baseIsRegExp.js"), baseUnary = __webpack_require__("../../../node_modules/lodash/_baseUnary.js"), nodeUtil = __webpack_require__("../../../node_modules/lodash/_nodeUtil.js"), nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; module1.exports = isRegExp; }, "../../../node_modules/lodash/isString.js": function(module1, exports1, __webpack_require__) { var baseGetTag = __webpack_require__("../../../node_modules/lodash/_baseGetTag.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"), isObjectLike = __webpack_require__("../../../node_modules/lodash/isObjectLike.js"); module1.exports = function(value) { return 'string' == typeof value || !isArray(value) && isObjectLike(value) && '[object String]' == baseGetTag(value); }; }, "../../../node_modules/lodash/isSymbol.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/isTypedArray.js": function(module1, exports1) { module1.exports = function() { return !1; }; }, "../../../node_modules/lodash/isUndefined.js": function(module1, exports1) { module1.exports = function(value) { return void 0 === value; }; }, "../../../node_modules/lodash/keys.js": function(module1, exports1, __webpack_require__) { var nativeKeys = __webpack_require__("../../../node_modules/lodash/_overArg.js")(Object.keys, Object); module1.exports = nativeKeys; }, "../../../node_modules/lodash/keysIn.js": function(module1, exports1) { module1.exports = function(object) { var result = []; if (null != object) for(var key in Object(object))result.push(key); return result; }; }, "../../../node_modules/lodash/last.js": function(module1, exports1) { module1.exports = function(array) { var length = null == array ? 0 : array.length; return length ? array[length - 1] : void 0; }; }, "../../../node_modules/lodash/mapValues.js": function(module1, exports1, __webpack_require__) { var baseAssignValue = __webpack_require__("../../../node_modules/lodash/_baseAssignValue.js"), baseForOwn = __webpack_require__("../../../node_modules/lodash/_baseForOwn.js"), baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"); module1.exports = function(object, iteratee) { var result = {}; return iteratee = baseIteratee(iteratee, 3), baseForOwn(object, function(value, key, object) { baseAssignValue(result, key, iteratee(value, key, object)); }), result; }; }, "../../../node_modules/lodash/negate.js": function(module1, exports1) { module1.exports = function(predicate) { if ('function' != typeof predicate) throw TypeError('Expected a function'); return function() { var args = arguments; switch(args.length){ case 0: return !predicate.call(this); case 1: return !predicate.call(this, args[0]); case 2: return !predicate.call(this, args[0], args[1]); case 3: return !predicate.call(this, args[0], args[1], args[2]); } return !predicate.apply(this, args); }; }; }, "../../../node_modules/lodash/now.js": function(module1, exports1, __webpack_require__) { var root = __webpack_require__("../../../node_modules/lodash/_root.js"), now = function() { return root.Date.now(); }; module1.exports = now; }, "../../../node_modules/lodash/omitBy.js": function(module1, exports1, __webpack_require__) { var baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), negate = __webpack_require__("../../../node_modules/lodash/negate.js"), pickBy = __webpack_require__("../../../node_modules/lodash/pickBy.js"); module1.exports = function(object, predicate) { return pickBy(object, negate(baseIteratee(predicate))); }; }, "../../../node_modules/lodash/orderBy.js": function(module1, exports1, __webpack_require__) { var baseOrderBy = __webpack_require__("../../../node_modules/lodash/_baseOrderBy.js"), isArray = __webpack_require__("../../../node_modules/lodash/isArray.js"); module1.exports = function(collection, iteratees, orders, guard) { return null == collection ? [] : (isArray(iteratees) || (iteratees = null == iteratees ? [] : [ iteratees ]), isArray(orders = guard ? void 0 : orders) || (orders = null == orders ? [] : [ orders ]), baseOrderBy(collection, iteratees, orders)); }; }, "../../../node_modules/lodash/pick.js": function(module1, exports1, __webpack_require__) { var basePick = __webpack_require__("../../../node_modules/lodash/_basePick.js"), pick = __webpack_require__("../../../node_modules/lodash/_flatRest.js")(function(object, paths) { return null == object ? {} : basePick(object, paths); }); module1.exports = pick; }, "../../../node_modules/lodash/pickBy.js": function(module1, exports1, __webpack_require__) { var arrayMap = __webpack_require__("../../../node_modules/lodash/_arrayMap.js"), baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), basePickBy = __webpack_require__("../../../node_modules/lodash/_basePickBy.js"), getAllKeysIn = __webpack_require__("../../../node_modules/lodash/_getAllKeysIn.js"); module1.exports = function(object, predicate) { if (null == object) return {}; var props = arrayMap(getAllKeysIn(object), function(prop) { return [ prop ]; }); return predicate = baseIteratee(predicate), basePickBy(object, props, function(value, path) { return predicate(value, path[0]); }); }; }, "../../../node_modules/lodash/property.js": function(module1, exports1, __webpack_require__) { var baseProperty = __webpack_require__("../../../node_modules/lodash/_baseProperty.js"), basePropertyDeep = __webpack_require__("../../../node_modules/lodash/_basePropertyDeep.js"), isKey = __webpack_require__("../../../node_modules/lodash/_isKey.js"), toKey = __webpack_require__("../../../node_modules/lodash/_toKey.js"); module1.exports = function(path) { return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path); }; }, "../../../node_modules/lodash/range.js": function(module1, exports1, __webpack_require__) { var range = __webpack_require__("../../../node_modules/lodash/_createRange.js")(); module1.exports = range; }, "../../../node_modules/lodash/some.js": function(module1, exports1) { module1.exports = function(array, predicate) { for(var index = -1, length = null == array ? 0 : array.length; ++index < length;)if (predicate(array[index], index, array)) return !0; return !1; }; }, "../../../node_modules/lodash/sortedUniq.js": function(module1, exports1, __webpack_require__) { var baseSortedUniq = __webpack_require__("../../../node_modules/lodash/_baseSortedUniq.js"); module1.exports = function(array) { return array && array.length ? baseSortedUniq(array) : []; }; }, "../../../node_modules/lodash/sum.js": function(module1, exports1, __webpack_require__) { var baseSum = __webpack_require__("../../../node_modules/lodash/_baseSum.js"), identity = __webpack_require__("../../../node_modules/lodash/identity.js"); module1.exports = function(array) { return array && array.length ? baseSum(array, identity) : 0; }; }, "../../../node_modules/lodash/throttle.js": function(module1, exports1, __webpack_require__) { var debounce = __webpack_require__("../../../node_modules/lodash/debounce.js"), isObject = __webpack_require__("../../../node_modules/lodash/isObject.js"); module1.exports = function(func, wait, options) { var leading = !0, trailing = !0; if ('function' != typeof func) throw TypeError('Expected a function'); return isObject(options) && (leading = 'leading' in options ? !!options.leading : leading, trailing = 'trailing' in options ? !!options.trailing : trailing), debounce(func, wait, { leading: leading, maxWait: wait, trailing: trailing }); }; }, "../../../node_modules/lodash/toFinite.js": function(module1, exports1, __webpack_require__) { var toNumber = __webpack_require__("../../../node_modules/lodash/toNumber.js"), INFINITY = 1 / 0; module1.exports = function(value) { return value ? (value = toNumber(value)) === INFINITY || value === -INFINITY ? (value < 0 ? -1 : 1) * 1.7976931348623157e+308 : value == value ? value : 0 : 0 === value ? value : 0; }; }, "../../../node_modules/lodash/toInteger.js": function(module1, exports1, __webpack_require__) { var toFinite = __webpack_require__("../../../node_modules/lodash/toFinite.js"); module1.exports = function(value) { var result = toFinite(value), remainder = result % 1; return result == result ? remainder ? result - remainder : result : 0; }; }, "../../../node_modules/lodash/toNumber.js": function(module1, exports1, __webpack_require__) { var baseTrim = __webpack_require__("../../../node_modules/lodash/_baseTrim.js"), isObject = __webpack_require__("../../../node_modules/lodash/isObject.js"), isSymbol = __webpack_require__("../../../node_modules/lodash/isSymbol.js"), NAN = 0 / 0, reIsBadHex = /^[-+]0x[0-9a-f]+$/i, reIsBinary = /^0b[01]+$/i, reIsOctal = /^0o[0-7]+$/i, freeParseInt = parseInt; module1.exports = function(value) { if ('number' == typeof value) return value; if (isSymbol(value)) return NAN; if (isObject(value)) { var other = 'function' == typeof value.valueOf ? value.valueOf() : value; value = isObject(other) ? other + '' : other; } if ('string' != typeof value) return 0 === value ? value : +value; value = baseTrim(value); var isBinary = reIsBinary.test(value); return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value; }; }, "../../../node_modules/lodash/toPairs.js": function(module1, exports1, __webpack_require__) { var toPairs = __webpack_require__("../../../node_modules/lodash/_createToPairs.js")(__webpack_require__("../../../node_modules/lodash/keys.js")); module1.exports = toPairs; }, "../../../node_modules/lodash/toString.js": function(module1, exports1, __webpack_require__) { var baseToString = __webpack_require__("../../../node_modules/lodash/_baseToString.js"); module1.exports = function(value) { return null == value ? '' : baseToString(value); }; }, "../../../node_modules/lodash/uniq.js": function(module1, exports1, __webpack_require__) { var baseUniq = __webpack_require__("../../../node_modules/lodash/_baseUniq.js"); module1.exports = function(array) { return array && array.length ? baseUniq(array) : []; }; }, "../../../node_modules/lodash/uniqBy.js": function(module1, exports1, __webpack_require__) { var baseIteratee = __webpack_require__("../../../node_modules/lodash/_baseIteratee.js"), baseUniq = __webpack_require__("../../../node_modules/lodash/_baseUniq.js"); module1.exports = function(array, iteratee) { return array && array.length ? baseUniq(array, baseIteratee(iteratee, 2)) : []; }; }, "../../../node_modules/lodash/uniqueId.js": function(module1, exports1, __webpack_require__) { var toString = __webpack_require__("../../../node_modules/lodash/toString.js"), idCounter = 0; module1.exports = function(prefix) { var id = ++idCounter; return toString(prefix) + id; }; }, "../../../node_modules/lodash/values.js": function(module1, exports1, __webpack_require__) { var baseValues = __webpack_require__("../../../node_modules/lodash/_baseValues.js"), keys = __webpack_require__("../../../node_modules/lodash/keys.js"); module1.exports = function(object) { return null == object ? [] : baseValues(object, keys(object)); }; }, "../../../node_modules/lodash/without.js": function(module1, exports1, __webpack_require__) { var baseDifference = __webpack_require__("../../../node_modules/lodash/_baseDifference.js"), baseRest = __webpack_require__("../../../node_modules/lodash/_baseRest.js"), isArrayLikeObject = __webpack_require__("../../../node_modules/lodash/isArrayLikeObject.js"), without = baseRest(function(array, values) { return isArrayLikeObject(array) ? baseDifference(array, values) : []; }); module1.exports = without; }, "../../../node_modules/object-assign/index.js": function(module1, exports1, __webpack_require__) { "use strict"; var getOwnPropertySymbols = Object.getOwnPropertySymbols, hasOwnProperty = Object.prototype.hasOwnProperty, propIsEnumerable = Object.prototype.propertyIsEnumerable; module1.exports = !function() { try { if (!Object.assign) return !1; var test1 = new String('abc'); if (test1[5] = 'de', '5' === Object.getOwnPropertyNames(test1)[0]) return !1; for(var test2 = {}, i = 0; i < 10; i++)test2['_' + String.fromCharCode(i)] = i; var order2 = Object.getOwnPropertyNames(test2).map(function(n) { return test2[n]; }); if ('0123456789' !== order2.join('')) return !1; var test3 = {}; if ('abcdefghijklmnopqrst'.split('').forEach(function(letter) { test3[letter] = letter; }), 'abcdefghijklmnopqrst' !== Object.keys(Object.assign({}, test3)).join('')) return !1; return !0; } catch (err) { return !1; } }() ? function(target, source) { for(var from, symbols, to = function(val) { if (null == val) throw TypeError('Object.assign cannot be called with null or undefined'); return Object(val); }(target), s = 1; s < arguments.length; s++){ for(var key in from = Object(arguments[s]))hasOwnProperty.call(from, key) && (to[key] = from[key]); if (getOwnPropertySymbols) { symbols = getOwnPropertySymbols(from); for(var i = 0; i < symbols.length; i++)propIsEnumerable.call(from, symbols[i]) && (to[symbols[i]] = from[symbols[i]]); } } return to; } : Object.assign; }, "../../../node_modules/prop-types/checkPropTypes.js": function(module1, exports1, __webpack_require__) { "use strict"; var printWarning = function() {}, ReactPropTypesSecret = __webpack_require__("../../../node_modules/prop-types/lib/ReactPropTypesSecret.js"), loggedTypeFailures = {}, has = Function.call.bind(Object.prototype.hasOwnProperty); function checkPropTypes(typeSpecs, values, location, componentName, getStack) { for(var typeSpecName in typeSpecs)if (has(typeSpecs, typeSpecName)) { var error; try { if ('function' != typeof typeSpecs[typeSpecName]) { var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + '`.'); throw err.name = 'Invariant Violation', err; } error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); } catch (ex) { error = ex; } if (!error || error instanceof Error || printWarning((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."), error instanceof Error && !(error.message in loggedTypeFailures)) { loggedTypeFailures[error.message] = !0; var stack = getStack ? getStack() : ''; printWarning('Failed ' + location + ' type: ' + error.message + (null != stack ? stack : '')); } } } printWarning = function(text) { var message = 'Warning: ' + text; 'undefined' != typeof console && console.error(message); try { throw Error(message); } catch (x) {} }, checkPropTypes.resetWarningCache = function() { loggedTypeFailures = {}; }, module1.exports = checkPropTypes; }, "../../../node_modules/prop-types/factoryWithTypeCheckers.js": function(module1, exports1, __webpack_require__) { "use strict"; var ReactIs = __webpack_require__("../../../node_modules/react-is/index.js"), assign = __webpack_require__("../../../node_modules/object-assign/index.js"), ReactPropTypesSecret = __webpack_require__("../../../node_modules/prop-types/lib/ReactPropTypesSecret.js"), checkPropTypes = __webpack_require__("../../../node_modules/prop-types/checkPropTypes.js"), has = Function.call.bind(Object.prototype.hasOwnProperty), printWarning = function() {}; function emptyFunctionThatReturnsNull() { return null; } printWarning = function(text) { var message = 'Warning: ' + text; 'undefined' != typeof console && console.error(message); try { throw Error(message); } catch (x) {} }, module1.exports = function(isValidElement, throwOnDirectAccess) { var ITERATOR_SYMBOL = 'function' == typeof Symbol && Symbol.iterator, ANONYMOUS = '<>', ReactPropTypes = { array: createPrimitiveTypeChecker('array'), bool: createPrimitiveTypeChecker('boolean'), func: createPrimitiveTypeChecker('function'), number: createPrimitiveTypeChecker('number'), object: createPrimitiveTypeChecker('object'), string: createPrimitiveTypeChecker('string'), symbol: createPrimitiveTypeChecker('symbol'), any: createChainableTypeChecker(emptyFunctionThatReturnsNull), arrayOf: function(typeChecker) { return createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { if ('function' != typeof typeChecker) return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); var propValue = props[propName]; if (!Array.isArray(propValue)) { var propType = getPropType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `') + componentName + '`, expected an array.'); } for(var i = 0; i < propValue.length; i++){ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret); if (error instanceof Error) return error; } return null; }); }, element: createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { var propValue = props[propName]; if (!isValidElement(propValue)) { var propType = getPropType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `') + componentName + '`, expected a single ReactElement.'); } return null; }), elementType: createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { var propValue = props[propName]; if (!ReactIs.isValidElementType(propValue)) { var propType = getPropType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `') + componentName + '`, expected a single ReactElement type.'); } return null; }), instanceOf: function(expectedClass) { return createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { if (!(props[propName] instanceof expectedClass)) { var propValue, expectedClassName = expectedClass.name || ANONYMOUS, actualClassName = (propValue = props[propName]).constructor && propValue.constructor.name ? propValue.constructor.name : ANONYMOUS; return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `') + componentName + "`, expected instance of `" + expectedClassName + '`.'); } return null; }); }, node: createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { return !function isNode(propValue) { switch(typeof propValue){ case 'number': case 'string': case 'undefined': return !0; case 'boolean': return !propValue; case 'object': if (Array.isArray(propValue)) return propValue.every(isNode); if (null === propValue || isValidElement(propValue)) return !0; var iteratorFn = function(maybeIterable) { var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable['@@iterator']); if ('function' == typeof iteratorFn) return iteratorFn; }(propValue); if (!iteratorFn) return !1; var step, iterator = iteratorFn.call(propValue); if (iteratorFn !== propValue.entries) { for(; !(step = iterator.next()).done;)if (!isNode(step.value)) return !1; } else for(; !(step = iterator.next()).done;){ var entry = step.value; if (entry && !isNode(entry[1])) return !1; } return !0; default: return !1; } }(props[propName]) ? new PropTypeError('Invalid ' + location + ' `' + propFullName + "` supplied to `" + componentName + '`, expected a ReactNode.') : null; }), objectOf: function(typeChecker) { return createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { if ('function' != typeof typeChecker) return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); var propValue = props[propName], propType = getPropType(propValue); if ('object' !== propType) return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `') + componentName + '`, expected an object.'); for(var key in propValue)if (has(propValue, key)) { var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); if (error instanceof Error) return error; } return null; }); }, oneOf: function(expectedValues) { return Array.isArray(expectedValues) ? createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { for(var x, y, propValue = props[propName], i = 0; i < expectedValues.length; i++)if (propValue === (y = expectedValues[i]) ? 0 !== propValue || 1 / propValue == 1 / y : propValue != propValue && y != y) return null; var valuesString = JSON.stringify(expectedValues, function(key, value) { return 'symbol' === getPreciseType(value) ? String(value) : value; }); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ') + valuesString + '.'); }) : (arguments.length > 1 ? printWarning('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).") : printWarning('Invalid argument supplied to oneOf, expected an array.'), emptyFunctionThatReturnsNull); }, oneOfType: function(arrayOfTypeCheckers) { if (!Array.isArray(arrayOfTypeCheckers)) return printWarning('Invalid argument supplied to oneOfType, expected an instance of array.'), emptyFunctionThatReturnsNull; for(var i = 0; i < arrayOfTypeCheckers.length; i++){ var checker = arrayOfTypeCheckers[i]; if ('function' != typeof checker) return printWarning("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + function(value) { var type = getPreciseType(value); switch(type){ case 'array': case 'object': return 'an ' + type; case 'boolean': case 'date': case 'regexp': return 'a ' + type; default: return type; } }(checker) + ' at index ' + i + '.'), emptyFunctionThatReturnsNull; } return createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { for(var i = 0; i < arrayOfTypeCheckers.length; i++)if (null == (0, arrayOfTypeCheckers[i])(props, propName, componentName, location, propFullName, ReactPropTypesSecret)) return null; return new PropTypeError('Invalid ' + location + ' `' + propFullName + "` supplied to `" + componentName + '`.'); }); }, shape: function(shapeTypes) { return createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { var propValue = props[propName], propType = getPropType(propValue); if ('object' !== propType) return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + "` supplied to `" + componentName + '`, expected `object`.'); for(var key in shapeTypes){ var checker = shapeTypes[key]; if (checker) { var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); if (error) return error; } } return null; }); }, exact: function(shapeTypes) { return createChainableTypeChecker(function(props, propName, componentName, location, propFullName) { var propValue = props[propName], propType = getPropType(propValue); if ('object' !== propType) return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + "` supplied to `" + componentName + '`, expected `object`.'); var allKeys = assign({}, props[propName], shapeTypes); for(var key in allKeys){ var checker = shapeTypes[key]; if (!checker) return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')); var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); if (error) return error; } return null; }); } }; function PropTypeError(message) { this.message = message, this.stack = ''; } function createChainableTypeChecker(validate) { var manualPropTypeCallCache = {}, manualPropTypeWarningCount = 0; function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { if (componentName = componentName || ANONYMOUS, propFullName = propFullName || propName, secret !== ReactPropTypesSecret) { if (throwOnDirectAccess) { var err = Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"); throw err.name = 'Invariant Violation', err; } if ('undefined' != typeof console) { var cacheKey = componentName + ':' + propName; !manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3 && (printWarning("You are manually calling a React.PropTypes validation function for the `" + propFullName + '` prop on `' + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."), manualPropTypeCallCache[cacheKey] = !0, manualPropTypeWarningCount++); } } return null != props[propName] ? validate(props, propName, componentName, location, propFullName) : isRequired ? new PropTypeError(null === props[propName] ? 'The ' + location + ' `' + propFullName + "` is marked as required in `" + componentName + '`, but its value is `null`.' : 'The ' + location + ' `' + propFullName + "` is marked as required in `" + componentName + '`, but its value is `undefined`.') : null; } var chainedCheckType = checkType.bind(null, !1); return chainedCheckType.isRequired = checkType.bind(null, !0), chainedCheckType; } function createPrimitiveTypeChecker(expectedType) { return createChainableTypeChecker(function(props, propName, componentName, location, propFullName, secret) { var propValue = props[propName]; if (getPropType(propValue) !== expectedType) { var preciseType = getPreciseType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `') + componentName + "`, expected `" + expectedType + '`.'); } return null; }); } function getPropType(propValue) { var propType, propValue1, propType1 = typeof propValue; return Array.isArray(propValue) ? 'array' : propValue instanceof RegExp ? 'object' : 'symbol' === propType1 || propValue && ('Symbol' === propValue['@@toStringTag'] || 'function' == typeof Symbol && propValue instanceof Symbol) ? 'symbol' : propType1; } function getPreciseType(propValue) { if (null == propValue) return '' + propValue; var propType = getPropType(propValue); if ('object' === propType) { if (propValue instanceof Date) return 'date'; if (propValue instanceof RegExp) return 'regexp'; } return propType; } return PropTypeError.prototype = Error.prototype, ReactPropTypes.checkPropTypes = checkPropTypes, ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache, ReactPropTypes.PropTypes = ReactPropTypes, ReactPropTypes; }; }, "../../../node_modules/prop-types/index.js": function(module1, exports1, __webpack_require__) { var ReactIs = __webpack_require__("../../../node_modules/react-is/index.js"); module1.exports = __webpack_require__("../../../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, !0); }, "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js": function(module1, exports1, __webpack_require__) { "use strict"; module1.exports = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; }, "../../../node_modules/react-fast-compare/index.js": function(module1, exports1, __webpack_require__) { "use strict"; var isArray = Array.isArray, keyList = Object.keys, hasProp = Object.prototype.hasOwnProperty, hasElementType = 'undefined' != typeof Element; module1.exports = function(a, b) { try { return function equal(a, b) { if (a === b) return !0; if (a && b && 'object' == typeof a && 'object' == typeof b) { var i, length, key, arrA = isArray(a), arrB = isArray(b); if (arrA && arrB) { if ((length = a.length) != b.length) return !1; for(i = length; 0 != i--;)if (!equal(a[i], b[i])) return !1; return !0; } if (arrA != arrB) return !1; var dateA = a instanceof Date, dateB = b instanceof Date; if (dateA != dateB) return !1; if (dateA && dateB) return a.getTime() == b.getTime(); var regexpA = a instanceof RegExp, regexpB = b instanceof RegExp; if (regexpA != regexpB) return !1; if (regexpA && regexpB) return a.toString() == b.toString(); var keys = keyList(a); if ((length = keys.length) !== keyList(b).length) return !1; for(i = length; 0 != i--;)if (!hasProp.call(b, keys[i])) return !1; if (hasElementType && a instanceof Element && b instanceof Element) return a === b; for(i = length; 0 != i--;)if (('_owner' !== (key = keys[i]) || !a.$$typeof) && !equal(a[key], b[key])) return !1; return !0; } return a != a && b != b; }(a, b); } catch (error) { if (error.message && error.message.match(/stack|recursion/i) || -2146828260 === error.number) return console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message), !1; throw error; } }; }, "../../../node_modules/react-is/cjs/react-is.development.js": function(module1, exports1, __webpack_require__) { "use strict"; !function() { var hasSymbol = 'function' == typeof Symbol && Symbol.for, REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7, REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca, REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb, REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc, REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2, REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd, REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace, REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf, REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf, REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0, REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1, REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8, REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3, REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4, REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9, REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5, REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6, REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7; function typeOf(object) { if ('object' == typeof object && null !== object) { var $$typeof = object.$$typeof; switch($$typeof){ case REACT_ELEMENT_TYPE: var type = object.type; switch(type){ case REACT_ASYNC_MODE_TYPE: case REACT_CONCURRENT_MODE_TYPE: case REACT_FRAGMENT_TYPE: case REACT_PROFILER_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_SUSPENSE_TYPE: return type; default: var $$typeofType = type && type.$$typeof; switch($$typeofType){ case REACT_CONTEXT_TYPE: case REACT_FORWARD_REF_TYPE: case REACT_LAZY_TYPE: case REACT_MEMO_TYPE: case REACT_PROVIDER_TYPE: return $$typeofType; default: return $$typeof; } } case REACT_PORTAL_TYPE: return $$typeof; } } } var hasWarnedAboutDeprecatedIsAsyncMode = !1; function isConcurrentMode(object) { return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; } exports1.AsyncMode = REACT_ASYNC_MODE_TYPE, exports1.ConcurrentMode = REACT_CONCURRENT_MODE_TYPE, exports1.ContextConsumer = REACT_CONTEXT_TYPE, exports1.ContextProvider = REACT_PROVIDER_TYPE, exports1.Element = REACT_ELEMENT_TYPE, exports1.ForwardRef = REACT_FORWARD_REF_TYPE, exports1.Fragment = REACT_FRAGMENT_TYPE, exports1.Lazy = REACT_LAZY_TYPE, exports1.Memo = REACT_MEMO_TYPE, exports1.Portal = REACT_PORTAL_TYPE, exports1.Profiler = REACT_PROFILER_TYPE, exports1.StrictMode = REACT_STRICT_MODE_TYPE, exports1.Suspense = REACT_SUSPENSE_TYPE, exports1.isAsyncMode = function(object) { return hasWarnedAboutDeprecatedIsAsyncMode || (hasWarnedAboutDeprecatedIsAsyncMode = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE; }, exports1.isConcurrentMode = isConcurrentMode, exports1.isContextConsumer = function(object) { return typeOf(object) === REACT_CONTEXT_TYPE; }, exports1.isContextProvider = function(object) { return typeOf(object) === REACT_PROVIDER_TYPE; }, exports1.isElement = function(object) { return 'object' == typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE; }, exports1.isForwardRef = function(object) { return typeOf(object) === REACT_FORWARD_REF_TYPE; }, exports1.isFragment = function(object) { return typeOf(object) === REACT_FRAGMENT_TYPE; }, exports1.isLazy = function(object) { return typeOf(object) === REACT_LAZY_TYPE; }, exports1.isMemo = function(object) { return typeOf(object) === REACT_MEMO_TYPE; }, exports1.isPortal = function(object) { return typeOf(object) === REACT_PORTAL_TYPE; }, exports1.isProfiler = function(object) { return typeOf(object) === REACT_PROFILER_TYPE; }, exports1.isStrictMode = function(object) { return typeOf(object) === REACT_STRICT_MODE_TYPE; }, exports1.isSuspense = function(object) { return typeOf(object) === REACT_SUSPENSE_TYPE; }, exports1.isValidElementType = function(type) { return 'string' == typeof type || 'function' == typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || 'object' == typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE); }, exports1.typeOf = typeOf; }(); }, "../../../node_modules/react-is/index.js": function(module1, exports1, __webpack_require__) { "use strict"; module1.exports = __webpack_require__("../../../node_modules/react-is/cjs/react-is.development.js"); }, "../../../node_modules/webpack/buildin/global.js": function(module1, exports1) { var g; g = function() { return this; }(); try { g = g || Function("return this")(); } catch (e) { "object" == typeof window && (g = window); } module1.exports = g; }, "../../../node_modules/webpack/buildin/module.js": function(module1, exports1) { module1.exports = function(module1) { return module1.webpackPolyfill || (module1.deprecate = function() {}, module1.paths = [], module1.children || (module1.children = []), Object.defineProperty(module1, "loaded", { enumerable: !0, get: function() { return module1.l; } }), Object.defineProperty(module1, "id", { enumerable: !0, get: function() { return module1.i; } }), module1.webpackPolyfill = 1), module1; }; }, "../../victory-area/es/area.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), d3_shape__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/index.js"), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var defined = function(d) { var y = void 0 !== d._y1 ? d._y1 : d._y; return null != y && null !== d._y0; }, getXAccessor = function(scale) { return function(d) { return scale.x(void 0 !== d._x1 ? d._x1 : d._x); }; }, getYAccessor = function(scale) { return function(d) { return scale.y(void 0 !== d._y1 ? d._y1 : d._y); }; }, getY0Accessor = function(scale) { return function(d) { return scale.y(d._y0); }; }, getAngleAccessor = function(scale) { return function(d) { return -1 * scale.x(void 0 !== d._x1 ? d._x1 : d._x) + Math.PI / 2; }; }, toNewName = function(interpolation) { var s; return "curve".concat(interpolation && interpolation[0].toUpperCase() + interpolation.slice(1)); }, getLineFunction = function(props) { var polar = props.polar, scale = props.scale, horizontal = props.horizontal, interpolationFunction = "function" == typeof props.interpolation && props.interpolation, interpolationName = "string" == typeof props.interpolation && toNewName(props.interpolation); return polar ? d3_shape__WEBPACK_IMPORTED_MODULE_3__.lineRadial().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__["".concat(interpolationName, "Closed")]).angle(getAngleAccessor(scale)).radius(getYAccessor(scale)) : d3_shape__WEBPACK_IMPORTED_MODULE_3__.line().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x(horizontal ? getYAccessor(scale) : getXAccessor(scale)).y(horizontal ? getXAccessor(scale) : getYAccessor(scale)); }, getCartesianArea = function(props, interpolation) { var horizontal = props.horizontal, scale = props.scale, interpolationFunction = "function" == typeof interpolation && interpolation, interpolationName = "string" == typeof interpolation && interpolation; return horizontal ? d3_shape__WEBPACK_IMPORTED_MODULE_3__.area().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x0(getY0Accessor(scale)).x1(getYAccessor(scale)).y(getXAccessor(scale)) : d3_shape__WEBPACK_IMPORTED_MODULE_3__.area().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x(getXAccessor(scale)).y1(getYAccessor(scale)).y0(getY0Accessor(scale)); }, getAreaFunction = function(props) { var polar = props.polar, scale = props.scale, interpolationFunction = "function" == typeof props.interpolation && props.interpolation, interpolationName = "string" == typeof props.interpolation && toNewName(props.interpolation); return polar ? d3_shape__WEBPACK_IMPORTED_MODULE_3__.radialArea().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__["".concat(interpolationName, "Closed")]).angle(getAngleAccessor(scale)).outerRadius(getYAccessor(scale)).innerRadius(getY0Accessor(scale)) : getCartesianArea(props, interpolationFunction || interpolationName); }, evaluateProps = function(props) { var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.ariaLabel, props), desc = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.desc, props), id = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.id, props), style = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ fill: "black" }, props.style), props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, desc: desc, id: id, style: style, tabIndex: tabIndex }); }, Area = function(props) { var _props = props = evaluateProps(props), ariaLabel = _props.ariaLabel, role = _props.role, shapeRendering = _props.shapeRendering, className = _props.className, polar = _props.polar, origin = _props.origin, data = _props.data, pathComponent = _props.pathComponent, events = _props.events, groupComponent = _props.groupComponent, clipPath = _props.clipPath, id = _props.id, style = _props.style, desc = _props.desc, tabIndex = _props.tabIndex, defaultTransform = polar && origin ? "translate(".concat(origin.x, ", ").concat(origin.y, ")") : void 0, transform = props.transform || defaultTransform, renderLine = style.stroke && "none" !== style.stroke && "transparent" !== style.stroke, areaFunction = getAreaFunction(props), lineFunction = renderLine && getLineFunction(props), areaStroke = style.stroke ? "none" : style.fill, sharedProps = _objectSpread({ "aria-label": ariaLabel, className: className, role: role, shapeRendering: shapeRendering, transform: transform }, events, { clipPath: clipPath, tabIndex: tabIndex }), area = react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(pathComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ key: "".concat(id, "-area"), style: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, style, { stroke: areaStroke }), d: areaFunction(data), desc: desc, tabIndex: tabIndex }, sharedProps)), line = renderLine ? react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(pathComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ key: "".concat(id, "-area-stroke"), style: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, style, { fill: "none" }), d: lineFunction(data) }, sharedProps)) : null; return renderLine ? react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(groupComponent, {}, [ area, line ]) : area; }; Area.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.primitiveProps, { groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, interpolation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func ]), pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element }), Area.defaultProps = { groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null), pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Path, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Area; }, "../../victory-area/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getDataWithBaseline", function() { return getDataWithBaseline; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), getDataWithBaseline = function(props, scale) { var data = victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData(props); data.length < 2 && (data = []); var getDefaultMin = function(axis) { var defaultZero = "log" === victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getType(scale[axis]) ? 1 / Number.MAX_SAFE_INTEGER : 0, domain = scale[axis].domain(), minY = victory_core__WEBPACK_IMPORTED_MODULE_2__.Collection.getMinValue(domain), maxY = victory_core__WEBPACK_IMPORTED_MODULE_2__.Collection.getMaxValue(domain), defaultMin = defaultZero; return minY < 0 && maxY <= 0 ? defaultMin = maxY : minY >= 0 && maxY > 0 && (defaultMin = minY), victory_core__WEBPACK_IMPORTED_MODULE_2__.Collection.containsDates(domain) ? new Date(defaultMin) : defaultMin; }; return data.map(function(datum) { var _y1 = void 0 !== datum._y1 ? datum._y1 : datum._y, _y0 = void 0 !== datum._y0 ? datum._y0 : getDefaultMin("y"), _x1 = void 0 !== datum._x1 ? datum._x1 : datum._x, _x0 = void 0 !== datum._x0 ? datum._x0 : getDefaultMin("x"); return lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, datum, { _y0: _y0, _y1: _y1, _x0: _x0, _x1: _x1 }); }); }, getCalculatedValues = function(props) { var polar = props.polar, defaultStyles = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getDefaultStyles(props, "area"), style = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getStyles(props.style, defaultStyles), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "y") }, domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomainWithZero(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomainWithZero(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, origin = polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getPolarOrigin(props) : void 0; return { style: style, data: getDataWithBaseline(props, scale), scale: scale, domain: domain, origin: origin }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(props, fallbackProps, "area"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), data = _props.data, domain = _props.domain, events = _props.events, groupComponent = _props.groupComponent, height = _props.height, horizontal = _props.horizontal, interpolation = _props.interpolation, origin = _props.origin, padding = _props.padding, polar = _props.polar, scale = _props.scale, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, labels = _props.labels, name = _props.name, initialChildProps = { parent: { style: style.parent, width: width, height: height, scale: scale, data: data, domain: domain, standalone: standalone, theme: theme, polar: polar, origin: origin, padding: padding, name: name, horizontal: horizontal }, all: { data: { horizontal: horizontal, polar: polar, origin: origin, scale: scale, data: data, interpolation: interpolation, groupComponent: groupComponent, style: style.data } } }; return data.reduce(function(childProps, datum, index) { var text = victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey] = { labels: victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getProps(props, index) }), childProps; }, initialChildProps); }; }, "../../victory-area/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_area__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-area/es/victory-area.js"); __webpack_require__.d(__webpack_exports__, "VictoryArea", function() { return _victory_area__WEBPACK_IMPORTED_MODULE_0__.default; }); var _area__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-area/es/area.js"); __webpack_require__.d(__webpack_exports__, "Area", function() { return _area__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-area/es/victory-area.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), _helper_methods__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-area/es/helper-methods.js"), _area__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-area/es/area.js"), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50, interpolation: "linear" }, VictoryArea = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryArea() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryArea), call = (VictoryArea.__proto__ || Object.getPrototypeOf(VictoryArea)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryArea, _React$Component), _defineProperties(VictoryArea.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryArea.animationWhitelist, role = VictoryArea.role, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderContinuousData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryArea, staticProps), VictoryArea; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(VictoryArea, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "style", "width" ] }), Object.defineProperty(VictoryArea, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.dataProps, { interpolation: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "basis", "cardinal", "catmullRom", "linear", "monotoneX", "monotoneY", "natural", "step", "stepAfter", "stepBefore" ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), label: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.deprecated(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, "Use `labels` instead for individual data labels") }) }), Object.defineProperty(VictoryArea, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), dataComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_area__WEBPACK_IMPORTED_MODULE_3__.default, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryClipContainer, null), labelComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, { renderInPortal: !0 }), samples: 50, sortKey: "x", sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryArea, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryArea" }), Object.defineProperty(VictoryArea, "role", { configurable: !0, enumerable: !0, writable: !0, value: "area" }), Object.defineProperty(VictoryArea, "continuous", { configurable: !0, enumerable: !0, writable: !0, value: !0 }), Object.defineProperty(VictoryArea, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.DefaultTransitions.continuousTransitions() }), Object.defineProperty(VictoryArea, "defaultPolarTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.DefaultTransitions.continuousPolarTransitions() }), Object.defineProperty(VictoryArea, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Domain.getDomainWithZero }), Object.defineProperty(VictoryArea, "getData", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Data.getData }), Object.defineProperty(VictoryArea, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_2__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryArea, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryArea, { components: [ { name: "parent", index: "parent" }, { name: "data", index: "all" }, { name: "labels" } ] }); }, "../../victory-axis/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getStyles", function() { return getStyles; }); var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"); function _defineProperty(obj, key, value) { return key in obj ? Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key] = value, obj; } var orientationSign = { top: -1, left: -1, right: 1, bottom: 1 }, exists = function(val) { return null != val; }, getCurrentAxis = function(props, axis) { var orientation = props.orientation, horizontal = props.horizontal; return orientation ? ({ top: "x", bottom: "x", left: "y", right: "y" })[orientation] : horizontal ? "x" === axis ? "y" : "x" : axis; }, getScale = function(props) { var axis = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getAxis(props), currentAxis = getCurrentAxis(props, axis), scale = victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, axis), domain = props.domain && props.domain[axis] || victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getDomain(props) || scale.domain(); return scale.range(victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, currentAxis)), scale.domain(domain), scale; }, getStyleObject = function(props) { var theme = props.theme, dependentAxis = props.dependentAxis, generalAxisStyle = theme && theme.axis && theme.axis.style, axisType = dependentAxis ? "dependentAxis" : "independentAxis", specificAxisStyle = theme && theme[axisType] && theme[axisType].style; return generalAxisStyle && specificAxisStyle ? [ "axis", "axisLabel", "grid", "parent", "tickLabels", "ticks" ].reduce(function(memo, curr) { return memo[curr] = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, specificAxisStyle[curr], generalAxisStyle[curr]), memo; }, {}) : specificAxisStyle || generalAxisStyle; }, getStyles = function(props, styleObject) { var style = props.style || {}; return styleObject = styleObject || {}, { parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(style.parent, styleObject.parent, { height: "100%", width: "100%" }), axis: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.axis, styleObject.axis), axisLabel: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.axisLabel, styleObject.axisLabel), grid: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.grid, styleObject.grid), ticks: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.ticks, styleObject.ticks), tickLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.tickLabels, styleObject.tickLabels) }; }, getTickProps = function(layout, style, datum) { var position = layout.position, transform = layout.transform; return { x1: transform.x, y1: transform.y, x2: transform.x + position.x2, y2: transform.y + position.y2, style: style, datum: datum }; }, getTickLabelProps = function(layout, style, anchors, datum, text) { var position = layout.position, transform = layout.transform; return { style: style, x: transform.x + position.x, y: transform.y + position.y, verticalAnchor: anchors.verticalAnchor, textAnchor: anchors.textAnchor, angle: style.angle, text: text, datum: datum }; }, getGridProps = function(layout, style, datum) { var edge = layout.edge, transform = layout.transform; return { x1: transform.x, y1: transform.y, x2: edge.x + transform.x, y2: edge.y + transform.y, style: style, datum: datum }; }, getAxisProps = function(modifiedProps, calculatedValues, globalTransform) { var style = calculatedValues.style, padding = calculatedValues.padding, isVertical = calculatedValues.isVertical, width = modifiedProps.width, height = modifiedProps.height; return { style: style.axis, x1: isVertical ? globalTransform.x : padding.left + globalTransform.x, x2: isVertical ? globalTransform.x : width - padding.right + globalTransform.x, y1: isVertical ? padding.top + globalTransform.y : globalTransform.y, y2: isVertical ? height - padding.bottom + globalTransform.y : globalTransform.y }; }, getAxisLabelProps = function(props, calculatedValues, globalTransform) { var style = calculatedValues.style, orientation = calculatedValues.orientation, padding = calculatedValues.padding, labelPadding = calculatedValues.labelPadding, isVertical = calculatedValues.isVertical, sign = orientationSign[orientation], hPadding = padding.left + padding.right, vPadding = padding.top + padding.bottom, labelStyle = style.axisLabel; return { x: isVertical ? globalTransform.x + sign * labelPadding : (props.width - hPadding) / 2 + padding.left + globalTransform.x, y: isVertical ? (props.height - vPadding) / 2 + padding.top + globalTransform.y : sign * labelPadding + globalTransform.y, verticalAnchor: labelStyle.verticalAnchor || (sign < 0 ? "end" : "start"), textAnchor: labelStyle.textAnchor || "middle", angle: void 0 === labelStyle.angle ? isVertical ? -90 : 0 : labelStyle.angle, style: labelStyle, text: props.label }; }, getAnchors = function(orientation, isVertical) { var anchor = { top: "end", left: "end", right: "start", bottom: "start" }[orientation]; return { textAnchor: isVertical ? anchor : "middle", verticalAnchor: isVertical ? "middle" : anchor }; }, getLabelPadding = function(props, style) { var labelStyle = style.axisLabel || {}; if (void 0 !== labelStyle.padding && null !== labelStyle.padding) return labelStyle.padding; var isVertical = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.isVertical(props), fontSize = labelStyle.fontSize || 14; return props.label ? fontSize * (isVertical ? 2.3 : 1.6) : 0; }, getDefaultOrientations = function(axis, originSign, horizontal) { var sign = originSign || "positive"; return horizontal ? ({ positive: { x: "left", y: "bottom" }, negative: { x: "right", y: "top" } })[sign][axis] : ({ positive: { x: "bottom", y: "left" }, negative: { x: "top", y: "right" } })[sign][axis]; }, getStandaloneOffset = function(props, calculatedValues) { var arr, style = calculatedValues.style, scale = calculatedValues.scale, orientation = calculatedValues.orientation, padding = calculatedValues.padding, axis = calculatedValues.axis, ticks = calculatedValues.ticks, stringTicks = calculatedValues.stringTicks, isVertical = calculatedValues.isVertical, labelPadding = calculatedValues.labelPadding, polar = props.polar, horizontal = props.horizontal, sharedProps = { scale: _defineProperty({}, axis, scale), polar: polar, horizontal: horizontal, ticks: ticks, stringTicks: stringTicks }, xPadding = "right" === orientation ? padding.right : padding.left, yPadding = "top" === orientation ? padding.top : padding.bottom, offsetX = null !== props.offsetX && void 0 !== props.offsetX ? props.offsetX : xPadding, offsetY = null !== props.offsetY && void 0 !== props.offsetY ? props.offsetY : yPadding, fontSize = style.axisLabel.fontSize || 14, tickSizes = ticks.map(function(data, index) { var tick = stringTicks ? props.tickValues[data - 1] : data; return victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.evaluateStyle(style.ticks, lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, sharedProps, { tick: tick, index: index })).size || 0; }), totalPadding = fontSize + 2 * Math.max.apply(Math, function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(tickSizes) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(tickSizes) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()) + labelPadding, minimumPadding = 1.2 * fontSize; return { x: null != offsetX ? offsetX : isVertical ? totalPadding : minimumPadding, y: null != offsetY ? offsetY : isVertical ? minimumPadding : totalPadding }; }, getOffset = function(props, calculatedValues) { var scale = calculatedValues.scale, origin = calculatedValues.origin, orientation = calculatedValues.orientation, orientations = calculatedValues.orientations, domain = calculatedValues.domain, padding = calculatedValues.padding, top = padding.top, bottom = padding.bottom, left = padding.left, right = padding.right, calculatedOrientation = { x: "bottom" === orientation || "top" === orientation ? orientation : orientations.x, y: "left" === orientation || "right" === orientation ? orientation : orientations.y }, orientationOffset = { x: "left" === calculatedOrientation.y ? left : right, y: "bottom" === calculatedOrientation.x ? bottom : top }, originOffset = { x: "left" === calculatedOrientation.y ? 0 : props.width, y: "bottom" === calculatedOrientation.x ? props.height : 0 }, originPosition = { x: origin.x === domain.x[0] || origin.x === domain.x[1] ? 0 : scale.x(origin.x), y: origin.y === domain.y[0] || origin.y === domain.y[1] ? 0 : scale.y(origin.y) }, x = originPosition.x ? Math.abs(originOffset.x - originPosition.x) : orientationOffset.x, y = originPosition.y ? Math.abs(originOffset.y - originPosition.y) : orientationOffset.y; return { x: exists(props.offsetX) ? props.offsetX : x, y: exists(props.offsetY) ? props.offsetY : y }; }, getHorizontalOffset = function(props, calculatedValues) { var scale = calculatedValues.scale, origin = calculatedValues.origin, orientation = calculatedValues.orientation, orientations = calculatedValues.orientations, domain = calculatedValues.domain, padding = calculatedValues.padding, top = padding.top, bottom = padding.bottom, left = padding.left, right = padding.right, calculatedOrientation = { y: "bottom" === orientation || "top" === orientation ? orientation : orientations.x, x: "left" === orientation || "right" === orientation ? orientation : orientations.y }, orientationOffset = { x: "bottom" === calculatedOrientation.y ? bottom : top, y: "left" === calculatedOrientation.x ? left : right }, originOffset = { y: "left" === calculatedOrientation.x ? 0 : props.width, x: "bottom" === calculatedOrientation.y ? props.height : 0 }, originPosition = { x: origin.x === domain.x[0] || origin.x === domain.x[1] ? 0 : scale.x(origin.x), y: origin.y === domain.y[0] || origin.y === domain.y[1] ? 0 : scale.y(origin.y) }, y = originPosition.x ? Math.abs(originOffset.x - originPosition.x) : orientationOffset.x, x = originPosition.y ? Math.abs(originOffset.y - originPosition.y) : orientationOffset.y; return { x: exists(props.offsetX) ? props.offsetX : x, y: exists(props.offsetY) ? props.offsetY : y }; }, getTransform = function(props, calculatedValues, offset) { var orientation = calculatedValues.orientation, axis = calculatedValues.axis, axisValue = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getAxisValue(props, axis); return ({ top: { x: 0, y: void 0 !== axisValue ? axisValue : offset.y }, bottom: { x: 0, y: void 0 !== axisValue ? axisValue : props.height - offset.y }, left: { x: void 0 !== axisValue ? axisValue : offset.x, y: 0 }, right: { x: void 0 !== axisValue ? axisValue : props.width - offset.x, y: 0 } })[orientation]; }, getTickPosition = function(style, orientation, isVertical) { var tickStyle = style.tickStyle, labelStyle = style.labelStyle, size = tickStyle.size || 0, tickSpacing = size + (tickStyle.padding || 0) + (labelStyle.padding || 0), sign = orientationSign[orientation]; return { x: isVertical ? sign * tickSpacing : 0, x2: isVertical ? sign * size : 0, y: isVertical ? 0 : sign * tickSpacing, y2: isVertical ? 0 : sign * size }; }, getGridEdge = function(props, calculatedValues) { var orientation = calculatedValues.orientation, padding = calculatedValues.padding, isVertical = calculatedValues.isVertical, sign = -orientationSign[orientation]; return { x: isVertical ? sign * (props.width - (padding.left + padding.right)) : 0, y: isVertical ? 0 : sign * (props.height - (padding.top + padding.bottom)) }; }, getGridOffset = function(calculatedValues, offset) { var padding = calculatedValues.padding, orientation = calculatedValues.orientation, crossAxis = calculatedValues.crossAxis, xPadding = "right" === orientation ? padding.right : padding.left, yPadding = "top" === orientation ? padding.top : padding.bottom; return { x: crossAxis ? offset.x - xPadding : 0, y: crossAxis ? offset.y - yPadding : 0 }; }, getLayoutProps = function(modifiedProps, calculatedValues) { var offset; return offset = calculatedValues.domain.x && calculatedValues.domain.y ? modifiedProps.horizontal ? getHorizontalOffset(modifiedProps, calculatedValues) : getOffset(modifiedProps, calculatedValues) : getStandaloneOffset(modifiedProps, calculatedValues), { globalTransform: getTransform(modifiedProps, calculatedValues, offset), gridOffset: getGridOffset(calculatedValues, offset), gridEdge: getGridEdge(modifiedProps, calculatedValues) }; }, getOrientation = function(props) { if (props.orientation) return props.orientation; var defaultOrientations = { dependent: props.horizontal ? "bottom" : "left", independent: props.horizontal ? "left" : "bottom" }; return props.dependentAxis ? defaultOrientations.dependent : defaultOrientations.independent; }, getCalculatedValues = function(props) { var defaultStyles = getStyleObject(props), style = getStyles(props, defaultStyles), padding = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getPadding(props), labelPadding = getLabelPadding(props, style), stringTicks = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.stringTicks(props) ? props.tickValues : void 0, axis = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getAxis(props), axisDomain = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getDomain(props), axisScale = getScale(props), crossAxis = !1 !== props.crossAxis && !0 !== props.standalone, ticks = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getTicks(props, axisScale, crossAxis), tickFormat = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getTickFormat(props, axisScale), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "y") }, domain = { x: props.domain && props.domain.x ? props.domain.x : "x" === axis ? axisDomain : void 0, y: props.domain && props.domain.y ? props.domain.y : "y" === axis ? axisDomain : void 0 }, scale = { x: props.domain && props.domain.x ? victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "x").domain(props.domain.x).range(props.horizontal ? range.y : range.x) : "x" === axis ? axisScale : void 0, y: props.domain && props.domain.y ? victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "y").domain(props.domain.y).range(props.horizontal ? range.x : range.y) : "y" === axis ? axisScale : void 0 }, origin = domain.x && domain.y ? victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getOrigin(domain) : void 0, originSign = origin ? { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getOriginSign(origin.x, domain.x), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.getOriginSign(origin.y, domain.y) } : void 0, orientations = originSign ? { x: getDefaultOrientations("x", originSign.y, props.horizontal), y: getDefaultOrientations("y", originSign.x, props.horizontal) } : void 0, orientation = orientations ? props.orientation || orientations[axis] : getOrientation(props), isVertical = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.isVertical(Object.assign({}, props, { orientation: orientation })); return { anchors: getAnchors(orientation, isVertical), axis: axis, crossAxis: crossAxis, domain: domain, isVertical: isVertical, labelPadding: labelPadding, orientation: orientation, orientations: orientations, origin: origin, padding: padding, scale: scale, stringTicks: stringTicks, style: style, tickFormat: tickFormat, ticks: ticks }; }, getBaseProps = function(props, fallbackProps) { var calculatedValues = getCalculatedValues(props = victory_core__WEBPACK_IMPORTED_MODULE_2__.Axis.modifyProps(props, fallbackProps)), axis = calculatedValues.axis, style = calculatedValues.style, orientation = calculatedValues.orientation, isVertical = calculatedValues.isVertical, scale = calculatedValues.scale, ticks = calculatedValues.ticks, tickFormat = calculatedValues.tickFormat, anchors = calculatedValues.anchors, domain = calculatedValues.domain, stringTicks = calculatedValues.stringTicks, name = calculatedValues.name, otherAxis = "x" === axis ? "y" : "x", _props = props, width = _props.width, height = _props.height, standalone = _props.standalone, theme = _props.theme, polar = _props.polar, padding = _props.padding, horizontal = _props.horizontal, _getLayoutProps = getLayoutProps(props, calculatedValues), globalTransform = _getLayoutProps.globalTransform, gridOffset = _getLayoutProps.gridOffset, gridEdge = _getLayoutProps.gridEdge, sharedProps = { scale: _defineProperty({}, axis, scale[axis]), polar: polar, horizontal: horizontal, ticks: ticks, stringTicks: stringTicks }, axisProps = getAxisProps(props, calculatedValues, globalTransform), axisLabelProps = getAxisLabelProps(props, calculatedValues, globalTransform), initialChildProps = { parent: lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ style: style.parent, ticks: ticks, standalone: standalone, theme: theme, width: width, height: height, padding: padding, domain: domain, name: name }, sharedProps) }, gridProps = { dimension: otherAxis, range: _defineProperty({}, otherAxis, victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, otherAxis)), scale: props.scale && props.scale[otherAxis] ? _defineProperty({}, otherAxis, props.scale[otherAxis]) : void 0 }; return ticks.reduce(function(childProps, tickValue, index) { var style1, props, tick, globalTransform1, isVertical1, tick1 = stringTicks ? stringTicks[index] : tickValue, text = tickFormat(tickValue, index, ticks), styles = (props = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, sharedProps, { tick: tick1, tickValue: tickValue, index: index, text: text }), { tickStyle: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.evaluateStyle(style.ticks, props), labelStyle: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.evaluateStyle(style.tickLabels, props), gridStyle: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.evaluateStyle(style.grid, props) }), tickLayout = { position: getTickPosition(styles, orientation, isVertical), transform: (tick = scale[axis](tickValue), { x: isVertical ? globalTransform.x : tick + globalTransform.x, y: isVertical ? tick + globalTransform.y : globalTransform.y }) }, gridLayout = { edge: gridEdge, transform: { x: isVertical ? -gridOffset.x + globalTransform.x : scale[axis](tickValue) + globalTransform.x, y: isVertical ? scale[axis](tickValue) + globalTransform.y : gridOffset.y + globalTransform.y } }; return childProps[index] = { axis: lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ dimension: axis }, sharedProps, axisProps), axisLabel: lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, sharedProps, axisLabelProps), ticks: lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, sharedProps, getTickProps(tickLayout, styles.tickStyle, tickValue)), tickLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, sharedProps, getTickLabelProps(tickLayout, styles.labelStyle, anchors, tickValue, text)), grid: lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, sharedProps, gridProps, getGridProps(gridLayout, styles.gridStyle, tickValue)) }, childProps; }, initialChildProps); }; }, "../../victory-axis/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_axis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-axis/es/victory-axis.js"); __webpack_require__.d(__webpack_exports__, "VictoryAxis", function() { return _victory_axis__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-axis/es/victory-axis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-axis/es/helper-methods.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryAxis = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryAxis() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryAxis), call = (VictoryAxis.__proto__ || Object.getPrototypeOf(VictoryAxis)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryAxis, _React$Component), protoProps = [ { key: "renderLine", value: function(props) { var axisComponent = props.axisComponent, axisProps = this.getComponentProps(axisComponent, "axis", 0); return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(axisComponent, axisProps); } }, { key: "renderLabel", value: function(props) { var axisLabelComponent = props.axisLabelComponent; if (!props.label) return null; var axisLabelProps = this.getComponentProps(axisLabelComponent, "axisLabel", 0); return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(axisLabelComponent, axisLabelProps); } }, { key: "renderGridAndTicks", value: function(props) { var _this = this, tickComponent = props.tickComponent, tickLabelComponent = props.tickLabelComponent, gridComponent = props.gridComponent, name = props.name, shouldRender = function(componentProps) { var _componentProps$style = componentProps.style, style = void 0 === _componentProps$style ? {} : _componentProps$style, _componentProps$event = componentProps.events; return "transparent" !== style.stroke && "none" !== style.stroke && 0 !== style.strokeWidth || !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(void 0 === _componentProps$event ? {} : _componentProps$event); }; return this.dataKeys.map(function(key, index) { var tickProps = _this.getComponentProps(tickComponent, "ticks", index), BaseTickComponent = react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(tickComponent, tickProps), TickComponent = shouldRender(BaseTickComponent.props) ? BaseTickComponent : void 0, gridProps = _this.getComponentProps(gridComponent, "grid", index), BaseGridComponent = react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(gridComponent, gridProps), GridComponent = shouldRender(BaseGridComponent.props) ? BaseGridComponent : void 0, tickLabelProps = _this.getComponentProps(tickLabelComponent, "tickLabels", index), children = [ GridComponent, TickComponent, react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(tickLabelComponent, tickLabelProps) ].filter(Boolean); return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(props.groupComponent, { key: "".concat(name, "-tick-group-").concat(key) }, children); }); } }, { key: "fixLabelOverlap", value: function(gridAndTicks, props) { var isVertical = victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.isVertical(props), size = isVertical ? props.height : props.width, isVictoryLabel = function(child) { return child.type && "label" === child.type.role; }, labelsSumSize = gridAndTicks.map(function(gridAndTick) { return gridAndTick.props.children; }).reduce(function(accumulator, childArr) { return accumulator.concat(childArr); }, []).filter(isVictoryLabel).map(function(child) { return child.props; }).reduce(function(sum, label) { var padding, padding1 = "object" == typeof (padding = label.style.padding) ? lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, { top: 0, right: 0, bottom: 0, left: 0 }, padding) : { top: padding, right: padding, bottom: padding, left: padding }, labelSize = victory_core__WEBPACK_IMPORTED_MODULE_4__.TextSize.approximateTextSize(label.text, { angle: label.angle, fontSize: label.style.fontSize, letterSpacing: label.style.letterSpacing, fontFamily: label.style.fontFamily }); return sum + (isVertical ? labelSize.height + padding1.top + padding1.bottom : labelSize.width + padding1.right + padding1.left); }, 0), availiableLabelCount = Math.floor(size * gridAndTicks.length / labelsSumSize), divider = Math.ceil(gridAndTicks.length / availiableLabelCount) || 1, getLabelCoord = function(gridAndTick) { return gridAndTick.props.children.filter(isVictoryLabel).reduce(function(prev, child) { return (isVertical ? child.props.y : child.props.x) || 0; }, 0); }; return gridAndTicks.sort(function(a, b) { return isVertical ? getLabelCoord(b) - getLabelCoord(a) : getLabelCoord(a) - getLabelCoord(b); }).filter(function(gridAndTick, index) { return index % divider == 0; }); } }, { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var arr, animationWhitelist = VictoryAxis.animationWhitelist, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.modifyProps(this.props, fallbackProps); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var gridAndTicks = this.renderGridAndTicks(props), children = [ this.renderLine(props), this.renderLabel(props) ].concat(function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr = props.fixLabelOverlap ? this.fixLabelOverlap(gridAndTicks, props) : gridAndTicks) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()); return props.standalone ? this.renderContainer(props.containerComponent, children) : react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(props.groupComponent, {}, children); } } ], _defineProperties(VictoryAxis.prototype, protoProps), staticProps && _defineProperties(VictoryAxis, staticProps), VictoryAxis; }(react__WEBPACK_IMPORTED_MODULE_3___default.a.Component); Object.defineProperty(VictoryAxis, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "style", "domain", "range", "tickCount", "tickValues", "offsetX", "offsetY", "padding", "width", "height" ] }), Object.defineProperty(VictoryAxis, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryAxis" }), Object.defineProperty(VictoryAxis, "role", { configurable: !0, enumerable: !0, writable: !0, value: "axis" }), Object.defineProperty(VictoryAxis, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: { onExit: { duration: 500 }, onEnter: { duration: 500 } } }), Object.defineProperty(VictoryAxis, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, { axisComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, axisLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, axisValue: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object ]), categories: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string), y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string) }) ]), crossAxis: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, dependentAxis: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, events: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "axis", "axisLabel", "grid", "ticks", "tickLabels" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object })), fixLabelOverlap: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, gridComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, invertAxis: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.any, offsetX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, offsetY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, orientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "top", "bottom", "left", "right" ]), origin: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), stringMap: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, style: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ parent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, axis: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, axisLabel: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, grid: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, ticks: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, tickLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object }), tickComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, tickCount: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.greaterThanZero ]), tickFormat: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.homogeneousArray ]), tickLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, tickValues: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.homogeneousArray }) }), Object.defineProperty(VictoryAxis, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { axisComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), axisLabelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), tickLabelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), tickComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), gridComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale, containerComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("g", { role: "presentation" }), fixLabelOverlap: !1 } }), Object.defineProperty(VictoryAxis, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.getDomain }), Object.defineProperty(VictoryAxis, "getAxis", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.getAxis }), Object.defineProperty(VictoryAxis, "getStyles", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_5__.getStyles)(props, fallbackProps.style); } }), Object.defineProperty(VictoryAxis, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_5__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryAxis, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryAxis, { components: [ { name: "axis", index: 0 }, { name: "axisLabel", index: 0 }, { name: "grid" }, { name: "parent", index: "parent" }, { name: "ticks" }, { name: "tickLabels" } ] }); }, "../../victory-bar/es/bar.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), _path_helper_methods__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-bar/es/path-helper-methods.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getBarWidth = function(barWidth, props) { var scale = props.scale, data = props.data, defaultBarWidth = props.defaultBarWidth, style = props.style; if (barWidth) return victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(barWidth, props); if (style.width) return style.width; var range = scale.x.range(), extent = Math.abs(range[1] - range[0]), bars = data.length + 2; return Math.max(1, (props.barRatio || 0.5) * (data.length < 2 ? defaultBarWidth : extent / bars)); }, getCornerRadiusFromObject = function(cornerRadius, props) { var realCornerRadius = { topLeft: 0, topRight: 0, bottomLeft: 0, bottomRight: 0 }, updateCornerRadius = function(corner, fallback) { lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(cornerRadius[corner]) ? lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(cornerRadius[fallback]) || (realCornerRadius[corner] = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(cornerRadius[fallback], props)) : realCornerRadius[corner] = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(cornerRadius[corner], props); }; return updateCornerRadius("topLeft", "top"), updateCornerRadius("topRight", "top"), updateCornerRadius("bottomLeft", "bottom"), updateCornerRadius("bottomRight", "bottom"), realCornerRadius; }, getCornerRadius = function(cornerRadius, props) { var realCornerRadius = { topLeft: 0, topRight: 0, bottomLeft: 0, bottomRight: 0 }; return cornerRadius ? lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(cornerRadius) ? getCornerRadiusFromObject(cornerRadius, props) : (realCornerRadius.topLeft = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(cornerRadius, props), realCornerRadius.topRight = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(cornerRadius, props), realCornerRadius) : realCornerRadius; }, getStyle = function() { var style = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, props = arguments.length > 1 ? arguments[1] : void 0, stroke = style.fill || "black"; return victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({ fill: "black", stroke: stroke }, style), props); }, evaluateProps = function(props) { var style = getStyle(props.style, props), barWidth = getBarWidth(props.barWidth, lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { style: style })), cornerRadius = getCornerRadius(props.cornerRadius, lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { style: style, barWidth: barWidth })), ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.ariaLabel, props), desc = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.desc, props), id = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.id, props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { ariaLabel: ariaLabel, style: style, barWidth: barWidth, cornerRadius: cornerRadius, desc: desc, id: id, tabIndex: tabIndex }); }, Bar = function(props) { var props1, cornerRadius, props2, width, cornerRadius1, _props = props = evaluateProps(props), polar = _props.polar, origin = _props.origin, style = _props.style, barWidth = _props.barWidth, cornerRadius2 = _props.cornerRadius, path = polar ? (props1 = props, Object(_path_helper_methods__WEBPACK_IMPORTED_MODULE_6__.getVerticalPolarBarPath)(props1, cornerRadius2)) : (props2 = props).getPath ? Object(_path_helper_methods__WEBPACK_IMPORTED_MODULE_6__.getCustomBarPath)(props2, barWidth) : props2.horizontal ? Object(_path_helper_methods__WEBPACK_IMPORTED_MODULE_6__.getHorizontalBarPath)(props2, barWidth, cornerRadius2) : Object(_path_helper_methods__WEBPACK_IMPORTED_MODULE_6__.getVerticalBarPath)(props2, barWidth, cornerRadius2), defaultTransform = polar && origin ? "translate(".concat(origin.x, ", ").concat(origin.y, ")") : void 0; return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(props.pathComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, style: style, d: path, className: props.className, clipPath: props.clipPath, desc: props.desc, index: props.index, role: props.role, shapeRendering: props.shapeRendering, transform: props.transform || defaultTransform, tabIndex: props.tabIndex })); }; Bar.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.primitiveProps, { alignment: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf([ "start", "middle", "end" ]), barRatio: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, barWidth: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), topLeft: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), topRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), bottom: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), bottomLeft: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), bottomRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]) }) ]), datum: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, getPath: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func, horizontal: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, width: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, y0: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number }), Bar.defaultProps = { defaultBarWidth: 8, pathComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.Path, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Bar; }, "../../victory-bar/es/geometry-helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "circle", function() { return circle; }), __webpack_require__.d(__webpack_exports__, "point", function() { return point; }); var point = function(x, y) { return { x: x, y: y, distance: function(p1) { return Math.sqrt(Math.pow(this.x - p1.x, 2) + Math.pow(this.y - p1.y, 2)); }, add: function(p1) { return point(this.x + p1.x, this.y + p1.y); }, subtract: function(p1) { return point(this.x - p1.x, this.y - p1.y); }, scalarMult: function(n) { return point(this.x * n, this.y * n); }, scalarDivide: function(n) { if (0 === n) throw Error("Division by 0 error"); return point(this.x / n, this.y / n); }, equals: function(p1) { return this.x === p1.x && this.y === p1.y; } }; }, circle = function(center, radius) { return { center: center, radius: radius, hasIntersection: function(circle1) { var P0 = this.center, P1 = circle1.center, r0 = this.radius, r1 = circle1.radius, d = P0.distance(P1); return !(d > r0 + r1 || d < Math.abs(r0 - r1)); }, equals: function(circle1) { var P0 = this.center, P1 = circle1.center; return this.radius === circle1.radius && P0.equals(P1); }, intersection: function(circle1) { var P0 = this.center, P1 = circle1.center, r0 = this.radius, r1 = circle1.radius, d = P0.distance(P1); if (!this.hasIntersection(circle1) || this.equals(circle1)) return []; var a = (Math.pow(r0, 2) - Math.pow(r1, 2) + Math.pow(d, 2)) / (2 * d), h = Math.sqrt(Math.pow(r0, 2) - Math.pow(a, 2)), P2 = P0.add(P1.subtract(P0).scalarMult(a).scalarDivide(d)), x0 = P0.x, y0 = P0.y, x1 = P1.x, y1 = P1.y, x2 = P2.x, y2 = P2.y, P3s = [ point(x2 - h * (y1 - y0) / d, y2 + h * (x1 - x0) / d), point(x2 + h * (y1 - y0) / d, y2 - h * (x1 - x0) / d) ]; return P3s.sort(function(Point1, Point2) { return Point1.x - Point2.x; }), P3s; }, solveX: function(y) { var sqrt = Math.sqrt(Math.pow(this.radius, 2) - Math.pow(y - this.center.y, 2)); return [ this.center.x - sqrt, this.center.x + sqrt ]; }, solveY: function(x) { var sqrt = Math.sqrt(Math.pow(this.radius, 2) - Math.pow(x - this.center.x, 2)); return [ this.center.y - sqrt, this.center.y + sqrt ]; } }; }; }, "../../victory-bar/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getBarPosition", function() { return getBarPosition; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), getBarPosition = function(props, datum) { var getDefaultMin = function(axis) { var defaultMin = "log" === victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getType(props.scale[axis]) ? 1 / Number.MAX_SAFE_INTEGER : 0, minY = victory_core__WEBPACK_IMPORTED_MODULE_2__.Collection.getMinValue(props.domain[axis]), maxY = victory_core__WEBPACK_IMPORTED_MODULE_2__.Collection.getMaxValue(props.domain[axis]); return minY < 0 && maxY <= 0 ? defaultMin = maxY : minY >= 0 && maxY > 0 && (defaultMin = minY), datum["_".concat(axis)] instanceof Date ? new Date(defaultMin) : defaultMin; }, _y0 = void 0 !== datum._y0 ? datum._y0 : getDefaultMin("y"), _x0 = void 0 !== datum._x0 ? datum._x0 : getDefaultMin("x"); return victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.scalePoint(props, lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, datum, { _y0: _y0, _x0: _x0 })); }, getCalculatedValues = function(props) { var polar = props.polar, defaultStyles = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getDefaultStyles(props, "bar"), style = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getStyles(props.style, defaultStyles), range = props.range || { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "y") }, domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomainWithZero(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomainWithZero(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, origin = polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getPolarOrigin(props) : void 0, data = victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData(props); return { style: style, data: data = victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.formatDataFromDomain(data, domain, 0), scale: scale, domain: domain, origin: origin }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(props, fallbackProps, "bar"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), alignment = _props.alignment, barRatio = _props.barRatio, cornerRadius = _props.cornerRadius, data = _props.data, domain = _props.domain, events = _props.events, height = _props.height, horizontal = _props.horizontal, origin = _props.origin, padding = _props.padding, polar = _props.polar, scale = _props.scale, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, labels = _props.labels, name = _props.name, barWidth = _props.barWidth, getPath = _props.getPath, initialChildProps = { parent: { horizontal: horizontal, domain: domain, scale: scale, width: width, height: height, data: data, standalone: standalone, name: name, theme: theme, polar: polar, origin: origin, padding: padding, style: style.parent } }; return data.reduce(function(childProps, datum, index) { var eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey, _getBarPosition = getBarPosition(props, datum), x = _getBarPosition.x, y = _getBarPosition.y, y0 = _getBarPosition.y0, x0 = _getBarPosition.x0, dataProps = { alignment: alignment, barRatio: barRatio, barWidth: barWidth, cornerRadius: cornerRadius, data: data, datum: datum, getPath: getPath, horizontal: horizontal, index: index, polar: polar, origin: origin, scale: scale, style: style.data, width: width, height: height, x: x, y: y, y0: y0, x0: x0 }; childProps[eventKey] = { data: dataProps }; var text = victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[eventKey].labels = victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getProps(props, index)), childProps; }, initialChildProps); }; }, "../../victory-bar/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_bar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-bar/es/victory-bar.js"); __webpack_require__.d(__webpack_exports__, "VictoryBar", function() { return _victory_bar__WEBPACK_IMPORTED_MODULE_0__.default; }); var _bar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-bar/es/bar.js"); __webpack_require__.d(__webpack_exports__, "Bar", function() { return _bar__WEBPACK_IMPORTED_MODULE_1__.default; }); var _helper_methods__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-bar/es/helper-methods.js"); __webpack_require__.d(__webpack_exports__, "getBarPosition", function() { return _helper_methods__WEBPACK_IMPORTED_MODULE_2__.getBarPosition; }); var _path_helper_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-bar/es/path-helper-methods.js"); __webpack_require__.d(__webpack_exports__, "getVerticalBarPath", function() { return _path_helper_methods__WEBPACK_IMPORTED_MODULE_3__.getVerticalBarPath; }), __webpack_require__.d(__webpack_exports__, "getHorizontalBarPath", function() { return _path_helper_methods__WEBPACK_IMPORTED_MODULE_3__.getHorizontalBarPath; }), __webpack_require__.d(__webpack_exports__, "getVerticalPolarBarPath", function() { return _path_helper_methods__WEBPACK_IMPORTED_MODULE_3__.getVerticalPolarBarPath; }); }, "../../victory-bar/es/path-helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getCustomBarPath", function() { return getCustomBarPath; }), __webpack_require__.d(__webpack_exports__, "getVerticalBarPath", function() { return getVerticalBarPath; }), __webpack_require__.d(__webpack_exports__, "getHorizontalBarPath", function() { return getHorizontalBarPath; }), __webpack_require__.d(__webpack_exports__, "getVerticalPolarBarPath", function() { return getVerticalPolarBarPath; }); var d3_shape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-shape/src/index.js"), _geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-bar/es/geometry-helper-methods.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var getPosition = function(props, width) { var x = props.x, x0 = props.x0, y = props.y, y0 = props.y0, horizontal = props.horizontal, alignment = props.alignment || "middle", size = "middle" === alignment ? width / 2 : width, sign = horizontal ? -1 : 1; return horizontal ? { x0: x0, x1: x, y0: "start" === alignment ? y : y - sign * size, y1: "end" === alignment ? y : y + sign * size } : { x0: "start" === alignment ? x : x - sign * size, x1: "end" === alignment ? x : x + sign * size, y0: y0, y1: y }; }, getAngle = function(props, index) { var data = props.data, scale = props.scale, x = void 0 === data[index]._x1 ? "_x" : "_x1"; return scale.x(data[index][x]); }, getAngularWidth = function(props, width) { var scale = props.scale, range = scale.y.range(); return width / (2 * Math.PI * Math.max.apply(Math, _toConsumableArray(range))) * Math.abs(scale.x.range()[1] - scale.x.range()[0]); }, transformAngle = function(angle) { return -1 * angle + Math.PI / 2; }, getCustomBarPath = function(props, width) { return (0, props.getPath)(function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, props, getPosition(props, width))); }, getStartAngle = function(props, index) { var data = props.data, scale = props.scale, alignment = props.alignment, currentAngle = getAngle(props, index), angularRange = Math.abs(scale.x.range()[1] - scale.x.range()[0]), previousAngle = 0 === index ? getAngle(props, data.length - 1) - 2 * Math.PI : getAngle(props, index - 1); return 0 === index && angularRange < 2 * Math.PI ? scale.x.range()[0] : "start" === alignment || "end" === alignment ? "start" === alignment ? previousAngle : currentAngle : (currentAngle + previousAngle) / 2; }, getEndAngle = function(props, index) { var data = props.data, scale = props.scale, alignment = props.alignment, currentAngle = getAngle(props, index), angularRange = Math.abs(scale.x.range()[1] - scale.x.range()[0]), lastAngle = scale.x.range()[1] === 2 * Math.PI ? getAngle(props, 0) + 2 * Math.PI : scale.x.range()[1], nextAngle = index === data.length - 1 ? getAngle(props, 0) + 2 * Math.PI : getAngle(props, index + 1); return index === data.length - 1 && angularRange < 2 * Math.PI ? lastAngle : "start" === alignment || "end" === alignment ? "start" === alignment ? currentAngle : nextAngle : (currentAngle + nextAngle) / 2; }, mapPointsToPath = function(coords, cornerRadius, direction) { var topLeftPath = "".concat(cornerRadius.topLeft, " ").concat(cornerRadius.topLeft, " ").concat(direction), topRightPath = "".concat(cornerRadius.topRight, " ").concat(cornerRadius.topRight, " ").concat(direction), bottomLeftPath = "".concat(cornerRadius.bottomLeft, " ").concat(cornerRadius.bottomLeft, " ").concat(direction), bottomRightPath = "".concat(cornerRadius.bottomRight, " ").concat(cornerRadius.bottomRight, " ").concat(direction), path = [ "M", "A ".concat(bottomLeftPath, ","), "L", "A ".concat(topLeftPath, ","), "L", "A ".concat(topRightPath, ","), "L", "A ".concat(bottomRightPath, ",") ].reduce(function(acc, command, i) { return acc + "".concat(command, " ").concat(coords[i].x, ", ").concat(coords[i].y, " \n"); }, ""); return "".concat(path, " z"); }, getVerticalBarPoints = function(position, sign, cr) { var x0 = position.x0, x1 = position.x1, y0 = position.y0, y1 = position.y1, getHalfPoints = function(side) { var isLeft = "Left" === side, signL = isLeft ? 1 : -1, x = isLeft ? x0 : x1, bottomPoint = { x: x + signL * cr["bottom".concat(side)], y: y0 }, bottomMiddlePoint = { x: x, y: y0 - sign * cr["bottom".concat(side)] }, topMiddlePoint = { x: x, y: y1 + sign * cr["top".concat(side)] }, topPoint = { x: x + signL * cr["top".concat(side)], y: y1 }; if (1 === sign ? y0 - cr["bottom".concat(side)] < y1 + cr["top".concat(side)] : y0 + cr["bottom".concat(side)] > y1 - cr["top".concat(side)]) { var topCenter = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x + signL * cr["top".concat(side)], y1 + sign * cr["top".concat(side)]), topCircle = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(topCenter, cr["top".concat(side)]), bottomCenter = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x + signL * cr["bottom".concat(side)], y0 - sign * cr["bottom".concat(side)]), bottomCircle = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(bottomCenter, cr["bottom".concat(side)]), circleIntersection = topCircle.intersection(bottomCircle); if (circleIntersection.length > 0) { var arcIntersection = circleIntersection[isLeft ? 0 : 1]; bottomMiddlePoint = { x: arcIntersection.x, y: arcIntersection.y }, topMiddlePoint = { x: arcIntersection.x, y: arcIntersection.y }; } else if (cr["top".concat(side)] > cr["bottom".concat(side)]) { var newX = topCircle.solveX(y0)[isLeft ? 0 : 1]; bottomPoint = { x: newX, y: y0 }, bottomMiddlePoint = { x: newX, y: y0 }, topMiddlePoint = { x: newX, y: y0 }; } else { var _newX = bottomCircle.solveX(y1)[isLeft ? 0 : 1]; bottomMiddlePoint = { x: _newX, y: y1 }, topMiddlePoint = { x: _newX, y: y1 }, topPoint = { x: _newX, y: y1 }; } } var points = [ bottomPoint, bottomMiddlePoint, topMiddlePoint, topPoint ]; return isLeft ? points : points.reverse(); }; return getHalfPoints("Left").concat(getHalfPoints("Right")); }, getHorizontalBarPoints = function(position, sign, cr) { var y0 = position.y0, y1 = position.y1, x0 = position.x0 < position.x1 ? position.x0 : position.x1, x1 = position.x0 < position.x1 ? position.x1 : position.x0, getHalfPoints = function(side) { var isTop = "top" === side, signL = isTop ? -1 : 1, y = isTop ? y1 : y0, leftPoint = { x: x0, y: y - signL * cr["".concat(side, "Left")] }, leftMiddlePoint = { x: x0 + cr["".concat(side, "Left")], y: y }, rightMiddlePoint = { x: x1 - cr["".concat(side, "Right")], y: y }, rightPoint = { x: x1, y: y - signL * cr["".concat(side, "Right")] }; if (leftMiddlePoint.x > rightMiddlePoint.x) { var leftCenter = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x0 + cr["".concat(side, "Left")], y - signL * cr["".concat(side, "Left")]), leftCircle = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(leftCenter, cr["".concat(side, "Left")]), rightCenter = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.point)(x1 - cr["".concat(side, "Right")], y - signL * cr["".concat(side, "Right")]), rightCircle = Object(_geometry_helper_methods__WEBPACK_IMPORTED_MODULE_1__.circle)(rightCenter, cr["".concat(side, "Right")]), circleIntersection = leftCircle.intersection(rightCircle); if (circleIntersection.length > 0) { var arcIntersection = circleIntersection[sign > 0 ? 1 : 0]; leftMiddlePoint = { x: arcIntersection.x, y: arcIntersection.y }, rightMiddlePoint = { x: arcIntersection.x, y: arcIntersection.y }; } else if (cr["".concat(side, "Right")] > cr["".concat(side, "Left")]) { var newY = rightCircle.solveY(x0)[isTop ? 0 : 1]; leftPoint = { x: x0, y: newY }, leftMiddlePoint = { x: x0, y: newY }, rightMiddlePoint = { x: x0, y: newY }; } else { var _newY = leftCircle.solveY(x1)[isTop ? 0 : 1]; rightPoint = { x: x1, y: _newY }, rightMiddlePoint = { x: x1, y: _newY }, leftMiddlePoint = { x: x1, y: _newY }; } } return [ leftPoint, leftMiddlePoint, rightMiddlePoint, rightPoint ]; }, topPoints = getHalfPoints("top"), bottomPoints = getHalfPoints("bottom"); return [ bottomPoints[1], bottomPoints[0] ].concat(_toConsumableArray(topPoints), [ bottomPoints[3], bottomPoints[2] ]); }, getVerticalBarPath = function(props, width, cornerRadius) { var position = getPosition(props, width), sign = position.y0 > position.y1 ? 1 : -1; return mapPointsToPath(getVerticalBarPoints(position, sign, cornerRadius), cornerRadius, sign > 0 ? "0 0 1" : "0 0 0"); }, getHorizontalBarPath = function(props, width, cornerRadius) { var position = getPosition(props, width), sign = position.x0 < position.x1 ? 1 : -1, cr = { topRight: sign > 0 ? cornerRadius.topLeft : cornerRadius.bottomLeft, bottomRight: sign > 0 ? cornerRadius.topRight : cornerRadius.bottomRight, bottomLeft: sign > 0 ? cornerRadius.bottomRight : cornerRadius.topRight, topLeft: sign > 0 ? cornerRadius.bottomLeft : cornerRadius.topLeft }; return mapPointsToPath(getHorizontalBarPoints(position, sign, cr), cr, "0 0 1"); }, getVerticalPolarBarPath = function(props, cornerRadius) { var start, end, datum = props.datum, scale = props.scale, index = props.index, alignment = props.alignment, style = props.style, r1 = scale.y(datum._y0 || 0), r2 = scale.y(void 0 !== datum._y1 ? datum._y1 : datum._y), currentAngle = scale.x(void 0 !== datum._x1 ? datum._x1 : datum._x); if (style.width) { var width = getAngularWidth(props, style.width), size = "middle" === alignment ? width / 2 : width; start = "start" === alignment ? currentAngle : currentAngle - size, end = "end" === alignment ? currentAngle : currentAngle + size; } else start = getStartAngle(props, index), end = getEndAngle(props, index); var getPath = function(edge) { return d3_shape__WEBPACK_IMPORTED_MODULE_0__.arc().innerRadius(r1).outerRadius(r2).startAngle(transformAngle(start)).endAngle(transformAngle(end)).cornerRadius(cornerRadius[edge])(); }, getPathData = function(edge) { var rightPath = getPath("".concat(edge, "Right")), rightMoves = rightPath.match(/[A-Z]/g), rightCoords = rightPath.split(/[A-Z]/).slice(1), rightMiddle = rightMoves.indexOf("L"), leftPath = getPath("".concat(edge, "Left")), leftMoves = leftPath.match(/[A-Z]/g), leftCoords = leftPath.split(/[A-Z]/).slice(1), leftMiddle = leftMoves.indexOf("L"); return { rightMoves: rightMoves, rightCoords: rightCoords, rightMiddle: rightMiddle, leftMoves: leftMoves, leftCoords: leftCoords, leftMiddle: leftMiddle }; }, topPath = function() { var topRight = cornerRadius.topRight, topLeft = cornerRadius.topLeft, arcLength = r2 * Math.abs(end - start), _getPathData = getPathData("top"), rightMoves = _getPathData.rightMoves, rightCoords = _getPathData.rightCoords, rightMiddle = _getPathData.rightMiddle, leftMoves = _getPathData.leftMoves, leftCoords = _getPathData.leftCoords, leftMiddle = _getPathData.leftMiddle; if (topRight === topLeft || arcLength < 2 * topRight + 2 * topLeft) moves = topRight > topLeft ? rightMoves : leftMoves, coords = topRight > topLeft ? rightCoords : leftCoords; else { var moves, coords, leftOffset, isShort = function(middle) { return middle < 3; }, rightOffset = topLeft > topRight && isShort(rightMiddle) ? 1 : 2; if (topRight > topLeft) { var defaultOffset = isShort(rightMiddle) ? leftMiddle : leftMiddle - 2; leftOffset = isShort(leftMiddle) ? leftMiddle - 1 : defaultOffset; } else { var _defaultOffset = isShort(leftMiddle) ? 1 : 2; leftOffset = isShort(rightMiddle) ? _defaultOffset : leftMiddle - 2; } moves = _toConsumableArray(rightMoves.slice(0, rightOffset)).concat(_toConsumableArray(leftMoves.slice(leftOffset))), coords = _toConsumableArray(rightCoords.slice(0, rightOffset)).concat(_toConsumableArray(leftCoords.slice(leftOffset))); } var middle = moves.indexOf("L"), subMoves = moves.slice(0, middle), subCoords = coords.slice(0, middle); return subMoves.map(function(m, i) { return { command: m, coords: subCoords[i].split(",") }; }); }(), bottomPath = function() { var moves, coords, bottomRight = cornerRadius.bottomRight, bottomLeft = cornerRadius.bottomLeft, arcLength = r1 * Math.abs(end - start), _getPathData2 = getPathData("bottom"), rightMoves = _getPathData2.rightMoves, rightCoords = _getPathData2.rightCoords, rightMiddle = _getPathData2.rightMiddle, leftMoves = _getPathData2.leftMoves, leftCoords = _getPathData2.leftCoords, leftMiddle = _getPathData2.leftMiddle; if (bottomRight === bottomLeft || arcLength < 2 * bottomRight + 2 * bottomLeft) moves = bottomRight > bottomLeft ? rightMoves : leftMoves, coords = bottomRight > bottomLeft ? rightCoords : leftCoords; else { var isShort = function(m, middle) { return m.length - middle < 4; }, rightOffset = (bottomRight > bottomLeft ? isShort(rightMoves, rightMiddle) : isShort(leftMoves, leftMiddle)) ? -1 : -3; moves = _toConsumableArray(leftMoves.slice(0, leftMiddle + 2)).concat(_toConsumableArray(rightMoves.slice(rightOffset))), coords = _toConsumableArray(leftCoords.slice(0, leftMiddle + 2)).concat(_toConsumableArray(rightCoords.slice(rightOffset))); } var middle = moves.indexOf("L"), subMoves = moves.slice(middle, -1), subCoords = coords.slice(middle, -1); return subMoves.map(function(m, i) { return { command: m, coords: subCoords[i].split(",") }; }); }(), path = _toConsumableArray(topPath).concat(_toConsumableArray(bottomPath)).reduce(function(memo, move) { return memo + "".concat(move.command, " ").concat(move.coords.join()); }, ""); return "".concat(path, " z"); }; }, "../../victory-bar/es/victory-bar.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), _helper_methods__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-bar/es/helper-methods.js"), _bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-bar/es/bar.js"), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryBar = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryBar() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryBar), call = (VictoryBar.__proto__ || Object.getPrototypeOf(VictoryBar)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryBar, _React$Component), _defineProperties(VictoryBar.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryBar.animationWhitelist, role = VictoryBar.role, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryBar, staticProps), VictoryBar; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(VictoryBar, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "style", "width" ] }), Object.defineProperty(VictoryBar, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryBar" }), Object.defineProperty(VictoryBar, "role", { configurable: !0, enumerable: !0, writable: !0, value: "bar" }), Object.defineProperty(VictoryBar, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: { onLoad: { duration: 2000, before: function() { return { _y: 0, _y1: 0, _y0: 0 }; }, after: function(datum) { return { _y: datum._y, _y1: datum._y1, _y0: datum._y0 }; } }, onExit: { duration: 500, before: function() { return { _y: 0, yOffset: 0 }; } }, onEnter: { duration: 500, before: function() { return { _y: 0, _y1: 0, _y0: 0 }; }, after: function(datum) { return { _y: datum._y, _y1: datum._y1, _y0: datum._y0 }; } } } }), Object.defineProperty(VictoryBar, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.dataProps, { alignment: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "start", "middle", "end" ]), barRatio: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, barWidth: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), topLeft: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), topRight: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), bottom: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), bottomLeft: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), bottomRight: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]) }) ]), getPath: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, horizontal: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool }) }), Object.defineProperty(VictoryBar, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), data: [ { x: 1, y: 1 }, { x: 2, y: 2 }, { x: 3, y: 3 }, { x: 4, y: 4 } ], dataComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_bar__WEBPACK_IMPORTED_MODULE_3__.default, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", { role: "presentation" }), labelComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryBar, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Domain.getDomainWithZero }), Object.defineProperty(VictoryBar, "getData", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Data.getData }), Object.defineProperty(VictoryBar, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_2__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryBar, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryBar); }, "../../victory-box-plot/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getDomain", function() { return getDomain; }), __webpack_require__.d(__webpack_exports__, "getData", function() { return getData; }), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_isNaN__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isNaN.js"), lodash_isNaN__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isNaN__WEBPACK_IMPORTED_MODULE_1__), lodash_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_2__), lodash_groupBy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/groupBy.js"), lodash_groupBy__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_3__), lodash_uniq__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/uniq.js"), lodash_uniq__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_4__), lodash_assign__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_5__), lodash_defaults__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_6__), lodash_orderBy__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/orderBy.js"), lodash_orderBy__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_7__), victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/index.js"), d3_array__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/d3-array/src/index.js"), TYPES = [ "max", "min", "median", "q1", "q3" ], checkProcessedData = function(data) { if (data.every(function(datum) { return TYPES.every(function(val) { return void 0 !== datum["_".concat(val)]; }); })) { var values = data.map(function(d) { return d._x; }); if (!lodash_uniq__WEBPACK_IMPORTED_MODULE_4___default()(values).length === values.length) throw Error("\n data prop may only take an array of objects with a unique\n independent variable. Make sure your x values are distinct.\n "); return !0; } return !1; }, nanToNull = function(val) { return lodash_isNaN__WEBPACK_IMPORTED_MODULE_1___default()(val) ? null : val; }, getSummaryStatistics = function(data) { var dependentVars = data.map(function(datum) { return datum._y; }), quartiles = { _q1: nanToNull(Object(d3_array__WEBPACK_IMPORTED_MODULE_9__.quantile)(dependentVars, 0.25)), _q3: nanToNull(Object(d3_array__WEBPACK_IMPORTED_MODULE_9__.quantile)(dependentVars, 0.75)), _min: nanToNull(Object(d3_array__WEBPACK_IMPORTED_MODULE_9__.min)(dependentVars)), _median: nanToNull(Object(d3_array__WEBPACK_IMPORTED_MODULE_9__.quantile)(dependentVars, 0.5)), _max: nanToNull(Object(d3_array__WEBPACK_IMPORTED_MODULE_9__.max)(dependentVars)) }; return lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, data[0], quartiles, { _y: data[0]._y }); }, processData = function(data) { if (checkProcessedData(data)) return data; var arrayX = data.every(function(datum) { return Array.isArray(datum._x); }), arrayY = data.every(function(datum) { return Array.isArray(datum._y); }); if (arrayX) throw Error("\n data should not be given as in array for x\n "); if (arrayY) return data.map(function(datum) { var dataArray = datum._y.map(function(d) { var obj, key, value; return lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, datum, ("_y" in (obj = {}) ? Object.defineProperty(obj, "_y", { value: d, enumerable: !0, configurable: !0, writable: !0 }) : obj._y = d, obj)); }); return getSummaryStatistics(lodash_orderBy__WEBPACK_IMPORTED_MODULE_7___default()(dataArray, "_y")); }); var groupedData = lodash_groupBy__WEBPACK_IMPORTED_MODULE_3___default()(data, "_x"); return lodash_keys__WEBPACK_IMPORTED_MODULE_2___default()(groupedData).map(function(key) { var datum = groupedData[key]; return getSummaryStatistics(lodash_orderBy__WEBPACK_IMPORTED_MODULE_7___default()(datum, "_y")); }); }, getData = function(props) { var accessorTypes = TYPES.concat("x", "y"), formattedData = victory_core__WEBPACK_IMPORTED_MODULE_8__.Data.formatData(props.data, props, accessorTypes); return formattedData.length ? processData(formattedData) : []; }, reduceDataset = function(dataset, props, axis) { var minDomain = victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getMinFromProps(props, axis), maxDomain = victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getMaxFromProps(props, axis), minData = void 0 !== minDomain ? minDomain : dataset.reduce(function(memo, datum) { return memo < datum["_".concat(axis)] ? memo : datum["_".concat(axis)]; }, 1 / 0), maxData = void 0 !== maxDomain ? maxDomain : dataset.reduce(function(memo, datum) { return memo > datum["_".concat(axis)] ? memo : datum["_".concat(axis)]; }, -1 / 0); return victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getDomainFromMinMax(minData, maxData); }, getDomainFromMinMaxValues = function(dataset, props, axis) { var minDomain = victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getMinFromProps(props, axis), maxDomain = victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getMaxFromProps(props, axis), minData = void 0 !== minDomain ? minDomain : dataset.reduce(function(memo, datum) { return memo < datum._min ? memo : datum._min; }, 1 / 0), maxData = void 0 !== maxDomain ? maxDomain : dataset.reduce(function(memo, datum) { return memo > datum._max ? memo : datum._max; }, -1 / 0); return victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getDomainFromMinMax(minData, maxData); }, getDomainFromData = function(props, axis) { var minDomain = victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getMinFromProps(props, axis), maxDomain = victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getMaxFromProps(props, axis), dataset = getData(props); return dataset.length < 1 ? void 0 !== minDomain && void 0 !== maxDomain ? victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.getDomainFromMinMax(minDomain, maxDomain) : void 0 : "y" === axis ? getDomainFromMinMaxValues(dataset, props, axis) : reduceDataset(dataset, props, axis); }, getDomain = function(props, axis) { return victory_core__WEBPACK_IMPORTED_MODULE_8__.Domain.createDomainFunction(getDomainFromData)(props, axis); }, getLabelStyle = function(props, styleObject, namespace) { var component = props["".concat(namespace, "LabelComponent")] || props.labelComponent, baseStyle = styleObject["".concat(namespace, "Labels")] || styleObject.labels; if (!victory_core__WEBPACK_IMPORTED_MODULE_8__.Helpers.isTooltip(component)) return baseStyle; var tooltipTheme = props.theme && props.theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, tooltipTheme.style, baseStyle); }, getStyles = function(props, styleObject) { var style = props.style || {}; styleObject = styleObject || {}; var labelStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.labels, getLabelStyle(props, styleObject)), boxStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.boxes, styleObject.boxes), whiskerStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.whiskers, styleObject.whiskers); return { boxes: boxStyles, labels: labelStyles, parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.parent, styleObject.parent, { height: "100%", width: "100%" }), max: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.max, styleObject.max, whiskerStyles), maxLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.maxLabels, getLabelStyle(props, styleObject, "max"), labelStyles), median: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.median, styleObject.median, whiskerStyles), medianLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.medianLabels, getLabelStyle(props, styleObject, "median"), labelStyles), min: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.min, styleObject.min, whiskerStyles), minLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.minLabels, getLabelStyle(props, styleObject, "min"), labelStyles), q1: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.q1, styleObject.q1, boxStyles), q1Labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.q1Labels, getLabelStyle(props, styleObject, "q1"), labelStyles), q3: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.q3, styleObject.q3, boxStyles), q3Labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.q3Labels, getLabelStyle(props, styleObject, "q3"), labelStyles), whiskers: whiskerStyles }; }, getCalculatedValues = function(props) { var theme = props.theme, horizontal = props.horizontal, data = getData(props), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_8__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_8__.Helpers.getRange(props, "y") }, domain = { x: getDomain(props, "x"), y: getDomain(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_8__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_8__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, style = getStyles(props, theme && theme.boxplot && theme.boxplot.style ? theme.boxplot.style : {}), defaultOrientation = props.horizontal ? "top" : "right"; return { data: data, horizontal: horizontal, domain: domain, scale: scale, style: style, labelOrientation: props.labelOrientation || defaultOrientation, boxWidth: props.boxWidth || 1 }; }, getWhiskerProps = function(props, type) { var horizontal = props.horizontal, style = props.style, boxWidth = props.boxWidth, whiskerWidth = props.whiskerWidth, datum = props.datum, scale = props.scale, index = props.index, _props$positions = props.positions, min = _props$positions.min, max = _props$positions.max, q1 = _props$positions.q1, q3 = _props$positions.q3, x = _props$positions.x, y = _props$positions.y, boxValue = "min" === type ? q1 : q3, whiskerValue = "min" === type ? min : max, width = "number" == typeof whiskerWidth ? whiskerWidth : boxWidth; return { datum: datum, index: index, scale: scale, majorWhisker: { x1: horizontal ? boxValue : x, y1: horizontal ? y : boxValue, x2: horizontal ? whiskerValue : x, y2: horizontal ? y : whiskerValue }, minorWhisker: { x1: horizontal ? whiskerValue : x - width / 2, y1: horizontal ? y - width / 2 : whiskerValue, x2: horizontal ? whiskerValue : x + width / 2, y2: horizontal ? y + width / 2 : whiskerValue }, style: style[type] || style.whisker }; }, getBoxProps = function(props, type) { var horizontal = props.horizontal, boxWidth = props.boxWidth, style = props.style, scale = props.scale, datum = props.datum, index = props.index, _props$positions2 = props.positions, median = _props$positions2.median, q1 = _props$positions2.q1, q3 = _props$positions2.q3, x = _props$positions2.x, y = _props$positions2.y; return { datum: datum, scale: scale, index: index, x: horizontal ? "q1" === type ? q1 : median : x - boxWidth / 2, y: horizontal ? y - boxWidth / 2 : "q1" === type ? median : q3, width: horizontal ? "q1" === type ? median - q1 : q3 - median : boxWidth, height: horizontal ? boxWidth : "q1" === type ? q1 - median : median - q3, style: style[type] || style.boxes }; }, getMedianProps = function(props) { var boxWidth = props.boxWidth, horizontal = props.horizontal, style = props.style, datum = props.datum, scale = props.scale, index = props.index, _props$positions3 = props.positions, median = _props$positions3.median, x = _props$positions3.x, y = _props$positions3.y; return { datum: datum, scale: scale, index: index, x1: horizontal ? median : x - boxWidth / 2, y1: horizontal ? y - boxWidth / 2 : median, x2: horizontal ? median : x + boxWidth / 2, y2: horizontal ? y + boxWidth / 2 : median, style: style.median }; }, getText = function(props, type) { var datum = props.datum, index = props.index, labels = props.labels, labelProp = props["".concat(type, "Labels")]; if (!labelProp && !labels) return null; if (!0 === labelProp || !0 === labels) { var dataName = "_".concat(type); return "".concat(datum[dataName]); } return Array.isArray(labelProp) ? labelProp[index] : labelProp; }, getLabelProps = function(props, text, type) { var labelOrientation, type1, datum = props.datum, positions = props.positions, index = props.index, boxWidth = props.boxWidth, horizontal = props.horizontal, labelOrientation1 = props.labelOrientation, style = props.style, theme = props.theme, orientation = "object" == typeof labelOrientation1 && labelOrientation1[type] || labelOrientation1, labelStyle = style["".concat(type, "Labels")] || style.labels, whiskerWidth = "number" == typeof props.whiskerWidth ? props.whiskerWidth : boxWidth, width = "min" === type || "max" === type ? whiskerWidth : boxWidth, getOffset = function(coord) { var sign = { x: "left" === orientation ? -1 : 1, y: "top" === orientation ? -1 : 1 }; return sign[coord] * width / 2 + sign[coord] * (labelStyle.padding || 0); }, labelProps = { text: text, datum: datum, index: index, orientation: orientation, style: labelStyle, y: horizontal ? positions.y : positions[type], x: horizontal ? positions[type] : positions.x, dy: horizontal ? getOffset("y") : 0, dx: horizontal ? 0 : getOffset("x"), textAnchor: labelStyle.textAnchor || ({ left: "end", right: "start", top: "middle", bottom: "middle" })[orientation], verticalAnchor: labelStyle.verticalAnchor || ({ top: "end", bottom: "start", left: "middle", right: "middle" })[orientation], angle: labelStyle.angle, horizontal: horizontal }, component = props["".concat(type, "LabelComponent")]; if (!victory_core__WEBPACK_IMPORTED_MODULE_8__.Helpers.isTooltip(component)) return labelProps; var tooltipTheme = theme && theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, labelProps, victory_core__WEBPACK_IMPORTED_MODULE_8__.Helpers.omit(tooltipTheme, [ "style" ])); }, isDatumOutOfBounds = function(datum, domain) { var yOutOfBounds, xOutOfBounds, exists = function(val) { return void 0 !== val; }, _x = datum._x, _min = datum._min, _max = datum._max, minDomainX = victory_core__WEBPACK_IMPORTED_MODULE_8__.Collection.getMinValue(domain.x), maxDomainX = victory_core__WEBPACK_IMPORTED_MODULE_8__.Collection.getMaxValue(domain.x), minDomainY = victory_core__WEBPACK_IMPORTED_MODULE_8__.Collection.getMinValue(domain.y), maxDomainY = victory_core__WEBPACK_IMPORTED_MODULE_8__.Collection.getMaxValue(domain.y), underMin = function(min) { return function(val) { return exists(val) && val < min; }; }, overMax = function(max) { return function(val) { return exists(val) && val > max; }; }, isUnderMinX = underMin(minDomainX), isUnderMinY = underMin(minDomainY), isOverMaxX = overMax(maxDomainX), isOverMaxY = overMax(maxDomainY); return (isUnderMinX(_x) || isOverMaxX(_x)) && (xOutOfBounds = !0), (isUnderMinY(_min) && isUnderMinY(_max) || isOverMaxY(_min) && isOverMaxY(_max)) && (yOutOfBounds = !0), yOutOfBounds || xOutOfBounds; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_8__.Helpers.modifyProps(props, fallbackProps, "boxplot"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), groupComponent = _props.groupComponent, width = _props.width, height = _props.height, padding = _props.padding, standalone = _props.standalone, theme = _props.theme, events = _props.events, sharedEvents = _props.sharedEvents, scale = _props.scale, horizontal = _props.horizontal, data = _props.data, style = _props.style, domain = _props.domain, initialChildProps = { parent: { domain: domain, scale: scale, width: width, height: height, data: data, standalone: standalone, name: _props.name, theme: theme, style: style.parent || {}, padding: padding, groupComponent: groupComponent, horizontal: horizontal } }, boxScale = scale.y; return data.reduce(function(acc, datum, index) { var eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey; if (isDatumOutOfBounds(datum, domain)) return acc; var positions = { x: horizontal ? scale.y(datum._y) : scale.x(datum._x), y: horizontal ? scale.x(datum._x) : scale.y(datum._y), min: boxScale(datum._min), max: boxScale(datum._max), median: boxScale(datum._median), q1: boxScale(datum._q1), q3: boxScale(datum._q3) }, dataProps = lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({ index: index, datum: datum, positions: positions }, props), dataObj = TYPES.reduce(function(memo, type) { var props, type1; return memo[type] = "median" === type ? getMedianProps(dataProps) : "min" === type || "max" === type ? getWhiskerProps(dataProps, type) : getBoxProps(dataProps, type), memo; }, {}); return acc[eventKey] = dataObj, TYPES.forEach(function(type) { var labelText = getText(dataProps, type), labelProp = props.labels || props["".concat(type, "Labels")]; if (null != labelText || labelProp && (events || sharedEvents)) { var target = "".concat(type, "Labels"); acc[eventKey][target] = getLabelProps(lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, props, dataProps), labelText, type); } }), acc; }, initialChildProps); }; }, "../../victory-box-plot/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_box_plot__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-box-plot/es/victory-box-plot.js"); __webpack_require__.d(__webpack_exports__, "VictoryBoxPlot", function() { return _victory_box_plot__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-box-plot/es/victory-box-plot.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_flatten__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/flatten.js"), lodash_flatten__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_flatten__WEBPACK_IMPORTED_MODULE_1__), react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-box-plot/es/helper-methods.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: { top: 20, right: 20, bottom: 20, left: 20 } }, VictoryBoxPlot = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryBoxPlot() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryBoxPlot), call = (VictoryBoxPlot.__proto__ || Object.getPrototypeOf(VictoryBoxPlot)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryBoxPlot, _React$Component), _defineProperties(VictoryBoxPlot.prototype, [ { key: "renderBoxPlot", value: function(props) { var _this = this, types = [ "q1", "q3", "max", "min", "median" ], dataComponents = lodash_flatten__WEBPACK_IMPORTED_MODULE_1___default()(types.map(function(type) { return _this.dataKeys.reduce(function(validDataComponents, _key, index) { var baseComponent = props["".concat(type, "Component")], componentProps = _this.getComponentProps(baseComponent, type, index); return _this.shouldRenderDatum(componentProps.datum) && validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(baseComponent, componentProps)), validDataComponents; }, []); })), labelComponents = lodash_flatten__WEBPACK_IMPORTED_MODULE_1___default()(types.map(function(type) { return _this.dataKeys.map(function(key, index) { var name = "".concat(type, "Labels"), baseComponent = props["".concat(type, "LabelComponent")], labelProps = _this.getComponentProps(baseComponent, name, index); if (void 0 !== labelProps.text && null !== labelProps.text) return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(baseComponent, labelProps); }).filter(Boolean); })), children = _toConsumableArray(dataComponents).concat(_toConsumableArray(labelComponents)); return this.renderContainer(props.groupComponent, children); } }, { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "shouldRenderDatum", value: function(datum) { var hasX = !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._x), hasY = !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._y); return !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._min) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._max) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._median) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._q1) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum._q3) && (this.props.horizontal ? hasY : hasX); } }, { key: "render", value: function() { var animationWhitelist = VictoryBoxPlot.animationWhitelist, role = VictoryBoxPlot.role, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderBoxPlot(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryBoxPlot, staticProps), VictoryBoxPlot; }(react__WEBPACK_IMPORTED_MODULE_2___default.a.Component); Object.defineProperty(VictoryBoxPlot, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "style", "width" ] }), Object.defineProperty(VictoryBoxPlot, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryBoxPlot" }), Object.defineProperty(VictoryBoxPlot, "role", { configurable: !0, enumerable: !0, writable: !0, value: "boxplot" }), Object.defineProperty(VictoryBoxPlot, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.DefaultTransitions.discreteTransitions() }), Object.defineProperty(VictoryBoxPlot, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.dataProps, { boxWidth: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, events: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "max", "maxLabels", "median", "medianLabels", "min", "minLabels", "q1", "q1Labels", "q3", "q3Labels", "parent" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object })), horizontal: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, labelOrientation: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ q1: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]), q3: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]), min: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]), max: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]), median: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]) }) ]), labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, max: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) ]), maxComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, maxLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, maxLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool ]), median: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) ]), medianComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, medianLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, medianLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool ]), min: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) ]), minComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, minLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, minLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool ]), q1: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) ]), q1Component: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, q1LabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, q1Labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool ]), q3: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) ]), q3Component: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, q3LabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, q3Labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool ]), style: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ boxes: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, parent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, max: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, maxLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, median: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, medianLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, min: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, minLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, q1: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, q1Labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, q3: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, q3Labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, whiskers: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object }), whiskerWidth: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) }), Object.defineProperty(VictoryBoxPlot, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), data: [ { x: 1, min: 5, q1: 7, median: 12, q3: 18, max: 20 }, { x: 2, min: 2, q1: 5, median: 8, q3: 12, max: 15 } ], dataComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Box, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("g", { role: "presentation" }), maxComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Whisker, null), maxLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), medianComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), medianLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), minComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Whisker, null), minLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), q1Component: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Box, null), q1LabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), q3Component: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Box, null), q3LabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), samples: 50, sortKey: "x", sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryBoxPlot, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_5__.getDomain }), Object.defineProperty(VictoryBoxPlot, "getData", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_5__.getData }), Object.defineProperty(VictoryBoxPlot, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_5__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryBoxPlot, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "maxComponent", "maxLabelComponent", "medianComponent", "medianLabelComponent", "minComponent", "minLabelComponent", "q1Component", "q1LabelComponent", "q3Component", "q3LabelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryBoxPlot, { components: [ { name: "min" }, { name: "minLabels" }, { name: "max" }, { name: "maxLabels" }, { name: "median" }, { name: "medianLabels" }, { name: "q1" }, { name: "q1Labels" }, { name: "q3" }, { name: "q3Labels" }, { name: "parent", index: "parent" } ] }); }, "../../victory-brush-container/es/brush-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_mapValues__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/mapValues.js"), lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__), lodash_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/throttle.js"), lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_3__), lodash_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_6__); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var Helpers = { getDimension: function(props) { var horizontal = props.horizontal, brushDimension = props.brushDimension; return horizontal && brushDimension ? "x" === brushDimension ? "y" : "x" : brushDimension; }, withinBounds: function(point, bounds, padding) { var _mapValues2 = lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(bounds, Number), x1 = _mapValues2.x1, x2 = _mapValues2.x2, y1 = _mapValues2.y1, y2 = _mapValues2.y2, _mapValues3 = lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(point, Number), x = _mapValues3.x, y = _mapValues3.y; return x + (padding = padding ? padding / 2 : 0) >= Math.min(x1, x2) && x - padding <= Math.max(x1, x2) && y + padding >= Math.min(y1, y2) && y - padding <= Math.max(y1, y2); }, getDomainBox: function(props, fullDomain, selectedDomain) { var brushDimension = this.getDimension(props); fullDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, fullDomain, props.domain), selectedDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, selectedDomain, fullDomain); var fullCoords = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(props, fullDomain), selectedCoords = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(props, selectedDomain); return { x1: "y" !== brushDimension ? Math.min.apply(Math, _toConsumableArray(selectedCoords.x)) : Math.min.apply(Math, _toConsumableArray(fullCoords.x)), x2: "y" !== brushDimension ? Math.max.apply(Math, _toConsumableArray(selectedCoords.x)) : Math.max.apply(Math, _toConsumableArray(fullCoords.x)), y1: "x" !== brushDimension ? Math.min.apply(Math, _toConsumableArray(selectedCoords.y)) : Math.min.apply(Math, _toConsumableArray(fullCoords.y)), y2: "x" !== brushDimension ? Math.max.apply(Math, _toConsumableArray(selectedCoords.y)) : Math.max.apply(Math, _toConsumableArray(fullCoords.y)) }; }, getHandles: function(props, domainBox) { var brushDimension = this.getDimension(props), x1 = domainBox.x1, x2 = domainBox.x2, y1 = domainBox.y1, y2 = domainBox.y2, minX = Math.min(x1, x2), maxX = Math.max(x1, x2), minY = Math.min(y1, y2), maxY = Math.max(y1, y2), handleWidth = props.handleWidth / 2; return { left: "y" !== brushDimension && { x1: minX - handleWidth, x2: minX + handleWidth, y1: y1, y2: y2 }, right: "y" !== brushDimension && { x1: maxX - handleWidth, x2: maxX + handleWidth, y1: y1, y2: y2 }, top: "x" !== brushDimension && { x1: x1, x2: x2, y1: minY - handleWidth, y2: minY + handleWidth }, bottom: "x" !== brushDimension && { x1: x1, x2: x2, y1: maxY - handleWidth, y2: maxY + handleWidth } }; }, getActiveHandles: function(point, props, domainBox) { var _this = this, handles = this.getHandles(props, domainBox), activeHandles = [ "top", "bottom", "left", "right" ].reduce(function(memo, opt) { return memo = handles[opt] && _this.withinBounds(point, handles[opt]) ? memo.concat(opt) : memo; }, []); return activeHandles.length && activeHandles; }, getResizeMutation: function(box, handles) { var x1 = box.x1, y1 = box.y1, x2 = box.x2, y2 = box.y2, mutations = { left: { x1: Math.max(x1, x2), x2: Math.min(x1, x2), y1: y1, y2: y2 }, right: { x1: Math.min(x1, x2), x2: Math.max(x1, x2), y1: y1, y2: y2 }, top: { y1: Math.max(y1, y2), y2: Math.min(y1, y2), x1: x1, x2: x2 }, bottom: { y1: Math.min(y1, y2), y2: Math.max(y1, y2), x1: x1, x2: x2 } }; return handles.reduce(function(memo, current) { return lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()(memo, mutations[current]); }, {}); }, getMinimumDomain: function() { return { x: [ 0, 1 / Number.MAX_SAFE_INTEGER ], y: [ 0, 1 / Number.MAX_SAFE_INTEGER ] }; }, getDefaultBrushArea: function(targetProps, cachedDomain, evt) { var domain = targetProps.domain, fullDomain = targetProps.fullDomain, scale = targetProps.scale, horizontal = targetProps.horizontal, defaultBrushArea = targetProps.allowResize || targetProps.defaultBrushArea ? targetProps.defaultBrushArea : "move"; if ("none" === defaultBrushArea) return this.getMinimumDomain(); if ("disable" === defaultBrushArea) return cachedDomain; if ("move" !== defaultBrushArea) return domain; var brushBox = this.getDomainBox(targetProps, fullDomain, cachedDomain), parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getParentSVG(evt), pannedBox = this.panBox(_objectSpread({}, targetProps, brushBox, { brushDomain: cachedDomain, startX: (brushBox.x1 + brushBox.x2) / 2, startY: (brushBox.y1 + brushBox.y2) / 2 }), victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG)), fullDomainBox = targetProps.fullDomainBox || this.getDomainBox(targetProps, fullDomain), constrainedBox = this.constrainBox(pannedBox, fullDomainBox); return victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getBounds(_objectSpread({}, constrainedBox, { scale: scale, horizontal: horizontal })); }, getSelectionMutation: function(point, box, brushDimension) { var x = point.x, y = point.y, x1 = box.x1, x2 = box.x2, y1 = box.y1, y2 = box.y2; return { x1: "y" !== brushDimension ? x : x1, y1: "x" !== brushDimension ? y : y1, x2: "y" !== brushDimension ? x : x2, y2: "x" !== brushDimension ? y : y2 }; }, panBox: function(props, point) { var domain = props.domain, startX = props.startX, startY = props.startY, brushDimension = this.getDimension(props), brushDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, props.brushDomain, domain), fullDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, props.fullDomain, domain), _ref = props.x1 ? props : this.getDomainBox(props, fullDomain, brushDomain), x1 = _ref.x1, x2 = _ref.x2, y1 = _ref.y1, y2 = _ref.y2, x = point.x, y = point.y, delta = { x: startX ? startX - x : 0, y: startY ? startY - y : 0 }; return { x1: "y" !== brushDimension ? Math.min(x1, x2) - delta.x : Math.min(x1, x2), x2: "y" !== brushDimension ? Math.max(x1, x2) - delta.x : Math.max(x1, x2), y1: "x" !== brushDimension ? Math.min(y1, y2) - delta.y : Math.min(y1, y2), y2: "x" !== brushDimension ? Math.max(y1, y2) - delta.y : Math.max(y1, y2) }; }, constrainBox: function(box, fullDomainBox) { var _mapValues4 = lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(fullDomainBox, Number), x1 = _mapValues4.x1, y1 = _mapValues4.y1, x2 = _mapValues4.x2, y2 = _mapValues4.y2; return { x1: box.x2 > x2 ? x2 - Math.abs(box.x2 - box.x1) : Math.max(box.x1, x1), y1: box.y2 > y2 ? y2 - Math.abs(box.y2 - box.y1) : Math.max(box.y1, y1), x2: box.x1 < x1 ? x1 + Math.abs(box.x2 - box.x1) : Math.min(box.x2, x2), y2: box.y1 < y1 ? y1 + Math.abs(box.y2 - box.y1) : Math.min(box.y2, y2) }; }, constrainPoint: function(point, fullDomainBox) { var _mapValues5 = lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(fullDomainBox, Number), x1 = _mapValues5.x1, y1 = _mapValues5.y1, x2 = _mapValues5.x2, y2 = _mapValues5.y2; return { x: Math.min(Math.max(point.x, x1), x2), y: Math.min(Math.max(point.y, y1), y2) }; }, hasMoved: function(props) { var x1 = props.x1, x2 = props.x2, y1 = props.y1, y2 = props.y2, mouseMoveThreshold = props.mouseMoveThreshold, brushDimension = this.getDimension(props), xMoved = Math.abs(x1 - x2) >= mouseMoveThreshold, yMoved = Math.abs(y1 - y2) >= mouseMoveThreshold; switch(brushDimension){ case "x": return xMoved; case "y": return yMoved; default: return xMoved || yMoved; } }, onMouseDown: function(evt, targetProps) { var _this2 = this; evt.preventDefault(); var handleWidth = targetProps.handleWidth, cachedBrushDomain = targetProps.cachedBrushDomain, domain = targetProps.domain, allowResize = targetProps.allowResize, allowDrag = targetProps.allowDrag, allowDraw = targetProps.allowDraw, brushDimension = this.getDimension(targetProps), defaultBrushArea = allowResize || targetProps.defaultBrushArea ? targetProps.defaultBrushArea : "move"; if (!allowResize && !allowDrag) return {}; var fullDomainBox = targetProps.fullDomainBox || this.getDomainBox(targetProps, domain), parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getParentSVG(evt), _Selection$getSVGEven = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG), x = _Selection$getSVGEven.x, y = _Selection$getSVGEven.y; if (!this.withinBounds({ x: x, y: y }, fullDomainBox, handleWidth)) return {}; var brushDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, targetProps.brushDomain, domain), currentDomain = react_fast_compare__WEBPACK_IMPORTED_MODULE_6___default()(brushDomain, cachedBrushDomain) ? targetProps.currentDomain || brushDomain || domain : brushDomain || domain, domainBox = this.getDomainBox(targetProps, domain, currentDomain), activeHandles = allowResize && this.getActiveHandles({ x: x, y: y }, targetProps, domainBox); return activeHandles ? [ { target: "parent", mutation: function() { return _objectSpread({ isSelecting: !0, domainBox: domainBox, fullDomainBox: fullDomainBox, cachedBrushDomain: brushDomain, currentDomain: currentDomain, parentSVG: parentSVG }, _this2.getResizeMutation(domainBox, activeHandles)); } } ] : this.withinBounds({ x: x, y: y }, domainBox) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_6___default()(domain, currentDomain) ? [ { target: "parent", mutation: function() { return _objectSpread({ isPanning: allowDrag, startX: x, startY: y, domainBox: domainBox, fullDomainBox: fullDomainBox, currentDomain: currentDomain, cachedBrushDomain: brushDomain, parentSVG: parentSVG }, domainBox); } } ] : allowDraw ? [ { target: "parent", mutation: function() { return _objectSpread({ isSelecting: allowResize || "move" === defaultBrushArea, domainBox: domainBox, fullDomainBox: fullDomainBox, parentSVG: parentSVG, cachedBrushDomain: brushDomain, cachedCurrentDomain: currentDomain, currentDomain: _this2.getMinimumDomain() }, _this2.getSelectionMutation({ x: x, y: y }, domainBox, brushDimension)); } } ] : {}; }, onGlobalMouseMove: function(evt, targetProps) { var scale = targetProps.scale, isPanning = targetProps.isPanning, isSelecting = targetProps.isSelecting, fullDomainBox = targetProps.fullDomainBox, onBrushDomainChange = targetProps.onBrushDomainChange, allowResize = targetProps.allowResize, allowDrag = targetProps.allowDrag, horizontal = targetProps.horizontal, mouseMoveThreshold = targetProps.mouseMoveThreshold, parentSVG = targetProps.parentSVG, brushDimension = this.getDimension(targetProps), _Selection$getSVGEven2 = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG), x = _Selection$getSVGEven2.x, y = _Selection$getSVGEven2.y; if (!allowResize && !allowDrag || mouseMoveThreshold > 0 && !this.hasMoved(_objectSpread({}, targetProps, { x2: x, y2: y }))) return {}; if (allowDrag && isPanning) { var startX = targetProps.startX, startY = targetProps.startY, pannedBox = this.panBox(targetProps, { x: x, y: y }), constrainedBox = this.constrainBox(pannedBox, fullDomainBox), currentDomain = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getBounds(_objectSpread({}, constrainedBox, { scale: scale, horizontal: horizontal })), mutatedProps = _objectSpread({ currentDomain: currentDomain, parentSVG: parentSVG, startX: pannedBox.x2 >= fullDomainBox.x2 || pannedBox.x1 <= fullDomainBox.x1 ? startX : x, startY: pannedBox.y2 >= fullDomainBox.y2 || pannedBox.y1 <= fullDomainBox.y1 ? startY : y }, constrainedBox); return lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onBrushDomainChange) && onBrushDomainChange(currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)), [ { target: "parent", mutation: function() { return mutatedProps; } } ]; } if (allowResize && isSelecting) { var _constrainPoint = this.constrainPoint({ x: "y" !== brushDimension ? x : targetProps.x2, y: "x" !== brushDimension ? y : targetProps.y2 }, fullDomainBox), x2 = _constrainPoint.x, y2 = _constrainPoint.y, _currentDomain = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getBounds({ x2: x2, y2: y2, x1: targetProps.x1, y1: targetProps.y1, scale: scale, horizontal: horizontal }), _mutatedProps = { x2: x2, y2: y2, currentDomain: _currentDomain, parentSVG: parentSVG }; return lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onBrushDomainChange) && onBrushDomainChange(_currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, _mutatedProps, targetProps)), [ { target: "parent", mutation: function() { return _mutatedProps; } } ]; } return {}; }, onGlobalMouseUp: function(evt, targetProps) { if (!targetProps.isPanning && !targetProps.isSelecting) return {}; var x1 = targetProps.x1, y1 = targetProps.y1, x2 = targetProps.x2, y2 = targetProps.y2, isPanning = targetProps.isPanning, isSelecting = targetProps.isSelecting, onBrushDomainChange = targetProps.onBrushDomainChange, onBrushDomainChangeEnd = targetProps.onBrushDomainChangeEnd, onBrushCleared = targetProps.onBrushCleared, currentDomain = targetProps.currentDomain, allowResize = targetProps.allowResize, allowDrag = targetProps.allowDrag, defaultBrushArea = allowResize || targetProps.defaultBrushArea ? targetProps.defaultBrushArea : "move", mutatedProps = { isPanning: !1, isSelecting: !1 }; if ((allowResize || void 0 !== defaultBrushArea && "none" !== defaultBrushArea) && (x1 === x2 || y1 === y2)) { var cachedDomain = targetProps.cachedCurrentDomain || currentDomain, defaultDomain = this.getDefaultBrushArea(targetProps, cachedDomain, evt); mutatedProps.currentDomain = defaultDomain, lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onBrushDomainChange) && onBrushDomainChange(defaultDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onBrushDomainChangeEnd) && onBrushDomainChangeEnd(defaultDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onBrushCleared) && onBrushCleared(defaultDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)); } else (allowDrag && isPanning || allowResize && isSelecting) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onBrushDomainChangeEnd) && onBrushDomainChangeEnd(currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)); return [ { target: "parent", mutation: function() { return mutatedProps; } } ]; } }; __webpack_exports__.default = _objectSpread({}, Helpers, { onMouseDown: Helpers.onMouseDown.bind(Helpers), onGlobalMouseUp: Helpers.onGlobalMouseUp.bind(Helpers), onGlobalMouseMove: lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default()(Helpers.onGlobalMouseMove.bind(Helpers), 16, { leading: !0, trailing: !1 }) }); }, "../../victory-brush-container/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_brush_container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-brush-container/es/victory-brush-container.js"); __webpack_require__.d(__webpack_exports__, "brushContainerMixin", function() { return _victory_brush_container__WEBPACK_IMPORTED_MODULE_0__.brushContainerMixin; }), __webpack_require__.d(__webpack_exports__, "VictoryBrushContainer", function() { return _victory_brush_container__WEBPACK_IMPORTED_MODULE_0__.default; }); var _brush_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-brush-container/es/brush-helpers.js"); __webpack_require__.d(__webpack_exports__, "BrushHelpers", function() { return _brush_helpers__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-brush-container/es/victory-brush-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "brushContainerMixin", function() { return brushContainerMixin; }); var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"), _brush_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-brush-container/es/brush-helpers.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_6__); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var brushContainerMixin = function(base) { var _class, _temp; return _temp = _class = function(_base) { var Constructor, protoProps, staticProps; function VictoryBrushContainer() { var self1, call; return function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryBrushContainer), call = (VictoryBrushContainer.__proto__ || Object.getPrototypeOf(VictoryBrushContainer)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryBrushContainer, _base), protoProps = [ { key: "getSelectBox", value: function(props, coordinates) { var x = coordinates.x, y = coordinates.y, brushStyle = props.brushStyle, brushComponent = props.brushComponent, name = props.name, brushComponentStyle = brushComponent.props && brushComponent.props.style, cursor = props.allowDrag || props.allowResize ? "move" : "auto"; return x[0] !== x[1] && y[0] !== y[1] ? react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(brushComponent, { key: "".concat(name, "-brush"), width: Math.abs(x[1] - x[0]) || 1, height: Math.abs(y[1] - y[0]) || 1, x: Math.min(x[0], x[1]), y: Math.min(y[0], y[1]), cursor: cursor, style: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, brushComponentStyle, brushStyle) }) : null; } }, { key: "getCursorPointers", value: function(props) { var cursors = { yProps: "ns-resize", xProps: "ew-resize" }; return !props.allowResize && props.allowDrag ? (cursors.xProps = "move", cursors.yProps = "move") : props.allowResize || props.allowDrag || (cursors.xProps = "auto", cursors.yProps = "auto"), cursors; } }, { key: "getHandles", value: function(props, domain) { var handleWidth = props.handleWidth, handleStyle = props.handleStyle, handleComponent = props.handleComponent, name = props.name, domainBox = _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.getDomainBox(props, domain), x1 = domainBox.x1, x2 = domainBox.x2, y1 = domainBox.y1, y2 = domainBox.y2, _BrushHelpers$getHand = _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.getHandles(props, domainBox), top = _BrushHelpers$getHand.top, bottom = _BrushHelpers$getHand.bottom, left = _BrushHelpers$getHand.left, right = _BrushHelpers$getHand.right, handleComponentStyle = handleComponent.props && handleComponent.props.style || {}, style = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, handleComponentStyle, handleStyle), cursors = this.getCursorPointers(props), yProps = { style: style, width: Math.abs(x2 - x1) || 1, height: handleWidth, cursor: cursors.yProps }, xProps = { style: style, width: handleWidth, height: Math.abs(y2 - y1) || 1, cursor: cursors.xProps }, handleProps = { top: top && lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ x: top.x1, y: top.y1 }, yProps), bottom: bottom && lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ x: bottom.x1, y: bottom.y1 }, yProps), left: left && lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ y: left.y1, x: left.x1 }, xProps), right: right && lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ y: right.y1, x: right.x1 }, xProps) }, handles = [ "top", "bottom", "left", "right" ].reduce(function(memo, curr) { return memo = handleProps[curr] ? memo.concat(react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(handleComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ key: "".concat(name, "-handle-").concat(curr) }, handleProps[curr]))) : memo; }, []); return handles.length ? handles : null; } }, { key: "getRect", value: function(props) { var currentDomain = props.currentDomain, cachedBrushDomain = props.cachedBrushDomain, brushDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, props.brushDomain, props.domain), domain = react_fast_compare__WEBPACK_IMPORTED_MODULE_6___default()(brushDomain, cachedBrushDomain) ? lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, currentDomain, brushDomain) : brushDomain, coordinates = victory_core__WEBPACK_IMPORTED_MODULE_4__.Selection.getDomainCoordinates(props, domain), selectBox = this.getSelectBox(props, coordinates); return selectBox ? [ selectBox, this.getHandles(props, domain) ] : []; } }, { key: "getChildren", value: function(props) { return _toConsumableArray(react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(props.children)).concat(_toConsumableArray(this.getRect(props))); } } ], _defineProperties(VictoryBrushContainer.prototype, protoProps), staticProps && _defineProperties(VictoryBrushContainer, staticProps), VictoryBrushContainer; }(base), Object.defineProperty(_class, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryBrushContainer" }), Object.defineProperty(_class, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer.propTypes, { allowDrag: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, allowDraw: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, allowResize: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, brushComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, brushDimension: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "x", "y" ]), brushDomain: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array }), brushStyle: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, defaultBrushArea: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "all", "disable", "none", "move" ]), disable: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, handleComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, handleStyle: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, handleWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, onBrushCleared: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, onBrushDomainChange: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, onBrushDomainChangeEnd: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func }) }), Object.defineProperty(_class, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer.defaultProps, { allowDrag: !0, allowDraw: !0, allowResize: !0, brushComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Rect, null), brushStyle: { stroke: "transparent", fill: "black", fillOpacity: 0.1 }, handleComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Rect, null), handleStyle: { stroke: "transparent", fill: "transparent" }, handleWidth: 8, mouseMoveThreshold: 0 }) }), Object.defineProperty(_class, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return [ { target: "parent", eventHandlers: { onMouseDown: function(evt, targetProps) { return props.disable ? {} : _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onMouseDown(evt, targetProps); }, onTouchStart: function(evt, targetProps) { return props.disable ? {} : _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onMouseDown(evt, targetProps); }, onGlobalMouseMove: function(evt, targetProps) { return !props.disable && (targetProps.isPanning || targetProps.isSelecting) ? _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onGlobalMouseMove(evt, targetProps) : {}; }, onGlobalTouchMove: function(evt, targetProps) { return !props.disable && (targetProps.isPanning || targetProps.isSelecting) ? _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onGlobalMouseMove(evt, targetProps) : {}; }, onGlobalMouseUp: function(evt, targetProps) { return props.disable ? {} : _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onGlobalMouseUp(evt, targetProps); }, onGlobalTouchEnd: function(evt, targetProps) { return props.disable ? {} : _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onGlobalMouseUp(evt, targetProps); }, onGlobalTouchCancel: function(evt, targetProps) { return props.disable ? {} : _brush_helpers__WEBPACK_IMPORTED_MODULE_5__.default.onGlobalMouseUp(evt, targetProps); } } } ]; } }), _temp; }; __webpack_exports__.default = brushContainerMixin(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer); }, "../../victory-brush-line/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_brush_line__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-brush-line/es/victory-brush-line.js"); __webpack_require__.d(__webpack_exports__, "VictoryBrushLine", function() { return _victory_brush_line__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-brush-line/es/victory-brush-line.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryBrushLine; }); var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/pick.js"), lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), lodash_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__), victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_7__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var SMALL_NUMBER = 1 / Number.MAX_SAFE_INTEGER, getScale = function(props) { var _props$scale = props.scale, scale = void 0 === _props$scale ? {} : _props$scale, _props$dimension = props.dimension, dimension = void 0 === _props$dimension ? "x" : _props$dimension; if (scale[dimension]) return scale[dimension]; var fallbackScale = victory_core__WEBPACK_IMPORTED_MODULE_6__.Scale.getBaseScale(props, dimension), range = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.getRange(props, dimension), domain = victory_core__WEBPACK_IMPORTED_MODULE_6__.Domain.getDomainFromProps(props, dimension) || [ 0, 1 ]; return fallbackScale.range(range).domain(domain), fallbackScale; }, getDimension = function(props) { var horizontal = props.horizontal, _props$dimension2 = props.dimension, dimension = void 0 === _props$dimension2 ? "x" : _props$dimension2; return horizontal ? "x" === dimension ? "y" : "x" : dimension; }, toRange = function(props, domain) { var scale = getScale(props); return [ scale(Math.min.apply(Math, _toConsumableArray(domain))), scale(Math.max.apply(Math, _toConsumableArray(domain))) ]; }, toDomain = function(props, range) { var scale = getScale(props); return [ scale.invert(Math.min.apply(Math, _toConsumableArray(range))), scale.invert(Math.max.apply(Math, _toConsumableArray(range))) ]; }, getFullRange = function(props) { return getScale(props).range(); }, getFullDomain = function(props) { return getScale(props).domain(); }, withinBound = function(value, bound) { return value >= victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMinValue(bound) && value <= victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMaxValue(bound); }, getBrushDomain = function(brushDomain, fullDomain) { if (brushDomain) { var brushMin = victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMinValue(brushDomain), brushMax = victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMaxValue(brushDomain), domainMin = victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMinValue(fullDomain), domainMax = victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMaxValue(fullDomain); return [ withinBound(brushMin, fullDomain) ? brushMin : brushMin < domainMin ? domainMin : domainMax - SMALL_NUMBER, withinBound(brushMax, fullDomain) ? brushMax : brushMax > domainMax ? domainMax : domainMin + SMALL_NUMBER ]; } return fullDomain; }, getActiveHandle = function(props, position, range) { var width = props.handleWidth / 2, dimension = getDimension(props), getHandle = function(type) { var base = { min: "x" === dimension ? Math.min.apply(Math, _toConsumableArray(range)) : Math.max.apply(Math, _toConsumableArray(range)), max: "x" === dimension ? Math.max.apply(Math, _toConsumableArray(range)) : Math.min.apply(Math, _toConsumableArray(range)) }; return [ base[type] - width, base[type] + width ]; }, active = [ "min", "max" ].reduce(function(memo, type) { return memo[type] = withinBound(position, getHandle(type)) ? type : void 0, memo; }, {}); return active.min && active.max ? "both" : active.min || active.max; }, panBox = function(props, position) { var brushDomain = props.brushDomain, startPosition = props.startPosition, range = toRange(props, brushDomain), fullRange = getFullRange(props), size = Math.abs(range[1] - range[0]), globalMin = Math.min.apply(Math, _toConsumableArray(fullRange)), globalMax = Math.max.apply(Math, _toConsumableArray(fullRange)), delta = startPosition ? startPosition - position : 0, min = Math.min.apply(Math, _toConsumableArray(range)) - delta, max = Math.max.apply(Math, _toConsumableArray(range)) - delta; return [ min > globalMax - size ? globalMax - size : Math.max(min, globalMin), max < globalMin + size ? globalMin + size : Math.min(max, globalMax) ]; }, fallbackProps = { brushAreaStyle: { stroke: "none", fill: "black", opacity: function(_ref) { return _ref.active ? 0.2 : 0.1; } }, brushStyle: { pointerEvents: "none", stroke: "none", fill: "black", opacity: function(_ref2) { return _ref2.active ? 0.4 : 0.3; } }, handleStyle: { pointerEvents: "none", stroke: "none", fill: "none" } }, VictoryBrushLine = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryBrushLine() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryBrushLine), call = (VictoryBrushLine.__proto__ || Object.getPrototypeOf(VictoryBrushLine)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryBrushLine, _React$Component), protoProps = [ { key: "getRectDimensions", value: function(props, brushWidth, domain) { var brushDomain = props.brushDomain, dimension = getDimension(props); domain = domain || getBrushDomain(brushDomain, getFullDomain(props)); var range = toRange(props, domain), coordinates = "x" === dimension ? { y1: props.y1, y2: props.y2, x1: Math.min.apply(Math, _toConsumableArray(range)), x2: Math.max.apply(Math, _toConsumableArray(range)) } : { x1: props.x1, x2: props.x2, y1: Math.min.apply(Math, _toConsumableArray(range)), y2: Math.max.apply(Math, _toConsumableArray(range)) }, x1 = coordinates.x1, x2 = coordinates.x2, y1 = coordinates.y1, y2 = coordinates.y2, offset = { x: "x" === dimension ? 0 : brushWidth / 2, y: "y" === dimension ? 0 : brushWidth / 2 }, x = Math.min(x1, x2) - offset.x, y = Math.min(y1, y2) - offset.y, width = Math.max(x1, x2) + offset.x - x, height = Math.max(y1, y2) + offset.y - y; return { x: x, y: y, width: width, height: height }; } }, { key: "getHandleDimensions", value: function(props) { var handleWidth = props.handleWidth, x1 = props.x1, x2 = props.x2, y1 = props.y1, y2 = props.y2, brushDomain = props.brushDomain, dimension = getDimension(props), brushWidth = props.brushWidth || props.width, domain = getBrushDomain(brushDomain, getFullDomain(props)), range = toRange(props, domain), defaultX = Math.min(x1, x2) - brushWidth / 2, defaultY = Math.min(y1, y2) - brushWidth / 2, x = { min: "x" === dimension ? Math.min.apply(Math, _toConsumableArray(range)) - handleWidth / 2 : defaultX, max: "x" === dimension ? Math.max.apply(Math, _toConsumableArray(range)) - handleWidth / 2 : defaultX }, y = { min: "y" === dimension ? Math.max.apply(Math, _toConsumableArray(range)) - handleWidth / 2 : defaultY, max: "y" === dimension ? Math.min.apply(Math, _toConsumableArray(range)) - handleWidth / 2 : defaultY }, width = "x" === dimension ? handleWidth : brushWidth, height = "x" === dimension ? brushWidth : handleWidth; return { min: { x: x.min, y: y.min, width: width, height: height }, max: { x: x.max, y: y.max, width: width, height: height } }; } }, { key: "getCursor", value: function(props) { var _props$activeBrushes = props.activeBrushes, activeBrushes = void 0 === _props$activeBrushes ? {} : _props$activeBrushes, dimension = getDimension(props); return activeBrushes.minHandle || activeBrushes.maxHandle ? "x" === dimension ? "ew-resize" : "ns-resize" : activeBrushes.brush ? "move" : "crosshair"; } }, { key: "renderHandles", value: function(props) { var handleComponent = props.handleComponent, handleStyle = props.handleStyle, id = props.id, brushDomain = props.brushDomain, _props$datum = props.datum, datum = void 0 === _props$datum ? {} : _props$datum, _props$activeBrushes2 = props.activeBrushes, activeBrushes = void 0 === _props$activeBrushes2 ? {} : _props$activeBrushes2; if (!brushDomain) return null; var handleDimensions = this.getHandleDimensions(props), style = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, fallbackProps.handleStyle, handleStyle), minDatum = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ handleValue: victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMinValue(brushDomain) }, datum), maxDatum = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ handleValue: victory_core__WEBPACK_IMPORTED_MODULE_6__.Collection.getMaxValue(brushDomain) }, datum), minHandleProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ key: "".concat(id, "-min"), style: victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateStyle(style, { datum: minDatum, active: activeBrushes.minHandle }) }, handleDimensions.min), maxHandleProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ key: "".concat(id, "-max"), style: victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateStyle(style, { datum: maxDatum, active: activeBrushes.maxHandle }) }, handleDimensions.max); return [ react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(handleComponent, minHandleProps), react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(handleComponent, maxHandleProps) ]; } }, { key: "renderBrush", value: function(props) { var brushComponent = props.brushComponent, brushStyle = props.brushStyle, _props$activeBrushes3 = props.activeBrushes, _props$datum2 = props.datum; if (!props.brushDomain) return null; var brushWidth = props.brushWidth || props.width, rectDimensions = this.getRectDimensions(props, brushWidth), baseStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, fallbackProps.brushStyle, brushStyle), style = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateStyle(baseStyle, { datum: void 0 === _props$datum2 ? {} : _props$datum2, active: (void 0 === _props$activeBrushes3 ? {} : _props$activeBrushes3).brush }), brushProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ style: style }, rectDimensions); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(brushComponent, brushProps); } }, { key: "renderBrushArea", value: function(props) { var brushAreaComponent = props.brushAreaComponent, brushAreaStyle = props.brushAreaStyle, _props$activeBrushes4 = props.activeBrushes, _props$datum3 = props.datum, brushAreaWidth = props.brushAreaWidth || props.width, cursor = this.getCursor(props), rectDimensions = this.getRectDimensions(props, brushAreaWidth, getFullDomain(props)), baseStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ cursor: cursor }, fallbackProps.brushAreaStyle, brushAreaStyle), style = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateStyle(baseStyle, { datum: void 0 === _props$datum3 ? {} : _props$datum3, active: (void 0 === _props$activeBrushes4 ? {} : _props$activeBrushes4).brushArea }), brushAreaProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ style: style }, rectDimensions); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(brushAreaComponent, brushAreaProps); } }, { key: "renderLine", value: function(props) { var filteredProps = lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(props, [ "x1", "x2", "y1", "y2", "datum", "scale", "active", "style" ]); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(props.lineComponent, filteredProps); } }, { key: "render", value: function() { return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("g", this.props.events, this.renderLine(this.props), this.renderBrushArea(this.props), this.renderBrush(this.props), this.renderHandles(this.props)); } } ], _defineProperties(VictoryBrushLine.prototype, protoProps), staticProps && _defineProperties(VictoryBrushLine, staticProps), VictoryBrushLine; }(react__WEBPACK_IMPORTED_MODULE_4___default.a.Component); Object.defineProperty(VictoryBrushLine, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { allowDrag: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool, allowDraw: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool, allowResize: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool, brushAreaComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, brushAreaStyle: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, brushAreaWidth: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, brushComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, brushDimension: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.oneOf([ "x", "y" ]), brushDomain: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.array, brushStyle: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, brushWidth: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, className: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string, dimension: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.oneOf([ "x", "y" ]), disable: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool, events: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, handleComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, handleStyle: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, handleWidth: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, id: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string ]), lineComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, name: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string, onBrushDomainChange: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.func, scale: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, style: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, type: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string, width: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number } }), Object.defineProperty(VictoryBrushLine, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { allowDrag: !0, allowDraw: !0, allowResize: !0, brushAreaComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_6__.Box, null), brushComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_6__.Box, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("g", null), handleComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_6__.Box, null), handleWidth: 10, lineComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_6__.LineSegment, null), width: 10 } }), Object.defineProperty(VictoryBrushLine, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return props.disable ? void 0 : [ { target: props.type, eventHandlers: { onMouseEnter: function(evt, targetProps) { evt.preventDefault(); var allowResize = targetProps.allowResize, brushDomain = targetProps.brushDomain, dimension = getDimension(targetProps), parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_6__.Selection.getParentSVG(evt), position = victory_core__WEBPACK_IMPORTED_MODULE_6__.Selection.getSVGEventCoordinates(evt, parentSVG)[dimension], fullDomain = getFullDomain(targetProps), currentDomain = getBrushDomain(brushDomain, fullDomain), range = toRange(targetProps, currentDomain), activeHandle = allowResize && getActiveHandle(targetProps, position, range), activeBrushes = { brushArea: !targetProps.brushDomain, brush: withinBound(position, range) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_7___default()(fullDomain, currentDomain), minHandle: "min" === activeHandle || "both" === activeHandle, maxHandle: "min" === activeHandle || "both" === activeHandle }; return [ { mutation: function() { return { activeBrushes: activeBrushes, brushDomain: targetProps.brushDomain, parentSVG: parentSVG }; } } ]; }, onMouseDown: function(evt, targetProps) { evt.preventDefault(); var allowResize = targetProps.allowResize, allowDrag = targetProps.allowDrag, allowDraw = targetProps.allowDraw, activeBrushes = targetProps.activeBrushes, brushDomain = targetProps.brushDomain, dimension = getDimension(targetProps); if (!allowResize && !allowDrag) return []; var fullDomain = getFullDomain(targetProps), currentDomain = getBrushDomain(brushDomain, fullDomain), parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_6__.Selection.getParentSVG(evt), position = victory_core__WEBPACK_IMPORTED_MODULE_6__.Selection.getSVGEventCoordinates(evt, parentSVG)[dimension], range = toRange(targetProps, currentDomain), activeHandle = allowResize && getActiveHandle(targetProps, position, range); return activeHandle ? [ { mutation: function() { return { parentSVG: parentSVG, isSelecting: !0, activeHandle: activeHandle, brushDomain: currentDomain, startPosition: position, activeBrushes: activeBrushes }; } } ] : withinBound(position, range) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_7___default()(fullDomain, currentDomain) ? [ { mutation: function() { return { isPanning: allowDrag, startPosition: position, brushDomain: currentDomain, activeBrushes: activeBrushes, parentSVG: parentSVG }; } } ] : allowDraw ? [ { mutation: function() { return { isSelecting: allowResize, brushDomain: null, startPosition: position, activeBrushes: activeBrushes, parentSVG: parentSVG }; } } ] : []; }, onMouseMove: function(evt, targetProps) { var isPanning = targetProps.isPanning, isSelecting = targetProps.isSelecting, allowResize = targetProps.allowResize, allowDrag = targetProps.allowDrag, onBrushDomainChange = targetProps.onBrushDomainChange, brushDomain = targetProps.brushDomain, dimension = getDimension(targetProps); (isPanning || isSelecting) && (evt.preventDefault(), evt.stopPropagation()); var parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_6__.Selection.getParentSVG(evt), position = victory_core__WEBPACK_IMPORTED_MODULE_6__.Selection.getSVGEventCoordinates(evt, parentSVG)[dimension], fullDomain = getFullDomain(targetProps), domain = getBrushDomain(brushDomain, fullDomain), initialRange = toRange(targetProps, domain), activeHandle = getActiveHandle(targetProps, position, initialRange), activeBrushes = { brushArea: !targetProps.brushDomain, brush: withinBound(position, initialRange) && !react_fast_compare__WEBPACK_IMPORTED_MODULE_7___default()(fullDomain, domain), minHandle: "min" === activeHandle || "both" === activeHandle, maxHandle: "max" === activeHandle || "both" === activeHandle }; if (!targetProps.isPanning && !targetProps.isSelecting) return [ { mutation: function() { return { activeBrushes: activeBrushes, brushDomain: targetProps.brushDomain, parentSVG: parentSVG }; } } ]; if (allowDrag && isPanning) { var fullRange = getFullRange(targetProps), range = panBox(targetProps, position), currentDomain = toDomain(targetProps, range), mutatedProps = { startPosition: Math.max.apply(Math, _toConsumableArray(range)) >= Math.max.apply(Math, _toConsumableArray(fullRange)) || Math.min.apply(Math, _toConsumableArray(range)) <= Math.min.apply(Math, _toConsumableArray(fullRange)) ? targetProps.startPosition : position, isPanning: !0, brushDomain: currentDomain, activeBrushes: { brush: !0 }, parentSVG: parentSVG }; return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(onBrushDomainChange) && onBrushDomainChange(currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, mutatedProps, targetProps)), [ { mutation: function() { return mutatedProps; } } ]; } if (allowResize && isSelecting) { var _currentDomain = brushDomain || [ 0, SMALL_NUMBER ], _range = toRange(targetProps, _currentDomain), oppositeHandle = "min" === targetProps.activeHandle ? "max" : "min", handle = targetProps.activeHandle && "both" === getActiveHandle(targetProps, position, _range) ? oppositeHandle : targetProps.activeHandle; if (handle) { var rangeMax = "x" === dimension ? Math.max.apply(Math, _toConsumableArray(_range)) : Math.min.apply(Math, _toConsumableArray(_range)), rangeMin = "x" === dimension ? Math.min.apply(Math, _toConsumableArray(_range)) : Math.max.apply(Math, _toConsumableArray(_range)); _currentDomain = toDomain(targetProps, [ "max" === handle ? rangeMin : position, "min" === handle ? rangeMax : position ]); } else _currentDomain = toDomain(targetProps, [ targetProps.startPosition, position ]); var _mutatedProps = { brushDomain: _currentDomain, startPosition: targetProps.startPosition, isSelecting: isSelecting, activeHandle: handle, parentSVG: parentSVG, activeBrushes: { brush: !0, minHandle: "min" === activeHandle, maxHandle: "max" === activeHandle } }; return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(onBrushDomainChange) && onBrushDomainChange(_currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, _mutatedProps, targetProps)), [ { mutation: function() { return _mutatedProps; } } ]; } return []; }, onMouseUp: function(evt, targetProps) { var onBrushDomainChange = targetProps.onBrushDomainChange, brushDomain = targetProps.brushDomain, allowResize = targetProps.allowResize, mutatedProps = { isPanning: !1, isSelecting: !1, activeHandle: null, startPosition: null, brushDomain: brushDomain, activeBrushes: targetProps.activeBrushes }; return allowResize && lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(onBrushDomainChange) && onBrushDomainChange(brushDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, mutatedProps, targetProps)), [ { mutation: function() { return mutatedProps; } } ]; }, onMouseLeave: function(evt, targetProps) { var brushDomain = targetProps.brushDomain; return [ { mutation: function() { return { isPanning: !1, isSelecting: !1, activeHandle: null, startPosition: null, brushDomain: brushDomain, activeBrushes: {} }; } } ]; } } } ]; } }); }, "../../victory-candlestick/es/candle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getCandleWidth = function(candleWidth, props) { var style = props.style; return candleWidth ? lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default()(candleWidth) ? victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(candleWidth, props) : candleWidth : style.width ? style.width : candleWidth; }, getCandleProps = function(props, style) { var id = props.id, x = props.x, close = props.close, open = props.open, horizontal = props.horizontal, candleWidth = props.candleWidth, candleLength = Math.abs(close - open); return { key: "".concat(id, "-candle"), style: victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.omit(style, [ "width" ]), x: horizontal ? Math.min(open, close) : x - candleWidth / 2, y: horizontal ? x - candleWidth / 2 : Math.min(open, close), width: horizontal ? candleLength : candleWidth, height: horizontal ? candleWidth : candleLength }; }, getHighWickProps = function(props, style) { var horizontal = props.horizontal, high = props.high, open = props.open, close = props.close, x = props.x, id = props.id; return { key: "".concat(id, "-highWick"), style: victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.omit(style, [ "width" ]), x1: horizontal ? high : x, x2: horizontal ? Math.max(open, close) : x, y1: horizontal ? x : high, y2: horizontal ? x : Math.min(open, close) }; }, getLowWickProps = function(props, style) { var horizontal = props.horizontal, low = props.low, open = props.open, close = props.close, x = props.x, id = props.id; return { key: "".concat(id, "-lowWick"), style: victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.omit(style, [ "width" ]), x1: horizontal ? Math.min(open, close) : x, x2: horizontal ? low : x, y1: horizontal ? x : Math.max(open, close), y2: horizontal ? x : low }; }, evaluateProps = function(props) { var style = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({ stroke: "black" }, props.style), props), candleWidth = getCandleWidth(props.candleWidth, lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { style: style })), ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.ariaLabel, props), desc = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.desc, props), id = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.id, props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { ariaLabel: ariaLabel, style: style, candleWidth: candleWidth, desc: desc, id: id, tabIndex: tabIndex }); }, Candle = function(props) { var _props = props = evaluateProps(props), ariaLabel = _props.ariaLabel, events = _props.events, groupComponent = _props.groupComponent, clipPath = _props.clipPath, rectComponent = _props.rectComponent, lineComponent = _props.lineComponent, role = _props.role, shapeRendering = _props.shapeRendering, className = _props.className, wickStrokeWidth = _props.wickStrokeWidth, transform = _props.transform, style = _props.style, desc = _props.desc, tabIndex = _props.tabIndex, wickStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({ strokeWidth: wickStrokeWidth }, style), sharedProps = _objectSpread({}, events, { "aria-label": ariaLabel, role: role, shapeRendering: shapeRendering, className: className, transform: transform, clipPath: clipPath, desc: desc, tabIndex: tabIndex }), candleProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()(getCandleProps(props, style), sharedProps), highWickProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()(getHighWickProps(props, wickStyle), sharedProps), lowWickProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()(getLowWickProps(props, wickStyle), sharedProps); return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(groupComponent, {}, [ react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(rectComponent, candleProps), react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(lineComponent, highWickProps), react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(lineComponent, lowWickProps) ]); }; Candle.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.primitiveProps, { candleRatio: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, candleWidth: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), close: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, datum: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, high: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, lineComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, low: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, open: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, rectComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, wickStrokeWidth: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, width: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number }), Candle.defaultProps = { groupComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("g", null), lineComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.Line, null), rectComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.Rect, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Candle; }, "../../victory-candlestick/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getDomain", function() { return getDomain; }), __webpack_require__.d(__webpack_exports__, "getData", function() { return getData; }); var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_isNil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_2__), lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__), lodash_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), TYPES = [ "close", "open", "high", "low" ], getData = function(props) { return victory_core__WEBPACK_IMPORTED_MODULE_5__.Data.formatData(props.data, props, [ "x", "high", "low", "close", "open" ]); }, reduceData = function(dataset, axis, type) { var dataType = "x" === axis ? "_x" : ({ min: "_low", max: "_high" })[type]; return dataset.reduce(function(memo, datum) { var current = datum[dataType]; return memo < current && "min" === type || memo > current && "max" === type ? memo : current; }, "min" === type ? 1 / 0 : -1 / 0); }, getDomainFromData = function(props, axis) { var minDomain = victory_core__WEBPACK_IMPORTED_MODULE_5__.Domain.getMinFromProps(props, axis), maxDomain = victory_core__WEBPACK_IMPORTED_MODULE_5__.Domain.getMaxFromProps(props, axis), dataset = getData(props); if (dataset.length < 1) return void 0 !== minDomain && void 0 !== maxDomain ? victory_core__WEBPACK_IMPORTED_MODULE_5__.Domain.getDomainFromMinMax(minDomain, maxDomain) : void 0; var min = void 0 !== minDomain ? minDomain : reduceData(dataset, axis, "min"), max = void 0 !== maxDomain ? maxDomain : reduceData(dataset, axis, "max"); return victory_core__WEBPACK_IMPORTED_MODULE_5__.Domain.getDomainFromMinMax(min, max); }, getDomain = function(props, axis) { return victory_core__WEBPACK_IMPORTED_MODULE_5__.Domain.createDomainFunction(getDomainFromData)(props, axis); }, getLabelStyle = function(props, styleObject, namespace) { var component = props["".concat(namespace, "LabelComponent")], baseStyle = styleObject["".concat(namespace, "Labels")] || styleObject.labels; if (!victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.isTooltip(component)) return baseStyle; var tooltipTheme = props.theme && props.theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, tooltipTheme.style, baseStyle); }, getStyles = function(props, style) { var defaultStyles = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, width = "100%", height = "100%"; if (!style) return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({ parent: { height: height, width: width } }, defaultStyles); var defaultParent = defaultStyles.parent || {}, defaultLabels = defaultStyles.labels || {}, defaultData = defaultStyles.data || {}, labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.labels, defaultLabels); return { parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.parent, defaultParent, { width: width, height: height }), labels: labelStyle, data: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.data, defaultData), openLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.openLabels, getLabelStyle(props, defaultStyles, "open"), labelStyle), closeLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.closeLabels, getLabelStyle(props, defaultStyles, "close"), labelStyle), lowLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.lowLabels, getLabelStyle(props, defaultStyles, "low"), labelStyle), highLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style.highLabels, getLabelStyle(props, defaultStyles, "high"), labelStyle) }; }, formatDataFromDomain = function(datum, domain) { var minDomainX = victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.getMinValue(domain.x), maxDomainX = victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.getMaxValue(domain.x), minDomainY = victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.getMinValue(domain.y), maxDomainY = victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.getMaxValue(domain.y), _x = datum._x, _low = datum._low, _open = datum._open, _close = datum._close, _high = datum._high; return (_x < minDomainX || _x > maxDomainX) && (_x = null), _low < minDomainY && _open < minDomainY && _close < minDomainY && _high < minDomainY && (_low = _open = _close = _high = null), _low > maxDomainY && _open > maxDomainY && _close > maxDomainY && _high > maxDomainY && (_low = _open = _close = _high = null), Object.assign({}, datum, { _x: _x, _low: _low, _open: _open, _close: _close, _high: _high }); }, getCalculatedValues = function(props) { var polar = props.polar, defaultStyle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.getDefaultStyles(props, "candlestick"), style = getStyles(props, props.style, defaultStyle), data = getData(props), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.getRange(props, "y") }, domain = { x: getDomain(props, "x"), y: getDomain(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_5__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_5__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, origin = polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.getPolarOrigin(props) : void 0, defaultOrientation = props.horizontal ? "top" : "right"; return { domain: domain, data: data, scale: scale, style: style, origin: origin, labelOrientation: props.labelOrientation || defaultOrientation }; }, getDataStyles = function(datum, style, props) { style = style || {}; var attr, candleColor = datum._open > datum._close ? props.candleColors.negative : props.candleColors.positive, fill = style.fill || candleColor, strokeColor = style.stroke; return lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, style, { stroke: "none" === strokeColor || "transparent" === strokeColor ? fill : strokeColor || "black", fill: fill }); }, getText = function(props, type) { var datum = props.datum, index = props.index, labels = props.labels, labelProp = props["".concat(type, "Labels")]; if (!labelProp && !labels) return null; if (!0 === labelProp || !0 === labels) { var dataName = "_".concat(type); return "".concat(datum[dataName]); } return Array.isArray(labelProp) ? labelProp[index] : labelProp; }, getCandleWidth = function(props, style) { var data = props.data, candleWidth = props.candleWidth, scale = props.scale, defaultCandleWidth = props.defaultCandleWidth; if (candleWidth) return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(candleWidth) ? victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(candleWidth, props) : candleWidth; if (style && style.width) return style.width; var range = scale.x.range(), extent = Math.abs(range[1] - range[0]), candles = data.length + 2; return Math.max(1, (props.candleRatio || 0.5) * (data.length < 2 ? defaultCandleWidth : extent / candles)); }, getOrientation = function(labelOrientation) { var type = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "labels"; return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(labelOrientation) ? labelOrientation[type] : labelOrientation; }, calculatePlotValues = function(props) { var positions = props.positions, labelStyle = props.labelStyle, x = props.x, horizontal = props.horizontal, computedType = props.computedType, candleWidth = props.candleWidth, orientation = props.orientation; positions.labels = (positions.open + positions.close) / 2; var signX = "left" === orientation ? -1 : 1, signY = "top" === orientation ? -1 : 1; if (horizontal) { var xValue = positions[computedType], dy = "top" === orientation || "bottom" === orientation ? signY * (candleWidth / 2) + signY * (labelStyle.padding || 0) : 0; return { yValue: x, xValue: xValue, dx: "top" === orientation || "bottom" === orientation ? 0 : signX * (labelStyle.padding || 1), dy: dy }; } var _yValue = positions[computedType], _dy = "top" === orientation || "bottom" === orientation ? signY * (labelStyle.padding || 1) : 0; return { yValue: _yValue, xValue: x, dx: "top" === orientation || "bottom" === orientation ? 0 : signX * (candleWidth / 2) + signX * (labelStyle.padding || 0), dy: _dy }; }, getLabelProps = function(props, text, style, type) { var x = props.x, high = props.high, low = props.low, open = props.open, close = props.close, index = props.index, scale = props.scale, datum = props.datum, data = props.data, horizontal = props.horizontal, candleWidth = props.candleWidth, labelOrientation = props.labelOrientation, theme = props.theme, component = props["".concat(type, "LabelComponent")] || props.labelComponent, orientation = component.props && component.props.orientation || getOrientation(labelOrientation, type) || (horizontal ? "top" : "right"), labelStyle = style[type ? "".concat(type, "Labels") : "labels"] || style.labels, _calculatePlotValues = calculatePlotValues({ positions: { high: high, low: low, open: open, close: close }, labelStyle: labelStyle, x: x, horizontal: horizontal, computedType: type || "labels", candleWidth: candleWidth, orientation: orientation }), yValue = _calculatePlotValues.yValue, xValue = _calculatePlotValues.xValue, dx = _calculatePlotValues.dx, dy = _calculatePlotValues.dy, labelProps = { style: labelStyle, y: yValue, x: xValue, dx: dx, dy: dy, text: text, index: index, scale: scale, datum: datum, data: data, orientation: orientation, textAnchor: labelStyle.textAnchor || ({ left: "end", right: "start", top: "middle", bottom: "middle" })[orientation], verticalAnchor: labelStyle.verticalAnchor || ({ top: "end", bottom: "start", left: "middle", right: "middle" })[orientation], angle: labelStyle.angle, horizontal: horizontal }; if (!victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.isTooltip(component)) return labelProps; var tooltipTheme = theme && theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, labelProps, victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.omit(tooltipTheme, [ "style" ])); }, getBaseProps = function(props, fallbackProps) { var calculatedValues = getCalculatedValues(props = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.modifyProps(props, fallbackProps, "candlestick")), data = calculatedValues.data, style = calculatedValues.style, scale = calculatedValues.scale, domain = calculatedValues.domain, origin = calculatedValues.origin, labelOrientation = calculatedValues.labelOrientation, _props = props, groupComponent = _props.groupComponent, width = _props.width, height = _props.height, padding = _props.padding, standalone = _props.standalone, name = _props.name, candleWidth = _props.candleWidth, candleRatio = _props.candleRatio, theme = _props.theme, polar = _props.polar, wickStrokeWidth = _props.wickStrokeWidth, labels = _props.labels, events = _props.events, sharedEvents = _props.sharedEvents, horizontal = _props.horizontal, initialChildProps = { parent: { domain: domain, scale: scale, width: width, height: height, data: data, standalone: standalone, theme: theme, polar: polar, origin: origin, name: name, style: style.parent, padding: padding, horizontal: horizontal } }; return data.reduce(function(childProps, datum, index) { var eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_2___default()(datum.eventKey) ? index : datum.eventKey, x = scale.x(void 0 !== datum._x1 ? datum._x1 : datum._x), _datum = datum = formatDataFromDomain(datum, domain), _low = _datum._low, _open = _datum._open, _close = _datum._close, _high = _datum._high, high = scale.y(_high), close = scale.y(_close), open = scale.y(_open), low = scale.y(_low), dataStyle = getDataStyles(datum, style.data, props), dataProps = { x: x, high: high, low: low, candleWidth: candleWidth, candleRatio: candleRatio, scale: scale, data: data, datum: datum, groupComponent: groupComponent, index: index, style: dataStyle, width: width, polar: polar, origin: origin, wickStrokeWidth: wickStrokeWidth, open: open, close: close, horizontal: horizontal, labelOrientation: labelOrientation }; dataProps.candleWidth = getCandleWidth(dataProps); var extendedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()(Object.assign({}, dataProps), props); if (childProps[eventKey] = { data: dataProps }, labels) { var text = victory_core__WEBPACK_IMPORTED_MODULE_5__.LabelHelpers.getText(props, datum, index); (null != text || labels && (events || sharedEvents)) && (childProps[eventKey].labels = getLabelProps(extendedProps, text, style)); } return TYPES.forEach(function(type) { var labelText = getText(extendedProps, type), labelProp = props.labels || props["".concat(type, "Labels")]; if (null != labelText || labelProp && (events || sharedEvents)) { var target = "".concat(type, "Labels"); childProps[eventKey][target] = getLabelProps(extendedProps, labelText, style, type); } }), childProps; }, initialChildProps); }; }, "../../victory-candlestick/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_candlestick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-candlestick/es/victory-candlestick.js"); __webpack_require__.d(__webpack_exports__, "VictoryCandlestick", function() { return _victory_candlestick__WEBPACK_IMPORTED_MODULE_0__.default; }); var _candle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-candlestick/es/candle.js"); __webpack_require__.d(__webpack_exports__, "Candle", function() { return _candle__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-candlestick/es/victory-candlestick.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_flatten__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/flatten.js"), lodash_flatten__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_flatten__WEBPACK_IMPORTED_MODULE_0__), lodash_isNil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"), _candle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-candlestick/es/candle.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-candlestick/es/helper-methods.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50, candleColors: { positive: "#ffffff", negative: "#252525" } }, defaultData = [ { x: new Date(2016, 6, 1), open: 5, close: 10, high: 15, low: 0 }, { x: new Date(2016, 6, 2), open: 10, close: 15, high: 20, low: 5 }, { x: new Date(2016, 6, 3), open: 15, close: 20, high: 25, low: 10 }, { x: new Date(2016, 6, 4), open: 20, close: 25, high: 30, low: 15 }, { x: new Date(2016, 6, 5), open: 25, close: 30, high: 35, low: 20 }, { x: new Date(2016, 6, 6), open: 30, close: 35, high: 40, low: 25 }, { x: new Date(2016, 6, 7), open: 35, close: 40, high: 45, low: 30 }, { x: new Date(2016, 6, 8), open: 40, close: 45, high: 50, low: 35 } ], datumHasXandY = function(datum) { return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._y); }, VictoryCandlestick = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryCandlestick() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryCandlestick), call = (VictoryCandlestick.__proto__ || Object.getPrototypeOf(VictoryCandlestick)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryCandlestick, _React$Component), _defineProperties(VictoryCandlestick.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "shouldRenderDatum", value: function(datum) { return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._high) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._low) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._close) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._open); } }, { key: "renderCandleData", value: function(props) { var _this = this, shouldRenderDatum = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : datumHasXandY, dataComponent = props.dataComponent, labelComponent = props.labelComponent, groupComponent = props.groupComponent, dataComponents = this.dataKeys.reduce(function(validDataComponents, _dataKey, index) { var dataProps = _this.getComponentProps(dataComponent, "data", index); return shouldRenderDatum(dataProps.datum) && validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(dataComponent, dataProps)), validDataComponents; }, []), labelComponents = lodash_flatten__WEBPACK_IMPORTED_MODULE_0___default()([ "close", "open", "low", "high" ].map(function(type) { return _this.dataKeys.map(function(key, index) { var name = "".concat(type, "Labels"), baseComponent = props["".concat(type, "LabelComponent")], labelProps = _this.getComponentProps(baseComponent, name, index); if (void 0 !== labelProps.text && null !== labelProps.text) return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(baseComponent, labelProps); }).filter(Boolean); })), labelsComponents = this.dataKeys.map(function(_dataKey, index) { var labelProps = _this.getComponentProps(labelComponent, "labels", index); if (void 0 !== labelProps.text && null !== labelProps.text) return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(labelComponent, labelProps); }).filter(Boolean), children = _toConsumableArray(dataComponents).concat(_toConsumableArray(labelComponents), _toConsumableArray(labelsComponents)); return this.renderContainer(groupComponent, children); } }, { key: "render", value: function() { var animationWhitelist = VictoryCandlestick.animationWhitelist, role = VictoryCandlestick.role, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderCandleData(props, this.shouldRenderDatum); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryCandlestick, staticProps), VictoryCandlestick; }(react__WEBPACK_IMPORTED_MODULE_3___default.a.Component); Object.defineProperty(VictoryCandlestick, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "samples", "size", "style", "width" ] }), Object.defineProperty(VictoryCandlestick, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryCandlestick" }), Object.defineProperty(VictoryCandlestick, "role", { configurable: !0, enumerable: !0, writable: !0, value: "candlestick" }), Object.defineProperty(VictoryCandlestick, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.DefaultTransitions.discreteTransitions() }), Object.defineProperty(VictoryCandlestick, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.dataProps, { candleColors: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ positive: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, negative: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string }), candleRatio: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, candleWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number ]), close: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string) ]), closeLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, closeLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool ]), events: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "data", "labels", "open", "openLabels", "close", "closeLabels", "low", "lowLabels", "high", "highLabels" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object })), high: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string) ]), highLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, highLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool ]), labelOrientation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "top", "bottom", "left", "right" ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ open: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "top", "bottom", "left", "right" ]), close: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "top", "bottom", "left", "right" ]), low: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "top", "bottom", "left", "right" ]), high: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "top", "bottom", "left", "right" ]) }) ]), low: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string) ]), lowLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, lowLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool ]), open: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string) ]), openLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, openLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool ]), style: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ data: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, labels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, close: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, closeLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, open: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, openLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, high: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, highLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, low: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, lowLabels: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object }), wickStrokeWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }) }), Object.defineProperty(VictoryCandlestick, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { defaultCandleWidth: 8, containerComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), data: defaultData, dataComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_candle__WEBPACK_IMPORTED_MODULE_5__.default, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("g", { role: "presentation" }), labelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), highLabelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), lowLabelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), openLabelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), closeLabelComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryCandlestick, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_6__.getDomain }), Object.defineProperty(VictoryCandlestick, "getData", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_6__.getData }), Object.defineProperty(VictoryCandlestick, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_6__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryCandlestick, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "openLabelComponent", "closeLabelComponent", "highLabelComponent", "lowLabelComponent", "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryCandlestick, { components: [ { name: "lowLabels" }, { name: "highLabels" }, { name: "openLabels" }, { name: "closeLabels" }, { name: "labels" }, { name: "data" }, { name: "parent", index: "parent" } ] }); }, "../../victory-chart/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBackgroundWithProps", function() { return getBackgroundWithProps; }), __webpack_require__.d(__webpack_exports__, "getChildren", function() { return getChildren; }), __webpack_require__.d(__webpack_exports__, "getCalculatedProps", function() { return getCalculatedProps; }), __webpack_require__.d(__webpack_exports__, "getChildComponents", function() { return getChildComponents; }); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"), fallbackProps = { width: 450, height: 300, padding: 50 }; function getBackgroundWithProps(props, calculatedProps) { var backgroundElement = props.backgroundComponent, height = props.polar ? calculatedProps.range.y[1] : calculatedProps.range.y[0] - calculatedProps.range.y[1], width = calculatedProps.range.x[1] - calculatedProps.range.x[0], xScale = props.horizontal ? calculatedProps.scale.y.range()[0] : calculatedProps.scale.x.range()[0], yScale = props.horizontal ? calculatedProps.scale.x.range()[1] : calculatedProps.scale.y.range()[1], xCoordinate = props.polar ? calculatedProps.origin.x : xScale, yCoordinate = props.polar ? calculatedProps.origin.y : yScale, parentName = props.name || "chart", backgroundProps = { height: height, polar: props.polar, scale: calculatedProps.scale, style: props.style.background, x: xCoordinate, y: yCoordinate, key: "".concat(parentName, "-background"), width: width }; return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(backgroundElement, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundElement.props, backgroundProps)); } function getCalculatedProps(props, childComponents) { var props1, styleProps, style = (styleProps = (props1 = props).style && props1.style.parent, { parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, styleProps, { height: "100%", width: "100%", userSelect: "none" }) }), _props = props = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.modifyProps(props, fallbackProps, "chart"), horizontal = _props.horizontal, polar = _props.polar, allStrings = victory_core__WEBPACK_IMPORTED_MODULE_3__.Wrapper.getStringsFromChildren(props, childComponents), categories = victory_core__WEBPACK_IMPORTED_MODULE_3__.Wrapper.getCategories(props, childComponents, allStrings), stringMap = createStringMap(props, childComponents, allStrings), domain = { x: getDomain(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { categories: categories }), "x", childComponents), y: getDomain(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { categories: categories }), "y", childComponents) }, range = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getRange(props, "y") }, baseScale = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getScaleFromProps(props, "x") || victory_core__WEBPACK_IMPORTED_MODULE_3__.Wrapper.getScale(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getScaleFromProps(props, "y") || victory_core__WEBPACK_IMPORTED_MODULE_3__.Wrapper.getScale(props, "y") }, scale = { x: baseScale.x.domain(domain.x).range(horizontal ? range.y : range.x), y: baseScale.y.domain(domain.y).range(horizontal ? range.x : range.y) }, origin = polar ? victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPolarOrigin(props) : victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getOrigin(domain); return { categories: categories, domain: domain, range: range, horizontal: horizontal, scale: scale, stringMap: stringMap, style: style, origin: origin, padding: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPadding(props) }; } function getChildren(props, childComponents, calculatedProps) { childComponents = childComponents || getChildComponents(props); var baseStyle = (calculatedProps = calculatedProps || getCalculatedProps(props, childComponents)).style.parent, height = props.height, polar = props.polar, theme = props.theme, width = props.width, _calculatedProps = calculatedProps, origin = _calculatedProps.origin, horizontal = _calculatedProps.horizontal, parentName = props.name || "chart"; return childComponents.map(function(child, index) { var role = child.type && child.type.role, style = Array.isArray(child.props.style) ? child.props.style : lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, child.props.style, { parent: baseStyle }), childProps = function(child, props, calculatedProps) { var child1, props1, calculatedProps1, domain, scale, stringMap, categories, axisChild = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.findAxisComponents([ child ]); if (axisChild.length > 0) return axisChild[0], domain = calculatedProps.domain, scale = calculatedProps.scale, stringMap = calculatedProps.stringMap, categories = calculatedProps.categories, { stringMap: stringMap, horizontal: calculatedProps.horizontal, categories: categories, startAngle: props.startAngle, endAngle: props.endAngle, innerRadius: props.innerRadius, domain: domain, scale: scale }; var categories1 = calculatedProps.categories, domain1 = calculatedProps.domain, range = calculatedProps.range, scale1 = calculatedProps.scale; return { categories: categories1, domain: domain1, range: range, scale: scale1, stringMap: calculatedProps.stringMap, horizontal: calculatedProps.horizontal }; }(child, props, calculatedProps), name = child.props.name || "".concat(parentName, "-").concat(role, "-").concat(index), newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({ horizontal: horizontal, height: height, polar: polar, theme: theme, width: width, style: style, name: name, origin: polar ? origin : void 0, padding: calculatedProps.padding, key: "".concat(name, "-key-").concat(index), standalone: !1 }, childProps); return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(child, newProps); }); } var getChildComponents = function(props, defaultAxes) { var arr, childComponents = react__WEBPACK_IMPORTED_MODULE_2___default.a.Children.toArray(props.children), newChildComponents = function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(childComponents) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(childComponents) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); if (0 === childComponents.length) newChildComponents.push(defaultAxes.independent, defaultAxes.dependent); else { var axisComponents = { dependent: victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxisComponentsWithParent(childComponents, "dependent"), independent: victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxisComponentsWithParent(childComponents, "independent") }; 0 === axisComponents.dependent.length && 0 === axisComponents.independent.length && (newChildComponents = props.prependDefaultAxes ? [ defaultAxes.independent, defaultAxes.dependent ].concat(newChildComponents) : newChildComponents.concat([ defaultAxes.independent, defaultAxes.dependent ])); } return newChildComponents; }, getDomain = function(props, axis, childComponents) { childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_2___default.a.Children.toArray(props.children); var domain = victory_core__WEBPACK_IMPORTED_MODULE_3__.Wrapper.getDomain(props, axis, childComponents), axisComponent = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxisComponent(childComponents, axis); return axisComponent && axisComponent.props && axisComponent.props.invertAxis ? domain.concat().reverse() : domain; }, createStringMap = function(props, childComponents, allStrings) { return { x: allStrings.x && 0 !== allStrings.x.length ? allStrings.x.reduce(function(memo, string, index) { return memo[string] = index + 1, memo; }, {}) : null, y: allStrings.y && 0 !== allStrings.y.length ? allStrings.y.reduce(function(memo, string, index) { return memo[string] = index + 1, memo; }, {}) : null }; }; }, "../../victory-chart/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-chart/es/victory-chart.js"); __webpack_require__.d(__webpack_exports__, "VictoryChart", function() { return _victory_chart__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-chart/es/victory-chart.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryChart; }); var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), victory_shared_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-shared-events/es/index.js"), victory_axis__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-axis/es/index.js"), victory_polar_axis__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-polar-axis/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-chart/es/helper-methods.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_10__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryChart = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryChart(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryChart), (_this = (call = (VictoryChart.__proto__ || Object.getPrototypeOf(VictoryChart)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this)).state = {}, props.animate && (_this.state = { nodesShouldLoad: !1, nodesDoneLoad: !1, animating: !0 }, _this.setAnimationState = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.setAnimationState.bind(_assertThisInitialized(_this))), _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryChart, _React$Component), _defineProperties(VictoryChart.prototype, [ { key: "shouldComponentUpdate", value: function(nextProps) { return !this.props.animate || !!react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(this.props, nextProps) || (this.setAnimationState(this.props, nextProps), !1); } }, { key: "getNewChildren", value: function(props, childComponents, calculatedProps) { var children = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_9__.getChildren)(props, childComponents, calculatedProps), getAnimationProps = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getAnimationProps.bind(this), newChildren = children.map(function(child, index) { var childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ animate: getAnimationProps(props, child, index) }, child.props); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(child, childProps); }); if (props.style && props.style.background) { var backgroundComponent = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_9__.getBackgroundWithProps)(props, calculatedProps); newChildren.unshift(backgroundComponent); } return newChildren; } }, { key: "renderContainer", value: function(containerComponent, props) { var containerProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, containerComponent.props, props); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(containerComponent, containerProps); } }, { key: "getContainerProps", value: function(props, calculatedProps) { var width = props.width, height = props.height, standalone = props.standalone, theme = props.theme, polar = props.polar, name = props.name, domain = calculatedProps.domain, scale = calculatedProps.scale, style = calculatedProps.style, origin = calculatedProps.origin, radius = calculatedProps.radius, horizontal = calculatedProps.horizontal; return { domain: domain, scale: scale, width: width, height: height, standalone: standalone, theme: theme, style: style.parent, horizontal: horizontal, name: name, polar: polar, radius: radius, origin: polar ? origin : void 0 }; } }, { key: "render", value: function() { var props = this.state && this.state.nodesWillExit && this.state.oldProps || this.props, modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.modifyProps(props, fallbackProps, "chart"), eventKey = modifiedProps.eventKey, containerComponent = modifiedProps.containerComponent, groupComponent = modifiedProps.groupComponent, standalone = modifiedProps.standalone, externalEventMutations = modifiedProps.externalEventMutations, axes = props.polar ? modifiedProps.defaultPolarAxes : modifiedProps.defaultAxes, childComponents = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_9__.getChildComponents)(modifiedProps, axes), calculatedProps = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_9__.getCalculatedProps)(modifiedProps, childComponents), newChildren = this.getNewChildren(modifiedProps, childComponents, calculatedProps), containerProps = standalone ? this.getContainerProps(modifiedProps, calculatedProps) : {}, container = standalone ? this.renderContainer(containerComponent, containerProps) : groupComponent, events = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getAllEvents(props); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events) ? react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(container, container.props, newChildren) : react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_6__.VictorySharedEvents, { container: container, eventKey: eventKey, events: events, externalEventMutations: externalEventMutations }, newChildren); } } ]), staticProps && _defineProperties(VictoryChart, staticProps), VictoryChart; }(react__WEBPACK_IMPORTED_MODULE_4___default.a.Component); Object.defineProperty(VictoryChart, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryChart" }), Object.defineProperty(VictoryChart, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.baseProps, { backgroundComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node ]), defaultAxes: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ independent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, dependent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element }), defaultPolarAxes: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ independent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, dependent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element }), endAngle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, innerRadius: victory_core__WEBPACK_IMPORTED_MODULE_5__.PropTypes.nonNegative, prependDefaultAxes: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, startAngle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) }), Object.defineProperty(VictoryChart, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { backgroundComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.Background, null), containerComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null), defaultAxes: { independent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_axis__WEBPACK_IMPORTED_MODULE_7__.VictoryAxis, null), dependent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_axis__WEBPACK_IMPORTED_MODULE_7__.VictoryAxis, { dependentAxis: !0 }) }, defaultPolarAxes: { independent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_polar_axis__WEBPACK_IMPORTED_MODULE_8__.VictoryPolarAxis, null), dependent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_polar_axis__WEBPACK_IMPORTED_MODULE_8__.VictoryPolarAxis, { dependentAxis: !0 }) }, groupComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("g", null), standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryChart, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "groupComponent", "containerComponent" ] }); }, "../../victory-core/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_accessible_group_victory_accessible_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-core/es/victory-accessible-group/victory-accessible-group.js"); __webpack_require__.d(__webpack_exports__, "VictoryAccessibleGroup", function() { return _victory_accessible_group_victory_accessible_group__WEBPACK_IMPORTED_MODULE_0__.default; }); var _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-core/es/victory-animation/victory-animation.js"); __webpack_require__.d(__webpack_exports__, "VictoryAnimation", function() { return _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_1__.default; }); var _victory_container_victory_container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/victory-container/victory-container.js"); __webpack_require__.d(__webpack_exports__, "VictoryContainer", function() { return _victory_container_victory_container__WEBPACK_IMPORTED_MODULE_2__.default; }); var _victory_label_victory_label__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-label/victory-label.js"); __webpack_require__.d(__webpack_exports__, "VictoryLabel", function() { return _victory_label_victory_label__WEBPACK_IMPORTED_MODULE_3__.default; }); var _victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-transition/victory-transition.js"); __webpack_require__.d(__webpack_exports__, "VictoryTransition", function() { return _victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_4__.default; }); var _victory_clip_container_victory_clip_container__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-clip-container/victory-clip-container.js"); __webpack_require__.d(__webpack_exports__, "VictoryClipContainer", function() { return _victory_clip_container_victory_clip_container__WEBPACK_IMPORTED_MODULE_5__.default; }); var _victory_theme_victory_theme__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/victory-theme/victory-theme.js"); __webpack_require__.d(__webpack_exports__, "VictoryTheme", function() { return _victory_theme_victory_theme__WEBPACK_IMPORTED_MODULE_6__.default; }); var _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/victory-portal/victory-portal.js"); __webpack_require__.d(__webpack_exports__, "VictoryPortal", function() { return _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_7__.default; }); var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/victory-portal/portal.js"); __webpack_require__.d(__webpack_exports__, "Portal", function() { return _victory_portal_portal__WEBPACK_IMPORTED_MODULE_8__.default; }); var _victory_primitives_arc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/victory-primitives/arc.js"); __webpack_require__.d(__webpack_exports__, "Arc", function() { return _victory_primitives_arc__WEBPACK_IMPORTED_MODULE_9__.default; }); var _victory_primitives_background__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-primitives/background.js"); __webpack_require__.d(__webpack_exports__, "Background", function() { return _victory_primitives_background__WEBPACK_IMPORTED_MODULE_10__.default; }); var _victory_primitives_border__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-core/es/victory-primitives/border.js"); __webpack_require__.d(__webpack_exports__, "Border", function() { return _victory_primitives_border__WEBPACK_IMPORTED_MODULE_11__.default; }), __webpack_require__.d(__webpack_exports__, "Box", function() { return _victory_primitives_border__WEBPACK_IMPORTED_MODULE_11__.default; }); var _victory_primitives_circle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-core/es/victory-primitives/circle.js"); __webpack_require__.d(__webpack_exports__, "Circle", function() { return _victory_primitives_circle__WEBPACK_IMPORTED_MODULE_12__.default; }); var _victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-core/es/victory-primitives/clip-path.js"); __webpack_require__.d(__webpack_exports__, "ClipPath", function() { return _victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_13__.default; }); var _victory_primitives_line__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-core/es/victory-primitives/line.js"); __webpack_require__.d(__webpack_exports__, "Line", function() { return _victory_primitives_line__WEBPACK_IMPORTED_MODULE_14__.default; }); var _victory_primitives_line_segment__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../victory-core/es/victory-primitives/line-segment.js"); __webpack_require__.d(__webpack_exports__, "LineSegment", function() { return _victory_primitives_line_segment__WEBPACK_IMPORTED_MODULE_15__.default; }); var _victory_primitives_path__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../victory-core/es/victory-primitives/path.js"); __webpack_require__.d(__webpack_exports__, "Path", function() { return _victory_primitives_path__WEBPACK_IMPORTED_MODULE_16__.default; }); var _victory_primitives_point__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../victory-core/es/victory-primitives/point.js"); __webpack_require__.d(__webpack_exports__, "Point", function() { return _victory_primitives_point__WEBPACK_IMPORTED_MODULE_17__.default; }); var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../victory-core/es/victory-primitives/rect.js"); __webpack_require__.d(__webpack_exports__, "Rect", function() { return _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_18__.default; }); var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../victory-core/es/victory-primitives/text.js"); __webpack_require__.d(__webpack_exports__, "Text", function() { return _victory_primitives_text__WEBPACK_IMPORTED_MODULE_19__.default; }); var _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../victory-core/es/victory-primitives/tspan.js"); __webpack_require__.d(__webpack_exports__, "TSpan", function() { return _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_20__.default; }); var _victory_primitives_whisker__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("../../victory-core/es/victory-primitives/whisker.js"); __webpack_require__.d(__webpack_exports__, "Whisker", function() { return _victory_primitives_whisker__WEBPACK_IMPORTED_MODULE_21__.default; }); var _victory_util_add_events__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("../../victory-core/es/victory-util/add-events.js"); __webpack_require__.d(__webpack_exports__, "addEvents", function() { return _victory_util_add_events__WEBPACK_IMPORTED_MODULE_22__.default; }); var _victory_util_collection__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"); __webpack_require__.d(__webpack_exports__, "Collection", function() { return _victory_util_collection__WEBPACK_IMPORTED_MODULE_23__.default; }); var _victory_util_data__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("../../victory-core/es/victory-util/data.js"); __webpack_require__.d(__webpack_exports__, "Data", function() { return _victory_util_data__WEBPACK_IMPORTED_MODULE_24__.default; }); var _victory_util_default_transitions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("../../victory-core/es/victory-util/default-transitions.js"); __webpack_require__.d(__webpack_exports__, "DefaultTransitions", function() { return _victory_util_default_transitions__WEBPACK_IMPORTED_MODULE_25__.default; }); var _victory_util_domain__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("../../victory-core/es/victory-util/domain.js"); __webpack_require__.d(__webpack_exports__, "Domain", function() { return _victory_util_domain__WEBPACK_IMPORTED_MODULE_26__.default; }); var _victory_util_events__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("../../victory-core/es/victory-util/events.js"); __webpack_require__.d(__webpack_exports__, "Events", function() { return _victory_util_events__WEBPACK_IMPORTED_MODULE_27__.default; }); var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"); __webpack_require__.d(__webpack_exports__, "Helpers", function() { return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_28__.default; }); var _victory_util_immutable__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("../../victory-core/es/victory-util/immutable.js"); __webpack_require__.d(__webpack_exports__, "Immutable", function() { return _victory_util_immutable__WEBPACK_IMPORTED_MODULE_29__.default; }); var _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("../../victory-core/es/victory-util/label-helpers.js"); __webpack_require__.d(__webpack_exports__, "LabelHelpers", function() { return _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_30__.default; }); var _victory_util_log__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__("../../victory-core/es/victory-util/log.js"); __webpack_require__.d(__webpack_exports__, "Log", function() { return _victory_util_log__WEBPACK_IMPORTED_MODULE_31__.default; }); var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__("../../victory-core/es/victory-util/prop-types.js"); __webpack_require__.d(__webpack_exports__, "PropTypes", function() { return _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_32__.default; }); var _victory_util_scale__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("../../victory-core/es/victory-util/scale.js"); __webpack_require__.d(__webpack_exports__, "Scale", function() { return _victory_util_scale__WEBPACK_IMPORTED_MODULE_33__.default; }); var _victory_util_selection__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__("../../victory-core/es/victory-util/selection.js"); __webpack_require__.d(__webpack_exports__, "Selection", function() { return _victory_util_selection__WEBPACK_IMPORTED_MODULE_34__.default; }); var _victory_util_style__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__("../../victory-core/es/victory-util/style.js"); __webpack_require__.d(__webpack_exports__, "Style", function() { return _victory_util_style__WEBPACK_IMPORTED_MODULE_35__.default; }); var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__("../../victory-core/es/victory-util/textsize.js"); __webpack_require__.d(__webpack_exports__, "TextSize", function() { return _victory_util_textsize__WEBPACK_IMPORTED_MODULE_36__.default; }); var _victory_util_timer__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__("../../victory-core/es/victory-util/timer.js"); __webpack_require__.d(__webpack_exports__, "Timer", function() { return _victory_util_timer__WEBPACK_IMPORTED_MODULE_37__.default; }); var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__("../../victory-core/es/victory-util/transitions.js"); __webpack_require__.d(__webpack_exports__, "Transitions", function() { return _victory_util_transitions__WEBPACK_IMPORTED_MODULE_38__.default; }); var _victory_util_common_props__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"); __webpack_require__.d(__webpack_exports__, "CommonProps", function() { return _victory_util_common_props__WEBPACK_IMPORTED_MODULE_39__.default; }); var _victory_util_wrapper__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__("../../victory-core/es/victory-util/wrapper.js"); __webpack_require__.d(__webpack_exports__, "Wrapper", function() { return _victory_util_wrapper__WEBPACK_IMPORTED_MODULE_40__.default; }); var _victory_util_axis__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__("../../victory-core/es/victory-util/axis.js"); __webpack_require__.d(__webpack_exports__, "Axis", function() { return _victory_util_axis__WEBPACK_IMPORTED_MODULE_41__.default; }); var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__("../../victory-core/es/victory-util/timer-context.js"); __webpack_require__.d(__webpack_exports__, "TimerContext", function() { return _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_42__.default; }); var _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__("../../victory-core/es/victory-portal/portal-context.js"); __webpack_require__.d(__webpack_exports__, "PortalContext", function() { return _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_43__.default; }); }, "../../victory-core/es/victory-accessible-group/victory-accessible-group.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var VictoryAccessibleGroup = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryAccessibleGroup() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryAccessibleGroup), call = (VictoryAccessibleGroup.__proto__ || Object.getPrototypeOf(VictoryAccessibleGroup)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryAccessibleGroup, _React$Component), _defineProperties(VictoryAccessibleGroup.prototype, [ { key: "render", value: function() { var _props = this.props, desc = _props.desc, children = _props.children, className = _props.className, tabIndex = _props.tabIndex, descId = desc && (this.props["aria-describedby"] || desc.split(" ").join("-")); return desc ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g", { "aria-label": this.props["aria-label"], "aria-describedby": descId, className: className, tabIndex: tabIndex }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("desc", { id: descId }, desc), children) : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g", { "aria-label": this.props["aria-label"], "aria-describedby": this.props["aria-describedby"], className: className, tabIndex: tabIndex }, children); } } ]), staticProps && _defineProperties(VictoryAccessibleGroup, staticProps), VictoryAccessibleGroup; }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); Object.defineProperty(VictoryAccessibleGroup, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryAccessibleGroup" }), Object.defineProperty(VictoryAccessibleGroup, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { "aria-describedby": prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, "aria-label": prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node ]), className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, desc: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number } }), Object.defineProperty(VictoryAccessibleGroup, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { className: "VictoryAccessibleGroup" } }), __webpack_exports__.default = VictoryAccessibleGroup; }, "../../victory-core/es/victory-animation/util.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "isInterpolatable", function() { return isInterpolatable; }), __webpack_require__.d(__webpack_exports__, "interpolateImmediate", function() { return interpolateImmediate; }), __webpack_require__.d(__webpack_exports__, "interpolateFunction", function() { return interpolateFunction; }), __webpack_require__.d(__webpack_exports__, "interpolateObject", function() { return interpolateObject; }), __webpack_require__.d(__webpack_exports__, "interpolateString", function() { return interpolateString; }), __webpack_require__.d(__webpack_exports__, "victoryInterpolator", function() { return victoryInterpolator; }); var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/orderBy.js"), lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__), d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-interpolate/src/index.js"), isInterpolatable = function(obj) { if (null !== obj) switch(typeof obj){ case "undefined": case "boolean": break; case "number": return !isNaN(obj) && obj !== Number.POSITIVE_INFINITY && obj !== Number.NEGATIVE_INFINITY; case "string": case "function": return !0; case "object": return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(obj); } return !1; }, interpolateImmediate = function(a, b) { var when = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0; return function(t) { return t < when ? a : b; }; }, interpolateFunction = function(a, b) { return function(t) { return t >= 1 ? b : function() { var aval = "function" == typeof a ? a.apply(this, arguments) : a, bval = "function" == typeof b ? b.apply(this, arguments) : b; return Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(aval, bval)(t); }; }; }, interpolateObject = function(a, b) { var k, x, y, keyData = function(val) { return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(val, "key") : val; }, i = {}, c = {}; for(k in (null === a || "object" != typeof a) && (a = {}), (null === b || "object" != typeof b) && (b = {}), b)k in a ? i[k] = (x = keyData(a[k])) !== (y = keyData(b[k])) && isInterpolatable(x) && isInterpolatable(y) ? "function" == typeof x || "function" == typeof y ? interpolateFunction(x, y) : "object" == typeof x && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(x) || "object" == typeof y && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(y) ? interpolateObject(x, y) : Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(x, y) : interpolateImmediate(x, y) : c[k] = b[k]; return function(t) { for(k in i)c[k] = i[k](t); return c; }; }, interpolateString = function(a, b) { var format = function(val) { return "string" == typeof val ? val.replace(/,/g, "") : val; }; return Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(format(a), format(b)); }, victoryInterpolator = function(a, b) { return a !== b && isInterpolatable(a) && isInterpolatable(b) ? "function" == typeof a || "function" == typeof b ? interpolateFunction(a, b) : lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(b) ? interpolateObject(a, b) : "string" == typeof a || "string" == typeof b ? interpolateString(a, b) : Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(a, b) : interpolateImmediate(a, b); }; }, "../../victory-core/es/victory-animation/victory-animation.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryAnimation; }); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__), d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/d3-ease/src/index.js"), _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-animation/util.js"), _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/timer-context.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_5__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var VictoryAnimation = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryAnimation(props, context) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryAnimation), (_this = (call = (VictoryAnimation.__proto__ || Object.getPrototypeOf(VictoryAnimation)).call(this, props, context)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this)).state = { data: Array.isArray(_this.props.data) ? _this.props.data[0] : _this.props.data, animationInfo: { progress: 0, animating: !1 } }, _this.interpolator = null, _this.queue = Array.isArray(_this.props.data) ? _this.props.data.slice(1) : [], _this.ease = d3_ease__WEBPACK_IMPORTED_MODULE_2__[_this.toNewName(_this.props.easing)], _this.functionToBeRunEachFrame = _this.functionToBeRunEachFrame.bind(_assertThisInitialized(_this)), _this.timer = _this.context.animationTimer, _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryAnimation, _React$Component), protoProps = [ { key: "componentDidMount", value: function() { this.queue.length && this.traverseQueue(); } }, { key: "componentDidUpdate", value: function(prevProps) { var _queue, arr; !react_fast_compare__WEBPACK_IMPORTED_MODULE_5___default()(this.props, prevProps) && (this.interpolator && this.state.animationInfo && this.state.animationInfo.progress < 1 ? this.setState({ data: this.interpolator(1), animationInfo: { progress: 1, animating: !1, terminating: !0 } }) : ((this.timer.unsubscribe(this.loopID), Array.isArray(this.props.data)) ? (_queue = this.queue).push.apply(_queue, function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr = this.props.data) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()) : (this.queue.length = 0, this.queue.push(this.props.data)), this.traverseQueue())); } }, { key: "componentWillUnmount", value: function() { this.loopID ? this.timer.unsubscribe(this.loopID) : this.timer.stop(); } }, { key: "toNewName", value: function(ease) { var s; return "ease".concat(ease && ease[0].toUpperCase() + ease.slice(1)); } }, { key: "traverseQueue", value: function() { var _this2 = this; if (this.queue.length) { var data = this.queue[0]; this.interpolator = Object(_util__WEBPACK_IMPORTED_MODULE_3__.victoryInterpolator)(this.state.data, data), this.props.delay ? setTimeout(function() { _this2.loopID = _this2.timer.subscribe(_this2.functionToBeRunEachFrame, _this2.props.duration); }, this.props.delay) : this.loopID = this.timer.subscribe(this.functionToBeRunEachFrame, this.props.duration); } else this.props.onEnd && this.props.onEnd(); } }, { key: "functionToBeRunEachFrame", value: function(elapsed, duration) { var step = (duration = void 0 !== duration ? duration : this.props.duration) ? elapsed / duration : 1; if (step >= 1) { this.setState({ data: this.interpolator(1), animationInfo: { progress: 1, animating: !1, terminating: !0 } }), this.loopID && this.timer.unsubscribe(this.loopID), this.queue.shift(), this.traverseQueue(); return; } this.setState({ data: this.interpolator(this.ease(step)), animationInfo: { progress: step, animating: step < 1 } }); } }, { key: "render", value: function() { return this.props.children(this.state.data, this.state.animationInfo); } } ], _defineProperties(VictoryAnimation.prototype, protoProps), staticProps && _defineProperties(VictoryAnimation, staticProps), VictoryAnimation; }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); Object.defineProperty(VictoryAnimation, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryAnimation" }), Object.defineProperty(VictoryAnimation, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]), delay: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, duration: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, easing: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "back", "backIn", "backOut", "backInOut", "bounce", "bounceIn", "bounceOut", "bounceInOut", "circle", "circleIn", "circleOut", "circleInOut", "linear", "linearIn", "linearOut", "linearInOut", "cubic", "cubicIn", "cubicOut", "cubicInOut", "elastic", "elasticIn", "elasticOut", "elasticInOut", "exp", "expIn", "expOut", "expInOut", "poly", "polyIn", "polyOut", "polyInOut", "quad", "quadIn", "quadOut", "quadInOut", "sin", "sinIn", "sinOut", "sinInOut" ]), onEnd: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func } }), Object.defineProperty(VictoryAnimation, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { data: {}, delay: 0, duration: 1000, easing: "quadInOut" } }), Object.defineProperty(VictoryAnimation, "contextType", { configurable: !0, enumerable: !0, writable: !0, value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__.default }); }, "../../victory-core/es/victory-clip-container/victory-clip-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryClipContainer; }); var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/uniqueId.js"), lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__), lodash_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isObject.js"), lodash_isObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), lodash_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/victory-util/prop-types.js"), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/victory-primitives/clip-path.js"), _victory_primitives_circle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/victory-primitives/circle.js"), _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-primitives/rect.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var VictoryClipContainer = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryClipContainer(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryClipContainer), (_this = (call = (VictoryClipContainer.__proto__ || Object.getPrototypeOf(VictoryClipContainer)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this)).clipId = lodash_isObject__WEBPACK_IMPORTED_MODULE_1___default()(props) && void 0 !== props.clipId ? props.clipId : lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()("victory-clip-"), _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryClipContainer, _React$Component), protoProps = [ { key: "calculateAttributes", value: function(props) { var polar = props.polar, origin = props.origin, _props$clipWidth = props.clipWidth, _props$clipHeight = props.clipHeight, _props$translateX = props.translateX, _props$translateY = props.translateY, clipPadding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.default.getPadding({ padding: props.clipPadding }), radius = props.radius || _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.default.getRadius(props); return { x: (polar ? origin.x : void 0 === _props$translateX ? 0 : _props$translateX) - clipPadding.left, y: (polar ? origin.y : void 0 === _props$translateY ? 0 : _props$translateY) - clipPadding.top, width: Math.max((polar ? radius : void 0 === _props$clipWidth ? 0 : _props$clipWidth) + clipPadding.left + clipPadding.right, 0), height: Math.max((polar ? radius : void 0 === _props$clipHeight ? 0 : _props$clipHeight) + clipPadding.top + clipPadding.bottom, 0) }; } }, { key: "renderClippedGroup", value: function(props, clipId) { var style = props.style, events = props.events, transform = props.transform, children = props.children, className = props.className, groupComponent = props.groupComponent, tabIndex = props.tabIndex, clipComponent = this.renderClipComponent(props, clipId), groupProps = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ className: className, style: style, transform: transform, key: "clipped-group-".concat(clipId), clipPath: "url(#".concat(clipId, ")") }, events); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(groupComponent, function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, groupProps, { "aria-label": props["aria-label"], tabIndex: tabIndex }), [ clipComponent ].concat(_toConsumableArray(react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(children)))); } }, { key: "renderGroup", value: function(props) { var style = props.style, events = props.events, transform = props.transform, children = props.children, className = props.className, groupComponent = props.groupComponent, tabIndex = props.tabIndex; return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(groupComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ className: className, style: style, transform: transform, "aria-label": props["aria-label"], tabIndex: tabIndex }, events), children); } }, { key: "renderClipComponent", value: function(props, clipId) { var child, polar = props.polar, origin = props.origin, _props$clipWidth2 = props.clipWidth, _props$clipHeight2 = props.clipHeight, _props$translateX2 = props.translateX, _props$translateY2 = props.translateY, circleComponent = props.circleComponent, rectComponent = props.rectComponent, clipPathComponent = props.clipPathComponent, _Helpers$getPadding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.default.getPadding({ padding: props.clipPadding }), top = _Helpers$getPadding.top, bottom = _Helpers$getPadding.bottom, left = _Helpers$getPadding.left, right = _Helpers$getPadding.right; if (polar) { var radius = props.radius || _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.default.getRadius(props), circleProps = { r: Math.max(radius + left + right, radius + top + bottom, 0), cx: origin.x - left, cy: origin.y - top }; child = react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(circleComponent, circleProps); } else child = react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(rectComponent, { x: (void 0 === _props$translateX2 ? 0 : _props$translateX2) - left, y: (void 0 === _props$translateY2 ? 0 : _props$translateY2) - top, width: Math.max((void 0 === _props$clipWidth2 ? 0 : _props$clipWidth2) + left + right, 0), height: Math.max((void 0 === _props$clipHeight2 ? 0 : _props$clipHeight2) + top + bottom, 0) }); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(clipPathComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({ key: "clip-path-".concat(clipId) }, props, { clipId: clipId }), child); } }, { key: "getClipValue", value: function(props, axis) { var clipValues = { x: props.clipWidth, y: props.clipHeight }; if (void 0 !== clipValues[axis]) return clipValues[axis]; var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.default.getRange(props, axis); return range && Math.abs(range[0] - range[1]) || void 0; } }, { key: "getTranslateValue", value: function(props, axis) { var translateValues = { x: props.translateX, y: props.translateY }; if (void 0 !== translateValues[axis]) return translateValues[axis]; var range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__.default.getRange(props, axis); return range ? Math.min.apply(Math, _toConsumableArray(range)) : void 0; } }, { key: "render", value: function() { var clipHeight = this.getClipValue(this.props, "y"), clipWidth = this.getClipValue(this.props, "x"); if (void 0 === clipWidth || void 0 === clipHeight) return this.renderGroup(this.props); var translateX = this.getTranslateValue(this.props, "x"), translateY = this.getTranslateValue(this.props, "y"), clipProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, this.props, { clipHeight: clipHeight, clipWidth: clipWidth, translateX: translateX, translateY: translateY }); return this.renderClippedGroup(clipProps, this.clipId); } } ], _defineProperties(VictoryClipContainer.prototype, protoProps), staticProps && _defineProperties(VictoryClipContainer, staticProps), VictoryClipContainer; }(react__WEBPACK_IMPORTED_MODULE_4___default.a.Component); Object.defineProperty(VictoryClipContainer, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryClipContainer" }), Object.defineProperty(VictoryClipContainer, "role", { configurable: !0, enumerable: !0, writable: !0, value: "container" }), Object.defineProperty(VictoryClipContainer, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { "aria-label": prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string, children: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.node ]), circleComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, className: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string, clipHeight: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_6__.default.nonNegative, clipId: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string ]), clipPadding: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number }), clipPathComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, clipWidth: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_6__.default.nonNegative, events: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.element, origin: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.shape({ x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_6__.default.nonNegative, y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_6__.default.nonNegative }), polar: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool, radius: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_6__.default.nonNegative, style: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object, tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, transform: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.string, translateX: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number, translateY: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.number } }), Object.defineProperty(VictoryClipContainer, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { circleComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_victory_primitives_circle__WEBPACK_IMPORTED_MODULE_9__.default, null), rectComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_10__.default, null), clipPathComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_8__.default, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("g", null) } }); }, "../../victory-core/es/victory-container/victory-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryContainer; }); var lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__), lodash_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isObject.js"), lodash_isObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_1__), lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/uniqueId.js"), lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__), lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__), lodash_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__), react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__), prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/victory-util/prop-types.js"), _victory_portal_portal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/victory-portal/portal.js"), _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/victory-portal/portal-context.js"), _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-util/timer-context.js"), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"); function _extends() { return (_extends = Object.assign || function(target) { for(var i = 1; i < arguments.length; i++){ var source = arguments[i]; for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]); } return target; }).apply(this, arguments); } function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var VictoryContainer = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryContainer(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryContainer), (_this = (call = (VictoryContainer.__proto__ || Object.getPrototypeOf(VictoryContainer)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this)).containerId = lodash_isObject__WEBPACK_IMPORTED_MODULE_1___default()(props) && void 0 !== props.containerId ? props.containerId : lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()("victory-container-"), _this.savePortalRef = function(portal) { return _this.portalRef = portal, portal; }, _this.portalUpdate = function(key, el) { return _this.portalRef.portalUpdate(key, el); }, _this.portalRegister = function() { return _this.portalRef.portalRegister(); }, _this.portalDeregister = function(key) { return _this.portalRef.portalDeregister(key); }, _this.saveContainerRef = props && lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default()(props.containerRef) ? props.containerRef : function(container) { return _this.containerRef = container, container; }, _this.shouldHandleWheel = props && props.events && props.events.onWheel, _this.shouldHandleWheel && (_this.handleWheel = function(e) { return e.preventDefault(); }), _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryContainer, _React$Component), protoProps = [ { key: "componentDidMount", value: function() { this.shouldHandleWheel && this.containerRef && this.containerRef.addEventListener("wheel", this.handleWheel); } }, { key: "componentWillUnmount", value: function() { this.shouldHandleWheel && this.containerRef && this.containerRef.removeEventListener("wheel", this.handleWheel); } }, { key: "getIdForElement", value: function(elementName) { return "".concat(this.containerId, "-").concat(elementName); } }, { key: "getChildren", value: function(props) { return props.children; } }, { key: "getOUIAProps", value: function(props) { var ouiaId = props.ouiaId, ouiaSafe = props.ouiaSafe, ouiaType = props.ouiaType; return _objectSpread({}, ouiaId && { "data-ouia-component-id": ouiaId }, ouiaType && { "data-ouia-component-type": ouiaType }, void 0 !== ouiaSafe && { "data-ouia-safe": ouiaSafe }); } }, { key: "renderContainer", value: function(props, svgProps, style) { var title = props.title, desc = props.desc, portalComponent = props.portalComponent, className = props.className, width = props.width, height = props.height, portalZIndex = props.portalZIndex, responsive = props.responsive, children = this.getChildren(props), dimensions = responsive ? { width: "100%", height: "100%" } : { width: width, height: height }, divStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ pointerEvents: "none", touchAction: "none", position: "relative" }, dimensions), portalDivStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ zIndex: portalZIndex, position: "absolute", top: 0, left: 0 }, dimensions), svgStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ pointerEvents: "all" }, dimensions), portalSvgStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ overflow: "visible" }, dimensions), portalProps = { width: width, height: height, viewBox: svgProps.viewBox, preserveAspectRatio: svgProps.preserveAspectRatio, style: portalSvgStyle }; return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_9__.default.Provider, { value: { portalUpdate: this.portalUpdate, portalRegister: this.portalRegister, portalDeregister: this.portalDeregister } }, react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("div", _extends({ style: lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, style, divStyle), className: className, ref: this.saveContainerRef }, this.getOUIAProps(props)), react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("svg", _extends({}, svgProps, { style: svgStyle }), title ? react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("title", { id: this.getIdForElement("title") }, title) : null, desc ? react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("desc", { id: this.getIdForElement("desc") }, desc) : null, children), react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("div", { style: portalDivStyle }, react__WEBPACK_IMPORTED_MODULE_5___default.a.cloneElement(portalComponent, _objectSpread({}, portalProps, { ref: this.savePortalRef }))))); } }, { key: "render", value: function() { var _props = this.props, width = _props.width, height = _props.height, responsive = _props.responsive, events = _props.events, title = _props.title, desc = _props.desc, tabIndex = _props.tabIndex, preserveAspectRatio = _props.preserveAspectRatio, role = _props.role, style = responsive ? this.props.style : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_11__.default.omit(this.props.style, [ "height", "width" ]), svgProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ width: width, height: height, tabIndex: tabIndex, role: role, "aria-labelledby": [ title && this.getIdForElement("title"), this.props["aria-labelledby"] ].filter(Boolean).join(" ") || void 0, "aria-describedby": [ desc && this.getIdForElement("desc"), this.props["aria-describedby"] ].filter(Boolean).join(" ") || void 0, viewBox: responsive ? "0 0 ".concat(width, " ").concat(height) : void 0, preserveAspectRatio: responsive ? preserveAspectRatio : void 0 }, events); return this.renderContainer(this.props, svgProps, style); } } ], _defineProperties(VictoryContainer.prototype, protoProps), staticProps && _defineProperties(VictoryContainer, staticProps), VictoryContainer; }(react__WEBPACK_IMPORTED_MODULE_5___default.a.Component); Object.defineProperty(VictoryContainer, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryContainer" }), Object.defineProperty(VictoryContainer, "role", { configurable: !0, enumerable: !0, writable: !0, value: "container" }), Object.defineProperty(VictoryContainer, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { "aria-describedby": prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, "aria-labelledby": prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, children: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.node ]), className: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, containerId: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string ]), containerRef: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func, desc: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, events: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative, name: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, origin: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.shape({ x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative, y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative }), ouiaId: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string ]), ouiaSafe: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, ouiaType: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, polar: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, portalComponent: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.element, portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.integer, preserveAspectRatio: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, responsive: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, role: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, style: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, theme: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, title: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative } }), Object.defineProperty(VictoryContainer, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { className: "VictoryContainer", portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_8__.default, null), portalZIndex: 99, responsive: !0, role: "img" } }), Object.defineProperty(VictoryContainer, "contextType", { configurable: !0, enumerable: !0, writable: !0, value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_10__.default }); }, "../../victory-core/es/victory-label/victory-label.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__), _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-portal/victory-portal.js"), _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/victory-primitives/rect.js"), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/victory-util/prop-types.js"), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/victory-util/label-helpers.js"), _victory_util_style__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-util/style.js"), _victory_util_log__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-core/es/victory-util/log.js"), _victory_util_textsize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-core/es/victory-util/textsize.js"), _victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-core/es/victory-primitives/tspan.js"), _victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-core/es/victory-primitives/text.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var defaultStyles = { fill: "#252525", fontSize: 14, fontFamily: "'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif", stroke: "transparent" }, getPosition = function(props, dimension) { return props.datum ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.scalePoint(props, props.datum)[dimension] : 0; }, getFontSize = function(style) { var baseSize = style && style.fontSize; if ("number" == typeof baseSize) return baseSize; if (null == baseSize) ; else if ("string" == typeof baseSize) { var fontSize = +baseSize.replace("px", ""); if (!isNaN(fontSize)) return fontSize; _victory_util_log__WEBPACK_IMPORTED_MODULE_11__.default.warn("fontSize should be expressed as a number of pixels"); } return defaultStyles.fontSize; }, getSingleValue = function(prop) { var index = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; return Array.isArray(prop) ? prop[index] || prop[0] : prop; }, useMultiLineBackgrounds = function(props) { var backgroundStyle = props.backgroundStyle, backgroundPadding = props.backgroundPadding; return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundPadding); }, getStyles = function(style, props) { var getSingleStyle = function(s) { s = s ? lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, s, defaultStyles) : defaultStyles; var baseStyles = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateStyle(s, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, baseStyles, { fontSize: getFontSize(baseStyles) }); }; return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(function(s) { return getSingleStyle(s); }) : getSingleStyle(style); }, getBackgroundStyles = function(style, props) { if (style) return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(function(s) { return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateStyle(s, props); }) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateStyle(style, props); }, getBackgroundPadding = function(props) { if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) return props.backgroundPadding.map(function(backgroundPadding) { var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(backgroundPadding, props); return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.getPadding({ padding: padding }); }); var padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.backgroundPadding, props); return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.getPadding({ padding: padding }); }, getLineHeight = function(props) { var lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.lineHeight, props); return Array.isArray(lineHeight) && lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [ 1 ] : lineHeight; }, getContent = function(text, props) { if (null != text) { if (Array.isArray(text)) return text.map(function(line) { return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(line, props); }); var child = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(text, props); if (null != child) return Array.isArray(child) ? child : "".concat(child).split("\n"); } }, getDy = function(props, verticalAnchor, lineHeight) { var dy = props.dy ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.dy, props) : 0, length = props.inline ? 1 : props.text.length, capHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.capHeight, props), anchor = verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(verticalAnchor, props) : "middle", fontSizes = _toConsumableArray(Array(length).keys()).map(function(i) { return getSingleValue(props.style, i).fontSize; }), lineHeights = _toConsumableArray(Array(length).keys()).map(function(i) { return getSingleValue(lineHeight, i); }); if ("start" === anchor) return dy + (capHeight / 2 + lineHeights[0] / 2) * fontSizes[0]; if (props.inline) return "end" === anchor ? dy + (capHeight / 2 - lineHeights[0] / 2) * fontSizes[0] : dy + capHeight / 2 * fontSizes[0]; if (1 === length) return "end" === anchor ? dy + (capHeight / 2 + (0.5 - length) * lineHeights[0]) * fontSizes[0] : dy + (capHeight / 2 + (0.5 - length / 2) * lineHeights[0]) * fontSizes[0]; var allHeights = _toConsumableArray(Array(length).keys()).reduce(function(memo, i) { return memo + (capHeight / 2 + (0.5 - length) * lineHeights[i]) * fontSizes[i] / length; }, 0); return "end" === anchor ? dy + allHeights : dy + allHeights / 2 + capHeight / 2 * lineHeights[length - 1] * fontSizes[length - 1]; }, getTransform = function(props, x, y) { var polar = props.polar, style = getSingleValue(props.style), defaultAngle = polar ? _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_9__.default.getPolarAngle(props) : 0, baseAngle = void 0 === style.angle ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.angle, props) : style.angle, angle = void 0 === baseAngle ? defaultAngle : baseAngle, transform = props.transform || style.transform, transformPart = transform && _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(transform, props); return transformPart || angle ? _victory_util_style__WEBPACK_IMPORTED_MODULE_10__.default.toTransformString(transformPart, angle && { rotate: [ angle, x, y ] }) : void 0; }, getXCoordinate = function(calculatedProps, labelSizeWidth) { var direction = calculatedProps.direction, textAnchor = calculatedProps.textAnchor, x = calculatedProps.x, dx = calculatedProps.dx; if ("rtl" === direction) return x - labelSizeWidth; switch(textAnchor){ case "middle": return Math.round(x - labelSizeWidth / 2); case "end": return Math.round(x - labelSizeWidth); default: return x + (dx || 0); } }, getYCoordinate = function(calculatedProps, textHeight) { var verticalAnchor = calculatedProps.verticalAnchor, y = calculatedProps.y, _calculatedProps$orig = calculatedProps.originalDy, offset = y + (void 0 === _calculatedProps$orig ? 0 : _calculatedProps$orig); switch(verticalAnchor){ case "start": return Math.floor(offset); case "end": return Math.ceil(offset - textHeight); default: return Math.floor(offset - textHeight / 2); } }, getFullBackground = function(calculatedProps, tspanValues) { var _calculatedProps$dx = calculatedProps.dx, dx = void 0 === _calculatedProps$dx ? 0 : _calculatedProps$dx, transform = calculatedProps.transform, backgroundComponent = calculatedProps.backgroundComponent, backgroundStyle = calculatedProps.backgroundStyle, inline = calculatedProps.inline, backgroundPadding = calculatedProps.backgroundPadding, capHeight = calculatedProps.capHeight, textSizes = tspanValues.map(function(tspan) { return tspan.textSize; }), height = inline ? Math.max.apply(Math, _toConsumableArray(textSizes.map(function(size) { return size.height; }))) : textSizes.reduce(function(memo, size, i) { return memo + size.height * (tspanValues[i].lineHeight - (i ? 0 : capHeight / 2)); }, 0), width = inline ? textSizes.reduce(function(memo, size, index) { return memo + size.width + (index ? dx : 0); }, 0) : Math.max.apply(Math, _toConsumableArray(textSizes.map(function(size) { return size.width; }))), xCoordinate = getXCoordinate(calculatedProps, width), yCoordinate = getYCoordinate(calculatedProps, height), backgroundProps = { key: "background", height: height + backgroundPadding.top + backgroundPadding.bottom, style: backgroundStyle, transform: transform, width: width + backgroundPadding.left + backgroundPadding.right, x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left, y: yCoordinate }; return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps)); }, getInlineXOffset = function(calculatedProps, textElements, index) { var textAnchor = calculatedProps.textAnchor, widths = textElements.map(function(t) { return t.widthWithPadding; }), totalWidth = widths.reduce(function(memo, width) { return memo + width; }, 0); switch(textAnchor){ case "start": return widths.reduce(function(memo, width, i) { return memo = i < index ? memo + width : memo; }, 0); case "end": return widths.reduce(function(memo, width, i) { return memo = i > index ? memo - width : memo; }, 0); default: return widths.reduce(function(memo, width, i) { return memo = i === index ? memo + width / 2 : memo + (i < index ? width : 0); }, -totalWidth / 2); } }, getChildBackgrounds = function(calculatedProps, tspanValues) { var dy = calculatedProps.dy, dx = calculatedProps.dx, transform = calculatedProps.transform, backgroundStyle = calculatedProps.backgroundStyle, backgroundPadding = calculatedProps.backgroundPadding, backgroundComponent = calculatedProps.backgroundComponent, inline = calculatedProps.inline, y = calculatedProps.y, textElements = tspanValues.map(function(current, i) { var previous = getSingleValue(tspanValues, i - 1), labelSize = current.textSize, totalLineHeight = current.fontSize * current.lineHeight, textHeight = Math.ceil(totalLineHeight), padding = getSingleValue(backgroundPadding, i), prevPadding = getSingleValue(backgroundPadding, i - 1), childDy = i && !inline ? previous.fontSize * previous.lineHeight + prevPadding.top + prevPadding.bottom : dy - 0.5 * totalLineHeight - (current.fontSize - current.capHeight); return { textHeight: textHeight, labelSize: labelSize, heightWithPadding: textHeight + padding.top + padding.bottom, widthWithPadding: labelSize.width + padding.left + padding.right + (inline && dx || 0), y: y, fontSize: current.fontSize, dy: childDy }; }); return textElements.map(function(textElement, i) { var xCoordinate = getXCoordinate(calculatedProps, textElement.labelSize.width), yCoordinate = textElements.slice(0, i + 1).reduce(function(prev, curr) { return prev + curr.dy; }, y), padding = getSingleValue(backgroundPadding, i), height = textElement.heightWithPadding, xCoord = inline ? getInlineXOffset(calculatedProps, textElements, i) + xCoordinate - padding.left : xCoordinate, yCoord = inline ? getYCoordinate(calculatedProps, height) - padding.top : yCoordinate, backgroundProps = { key: "tspan-background-".concat(i), height: height, style: getSingleValue(backgroundStyle, i), width: textElement.widthWithPadding, transform: transform, x: xCoord - padding.left, y: yCoord }; return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps)); }); }, calculateSpanDy = function(tspanValues, i, calculatedProps) { var current = getSingleValue(tspanValues, i), previous = getSingleValue(tspanValues, i - 1), previousHeight = previous.fontSize * previous.lineHeight, currentHeight = current.fontSize * current.lineHeight, previousCaps = previous.fontSize - previous.capHeight, currentCaps = current.fontSize - current.capHeight, textHeight = previousHeight - previous.fontSize / 2 + current.fontSize / 2 - previousHeight / 2 + currentHeight / 2 - currentCaps / 2 + previousCaps / 2; return useMultiLineBackgrounds(calculatedProps) ? textHeight + current.backgroundPadding.top + previous.backgroundPadding.bottom : textHeight; }, getTSpanDy = function(tspanValues, calculatedProps, i) { var inline = calculatedProps.inline, current = getSingleValue(tspanValues, i); return i && !inline ? calculateSpanDy(tspanValues, i, calculatedProps) : inline ? 0 === i ? current.backgroundPadding.top : void 0 : current.backgroundPadding.top; }, evaluateProps = function(props) { var text = getContent(props.text, props), style = getStyles(props.style, lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { text: text })), backgroundStyle = getBackgroundStyles(props.backgroundStyle, lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { text: text, style: style })), backgroundPadding = getBackgroundPadding(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { text: text, style: style, backgroundStyle: backgroundStyle })), id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.id, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { backgroundStyle: backgroundStyle, backgroundPadding: backgroundPadding, style: style, text: text, id: id }); }, getCalculatedProps = function(props) { var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.ariaLabel, props), style = getSingleValue(props.style), lineHeight = getLineHeight(props), direction = props.direction ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.direction, props) : "inherit", textAnchor = props.textAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.textAnchor, props) : style.textAnchor || "start", verticalAnchor = props.verticalAnchor ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.verticalAnchor, props) : style.verticalAnchor || "middle", dx = props.dx ? _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(props.dx, props) : 0, dy = getDy(props, verticalAnchor, lineHeight), x = void 0 !== props.x ? props.x : getPosition(props, "x"), y = void 0 !== props.y ? props.y : getPosition(props, "y"), transform = getTransform(props, x, y); return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { ariaLabel: ariaLabel, lineHeight: lineHeight, direction: direction, textAnchor: textAnchor, verticalAnchor: verticalAnchor, dx: dx, dy: dy, originalDy: props.dy, transform: transform, x: x, y: y }); }, renderLabel = function(calculatedProps, tspanValues) { var ariaLabel = calculatedProps.ariaLabel, inline = calculatedProps.inline, className = calculatedProps.className, title = calculatedProps.title, events = calculatedProps.events, direction = calculatedProps.direction, text = calculatedProps.text, textAnchor = calculatedProps.textAnchor, dx = calculatedProps.dx, dy = calculatedProps.dy, transform = calculatedProps.transform, x = calculatedProps.x, y = calculatedProps.y, desc = calculatedProps.desc, id = calculatedProps.id, tabIndex = calculatedProps.tabIndex, tspanComponent = calculatedProps.tspanComponent, textComponent = calculatedProps.textComponent, textProps = function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({ "aria-label": ariaLabel, key: "text" }, events, { direction: direction, dx: dx, x: x, y: y + dy, transform: transform, className: className, title: title, desc: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(desc, calculatedProps), tabIndex: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.evaluateProp(tabIndex, calculatedProps), id: id }), tspans = text.map(function(line, i) { var currentStyle = tspanValues[i].style, tspanProps = { key: "".concat(id, "-key-").concat(i), x: inline ? void 0 : x, dx: inline ? dx + tspanValues[i].backgroundPadding.left : dx, dy: getTSpanDy(tspanValues, calculatedProps, i), textAnchor: currentStyle.textAnchor || textAnchor, style: currentStyle, children: line }; return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(tspanComponent, tspanProps); }); return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(textComponent, textProps, tspans); }, VictoryLabel = function(props) { if (null === (props = evaluateProps(props)).text || void 0 === props.text) return null; var calculatedProps = getCalculatedProps(props), text = calculatedProps.text, style = calculatedProps.style, capHeight = calculatedProps.capHeight, backgroundPadding = calculatedProps.backgroundPadding, lineHeight = calculatedProps.lineHeight, tspanValues = text.map(function(line, i) { var currentStyle = getSingleValue(style, i), capHeightPx = _victory_util_textsize__WEBPACK_IMPORTED_MODULE_12__.default.convertLengthToPixels("".concat(capHeight, "em"), currentStyle.fontSize), currentLineHeight = getSingleValue(lineHeight, i); return { style: currentStyle, fontSize: currentStyle.fontSize || defaultStyles.fontSize, capHeight: capHeightPx, text: line, textSize: _victory_util_textsize__WEBPACK_IMPORTED_MODULE_12__.default.approximateTextSize(line, currentStyle), lineHeight: currentLineHeight, backgroundPadding: getSingleValue(backgroundPadding, i) }; }), label = renderLabel(calculatedProps, tspanValues); if (props.backgroundStyle) { var calculatedProps1, tspanValues1, backgroundElement = useMultiLineBackgrounds(calculatedProps) ? getChildBackgrounds(calculatedProps, tspanValues) : getFullBackground(calculatedProps, tspanValues), backgroundWithLabel = react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(props.groupComponent, {}, [ backgroundElement, label ]); return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_5__.default, null, backgroundWithLabel) : backgroundWithLabel; } return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_5__.default, null, label) : label; }; VictoryLabel.displayName = "VictoryLabel", VictoryLabel.role = "label", VictoryLabel.defaultStyles = defaultStyles, VictoryLabel.propTypes = { active: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, angle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), ariaLabel: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), backgroundComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, backgroundPadding: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array ]), backgroundStyle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array ]), capHeight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, data: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array, datum: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.any, desc: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), direction: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf([ "rtl", "ltr", "inherit" ]), dx: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), dy: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), events: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, id: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), index: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string ]), inline: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf([ "parallel", "perpendicular", "vertical" ]), lineHeight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array ]), origin: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape({ x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative, y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.nonNegative }), polar: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, renderInPortal: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, scale: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.shape({ x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.scale, y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_7__.default.scale }), style: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array ]), tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), text: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.array ]), textAnchor: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf([ "start", "middle", "end", "inherit" ]), prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), textComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, title: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, transform: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), tspanComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, verticalAnchor: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf([ "start", "middle", "end" ]), prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), x: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string ]), y: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string ]) }, VictoryLabel.defaultProps = { backgroundComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_6__.default, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("g", null), direction: "inherit", textComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_14__.default, null), tspanComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_13__.default, null), capHeight: 0.71, lineHeight: 1 }, __webpack_exports__.default = VictoryLabel; }, "../../victory-core/es/victory-portal/portal-context.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), PortalContext = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__).a.createContext({}); PortalContext.displayName = "PortalContext", __webpack_exports__.default = PortalContext; }, "../../victory-core/es/victory-portal/portal.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return Portal; }); var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/prop-types.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var Portal = function(_React$Component) { var Constructor, protoProps, staticProps; function Portal(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, Portal), (_this = (call = (Portal.__proto__ || Object.getPrototypeOf(Portal)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this)).map = {}, _this.index = 1, _this.portalUpdate = _this.portalUpdate.bind(_assertThisInitialized(_this)), _this.portalRegister = _this.portalRegister.bind(_assertThisInitialized(_this)), _this.portalDeregister = _this.portalDeregister.bind(_assertThisInitialized(_this)), _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(Portal, _React$Component), _defineProperties(Portal.prototype, [ { key: "portalRegister", value: function() { return ++this.index; } }, { key: "portalUpdate", value: function(key, element) { this.map[key] = element, this.forceUpdate(); } }, { key: "portalDeregister", value: function(key) { delete this.map[key], this.forceUpdate(); } }, { key: "getChildren", value: function() { var _this2 = this; return lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(this.map).map(function(key) { var el = _this2.map[key]; return el ? react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(el, { key: key }) : el; }); } }, { key: "render", value: function() { return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("svg", this.props, this.getChildren()); } } ]), staticProps && _defineProperties(Portal, staticProps), Portal; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(Portal, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "Portal" }), Object.defineProperty(Portal, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.default.nonNegative, style: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, viewBox: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.default.nonNegative } }); }, "../../victory-core/es/victory-portal/victory-portal.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryPortal; }); var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/log.js"), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-portal/portal-context.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var VictoryPortal = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryPortal() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryPortal), call = (VictoryPortal.__proto__ || Object.getPrototypeOf(VictoryPortal)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryPortal, _React$Component), _defineProperties(VictoryPortal.prototype, [ { key: "componentDidMount", value: function() { this.checkedContext || ("function" != typeof this.context.portalUpdate && (_victory_util_log__WEBPACK_IMPORTED_MODULE_3__.default.warn("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"), this.renderInPlace = !0), this.checkedContext = !0), this.forceUpdate(); } }, { key: "componentDidUpdate", value: function() { this.renderInPlace || (this.portalKey = this.portalKey || this.context.portalRegister(), this.context.portalUpdate(this.portalKey, this.element)); } }, { key: "componentWillUnmount", value: function() { this.context && this.context.portalDeregister && this.context.portalDeregister(this.portalKey); } }, { key: "renderPortal", value: function(child) { return this.renderInPlace ? child : (this.element = child, null); } }, { key: "render", value: function() { var children = Array.isArray(this.props.children) ? this.props.children[0] : this.props.children, groupComponent = this.props.groupComponent, childProps = children && children.props || {}, standardProps = childProps.groupComponent ? { groupComponent: groupComponent, standalone: !1 } : {}, newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.default.omit(this.props, [ "children", "groupComponent" ])), child = children && react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(children, newProps); return this.renderPortal(child); } } ]), staticProps && _defineProperties(VictoryPortal, staticProps), VictoryPortal; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(VictoryPortal, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryPortal" }), Object.defineProperty(VictoryPortal, "role", { configurable: !0, enumerable: !0, writable: !0, value: "portal" }), Object.defineProperty(VictoryPortal, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element } }), Object.defineProperty(VictoryPortal, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null) } }), Object.defineProperty(VictoryPortal, "contextType", { configurable: !0, enumerable: !0, writable: !0, value: _portal_context__WEBPACK_IMPORTED_MODULE_5__.default }); }, "../../victory-core/es/victory-primitives/arc.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"), _path__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-primitives/path.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getArcPath = function(props) { var cx = props.cx, cy = props.cy, r = props.r, startAngle = props.startAngle, endAngle = props.endAngle, closedPath = props.closedPath, halfAngle = Math.abs(endAngle - startAngle) / 2 + startAngle, x1 = cx + r * Math.cos(_victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.degreesToRadians(startAngle)), y1 = cy - r * Math.sin(_victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.degreesToRadians(startAngle)), x2 = cx + r * Math.cos(_victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.degreesToRadians(halfAngle)), y2 = cy - r * Math.sin(_victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.degreesToRadians(halfAngle)), x3 = cx + r * Math.cos(_victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.degreesToRadians(endAngle)), y3 = cy - r * Math.sin(_victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.degreesToRadians(endAngle)), arcStart = closedPath ? " M ".concat(cx, ", ").concat(cy, " L ").concat(x1, ", ").concat(y1) : "M ".concat(x1, ", ").concat(y1), arc1 = "A ".concat(r, ", ").concat(r, ", 0, ").concat(halfAngle - startAngle <= 180 ? 0 : 1, ", 0, ").concat(x2, ", ").concat(y2), arc2 = "A ".concat(r, ", ").concat(r, ", 0, ").concat(endAngle - halfAngle <= 180 ? 0 : 1, ", 0, ").concat(x3, ", ").concat(y3); return "".concat(arcStart, " ").concat(arc1, " ").concat(arc2, " ").concat(closedPath ? "Z" : ""); }, evaluateProps = function(props) { var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.ariaLabel, props), desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.desc, props), id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.id, props), style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ stroke: "black", fill: "none" }, props.style), props), tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, desc: desc, id: id, style: style, tabIndex: tabIndex }); }, Arc = function(props) { return props = evaluateProps(props), react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.pathComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, d: getArcPath(props), style: props.style, desc: props.desc, tabIndex: props.tabIndex, className: props.className, role: props.role, shapeRendering: props.shapeRendering, transform: props.transform, clipPath: props.clipPath })); }; Arc.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__.default.primitiveProps, { closedPath: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, cx: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, cy: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, datum: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.any, endAngle: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, r: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, startAngle: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), Arc.defaultProps = { pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_path__WEBPACK_IMPORTED_MODULE_5__.default, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Arc; }, "../../victory-core/es/victory-primitives/background.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"), _rect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-primitives/rect.js"), _circle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/victory-primitives/circle.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var evaluateProps = function(props) { var id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.id, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { id: id }); }, Background = function(props) { return (props = evaluateProps(props)).polar ? react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.circleComponent, _objectSpread({}, props.events, { style: props.style, role: props.role, shapeRendering: props.shapeRendering, cx: props.x, cy: props.y, r: props.height, className: props.className })) : react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.rectComponent, _objectSpread({}, props.events, { style: props.style, role: props.role, shapeRendering: props.shapeRendering, x: props.x, y: props.y, rx: props.rx, ry: props.ry, width: props.width, height: props.height, className: props.className })); }; Background.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__.default.primitiveProps, { circleComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, rectComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, rx: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, ry: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), Background.defaultProps = { circleComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_circle__WEBPACK_IMPORTED_MODULE_6__.default, null), rectComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_rect__WEBPACK_IMPORTED_MODULE_5__.default, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Background; }, "../../victory-core/es/victory-primitives/border.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"), _rect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-primitives/rect.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var evaluateProps = function(props) { var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.ariaLabel, props), desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.desc, props), id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.id, props), style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ fill: "none" }, props.style), props), tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, desc: desc, id: id, style: style, tabIndex: tabIndex }); }, Border = function(props) { return props = evaluateProps(props), react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.rectComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, style: props.style, desc: props.desc, tabIndex: props.tabIndex, transform: props.transform, className: props.className, role: props.role, shapeRendering: props.shapeRendering, x: props.x, y: props.y, width: props.width, height: props.height, clipPath: props.clipPath })); }; Border.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__.default.primitiveProps, { height: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, rectComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, width: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), Border.defaultProps = { rectComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_rect__WEBPACK_IMPORTED_MODULE_5__.default, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Border; }, "../../victory-core/es/victory-primitives/circle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); function _extends() { return (_extends = Object.assign || function(target) { for(var i = 1; i < arguments.length; i++){ var source = arguments[i]; for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]); } return target; }).apply(this, arguments); } var Circle = function(props) { var desc = props.desc, rest = function(source, excluded) { if (null == source) return {}; var key, i, target = {}, sourceKeys = Object.keys(source); for(i = 0; i < sourceKeys.length; i++)excluded.indexOf(key = sourceKeys[i]) >= 0 || (target[key] = source[key]); if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for(i = 0; i < sourceSymbolKeys.length; i++)!(excluded.indexOf(key = sourceSymbolKeys[i]) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]); } return target; }(props, [ "desc" ]); return desc ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("circle", _extends({ vectorEffect: "non-scaling-stroke" }, rest), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("desc", null, desc)) : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("circle", _extends({ vectorEffect: "non-scaling-stroke" }, rest)); }; __webpack_exports__.default = Circle; }, "../../victory-core/es/victory-primitives/clip-path.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__), ClipPath = function(props) { return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("defs", null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("clipPath", { id: props.clipId }, props.children)); }; ClipPath.propTypes = { children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node ]), clipId: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]) }, __webpack_exports__.default = ClipPath; }, "../../victory-core/es/victory-primitives/line-segment.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"), _line__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-primitives/line.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var evaluateProps = function(props) { var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.ariaLabel, props), desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.desc, props), id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.id, props), style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ stroke: "black" }, props.style), props), tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, desc: desc, id: id, style: style, tabIndex: tabIndex }); }, LineSegment = function(props) { return props = evaluateProps(props), react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.lineComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, style: props.style, desc: props.desc, tabIndex: props.tabIndex, className: props.className, role: props.role, shapeRendering: props.shapeRendering, x1: props.x1, x2: props.x2, y1: props.y1, y2: props.y2, transform: props.transform, clipPath: props.clipPath })); }; LineSegment.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__.default.primitiveProps, { datum: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.any, lineComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, x1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, x2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), LineSegment.defaultProps = { lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_line__WEBPACK_IMPORTED_MODULE_5__.default, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = LineSegment; }, "../../victory-core/es/victory-primitives/line.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); function _extends() { return (_extends = Object.assign || function(target) { for(var i = 1; i < arguments.length; i++){ var source = arguments[i]; for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]); } return target; }).apply(this, arguments); } var Line = function(props) { var desc = props.desc, rest = function(source, excluded) { if (null == source) return {}; var key, i, target = {}, sourceKeys = Object.keys(source); for(i = 0; i < sourceKeys.length; i++)excluded.indexOf(key = sourceKeys[i]) >= 0 || (target[key] = source[key]); if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for(i = 0; i < sourceSymbolKeys.length; i++)!(excluded.indexOf(key = sourceSymbolKeys[i]) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]); } return target; }(props, [ "desc" ]); return desc ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("line", _extends({ vectorEffect: "non-scaling-stroke" }, rest), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("desc", null, desc)) : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("line", _extends({ vectorEffect: "non-scaling-stroke" }, rest)); }; __webpack_exports__.default = Line; }, "../../victory-core/es/victory-primitives/path-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_range__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/range.js"), lodash_range__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_range__WEBPACK_IMPORTED_MODULE_0__); __webpack_exports__.default = { circle: function(x, y, size) { return "M ".concat(x, ", ").concat(y, "\n m ").concat(-size, ", 0\n a ").concat(size, ", ").concat(size, " 0 1,0 ").concat(2 * size, ",0\n a ").concat(size, ", ").concat(size, " 0 1,0 ").concat(-(2 * size), ",0"); }, square: function(x, y, size) { var baseSize = 0.87 * size, x0 = x - baseSize, distance = x + baseSize - x0; return "M ".concat(x0, ", ").concat(y + baseSize, "\n h").concat(distance, "\n v-").concat(distance, "\n h-").concat(distance, "\n z"); }, diamond: function(x, y, size) { var baseSize = 0.87 * size, length = Math.sqrt(2 * (baseSize * baseSize)); return "M ".concat(x, ", ").concat(y + length, "\n l ").concat(length, ", -").concat(length, "\n l -").concat(length, ", -").concat(length, "\n l -").concat(length, ", ").concat(length, "\n l ").concat(length, ", ").concat(length, "\n z"); }, triangleDown: function(x, y, size) { var y0 = y - size; return "M ".concat(x - size, ", ").concat(y0, "\n L ").concat(x + size, ", ").concat(y0, "\n L ").concat(x, ", ").concat(y + size / 2 * Math.sqrt(3), "\n z"); }, triangleUp: function(x, y, size) { var y1 = y + size; return "M ".concat(x - size, ", ").concat(y1, "\n L ").concat(x + size, ", ").concat(y1, "\n L ").concat(x, ", ").concat(y - size / 2 * Math.sqrt(3), "\n z"); }, plus: function(x, y, size) { var baseSize = 1.1 * size, distance = baseSize / 1.5; return "\n M ".concat(x - distance / 2, ", ").concat(y + baseSize, "\n v-").concat(distance, "\n h-").concat(distance, "\n v-").concat(distance, "\n h").concat(distance, "\n v-").concat(distance, "\n h").concat(distance, "\n v").concat(distance, "\n h").concat(distance, "\n v").concat(distance, "\n h-").concat(distance, "\n v").concat(distance, "\n z"); }, cross: function(x, y, size) { var baseSize = 0.8 * size, distance = baseSize / 1.5; return "\n M ".concat(x - distance / 2, ", ").concat(y + baseSize + distance, "\n v-").concat(2 * distance, "\n h-").concat(distance, "\n v-").concat(distance, "\n h").concat(distance, "\n v-").concat(distance, "\n h").concat(distance, "\n v").concat(distance, "\n h").concat(distance, "\n v").concat(distance, "\n h-").concat(distance, "\n v").concat(2 * distance, "\n z"); }, minus: function(x, y, size) { var baseSize = 1.1 * size, lineHeight = baseSize - 0.3 * baseSize, x0 = x - baseSize, distance = x + baseSize - x0; return "M ".concat(x0, ", ").concat(y + lineHeight / 2, "\n h").concat(distance, "\n v-").concat(lineHeight, "\n h-").concat(distance, "\n z"); }, star: function(x, y, size) { var baseSize = 1.35 * size, angle = Math.PI / 5, starCoords = lodash_range__WEBPACK_IMPORTED_MODULE_0___default()(10).map(function(index) { var length = index % 2 == 0 ? baseSize : baseSize / 2; return "".concat(length * Math.sin(angle * (index + 1)) + x, ",\n ").concat(length * Math.cos(angle * (index + 1)) + y); }); return "M ".concat(starCoords.join("L"), " z"); } }; }, "../../victory-core/es/victory-primitives/path.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), Path = function(props) { var desc = props.desc, rest = function(source, excluded) { if (null == source) return {}; var key, i, target = {}, sourceKeys = Object.keys(source); for(i = 0; i < sourceKeys.length; i++)excluded.indexOf(key = sourceKeys[i]) >= 0 || (target[key] = source[key]); if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for(i = 0; i < sourceSymbolKeys.length; i++)!(excluded.indexOf(key = sourceSymbolKeys[i]) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]); } return target; }(props, [ "desc" ]); return desc ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", rest, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("desc", null, desc)) : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", rest); }; __webpack_exports__.default = Path; }, "../../victory-core/es/victory-primitives/point.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _path_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-primitives/path-helpers.js"), _victory_util_common_props__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"), _path__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/victory-primitives/path.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getPath = function(props) { var x = props.x, y = props.y, size = props.size, symbol = props.symbol; if (props.getPath) return props.getPath(x, y, size); var pathFunctions = { circle: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.circle, square: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.square, diamond: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.diamond, triangleDown: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.triangleDown, triangleUp: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.triangleUp, plus: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.plus, minus: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.minus, star: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.star, cross: _path_helpers__WEBPACK_IMPORTED_MODULE_4__.default.cross }; return ("function" == typeof pathFunctions[symbol] ? pathFunctions[symbol] : pathFunctions.circle)(x, y, size); }, evaluateProps = function(props) { var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.ariaLabel, props), desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.desc, props), id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.id, props), size = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.size, props), style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateStyle(props.style, props), symbol = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.symbol, props), tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, desc: desc, id: id, size: size, style: style, symbol: symbol, tabIndex: tabIndex }); }, Point = function(props) { return props = evaluateProps(props), react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.pathComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, d: getPath(props), style: props.style, desc: props.desc, tabIndex: props.tabIndex, role: props.role, shapeRendering: props.shapeRendering, className: props.className, transform: props.transform, clipPath: props.clipPath })); }; Point.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_5__.default.primitiveProps, { datum: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, getPath: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, size: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func ]), symbol: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp" ]), prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func ]), x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), Point.defaultProps = { pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_path__WEBPACK_IMPORTED_MODULE_6__.default, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Point; }, "../../victory-core/es/victory-primitives/rect.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); function _extends() { return (_extends = Object.assign || function(target) { for(var i = 1; i < arguments.length; i++){ var source = arguments[i]; for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]); } return target; }).apply(this, arguments); } var Rect = function(props) { var desc = props.desc, rest = function(source, excluded) { if (null == source) return {}; var key, i, target = {}, sourceKeys = Object.keys(source); for(i = 0; i < sourceKeys.length; i++)excluded.indexOf(key = sourceKeys[i]) >= 0 || (target[key] = source[key]); if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for(i = 0; i < sourceSymbolKeys.length; i++)!(excluded.indexOf(key = sourceSymbolKeys[i]) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]); } return target; }(props, [ "desc" ]); return desc ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("rect", _extends({ vectorEffect: "non-scaling-stroke" }, rest), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("desc", null, desc)) : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("rect", _extends({ vectorEffect: "non-scaling-stroke" }, rest)); }; __webpack_exports__.default = Rect; }, "../../victory-core/es/victory-primitives/text.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__), Text = function(props) { var children = props.children, title = props.title, desc = props.desc, rest = function(source, excluded) { if (null == source) return {}; var key, i, target = {}, sourceKeys = Object.keys(source); for(i = 0; i < sourceKeys.length; i++)excluded.indexOf(key = sourceKeys[i]) >= 0 || (target[key] = source[key]); if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for(i = 0; i < sourceSymbolKeys.length; i++)!(excluded.indexOf(key = sourceSymbolKeys[i]) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]); } return target; }(props, [ "children", "title", "desc" ]); return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("text", rest, title && react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("title", null, title), desc && react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("desc", null, desc), children); }; Text.propTypes = { children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node, desc: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string }, __webpack_exports__.default = Text; }, "../../victory-core/es/victory-primitives/tspan.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), TSpan = function(props) { return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("tspan", props); }; __webpack_exports__.default = TSpan; }, "../../victory-core/es/victory-primitives/whisker.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/common-props.js"), _line__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/victory-primitives/line.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var evaluateProps = function(props) { var ariaLabel = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.ariaLabel, props), desc = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.desc, props), id = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.id, props), style = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateStyle(props.style, props), tabIndex = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.default.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, desc: desc, id: id, style: style, tabIndex: tabIndex }); }, Whisker = function(props) { var _props = props = evaluateProps(props), ariaLabel = _props.ariaLabel, groupComponent = _props.groupComponent, lineComponent = _props.lineComponent, events = _props.events, className = _props.className, majorWhisker = _props.majorWhisker, minorWhisker = _props.minorWhisker, transform = _props.transform, clipPath = _props.clipPath, role = _props.role, shapeRendering = _props.shapeRendering, style = _props.style, baseProps = _objectSpread({}, events, { style: style, desc: _props.desc, tabIndex: _props.tabIndex, className: className, transform: transform, clipPath: clipPath, role: role, shapeRendering: shapeRendering }); return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(groupComponent, {}, [ react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(lineComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ key: "major-whisker", "aria-label": ariaLabel }, baseProps, majorWhisker)), react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(lineComponent, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ key: "minor-whisker", "aria-label": ariaLabel }, baseProps, minorWhisker)) ]); }; Whisker.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTED_MODULE_4__.default.primitiveProps, { groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, lineComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, majorWhisker: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, x2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), minorWhisker: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, x2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y1: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y2: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }) }), Whisker.defaultProps = { groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null), lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_line__WEBPACK_IMPORTED_MODULE_5__.default, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Whisker; }, "../../victory-core/es/victory-theme/grayscale.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), colors = [ "#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0f0f0" ], charcoal = "#252525", grey = "#969696", baseProps = { width: 450, height: 300, padding: 50, colorScale: colors }, baseLabelStyles = { fontFamily: "'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif", fontSize: 14, letterSpacing: "normal", padding: 10, fill: charcoal, stroke: "transparent" }, centeredLabelStyles = lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ textAnchor: "middle" }, baseLabelStyles); __webpack_exports__.default = { area: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: charcoal }, labels: baseLabelStyles } }, baseProps), axis: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { axis: { fill: "transparent", stroke: charcoal, strokeWidth: 1, strokeLinecap: "round", strokeLinejoin: "round" }, axisLabel: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, centeredLabelStyles, { padding: 25 }), grid: { fill: "none", stroke: "none", pointerEvents: "painted" }, ticks: { fill: "transparent", size: 1, stroke: "transparent" }, tickLabels: baseLabelStyles } }, baseProps), bar: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: charcoal, padding: 8, strokeWidth: 0 }, labels: baseLabelStyles } }, baseProps), boxplot: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { max: { padding: 8, stroke: charcoal, strokeWidth: 1 }, maxLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), median: { padding: 8, stroke: charcoal, strokeWidth: 1 }, medianLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), min: { padding: 8, stroke: charcoal, strokeWidth: 1 }, minLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), q1: { padding: 8, fill: grey }, q1Labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), q3: { padding: 8, fill: grey }, q3Labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }) }, boxWidth: 20 }, baseProps), candlestick: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { stroke: charcoal, strokeWidth: 1 }, labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 5 }) }, candleColors: { positive: "#ffffff", negative: charcoal } }, baseProps), chart: baseProps, errorbar: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ borderWidth: 8, style: { data: { fill: "transparent", stroke: charcoal, strokeWidth: 2 }, labels: baseLabelStyles } }, baseProps), group: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ colorScale: colors }, baseProps), histogram: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: grey, stroke: charcoal, strokeWidth: 2 }, labels: baseLabelStyles } }, baseProps), legend: { colorScale: colors, gutter: 10, orientation: "vertical", titleOrientation: "top", style: { data: { type: "circle" }, labels: baseLabelStyles, title: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 5 }) } }, line: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: "transparent", stroke: charcoal, strokeWidth: 2 }, labels: baseLabelStyles } }, baseProps), pie: { style: { data: { padding: 10, stroke: "transparent", strokeWidth: 1 }, labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 20 }) }, colorScale: colors, width: 400, height: 400, padding: 50 }, scatter: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: charcoal, stroke: "transparent", strokeWidth: 0 }, labels: baseLabelStyles } }, baseProps), stack: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ colorScale: colors }, baseProps), tooltip: { style: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 0, pointerEvents: "none" }), flyoutStyle: { stroke: charcoal, strokeWidth: 1, fill: "#f0f0f0", pointerEvents: "none" }, flyoutPadding: 5, cornerRadius: 5, pointerLength: 10 }, voronoi: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: "transparent", stroke: "transparent", strokeWidth: 0 }, labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 5, pointerEvents: "none" }), flyout: { stroke: charcoal, strokeWidth: 1, fill: "#f0f0f0", pointerEvents: "none" } } }, baseProps) }; }, "../../victory-core/es/victory-theme/material.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), colors = [ "#F4511E", "#FFF59D", "#DCE775", "#8BC34A", "#00796B", "#006064" ], blueGrey50 = "#ECEFF1", blueGrey300 = "#90A4AE", blueGrey700 = "#455A64", grey900 = "#212121", baseProps = { width: 350, height: 350, padding: 50 }, baseLabelStyles = { fontFamily: "'Helvetica Neue', 'Helvetica', sans-serif", fontSize: 12, letterSpacing: "normal", padding: 8, fill: blueGrey700, stroke: "transparent", strokeWidth: 0 }, centeredLabelStyles = lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ textAnchor: "middle" }, baseLabelStyles), strokeLinecap = "round", strokeLinejoin = "round"; __webpack_exports__.default = { area: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: grey900 }, labels: baseLabelStyles } }, baseProps), axis: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { axis: { fill: "transparent", stroke: blueGrey300, strokeWidth: 2, strokeLinecap: strokeLinecap, strokeLinejoin: strokeLinejoin }, axisLabel: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, centeredLabelStyles, { padding: 8, stroke: "transparent" }), grid: { fill: "none", stroke: blueGrey50, strokeDasharray: "10, 5", strokeLinecap: strokeLinecap, strokeLinejoin: strokeLinejoin, pointerEvents: "painted" }, ticks: { fill: "transparent", size: 5, stroke: blueGrey300, strokeWidth: 1, strokeLinecap: strokeLinecap, strokeLinejoin: strokeLinejoin }, tickLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { fill: blueGrey700 }) } }, baseProps), polarDependentAxis: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { ticks: { fill: "transparent", size: 1, stroke: "transparent" } } }), bar: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: blueGrey700, padding: 8, strokeWidth: 0 }, labels: baseLabelStyles } }, baseProps), boxplot: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { max: { padding: 8, stroke: blueGrey700, strokeWidth: 1 }, maxLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), median: { padding: 8, stroke: blueGrey700, strokeWidth: 1 }, medianLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), min: { padding: 8, stroke: blueGrey700, strokeWidth: 1 }, minLabels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), q1: { padding: 8, fill: blueGrey700 }, q1Labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }), q3: { padding: 8, fill: blueGrey700 }, q3Labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 3 }) }, boxWidth: 20 }, baseProps), candlestick: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { stroke: blueGrey700 }, labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 5 }) }, candleColors: { positive: "#ffffff", negative: blueGrey700 } }, baseProps), chart: baseProps, errorbar: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ borderWidth: 8, style: { data: { fill: "transparent", opacity: 1, stroke: blueGrey700, strokeWidth: 2 }, labels: baseLabelStyles } }, baseProps), group: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ colorScale: colors }, baseProps), histogram: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: blueGrey700, stroke: grey900, strokeWidth: 2 }, labels: baseLabelStyles } }, baseProps), legend: { colorScale: colors, gutter: 10, orientation: "vertical", titleOrientation: "top", style: { data: { type: "circle" }, labels: baseLabelStyles, title: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 5 }) } }, line: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: "transparent", opacity: 1, stroke: blueGrey700, strokeWidth: 2 }, labels: baseLabelStyles } }, baseProps), pie: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ colorScale: colors, style: { data: { padding: 8, stroke: blueGrey50, strokeWidth: 1 }, labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 20 }) } }, baseProps), scatter: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: blueGrey700, opacity: 1, stroke: "transparent", strokeWidth: 0 }, labels: baseLabelStyles } }, baseProps), stack: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ colorScale: colors }, baseProps), tooltip: { style: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 0, pointerEvents: "none" }), flyoutStyle: { stroke: grey900, strokeWidth: 1, fill: "#f0f0f0", pointerEvents: "none" }, flyoutPadding: 5, cornerRadius: 5, pointerLength: 10 }, voronoi: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ style: { data: { fill: "transparent", stroke: "transparent", strokeWidth: 0 }, labels: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, baseLabelStyles, { padding: 5, pointerEvents: "none" }), flyout: { stroke: grey900, strokeWidth: 1, fill: "#f0f0f0", pointerEvents: "none" } } }, baseProps) }; }, "../../victory-core/es/victory-theme/victory-theme.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-core/es/victory-theme/material.js"), _grayscale__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-core/es/victory-theme/grayscale.js"); __webpack_exports__.default = { material: _material__WEBPACK_IMPORTED_MODULE_0__.default, grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_1__.default }; }, "../../victory-core/es/victory-transition/victory-transition.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryTransition; }); var lodash_isObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isObject.js"), lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_0__), lodash_pick__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/pick.js"), lodash_pick__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_1__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__), lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__), _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/victory-animation/victory-animation.js"), _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"), _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/victory-util/timer-context.js"), _victory_util_transitions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-util/transitions.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_11___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_11__); function _extends() { return (_extends = Object.assign || function(target) { for(var i = 1; i < arguments.length; i++){ var source = arguments[i]; for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]); } return target; }).apply(this, arguments); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var VictoryTransition = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryTransition(props, context) { !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryTransition), (_this = (call = (VictoryTransition.__proto__ || Object.getPrototypeOf(VictoryTransition)).call(this, props, context)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this)).state = { nodesShouldLoad: !1, nodesDoneLoad: !1 }; var self1, call, _this, child = _this.props.children, polar = child.props.polar; return _this.continuous = !polar && child.type && !0 === child.type.continuous, _this.getTransitionState = _this.getTransitionState.bind(_assertThisInitialized(_this)), _this.timer = _this.context.transitionTimer, _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryTransition, _React$Component), protoProps = [ { key: "componentDidMount", value: function() { this.setState({ nodesShouldLoad: !0 }); } }, { key: "shouldComponentUpdate", value: function(nextProps) { var _this2 = this; return react_fast_compare__WEBPACK_IMPORTED_MODULE_11___default()(this.props, nextProps) || (this.timer.bypassAnimation(), this.setState(this.getTransitionState(this.props, nextProps), function() { return _this2.timer.resumeAnimation(); })), !0; } }, { key: "componentWillUnmount", value: function() { this.timer.stop(); } }, { key: "getTransitionState", value: function(props, nextProps) { var animate = props.animate; if (!animate) return {}; if (animate.parentState) return { oldProps: animate.parentState.nodesWillExit ? props : null, nextProps: nextProps }; var oldChildren = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(props.children), nextChildren = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(nextProps.children), _Transitions$getIniti = _victory_util_transitions__WEBPACK_IMPORTED_MODULE_10__.default.getInitialTransitionState(oldChildren, nextChildren), nodesWillExit = _Transitions$getIniti.nodesWillExit, nodesWillEnter = _Transitions$getIniti.nodesWillEnter; return { nodesWillExit: nodesWillExit, nodesWillEnter: nodesWillEnter, childrenTransitions: _Transitions$getIniti.childrenTransitions, nodesShouldEnter: _Transitions$getIniti.nodesShouldEnter, oldProps: nodesWillExit ? props : null, nextProps: nextProps }; } }, { key: "getDomainFromChildren", value: function(props, axis) { var getChildDomains = function(children) { return children.reduce(function(memo, child) { if (child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(child.type.getDomain)) { var childDomain = child.props && child.type.getDomain(child.props, axis); return childDomain ? memo.concat(childDomain) : memo; } return child.props && child.props.children ? memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(child.props.children))) : memo; }, []); }, child = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(props.children)[0], childProps = child.props || {}, domain = Array.isArray(childProps.domain) ? childProps.domain : childProps.domain && childProps.domain[axis]; if (!childProps.children && domain) return domain; var childDomains = getChildDomains([ child ]); return 0 === childDomains.length ? [ 0, 1 ] : [ _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.default.getMinValue(childDomains), _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__.default.getMaxValue(childDomains) ]; } }, { key: "pickProps", value: function() { return this.state && this.state.nodesWillExit && this.state.oldProps || this.props; } }, { key: "pickDomainProps", value: function(props) { var parentState = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(props.animate) && props.animate.parentState; return parentState && parentState.nodesWillExit ? (this.continous || parentState.continuous) && (parentState.nextProps || this.state.nextProps) || props : this.continuous && this.state.nodesWillExit && this.state.nextProps || props; } }, { key: "getClipWidth", value: function(props, child) { var range, clipWidth = this.transitionProps ? this.transitionProps.clipWidth : void 0; return void 0 !== clipWidth ? clipWidth : (range = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_8__.default.getRange(child.props, "x")) ? Math.abs(range[1] - range[0]) : props.width; } }, { key: "render", value: function() { var _this3 = this, props = this.pickProps(), getTransitionProps = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(this.props.animate) && this.props.animate.getTransitions ? this.props.animate.getTransitions : _victory_util_transitions__WEBPACK_IMPORTED_MODULE_10__.default.getTransitionPropsFactory(props, this.state, function(newState) { return _this3.setState(newState); }), child = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(props.children)[0], transitionProps = getTransitionProps(child); this.transitionProps = transitionProps; var domain = { x: this.getDomainFromChildren(this.pickDomainProps(props), "x"), y: this.getDomainFromChildren(props, "y") }, clipWidth = this.getClipWidth(props, child), combinedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({ domain: domain, clipWidth: clipWidth }, transitionProps, child.props), whitelist = (props.animationWhitelist || []).concat([ "clipWidth" ]), propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps; return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_6__.default, _extends({}, combinedProps.animate, { data: propsToAnimate }), function(newProps) { if (child.props.groupComponent) { var groupComponent = _this3.continuous ? react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(child.props.groupComponent, { clipWidth: newProps.clipWidth || 0 }) : child.props.groupComponent; return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({ animate: null, animating: !0, groupComponent: groupComponent }, newProps, combinedProps)); } return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({ animate: null, animating: !0 }, newProps, combinedProps)); }); } } ], _defineProperties(VictoryTransition.prototype, protoProps), staticProps && _defineProperties(VictoryTransition, staticProps), VictoryTransition; }(react__WEBPACK_IMPORTED_MODULE_4___default.a.Component); Object.defineProperty(VictoryTransition, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryTransition" }), Object.defineProperty(VictoryTransition, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { animate: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.object ]), animationWhitelist: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.array, children: prop_types__WEBPACK_IMPORTED_MODULE_5___default.a.node } }), Object.defineProperty(VictoryTransition, "contextType", { configurable: !0, enumerable: !0, writable: !0, value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_9__.default }); }, "../../victory-core/es/victory-util/add-events.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_difference__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/difference.js"), lodash_difference__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_difference__WEBPACK_IMPORTED_MODULE_0__), lodash_isNil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_1__), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__), lodash_without__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/without.js"), lodash_without__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_without__WEBPACK_IMPORTED_MODULE_3__), lodash_pick__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/pick.js"), lodash_pick__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_4__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_5__), lodash_keys__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_6__), lodash_assign__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_7__), lodash_defaults__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_8__), react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_9___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__), _events__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-util/events.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_11___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_11__), _victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-core/es/victory-transition/victory-transition.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var datumHasXandY = function(datum) { return !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._x) && !lodash_isNil__WEBPACK_IMPORTED_MODULE_1___default()(datum._y); }, defaultComponents = [ { name: "parent", index: "parent" }, { name: "data" }, { name: "labels" } ]; __webpack_exports__.default = function(WrappedComponent, options) { return function(_WrappedComponent) { var Constructor, protoProps, staticProps; function addEvents(props) { !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, addEvents), _this = (call = (addEvents.__proto__ || Object.getPrototypeOf(addEvents)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this); var self1, call, _this, getScopedEvents = _events__WEBPACK_IMPORTED_MODULE_10__.default.getScopedEvents.bind(_assertThisInitialized(_this)), boundGetEvents = _events__WEBPACK_IMPORTED_MODULE_10__.default.getEvents.bind(_assertThisInitialized(_this)); _this.state = {}, _this.getEvents = function(p, target, eventKey) { return boundGetEvents(p, target, eventKey, getScopedEvents); }, _this.getEventState = _events__WEBPACK_IMPORTED_MODULE_10__.default.getEventState.bind(_assertThisInitialized(_this)); var calculatedValues = _this.getCalculatedValues(props); return _this.cacheValues(calculatedValues), _this.externalMutations = _this.getExternalMutations(props), _this.calculatedState = _this.getStateChanges(props), _this.globalEvents = {}, _this.prevGlobalEventKeys = [], _this.boundGlobalEvents = {}, _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(addEvents, _WrappedComponent), protoProps = [ { key: "shouldComponentUpdate", value: function(nextProps) { var externalMutations = this.getExternalMutations(nextProps), animating = this.props.animating || this.props.animate, newMutation = !react_fast_compare__WEBPACK_IMPORTED_MODULE_11___default()(externalMutations, this.externalMutations); if (animating || newMutation) return this.cacheValues(this.getCalculatedValues(nextProps)), this.externalMutations = externalMutations, this.applyExternalMutations(nextProps, externalMutations), !0; var calculatedState = this.getStateChanges(nextProps); return !(react_fast_compare__WEBPACK_IMPORTED_MODULE_11___default()(this.calculatedState, calculatedState) && react_fast_compare__WEBPACK_IMPORTED_MODULE_11___default()(this.props, nextProps)) && (this.cacheValues(this.getCalculatedValues(nextProps)), !0); } }, { key: "componentDidMount", value: function() { var _this2 = this, globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(this.globalEvents); globalEventKeys.forEach(function(key) { return _this2.addGlobalListener(key); }), this.prevGlobalEventKeys = globalEventKeys; } }, { key: "componentDidUpdate", value: function(prevProps) { var _this3 = this, calculatedState = this.getStateChanges(prevProps); this.calculatedState = calculatedState; var globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(this.globalEvents); lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(this.prevGlobalEventKeys, globalEventKeys).forEach(function(key) { return _this3.removeGlobalListener(key); }), lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(globalEventKeys, this.prevGlobalEventKeys).forEach(function(key) { return _this3.addGlobalListener(key); }), this.prevGlobalEventKeys = globalEventKeys; } }, { key: "componentWillUnmount", value: function() { var _this4 = this; this.prevGlobalEventKeys.forEach(function(key) { return _this4.removeGlobalListener(key); }); } }, { key: "addGlobalListener", value: function(key) { var _this5 = this, boundListener = function(event) { var listener = _this5.globalEvents[key]; return listener && listener(_events__WEBPACK_IMPORTED_MODULE_10__.default.emulateReactEvent(event)); }; this.boundGlobalEvents[key] = boundListener, window.addEventListener(_events__WEBPACK_IMPORTED_MODULE_10__.default.getGlobalEventNameFromKey(key), boundListener); } }, { key: "removeGlobalListener", value: function(key) { window.removeEventListener(_events__WEBPACK_IMPORTED_MODULE_10__.default.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]); } }, { key: "getStateChanges", value: function(props) { var _this6 = this; if (!this.hasEvents) return {}; var getState = function(key, type) { var result = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _this6.getEventState(key, type), _this6.getSharedEventState(key, type)); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(result) ? void 0 : result; }; return ((options = options || {}).components || defaultComponents).map(function(component) { if (props.standalone || "parent" !== component.name) return void 0 !== component.index ? getState(component.index, component.name) : _this6.dataKeys.map(function(key) { return getState(key, component.name); }).filter(Boolean); }).filter(Boolean); } }, { key: "applyExternalMutations", value: function(props, externalMutations) { if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) { var callbacks = props.externalEventMutations.reduce(function(memo, mutation) { return memo = lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(mutation.callback) ? memo.concat(mutation.callback) : memo; }, []), compiledCallbacks = callbacks.length ? function() { callbacks.forEach(function(c) { return c(); }); } : void 0; this.setState(externalMutations, compiledCallbacks); } } }, { key: "getCalculatedValues", value: function(props) { var sharedEvents = props.sharedEvents, components = WrappedComponent.expectedComponents, componentEvents = _events__WEBPACK_IMPORTED_MODULE_10__.default.getComponentEvents(props, components), getSharedEventState = sharedEvents && lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(sharedEvents.getEventState) ? sharedEvents.getEventState : function() {}, baseProps = this.getBaseProps(props, getSharedEventState), dataKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(baseProps).filter(function(key) { return "parent" !== key; }), hasEvents = props.events || props.sharedEvents || componentEvents; return { componentEvents: componentEvents, getSharedEventState: getSharedEventState, baseProps: baseProps, dataKeys: dataKeys, hasEvents: hasEvents, events: this.getAllEvents(props) }; } }, { key: "getExternalMutations", value: function(props) { var sharedEvents = props.sharedEvents, externalEventMutations = props.externalEventMutations; return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? void 0 : _events__WEBPACK_IMPORTED_MODULE_10__.default.getExternalMutations(externalEventMutations, this.baseProps, this.state); } }, { key: "cacheValues", value: function(obj) { var _this7 = this; lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(obj).forEach(function(key) { _this7[key] = obj[key]; }); } }, { key: "getBaseProps", value: function(props, getSharedEventState) { var sharedParentState = (getSharedEventState = getSharedEventState || this.getSharedEventState)("parent", "parent"), parentState = this.getEventState("parent", "parent"), baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, parentState, sharedParentState), parentPropsList = baseParentProps.parentControlledProps, parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_4___default()(baseParentProps, parentPropsList) : {}, modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, parentProps, props); return lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(WrappedComponent.getBaseProps) ? WrappedComponent.getBaseProps(modifiedProps) : {}; } }, { key: "getAllEvents", value: function(props) { if (Array.isArray(this.componentEvents)) { var _componentEvents; return Array.isArray(props.events) ? (_componentEvents = this.componentEvents).concat.apply(_componentEvents, _toConsumableArray(props.events)) : this.componentEvents; } return props.events; } }, { key: "getComponentProps", value: function(component, type, index) { var name = this.props.name || WrappedComponent.role, key = this.dataKeys && this.dataKeys[index] || index, id = "".concat(name, "-").concat(type, "-").concat(key), baseProps = this.baseProps[key] && this.baseProps[key][type] || this.baseProps[key]; if (baseProps || this.hasEvents) { if (this.hasEvents) { var baseEvents = this.getEvents(this.props, type, key), componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({ index: index, key: id }, this.getEventState(key, type), this.getSharedEventState(key, type), component.props, baseProps, { id: id }), events = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _events__WEBPACK_IMPORTED_MODULE_10__.default.getPartialEvents(baseEvents, key, componentProps), componentProps.events); return lodash_assign__WEBPACK_IMPORTED_MODULE_7___default()({}, componentProps, { events: events }); } return lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({ index: index, key: id }, component.props, baseProps, { id: id }); } } }, { key: "renderContainer", value: function(component, children) { var parentProps = component.type && "container" === component.type.role ? this.getComponentProps(component, "parent", "parent") : {}; return parentProps.events && (this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_10__.default.getGlobalEvents(parentProps.events), parentProps.events = _events__WEBPACK_IMPORTED_MODULE_10__.default.omitGlobalEvents(parentProps.events)), react__WEBPACK_IMPORTED_MODULE_9___default.a.cloneElement(component, parentProps, children); } }, { key: "animateComponent", value: function(props, defaultAnimationWhitelist) { var animationWhitelist = props.animate && props.animate.animationWhitelist ? props.animate.animationWhitelist : defaultAnimationWhitelist; return react__WEBPACK_IMPORTED_MODULE_9___default.a.createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_12__.default, { animate: props.animate, animationWhitelist: animationWhitelist }, react__WEBPACK_IMPORTED_MODULE_9___default.a.createElement(this.constructor, props)); } }, { key: "renderContinuousData", value: function(props) { var _this8 = this, dataComponent = props.dataComponent, labelComponent = props.labelComponent, groupComponent = props.groupComponent, labelComponents = lodash_without__WEBPACK_IMPORTED_MODULE_3___default()(this.dataKeys, "all").reduce(function(memo, key) { var labelProps = _this8.getComponentProps(labelComponent, "labels", key); return labelProps && void 0 !== labelProps.text && null !== labelProps.text && (memo = memo.concat(react__WEBPACK_IMPORTED_MODULE_9___default.a.cloneElement(labelComponent, labelProps))), memo; }, []), dataProps = this.getComponentProps(dataComponent, "data", "all"), children = [ react__WEBPACK_IMPORTED_MODULE_9___default.a.cloneElement(dataComponent, dataProps) ].concat(_toConsumableArray(labelComponents)); return this.renderContainer(groupComponent, children); } }, { key: "renderData", value: function(props) { var _this9 = this, shouldRenderDatum = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : datumHasXandY, dataComponent = props.dataComponent, labelComponent = props.labelComponent, groupComponent = props.groupComponent, dataComponents = this.dataKeys.reduce(function(validDataComponents, _dataKey, index) { var dataProps = _this9.getComponentProps(dataComponent, "data", index); return shouldRenderDatum(dataProps.datum) && validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_9___default.a.cloneElement(dataComponent, dataProps)), validDataComponents; }, []), labelComponents = this.dataKeys.map(function(_dataKey, index) { var labelProps = _this9.getComponentProps(labelComponent, "labels", index); if (void 0 !== labelProps.text && null !== labelProps.text) return react__WEBPACK_IMPORTED_MODULE_9___default.a.cloneElement(labelComponent, labelProps); }).filter(Boolean), children = _toConsumableArray(dataComponents).concat(_toConsumableArray(labelComponents)); return this.renderContainer(groupComponent, children); } } ], _defineProperties(addEvents.prototype, protoProps), staticProps && _defineProperties(addEvents, staticProps), addEvents; }(WrappedComponent); }; }, "../../victory-core/es/victory-util/axis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_without__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/without.js"), lodash_without__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_without__WEBPACK_IMPORTED_MODULE_0__), lodash_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_1__), lodash_values__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/values.js"), lodash_values__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_values__WEBPACK_IMPORTED_MODULE_2__), lodash_orderBy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/orderBy.js"), lodash_orderBy__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_3__), lodash_range__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/range.js"), lodash_range__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_range__WEBPACK_IMPORTED_MODULE_4__), lodash_uniq__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/uniq.js"), lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_5__), lodash_invert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/invert.js"), lodash_invert__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_invert__WEBPACK_IMPORTED_MODULE_6__), lodash_isObject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/isObject.js"), lodash_isObject__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_7__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_8__), lodash_identity__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/lodash/identity.js"), lodash_identity__WEBPACK_IMPORTED_MODULE_9___default = __webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_9__), lodash_defaults__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_10___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_10__), lodash_assign__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_11___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_11__), react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_12___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__), _collection__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"), _domain__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-core/es/victory-util/domain.js"), _helpers__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function getAxis(props) { return props.dependentAxis ? "y" : "x"; } function findAxisComponents(childComponents, predicate) { predicate = predicate || lodash_identity__WEBPACK_IMPORTED_MODULE_9___default.a; var findAxes = function(children) { return children.reduce(function(memo, child) { return child.type && "axis" === child.type.role && predicate(child) ? memo.concat(child) : child.props && child.props.children ? memo.concat(findAxes(react__WEBPACK_IMPORTED_MODULE_12___default.a.Children.toArray(child.props.children))) : memo; }, []); }; return findAxes(childComponents); } function isVertical(props) { return ({ top: !1, bottom: !1, left: !0, right: !0 })[props.orientation || (props.dependentAxis ? "left" : "bottom")]; } function stringTicks(props) { return void 0 !== props.tickValues && _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsStrings(props.tickValues); } function getTickArray(props) { var props1, axis, stringMap, categories, ticksFromCategories, ticksFromStringMap, arr, newTickArray, domain, tickValues = props.tickValues, tickFormat = props.tickFormat, axis1 = getAxis(props), stringMap1 = props.stringMap && props.stringMap[axis1], ticks = tickValues; stringMap1 && (axis = getAxis(props), stringMap = props.stringMap && props.stringMap[axis], ticksFromCategories = (categories = Array.isArray(props.categories) ? props.categories : props.categories && props.categories[axis]) && _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsOnlyStrings(categories) ? categories.map(function(tick) { return stringMap[tick]; }) : void 0, ticksFromStringMap = stringMap && lodash_values__WEBPACK_IMPORTED_MODULE_2___default()(stringMap), ticks = ticksFromCategories && 0 !== ticksFromCategories.length ? ticksFromCategories : ticksFromStringMap), tickValues && _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsStrings(tickValues) && (ticks = stringMap1 ? tickValues.map(function(tick) { return stringMap1[tick]; }) : lodash_range__WEBPACK_IMPORTED_MODULE_4___default()(1, tickValues.length + 1)); var tickArray = ticks ? lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default()(ticks) : function() { if (tickFormat && Array.isArray(tickFormat)) return _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsStrings(tickFormat) ? tickFormat.map(function(t, i) { return i; }) : tickFormat; }(props); return Array.isArray(tickArray) && tickArray.length ? (newTickArray = [], domain = props.domain && props.domain[axis1] || props.domain, tickArray ? (tickArray.forEach(function(t, index) { Array.isArray(domain) ? t >= _collection__WEBPACK_IMPORTED_MODULE_13__.default.getMinValue(domain) && t <= _collection__WEBPACK_IMPORTED_MODULE_13__.default.getMaxValue(domain) && newTickArray.push({ value: t, index: index }) : newTickArray.push({ value: t, index: index }); }), newTickArray) : void 0) : void 0; } function downsampleTicks(ticks, tickCount) { if (!tickCount || !Array.isArray(ticks) || ticks.length <= tickCount) return ticks; var k = Math.floor(ticks.length / tickCount); return ticks.filter(function(d, i) { return i % k == 0; }); } function getDomainFromData(props, axis) { var polar = props.polar, _props$startAngle = props.startAngle, _props$endAngle = props.endAngle, tickArray = getTickArray(props), tickValues = tickArray ? tickArray.map(function(v) { return v.value; }) : void 0; if (Array.isArray(tickValues)) { var minDomain = _domain__WEBPACK_IMPORTED_MODULE_14__.default.getMinFromProps(props, axis), maxDomain = _domain__WEBPACK_IMPORTED_MODULE_14__.default.getMaxFromProps(props, axis), tickStrings = stringTicks(props), ticks = tickValues.map(function(value) { return +value; }), defaultMin = tickStrings ? 1 : _collection__WEBPACK_IMPORTED_MODULE_13__.default.getMinValue(ticks), defaultMax = tickStrings ? tickValues.length : _collection__WEBPACK_IMPORTED_MODULE_13__.default.getMaxValue(ticks), initialDomain = _domain__WEBPACK_IMPORTED_MODULE_14__.default.getDomainFromMinMax(void 0 !== minDomain ? minDomain : defaultMin, void 0 !== maxDomain ? maxDomain : defaultMax), domain = polar && "x" === axis && 360 === Math.abs((void 0 === _props$startAngle ? 0 : _props$startAngle) - (void 0 === _props$endAngle ? 360 : _props$endAngle)) ? _domain__WEBPACK_IMPORTED_MODULE_14__.default.getSymmetricDomain(initialDomain, ticks) : initialDomain; return isVertical(props) && !polar && domain.reverse(), domain; } } __webpack_exports__.default = { getTicks: function(props, scale, filterZero) { var tickCount = props.tickCount, tickArray = getTickArray(props), tickValues = tickArray ? tickArray.map(function(v) { return v.value; }) : void 0; if (tickValues) return downsampleTicks(tickValues, tickCount); if (scale.ticks && lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default()(scale.ticks)) { var scaleTicks = scale.ticks(tickCount || 5), ticks = downsampleTicks(Array.isArray(scaleTicks) && scaleTicks.length ? scaleTicks : scale.domain(), tickCount); if (filterZero) { var filteredTicks = lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()(ticks, 0) ? lodash_without__WEBPACK_IMPORTED_MODULE_0___default()(ticks, 0) : ticks; return filteredTicks.length ? filteredTicks : ticks; } return ticks; } return scale.domain(); }, getTickFormat: function(props, scale) { var tickFormat = props.tickFormat, axis = getAxis(props), stringMap = props.stringMap && props.stringMap[axis]; if (tickFormat) { if (tickFormat && Array.isArray(tickFormat)) { var tickArray = getTickArray(props), tickArrayIndices = tickArray ? tickArray.map(function(v) { return v.index; }) : void 0, filteredTickFormat = tickFormat.filter(function(t, index) { return tickArrayIndices.includes(index); }); return function(x, index) { return filteredTickFormat[index]; }; } if (!(tickFormat && lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default()(tickFormat))) return function(x) { return x; }; var applyStringTicks = function(tick, index, ticks) { var invertedStringMap = lodash_invert__WEBPACK_IMPORTED_MODULE_6___default()(stringMap), stringTickArray = ticks.map(function(t) { return invertedStringMap[t]; }); return props.tickFormat(invertedStringMap[tick], index, stringTickArray); }; return stringMap ? applyStringTicks : tickFormat; } var defaultTickFormat = function(props) { var tickValues = props.tickValues, axis = getAxis(props), stringMap = props.stringMap && props.stringMap[axis], fallbackFormat = tickValues && !_collection__WEBPACK_IMPORTED_MODULE_13__.default.containsDates(tickValues) ? function(x) { return x; } : void 0; if (!stringMap) return stringTicks(props) ? function(x, index) { return tickValues[index]; } : fallbackFormat; var invertedStringMap = stringMap && lodash_invert__WEBPACK_IMPORTED_MODULE_6___default()(stringMap), dataTicks = [ "" ].concat(_toConsumableArray(lodash_orderBy__WEBPACK_IMPORTED_MODULE_3___default()(lodash_values__WEBPACK_IMPORTED_MODULE_2___default()(stringMap), function(n) { return n; }).map(function(tick) { return invertedStringMap[tick]; })), [ "" ]); return function(x) { return dataTicks[x]; }; }(props), scaleTickFormat = scale.tickFormat && lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default()(scale.tickFormat) ? scale.tickFormat() : function(x) { return x; }; return defaultTickFormat || scaleTickFormat; }, getAxis: getAxis, getAxisComponent: function(childComponents, axis) { return findAxisComponents(childComponents, function(component) { return component.type.getAxis(component.props) === axis; })[0]; }, getAxisComponentsWithParent: function(childComponents, type) { var findComponents = function(children) { return children.reduce(function(memo, child) { var child1; return child.type && "axis" === child.type.role && ("dependent" === type ? child.props.dependentAxis : !child.props.dependentAxis) ? memo.concat(child) : child.props && child.props.children && findComponents(react__WEBPACK_IMPORTED_MODULE_12___default.a.Children.toArray(child.props.children)).length > 0 ? memo.concat(child) : memo; }, []); }; return findComponents(childComponents); }, getAxisValue: function(props, axis) { if (props.axisValue) { var scaleAxis = "x" === axis ? "y" : "x", scale = lodash_isObject__WEBPACK_IMPORTED_MODULE_7___default()(props.scale) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default()(props.scale[scaleAxis]) ? props.scale[scaleAxis] : void 0; if (scale) { var stringMap = lodash_isObject__WEBPACK_IMPORTED_MODULE_7___default()(props.stringMap) && props.stringMap["x" === axis ? "y" : "x"]; return scale(stringMap && "string" == typeof props.axisValue ? stringMap[props.axisValue] : props.axisValue); } } }, findAxisComponents: findAxisComponents, getOrigin: function(domain) { var getSingleOrigin = function(d) { var domainMin = Math.min.apply(Math, _toConsumableArray(d)), domainMax = Math.max.apply(Math, _toConsumableArray(d)); return domainMax < 0 ? domainMax : Math.max(0, domainMin); }; return { x: _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsDates(domain.x) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.x))) : getSingleOrigin(domain.x), y: _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsDates(domain.y) ? new Date(Math.min.apply(Math, _toConsumableArray(domain.y))) : getSingleOrigin(domain.y) }; }, getOriginSign: function(origin, domain) { return _collection__WEBPACK_IMPORTED_MODULE_13__.default.containsDates(domain) ? "positive" : origin <= 0 && 0 >= Math.max.apply(Math, _toConsumableArray(domain)) ? "negative" : "positive"; }, getDomain: function(props, axis) { var inherentAxis = getAxis(props); if (!axis || axis === inherentAxis) return _domain__WEBPACK_IMPORTED_MODULE_14__.default.createDomainFunction(getDomainFromData)(props, inherentAxis); }, isVertical: isVertical, modifyProps: function(props, fallbackProps) { if (!lodash_isObject__WEBPACK_IMPORTED_MODULE_7___default()(props.theme)) return _helpers__WEBPACK_IMPORTED_MODULE_15__.default.modifyProps(props, fallbackProps, "axis"); var role = "axis"; if (props.dependentAxis && props.theme.dependentAxis ? role = "dependentAxis" : !props.dependentAxis && props.theme.independentAxis && (role = "independentAxis"), "axis" === role) return _helpers__WEBPACK_IMPORTED_MODULE_15__.default.modifyProps(props, fallbackProps, "axis"); var axisTheme = lodash_defaults__WEBPACK_IMPORTED_MODULE_10___default()({}, props.theme[role], props.theme.axis), theme = lodash_assign__WEBPACK_IMPORTED_MODULE_11___default()({}, props.theme, { axis: axisTheme }); return _helpers__WEBPACK_IMPORTED_MODULE_15__.default.modifyProps(lodash_assign__WEBPACK_IMPORTED_MODULE_11___default()({}, props, { theme: theme }), fallbackProps, "axis"); }, stringTicks: stringTicks }; }, "../../victory-core/es/victory-util/collection.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function isNonEmptyArray(collection) { return Array.isArray(collection) && collection.length > 0; } function containsDates(collection) { return Array.isArray(collection) && collection.some(function(value) { return value instanceof Date; }); } __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = { containsDates: containsDates, containsNumbers: function(collection) { return Array.isArray(collection) && collection.some(function(value) { return "number" == typeof value; }); }, containsOnlyStrings: function(collection) { return isNonEmptyArray(collection) && collection.every(function(value) { return "string" == typeof value; }); }, containsStrings: function(collection) { return Array.isArray(collection) && collection.some(function(value) { return "string" == typeof value; }); }, getMaxValue: function(arr) { for(var _len = arguments.length, values = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)values[_key - 1] = arguments[_key]; var array = arr.concat(values); return containsDates(array) ? new Date(Math.max.apply(Math, _toConsumableArray(array))) : Math.max.apply(Math, _toConsumableArray(array)); }, getMinValue: function(arr) { for(var _len2 = arguments.length, values = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++)values[_key2 - 1] = arguments[_key2]; var array = arr.concat(values); return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) : Math.min.apply(Math, _toConsumableArray(array)); }, isArrayOfArrays: function(collection) { return isNonEmptyArray(collection) && collection.every(Array.isArray); }, removeUndefined: function(arr) { return arr.filter(function(el) { return void 0 !== el; }); } }; }, "../../victory-core/es/victory-util/common-props.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), _prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-core/es/victory-util/prop-types.js"), dataProps = { categories: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string), y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) }) ]), data: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object ]), dataComponent: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element, labelComponent: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element, labels: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array ]), samples: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative, sortKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) ]), sortOrder: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "ascending", "descending" ]), style: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ parent: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, data: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, labels: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object }), x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) ]), y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) ]), y0: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) ]) }, baseProps = { animate: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object ]), containerComponent: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element, domain: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.domain, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.domain, y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.domain }) ]), maxDomain: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.instanceOf(Date) ]), y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.instanceOf(Date) ]) }) ]), minDomain: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.instanceOf(Date) ]), y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.instanceOf(Date) ]) }) ]), domainPadding: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number) ]), y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number) ]) }), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number) ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string ]), events: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "data", "labels", "parent" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object })), externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ callback: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.function, childName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.allOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string ]), mutation: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.function, target: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array ]) })), groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element, height: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative, name: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, origin: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number }), padding: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number }) ]), polar: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, range: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.domain, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.domain, y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.domain }) ]), scale: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.scale, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.scale, y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.scale }) ]), sharedEvents: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ events: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, getEventState: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func }), singleQuadrantDomainPadding: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool ]), y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool ]) }) ]), standalone: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, theme: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, width: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.nonNegative }, primitiveProps = { active: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, ariaLabel: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), className: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, clipPath: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, data: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object ]), desc: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), events: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, id: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), index: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string ]), origin: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number }), polar: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, role: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, scale: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.scale, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ x: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.scale, y: _prop_types__WEBPACK_IMPORTED_MODULE_1__.default.scale }) ]), shapeRendering: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, style: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), transform: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string }; __webpack_exports__.default = { baseProps: baseProps, dataProps: dataProps, primitiveProps: primitiveProps }; }, "../../victory-core/es/victory-util/data.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/omitBy.js"), lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__), lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isUndefined.js"), lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__), lodash_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_2__), lodash_isEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/isEqual.js"), lodash_isEqual__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_isEqual__WEBPACK_IMPORTED_MODULE_3__), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_4__), lodash_orderBy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/orderBy.js"), lodash_orderBy__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_5__), lodash_property__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/property.js"), lodash_property__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_6__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_7__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_8__), lodash_last__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/lodash/last.js"), lodash_last__WEBPACK_IMPORTED_MODULE_9___default = __webpack_require__.n(lodash_last__WEBPACK_IMPORTED_MODULE_9__), lodash_range__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/lodash/range.js"), lodash_range__WEBPACK_IMPORTED_MODULE_10___default = __webpack_require__.n(lodash_range__WEBPACK_IMPORTED_MODULE_10__), lodash_uniq__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/lodash/uniq.js"), lodash_uniq__WEBPACK_IMPORTED_MODULE_11___default = __webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_11__), lodash_assign__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_12___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_12__), react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_13___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__), _helpers__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _collection__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"), _scale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../victory-core/es/victory-util/scale.js"), _immutable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../victory-core/es/victory-util/immutable.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function parseDatum(datum) { return _immutable__WEBPACK_IMPORTED_MODULE_17__.default.isImmutable(datum) ? _immutable__WEBPACK_IMPORTED_MODULE_17__.default.shallowToJS(datum, { errorX: !0, errorY: !0 }) : datum; } function getLength(data) { return _immutable__WEBPACK_IMPORTED_MODULE_17__.default.isIterable(data) ? data.size : data.length; } function generateDataArray(props, axis) { var domain = (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_7___default()(props.domain) ? props.domain[axis] : props.domain) || _scale__WEBPACK_IMPORTED_MODULE_16__.default.getBaseScale(props, axis).domain(), samples = props.samples || 1, domainMax = Math.max.apply(Math, _toConsumableArray(domain)), domainMin = Math.min.apply(Math, _toConsumableArray(domain)), values = lodash_range__WEBPACK_IMPORTED_MODULE_10___default()(domainMin, domainMax, (domainMax - domainMin) / samples); return lodash_last__WEBPACK_IMPORTED_MODULE_9___default()(values) === domainMax ? values : values.concat(domainMax); } function sortData(dataset, sortKey) { var sortOrder = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "ascending"; return sortKey ? (("x" === sortKey || "y" === sortKey) && (sortKey = "_".concat(sortKey)), lodash_orderBy__WEBPACK_IMPORTED_MODULE_5___default()(dataset, sortKey, "ascending" === sortOrder ? "asc" : "desc")) : dataset; } function createStringMap(props, axis) { var stringsFromAxes = getStringsFromAxes(props, axis), stringsFromCategories = getStringsFromCategories(props, axis), stringsFromData = getStringsFromData(props, axis), allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_11___default()(_toConsumableArray(stringsFromAxes).concat(_toConsumableArray(stringsFromCategories), _toConsumableArray(stringsFromData))); return 0 === allStrings.length ? null : allStrings.reduce(function(memo, string, index) { return memo[string] = index + 1, memo; }, {}); } function formatData(dataset, props, expectedKeys) { if (!(Array.isArray(dataset) || _immutable__WEBPACK_IMPORTED_MODULE_17__.default.isIterable(dataset)) || 1 > getLength(dataset)) return []; var stringMap, props1, data, hasEventKeyAccessor, key, eventKeyAccessor, defaultKeys = [ "x", "y", "y0" ], accessor = (expectedKeys = Array.isArray(expectedKeys) ? expectedKeys : defaultKeys).reduce(function(memo, type) { var name; return memo[type] = _helpers__WEBPACK_IMPORTED_MODULE_14__.default.createAccessor(void 0 !== props[type] ? props[type] : type), memo; }, {}), preformattedData = lodash_isEqual__WEBPACK_IMPORTED_MODULE_3___default()(expectedKeys, defaultKeys) && "_x" === props.x && "_y" === props.y && "_y0" === props.y0; !1 === preformattedData && (stringMap = { x: -1 !== expectedKeys.indexOf("x") ? createStringMap(props, "x") : void 0, y: -1 !== expectedKeys.indexOf("y") ? createStringMap(props, "y") : void 0, y0: -1 !== expectedKeys.indexOf("y0") ? createStringMap(props, "y") : void 0 }); var cleanedData = function(dataset, props) { var smallNumber = 1 / Number.MAX_SAFE_INTEGER, scaleType = { x: _scale__WEBPACK_IMPORTED_MODULE_16__.default.getScaleType(props, "x"), y: _scale__WEBPACK_IMPORTED_MODULE_16__.default.getScaleType(props, "y") }; if ("log" !== scaleType.x && "log" !== scaleType.y) return dataset; var rules = function(datum, axis) { return "log" !== scaleType[axis] || 0 !== datum["_".concat(axis)]; }, sanitize = function(datum) { var _x = rules(datum, "x") ? datum._x : smallNumber, _y = rules(datum, "y") ? datum._y : smallNumber, _y0 = rules(datum, "y0") ? datum._y0 : smallNumber; return lodash_assign__WEBPACK_IMPORTED_MODULE_12___default()({}, datum, { _x: _x, _y: _y, _y0: _y0 }); }; return dataset.map(function(datum) { return rules(datum, "x") && rules(datum, "y") && rules(datum, "y0") ? datum : sanitize(datum); }); }(sortData(preformattedData ? dataset : dataset.reduce(function(dataArr, datum, index) { var fallbackValues = { x: index, y: datum = parseDatum(datum) }, processedValues = expectedKeys.reduce(function(memo, type) { var processedValue = accessor[type](datum), value = void 0 !== processedValue ? processedValue : fallbackValues[type]; return void 0 !== value && ("string" == typeof value && stringMap[type] ? (memo["".concat(type, "Name")] = value, memo["_".concat(type)] = stringMap[type][value]) : memo["_".concat(type)] = value), memo; }, {}), formattedDatum = lodash_assign__WEBPACK_IMPORTED_MODULE_12___default()({}, processedValues, datum); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_4___default()(formattedDatum) || dataArr.push(formattedDatum), dataArr; }, []), props.sortKey, props.sortOrder), props); return hasEventKeyAccessor = !!props.eventKey, key = props.eventKey, eventKeyAccessor = lodash_isFunction__WEBPACK_IMPORTED_MODULE_8___default()(key) ? key : null == key ? function() {} : lodash_property__WEBPACK_IMPORTED_MODULE_6___default()(key), cleanedData.map(function(datum, index) { if (void 0 !== datum.eventKey || !hasEventKeyAccessor) return datum; var eventKey = eventKeyAccessor(datum, index); return void 0 !== eventKey ? lodash_assign__WEBPACK_IMPORTED_MODULE_12___default()({ eventKey: eventKey }, datum) : datum; }); } function generateData(props) { var xValues = generateDataArray(props, "x"), yValues = generateDataArray(props, "y"); return xValues.map(function(x, i) { return { x: x, y: yValues[i] }; }); } function getCategories(props, axis) { return props.categories && !Array.isArray(props.categories) ? props.categories[axis] : props.categories; } function getStringsFromAxes(props, axis) { var tickValueArray, tickValues = props.tickValues, tickFormat = props.tickFormat; return (tickValues && (Array.isArray(tickValues) || tickValues[axis]) ? tickValues[axis] || tickValues : tickFormat && Array.isArray(tickFormat) ? tickFormat : []).filter(function(val) { return "string" == typeof val; }); } function getStringsFromCategories(props, axis) { if (!props.categories) return []; var categories = getCategories(props, axis), categoryStrings = categories && categories.filter(function(val) { return "string" == typeof val; }); return categoryStrings ? _collection__WEBPACK_IMPORTED_MODULE_15__.default.removeUndefined(categoryStrings) : []; } function getStringsFromData(props, axis) { if (!(Array.isArray(props.data) || _immutable__WEBPACK_IMPORTED_MODULE_17__.default.isIterable(props.data))) return []; var key = void 0 === props[axis] ? axis : props[axis], accessor = _helpers__WEBPACK_IMPORTED_MODULE_14__.default.createAccessor(key); return sortData(props.data.reduce(function(memo, d) { return memo.push(parseDatum(d)), memo; }, []), props.sortKey, props.sortOrder).reduce(function(dataArr, datum) { return datum = parseDatum(datum), dataArr.push(accessor(datum)), dataArr; }, []).filter(function(datum) { return "string" == typeof datum; }).reduce(function(prev, curr) { return null != curr && -1 === prev.indexOf(curr) && prev.push(curr), prev; }, []); } __webpack_exports__.default = { createStringMap: createStringMap, downsample: function(data, maxPoints) { var startingIndex = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, dataLength = getLength(data); if (dataLength > maxPoints) { var k = Math.pow(2, Math.ceil(Math.log2(dataLength / maxPoints))); return data.filter(function(d, i) { return (i + startingIndex) % k == 0; }); } return data; }, formatData: formatData, formatDataFromDomain: function(dataset, domain, defaultBaseline) { var exists = function(val) { return void 0 !== val; }, minDomainX = _collection__WEBPACK_IMPORTED_MODULE_15__.default.getMinValue(domain.x), maxDomainX = _collection__WEBPACK_IMPORTED_MODULE_15__.default.getMaxValue(domain.x), minDomainY = _collection__WEBPACK_IMPORTED_MODULE_15__.default.getMinValue(domain.y), maxDomainY = _collection__WEBPACK_IMPORTED_MODULE_15__.default.getMaxValue(domain.y), underMin = function(min) { return function(val) { return exists(val) && val < min; }; }, overMax = function(max) { return function(val) { return exists(val) && val > max; }; }, isUnderMinX = underMin(minDomainX), isUnderMinY = underMin(minDomainY), isOverMaxX = overMax(maxDomainX), isOverMaxY = overMax(maxDomainY); return dataset.map(function(datum) { var _x = datum._x, _y = datum._y, _y0 = datum._y0, _y1 = datum._y1; (isUnderMinX(_x) || isOverMaxX(_x)) && (_x = null); var baseline = exists(_y0) ? _y0 : defaultBaseline, value = exists(_y1) ? _y1 : _y; return exists(value) ? (!exists(baseline) && (isUnderMinY(value) || isOverMaxY(value)) && (_y = null), (isUnderMinY(baseline) && isUnderMinY(value) || isOverMaxY(baseline) && isOverMaxY(value)) && (_y = _y0 = _y1 = null), isUnderMinY(baseline) && !isUnderMinY(value) && (_y0 = minDomainY), isOverMaxY(baseline) && !isOverMaxY(value) && (_y0 = maxDomainY), lodash_assign__WEBPACK_IMPORTED_MODULE_12___default()({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default()({ _x: _x, _y: _y, _y0: _y0, _y1: _y1 }, lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default.a))) : datum; }); }, generateData: generateData, getCategories: getCategories, getData: function(props) { return props.data ? formatData(props.data, props) : formatData(generateData(props), props); }, getStringsFromAxes: getStringsFromAxes, getStringsFromCategories: getStringsFromCategories, getStringsFromData: getStringsFromData, isDataComponent: function(component) { var getRole = function(child) { return child && child.type ? child.type.role : ""; }, role = getRole(component); if ("portal" === role) { var children = react__WEBPACK_IMPORTED_MODULE_13___default.a.Children.toArray(component.props.children); role = children.length ? getRole(children[0]) : ""; } return lodash_includes__WEBPACK_IMPORTED_MODULE_2___default()([ "area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi" ], role); } }; }, "../../victory-core/es/victory-util/default-transitions.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = { continuousTransitions: function() { return { onLoad: { duration: 2000 }, onExit: { duration: 500 }, onEnter: { duration: 500 } }; }, continuousPolarTransitions: function() { return { onLoad: { duration: 2000, before: function() { return { _y: 0, _y1: 0, _y0: 0 }; }, after: function(datum) { return { _y: datum._y, _y1: datum._y1, _y0: datum._y0 }; } }, onExit: { duration: 500, before: function(datum, index, data) { var adjacent = function(attr) { return (0 === index ? data[index + 1] : data[index - 1])[attr]; }; return { _x: adjacent("_x"), _y: adjacent("_y"), _y0: adjacent("_y0") }; } }, onEnter: { duration: 500, before: function(datum, index, data) { var adjacent = function(attr) { return (0 === index ? data[index + 1] : data[index - 1])[attr]; }; return { _x: adjacent("_x"), _y: adjacent("_y"), _y0: adjacent("_y0") }; }, after: function(datum) { return { _x: datum._x, _y: datum._y, _y1: datum._y1, _y0: datum._y0 }; } } }; }, discreteTransitions: function() { return { onLoad: { duration: 2000, before: function() { return { opacity: 0 }; }, after: function(datum) { return datum; } }, onExit: { duration: 600, before: function() { return { opacity: 0 }; } }, onEnter: { duration: 600, before: function() { return { opacity: 0 }; }, after: function(datum) { return datum; } } }; } }; }, "../../victory-core/es/victory-util/domain.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isDate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isDate.js"), lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_0__), lodash_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_1__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__), lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/sortedUniq.js"), lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4__), lodash_flatten__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/flatten.js"), lodash_flatten__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_flatten__WEBPACK_IMPORTED_MODULE_5__), react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__), _data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/victory-util/data.js"), _scale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/victory-util/scale.js"), _helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _collection__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function getExtremeFromData(dataset, axis) { var type = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "min", getExtreme = function(arr) { return "max" === type ? Math.max.apply(Math, _toConsumableArray(arr)) : Math.min.apply(Math, _toConsumableArray(arr)); }, containsDate = !1, result = lodash_flatten__WEBPACK_IMPORTED_MODULE_5___default()(dataset).reduce(function(memo, datum) { var current0 = void 0 !== datum["_".concat(axis, "0")] ? datum["_".concat(axis, "0")] : datum["_".concat(axis)], current1 = void 0 !== datum["_".concat(axis, "1")] ? datum["_".concat(axis, "1")] : datum["_".concat(axis)], current = getExtreme([ current0, current1 ]); return containsDate = containsDate || current0 instanceof Date || current1 instanceof Date, getExtreme([ memo, current ]); }, "max" === type ? -1 / 0 : 1 / 0); return containsDate ? new Date(result) : result; } function createDomainFunction(getDomainFromDataFunction, formatDomainFunction) { return getDomainFromDataFunction = lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(getDomainFromDataFunction) ? getDomainFromDataFunction : getDomainFromData, formatDomainFunction = lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(formatDomainFunction) ? formatDomainFunction : formatDomain, function(props, axis) { var propsDomain = getDomainFromProps(props, axis); if (propsDomain) return formatDomainFunction(propsDomain, props, axis); var categories = _data__WEBPACK_IMPORTED_MODULE_7__.default.getCategories(props, axis), domain = categories ? getDomainFromCategories(props, axis, categories) : getDomainFromDataFunction(props, axis); return domain ? formatDomainFunction(domain, props, axis) : void 0; }; } function formatDomain(domain, props, axis) { return function(domain, props, axis) { var dom, almostZero, domainOne; return "log" !== _scale__WEBPACK_IMPORTED_MODULE_8__.default.getScaleType(props, axis) ? domain : (almostZero = domain[0] < 0 || domain[1] < 0 ? -1 / Number.MAX_SAFE_INTEGER : 1 / Number.MAX_SAFE_INTEGER, [ 0 === domain[0] ? almostZero : domain[0], 0 === domain[1] ? almostZero : domain[1] ]); }(function(domain, props, axis) { if (!props.domainPadding) return domain; var props1, axis1, formatPadding, minDomain = getMinFromProps(props, axis), maxDomain = getMaxFromProps(props, axis), padding = function(padding) { return Array.isArray(padding) ? { left: padding[0], right: padding[1] } : { left: padding, right: padding }; }(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4___default()(props.domainPadding) ? props.domainPadding[axis] : props.domainPadding); if (!padding.left && !padding.right) return domain; var min = _collection__WEBPACK_IMPORTED_MODULE_10__.default.getMinValue(domain), max = _collection__WEBPACK_IMPORTED_MODULE_10__.default.getMaxValue(domain), currentAxis = _helpers__WEBPACK_IMPORTED_MODULE_9__.default.getCurrentAxis(axis, props.horizontal), range = _helpers__WEBPACK_IMPORTED_MODULE_9__.default.getRange(props, currentAxis), rangeExtent = Math.abs(range[0] - range[1]), paddedRangeExtent = Math.max(rangeExtent - padding.left - padding.right, 1), paddedDomainExtent = Math.abs(max.valueOf() - min.valueOf()) / paddedRangeExtent * rangeExtent, simplePadding = { left: paddedDomainExtent * padding.left / rangeExtent, right: paddedDomainExtent * padding.right / rangeExtent }, paddedDomain = { min: min.valueOf() - simplePadding.left, max: max.valueOf() + simplePadding.right }, singleQuadrantDomainPadding = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4___default()(props.singleQuadrantDomainPadding) ? props.singleQuadrantDomainPadding[axis] : props.singleQuadrantDomainPadding, addsQuadrants = min >= 0 && paddedDomain.min <= 0 || max <= 0 && paddedDomain.max >= 0, adjust = function(val, type) { return "min" === type && min >= 0 && val <= 0 || "max" === type && max <= 0 && val >= 0 ? 0 : val; }; if (addsQuadrants && !1 !== singleQuadrantDomainPadding) { var initialPadding = { left: Math.abs(max - min) * padding.left / rangeExtent, right: Math.abs(max - min) * padding.right / rangeExtent }, adjustedDomain = { min: adjust(min.valueOf() - initialPadding.left, "min"), max: adjust(max.valueOf() + initialPadding.right, "max") }, finalPadding = { left: Math.abs(adjustedDomain.max - adjustedDomain.min) * padding.left / rangeExtent, right: Math.abs(adjustedDomain.max - adjustedDomain.min) * padding.right / rangeExtent }; paddedDomain = { min: adjust(min.valueOf() - finalPadding.left, "min"), max: adjust(max.valueOf() + finalPadding.right, "max") }; } var finalDomain = { min: void 0 !== minDomain ? minDomain : paddedDomain.min, max: void 0 !== maxDomain ? maxDomain : paddedDomain.max }; return min instanceof Date || max instanceof Date ? getDomainFromMinMax(new Date(finalDomain.min), new Date(finalDomain.max)) : getDomainFromMinMax(finalDomain.min, finalDomain.max); }(domain, props, axis), props, axis); } function getDomainFromCategories(props, axis, categories) { categories = categories || _data__WEBPACK_IMPORTED_MODULE_7__.default.getCategories(props, axis); var polar = props.polar, _props$startAngle = props.startAngle, _props$endAngle = props.endAngle; if (categories) { var minDomain = getMinFromProps(props, axis), maxDomain = getMaxFromProps(props, axis), stringArray = _collection__WEBPACK_IMPORTED_MODULE_10__.default.containsStrings(categories) ? _data__WEBPACK_IMPORTED_MODULE_7__.default.getStringsFromCategories(props, axis) : [], stringMap = 0 === stringArray.length ? null : stringArray.reduce(function(memo, string, index) { return memo[string] = index + 1, memo; }, {}), categoryValues = stringMap ? categories.map(function(value) { return stringMap[value]; }) : categories, categoryDomain = getDomainFromMinMax(void 0 !== minDomain ? minDomain : _collection__WEBPACK_IMPORTED_MODULE_10__.default.getMinValue(categoryValues), void 0 !== maxDomain ? maxDomain : _collection__WEBPACK_IMPORTED_MODULE_10__.default.getMaxValue(categoryValues)); return polar && "x" === axis && 360 === Math.abs((void 0 === _props$startAngle ? 0 : _props$startAngle) - (void 0 === _props$endAngle ? 360 : _props$endAngle)) ? getSymmetricDomain(categoryDomain, categoryValues) : categoryDomain; } } function getDomainFromData(props, axis, dataset) { dataset = dataset || _data__WEBPACK_IMPORTED_MODULE_7__.default.getData(props); var dataset1, axis1, polar = props.polar, _props$startAngle2 = props.startAngle, _props$endAngle2 = props.endAngle, minDomain = getMinFromProps(props, axis), maxDomain = getMaxFromProps(props, axis); if (dataset.length < 1) return void 0 !== minDomain && void 0 !== maxDomain ? getDomainFromMinMax(minDomain, maxDomain) : void 0; var domain = getDomainFromMinMax(void 0 !== minDomain ? minDomain : getExtremeFromData(dataset, axis, "min"), void 0 !== maxDomain ? maxDomain : getExtremeFromData(dataset, axis, "max")); return polar && "x" === axis && 360 === Math.abs((void 0 === _props$startAngle2 ? 0 : _props$startAngle2) - (void 0 === _props$endAngle2 ? 360 : _props$endAngle2)) ? getSymmetricDomain(domain, (dataset1 = dataset, lodash_flatten__WEBPACK_IMPORTED_MODULE_5___default()(dataset1).map(function(datum) { return datum["_".concat(axis)] && void 0 !== datum["_".concat(axis)][1] ? datum["_".concat(axis)][1] : datum["_".concat(axis)]; }))) : domain; } function getDomainFromMinMax(min, max) { var val, verySmallNumber, minVal, maxVal; return +min == +max ? (verySmallNumber = 0 === max ? 0.0000000002 : 0.0000000001, minVal = max instanceof Date ? new Date(+max - 1) : +max - verySmallNumber, maxVal = max instanceof Date ? new Date(+max + 1) : +max + verySmallNumber, 0 === max ? [ 0, maxVal ] : [ minVal, maxVal ]) : [ min, max ]; } function getDomainFromProps(props, axis) { var minDomain = getMinFromProps(props, axis), maxDomain = getMaxFromProps(props, axis); return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4___default()(props.domain) && props.domain[axis] ? props.domain[axis] : Array.isArray(props.domain) ? props.domain : void 0 !== minDomain && void 0 !== maxDomain ? getDomainFromMinMax(minDomain, maxDomain) : void 0; } function getMaxFromProps(props, axis) { return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4___default()(props.maxDomain) && void 0 !== props.maxDomain[axis] ? props.maxDomain[axis] : "number" == typeof props.maxDomain || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.maxDomain) ? props.maxDomain : void 0; } function getMinFromProps(props, axis) { return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_4___default()(props.minDomain) && void 0 !== props.minDomain[axis] ? props.minDomain[axis] : "number" == typeof props.minDomain || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.minDomain) ? props.minDomain : void 0; } function getSymmetricDomain(domain, values) { var processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default()(values.sort(function(a, b) { return a - b; })), step = processedData[1] - processedData[0]; return [ domain[0], domain[1] + step ]; } __webpack_exports__.default = { createDomainFunction: createDomainFunction, formatDomain: formatDomain, getDomain: function(props, axis) { return createDomainFunction()(props, axis); }, getDomainFromCategories: getDomainFromCategories, getDomainFromData: getDomainFromData, getDomainFromMinMax: getDomainFromMinMax, getDomainFromProps: getDomainFromProps, getDomainWithZero: function(props, axis) { var propsDomain = getDomainFromProps(props, axis); if (propsDomain) return propsDomain; var dataset = _data__WEBPACK_IMPORTED_MODULE_7__.default.getData(props), y0Min = dataset.reduce(function(min, datum) { return datum._y0 < min ? datum._y0 : min; }, 1 / 0), ensureZero = function(domain) { if ("x" === axis) return domain; var defaultMin = y0Min !== 1 / 0 ? y0Min : 0, maxDomainProp = getMaxFromProps(props, axis), minDomainProp = getMinFromProps(props, axis), max = void 0 !== maxDomainProp ? maxDomainProp : _collection__WEBPACK_IMPORTED_MODULE_10__.default.getMaxValue(domain, defaultMin); return getDomainFromMinMax(void 0 !== minDomainProp ? minDomainProp : _collection__WEBPACK_IMPORTED_MODULE_10__.default.getMinValue(domain, defaultMin), max); }; return createDomainFunction(function() { return getDomainFromData(props, axis, dataset); }, function(domain) { return formatDomain(ensureZero(domain), props, axis); })(props, axis); }, getMaxFromProps: getMaxFromProps, getMinFromProps: getMinFromProps, getSymmetricDomain: getSymmetricDomain, isDomainComponent: function(component) { var getRole = function(child) { return child && child.type ? child.type.role : ""; }, role = getRole(component); if ("portal" === role) { var children = react__WEBPACK_IMPORTED_MODULE_6___default.a.Children.toArray(component.props.children); role = children.length ? getRole(children[0]) : ""; } return lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()([ "area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi" ], role); } }; }, "../../victory-core/es/victory-util/events.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__), lodash_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_1__), lodash_uniq__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/uniq.js"), lodash_uniq__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_2__), lodash_omitBy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/omitBy.js"), lodash_omitBy__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_3__), lodash_pickBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/pickBy.js"), lodash_pickBy__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_4__), lodash_without__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/without.js"), lodash_without__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_without__WEBPACK_IMPORTED_MODULE_5__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_6__), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7__), lodash_assign__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_8__); function _defineProperty(obj, key, value) { return key in obj ? Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key] = value, obj; } function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var GLOBAL_EVENT_REGEX = /^onGlobal(.*)$/; __webpack_exports__.default = { getEvents: function(props, target, eventKey, getScopedEvents) { var _this = this, getEventsByTarget = function(events) { var targetEvents, selectedEvents = (targetEvents = events.reduce(function(memo, event) { return void 0 !== event.target ? (Array.isArray(event.target) ? lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()(event.target, target) : "".concat(event.target) === "".concat(target)) ? memo.concat(event) : memo : memo.concat(event); }, []), void 0 !== eventKey && "parent" !== target ? targetEvents.filter(function(obj) { var targetKeys = obj.eventKey, useKey = function(key) { return !key || "".concat(key) === "".concat(eventKey); }; return Array.isArray(targetKeys) ? targetKeys.some(function(k) { return useKey(k); }) : useKey(targetKeys); }) : targetEvents); return Array.isArray(selectedEvents) && selectedEvents.reduce(function(memo, event) { return event ? lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, event.eventHandlers) : memo; }, {}); }, allEvents = function() { if (Array.isArray(_this.componentEvents)) { var _this$componentEvents; return Array.isArray(props.events) ? (_this$componentEvents = _this.componentEvents).concat.apply(_this$componentEvents, _toConsumableArray(props.events)) : _this.componentEvents; } return props.events; }(), ownEvents = allEvents && lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(getScopedEvents) ? getScopedEvents(getEventsByTarget(allEvents), target) : void 0; if (!props.sharedEvents) return ownEvents; var getSharedEvents = props.sharedEvents.getEvents, sharedEvents = props.sharedEvents.events && getSharedEvents(getEventsByTarget(props.sharedEvents.events), target); return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, sharedEvents, ownEvents); }, getScopedEvents: function(events, namespace, childType, baseProps) { var _this2 = this; if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(events)) return {}; baseProps = baseProps || this.baseProps; var getTargetProps = function(identifier, type) { var childName = identifier.childName, target = identifier.target, key = identifier.key, baseType = "props" === type ? baseProps : _this2.state || {}, base = null != childName && baseType[childName] ? baseType[childName] : baseType; return "parent" === key ? base.parent : base[key] && base[key][target]; }, parseEvent = function(eventReturn, eventKey) { var childNames = "parent" === namespace ? eventReturn.childName : eventReturn.childName || childType, target = eventReturn.target || namespace, getMutationObject = function(key, childName) { var baseState = _this2.state || {}; if (!lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(eventReturn.mutation)) return baseState; var mutationTargetProps = getTargetProps({ childName: childName, key: key, target: target }, "props"), mutationTargetState = getTargetProps({ childName: childName, key: key, target: target }, "state"), mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), baseProps), childState = baseState[childName] || {}, updateState = function(state) { var state1, state2; return mutatedProps ? "parent" === target ? lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(state, _defineProperty({}, key, lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(state[key], mutatedProps))) : lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(state, _defineProperty({}, key, lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(state[key], _defineProperty({}, target, mutatedProps)))) : ((state2 = state)[key] && state2[key][target] && delete state2[key][target], state2[key] && !lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(state2[key]).length && delete state2[key], state2); }; return null != childName ? lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(baseState, _defineProperty({}, childName, updateState(childState))) : updateState(baseState); }, getReturnByChild = function(childName) { var childName1, mutationKeys = "parent" === target ? "parent" : "all" === eventReturn.eventKey ? baseProps[childName] ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps[childName]), "parent") : lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps), "parent") : void 0 === eventReturn.eventKey && "parent" === eventKey ? baseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps) : void 0 !== eventReturn.eventKey ? eventReturn.eventKey : eventKey; return Array.isArray(mutationKeys) ? mutationKeys.reduce(function(memo, key) { return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getMutationObject(key, childName)); }, {}) : getMutationObject(mutationKeys, childName); }, allChildNames = "all" === childNames ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps), "parent") : childNames; return Array.isArray(allChildNames) ? allChildNames.reduce(function(memo, childName) { return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName)); }, {}) : getReturnByChild(allChildNames); }, compileCallbacks = function(eventReturn) { var getCallback = function(obj) { return lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(obj.callback) && obj.callback; }, callbackArray = (Array.isArray(eventReturn) ? eventReturn.map(function(evtObj) { return getCallback(evtObj); }) : [ getCallback(eventReturn) ]).filter(function(callback) { return !1 !== callback; }); return callbackArray.length ? function() { return callbackArray.forEach(function(callback) { return callback(); }); } : void 0; }, onEvent = function(evt, childProps, eventKey, eventName) { var eventReturn = events[eventName](evt, childProps, eventKey, _this2); if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(eventReturn)) { var eventReturn1, eventKey1, callbacks = compileCallbacks(eventReturn); _this2.setState(Array.isArray(eventReturn) ? eventReturn.reduce(function(memo, props) { return memo = lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, memo, parseEvent(props, eventKey)); }, {}) : parseEvent(eventReturn, eventKey), callbacks); } }; return lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(events).reduce(function(memo, event) { return memo[event] = onEvent, memo; }, {}); }, getPartialEvents: function(events, eventKey, childProps) { return events ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(events).reduce(function(memo, eventName) { var appliedEvent = function(evt) { return events[eventName](evt, childProps, eventKey, eventName); }; return memo[eventName] = appliedEvent, memo; }, {}) : {}; }, getEventState: function(eventKey, namespace, childType) { var state = this.state || {}; return childType ? state[childType] && state[childType][eventKey] && state[childType][eventKey][namespace] : "parent" === eventKey ? state[eventKey] && state[eventKey][namespace] || state[eventKey] : state[eventKey] && state[eventKey][namespace]; }, getExternalMutationsWithChildren: function(mutations, baseProps, baseState, childNames) { var _this3 = this; return baseProps = baseProps || {}, baseState = baseState || {}, childNames.reduce(function(memo, childName) { var childState = baseState[childName], mutation = _this3.getExternalMutations(mutations, baseProps[childName], baseState[childName], childName); return memo[childName] = mutation || childState, lodash_pickBy__WEBPACK_IMPORTED_MODULE_4___default()(memo, function(v) { return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(v); }); }, {}); }, getExternalMutations: function(mutations, baseProps, baseState, childName) { var _this4 = this; return baseProps = baseProps || {}, baseState = baseState || {}, lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(baseProps).reduce(function(memo, eventKey) { var keyState = baseState[eventKey] || {}, keyProps = baseProps[eventKey] || {}; if ("parent" === eventKey) { var mutation = _this4.getExternalMutation(mutations, keyProps, keyState, { eventKey: eventKey, target: "parent" }); memo[eventKey] = void 0 !== mutation ? lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, keyState, mutation) : keyState; } else { var targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_2___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(keyProps).concat(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(keyState))); memo[eventKey] = targets.reduce(function(m, target) { var mutation = _this4.getExternalMutation(mutations, keyProps[target], keyState[target], { eventKey: eventKey, target: target, childName: childName }); return m[target] = void 0 !== mutation ? lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, keyState[target], mutation) : keyState[target], lodash_pickBy__WEBPACK_IMPORTED_MODULE_4___default()(m, function(v) { return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(v); }); }, {}); } return lodash_pickBy__WEBPACK_IMPORTED_MODULE_4___default()(memo, function(v) { return !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(v); }); }, {}); }, getExternalMutation: function(mutations, baseProps, baseState, identifier) { var filterMutations = function(mutation, type) { if ("string" == typeof mutation[type]) return "all" === mutation[type] || mutation[type] === identifier[type]; if (!Array.isArray(mutation[type])) return !1; var stringArray = mutation[type].map(function(m) { return "".concat(m); }); return lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()(stringArray, identifier[type]); }, scopedMutations = mutations = Array.isArray(mutations) ? mutations : [ mutations ]; identifier.childName && (scopedMutations = mutations.filter(function(m) { return filterMutations(m, "childName"); })); var targetMutations = scopedMutations.filter(function(m) { return filterMutations(m, "target"); }); if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(targetMutations)) { var keyMutations = targetMutations.filter(function(m) { return filterMutations(m, "eventKey"); }); if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_7___default()(keyMutations)) return keyMutations.reduce(function(memo, curr) { var currentMutation = (curr && lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(curr.mutation) ? curr.mutation : function() {})(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, baseProps, baseState)); return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, memo, currentMutation); }, {}); } }, getComponentEvents: function(props, components) { var events = Array.isArray(components) && components.reduce(function(memo, componentName) { var _memo, component = props[componentName], defaultEvents = component && component.type && component.type.defaultEvents, componentEvents = lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(defaultEvents) ? defaultEvents(component.props) : defaultEvents; return memo = Array.isArray(componentEvents) ? (_memo = memo).concat.apply(_memo, _toConsumableArray(componentEvents)) : memo; }, []); return events && events.length ? events : void 0; }, getGlobalEventNameFromKey: function(key) { var match = key.match(GLOBAL_EVENT_REGEX); return match && match[1] && match[1].toLowerCase(); }, getGlobalEvents: function(events) { return lodash_pickBy__WEBPACK_IMPORTED_MODULE_4___default()(events, function(_, key) { return GLOBAL_EVENT_REGEX.test(key); }); }, omitGlobalEvents: function(events) { return lodash_omitBy__WEBPACK_IMPORTED_MODULE_3___default()(events, function(_, key) { return GLOBAL_EVENT_REGEX.test(key); }); }, emulateReactEvent: function(event) { return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(event, { nativeEvent: event }); } }; }, "../../victory-core/es/victory-util/helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), lodash_pick__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/pick.js"), lodash_pick__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_2__), lodash_property__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/property.js"), lodash_property__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_3__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_4__), lodash_defaults__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_5__), react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__); function omit(originalObject) { var ks = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], newObject = {}; for(var key in originalObject)!(ks.indexOf(key) >= 0) && Object.prototype.hasOwnProperty.call(originalObject, key) && (newObject[key] = originalObject[key]); return newObject; } function getPoint(datum) { var exists = function(val) { return void 0 !== val; }, _x = datum._x, _x1 = datum._x1, _x0 = datum._x0, _voronoiX = datum._voronoiX, _y = datum._y, _y1 = datum._y1, _y0 = datum._y0, _voronoiY = datum._voronoiY, defaultX = exists(_x1) ? _x1 : _x, defaultY = exists(_y1) ? _y1 : _y, point = { x: exists(_voronoiX) ? _voronoiX : defaultX, x0: exists(_x0) ? _x0 : _x, y: exists(_voronoiY) ? _voronoiY : defaultY, y0: exists(_y0) ? _y0 : _y }; return lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, point, datum); } function getPadding(props) { var name = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "padding", padding = props[name], paddingVal = "number" == typeof padding ? padding : 0, paddingObj = "object" == typeof padding ? padding : {}; return { top: paddingObj.top || paddingVal, bottom: paddingObj.bottom || paddingVal, left: paddingObj.left || paddingVal, right: paddingObj.right || paddingVal }; } function isTooltip(component) { return "tooltip" === (component && component.type && component.type.role); } function evaluateProp(prop, props) { return lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(prop) ? prop(props) : prop; } function degreesToRadians(degrees) { return "number" == typeof degrees ? degrees * (Math.PI / 180) : degrees; } function getRadius(props) { var _getPadding = getPadding(props), left = _getPadding.left, right = _getPadding.right, top = _getPadding.top, bottom = _getPadding.bottom; return Math.min(props.width - left - right, props.height - top - bottom) / 2; } function isHorizontal(props) { if (void 0 !== props.horizontal || !props.children) return props.horizontal; var traverseChildren = function(childArray) { return childArray.reduce(function(memo, child) { var childProps = child.props || {}; return memo || childProps.horizontal || !childProps.children ? memo = memo || childProps.horizontal : traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default.a.Children.toArray(childProps.children)); }, !1); }; return traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default.a.Children.toArray(props.children)); } __webpack_exports__.default = { omit: omit, getPoint: getPoint, scalePoint: function(props, datum) { var scale = props.scale, polar = props.polar, horizontal = props.horizontal, d = getPoint(datum), origin = props.origin || { x: 0, y: 0 }, x = horizontal ? scale.y(d.y) : scale.x(d.x), x0 = horizontal ? scale.y(d.y0) : scale.x(d.x0), y = horizontal ? scale.x(d.x) : scale.y(d.y), y0 = horizontal ? scale.x(d.x0) : scale.y(d.y0); return { x: polar ? y * Math.cos(x) + origin.x : x, x0: polar ? y0 * Math.cos(x0) + origin.x : x0, y: polar ? -y * Math.sin(x) + origin.y : y, y0: polar ? -y0 * Math.sin(x0) + origin.x : y0 }; }, getPadding: getPadding, getDefaultStyles: function(props, role) { var _props$theme = props.theme, theme = void 0 === _props$theme ? {} : _props$theme, labelComponent = props.labelComponent, defaultStyles = theme[role] && theme[role].style || {}; if (!isTooltip(labelComponent)) return defaultStyles; var tooltipStyle = theme.tooltip && theme.tooltip.style || {}, labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, tooltipStyle, defaultStyles.labels); return lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, { labels: labelStyle }, defaultStyles); }, getStyles: function(style, defaultStyles) { var width = "100%", height = "100%"; if (!style) return lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({ parent: { height: height, width: width } }, defaultStyles); var data = style.data, labels = style.labels, parent = style.parent, defaultParent = defaultStyles && defaultStyles.parent || {}, defaultLabels = defaultStyles && defaultStyles.labels || {}, defaultData = defaultStyles && defaultStyles.data || {}; return { parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, parent, defaultParent, { width: width, height: height }), labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, labels, defaultLabels), data: lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()({}, data, defaultData) }; }, evaluateProp: evaluateProp, evaluateStyle: function(style, props) { return style && lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(style).some(function(value) { return lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(style[value]); }) ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(style).reduce(function(prev, curr) { return prev[curr] = evaluateProp(style[curr], props), prev; }, {}) : style; }, degreesToRadians: degreesToRadians, radiansToDegrees: function(radians) { return "number" == typeof radians ? radians / (Math.PI / 180) : radians; }, getRadius: getRadius, getPolarOrigin: function(props) { var width = props.width, height = props.height, _getPadding2 = getPadding(props), top = _getPadding2.top, bottom = _getPadding2.bottom, left = _getPadding2.left, right = _getPadding2.right, radius = Math.min(width - left - right, height - top - bottom) / 2, offsetWidth = width / 2 + left - right, offsetHeight = height / 2 + top - bottom; return { x: offsetWidth + radius > width ? radius + left - right : offsetWidth, y: offsetHeight + radius > height ? radius + top - bottom : offsetHeight }; }, getRange: function(props, axis) { var props1, axis1, padding, props2; if (props.range && props.range[axis]) return props.range[axis]; if (props.range && Array.isArray(props.range)) return props.range; return props.polar ? (props2 = props, "x" === axis ? [ degreesToRadians(props2.startAngle || 0), degreesToRadians(props2.endAngle || 360) ] : [ props2.innerRadius || 0, getRadius(props2) ]) : (padding = getPadding(props), "x" !== axis ? [ props.height - padding.bottom, padding.top ] : [ padding.left, props.width - padding.right ]); }, createAccessor: function(key) { return lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(key) ? key : null == key ? function(x) { return x; } : lodash_property__WEBPACK_IMPORTED_MODULE_3___default()(key); }, modifyProps: function(props, fallbackProps, role) { var themeProps = omit(props.theme && props.theme[role] ? props.theme[role] : {}, [ "style" ]), horizontal = isHorizontal(props); return lodash_defaults__WEBPACK_IMPORTED_MODULE_5___default()(void 0 === horizontal ? {} : { horizontal: horizontal }, props, themeProps, fallbackProps); }, getCurrentAxis: function(axis, horizontal) { return horizontal ? "x" === axis ? "y" : "x" : axis; }, reduceChildren: function(children, iteratee) { var parentProps = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, initialMemo = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : [], combine = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : function(memo, item) { return memo.concat(item); }, sharedProps = [ "data", "domain", "categories", "polar", "startAngle", "endAngle", "minDomain", "maxDomain", "horizontal" ], traverseChildren = function(childArray, names, parent) { return childArray.reduce(function(memo, child, index) { var childRole = child.type && child.type.role, childName = child.props.name || "".concat(childRole, "-").concat(names[index]); if (child.props && child.props.children) { var childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_2___default()(parentProps, sharedProps)), nestedChildren = child.type && "stack" === child.type.role && lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(child.type.getChildren) ? child.type.getChildren(childProps) : react__WEBPACK_IMPORTED_MODULE_6___default.a.Children.toArray(child.props.children).map(function(c) { var nestedChildProps = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_2___default()(childProps, sharedProps)); return react__WEBPACK_IMPORTED_MODULE_6___default.a.cloneElement(c, nestedChildProps); }), _childNames = nestedChildren.map(function(c, i) { return "".concat(childName, "-").concat(i); }), nestedResults = traverseChildren(nestedChildren, _childNames, child); memo = combine(memo, nestedResults); } else { var result = iteratee(child, childName, parent); result && (memo = combine(memo, result)); } return memo; }, initialMemo); }, childNames = children.map(function(c, i) { return i; }); return traverseChildren(children, childNames); }, isHorizontal: isHorizontal, isTooltip: isTooltip }; }, "../../victory-core/es/victory-util/immutable.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = { IMMUTABLE_ITERABLE: "@@__IMMUTABLE_ITERABLE__@@", IMMUTABLE_RECORD: "@@__IMMUTABLE_RECORD__@@", IMMUTABLE_LIST: "@@__IMMUTABLE_LIST__@@", IMMUTABLE_MAP: "@@__IMMUTABLE_MAP__@@", isImmutable: function(x) { return this.isIterable(x) || this.isRecord(x); }, isIterable: function(x) { return !!(x && x[this.IMMUTABLE_ITERABLE]); }, isRecord: function(x) { return !!(x && x[this.IMMUTABLE_RECORD]); }, isList: function(x) { return !!(x && x[this.IMMUTABLE_LIST]); }, isMap: function(x) { return !!(x && x[this.IMMUTABLE_MAP]); }, shallowToJS: function(x, whitelist) { var _this = this; return this.isIterable(x) ? x.reduce(function(prev, curr, key) { return whitelist && whitelist[key] && (curr = _this.shallowToJS(curr)), prev[key] = curr, prev; }, this.isList(x) ? [] : {}) : x; } }; }, "../../victory-core/es/victory-util/label-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__), _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"); function getLabelPlacement(props) { var labelComponent = props.labelComponent, labelPlacement = props.labelPlacement, polar = props.polar; return labelPlacement || labelComponent.props && labelComponent.props.labelPlacement || (polar ? "perpendicular" : "vertical"); } function getText(props, datum, index) { return void 0 !== (datum = datum || {}).label ? datum.label : Array.isArray(props.labels) ? props.labels[index] : props.labels; } function getPolarTextAnchor(props, degrees) { var labelPlacement = getLabelPlacement(props); return "perpendicular" === labelPlacement || "vertical" === labelPlacement && (90 === degrees || 270 === degrees) ? "middle" : degrees <= 90 || degrees > 270 ? "start" : "end"; } function getPolarVerticalAnchor(props, degrees) { var degrees1, labelPlacement = getLabelPlacement(props), orientation = (degrees1 = degrees) < 45 || degrees1 > 315 ? "right" : degrees1 >= 45 && degrees1 <= 135 ? "top" : degrees1 > 135 && degrees1 < 225 ? "left" : "bottom"; return "parallel" === labelPlacement || "left" === orientation || "right" === orientation ? "middle" : "top" === orientation ? "end" : "start"; } function getDegrees(props, datum) { var x = _helpers__WEBPACK_IMPORTED_MODULE_1__.default.getPoint(datum).x; return _helpers__WEBPACK_IMPORTED_MODULE_1__.default.radiansToDegrees(props.scale.x(x)) % 360; } __webpack_exports__.default = { getText: getText, getPolarTextAnchor: getPolarTextAnchor, getPolarVerticalAnchor: getPolarVerticalAnchor, getPolarAngle: function(props, baseAngle) { var labelPlacement = props.labelPlacement, datum = props.datum; if (!labelPlacement || "vertical" === labelPlacement) return 0; var degrees = void 0 !== baseAngle ? baseAngle % 360 : getDegrees(props, datum), angle = 0; return 0 === degrees || 180 === degrees ? angle = 90 : degrees > 0 && degrees < 180 ? angle = 90 - degrees : degrees > 180 && degrees < 360 && (angle = 270 - degrees), angle + (degrees > 90 && degrees < 180 || degrees > 270 ? 1 : -1) * ("perpendicular" === labelPlacement ? 0 : 90); }, getDegrees: getDegrees, getProps: function(props, index) { var props1, datum, style, horizontal, sign, labelStyle, props2, datum1, sign1, labelStyle1, props3, datum2, labelStyle2, scale = props.scale, data = props.data, style1 = props.style, horizontal1 = props.horizontal, polar = props.polar, width = props.width, height = props.height, theme = props.theme, labelComponent = props.labelComponent, datum3 = data[index], degrees = getDegrees(props, datum3), textAnchor = polar ? getPolarTextAnchor(props, degrees) : (datum = (datum = datum3) || {}, style = props.style, horizontal = props.horizontal, sign = datum._y >= 0 ? 1 : -1, labelStyle = style && style.labels || {}, datum.verticalAnchor || labelStyle.verticalAnchor ? datum.verticalAnchor || labelStyle.verticalAnchor : horizontal ? sign >= 0 ? "start" : "end" : "middle"), verticalAnchor = polar ? getPolarVerticalAnchor(props, degrees) : (sign1 = (datum1 = (datum1 = datum3) || {})._y >= 0 ? 1 : -1, labelStyle1 = props.style && props.style.labels || {}, datum1.verticalAnchor || labelStyle1.verticalAnchor ? datum1.verticalAnchor || labelStyle1.verticalAnchor : props.horizontal ? "middle" : sign1 >= 0 ? "end" : "start"), angle = (datum2 = (datum2 = datum3) || {}, labelStyle2 = props.style && props.style.labels || {}, void 0 === datum2.angle ? labelStyle2.angle : datum2.angle), text = getText(props, datum3, index), labelPlacement = getLabelPlacement(props), _getPosition = function(props, datum) { var props1, datum1, style, degrees, labelStyle, padding, angle, polar = props.polar, _Helpers$scalePoint = _helpers__WEBPACK_IMPORTED_MODULE_1__.default.scalePoint(props, datum), x = _Helpers$scalePoint.x, y = _Helpers$scalePoint.y; if (!polar) return { x: x, y: y }; var polarPadding = (props1 = props, datum1 = datum, style = props1.style, degrees = getDegrees(props1, datum1), labelStyle = style.labels || {}, padding = _helpers__WEBPACK_IMPORTED_MODULE_1__.default.evaluateProp(labelStyle.padding, props1) || 0, { x: padding * Math.cos(angle = _helpers__WEBPACK_IMPORTED_MODULE_1__.default.degreesToRadians(degrees)), y: -padding * Math.sin(angle) }); return { x: x + polarPadding.x, y: y + polarPadding.y }; }(props, datum3), x = _getPosition.x, y = _getPosition.y, _getOffset = function(props, datum) { if (props.polar) return {}; var props1, datum1, horizontal, labelStyle, defaultPadding, sign, padding = (datum1 = (datum1 = datum) || {}, horizontal = props.horizontal, labelStyle = props.style.labels || {}, defaultPadding = _helpers__WEBPACK_IMPORTED_MODULE_1__.default.evaluateProp(labelStyle.padding, props) || 0, sign = datum1._y < 0 ? -1 : 1, { x: horizontal ? sign * defaultPadding : 0, y: horizontal ? 0 : -1 * sign * defaultPadding }); return { dx: padding.x, dy: padding.y }; }(props, datum3), dx = _getOffset.dx, dy = _getOffset.dy, labelProps = { angle: angle, data: data, datum: datum3, horizontal: horizontal1, index: index, polar: polar, scale: scale, labelPlacement: labelPlacement, text: text, textAnchor: textAnchor, verticalAnchor: verticalAnchor, x: x, y: y, dx: dx, dy: dy, width: width, height: height, style: style1.labels }; if (!_helpers__WEBPACK_IMPORTED_MODULE_1__.default.isTooltip(labelComponent)) return labelProps; var tooltipTheme = theme && theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, labelProps, _helpers__WEBPACK_IMPORTED_MODULE_1__.default.omit(tooltipTheme, [ "style" ])); } }; }, "../../victory-core/es/victory-util/log.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = { warn: function(message) { console && console.warn && console.warn(message); } }; }, "../../victory-core/es/victory-util/prop-types.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isRegExp.js"), lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__), lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/find.js"), lodash_find__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__), _log__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/log.js"), prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__), makeChainable = function(validator) { var _chainable = function(isRequired, props, propName, componentName) { var value = props[propName]; if (null == value) return isRequired ? Error("Required `".concat(propName, "` was not specified in `").concat(componentName, "`.")) : null; for(var _len = arguments.length, rest = Array(_len > 4 ? _len - 4 : 0), _key = 4; _key < _len; _key++)rest[_key - 4] = arguments[_key]; return validator.apply(void 0, [ props, propName, componentName ].concat(rest)); }, chainable = _chainable.bind(null, !1); return chainable.isRequired = _chainable.bind(null, !0), chainable; }, nullConstructor = function() { return null; }, undefinedConstructor = function() {}, getConstructor = function(value) { return void 0 === value ? undefinedConstructor : null === value ? nullConstructor : value.constructor; }, getConstructorName = function(value) { return void 0 === value ? "undefined" : null === value ? "null" : Object.prototype.toString.call(value).slice(8, -1); }; __webpack_exports__.default = { deprecated: function(propType, explanation) { return function(props, propName, componentName) { var obj, key, value, value1 = props[propName]; return null != value1 && _log__WEBPACK_IMPORTED_MODULE_3__.default.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation)), prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.checkPropTypes((propName in (obj = {}) ? Object.defineProperty(obj, propName, { value: propType, enumerable: !0, configurable: !0, writable: !0 }) : obj[propName] = propType, obj), props, propName, componentName); }; }, allOfType: function(validators) { return makeChainable(function(props, propName, componentName) { for(var _len2 = arguments.length, rest = Array(_len2 > 3 ? _len2 - 3 : 0), _key2 = 3; _key2 < _len2; _key2++)rest[_key2 - 3] = arguments[_key2]; return validators.reduce(function(result, validator) { return result || validator.apply(void 0, [ props, propName, componentName ].concat(rest)); }, void 0); }); }, nonNegative: makeChainable(function(props, propName, componentName) { var value = props[propName]; if ("number" != typeof value || value < 0) return Error("`".concat(propName, "` in `").concat(componentName, "` must be a non-negative number.")); }), integer: makeChainable(function(props, propName, componentName) { var value = props[propName]; if ("number" != typeof value || value % 1 != 0) return Error("`".concat(propName, "` in `").concat(componentName, "` must be an integer.")); }), greaterThanZero: makeChainable(function(props, propName, componentName) { var value = props[propName]; if ("number" != typeof value || value <= 0) return Error("`".concat(propName, "` in `").concat(componentName, "` must be a number greater than zero.")); }), domain: makeChainable(function(props, propName, componentName) { var value = props[propName]; if (!Array.isArray(value) || 2 !== value.length || value[1] === value[0]) return Error("`".concat(propName, "` in `").concat(componentName, "` must be an array of two unique numeric values.")); }), scale: makeChainable(function(props, propName, componentName) { var scl; if (scl = props[propName], lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl) ? !(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.copy) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.domain) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(scl.range)) : "string" != typeof scl || -1 === [ "linear", "time", "log", "sqrt" ].indexOf(scl)) return Error("`".concat(propName, "` in `").concat(componentName, "` must be a d3 scale.")); }), homogeneousArray: makeChainable(function(props, propName, componentName) { var values = props[propName]; if (!Array.isArray(values)) return Error("`".concat(propName, "` in `").concat(componentName, "` must be an array.")); if (!(values.length < 2)) { var comparisonConstructor = getConstructor(values[0]), typeMismatchedValue = lodash_find__WEBPACK_IMPORTED_MODULE_1___default()(values, function(value) { return comparisonConstructor !== getConstructor(value); }); if (typeMismatchedValue) { var constructorName = getConstructorName(values[0]), otherConstructorName = getConstructorName(typeMismatchedValue); return Error("Expected `".concat(propName, "` in `").concat(componentName, "` to be a ") + "homogeneous array, but found types `".concat(constructorName, "` and ") + "`".concat(otherConstructorName, "`.")); } } }), matchDataLength: makeChainable(function(props, propName) { if (props[propName] && Array.isArray(props[propName]) && props[propName].length !== props.data.length) return Error("Length of data and ".concat(propName, " arrays must match.")); }), regExp: makeChainable(function(props, propName, componentName) { if (props[propName] && !lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default()(props[propName])) return Error("`".concat(propName, "` in `").concat(componentName, "` must be a regular expression.")); }) }; }, "../../victory-core/es/victory-util/scale.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_2__), _helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _collection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"), d3_scale__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-scale/index.js"), supportedScaleStrings = [ "linear", "time", "log", "sqrt" ]; function toNewName(scale) { var s; return "scale".concat(scale && scale[0].toUpperCase() + scale.slice(1)); } function validScale(scale) { return "function" == typeof scale ? lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale.copy) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale.domain) && lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale.range) : "string" == typeof scale && lodash_includes__WEBPACK_IMPORTED_MODULE_2___default()(supportedScaleStrings, scale); } function isScaleDefined(props, axis) { return !!props.scale && (!props.scale.x && !props.scale.y || !!props.scale[axis]); } function getScaleTypeFromData(props, axis) { if (!props.data) return "linear"; var accessor = _helpers__WEBPACK_IMPORTED_MODULE_3__.default.createAccessor(props[axis]), axisData = props.data.map(function(datum) { var processedData = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(accessor(datum)) ? accessor(datum)[axis] : accessor(datum); return void 0 !== processedData ? processedData : datum[axis]; }); return _collection__WEBPACK_IMPORTED_MODULE_4__.default.containsDates(axisData) ? "time" : "linear"; } function getScaleFromName(name) { return validScale(name) ? d3_scale__WEBPACK_IMPORTED_MODULE_5__[toNewName(name)]() : d3_scale__WEBPACK_IMPORTED_MODULE_5__.scaleLinear(); } function getScaleFromProps(props, axis) { if (isScaleDefined(props, axis)) { var scale = props.scale[axis] || props.scale; if (validScale(scale)) return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(scale) ? scale : d3_scale__WEBPACK_IMPORTED_MODULE_5__[toNewName(scale)](); } } function getType(scale) { if ("string" == typeof scale) return scale; var scaleType = [ { name: "log", method: "base" }, { name: "ordinal", method: "unknown" }, { name: "pow-sqrt", method: "exponent" }, { name: "quantile", method: "quantiles" }, { name: "quantize-threshold", method: "invertExtent" } ].filter(function(type) { return void 0 !== scale[type.method]; })[0]; return scaleType ? scaleType.name : void 0; } __webpack_exports__.default = { getBaseScale: function(props, axis) { var scale = getScaleFromProps(props, axis); return scale ? "string" == typeof scale ? getScaleFromName(scale) : scale : d3_scale__WEBPACK_IMPORTED_MODULE_5__[toNewName(function(props, axis) { var domain; if (props.domain && props.domain[axis] ? domain = props.domain[axis] : props.domain && Array.isArray(props.domain) && (domain = props.domain), domain) return _collection__WEBPACK_IMPORTED_MODULE_4__.default.containsDates(domain) ? "time" : "linear"; }(props, axis) || getScaleTypeFromData(props, axis))](); }, getDefaultScale: function() { return d3_scale__WEBPACK_IMPORTED_MODULE_5__.scaleLinear(); }, getScaleFromProps: getScaleFromProps, getScaleType: function(props, axis) { return function(props, axis) { if (isScaleDefined(props, axis)) { var scale = props.scale[axis] || props.scale; return "string" == typeof scale ? scale : getType(scale); } }(props, axis) || getScaleTypeFromData(props, axis); }, getType: getType, getScaleFromName: getScaleFromName }; }, "../../victory-core/es/victory-util/selection.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _collection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"); function transformTarget(target, matrix, dimension) { var a = matrix.a, d = matrix.d, e = matrix.e, f = matrix.f; return "y" === dimension ? d * target + f : a * target + e; } function getParentSVG(evt) { if (!evt.nativeEvent || void 0 === evt.nativeEvent.identifier) { var getParent = function(target) { return "svg" === target.nodeName ? target : target.parentNode ? getParent(target.parentNode) : target; }; return getParent(evt.target); } } function getDataCoordinates(props, scale, x, y) { var polar = props.polar, horizontal = props.horizontal; if (!polar) return { x: horizontal ? scale.x.invert(y) : scale.x.invert(x), y: horizontal ? scale.y.invert(x) : scale.y.invert(y) }; var origin = props.origin || { x: 0, y: 0 }, baseX = x - origin.x, baseY = y - origin.y; return { x: scale.x.invert((-Math.atan2(baseY, baseX) + 2 * Math.PI) % (2 * Math.PI)), y: scale.y.invert(Math.abs(baseX * Math.sqrt(1 + Math.pow(-baseY / baseX, 2)))) }; } __webpack_exports__.default = { getParentSVG: getParentSVG, getSVGEventCoordinates: function(evt, svg) { if (evt.nativeEvent && void 0 !== evt.nativeEvent.identifier) return { x: evt.nativeEvent.locationX, y: evt.nativeEvent.locationY }; evt = evt.changedTouches && evt.changedTouches.length ? evt.changedTouches[0] : evt; var matrix = (svg = svg || getParentSVG(evt)).getScreenCTM().inverse(); return { x: transformTarget(evt.clientX, matrix, "x"), y: transformTarget(evt.clientY, matrix, "y") }; }, getDomainCoordinates: function(props, domain) { var scale = props.scale, horizontal = props.horizontal; return domain = domain || { x: scale.x.domain(), y: scale.y.domain() }, { x: horizontal ? [ scale.y(domain.y[0]), scale.y(domain.y[1]) ] : [ scale.x(domain.x[0]), scale.x(domain.x[1]) ], y: horizontal ? [ scale.x(domain.x[0]), scale.x(domain.x[1]) ] : [ scale.y(domain.y[0]), scale.y(domain.y[1]) ] }; }, getDataCoordinates: getDataCoordinates, getBounds: function(props) { var x1 = props.x1, x2 = props.x2, y1 = props.y1, y2 = props.y2, scale = props.scale, point1 = getDataCoordinates(props, scale, x1, y1), point2 = getDataCoordinates(props, scale, x2, y2), makeBound = function(a, b) { return [ _collection__WEBPACK_IMPORTED_MODULE_0__.default.getMinValue([ a, b ]), _collection__WEBPACK_IMPORTED_MODULE_0__.default.getMaxValue([ a, b ]) ]; }; return { x: makeBound(point1.x, point2.x), y: makeBound(point1.y, point2.y) }; } }; }, "../../victory-core/es/victory-util/style.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var toTransformString = function(obj) { for(var _len = arguments.length, more = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)more[_key - 1] = arguments[_key]; if (more.length > 0) return more.reduce(function(memo, currentObj) { return [ memo, toTransformString(currentObj) ].join(" "); }, toTransformString(obj)).trim(); if (null == obj || "string" == typeof obj) return obj; var transforms = []; for(var key in obj)if (obj.hasOwnProperty(key)) { var value = obj[key]; transforms.push("".concat(key, "(").concat(value, ")")); } return transforms.join(" ").trim(); }; __webpack_exports__.default = { toTransformString: toTransformString, getColorScale: function(name) { var scales = { grayscale: [ "#cccccc", "#969696", "#636363", "#252525" ], qualitative: [ "#334D5C", "#45B29D", "#EFC94C", "#E27A3F", "#DF5A49", "#4F7DA1", "#55DBC1", "#EFDA97", "#E2A37F", "#DF948A" ], heatmap: [ "#428517", "#77D200", "#D6D305", "#EC8E19", "#C92B05" ], warm: [ "#940031", "#C43343", "#DC5429", "#FF821D", "#FFAF55" ], cool: [ "#2746B9", "#0B69D4", "#2794DB", "#31BB76", "#60E83B" ], red: [ "#FCAE91", "#FB6A4A", "#DE2D26", "#A50F15", "#750B0E" ], blue: [ "#002C61", "#004B8F", "#006BC9", "#3795E5", "#65B4F4" ], green: [ "#354722", "#466631", "#649146", "#8AB25C", "#A9C97E" ] }; return name ? scales[name] : scales.grayscale; } }; }, "../../victory-core/es/victory-util/textsize.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), fonts = { "American Typewriter": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.25, 0.4203125, 0.3296875, 0.6, 0.6375, 0.8015625, 0.8203125, 0.1875, 0.45625, 0.45625, 0.6375, 0.5, 0.2734375, 0.309375, 0.2734375, 0.4390625, 0.6375, 0.6375, 0.6375, 0.6375, 0.6375, 0.6375, 0.6375, 0.6375, 0.6375, 0.6375, 0.2734375, 0.2734375, 0.5, 0.5, 0.5, 0.6, 0.6921875, 0.7640625, 0.6921875, 0.6375, 0.728125, 0.6734375, 0.6203125, 0.7109375, 0.784375, 0.3828125, 0.6421875, 0.7859375, 0.6375, 0.9484375, 0.7640625, 0.65625, 0.6375, 0.65625, 0.7296875, 0.6203125, 0.6375, 0.7109375, 0.740625, 0.940625, 0.784375, 0.7578125, 0.6203125, 0.4375, 0.5, 0.4375, 0.5, 0.5, 0.4921875, 0.5734375, 0.5890625, 0.5109375, 0.6, 0.528125, 0.43125, 0.5578125, 0.6375, 0.3109375, 0.40625, 0.6234375, 0.309375, 0.928125, 0.6375, 0.546875, 0.6, 0.58125, 0.4921875, 0.4921875, 0.4, 0.6203125, 0.625, 0.825, 0.6375, 0.640625, 0.528125, 0.5, 0.5, 0.5, 0.6671875 ], avg: 0.5793421052631578 }, Arial: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.278125, 0.278125, 0.35625, 0.55625, 0.55625, 0.890625, 0.6671875, 0.1921875, 0.334375, 0.334375, 0.390625, 0.584375, 0.278125, 0.334375, 0.278125, 0.278125, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.278125, 0.278125, 0.584375, 0.584375, 0.584375, 0.55625, 1.015625, 0.6703125, 0.6671875, 0.7234375, 0.7234375, 0.6671875, 0.6109375, 0.778125, 0.7234375, 0.278125, 0.5, 0.6671875, 0.55625, 0.834375, 0.7234375, 0.778125, 0.6671875, 0.778125, 0.7234375, 0.6671875, 0.6109375, 0.7234375, 0.6671875, 0.9453125, 0.6671875, 0.6671875, 0.6109375, 0.278125, 0.278125, 0.278125, 0.4703125, 0.584375, 0.334375, 0.55625, 0.55625, 0.5, 0.55625, 0.55625, 0.3125, 0.55625, 0.55625, 0.2234375, 0.2703125, 0.5, 0.2234375, 0.834375, 0.55625, 0.55625, 0.55625, 0.55625, 0.346875, 0.5, 0.278125, 0.55625, 0.5, 0.7234375, 0.5, 0.5, 0.5, 0.334375, 0.2609375, 0.334375, 0.584375 ], avg: 0.528733552631579 }, "Arial Black": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.33125, 0.334375, 0.5, 0.6609375, 0.6671875, 1, 0.890625, 0.278125, 0.390625, 0.390625, 0.55625, 0.6609375, 0.334375, 0.334375, 0.334375, 0.28125, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.334375, 0.334375, 0.6609375, 0.6609375, 0.6609375, 0.6109375, 0.7453125, 0.78125, 0.778125, 0.778125, 0.778125, 0.7234375, 0.6671875, 0.834375, 0.834375, 0.390625, 0.6671875, 0.834375, 0.6671875, 0.9453125, 0.834375, 0.834375, 0.7234375, 0.834375, 0.78125, 0.7234375, 0.7234375, 0.834375, 0.7796875, 1.003125, 0.78125, 0.78125, 0.7234375, 0.390625, 0.28125, 0.390625, 0.6609375, 0.5125, 0.334375, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.41875, 0.6671875, 0.6671875, 0.334375, 0.384375, 0.6671875, 0.334375, 1, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.4703125, 0.6109375, 0.4453125, 0.6671875, 0.6140625, 0.946875, 0.6671875, 0.615625, 0.55625, 0.390625, 0.278125, 0.390625, 0.6609375 ], avg: 0.6213157894736842 }, Baskerville: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.25, 0.25, 0.40625, 0.6671875, 0.490625, 0.875, 0.7015625, 0.178125, 0.2453125, 0.246875, 0.4171875, 0.6671875, 0.25, 0.3125, 0.25, 0.521875, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.25, 0.25, 0.6671875, 0.6671875, 0.6671875, 0.396875, 0.9171875, 0.684375, 0.615625, 0.71875, 0.7609375, 0.625, 0.553125, 0.771875, 0.803125, 0.3546875, 0.515625, 0.78125, 0.6046875, 0.928125, 0.75, 0.8234375, 0.5625, 0.96875, 0.7296875, 0.5421875, 0.6984375, 0.771875, 0.7296875, 0.9484375, 0.771875, 0.678125, 0.6359375, 0.3640625, 0.521875, 0.3640625, 0.46875, 0.5125, 0.334375, 0.46875, 0.521875, 0.428125, 0.521875, 0.4375, 0.3890625, 0.4765625, 0.53125, 0.25, 0.359375, 0.4640625, 0.240625, 0.803125, 0.53125, 0.5, 0.521875, 0.521875, 0.365625, 0.334375, 0.2921875, 0.521875, 0.4640625, 0.678125, 0.4796875, 0.465625, 0.428125, 0.4796875, 0.5109375, 0.4796875, 0.6671875 ], avg: 0.5323519736842108 }, Courier: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5984375, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6078125, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.61875, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.615625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6140625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625 ], avg: 0.6020559210526316 }, "Courier New": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5984375, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625 ], avg: 0.6015296052631579 }, cursive: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.1921875, 0.24375, 0.40625, 0.5671875, 0.3984375, 0.721875, 0.909375, 0.2328125, 0.434375, 0.365625, 0.4734375, 0.5578125, 0.19375, 0.3484375, 0.19375, 0.7734375, 0.503125, 0.4171875, 0.5453125, 0.45, 0.6046875, 0.4703125, 0.5984375, 0.55625, 0.503125, 0.5546875, 0.20625, 0.2, 0.5625, 0.5546875, 0.546875, 0.403125, 0.70625, 0.734375, 0.7078125, 0.64375, 0.85, 0.753125, 0.75, 0.6484375, 1.0765625, 0.44375, 0.5359375, 0.8359375, 0.653125, 1.0109375, 1.1515625, 0.6796875, 0.6984375, 1.0625, 0.8234375, 0.5125, 0.9234375, 0.8546875, 0.70625, 0.9109375, 0.7421875, 0.715625, 0.6015625, 0.4640625, 0.3359375, 0.4109375, 0.5421875, 0.5421875, 0.4328125, 0.5125, 0.5, 0.3859375, 0.7375, 0.359375, 0.75625, 0.540625, 0.5328125, 0.3203125, 0.5296875, 0.5015625, 0.484375, 0.7890625, 0.5640625, 0.4203125, 0.703125, 0.471875, 0.4734375, 0.35, 0.4125, 0.5640625, 0.471875, 0.6484375, 0.5296875, 0.575, 0.4140625, 0.415625, 0.20625, 0.3796875, 0.5421875 ], avg: 0.5604440789473684 }, fantasy: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.215625, 0.2625, 0.3265625, 0.6109375, 0.534375, 0.7625, 0.7828125, 0.2, 0.4359375, 0.4359375, 0.3765625, 0.5109375, 0.2796875, 0.4609375, 0.2796875, 0.5296875, 0.6640625, 0.253125, 0.521875, 0.4765625, 0.6640625, 0.490625, 0.528125, 0.5546875, 0.496875, 0.5421875, 0.2796875, 0.2796875, 0.5625, 0.4609375, 0.5625, 0.4828125, 0.609375, 0.740625, 0.7234375, 0.740625, 0.8265625, 0.7234375, 0.6171875, 0.7359375, 0.765625, 0.240625, 0.5453125, 0.715625, 0.6078125, 0.8640625, 0.653125, 0.9125, 0.6484375, 0.946875, 0.6921875, 0.653125, 0.6953125, 0.8015625, 0.58125, 0.784375, 0.671875, 0.6265625, 0.690625, 0.4359375, 0.5296875, 0.4359375, 0.53125, 0.5, 0.2875, 0.5375, 0.603125, 0.4984375, 0.60625, 0.53125, 0.434375, 0.6421875, 0.56875, 0.209375, 0.4671875, 0.5484375, 0.2203125, 0.709375, 0.55, 0.5984375, 0.6140625, 0.5765625, 0.40625, 0.4734375, 0.3734375, 0.559375, 0.4421875, 0.6421875, 0.4890625, 0.578125, 0.4484375, 0.2546875, 0.2203125, 0.2546875, 0.55 ], avg: 0.536496710526316 }, Geneva: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.3328125, 0.3046875, 0.5, 0.6671875, 0.6671875, 0.90625, 0.728125, 0.3046875, 0.446875, 0.446875, 0.5078125, 0.6671875, 0.3046875, 0.3796875, 0.3046875, 0.5390625, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.6671875, 0.3046875, 0.3046875, 0.6671875, 0.6671875, 0.6671875, 0.56875, 0.871875, 0.728125, 0.6375, 0.6515625, 0.7015625, 0.5765625, 0.5546875, 0.675, 0.690625, 0.2421875, 0.4921875, 0.6640625, 0.584375, 0.7890625, 0.709375, 0.7359375, 0.584375, 0.78125, 0.60625, 0.60625, 0.640625, 0.6671875, 0.728125, 0.946875, 0.6109375, 0.6109375, 0.5765625, 0.446875, 0.5390625, 0.446875, 0.6671875, 0.6671875, 0.5921875, 0.5546875, 0.6109375, 0.546875, 0.603125, 0.5765625, 0.390625, 0.6109375, 0.584375, 0.2359375, 0.334375, 0.5390625, 0.2359375, 0.8953125, 0.584375, 0.60625, 0.603125, 0.603125, 0.3875, 0.509375, 0.44375, 0.584375, 0.565625, 0.78125, 0.53125, 0.571875, 0.5546875, 0.4515625, 0.246875, 0.4515625, 0.6671875 ], avg: 0.5762664473684211 }, Georgia: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2421875, 0.33125, 0.4125, 0.64375, 0.6109375, 0.81875, 0.7109375, 0.215625, 0.375, 0.375, 0.4734375, 0.64375, 0.2703125, 0.375, 0.2703125, 0.46875, 0.6140625, 0.4296875, 0.559375, 0.553125, 0.565625, 0.5296875, 0.5671875, 0.503125, 0.596875, 0.5671875, 0.3125, 0.3125, 0.64375, 0.64375, 0.64375, 0.4796875, 0.9296875, 0.715625, 0.6546875, 0.6421875, 0.75, 0.6546875, 0.6, 0.7265625, 0.815625, 0.390625, 0.51875, 0.7203125, 0.6046875, 0.928125, 0.7671875, 0.7453125, 0.6109375, 0.7453125, 0.7234375, 0.5625, 0.61875, 0.7578125, 0.70625, 0.99375, 0.7125, 0.6640625, 0.6015625, 0.375, 0.46875, 0.375, 0.64375, 0.65, 0.5, 0.5046875, 0.56875, 0.4546875, 0.575, 0.484375, 0.39375, 0.509375, 0.5828125, 0.29375, 0.3671875, 0.546875, 0.2875, 0.88125, 0.5921875, 0.5390625, 0.571875, 0.5640625, 0.4109375, 0.4328125, 0.3453125, 0.5765625, 0.5203125, 0.75625, 0.50625, 0.5171875, 0.4453125, 0.43125, 0.375, 0.43125, 0.64375 ], avg: 0.5551809210526316 }, "Gill Sans": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2765625, 0.271875, 0.3546875, 0.584375, 0.5421875, 0.6765625, 0.625, 0.1890625, 0.3234375, 0.3234375, 0.4171875, 0.584375, 0.2203125, 0.3234375, 0.2203125, 0.28125, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.2203125, 0.2296875, 0.584375, 0.584375, 0.584375, 0.334375, 1.0109375, 0.6671875, 0.5640625, 0.709375, 0.75, 0.5, 0.4703125, 0.740625, 0.7296875, 0.25, 0.3125, 0.65625, 0.490625, 0.78125, 0.78125, 0.8234375, 0.5109375, 0.8234375, 0.6046875, 0.459375, 0.6046875, 0.709375, 0.6046875, 1.0421875, 0.709375, 0.6046875, 0.646875, 0.334375, 0.28125, 0.334375, 0.4703125, 0.5828125, 0.334375, 0.428125, 0.5, 0.4390625, 0.5109375, 0.4796875, 0.296875, 0.428125, 0.5, 0.2203125, 0.2265625, 0.5, 0.2203125, 0.771875, 0.5, 0.553125, 0.5, 0.5, 0.3984375, 0.3859375, 0.334375, 0.5, 0.4390625, 0.7203125, 0.5, 0.4390625, 0.4171875, 0.334375, 0.2609375, 0.334375, 0.584375 ], avg: 0.4933717105263159 }, Helvetica: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2796875, 0.2765625, 0.3546875, 0.5546875, 0.5546875, 0.8890625, 0.665625, 0.190625, 0.3328125, 0.3328125, 0.3890625, 0.5828125, 0.2765625, 0.3328125, 0.2765625, 0.3015625, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.2765625, 0.2765625, 0.584375, 0.5828125, 0.584375, 0.5546875, 1.0140625, 0.665625, 0.665625, 0.721875, 0.721875, 0.665625, 0.609375, 0.7765625, 0.721875, 0.2765625, 0.5, 0.665625, 0.5546875, 0.8328125, 0.721875, 0.7765625, 0.665625, 0.7765625, 0.721875, 0.665625, 0.609375, 0.721875, 0.665625, 0.94375, 0.665625, 0.665625, 0.609375, 0.2765625, 0.3546875, 0.2765625, 0.4765625, 0.5546875, 0.3328125, 0.5546875, 0.5546875, 0.5, 0.5546875, 0.5546875, 0.2765625, 0.5546875, 0.5546875, 0.221875, 0.240625, 0.5, 0.221875, 0.8328125, 0.5546875, 0.5546875, 0.5546875, 0.5546875, 0.3328125, 0.5, 0.2765625, 0.5546875, 0.5, 0.721875, 0.5, 0.5, 0.5, 0.3546875, 0.259375, 0.353125, 0.5890625 ], avg: 0.5279276315789471 }, "Helvetica Neue": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.278125, 0.259375, 0.4265625, 0.55625, 0.55625, 1, 0.6453125, 0.278125, 0.2703125, 0.26875, 0.353125, 0.6, 0.278125, 0.3890625, 0.278125, 0.36875, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.278125, 0.278125, 0.6, 0.6, 0.6, 0.55625, 0.8, 0.6625, 0.6859375, 0.7234375, 0.7046875, 0.6125, 0.575, 0.759375, 0.7234375, 0.259375, 0.5203125, 0.6703125, 0.55625, 0.871875, 0.7234375, 0.7609375, 0.6484375, 0.7609375, 0.6859375, 0.6484375, 0.575, 0.7234375, 0.6140625, 0.9265625, 0.6125, 0.6484375, 0.6125, 0.259375, 0.36875, 0.259375, 0.6, 0.5, 0.25625, 0.5375, 0.59375, 0.5375, 0.59375, 0.5375, 0.2984375, 0.575, 0.55625, 0.2234375, 0.2375, 0.5203125, 0.2234375, 0.853125, 0.55625, 0.575, 0.59375, 0.59375, 0.334375, 0.5, 0.315625, 0.55625, 0.5, 0.759375, 0.51875, 0.5, 0.48125, 0.334375, 0.2234375, 0.334375, 0.6 ], avg: 0.5279440789473684 }, "Hoefler Text": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2359375, 0.2234375, 0.3921875, 0.7125, 0.49375, 0.8859375, 0.771875, 0.2125, 0.3078125, 0.309375, 0.375, 0.4234375, 0.234375, 0.3125, 0.234375, 0.3, 0.5828125, 0.365625, 0.434375, 0.3921875, 0.5234375, 0.3984375, 0.5125, 0.4328125, 0.46875, 0.5125, 0.234375, 0.234375, 0.515625, 0.4234375, 0.515625, 0.340625, 0.7609375, 0.7359375, 0.6359375, 0.721875, 0.8125, 0.6375, 0.5875, 0.8078125, 0.853125, 0.4296875, 0.503125, 0.78125, 0.609375, 0.9609375, 0.8515625, 0.8140625, 0.6125, 0.8140625, 0.71875, 0.49375, 0.7125, 0.76875, 0.771875, 1.125, 0.7765625, 0.7734375, 0.65625, 0.321875, 0.3078125, 0.321875, 0.3546875, 0.5, 0.3375, 0.446875, 0.5359375, 0.45, 0.5296875, 0.4546875, 0.425, 0.4921875, 0.54375, 0.2671875, 0.240625, 0.5390625, 0.25, 0.815625, 0.5375, 0.5234375, 0.5390625, 0.5421875, 0.365625, 0.36875, 0.35625, 0.5171875, 0.5015625, 0.75, 0.5, 0.509375, 0.44375, 0.2421875, 0.14375, 0.2421875, 0.35 ], avg: 0.5116447368421051 }, Montserrat: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2625, 0.2609375, 0.3734375, 0.696875, 0.615625, 0.8296875, 0.6703125, 0.203125, 0.3296875, 0.3296875, 0.3875, 0.575, 0.2125, 0.3828125, 0.2125, 0.3953125, 0.6625, 0.3625, 0.56875, 0.5640625, 0.6625, 0.5671875, 0.609375, 0.5890625, 0.6390625, 0.609375, 0.2125, 0.2125, 0.575, 0.575, 0.575, 0.5671875, 1.034375, 0.7171875, 0.7546875, 0.7203125, 0.8265625, 0.6703125, 0.634375, 0.7734375, 0.8140625, 0.303125, 0.5078125, 0.7125, 0.5890625, 0.95625, 0.8140625, 0.8390625, 0.71875, 0.8390625, 0.7234375, 0.615625, 0.575, 0.7921875, 0.6984375, 1.1125, 0.65625, 0.6359375, 0.6515625, 0.31875, 0.396875, 0.31875, 0.5765625, 0.5, 0.6, 0.590625, 0.678125, 0.5640625, 0.678125, 0.6046875, 0.375, 0.6875, 0.678125, 0.2703125, 0.365625, 0.6015625, 0.2703125, 1.0625, 0.678125, 0.628125, 0.678125, 0.678125, 0.4015625, 0.4890625, 0.40625, 0.6734375, 0.5421875, 0.8796875, 0.534375, 0.5671875, 0.5125, 0.334375, 0.2953125, 0.334375, 0.575 ], avg: 0.571792763157895 }, monospace: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5984375, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6078125, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.61875, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.615625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6140625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625, 0.6015625 ], avg: 0.6020559210526316 }, Overpass: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2296875, 0.2765625, 0.4203125, 0.68125, 0.584375, 0.8515625, 0.7015625, 0.2203125, 0.3453125, 0.3453125, 0.53125, 0.63125, 0.2234375, 0.3953125, 0.2234375, 0.509375, 0.65, 0.4046875, 0.6171875, 0.60625, 0.6484375, 0.60625, 0.6015625, 0.5375, 0.615625, 0.6015625, 0.2234375, 0.2234375, 0.63125, 0.63125, 0.63125, 0.5015625, 0.8203125, 0.696875, 0.6671875, 0.65, 0.6859375, 0.6015625, 0.559375, 0.690625, 0.7078125, 0.2953125, 0.565625, 0.678125, 0.58125, 0.8046875, 0.7109375, 0.740625, 0.6421875, 0.740625, 0.6765625, 0.6046875, 0.590625, 0.696875, 0.6640625, 0.853125, 0.65, 0.6671875, 0.6625, 0.3734375, 0.509375, 0.3734375, 0.63125, 0.5125, 0.4, 0.5328125, 0.5625, 0.51875, 0.5625, 0.546875, 0.3359375, 0.5625, 0.565625, 0.25625, 0.3203125, 0.55, 0.265625, 0.85, 0.565625, 0.5671875, 0.5625, 0.5625, 0.4046875, 0.4765625, 0.3796875, 0.565625, 0.521875, 0.7265625, 0.53125, 0.5390625, 0.5125, 0.3671875, 0.275, 0.3671875, 0.63125 ], avg: 0.5430756578947369 }, Palatino: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.25, 0.278125, 0.371875, 0.60625, 0.5, 0.840625, 0.778125, 0.209375, 0.334375, 0.334375, 0.390625, 0.60625, 0.2578125, 0.334375, 0.25, 0.60625, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.25, 0.25, 0.60625, 0.60625, 0.60625, 0.4453125, 0.7484375, 0.778125, 0.6109375, 0.709375, 0.775, 0.6109375, 0.55625, 0.7640625, 0.8328125, 0.3375, 0.346875, 0.7265625, 0.6109375, 0.946875, 0.83125, 0.7875, 0.6046875, 0.7875, 0.66875, 0.525, 0.6140625, 0.778125, 0.7234375, 1, 0.6671875, 0.6671875, 0.6671875, 0.334375, 0.60625, 0.334375, 0.60625, 0.5, 0.334375, 0.5, 0.565625, 0.4453125, 0.6109375, 0.4796875, 0.340625, 0.55625, 0.5828125, 0.2921875, 0.2671875, 0.5640625, 0.2921875, 0.8828125, 0.5828125, 0.546875, 0.6015625, 0.5609375, 0.3953125, 0.425, 0.3265625, 0.603125, 0.565625, 0.834375, 0.5171875, 0.55625, 0.5, 0.334375, 0.60625, 0.334375, 0.60625 ], avg: 0.5408552631578947 }, RedHatText: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2328125, 0.2203125, 0.35625, 0.6890625, 0.55, 0.7390625, 0.6703125, 0.2140625, 0.4015625, 0.4015625, 0.4546875, 0.53125, 0.2203125, 0.45625, 0.2203125, 0.515625, 0.6609375, 0.3078125, 0.5484375, 0.5875, 0.61875, 0.5703125, 0.6203125, 0.559375, 0.6140625, 0.6203125, 0.2203125, 0.2234375, 0.465625, 0.534375, 0.465625, 0.5125, 0.7671875, 0.6609375, 0.6703125, 0.7265625, 0.728125, 0.6203125, 0.6109375, 0.8, 0.73125, 0.253125, 0.6, 0.6125, 0.6078125, 0.8625, 0.7390625, 0.8109375, 0.6546875, 0.809375, 0.6484375, 0.6234375, 0.6171875, 0.7125, 0.6609375, 0.8984375, 0.6546875, 0.646875, 0.60625, 0.3625, 0.5203125, 0.3625, 0.540625, 0.4609375, 0.5234375, 0.5265625, 0.584375, 0.509375, 0.5828125, 0.5578125, 0.3703125, 0.5828125, 0.553125, 0.2234375, 0.24375, 0.4890625, 0.2234375, 0.8453125, 0.553125, 0.58125, 0.584375, 0.5828125, 0.353125, 0.453125, 0.378125, 0.553125, 0.5015625, 0.6984375, 0.4875, 0.4984375, 0.459375, 0.3953125, 0.2921875, 0.3953125, 0.58125 ], avg: 0.5341940789473685 }, "sans-serif": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.278125, 0.278125, 0.35625, 0.55625, 0.55625, 0.890625, 0.6671875, 0.1921875, 0.334375, 0.334375, 0.390625, 0.584375, 0.278125, 0.334375, 0.278125, 0.303125, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.55625, 0.278125, 0.278125, 0.5859375, 0.584375, 0.5859375, 0.55625, 1.015625, 0.6671875, 0.6671875, 0.7234375, 0.7234375, 0.6671875, 0.6109375, 0.778125, 0.7234375, 0.278125, 0.5, 0.6671875, 0.55625, 0.834375, 0.7234375, 0.778125, 0.6671875, 0.778125, 0.7234375, 0.6671875, 0.6109375, 0.7234375, 0.6671875, 0.9453125, 0.6671875, 0.6671875, 0.6109375, 0.278125, 0.35625, 0.278125, 0.478125, 0.55625, 0.334375, 0.55625, 0.55625, 0.5, 0.55625, 0.55625, 0.278125, 0.55625, 0.55625, 0.2234375, 0.2421875, 0.5, 0.2234375, 0.834375, 0.55625, 0.55625, 0.55625, 0.55625, 0.334375, 0.5, 0.278125, 0.55625, 0.5, 0.7234375, 0.5, 0.5, 0.5, 0.35625, 0.2609375, 0.3546875, 0.590625 ], avg: 0.5293256578947368 }, Seravek: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.215625, 0.296875, 0.4171875, 0.6734375, 0.4953125, 0.9125, 0.740625, 0.2421875, 0.3375, 0.3375, 0.409375, 0.60625, 0.2609375, 0.35625, 0.25625, 0.41875, 0.5921875, 0.3515625, 0.475, 0.4875, 0.5375, 0.509375, 0.5484375, 0.4546875, 0.5421875, 0.5484375, 0.25625, 0.2546875, 0.5875, 0.6171875, 0.5875, 0.4578125, 0.8140625, 0.6765625, 0.5703125, 0.6109375, 0.684375, 0.5109375, 0.4953125, 0.678125, 0.6859375, 0.2625, 0.2625, 0.5859375, 0.4734375, 0.846875, 0.709375, 0.740625, 0.509375, 0.740625, 0.584375, 0.5015625, 0.528125, 0.675, 0.5953125, 0.9453125, 0.596875, 0.540625, 0.540625, 0.359375, 0.4203125, 0.359375, 0.5109375, 0.421875, 0.4046875, 0.5015625, 0.5421875, 0.446875, 0.5453125, 0.484375, 0.38125, 0.5140625, 0.5546875, 0.240625, 0.2640625, 0.490625, 0.2765625, 0.8625, 0.5546875, 0.546875, 0.5453125, 0.5453125, 0.3625, 0.41875, 0.3890625, 0.5453125, 0.4703125, 0.7546875, 0.4921875, 0.4609375, 0.453125, 0.4015625, 0.2640625, 0.4015625, 0.58125 ], avg: 0.5044078947368421 }, serif: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2484375, 0.334375, 0.409375, 0.5, 0.5, 0.834375, 0.778125, 0.18125, 0.334375, 0.334375, 0.5, 0.5640625, 0.25, 0.334375, 0.25, 0.278125, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.278125, 0.278125, 0.5640625, 0.5640625, 0.5640625, 0.4453125, 0.921875, 0.7234375, 0.6671875, 0.6671875, 0.7234375, 0.6109375, 0.55625, 0.7234375, 0.7234375, 0.334375, 0.390625, 0.7234375, 0.6109375, 0.890625, 0.7234375, 0.7234375, 0.55625, 0.7234375, 0.6671875, 0.55625, 0.6109375, 0.7234375, 0.7234375, 0.9453125, 0.7234375, 0.7234375, 0.6109375, 0.334375, 0.340625, 0.334375, 0.4703125, 0.5, 0.3453125, 0.4453125, 0.5, 0.4453125, 0.5, 0.4453125, 0.3828125, 0.5, 0.5, 0.278125, 0.3359375, 0.5, 0.278125, 0.778125, 0.5, 0.5, 0.5, 0.5, 0.3375, 0.390625, 0.2796875, 0.5, 0.5, 0.7234375, 0.5, 0.5, 0.4453125, 0.48125, 0.2015625, 0.48125, 0.5421875 ], avg: 0.5126315789473684 }, Tahoma: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.3109375, 0.3328125, 0.4015625, 0.728125, 0.546875, 0.9765625, 0.70625, 0.2109375, 0.3828125, 0.3828125, 0.546875, 0.728125, 0.303125, 0.3640625, 0.303125, 0.3953125, 0.546875, 0.546875, 0.546875, 0.546875, 0.546875, 0.546875, 0.546875, 0.546875, 0.546875, 0.546875, 0.3546875, 0.3546875, 0.728125, 0.728125, 0.728125, 0.475, 0.909375, 0.6109375, 0.590625, 0.6015625, 0.6796875, 0.5625, 0.521875, 0.66875, 0.6765625, 0.3734375, 0.4171875, 0.6046875, 0.4984375, 0.771875, 0.66875, 0.7078125, 0.5515625, 0.7078125, 0.6375, 0.5578125, 0.5875, 0.65625, 0.60625, 0.903125, 0.58125, 0.5890625, 0.559375, 0.3828125, 0.39375, 0.3828125, 0.728125, 0.5625, 0.546875, 0.525, 0.553125, 0.4625, 0.553125, 0.5265625, 0.3546875, 0.553125, 0.5578125, 0.2296875, 0.328125, 0.51875, 0.2296875, 0.840625, 0.5578125, 0.54375, 0.553125, 0.553125, 0.3609375, 0.446875, 0.3359375, 0.5578125, 0.4984375, 0.7421875, 0.4953125, 0.4984375, 0.4453125, 0.48125, 0.3828125, 0.48125, 0.728125 ], avg: 0.5384374999999998 }, "Times New Roman": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2484375, 0.334375, 0.409375, 0.5, 0.5, 0.834375, 0.778125, 0.18125, 0.334375, 0.334375, 0.5, 0.5640625, 0.25, 0.334375, 0.25, 0.28125, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.278125, 0.278125, 0.5640625, 0.5640625, 0.5640625, 0.4453125, 0.921875, 0.7234375, 0.6671875, 0.6671875, 0.7234375, 0.6109375, 0.55625, 0.7234375, 0.7234375, 0.334375, 0.390625, 0.73125, 0.6109375, 0.890625, 0.7375, 0.7234375, 0.55625, 0.7234375, 0.6765625, 0.55625, 0.6109375, 0.7234375, 0.7234375, 0.9453125, 0.7234375, 0.7234375, 0.6109375, 0.334375, 0.28125, 0.334375, 0.4703125, 0.51875, 0.334375, 0.4453125, 0.503125, 0.4453125, 0.503125, 0.4453125, 0.4359375, 0.5, 0.5, 0.278125, 0.35625, 0.50625, 0.278125, 0.778125, 0.5, 0.5, 0.5046875, 0.5, 0.340625, 0.390625, 0.2796875, 0.5, 0.5, 0.7234375, 0.5, 0.5, 0.4453125, 0.48125, 0.2015625, 0.48125, 0.5421875 ], avg: 0.5134375 }, "Trebuchet MS": { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.3015625, 0.3671875, 0.325, 0.53125, 0.525, 0.6015625, 0.70625, 0.1609375, 0.3671875, 0.3671875, 0.3671875, 0.525, 0.3671875, 0.3671875, 0.3671875, 0.525, 0.525, 0.525, 0.525, 0.525, 0.525, 0.525, 0.525, 0.525, 0.525, 0.525, 0.3671875, 0.3671875, 0.525, 0.525, 0.525, 0.3671875, 0.771875, 0.590625, 0.5671875, 0.5984375, 0.6140625, 0.5359375, 0.525, 0.6765625, 0.6546875, 0.2796875, 0.4765625, 0.5765625, 0.5078125, 0.7109375, 0.6390625, 0.675, 0.5578125, 0.7421875, 0.5828125, 0.48125, 0.58125, 0.6484375, 0.5875, 0.853125, 0.5578125, 0.5703125, 0.5515625, 0.3671875, 0.3578125, 0.3671875, 0.525, 0.53125, 0.525, 0.5265625, 0.5578125, 0.4953125, 0.5578125, 0.546875, 0.375, 0.503125, 0.546875, 0.2859375, 0.3671875, 0.5046875, 0.2953125, 0.83125, 0.546875, 0.5375, 0.5578125, 0.5578125, 0.3890625, 0.40625, 0.396875, 0.546875, 0.490625, 0.7453125, 0.5015625, 0.49375, 0.475, 0.3671875, 0.525, 0.3671875, 0.525 ], avg: 0.5085197368421052 }, Verdana: { widths: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.35, 0.39375, 0.459375, 0.81875, 0.6359375, 1.0765625, 0.759375, 0.26875, 0.4546875, 0.4546875, 0.6359375, 0.81875, 0.3640625, 0.4546875, 0.3640625, 0.4703125, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.6359375, 0.4546875, 0.4546875, 0.81875, 0.81875, 0.81875, 0.546875, 1, 0.684375, 0.6859375, 0.6984375, 0.771875, 0.6328125, 0.575, 0.7765625, 0.7515625, 0.421875, 0.4546875, 0.69375, 0.5578125, 0.84375, 0.7484375, 0.7875, 0.603125, 0.7875, 0.7, 0.684375, 0.6171875, 0.7328125, 0.684375, 0.9890625, 0.6859375, 0.615625, 0.6859375, 0.4546875, 0.46875, 0.4546875, 0.81875, 0.6421875, 0.6359375, 0.6015625, 0.6234375, 0.521875, 0.6234375, 0.596875, 0.384375, 0.6234375, 0.6328125, 0.275, 0.3765625, 0.5921875, 0.275, 0.9734375, 0.6328125, 0.6078125, 0.6234375, 0.6234375, 0.43125, 0.521875, 0.3953125, 0.6328125, 0.5921875, 0.81875, 0.5921875, 0.5921875, 0.5265625, 0.6359375, 0.4546875, 0.6359375, 0.81875 ], avg: 0.6171875000000003 } }, absoluteMeasurementUnitsToPixels = { mm: 3.8, sm: 38, pt: 1.33, pc: 16, in: 96, px: 1 }, relativeMeasurementUnitsCoef = { em: 1, ex: 0.5 }, coefficients = { heightOverlapCoef: 1.05, lineCapitalCoef: 1.15 }, defaultStyle = { lineHeight: 1, letterSpacing: "0px", fontSize: 0, angle: 0, fontFamily: "" }, _splitToLines = function(text) { return Array.isArray(text) ? text : text.toString().split(/\r\n|\r|\n/g); }, _getSizeWithRotate = function(axisSize, dependentSize, angle) { var angleInRadian = angle * Math.PI / 180; return Math.abs(Math.cos(angleInRadian) * axisSize) + Math.abs(Math.sin(angleInRadian) * dependentSize); }, convertLengthToPixels = function(length, fontSize) { var result, attribute = length.match(/[a-zA-Z%]+/) && length.match(/[a-zA-Z%]+/)[0], value = length.match(/[0-9.,]+/); return attribute ? absoluteMeasurementUnitsToPixels.hasOwnProperty(attribute) ? value * absoluteMeasurementUnitsToPixels[attribute] : relativeMeasurementUnitsCoef.hasOwnProperty(attribute) ? (fontSize ? value * fontSize : value * defaultStyle.fontSize) * relativeMeasurementUnitsCoef[attribute] : value : value || 0; }, _prepareParams = function(inputStyle, index) { var lineStyle = Array.isArray(inputStyle) ? inputStyle[index] : inputStyle, style = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, lineStyle, defaultStyle); return lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, style, { fontFamily: style.fontFamily, letterSpacing: "number" == typeof style.letterSpacing ? style.letterSpacing : convertLengthToPixels(String(style.letterSpacing), style.fontSize), fontSize: "number" == typeof style.fontSize ? style.fontSize : convertLengthToPixels(String(style.fontSize)) }); }, _approximateTextWidthInternal = function(text, style) { if (void 0 === text || "" === text || null === text) return 0; var arr, widths = _splitToLines(text).map(function(line, index) { var len = line.toString().length, _prepareParams2 = _prepareParams(style, index), fontSize = _prepareParams2.fontSize, letterSpacing = _prepareParams2.letterSpacing, fontData = fonts[_prepareParams2.fontFamily.split(",").map(function(f) { return f.replace(/'|"/g, ""); }).find(function(f) { return fonts[f]; }) || "Helvetica"]; return line.toString().split("").map(function(c) { return c.charCodeAt(0) < fontData.widths.length ? fontData.widths[c.charCodeAt(0)] : fontData.avg; }).reduce(function(cur, acc) { return acc + cur; }, 0) * fontSize + letterSpacing * Math.max(len - 1, 0); }); return Math.max.apply(Math, function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(widths) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(widths) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()); }, approximateTextSize = function(text, style) { var text1, style1, angle = Array.isArray(style) ? style[0] && style[0].angle : style && style.angle, height = void 0 === text || "" === text || null === text ? 0 : _splitToLines(text).reduce(function(total, line, index) { var lineStyle = _prepareParams(style, index), height = line.toString().match(/[(A-Z)(0-9)]/) ? lineStyle.fontSize * coefficients.lineCapitalCoef : lineStyle.fontSize; return total + lineStyle.lineHeight * height; }, 0), width = _approximateTextWidthInternal(text, style); return { width: angle ? _getSizeWithRotate(width, height, angle) : width, height: (angle ? _getSizeWithRotate(height, width, angle) : height) * coefficients.heightOverlapCoef }; }; __webpack_exports__.default = { approximateTextSize: approximateTextSize, convertLengthToPixels: convertLengthToPixels }; }, "../../victory-core/es/victory-util/timer-context.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), _timer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-core/es/victory-util/timer.js"), TimerContext = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({ transitionTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__.default(), animationTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__.default() }); TimerContext.displayName = "TimerContext", __webpack_exports__.default = TimerContext; }, "../../victory-core/es/victory-util/timer.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return Timer; }); var d3_timer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/d3-timer/src/index.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var Timer = function() { var Constructor, protoProps, staticProps; function Timer() { !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, Timer), this.shouldAnimate = !0, this.subscribers = [], this.loop = this.loop.bind(this), this.timer = null, this.activeSubscriptions = 0; } return protoProps = [ { key: "bypassAnimation", value: function() { this.shouldAnimate = !1; } }, { key: "resumeAnimation", value: function() { this.shouldAnimate = !0; } }, { key: "loop", value: function() { this.subscribers.forEach(function(s) { s.callback(Object(d3_timer__WEBPACK_IMPORTED_MODULE_0__.now)() - s.startTime, s.duration); }); } }, { key: "start", value: function() { this.timer || (this.timer = Object(d3_timer__WEBPACK_IMPORTED_MODULE_0__.timer)(this.loop)); } }, { key: "stop", value: function() { this.timer && (this.timer.stop(), this.timer = null); } }, { key: "subscribe", value: function(callback, duration) { duration = this.shouldAnimate ? duration : 0; var subscriptionID = this.subscribers.push({ startTime: Object(d3_timer__WEBPACK_IMPORTED_MODULE_0__.now)(), callback: callback, duration: duration }); return this.activeSubscriptions++, this.start(), subscriptionID; } }, { key: "unsubscribe", value: function(id) { null !== id && this.subscribers[id - 1] && (delete this.subscribers[id - 1], this.activeSubscriptions--), 0 === this.activeSubscriptions && this.stop(); } } ], _defineProperties(Timer.prototype, protoProps), staticProps && _defineProperties(Timer, staticProps), Timer; }(); }, "../../victory-core/es/victory-util/transitions.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__), lodash_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/identity.js"), lodash_identity__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), lodash_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__); function getDatumKey(datum, idx) { return (datum.key || idx).toString(); } function getKeyedData(data) { return data.reduce(function(keyedData, datum, idx) { return keyedData[getDatumKey(datum, idx)] = datum, keyedData; }, {}); } function getKeyedDataDifference(a, b) { var hasDifference = !1, difference = lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(a).reduce(function(_difference, key) { return key in b || (hasDifference = !0, _difference[key] = !0), _difference; }, {}); return hasDifference && difference; } function getChildData(child) { return child.type && child.type.getData ? child.type.getData(child.props) : child.props && child.props.data || !1; } __webpack_exports__.default = { getInitialTransitionState: function(oldChildren, nextChildren) { var nodesWillExit = !1, nodesWillEnter = !1, getTransition = function(oldChild, newChild) { if (!newChild || oldChild.type !== newChild.type) return {}; var oldData, nextData, oldDataKeyed, nextDataKeyed, _ref = (oldData = getChildData(oldChild), nextData = getChildData(newChild), oldDataKeyed = oldData && getKeyedData(oldData), nextDataKeyed = nextData && getKeyedData(nextData), { entering: oldDataKeyed && getKeyedDataDifference(nextDataKeyed, oldDataKeyed), exiting: nextDataKeyed && getKeyedDataDifference(oldDataKeyed, nextDataKeyed) }), entering = _ref.entering, exiting = _ref.exiting; return nodesWillExit = nodesWillExit || !!exiting, nodesWillEnter = nodesWillEnter || !!entering, { entering: entering || !1, exiting: exiting || !1 }; }, getTransitionsFromChildren = function(old, next) { return old.map(function(child, idx) { return child && child.props && child.props.children && next[idx] ? getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(old[idx].props.children), react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(next[idx].props.children)) : getTransition(child, next[idx]); }); }, childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(nextChildren)); return { nodesWillExit: nodesWillExit, nodesWillEnter: nodesWillEnter, childrenTransitions: childrenTransitions, nodesShouldEnter: !1 }; }, getTransitionPropsFactory: function(props, state, setState) { var nodesWillExit = state && state.nodesWillExit, nodesWillEnter = state && state.nodesWillEnter, nodesShouldEnter = state && state.nodesShouldEnter, nodesShouldLoad = state && state.nodesShouldLoad, nodesDoneLoad = state && state.nodesDoneLoad, childrenTransitions = state && state.childrenTransitions || [], transitionDurations = { enter: props.animate && props.animate.onEnter && props.animate.onEnter.duration, exit: props.animate && props.animate.onExit && props.animate.onExit.duration, load: props.animate && props.animate.onLoad && props.animate.onLoad.duration, move: props.animate && props.animate.duration }, getChildTransitionDuration = function(child, type) { var animate = child.props.animate; if (!child.type) return {}; var defaultTransitions = child.props && child.props.polar && child.type.defaultPolarTransitions || child.type.defaultTransitions; if (!defaultTransitions) return {}; var animationDuration = animate[type] && animate[type].duration; return void 0 !== animationDuration ? animationDuration : defaultTransitions[type] && defaultTransitions[type].duration; }; return function(child, index) { var data = getChildData(child) || [], animate = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, props.animate, child.props.animate), defaultTransitions = child.props.polar && child.type.defaultPolarTransitions || child.type.defaultTransitions; animate.onExit = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, animate.onExit, defaultTransitions && defaultTransitions.onExit), animate.onEnter = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, animate.onEnter, defaultTransitions && defaultTransitions.onEnter), animate.onLoad = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, animate.onLoad, defaultTransitions && defaultTransitions.onLoad); var childTransitions = childrenTransitions[index] || childrenTransitions[0]; if (nodesDoneLoad) { if (nodesWillExit) { var animate1, data1, after, nodes, child1, data2, exitingNodes = childTransitions && childTransitions.exiting, exit = void 0 !== transitionDurations.exit ? transitionDurations.exit : getChildTransitionDuration(child, "onExit"); return function(animate, child, data, exitingNodes, cb) { var onExit = animate && animate.onExit; if (animate = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, onExit), exitingNodes) { animate.onEnd = cb; var before = animate.onExit && animate.onExit.before ? animate.onExit.before : lodash_identity__WEBPACK_IMPORTED_MODULE_1___default.a; data = data.map(function(datum, idx) { return exitingNodes[(datum.key || idx).toString()] ? lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, datum, before(datum, idx, data)) : datum; }); } return { animate: animate, data: data }; }(lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, exitingNodes ? { duration: exit } : { delay: exit }), child, data, exitingNodes, function() { setState({ nodesWillExit: !1 }); }); } if (nodesWillEnter) { var nodes1, child2, data3, animate2, enteringNodes = childTransitions && childTransitions.entering, enter = void 0 !== transitionDurations.enter ? transitionDurations.enter : getChildTransitionDuration(child, "onEnter"), move = void 0 !== transitionDurations.move ? transitionDurations.move : child.props.animate && child.props.animate.duration; return animate2 = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, { duration: nodesShouldEnter && enteringNodes ? enter : move }), nodesShouldEnter ? function(animate, data, enteringNodes, cb) { var onEnter = animate && animate.onEnter; if (animate = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, onEnter), enteringNodes) { animate.onEnd = cb; var after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : lodash_identity__WEBPACK_IMPORTED_MODULE_1___default.a; data = data.map(function(datum, idx) { return enteringNodes[getDatumKey(datum, idx)] ? lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, datum, after(datum, idx, data)) : datum; }); } return { animate: animate, data: data }; }(animate2, data, enteringNodes, function() { setState({ nodesWillEnter: !1 }); }) : function(animate, child, data, enteringNodes, cb) { if (enteringNodes) { var before = (animate = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, { onEnd: cb })).onEnter && animate.onEnter.before ? animate.onEnter.before : lodash_identity__WEBPACK_IMPORTED_MODULE_1___default.a; data = data.map(function(datum, idx) { return enteringNodes[(datum.key || idx).toString()] ? lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, datum, before(datum, idx, data)) : datum; }); } return { animate: animate, data: data }; }(animate2, child, data, enteringNodes, function() { setState({ nodesShouldEnter: !0 }); }); } else if (!state && animate && animate.onExit) return after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : lodash_identity__WEBPACK_IMPORTED_MODULE_1___default.a, { data: data.map(function(datum, idx) { return lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, datum, after(datum, idx, data)); }) }; } else { var child3, data4, animate3, load = void 0 !== transitionDurations.load ? transitionDurations.load : getChildTransitionDuration(child, "onLoad"); return animate3 = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, { duration: load }), nodesShouldLoad ? function(animate, data, cb) { if ((animate = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, { onEnd: cb })) && animate.onLoad && !animate.onLoad.duration) return { animate: animate, data: data }; var after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : lodash_identity__WEBPACK_IMPORTED_MODULE_1___default.a; return { animate: animate, data: data = data.map(function(datum, idx) { return lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, datum, after(datum, idx, data)); }) }; }(animate3, data, function() { setState({ nodesShouldLoad: !1, nodesDoneLoad: !0 }); }) : function(animate, child, data, cb) { if ((animate = lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, animate, { onEnd: cb })) && animate.onLoad && !animate.onLoad.duration) return { animate: animate, data: data }; var before = animate.onLoad && animate.onLoad.before ? animate.onLoad.before : lodash_identity__WEBPACK_IMPORTED_MODULE_1___default.a; return { animate: animate, data: data = data.map(function(datum, idx) { return lodash_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, datum, before(datum, idx, data)); }), clipWidth: 0 }; }(animate3, child, data, function() { setState({ nodesDoneLoad: !0 }); }); } return { animate: animate, data: data }; }; } }; }, "../../victory-core/es/victory-util/wrapper.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__), lodash_values__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/values.js"), lodash_values__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_values__WEBPACK_IMPORTED_MODULE_1__), lodash_uniqBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/uniqBy.js"), lodash_uniqBy__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_2__), lodash_groupBy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/groupBy.js"), lodash_groupBy__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_3__), lodash_some__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/some.js"), lodash_some__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_some__WEBPACK_IMPORTED_MODULE_4__), lodash_uniq__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/uniq.js"), lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_5__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_6__), lodash_flatten__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/flatten.js"), lodash_flatten__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_flatten__WEBPACK_IMPORTED_MODULE_7__), lodash_defaults__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_8__), lodash_assign__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_9___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_9__), react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_10___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__), _axis__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-core/es/victory-util/axis.js"), _style__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-core/es/victory-util/style.js"), _transitions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-core/es/victory-util/transitions.js"), _data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-core/es/victory-util/data.js"), _domain__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../victory-core/es/victory-util/domain.js"), _events__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../victory-core/es/victory-util/events.js"), _collection__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../victory-core/es/victory-util/collection.js"), _helpers__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../victory-core/es/victory-util/helpers.js"), _scale__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../victory-core/es/victory-util/scale.js"), _log__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../victory-core/es/victory-util/log.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } __webpack_exports__.default = { getData: function(props, childComponents) { return props.data ? _data__WEBPACK_IMPORTED_MODULE_14__.default.getData(props) : (childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children), this.getDataFromChildren(childComponents)); }, getDefaultDomainPadding: function(props, axis, childComponents) { if (!props.polar && "x" === axis) { var groupComponent = childComponents.filter(function(child) { return child.type && child.type.role && "group" === child.type.role; }); if (!(groupComponent.length < 1)) { var _groupComponent$0$pro = groupComponent[0].props, offset = _groupComponent$0$pro.offset, children = _groupComponent$0$pro.children; if (offset) { var firstChild = Array.isArray(children) && children[0], barWidth = firstChild.props.barWidth, dataLength = firstChild.props.data && firstChild.props.data.length || 1; firstChild && "stack" === firstChild.type.role && (barWidth = (firstChild.props.children && firstChild.props.children[0]).props.barWidth, dataLength = firstChild.props.children.length); var width = barWidth || this.getWidth(props, children.length, dataLength); return { x: width * children.length / 2 + (offset - width * ((children.length - 1) / 2)) }; } } } }, getDomain: function(props, axis, childComponents) { childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children); var domain, propsDomain = _domain__WEBPACK_IMPORTED_MODULE_15__.default.getDomainFromProps(props, axis), domainPadding = this.getDefaultDomainPadding(props, axis, childComponents); if (propsDomain) domain = propsDomain; else { var minDomain = _domain__WEBPACK_IMPORTED_MODULE_15__.default.getMinFromProps(props, axis), maxDomain = _domain__WEBPACK_IMPORTED_MODULE_15__.default.getMaxFromProps(props, axis), dataset = (props.data || props.y) && _data__WEBPACK_IMPORTED_MODULE_14__.default.getData(props), dataDomain = dataset ? _domain__WEBPACK_IMPORTED_MODULE_15__.default.getDomainFromData(props, axis, dataset) : [], childDomain = this.getDomainFromChildren(props, axis, childComponents), min = minDomain || _collection__WEBPACK_IMPORTED_MODULE_17__.default.getMinValue(_toConsumableArray(dataDomain).concat(_toConsumableArray(childDomain))), max = maxDomain || _collection__WEBPACK_IMPORTED_MODULE_17__.default.getMaxValue(_toConsumableArray(dataDomain).concat(_toConsumableArray(childDomain))); domain = _domain__WEBPACK_IMPORTED_MODULE_15__.default.getDomainFromMinMax(min, max); } return _domain__WEBPACK_IMPORTED_MODULE_15__.default.formatDomain(domain, lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()({ domainPadding: domainPadding }, props), axis); }, getScale: function(props, axis, childComponents) { if (props.data) return _scale__WEBPACK_IMPORTED_MODULE_19__.default.getBaseScale(props, axis); var children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children), iteratee = function(child) { var sharedProps = lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()({}, child.props, { horizontal: props.horizontal }); return _scale__WEBPACK_IMPORTED_MODULE_19__.default.getScaleType(sharedProps, axis); }, childScale = lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default()(_helpers__WEBPACK_IMPORTED_MODULE_18__.default.reduceChildren(children, iteratee, props)); return childScale.length > 1 ? _scale__WEBPACK_IMPORTED_MODULE_19__.default.getScaleFromName("linear") : _scale__WEBPACK_IMPORTED_MODULE_19__.default.getScaleFromName(childScale[0]); }, setAnimationState: function(props, nextProps) { if (props.animate) { if (props.animate.parentState) { var nodesWillExit = props.animate.parentState.nodesWillExit; this.setState(lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({ oldProps: nodesWillExit ? props : null, nextProps: nextProps }, props.animate.parentState)); } else { var oldChildren = react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children), nextChildren = react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(nextProps.children), isContinuous = function(child) { var check = function(c) { return c.type && c.type.continuous; }; return Array.isArray(child) ? lodash_some__WEBPACK_IMPORTED_MODULE_4___default()(child, check) : check(child); }, continuous = !props.polar && lodash_some__WEBPACK_IMPORTED_MODULE_4___default()(oldChildren, function(child) { return isContinuous(child) || child.props.children && isContinuous(child.props.children); }), _Transitions$getIniti = _transitions__WEBPACK_IMPORTED_MODULE_13__.default.getInitialTransitionState(oldChildren, nextChildren), _nodesWillExit = _Transitions$getIniti.nodesWillExit, nodesWillEnter = _Transitions$getIniti.nodesWillEnter, childrenTransitions = _Transitions$getIniti.childrenTransitions, nodesShouldEnter = _Transitions$getIniti.nodesShouldEnter; this.setState({ nodesWillExit: _nodesWillExit, nodesWillEnter: nodesWillEnter, nodesShouldEnter: nodesShouldEnter, childrenTransitions: _collection__WEBPACK_IMPORTED_MODULE_17__.default.isArrayOfArrays(childrenTransitions) ? childrenTransitions[0] : childrenTransitions, oldProps: _nodesWillExit ? props : null, nextProps: nextProps, continuous: continuous }); } } }, getAllEvents: function(props) { this.componentEvents = _events__WEBPACK_IMPORTED_MODULE_16__.default.getComponentEvents(props, [ "groupComponent", "containerComponent", "labelComponent" ]); var _componentEvents, events = props.events; return Array.isArray(this.componentEvents) && (events = Array.isArray(props.events) ? (_componentEvents = this.componentEvents).concat.apply(_componentEvents, _toConsumableArray(props.events)) : this.componentEvents), events || []; }, getAnimationProps: function(props, child, index) { var childrenTransitions, _this = this; if (!props.animate) return child.props.animate; var getTransitions = props.animate && props.animate.getTransitions, state = (childrenTransitions = _this.state && _this.state.childrenTransitions, childrenTransitions = _collection__WEBPACK_IMPORTED_MODULE_17__.default.isArrayOfArrays(childrenTransitions) ? childrenTransitions[index] : childrenTransitions, lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({ childrenTransitions: childrenTransitions }, _this.state)), parentState = props.animate && props.animate.parentState || state; if (!getTransitions) { var getTransitionProps = _transitions__WEBPACK_IMPORTED_MODULE_13__.default.getTransitionPropsFactory(props, state, function(newState) { return _this.setState(newState); }); getTransitions = function(childComponent) { return getTransitionProps(childComponent, index); }; } return lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({ getTransitions: getTransitions, parentState: parentState }, props.animate, child.props.animate); }, getDomainFromChildren: function(props, axis, childComponents) { var children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children), parentData = props.data ? _data__WEBPACK_IMPORTED_MODULE_14__.default.getData(props, axis) : void 0, polar = props.polar, startAngle = props.startAngle, endAngle = props.endAngle, categories = props.categories, minDomain = props.minDomain, maxDomain = props.maxDomain, baseParentProps = { horizontal: props.horizontal, polar: polar, startAngle: startAngle, endAngle: endAngle, minDomain: minDomain, maxDomain: maxDomain, categories: categories }, parentProps = parentData ? lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()(baseParentProps, { data: parentData }) : baseParentProps, iteratee = function(child) { var sharedProps = lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()({}, child.props, parentProps); return _domain__WEBPACK_IMPORTED_MODULE_15__.default.isDomainComponent(child) ? child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(child.type.getDomain) ? child.props && child.type.getDomain(sharedProps, axis) : _domain__WEBPACK_IMPORTED_MODULE_15__.default.getDomain(sharedProps, axis) : null; }, childDomains = _helpers__WEBPACK_IMPORTED_MODULE_18__.default.reduceChildren(children, iteratee, props); return [ 0 === childDomains.length ? 0 : _collection__WEBPACK_IMPORTED_MODULE_17__.default.getMinValue(childDomains), 0 === childDomains.length ? 1 : _collection__WEBPACK_IMPORTED_MODULE_17__.default.getMaxValue(childDomains) ]; }, addBinsToParentPropsIfHistogram: function(_ref) { var children = _ref.children, props = _ref.props, childComponents = _ref.childComponents, parentProps = _ref.parentProps, someChildrenAreHistograms = children.some(function(child) { return child.type && "histogram" === child.type.role; }), allChildrenAreHistograms = someChildrenAreHistograms && children.length && children.every(function(child) { return child.type && "histogram" === child.type.role; }); if (someChildrenAreHistograms && !allChildrenAreHistograms && _log__WEBPACK_IMPORTED_MODULE_20__.default.warn("VictoryHistogram only supports being stacked with other VictoryHistogram components. Check to make sure that you are only passing VictoryHistogram components to VictoryStack"), !allChildrenAreHistograms) return parentProps; var childBins = props.bins || childComponents[0].props.bins; if (!Array.isArray(childBins)) { var combinedData = children.reduce(function(memo, child) { var xAccessor = _helpers__WEBPACK_IMPORTED_MODULE_18__.default.createAccessor(child.props.x || "x"); return memo.concat(child.props.data.map(function(datum) { return { x: xAccessor(datum) }; })); }, []); childBins = (0, children[0].type.getFormattedData)({ data: combinedData, bins: childBins }).reduce(function(memo, _ref2, index) { var x0 = _ref2.x0, x1 = _ref2.x1; return 0 === index ? memo.concat([ x0, x1 ]) : memo.concat(x1); }, []); } return function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, parentProps, { bins: childBins }); }, getDataFromChildren: function(props, childComponents) { var polar = props.polar, startAngle = props.startAngle, endAngle = props.endAngle, categories = props.categories, parentProps = { polar: polar, startAngle: startAngle, endAngle: endAngle, categories: categories, minDomain: props.minDomain, maxDomain: props.maxDomain }, stack = 0, children = childComponents ? childComponents.slice(0) : react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children); parentProps = this.addBinsToParentPropsIfHistogram({ children: children, props: props, childComponents: childComponents, parentProps: parentProps }); var iteratee = function(child, childName, parent) { var childData, childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()({}, child.props, parentProps); return _data__WEBPACK_IMPORTED_MODULE_14__.default.isDataComponent(child) ? (childData = child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(child.type.getData) ? (child = parent ? react__WEBPACK_IMPORTED_MODULE_10___default.a.cloneElement(child, parent.props) : child).type.getData(childProps) : _data__WEBPACK_IMPORTED_MODULE_14__.default.getData(childProps), stack += 1, childData.map(function(datum, index) { return lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()({ _stack: stack, _group: index }, datum); })) : null; }, stacked = children.filter(function(c) { return c.type && "stack" === c.type.role; }).length, combine = function(memo, val) { return memo.concat(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_2___default()(val, "_group")); }, datasets = _helpers__WEBPACK_IMPORTED_MODULE_18__.default.reduceChildren(children, iteratee, props, [], combine); return lodash_values__WEBPACK_IMPORTED_MODULE_1___default()(lodash_groupBy__WEBPACK_IMPORTED_MODULE_3___default()(datasets, stacked ? "_group" : "_stack")); }, getColor: function(calculatedProps, child, index) { var style = calculatedProps.style, colorScale = calculatedProps.colorScale, color = calculatedProps.color; if (style && style.data && style.data.fill) return style.data.fill; if (colorScale = child.props && child.props.colorScale ? child.props.colorScale : colorScale, color = child.props && child.props.color ? child.props.color : color, colorScale || color) { var colors = Array.isArray(colorScale) ? colorScale : _style__WEBPACK_IMPORTED_MODULE_12__.default.getColorScale(colorScale); return color || colors[index % colors.length]; } }, getWidth: function(props, groupLength, seriesLength) { var datasets = props.datasets, range = props.horizontal ? _helpers__WEBPACK_IMPORTED_MODULE_18__.default.getRange(props, "y") : _helpers__WEBPACK_IMPORTED_MODULE_18__.default.getRange(props, "x"), extent = Math.abs(range[1] - range[0]); return seriesLength = void 0 !== seriesLength ? seriesLength : Array.isArray(datasets[0]) && datasets[0].length || 1, Math.round(0.5 * extent / ((groupLength = groupLength || datasets.length) * seriesLength)); }, getStyle: function(theme, style, role) { var defaultStyle = theme && theme[role] && theme[role].style ? theme[role].style : {}; return _helpers__WEBPACK_IMPORTED_MODULE_18__.default.getStyles(style, defaultStyle); }, getChildStyle: function(child, index, calculatedProps) { var style = calculatedProps.style, role = calculatedProps.role, childStyle = child.props.style || {}; if (Array.isArray(childStyle)) return childStyle; var childRole = child.type && child.type.role, defaultFill = "stack" === childRole ? void 0 : this.getColor(calculatedProps, child, index), dataWidth = "stack" === role ? {} : { width: this.getWidth(calculatedProps) }, dataStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, childStyle.data, lodash_assign__WEBPACK_IMPORTED_MODULE_9___default()({}, dataWidth, style.data, "line" === childRole ? { fill: "none", stroke: defaultFill } : { fill: defaultFill })), labelsStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, childStyle.labels, style.labels); return { parent: style.parent, data: dataStyle, labels: labelsStyle }; }, getStringsFromCategories: function(childComponents, axis) { var iteratee = function(child) { var childProps = child.props || {}; if (!_domain__WEBPACK_IMPORTED_MODULE_15__.default.isDomainComponent(child) || !childProps.categories) return null; var categories = childProps.categories && !Array.isArray(childProps.categories) ? childProps.categories[axis] : childProps.props.categories, categoryStrings = categories && categories.filter(function(val) { return "string" == typeof val; }); return categoryStrings ? _collection__WEBPACK_IMPORTED_MODULE_17__.default.removeUndefined(categoryStrings) : []; }; return _helpers__WEBPACK_IMPORTED_MODULE_18__.default.reduceChildren(childComponents.slice(0), iteratee); }, getStringsFromData: function(childComponents) { var iteratee = function(child) { var childProps = child.props || {}; return _data__WEBPACK_IMPORTED_MODULE_14__.default.isDataComponent(child) ? (child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_6___default()(child.type.getData) ? child.type.getData(childProps) : _data__WEBPACK_IMPORTED_MODULE_14__.default.getData(childProps)).map(function(d) { return { x: d.xName, y: d.yName }; }) : null; }, combine = function(memo, datum) { var x = Array.isArray(datum) ? datum.map(function(d) { return d.x; }).filter(Boolean) : datum.x, y = Array.isArray(datum) ? datum.map(function(d) { return d.y; }).filter(Boolean) : datum.y; return { x: void 0 !== x ? memo.x.concat(x) : memo.x, y: void 0 !== y ? memo.y.concat(y) : memo.y }; }; return _helpers__WEBPACK_IMPORTED_MODULE_18__.default.reduceChildren(childComponents.slice(0), iteratee, {}, { x: [], y: [] }, combine); }, getCategoryAndAxisStringsFromChildren: function(props, axis, childComponents) { var categories = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(props.categories) ? props.categories[axis] : props.categories, axisComponent = _axis__WEBPACK_IMPORTED_MODULE_11__.default.getAxisComponent(childComponents, axis), axisStrings = axisComponent ? _data__WEBPACK_IMPORTED_MODULE_14__.default.getStringsFromAxes(axisComponent.props, axis) : [], categoryStrings = categories || this.getStringsFromCategories(childComponents, axis); return lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default()(lodash_flatten__WEBPACK_IMPORTED_MODULE_7___default()(_toConsumableArray(categoryStrings).concat(_toConsumableArray(axisStrings)))); }, getStringsFromChildren: function(props, childComponents) { childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children); var xStrings = this.getCategoryAndAxisStringsFromChildren(props, "x", childComponents), yStrings = this.getCategoryAndAxisStringsFromChildren(props, "y", childComponents), dataStrings = this.getStringsFromData(childComponents); return { x: lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default()(lodash_flatten__WEBPACK_IMPORTED_MODULE_7___default()(_toConsumableArray(xStrings).concat(_toConsumableArray(dataStrings.x)))), y: lodash_uniq__WEBPACK_IMPORTED_MODULE_5___default()(lodash_flatten__WEBPACK_IMPORTED_MODULE_7___default()(_toConsumableArray(yStrings).concat(_toConsumableArray(dataStrings.y)))) }; }, getCategories: function(props, childComponents, allStrings) { var xPropCategories = props.categories && !Array.isArray(props.categories) ? props.categories.x : props.categories, yPropCategories = props.categories && !Array.isArray(props.categories) ? props.categories.y : props.categories, fallbackProps = xPropCategories && yPropCategories ? {} : allStrings || this.getStringsFromChildren(props, childComponents), xCategories = xPropCategories || fallbackProps.x, yCategories = yPropCategories || fallbackProps.y; return { x: xCategories.length > 0 ? xCategories : void 0, y: yCategories.length > 0 ? yCategories : void 0 }; } }; }, "../../victory-create-container/es/create-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "createContainer", function() { return createContainer; }), __webpack_require__.d(__webpack_exports__, "makeCreateContainerFunction", function() { return makeCreateContainerFunction; }), __webpack_require__.d(__webpack_exports__, "combineContainerMixins", function() { return combineContainerMixins; }); var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__), lodash_flow__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/flow.js"), lodash_flow__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_flow__WEBPACK_IMPORTED_MODULE_3__), lodash_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_4__), lodash_forOwn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/forOwn.js"), lodash_forOwn__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_forOwn__WEBPACK_IMPORTED_MODULE_5__), lodash_groupBy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/groupBy.js"), lodash_groupBy__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_6__), lodash_toPairs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../../node_modules/lodash/toPairs.js"), lodash_toPairs__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(lodash_toPairs__WEBPACK_IMPORTED_MODULE_7__), victory_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-core/es/index.js"), victory_voronoi_container__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-voronoi-container/es/index.js"), victory_zoom_container__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-zoom-container/es/index.js"), victory_selection_container__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-selection-container/es/index.js"), victory_brush_container__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-brush-container/es/index.js"), victory_cursor_container__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-cursor-container/es/index.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var ensureArray = function(thing) { return thing ? Array.isArray(thing) ? thing : [ thing ] : []; }, combineDefaultEvents = function(defaultEvents) { var eventsByTarget = lodash_groupBy__WEBPACK_IMPORTED_MODULE_6___default()(defaultEvents, "target"); return lodash_toPairs__WEBPACK_IMPORTED_MODULE_7___default()(eventsByTarget).map(function(_ref) { var arr, _ref2 = function(arr) { if (Array.isArray(arr)) return arr; }(_ref) || function(arr, i) { var _arr = [], _n = !0, _d = !1, _e = void 0; try { for(var _s, _i = arr[Symbol.iterator](); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !i || _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally{ try { _n || null == _i.return || _i.return(); } finally{ if (_d) throw _e; } } return _arr; }(_ref, 2) || function() { throw TypeError("Invalid attempt to destructure non-iterable instance"); }(), target = _ref2[0], eventsArray = _ref2[1]; return eventsArray = eventsArray.filter(Boolean), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(eventsArray) ? null : { target: target, eventHandlers: eventsArray.map(function(event) { return event.eventHandlers; }).reduce(function(localHandlers, finalHandlers) { return lodash_forOwn__WEBPACK_IMPORTED_MODULE_5___default()(localHandlers, function(localHandler, eventName) { var existingHandler = finalHandlers[eventName]; existingHandler ? finalHandlers[eventName] = function() { var existingMutations = ensureArray(existingHandler.apply(void 0, arguments)), localMutations = ensureArray(localHandler.apply(void 0, arguments)); return existingMutations.concat(localMutations); } : finalHandlers[eventName] = localHandler; }), finalHandlers; }) }; }).filter(Boolean); }, combineContainerMixins = function(mixins, Container) { var _class, _temp, Classes = mixins.map(function(mixin) { return mixin(Container); }), instances = Classes.map(function(Class) { return new Class(); }), NaiveCombinedContainer = lodash_flow__WEBPACK_IMPORTED_MODULE_3___default()(mixins)(Container), displayType = Classes.map(function(Class) { return Class.displayName.match(/Victory(.*)Container/)[1] || ""; }).join(""); return _temp = _class = function(_NaiveCombinedContain) { var Constructor, protoProps, staticProps; function VictoryCombinedContainer() { var self1, call; return function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryCombinedContainer), call = (VictoryCombinedContainer.__proto__ || Object.getPrototypeOf(VictoryCombinedContainer)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryCombinedContainer, _NaiveCombinedContain), _defineProperties(VictoryCombinedContainer.prototype, [ { key: "getChildren", value: function(props) { return instances.reduce(function(children, instance) { return instance.getChildren(_objectSpread({}, props, { children: children })); }, props.children); } } ]), staticProps && _defineProperties(VictoryCombinedContainer, staticProps), VictoryCombinedContainer; }(NaiveCombinedContainer), Object.defineProperty(_class, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "Victory".concat(displayType, "Container") }), Object.defineProperty(_class, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: Classes.reduce(function(propTypes, Class) { return _objectSpread({}, propTypes, Class.propTypes); }, {}) }), Object.defineProperty(_class, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: Classes.reduce(function(defaultProps, Class) { return _objectSpread({}, defaultProps, Class.defaultProps); }, {}) }), Object.defineProperty(_class, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return combineDefaultEvents(Classes.reduce(function(defaultEvents, Class) { var events = lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(Class.defaultEvents) ? Class.defaultEvents(props) : Class.defaultEvents; return _toConsumableArray(defaultEvents).concat(_toConsumableArray(events)); }, [])); } }), _temp; }, checkBehaviorName = function(behavior, behaviors) { behavior && !lodash_includes__WEBPACK_IMPORTED_MODULE_4___default()(behaviors, behavior) && victory_core__WEBPACK_IMPORTED_MODULE_8__.Log.warn("\"".concat(behavior, "\" is not a valid behavior. Choose from [").concat(behaviors.join(", "), "].")); }, makeCreateContainerFunction = function(mixinMap, Container) { return function(behaviorA, behaviorB) { var behaviors = lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(mixinMap); checkBehaviorName(behaviorA, behaviors), checkBehaviorName(behaviorB, behaviors), (arguments.length <= 2 ? 0 : arguments.length - 2) && victory_core__WEBPACK_IMPORTED_MODULE_8__.Log.warn("too many arguments given to createContainer (maximum accepted: 2)."); var firstMixins = mixinMap[behaviorA], secondMixins = mixinMap[behaviorB] || []; return firstMixins ? combineContainerMixins(_toConsumableArray(firstMixins).concat(_toConsumableArray(secondMixins)), Container) : Container; }; }, createContainer = makeCreateContainerFunction({ zoom: [ victory_zoom_container__WEBPACK_IMPORTED_MODULE_10__.zoomContainerMixin ], voronoi: [ victory_voronoi_container__WEBPACK_IMPORTED_MODULE_9__.voronoiContainerMixin ], selection: [ victory_selection_container__WEBPACK_IMPORTED_MODULE_11__.selectionContainerMixin ], cursor: [ victory_cursor_container__WEBPACK_IMPORTED_MODULE_13__.cursorContainerMixin ], brush: [ victory_brush_container__WEBPACK_IMPORTED_MODULE_12__.brushContainerMixin ] }, victory_core__WEBPACK_IMPORTED_MODULE_8__.VictoryContainer); }, "../../victory-create-container/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _create_container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-create-container/es/create-container.js"); __webpack_require__.d(__webpack_exports__, "combineContainerMixins", function() { return _create_container__WEBPACK_IMPORTED_MODULE_0__.combineContainerMixins; }), __webpack_require__.d(__webpack_exports__, "makeCreateContainerFunction", function() { return _create_container__WEBPACK_IMPORTED_MODULE_0__.makeCreateContainerFunction; }), __webpack_require__.d(__webpack_exports__, "createContainer", function() { return _create_container__WEBPACK_IMPORTED_MODULE_0__.createContainer; }); }, "../../victory-cursor-container/es/cursor-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_mapValues__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/mapValues.js"), lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_throttle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/throttle.js"), lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"), CursorHelpers = { getDimension: function(props) { var horizontal = props.horizontal, cursorDimension = props.cursorDimension; return horizontal && cursorDimension ? "x" === cursorDimension ? "y" : "x" : cursorDimension; }, withinBounds: function(point, bounds) { var _mapValues2 = lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(bounds, Number), x1 = _mapValues2.x1, x2 = _mapValues2.x2, y1 = _mapValues2.y1, y2 = _mapValues2.y2, _mapValues3 = lodash_mapValues__WEBPACK_IMPORTED_MODULE_0___default()(point, Number), x = _mapValues3.x, y = _mapValues3.y; return x >= Math.min(x1, x2) && x <= Math.max(x1, x2) && y >= Math.min(y1, y2) && y <= Math.max(y1, y2); }, onMouseMove: function(evt, targetProps) { var onCursorChange = targetProps.onCursorChange, domain = targetProps.domain, cursorDimension = this.getDimension(targetProps), parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_3__.Selection.getParentSVG(evt), cursorSVGPosition = victory_core__WEBPACK_IMPORTED_MODULE_3__.Selection.getSVGEventCoordinates(evt, parentSVG), cursorValue = victory_core__WEBPACK_IMPORTED_MODULE_3__.Selection.getDataCoordinates(targetProps, targetProps.scale, cursorSVGPosition.x, cursorSVGPosition.y), inBounds = this.withinBounds(cursorValue, { x1: domain.x[0], x2: domain.x[1], y1: domain.y[0], y2: domain.y[1] }); return inBounds || (cursorValue = null), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(onCursorChange) && (inBounds ? onCursorChange(cursorDimension ? cursorValue[cursorDimension] : cursorValue, targetProps) : cursorValue !== targetProps.cursorValue && onCursorChange(targetProps.defaultCursorValue || null, targetProps)), [ { target: "parent", eventKey: "parent", mutation: function() { return { cursorValue: cursorValue, parentSVG: parentSVG }; } } ]; }, onTouchEnd: function(evt, targetProps) { var onCursorChange = targetProps.onCursorChange; return lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(targetProps.onCursorChange) && onCursorChange(null, targetProps), [ { target: "parent", eventKey: "parent", mutation: function() { return { cursorValue: null }; } } ]; } }; __webpack_exports__.default = function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, CursorHelpers, { onMouseMove: lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default()(CursorHelpers.onMouseMove.bind(CursorHelpers), 16, { leading: !0, trailing: !1 }), onMouseLeave: CursorHelpers.onMouseMove.bind(CursorHelpers), onTouchEnd: CursorHelpers.onTouchEnd.bind(CursorHelpers) }); }, "../../victory-cursor-container/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_cursor_container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-cursor-container/es/victory-cursor-container.js"); __webpack_require__.d(__webpack_exports__, "cursorContainerMixin", function() { return _victory_cursor_container__WEBPACK_IMPORTED_MODULE_0__.cursorContainerMixin; }), __webpack_require__.d(__webpack_exports__, "VictoryCursorContainer", function() { return _victory_cursor_container__WEBPACK_IMPORTED_MODULE_0__.default; }); var _cursor_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-cursor-container/es/cursor-helpers.js"); __webpack_require__.d(__webpack_exports__, "CursorHelpers", function() { return _cursor_helpers__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-cursor-container/es/victory-cursor-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "cursorContainerMixin", function() { return cursorContainerMixin; }); var lodash_isObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isObject.js"), lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), _cursor_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-cursor-container/es/cursor-helpers.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { _defineProperty(target, key, source[key]); }); } return target; } function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperty(obj, key, value) { return key in obj ? Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key] = value, obj; } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var cursorContainerMixin = function(base) { var _class, _temp; return _temp = _class = function(_base) { var Constructor, protoProps, staticProps; function VictoryCursorContainer() { var self1, call; return function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryCursorContainer), call = (VictoryCursorContainer.__proto__ || Object.getPrototypeOf(VictoryCursorContainer)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryCursorContainer, _base), protoProps = [ { key: "getCursorPosition", value: function(props) { var cursorValue = props.cursorValue, defaultCursorValue = props.defaultCursorValue, domain = props.domain, cursorDimension = props.cursorDimension; return cursorValue || ("number" == typeof defaultCursorValue ? _defineProperty({ x: (domain.x[0] + domain.x[1]) / 2, y: (domain.y[0] + domain.y[1]) / 2 }, cursorDimension, defaultCursorValue) : defaultCursorValue); } }, { key: "getCursorLabelOffset", value: function(props) { var cursorLabelOffset = props.cursorLabelOffset; return "number" == typeof cursorLabelOffset ? { x: cursorLabelOffset, y: cursorLabelOffset } : cursorLabelOffset; } }, { key: "getPadding", value: function(props) { if (void 0 !== props.padding) return victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.getPadding(props); var child = props.children.find(function(c) { return lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(c.props) && void 0 !== c.props.padding; }); return victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.getPadding(child.props); } }, { key: "getCursorElements", value: function(props) { var scale = props.scale, cursorLabelComponent = props.cursorLabelComponent, cursorLabel = props.cursorLabel, cursorComponent = props.cursorComponent, width = props.width, height = props.height, name = props.name, horizontal = props.horizontal, theme = props.theme, cursorDimension = _cursor_helpers__WEBPACK_IMPORTED_MODULE_6__.default.getDimension(props), cursorValue = this.getCursorPosition(props), cursorLabelOffset = this.getCursorLabelOffset(props); if (!cursorValue) return []; var newElements = [], padding = this.getPadding(props), cursorCoordinates = { x: horizontal ? scale.y(cursorValue.y) : scale.x(cursorValue.x), y: horizontal ? scale.x(cursorValue.x) : scale.y(cursorValue.y) }; if (cursorLabel) { var labelProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({ active: !0 }, cursorLabelComponent.props, { x: cursorCoordinates.x + cursorLabelOffset.x, y: cursorCoordinates.y + cursorLabelOffset.y, datum: cursorValue, active: !0, key: "".concat(name, "-cursor-label") }); if (victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.isTooltip(cursorLabelComponent)) { var tooltipTheme = theme && theme.tooltip || {}; labelProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelProps, tooltipTheme); } newElements.push(react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(cursorLabelComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelProps, { text: victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(cursorLabel, labelProps) }))); } var cursorStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ stroke: "black" }, cursorComponent.props.style); return ("x" === cursorDimension || void 0 === cursorDimension) && newElements.push(react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(cursorComponent, { key: "".concat(name, "-x-cursor"), x1: cursorCoordinates.x, x2: cursorCoordinates.x, y1: padding.top, y2: height - padding.bottom, style: cursorStyle })), ("y" === cursorDimension || void 0 === cursorDimension) && newElements.push(react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(cursorComponent, { key: "".concat(name, "-y-cursor"), x1: padding.left, x2: width - padding.right, y1: cursorCoordinates.y, y2: cursorCoordinates.y, style: cursorStyle })), newElements; } }, { key: "getChildren", value: function(props) { return _toConsumableArray(react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(props.children)).concat(_toConsumableArray(this.getCursorElements(props))); } } ], _defineProperties(VictoryCursorContainer.prototype, protoProps), staticProps && _defineProperties(VictoryCursorContainer, staticProps), VictoryCursorContainer; }(base), Object.defineProperty(_class, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryCursorContainer" }), Object.defineProperty(_class, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer.propTypes, { cursorDimension: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "x", "y" ]), cursorLabel: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, cursorLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, cursorLabelOffset: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) ]), defaultCursorValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) ]), disable: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, onCursorChange: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func }) }), Object.defineProperty(_class, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer.defaultProps, { cursorLabelComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryLabel, null), cursorLabelOffset: { x: 5, y: -10 }, cursorComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.LineSegment, null) }) }), Object.defineProperty(_class, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return [ { target: "parent", eventHandlers: { onMouseLeave: function(evt, targetProps) { return props.disable ? {} : _cursor_helpers__WEBPACK_IMPORTED_MODULE_6__.default.onMouseLeave(evt, targetProps); }, onTouchCancel: function() { return []; }, onMouseMove: function(evt, targetProps) { return props.disable ? {} : _cursor_helpers__WEBPACK_IMPORTED_MODULE_6__.default.onMouseMove(evt, targetProps); }, onTouchMove: function(evt, targetProps) { return props.disable ? {} : _cursor_helpers__WEBPACK_IMPORTED_MODULE_6__.default.onMouseMove(evt, targetProps); } } } ]; } }), _temp; }; __webpack_exports__.default = cursorContainerMixin(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer); }, "../../victory-errorbar/es/error-bar.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var renderBorder = function(props, error, type) { var vertical = "right" === type || "left" === type; return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.lineComponent, _objectSpread({}, props.events, { role: props.role, shapeRendering: props.shapeRendering, className: props.className, style: props.style, transform: props.transform, key: "".concat(props.id, "-border-").concat(type), x1: vertical ? error[type] : props.x - props.borderWidth, x2: vertical ? error[type] : props.x + props.borderWidth, y1: vertical ? props.y - props.borderWidth : error[type], y2: vertical ? props.y + props.borderWidth : error[type] })); }, renderCross = function(props, error, type) { var vertical = "top" === type || "bottom" === type; return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.lineComponent, _objectSpread({}, props.events, { role: props.role, shapeRendering: props.shapeRendering, className: props.className, style: props.style, transform: props.transform, key: "".concat(props.id, "-cross-").concat(type), x1: props.x, x2: vertical ? props.x : error[type], y1: props.y, y2: vertical ? error[type] : props.y })); }, calculateError = function(props) { var errorX = props.errorX, errorY = props.errorY, settings = { right: { error: errorX, errorIndex: 0 }, left: { error: errorX, errorIndex: 1 }, top: { error: errorY, errorIndex: 1 }, bottom: { error: errorY, errorIndex: 0 } }, getError = function(direction) { var _settings$direction = settings[direction], error = _settings$direction.error, errorIndex = _settings$direction.errorIndex; return error ? error[errorIndex] : void 0; }; return [ "right", "left", "top", "bottom" ].reduce(function(memo, dir) { return memo[dir] = getError(dir), memo; }, {}); }, evaluateProps = function(props) { var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.ariaLabel, props), id = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.id, props), style = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ stroke: "black" }, props.style), props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, id: id, style: style, tabIndex: tabIndex }); }, ErrorBar = function(props) { var _props = props = evaluateProps(props), ariaLabel = _props.ariaLabel, tabIndex = _props.tabIndex, error = calculateError(props), children = [ error.right ? renderBorder(props, error, "right") : null, error.left ? renderBorder(props, error, "left") : null, error.bottom ? renderBorder(props, error, "bottom") : null, error.top ? renderBorder(props, error, "top") : null, error.right ? renderCross(props, error, "right") : null, error.left ? renderCross(props, error, "left") : null, error.bottom ? renderCross(props, error, "bottom") : null, error.top ? renderCross(props, error, "top") : null ].filter(Boolean); return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.groupComponent, { "aria-label": ariaLabel, tabIndex: tabIndex }, children); }; ErrorBar.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_3__.CommonProps.primitiveProps, { borderWidth: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, datum: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, errorX: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool ]), errorY: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool ]), groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, lineComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), ErrorBar.defaultProps = { groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null), lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Line, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = ErrorBar; }, "../../victory-errorbar/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getDomain", function() { return getDomain; }), __webpack_require__.d(__webpack_exports__, "getData", function() { return getData; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"), getErrors = function(props, datum, axis) { var errors = datum[({ x: "_errorX", y: "_errorY" })[axis]]; if (0 === errors) return !1; var scale = props.scale[axis]; return Array.isArray(errors) ? [ 0 !== errors[0] && scale(errors[0] + datum["_".concat(axis)]), 0 !== errors[1] && scale(datum["_".concat(axis)] - errors[1]) ] : [ scale(errors + datum["_".concat(axis)]), scale(datum["_".concat(axis)] - errors) ]; }, getData = function(props) { var accessorTypes = [ "x", "y", "errorX", "errorY" ]; if (props.data) return victory_core__WEBPACK_IMPORTED_MODULE_3__.Data.formatData(props.data, props, accessorTypes); var generatedData = props.errorX || props.errorY ? victory_core__WEBPACK_IMPORTED_MODULE_3__.Data.generateData(props) : []; return victory_core__WEBPACK_IMPORTED_MODULE_3__.Data.formatData(generatedData, props, accessorTypes); }, getDomainFromData = function(props, axis) { var minDomain = victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.getMinFromProps(props, axis), maxDomain = victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.getMaxFromProps(props, axis), dataset = getData(props); if (dataset.length < 1) return void 0 !== minDomain && void 0 !== maxDomain ? victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.getDomainFromMinMax(minDomain, maxDomain) : void 0; var error = "x" === axis ? "_errorX" : "_errorY", reduceErrorData = function(type) { var errorIndex = "min" === type ? 1 : 0, sign = "min" === type ? -1 : 1; return dataset.reduce(function(memo, datum) { var currentError = Array.isArray(datum[error]) ? datum[error][errorIndex] : datum[error], current = datum["_".concat(axis)] + sign * (currentError || 0); return memo < current && "min" === type || memo > current && "max" === type ? memo : current; }, "min" === type ? 1 / 0 : -1 / 0); }, min = void 0 !== minDomain ? minDomain : reduceErrorData("min"), max = void 0 !== maxDomain ? maxDomain : reduceErrorData("max"); return victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.getDomainFromMinMax(min, max); }, getDomain = function(props, axis) { return victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.createDomainFunction(getDomainFromData)(props, axis); }, formatDataFromDomain = function(datum, domain) { var minDomainX = victory_core__WEBPACK_IMPORTED_MODULE_3__.Collection.getMinValue(domain.x), maxDomainX = victory_core__WEBPACK_IMPORTED_MODULE_3__.Collection.getMaxValue(domain.x), minDomainY = victory_core__WEBPACK_IMPORTED_MODULE_3__.Collection.getMinValue(domain.y), maxDomainY = victory_core__WEBPACK_IMPORTED_MODULE_3__.Collection.getMaxValue(domain.y), _x = datum._x, _y = datum._y; return (_x < minDomainX || _x > maxDomainX || _y < minDomainY || _y > maxDomainY) && (_x = _y = null), Object.assign({}, datum, { _x: _x, _y: _y }); }, getCalculatedValues = function(props) { var defaultStyles = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getDefaultStyles(props, "errorbar"), style = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getStyles(props.style, defaultStyles) || {}, data = getData(props), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getRange(props, "y") }, domain = { x: getDomain(props, "x"), y: getDomain(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }; return { domain: domain, data: data, scale: scale, style: style, origin: props.polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPolarOrigin(props) : void 0 }; }, getLabelProps = function(dataProps, text, style) { var x = dataProps.x, y = dataProps.y, index = dataProps.index, scale = dataProps.scale, errorY = dataProps.errorY, errorX = dataProps.errorX, horizontal = dataProps.horizontal, labelComponent = dataProps.labelComponent, theme = dataProps.theme, getError = function() { var type = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "x", baseError = "y" === type ? errorY : errorX; return (baseError && Array.isArray(baseError) ? baseError[0] : baseError) || dataProps[type]; }, labelStyle = style.labels || {}, padding = labelStyle.padding || 0, labelProps = { style: labelStyle, y: horizontal ? y : getError("y"), x: horizontal ? getError("x") : x, dy: horizontal ? 0 : -padding, dx: horizontal ? padding : 0, text: text, index: index, scale: scale, datum: dataProps.datum, data: dataProps.data, textAnchor: labelStyle.textAnchor || (horizontal ? "start" : "middle"), verticalAnchor: labelStyle.verticalAnchor || (horizontal ? "middle" : "end"), angle: labelStyle.angle, horizontal: horizontal }; if (!victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.isTooltip(labelComponent)) return labelProps; var tooltipTheme = theme && theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelProps, victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.omit(tooltipTheme, [ "style" ])); }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.modifyProps(props, fallbackProps, "errorbar"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), borderWidth = _props.borderWidth, data = _props.data, domain = _props.domain, events = _props.events, groupComponent = _props.groupComponent, height = _props.height, horizontal = _props.horizontal, labels = _props.labels, name = _props.name, origin = _props.origin, padding = _props.padding, polar = _props.polar, scale = _props.scale, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, initialChildProps = { parent: { data: data, domain: domain, height: height, horizontal: horizontal, name: name, origin: origin, padding: padding, polar: polar, scale: scale, standalone: standalone, style: style.parent, theme: theme, width: width } }; return data.reduce(function(childProps, datum, index) { var eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey, _Helpers$scalePoint = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.scalePoint(lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, props, { scale: scale }), datum), x = _Helpers$scalePoint.x, y = _Helpers$scalePoint.y, errorX = getErrors(props, datum = formatDataFromDomain(datum, domain), "x"), errorY = getErrors(props, datum, "y"), dataProps = { borderWidth: borderWidth, data: data, datum: datum, errorX: horizontal ? errorY : errorX, errorY: horizontal ? errorX : errorY, groupComponent: groupComponent, horizontal: horizontal, index: index, scale: scale, style: style.data, x: x, y: y }; childProps[eventKey] = { data: dataProps }; var text = victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[eventKey].labels = getLabelProps(lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, props, dataProps), text, style)), childProps; }, initialChildProps); }; }, "../../victory-errorbar/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_errorbar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-errorbar/es/victory-errorbar.js"); __webpack_require__.d(__webpack_exports__, "VictoryErrorBar", function() { return _victory_errorbar__WEBPACK_IMPORTED_MODULE_0__.default; }); var _error_bar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-errorbar/es/error-bar.js"); __webpack_require__.d(__webpack_exports__, "ErrorBar", function() { return _error_bar__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-errorbar/es/victory-errorbar.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), _error_bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-errorbar/es/error-bar.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-errorbar/es/helper-methods.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryErrorBar = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryErrorBar() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryErrorBar), call = (VictoryErrorBar.__proto__ || Object.getPrototypeOf(VictoryErrorBar)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryErrorBar, _React$Component), _defineProperties(VictoryErrorBar.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryErrorBar.animationWhitelist, role = VictoryErrorBar.role, props = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryErrorBar, staticProps), VictoryErrorBar; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(VictoryErrorBar, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "samples", "style", "width", "errorX", "errorY", "borderWidth" ] }), Object.defineProperty(VictoryErrorBar, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryErrorBar" }), Object.defineProperty(VictoryErrorBar, "role", { configurable: !0, enumerable: !0, writable: !0, value: "errorbar" }), Object.defineProperty(VictoryErrorBar, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_2__.DefaultTransitions.discreteTransitions() }), Object.defineProperty(VictoryErrorBar, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_2__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_2__.CommonProps.dataProps, { borderWidth: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, errorX: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) ]), errorY: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string) ]), horizontal: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool }) }), Object.defineProperty(VictoryErrorBar, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryContainer, null), data: [ { x: 1, y: 1, errorX: 0.1, errorY: 0.1 }, { x: 2, y: 2, errorX: 0.2, errorY: 0.2 }, { x: 3, y: 3, errorX: 0.3, errorY: 0.3 }, { x: 4, y: 4, errorX: 0.4, errorY: 0.4 } ], dataComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_error_bar__WEBPACK_IMPORTED_MODULE_3__.default, null), labelComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryLabel, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", { role: "presentation" }), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryErrorBar, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_4__.getDomain }), Object.defineProperty(VictoryErrorBar, "getData", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_4__.getData }), Object.defineProperty(VictoryErrorBar, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_4__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryErrorBar, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_2__.addEvents)(VictoryErrorBar); }, "../../victory-group/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getChildren", function() { return getChildren; }), __webpack_require__.d(__webpack_exports__, "getCalculatedProps", function() { return getCalculatedProps; }); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var fallbackProps = { width: 450, height: 300, padding: 50, offset: 0 }; function getCalculatedProps(props, childComponents) { var role = "group"; props = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(props, fallbackProps, role); var style = victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getStyle(props.theme, props.style, role), _props = props, offset = _props.offset, colorScale = _props.colorScale, color = _props.color, polar = _props.polar, horizontal = _props.horizontal, categories = props.categories || victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getCategories(props, childComponents), datasets = props.datasets || victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getDataFromChildren(props), domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getDomain(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { categories: categories }), "x", childComponents), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getDomain(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { categories: categories }), "y", childComponents) }, range = props.range || { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "y") }, baseScale = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getScaleFromProps(props, "x") || victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getScale(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getScaleFromProps(props, "y") || victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getScale(props, "y") }, scale = { x: baseScale.x.domain(domain.x).range(props.horizontal ? range.y : range.x), y: baseScale.y.domain(domain.y).range(props.horizontal ? range.x : range.y) }; return { datasets: datasets, categories: categories, range: range, domain: domain, horizontal: horizontal, scale: scale, style: style, colorScale: colorScale, color: color, offset: offset, origin: polar ? props.origin : victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getPolarOrigin(props), padding: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getPadding(props) }; } function getChildren(props, childComponents, calculatedProps) { props = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(props, fallbackProps, "stack"), childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_1___default.a.Children.toArray(props.children); var props1, calculatedProps1, categories, domain, range, scale, horizontal, origin, padding, width, theme, datasets = (calculatedProps = calculatedProps || getCalculatedProps(props, childComponents)).datasets, _props2 = props, labelComponent = _props2.labelComponent, polar = _props2.polar, childProps = (props1 = props, categories = (calculatedProps1 = calculatedProps).categories, domain = calculatedProps1.domain, range = calculatedProps1.range, scale = calculatedProps1.scale, horizontal = calculatedProps1.horizontal, origin = calculatedProps1.origin, padding = calculatedProps1.padding, width = props1.width, { height: props1.height, width: width, theme: props1.theme, polar: props1.polar, origin: origin, categories: categories, domain: domain, range: range, scale: scale, horizontal: horizontal, padding: padding, standalone: !1 }), parentName = props.name || "group"; return childComponents.map(function(child, index) { var props1, range, angularRange, r, props2, calculatedProps1, index1, groupLength, props3, calculatedProps2, index2, groupLength1, role = child.type && child.type.role, xOffset = polar ? (props2 = props, calculatedProps1 = calculatedProps, (index - (("stack" === role ? calculatedProps1.datasets[0].length : calculatedProps1.datasets.length) - 1) / 2) * (props1 = props2, angularRange = Math.abs((range = calculatedProps1.range).x[1] - range.x[0]), r = Math.max.apply(Math, _toConsumableArray(range.y)), props1.offset / (2 * Math.PI * r) * angularRange)) : (props3 = props, calculatedProps2 = calculatedProps, (index - (("stack" === role ? calculatedProps2.datasets[0].length : calculatedProps2.datasets.length) - 1) / 2) * function(props, axis, calculatedProps) { if (!props.offset) return 0; var currentAxis = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getCurrentAxis(axis, props.horizontal), domain = calculatedProps.domain[axis], range = calculatedProps.range[currentAxis]; return (Math.max.apply(Math, _toConsumableArray(domain)) - Math.min.apply(Math, _toConsumableArray(domain))) / (Math.max.apply(Math, _toConsumableArray(range)) - Math.min.apply(Math, _toConsumableArray(range))) * props.offset; }(props3, "x", calculatedProps2)), style = "voronoi" === role || "tooltip" === role || "label" === role ? child.props.style : victory_core__WEBPACK_IMPORTED_MODULE_2__.Wrapper.getChildStyle(child, index, calculatedProps), labels = props.labels ? function(props, datasets, index) { if (props.labels) return Math.floor(datasets.length / 2) === index ? props.labels : void 0; }(props, datasets, index) : child.props.labels, name = child.props.name || "".concat(parentName, "-").concat(role, "-").concat(index); return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(child, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ labels: labels, style: style, key: "".concat(name, "-key-").concat(index), name: name, data: function(props) { var defaultDataset = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [], offset = arguments.length > 2 ? arguments[2] : void 0, dataset = props.data || props.y ? victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData(props) : defaultDataset, xOffset = offset || 0; return dataset.map(function(datum) { var _x1 = datum._x instanceof Date ? new Date(datum._x.getTime() + xOffset) : datum._x + xOffset; return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, datum, { _x1: _x1 }); }); }(props, datasets[index], xOffset), colorScale: function(props, child) { var role = child.type && child.type.role, colorScaleOptions = child.props.colorScale || props.colorScale; if ("group" === role || "stack" === role) return props.theme && props.theme.group ? colorScaleOptions || props.theme.group.colorScale : colorScaleOptions; }(props, child), labelComponent: labelComponent || child.props.labelComponent, xOffset: xOffset }, childProps)); }); } }, "../../victory-group/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-group/es/victory-group.js"); __webpack_require__.d(__webpack_exports__, "VictoryGroup", function() { return _victory_group__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-group/es/victory-group.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryGroup; }); var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), victory_shared_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-shared-events/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-group/es/helper-methods.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_8__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var fallbackProps = { width: 450, height: 300, padding: 50, offset: 0 }, VictoryGroup = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryGroup(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryGroup), _this = (call = (VictoryGroup.__proto__ || Object.getPrototypeOf(VictoryGroup)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this), props.animate && (_this.state = { nodesShouldLoad: !1, nodesDoneLoad: !1, animating: !0 }, _this.setAnimationState = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.setAnimationState.bind(_assertThisInitialized(_this))), _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryGroup, _React$Component), _defineProperties(VictoryGroup.prototype, [ { key: "shouldComponentUpdate", value: function(nextProps) { return !this.props.animate || !!react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(this.props, nextProps) || (this.setAnimationState(this.props, nextProps), !1); } }, { key: "getNewChildren", value: function(props, childComponents, calculatedProps) { var children = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren)(props, childComponents, calculatedProps), getAnimationProps = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getAnimationProps.bind(this); return children.map(function(child, index) { var childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({ animate: getAnimationProps(props, child, index) }, child.props); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(child, childProps); }); } }, { key: "renderContainer", value: function(containerComponent, props) { var containerProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, containerComponent.props, props); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(containerComponent, containerProps); } }, { key: "getContainerProps", value: function(props, calculatedProps) { var width = props.width, height = props.height, standalone = props.standalone, theme = props.theme, polar = props.polar, horizontal = props.horizontal, name = props.name, domain = calculatedProps.domain, scale = calculatedProps.scale, style = calculatedProps.style, origin = calculatedProps.origin; return { domain: domain, scale: scale, width: width, height: height, standalone: standalone, theme: theme, style: style.parent, horizontal: horizontal, polar: polar, origin: origin, name: name }; } }, { key: "render", value: function() { var role = this.constructor.role, props = this.state && this.state.nodesWillExit && this.state.oldProps || this.props, modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.modifyProps(props, fallbackProps, role), eventKey = modifiedProps.eventKey, containerComponent = modifiedProps.containerComponent, standalone = modifiedProps.standalone, groupComponent = modifiedProps.groupComponent, externalEventMutations = modifiedProps.externalEventMutations, childComponents = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(modifiedProps.children), calculatedProps = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_7__.getCalculatedProps)(modifiedProps, childComponents), newChildren = this.getNewChildren(modifiedProps, childComponents, calculatedProps), containerProps = standalone ? this.getContainerProps(modifiedProps, calculatedProps) : {}, container = standalone ? this.renderContainer(containerComponent, containerProps) : groupComponent, events = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getAllEvents(props); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events) ? react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(container, container.props, newChildren) : react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_6__.VictorySharedEvents, { container: container, eventKey: eventKey, events: events, externalEventMutations: externalEventMutations }, newChildren); } } ]), staticProps && _defineProperties(VictoryGroup, staticProps), VictoryGroup; }(react__WEBPACK_IMPORTED_MODULE_4___default.a.Component); Object.defineProperty(VictoryGroup, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryGroup" }), Object.defineProperty(VictoryGroup, "role", { configurable: !0, enumerable: !0, writable: !0, value: "group" }), Object.defineProperty(VictoryGroup, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.dataProps, { children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node ]), color: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func ]), colorScale: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "grayscale", "qualitative", "heatmap", "warm", "cool", "red", "green", "blue" ]) ]), horizontal: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, offset: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) }), Object.defineProperty(VictoryGroup, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("g", null), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryGroup, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "groupComponent", "containerComponent", "labelComponent" ] }), Object.defineProperty(VictoryGroup, "getChildren", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren }); }, "../../victory-histogram/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getFormattedData", function() { return getFormattedData; }), __webpack_require__.d(__webpack_exports__, "getData", function() { return getData; }), __webpack_require__.d(__webpack_exports__, "getDomain", function() { return getDomain; }), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }); var func, lastArgs, lastReturnVal, called, lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), victory_bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-bar/es/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__), d3_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/index.js"), d3_scale__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-scale/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var dataOrBinsContainDates = function(_ref) { var data = _ref.data, bins = _ref.bins, x = _ref.x, xAccessor = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.createAccessor(x || "x"), dataIsDates = data.some(function(datum) { return xAccessor(datum) instanceof Date; }), binsHasDates = Array.isArray(bins) && bins.some(function(bin) { return bin instanceof Date; }); return dataIsDates || binsHasDates; }, getBinningFunc = function(_ref2) { var data = _ref2.data, x = _ref2.x, bins = _ref2.bins, dataOrBinsContainsDates = _ref2.dataOrBinsContainsDates, xAccessor = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.createAccessor(x || "x"), bin = d3_array__WEBPACK_IMPORTED_MODULE_5__.bin().value(xAccessor), niceScale = (dataOrBinsContainsDates ? d3_scale__WEBPACK_IMPORTED_MODULE_6__.scaleTime() : d3_scale__WEBPACK_IMPORTED_MODULE_6__.scaleLinear()).domain(d3_array__WEBPACK_IMPORTED_MODULE_5__.extent(data, xAccessor)).nice(); return Array.isArray(bins) ? (bin.domain([ bins[0], bins[bins.length - 1] ]), bin.thresholds(bins.slice(1, bins.length - 1)), bin) : Number.isInteger(bins) ? (bin.domain(niceScale.domain()), bin.thresholds(bins), bin) : dataOrBinsContainsDates ? (bin.domain(niceScale.domain()), bin.thresholds(niceScale.ticks()), bin) : (bin.domain(niceScale.domain()), bin); }, getFormattedData = (func = function(_ref3) { var _ref3$data = _ref3.data, data = void 0 === _ref3$data ? [] : _ref3$data, x = _ref3.x, bins = _ref3.bins; if ((!data || !data.length) && !Array.isArray(bins)) return []; var dataOrBinsContainsDates = dataOrBinsContainDates({ data: data, bins: bins, x: x }); return getBinningFunc({ data: data, x: x, bins: bins, dataOrBinsContainsDates: dataOrBinsContainsDates })(data).filter(function(_ref4) { var x0 = _ref4.x0, x1 = _ref4.x1; return dataOrBinsContainsDates ? new Date(x0).getTime() !== new Date(x1).getTime() : x0 !== x1; }).map(function(bin) { var arr, x0 = dataOrBinsContainsDates ? new Date(bin.x0) : bin.x0, x1 = dataOrBinsContainsDates ? new Date(bin.x1) : bin.x1; return { x0: x0, x1: x1, x: dataOrBinsContainsDates ? new Date((x0.getTime() + x1.getTime()) / 2) : (x0 + x1) / 2, y: bin.length, binnedData: function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(bin) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(bin) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }() }; }); }, called = !1, function() { for(var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++)args[_key] = arguments[_key]; if (called && react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default()(lastArgs, args)) return lastReturnVal; var value = func.apply(void 0, args); return called = !0, lastReturnVal = value, lastArgs = args, value; }), getData = function(props) { var bins = props.bins, data = props.data, x = props.x, formattedData = data.some(function(_ref5) { var _y = _ref5._y; return !lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(_y); }) ? data : getFormattedData({ data: data, x: x, bins: bins }); return victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData(_objectSpread({}, props, { data: formattedData, x: "x" })); }, getDomain = function(props, axis) { var data = getData(props); if (!data.length) return [ 0, 1 ]; if ("x" === axis) { var firstBin = data[0], lastBin = data[data.length - 1]; return victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomainWithZero(_objectSpread({}, props, { data: [ { x: firstBin.x0 }, { x: lastBin.x1 } ], x: "x" }), "x"); } return props.data.length ? victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomainWithZero(_objectSpread({}, props, { data: data }), "y") : [ 0, 1 ]; }, getCalculatedValues = function(props) { var defaultStyles = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getDefaultStyles(props, "histogram"), style = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getStyles(props.style, defaultStyles), range = props.range || { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "y") }, domain = { x: getDomain(props, "x"), y: getDomain(props, "y") }, data = getData(props); return { style: style, data: data = victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.formatDataFromDomain(data, domain, 0), scale: { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, domain: domain }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(props, fallbackProps, "histogram"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), binSpacing = _props.binSpacing, cornerRadius = _props.cornerRadius, data = _props.data, domain = _props.domain, events = _props.events, height = _props.height, horizontal = _props.horizontal, padding = _props.padding, scale = _props.scale, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, labels = _props.labels, name = _props.name, getPath = _props.getPath, initialChildProps = { parent: { horizontal: horizontal, domain: domain, scale: scale, width: width, height: height, data: data, standalone: standalone, name: name, theme: theme, padding: padding, style: style.parent } }, getDistance = function(datum) { var current = scale.x(datum.x0); return Math.abs(scale.x(datum.x1) - current); }; return data.reduce(function(childProps, datum, index) { var datum1, eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey, _getBarPosition = Object(victory_bar__WEBPACK_IMPORTED_MODULE_3__.getBarPosition)(props, datum), x = _getBarPosition.x, y = _getBarPosition.y, y0 = _getBarPosition.y0, x0 = _getBarPosition.x0, dataProps = { alignment: "middle", barWidth: binSpacing ? getDistance(datum) - binSpacing : getDistance(datum), cornerRadius: cornerRadius, data: data, datum: datum, horizontal: horizontal, index: index, scale: scale, style: style.data, width: width, height: height, x: x, y: y, y0: y0, x0: x0, getPath: getPath }; childProps[eventKey] = { data: dataProps }; var text = victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[eventKey].labels = victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getProps(props, index)), childProps; }, initialChildProps); }; }, "../../victory-histogram/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_histogram__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/es/victory-histogram.js"); __webpack_require__.d(__webpack_exports__, "VictoryHistogram", function() { return _victory_histogram__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-histogram/es/victory-histogram.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "VictoryHistogram", function() { return VictoryHistogram; }); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__), victory_bar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-bar/es/index.js"), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-histogram/es/helper-methods.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryHistogram = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryHistogram() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryHistogram), call = (VictoryHistogram.__proto__ || Object.getPrototypeOf(VictoryHistogram)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryHistogram, _React$Component), _defineProperties(VictoryHistogram.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryHistogram.animationWhitelist, role = VictoryHistogram.role, props = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryHistogram, staticProps), VictoryHistogram; }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); Object.defineProperty(VictoryHistogram, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "style", "width" ] }), Object.defineProperty(VictoryHistogram, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryHistogram" }), Object.defineProperty(VictoryHistogram, "role", { configurable: !0, enumerable: !0, writable: !0, value: "histogram" }), Object.defineProperty(VictoryHistogram, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: { onLoad: { duration: 2000, before: function() { return { _y: 0, _y1: 0, _y0: 0 }; }, after: function(datum) { return { _y: datum._y, _y1: datum._y1, _y0: datum._y0 }; } }, onExit: { duration: 500, before: function() { return { _y: 0, yOffset: 0 }; } }, onEnter: { duration: 500, before: function() { return { _y: 0, _y1: 0, _y0: 0 }; }, after: function(datum) { return { _y: datum._y, _y1: datum._y1, _y0: datum._y0 }; } } } }), Object.defineProperty(VictoryHistogram, "getFormattedData", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_4__.getFormattedData }), Object.defineProperty(VictoryHistogram, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_3__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_3__.CommonProps.dataProps, { binSpacing: victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative, bins: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.instanceOf(Date) ])), victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative ]), cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), topLeft: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), topRight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), bottom: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), bottomLeft: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), bottomRight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]) }) ]), getPath: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, horizontal: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool }) }), Object.defineProperty(VictoryHistogram, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryContainer, null), data: [], dataComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_bar__WEBPACK_IMPORTED_MODULE_2__.Bar, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g", { role: "presentation" }), labelComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryHistogram, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_4__.getDomain }), Object.defineProperty(VictoryHistogram, "getData", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_4__.getData }), Object.defineProperty(VictoryHistogram, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_4__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryHistogram, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_3__.addEvents)(VictoryHistogram); }, "../../victory-histogram/node_modules/d3-array/src/array.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "slice", function() { return slice; }), __webpack_require__.d(__webpack_exports__, "map", function() { return map; }); var array = Array.prototype, slice = array.slice, map = array.map; }, "../../victory-histogram/node_modules/d3-array/src/ascending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; }; }, "../../victory-histogram/node_modules/d3-array/src/bin.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/array.js"), _bisect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/bisect.js"), _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/constant.js"), _extent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/extent.js"), _identity_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/identity.js"), _range_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/range.js"), _ticks_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ticks.js"), _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/threshold/sturges.js"); __webpack_exports__.default = function() { var value = _identity_js__WEBPACK_IMPORTED_MODULE_4__.default, domain = _extent_js__WEBPACK_IMPORTED_MODULE_3__.default, threshold = _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_7__.default; function histogram(data) { Array.isArray(data) || (data = Array.from(data)); var i, x, n = data.length, values = Array(n); for(i = 0; i < n; ++i)values[i] = value(data[i], i, data); var xz = domain(values), x0 = xz[0], x1 = xz[1], tz = threshold(values, x0, x1); Array.isArray(tz) || (tz = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_6__.tickStep)(x0, x1, tz), tz = Object(_range_js__WEBPACK_IMPORTED_MODULE_5__.default)(Math.ceil(x0 / tz) * tz, x1, tz)); for(var m = tz.length; tz[0] <= x0;)tz.shift(), --m; for(; tz[m - 1] > x1;)tz.pop(), --m; var bin, bins = Array(m + 1); for(i = 0; i <= m; ++i)(bin = bins[i] = []).x0 = i > 0 ? tz[i - 1] : x0, bin.x1 = i < m ? tz[i] : x1; for(i = 0; i < n; ++i)x0 <= (x = values[i]) && x <= x1 && bins[Object(_bisect_js__WEBPACK_IMPORTED_MODULE_1__.default)(tz, x, 0, m)].push(data[i]); return bins; } return histogram.value = function(_) { return arguments.length ? (value = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__.default)(_), histogram) : value; }, histogram.domain = function(_) { return arguments.length ? (domain = "function" == typeof _ ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__.default)([ _[0], _[1] ]), histogram) : domain; }, histogram.thresholds = function(_) { return arguments.length ? (threshold = "function" == typeof _ ? _ : Array.isArray(_) ? Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__.default)(_array_js__WEBPACK_IMPORTED_MODULE_0__.slice.call(_)) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__.default)(_), histogram) : threshold; }, histogram; }; }, "../../victory-histogram/node_modules/d3-array/src/bisect.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "bisectRight", function() { return bisectRight; }), __webpack_require__.d(__webpack_exports__, "bisectLeft", function() { return bisectLeft; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"), ascendingBisect = Object(__webpack_require__("../../victory-histogram/node_modules/d3-array/src/bisector.js").default)(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default), bisectRight = ascendingBisect.right, bisectLeft = ascendingBisect.left; __webpack_exports__.default = bisectRight; }, "../../victory-histogram/node_modules/d3-array/src/bisector.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"); __webpack_exports__.default = function(compare) { var f; return 1 === compare.length && (f = compare, compare = function(d, x) { return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default)(f(d), x); }), { left: function(a, x, lo, hi) { for(null == lo && (lo = 0), null == hi && (hi = a.length); lo < hi;){ var mid = lo + hi >>> 1; 0 > compare(a[mid], x) ? lo = mid + 1 : hi = mid; } return lo; }, right: function(a, x, lo, hi) { for(null == lo && (lo = 0), null == hi && (hi = a.length); lo < hi;){ var mid = lo + hi >>> 1; compare(a[mid], x) > 0 ? hi = mid : lo = mid + 1; } return lo; } }; }; }, "../../victory-histogram/node_modules/d3-array/src/constant.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return function() { return x; }; }; }, "../../victory-histogram/node_modules/d3-array/src/count.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function count(values, valueof) { let count = 0; if (void 0 === valueof) for (let value of values)null != value && (value = +value) >= value && ++count; else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (value1 = +value1) >= value1 && ++count; } return count; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return count; }); }, "../../victory-histogram/node_modules/d3-array/src/cross.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function length(array) { return 0 | array.length; } function empty(length) { return !(length > 0); } function arrayify(values) { return "object" != typeof values || "length" in values ? values : Array.from(values); } function cross(...values) { var reduce; const reduce1 = "function" == typeof values[values.length - 1] && (reduce = values.pop(), (values)=>reduce(...values)); values = values.map(arrayify); const lengths = values.map(length), j = values.length - 1, index = Array(j + 1).fill(0), product = []; if (j < 0 || lengths.some(empty)) return product; for(;;){ product.push(index.map((j, i)=>values[i][j])); let i = j; for(; ++index[i] === lengths[i];){ if (0 === i) return reduce1 ? product.map(reduce1) : product; index[i--] = 0; } } } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return cross; }); }, "../../victory-histogram/node_modules/d3-array/src/cumsum.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function cumsum(values, valueof) { var sum = 0, index = 0; return Float64Array.from(values, void 0 === valueof ? (v)=>sum += +v || 0 : (v)=>sum += +valueof(v, index++, values) || 0); } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return cumsum; }); }, "../../victory-histogram/node_modules/d3-array/src/descending.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(a, b) { return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN; }; }, "../../victory-histogram/node_modules/d3-array/src/deviation.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return deviation; }); var _variance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/variance.js"); function deviation(values, valueof) { const v = Object(_variance_js__WEBPACK_IMPORTED_MODULE_0__.default)(values, valueof); return v ? Math.sqrt(v) : v; } }, "../../victory-histogram/node_modules/d3-array/src/extent.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(values, valueof) { let min, max; if (void 0 === valueof) for (const value of values)null != value && (void 0 === min ? value >= value && (min = max = value) : (min > value && (min = value), max < value && (max = value))); else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (void 0 === min ? value1 >= value1 && (min = max = value1) : (min > value1 && (min = value1), max < value1 && (max = value1))); } return [ min, max ]; }; }, "../../victory-histogram/node_modules/d3-array/src/greatest.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return greatest; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"); function greatest(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__.default) { let max; let defined = !1; if (1 === compare.length) { let maxValue; for (const element of values){ const value = compare(element); (defined ? Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default)(value, maxValue) > 0 : 0 === Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default)(value, value)) && (max = element, maxValue = value, defined = !0); } } else for (const value1 of values)(defined ? compare(value1, max) > 0 : 0 === compare(value1, value1)) && (max = value1, defined = !0); return max; } }, "../../victory-histogram/node_modules/d3-array/src/greatestIndex.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return greatestIndex; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"), _maxIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/maxIndex.js"); function greatestIndex(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__.default) { let maxValue; if (1 === compare.length) return Object(_maxIndex_js__WEBPACK_IMPORTED_MODULE_1__.default)(values, compare); let max = -1, index = -1; for (const value of values)++index, (max < 0 ? 0 === compare(value, value) : compare(value, maxValue) > 0) && (maxValue = value, max = index); return max; } }, "../../victory-histogram/node_modules/d3-array/src/group.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return group; }), __webpack_require__.d(__webpack_exports__, "groups", function() { return groups; }), __webpack_require__.d(__webpack_exports__, "rollup", function() { return rollup; }), __webpack_require__.d(__webpack_exports__, "rollups", function() { return rollups; }); var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/identity.js"); function group(values, ...keys) { return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_0__.default, _identity_js__WEBPACK_IMPORTED_MODULE_0__.default, keys); } function groups(values, ...keys) { return nest(values, Array.from, _identity_js__WEBPACK_IMPORTED_MODULE_0__.default, keys); } function rollup(values, reduce, ...keys) { return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_0__.default, reduce, keys); } function rollups(values, reduce, ...keys) { return nest(values, Array.from, reduce, keys); } function nest(values, map, reduce, keys) { return function regroup(values, i) { if (i >= keys.length) return reduce(values); const groups = new Map(), keyof = keys[i++]; let index = -1; for (const value of values){ const key = keyof(value, ++index, values), group = groups.get(key); group ? group.push(value) : groups.set(key, [ value ]); } for (const [key1, values1] of groups)groups.set(key1, regroup(values1, i)); return map(groups); }(values, 0); } }, "../../victory-histogram/node_modules/d3-array/src/identity.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(x) { return x; }; }, "../../victory-histogram/node_modules/d3-array/src/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _bisect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/bisect.js"); __webpack_require__.d(__webpack_exports__, "bisect", function() { return _bisect_js__WEBPACK_IMPORTED_MODULE_0__.default; }), __webpack_require__.d(__webpack_exports__, "bisectRight", function() { return _bisect_js__WEBPACK_IMPORTED_MODULE_0__.bisectRight; }), __webpack_require__.d(__webpack_exports__, "bisectLeft", function() { return _bisect_js__WEBPACK_IMPORTED_MODULE_0__.bisectLeft; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"); __webpack_require__.d(__webpack_exports__, "ascending", function() { return _ascending_js__WEBPACK_IMPORTED_MODULE_1__.default; }); var _bisector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/bisector.js"); __webpack_require__.d(__webpack_exports__, "bisector", function() { return _bisector_js__WEBPACK_IMPORTED_MODULE_2__.default; }); var _count_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/count.js"); __webpack_require__.d(__webpack_exports__, "count", function() { return _count_js__WEBPACK_IMPORTED_MODULE_3__.default; }); var _cross_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/cross.js"); __webpack_require__.d(__webpack_exports__, "cross", function() { return _cross_js__WEBPACK_IMPORTED_MODULE_4__.default; }); var _cumsum_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/cumsum.js"); __webpack_require__.d(__webpack_exports__, "cumsum", function() { return _cumsum_js__WEBPACK_IMPORTED_MODULE_5__.default; }); var _descending_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/descending.js"); __webpack_require__.d(__webpack_exports__, "descending", function() { return _descending_js__WEBPACK_IMPORTED_MODULE_6__.default; }); var _deviation_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/deviation.js"); __webpack_require__.d(__webpack_exports__, "deviation", function() { return _deviation_js__WEBPACK_IMPORTED_MODULE_7__.default; }); var _extent_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/extent.js"); __webpack_require__.d(__webpack_exports__, "extent", function() { return _extent_js__WEBPACK_IMPORTED_MODULE_8__.default; }); var _group_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/group.js"); __webpack_require__.d(__webpack_exports__, "group", function() { return _group_js__WEBPACK_IMPORTED_MODULE_9__.default; }), __webpack_require__.d(__webpack_exports__, "groups", function() { return _group_js__WEBPACK_IMPORTED_MODULE_9__.groups; }), __webpack_require__.d(__webpack_exports__, "rollup", function() { return _group_js__WEBPACK_IMPORTED_MODULE_9__.rollup; }), __webpack_require__.d(__webpack_exports__, "rollups", function() { return _group_js__WEBPACK_IMPORTED_MODULE_9__.rollups; }); var _bin_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/bin.js"); __webpack_require__.d(__webpack_exports__, "bin", function() { return _bin_js__WEBPACK_IMPORTED_MODULE_10__.default; }), __webpack_require__.d(__webpack_exports__, "histogram", function() { return _bin_js__WEBPACK_IMPORTED_MODULE_10__.default; }); var _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/threshold/freedmanDiaconis.js"); __webpack_require__.d(__webpack_exports__, "thresholdFreedmanDiaconis", function() { return _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_11__.default; }); var _threshold_scott_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/threshold/scott.js"); __webpack_require__.d(__webpack_exports__, "thresholdScott", function() { return _threshold_scott_js__WEBPACK_IMPORTED_MODULE_12__.default; }); var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/threshold/sturges.js"); __webpack_require__.d(__webpack_exports__, "thresholdSturges", function() { return _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_13__.default; }); var _max_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/max.js"); __webpack_require__.d(__webpack_exports__, "max", function() { return _max_js__WEBPACK_IMPORTED_MODULE_14__.default; }); var _maxIndex_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/maxIndex.js"); __webpack_require__.d(__webpack_exports__, "maxIndex", function() { return _maxIndex_js__WEBPACK_IMPORTED_MODULE_15__.default; }); var _mean_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/mean.js"); __webpack_require__.d(__webpack_exports__, "mean", function() { return _mean_js__WEBPACK_IMPORTED_MODULE_16__.default; }); var _median_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/median.js"); __webpack_require__.d(__webpack_exports__, "median", function() { return _median_js__WEBPACK_IMPORTED_MODULE_17__.default; }); var _merge_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/merge.js"); __webpack_require__.d(__webpack_exports__, "merge", function() { return _merge_js__WEBPACK_IMPORTED_MODULE_18__.default; }); var _min_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/min.js"); __webpack_require__.d(__webpack_exports__, "min", function() { return _min_js__WEBPACK_IMPORTED_MODULE_19__.default; }); var _minIndex_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/minIndex.js"); __webpack_require__.d(__webpack_exports__, "minIndex", function() { return _minIndex_js__WEBPACK_IMPORTED_MODULE_20__.default; }); var _pairs_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/pairs.js"); __webpack_require__.d(__webpack_exports__, "pairs", function() { return _pairs_js__WEBPACK_IMPORTED_MODULE_21__.default; }); var _permute_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/permute.js"); __webpack_require__.d(__webpack_exports__, "permute", function() { return _permute_js__WEBPACK_IMPORTED_MODULE_22__.default; }); var _quantile_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/quantile.js"); __webpack_require__.d(__webpack_exports__, "quantile", function() { return _quantile_js__WEBPACK_IMPORTED_MODULE_23__.default; }), __webpack_require__.d(__webpack_exports__, "quantileSorted", function() { return _quantile_js__WEBPACK_IMPORTED_MODULE_23__.quantileSorted; }); var _quickselect_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/quickselect.js"); __webpack_require__.d(__webpack_exports__, "quickselect", function() { return _quickselect_js__WEBPACK_IMPORTED_MODULE_24__.default; }); var _range_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/range.js"); __webpack_require__.d(__webpack_exports__, "range", function() { return _range_js__WEBPACK_IMPORTED_MODULE_25__.default; }); var _least_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/least.js"); __webpack_require__.d(__webpack_exports__, "least", function() { return _least_js__WEBPACK_IMPORTED_MODULE_26__.default; }); var _leastIndex_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/leastIndex.js"); __webpack_require__.d(__webpack_exports__, "leastIndex", function() { return _leastIndex_js__WEBPACK_IMPORTED_MODULE_27__.default; }); var _greatest_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/greatest.js"); __webpack_require__.d(__webpack_exports__, "greatest", function() { return _greatest_js__WEBPACK_IMPORTED_MODULE_28__.default; }); var _greatestIndex_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/greatestIndex.js"); __webpack_require__.d(__webpack_exports__, "greatestIndex", function() { return _greatestIndex_js__WEBPACK_IMPORTED_MODULE_29__.default; }); var _scan_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/scan.js"); __webpack_require__.d(__webpack_exports__, "scan", function() { return _scan_js__WEBPACK_IMPORTED_MODULE_30__.default; }); var _shuffle_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/shuffle.js"); __webpack_require__.d(__webpack_exports__, "shuffle", function() { return _shuffle_js__WEBPACK_IMPORTED_MODULE_31__.default; }); var _sum_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/sum.js"); __webpack_require__.d(__webpack_exports__, "sum", function() { return _sum_js__WEBPACK_IMPORTED_MODULE_32__.default; }); var _ticks_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ticks.js"); __webpack_require__.d(__webpack_exports__, "ticks", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_33__.default; }), __webpack_require__.d(__webpack_exports__, "tickIncrement", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_33__.tickIncrement; }), __webpack_require__.d(__webpack_exports__, "tickStep", function() { return _ticks_js__WEBPACK_IMPORTED_MODULE_33__.tickStep; }); var _transpose_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/transpose.js"); __webpack_require__.d(__webpack_exports__, "transpose", function() { return _transpose_js__WEBPACK_IMPORTED_MODULE_34__.default; }); var _variance_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/variance.js"); __webpack_require__.d(__webpack_exports__, "variance", function() { return _variance_js__WEBPACK_IMPORTED_MODULE_35__.default; }); var _zip_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/zip.js"); __webpack_require__.d(__webpack_exports__, "zip", function() { return _zip_js__WEBPACK_IMPORTED_MODULE_36__.default; }); }, "../../victory-histogram/node_modules/d3-array/src/least.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return least; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"); function least(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__.default) { let min; let defined = !1; if (1 === compare.length) { let minValue; for (const element of values){ const value = compare(element); (defined ? 0 > Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default)(value, minValue) : 0 === Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__.default)(value, value)) && (min = element, minValue = value, defined = !0); } } else for (const value1 of values)(defined ? 0 > compare(value1, min) : 0 === compare(value1, value1)) && (min = value1, defined = !0); return min; } }, "../../victory-histogram/node_modules/d3-array/src/leastIndex.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return leastIndex; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"), _minIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/minIndex.js"); function leastIndex(values, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__.default) { let minValue; if (1 === compare.length) return Object(_minIndex_js__WEBPACK_IMPORTED_MODULE_1__.default)(values, compare); let min = -1, index = -1; for (const value of values)++index, (min < 0 ? 0 === compare(value, value) : 0 > compare(value, minValue)) && (minValue = value, min = index); return min; } }, "../../victory-histogram/node_modules/d3-array/src/max.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function max(values, valueof) { let max; if (void 0 === valueof) for (const value of values)null != value && (max < value || void 0 === max && value >= value) && (max = value); else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (max < value1 || void 0 === max && value1 >= value1) && (max = value1); } return max; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return max; }); }, "../../victory-histogram/node_modules/d3-array/src/maxIndex.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function maxIndex(values, valueof) { let max; let maxIndex = -1, index = -1; if (void 0 === valueof) for (const value of values)++index, null != value && (max < value || void 0 === max && value >= value) && (max = value, maxIndex = index); else for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (max < value1 || void 0 === max && value1 >= value1) && (max = value1, maxIndex = index); return maxIndex; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return maxIndex; }); }, "../../victory-histogram/node_modules/d3-array/src/mean.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function mean(values, valueof) { let count = 0, sum = 0; if (void 0 === valueof) for (let value of values)null != value && (value = +value) >= value && (++count, sum += value); else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (value1 = +value1) >= value1 && (++count, sum += value1); } if (count) return sum / count; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return mean; }); }, "../../victory-histogram/node_modules/d3-array/src/median.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _quantile_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/quantile.js"); __webpack_exports__.default = function(values, valueof) { return Object(_quantile_js__WEBPACK_IMPORTED_MODULE_0__.default)(values, 0.5, valueof); }; }, "../../victory-histogram/node_modules/d3-array/src/merge.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function merge(arrays) { return Array.from(function*(arrays) { for (const array of arrays)yield* array; }(arrays)); } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return merge; }); }, "../../victory-histogram/node_modules/d3-array/src/min.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function min(values, valueof) { let min; if (void 0 === valueof) for (const value of values)null != value && (min > value || void 0 === min && value >= value) && (min = value); else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (min > value1 || void 0 === min && value1 >= value1) && (min = value1); } return min; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return min; }); }, "../../victory-histogram/node_modules/d3-array/src/minIndex.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function minIndex(values, valueof) { let min; let minIndex = -1, index = -1; if (void 0 === valueof) for (const value of values)++index, null != value && (min > value || void 0 === min && value >= value) && (min = value, minIndex = index); else for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (min > value1 || void 0 === min && value1 >= value1) && (min = value1, minIndex = index); return minIndex; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return minIndex; }); }, "../../victory-histogram/node_modules/d3-array/src/number.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function* numbers(values, valueof) { if (void 0 === valueof) for (let value of values)null != value && (value = +value) >= value && (yield value); else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (value1 = +value1) >= value1 && (yield value1); } } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "numbers", function() { return numbers; }), __webpack_exports__.default = function(x) { return null === x ? NaN : +x; }; }, "../../victory-histogram/node_modules/d3-array/src/pairs.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function pairs(values, pairof = pair) { let previous; const pairs = []; let first = !1; for (const value of values)first && pairs.push(pairof(previous, value)), previous = value, first = !0; return pairs; } function pair(a, b) { return [ a, b ]; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return pairs; }), __webpack_require__.d(__webpack_exports__, "pair", function() { return pair; }); }, "../../victory-histogram/node_modules/d3-array/src/permute.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(source, keys) { return Array.from(keys, (key)=>source[key]); }; }, "../../victory-histogram/node_modules/d3-array/src/quantile.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return quantile; }), __webpack_require__.d(__webpack_exports__, "quantileSorted", function() { return quantileSorted; }); var _max_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/max.js"), _min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/min.js"), _quickselect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/quickselect.js"), _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/number.js"); function quantile(values, p, valueof) { if (n = (values = Float64Array.from(Object(_number_js__WEBPACK_IMPORTED_MODULE_3__.numbers)(values, valueof))).length) { if ((p = +p) <= 0 || n < 2) return Object(_min_js__WEBPACK_IMPORTED_MODULE_1__.default)(values); if (p >= 1) return Object(_max_js__WEBPACK_IMPORTED_MODULE_0__.default)(values); var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = Object(_max_js__WEBPACK_IMPORTED_MODULE_0__.default)(Object(_quickselect_js__WEBPACK_IMPORTED_MODULE_2__.default)(values, i0).subarray(0, i0 + 1)); return value0 + (Object(_min_js__WEBPACK_IMPORTED_MODULE_1__.default)(values.subarray(i0 + 1)) - value0) * (i - i0); } } function quantileSorted(values, p, valueof = _number_js__WEBPACK_IMPORTED_MODULE_3__.default) { if (n = values.length) { if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values); if (p >= 1) return +valueof(values[n - 1], n - 1, values); var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values); return value0 + (+valueof(values[i0 + 1], i0 + 1, values) - value0) * (i - i0); } } }, "../../victory-histogram/node_modules/d3-array/src/quickselect.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return function quickselect(array, k, left = 0, right = array.length - 1, compare = _ascending_js__WEBPACK_IMPORTED_MODULE_0__.default) { for(; right > left;){ if (right - left > 600) { const n = right - left + 1, m = k - left + 1, z = Math.log(n), s = 0.5 * Math.exp(2 * z / 3), sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1), newLeft = Math.max(left, Math.floor(k - m * s / n + sd)), newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd)); quickselect(array, k, newLeft, newRight, compare); } const t = array[k]; let i = left, j = right; for(swap(array, left, k), compare(array[right], t) > 0 && swap(array, left, right); i < j;){ for(swap(array, i, j), ++i, --j; 0 > compare(array[i], t);)++i; for(; compare(array[j], t) > 0;)--j; } 0 === compare(array[left], t) ? swap(array, left, j) : swap(array, ++j, right), j <= k && (left = j + 1), k <= j && (right = j - 1); } return array; }; }); var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/ascending.js"); function swap(array, i, j) { const t = array[i]; array[i] = array[j], array[j] = t; } }, "../../victory-histogram/node_modules/d3-array/src/range.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_exports__.default = function(start, stop, step) { start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step; for(var i = -1, n = 0 | Math.max(0, Math.ceil((stop - start) / step)), range = Array(n); ++i < n;)range[i] = start + i * step; return range; }; }, "../../victory-histogram/node_modules/d3-array/src/scan.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return scan; }); var _leastIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/leastIndex.js"); function scan(values, compare) { const index = Object(_leastIndex_js__WEBPACK_IMPORTED_MODULE_0__.default)(values, compare); return index < 0 ? void 0 : index; } }, "../../victory-histogram/node_modules/d3-array/src/shuffle.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function shuffle(array, i0 = 0, i1 = array.length) { for(var t, i, m = i1 - (i0 = +i0); m;)i = Math.random() * m-- | 0, t = array[m + i0], array[m + i0] = array[i + i0], array[i + i0] = t; return array; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return shuffle; }); }, "../../victory-histogram/node_modules/d3-array/src/sum.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function sum(values, valueof) { let sum = 0; if (void 0 === valueof) for (let value of values)(value = +value) && (sum += value); else { let index = -1; for (let value1 of values)(value1 = +valueof(value1, ++index, values)) && (sum += value1); } return sum; } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return sum; }); }, "../../victory-histogram/node_modules/d3-array/src/threshold/freedmanDiaconis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/count.js"), _quantile_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/quantile.js"); __webpack_exports__.default = function(values, min, max) { return Math.ceil((max - min) / (2 * (Object(_quantile_js__WEBPACK_IMPORTED_MODULE_1__.default)(values, 0.75) - Object(_quantile_js__WEBPACK_IMPORTED_MODULE_1__.default)(values, 0.25)) * Math.pow(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__.default)(values), -1 / 3))); }; }, "../../victory-histogram/node_modules/d3-array/src/threshold/scott.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/count.js"), _deviation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/deviation.js"); __webpack_exports__.default = function(values, min, max) { return Math.ceil((max - min) / (3.5 * Object(_deviation_js__WEBPACK_IMPORTED_MODULE_1__.default)(values) * Math.pow(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__.default)(values), -1 / 3))); }; }, "../../victory-histogram/node_modules/d3-array/src/threshold/sturges.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/count.js"); __webpack_exports__.default = function(values) { return Math.ceil(Math.log(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__.default)(values)) / Math.LN2) + 1; }; }, "../../victory-histogram/node_modules/d3-array/src/ticks.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "tickIncrement", function() { return tickIncrement; }), __webpack_require__.d(__webpack_exports__, "tickStep", function() { return tickStep; }); var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2); function tickIncrement(start, stop, count) { var step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log(step) / Math.LN10), error = step / Math.pow(10, power); return power >= 0 ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1); } function tickStep(start, stop, count) { var step0 = Math.abs(stop - start) / Math.max(0, count), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error = step0 / step1; return error >= e10 ? step1 *= 10 : error >= e5 ? step1 *= 5 : error >= e2 && (step1 *= 2), stop < start ? -step1 : step1; } __webpack_exports__.default = function(start, stop, count) { var reverse, n, ticks, step, i = -1; if (count = +count, (start = +start) == (stop = +stop) && count > 0) return [ start ]; if ((reverse = stop < start) && (n = start, start = stop, stop = n), 0 === (step = tickIncrement(start, stop, count)) || !isFinite(step)) return []; if (step > 0) for(start = Math.ceil(start / step), ticks = Array(n = Math.ceil((stop = Math.floor(stop / step)) - start + 1)); ++i < n;)ticks[i] = (start + i) * step; else for(ticks = Array(n = Math.ceil((start = Math.floor(start * step)) - (stop = Math.ceil(stop * step)) + 1)); ++i < n;)ticks[i] = (start - i) / step; return reverse && ticks.reverse(), ticks; }; }, "../../victory-histogram/node_modules/d3-array/src/transpose.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/min.js"); function length(d) { return d.length; } __webpack_exports__.default = function(matrix) { if (!(n = matrix.length)) return []; for(var i = -1, m = Object(_min_js__WEBPACK_IMPORTED_MODULE_0__.default)(matrix, length), transpose = Array(m); ++i < m;)for(var n, j = -1, row = transpose[i] = Array(n); ++j < n;)row[j] = matrix[j][i]; return transpose; }; }, "../../victory-histogram/node_modules/d3-array/src/variance.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; function variance(values, valueof) { let delta, count = 0, mean = 0, sum = 0; if (void 0 === valueof) for (let value of values)null != value && (value = +value) >= value && (delta = value - mean, mean += delta / ++count, sum += delta * (value - mean)); else { let index = -1; for (let value1 of values)null != (value1 = valueof(value1, ++index, values)) && (value1 = +value1) >= value1 && (delta = value1 - mean, mean += delta / ++count, sum += delta * (value1 - mean)); } if (count > 1) return sum / (count - 1); } __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return variance; }); }, "../../victory-histogram/node_modules/d3-array/src/zip.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _transpose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-histogram/node_modules/d3-array/src/transpose.js"); __webpack_exports__.default = function() { return Object(_transpose_js__WEBPACK_IMPORTED_MODULE_0__.default)(arguments); }; }, "../../victory-legend/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getDimensions", function() { return getDimensions; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_range__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/range.js"), lodash_range__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_range__WEBPACK_IMPORTED_MODULE_1__), lodash_sum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/sum.js"), lodash_sum__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_sum__WEBPACK_IMPORTED_MODULE_2__), lodash_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_3__), lodash_groupBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/groupBy.js"), lodash_groupBy__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_4__), lodash_assign__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_5__), lodash_defaults__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_6__), victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/index.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var getColorScale = function(props) { var colorScale = props.colorScale; return "string" == typeof colorScale ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Style.getColorScale(colorScale) : colorScale || []; }, getLabelStyles = function(props) { var data = props.data, style = props.style; return data.map(function(datum, index) { var baseLabelStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, datum.labels, style.labels); return victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateStyle(baseLabelStyles, { datum: datum, index: index, data: data }); }); }, getStyles = function(props, styleObject) { var style = props.style || {}; return styleObject = styleObject || {}, { parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()(style.parent, styleObject.parent, { height: "100%", width: "100%" }), data: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.data, styleObject.data), labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.labels, styleObject.labels), border: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.border, styleObject.border), title: lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, style.title, styleObject.title) }; }, getCalculatedValues = function(props) { var orientation = props.orientation, theme = props.theme, style = getStyles(props, theme && theme.legend && theme.legend.style ? theme.legend.style : {}), colorScale = getColorScale(props), borderPadding = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.getPadding({ padding: props.borderPadding }); return lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, props, { style: style, isHorizontal: "horizontal" === orientation, colorScale: colorScale, borderPadding: borderPadding }); }, getColumn = function(props, index) { var itemsPerRow = props.itemsPerRow, isHorizontal = props.isHorizontal; return itemsPerRow ? isHorizontal ? index % itemsPerRow : Math.floor(index / itemsPerRow) : isHorizontal ? index : 0; }, getRow = function(props, index) { var itemsPerRow = props.itemsPerRow, isHorizontal = props.isHorizontal; return itemsPerRow ? isHorizontal ? Math.floor(index / itemsPerRow) : index % itemsPerRow : isHorizontal ? 0 : index; }, groupData = function(props) { var data = props.data, style = props.style && props.style.data || {}, labelStyles = getLabelStyles(props); return data.map(function(datum, index) { var symbol = datum.symbol || {}, fontSize = labelStyles[index].fontSize, size = symbol.size || style.size || fontSize / 2.5, symbolSpacer = props.symbolSpacer || Math.max(size, fontSize); return function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, datum, { size: size, symbolSpacer: symbolSpacer, fontSize: fontSize, textSize: victory_core__WEBPACK_IMPORTED_MODULE_7__.TextSize.approximateTextSize(datum.name, labelStyles[index]), column: getColumn(props, index), row: getRow(props, index) }); }); }, getColumnWidths = function(props, data) { var gutter = props.gutter || {}, gutterWidth = "object" == typeof gutter ? (gutter.left || 0) + (gutter.right || 0) : gutter || 0, dataByColumn = lodash_groupBy__WEBPACK_IMPORTED_MODULE_4___default()(data, "column"); return lodash_keys__WEBPACK_IMPORTED_MODULE_3___default()(dataByColumn).reduce(function(memo, curr, index) { var lengths = dataByColumn[curr].map(function(d) { return d.textSize.width + d.size + d.symbolSpacer + gutterWidth; }); return memo[index] = Math.max.apply(Math, _toConsumableArray(lengths)), memo; }, []); }, getRowHeights = function(props, data) { var gutter = props.rowGutter || {}, gutterHeight = "object" == typeof gutter ? (gutter.top || 0) + (gutter.bottom || 0) : gutter || 0, dataByRow = lodash_groupBy__WEBPACK_IMPORTED_MODULE_4___default()(data, "row"); return lodash_keys__WEBPACK_IMPORTED_MODULE_3___default()(dataByRow).reduce(function(memo, curr, index) { var lengths = dataByRow[curr].map(function(d) { return d.textSize.height + d.symbolSpacer + gutterHeight; }); return memo[index] = Math.max.apply(Math, _toConsumableArray(lengths)), memo; }, []); }, getTitleDimensions = function(props) { var style = props.style && props.style.title || {}, textSize = victory_core__WEBPACK_IMPORTED_MODULE_7__.TextSize.approximateTextSize(props.title, style), padding = style.padding || 0; return { height: textSize.height + 2 * padding || 0, width: textSize.width + 2 * padding || 0 }; }, getOffset = function(datum, rowHeights, columnWidths) { var column = datum.column, row = datum.row; return { x: lodash_range__WEBPACK_IMPORTED_MODULE_1___default()(column).reduce(function(memo, curr) { return memo + columnWidths[curr]; }, 0), y: lodash_range__WEBPACK_IMPORTED_MODULE_1___default()(row).reduce(function(memo, curr) { return memo + rowHeights[curr]; }, 0) }; }, getAnchors = function(titleOrientation, centerTitle) { var standardAnchors = { textAnchor: "right" === titleOrientation ? "end" : "start", verticalAnchor: "bottom" === titleOrientation ? "end" : "start" }; if (!centerTitle) return standardAnchors; var horizontal = "top" === titleOrientation || "bottom" === titleOrientation; return { textAnchor: horizontal ? "middle" : standardAnchors.textAnchor, verticalAnchor: horizontal ? standardAnchors.verticalAnchor : "middle" }; }, getTitleStyle = function(props) { var titleOrientation = props.titleOrientation, centerTitle = props.centerTitle, titleComponent = props.titleComponent, baseStyle = props.style && props.style.title || {}, componentStyle = titleComponent.props && titleComponent.props.style || {}, anchors = getAnchors(titleOrientation, centerTitle); return Array.isArray(componentStyle) ? componentStyle.map(function(obj) { return lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, obj, baseStyle, anchors); }) : lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, componentStyle, baseStyle, anchors); }, getTitleProps = function(props, borderProps) { var title = props.title, titleOrientation = props.titleOrientation, centerTitle = props.centerTitle, borderPadding = props.borderPadding, height = borderProps.height, width = borderProps.width, style = getTitleStyle(props), padding = Array.isArray(style) ? style[0].padding : style.padding, horizontal = "top" === titleOrientation || "bottom" === titleOrientation, standardPadding = { x: centerTitle ? width / 2 : borderPadding["bottom" === titleOrientation ? "bottom" : "top"] + (padding || 0), y: centerTitle ? height / 2 : borderPadding["right" === titleOrientation ? "right" : "left"] + (padding || 0) }, getPadding = function() { return borderPadding[titleOrientation] + (padding || 0); }, xOffset = horizontal ? standardPadding.x : getPadding(), yOffset = horizontal ? getPadding() : standardPadding.y; return { x: "right" === titleOrientation ? props.x + width - xOffset : props.x + xOffset, y: "bottom" === titleOrientation ? props.y + height - yOffset : props.y + yOffset, style: style, text: title }; }, getBorderProps = function(props, contentHeight, contentWidth) { var x = props.x, y = props.y, borderPadding = props.borderPadding, style = props.style; return { x: x, y: y, height: (contentHeight || 0) + borderPadding.top + borderPadding.bottom, width: (contentWidth || 0) + borderPadding.left + borderPadding.right, style: lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({ fill: "none" }, style.border) }; }, getDimensions = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.modifyProps(props, fallbackProps, "legend"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), title = _props.title, titleOrientation = _props.titleOrientation, groupedData = groupData(props), columnWidths = getColumnWidths(props, groupedData), rowHeights = getRowHeights(props, groupedData), titleDimensions = title ? getTitleDimensions(props) : { height: 0, width: 0 }; return { height: "left" === titleOrientation || "right" === titleOrientation ? Math.max(lodash_sum__WEBPACK_IMPORTED_MODULE_2___default()(rowHeights), titleDimensions.height) : lodash_sum__WEBPACK_IMPORTED_MODULE_2___default()(rowHeights) + titleDimensions.height, width: "left" === titleOrientation || "right" === titleOrientation ? lodash_sum__WEBPACK_IMPORTED_MODULE_2___default()(columnWidths) + titleDimensions.width : Math.max(lodash_sum__WEBPACK_IMPORTED_MODULE_2___default()(columnWidths), titleDimensions.width) }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.modifyProps(props, fallbackProps, "legend"), _props2 = props = lodash_assign__WEBPACK_IMPORTED_MODULE_5___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), data = _props2.data, standalone = _props2.standalone, theme = _props2.theme, padding = _props2.padding, style = _props2.style, colorScale = _props2.colorScale, gutter = _props2.gutter, rowGutter = _props2.rowGutter, borderPadding = _props2.borderPadding, title = _props2.title, titleOrientation = _props2.titleOrientation, name = _props2.name, _props2$x = _props2.x, x = void 0 === _props2$x ? 0 : _props2$x, _props2$y = _props2.y, y = void 0 === _props2$y ? 0 : _props2$y, groupedData = groupData(props), columnWidths = getColumnWidths(props, groupedData), rowHeights = getRowHeights(props, groupedData), labelStyles = getLabelStyles(props), titleDimensions = title ? getTitleDimensions(props) : { height: 0, width: 0 }, titleOffset = { x: "left" === titleOrientation ? titleDimensions.width : 0, y: "top" === titleOrientation ? titleDimensions.height : 0 }, gutterOffset = { x: gutter && "object" == typeof gutter && gutter.left || 0, y: rowGutter && "object" == typeof rowGutter && rowGutter.top || 0 }, _getDimensions = getDimensions(props, fallbackProps), height = _getDimensions.height, width = _getDimensions.width, borderProps = getBorderProps(props, height, width), titleProps = getTitleProps(props, borderProps), initialProps = { parent: { data: data, standalone: standalone, theme: theme, padding: padding, name: name, height: props.height, width: props.width, style: style.parent }, all: { border: borderProps, title: titleProps } }; return groupedData.reduce(function(childProps, datum, i) { var color = colorScale[i % colorScale.length], dataStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_6___default()({}, datum.symbol, style.data, { fill: color }), eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? i : datum.eventKey, offset = getOffset(datum, rowHeights, columnWidths), originY = y + borderPadding.top + datum.symbolSpacer, originX = x + borderPadding.left + datum.symbolSpacer, dataProps = { index: i, data: data, datum: datum, symbol: dataStyle.type || dataStyle.symbol || "circle", size: datum.size, style: dataStyle, y: originY + offset.y + titleOffset.y + gutterOffset.y, x: originX + offset.x + titleOffset.x + gutterOffset.x }, labelProps = { datum: datum, data: data, text: datum.name, style: labelStyles[i], y: dataProps.y, x: dataProps.x + datum.symbolSpacer + datum.size / 2 }; return childProps[eventKey] = { data: dataProps, labels: labelProps }, childProps; }, initialProps); }; }, "../../victory-legend/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_legend__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-legend/es/victory-legend.js"); __webpack_require__.d(__webpack_exports__, "VictoryLegend", function() { return _victory_legend__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-legend/es/victory-legend.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__), _helper_methods__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-legend/es/helper-methods.js"), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { orientation: "vertical", titleOrientation: "top", width: 450, height: 300, x: 0, y: 0 }, VictoryLegend = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryLegend() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryLegend), call = (VictoryLegend.__proto__ || Object.getPrototypeOf(VictoryLegend)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryLegend, _React$Component), _defineProperties(VictoryLegend.prototype, [ { key: "renderChildren", value: function(props) { var _this = this, dataComponent = props.dataComponent, labelComponent = props.labelComponent, title = props.title, dataComponents = this.dataKeys.map(function(_dataKey, index) { if ("all" !== _dataKey) { var dataProps = _this.getComponentProps(dataComponent, "data", index); return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(dataComponent, dataProps); } }).filter(Boolean), labelComponents = this.dataKeys.map(function(_dataKey, index) { if ("all" !== _dataKey) { var labelProps = _this.getComponentProps(labelComponent, "labels", index); if (void 0 !== labelProps.text && null !== labelProps.text) return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(labelComponent, labelProps); } }).filter(Boolean), borderProps = this.getComponentProps(props.borderComponent, "border", "all"), borderComponent = react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(props.borderComponent, borderProps); if (title) { var titleProps = this.getComponentProps(props.title, "title", "all"), titleComponent = react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(props.titleComponent, titleProps); return [ borderComponent ].concat(_toConsumableArray(dataComponents), [ titleComponent ], _toConsumableArray(labelComponents)); } return [ borderComponent ].concat(_toConsumableArray(dataComponents), _toConsumableArray(labelComponents)); } }, { key: "render", value: function() { var role = this.constructor.role, props = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.modifyProps(this.props, fallbackProps, role), children = [ this.renderChildren(props) ]; return props.standalone ? this.renderContainer(props.containerComponent, children) : react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(props.groupComponent, {}, children); } } ]), staticProps && _defineProperties(VictoryLegend, staticProps), VictoryLegend; }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); Object.defineProperty(VictoryLegend, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryLegend" }), Object.defineProperty(VictoryLegend, "role", { configurable: !0, enumerable: !0, writable: !0, value: "legend" }), Object.defineProperty(VictoryLegend, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { borderComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, borderPadding: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number }) ]), centerTitle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, colorScale: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "grayscale", "qualitative", "heatmap", "warm", "cool", "red", "green", "blue" ]) ]), containerComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ name: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired, label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, symbol: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object })), dataComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, eventKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]), events: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "data", "labels", "parent" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object })), externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ callback: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.function, childName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]), mutation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.function, target: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]) })), groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, gutter: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ left: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number }) ]), height: victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative, itemsPerRow: victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative, labelComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, name: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, orientation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "horizontal", "vertical" ]), padding: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number }) ]), rowGutter: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number }) ]), sharedEvents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ events: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, getEventState: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func }), standalone: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, style: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ border: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, labels: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, parent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object }), symbolSpacer: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, theme: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]), titleComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, titleOrientation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "top", "bottom", "left", "right" ]), width: victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative, x: victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative, y: victory_core__WEBPACK_IMPORTED_MODULE_3__.PropTypes.nonNegative } }), Object.defineProperty(VictoryLegend, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { borderComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Border, null), data: [ { name: "Series 1" }, { name: "Series 2" } ], containerComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryContainer, null), dataComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Point, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g", null), labelComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null), standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryTheme.grayscale, titleComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.VictoryLabel, null) } }), Object.defineProperty(VictoryLegend, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_2__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryLegend, "getDimensions", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_2__.getDimensions)(props, fallbackProps); } }), Object.defineProperty(VictoryLegend, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "borderComponent", "containerComponent", "dataComponent", "groupComponent", "labelComponent", "titleComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_3__.addEvents)(VictoryLegend); }, "../../victory-line/es/curve.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), d3_shape__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-shape/src/index.js"), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var defined = function(d) { var y = void 0 !== d._y1 ? d._y1 : d._y; return null != y && null !== d._y0; }, getXAccessor = function(scale) { return function(d) { return scale.x(void 0 !== d._x1 ? d._x1 : d._x); }; }, getYAccessor = function(scale) { return function(d) { return scale.y(void 0 !== d._y1 ? d._y1 : d._y); }; }, toNewName = function(interpolation) { var s; return "curve".concat(interpolation && interpolation[0].toUpperCase() + interpolation.slice(1)); }, getLineFunction = function(props) { var scale, polar = props.polar, scale1 = props.scale, horizontal = props.horizontal, openCurve = void 0 === props.openCurve ? !polar : props.openCurve, interpolationFunction = "function" == typeof props.interpolation && props.interpolation, interpolationName = "string" == typeof props.interpolation && (openCurve ? toNewName(props.interpolation) : "".concat(toNewName(props.interpolation), "Closed")); return polar ? d3_shape__WEBPACK_IMPORTED_MODULE_3__.lineRadial().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).angle(function(d) { return -1 * scale1.x(void 0 !== d._x1 ? d._x1 : d._x) + Math.PI / 2; }).radius(getYAccessor(scale1)) : d3_shape__WEBPACK_IMPORTED_MODULE_3__.line().defined(defined).curve(interpolationFunction || d3_shape__WEBPACK_IMPORTED_MODULE_3__[interpolationName]).x(horizontal ? getYAccessor(scale1) : getXAccessor(scale1)).y(horizontal ? getXAccessor(scale1) : getYAccessor(scale1)); }, evaluateProps = function(props) { var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.ariaLabel, props), id = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.id, props), style = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateStyle(lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({ fill: "none", stroke: "black" }, props.style), props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, id: id, style: style, tabIndex: tabIndex }); }, Curve = function(props) { var _props = props = evaluateProps(props), polar = _props.polar, origin = _props.origin, lineFunction = getLineFunction(props), defaultTransform = polar && origin ? "translate(".concat(origin.x, ", ").concat(origin.y, ")") : void 0; return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.pathComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, d: lineFunction(props.data), style: props.style, transform: props.transform || defaultTransform, className: props.className, role: props.role, shapeRendering: props.shapeRendering, clipPath: props.clipPath, tabIndex: props.tabIndex })); }; Curve.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.primitiveProps, { interpolation: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func ]), openCurve: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, origin: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, polar: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool }), Curve.defaultProps = { pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Path, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Curve; }, "../../victory-line/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), getCalculatedValues = function(props) { var data = victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData(props); data.length < 2 && (data = []); var range = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getRange(props, "y") }, domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomain(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomain(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_2__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, origin = props.polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getPolarOrigin(props) : void 0, defaultStyles = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getDefaultStyles(props, "line"); return { domain: domain, data: data, scale: scale, style: victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.getStyles(props.style, defaultStyles), origin: origin }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(props, fallbackProps, "line"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), data = _props.data, domain = _props.domain, events = _props.events, groupComponent = _props.groupComponent, height = _props.height, horizontal = _props.horizontal, interpolation = _props.interpolation, origin = _props.origin, padding = _props.padding, polar = _props.polar, scale = _props.scale, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, labels = _props.labels, name = _props.name, initialChildProps = { parent: { style: style.parent, scale: scale, data: data, height: height, width: width, name: name, domain: domain, standalone: standalone, polar: polar, origin: origin, padding: padding, horizontal: horizontal }, all: { data: { horizontal: horizontal, polar: polar, origin: origin, scale: scale, data: data, interpolation: interpolation, groupComponent: groupComponent, style: style.data, theme: theme } } }; return data.reduce(function(childProps, datum, index) { var text = victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey] = { labels: victory_core__WEBPACK_IMPORTED_MODULE_2__.LabelHelpers.getProps(props, index) }), childProps; }, initialChildProps); }; }, "../../victory-line/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_line__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-line/es/victory-line.js"); __webpack_require__.d(__webpack_exports__, "VictoryLine", function() { return _victory_line__WEBPACK_IMPORTED_MODULE_0__.default; }); var _curve__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-line/es/curve.js"); __webpack_require__.d(__webpack_exports__, "Curve", function() { return _curve__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-line/es/victory-line.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), _helper_methods__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-line/es/helper-methods.js"), _curve__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-line/es/curve.js"), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50, interpolation: "linear" }, VictoryLine = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryLine() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryLine), call = (VictoryLine.__proto__ || Object.getPrototypeOf(VictoryLine)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryLine, _React$Component), _defineProperties(VictoryLine.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryLine.animationWhitelist, role = VictoryLine.role, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderContinuousData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryLine, staticProps), VictoryLine; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(VictoryLine, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "samples", "style", "width" ] }), Object.defineProperty(VictoryLine, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryLine" }), Object.defineProperty(VictoryLine, "role", { configurable: !0, enumerable: !0, writable: !0, value: "line" }), Object.defineProperty(VictoryLine, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.DefaultTransitions.continuousTransitions() }), Object.defineProperty(VictoryLine, "defaultPolarTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.DefaultTransitions.continuousPolarTransitions() }), Object.defineProperty(VictoryLine, "continuous", { configurable: !0, enumerable: !0, writable: !0, value: !0 }), Object.defineProperty(VictoryLine, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.dataProps, { interpolation: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "basis", "bundle", "cardinal", "catmullRom", "linear", "monotoneX", "monotoneY", "natural", "step", "stepAfter", "stepBefore" ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), label: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.deprecated(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, "Use `labels` instead for individual data labels") }) }), Object.defineProperty(VictoryLine, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), dataComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_curve__WEBPACK_IMPORTED_MODULE_3__.default, null), labelComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, { renderInPortal: !0 }), groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryClipContainer, null), samples: 50, sortKey: "x", sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryLine, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Domain.getDomain }), Object.defineProperty(VictoryLine, "getData", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Data.getData }), Object.defineProperty(VictoryLine, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_2__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryLine, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryLine, { components: [ { name: "parent", index: "parent" }, { name: "data", index: "all" }, { name: "labels" } ] }); }, "../../victory-pie/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__), lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__), lodash_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__), d3_shape__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/d3-shape/src/index.js"), victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/index.js"), getOrigin = function(props, padding) { var width = props.width, height = props.height, origin = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(props.origin) ? props.origin : {}; return { x: void 0 !== origin.x ? origin.x : (padding.left - padding.right + width) / 2, y: void 0 !== origin.y ? origin.y : (padding.top - padding.bottom + height) / 2 }; }, getSlices = function(props, data) { var padAngle = lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(props.padAngle) ? 0 : props.padAngle; return d3_shape__WEBPACK_IMPORTED_MODULE_5__.pie().sort(null).startAngle(victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.degreesToRadians(props.startAngle)).endAngle(victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.degreesToRadians(props.endAngle)).padAngle(victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.degreesToRadians(padAngle)).value(function(datum) { return datum._y; })(data); }, getCalculatedValues = function(props) { var props1, padding, colorScale = props.colorScale, styleObject = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.getDefaultStyles(props, "pie"), style = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.getStyles(props.style, styleObject, "auto", "100%"), colors = Array.isArray(colorScale) ? colorScale : victory_core__WEBPACK_IMPORTED_MODULE_6__.Style.getColorScale(colorScale), padding1 = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.getPadding(props), defaultRadius = "number" == typeof props.radius ? props.radius : Math.min(props.width - padding1.left - padding1.right, props.height - padding1.top - padding1.bottom) / 2, origin = getOrigin(props, padding1), data = victory_core__WEBPACK_IMPORTED_MODULE_6__.Data.getData(props), slices = getSlices(props, data); return lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { style: style, colors: colors, padding: padding1, defaultRadius: defaultRadius, data: data, slices: slices, origin: origin }); }, getSliceStyle = function(index, calculatedValues) { var style, colors, index1, style1 = calculatedValues.style, colors1 = calculatedValues.colors, fill = style1 && style1.data && style1.data.fill ? style1.data.fill : colors1 && colors1[index % colors1.length]; return lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ fill: fill }, style1.data); }, getLabelText = function(props, datum, index) { var text, text1; return void 0 === (text1 = datum.label ? datum.label : Array.isArray(props.labels) ? props.labels[index] : lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(props.labels) ? props.labels : datum.xName || datum._x) || null === text1 || lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(text1) ? text1 : "".concat(text1); }, getLabelArc = function(radius, labelRadius, style) { var padding = style && style.padding || 0, arcRadius = labelRadius || radius + padding; return d3_shape__WEBPACK_IMPORTED_MODULE_5__.arc().outerRadius(arcRadius).innerRadius(arcRadius); }, getLabelPosition = function(arc, slice, position) { var construct = { startAngle: "startAngle" === position ? slice.startAngle : slice.endAngle, endAngle: "endAngle" === position ? slice.endAngle : slice.startAngle }, clonedArc = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, slice, construct); return arc.centroid(clonedArc); }, getBaseLabelAngle = function(slice, labelPosition, labelStyle) { var baseAngle = 0; return ((baseAngle = void 0 !== labelPosition.angle ? labelStyle.angle : "centroid" === labelPosition ? victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.radiansToDegrees((slice.startAngle + slice.endAngle) / 2) : "startAngle" === labelPosition ? victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.radiansToDegrees(slice.startAngle) : victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.radiansToDegrees(slice.endAngle)) < 0 ? 360 - baseAngle : baseAngle) % 360; }, getLabelProps = function(text, dataProps, calculatedValues) { var degree, labelPlacement, baseAngle, labelPlacement1, orientation, orientation1, index = dataProps.index, datum = dataProps.datum, data = dataProps.data, slice = dataProps.slice, labelComponent = dataProps.labelComponent, theme = dataProps.theme, style = calculatedValues.style, defaultRadius = calculatedValues.defaultRadius, origin = calculatedValues.origin, width = calculatedValues.width, height = calculatedValues.height, labelRadius = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateProp(calculatedValues.labelRadius, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ text: text }, dataProps)), labelPosition = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateProp(calculatedValues.labelPosition, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ text: text }, dataProps)) || "centroid", labelPlacement2 = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateProp(calculatedValues.labelPlacement, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ text: text }, dataProps)) || "vertical", labelStyle = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ padding: 0 }, style.labels), evaluatedStyle = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateStyle(labelStyle, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ labelRadius: labelRadius, text: text }, dataProps)), position = getLabelPosition(getLabelArc(defaultRadius, labelRadius, evaluatedStyle), slice, labelPosition), baseAngle1 = getBaseLabelAngle(slice, labelPosition, labelStyle), orientation2 = (degree = baseAngle1, "perpendicular" === (labelPlacement = labelPlacement2) ? degree > 90 && degree < 270 ? "bottom" : "top" : "parallel" === labelPlacement ? degree >= 0 && degree <= 180 ? "right" : "left" : degree < 45 || degree > 315 ? "top" : degree >= 45 && degree < 135 ? "right" : degree >= 135 && degree < 225 ? "bottom" : "left"), textAnchor = labelStyle.textAnchor || ("top" === orientation2 || "bottom" === orientation2 ? "middle" : "right" === orientation2 ? "start" : "end"), verticalAnchor = labelStyle.verticalAnchor || ("left" === orientation2 || "right" === orientation2 ? "middle" : "bottom" === orientation2 ? "start" : "end"), labelProps = { width: width, height: height, index: index, datum: datum, data: data, slice: slice, orientation: orientation2, text: text, style: labelStyle, x: Math.round(position[0]) + origin.x, y: Math.round(position[1]) + origin.y, textAnchor: textAnchor, verticalAnchor: verticalAnchor, angle: "vertical" === labelPlacement2 ? 0 : "parallel" === labelPlacement2 ? baseAngle1 > 180 && baseAngle1 < 360 ? baseAngle1 + 90 : baseAngle1 - 90 : baseAngle1 > 90 && baseAngle1 < 270 ? baseAngle1 - 180 : baseAngle1 }; if (!victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.isTooltip(labelComponent)) return labelProps; var tooltipTheme = theme && theme.tooltip || {}; return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, labelProps, victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.omit(tooltipTheme, [ "style" ])); }, getBaseProps = function(props, fallbackProps) { var calculatedValues = getCalculatedValues(props = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.modifyProps(props, fallbackProps, "pie")), slices = calculatedValues.slices, style = calculatedValues.style, data = calculatedValues.data, origin = calculatedValues.origin, defaultRadius = calculatedValues.defaultRadius, labels = calculatedValues.labels, events = calculatedValues.events, sharedEvents = calculatedValues.sharedEvents, height = calculatedValues.height, width = calculatedValues.width, standalone = calculatedValues.standalone, name = calculatedValues.name, innerRadius = calculatedValues.innerRadius, cornerRadius = calculatedValues.cornerRadius, padAngle = calculatedValues.padAngle, radius = props.radius || defaultRadius, initialChildProps = { parent: { standalone: standalone, height: height, width: width, slices: slices, name: name, style: style.parent } }; return slices.reduce(function(childProps, slice, index) { var datum = lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, data[index], { startAngle: victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.radiansToDegrees(slice.startAngle), endAngle: victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.radiansToDegrees(slice.endAngle), padAngle: victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.radiansToDegrees(slice.padAngle) }), eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey, dataProps = { index: index, slice: slice, datum: datum, data: data, origin: origin, innerRadius: innerRadius, radius: radius, cornerRadius: cornerRadius, padAngle: padAngle, style: getSliceStyle(index, calculatedValues) }; childProps[eventKey] = { data: dataProps }; var text = getLabelText(props, datum, index); if (null != text || labels && (events || sharedEvents)) { var evaluatedText = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateProp(text, dataProps); childProps[eventKey].labels = getLabelProps(evaluatedText, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, dataProps), calculatedValues); } return childProps; }, initialChildProps); }; }, "../../victory-pie/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_pie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-pie/es/victory-pie.js"); __webpack_require__.d(__webpack_exports__, "VictoryPie", function() { return _victory_pie__WEBPACK_IMPORTED_MODULE_0__.default; }); var _slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-pie/es/slice.js"); __webpack_require__.d(__webpack_exports__, "Slice", function() { return _slice__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-pie/es/slice.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), d3_shape__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/d3-shape/src/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getPath = function(props) { var slice = props.slice, radius = props.radius, innerRadius = props.innerRadius, cornerRadius = props.cornerRadius; if (lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(props.pathFunction)) return props.pathFunction(slice); var padAngle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.degreesToRadians(props.padAngle), startAngle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.degreesToRadians(props.sliceStartAngle), endAngle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.degreesToRadians(props.sliceEndAngle); return d3_shape__WEBPACK_IMPORTED_MODULE_6__.arc().cornerRadius(cornerRadius).outerRadius(radius).innerRadius(innerRadius || 0)(lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({ startAngle: startAngle, endAngle: endAngle, padAngle: padAngle }, slice)); }, evaluateProps = function(props) { var style = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateStyle(props.style, props), radius = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.radius, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { style: style })), innerRadius = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.innerRadius, lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { style: style, radius: radius })), ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.ariaLabel, props), id = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.id, props), cornerRadius = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.cornerRadius, props), padAngle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.padAngle, props), sliceStartAngle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.sliceStartAngle, props), sliceEndAngle = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.sliceEndAngle, props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, style: style, radius: radius, innerRadius: innerRadius, id: id, cornerRadius: cornerRadius, padAngle: padAngle, sliceStartAngle: sliceStartAngle, sliceEndAngle: sliceEndAngle, tabIndex: tabIndex }); }, Slice = function(props) { var defaultTransform = (props = evaluateProps(props)).origin ? "translate(".concat(props.origin.x, ", ").concat(props.origin.y, ")") : void 0; return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(props.pathComponent, _objectSpread({}, props.events, { "aria-label": props.ariaLabel, d: getPath(props), style: props.style, transform: props.transform || defaultTransform, className: props.className, role: props.role, shapeRendering: props.shapeRendering, clipPath: props.clipPath, tabIndex: props.tabIndex })); }; Slice.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.primitiveProps, { cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), datum: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, innerRadius: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), padAngle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.element, pathFunction: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func, radius: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), slice: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object, sliceEndAngle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]), sliceStartAngle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func ]) }), Slice.defaultProps = { pathComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.Path, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Slice; }, "../../victory-pie/es/victory-pie.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), _slice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-pie/es/slice.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-pie/es/helper-methods.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { endAngle: 360, height: 400, innerRadius: 0, cornerRadius: 0, padAngle: 0, padding: 30, width: 400, startAngle: 0, colorScale: [ "#ffffff", "#f0f0f0", "#d9d9d9", "#bdbdbd", "#969696", "#737373", "#525252", "#252525", "#000000" ], labelPosition: "centroid" }, VictoryPie = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryPie() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryPie), call = (VictoryPie.__proto__ || Object.getPrototypeOf(VictoryPie)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryPie, _React$Component), _defineProperties(VictoryPie.prototype, [ { key: "shouldAnimate", value: function() { return Boolean(this.props.animate); } }, { key: "render", value: function() { var animationWhitelist = VictoryPie.animationWhitelist, role = VictoryPie.role, props = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryPie, staticProps), VictoryPie; }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); Object.defineProperty(VictoryPie, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "endAngle", "height", "innerRadius", "cornerRadius", "padAngle", "padding", "colorScale", "startAngle", "style", "width" ] }), Object.defineProperty(VictoryPie, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryPie" }), Object.defineProperty(VictoryPie, "role", { configurable: !0, enumerable: !0, writable: !0, value: "pie" }), Object.defineProperty(VictoryPie, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: { onExit: { duration: 500, before: function() { return { _y: 0, label: " " }; } }, onEnter: { duration: 500, before: function() { return { _y: 0, label: " " }; }, after: function(datum) { return { y_: datum._y, label: datum.label }; } } } }), Object.defineProperty(VictoryPie, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { animate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object ]), colorScale: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "grayscale", "qualitative", "heatmap", "warm", "cool", "red", "green", "blue" ]) ]), containerComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, dataComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, endAngle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, eventKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]), events: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "data", "labels", "parent" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object })), externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ callback: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.function, childName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string ]), mutation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.function, target: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]) })), groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, height: victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, innerRadius: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), labelComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element, labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "parallel", "perpendicular", "vertical" ]) ]), labelPosition: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "startAngle", "centroid", "endAngle" ]) ]), labelRadius: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), labels: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array ]), name: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, origin: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ x: victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, y: victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative }), padAngle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), padding: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number }) ]), radius: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func ]), sharedEvents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ events: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, getEventState: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func }), sortKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string) ]), sortOrder: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([ "ascending", "descending" ]), standalone: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, startAngle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, style: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({ parent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, labels: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object }), theme: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, width: victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, x: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string) ]), y: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string) ]) } }), Object.defineProperty(VictoryPie, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { data: [ { x: "A", y: 1 }, { x: "B", y: 2 }, { x: "C", y: 3 }, { x: "D", y: 1 }, { x: "E", y: 2 } ], standalone: !0, dataComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_slice__WEBPACK_IMPORTED_MODULE_3__.default, null), labelComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryLabel, null), containerComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryContainer, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g", null), sortOrder: "ascending", theme: victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryPie, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_4__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryPie, "getData", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData }), Object.defineProperty(VictoryPie, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_2__.addEvents)(VictoryPie); }, "../../victory-polar-axis/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getScale", function() { return getScale; }), __webpack_require__.d(__webpack_exports__, "getStyles", function() { return getStyles; }), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }); var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__), lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/uniqBy.js"), lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"), getPosition = function(r, angle, axis) { return "x" === axis ? r * Math.cos(angle) : -r * Math.sin(angle); }, getAxisType = function(props) { var typicalType = props.dependentAxis ? "radial" : "angular"; return props.horizontal ? "angular" === typicalType ? "radial" : "angular" : typicalType; }, filterTicks = function(ticks, scale) { var compareTicks = function(t) { return scale(t) % (2 * Math.PI); }; return lodash_uniqBy__WEBPACK_IMPORTED_MODULE_1___default()(ticks, compareTicks); }, getEvaluatedStyles = function(style, props) { return { tickStyle: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateStyle(style.ticks, props), labelStyle: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateStyle(style.tickLabels, props), gridStyle: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateStyle(style.grid, props) }; }, getStyleObject = function(props) { var _props$theme = props.theme, theme = void 0 === _props$theme ? {} : _props$theme, dependentAxis = props.dependentAxis, generalAxisStyle = theme.polarAxis && theme.polarAxis.style || theme.axis && theme.axis.style, polarAxisType = dependentAxis ? "polarDependentAxis" : "polarIndependentAxis", standardAxisType = dependentAxis ? "dependentAxis" : "independentAxis", specificAxisStyle = theme[polarAxisType] && theme[polarAxisType].style || theme[standardAxisType] && theme[standardAxisType].style; return generalAxisStyle && specificAxisStyle ? [ "axis", "axisLabel", "grid", "parent", "tickLabels", "ticks" ].reduce(function(memo, curr) { return memo[curr] = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, specificAxisStyle[curr], generalAxisStyle[curr]), memo; }, {}) : specificAxisStyle || generalAxisStyle; }, getRadius = function(props) { var _Helpers$getPadding = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPadding(props), left = _Helpers$getPadding.left, right = _Helpers$getPadding.right, top = _Helpers$getPadding.top, bottom = _Helpers$getPadding.bottom; return Math.min(props.width - left - right, props.height - top - bottom) / 2; }, getRange = function(props, axis) { if (props.range && props.range[axis]) return props.range[axis]; if (props.range && Array.isArray(props.range)) return props.range; if ("angular" === getAxisType(props)) return [ victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(props.startAngle), victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(props.endAngle) ]; var radius = getRadius(props); return [ props.innerRadius || 0, radius ]; }, getScale = function(props) { var axis = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxis(props), scale = victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getBaseScale(props, axis), domain = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getDomain(props, axis) || scale.domain(), range = getRange(props, axis); return scale.range(range), scale.domain(domain), scale; }, getStyles = function(props, styleObject) { var style = props.style || {}; return styleObject = styleObject || {}, { parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({ height: "auto", width: "100%" }, style.parent, styleObject.parent), axis: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.axis, styleObject.axis), axisLabel: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.axisLabel, styleObject.axisLabel), grid: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.grid, styleObject.grid), ticks: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.ticks, styleObject.ticks), tickLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.tickLabels, styleObject.tickLabels) }; }, getAxisAngle = function(props) { var axisAngle = props.axisAngle, startAngle = props.startAngle, dependentAxis = props.dependentAxis, axis = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxis(props), axisValue = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxisValue(props, axis); return void 0 !== axisValue && dependentAxis ? victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.radiansToDegrees(axisValue) : void 0 === axisAngle ? startAngle : axisAngle; }, getTickProps = function(props, calculatedValues, tickValue, index) { var axisType = calculatedValues.axisType, radius = calculatedValues.radius, scale = calculatedValues.scale, style = calculatedValues.style, stringTicks = calculatedValues.stringTicks, ticks = calculatedValues.ticks, tickFormat = calculatedValues.tickFormat, origin = calculatedValues.origin, text = tickFormat(tickValue, index, ticks), tick = stringTicks ? stringTicks[index] : tickValue, tickStyle = getEvaluatedStyles(style, { tick: tick, tickValue: tickValue, index: index, ticks: ticks, stringTicks: stringTicks, radius: radius, scale: scale, axisType: axisType, text: text }).tickStyle, axisAngle = "radial" === axisType ? getAxisAngle(props, scale) : void 0, tickPadding = tickStyle.padding || tickStyle.size || 0, padAngle = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(90 - axisAngle), tickAngle = "angular" === axisType ? scale(tickValue) : victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(-1 * axisAngle), tickRadius = "angular" === axisType ? radius : scale(tickValue); return "angular" === axisType ? { index: index, datum: tick, style: tickStyle, x1: getPosition(tickRadius, tickAngle, "x") + origin.x, y1: getPosition(tickRadius, tickAngle, "y") + origin.y, x2: getPosition(tickRadius + tickPadding, tickAngle, "x") + origin.x, y2: getPosition(tickRadius + tickPadding, tickAngle, "y") + origin.y } : { index: index, datum: tick, style: tickStyle, x1: tickRadius * Math.cos(tickAngle) + Math.cos(padAngle) * tickPadding + origin.x, x2: tickRadius * Math.cos(tickAngle) - Math.cos(padAngle) * tickPadding + origin.x, y1: tickRadius * Math.sin(tickAngle) + Math.sin(padAngle) * tickPadding + origin.y, y2: tickRadius * Math.sin(tickAngle) - Math.sin(padAngle) * tickPadding + origin.y }; }, getTickLabelProps = function(props, calculatedValues, tickValue, index) { var axisType = calculatedValues.axisType, radius = calculatedValues.radius, tickFormat = calculatedValues.tickFormat, style = calculatedValues.style, scale = calculatedValues.scale, ticks = calculatedValues.ticks, stringTicks = calculatedValues.stringTicks, origin = calculatedValues.origin, text = tickFormat(tickValue, index, ticks), tick = stringTicks ? stringTicks[index] : tickValue, labelStyle = getEvaluatedStyles(style, { text: text, tick: tick, tickValue: tickValue, index: index, ticks: ticks, stringTicks: stringTicks, radius: radius, scale: scale, axisType: axisType }).labelStyle, tickLabelComponent = props.tickLabelComponent, labelPlacement = tickLabelComponent.props && tickLabelComponent.props.labelPlacement ? tickLabelComponent.props.labelPlacement : props.labelPlacement, tickPadding = labelStyle.padding || 0, axisAngle = "radial" === axisType ? getAxisAngle(props, scale) : void 0, labelAngle = "angular" === axisType ? victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.radiansToDegrees(scale(tickValue)) : axisAngle + 0, textAngle = void 0 === labelStyle.angle ? victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getPolarAngle(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { labelPlacement: labelPlacement }), labelAngle) : labelStyle.angle, labelRadius = "angular" === axisType ? radius + tickPadding : scale(tickValue), textAnchor = labelStyle.textAnchor || victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getPolarTextAnchor(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { labelPlacement: labelPlacement }), labelAngle); return { index: index, datum: tick, style: labelStyle, angle: textAngle, textAnchor: textAnchor, text: text, x: labelRadius * Math.cos(victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(labelAngle)) + origin.x, y: -labelRadius * Math.sin(victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(labelAngle)) + origin.y }; }, getGridProps = function(props, calculatedValues, tickValue, index) { var axisType = calculatedValues.axisType, radius = calculatedValues.radius, style = calculatedValues.style, scale = calculatedValues.scale, stringTicks = calculatedValues.stringTicks, ticks = calculatedValues.ticks, tickFormat = calculatedValues.tickFormat, origin = calculatedValues.origin, text = tickFormat(tickValue, index, ticks), startAngle = props.startAngle, endAngle = props.endAngle, _props$innerRadius = props.innerRadius, innerRadius = void 0 === _props$innerRadius ? 0 : _props$innerRadius, tick = stringTicks ? stringTicks[index] : tickValue, gridStyle = getEvaluatedStyles(style, { tick: tick, tickValue: tickValue, index: index, ticks: ticks, stringTicks: stringTicks, radius: radius, scale: scale, axisType: axisType, text: text }).gridStyle, angle = scale(tickValue); return "angular" === axisType ? { index: index, datum: tick, style: gridStyle, x1: getPosition(radius, angle, "x") + origin.x, y1: getPosition(radius, angle, "y") + origin.y, x2: getPosition(innerRadius, angle, "x") + origin.x, y2: getPosition(innerRadius, angle, "y") + origin.y } : { style: gridStyle, index: index, datum: tick, cx: origin.x, cy: origin.y, r: scale(tickValue), startAngle: startAngle, endAngle: endAngle }; }, getAxisLabelProps = function(props, calculatedValues) { var axisType = calculatedValues.axisType, radius = calculatedValues.radius, style = calculatedValues.style, scale = calculatedValues.scale, origin = calculatedValues.origin, axisLabelComponent = props.axisLabelComponent; if ("radial" !== axisType) return {}; var labelPlacement = axisLabelComponent.props && axisLabelComponent.props.labelPlacement ? axisLabelComponent.props.labelPlacement : props.labelPlacement, labelStyle = style && style.axisLabel || {}, axisAngle = "radial" === axisType ? getAxisAngle(props, scale) : void 0, textAngle = void 0 === labelStyle.angle ? victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getPolarAngle(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { labelPlacement: labelPlacement }), axisAngle) : labelStyle.angle, labelRadius = radius + (labelStyle.padding || 0), textAnchor = labelStyle.textAnchor || victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getTextPolarAnchor(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { labelPlacement: labelPlacement }), axisAngle), verticalAnchor = labelStyle.verticalAnchor || victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getPolarVerticalAnchor(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { labelPlacement: labelPlacement }), axisAngle); return { style: labelStyle, angle: textAngle, textAnchor: textAnchor, verticalAnchor: verticalAnchor, text: props.label, x: getPosition(labelRadius, victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(axisAngle), "x") + origin.x, y: getPosition(labelRadius, victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(axisAngle), "y") + origin.y }; }, getAxisProps = function(modifiedProps, calculatedValues) { var style = calculatedValues.style, axisType = calculatedValues.axisType, radius = calculatedValues.radius, scale = calculatedValues.scale, origin = calculatedValues.origin, startAngle = modifiedProps.startAngle, endAngle = modifiedProps.endAngle, _modifiedProps$innerR = modifiedProps.innerRadius, innerRadius = void 0 === _modifiedProps$innerR ? 0 : _modifiedProps$innerR, axisAngle = "radial" === axisType ? victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.degreesToRadians(getAxisAngle(modifiedProps, scale)) : void 0; return "radial" === axisType ? { style: style.axis, x1: getPosition(innerRadius, axisAngle, "x") + origin.x, x2: getPosition(radius, axisAngle, "x") + origin.x, y1: getPosition(innerRadius, axisAngle, "y") + origin.y, y2: getPosition(radius, axisAngle, "y") + origin.y } : { style: style.axis, cx: origin.x, cy: origin.y, r: radius, startAngle: startAngle, endAngle: endAngle }; }, getCalculatedValues = function(props) { var defaultStyles = getStyleObject(props = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({ polar: !0 }, props)), style = getStyles(props, defaultStyles), padding = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPadding(props), axis = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getAxis(props), axisType = getAxisType(props), stringTicks = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.stringTicks(props) ? props.tickValues : void 0, domain = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getDomain(props, axis), range = getRange(props, axis), scale = getScale(props), initialTicks = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getTicks(props, scale), ticks = "angular" === axisType ? filterTicks(initialTicks, scale) : initialTicks, tickFormat = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.getTickFormat(props, scale); return { axis: axis, style: style, padding: padding, stringTicks: stringTicks, axisType: axisType, scale: scale, ticks: ticks, tickFormat: tickFormat, domain: domain, range: range, radius: getRadius(props), origin: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPolarOrigin(props) }; }, getBaseProps = function(props, fallbackProps) { var calculatedValues = getCalculatedValues(props = victory_core__WEBPACK_IMPORTED_MODULE_3__.Axis.modifyProps(props, fallbackProps)), style = calculatedValues.style, scale = calculatedValues.scale, ticks = calculatedValues.ticks, domain = calculatedValues.domain, _props = props, width = _props.width, height = _props.height, standalone = _props.standalone, theme = _props.theme, name = _props.name, axisProps = getAxisProps(props, calculatedValues), axisLabelProps = getAxisLabelProps(props, calculatedValues), initialChildProps = { parent: { style: style.parent, ticks: ticks, scale: scale, width: width, height: height, domain: domain, standalone: standalone, theme: theme, name: name } }; return ticks.reduce(function(childProps, tick, index) { return childProps[index] = { axis: axisProps, axisLabel: axisLabelProps, ticks: getTickProps(props, calculatedValues, tick, index), tickLabels: getTickLabelProps(props, calculatedValues, tick, index), grid: getGridProps(props, calculatedValues, tick, index) }, childProps; }, initialChildProps); }; }, "../../victory-polar-axis/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_polar_axis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-polar-axis/es/victory-polar-axis.js"); __webpack_require__.d(__webpack_exports__, "VictoryPolarAxis", function() { return _victory_polar_axis__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-polar-axis/es/victory-polar-axis.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__), lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__), react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-polar-axis/es/helper-methods.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryPolarAxis = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryPolarAxis() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryPolarAxis), call = (VictoryPolarAxis.__proto__ || Object.getPrototypeOf(VictoryPolarAxis)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryPolarAxis, _React$Component), _defineProperties(VictoryPolarAxis.prototype, [ { key: "renderAxisLine", value: function(props) { var axisComponent = props.dependentAxis ? props.axisComponent : props.circularAxisComponent, axisProps = this.getComponentProps(axisComponent, "axis", 0); return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(axisComponent, axisProps); } }, { key: "renderLabel", value: function(props) { var axisLabelComponent = props.axisLabelComponent, dependentAxis = props.dependentAxis; if (!props.label || !dependentAxis) return null; var axisLabelProps = this.getComponentProps(axisLabelComponent, "axisLabel", 0); return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(axisLabelComponent, axisLabelProps); } }, { key: "renderAxis", value: function(props) { var _this = this, tickComponent = props.tickComponent, tickLabelComponent = props.tickLabelComponent, name = props.name, shouldRender = function(componentProps) { var _componentProps$style = componentProps.style, style = void 0 === _componentProps$style ? {} : _componentProps$style, _componentProps$event = componentProps.events; return "transparent" !== style.stroke && "none" !== style.stroke && 0 !== style.strokeWidth || !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(void 0 === _componentProps$event ? {} : _componentProps$event); }, gridComponent = "radial" == (props.dependentAxis ? "radial" : "angular") ? props.circularGridComponent : props.gridComponent, tickComponents = this.dataKeys.map(function(key, index) { var tickProps = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ key: "".concat(name, "-tick-").concat(key) }, _this.getComponentProps(tickComponent, "ticks", index)), TickComponent = react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(tickComponent, tickProps); return shouldRender(TickComponent.props) ? TickComponent : void 0; }).filter(Boolean), gridComponents = this.dataKeys.map(function(key, index) { var gridProps = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ key: "".concat(name, "-grid-").concat(key) }, _this.getComponentProps(gridComponent, "grid", index)), GridComponent = react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(gridComponent, gridProps); return shouldRender(GridComponent.props) ? GridComponent : void 0; }).filter(Boolean), tickLabelComponents = this.dataKeys.map(function(key, index) { var tickLabelProps = lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({ key: "".concat(name, "-tick-").concat(key) }, _this.getComponentProps(tickLabelComponent, "tickLabels", index)); return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(tickLabelComponent, tickLabelProps); }), children = [ this.renderAxisLine(props), this.renderLabel(props) ].concat(_toConsumableArray(tickComponents), _toConsumableArray(gridComponents), _toConsumableArray(tickLabelComponents)); return this.renderGroup(props, children); } }, { key: "renderGroup", value: function(props, children) { var groupComponent = props.groupComponent; return react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(groupComponent, {}, children); } }, { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryPolarAxis.animationWhitelist, props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.modifyProps(this.props, fallbackProps); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderAxis(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryPolarAxis, staticProps), VictoryPolarAxis; }(react__WEBPACK_IMPORTED_MODULE_2___default.a.Component); Object.defineProperty(VictoryPolarAxis, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "style", "domain", "range", "tickCount", "tickValues", "padding", "width", "height" ] }), Object.defineProperty(VictoryPolarAxis, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryAxis" }), Object.defineProperty(VictoryPolarAxis, "role", { configurable: !0, enumerable: !0, writable: !0, value: "axis" }), Object.defineProperty(VictoryPolarAxis, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: { onExit: { duration: 500 }, onEnter: { duration: 500 } } }), Object.defineProperty(VictoryPolarAxis, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.baseProps, { axisAngle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, axisComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, axisLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, axisValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object ]), categories: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string), y: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) }) ]), circularAxisComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, circularGridComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, containerComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, dependentAxis: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, endAngle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, events: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ target: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "axis", "axisLabel", "grid", "ticks", "tickLabels" ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object })), gridComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, innerRadius: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.nonNegative, labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "parallel", "perpendicular", "vertical" ]), startAngle: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, stringMap: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, style: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ parent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, axis: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, axisLabel: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, grid: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, ticks: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, tickLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object }), tickComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, tickCount: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.greaterThanZero ]), tickFormat: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.homogeneousArray ]), tickLabelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, tickValues: victory_core__WEBPACK_IMPORTED_MODULE_4__.PropTypes.homogeneousArray }) }), Object.defineProperty(VictoryPolarAxis, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { axisComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), axisLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null), circularAxisComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Arc, null), circularGridComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Arc, null), containerComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryContainer, null), endAngle: 360, gridComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("g", { role: "presentation" }), labelPlacement: "parallel", startAngle: 0, standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryTheme.grayscale, tickComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.LineSegment, null), tickLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.VictoryLabel, null) } }), Object.defineProperty(VictoryPolarAxis, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.getDomain }), Object.defineProperty(VictoryPolarAxis, "getAxis", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_4__.Axis.getAxis }), Object.defineProperty(VictoryPolarAxis, "getScale", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_5__.getScale }), Object.defineProperty(VictoryPolarAxis, "getStyles", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_5__.getStyles)(props, fallbackProps.style); } }), Object.defineProperty(VictoryPolarAxis, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_5__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryPolarAxis, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "axisComponent", "circularAxisComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent", "circularGridComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_4__.addEvents)(VictoryPolarAxis, { components: [ { name: "axis", index: 0 }, { name: "axisLabel", index: 0 }, { name: "grid" }, { name: "parent", index: "parent" }, { name: "ticks" }, { name: "tickLabels" } ] }); }, "../../victory-scatter/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }), __webpack_require__.d(__webpack_exports__, "getSize", function() { return getSize; }), __webpack_require__.d(__webpack_exports__, "getBubbleSize", function() { return getBubbleSize; }), __webpack_require__.d(__webpack_exports__, "getSymbol", function() { return getSymbol; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_values__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/values.js"), lodash_values__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_values__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var getSymbol = function(data, props) { return props.bubbleProperty ? "circle" : data.symbol || props.symbol; }, getBubbleSize = function(datum, props) { var data = props.data, z = props.z, maxBubbleSize = props.maxBubbleSize, minBubbleSize = props.minBubbleSize, zData = data.map(function(point) { return point[z]; }), zMin = Math.min.apply(Math, _toConsumableArray(zData)), zMax = Math.max.apply(Math, _toConsumableArray(zData)), maxRadius = maxBubbleSize || Math.max(Math.min.apply(Math, _toConsumableArray(lodash_values__WEBPACK_IMPORTED_MODULE_1___default()(victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPadding(props)))), 5), minRadius = minBubbleSize || 0.1 * maxRadius; return zMax === zMin ? Math.max(minRadius, 1) : Math.max(Math.sqrt(Math.max((datum[z] - zMin) / (zMax - zMin) * (Math.PI * Math.pow(maxRadius, 2)), Math.PI * Math.pow(minRadius, 2)) / Math.PI), 1); }, getSize = function(datum, props) { var size = props.size, z = props.z; return datum.size ? "function" == typeof datum.size ? datum.size : Math.max(datum.size, 1) : "function" == typeof props.size ? size : datum[z] ? getBubbleSize(datum, props) : Math.max(size || 0, 1); }, getCalculatedValues = function(props) { var defaultStyles = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getDefaultStyles(props, "scatter"), style = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getStyles(props.style, defaultStyles), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getRange(props, "y") }, domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.getDomain(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Domain.getDomain(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_3__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, origin = props.polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.getPolarOrigin(props) : void 0, z = props.bubbleProperty || "z", data = victory_core__WEBPACK_IMPORTED_MODULE_3__.Data.getData(props); return data = victory_core__WEBPACK_IMPORTED_MODULE_3__.Data.formatDataFromDomain(data, domain), { domain: domain, data: data, scale: scale, style: style, origin: origin, z: z }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.modifyProps(props, fallbackProps, "scatter"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), data = _props.data, domain = _props.domain, events = _props.events, height = _props.height, origin = _props.origin, padding = _props.padding, polar = _props.polar, scale = _props.scale, name = _props.name, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, labels = _props.labels, horizontal = _props.horizontal, initialChildProps = { parent: { style: style.parent, scale: scale, domain: domain, data: data, height: height, width: width, standalone: standalone, theme: theme, origin: origin, polar: polar, padding: padding, name: name, horizontal: horizontal } }; return data.reduce(function(childProps, datum, index) { var eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey, _Helpers$scalePoint = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.scalePoint(props, datum), dataProps = { x: _Helpers$scalePoint.x, y: _Helpers$scalePoint.y, datum: datum, data: data, index: index, scale: scale, polar: polar, origin: origin, horizontal: horizontal, size: getSize(datum, props), symbol: getSymbol(datum, props), style: style.data }; childProps[eventKey] = { data: dataProps }; var text = victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[eventKey].labels = victory_core__WEBPACK_IMPORTED_MODULE_3__.LabelHelpers.getProps(props, index)), childProps; }, initialChildProps); }; }, "../../victory-scatter/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_scatter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-scatter/es/victory-scatter.js"); __webpack_require__.d(__webpack_exports__, "VictoryScatter", function() { return _victory_scatter__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-scatter/es/victory-scatter.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-scatter/es/helper-methods.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50, size: 3, symbol: "circle" }, VictoryScatter = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryScatter() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryScatter), call = (VictoryScatter.__proto__ || Object.getPrototypeOf(VictoryScatter)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryScatter, _React$Component), _defineProperties(VictoryScatter.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryScatter.animationWhitelist, role = VictoryScatter.role, props = victory_core__WEBPACK_IMPORTED_MODULE_2__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryScatter, staticProps), VictoryScatter; }(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); Object.defineProperty(VictoryScatter, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "maxBubbleSize", "padding", "samples", "size", "style", "width" ] }), Object.defineProperty(VictoryScatter, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryScatter" }), Object.defineProperty(VictoryScatter, "role", { configurable: !0, enumerable: !0, writable: !0, value: "scatter" }), Object.defineProperty(VictoryScatter, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_2__.DefaultTransitions.discreteTransitions() }), Object.defineProperty(VictoryScatter, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_2__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_2__.CommonProps.dataProps, { bubbleProperty: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, maxBubbleSize: victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, minBubbleSize: victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, size: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_2__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]), symbol: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp" ]), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func ]) }) }), Object.defineProperty(VictoryScatter, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryContainer, null), dataComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.Point, null), labelComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryLabel, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryScatter, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_2__.Domain.getDomain }), Object.defineProperty(VictoryScatter, "getData", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_2__.Data.getData }), Object.defineProperty(VictoryScatter, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_3__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryScatter, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_2__.addEvents)(VictoryScatter); }, "../../victory-selection-container/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_selection_container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-selection-container/es/victory-selection-container.js"); __webpack_require__.d(__webpack_exports__, "selectionContainerMixin", function() { return _victory_selection_container__WEBPACK_IMPORTED_MODULE_0__.selectionContainerMixin; }), __webpack_require__.d(__webpack_exports__, "VictorySelectionContainer", function() { return _victory_selection_container__WEBPACK_IMPORTED_MODULE_0__.default; }); var _selection_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-selection-container/es/selection-helpers.js"); __webpack_require__.d(__webpack_exports__, "SelectionHelpers", function() { return _selection_helpers__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-selection-container/es/selection-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_includes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_throttle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/throttle.js"), lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_2__), lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__), lodash_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__), SelectionHelpers = { getDimension: function(props) { var horizontal = props.horizontal, selectionDimension = props.selectionDimension; return horizontal && selectionDimension ? "x" === selectionDimension ? "y" : "x" : selectionDimension; }, getDatasets: function(props) { if (props.data) return [ { data: props.data } ]; var getData = function(childProps) { var data = victory_core__WEBPACK_IMPORTED_MODULE_5__.Data.getData(childProps); return Array.isArray(data) && data.length > 0 ? data : void 0; }, iteratee = function(child, childName, parent) { var blacklist = props.selectionBlacklist || []; if (!victory_core__WEBPACK_IMPORTED_MODULE_5__.Data.isDataComponent(child) || lodash_includes__WEBPACK_IMPORTED_MODULE_0___default()(blacklist, childName)) return null; if (child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(child.type.getData)) { var childData = (child = parent ? react__WEBPACK_IMPORTED_MODULE_6___default.a.cloneElement(child, parent.props) : child).props && child.type.getData(child.props); return childData ? { childName: childName, data: childData } : null; } var _childData = getData(child.props); return _childData ? { childName: childName, data: _childData } : null; }; return victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.reduceChildren(react__WEBPACK_IMPORTED_MODULE_6___default.a.Children.toArray(props.children), iteratee, props); }, filterDatasets: function(props, datasets, bounds) { var _this = this, filtered = datasets.reduce(function(memo, dataset) { var selectedData = _this.getSelectedData(props, dataset.data, bounds); return memo = selectedData ? memo.concat({ childName: dataset.childName, eventKey: selectedData.eventKey, data: selectedData.data }) : memo; }, []); return filtered.length ? filtered : null; }, getSelectedData: function(props, dataset) { for(var x1 = props.x1, y1 = props.y1, x2 = props.x2, y2 = props.y2, eventKey = [], data = [], count = 0, index = 0, len = dataset.length; index < len; index++){ var datum = dataset[index]; (function(d) { var scaledPoint = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.scalePoint(props, d); return scaledPoint.x >= Math.min(x1, x2) && scaledPoint.x <= Math.max(x1, x2) && scaledPoint.y >= Math.min(y1, y2) && scaledPoint.y <= Math.max(y1, y2); })(datum) && (data[count] = datum, eventKey[count] = void 0 === datum.eventKey ? index : datum.eventKey, count++); } return count > 0 ? { eventKey: eventKey, data: data } : null; }, onMouseDown: function(evt, targetProps) { evt.preventDefault(); var arr, activateSelectedData = targetProps.activateSelectedData, allowSelection = targetProps.allowSelection, polar = targetProps.polar, selectedData = targetProps.selectedData; if (!allowSelection) return {}; var dimension = this.getDimension(targetProps), parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getParentSVG(evt), _Selection$getSVGEven = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG), x = _Selection$getSVGEven.x, y = _Selection$getSVGEven.y, x1 = polar || "y" !== dimension ? x : victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(targetProps).x[0], y1 = polar || "x" !== dimension ? y : victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(targetProps).y[0], mutatedProps = { x1: x1, y1: y1, select: !0, x2: polar || "y" !== dimension ? x : victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(targetProps).x[1], y2: polar || "x" !== dimension ? y : victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(targetProps).y[1], parentSVG: parentSVG }; selectedData && lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(targetProps.onSelectionCleared) && targetProps.onSelectionCleared(lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, mutatedProps, targetProps)); var parentMutation = [ { target: "parent", mutation: function() { return mutatedProps; } } ], dataMutation = selectedData && activateSelectedData ? selectedData.map(function(d) { return { childName: d.childName, eventKey: d.eventKey, target: "data", mutation: function() { return null; } }; }) : []; return parentMutation.concat.apply(parentMutation, function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(dataMutation) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(dataMutation) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()); }, onMouseMove: function(evt, targetProps) { var allowSelection = targetProps.allowSelection, select = targetProps.select, polar = targetProps.polar, dimension = this.getDimension(targetProps); if (!allowSelection || !select) return null; var parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getParentSVG(evt), _Selection$getSVGEven2 = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG), x = _Selection$getSVGEven2.x, y = _Selection$getSVGEven2.y, x2 = polar || "y" !== dimension ? x : victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(targetProps).x[1], y2 = polar || "x" !== dimension ? y : victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDomainCoordinates(targetProps).y[1]; return { target: "parent", mutation: function() { return { x2: x2, y2: y2, parentSVG: parentSVG }; } }; }, onMouseUp: function(evt, targetProps) { var activateSelectedData = targetProps.activateSelectedData, allowSelection = targetProps.allowSelection, x2 = targetProps.x2, y2 = targetProps.y2; if (!allowSelection) return null; if (!x2 || !y2) return [ { target: "parent", mutation: function() { return { select: !1, x1: null, x2: null, y1: null, y2: null }; } } ]; var datasets = this.getDatasets(targetProps), bounds = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getBounds(targetProps), selectedData = this.filterDatasets(targetProps, datasets, bounds), mutatedProps = { selectedData: selectedData, datasets: datasets, select: !1, x1: null, x2: null, y1: null, y2: null }, callbackMutation = selectedData && lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(targetProps.onSelection) ? targetProps.onSelection(selectedData, bounds, lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, mutatedProps, targetProps)) : {}; return [ { target: "parent", mutation: function() { return mutatedProps; } } ].concat(selectedData && activateSelectedData ? selectedData.map(function(d) { return { childName: d.childName, eventKey: d.eventKey, target: "data", mutation: function() { return lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({ active: !0 }, callbackMutation); } }; }) : []); } }; __webpack_exports__.default = function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, SelectionHelpers, { onMouseDown: SelectionHelpers.onMouseDown.bind(SelectionHelpers), onMouseUp: SelectionHelpers.onMouseUp.bind(SelectionHelpers), onMouseMove: lodash_throttle__WEBPACK_IMPORTED_MODULE_2___default()(SelectionHelpers.onMouseMove.bind(SelectionHelpers), 16, { leading: !0, trailing: !1 }) }); }, "../../victory-selection-container/es/victory-selection-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "selectionContainerMixin", function() { return selectionContainerMixin; }); var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-core/es/index.js"), _selection_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-selection-container/es/selection-helpers.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var selectionContainerMixin = function(base) { var _class, _temp; return _temp = _class = function(_base) { var Constructor, protoProps, staticProps; function VictorySelectionContainer() { var self1, call; return function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictorySelectionContainer), call = (VictorySelectionContainer.__proto__ || Object.getPrototypeOf(VictorySelectionContainer)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictorySelectionContainer, _base), protoProps = [ { key: "getRect", value: function(props) { var x1 = props.x1, x2 = props.x2, y1 = props.y1, y2 = props.y2, selectionStyle = props.selectionStyle, selectionComponent = props.selectionComponent, name = props.name; return y2 && x2 && x1 && y1 ? react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(selectionComponent, { key: "".concat(name, "-selection"), x: Math.min(x1, x2), y: Math.min(y1, y2), width: Math.abs(x2 - x1) || 1, height: Math.abs(y2 - y1) || 1, style: selectionStyle }) : null; } }, { key: "getChildren", value: function(props) { var arr; return ((function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } })(arr = react__WEBPACK_IMPORTED_MODULE_1___default.a.Children.toArray(props.children)) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()).concat([ this.getRect(props) ]); } } ], _defineProperties(VictorySelectionContainer.prototype, protoProps), staticProps && _defineProperties(VictorySelectionContainer, staticProps), VictorySelectionContainer; }(base), Object.defineProperty(_class, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictorySelectionContainer" }), Object.defineProperty(_class, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryContainer.propTypes, { activateSelectedData: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, allowSelection: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, disable: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, onSelection: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, onSelectionCleared: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, selectionBlacklist: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string), selectionComponent: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.element, selectionDimension: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf([ "x", "y" ]), selectionStyle: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object }) }), Object.defineProperty(_class, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryContainer.defaultProps, { activateSelectedData: !0, allowSelection: !0, selectionComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_2__.Rect, null), selectionStyle: { stroke: "transparent", fill: "black", fillOpacity: 0.1 } }) }), Object.defineProperty(_class, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return [ { target: "parent", eventHandlers: { onMouseDown: function(evt, targetProps) { return props.disable ? {} : _selection_helpers__WEBPACK_IMPORTED_MODULE_3__.default.onMouseDown(evt, targetProps); }, onTouchStart: function(evt, targetProps) { return props.disable ? {} : _selection_helpers__WEBPACK_IMPORTED_MODULE_3__.default.onMouseDown(evt, targetProps); }, onMouseMove: function(evt, targetProps) { return props.disable ? {} : _selection_helpers__WEBPACK_IMPORTED_MODULE_3__.default.onMouseMove(evt, targetProps); }, onTouchMove: function(evt, targetProps) { return props.disable ? {} : _selection_helpers__WEBPACK_IMPORTED_MODULE_3__.default.onMouseMove(evt, targetProps); }, onMouseUp: function(evt, targetProps) { return props.disable ? {} : _selection_helpers__WEBPACK_IMPORTED_MODULE_3__.default.onMouseUp(evt, targetProps); }, onTouchEnd: function(evt, targetProps) { return props.disable ? {} : _selection_helpers__WEBPACK_IMPORTED_MODULE_3__.default.onMouseUp(evt, targetProps); } } } ]; } }), _temp; }; __webpack_exports__.default = selectionContainerMixin(victory_core__WEBPACK_IMPORTED_MODULE_2__.VictoryContainer); }, "../../victory-shared-events/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_shared_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-shared-events/es/victory-shared-events.js"); __webpack_require__.d(__webpack_exports__, "VictorySharedEvents", function() { return _victory_shared_events__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-shared-events/es/victory-shared-events.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictorySharedEvents; }); var lodash_difference__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/difference.js"), lodash_difference__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_difference__WEBPACK_IMPORTED_MODULE_0__), lodash_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_1__), lodash_fromPairs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/fromPairs.js"), lodash_fromPairs__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_fromPairs__WEBPACK_IMPORTED_MODULE_2__), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__), lodash_defaults__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_4__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_5__), lodash_assign__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_6__), react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_7___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__), prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__), victory_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-core/es/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_10__), json_stringify_safe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../../node_modules/json-stringify-safe/stringify.js"), json_stringify_safe__WEBPACK_IMPORTED_MODULE_11___default = __webpack_require__.n(json_stringify_safe__WEBPACK_IMPORTED_MODULE_11__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var VictorySharedEvents = function(_React$Component) { var Constructor, protoProps, staticProps; function VictorySharedEvents(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictorySharedEvents), (_this = (call = (VictorySharedEvents.__proto__ || Object.getPrototypeOf(VictorySharedEvents)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this)).state = _this.state || {}, _this.getScopedEvents = victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getScopedEvents.bind(_assertThisInitialized(_this)), _this.getEventState = victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getEventState.bind(_assertThisInitialized(_this)), _this.baseProps = _this.getBaseProps(props), _this.sharedEventsCache = {}, _this.globalEvents = {}, _this.prevGlobalEventKeys = [], _this.boundGlobalEvents = {}, _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictorySharedEvents, _React$Component), protoProps = [ { key: "shouldComponentUpdate", value: function(nextProps) { if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(this.props, nextProps)) { this.baseProps = this.getBaseProps(nextProps); var externalMutations = this.getExternalMutations(nextProps, this.baseProps); this.applyExternalMutations(nextProps, externalMutations); } return !0; } }, { key: "componentDidMount", value: function() { var _this2 = this, globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_1___default()(this.globalEvents); globalEventKeys.forEach(function(key) { return _this2.addGlobalListener(key); }), this.prevGlobalEventKeys = globalEventKeys; } }, { key: "componentDidUpdate", value: function() { var _this3 = this, globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_1___default()(this.globalEvents); lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(this.prevGlobalEventKeys, globalEventKeys).forEach(function(key) { return _this3.removeGlobalListener(key); }), lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(globalEventKeys, this.prevGlobalEventKeys).forEach(function(key) { return _this3.addGlobalListener(key); }), this.prevGlobalEventKeys = globalEventKeys; } }, { key: "componentWillUnmount", value: function() { var _this4 = this; this.prevGlobalEventKeys.forEach(function(key) { return _this4.removeGlobalListener(key); }); } }, { key: "addGlobalListener", value: function(key) { var _this5 = this, boundListener = function(event) { var listener = _this5.globalEvents[key]; return listener && listener(victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.emulateReactEvent(event)); }; this.boundGlobalEvents[key] = boundListener, window.addEventListener(victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getGlobalEventNameFromKey(key), boundListener); } }, { key: "removeGlobalListener", value: function(key) { window.removeEventListener(victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]); } }, { key: "getAllEvents", value: function(props) { var arr, componentEvents = victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getComponentEvents(props, [ "container", "groupComponent" ]); return Array.isArray(componentEvents) ? Array.isArray(props.events) ? componentEvents.concat.apply(componentEvents, function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr = props.events) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()) : componentEvents : props.events; } }, { key: "applyExternalMutations", value: function(props, externalMutations) { if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(externalMutations)) { var callbacks = props.externalEventMutations.reduce(function(memo, mutation) { return memo = lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(mutation.callback) ? memo.concat(mutation.callback) : memo; }, []), compiledCallbacks = callbacks.length ? function() { callbacks.forEach(function(c) { return c(); }); } : void 0; this.setState(externalMutations, compiledCallbacks); } } }, { key: "getExternalMutations", value: function(props, baseProps) { return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(props.externalEventMutations) ? void 0 : victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getExternalMutationsWithChildren(props.externalEventMutations, baseProps, this.state, lodash_keys__WEBPACK_IMPORTED_MODULE_1___default()(baseProps)); } }, { key: "cacheSharedEvents", value: function(name, sharedEvents, cacheValues) { this.sharedEventsCache[name] = [ sharedEvents, cacheValues ]; } }, { key: "getCachedSharedEvents", value: function(name, cacheValues) { var arr, _ref2 = function(arr) { if (Array.isArray(arr)) return arr; }(arr = this.sharedEventsCache[name] || []) || function(arr, i) { var _arr = [], _n = !0, _d = !1, _e = void 0; try { for(var _s, _i = arr[Symbol.iterator](); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !i || _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally{ try { _n || null == _i.return || _i.return(); } finally{ if (_d) throw _e; } } return _arr; }(arr, 2) || function() { throw TypeError("Invalid attempt to destructure non-iterable instance"); }(), sharedEvents = _ref2[0], prevCacheValues = _ref2[1]; if (sharedEvents && react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(cacheValues, prevCacheValues)) return sharedEvents; } }, { key: "getBaseProps", value: function(props) { var container = props.container, children = react__WEBPACK_IMPORTED_MODULE_7___default.a.Children.toArray(this.props.children), childBaseProps = this.getBasePropsFromChildren(children), parentBaseProps = container ? container.props : {}; return lodash_assign__WEBPACK_IMPORTED_MODULE_6___default()({}, childBaseProps, { parent: parentBaseProps }); } }, { key: "getBasePropsFromChildren", value: function(childComponents) { var iteratee = function(child, childName) { if (!(child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(child.type.getBaseProps))) return null; var _baseProps = child.props && child.type.getBaseProps(child.props); return _baseProps ? [ [ childName, _baseProps ] ] : null; }, baseProps = victory_core__WEBPACK_IMPORTED_MODULE_9__.Helpers.reduceChildren(childComponents, iteratee); return lodash_fromPairs__WEBPACK_IMPORTED_MODULE_2___default()(baseProps); } }, { key: "getNewChildren", value: function(props, baseProps) { var _this6 = this, events = props.events, eventKey = props.eventKey, alterChildren = function(children, childNames) { return children.reduce(function(memo, child, index) { if (child.props.children) { var newChildren = react__WEBPACK_IMPORTED_MODULE_7___default.a.Children.toArray(child.props.children), names = childNames.slice(index, index + newChildren.length), results = react__WEBPACK_IMPORTED_MODULE_7___default.a.cloneElement(child, child.props, alterChildren(newChildren, names)); return memo.concat(results); } if (!("parent" !== childNames[index] && child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(child.type.getBaseProps))) return memo.concat(child); var name = child.props.name || childNames[index], childEvents = Array.isArray(events) && events.filter(function(event) { return "parent" !== event.target && (Array.isArray(event.childName) ? event.childName.indexOf(name) > -1 : event.childName === name || "all" === event.childName); }), sharedEventsCacheValues = [ name, baseProps, childEvents, json_stringify_safe__WEBPACK_IMPORTED_MODULE_11___default()(_this6.state[name]) ], sharedEvents = _this6.getCachedSharedEvents(name, sharedEventsCacheValues) || { events: childEvents, getEvents: function(evts, target) { return _this6.getScopedEvents(evts, target, name, baseProps); }, getEventState: function(key, target) { return _this6.getEventState(key, target, name); } }; return _this6.cacheSharedEvents(name, sharedEvents, sharedEventsCacheValues), memo.concat(react__WEBPACK_IMPORTED_MODULE_7___default.a.cloneElement(child, lodash_assign__WEBPACK_IMPORTED_MODULE_6___default()({ key: "events-".concat(name), sharedEvents: sharedEvents, eventKey: eventKey, name: name }, child.props))); }, []); }, childNames = lodash_keys__WEBPACK_IMPORTED_MODULE_1___default()(baseProps); return alterChildren(react__WEBPACK_IMPORTED_MODULE_7___default.a.Children.toArray(props.children), childNames); } }, { key: "getContainer", value: function(props, baseProps, events) { var _this7 = this, children = this.getNewChildren(props, baseProps), parents = Array.isArray(events) && events.filter(function(event) { return "parent" === event.target; }), sharedEvents = parents.length > 0 ? { events: parents, getEvents: function(evts, target) { return _this7.getScopedEvents(evts, target, null, baseProps); }, getEventState: this.getEventState } : null, container = props.container || props.groupComponent, role = container.type && container.type.role, containerProps = container.props || {}, boundGetEvents = victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getEvents.bind(this), parentEvents = sharedEvents && boundGetEvents({ sharedEvents: sharedEvents }, "parent"), parentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({}, this.getEventState("parent", "parent"), containerProps, baseProps.parent, { children: children }), containerEvents = lodash_defaults__WEBPACK_IMPORTED_MODULE_4___default()({}, victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getPartialEvents(parentEvents, "parent", parentProps), containerProps.events); this.globalEvents = victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.getGlobalEvents(containerEvents); var localEvents = victory_core__WEBPACK_IMPORTED_MODULE_9__.Events.omitGlobalEvents(containerEvents); return "container" === role ? react__WEBPACK_IMPORTED_MODULE_7___default.a.cloneElement(container, lodash_assign__WEBPACK_IMPORTED_MODULE_6___default()({}, parentProps, { events: localEvents })) : react__WEBPACK_IMPORTED_MODULE_7___default.a.cloneElement(container, localEvents, children); } }, { key: "render", value: function() { var events = this.getAllEvents(this.props); return events ? this.getContainer(this.props, this.baseProps, events) : react__WEBPACK_IMPORTED_MODULE_7___default.a.cloneElement(this.props.container, { children: this.props.children }); } } ], _defineProperties(VictorySharedEvents.prototype, protoProps), staticProps && _defineProperties(VictorySharedEvents, staticProps), VictorySharedEvents; }(react__WEBPACK_IMPORTED_MODULE_7___default.a.Component); Object.defineProperty(VictorySharedEvents, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictorySharedEvents" }), Object.defineProperty(VictorySharedEvents, "role", { configurable: !0, enumerable: !0, writable: !0, value: "shared-event-wrapper" }), Object.defineProperty(VictorySharedEvents, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { children: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.node ]), container: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.node, eventKey: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string ]), events: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.shape({ childName: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.array ]), eventHandlers: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.object, eventKey: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.func, victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string ]), target: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string })), externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.shape({ callback: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.function, childName: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.array ]), eventKey: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.array, victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.allOfType([ victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.integer, victory_core__WEBPACK_IMPORTED_MODULE_9__.PropTypes.nonNegative ]), prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string ]), mutation: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.function, target: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.array ]) })), groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_8___default.a.node } }), Object.defineProperty(VictorySharedEvents, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { groupComponent: react__WEBPACK_IMPORTED_MODULE_7___default.a.createElement("g", null) } }), Object.defineProperty(VictorySharedEvents, "contextType", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_9__.TimerContext }); }, "../../victory-stack/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getChildren", function() { return getChildren; }), __webpack_require__.d(__webpack_exports__, "getCalculatedProps", function() { return getCalculatedProps; }); var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/orderBy.js"), lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__), lodash_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/keys.js"), lodash_keys__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"), fallbackProps = { width: 450, height: 300, padding: 50 }; function getCalculatedProps(props, childComponents) { childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(props.children); var props1, childComponents1, filterNullChildData, props2, datasets, fillInMissingData, xMap, xKeys, xArr, datasets1, role = "stack"; props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(props, fallbackProps, role); var style = victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getStyle(props.theme, props.style, role), categories = props.categories || victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getCategories(props, childComponents), datasets2 = props.datasets || (props1 = props, childComponents1 = childComponents, filterNullChildData = victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getDataFromChildren(props1, childComponents1).map(function(dataset) { return dataset.filter(function(datum) { return null !== datum._x && null !== datum._y; }); }), (fillInMissingData = props1.fillInMissingData, xMap = filterNullChildData.reduce(function(prev, dataset) { return dataset.forEach(function(datum) { prev[datum._x instanceof Date ? datum._x.getTime() : datum._x] = !0; }), prev; }, {}), xKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_1___default()(xMap).map(function(k) { return +k; }), xArr = lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(xKeys), datasets1 = filterNullChildData.map(function(dataset) { var indexOffset = 0, isDate = dataset[0] && dataset[0]._x instanceof Date; return xArr.map(function(x, index) { x = +x; var datum = dataset[index - indexOffset]; if (datum) { if ((isDate ? datum._x.getTime() : datum._x) === x) return datum; indexOffset++; var y = fillInMissingData ? 0 : null; return { x: x = isDate ? new Date(x) : x, y: y, _x: x, _y: y }; } var _y = fillInMissingData ? 0 : null; return { x: x = isDate ? new Date(x) : x, y: _y, _x: x, _y: _y }; }); })).map(function(d, i) { var props, datasets, index, xOffset; return xOffset = props1.xOffset || 0, datasets1[i].map(function(datum) { var yOffset = function(datum, index, datasets) { if (datum.y0) return datum.y0; var y = datum._y, group = datum._group, firstDatasetBaseline = datasets[0].map(function(d) { return d.y0; }), previousPoints = datasets.slice(0, index).reduce(function(prev, dataset) { return prev.concat(dataset.filter(function(previousDatum) { return datum._x instanceof Date ? previousDatum._x.getTime() === datum._x.getTime() : previousDatum._x === datum._x; }).map(function(previousDatum) { return previousDatum._y || 0; })); }, []), y0 = previousPoints.length && previousPoints.reduce(function(memo, value) { return y < 0 && value < 0 || y >= 0 && value >= 0 ? +value + memo : memo; }, firstDatasetBaseline[group] || 0); return previousPoints.some(function(point) { return point instanceof Date; }) ? new Date(y0) : y0; }(datum, i, datasets1) || 0; return lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, datum, { _y0: datum._y instanceof Date ? yOffset ? new Date(yOffset) : datum._y : yOffset, _y1: null === datum._y ? null : datum._y instanceof Date ? new Date(+datum._y + +yOffset) : datum._y + yOffset, _x1: null === datum._x ? null : datum._x instanceof Date ? new Date(+datum._x + +xOffset) : datum._x + xOffset }); }); })), children = childComponents.map(function(c, i) { return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(c, { data: datasets2[i] }); }), domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getDomain(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { categories: categories }), "x", children), y: victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getDomain(lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, props, { categories: categories }), "y", children) }, range = props.range || { x: victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getRange(props, "y") }, baseScale = { x: victory_core__WEBPACK_IMPORTED_MODULE_4__.Scale.getScaleFromProps(props, "x") || victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getScale(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_4__.Scale.getScaleFromProps(props, "y") || victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getScale(props, "y") }, scale = { x: baseScale.x.domain(domain.x).range(props.horizontal ? range.y : range.x), y: baseScale.y.domain(domain.y).range(props.horizontal ? range.x : range.y) }, _props = props, colorScale = _props.colorScale; return { datasets: datasets2, categories: categories, range: range, domain: domain, horizontal: _props.horizontal, scale: scale, style: style, colorScale: colorScale, role: role }; } function getChildren(props, childComponents, calculatedProps) { props = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(props, fallbackProps, "stack"), childComponents = childComponents || react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(props.children); var props1, calculatedProps1, categories, domain, range, scale, horizontal, datasets = (calculatedProps = calculatedProps || getCalculatedProps(props, childComponents)).datasets, childProps = (props1 = props, categories = (calculatedProps1 = calculatedProps).categories, domain = calculatedProps1.domain, range = calculatedProps1.range, scale = calculatedProps1.scale, horizontal = calculatedProps1.horizontal, { height: props1.height, width: props1.width, padding: victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getPadding(props1), standalone: !1, theme: props1.theme, categories: categories, domain: domain, range: range, scale: scale, horizontal: horizontal }), parentName = props.name || "stack"; return childComponents.map(function(child, index) { var role = child.type && child.type.role, data = datasets[index], style = victory_core__WEBPACK_IMPORTED_MODULE_4__.Wrapper.getChildStyle(child, index, calculatedProps), labels = props.labels ? function(props, datasets, index) { if (props.labels) return datasets.length === index + 1 ? props.labels : void 0; }(props, datasets, index) : child.props.labels, name = child.props.name || "".concat(parentName, "-").concat(role, "-").concat(index); return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(child, lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({ key: "".concat(name, "-key-").concat(index), labels: labels, name: name, domainPadding: child.props.domainPadding || props.domainPadding, theme: props.theme, labelComponent: props.labelComponent || child.props.labelComponent, style: style, colorScale: function(props, child) { var role = child.type && child.type.role, colorScaleOptions = child.props.colorScale || props.colorScale; if ("group" === role || "stack" === role) return props.theme ? colorScaleOptions || props.theme.props.colorScale : colorScaleOptions; }(props, child), data: data, polar: props.polar }, childProps)); }); } }, "../../victory-stack/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-stack/es/victory-stack.js"); __webpack_require__.d(__webpack_exports__, "VictoryStack", function() { return _victory_stack__WEBPACK_IMPORTED_MODULE_0__.default; }); }, "../../victory-stack/es/victory-stack.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryStack; }); var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"), victory_shared_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-shared-events/es/index.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-stack/es/helper-methods.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_8__); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } function _assertThisInitialized(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryStack = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryStack(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryStack), _this = (call = (VictoryStack.__proto__ || Object.getPrototypeOf(VictoryStack)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : _assertThisInitialized(this), props.animate && (_this.state = { nodesShouldLoad: !1, nodesDoneLoad: !1, animating: !0 }, _this.setAnimationState = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.setAnimationState.bind(_assertThisInitialized(_this))), _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryStack, _React$Component), _defineProperties(VictoryStack.prototype, [ { key: "shouldComponentUpdate", value: function(nextProps) { return !this.props.animate || !!react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(this.props, nextProps) || (this.setAnimationState(this.props, nextProps), !1); } }, { key: "getNewChildren", value: function(props, childComponents, calculatedProps) { var children = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren)(props, childComponents, calculatedProps), getAnimationProps = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getAnimationProps.bind(this); return children.map(function(child, index) { var childProps = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({ animate: getAnimationProps(props, child, index) }, child.props); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(child, childProps); }).reverse(); } }, { key: "renderContainer", value: function(containerComponent, props) { var containerProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, containerComponent.props, props); return react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(containerComponent, containerProps); } }, { key: "getContainerProps", value: function(props, calculatedProps) { var width = props.width, height = props.height, standalone = props.standalone, theme = props.theme, polar = props.polar, horizontal = props.horizontal, name = props.name, domain = calculatedProps.domain, scale = calculatedProps.scale, style = calculatedProps.style, origin = calculatedProps.origin; return { domain: domain, scale: scale, width: width, height: height, standalone: standalone, theme: theme, style: style.parent, horizontal: horizontal, polar: polar, origin: origin, name: name }; } }, { key: "render", value: function() { var role = this.constructor.role, props = this.state && this.state.nodesWillExit && this.state.oldProps || this.props, modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_5__.Helpers.modifyProps(props, fallbackProps, role), eventKey = modifiedProps.eventKey, containerComponent = modifiedProps.containerComponent, standalone = modifiedProps.standalone, groupComponent = modifiedProps.groupComponent, externalEventMutations = modifiedProps.externalEventMutations, childComponents = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(modifiedProps.children), calculatedProps = Object(_helper_methods__WEBPACK_IMPORTED_MODULE_7__.getCalculatedProps)(modifiedProps, childComponents), newChildren = this.getNewChildren(modifiedProps, childComponents, calculatedProps), containerProps = standalone ? this.getContainerProps(modifiedProps, calculatedProps) : {}, container = standalone ? this.renderContainer(containerComponent, containerProps) : groupComponent, events = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getAllEvents(props); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events) ? react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(container, container.props, newChildren) : react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_shared_events__WEBPACK_IMPORTED_MODULE_6__.VictorySharedEvents, { container: container, eventKey: eventKey, events: events, externalEventMutations: externalEventMutations }, newChildren); } } ]), staticProps && _defineProperties(VictoryStack, staticProps), VictoryStack; }(react__WEBPACK_IMPORTED_MODULE_4___default.a.Component); Object.defineProperty(VictoryStack, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryStack" }), Object.defineProperty(VictoryStack, "role", { configurable: !0, enumerable: !0, writable: !0, value: "stack" }), Object.defineProperty(VictoryStack, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.CommonProps.baseProps, { bins: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_5__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.instanceOf(Date) ])), victory_core__WEBPACK_IMPORTED_MODULE_5__.PropTypes.nonNegative ]), categories: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string), y: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string) }) ]), children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node ]), colorScale: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string), prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "grayscale", "qualitative", "heatmap", "warm", "cool", "red", "green", "blue" ]) ]), fillInMissingData: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, horizontal: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, labelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.array ]), style: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ parent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, data: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object }), xOffset: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) }), Object.defineProperty(VictoryStack, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("g", null), standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryTheme.grayscale, fillInMissingData: !0 } }), Object.defineProperty(VictoryStack, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "groupComponent", "containerComponent", "labelComponent" ] }), Object.defineProperty(VictoryStack, "getChildren", { configurable: !0, enumerable: !0, writable: !0, value: _helper_methods__WEBPACK_IMPORTED_MODULE_7__.getChildren }); }, "../../victory-tooltip/es/flyout.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__), react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getVerticalPath = function(props) { var pointerWidth = props.pointerWidth, cornerRadius = props.cornerRadius, orientation = props.orientation, width = props.width, height = props.height, center = props.center, sign = "bottom" === orientation ? 1 : -1, x = props.x + (props.dx || 0), y = props.y + (props.dy || 0), centerX = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(center) && center.x, centerY = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(center) && center.y, pointerEdge = centerY + sign * (height / 2), oppositeEdge = centerY - sign * (height / 2), rightEdge = centerX + width / 2, leftEdge = centerX - width / 2, pointerLength = sign * (y - pointerEdge) < 0 ? 0 : props.pointerLength, arc = "".concat(cornerRadius, " ").concat(cornerRadius, " ").concat("bottom" === orientation ? "0 0 0" : "0 0 1"); return "M ".concat(centerX - pointerWidth / 2, ", ").concat(pointerEdge, "\n L ").concat(pointerLength ? x : centerX + pointerWidth / 2, ", ").concat(pointerLength ? y : pointerEdge, "\n L ").concat(centerX + pointerWidth / 2, ", ").concat(pointerEdge, "\n L ").concat(rightEdge - cornerRadius, ", ").concat(pointerEdge, "\n A ").concat(arc, " ").concat(rightEdge, ", ").concat(pointerEdge - sign * cornerRadius, "\n L ").concat(rightEdge, ", ").concat(oppositeEdge + sign * cornerRadius, "\n A ").concat(arc, " ").concat(rightEdge - cornerRadius, ", ").concat(oppositeEdge, "\n L ").concat(leftEdge + cornerRadius, ", ").concat(oppositeEdge, "\n A ").concat(arc, " ").concat(leftEdge, ", ").concat(oppositeEdge + sign * cornerRadius, "\n L ").concat(leftEdge, ", ").concat(pointerEdge - sign * cornerRadius, "\n A ").concat(arc, " ").concat(leftEdge + cornerRadius, ", ").concat(pointerEdge, "\n z"); }, getHorizontalPath = function(props) { var pointerWidth = props.pointerWidth, cornerRadius = props.cornerRadius, orientation = props.orientation, width = props.width, height = props.height, center = props.center, sign = "left" === orientation ? 1 : -1, x = props.x + (props.dx || 0), y = props.y + (props.dy || 0), centerX = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(center) && center.x, centerY = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(center) && center.y, pointerEdge = centerX - sign * (width / 2), oppositeEdge = centerX + sign * (width / 2), bottomEdge = centerY + height / 2, topEdge = centerY - height / 2, pointerLength = sign * (x - pointerEdge) > 0 ? 0 : props.pointerLength, arc = "".concat(cornerRadius, " ").concat(cornerRadius, " ").concat("left" === orientation ? "0 0 0" : "0 0 1"); return "M ".concat(pointerEdge, ", ").concat(centerY - pointerWidth / 2, "\n L ").concat(pointerLength ? x : pointerEdge, ", ").concat(pointerLength ? y : centerY + pointerWidth / 2, "\n L ").concat(pointerEdge, ", ").concat(centerY + pointerWidth / 2, "\n L ").concat(pointerEdge, ", ").concat(bottomEdge - cornerRadius, "\n A ").concat(arc, " ").concat(pointerEdge + sign * cornerRadius, ", ").concat(bottomEdge, "\n L ").concat(oppositeEdge - sign * cornerRadius, ", ").concat(bottomEdge, "\n A ").concat(arc, " ").concat(oppositeEdge, ", ").concat(bottomEdge - cornerRadius, "\n L ").concat(oppositeEdge, ", ").concat(topEdge + cornerRadius, "\n A ").concat(arc, " ").concat(oppositeEdge - sign * cornerRadius, ", ").concat(topEdge, "\n L ").concat(pointerEdge + sign * cornerRadius, ", ").concat(topEdge, "\n A ").concat(arc, " ").concat(pointerEdge, ", ").concat(topEdge + cornerRadius, "\n z"); }, getFlyoutPath = function(props) { var orientation = props.orientation || "top"; return "left" === orientation || "right" === orientation ? getHorizontalPath(props) : getVerticalPath(props); }, evaluateProps = function(props) { var id = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateProp(props.id, props), style = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.evaluateStyle(props.style, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { id: id, style: style }); }, Flyout = function(props) { return props = evaluateProps(props), react__WEBPACK_IMPORTED_MODULE_2___default.a.cloneElement(props.pathComponent, _objectSpread({}, props.events, { style: props.style, d: getFlyoutPath(props), className: props.className, shapeRendering: props.shapeRendering, role: props.role, transform: props.transform, clipPath: props.clipPath })); }; Flyout.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_4__.CommonProps.primitiveProps, { center: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }), cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, datum: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.object, dx: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, dy: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, height: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, orientation: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "top", "bottom", "left", "right" ]), pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, pointerLength: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, pointerWidth: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, width: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }), Flyout.defaultProps = { pathComponent: react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_4__.Path, null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Flyout; }, "../../victory-tooltip/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_tooltip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-tooltip/es/victory-tooltip.js"); __webpack_require__.d(__webpack_exports__, "VictoryTooltip", function() { return _victory_tooltip__WEBPACK_IMPORTED_MODULE_0__.default; }); var _flyout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-tooltip/es/flyout.js"); __webpack_require__.d(__webpack_exports__, "Flyout", function() { return _flyout__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-tooltip/es/victory-tooltip.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "default", function() { return VictoryTooltip; }); var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/orderBy.js"), lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isPlainObject.js"), lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__), lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/uniqueId.js"), lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__), lodash_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__), lodash_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_4__), react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__), prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__), victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/index.js"), _flyout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-tooltip/es/flyout.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { cornerRadius: 5, pointerLength: 10, pointerWidth: 10 }, VictoryTooltip = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryTooltip(props) { var _this, self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryTooltip), (_this = (call = (VictoryTooltip.__proto__ || Object.getPrototypeOf(VictoryTooltip)).call(this, props)) && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this)).id = void 0 === props.id ? lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()("tooltip-") : props.id, _this; } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryTooltip, _React$Component), protoProps = [ { key: "getDefaultOrientation", value: function(props) { var datum = props.datum, horizontal = props.horizontal; return props.polar ? this.getPolarOrientation(props, datum) : datum && datum.y < 0 ? horizontal ? "left" : "bottom" : horizontal ? "right" : "top"; } }, { key: "getPolarOrientation", value: function(props, datum) { var degrees = victory_core__WEBPACK_IMPORTED_MODULE_7__.LabelHelpers.getDegrees(props, datum), placement = props.labelPlacement || "vertical"; return " vertical" === placement ? this.getVerticalOrientations(degrees) : "parallel" === placement ? degrees < 90 || degrees > 270 ? "right" : "left" : degrees > 180 ? "bottom" : "top"; } }, { key: "getVerticalOrientations", value: function(degrees) { return degrees < 45 || degrees > 315 ? "right" : degrees >= 45 && degrees <= 135 ? "top" : degrees > 135 && degrees < 225 ? "left" : "bottom"; } }, { key: "getStyles", value: function(props) { var theme = props.theme || victory_core__WEBPACK_IMPORTED_MODULE_7__.VictoryTheme.grayscale, defaultLabelStyles = theme && theme.tooltip && theme.tooltip.style ? theme.tooltip.style : {}, baseLabelStyle = Array.isArray(props.style) ? props.style.map(function(s) { return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, s, defaultLabelStyles); }) : lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, props.style, defaultLabelStyles), defaultFlyoutStyles = theme && theme.tooltip && theme.tooltip.flyoutStyle ? theme.tooltip.flyoutStyle : {}, baseFlyoutStyle = props.flyoutStyle ? lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, props.flyoutStyle, defaultFlyoutStyles) : defaultFlyoutStyles, style = Array.isArray(baseLabelStyle) ? baseLabelStyle.map(function(s) { return victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateStyle(s, props); }) : victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateStyle(baseLabelStyle, props), flyoutStyle = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateStyle(baseFlyoutStyle, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { style: style })); return { style: style, flyoutStyle: flyoutStyle }; } }, { key: "getEvaluatedProps", value: function(props) { var cornerRadius = props.cornerRadius, centerOffset = props.centerOffset, dx = props.dx, dy = props.dy, active = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.active, props), text = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.text, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active })), _getStyles = this.getStyles(lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active, text: text })), style = _getStyles.style, flyoutStyle = _getStyles.flyoutStyle, orientation = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.orientation, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active, text: text, style: style, flyoutStyle: flyoutStyle })) || this.getDefaultOrientation(props), padding = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.flyoutPadding, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active, text: text, style: style, flyoutStyle: flyoutStyle, orientation: orientation })) || this.getLabelPadding(style), flyoutPadding = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.getPadding({ padding: padding }), pointerWidth = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.pointerWidth, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active, text: text, style: style, flyoutStyle: flyoutStyle, orientation: orientation })), pointerLength = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.pointerLength, lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active, text: text, style: style, flyoutStyle: flyoutStyle, orientation: orientation })), labelSize = victory_core__WEBPACK_IMPORTED_MODULE_7__.TextSize.approximateTextSize(text, style), _getDimensions = this.getDimensions(lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { style: style, flyoutStyle: flyoutStyle, active: active, text: text, orientation: orientation, flyoutPadding: flyoutPadding, pointerWidth: pointerWidth, pointerLength: pointerLength }), labelSize), flyoutHeight = _getDimensions.flyoutHeight, flyoutWidth = _getDimensions.flyoutWidth, evaluatedProps = lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, props, { active: active, text: text, style: style, flyoutStyle: flyoutStyle, orientation: orientation, flyoutHeight: flyoutHeight, flyoutWidth: flyoutWidth, flyoutPadding: flyoutPadding, pointerWidth: pointerWidth, pointerLength: pointerLength }), offsetX = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(centerOffset) && void 0 !== centerOffset.x ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(centerOffset.x, evaluatedProps) : 0, offsetY = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(centerOffset) && void 0 !== centerOffset.y ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(centerOffset.y, evaluatedProps) : 0; return lodash_assign__WEBPACK_IMPORTED_MODULE_4___default()({}, evaluatedProps, { centerOffset: { x: offsetX, y: offsetY }, dx: void 0 !== dx ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(dx, evaluatedProps) : 0, dy: void 0 !== dy ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(dy, evaluatedProps) : 0, cornerRadius: victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(cornerRadius, evaluatedProps) }); } }, { key: "getCalculatedValues", value: function(props) { var style = props.style, text = props.text, flyoutStyle = props.flyoutStyle, flyoutHeight = props.flyoutHeight, flyoutWidth = props.flyoutWidth, labelSize = victory_core__WEBPACK_IMPORTED_MODULE_7__.TextSize.approximateTextSize(text, style), flyoutDimensions = { height: flyoutHeight, width: flyoutWidth }, flyoutCenter = this.getFlyoutCenter(props, flyoutDimensions); return { style: style, flyoutStyle: flyoutStyle, labelSize: labelSize, flyoutDimensions: flyoutDimensions, flyoutCenter: flyoutCenter, transform: this.getTransform(props) }; } }, { key: "getTransform", value: function(props) { var x = props.x, y = props.y, angle = (props.style || {}).angle || props.angle || this.getDefaultAngle(props); return angle ? "rotate(".concat(angle, " ").concat(x, " ").concat(y, ")") : void 0; } }, { key: "getDefaultAngle", value: function(props) { var angle, polar = props.polar, labelPlacement = props.labelPlacement, orientation = props.orientation, datum = props.datum; if (!polar || !labelPlacement || "vertical" === labelPlacement) return 0; var degrees = victory_core__WEBPACK_IMPORTED_MODULE_7__.LabelHelpers.getDegrees(props, datum); return 0 === degrees || 180 === degrees ? angle = "top" === orientation && 180 === degrees ? 270 : 90 : degrees > 0 && degrees < 180 ? angle = 90 - degrees : degrees > 180 && degrees < 360 && (angle = 270 - degrees), angle + (degrees > 90 && degrees < 180 || degrees > 270 ? 1 : -1) * ("perpendicular" === labelPlacement ? 0 : 90); } }, { key: "constrainTooltip", value: function(center, props, dimensions) { var x = center.x, y = center.y, width = dimensions.width, height = dimensions.height, extent = { x: [ 0, props.width ], y: [ 0, props.height ] }, flyoutExtent = { x: [ x - width / 2, x + width / 2 ], y: [ y - height / 2, y + height / 2 ] }, adjustments = { x: [ flyoutExtent.x[0] < extent.x[0] ? extent.x[0] - flyoutExtent.x[0] : 0, flyoutExtent.x[1] > extent.x[1] ? flyoutExtent.x[1] - extent.x[1] : 0 ], y: [ flyoutExtent.y[0] < extent.y[0] ? extent.y[0] - flyoutExtent.y[0] : 0, flyoutExtent.y[1] > extent.y[1] ? flyoutExtent.y[1] - extent.y[1] : 0 ] }; return { x: Math.round(x + adjustments.x[0] - adjustments.x[1]), y: Math.round(y + adjustments.y[0] - adjustments.y[1]) }; } }, { key: "getFlyoutCenter", value: function(props, dimensions) { var x = props.x, y = props.y, dx = props.dx, dy = props.dy, pointerLength = props.pointerLength, orientation = props.orientation, constrainToVisibleArea = props.constrainToVisibleArea, centerOffset = props.centerOffset, height = dimensions.height, width = dimensions.width, xSign = "left" === orientation ? -1 : 1, ySign = "bottom" === orientation ? -1 : 1, flyoutCenter = { x: "left" === orientation || "right" === orientation ? x + xSign * (pointerLength + width / 2 + xSign * dx) : x + dx, y: "top" === orientation || "bottom" === orientation ? y - ySign * (pointerLength + height / 2 - ySign * dy) : y + dy }, center = { x: lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(props.center) && void 0 !== props.center.x ? props.center.x : flyoutCenter.x, y: lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(props.center) && void 0 !== props.center.y ? props.center.y : flyoutCenter.y }, centerWithOffset = { x: center.x + centerOffset.x, y: center.y + centerOffset.y }; return constrainToVisibleArea ? this.constrainTooltip(centerWithOffset, props, dimensions) : centerWithOffset; } }, { key: "getLabelPadding", value: function(style) { if (!style) return 0; var arr, paddings = Array.isArray(style) ? style.map(function(s) { return s.padding; }) : [ style.padding ]; return Math.max.apply(Math, ((function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } })(paddings) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(paddings) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()).concat([ 0 ])); } }, { key: "getDimensions", value: function(props, labelSize) { var calculatedHeight, calculatedWidth, orientation = props.orientation, pointerLength = props.pointerLength, pointerWidth = props.pointerWidth, flyoutHeight = props.flyoutHeight, flyoutWidth = props.flyoutWidth, flyoutPadding = props.flyoutPadding, cornerRadius = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.cornerRadius, props); return { flyoutHeight: flyoutHeight ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(flyoutHeight, props) : Math.max("top" === orientation || "bottom" === orientation ? 2 * cornerRadius : 2 * cornerRadius + pointerWidth, labelSize.height + flyoutPadding.top + flyoutPadding.bottom), flyoutWidth: flyoutWidth ? victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(flyoutWidth, props) : Math.max("left" === orientation || "right" === orientation ? 2 * cornerRadius + pointerLength : 2 * cornerRadius, labelSize.width + flyoutPadding.left + flyoutPadding.right) }; } }, { key: "getLabelProps", value: function(props, calculatedValues) { var flyoutCenter = calculatedValues.flyoutCenter, style = calculatedValues.style, labelSize = calculatedValues.labelSize, _calculatedValues$dy = calculatedValues.dy, _calculatedValues$dx = calculatedValues.dx, text = props.text, datum = props.datum, activePoints = props.activePoints, labelComponent = props.labelComponent, index = props.index, flyoutPadding = props.flyoutPadding, textAnchor = (Array.isArray(style) && style.length ? style[0].textAnchor : style.textAnchor) || "middle"; return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, labelComponent.props, { key: "".concat(this.id, "-label-").concat(index), text: text, datum: datum, activePoints: activePoints, textAnchor: textAnchor, dy: void 0 === _calculatedValues$dy ? 0 : _calculatedValues$dy, dx: void 0 === _calculatedValues$dx ? 0 : _calculatedValues$dx, style: style, x: (textAnchor && "middle" !== textAnchor ? flyoutCenter.x - ("end" === textAnchor ? -1 : 1) * (labelSize.width / 2) : flyoutCenter.x) + (flyoutPadding.left - flyoutPadding.right) / 2, y: flyoutCenter.y + (flyoutPadding.top - flyoutPadding.bottom) / 2, verticalAnchor: "middle", angle: style.angle }); } }, { key: "getPointerOrientation", value: function(point, center, flyoutDimensions) { var edges = { bottom: center.y + flyoutDimensions.height / 2, top: center.y - flyoutDimensions.height / 2, left: center.x - flyoutDimensions.width / 2, right: center.x + flyoutDimensions.width / 2 }, gaps = [ { side: "top", val: edges.top > point.y ? edges.top - point.y : -1 }, { side: "bottom", val: edges.bottom < point.y ? point.y - edges.bottom : -1 }, { side: "right", val: edges.right < point.x ? point.x - edges.right : -1 }, { side: "left", val: edges.left > point.x ? edges.left - point.x : -1 } ]; return lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(gaps, "val", "desc")[0].side; } }, { key: "getFlyoutProps", value: function(props, calculatedValues) { var flyoutDimensions = calculatedValues.flyoutDimensions, flyoutStyle = calculatedValues.flyoutStyle, flyoutCenter = calculatedValues.flyoutCenter, x = props.x, y = props.y, dx = props.dx, dy = props.dy, datum = props.datum, activePoints = props.activePoints, index = props.index, pointerLength = props.pointerLength, pointerWidth = props.pointerWidth, cornerRadius = props.cornerRadius, events = props.events, flyoutComponent = props.flyoutComponent, pointerOrientation = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.evaluateProp(props.pointerOrientation, props); return lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default()({}, flyoutComponent.props, { x: x, y: y, dx: dx, dy: dy, datum: datum, activePoints: activePoints, index: index, pointerLength: pointerLength, pointerWidth: pointerWidth, cornerRadius: cornerRadius, events: events, orientation: pointerOrientation || this.getPointerOrientation({ x: x, y: y }, flyoutCenter, flyoutDimensions), key: "".concat(this.id, "-tooltip-").concat(index), width: flyoutDimensions.width, height: flyoutDimensions.height, style: flyoutStyle, center: flyoutCenter }); } }, { key: "renderTooltip", value: function(props) { var evaluatedProps = this.getEvaluatedProps(props), flyoutComponent = evaluatedProps.flyoutComponent, labelComponent = evaluatedProps.labelComponent, groupComponent = evaluatedProps.groupComponent, active = evaluatedProps.active, renderInPortal = evaluatedProps.renderInPortal; if (!active) return renderInPortal ? react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__.VictoryPortal, null, null) : null; var calculatedValues = this.getCalculatedValues(evaluatedProps), children = [ react__WEBPACK_IMPORTED_MODULE_5___default.a.cloneElement(flyoutComponent, this.getFlyoutProps(evaluatedProps, calculatedValues)), react__WEBPACK_IMPORTED_MODULE_5___default.a.cloneElement(labelComponent, this.getLabelProps(evaluatedProps, calculatedValues)) ], tooltip = react__WEBPACK_IMPORTED_MODULE_5___default.a.cloneElement(groupComponent, { role: "presentation", transform: calculatedValues.transform }, children); return renderInPortal ? react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__.VictoryPortal, null, tooltip) : tooltip; } }, { key: "render", value: function() { var props = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.modifyProps(this.props, fallbackProps, "tooltip"); return this.renderTooltip(props); } } ], _defineProperties(VictoryTooltip.prototype, protoProps), staticProps && _defineProperties(VictoryTooltip, staticProps), VictoryTooltip; }(react__WEBPACK_IMPORTED_MODULE_5___default.a.Component); Object.defineProperty(VictoryTooltip, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryTooltip" }), Object.defineProperty(VictoryTooltip, "role", { configurable: !0, enumerable: !0, writable: !0, value: "tooltip" }), Object.defineProperty(VictoryTooltip, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: { activateData: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, active: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), activePoints: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.array, angle: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, center: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.shape({ x: victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative, y: victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative }), centerOffset: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), y: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]) }), constrainToVisibleArea: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, cornerRadius: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), data: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.array, datum: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, dx: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), dy: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), events: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, flyoutComponent: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.element, flyoutHeight: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), flyoutPadding: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number }) ]), flyoutStyle: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, flyoutWidth: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.element, height: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, horizontal: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, id: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string ]), index: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string ]), labelComponent: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.element, orientation: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOf([ "top", "bottom", "left", "right" ]), prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), pointerLength: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), pointerOrientation: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOf([ "top", "bottom", "left", "right" ]), prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), pointerWidth: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.nonNegative, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func ]), polar: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, renderInPortal: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.bool, scale: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.shape({ x: victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.scale, y: victory_core__WEBPACK_IMPORTED_MODULE_7__.PropTypes.scale }), style: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.array ]), text: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.array ]), theme: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.object, width: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.number } }), Object.defineProperty(VictoryTooltip, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { active: !1, renderInPortal: !0, labelComponent: react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_7__.VictoryLabel, null), flyoutComponent: react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_flyout__WEBPACK_IMPORTED_MODULE_8__.default, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("g", null) } }), Object.defineProperty(VictoryTooltip, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { var activate = props.activateData ? [ { target: "labels", mutation: function() { return { active: !0 }; } }, { target: "data", mutation: function() { return { active: !0 }; } } ] : [ { target: "labels", mutation: function() { return { active: !0 }; } } ], deactivate = props.activateData ? [ { target: "labels", mutation: function() { return { active: void 0 }; } }, { target: "data", mutation: function() { return { active: void 0 }; } } ] : [ { target: "labels", mutation: function() { return { active: void 0 }; } } ]; return [ { target: "data", eventHandlers: { onMouseOver: function() { return activate; }, onFocus: function() { return activate; }, onTouchStart: function() { return activate; }, onMouseOut: function() { return deactivate; }, onBlur: function() { return deactivate; }, onTouchEnd: function() { return deactivate; } } } ]; } }); }, "../../victory-voronoi-container/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_voronoi_container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-voronoi-container/es/victory-voronoi-container.js"); __webpack_require__.d(__webpack_exports__, "voronoiContainerMixin", function() { return _victory_voronoi_container__WEBPACK_IMPORTED_MODULE_0__.voronoiContainerMixin; }), __webpack_require__.d(__webpack_exports__, "VictoryVoronoiContainer", function() { return _victory_voronoi_container__WEBPACK_IMPORTED_MODULE_0__.default; }); var _voronoi_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-voronoi-container/es/voronoi-helpers.js"); __webpack_require__.d(__webpack_exports__, "VoronoiHelpers", function() { return _voronoi_helpers__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-voronoi-container/es/victory-voronoi-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "voronoiContainerMixin", function() { return voronoiContainerMixin; }); var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/pick.js"), lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_1__), lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__), prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__), victory_tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-tooltip/es/index.js"), victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-core/es/index.js"), _voronoi_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-voronoi-container/es/voronoi-helpers.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var voronoiContainerMixin = function(base) { var _class, _temp; return _temp = _class = function(_base) { var Constructor, protoProps, staticProps; function VictoryVoronoiContainer() { var self1, call; return function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryVoronoiContainer), call = (VictoryVoronoiContainer.__proto__ || Object.getPrototypeOf(VictoryVoronoiContainer)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryVoronoiContainer, _base), protoProps = [ { key: "getDimension", value: function(props) { var horizontal = props.horizontal, voronoiDimension = props.voronoiDimension; return horizontal && voronoiDimension ? "x" === voronoiDimension ? "y" : "x" : voronoiDimension; } }, { key: "getPoint", value: function(point) { return lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(point, [ "_x", "_x1", "_x0", "_y", "_y1", "_y0" ]); } }, { key: "getLabelPosition", value: function(props, labelProps, points) { var mousePosition = props.mousePosition, mouseFollowTooltips = props.mouseFollowTooltips, voronoiDimension = this.getDimension(props), point = this.getPoint(points[0]), basePosition = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.scalePoint(props, point), center = mouseFollowTooltips ? mousePosition : void 0; if (!voronoiDimension || points.length < 2) return _objectSpread({}, basePosition, { center: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelProps.center, center) }); var x = "y" === voronoiDimension ? mousePosition.x : basePosition.x, y = "x" === voronoiDimension ? mousePosition.y : basePosition.y; return center = mouseFollowTooltips ? mousePosition : { x: x, y: y }, { x: x, y: y, center: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelProps.center, center) }; } }, { key: "getStyle", value: function(props, points, type) { var labels = props.labels, labelComponent = props.labelComponent, theme = props.theme, componentProps = labelComponent.props || {}, themeStyles = theme && theme.voronoi && theme.voronoi.style ? theme.voronoi.style : {}, componentStyleArray = "flyout" === type ? componentProps.flyoutStyle : componentProps.style; return points.reduce(function(memo, datum, index) { var labelProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, componentProps, { datum: datum, active: !0 }), text = lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(labels) ? labels(labelProps) : void 0, textArray = void 0 !== text ? "".concat(text).split("\n") : [], baseStyle = datum.style && datum.style[type] || {}, componentStyle = Array.isArray(componentStyleArray) ? componentStyleArray[index] : componentStyleArray, style = victory_core__WEBPACK_IMPORTED_MODULE_6__.Helpers.evaluateStyle(lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, componentStyle, baseStyle, themeStyles[type]), labelProps), styleArray = textArray.length ? textArray.map(function() { return style; }) : [ style ]; return memo = memo.concat(styleArray); }, []); } }, { key: "getDefaultLabelProps", value: function(props, points) { var voronoiDimension = props.voronoiDimension, horizontal = props.horizontal, mouseFollowTooltips = props.mouseFollowTooltips, point = this.getPoint(points[0]), multiPoint = voronoiDimension && points.length > 1, y = void 0 !== point._y1 ? point._y1 : point._y; return { orientation: mouseFollowTooltips ? void 0 : horizontal ? y < 0 ? "left" : "right" : y < 0 ? "bottom" : "top", pointerLength: multiPoint ? 0 : void 0, constrainToVisibleArea: !!multiPoint || !!mouseFollowTooltips || void 0 }; } }, { key: "getLabelProps", value: function(props, points) { var labels = props.labels, scale = props.scale, labelComponent = props.labelComponent, theme = props.theme, width = props.width, height = props.height, componentProps = labelComponent.props || {}, text = points.reduce(function(memo, datum) { var labelProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, componentProps, { datum: datum, active: !0 }), t = lodash_isFunction__WEBPACK_IMPORTED_MODULE_1___default()(labels) ? labels(labelProps) : null; return null == t ? memo : memo = memo.concat("".concat(t).split("\n")); }, []), _points$ = points[0], childName = _points$.childName, eventKey = _points$.eventKey, datum = (_points$.style, _points$.continuous, function(source, excluded) { if (null == source) return {}; var key, i, target = {}, sourceKeys = Object.keys(source); for(i = 0; i < sourceKeys.length; i++)excluded.indexOf(key = sourceKeys[i]) >= 0 || (target[key] = source[key]); if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for(i = 0; i < sourceSymbolKeys.length; i++)!(excluded.indexOf(key = sourceSymbolKeys[i]) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]); } return target; }(_points$, [ "childName", "eventKey", "style", "continuous" ])), name = props.name === childName ? childName : "".concat(props.name, "-").concat(childName), labelProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({ key: "".concat(name, "-").concat(eventKey, "-voronoi-tooltip"), id: "".concat(name, "-").concat(eventKey, "-voronoi-tooltip"), active: !0, renderInPortal: !1, activePoints: points, datum: datum, scale: scale, theme: theme }, componentProps, { text: text, width: width, height: height, style: this.getStyle(props, points, "labels"), flyoutStyle: this.getStyle(props, points, "flyout")[0] }, this.getDefaultLabelProps(props, points)), labelPosition = this.getLabelPosition(props, labelProps, points); return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelPosition, labelProps); } }, { key: "getTooltip", value: function(props) { var labels = props.labels, activePoints = props.activePoints, labelComponent = props.labelComponent; if (!labels || !Array.isArray(activePoints) || !activePoints.length) return null; var labelProps = this.getLabelProps(props, activePoints), text = labelProps.text; return (Array.isArray(text) ? text.filter(Boolean).length : text) ? react__WEBPACK_IMPORTED_MODULE_4___default.a.cloneElement(labelComponent, labelProps) : null; } }, { key: "getChildren", value: function(props) { var arr; return ((function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } })(arr = react__WEBPACK_IMPORTED_MODULE_4___default.a.Children.toArray(props.children)) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }()).concat([ this.getTooltip(props) ]); } } ], _defineProperties(VictoryVoronoiContainer.prototype, protoProps), staticProps && _defineProperties(VictoryVoronoiContainer, staticProps), VictoryVoronoiContainer; }(base), Object.defineProperty(_class, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryVoronoiContainer" }), Object.defineProperty(_class, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_6__.VictoryContainer.propTypes, { activateData: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, activateLabels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, disable: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, labelComponent: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.element, labels: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, mouseFollowTooltips: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool, onActivated: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, onDeactivated: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, radius: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, voronoiBlacklist: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string, victory_core__WEBPACK_IMPORTED_MODULE_6__.PropTypes.regExp ])), voronoiDimension: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf([ "x", "y" ]), voronoiPadding: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.shape({ top: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, bottom: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, left: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number, right: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.number }) ]) }) }), Object.defineProperty(_class, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_6__.VictoryContainer.defaultProps, { activateData: !0, activateLabels: !0, labelComponent: react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(victory_tooltip__WEBPACK_IMPORTED_MODULE_5__.VictoryTooltip, null), voronoiPadding: 5 }) }), Object.defineProperty(_class, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return [ { target: "parent", eventHandlers: { onMouseLeave: function(evt, targetProps) { return props.disable ? {} : _voronoi_helpers__WEBPACK_IMPORTED_MODULE_7__.default.onMouseLeave(evt, targetProps); }, onTouchCancel: function(evt, targetProps) { return props.disable ? {} : _voronoi_helpers__WEBPACK_IMPORTED_MODULE_7__.default.onMouseLeave(evt, targetProps); }, onMouseMove: function(evt, targetProps) { return props.disable ? {} : _voronoi_helpers__WEBPACK_IMPORTED_MODULE_7__.default.onMouseMove(evt, targetProps); }, onTouchMove: function(evt, targetProps) { return props.disable ? {} : _voronoi_helpers__WEBPACK_IMPORTED_MODULE_7__.default.onMouseMove(evt, targetProps); } } }, { target: "data", eventHandlers: props.disable ? {} : { onMouseOver: function() { return null; }, onMouseOut: function() { return null; }, onMouseMove: function() { return null; } } } ]; } }), _temp; }; __webpack_exports__.default = voronoiContainerMixin(victory_core__WEBPACK_IMPORTED_MODULE_6__.VictoryContainer); }, "../../victory-voronoi-container/es/voronoi-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isRegExp.js"), lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__), lodash_isString__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/isString.js"), lodash_isString__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_isString__WEBPACK_IMPORTED_MODULE_1__), lodash_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/includes.js"), lodash_includes__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_includes__WEBPACK_IMPORTED_MODULE_2__), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/isEmpty.js"), lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_4__), lodash_throttle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../../node_modules/lodash/throttle.js"), lodash_throttle__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_5__), lodash_assign__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_6___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_6__), victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-core/es/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../../node_modules/react-fast-compare/index.js"), react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default = __webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_8__), delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../../node_modules/delaunay-find/lib/index.js"), delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_9___default = __webpack_require__.n(delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_9__), react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_10___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var VoronoiHelpers = { withinBounds: function(props, point) { var width = props.width, height = props.height, polar = props.polar, origin = props.origin, scale = props.scale, padding = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.getPadding(props, "voronoiPadding"), x = point.x, y = point.y; return polar ? Math.pow(x - origin.x, 2) + Math.pow(y - origin.y, 2) < Math.pow(Math.max.apply(Math, _toConsumableArray(scale.y.range())), 2) : x >= padding.left && x <= width - padding.right && y >= padding.top && y <= height - padding.bottom; }, getDatasets: function(props) { var minDomain = { x: victory_core__WEBPACK_IMPORTED_MODULE_7__.Collection.getMinValue(props.domain.x), y: victory_core__WEBPACK_IMPORTED_MODULE_7__.Collection.getMinValue(props.domain.y) }, children = react__WEBPACK_IMPORTED_MODULE_10___default.a.Children.toArray(props.children), addMeta = function(data, name, child) { var continuous = child && child.type && child.type.continuous, style = child ? child.props && child.props.style : props.style; return data.map(function(datum, index) { var _Helpers$getPoint = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.getPoint(datum), x = _Helpers$getPoint.x, y = _Helpers$getPoint.y, y0 = _Helpers$getPoint.y0, x0 = _Helpers$getPoint.x0; return lodash_assign__WEBPACK_IMPORTED_MODULE_6___default()({ _voronoiX: "y" === props.voronoiDimension ? minDomain.x : (+x + +x0) / 2, _voronoiY: "x" === props.voronoiDimension ? minDomain.y : (+y + +y0) / 2, eventKey: index, childName: name, continuous: continuous, style: style }, datum); }); }; if (props.data) return addMeta(props.data); var getData = function(childProps) { var data = victory_core__WEBPACK_IMPORTED_MODULE_7__.Data.getData(childProps); return Array.isArray(data) && data.length > 0 ? data : void 0; }, iteratee = function(child, childName) { var name = (child.props || {}).name || childName, blacklist = props.voronoiBlacklist || [], blacklistStr = blacklist.filter(lodash_isString__WEBPACK_IMPORTED_MODULE_1___default.a), isRegExpMatch = blacklist.filter(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default.a).some(function(regExp) { return regExp.test(name); }); if (!victory_core__WEBPACK_IMPORTED_MODULE_7__.Data.isDataComponent(child) || lodash_includes__WEBPACK_IMPORTED_MODULE_2___default()(blacklistStr, name) || isRegExpMatch) return null; var childData = (child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(child.type.getData) ? child.type.getData : getData)(child.props); return childData ? addMeta(childData, name, child) : null; }; return victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.reduceChildren(children, iteratee, props); }, findPoints: function(datasets, point) { return datasets.filter(function(d) { return point._voronoiX === d._voronoiX && point._voronoiY === d._voronoiY; }); }, withinRadius: function(point, mousePosition, radius) { if (!point) return !1; if (!radius) return !0; var x = mousePosition.x, y = mousePosition.y; return Math.pow(x - point[0], 2) + Math.pow(y - point[1], 2) < Math.pow(radius, 2); }, getVoronoiPoints: function(props, mousePosition) { var datasets = this.getDatasets(props), scaledData = datasets.map(function(d) { var _Helpers$scalePoint = victory_core__WEBPACK_IMPORTED_MODULE_7__.Helpers.scalePoint(props, d); return [ _Helpers$scalePoint.x, _Helpers$scalePoint.y ]; }), index = delaunay_find_lib_index_js__WEBPACK_IMPORTED_MODULE_9___default.a.from(scaledData).find(mousePosition.x, mousePosition.y); return { points: this.withinRadius(scaledData[index], mousePosition, props.radius) ? this.findPoints(datasets, datasets[index]) : [], index: index }; }, getActiveMutations: function(props, point) { var childName = point.childName, continuous = point.continuous, activateData = props.activateData, activateLabels = props.activateLabels, labels = props.labels; if (!activateData && !activateLabels) return []; var defaultTarget = activateData ? [ "data" ] : [], targets = labels && !activateLabels ? defaultTarget : defaultTarget.concat("labels"); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targets) ? [] : targets.map(function(target) { return { childName: childName, eventKey: !0 === continuous && "data" === target ? "all" : point.eventKey, target: target, mutation: function() { return { active: !0 }; } }; }); }, getInactiveMutations: function(props, point) { var childName = point.childName, continuous = point.continuous, activateData = props.activateData, activateLabels = props.activateLabels, labels = props.labels; if (!activateData && !activateLabels) return []; var defaultTarget = activateData ? [ "data" ] : [], targets = labels && !activateLabels ? defaultTarget : defaultTarget.concat("labels"); return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targets) ? [] : targets.map(function(target) { return { childName: childName, eventKey: continuous && "data" === target ? "all" : point.eventKey, target: target, mutation: function() { return null; } }; }); }, getParentMutation: function(activePoints, mousePosition, parentSVG, vIndex) { return [ { target: "parent", eventKey: "parent", mutation: function() { return { activePoints: activePoints, mousePosition: mousePosition, parentSVG: parentSVG, vIndex: vIndex }; } } ]; }, onActivated: function(props, points) { lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(props.onActivated) && props.onActivated(points, props); }, onDeactivated: function(props, points) { lodash_isFunction__WEBPACK_IMPORTED_MODULE_4___default()(props.onDeactivated) && props.onDeactivated(points, props); }, onMouseLeave: function(evt, targetProps) { var _getParentMutation, _this = this, activePoints = targetProps.activePoints || []; this.onDeactivated(targetProps, activePoints); var inactiveMutations = activePoints.length ? activePoints.map(function(point) { return _this.getInactiveMutations(targetProps, point); }) : []; return (_getParentMutation = this.getParentMutation([])).concat.apply(_getParentMutation, _toConsumableArray(inactiveMutations)); }, onMouseMove: function(evt, targetProps) { var _this2 = this, activePoints = targetProps.activePoints || [], parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_7__.Selection.getParentSVG(evt), mousePosition = victory_core__WEBPACK_IMPORTED_MODULE_7__.Selection.getSVGEventCoordinates(evt, parentSVG); if (!this.withinBounds(targetProps, mousePosition)) { this.onDeactivated(targetProps, activePoints); var _getParentMutation2, inactiveMutations = activePoints.length ? activePoints.map(function(point) { return _this2.getInactiveMutations(targetProps, point); }) : []; return (_getParentMutation2 = this.getParentMutation([], mousePosition, parentSVG)).concat.apply(_getParentMutation2, _toConsumableArray(inactiveMutations)); } var _getVoronoiPoints = this.getVoronoiPoints(targetProps, mousePosition), _getVoronoiPoints$poi = _getVoronoiPoints.points, points = void 0 === _getVoronoiPoints$poi ? [] : _getVoronoiPoints$poi, index = _getVoronoiPoints.index, parentMutations = this.getParentMutation(points, mousePosition, parentSVG, index); if (activePoints.length && react_fast_compare__WEBPACK_IMPORTED_MODULE_8___default()(points, activePoints)) return parentMutations; this.onActivated(targetProps, points), this.onDeactivated(targetProps, activePoints); var activeMutations = points.length ? points.map(function(point) { return _this2.getActiveMutations(targetProps, point); }) : [], _inactiveMutations = activePoints.length ? activePoints.map(function(point) { return _this2.getInactiveMutations(targetProps, point); }) : []; return parentMutations.concat.apply(parentMutations, _toConsumableArray(_inactiveMutations).concat(_toConsumableArray(activeMutations))); } }; __webpack_exports__.default = { onMouseLeave: VoronoiHelpers.onMouseLeave.bind(VoronoiHelpers), onMouseMove: lodash_throttle__WEBPACK_IMPORTED_MODULE_5___default()(VoronoiHelpers.onMouseMove.bind(VoronoiHelpers), 32, { leading: !0, trailing: !1 }) }; }, "../../victory-voronoi/es/helper-methods.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "getBaseProps", function() { return getBaseProps; }); var lodash_isNil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isNil.js"), lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_0__), lodash_without__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/without.js"), lodash_without__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_without__WEBPACK_IMPORTED_MODULE_1__), lodash_assign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_2__), d3_voronoi__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/d3-voronoi/src/index.js"), victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-core/es/index.js"); function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } var getVoronoi = function(props, range, scale) { var minRange = [ Math.min.apply(Math, _toConsumableArray(range.x)), Math.min.apply(Math, _toConsumableArray(range.y)) ], maxRange = [ Math.max.apply(Math, _toConsumableArray(range.x)), Math.max.apply(Math, _toConsumableArray(range.y)) ]; return Object(d3_voronoi__WEBPACK_IMPORTED_MODULE_3__.voronoi)().x(function(d) { var d1, d2; return props.polar ? -1 * scale.x(void 0 !== d._x1 ? d._x1 : d._x) + Math.PI / 2 : props.horizontal ? scale.y(void 0 !== d._y1 ? d._y1 : d._y) : scale.x(void 0 !== d._x1 ? d._x1 : d._x); }).y(function(d) { var d1; return props.horizontal ? scale.x(void 0 !== d._x1 ? d._x1 : d._x) : scale.y(void 0 !== d._y1 ? d._y1 : d._y); }).extent([ minRange, maxRange ]); }, getCalculatedValues = function(props) { var defaultStyles = props.theme && props.theme.voronoi && props.theme.voronoi.style ? props.theme.voronoi.style : {}, style = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getStyles(props.style, defaultStyles), range = { x: victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getRange(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getRange(props, "y") }, domain = { x: victory_core__WEBPACK_IMPORTED_MODULE_4__.Domain.getDomain(props, "x"), y: victory_core__WEBPACK_IMPORTED_MODULE_4__.Domain.getDomain(props, "y") }, scale = { x: victory_core__WEBPACK_IMPORTED_MODULE_4__.Scale.getBaseScale(props, "x").domain(domain.x).range(props.horizontal ? range.y : range.x), y: victory_core__WEBPACK_IMPORTED_MODULE_4__.Scale.getBaseScale(props, "y").domain(domain.y).range(props.horizontal ? range.x : range.y) }, data = victory_core__WEBPACK_IMPORTED_MODULE_4__.Data.getData(props); data = victory_core__WEBPACK_IMPORTED_MODULE_4__.Data.formatDataFromDomain(data, domain); var polygons = getVoronoi(props, range, scale).polygons(data); return { domain: domain, data: data, scale: scale, style: style, polygons: polygons, origin: props.polar ? props.origin || victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.getPolarOrigin(props) : void 0 }; }, getBaseProps = function(props, fallbackProps) { var modifiedProps = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.modifyProps(props, fallbackProps, "scatter"), _props = props = lodash_assign__WEBPACK_IMPORTED_MODULE_2___default()({}, modifiedProps, getCalculatedValues(modifiedProps)), data = _props.data, domain = _props.domain, events = _props.events, height = _props.height, origin = _props.origin, padding = _props.padding, polar = _props.polar, polygons = _props.polygons, scale = _props.scale, sharedEvents = _props.sharedEvents, standalone = _props.standalone, style = _props.style, theme = _props.theme, width = _props.width, labels = _props.labels, name = _props.name, initialChildProps = { parent: { style: style.parent, scale: scale, domain: domain, data: data, standalone: standalone, height: height, width: width, theme: theme, origin: origin, polar: polar, padding: padding, name: name } }; return data.reduce(function(childProps, datum, index) { var polygon = lodash_without__WEBPACK_IMPORTED_MODULE_1___default()(polygons[index], "data"), eventKey = lodash_isNil__WEBPACK_IMPORTED_MODULE_0___default()(datum.eventKey) ? index : datum.eventKey, _Helpers$scalePoint = victory_core__WEBPACK_IMPORTED_MODULE_4__.Helpers.scalePoint(props, datum), dataProps = { x: _Helpers$scalePoint.x, y: _Helpers$scalePoint.y, datum: datum, data: data, index: index, scale: scale, polygon: polygon, origin: origin, size: props.size, style: style.data }; childProps[eventKey] = { data: dataProps }; var text = victory_core__WEBPACK_IMPORTED_MODULE_4__.LabelHelpers.getText(props, datum, index); return (null != text || labels && (events || sharedEvents)) && (childProps[eventKey].labels = victory_core__WEBPACK_IMPORTED_MODULE_4__.LabelHelpers.getProps(props, index)), childProps; }, initialChildProps); }; }, "../../victory-voronoi/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_voronoi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-voronoi/es/victory-voronoi.js"); __webpack_require__.d(__webpack_exports__, "VictoryVoronoi", function() { return _victory_voronoi__WEBPACK_IMPORTED_MODULE_0__.default; }); var _voronoi__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-voronoi/es/voronoi.js"); __webpack_require__.d(__webpack_exports__, "Voronoi", function() { return _voronoi__WEBPACK_IMPORTED_MODULE_1__.default; }); }, "../../victory-voronoi/es/victory-voronoi.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), victory_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-core/es/index.js"), _voronoi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-voronoi/es/voronoi.js"), _helper_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-voronoi/es/helper-methods.js"); function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var fallbackProps = { width: 450, height: 300, padding: 50 }, VictoryVoronoi = function(_React$Component) { var Constructor, protoProps, staticProps; function VictoryVoronoi() { var self1, call; return !function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryVoronoi), call = (VictoryVoronoi.__proto__ || Object.getPrototypeOf(VictoryVoronoi)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return !function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryVoronoi, _React$Component), _defineProperties(VictoryVoronoi.prototype, [ { key: "shouldAnimate", value: function() { return !!this.props.animate; } }, { key: "render", value: function() { var animationWhitelist = VictoryVoronoi.animationWhitelist, role = VictoryVoronoi.role, props = victory_core__WEBPACK_IMPORTED_MODULE_1__.Helpers.modifyProps(this.props, fallbackProps, role); if (this.shouldAnimate()) return this.animateComponent(props, animationWhitelist); var children = this.renderData(props); return props.standalone ? this.renderContainer(props.containerComponent, children) : children; } } ]), staticProps && _defineProperties(VictoryVoronoi, staticProps), VictoryVoronoi; }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component); Object.defineProperty(VictoryVoronoi, "animationWhitelist", { configurable: !0, enumerable: !0, writable: !0, value: [ "data", "domain", "height", "padding", "samples", "size", "style", "width" ] }), Object.defineProperty(VictoryVoronoi, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryVoronoi" }), Object.defineProperty(VictoryVoronoi, "role", { configurable: !0, enumerable: !0, writable: !0, value: "voronoi" }), Object.defineProperty(VictoryVoronoi, "defaultTransitions", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_1__.DefaultTransitions.discreteTransitions() }), Object.defineProperty(VictoryVoronoi, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: function(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; }({}, victory_core__WEBPACK_IMPORTED_MODULE_1__.CommonProps.baseProps, victory_core__WEBPACK_IMPORTED_MODULE_1__.CommonProps.dataProps, { size: victory_core__WEBPACK_IMPORTED_MODULE_1__.PropTypes.nonNegative }) }), Object.defineProperty(VictoryVoronoi, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: { containerComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_1__.VictoryContainer, null), dataComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_voronoi__WEBPACK_IMPORTED_MODULE_2__.default, null), labelComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_1__.VictoryLabel, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g", { role: "presentation" }), samples: 50, sortOrder: "ascending", standalone: !0, theme: victory_core__WEBPACK_IMPORTED_MODULE_1__.VictoryTheme.grayscale } }), Object.defineProperty(VictoryVoronoi, "getDomain", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_1__.Domain.getDomain }), Object.defineProperty(VictoryVoronoi, "getData", { configurable: !0, enumerable: !0, writable: !0, value: victory_core__WEBPACK_IMPORTED_MODULE_1__.Data.getData }), Object.defineProperty(VictoryVoronoi, "getBaseProps", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return Object(_helper_methods__WEBPACK_IMPORTED_MODULE_3__.getBaseProps)(props, fallbackProps); } }), Object.defineProperty(VictoryVoronoi, "expectedComponents", { configurable: !0, enumerable: !0, writable: !0, value: [ "dataComponent", "labelComponent", "groupComponent", "containerComponent" ] }), __webpack_exports__.default = Object(victory_core__WEBPACK_IMPORTED_MODULE_1__.addEvents)(VictoryVoronoi); }, "../../victory-voronoi/es/voronoi.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/assign.js"), lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__), react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { var obj, key1, value; obj = target, key1 = key, value = source[key], key1 in obj ? Object.defineProperty(obj, key1, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key1] = value; }); } return target; } var getVoronoiPath = function(props) { var polygon = props.polygon; return Array.isArray(polygon) && polygon.length ? "M ".concat(props.polygon.join("L"), " Z") : ""; }, evaluateProps = function(props) { var ariaLabel = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.ariaLabel, props), id = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.id, props), size = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.size, props), style = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateStyle(props.style, props), tabIndex = victory_core__WEBPACK_IMPORTED_MODULE_3__.Helpers.evaluateProp(props.tabIndex, props); return lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { ariaLabel: ariaLabel, id: id, size: size, style: style, tabIndex: tabIndex }); }, Voronoi = function(props) { var _props = props = evaluateProps(props), ariaLabel = _props.ariaLabel, role = _props.role, shapeRendering = _props.shapeRendering, className = _props.className, events = _props.events, transform = _props.transform, style = _props.style, size = _props.size, tabIndex = _props.tabIndex, voronoiPath = getVoronoiPath(props), sharedProps = _objectSpread({ "aria-label": ariaLabel, className: className, role: role, shapeRendering: shapeRendering, style: style, tabIndex: tabIndex, transform: transform }, events); if (size) { var circle = react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.circleComponent, _objectSpread({}, sharedProps, { key: "".concat(props.id, "-circle-clip"), clipPath: "url(#".concat(props.clipId, ")"), cx: props.x, cy: props.y, r: size })), voronoiClipPath = react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.clipPathComponent, { key: "".concat(props.id, "-voronoi-clip"), clipId: props.clipId }, react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.pathComponent, { d: voronoiPath, className: className })); return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.groupComponent, {}, [ voronoiClipPath, circle ]); } return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.pathComponent, _objectSpread({}, sharedProps, { d: voronoiPath })); }; Voronoi.propTypes = _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_3__.CommonProps.primitiveProps, { circleComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, clipId: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string ]), clipPathComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, datum: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object, groupComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, pathComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element, polygon: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.array, size: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), Voronoi.defaultProps = { pathComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Path, null), circleComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Circle, null), clipPathComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.ClipPath, null), groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("g", null), role: "presentation", shapeRendering: "auto" }, __webpack_exports__.default = Voronoi; }, "../../victory-zoom-container/es/index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var _victory_zoom_container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-zoom-container/es/victory-zoom-container.js"); __webpack_require__.d(__webpack_exports__, "zoomContainerMixin", function() { return _victory_zoom_container__WEBPACK_IMPORTED_MODULE_0__.zoomContainerMixin; }), __webpack_require__.d(__webpack_exports__, "VictoryZoomContainer", function() { return _victory_zoom_container__WEBPACK_IMPORTED_MODULE_0__.default; }); var _zoom_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-zoom-container/es/zoom-helpers.js"); __webpack_require__.d(__webpack_exports__, "ZoomHelpers", function() { return _zoom_helpers__WEBPACK_IMPORTED_MODULE_1__.default; }), __webpack_require__.d(__webpack_exports__, "RawZoomHelpers", function() { return _zoom_helpers__WEBPACK_IMPORTED_MODULE_1__.RawZoomHelpers; }); }, "../../victory-zoom-container/es/victory-zoom-container.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "zoomContainerMixin", function() { return zoomContainerMixin; }); var lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/prop-types/index.js"), prop_types__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__), react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("react"), react__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__), _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-zoom-container/es/zoom-helpers.js"), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"); function _objectSpread(target) { for(var i = 1; i < arguments.length; i++){ var source = null != arguments[i] ? arguments[i] : {}, ownKeys = Object.keys(source); 'function' == typeof Object.getOwnPropertySymbols && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; }))), ownKeys.forEach(function(key) { _defineProperty(target, key, source[key]); }); } return target; } function _defineProperty(obj, key, value) { return key in obj ? Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[key] = value, obj; } function _toConsumableArray(arr) { return function(arr) { if (Array.isArray(arr)) { for(var i = 0, arr2 = Array(arr.length); i < arr.length; i++)arr2[i] = arr[i]; return arr2; } }(arr) || function(iter) { if (Symbol.iterator in Object(iter) || "[object Arguments]" === Object.prototype.toString.call(iter)) return Array.from(iter); }(arr) || function() { throw TypeError("Invalid attempt to spread non-iterable instance"); }(); } function _defineProperties(target, props) { for(var i = 0; i < props.length; i++){ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor); } } var zoomContainerMixin = function(base) { var _class, _temp; return _temp = _class = function(_base) { var Constructor, protoProps, staticProps; function VictoryZoomContainer() { var self1, call; return function(instance, Constructor) { if (!(instance instanceof Constructor)) throw TypeError("Cannot call a class as a function"); }(this, VictoryZoomContainer), call = (VictoryZoomContainer.__proto__ || Object.getPrototypeOf(VictoryZoomContainer)).apply(this, arguments), call && ("object" == typeof call || "function" == typeof call) ? call : function(self1) { if (void 0 === self1) throw ReferenceError("this hasn't been initialised - super() hasn't been called"); return self1; }(this); } return function(subClass, superClass) { if ("function" != typeof superClass && null !== superClass) throw TypeError("Super expression must either be null or a function"); subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: !1, writable: !0, configurable: !0 } }), superClass && (Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass); }(VictoryZoomContainer, _base), protoProps = [ { key: "clipDataComponents", value: function(children, props) { var scale = props.scale, clipContainerComponent = props.clipContainerComponent, polar = props.polar, origin = props.origin, horizontal = props.horizontal, rangeX = horizontal ? scale.y.range() : scale.x.range(), rangeY = horizontal ? scale.x.range() : scale.y.range(), plottableWidth = Math.abs(rangeX[0] - rangeX[1]), plottableHeight = Math.abs(rangeY[0] - rangeY[1]), radius = Math.max.apply(Math, _toConsumableArray(rangeY)), groupComponent = react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(clipContainerComponent, _objectSpread({ clipWidth: plottableWidth, clipHeight: plottableHeight, translateX: Math.min.apply(Math, _toConsumableArray(rangeX)), translateY: Math.min.apply(Math, _toConsumableArray(rangeY)), polar: polar, origin: polar ? origin : void 0, radius: polar ? radius : void 0 }, clipContainerComponent.props)); return react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(children).map(function(child) { return victory_core__WEBPACK_IMPORTED_MODULE_5__.Data.isDataComponent(child) ? react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(child, { groupComponent: groupComponent }) : child; }); } }, { key: "modifyPolarDomain", value: function(domain, originalDomain) { return { x: originalDomain.x, y: [ 0, domain.y[1] ] }; } }, { key: "downsampleZoomData", value: function(props, child, domain) { var childProps, data, x, y, defaultGetData, downsample = props.downsample, data1 = (data = (childProps = child.props).data, x = childProps.x, y = childProps.y, defaultGetData = child.type && lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default()(child.type.getData) ? child.type.getData : function() {}, !Array.isArray(data) || x || y ? defaultGetData(childProps) : data); if (downsample && domain && data1) { var dimension = props.zoomDimension || "x", startIndex = data1.findIndex(function(d) { return d[dimension] >= domain[dimension][0]; }), endIndex = data1.findIndex(function(d) { return d[dimension] > domain[dimension][1]; }); 0 !== startIndex && (startIndex -= 1), -1 !== endIndex && (endIndex += 1); var visibleData = data1.slice(startIndex, endIndex); return victory_core__WEBPACK_IMPORTED_MODULE_5__.Data.downsample(visibleData, !0 === downsample ? 150 : downsample, startIndex); } } }, { key: "modifyChildren", value: function(props) { var _this = this; return react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(props.children).map(function(child) { var domain, role = child.type && child.type.role, isDataComponent = victory_core__WEBPACK_IMPORTED_MODULE_5__.Data.isDataComponent(child), currentDomain = props.currentDomain, zoomActive = props.zoomActive, allowZoom = props.allowZoom, originalDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, props.originalDomain, props.domain), zoomDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, props.zoomDomain, props.domain), cachedZoomDomain = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, props.cachedZoomDomain, props.domain); domain = _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.checkDomainEquality(zoomDomain, cachedZoomDomain) ? allowZoom && !zoomActive ? child.props.domain : lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, currentDomain, originalDomain) : zoomDomain; var newDomain = props.polar ? _this.modifyPolarDomain(domain, originalDomain) : domain; newDomain && props.zoomDimension && (newDomain = _objectSpread({}, zoomDomain, _defineProperty({}, props.zoomDimension, newDomain[props.zoomDimension]))); var newProps = isDataComponent && "stack" !== role ? { domain: newDomain, data: _this.downsampleZoomData(props, child, newDomain) } : { domain: newDomain }; return react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(newProps, child.props)); }); } }, { key: "getChildren", value: function(props) { var children = this.modifyChildren(props); return this.clipDataComponents(children, props); } } ], _defineProperties(VictoryZoomContainer.prototype, protoProps), staticProps && _defineProperties(VictoryZoomContainer, staticProps), VictoryZoomContainer; }(base), Object.defineProperty(_class, "displayName", { configurable: !0, enumerable: !0, writable: !0, value: "VictoryZoomContainer" }), Object.defineProperty(_class, "propTypes", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer.propTypes, { allowPan: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, allowZoom: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, clipContainerComponent: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element.isRequired, disable: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, downsample: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([ prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number ]), minimumZoom: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number, y: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.number }), onZoomDomainChange: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, zoomDimension: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([ "x", "y" ]), zoomDomain: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ x: victory_core__WEBPACK_IMPORTED_MODULE_5__.PropTypes.domain, y: victory_core__WEBPACK_IMPORTED_MODULE_5__.PropTypes.domain }) }) }), Object.defineProperty(_class, "defaultProps", { configurable: !0, enumerable: !0, writable: !0, value: _objectSpread({}, victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer.defaultProps, { clipContainerComponent: react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryClipContainer, null), allowPan: !0, allowZoom: !0, zoomActive: !1 }) }), Object.defineProperty(_class, "defaultEvents", { configurable: !0, enumerable: !0, writable: !0, value: function(props) { return [ { target: "parent", eventHandlers: _objectSpread({ onMouseDown: function(evt, targetProps) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseDown(evt, targetProps); }, onTouchStart: function(evt, targetProps) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseDown(evt, targetProps); }, onMouseUp: function(evt, targetProps) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseUp(evt, targetProps); }, onTouchEnd: function(evt, targetProps) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseUp(evt, targetProps); }, onMouseLeave: function(evt, targetProps) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseLeave(evt, targetProps); }, onTouchCancel: function(evt, targetProps) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseLeave(evt, targetProps); }, onMouseMove: function(evt, targetProps, eventKey, ctx) { return props.disable ? {} : _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseMove(evt, targetProps, eventKey, ctx); }, onTouchMove: function(evt, targetProps, eventKey, ctx) { return props.disable ? {} : (evt.preventDefault(), _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onMouseMove(evt, targetProps, eventKey, ctx)); } }, props.disable || !props.allowZoom ? {} : { onWheel: _zoom_helpers__WEBPACK_IMPORTED_MODULE_4__.default.onWheel }) } ]; } }), _temp; }; __webpack_exports__.default = zoomContainerMixin(victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryContainer); }, "../../victory-zoom-container/es/zoom-helpers.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "RawZoomHelpers", function() { return RawZoomHelpers; }); var lodash_delay__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/lodash/delay.js"), lodash_delay__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(lodash_delay__WEBPACK_IMPORTED_MODULE_0__), lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/lodash/defaults.js"), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../../node_modules/lodash/isFunction.js"), lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__), lodash_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../../node_modules/lodash/throttle.js"), lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_3__), react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("react"), victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-core/es/index.js"); function _slicedToArray(arr, i) { return function(arr) { if (Array.isArray(arr)) return arr; }(arr) || function(arr, i) { var _arr = [], _n = !0, _d = !1, _e = void 0; try { for(var _s, _i = arr[Symbol.iterator](); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !i || _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally{ try { _n || null == _i.return || _i.return(); } finally{ if (_d) throw _e; } } return _arr; }(arr, i) || function() { throw TypeError("Invalid attempt to destructure non-iterable instance"); }(); } var RawZoomHelpers = { checkDomainEquality: function(a, b) { var checkDimension = function(dim) { var val1 = a && a[dim], val2 = b && b[dim]; return !val1 && !val2 || !!val1 && !!val2 && +val1[0] == +val2[0] && +val1[1] == +val2[1]; }; return checkDimension("x") && checkDimension("y"); }, scale: function(currentDomain, evt, props, axis) { var _currentDomain = _slicedToArray(currentDomain, 2), from = _currentDomain[0], range = Math.abs(_currentDomain[1] - from), minimumZoom = props.minimumZoom && props.minimumZoom[axis], factor = this.getScaleFactor(evt); if (minimumZoom && range <= minimumZoom && factor < 1) return currentDomain; var _getDomain$axis = _slicedToArray(this.getDomain(props)[axis], 2), fromBound = _getDomain$axis[0], toBound = _getDomain$axis[1], percent = this.getScalePercent(evt, props, axis), minDomain = this.getMinimumDomain(factor * from + percent * (factor * range), props, axis), _getScaledDomain2 = _slicedToArray(this.getScaledDomain(currentDomain, factor, percent), 2), newMin = _getScaledDomain2[0], newMax = _getScaledDomain2[1], newDomain = [ newMin > fromBound && newMin < toBound ? newMin : fromBound, newMax < toBound && newMax > fromBound ? newMax : toBound ], domain = Math.abs(minDomain[1] - minDomain[0]) > Math.abs(newDomain[1] - newDomain[0]) ? minDomain : newDomain; return victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.containsDates([ fromBound, toBound ]) ? [ new Date(domain[0]), new Date(domain[1]) ] : domain; }, getScaledDomain: function(currentDomain, factor, percent) { var _currentDomain2 = _slicedToArray(currentDomain, 2), from = _currentDomain2[0], to = _currentDomain2[1], range = Math.abs(to - from), diff = range - range * factor, newMin = +from + diff * percent, newMax = +to - diff * (1 - percent); return [ Math.min(newMin, newMax), Math.max(newMin, newMax) ]; }, getMinimumDomain: function(point, props, axis) { var minimumZoom = props.minimumZoom, _originalDomain = _slicedToArray(this.getDomain(props)[axis], 2), from = _originalDomain[0], to = _originalDomain[1], extent = minimumZoom && minimumZoom[axis] || Math.abs(from - to) / 1000, minExtent = point - extent / 2, maxExtent = point + extent / 2; return [ minExtent > from && minExtent < to ? minExtent : from, maxExtent < to && maxExtent > from ? maxExtent : +from + extent / 2 ]; }, zoommingOut: function(evt) { return evt.deltaY > 0; }, getScaleFactor: function(evt) { return Math.abs(1 + (this.zoommingOut(evt) ? 1 : -1) * Math.min(Math.abs(evt.deltaY / 300), 0.5)); }, getScalePercent: function(evt, props, axis) { var originalDomain = this.getDomain(props), _originalDomain$axis = _slicedToArray(originalDomain[axis], 2), from = _originalDomain$axis[0], to = _originalDomain$axis[1]; return (this.getPosition(evt, props, originalDomain)[axis] - from) / Math.abs(to - from); }, getPosition: function(evt, props, originalDomain) { var _Selection$getSVGEven = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt), x = _Selection$getSVGEven.x, y = _Selection$getSVGEven.y, originalScale = { x: props.scale.x.domain(originalDomain.x), y: props.scale.y.domain(originalDomain.y) }; return victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getDataCoordinates(props, originalScale, x, y); }, pan: function(currentDomain, originalDomain, delta) { var newDomain, _currentDomain$map2 = _slicedToArray(currentDomain.map(function(val) { return +val; }), 2), fromCurrent = _currentDomain$map2[0], toCurrent = _currentDomain$map2[1], _originalDomain$map2 = _slicedToArray(originalDomain.map(function(val) { return +val; }), 2), fromOriginal = _originalDomain$map2[0], toOriginal = _originalDomain$map2[1], lowerBound = fromCurrent + delta, upperBound = toCurrent + delta; return newDomain = lowerBound > fromOriginal && upperBound < toOriginal ? [ lowerBound, upperBound ] : lowerBound < fromOriginal ? [ fromOriginal, fromOriginal + (toCurrent - fromCurrent) ] : upperBound > toOriginal ? [ toOriginal - (toCurrent - fromCurrent), toOriginal ] : currentDomain, victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.containsDates(currentDomain) || victory_core__WEBPACK_IMPORTED_MODULE_5__.Collection.containsDates(originalDomain) ? newDomain.map(function(val) { return new Date(val); }) : newDomain; }, getDomainScale: function(domain, scale, axis, horizontal) { var _axisDomain = _slicedToArray(Array.isArray(domain) ? domain : domain[axis], 2), from = _axisDomain[0], to = _axisDomain[1], range = horizontal ? scale["x" === axis ? "y" : "x"].range() : scale[axis].range(); return Math.abs(range[0] - range[1]) / (to - from); }, handleAnimation: function(ctx) { var animationTimer = ctx.context.animationTimer, transitionTimer = ctx.context.transitionTimer; transitionTimer.bypassAnimation(), animationTimer.bypassAnimation(); var resumeAnimation = function() { animationTimer.resumeAnimation(), transitionTimer.resumeAnimation(); }; return lodash_delay__WEBPACK_IMPORTED_MODULE_0___default()(resumeAnimation, 16); }, getLastDomain: function(targetProps, originalDomain) { var zoomDomain = targetProps.zoomDomain, cachedZoomDomain = targetProps.cachedZoomDomain, currentDomain = targetProps.currentDomain, domain = targetProps.domain; return zoomDomain && !this.checkDomainEquality(zoomDomain, cachedZoomDomain) ? lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, zoomDomain, domain) : lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, currentDomain || zoomDomain || originalDomain, domain); }, getDomain: function(props) { var obj, key, value, originalDomain = props.originalDomain, domain = props.domain, children = props.children, zoomDimension = props.zoomDimension, childComponents = react__WEBPACK_IMPORTED_MODULE_4__.Children.toArray(children), childrenDomain = {}; return childComponents.length && (childrenDomain = zoomDimension ? (obj = {}, value = victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getDomainFromChildren(props, zoomDimension, childComponents), zoomDimension in obj ? Object.defineProperty(obj, zoomDimension, { value: value, enumerable: !0, configurable: !0, writable: !0 }) : obj[zoomDimension] = value, obj) : { x: victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getDomainFromChildren(props, "x", childComponents), y: victory_core__WEBPACK_IMPORTED_MODULE_5__.Wrapper.getDomainFromChildren(props, "y", childComponents) }), lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, childrenDomain, originalDomain, domain); }, onMouseDown: function(evt, targetProps) { if (evt.preventDefault(), targetProps.allowPan) { var parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getParentSVG(evt), _Selection$getSVGEven2 = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG), x = _Selection$getSVGEven2.x, y = _Selection$getSVGEven2.y; return [ { target: "parent", mutation: function() { return { startX: x, startY: y, panning: !0, parentSVG: parentSVG, parentControlledProps: [ "domain" ] }; } } ]; } }, onMouseUp: function(evt, targetProps) { if (targetProps.allowPan) return [ { target: "parent", mutation: function() { return { panning: !1 }; } } ]; }, onMouseLeave: function(evt, targetProps) { if (targetProps.allowPan) return [ { target: "parent", mutation: function() { return { panning: !1 }; } } ]; }, onMouseMove: function(evt, targetProps, eventKey, ctx) { if (targetProps.panning && targetProps.allowPan) { var scale = targetProps.scale, startX = targetProps.startX, startY = targetProps.startY, onZoomDomainChange = targetProps.onZoomDomainChange, zoomDomain = targetProps.zoomDomain, zoomDimension = targetProps.zoomDimension, horizontal = targetProps.horizontal, parentSVG = targetProps.parentSVG || victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getParentSVG(evt), _Selection$getSVGEven3 = victory_core__WEBPACK_IMPORTED_MODULE_5__.Selection.getSVGEventCoordinates(evt, parentSVG), x = _Selection$getSVGEven3.x, y = _Selection$getSVGEven3.y, originalDomain = this.getDomain(targetProps), lastDomain = this.getLastDomain(targetProps, originalDomain), dx = (horizontal ? y - startY : startX - x) / this.getDomainScale(lastDomain, scale, "x", horizontal), dy = (horizontal ? startX - x : y - startY) / this.getDomainScale(lastDomain, scale, "y", horizontal), currentDomain = { x: "y" === zoomDimension ? originalDomain.x : this.pan(lastDomain.x, originalDomain.x, dx), y: "x" === zoomDimension ? originalDomain.y : this.pan(lastDomain.y, originalDomain.y, dy) }, resumeAnimation = this.handleAnimation(ctx), zoomActive = !this.checkDomainEquality(originalDomain, lastDomain), mutatedProps = { parentControlledProps: [ "domain" ], startX: x, startY: y, parentSVG: parentSVG, currentDomain: currentDomain, originalDomain: originalDomain, cachedZoomDomain: zoomDomain, zoomActive: zoomActive }; return lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onZoomDomainChange) && onZoomDomainChange(currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)), [ { target: "parent", callback: resumeAnimation, mutation: function() { return mutatedProps; } } ]; } }, onWheel: function(evt, targetProps, eventKey, ctx) { if (targetProps.allowZoom) { var onZoomDomainChange = targetProps.onZoomDomainChange, zoomDimension = targetProps.zoomDimension, zoomDomain = targetProps.zoomDomain, originalDomain = this.getDomain(targetProps), lastDomain = this.getLastDomain(targetProps, originalDomain), x = lastDomain.x, y = lastDomain.y, currentDomain = { x: "y" === zoomDimension ? lastDomain.x : this.scale(x, evt, targetProps, "x"), y: "x" === zoomDimension ? lastDomain.y : this.scale(y, evt, targetProps, "y") }, resumeAnimation = this.handleAnimation(ctx), zoomActive = !this.zoommingOut(evt) || targetProps.zoomActive && !this.checkDomainEquality(originalDomain, lastDomain), mutatedProps = { currentDomain: currentDomain, originalDomain: originalDomain, cachedZoomDomain: zoomDomain, parentControlledProps: [ "domain" ], panning: !1, zoomActive: zoomActive }; return lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default()(onZoomDomainChange) && onZoomDomainChange(currentDomain, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, mutatedProps, targetProps)), [ { target: "parent", callback: resumeAnimation, mutation: function() { return mutatedProps; } } ]; } } }; __webpack_exports__.default = { checkDomainEquality: RawZoomHelpers.checkDomainEquality.bind(RawZoomHelpers), onMouseDown: RawZoomHelpers.onMouseDown.bind(RawZoomHelpers), onMouseUp: RawZoomHelpers.onMouseUp.bind(RawZoomHelpers), onMouseLeave: RawZoomHelpers.onMouseLeave.bind(RawZoomHelpers), onMouseMove: lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default()(RawZoomHelpers.onMouseMove.bind(RawZoomHelpers), 16, { leading: !0, trailing: !1 }), onWheel: lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default()(RawZoomHelpers.onWheel.bind(RawZoomHelpers), 16, { leading: !0, trailing: !1 }) }; }, "./index.js": function(module1, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var victory_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../victory-core/es/index.js"); __webpack_require__.d(__webpack_exports__, "Background", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Background; }), __webpack_require__.d(__webpack_exports__, "Border", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Border; }), __webpack_require__.d(__webpack_exports__, "Box", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Box; }), __webpack_require__.d(__webpack_exports__, "ClipPath", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.ClipPath; }), __webpack_require__.d(__webpack_exports__, "LineSegment", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.LineSegment; }), __webpack_require__.d(__webpack_exports__, "Point", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Point; }), __webpack_require__.d(__webpack_exports__, "Whisker", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Whisker; }), __webpack_require__.d(__webpack_exports__, "Circle", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Circle; }), __webpack_require__.d(__webpack_exports__, "Rect", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Rect; }), __webpack_require__.d(__webpack_exports__, "Line", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Line; }), __webpack_require__.d(__webpack_exports__, "Path", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Path; }), __webpack_require__.d(__webpack_exports__, "TSpan", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.TSpan; }), __webpack_require__.d(__webpack_exports__, "Text", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Text; }), __webpack_require__.d(__webpack_exports__, "VictoryAnimation", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryAnimation; }), __webpack_require__.d(__webpack_exports__, "VictoryLabel", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryLabel; }), __webpack_require__.d(__webpack_exports__, "VictoryTheme", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryTheme; }), __webpack_require__.d(__webpack_exports__, "VictoryTransition", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryTransition; }), __webpack_require__.d(__webpack_exports__, "VictoryPortal", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryPortal; }), __webpack_require__.d(__webpack_exports__, "Portal", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Portal; }), __webpack_require__.d(__webpack_exports__, "VictoryContainer", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryContainer; }), __webpack_require__.d(__webpack_exports__, "VictoryClipContainer", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryClipContainer; }), __webpack_require__.d(__webpack_exports__, "addEvents", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.addEvents; }), __webpack_require__.d(__webpack_exports__, "Collection", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Collection; }), __webpack_require__.d(__webpack_exports__, "Data", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Data; }), __webpack_require__.d(__webpack_exports__, "DefaultTransitions", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.DefaultTransitions; }), __webpack_require__.d(__webpack_exports__, "Domain", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Domain; }), __webpack_require__.d(__webpack_exports__, "Events", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Events; }), __webpack_require__.d(__webpack_exports__, "Helpers", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Helpers; }), __webpack_require__.d(__webpack_exports__, "Log", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Log; }), __webpack_require__.d(__webpack_exports__, "PropTypes", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.PropTypes; }), __webpack_require__.d(__webpack_exports__, "Scale", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Scale; }), __webpack_require__.d(__webpack_exports__, "Style", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Style; }), __webpack_require__.d(__webpack_exports__, "TextSize", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.TextSize; }), __webpack_require__.d(__webpack_exports__, "Transitions", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Transitions; }), __webpack_require__.d(__webpack_exports__, "Selection", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Selection; }), __webpack_require__.d(__webpack_exports__, "LabelHelpers", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.LabelHelpers; }), __webpack_require__.d(__webpack_exports__, "Axis", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Axis; }), __webpack_require__.d(__webpack_exports__, "Wrapper", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.Wrapper; }), __webpack_require__.d(__webpack_exports__, "VictoryAccessibleGroup", function() { return victory_core__WEBPACK_IMPORTED_MODULE_0__.VictoryAccessibleGroup; }); var victory_chart__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../victory-chart/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryChart", function() { return victory_chart__WEBPACK_IMPORTED_MODULE_1__.VictoryChart; }); var victory_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../../victory-group/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryGroup", function() { return victory_group__WEBPACK_IMPORTED_MODULE_2__.VictoryGroup; }); var victory_stack__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../victory-stack/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryStack", function() { return victory_stack__WEBPACK_IMPORTED_MODULE_3__.VictoryStack; }); var victory_pie__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../../victory-pie/es/index.js"); __webpack_require__.d(__webpack_exports__, "Slice", function() { return victory_pie__WEBPACK_IMPORTED_MODULE_4__.Slice; }), __webpack_require__.d(__webpack_exports__, "VictoryPie", function() { return victory_pie__WEBPACK_IMPORTED_MODULE_4__.VictoryPie; }); var victory_area__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../victory-area/es/index.js"); __webpack_require__.d(__webpack_exports__, "Area", function() { return victory_area__WEBPACK_IMPORTED_MODULE_5__.Area; }), __webpack_require__.d(__webpack_exports__, "VictoryArea", function() { return victory_area__WEBPACK_IMPORTED_MODULE_5__.VictoryArea; }); var victory_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../victory-bar/es/index.js"); __webpack_require__.d(__webpack_exports__, "Bar", function() { return victory_bar__WEBPACK_IMPORTED_MODULE_6__.Bar; }), __webpack_require__.d(__webpack_exports__, "VictoryBar", function() { return victory_bar__WEBPACK_IMPORTED_MODULE_6__.VictoryBar; }); var victory_candlestick__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("../../victory-candlestick/es/index.js"); __webpack_require__.d(__webpack_exports__, "Candle", function() { return victory_candlestick__WEBPACK_IMPORTED_MODULE_7__.Candle; }), __webpack_require__.d(__webpack_exports__, "VictoryCandlestick", function() { return victory_candlestick__WEBPACK_IMPORTED_MODULE_7__.VictoryCandlestick; }); var victory_errorbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("../../victory-errorbar/es/index.js"); __webpack_require__.d(__webpack_exports__, "ErrorBar", function() { return victory_errorbar__WEBPACK_IMPORTED_MODULE_8__.ErrorBar; }), __webpack_require__.d(__webpack_exports__, "VictoryErrorBar", function() { return victory_errorbar__WEBPACK_IMPORTED_MODULE_8__.VictoryErrorBar; }); var victory_histogram__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("../../victory-histogram/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryHistogram", function() { return victory_histogram__WEBPACK_IMPORTED_MODULE_9__.VictoryHistogram; }); var victory_line__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("../../victory-line/es/index.js"); __webpack_require__.d(__webpack_exports__, "Curve", function() { return victory_line__WEBPACK_IMPORTED_MODULE_10__.Curve; }), __webpack_require__.d(__webpack_exports__, "VictoryLine", function() { return victory_line__WEBPACK_IMPORTED_MODULE_10__.VictoryLine; }); var victory_scatter__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../../victory-scatter/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryScatter", function() { return victory_scatter__WEBPACK_IMPORTED_MODULE_11__.VictoryScatter; }); var victory_box_plot__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../victory-box-plot/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryBoxPlot", function() { return victory_box_plot__WEBPACK_IMPORTED_MODULE_12__.VictoryBoxPlot; }); var victory_voronoi__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../victory-voronoi/es/index.js"); __webpack_require__.d(__webpack_exports__, "Voronoi", function() { return victory_voronoi__WEBPACK_IMPORTED_MODULE_13__.Voronoi; }), __webpack_require__.d(__webpack_exports__, "VictoryVoronoi", function() { return victory_voronoi__WEBPACK_IMPORTED_MODULE_13__.VictoryVoronoi; }); var victory_brush_line__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../victory-brush-line/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryBrushLine", function() { return victory_brush_line__WEBPACK_IMPORTED_MODULE_14__.VictoryBrushLine; }); var victory_brush_container__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("../../victory-brush-container/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryBrushContainer", function() { return victory_brush_container__WEBPACK_IMPORTED_MODULE_15__.VictoryBrushContainer; }), __webpack_require__.d(__webpack_exports__, "BrushHelpers", function() { return victory_brush_container__WEBPACK_IMPORTED_MODULE_15__.BrushHelpers; }), __webpack_require__.d(__webpack_exports__, "brushContainerMixin", function() { return victory_brush_container__WEBPACK_IMPORTED_MODULE_15__.brushContainerMixin; }); var victory_cursor_container__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("../../victory-cursor-container/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryCursorContainer", function() { return victory_cursor_container__WEBPACK_IMPORTED_MODULE_16__.VictoryCursorContainer; }), __webpack_require__.d(__webpack_exports__, "CursorHelpers", function() { return victory_cursor_container__WEBPACK_IMPORTED_MODULE_16__.CursorHelpers; }), __webpack_require__.d(__webpack_exports__, "cursorContainerMixin", function() { return victory_cursor_container__WEBPACK_IMPORTED_MODULE_16__.cursorContainerMixin; }); var victory_selection_container__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("../../victory-selection-container/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictorySelectionContainer", function() { return victory_selection_container__WEBPACK_IMPORTED_MODULE_17__.VictorySelectionContainer; }), __webpack_require__.d(__webpack_exports__, "SelectionHelpers", function() { return victory_selection_container__WEBPACK_IMPORTED_MODULE_17__.SelectionHelpers; }), __webpack_require__.d(__webpack_exports__, "selectionContainerMixin", function() { return victory_selection_container__WEBPACK_IMPORTED_MODULE_17__.selectionContainerMixin; }); var victory_voronoi_container__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("../../victory-voronoi-container/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryVoronoiContainer", function() { return victory_voronoi_container__WEBPACK_IMPORTED_MODULE_18__.VictoryVoronoiContainer; }), __webpack_require__.d(__webpack_exports__, "VoronoiHelpers", function() { return victory_voronoi_container__WEBPACK_IMPORTED_MODULE_18__.VoronoiHelpers; }), __webpack_require__.d(__webpack_exports__, "voronoiContainerMixin", function() { return victory_voronoi_container__WEBPACK_IMPORTED_MODULE_18__.voronoiContainerMixin; }); var victory_zoom_container__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("../../victory-zoom-container/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryZoomContainer", function() { return victory_zoom_container__WEBPACK_IMPORTED_MODULE_19__.VictoryZoomContainer; }), __webpack_require__.d(__webpack_exports__, "ZoomHelpers", function() { return victory_zoom_container__WEBPACK_IMPORTED_MODULE_19__.ZoomHelpers; }), __webpack_require__.d(__webpack_exports__, "zoomContainerMixin", function() { return victory_zoom_container__WEBPACK_IMPORTED_MODULE_19__.zoomContainerMixin; }), __webpack_require__.d(__webpack_exports__, "RawZoomHelpers", function() { return victory_zoom_container__WEBPACK_IMPORTED_MODULE_19__.RawZoomHelpers; }); var victory_create_container__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("../../victory-create-container/es/index.js"); __webpack_require__.d(__webpack_exports__, "combineContainerMixins", function() { return victory_create_container__WEBPACK_IMPORTED_MODULE_20__.combineContainerMixins; }), __webpack_require__.d(__webpack_exports__, "makeCreateContainerFunction", function() { return victory_create_container__WEBPACK_IMPORTED_MODULE_20__.makeCreateContainerFunction; }), __webpack_require__.d(__webpack_exports__, "createContainer", function() { return victory_create_container__WEBPACK_IMPORTED_MODULE_20__.createContainer; }); var victory_tooltip__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("../../victory-tooltip/es/index.js"); __webpack_require__.d(__webpack_exports__, "Flyout", function() { return victory_tooltip__WEBPACK_IMPORTED_MODULE_21__.Flyout; }), __webpack_require__.d(__webpack_exports__, "VictoryTooltip", function() { return victory_tooltip__WEBPACK_IMPORTED_MODULE_21__.VictoryTooltip; }); var victory_legend__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("../../victory-legend/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryLegend", function() { return victory_legend__WEBPACK_IMPORTED_MODULE_22__.VictoryLegend; }); var victory_shared_events__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("../../victory-shared-events/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictorySharedEvents", function() { return victory_shared_events__WEBPACK_IMPORTED_MODULE_23__.VictorySharedEvents; }); var victory_axis__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("../../victory-axis/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryAxis", function() { return victory_axis__WEBPACK_IMPORTED_MODULE_24__.VictoryAxis; }); var victory_polar_axis__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("../../victory-polar-axis/es/index.js"); __webpack_require__.d(__webpack_exports__, "VictoryPolarAxis", function() { return victory_polar_axis__WEBPACK_IMPORTED_MODULE_25__.VictoryPolarAxis; }); }, react: function(module1, exports1) { module1.exports = __WEBPACK_EXTERNAL_MODULE_react__; } }); });