victory-box-plot 36.1.0 → 36.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/victory-box-plot.js +642 -555
- package/dist/victory-box-plot.min.js +1 -1
- package/es/victory-box-plot.js +3 -1
- package/lib/victory-box-plot.js +3 -1
- package/package.json +3 -3
package/dist/victory-box-plot.js
CHANGED
|
@@ -698,7 +698,9 @@ var options = {
|
|
|
698
698
|
}]
|
|
699
699
|
};
|
|
700
700
|
|
|
701
|
-
var VictoryBoxPlot =
|
|
701
|
+
var VictoryBoxPlot =
|
|
702
|
+
/*#__PURE__*/
|
|
703
|
+
function (_React$Component) {
|
|
702
704
|
_inherits(VictoryBoxPlot, _React$Component);
|
|
703
705
|
|
|
704
706
|
function VictoryBoxPlot() {
|
|
@@ -870,27 +872,27 @@ Object.defineProperty(VictoryBoxPlot, "defaultProps", {
|
|
|
870
872
|
enumerable: true,
|
|
871
873
|
writable: true,
|
|
872
874
|
value: {
|
|
873
|
-
containerComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__
|
|
875
|
+
containerComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_8__["default"], null),
|
|
874
876
|
data: defaultData,
|
|
875
|
-
dataComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__
|
|
877
|
+
dataComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
876
878
|
groupComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", {
|
|
877
879
|
role: "presentation"
|
|
878
880
|
}),
|
|
879
|
-
maxComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_10__
|
|
880
|
-
maxLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
881
|
-
medianComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_12__
|
|
882
|
-
medianLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
883
|
-
minComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_10__
|
|
884
|
-
minLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
885
|
-
q1Component: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__
|
|
886
|
-
q1LabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
887
|
-
q3Component: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__
|
|
888
|
-
q3LabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__
|
|
881
|
+
maxComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_10__["default"], null),
|
|
882
|
+
maxLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
883
|
+
medianComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_12__["default"], null),
|
|
884
|
+
medianLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
885
|
+
minComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_10__["default"], null),
|
|
886
|
+
minLabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
887
|
+
q1Component: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
888
|
+
q1LabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
889
|
+
q3Component: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_9__["default"], null),
|
|
890
|
+
q3LabelComponent: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_11__["default"], null),
|
|
889
891
|
samples: 50,
|
|
890
892
|
sortKey: "x",
|
|
891
893
|
sortOrder: "ascending",
|
|
892
894
|
standalone: true,
|
|
893
|
-
theme: victory_core__WEBPACK_IMPORTED_MODULE_13__
|
|
895
|
+
theme: victory_core__WEBPACK_IMPORTED_MODULE_13__["default"].grayscale
|
|
894
896
|
}
|
|
895
897
|
});
|
|
896
898
|
Object.defineProperty(VictoryBoxPlot, "getDomain", {
|
|
@@ -919,7 +921,7 @@ Object.defineProperty(VictoryBoxPlot, "expectedComponents", {
|
|
|
919
921
|
writable: true,
|
|
920
922
|
value: ["maxComponent", "maxLabelComponent", "medianComponent", "medianLabelComponent", "minComponent", "minLabelComponent", "q1Component", "q1LabelComponent", "q3Component", "q3LabelComponent", "groupComponent", "containerComponent"]
|
|
921
923
|
});
|
|
922
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,victory_core__WEBPACK_IMPORTED_MODULE_15__
|
|
924
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,victory_core__WEBPACK_IMPORTED_MODULE_15__["default"])(VictoryBoxPlot, options));
|
|
923
925
|
|
|
924
926
|
/***/ }),
|
|
925
927
|
|
|
@@ -979,7 +981,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
979
981
|
|
|
980
982
|
|
|
981
983
|
|
|
982
|
-
var ascendingBisect = (0,_bisector__WEBPACK_IMPORTED_MODULE_1__
|
|
984
|
+
var ascendingBisect = (0,_bisector__WEBPACK_IMPORTED_MODULE_1__["default"])(_ascending__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
983
985
|
var bisectRight = ascendingBisect.right;
|
|
984
986
|
var bisectLeft = ascendingBisect.left;
|
|
985
987
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (bisectRight);
|
|
@@ -1029,7 +1031,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1029
1031
|
|
|
1030
1032
|
function ascendingComparator(f) {
|
|
1031
1033
|
return function(d, x) {
|
|
1032
|
-
return (0,_ascending__WEBPACK_IMPORTED_MODULE_0__
|
|
1034
|
+
return (0,_ascending__WEBPACK_IMPORTED_MODULE_0__["default"])(f(d), x);
|
|
1033
1035
|
};
|
|
1034
1036
|
}
|
|
1035
1037
|
|
|
@@ -1126,7 +1128,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1126
1128
|
|
|
1127
1129
|
|
|
1128
1130
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(array, f) {
|
|
1129
|
-
var v = (0,_variance__WEBPACK_IMPORTED_MODULE_0__
|
|
1131
|
+
var v = (0,_variance__WEBPACK_IMPORTED_MODULE_0__["default"])(array, f);
|
|
1130
1132
|
return v ? Math.sqrt(v) : v;
|
|
1131
1133
|
}
|
|
1132
1134
|
|
|
@@ -1214,9 +1216,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1214
1216
|
|
|
1215
1217
|
|
|
1216
1218
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
1217
|
-
var value = _identity__WEBPACK_IMPORTED_MODULE_4__
|
|
1218
|
-
domain = _extent__WEBPACK_IMPORTED_MODULE_3__
|
|
1219
|
-
threshold = _threshold_sturges__WEBPACK_IMPORTED_MODULE_7__
|
|
1219
|
+
var value = _identity__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
1220
|
+
domain = _extent__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
1221
|
+
threshold = _threshold_sturges__WEBPACK_IMPORTED_MODULE_7__["default"];
|
|
1220
1222
|
|
|
1221
1223
|
function histogram(data) {
|
|
1222
1224
|
var i,
|
|
@@ -1236,7 +1238,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1236
1238
|
// Convert number of thresholds into uniform thresholds.
|
|
1237
1239
|
if (!Array.isArray(tz)) {
|
|
1238
1240
|
tz = (0,_ticks__WEBPACK_IMPORTED_MODULE_6__.tickStep)(x0, x1, tz);
|
|
1239
|
-
tz = (0,_range__WEBPACK_IMPORTED_MODULE_5__
|
|
1241
|
+
tz = (0,_range__WEBPACK_IMPORTED_MODULE_5__["default"])(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive
|
|
1240
1242
|
}
|
|
1241
1243
|
|
|
1242
1244
|
// Remove any thresholds outside the domain.
|
|
@@ -1258,7 +1260,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1258
1260
|
for (i = 0; i < n; ++i) {
|
|
1259
1261
|
x = values[i];
|
|
1260
1262
|
if (x0 <= x && x <= x1) {
|
|
1261
|
-
bins[(0,_bisect__WEBPACK_IMPORTED_MODULE_1__
|
|
1263
|
+
bins[(0,_bisect__WEBPACK_IMPORTED_MODULE_1__["default"])(tz, x, 0, m)].push(data[i]);
|
|
1262
1264
|
}
|
|
1263
1265
|
}
|
|
1264
1266
|
|
|
@@ -1266,15 +1268,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1266
1268
|
}
|
|
1267
1269
|
|
|
1268
1270
|
histogram.value = function(_) {
|
|
1269
|
-
return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
1271
|
+
return arguments.length ? (value = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : value;
|
|
1270
1272
|
};
|
|
1271
1273
|
|
|
1272
1274
|
histogram.domain = function(_) {
|
|
1273
|
-
return arguments.length ? (domain = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
1275
|
+
return arguments.length ? (domain = typeof _ === "function" ? _ : (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])([_[0], _[1]]), histogram) : domain;
|
|
1274
1276
|
};
|
|
1275
1277
|
|
|
1276
1278
|
histogram.thresholds = function(_) {
|
|
1277
|
-
return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
1279
|
+
return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(_array__WEBPACK_IMPORTED_MODULE_0__.slice.call(_)) : (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : threshold;
|
|
1278
1280
|
};
|
|
1279
1281
|
|
|
1280
1282
|
return histogram;
|
|
@@ -1310,37 +1312,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1310
1312
|
"use strict";
|
|
1311
1313
|
__webpack_require__.r(__webpack_exports__);
|
|
1312
1314
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1313
|
-
/* harmony export */ "bisect": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__
|
|
1315
|
+
/* harmony export */ "bisect": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
1314
1316
|
/* harmony export */ "bisectRight": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__.bisectRight),
|
|
1315
1317
|
/* harmony export */ "bisectLeft": () => (/* reexport safe */ _bisect__WEBPACK_IMPORTED_MODULE_0__.bisectLeft),
|
|
1316
|
-
/* harmony export */ "ascending": () => (/* reexport safe */ _ascending__WEBPACK_IMPORTED_MODULE_1__
|
|
1317
|
-
/* harmony export */ "bisector": () => (/* reexport safe */ _bisector__WEBPACK_IMPORTED_MODULE_2__
|
|
1318
|
-
/* harmony export */ "cross": () => (/* reexport safe */ _cross__WEBPACK_IMPORTED_MODULE_3__
|
|
1319
|
-
/* harmony export */ "descending": () => (/* reexport safe */ _descending__WEBPACK_IMPORTED_MODULE_4__
|
|
1320
|
-
/* harmony export */ "deviation": () => (/* reexport safe */ _deviation__WEBPACK_IMPORTED_MODULE_5__
|
|
1321
|
-
/* harmony export */ "extent": () => (/* reexport safe */ _extent__WEBPACK_IMPORTED_MODULE_6__
|
|
1322
|
-
/* harmony export */ "histogram": () => (/* reexport safe */ _histogram__WEBPACK_IMPORTED_MODULE_7__
|
|
1323
|
-
/* harmony export */ "thresholdFreedmanDiaconis": () => (/* reexport safe */ _threshold_freedmanDiaconis__WEBPACK_IMPORTED_MODULE_8__
|
|
1324
|
-
/* harmony export */ "thresholdScott": () => (/* reexport safe */ _threshold_scott__WEBPACK_IMPORTED_MODULE_9__
|
|
1325
|
-
/* harmony export */ "thresholdSturges": () => (/* reexport safe */ _threshold_sturges__WEBPACK_IMPORTED_MODULE_10__
|
|
1326
|
-
/* harmony export */ "max": () => (/* reexport safe */ _max__WEBPACK_IMPORTED_MODULE_11__
|
|
1327
|
-
/* harmony export */ "mean": () => (/* reexport safe */ _mean__WEBPACK_IMPORTED_MODULE_12__
|
|
1328
|
-
/* harmony export */ "median": () => (/* reexport safe */ _median__WEBPACK_IMPORTED_MODULE_13__
|
|
1329
|
-
/* harmony export */ "merge": () => (/* reexport safe */ _merge__WEBPACK_IMPORTED_MODULE_14__
|
|
1330
|
-
/* harmony export */ "min": () => (/* reexport safe */ _min__WEBPACK_IMPORTED_MODULE_15__
|
|
1331
|
-
/* harmony export */ "pairs": () => (/* reexport safe */ _pairs__WEBPACK_IMPORTED_MODULE_16__
|
|
1332
|
-
/* harmony export */ "permute": () => (/* reexport safe */ _permute__WEBPACK_IMPORTED_MODULE_17__
|
|
1333
|
-
/* harmony export */ "quantile": () => (/* reexport safe */ _quantile__WEBPACK_IMPORTED_MODULE_18__
|
|
1334
|
-
/* harmony export */ "range": () => (/* reexport safe */ _range__WEBPACK_IMPORTED_MODULE_19__
|
|
1335
|
-
/* harmony export */ "scan": () => (/* reexport safe */ _scan__WEBPACK_IMPORTED_MODULE_20__
|
|
1336
|
-
/* harmony export */ "shuffle": () => (/* reexport safe */ _shuffle__WEBPACK_IMPORTED_MODULE_21__
|
|
1337
|
-
/* harmony export */ "sum": () => (/* reexport safe */ _sum__WEBPACK_IMPORTED_MODULE_22__
|
|
1338
|
-
/* harmony export */ "ticks": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__
|
|
1318
|
+
/* harmony export */ "ascending": () => (/* reexport safe */ _ascending__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
1319
|
+
/* harmony export */ "bisector": () => (/* reexport safe */ _bisector__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
1320
|
+
/* harmony export */ "cross": () => (/* reexport safe */ _cross__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
1321
|
+
/* harmony export */ "descending": () => (/* reexport safe */ _descending__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
1322
|
+
/* harmony export */ "deviation": () => (/* reexport safe */ _deviation__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
1323
|
+
/* harmony export */ "extent": () => (/* reexport safe */ _extent__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
1324
|
+
/* harmony export */ "histogram": () => (/* reexport safe */ _histogram__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
1325
|
+
/* harmony export */ "thresholdFreedmanDiaconis": () => (/* reexport safe */ _threshold_freedmanDiaconis__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
1326
|
+
/* harmony export */ "thresholdScott": () => (/* reexport safe */ _threshold_scott__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
1327
|
+
/* harmony export */ "thresholdSturges": () => (/* reexport safe */ _threshold_sturges__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
1328
|
+
/* harmony export */ "max": () => (/* reexport safe */ _max__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
1329
|
+
/* harmony export */ "mean": () => (/* reexport safe */ _mean__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
1330
|
+
/* harmony export */ "median": () => (/* reexport safe */ _median__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
1331
|
+
/* harmony export */ "merge": () => (/* reexport safe */ _merge__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
1332
|
+
/* harmony export */ "min": () => (/* reexport safe */ _min__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
1333
|
+
/* harmony export */ "pairs": () => (/* reexport safe */ _pairs__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
1334
|
+
/* harmony export */ "permute": () => (/* reexport safe */ _permute__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
1335
|
+
/* harmony export */ "quantile": () => (/* reexport safe */ _quantile__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
1336
|
+
/* harmony export */ "range": () => (/* reexport safe */ _range__WEBPACK_IMPORTED_MODULE_19__["default"]),
|
|
1337
|
+
/* harmony export */ "scan": () => (/* reexport safe */ _scan__WEBPACK_IMPORTED_MODULE_20__["default"]),
|
|
1338
|
+
/* harmony export */ "shuffle": () => (/* reexport safe */ _shuffle__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
1339
|
+
/* harmony export */ "sum": () => (/* reexport safe */ _sum__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
1340
|
+
/* harmony export */ "ticks": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
1339
1341
|
/* harmony export */ "tickIncrement": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__.tickIncrement),
|
|
1340
1342
|
/* harmony export */ "tickStep": () => (/* reexport safe */ _ticks__WEBPACK_IMPORTED_MODULE_23__.tickStep),
|
|
1341
|
-
/* harmony export */ "transpose": () => (/* reexport safe */ _transpose__WEBPACK_IMPORTED_MODULE_24__
|
|
1342
|
-
/* harmony export */ "variance": () => (/* reexport safe */ _variance__WEBPACK_IMPORTED_MODULE_25__
|
|
1343
|
-
/* harmony export */ "zip": () => (/* reexport safe */ _zip__WEBPACK_IMPORTED_MODULE_26__
|
|
1343
|
+
/* harmony export */ "transpose": () => (/* reexport safe */ _transpose__WEBPACK_IMPORTED_MODULE_24__["default"]),
|
|
1344
|
+
/* harmony export */ "variance": () => (/* reexport safe */ _variance__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
1345
|
+
/* harmony export */ "zip": () => (/* reexport safe */ _zip__WEBPACK_IMPORTED_MODULE_26__["default"])
|
|
1344
1346
|
/* harmony export */ });
|
|
1345
1347
|
/* harmony import */ var _bisect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bisect */ "../../../node_modules/d3-array/src/bisect.js");
|
|
1346
1348
|
/* harmony import */ var _ascending__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ascending */ "../../../node_modules/d3-array/src/ascending.js");
|
|
@@ -1472,14 +1474,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1472
1474
|
|
|
1473
1475
|
if (valueof == null) {
|
|
1474
1476
|
while (++i < n) {
|
|
1475
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
1477
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(values[i]))) sum += value;
|
|
1476
1478
|
else --m;
|
|
1477
1479
|
}
|
|
1478
1480
|
}
|
|
1479
1481
|
|
|
1480
1482
|
else {
|
|
1481
1483
|
while (++i < n) {
|
|
1482
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
1484
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(valueof(values[i], i, values)))) sum += value;
|
|
1483
1485
|
else --m;
|
|
1484
1486
|
}
|
|
1485
1487
|
}
|
|
@@ -1516,7 +1518,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1516
1518
|
|
|
1517
1519
|
if (valueof == null) {
|
|
1518
1520
|
while (++i < n) {
|
|
1519
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__
|
|
1521
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__["default"])(values[i]))) {
|
|
1520
1522
|
numbers.push(value);
|
|
1521
1523
|
}
|
|
1522
1524
|
}
|
|
@@ -1524,13 +1526,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1524
1526
|
|
|
1525
1527
|
else {
|
|
1526
1528
|
while (++i < n) {
|
|
1527
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__
|
|
1529
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_1__["default"])(valueof(values[i], i, values)))) {
|
|
1528
1530
|
numbers.push(value);
|
|
1529
1531
|
}
|
|
1530
1532
|
}
|
|
1531
1533
|
}
|
|
1532
1534
|
|
|
1533
|
-
return (0,_quantile__WEBPACK_IMPORTED_MODULE_2__
|
|
1535
|
+
return (0,_quantile__WEBPACK_IMPORTED_MODULE_2__["default"])(numbers.sort(_ascending__WEBPACK_IMPORTED_MODULE_0__["default"]), 0.5);
|
|
1534
1536
|
}
|
|
1535
1537
|
|
|
1536
1538
|
|
|
@@ -1700,7 +1702,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1700
1702
|
|
|
1701
1703
|
|
|
1702
1704
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values, p, valueof) {
|
|
1703
|
-
if (valueof == null) valueof = _number__WEBPACK_IMPORTED_MODULE_0__
|
|
1705
|
+
if (valueof == null) valueof = _number__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
1704
1706
|
if (!(n = values.length)) return;
|
|
1705
1707
|
if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);
|
|
1706
1708
|
if (p >= 1) return +valueof(values[n - 1], n - 1, values);
|
|
@@ -1765,7 +1767,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1765
1767
|
xi,
|
|
1766
1768
|
xj = values[j];
|
|
1767
1769
|
|
|
1768
|
-
if (compare == null) compare = _ascending__WEBPACK_IMPORTED_MODULE_0__
|
|
1770
|
+
if (compare == null) compare = _ascending__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
1769
1771
|
|
|
1770
1772
|
while (++i < n) {
|
|
1771
1773
|
if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {
|
|
@@ -1864,8 +1866,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1864
1866
|
|
|
1865
1867
|
|
|
1866
1868
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values, min, max) {
|
|
1867
|
-
values = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(values, _number__WEBPACK_IMPORTED_MODULE_2__
|
|
1868
|
-
return Math.ceil((max - min) / (2 * ((0,_quantile__WEBPACK_IMPORTED_MODULE_3__
|
|
1869
|
+
values = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(values, _number__WEBPACK_IMPORTED_MODULE_2__["default"]).sort(_ascending__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
1870
|
+
return Math.ceil((max - min) / (2 * ((0,_quantile__WEBPACK_IMPORTED_MODULE_3__["default"])(values, 0.75) - (0,_quantile__WEBPACK_IMPORTED_MODULE_3__["default"])(values, 0.25)) * Math.pow(values.length, -1 / 3)));
|
|
1869
1871
|
}
|
|
1870
1872
|
|
|
1871
1873
|
|
|
@@ -1886,7 +1888,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1886
1888
|
|
|
1887
1889
|
|
|
1888
1890
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(values, min, max) {
|
|
1889
|
-
return Math.ceil((max - min) / (3.5 * (0,_deviation__WEBPACK_IMPORTED_MODULE_0__
|
|
1891
|
+
return Math.ceil((max - min) / (3.5 * (0,_deviation__WEBPACK_IMPORTED_MODULE_0__["default"])(values) * Math.pow(values.length, -1 / 3)));
|
|
1890
1892
|
}
|
|
1891
1893
|
|
|
1892
1894
|
|
|
@@ -1994,7 +1996,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1994
1996
|
|
|
1995
1997
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(matrix) {
|
|
1996
1998
|
if (!(n = matrix.length)) return [];
|
|
1997
|
-
for (var i = -1, m = (0,_min__WEBPACK_IMPORTED_MODULE_0__
|
|
1999
|
+
for (var i = -1, m = (0,_min__WEBPACK_IMPORTED_MODULE_0__["default"])(matrix, length), transpose = new Array(m); ++i < m;) {
|
|
1998
2000
|
for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {
|
|
1999
2001
|
row[j] = matrix[j][i];
|
|
2000
2002
|
}
|
|
@@ -2034,7 +2036,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2034
2036
|
|
|
2035
2037
|
if (valueof == null) {
|
|
2036
2038
|
while (++i < n) {
|
|
2037
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
2039
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(values[i]))) {
|
|
2038
2040
|
delta = value - mean;
|
|
2039
2041
|
mean += delta / ++m;
|
|
2040
2042
|
sum += delta * (value - mean);
|
|
@@ -2044,7 +2046,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2044
2046
|
|
|
2045
2047
|
else {
|
|
2046
2048
|
while (++i < n) {
|
|
2047
|
-
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__
|
|
2049
|
+
if (!isNaN(value = (0,_number__WEBPACK_IMPORTED_MODULE_0__["default"])(valueof(values[i], i, values)))) {
|
|
2048
2050
|
delta = value - mean;
|
|
2049
2051
|
mean += delta / ++m;
|
|
2050
2052
|
sum += delta * (value - mean);
|
|
@@ -2073,7 +2075,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2073
2075
|
|
|
2074
2076
|
|
|
2075
2077
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
2076
|
-
return (0,_transpose__WEBPACK_IMPORTED_MODULE_0__
|
|
2078
|
+
return (0,_transpose__WEBPACK_IMPORTED_MODULE_0__["default"])(arguments);
|
|
2077
2079
|
}
|
|
2078
2080
|
|
|
2079
2081
|
|
|
@@ -2108,12 +2110,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2108
2110
|
"use strict";
|
|
2109
2111
|
__webpack_require__.r(__webpack_exports__);
|
|
2110
2112
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2111
|
-
/* harmony export */ "nest": () => (/* reexport safe */ _nest__WEBPACK_IMPORTED_MODULE_0__
|
|
2112
|
-
/* harmony export */ "set": () => (/* reexport safe */ _set__WEBPACK_IMPORTED_MODULE_1__
|
|
2113
|
-
/* harmony export */ "map": () => (/* reexport safe */ _map__WEBPACK_IMPORTED_MODULE_2__
|
|
2114
|
-
/* harmony export */ "keys": () => (/* reexport safe */ _keys__WEBPACK_IMPORTED_MODULE_3__
|
|
2115
|
-
/* harmony export */ "values": () => (/* reexport safe */ _values__WEBPACK_IMPORTED_MODULE_4__
|
|
2116
|
-
/* harmony export */ "entries": () => (/* reexport safe */ _entries__WEBPACK_IMPORTED_MODULE_5__
|
|
2113
|
+
/* harmony export */ "nest": () => (/* reexport safe */ _nest__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
2114
|
+
/* harmony export */ "set": () => (/* reexport safe */ _set__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
2115
|
+
/* harmony export */ "map": () => (/* reexport safe */ _map__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
2116
|
+
/* harmony export */ "keys": () => (/* reexport safe */ _keys__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
2117
|
+
/* harmony export */ "values": () => (/* reexport safe */ _values__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
2118
|
+
/* harmony export */ "entries": () => (/* reexport safe */ _entries__WEBPACK_IMPORTED_MODULE_5__["default"])
|
|
2117
2119
|
/* harmony export */ });
|
|
2118
2120
|
/* harmony import */ var _nest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./nest */ "../../../node_modules/d3-collection/src/nest.js");
|
|
2119
2121
|
/* harmony import */ var _set__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./set */ "../../../node_modules/d3-collection/src/set.js");
|
|
@@ -2274,7 +2276,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2274
2276
|
key = keys[depth++],
|
|
2275
2277
|
keyValue,
|
|
2276
2278
|
value,
|
|
2277
|
-
valuesByKey = (0,_map__WEBPACK_IMPORTED_MODULE_0__
|
|
2279
|
+
valuesByKey = (0,_map__WEBPACK_IMPORTED_MODULE_0__["default"])(),
|
|
2278
2280
|
values,
|
|
2279
2281
|
result = createResult();
|
|
2280
2282
|
|
|
@@ -2321,7 +2323,7 @@ function setObject(object, key, value) {
|
|
|
2321
2323
|
}
|
|
2322
2324
|
|
|
2323
2325
|
function createMap() {
|
|
2324
|
-
return (0,_map__WEBPACK_IMPORTED_MODULE_0__
|
|
2326
|
+
return (0,_map__WEBPACK_IMPORTED_MODULE_0__["default"])();
|
|
2325
2327
|
}
|
|
2326
2328
|
|
|
2327
2329
|
function setMap(map, key, value) {
|
|
@@ -2347,7 +2349,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2347
2349
|
|
|
2348
2350
|
function Set() {}
|
|
2349
2351
|
|
|
2350
|
-
var proto = _map__WEBPACK_IMPORTED_MODULE_0__
|
|
2352
|
+
var proto = _map__WEBPACK_IMPORTED_MODULE_0__["default"].prototype;
|
|
2351
2353
|
|
|
2352
2354
|
Set.prototype = set.prototype = {
|
|
2353
2355
|
constructor: Set,
|
|
@@ -2595,7 +2597,7 @@ var named = {
|
|
|
2595
2597
|
yellowgreen: 0x9acd32
|
|
2596
2598
|
};
|
|
2597
2599
|
|
|
2598
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__
|
|
2600
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Color, color, {
|
|
2599
2601
|
copy: function(channels) {
|
|
2600
2602
|
return Object.assign(new this.constructor, this, channels);
|
|
2601
2603
|
},
|
|
@@ -2667,7 +2669,7 @@ function Rgb(r, g, b, opacity) {
|
|
|
2667
2669
|
this.opacity = +opacity;
|
|
2668
2670
|
}
|
|
2669
2671
|
|
|
2670
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__
|
|
2672
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Rgb, rgb, (0,_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, {
|
|
2671
2673
|
brighter: function(k) {
|
|
2672
2674
|
k = k == null ? brighter : Math.pow(brighter, k);
|
|
2673
2675
|
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
@@ -2753,7 +2755,7 @@ function Hsl(h, s, l, opacity) {
|
|
|
2753
2755
|
this.opacity = +opacity;
|
|
2754
2756
|
}
|
|
2755
2757
|
|
|
2756
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__
|
|
2758
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hsl, hsl, (0,_define_js__WEBPACK_IMPORTED_MODULE_0__.extend)(Color, {
|
|
2757
2759
|
brighter: function(k) {
|
|
2758
2760
|
k = k == null ? brighter : Math.pow(brighter, k);
|
|
2759
2761
|
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
@@ -2854,7 +2856,7 @@ function Cubehelix(h, s, l, opacity) {
|
|
|
2854
2856
|
this.opacity = +opacity;
|
|
2855
2857
|
}
|
|
2856
2858
|
|
|
2857
|
-
(0,_define_js__WEBPACK_IMPORTED_MODULE_2__
|
|
2859
|
+
(0,_define_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Cubehelix, cubehelix, (0,_define_js__WEBPACK_IMPORTED_MODULE_2__.extend)(_color_js__WEBPACK_IMPORTED_MODULE_0__.Color, {
|
|
2858
2860
|
brighter: function(k) {
|
|
2859
2861
|
k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_0__.brighter : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_0__.brighter, k);
|
|
2860
2862
|
return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
|
|
@@ -2944,7 +2946,7 @@ var backIn = (function custom(s) {
|
|
|
2944
2946
|
s = +s;
|
|
2945
2947
|
|
|
2946
2948
|
function backIn(t) {
|
|
2947
|
-
return t * t * (
|
|
2949
|
+
return (t = +t) * t * (s * (t - 1) + t);
|
|
2948
2950
|
}
|
|
2949
2951
|
|
|
2950
2952
|
backIn.overshoot = custom;
|
|
@@ -2956,7 +2958,7 @@ var backOut = (function custom(s) {
|
|
|
2956
2958
|
s = +s;
|
|
2957
2959
|
|
|
2958
2960
|
function backOut(t) {
|
|
2959
|
-
return --t * t * ((
|
|
2961
|
+
return --t * t * ((t + 1) * s + t) + 1;
|
|
2960
2962
|
}
|
|
2961
2963
|
|
|
2962
2964
|
backOut.overshoot = custom;
|
|
@@ -3087,6 +3089,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3087
3089
|
/* harmony export */ "elasticOut": () => (/* binding */ elasticOut),
|
|
3088
3090
|
/* harmony export */ "elasticInOut": () => (/* binding */ elasticInOut)
|
|
3089
3091
|
/* harmony export */ });
|
|
3092
|
+
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../../node_modules/d3-ease/src/math.js");
|
|
3093
|
+
|
|
3094
|
+
|
|
3090
3095
|
var tau = 2 * Math.PI,
|
|
3091
3096
|
amplitude = 1,
|
|
3092
3097
|
period = 0.3;
|
|
@@ -3095,7 +3100,7 @@ var elasticIn = (function custom(a, p) {
|
|
|
3095
3100
|
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
|
|
3096
3101
|
|
|
3097
3102
|
function elasticIn(t) {
|
|
3098
|
-
return a *
|
|
3103
|
+
return a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(-(--t)) * Math.sin((s - t) / p);
|
|
3099
3104
|
}
|
|
3100
3105
|
|
|
3101
3106
|
elasticIn.amplitude = function(a) { return custom(a, p * tau); };
|
|
@@ -3108,7 +3113,7 @@ var elasticOut = (function custom(a, p) {
|
|
|
3108
3113
|
var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
|
|
3109
3114
|
|
|
3110
3115
|
function elasticOut(t) {
|
|
3111
|
-
return 1 - a *
|
|
3116
|
+
return 1 - a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t = +t) * Math.sin((t + s) / p);
|
|
3112
3117
|
}
|
|
3113
3118
|
|
|
3114
3119
|
elasticOut.amplitude = function(a) { return custom(a, p * tau); };
|
|
@@ -3122,8 +3127,8 @@ var elasticInOut = (function custom(a, p) {
|
|
|
3122
3127
|
|
|
3123
3128
|
function elasticInOut(t) {
|
|
3124
3129
|
return ((t = t * 2 - 1) < 0
|
|
3125
|
-
? a *
|
|
3126
|
-
: 2 - a *
|
|
3130
|
+
? a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(-t) * Math.sin((s - t) / p)
|
|
3131
|
+
: 2 - a * (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t) * Math.sin((s + t) / p)) / 2;
|
|
3127
3132
|
}
|
|
3128
3133
|
|
|
3129
3134
|
elasticInOut.amplitude = function(a) { return custom(a, p * tau); };
|
|
@@ -3148,16 +3153,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3148
3153
|
/* harmony export */ "expOut": () => (/* binding */ expOut),
|
|
3149
3154
|
/* harmony export */ "expInOut": () => (/* binding */ expInOut)
|
|
3150
3155
|
/* harmony export */ });
|
|
3156
|
+
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "../../../node_modules/d3-ease/src/math.js");
|
|
3157
|
+
|
|
3158
|
+
|
|
3151
3159
|
function expIn(t) {
|
|
3152
|
-
return
|
|
3160
|
+
return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(1 - +t);
|
|
3153
3161
|
}
|
|
3154
3162
|
|
|
3155
3163
|
function expOut(t) {
|
|
3156
|
-
return 1 -
|
|
3164
|
+
return 1 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t);
|
|
3157
3165
|
}
|
|
3158
3166
|
|
|
3159
3167
|
function expInOut(t) {
|
|
3160
|
-
return ((t *= 2) <= 1 ?
|
|
3168
|
+
return ((t *= 2) <= 1 ? (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(1 - t) : 2 - (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.tpmt)(t - 1)) / 2;
|
|
3161
3169
|
}
|
|
3162
3170
|
|
|
3163
3171
|
|
|
@@ -3259,6 +3267,25 @@ function linear(t) {
|
|
|
3259
3267
|
}
|
|
3260
3268
|
|
|
3261
3269
|
|
|
3270
|
+
/***/ }),
|
|
3271
|
+
|
|
3272
|
+
/***/ "../../../node_modules/d3-ease/src/math.js":
|
|
3273
|
+
/*!*************************************************!*\
|
|
3274
|
+
!*** ../../../node_modules/d3-ease/src/math.js ***!
|
|
3275
|
+
\*************************************************/
|
|
3276
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3277
|
+
|
|
3278
|
+
"use strict";
|
|
3279
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3280
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3281
|
+
/* harmony export */ "tpmt": () => (/* binding */ tpmt)
|
|
3282
|
+
/* harmony export */ });
|
|
3283
|
+
// tpmt is two power minus ten times t scaled to [0,1]
|
|
3284
|
+
function tpmt(x) {
|
|
3285
|
+
return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
|
|
3262
3289
|
/***/ }),
|
|
3263
3290
|
|
|
3264
3291
|
/***/ "../../../node_modules/d3-ease/src/poly.js":
|
|
@@ -3360,7 +3387,7 @@ var pi = Math.PI,
|
|
|
3360
3387
|
halfPi = pi / 2;
|
|
3361
3388
|
|
|
3362
3389
|
function sinIn(t) {
|
|
3363
|
-
return 1 - Math.cos(t * halfPi);
|
|
3390
|
+
return (+t === 1) ? 1 : 1 - Math.cos(t * halfPi);
|
|
3364
3391
|
}
|
|
3365
3392
|
|
|
3366
3393
|
function sinOut(t) {
|
|
@@ -3403,7 +3430,7 @@ defaultLocale({
|
|
|
3403
3430
|
});
|
|
3404
3431
|
|
|
3405
3432
|
function defaultLocale(definition) {
|
|
3406
|
-
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3433
|
+
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
|
|
3407
3434
|
format = locale.format;
|
|
3408
3435
|
formatPrefix = locale.formatPrefix;
|
|
3409
3436
|
return locale;
|
|
@@ -3427,7 +3454,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3427
3454
|
|
|
3428
3455
|
|
|
3429
3456
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) {
|
|
3430
|
-
return x = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3457
|
+
return x = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(Math.abs(x)), x ? x[1] : NaN;
|
|
3431
3458
|
}
|
|
3432
3459
|
|
|
3433
3460
|
|
|
@@ -3442,12 +3469,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3442
3469
|
"use strict";
|
|
3443
3470
|
__webpack_require__.r(__webpack_exports__);
|
|
3444
3471
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3445
|
-
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
3472
|
+
/* harmony export */ "default": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__),
|
|
3473
|
+
/* harmony export */ "formatDecimalParts": () => (/* binding */ formatDecimalParts)
|
|
3446
3474
|
/* harmony export */ });
|
|
3475
|
+
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x) {
|
|
3476
|
+
return Math.abs(x = Math.round(x)) >= 1e21
|
|
3477
|
+
? x.toLocaleString("en").replace(/,/g, "")
|
|
3478
|
+
: x.toString(10);
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3447
3481
|
// Computes the decimal coefficient and exponent of the specified number x with
|
|
3448
3482
|
// significant digits p, where x is positive and p is in [1, 21] or undefined.
|
|
3449
|
-
// For example,
|
|
3450
|
-
|
|
3483
|
+
// For example, formatDecimalParts(1.23) returns ["123", 0].
|
|
3484
|
+
function formatDecimalParts(x, p) {
|
|
3451
3485
|
if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity
|
|
3452
3486
|
var i, coefficient = x.slice(0, i);
|
|
3453
3487
|
|
|
@@ -3535,7 +3569,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3535
3569
|
var prefixExponent;
|
|
3536
3570
|
|
|
3537
3571
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, p) {
|
|
3538
|
-
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3572
|
+
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, p);
|
|
3539
3573
|
if (!d) return x + "";
|
|
3540
3574
|
var coefficient = d[0],
|
|
3541
3575
|
exponent = d[1],
|
|
@@ -3544,7 +3578,7 @@ var prefixExponent;
|
|
|
3544
3578
|
return i === n ? coefficient
|
|
3545
3579
|
: i > n ? coefficient + new Array(i - n + 1).join("0")
|
|
3546
3580
|
: i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i)
|
|
3547
|
-
: "0." + new Array(1 - i).join("0") + (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3581
|
+
: "0." + new Array(1 - i).join("0") + (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, Math.max(0, p + i - 1))[0]; // less than 1y!
|
|
3548
3582
|
}
|
|
3549
3583
|
|
|
3550
3584
|
|
|
@@ -3565,7 +3599,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3565
3599
|
|
|
3566
3600
|
|
|
3567
3601
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(x, p) {
|
|
3568
|
-
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.
|
|
3602
|
+
var d = (0,_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__.formatDecimalParts)(x, p);
|
|
3569
3603
|
if (!d) return x + "";
|
|
3570
3604
|
var coefficient = d[0],
|
|
3571
3605
|
exponent = d[1];
|
|
@@ -3677,8 +3711,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3677
3711
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3678
3712
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3679
3713
|
/* harmony export */ });
|
|
3680
|
-
/* harmony import */ var
|
|
3681
|
-
/* harmony import */ var
|
|
3714
|
+
/* harmony import */ var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatDecimal.js */ "../../../node_modules/d3-format/src/formatDecimal.js");
|
|
3715
|
+
/* harmony import */ var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatPrefixAuto.js */ "../../../node_modules/d3-format/src/formatPrefixAuto.js");
|
|
3716
|
+
/* harmony import */ var _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatRounded.js */ "../../../node_modules/d3-format/src/formatRounded.js");
|
|
3717
|
+
|
|
3682
3718
|
|
|
3683
3719
|
|
|
3684
3720
|
|
|
@@ -3686,14 +3722,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3686
3722
|
"%": function(x, p) { return (x * 100).toFixed(p); },
|
|
3687
3723
|
"b": function(x) { return Math.round(x).toString(2); },
|
|
3688
3724
|
"c": function(x) { return x + ""; },
|
|
3689
|
-
"d":
|
|
3725
|
+
"d": _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
3690
3726
|
"e": function(x, p) { return x.toExponential(p); },
|
|
3691
3727
|
"f": function(x, p) { return x.toFixed(p); },
|
|
3692
3728
|
"g": function(x, p) { return x.toPrecision(p); },
|
|
3693
3729
|
"o": function(x) { return Math.round(x).toString(8); },
|
|
3694
|
-
"p": function(x, p) { return (0,
|
|
3695
|
-
"r":
|
|
3696
|
-
"s":
|
|
3730
|
+
"p": function(x, p) { return (0,_formatRounded_js__WEBPACK_IMPORTED_MODULE_1__["default"])(x * 100, p); },
|
|
3731
|
+
"r": _formatRounded_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
3732
|
+
"s": _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
3697
3733
|
"X": function(x) { return Math.round(x).toString(16).toUpperCase(); },
|
|
3698
3734
|
"x": function(x) { return Math.round(x).toString(16); }
|
|
3699
3735
|
});
|
|
@@ -3751,17 +3787,17 @@ var map = Array.prototype.map,
|
|
|
3751
3787
|
prefixes = ["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];
|
|
3752
3788
|
|
|
3753
3789
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(locale) {
|
|
3754
|
-
var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3790
|
+
var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"] : (0,_formatGroup_js__WEBPACK_IMPORTED_MODULE_1__["default"])(map.call(locale.grouping, Number), locale.thousands + ""),
|
|
3755
3791
|
currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
|
|
3756
3792
|
currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
|
|
3757
3793
|
decimal = locale.decimal === undefined ? "." : locale.decimal + "",
|
|
3758
|
-
numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3794
|
+
numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"] : (0,_formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(map.call(locale.numerals, String)),
|
|
3759
3795
|
percent = locale.percent === undefined ? "%" : locale.percent + "",
|
|
3760
3796
|
minus = locale.minus === undefined ? "-" : locale.minus + "",
|
|
3761
3797
|
nan = locale.nan === undefined ? "NaN" : locale.nan + "";
|
|
3762
3798
|
|
|
3763
3799
|
function newFormat(specifier) {
|
|
3764
|
-
specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__
|
|
3800
|
+
specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier);
|
|
3765
3801
|
|
|
3766
3802
|
var fill = specifier.fill,
|
|
3767
3803
|
align = specifier.align,
|
|
@@ -3778,7 +3814,7 @@ var map = Array.prototype.map,
|
|
|
3778
3814
|
if (type === "n") comma = true, type = "g";
|
|
3779
3815
|
|
|
3780
3816
|
// The "" type, and any invalid type, is an alias for ".12~g".
|
|
3781
|
-
else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_4__
|
|
3817
|
+
else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_4__["default"][type]) precision === undefined && (precision = 12), trim = true, type = "g";
|
|
3782
3818
|
|
|
3783
3819
|
// If zero fill is specified, padding goes after sign and before digits.
|
|
3784
3820
|
if (zero || (fill === "0" && align === "=")) zero = true, fill = "0", align = "=";
|
|
@@ -3791,7 +3827,7 @@ var map = Array.prototype.map,
|
|
|
3791
3827
|
// What format function should we use?
|
|
3792
3828
|
// Is this an integer type?
|
|
3793
3829
|
// Can this type generate exponential notation?
|
|
3794
|
-
var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_4__
|
|
3830
|
+
var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_4__["default"][type],
|
|
3795
3831
|
maybeSuffix = /[defgprs%]/.test(type);
|
|
3796
3832
|
|
|
3797
3833
|
// Set the default precision if not specified,
|
|
@@ -3820,7 +3856,7 @@ var map = Array.prototype.map,
|
|
|
3820
3856
|
value = isNaN(value) ? nan : formatType(Math.abs(value), precision);
|
|
3821
3857
|
|
|
3822
3858
|
// Trim insignificant zeros.
|
|
3823
|
-
if (trim) value = (0,_formatTrim_js__WEBPACK_IMPORTED_MODULE_5__
|
|
3859
|
+
if (trim) value = (0,_formatTrim_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value);
|
|
3824
3860
|
|
|
3825
3861
|
// If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.
|
|
3826
3862
|
if (valueNegative && +value === 0 && sign !== "+") valueNegative = false;
|
|
@@ -3872,8 +3908,8 @@ var map = Array.prototype.map,
|
|
|
3872
3908
|
}
|
|
3873
3909
|
|
|
3874
3910
|
function formatPrefix(specifier, value) {
|
|
3875
|
-
var f = newFormat((specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__
|
|
3876
|
-
e = Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_7__
|
|
3911
|
+
var f = newFormat((specifier = (0,_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier), specifier.type = "f", specifier)),
|
|
3912
|
+
e = Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_7__["default"])(value) / 3))) * 3,
|
|
3877
3913
|
k = Math.pow(10, -e),
|
|
3878
3914
|
prefix = prefixes[8 + e / 3];
|
|
3879
3915
|
return function(value) {
|
|
@@ -3905,7 +3941,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3905
3941
|
|
|
3906
3942
|
|
|
3907
3943
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step) {
|
|
3908
|
-
return Math.max(0, -(0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3944
|
+
return Math.max(0, -(0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
|
|
3909
3945
|
}
|
|
3910
3946
|
|
|
3911
3947
|
|
|
@@ -3926,7 +3962,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3926
3962
|
|
|
3927
3963
|
|
|
3928
3964
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step, value) {
|
|
3929
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3965
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor((0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3 - (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
|
|
3930
3966
|
}
|
|
3931
3967
|
|
|
3932
3968
|
|
|
@@ -3948,7 +3984,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3948
3984
|
|
|
3949
3985
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(step, max) {
|
|
3950
3986
|
step = Math.abs(step), max = Math.abs(max) - step;
|
|
3951
|
-
return Math.max(0, (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__
|
|
3987
|
+
return Math.max(0, (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(max) - (0,_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(step)) + 1;
|
|
3952
3988
|
}
|
|
3953
3989
|
|
|
3954
3990
|
|
|
@@ -3972,7 +4008,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3972
4008
|
|
|
3973
4009
|
|
|
3974
4010
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
3975
|
-
return ((0,_numberArray_js__WEBPACK_IMPORTED_MODULE_0__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4011
|
+
return ((0,_numberArray_js__WEBPACK_IMPORTED_MODULE_0__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_0__["default"] : genericArray)(a, b);
|
|
3976
4012
|
}
|
|
3977
4013
|
|
|
3978
4014
|
function genericArray(a, b) {
|
|
@@ -3982,7 +4018,7 @@ function genericArray(a, b) {
|
|
|
3982
4018
|
c = new Array(nb),
|
|
3983
4019
|
i;
|
|
3984
4020
|
|
|
3985
|
-
for (i = 0; i < na; ++i) x[i] = (0,_value_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4021
|
+
for (i = 0; i < na; ++i) x[i] = (0,_value_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a[i], b[i]);
|
|
3986
4022
|
for (; i < nb; ++i) c[i] = b[i];
|
|
3987
4023
|
|
|
3988
4024
|
return function(t) {
|
|
@@ -4088,18 +4124,18 @@ function exponential(a, b, y) {
|
|
|
4088
4124
|
|
|
4089
4125
|
function hue(a, b) {
|
|
4090
4126
|
var d = b - a;
|
|
4091
|
-
return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4127
|
+
return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
|
|
4092
4128
|
}
|
|
4093
4129
|
|
|
4094
4130
|
function gamma(y) {
|
|
4095
4131
|
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
4096
|
-
return b - a ? exponential(a, b, y) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4132
|
+
return b - a ? exponential(a, b, y) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
|
|
4097
4133
|
};
|
|
4098
4134
|
}
|
|
4099
4135
|
|
|
4100
4136
|
function nogamma(a, b) {
|
|
4101
4137
|
var d = b - a;
|
|
4102
|
-
return d ? linear(a, d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4138
|
+
return d ? linear(a, d) : (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
|
|
4103
4139
|
}
|
|
4104
4140
|
|
|
4105
4141
|
|
|
@@ -4147,10 +4183,10 @@ function cubehelix(hue) {
|
|
|
4147
4183
|
y = +y;
|
|
4148
4184
|
|
|
4149
4185
|
function cubehelix(start, end) {
|
|
4150
|
-
var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__
|
|
4151
|
-
s = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4152
|
-
l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4153
|
-
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4186
|
+
var h = hue((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__["default"])(start)).h, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_0__["default"])(end)).h),
|
|
4187
|
+
s = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s),
|
|
4188
|
+
l = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
|
|
4189
|
+
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
|
|
4154
4190
|
return function(t) {
|
|
4155
4191
|
start.h = h(t);
|
|
4156
4192
|
start.s = s(t);
|
|
@@ -4167,7 +4203,7 @@ function cubehelix(hue) {
|
|
|
4167
4203
|
}
|
|
4168
4204
|
|
|
4169
4205
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__.hue));
|
|
4170
|
-
var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4206
|
+
var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
4171
4207
|
|
|
4172
4208
|
|
|
4173
4209
|
/***/ }),
|
|
@@ -4267,7 +4303,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4267
4303
|
|
|
4268
4304
|
for (k in b) {
|
|
4269
4305
|
if (k in a) {
|
|
4270
|
-
i[k] = (0,_value_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4306
|
+
i[k] = (0,_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[k], b[k]);
|
|
4271
4307
|
} else {
|
|
4272
4308
|
c[k] = b[k];
|
|
4273
4309
|
}
|
|
@@ -4311,7 +4347,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4311
4347
|
var r = color((start = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(start)).r, (end = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__.rgb)(end)).r),
|
|
4312
4348
|
g = color(start.g, end.g),
|
|
4313
4349
|
b = color(start.b, end.b),
|
|
4314
|
-
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4350
|
+
opacity = (0,_color_js__WEBPACK_IMPORTED_MODULE_0__["default"])(start.opacity, end.opacity);
|
|
4315
4351
|
return function(t) {
|
|
4316
4352
|
start.r = r(t);
|
|
4317
4353
|
start.g = g(t);
|
|
@@ -4352,8 +4388,8 @@ function rgbSpline(spline) {
|
|
|
4352
4388
|
};
|
|
4353
4389
|
}
|
|
4354
4390
|
|
|
4355
|
-
var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_2__
|
|
4356
|
-
var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_3__
|
|
4391
|
+
var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_2__["default"]);
|
|
4392
|
+
var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_3__["default"]);
|
|
4357
4393
|
|
|
4358
4394
|
|
|
4359
4395
|
/***/ }),
|
|
@@ -4432,7 +4468,7 @@ function one(b) {
|
|
|
4432
4468
|
else s[++i] = bm;
|
|
4433
4469
|
} else { // interpolate non-matching numbers
|
|
4434
4470
|
s[++i] = null;
|
|
4435
|
-
q.push({i: i, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4471
|
+
q.push({i: i, x: (0,_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(am, bm)});
|
|
4436
4472
|
}
|
|
4437
4473
|
bi = reB.lastIndex;
|
|
4438
4474
|
}
|
|
@@ -4490,15 +4526,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4490
4526
|
|
|
4491
4527
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(a, b) {
|
|
4492
4528
|
var t = typeof b, c;
|
|
4493
|
-
return b == null || t === "boolean" ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__
|
|
4494
|
-
: (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4495
|
-
: t === "string" ? ((c = (0,d3_color__WEBPACK_IMPORTED_MODULE_2__
|
|
4496
|
-
: b instanceof d3_color__WEBPACK_IMPORTED_MODULE_2__
|
|
4497
|
-
: b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_5__
|
|
4498
|
-
: (0,_numberArray_js__WEBPACK_IMPORTED_MODULE_6__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_6__
|
|
4529
|
+
return b == null || t === "boolean" ? (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(b)
|
|
4530
|
+
: (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
4531
|
+
: t === "string" ? ((c = (0,d3_color__WEBPACK_IMPORTED_MODULE_2__["default"])(b)) ? (b = c, _rgb_js__WEBPACK_IMPORTED_MODULE_3__["default"]) : _string_js__WEBPACK_IMPORTED_MODULE_4__["default"])
|
|
4532
|
+
: b instanceof d3_color__WEBPACK_IMPORTED_MODULE_2__["default"] ? _rgb_js__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
4533
|
+
: b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_5__["default"]
|
|
4534
|
+
: (0,_numberArray_js__WEBPACK_IMPORTED_MODULE_6__.isNumberArray)(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_6__["default"]
|
|
4499
4535
|
: Array.isArray(b) ? _array_js__WEBPACK_IMPORTED_MODULE_7__.genericArray
|
|
4500
|
-
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_8__
|
|
4501
|
-
: _number_js__WEBPACK_IMPORTED_MODULE_1__
|
|
4536
|
+
: typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_8__["default"]
|
|
4537
|
+
: _number_js__WEBPACK_IMPORTED_MODULE_1__["default"])(a, b);
|
|
4502
4538
|
}
|
|
4503
4539
|
|
|
4504
4540
|
|
|
@@ -4513,33 +4549,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4513
4549
|
"use strict";
|
|
4514
4550
|
__webpack_require__.r(__webpack_exports__);
|
|
4515
4551
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4516
|
-
/* harmony export */ "scaleBand": () => (/* reexport safe */ _src_band__WEBPACK_IMPORTED_MODULE_0__
|
|
4552
|
+
/* harmony export */ "scaleBand": () => (/* reexport safe */ _src_band__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
4517
4553
|
/* harmony export */ "scalePoint": () => (/* reexport safe */ _src_band__WEBPACK_IMPORTED_MODULE_0__.point),
|
|
4518
|
-
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _src_identity__WEBPACK_IMPORTED_MODULE_1__
|
|
4519
|
-
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _src_linear__WEBPACK_IMPORTED_MODULE_2__
|
|
4520
|
-
/* harmony export */ "scaleLog": () => (/* reexport safe */ _src_log__WEBPACK_IMPORTED_MODULE_3__
|
|
4521
|
-
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _src_ordinal__WEBPACK_IMPORTED_MODULE_4__
|
|
4554
|
+
/* harmony export */ "scaleIdentity": () => (/* reexport safe */ _src_identity__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
4555
|
+
/* harmony export */ "scaleLinear": () => (/* reexport safe */ _src_linear__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
4556
|
+
/* harmony export */ "scaleLog": () => (/* reexport safe */ _src_log__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
4557
|
+
/* harmony export */ "scaleOrdinal": () => (/* reexport safe */ _src_ordinal__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
4522
4558
|
/* harmony export */ "scaleImplicit": () => (/* reexport safe */ _src_ordinal__WEBPACK_IMPORTED_MODULE_4__.implicit),
|
|
4523
|
-
/* harmony export */ "scalePow": () => (/* reexport safe */ _src_pow__WEBPACK_IMPORTED_MODULE_5__
|
|
4559
|
+
/* harmony export */ "scalePow": () => (/* reexport safe */ _src_pow__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
4524
4560
|
/* harmony export */ "scaleSqrt": () => (/* reexport safe */ _src_pow__WEBPACK_IMPORTED_MODULE_5__.sqrt),
|
|
4525
|
-
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _src_quantile__WEBPACK_IMPORTED_MODULE_6__
|
|
4526
|
-
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _src_quantize__WEBPACK_IMPORTED_MODULE_7__
|
|
4527
|
-
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _src_threshold__WEBPACK_IMPORTED_MODULE_8__
|
|
4528
|
-
/* harmony export */ "scaleTime": () => (/* reexport safe */ _src_time__WEBPACK_IMPORTED_MODULE_9__
|
|
4529
|
-
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _src_utcTime__WEBPACK_IMPORTED_MODULE_10__
|
|
4530
|
-
/* harmony export */ "schemeCategory10": () => (/* reexport safe */ _src_category10__WEBPACK_IMPORTED_MODULE_11__
|
|
4531
|
-
/* harmony export */ "schemeCategory20b": () => (/* reexport safe */ _src_category20b__WEBPACK_IMPORTED_MODULE_12__
|
|
4532
|
-
/* harmony export */ "schemeCategory20c": () => (/* reexport safe */ _src_category20c__WEBPACK_IMPORTED_MODULE_13__
|
|
4533
|
-
/* harmony export */ "schemeCategory20": () => (/* reexport safe */ _src_category20__WEBPACK_IMPORTED_MODULE_14__
|
|
4534
|
-
/* harmony export */ "interpolateCubehelixDefault": () => (/* reexport safe */ _src_cubehelix__WEBPACK_IMPORTED_MODULE_15__
|
|
4535
|
-
/* harmony export */ "interpolateRainbow": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__
|
|
4561
|
+
/* harmony export */ "scaleQuantile": () => (/* reexport safe */ _src_quantile__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
4562
|
+
/* harmony export */ "scaleQuantize": () => (/* reexport safe */ _src_quantize__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
4563
|
+
/* harmony export */ "scaleThreshold": () => (/* reexport safe */ _src_threshold__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
4564
|
+
/* harmony export */ "scaleTime": () => (/* reexport safe */ _src_time__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
4565
|
+
/* harmony export */ "scaleUtc": () => (/* reexport safe */ _src_utcTime__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
4566
|
+
/* harmony export */ "schemeCategory10": () => (/* reexport safe */ _src_category10__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
4567
|
+
/* harmony export */ "schemeCategory20b": () => (/* reexport safe */ _src_category20b__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
4568
|
+
/* harmony export */ "schemeCategory20c": () => (/* reexport safe */ _src_category20c__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
4569
|
+
/* harmony export */ "schemeCategory20": () => (/* reexport safe */ _src_category20__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
4570
|
+
/* harmony export */ "interpolateCubehelixDefault": () => (/* reexport safe */ _src_cubehelix__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
4571
|
+
/* harmony export */ "interpolateRainbow": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
4536
4572
|
/* harmony export */ "interpolateWarm": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.warm),
|
|
4537
4573
|
/* harmony export */ "interpolateCool": () => (/* reexport safe */ _src_rainbow__WEBPACK_IMPORTED_MODULE_16__.cool),
|
|
4538
|
-
/* harmony export */ "interpolateViridis": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__
|
|
4574
|
+
/* harmony export */ "interpolateViridis": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
4539
4575
|
/* harmony export */ "interpolateMagma": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__.magma),
|
|
4540
4576
|
/* harmony export */ "interpolateInferno": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__.inferno),
|
|
4541
4577
|
/* harmony export */ "interpolatePlasma": () => (/* reexport safe */ _src_viridis__WEBPACK_IMPORTED_MODULE_17__.plasma),
|
|
4542
|
-
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _src_sequential__WEBPACK_IMPORTED_MODULE_18__
|
|
4578
|
+
/* harmony export */ "scaleSequential": () => (/* reexport safe */ _src_sequential__WEBPACK_IMPORTED_MODULE_18__["default"])
|
|
4543
4579
|
/* harmony export */ });
|
|
4544
4580
|
/* harmony import */ var _src_band__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/band */ "../../../node_modules/d3-scale/src/band.js");
|
|
4545
4581
|
/* harmony import */ var _src_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/identity */ "../../../node_modules/d3-scale/src/identity.js");
|
|
@@ -4639,7 +4675,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4639
4675
|
|
|
4640
4676
|
|
|
4641
4677
|
function band() {
|
|
4642
|
-
var scale = (0,_ordinal__WEBPACK_IMPORTED_MODULE_1__
|
|
4678
|
+
var scale = (0,_ordinal__WEBPACK_IMPORTED_MODULE_1__["default"])().unknown(undefined),
|
|
4643
4679
|
domain = scale.domain,
|
|
4644
4680
|
ordinalRange = scale.range,
|
|
4645
4681
|
range = [0, 1],
|
|
@@ -4754,7 +4790,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4754
4790
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4755
4791
|
|
|
4756
4792
|
|
|
4757
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4793
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"));
|
|
4758
4794
|
|
|
4759
4795
|
|
|
4760
4796
|
/***/ }),
|
|
@@ -4773,7 +4809,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4773
4809
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4774
4810
|
|
|
4775
4811
|
|
|
4776
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4812
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"));
|
|
4777
4813
|
|
|
4778
4814
|
|
|
4779
4815
|
/***/ }),
|
|
@@ -4792,7 +4828,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4792
4828
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4793
4829
|
|
|
4794
4830
|
|
|
4795
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4831
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"));
|
|
4796
4832
|
|
|
4797
4833
|
|
|
4798
4834
|
/***/ }),
|
|
@@ -4811,7 +4847,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4811
4847
|
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./colors */ "../../../node_modules/d3-scale/src/colors.js");
|
|
4812
4848
|
|
|
4813
4849
|
|
|
4814
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
4850
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"));
|
|
4815
4851
|
|
|
4816
4852
|
|
|
4817
4853
|
/***/ }),
|
|
@@ -4886,7 +4922,7 @@ var unit = [0, 1];
|
|
|
4886
4922
|
function deinterpolateLinear(a, b) {
|
|
4887
4923
|
return (b -= (a = +a))
|
|
4888
4924
|
? function(x) { return (x - a) / b; }
|
|
4889
|
-
: (0,_constant__WEBPACK_IMPORTED_MODULE_2__
|
|
4925
|
+
: (0,_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(b);
|
|
4890
4926
|
}
|
|
4891
4927
|
|
|
4892
4928
|
function deinterpolateClamp(deinterpolate) {
|
|
@@ -4946,7 +4982,7 @@ function copy(source, target) {
|
|
|
4946
4982
|
function continuous(deinterpolate, reinterpolate) {
|
|
4947
4983
|
var domain = unit,
|
|
4948
4984
|
range = unit,
|
|
4949
|
-
interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_4__
|
|
4985
|
+
interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_4__["default"],
|
|
4950
4986
|
clamp = false,
|
|
4951
4987
|
piecewise,
|
|
4952
4988
|
output,
|
|
@@ -4967,7 +5003,7 @@ function continuous(deinterpolate, reinterpolate) {
|
|
|
4967
5003
|
};
|
|
4968
5004
|
|
|
4969
5005
|
scale.domain = function(_) {
|
|
4970
|
-
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_1__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_3__
|
|
5006
|
+
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_1__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_3__["default"]), rescale()) : domain.slice();
|
|
4971
5007
|
};
|
|
4972
5008
|
|
|
4973
5009
|
scale.range = function(_) {
|
|
@@ -4975,7 +5011,7 @@ function continuous(deinterpolate, reinterpolate) {
|
|
|
4975
5011
|
};
|
|
4976
5012
|
|
|
4977
5013
|
scale.rangeRound = function(_) {
|
|
4978
|
-
return range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_5__
|
|
5014
|
+
return range = _array__WEBPACK_IMPORTED_MODULE_1__.slice.call(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_5__["default"], rescale();
|
|
4979
5015
|
};
|
|
4980
5016
|
|
|
4981
5017
|
scale.clamp = function(_) {
|
|
@@ -5008,7 +5044,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5008
5044
|
|
|
5009
5045
|
|
|
5010
5046
|
|
|
5011
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5047
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(300, 0.5, 0.0), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(-240, 0.5, 1.0)));
|
|
5012
5048
|
|
|
5013
5049
|
|
|
5014
5050
|
/***/ }),
|
|
@@ -5041,7 +5077,7 @@ function identity() {
|
|
|
5041
5077
|
scale.invert = scale;
|
|
5042
5078
|
|
|
5043
5079
|
scale.domain = scale.range = function(_) {
|
|
5044
|
-
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_2__
|
|
5080
|
+
return arguments.length ? (domain = _array__WEBPACK_IMPORTED_MODULE_0__.map.call(_, _number__WEBPACK_IMPORTED_MODULE_2__["default"]), scale) : domain.slice();
|
|
5045
5081
|
};
|
|
5046
5082
|
|
|
5047
5083
|
scale.copy = function() {
|
|
@@ -5084,7 +5120,7 @@ function linearish(scale) {
|
|
|
5084
5120
|
};
|
|
5085
5121
|
|
|
5086
5122
|
scale.tickFormat = function(count, specifier) {
|
|
5087
|
-
return (0,_tickFormat__WEBPACK_IMPORTED_MODULE_2__
|
|
5123
|
+
return (0,_tickFormat__WEBPACK_IMPORTED_MODULE_2__["default"])(domain(), count, specifier);
|
|
5088
5124
|
};
|
|
5089
5125
|
|
|
5090
5126
|
scale.nice = function(count) {
|
|
@@ -5131,7 +5167,7 @@ function linearish(scale) {
|
|
|
5131
5167
|
}
|
|
5132
5168
|
|
|
5133
5169
|
function linear() {
|
|
5134
|
-
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_1__
|
|
5170
|
+
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_1__["default"])(_continuous__WEBPACK_IMPORTED_MODULE_1__.deinterpolateLinear, d3_interpolate__WEBPACK_IMPORTED_MODULE_3__["default"]);
|
|
5135
5171
|
|
|
5136
5172
|
scale.copy = function() {
|
|
5137
5173
|
return (0,_continuous__WEBPACK_IMPORTED_MODULE_1__.copy)(scale, linear());
|
|
@@ -5168,7 +5204,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5168
5204
|
function deinterpolate(a, b) {
|
|
5169
5205
|
return (b = Math.log(b / a))
|
|
5170
5206
|
? function(x) { return Math.log(x / a) / b; }
|
|
5171
|
-
: (0,_constant__WEBPACK_IMPORTED_MODULE_1__
|
|
5207
|
+
: (0,_constant__WEBPACK_IMPORTED_MODULE_1__["default"])(b);
|
|
5172
5208
|
}
|
|
5173
5209
|
|
|
5174
5210
|
function reinterpolate(a, b) {
|
|
@@ -5201,7 +5237,7 @@ function reflect(f) {
|
|
|
5201
5237
|
}
|
|
5202
5238
|
|
|
5203
5239
|
function log() {
|
|
5204
|
-
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_3__
|
|
5240
|
+
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_3__["default"])(deinterpolate, reinterpolate).domain([1, 10]),
|
|
5205
5241
|
domain = scale.domain,
|
|
5206
5242
|
base = 10,
|
|
5207
5243
|
logs = logp(10),
|
|
@@ -5275,7 +5311,7 @@ function log() {
|
|
|
5275
5311
|
};
|
|
5276
5312
|
|
|
5277
5313
|
scale.nice = function() {
|
|
5278
|
-
return domain((0,_nice__WEBPACK_IMPORTED_MODULE_2__
|
|
5314
|
+
return domain((0,_nice__WEBPACK_IMPORTED_MODULE_2__["default"])(domain(), {
|
|
5279
5315
|
floor: function(x) { return pows(Math.floor(logs(x))); },
|
|
5280
5316
|
ceil: function(x) { return pows(Math.ceil(logs(x))); }
|
|
5281
5317
|
}));
|
|
@@ -5431,13 +5467,13 @@ function raise(x, exponent) {
|
|
|
5431
5467
|
|
|
5432
5468
|
function pow() {
|
|
5433
5469
|
var exponent = 1,
|
|
5434
|
-
scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__
|
|
5470
|
+
scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__["default"])(deinterpolate, reinterpolate),
|
|
5435
5471
|
domain = scale.domain;
|
|
5436
5472
|
|
|
5437
5473
|
function deinterpolate(a, b) {
|
|
5438
5474
|
return (b = raise(b, exponent) - (a = raise(a, exponent)))
|
|
5439
5475
|
? function(x) { return (raise(x, exponent) - a) / b; }
|
|
5440
|
-
: (0,_constant__WEBPACK_IMPORTED_MODULE_0__
|
|
5476
|
+
: (0,_constant__WEBPACK_IMPORTED_MODULE_0__["default"])(b);
|
|
5441
5477
|
}
|
|
5442
5478
|
|
|
5443
5479
|
function reinterpolate(a, b) {
|
|
@@ -5613,11 +5649,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5613
5649
|
|
|
5614
5650
|
|
|
5615
5651
|
|
|
5616
|
-
var warm = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5652
|
+
var warm = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(-100, 0.75, 0.35), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(80, 1.50, 0.8));
|
|
5617
5653
|
|
|
5618
|
-
var cool = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5654
|
+
var cool = (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_0__.cubehelixLong)((0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(260, 0.75, 0.35), (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])(80, 1.50, 0.8));
|
|
5619
5655
|
|
|
5620
|
-
var rainbow = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__
|
|
5656
|
+
var rainbow = (0,d3_color__WEBPACK_IMPORTED_MODULE_1__["default"])();
|
|
5621
5657
|
|
|
5622
5658
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(t) {
|
|
5623
5659
|
if (t < 0 || t > 1) t -= Math.floor(t);
|
|
@@ -5752,11 +5788,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5752
5788
|
stop = domain[domain.length - 1],
|
|
5753
5789
|
step = (0,d3_array__WEBPACK_IMPORTED_MODULE_0__.tickStep)(start, stop, count == null ? 10 : count),
|
|
5754
5790
|
precision;
|
|
5755
|
-
specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_1__
|
|
5791
|
+
specifier = (0,d3_format__WEBPACK_IMPORTED_MODULE_1__["default"])(specifier == null ? ",f" : specifier);
|
|
5756
5792
|
switch (specifier.type) {
|
|
5757
5793
|
case "s": {
|
|
5758
5794
|
var value = Math.max(Math.abs(start), Math.abs(stop));
|
|
5759
|
-
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_2__
|
|
5795
|
+
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_2__["default"])(step, value))) specifier.precision = precision;
|
|
5760
5796
|
return (0,d3_format__WEBPACK_IMPORTED_MODULE_3__.formatPrefix)(specifier, value);
|
|
5761
5797
|
}
|
|
5762
5798
|
case "":
|
|
@@ -5764,12 +5800,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5764
5800
|
case "g":
|
|
5765
5801
|
case "p":
|
|
5766
5802
|
case "r": {
|
|
5767
|
-
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_4__
|
|
5803
|
+
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_4__["default"])(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
|
|
5768
5804
|
break;
|
|
5769
5805
|
}
|
|
5770
5806
|
case "f":
|
|
5771
5807
|
case "%": {
|
|
5772
|
-
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_5__
|
|
5808
|
+
if (specifier.precision == null && !isNaN(precision = (0,d3_format__WEBPACK_IMPORTED_MODULE_5__["default"])(step))) specifier.precision = precision - (specifier.type === "%") * 2;
|
|
5773
5809
|
break;
|
|
5774
5810
|
}
|
|
5775
5811
|
}
|
|
@@ -5830,7 +5866,7 @@ function number(t) {
|
|
|
5830
5866
|
}
|
|
5831
5867
|
|
|
5832
5868
|
function calendar(year, month, week, day, hour, minute, second, millisecond, format) {
|
|
5833
|
-
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__
|
|
5869
|
+
var scale = (0,_continuous__WEBPACK_IMPORTED_MODULE_2__["default"])(_continuous__WEBPACK_IMPORTED_MODULE_2__.deinterpolateLinear, d3_interpolate__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
5834
5870
|
invert = scale.invert,
|
|
5835
5871
|
domain = scale.domain;
|
|
5836
5872
|
|
|
@@ -5926,7 +5962,7 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
5926
5962
|
scale.nice = function(interval, step) {
|
|
5927
5963
|
var d = domain();
|
|
5928
5964
|
return (interval = tickInterval(interval, d[0], d[d.length - 1], step))
|
|
5929
|
-
? domain((0,_nice__WEBPACK_IMPORTED_MODULE_3__
|
|
5965
|
+
? domain((0,_nice__WEBPACK_IMPORTED_MODULE_3__["default"])(d, interval))
|
|
5930
5966
|
: scale;
|
|
5931
5967
|
};
|
|
5932
5968
|
|
|
@@ -5938,7 +5974,7 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
|
|
|
5938
5974
|
}
|
|
5939
5975
|
|
|
5940
5976
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
5941
|
-
return calendar(d3_time__WEBPACK_IMPORTED_MODULE_5__
|
|
5977
|
+
return calendar(d3_time__WEBPACK_IMPORTED_MODULE_5__["default"], d3_time__WEBPACK_IMPORTED_MODULE_6__["default"], d3_time__WEBPACK_IMPORTED_MODULE_7__.sunday, d3_time__WEBPACK_IMPORTED_MODULE_8__["default"], d3_time__WEBPACK_IMPORTED_MODULE_9__["default"], d3_time__WEBPACK_IMPORTED_MODULE_10__["default"], d3_time__WEBPACK_IMPORTED_MODULE_11__["default"], d3_time__WEBPACK_IMPORTED_MODULE_12__["default"], d3_time_format__WEBPACK_IMPORTED_MODULE_13__.timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]);
|
|
5942
5978
|
}
|
|
5943
5979
|
|
|
5944
5980
|
|
|
@@ -5970,7 +6006,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5970
6006
|
|
|
5971
6007
|
|
|
5972
6008
|
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {
|
|
5973
|
-
return (0,_time__WEBPACK_IMPORTED_MODULE_0__.calendar)(d3_time__WEBPACK_IMPORTED_MODULE_1__
|
|
6009
|
+
return (0,_time__WEBPACK_IMPORTED_MODULE_0__.calendar)(d3_time__WEBPACK_IMPORTED_MODULE_1__["default"], d3_time__WEBPACK_IMPORTED_MODULE_2__["default"], d3_time__WEBPACK_IMPORTED_MODULE_3__.utcSunday, d3_time__WEBPACK_IMPORTED_MODULE_4__["default"], d3_time__WEBPACK_IMPORTED_MODULE_5__["default"], d3_time__WEBPACK_IMPORTED_MODULE_6__["default"], d3_time__WEBPACK_IMPORTED_MODULE_7__["default"], d3_time__WEBPACK_IMPORTED_MODULE_8__["default"], d3_time_format__WEBPACK_IMPORTED_MODULE_9__.utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]);
|
|
5974
6010
|
}
|
|
5975
6011
|
|
|
5976
6012
|
|
|
@@ -6000,13 +6036,13 @@ function ramp(range) {
|
|
|
6000
6036
|
};
|
|
6001
6037
|
}
|
|
6002
6038
|
|
|
6003
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
6039
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")));
|
|
6004
6040
|
|
|
6005
|
-
var magma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
6041
|
+
var magma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));
|
|
6006
6042
|
|
|
6007
|
-
var inferno = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
6043
|
+
var inferno = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));
|
|
6008
6044
|
|
|
6009
|
-
var plasma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__
|
|
6045
|
+
var plasma = ramp((0,_colors__WEBPACK_IMPORTED_MODULE_0__["default"])("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
|
|
6010
6046
|
|
|
6011
6047
|
|
|
6012
6048
|
/***/ }),
|
|
@@ -6047,7 +6083,7 @@ defaultLocale({
|
|
|
6047
6083
|
});
|
|
6048
6084
|
|
|
6049
6085
|
function defaultLocale(definition) {
|
|
6050
|
-
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6086
|
+
locale = (0,_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
|
|
6051
6087
|
timeFormat = locale.format;
|
|
6052
6088
|
timeParse = locale.parse;
|
|
6053
6089
|
utcFormat = locale.utcFormat;
|
|
@@ -6129,6 +6165,8 @@ function formatLocale(locale) {
|
|
|
6129
6165
|
"d": formatDayOfMonth,
|
|
6130
6166
|
"e": formatDayOfMonth,
|
|
6131
6167
|
"f": formatMicroseconds,
|
|
6168
|
+
"g": formatYearISO,
|
|
6169
|
+
"G": formatFullYearISO,
|
|
6132
6170
|
"H": formatHour24,
|
|
6133
6171
|
"I": formatHour12,
|
|
6134
6172
|
"j": formatDayOfYear,
|
|
@@ -6162,6 +6200,8 @@ function formatLocale(locale) {
|
|
|
6162
6200
|
"d": formatUTCDayOfMonth,
|
|
6163
6201
|
"e": formatUTCDayOfMonth,
|
|
6164
6202
|
"f": formatUTCMicroseconds,
|
|
6203
|
+
"g": formatUTCYearISO,
|
|
6204
|
+
"G": formatUTCFullYearISO,
|
|
6165
6205
|
"H": formatUTCHour24,
|
|
6166
6206
|
"I": formatUTCHour12,
|
|
6167
6207
|
"j": formatUTCDayOfYear,
|
|
@@ -6195,6 +6235,8 @@ function formatLocale(locale) {
|
|
|
6195
6235
|
"d": parseDayOfMonth,
|
|
6196
6236
|
"e": parseDayOfMonth,
|
|
6197
6237
|
"f": parseMicroseconds,
|
|
6238
|
+
"g": parseYear,
|
|
6239
|
+
"G": parseFullYear,
|
|
6198
6240
|
"H": parseHour24,
|
|
6199
6241
|
"I": parseHour24,
|
|
6200
6242
|
"j": parseDayOfYear,
|
|
@@ -6282,14 +6324,14 @@ function formatLocale(locale) {
|
|
|
6282
6324
|
if ("Z" in d) {
|
|
6283
6325
|
week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
|
|
6284
6326
|
week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.ceil(week) : (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday)(week);
|
|
6285
|
-
week = d3_time__WEBPACK_IMPORTED_MODULE_1__
|
|
6327
|
+
week = d3_time__WEBPACK_IMPORTED_MODULE_1__["default"].offset(week, (d.V - 1) * 7);
|
|
6286
6328
|
d.y = week.getUTCFullYear();
|
|
6287
6329
|
d.m = week.getUTCMonth();
|
|
6288
6330
|
d.d = week.getUTCDate() + (d.w + 6) % 7;
|
|
6289
6331
|
} else {
|
|
6290
6332
|
week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
|
|
6291
6333
|
week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_2__.monday.ceil(week) : (0,d3_time__WEBPACK_IMPORTED_MODULE_2__.monday)(week);
|
|
6292
|
-
week = d3_time__WEBPACK_IMPORTED_MODULE_3__
|
|
6334
|
+
week = d3_time__WEBPACK_IMPORTED_MODULE_3__["default"].offset(week, (d.V - 1) * 7);
|
|
6293
6335
|
d.y = week.getFullYear();
|
|
6294
6336
|
d.m = week.getMonth();
|
|
6295
6337
|
d.d = week.getDate() + (d.w + 6) % 7;
|
|
@@ -6584,7 +6626,7 @@ function formatHour12(d, p) {
|
|
|
6584
6626
|
}
|
|
6585
6627
|
|
|
6586
6628
|
function formatDayOfYear(d, p) {
|
|
6587
|
-
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_3__
|
|
6629
|
+
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_3__["default"].count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d), d), p, 3);
|
|
6588
6630
|
}
|
|
6589
6631
|
|
|
6590
6632
|
function formatMilliseconds(d, p) {
|
|
@@ -6613,13 +6655,17 @@ function formatWeekdayNumberMonday(d) {
|
|
|
6613
6655
|
}
|
|
6614
6656
|
|
|
6615
6657
|
function formatWeekNumberSunday(d, p) {
|
|
6616
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.sunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__
|
|
6658
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.sunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d) - 1, d), p, 2);
|
|
6617
6659
|
}
|
|
6618
6660
|
|
|
6619
|
-
function
|
|
6661
|
+
function dISO(d) {
|
|
6620
6662
|
var day = d.getDay();
|
|
6621
|
-
|
|
6622
|
-
|
|
6663
|
+
return (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday.ceil(d);
|
|
6664
|
+
}
|
|
6665
|
+
|
|
6666
|
+
function formatWeekNumberISO(d, p) {
|
|
6667
|
+
d = dISO(d);
|
|
6668
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d), d) + ((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d).getDay() === 4), p, 2);
|
|
6623
6669
|
}
|
|
6624
6670
|
|
|
6625
6671
|
function formatWeekdayNumberSunday(d) {
|
|
@@ -6627,17 +6673,28 @@ function formatWeekdayNumberSunday(d) {
|
|
|
6627
6673
|
}
|
|
6628
6674
|
|
|
6629
6675
|
function formatWeekNumberMonday(d, p) {
|
|
6630
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.monday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__
|
|
6676
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_2__.monday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_4__["default"])(d) - 1, d), p, 2);
|
|
6631
6677
|
}
|
|
6632
6678
|
|
|
6633
6679
|
function formatYear(d, p) {
|
|
6634
6680
|
return pad(d.getFullYear() % 100, p, 2);
|
|
6635
6681
|
}
|
|
6636
6682
|
|
|
6683
|
+
function formatYearISO(d, p) {
|
|
6684
|
+
d = dISO(d);
|
|
6685
|
+
return pad(d.getFullYear() % 100, p, 2);
|
|
6686
|
+
}
|
|
6687
|
+
|
|
6637
6688
|
function formatFullYear(d, p) {
|
|
6638
6689
|
return pad(d.getFullYear() % 10000, p, 4);
|
|
6639
6690
|
}
|
|
6640
6691
|
|
|
6692
|
+
function formatFullYearISO(d, p) {
|
|
6693
|
+
var day = d.getDay();
|
|
6694
|
+
d = (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_2__.thursday.ceil(d);
|
|
6695
|
+
return pad(d.getFullYear() % 10000, p, 4);
|
|
6696
|
+
}
|
|
6697
|
+
|
|
6641
6698
|
function formatZone(d) {
|
|
6642
6699
|
var z = d.getTimezoneOffset();
|
|
6643
6700
|
return (z > 0 ? "-" : (z *= -1, "+"))
|
|
@@ -6658,7 +6715,7 @@ function formatUTCHour12(d, p) {
|
|
|
6658
6715
|
}
|
|
6659
6716
|
|
|
6660
6717
|
function formatUTCDayOfYear(d, p) {
|
|
6661
|
-
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_1__
|
|
6718
|
+
return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_1__["default"].count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d), d), p, 3);
|
|
6662
6719
|
}
|
|
6663
6720
|
|
|
6664
6721
|
function formatUTCMilliseconds(d, p) {
|
|
@@ -6687,13 +6744,17 @@ function formatUTCWeekdayNumberMonday(d) {
|
|
|
6687
6744
|
}
|
|
6688
6745
|
|
|
6689
6746
|
function formatUTCWeekNumberSunday(d, p) {
|
|
6690
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcSunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__
|
|
6747
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcSunday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d) - 1, d), p, 2);
|
|
6691
6748
|
}
|
|
6692
6749
|
|
|
6693
|
-
function
|
|
6750
|
+
function UTCdISO(d) {
|
|
6694
6751
|
var day = d.getUTCDay();
|
|
6695
|
-
|
|
6696
|
-
|
|
6752
|
+
return (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d);
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
function formatUTCWeekNumberISO(d, p) {
|
|
6756
|
+
d = UTCdISO(d);
|
|
6757
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d), d) + ((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d).getUTCDay() === 4), p, 2);
|
|
6697
6758
|
}
|
|
6698
6759
|
|
|
6699
6760
|
function formatUTCWeekdayNumberSunday(d) {
|
|
@@ -6701,17 +6762,28 @@ function formatUTCWeekdayNumberSunday(d) {
|
|
|
6701
6762
|
}
|
|
6702
6763
|
|
|
6703
6764
|
function formatUTCWeekNumberMonday(d, p) {
|
|
6704
|
-
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__
|
|
6765
|
+
return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__.utcMonday.count((0,d3_time__WEBPACK_IMPORTED_MODULE_5__["default"])(d) - 1, d), p, 2);
|
|
6705
6766
|
}
|
|
6706
6767
|
|
|
6707
6768
|
function formatUTCYear(d, p) {
|
|
6708
6769
|
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
6709
6770
|
}
|
|
6710
6771
|
|
|
6772
|
+
function formatUTCYearISO(d, p) {
|
|
6773
|
+
d = UTCdISO(d);
|
|
6774
|
+
return pad(d.getUTCFullYear() % 100, p, 2);
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6711
6777
|
function formatUTCFullYear(d, p) {
|
|
6712
6778
|
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
6713
6779
|
}
|
|
6714
6780
|
|
|
6781
|
+
function formatUTCFullYearISO(d, p) {
|
|
6782
|
+
var day = d.getUTCDay();
|
|
6783
|
+
d = (day >= 4 || day === 0) ? (0,d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday)(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__.utcThursday.ceil(d);
|
|
6784
|
+
return pad(d.getUTCFullYear() % 10000, p, 4);
|
|
6785
|
+
}
|
|
6786
|
+
|
|
6715
6787
|
function formatUTCZone() {
|
|
6716
6788
|
return "+0000";
|
|
6717
6789
|
}
|
|
@@ -6748,7 +6820,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6748
6820
|
|
|
6749
6821
|
|
|
6750
6822
|
|
|
6751
|
-
var day = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6823
|
+
var day = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6752
6824
|
date.setHours(0, 0, 0, 0);
|
|
6753
6825
|
}, function(date, step) {
|
|
6754
6826
|
date.setDate(date.getDate() + step);
|
|
@@ -6805,7 +6877,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6805
6877
|
|
|
6806
6878
|
|
|
6807
6879
|
|
|
6808
|
-
var hour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6880
|
+
var hour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6809
6881
|
date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute);
|
|
6810
6882
|
}, function(date, step) {
|
|
6811
6883
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour);
|
|
@@ -6921,7 +6993,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6921
6993
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
6922
6994
|
|
|
6923
6995
|
|
|
6924
|
-
var millisecond = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
6996
|
+
var millisecond = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function() {
|
|
6925
6997
|
// noop
|
|
6926
6998
|
}, function(date, step) {
|
|
6927
6999
|
date.setTime(+date + step);
|
|
@@ -6934,7 +7006,7 @@ millisecond.every = function(k) {
|
|
|
6934
7006
|
k = Math.floor(k);
|
|
6935
7007
|
if (!isFinite(k) || !(k > 0)) return null;
|
|
6936
7008
|
if (!(k > 1)) return millisecond;
|
|
6937
|
-
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7009
|
+
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6938
7010
|
date.setTime(Math.floor(date / k) * k);
|
|
6939
7011
|
}, function(date, step) {
|
|
6940
7012
|
date.setTime(+date + step * k);
|
|
@@ -6966,7 +7038,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6966
7038
|
|
|
6967
7039
|
|
|
6968
7040
|
|
|
6969
|
-
var minute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7041
|
+
var minute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
6970
7042
|
date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond);
|
|
6971
7043
|
}, function(date, step) {
|
|
6972
7044
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute);
|
|
@@ -6997,7 +7069,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6997
7069
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
6998
7070
|
|
|
6999
7071
|
|
|
7000
|
-
var month = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7072
|
+
var month = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7001
7073
|
date.setDate(1);
|
|
7002
7074
|
date.setHours(0, 0, 0, 0);
|
|
7003
7075
|
}, function(date, step) {
|
|
@@ -7031,7 +7103,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7031
7103
|
|
|
7032
7104
|
|
|
7033
7105
|
|
|
7034
|
-
var second = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7106
|
+
var second = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7035
7107
|
date.setTime(date - date.getMilliseconds());
|
|
7036
7108
|
}, function(date, step) {
|
|
7037
7109
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationSecond);
|
|
@@ -7064,7 +7136,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7064
7136
|
|
|
7065
7137
|
|
|
7066
7138
|
|
|
7067
|
-
var utcDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7139
|
+
var utcDay = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7068
7140
|
date.setUTCHours(0, 0, 0, 0);
|
|
7069
7141
|
}, function(date, step) {
|
|
7070
7142
|
date.setUTCDate(date.getUTCDate() + step);
|
|
@@ -7097,7 +7169,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7097
7169
|
|
|
7098
7170
|
|
|
7099
7171
|
|
|
7100
|
-
var utcHour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7172
|
+
var utcHour = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7101
7173
|
date.setUTCMinutes(0, 0, 0);
|
|
7102
7174
|
}, function(date, step) {
|
|
7103
7175
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationHour);
|
|
@@ -7130,7 +7202,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7130
7202
|
|
|
7131
7203
|
|
|
7132
7204
|
|
|
7133
|
-
var utcMinute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7205
|
+
var utcMinute = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7134
7206
|
date.setUTCSeconds(0, 0);
|
|
7135
7207
|
}, function(date, step) {
|
|
7136
7208
|
date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__.durationMinute);
|
|
@@ -7161,7 +7233,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7161
7233
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
7162
7234
|
|
|
7163
7235
|
|
|
7164
|
-
var utcMonth = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7236
|
+
var utcMonth = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7165
7237
|
date.setUTCDate(1);
|
|
7166
7238
|
date.setUTCHours(0, 0, 0, 0);
|
|
7167
7239
|
}, function(date, step) {
|
|
@@ -7208,7 +7280,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7208
7280
|
|
|
7209
7281
|
|
|
7210
7282
|
function utcWeekday(i) {
|
|
7211
|
-
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7283
|
+
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7212
7284
|
date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
|
|
7213
7285
|
date.setUTCHours(0, 0, 0, 0);
|
|
7214
7286
|
}, function(date, step) {
|
|
@@ -7252,7 +7324,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7252
7324
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
7253
7325
|
|
|
7254
7326
|
|
|
7255
|
-
var utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7327
|
+
var utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7256
7328
|
date.setUTCMonth(0, 1);
|
|
7257
7329
|
date.setUTCHours(0, 0, 0, 0);
|
|
7258
7330
|
}, function(date, step) {
|
|
@@ -7265,7 +7337,7 @@ var utcYear = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(dat
|
|
|
7265
7337
|
|
|
7266
7338
|
// An optimized implementation for this simple case.
|
|
7267
7339
|
utcYear.every = function(k) {
|
|
7268
|
-
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7340
|
+
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7269
7341
|
date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
|
|
7270
7342
|
date.setUTCMonth(0, 1);
|
|
7271
7343
|
date.setUTCHours(0, 0, 0, 0);
|
|
@@ -7310,7 +7382,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7310
7382
|
|
|
7311
7383
|
|
|
7312
7384
|
function weekday(i) {
|
|
7313
|
-
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7385
|
+
return (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7314
7386
|
date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
|
|
7315
7387
|
date.setHours(0, 0, 0, 0);
|
|
7316
7388
|
}, function(date, step) {
|
|
@@ -7354,7 +7426,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7354
7426
|
/* harmony import */ var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interval.js */ "../../../node_modules/d3-time/src/interval.js");
|
|
7355
7427
|
|
|
7356
7428
|
|
|
7357
|
-
var year = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7429
|
+
var year = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7358
7430
|
date.setMonth(0, 1);
|
|
7359
7431
|
date.setHours(0, 0, 0, 0);
|
|
7360
7432
|
}, function(date, step) {
|
|
@@ -7367,7 +7439,7 @@ var year = (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__.default)(function(date)
|
|
|
7367
7439
|
|
|
7368
7440
|
// An optimized implementation for this simple case.
|
|
7369
7441
|
year.every = function(k) {
|
|
7370
|
-
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__
|
|
7442
|
+
return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : (0,_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(date) {
|
|
7371
7443
|
date.setFullYear(Math.floor(date.getFullYear() / k) * k);
|
|
7372
7444
|
date.setMonth(0, 1);
|
|
7373
7445
|
date.setHours(0, 0, 0, 0);
|
|
@@ -14248,7 +14320,7 @@ var interpolateFunction = function (a, b) {
|
|
|
14248
14320
|
/* eslint-disable no-invalid-this */
|
|
14249
14321
|
var aval = typeof a === "function" ? a.apply(this, arguments) : a;
|
|
14250
14322
|
var bval = typeof b === "function" ? b.apply(this, arguments) : b;
|
|
14251
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14323
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(aval, bval)(t);
|
|
14252
14324
|
};
|
|
14253
14325
|
};
|
|
14254
14326
|
};
|
|
@@ -14277,7 +14349,7 @@ var interpolateObject = function (a, b) {
|
|
|
14277
14349
|
return interpolateObject(x, y);
|
|
14278
14350
|
}
|
|
14279
14351
|
|
|
14280
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14352
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(x, y);
|
|
14281
14353
|
}; // When the value is an array, attempt to sort by "key" so that animating nodes may be identified
|
|
14282
14354
|
// based on "key" instead of index
|
|
14283
14355
|
|
|
@@ -14319,7 +14391,7 @@ var interpolateString = function (a, b) {
|
|
|
14319
14391
|
return typeof val === "string" ? val.replace(/,/g, "") : val;
|
|
14320
14392
|
};
|
|
14321
14393
|
|
|
14322
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14394
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(format(a), format(b));
|
|
14323
14395
|
};
|
|
14324
14396
|
/**
|
|
14325
14397
|
* By default, the list of interpolators used by `d3.interpolate` has a few
|
|
@@ -14365,7 +14437,7 @@ var victoryInterpolator = function (a, b) {
|
|
|
14365
14437
|
return interpolateString(a, b);
|
|
14366
14438
|
}
|
|
14367
14439
|
|
|
14368
|
-
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__
|
|
14440
|
+
return (0,d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["default"])(a, b);
|
|
14369
14441
|
};
|
|
14370
14442
|
|
|
14371
14443
|
/***/ }),
|
|
@@ -14418,7 +14490,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
14418
14490
|
|
|
14419
14491
|
|
|
14420
14492
|
|
|
14421
|
-
var VictoryAnimation =
|
|
14493
|
+
var VictoryAnimation =
|
|
14494
|
+
/*#__PURE__*/
|
|
14495
|
+
function (_React$Component) {
|
|
14422
14496
|
_inherits(VictoryAnimation, _React$Component);
|
|
14423
14497
|
|
|
14424
14498
|
function VictoryAnimation(props, context) {
|
|
@@ -14634,7 +14708,7 @@ Object.defineProperty(VictoryAnimation, "contextType", {
|
|
|
14634
14708
|
configurable: true,
|
|
14635
14709
|
enumerable: true,
|
|
14636
14710
|
writable: true,
|
|
14637
|
-
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__
|
|
14711
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__["default"]
|
|
14638
14712
|
});
|
|
14639
14713
|
|
|
14640
14714
|
|
|
@@ -14702,7 +14776,9 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
14702
14776
|
|
|
14703
14777
|
|
|
14704
14778
|
|
|
14705
|
-
var VictoryContainer =
|
|
14779
|
+
var VictoryContainer =
|
|
14780
|
+
/*#__PURE__*/
|
|
14781
|
+
function (_React$Component) {
|
|
14706
14782
|
_inherits(VictoryContainer, _React$Component);
|
|
14707
14783
|
|
|
14708
14784
|
function VictoryContainer(props) {
|
|
@@ -14834,7 +14910,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
14834
14910
|
preserveAspectRatio: svgProps.preserveAspectRatio,
|
|
14835
14911
|
style: portalSvgStyle
|
|
14836
14912
|
};
|
|
14837
|
-
return react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_7__
|
|
14913
|
+
return react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_7__["default"].Provider, {
|
|
14838
14914
|
value: {
|
|
14839
14915
|
portalUpdate: this.portalUpdate,
|
|
14840
14916
|
portalRegister: this.portalRegister,
|
|
@@ -14942,7 +15018,7 @@ Object.defineProperty(VictoryContainer, "defaultProps", {
|
|
|
14942
15018
|
writable: true,
|
|
14943
15019
|
value: {
|
|
14944
15020
|
className: "VictoryContainer",
|
|
14945
|
-
portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_10__
|
|
15021
|
+
portalComponent: react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null),
|
|
14946
15022
|
portalZIndex: 99,
|
|
14947
15023
|
responsive: true,
|
|
14948
15024
|
role: "img"
|
|
@@ -14952,7 +15028,7 @@ Object.defineProperty(VictoryContainer, "contextType", {
|
|
|
14952
15028
|
configurable: true,
|
|
14953
15029
|
enumerable: true,
|
|
14954
15030
|
writable: true,
|
|
14955
|
-
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__
|
|
15031
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]
|
|
14956
15032
|
});
|
|
14957
15033
|
|
|
14958
15034
|
|
|
@@ -15520,10 +15596,10 @@ var VictoryLabel = function (props) {
|
|
|
15520
15596
|
var backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
|
|
15521
15597
|
var children = [backgroundElement, label];
|
|
15522
15598
|
var backgroundWithLabel = react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(props.groupComponent, {}, children);
|
|
15523
|
-
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__
|
|
15599
|
+
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, backgroundWithLabel) : backgroundWithLabel;
|
|
15524
15600
|
}
|
|
15525
15601
|
|
|
15526
|
-
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__
|
|
15602
|
+
return props.renderInPortal ? react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_10__["default"], null, label) : label;
|
|
15527
15603
|
};
|
|
15528
15604
|
|
|
15529
15605
|
VictoryLabel.displayName = "VictoryLabel";
|
|
@@ -15574,11 +15650,11 @@ VictoryLabel.propTypes = {
|
|
|
15574
15650
|
y: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)])
|
|
15575
15651
|
};
|
|
15576
15652
|
VictoryLabel.defaultProps = {
|
|
15577
|
-
backgroundComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_12__
|
|
15653
|
+
backgroundComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_12__["default"], null),
|
|
15578
15654
|
groupComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
|
|
15579
15655
|
direction: "inherit",
|
|
15580
|
-
textComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_13__
|
|
15581
|
-
tspanComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_14__
|
|
15656
|
+
textComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_13__["default"], null),
|
|
15657
|
+
tspanComponent: react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_14__["default"], null),
|
|
15582
15658
|
capHeight: 0.71,
|
|
15583
15659
|
// Magic number from d3.
|
|
15584
15660
|
lineHeight: 1
|
|
@@ -15648,7 +15724,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
15648
15724
|
|
|
15649
15725
|
|
|
15650
15726
|
|
|
15651
|
-
var Portal =
|
|
15727
|
+
var Portal =
|
|
15728
|
+
/*#__PURE__*/
|
|
15729
|
+
function (_React$Component) {
|
|
15652
15730
|
_inherits(Portal, _React$Component);
|
|
15653
15731
|
|
|
15654
15732
|
function Portal(props) {
|
|
@@ -15767,7 +15845,9 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
15767
15845
|
|
|
15768
15846
|
|
|
15769
15847
|
|
|
15770
|
-
var VictoryPortal =
|
|
15848
|
+
var VictoryPortal =
|
|
15849
|
+
/*#__PURE__*/
|
|
15850
|
+
function (_React$Component) {
|
|
15771
15851
|
_inherits(VictoryPortal, _React$Component);
|
|
15772
15852
|
|
|
15773
15853
|
function VictoryPortal() {
|
|
@@ -15871,7 +15951,7 @@ Object.defineProperty(VictoryPortal, "contextType", {
|
|
|
15871
15951
|
configurable: true,
|
|
15872
15952
|
enumerable: true,
|
|
15873
15953
|
writable: true,
|
|
15874
|
-
value: _portal_context__WEBPACK_IMPORTED_MODULE_5__
|
|
15954
|
+
value: _portal_context__WEBPACK_IMPORTED_MODULE_5__["default"]
|
|
15875
15955
|
});
|
|
15876
15956
|
|
|
15877
15957
|
|
|
@@ -15961,7 +16041,7 @@ Border.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORTE
|
|
|
15961
16041
|
y: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
|
|
15962
16042
|
});
|
|
15963
16043
|
Border.defaultProps = {
|
|
15964
|
-
rectComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_5__
|
|
16044
|
+
rectComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_5__["default"], null),
|
|
15965
16045
|
role: "presentation",
|
|
15966
16046
|
shapeRendering: "auto"
|
|
15967
16047
|
};
|
|
@@ -16054,7 +16134,7 @@ LineSegment.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IM
|
|
|
16054
16134
|
y2: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
|
|
16055
16135
|
});
|
|
16056
16136
|
LineSegment.defaultProps = {
|
|
16057
|
-
lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__
|
|
16137
|
+
lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__["default"], null),
|
|
16058
16138
|
role: "presentation",
|
|
16059
16139
|
shapeRendering: "auto"
|
|
16060
16140
|
};
|
|
@@ -16304,7 +16384,7 @@ Whisker.propTypes = _objectSpread({}, _victory_util_common_props__WEBPACK_IMPORT
|
|
|
16304
16384
|
});
|
|
16305
16385
|
Whisker.defaultProps = {
|
|
16306
16386
|
groupComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null),
|
|
16307
|
-
lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__
|
|
16387
|
+
lineComponent: react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_5__["default"], null),
|
|
16308
16388
|
role: "presentation",
|
|
16309
16389
|
shapeRendering: "auto"
|
|
16310
16390
|
};
|
|
@@ -16905,8 +16985,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16905
16985
|
|
|
16906
16986
|
|
|
16907
16987
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
16908
|
-
material: _material__WEBPACK_IMPORTED_MODULE_0__
|
|
16909
|
-
grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_1__
|
|
16988
|
+
material: _material__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
16989
|
+
grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
16910
16990
|
});
|
|
16911
16991
|
|
|
16912
16992
|
/***/ }),
|
|
@@ -16969,7 +17049,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
16969
17049
|
|
|
16970
17050
|
|
|
16971
17051
|
|
|
16972
|
-
var VictoryTransition =
|
|
17052
|
+
var VictoryTransition =
|
|
17053
|
+
/*#__PURE__*/
|
|
17054
|
+
function (_React$Component) {
|
|
16973
17055
|
_inherits(VictoryTransition, _React$Component);
|
|
16974
17056
|
|
|
16975
17057
|
function VictoryTransition(props, context) {
|
|
@@ -17134,7 +17216,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
17134
17216
|
var animationWhitelist = props.animationWhitelist || [];
|
|
17135
17217
|
var whitelist = animationWhitelist.concat(["clipWidth"]);
|
|
17136
17218
|
var propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_1___default()(combinedProps, whitelist) : combinedProps;
|
|
17137
|
-
return react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_10__
|
|
17219
|
+
return react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_10__["default"], _extends({}, combinedProps.animate, {
|
|
17138
17220
|
data: propsToAnimate
|
|
17139
17221
|
}), function (newProps) {
|
|
17140
17222
|
if (child.props.groupComponent) {
|
|
@@ -17179,7 +17261,7 @@ Object.defineProperty(VictoryTransition, "contextType", {
|
|
|
17179
17261
|
configurable: true,
|
|
17180
17262
|
enumerable: true,
|
|
17181
17263
|
writable: true,
|
|
17182
|
-
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__
|
|
17264
|
+
value: _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_11__["default"]
|
|
17183
17265
|
});
|
|
17184
17266
|
|
|
17185
17267
|
|
|
@@ -17270,362 +17352,365 @@ var defaultComponents = [{
|
|
|
17270
17352
|
name: "labels"
|
|
17271
17353
|
}];
|
|
17272
17354
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (WrappedComponent, options) {
|
|
17273
|
-
return
|
|
17274
|
-
|
|
17355
|
+
return (
|
|
17356
|
+
/*#__PURE__*/
|
|
17357
|
+
function (_WrappedComponent) {
|
|
17358
|
+
_inherits(addEvents, _WrappedComponent);
|
|
17275
17359
|
|
|
17276
|
-
|
|
17277
|
-
|
|
17360
|
+
function addEvents(props) {
|
|
17361
|
+
var _this;
|
|
17278
17362
|
|
|
17279
|
-
|
|
17363
|
+
_classCallCheck(this, addEvents);
|
|
17280
17364
|
|
|
17281
|
-
|
|
17282
|
-
|
|
17283
|
-
|
|
17284
|
-
|
|
17365
|
+
_this = _possibleConstructorReturn(this, (addEvents.__proto__ || Object.getPrototypeOf(addEvents)).call(this, props));
|
|
17366
|
+
var getScopedEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getScopedEvents.bind(_assertThisInitialized(_this));
|
|
17367
|
+
var boundGetEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getEvents.bind(_assertThisInitialized(_this));
|
|
17368
|
+
_this.state = {};
|
|
17285
17369
|
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
17370
|
+
_this.getEvents = function (p, target, eventKey) {
|
|
17371
|
+
return boundGetEvents(p, target, eventKey, getScopedEvents);
|
|
17372
|
+
};
|
|
17289
17373
|
|
|
17290
|
-
|
|
17374
|
+
_this.getEventState = _events__WEBPACK_IMPORTED_MODULE_11__.getEventState.bind(_assertThisInitialized(_this));
|
|
17291
17375
|
|
|
17292
|
-
|
|
17376
|
+
var calculatedValues = _this.getCalculatedValues(props);
|
|
17293
17377
|
|
|
17294
|
-
|
|
17378
|
+
_this.cacheValues(calculatedValues);
|
|
17295
17379
|
|
|
17296
|
-
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
17301
|
-
|
|
17302
|
-
|
|
17380
|
+
_this.externalMutations = _this.getExternalMutations(props);
|
|
17381
|
+
_this.calculatedState = _this.getStateChanges(props);
|
|
17382
|
+
_this.globalEvents = {};
|
|
17383
|
+
_this.prevGlobalEventKeys = [];
|
|
17384
|
+
_this.boundGlobalEvents = {};
|
|
17385
|
+
return _this;
|
|
17386
|
+
}
|
|
17303
17387
|
|
|
17304
|
-
|
|
17305
|
-
|
|
17306
|
-
|
|
17307
|
-
|
|
17308
|
-
|
|
17309
|
-
|
|
17310
|
-
|
|
17311
|
-
|
|
17312
|
-
|
|
17313
|
-
|
|
17314
|
-
|
|
17315
|
-
|
|
17316
|
-
|
|
17388
|
+
_createClass(addEvents, [{
|
|
17389
|
+
key: "shouldComponentUpdate",
|
|
17390
|
+
value: function shouldComponentUpdate(nextProps) {
|
|
17391
|
+
var externalMutations = this.getExternalMutations(nextProps);
|
|
17392
|
+
var animating = this.props.animating || this.props.animate;
|
|
17393
|
+
var newMutation = !react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(externalMutations, this.externalMutations);
|
|
17394
|
+
|
|
17395
|
+
if (animating || newMutation) {
|
|
17396
|
+
this.cacheValues(this.getCalculatedValues(nextProps));
|
|
17397
|
+
this.externalMutations = externalMutations;
|
|
17398
|
+
this.applyExternalMutations(nextProps, externalMutations);
|
|
17399
|
+
return true;
|
|
17400
|
+
}
|
|
17317
17401
|
|
|
17318
|
-
|
|
17402
|
+
var calculatedState = this.getStateChanges(nextProps);
|
|
17319
17403
|
|
|
17320
|
-
|
|
17321
|
-
|
|
17322
|
-
|
|
17323
|
-
|
|
17404
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(this.calculatedState, calculatedState)) {
|
|
17405
|
+
this.cacheValues(this.getCalculatedValues(nextProps));
|
|
17406
|
+
return true;
|
|
17407
|
+
}
|
|
17324
17408
|
|
|
17325
|
-
|
|
17326
|
-
|
|
17327
|
-
|
|
17328
|
-
|
|
17409
|
+
if (!react_fast_compare__WEBPACK_IMPORTED_MODULE_10___default()(this.props, nextProps)) {
|
|
17410
|
+
this.cacheValues(this.getCalculatedValues(nextProps));
|
|
17411
|
+
return true;
|
|
17412
|
+
}
|
|
17329
17413
|
|
|
17330
|
-
|
|
17331
|
-
|
|
17332
|
-
|
|
17333
|
-
|
|
17334
|
-
|
|
17335
|
-
|
|
17414
|
+
return false;
|
|
17415
|
+
}
|
|
17416
|
+
}, {
|
|
17417
|
+
key: "componentDidMount",
|
|
17418
|
+
value: function componentDidMount() {
|
|
17419
|
+
var _this2 = this;
|
|
17336
17420
|
|
|
17337
|
-
|
|
17421
|
+
var globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(this.globalEvents);
|
|
17338
17422
|
|
|
17339
|
-
|
|
17340
|
-
|
|
17341
|
-
|
|
17342
|
-
|
|
17343
|
-
|
|
17344
|
-
|
|
17345
|
-
|
|
17346
|
-
|
|
17347
|
-
|
|
17423
|
+
globalEventKeys.forEach(function (key) {
|
|
17424
|
+
return _this2.addGlobalListener(key);
|
|
17425
|
+
});
|
|
17426
|
+
this.prevGlobalEventKeys = globalEventKeys;
|
|
17427
|
+
}
|
|
17428
|
+
}, {
|
|
17429
|
+
key: "componentDidUpdate",
|
|
17430
|
+
value: function componentDidUpdate(prevProps) {
|
|
17431
|
+
var _this3 = this;
|
|
17348
17432
|
|
|
17349
|
-
|
|
17350
|
-
|
|
17433
|
+
var calculatedState = this.getStateChanges(prevProps);
|
|
17434
|
+
this.calculatedState = calculatedState;
|
|
17351
17435
|
|
|
17352
|
-
|
|
17436
|
+
var globalEventKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(this.globalEvents);
|
|
17353
17437
|
|
|
17354
|
-
|
|
17438
|
+
var removedGlobalEventKeys = lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(this.prevGlobalEventKeys, globalEventKeys);
|
|
17355
17439
|
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17440
|
+
removedGlobalEventKeys.forEach(function (key) {
|
|
17441
|
+
return _this3.removeGlobalListener(key);
|
|
17442
|
+
});
|
|
17359
17443
|
|
|
17360
|
-
|
|
17444
|
+
var addedGlobalEventKeys = lodash_difference__WEBPACK_IMPORTED_MODULE_0___default()(globalEventKeys, this.prevGlobalEventKeys);
|
|
17361
17445
|
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17366
|
-
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
|
|
17370
|
-
|
|
17446
|
+
addedGlobalEventKeys.forEach(function (key) {
|
|
17447
|
+
return _this3.addGlobalListener(key);
|
|
17448
|
+
});
|
|
17449
|
+
this.prevGlobalEventKeys = globalEventKeys;
|
|
17450
|
+
}
|
|
17451
|
+
}, {
|
|
17452
|
+
key: "componentWillUnmount",
|
|
17453
|
+
value: function componentWillUnmount() {
|
|
17454
|
+
var _this4 = this;
|
|
17371
17455
|
|
|
17372
|
-
|
|
17373
|
-
|
|
17374
|
-
|
|
17375
|
-
|
|
17376
|
-
|
|
17377
|
-
|
|
17378
|
-
|
|
17379
|
-
|
|
17380
|
-
|
|
17381
|
-
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17456
|
+
this.prevGlobalEventKeys.forEach(function (key) {
|
|
17457
|
+
return _this4.removeGlobalListener(key);
|
|
17458
|
+
});
|
|
17459
|
+
}
|
|
17460
|
+
}, {
|
|
17461
|
+
key: "addGlobalListener",
|
|
17462
|
+
value: function addGlobalListener(key) {
|
|
17463
|
+
var _this5 = this;
|
|
17464
|
+
|
|
17465
|
+
var boundListener = function (event) {
|
|
17466
|
+
var listener = _this5.globalEvents[key];
|
|
17467
|
+
return listener && listener(_events__WEBPACK_IMPORTED_MODULE_11__.emulateReactEvent(event));
|
|
17468
|
+
};
|
|
17385
17469
|
|
|
17386
|
-
|
|
17387
|
-
|
|
17388
|
-
}
|
|
17389
|
-
}, {
|
|
17390
|
-
key: "removeGlobalListener",
|
|
17391
|
-
value: function removeGlobalListener(key) {
|
|
17392
|
-
window.removeEventListener(_events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]);
|
|
17393
|
-
} // compile all state changes from own and parent state. Order doesn't matter, as any state
|
|
17394
|
-
// state change should trigger a re-render
|
|
17395
|
-
|
|
17396
|
-
}, {
|
|
17397
|
-
key: "getStateChanges",
|
|
17398
|
-
value: function getStateChanges(props) {
|
|
17399
|
-
var _this6 = this;
|
|
17400
|
-
|
|
17401
|
-
if (!this.hasEvents) {
|
|
17402
|
-
return {};
|
|
17470
|
+
this.boundGlobalEvents[key] = boundListener;
|
|
17471
|
+
window.addEventListener(_events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEventNameFromKey(key), boundListener);
|
|
17403
17472
|
}
|
|
17473
|
+
}, {
|
|
17474
|
+
key: "removeGlobalListener",
|
|
17475
|
+
value: function removeGlobalListener(key) {
|
|
17476
|
+
window.removeEventListener(_events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEventNameFromKey(key), this.boundGlobalEvents[key]);
|
|
17477
|
+
} // compile all state changes from own and parent state. Order doesn't matter, as any state
|
|
17478
|
+
// state change should trigger a re-render
|
|
17479
|
+
|
|
17480
|
+
}, {
|
|
17481
|
+
key: "getStateChanges",
|
|
17482
|
+
value: function getStateChanges(props) {
|
|
17483
|
+
var _this6 = this;
|
|
17484
|
+
|
|
17485
|
+
if (!this.hasEvents) {
|
|
17486
|
+
return {};
|
|
17487
|
+
}
|
|
17404
17488
|
|
|
17405
|
-
|
|
17406
|
-
|
|
17489
|
+
var getState = function (key, type) {
|
|
17490
|
+
var result = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _this6.getEventState(key, type), _this6.getSharedEventState(key, type));
|
|
17407
17491
|
|
|
17408
|
-
|
|
17409
|
-
|
|
17492
|
+
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(result) ? undefined : result;
|
|
17493
|
+
};
|
|
17410
17494
|
|
|
17411
|
-
|
|
17412
|
-
|
|
17413
|
-
|
|
17414
|
-
|
|
17415
|
-
|
|
17416
|
-
|
|
17417
|
-
|
|
17418
|
-
|
|
17419
|
-
|
|
17420
|
-
|
|
17495
|
+
options = options || {};
|
|
17496
|
+
var components = options.components || defaultComponents;
|
|
17497
|
+
var stateChanges = components.map(function (component) {
|
|
17498
|
+
if (!props.standalone && component.name === "parent") {
|
|
17499
|
+
// don't check for changes on parent props for non-standalone components
|
|
17500
|
+
return undefined;
|
|
17501
|
+
} else {
|
|
17502
|
+
return component.index !== undefined ? getState(component.index, component.name) : _this6.dataKeys.map(function (key) {
|
|
17503
|
+
return getState(key, component.name);
|
|
17504
|
+
}).filter(Boolean);
|
|
17505
|
+
}
|
|
17506
|
+
}).filter(Boolean);
|
|
17507
|
+
return stateChanges;
|
|
17508
|
+
}
|
|
17509
|
+
}, {
|
|
17510
|
+
key: "applyExternalMutations",
|
|
17511
|
+
value: function applyExternalMutations(props, externalMutations) {
|
|
17512
|
+
if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
|
|
17513
|
+
var callbacks = props.externalEventMutations.reduce(function (memo, mutation) {
|
|
17514
|
+
memo = lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(mutation.callback) ? memo.concat(mutation.callback) : memo;
|
|
17515
|
+
return memo;
|
|
17516
|
+
}, []);
|
|
17517
|
+
var compiledCallbacks = callbacks.length ? function () {
|
|
17518
|
+
callbacks.forEach(function (c) {
|
|
17519
|
+
return c();
|
|
17520
|
+
});
|
|
17521
|
+
} : undefined;
|
|
17522
|
+
this.setState(externalMutations, compiledCallbacks);
|
|
17421
17523
|
}
|
|
17422
|
-
}).filter(Boolean);
|
|
17423
|
-
return stateChanges;
|
|
17424
|
-
}
|
|
17425
|
-
}, {
|
|
17426
|
-
key: "applyExternalMutations",
|
|
17427
|
-
value: function applyExternalMutations(props, externalMutations) {
|
|
17428
|
-
if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
|
|
17429
|
-
var callbacks = props.externalEventMutations.reduce(function (memo, mutation) {
|
|
17430
|
-
memo = lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(mutation.callback) ? memo.concat(mutation.callback) : memo;
|
|
17431
|
-
return memo;
|
|
17432
|
-
}, []);
|
|
17433
|
-
var compiledCallbacks = callbacks.length ? function () {
|
|
17434
|
-
callbacks.forEach(function (c) {
|
|
17435
|
-
return c();
|
|
17436
|
-
});
|
|
17437
|
-
} : undefined;
|
|
17438
|
-
this.setState(externalMutations, compiledCallbacks);
|
|
17439
17524
|
}
|
|
17440
|
-
}
|
|
17441
|
-
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17450
|
-
var baseProps = this.getBaseProps(props, getSharedEventState);
|
|
17451
|
-
|
|
17452
|
-
var dataKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(baseProps).filter(function (key) {
|
|
17453
|
-
return key !== "parent";
|
|
17454
|
-
});
|
|
17525
|
+
}, {
|
|
17526
|
+
key: "getCalculatedValues",
|
|
17527
|
+
value: function getCalculatedValues(props) {
|
|
17528
|
+
var sharedEvents = props.sharedEvents;
|
|
17529
|
+
var components = WrappedComponent.expectedComponents;
|
|
17530
|
+
var componentEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getComponentEvents(props, components);
|
|
17531
|
+
var getSharedEventState = sharedEvents && lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(sharedEvents.getEventState) ? sharedEvents.getEventState : function () {
|
|
17532
|
+
return undefined;
|
|
17533
|
+
};
|
|
17534
|
+
var baseProps = this.getBaseProps(props, getSharedEventState);
|
|
17455
17535
|
|
|
17456
|
-
|
|
17457
|
-
|
|
17458
|
-
|
|
17459
|
-
componentEvents: componentEvents,
|
|
17460
|
-
getSharedEventState: getSharedEventState,
|
|
17461
|
-
baseProps: baseProps,
|
|
17462
|
-
dataKeys: dataKeys,
|
|
17463
|
-
hasEvents: hasEvents,
|
|
17464
|
-
events: events
|
|
17465
|
-
};
|
|
17466
|
-
}
|
|
17467
|
-
}, {
|
|
17468
|
-
key: "getExternalMutations",
|
|
17469
|
-
value: function getExternalMutations(props) {
|
|
17470
|
-
var sharedEvents = props.sharedEvents,
|
|
17471
|
-
externalEventMutations = props.externalEventMutations;
|
|
17472
|
-
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_11__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
|
|
17473
|
-
}
|
|
17474
|
-
}, {
|
|
17475
|
-
key: "cacheValues",
|
|
17476
|
-
value: function cacheValues(obj) {
|
|
17477
|
-
var _this7 = this;
|
|
17536
|
+
var dataKeys = lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(baseProps).filter(function (key) {
|
|
17537
|
+
return key !== "parent";
|
|
17538
|
+
});
|
|
17478
17539
|
|
|
17479
|
-
|
|
17480
|
-
|
|
17481
|
-
|
|
17482
|
-
|
|
17483
|
-
|
|
17484
|
-
|
|
17485
|
-
|
|
17486
|
-
|
|
17487
|
-
|
|
17488
|
-
|
|
17540
|
+
var hasEvents = props.events || props.sharedEvents || componentEvents;
|
|
17541
|
+
var events = this.getAllEvents(props);
|
|
17542
|
+
return {
|
|
17543
|
+
componentEvents: componentEvents,
|
|
17544
|
+
getSharedEventState: getSharedEventState,
|
|
17545
|
+
baseProps: baseProps,
|
|
17546
|
+
dataKeys: dataKeys,
|
|
17547
|
+
hasEvents: hasEvents,
|
|
17548
|
+
events: events
|
|
17549
|
+
};
|
|
17550
|
+
}
|
|
17551
|
+
}, {
|
|
17552
|
+
key: "getExternalMutations",
|
|
17553
|
+
value: function getExternalMutations(props) {
|
|
17554
|
+
var sharedEvents = props.sharedEvents,
|
|
17555
|
+
externalEventMutations = props.externalEventMutations;
|
|
17556
|
+
return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_11__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
|
|
17557
|
+
}
|
|
17558
|
+
}, {
|
|
17559
|
+
key: "cacheValues",
|
|
17560
|
+
value: function cacheValues(obj) {
|
|
17561
|
+
var _this7 = this;
|
|
17489
17562
|
|
|
17490
|
-
|
|
17563
|
+
lodash_keys__WEBPACK_IMPORTED_MODULE_6___default()(obj).forEach(function (key) {
|
|
17564
|
+
_this7[key] = obj[key];
|
|
17565
|
+
});
|
|
17566
|
+
}
|
|
17567
|
+
}, {
|
|
17568
|
+
key: "getBaseProps",
|
|
17569
|
+
value: function getBaseProps(props, getSharedEventState) {
|
|
17570
|
+
getSharedEventState = getSharedEventState || this.getSharedEventState;
|
|
17571
|
+
var sharedParentState = getSharedEventState("parent", "parent");
|
|
17572
|
+
var parentState = this.getEventState("parent", "parent");
|
|
17491
17573
|
|
|
17492
|
-
|
|
17493
|
-
var parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_4___default()(baseParentProps, parentPropsList) : {};
|
|
17574
|
+
var baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, parentState, sharedParentState);
|
|
17494
17575
|
|
|
17495
|
-
|
|
17576
|
+
var parentPropsList = baseParentProps.parentControlledProps;
|
|
17577
|
+
var parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_4___default()(baseParentProps, parentPropsList) : {};
|
|
17496
17578
|
|
|
17497
|
-
|
|
17498
|
-
}
|
|
17499
|
-
}, {
|
|
17500
|
-
key: "getAllEvents",
|
|
17501
|
-
value: function getAllEvents(props) {
|
|
17502
|
-
if (Array.isArray(this.componentEvents)) {
|
|
17503
|
-
var _componentEvents;
|
|
17579
|
+
var modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, parentProps, props);
|
|
17504
17580
|
|
|
17505
|
-
return
|
|
17581
|
+
return lodash_isFunction__WEBPACK_IMPORTED_MODULE_5___default()(WrappedComponent.getBaseProps) ? WrappedComponent.getBaseProps(modifiedProps) : {};
|
|
17506
17582
|
}
|
|
17583
|
+
}, {
|
|
17584
|
+
key: "getAllEvents",
|
|
17585
|
+
value: function getAllEvents(props) {
|
|
17586
|
+
if (Array.isArray(this.componentEvents)) {
|
|
17587
|
+
var _componentEvents;
|
|
17507
17588
|
|
|
17508
|
-
|
|
17509
|
-
|
|
17510
|
-
|
|
17511
|
-
|
|
17512
|
-
value: function getComponentProps(component, type, index) {
|
|
17513
|
-
var name = this.props.name || WrappedComponent.role;
|
|
17514
|
-
var key = this.dataKeys && this.dataKeys[index] || index;
|
|
17515
|
-
var id = "".concat(name, "-").concat(type, "-").concat(key);
|
|
17516
|
-
var baseProps = this.baseProps[key] && this.baseProps[key][type] || this.baseProps[key];
|
|
17517
|
-
|
|
17518
|
-
if (!baseProps && !this.hasEvents) {
|
|
17519
|
-
return undefined;
|
|
17589
|
+
return Array.isArray(props.events) ? (_componentEvents = this.componentEvents).concat.apply(_componentEvents, _toConsumableArray(props.events)) : this.componentEvents;
|
|
17590
|
+
}
|
|
17591
|
+
|
|
17592
|
+
return props.events;
|
|
17520
17593
|
}
|
|
17594
|
+
}, {
|
|
17595
|
+
key: "getComponentProps",
|
|
17596
|
+
value: function getComponentProps(component, type, index) {
|
|
17597
|
+
var name = this.props.name || WrappedComponent.role;
|
|
17598
|
+
var key = this.dataKeys && this.dataKeys[index] || index;
|
|
17599
|
+
var id = "".concat(name, "-").concat(type, "-").concat(key);
|
|
17600
|
+
var baseProps = this.baseProps[key] && this.baseProps[key][type] || this.baseProps[key];
|
|
17601
|
+
|
|
17602
|
+
if (!baseProps && !this.hasEvents) {
|
|
17603
|
+
return undefined;
|
|
17604
|
+
}
|
|
17605
|
+
|
|
17606
|
+
if (this.hasEvents) {
|
|
17607
|
+
var baseEvents = this.getEvents(this.props, type, key);
|
|
17521
17608
|
|
|
17522
|
-
|
|
17523
|
-
|
|
17609
|
+
var componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({
|
|
17610
|
+
index: index,
|
|
17611
|
+
key: id
|
|
17612
|
+
}, this.getEventState(key, type), this.getSharedEventState(key, type), component.props, baseProps, {
|
|
17613
|
+
id: id
|
|
17614
|
+
});
|
|
17615
|
+
|
|
17616
|
+
var events = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _events__WEBPACK_IMPORTED_MODULE_11__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
|
|
17617
|
+
|
|
17618
|
+
return lodash_assign__WEBPACK_IMPORTED_MODULE_7___default()({}, componentProps, {
|
|
17619
|
+
events: events
|
|
17620
|
+
});
|
|
17621
|
+
}
|
|
17524
17622
|
|
|
17525
|
-
|
|
17623
|
+
return lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({
|
|
17526
17624
|
index: index,
|
|
17527
17625
|
key: id
|
|
17528
|
-
},
|
|
17626
|
+
}, component.props, baseProps, {
|
|
17529
17627
|
id: id
|
|
17530
17628
|
});
|
|
17531
|
-
|
|
17532
|
-
var events = lodash_defaults__WEBPACK_IMPORTED_MODULE_8___default()({}, _events__WEBPACK_IMPORTED_MODULE_11__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
|
|
17533
|
-
|
|
17534
|
-
return lodash_assign__WEBPACK_IMPORTED_MODULE_7___default()({}, componentProps, {
|
|
17535
|
-
events: events
|
|
17536
|
-
});
|
|
17537
17629
|
}
|
|
17630
|
+
}, {
|
|
17631
|
+
key: "renderContainer",
|
|
17632
|
+
value: function renderContainer(component, children) {
|
|
17633
|
+
var isContainer = component.type && component.type.role === "container";
|
|
17634
|
+
var parentProps = isContainer ? this.getComponentProps(component, "parent", "parent") : {};
|
|
17635
|
+
|
|
17636
|
+
if (parentProps.events) {
|
|
17637
|
+
this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEvents(parentProps.events);
|
|
17638
|
+
parentProps.events = _events__WEBPACK_IMPORTED_MODULE_11__.omitGlobalEvents(parentProps.events);
|
|
17639
|
+
}
|
|
17538
17640
|
|
|
17539
|
-
|
|
17540
|
-
index: index,
|
|
17541
|
-
key: id
|
|
17542
|
-
}, component.props, baseProps, {
|
|
17543
|
-
id: id
|
|
17544
|
-
});
|
|
17545
|
-
}
|
|
17546
|
-
}, {
|
|
17547
|
-
key: "renderContainer",
|
|
17548
|
-
value: function renderContainer(component, children) {
|
|
17549
|
-
var isContainer = component.type && component.type.role === "container";
|
|
17550
|
-
var parentProps = isContainer ? this.getComponentProps(component, "parent", "parent") : {};
|
|
17551
|
-
|
|
17552
|
-
if (parentProps.events) {
|
|
17553
|
-
this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_11__.getGlobalEvents(parentProps.events);
|
|
17554
|
-
parentProps.events = _events__WEBPACK_IMPORTED_MODULE_11__.omitGlobalEvents(parentProps.events);
|
|
17641
|
+
return react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(component, parentProps, children);
|
|
17555
17642
|
}
|
|
17643
|
+
}, {
|
|
17644
|
+
key: "animateComponent",
|
|
17645
|
+
value: function animateComponent(props, defaultAnimationWhitelist) {
|
|
17646
|
+
var animationWhitelist = props.animate && props.animate.animationWhitelist ? props.animate.animationWhitelist : defaultAnimationWhitelist;
|
|
17647
|
+
return react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_12__["default"], {
|
|
17648
|
+
animate: props.animate,
|
|
17649
|
+
animationWhitelist: animationWhitelist
|
|
17650
|
+
}, react__WEBPACK_IMPORTED_MODULE_9___default().createElement(this.constructor, props));
|
|
17651
|
+
} // Used by `VictoryLine` and `VictoryArea`
|
|
17652
|
+
|
|
17653
|
+
}, {
|
|
17654
|
+
key: "renderContinuousData",
|
|
17655
|
+
value: function renderContinuousData(props) {
|
|
17656
|
+
var _this8 = this;
|
|
17657
|
+
|
|
17658
|
+
var dataComponent = props.dataComponent,
|
|
17659
|
+
labelComponent = props.labelComponent,
|
|
17660
|
+
groupComponent = props.groupComponent;
|
|
17661
|
+
|
|
17662
|
+
var dataKeys = lodash_without__WEBPACK_IMPORTED_MODULE_3___default()(this.dataKeys, "all");
|
|
17663
|
+
|
|
17664
|
+
var labelComponents = dataKeys.reduce(function (memo, key) {
|
|
17665
|
+
var labelProps = _this8.getComponentProps(labelComponent, "labels", key);
|
|
17666
|
+
|
|
17667
|
+
if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
|
|
17668
|
+
memo = memo.concat(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(labelComponent, labelProps));
|
|
17669
|
+
}
|
|
17556
17670
|
|
|
17557
|
-
|
|
17558
|
-
|
|
17559
|
-
|
|
17560
|
-
|
|
17561
|
-
|
|
17562
|
-
|
|
17563
|
-
|
|
17564
|
-
|
|
17565
|
-
|
|
17566
|
-
|
|
17567
|
-
|
|
17568
|
-
|
|
17569
|
-
|
|
17570
|
-
|
|
17571
|
-
|
|
17572
|
-
|
|
17573
|
-
|
|
17574
|
-
|
|
17575
|
-
|
|
17576
|
-
|
|
17577
|
-
|
|
17578
|
-
var dataKeys = lodash_without__WEBPACK_IMPORTED_MODULE_3___default()(this.dataKeys, "all");
|
|
17579
|
-
|
|
17580
|
-
var labelComponents = dataKeys.reduce(function (memo, key) {
|
|
17581
|
-
var labelProps = _this8.getComponentProps(labelComponent, "labels", key);
|
|
17582
|
-
|
|
17583
|
-
if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
|
|
17584
|
-
memo = memo.concat(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(labelComponent, labelProps));
|
|
17585
|
-
}
|
|
17586
|
-
|
|
17587
|
-
return memo;
|
|
17588
|
-
}, []);
|
|
17589
|
-
var dataProps = this.getComponentProps(dataComponent, "data", "all");
|
|
17590
|
-
var children = [react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps)].concat(_toConsumableArray(labelComponents));
|
|
17591
|
-
return this.renderContainer(groupComponent, children);
|
|
17592
|
-
}
|
|
17593
|
-
}, {
|
|
17594
|
-
key: "renderData",
|
|
17595
|
-
value: function renderData(props) {
|
|
17596
|
-
var _this9 = this;
|
|
17597
|
-
|
|
17598
|
-
var shouldRenderDatum = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : datumHasXandY;
|
|
17599
|
-
var dataComponent = props.dataComponent,
|
|
17600
|
-
labelComponent = props.labelComponent,
|
|
17601
|
-
groupComponent = props.groupComponent;
|
|
17602
|
-
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
17603
|
-
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
17604
|
-
|
|
17605
|
-
if (shouldRenderDatum(dataProps.datum)) {
|
|
17606
|
-
validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps));
|
|
17607
|
-
}
|
|
17671
|
+
return memo;
|
|
17672
|
+
}, []);
|
|
17673
|
+
var dataProps = this.getComponentProps(dataComponent, "data", "all");
|
|
17674
|
+
var children = [react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps)].concat(_toConsumableArray(labelComponents));
|
|
17675
|
+
return this.renderContainer(groupComponent, children);
|
|
17676
|
+
}
|
|
17677
|
+
}, {
|
|
17678
|
+
key: "renderData",
|
|
17679
|
+
value: function renderData(props) {
|
|
17680
|
+
var _this9 = this;
|
|
17681
|
+
|
|
17682
|
+
var shouldRenderDatum = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : datumHasXandY;
|
|
17683
|
+
var dataComponent = props.dataComponent,
|
|
17684
|
+
labelComponent = props.labelComponent,
|
|
17685
|
+
groupComponent = props.groupComponent;
|
|
17686
|
+
var dataComponents = this.dataKeys.reduce(function (validDataComponents, _dataKey, index) {
|
|
17687
|
+
var dataProps = _this9.getComponentProps(dataComponent, "data", index);
|
|
17688
|
+
|
|
17689
|
+
if (shouldRenderDatum(dataProps.datum)) {
|
|
17690
|
+
validDataComponents.push(react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(dataComponent, dataProps));
|
|
17691
|
+
}
|
|
17608
17692
|
|
|
17609
|
-
|
|
17610
|
-
|
|
17611
|
-
|
|
17612
|
-
|
|
17693
|
+
return validDataComponents;
|
|
17694
|
+
}, []);
|
|
17695
|
+
var labelComponents = this.dataKeys.map(function (_dataKey, index) {
|
|
17696
|
+
var labelProps = _this9.getComponentProps(labelComponent, "labels", index);
|
|
17613
17697
|
|
|
17614
|
-
|
|
17615
|
-
|
|
17616
|
-
|
|
17698
|
+
if (labelProps.text !== undefined && labelProps.text !== null) {
|
|
17699
|
+
return react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(labelComponent, labelProps);
|
|
17700
|
+
}
|
|
17617
17701
|
|
|
17618
|
-
|
|
17619
|
-
|
|
17702
|
+
return undefined;
|
|
17703
|
+
}).filter(Boolean);
|
|
17620
17704
|
|
|
17621
|
-
|
|
17705
|
+
var children = _toConsumableArray(dataComponents).concat(_toConsumableArray(labelComponents));
|
|
17622
17706
|
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
|
|
17707
|
+
return this.renderContainer(groupComponent, children);
|
|
17708
|
+
}
|
|
17709
|
+
}]);
|
|
17626
17710
|
|
|
17627
|
-
|
|
17628
|
-
|
|
17711
|
+
return addEvents;
|
|
17712
|
+
}(WrappedComponent)
|
|
17713
|
+
);
|
|
17629
17714
|
});
|
|
17630
17715
|
|
|
17631
17716
|
/***/ }),
|
|
@@ -17776,10 +17861,10 @@ var baseProps = {
|
|
|
17776
17861
|
eventHandlers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
|
|
17777
17862
|
})),
|
|
17778
17863
|
externalEventMutations: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
|
|
17779
|
-
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
17864
|
+
callback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()["function"]),
|
|
17780
17865
|
childName: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)]),
|
|
17781
17866
|
eventKey: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().array), _prop_types__WEBPACK_IMPORTED_MODULE_1__.allOfType([_prop_types__WEBPACK_IMPORTED_MODULE_1__.integer, _prop_types__WEBPACK_IMPORTED_MODULE_1__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
|
|
17782
|
-
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()
|
|
17867
|
+
mutation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default()["function"]),
|
|
17783
17868
|
target: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)])
|
|
17784
17869
|
})),
|
|
17785
17870
|
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
|
|
@@ -21001,8 +21086,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21001
21086
|
*/
|
|
21002
21087
|
|
|
21003
21088
|
var TimerContext = react__WEBPACK_IMPORTED_MODULE_0___default().createContext({
|
|
21004
|
-
transitionTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__
|
|
21005
|
-
animationTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__
|
|
21089
|
+
transitionTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
21090
|
+
animationTimer: new _timer__WEBPACK_IMPORTED_MODULE_1__["default"]()
|
|
21006
21091
|
});
|
|
21007
21092
|
TimerContext.displayName = "TimerContext";
|
|
21008
21093
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TimerContext);
|
|
@@ -21029,7 +21114,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
21029
21114
|
|
|
21030
21115
|
|
|
21031
21116
|
|
|
21032
|
-
var Timer =
|
|
21117
|
+
var Timer =
|
|
21118
|
+
/*#__PURE__*/
|
|
21119
|
+
function () {
|
|
21033
21120
|
function Timer() {
|
|
21034
21121
|
_classCallCheck(this, Timer);
|
|
21035
21122
|
|
|
@@ -21652,7 +21739,7 @@ var __webpack_exports__ = {};
|
|
|
21652
21739
|
\******************/
|
|
21653
21740
|
__webpack_require__.r(__webpack_exports__);
|
|
21654
21741
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21655
|
-
/* harmony export */ "VictoryBoxPlot": () => (/* reexport safe */ _victory_box_plot__WEBPACK_IMPORTED_MODULE_0__
|
|
21742
|
+
/* harmony export */ "VictoryBoxPlot": () => (/* reexport safe */ _victory_box_plot__WEBPACK_IMPORTED_MODULE_0__["default"])
|
|
21656
21743
|
/* harmony export */ });
|
|
21657
21744
|
/* harmony import */ var _victory_box_plot__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./victory-box-plot */ "./victory-box-plot.js");
|
|
21658
21745
|
|