victory-box-plot 37.3.2 → 37.3.4

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.
@@ -24,14 +24,14 @@ __webpack_require__.r(__webpack_exports__);
24
24
  /* harmony export */ "getData": function() { return /* binding */ getData; },
25
25
  /* harmony export */ "getDomain": function() { return /* binding */ getDomain; }
26
26
  /* harmony export */ });
27
- /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/groupBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/groupBy.js");
28
- /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_0__);
29
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
30
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_1__);
31
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
32
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
33
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
34
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_3__);
27
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
28
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
29
+ /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/groupBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/groupBy.js");
30
+ /* harmony import */ var lodash_groupBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_groupBy__WEBPACK_IMPORTED_MODULE_1__);
31
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
32
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_2__);
33
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
34
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_3__);
35
35
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/data.js");
36
36
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/domain.js");
37
37
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
@@ -54,7 +54,7 @@ const checkProcessedData = data => {
54
54
  if (hasQuartileAttributes) {
55
55
  // check that the independent variable is distinct
56
56
  const values = data.map(d => d._x);
57
- if (!lodash_uniq__WEBPACK_IMPORTED_MODULE_1___default()(values).length === values.length) {
57
+ if (!lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default()(values).length === values.length) {
58
58
  throw new Error(`
59
59
  data prop may only take an array of objects with a unique
60
60
  independent variable. Make sure your x values are distinct.
@@ -101,15 +101,15 @@ const processData = data => {
101
101
  const dataArray = datum[sortKey].map(d => Object.assign({}, datum, {
102
102
  [sortKey]: d
103
103
  }));
104
- const sortedData = lodash_orderBy__WEBPACK_IMPORTED_MODULE_3___default()(dataArray, sortKey);
104
+ const sortedData = lodash_orderBy__WEBPACK_IMPORTED_MODULE_2___default()(dataArray, sortKey);
105
105
  return getSummaryStatistics(sortedData);
106
106
  });
107
107
  } else {
108
108
  /* Group data by independent variable and generate summary statistics for each group */
109
- const groupedData = lodash_groupBy__WEBPACK_IMPORTED_MODULE_0___default()(data, groupKey);
109
+ const groupedData = lodash_groupBy__WEBPACK_IMPORTED_MODULE_1___default()(data, groupKey);
110
110
  return Object.keys(groupedData).map(key => {
111
111
  const datum = groupedData[key];
112
- const sortedData = lodash_orderBy__WEBPACK_IMPORTED_MODULE_3___default()(datum, sortKey);
112
+ const sortedData = lodash_orderBy__WEBPACK_IMPORTED_MODULE_2___default()(datum, sortKey);
113
113
  return getSummaryStatistics(sortedData);
114
114
  });
115
115
  }
@@ -163,7 +163,7 @@ const getLabelStyle = (props, styleObject, namespace) => {
163
163
  return baseStyle;
164
164
  }
165
165
  const tooltipTheme = props.theme && props.theme.tooltip || {};
166
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, tooltipTheme.style, baseStyle);
166
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, tooltipTheme.style, baseStyle);
167
167
  };
168
168
  const getStyles = function (props, styleObject) {
169
169
  if (styleObject === void 0) {
@@ -177,23 +177,23 @@ const getStyles = function (props, styleObject) {
177
177
  height: "100%",
178
178
  width: "100%"
179
179
  };
180
- const labelStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.labels, getLabelStyle(props, styleObject));
181
- const boxStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.boxes, styleObject.boxes);
182
- const whiskerStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.whiskers, styleObject.whiskers);
180
+ const labelStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.labels, getLabelStyle(props, styleObject));
181
+ const boxStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.boxes, styleObject.boxes);
182
+ const whiskerStyles = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.whiskers, styleObject.whiskers);
183
183
  return {
184
184
  boxes: boxStyles,
185
185
  labels: labelStyles,
186
- parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.parent, styleObject.parent, parentStyles),
187
- max: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.max, styleObject.max, whiskerStyles),
188
- maxLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.maxLabels, getLabelStyle(props, styleObject, "max"), labelStyles),
189
- median: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.median, styleObject.median, whiskerStyles),
190
- medianLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.medianLabels, getLabelStyle(props, styleObject, "median"), labelStyles),
191
- min: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.min, styleObject.min, whiskerStyles),
192
- minLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.minLabels, getLabelStyle(props, styleObject, "min"), labelStyles),
193
- q1: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.q1, styleObject.q1, boxStyles),
194
- q1Labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.q1Labels, getLabelStyle(props, styleObject, "q1"), labelStyles),
195
- q3: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.q3, styleObject.q3, boxStyles),
196
- q3Labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, style.q3Labels, getLabelStyle(props, styleObject, "q3"), labelStyles),
186
+ parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.parent, styleObject.parent, parentStyles),
187
+ max: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.max, styleObject.max, whiskerStyles),
188
+ maxLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.maxLabels, getLabelStyle(props, styleObject, "max"), labelStyles),
189
+ median: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.median, styleObject.median, whiskerStyles),
190
+ medianLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.medianLabels, getLabelStyle(props, styleObject, "median"), labelStyles),
191
+ min: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.min, styleObject.min, whiskerStyles),
192
+ minLabels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.minLabels, getLabelStyle(props, styleObject, "min"), labelStyles),
193
+ q1: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.q1, styleObject.q1, boxStyles),
194
+ q1Labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.q1Labels, getLabelStyle(props, styleObject, "q1"), labelStyles),
195
+ q3: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.q3, styleObject.q3, boxStyles),
196
+ q3Labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, style.q3Labels, getLabelStyle(props, styleObject, "q3"), labelStyles),
197
197
  whiskers: whiskerStyles
198
198
  };
199
199
  };
@@ -406,7 +406,7 @@ const getLabelProps = (props, text, type) => {
406
406
  return labelProps;
407
407
  }
408
408
  const tooltipTheme = theme && theme.tooltip || {};
409
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labelProps, victory_core__WEBPACK_IMPORTED_MODULE_7__.omit(tooltipTheme, ["style"]));
409
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, labelProps, victory_core__WEBPACK_IMPORTED_MODULE_7__.omit(tooltipTheme, ["style"]));
410
410
  };
411
411
  const getDataProps = (props, type) => {
412
412
  if (type === "median") {
@@ -5306,10 +5306,10 @@ __webpack_require__.r(__webpack_exports__);
5306
5306
  /* harmony export */ "isInterpolatable": function() { return /* binding */ isInterpolatable; },
5307
5307
  /* harmony export */ "victoryInterpolator": function() { return /* binding */ victoryInterpolator; }
5308
5308
  /* harmony export */ });
5309
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
5310
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__);
5311
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
5312
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__);
5309
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
5310
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
5311
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
5312
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_1__);
5313
5313
  /* harmony import */ var victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-interpolate */ "../../victory-vendor/es/d3-interpolate.js");
5314
5314
 
5315
5315
 
@@ -5335,7 +5335,7 @@ const isInterpolatable = function (obj) {
5335
5335
  return false;
5336
5336
  case "object":
5337
5337
  // Don't try to interpolate class instances (except Date or Array).
5338
- return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(obj);
5338
+ return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(obj);
5339
5339
  case "function":
5340
5340
  // Careful! There may be extra properties on function objects that the
5341
5341
  // component expects to access - for instance, it may be a `d3.scale()`
@@ -5421,7 +5421,7 @@ const interpolateObject = function (startValue, endValue) {
5421
5421
  if (typeof x === "function" || typeof y === "function") {
5422
5422
  return interpolateFunction(x, y);
5423
5423
  }
5424
- if (typeof x === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(x) || typeof y === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(y)) {
5424
+ if (typeof x === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(x) || typeof y === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(y)) {
5425
5425
  return interpolateObject(x, y);
5426
5426
  }
5427
5427
  return (0,victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(x, y);
@@ -5430,7 +5430,7 @@ const interpolateObject = function (startValue, endValue) {
5430
5430
  // When the value is an array, attempt to sort by "key" so that animating nodes may be identified
5431
5431
  // based on "key" instead of index
5432
5432
  const keyData = val => {
5433
- return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(val, "key") : val;
5433
+ return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_1___default()(val, "key") : val;
5434
5434
  };
5435
5435
  const i = {};
5436
5436
  const c = {};
@@ -5497,7 +5497,7 @@ const victoryInterpolator = function (a, b) {
5497
5497
  if (typeof a === "function" || typeof b === "function") {
5498
5498
  return interpolateFunction(a, b);
5499
5499
  }
5500
- if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(b)) {
5500
+ if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(b)) {
5501
5501
  // @ts-expect-error These generics are tough, but they work :)
5502
5502
  return interpolateObject(a, b);
5503
5503
  }
@@ -5673,16 +5673,15 @@ __webpack_require__.r(__webpack_exports__);
5673
5673
  /* harmony export */ "VictoryContainer": function() { return /* binding */ VictoryContainer; },
5674
5674
  /* harmony export */ "useVictoryContainer": function() { return /* binding */ useVictoryContainer; }
5675
5675
  /* harmony export */ });
5676
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
5677
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__);
5678
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
5679
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
5676
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
5677
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
5678
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
5679
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__);
5680
5680
  /* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
5681
5681
  /* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
5682
5682
  /* harmony import */ var _victory_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util */ "../../victory-core/es/victory-util/merge-refs.js");
5683
5683
  /* harmony import */ var _victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-portal/portal-outlet */ "../../victory-core/es/victory-portal/portal-outlet.js");
5684
5684
  /* harmony import */ var _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-portal/portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
5685
-
5686
5685
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5687
5686
 
5688
5687
 
@@ -5690,9 +5689,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
5690
5689
 
5691
5690
 
5692
5691
 
5692
+
5693
5693
  const defaultProps = {
5694
5694
  className: "VictoryContainer",
5695
- portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__.Portal, null),
5695
+ portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__.Portal, null),
5696
5696
  portalZIndex: 99,
5697
5697
  responsive: true,
5698
5698
  role: "img"
@@ -5709,10 +5709,10 @@ function useVictoryContainer(initialProps) {
5709
5709
  height,
5710
5710
  responsive
5711
5711
  } = props;
5712
- const localContainerRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
5712
+ const localContainerRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
5713
5713
 
5714
5714
  // Generated ID stored in ref because it needs to persist across renders
5715
- const generatedId = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()("victory-container-"));
5715
+ const generatedId = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default()("victory-container-"));
5716
5716
  const containerId = props.containerId ?? generatedId.current;
5717
5717
  const getIdForElement = elName => `${containerId}-${elName}`;
5718
5718
  const userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_3__.getSafeUserProps(props);
@@ -5771,7 +5771,7 @@ const VictoryContainer = initialProps => {
5771
5771
  containerRef,
5772
5772
  localContainerRef
5773
5773
  } = useVictoryContainer(initialProps);
5774
- react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(() => {
5774
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
5775
5775
  if (!events?.onWheel) return;
5776
5776
  const handleWheel = e => e.preventDefault();
5777
5777
  const container = localContainerRef?.current;
@@ -5781,7 +5781,7 @@ const VictoryContainer = initialProps => {
5781
5781
  };
5782
5782
  // eslint-disable-next-line react-hooks/exhaustive-deps
5783
5783
  }, []);
5784
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
5784
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
5785
5785
  className: className,
5786
5786
  style: {
5787
5787
  ...style,
@@ -5795,7 +5795,7 @@ const VictoryContainer = initialProps => {
5795
5795
  "data-ouia-component-type": ouiaType,
5796
5796
  "data-ouia-safe": ouiaSafe,
5797
5797
  ref: (0,_victory_util__WEBPACK_IMPORTED_MODULE_4__.mergeRefs)([localContainerRef, containerRef])
5798
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__.PortalProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("svg", _extends({
5798
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__.PortalProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", _extends({
5799
5799
  width: width,
5800
5800
  height: height,
5801
5801
  tabIndex: tabIndex,
@@ -5808,11 +5808,11 @@ const VictoryContainer = initialProps => {
5808
5808
  ...dimensions,
5809
5809
  pointerEvents: "all"
5810
5810
  }
5811
- }, userProps, events), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("title", {
5811
+ }, userProps, events), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("title", {
5812
5812
  id: titleId
5813
- }, title) : null, desc ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("desc", {
5813
+ }, title) : null, desc ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", {
5814
5814
  id: descId
5815
- }, desc) : null, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
5815
+ }, desc) : null, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
5816
5816
  style: {
5817
5817
  ...dimensions,
5818
5818
  zIndex: portalZIndex,
@@ -5820,7 +5820,7 @@ const VictoryContainer = initialProps => {
5820
5820
  top: 0,
5821
5821
  left: 0
5822
5822
  }
5823
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__.PortalOutlet, {
5823
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__.PortalOutlet, {
5824
5824
  as: portalComponent,
5825
5825
  width: width,
5826
5826
  height: height,
@@ -5847,12 +5847,12 @@ __webpack_require__.r(__webpack_exports__);
5847
5847
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5848
5848
  /* harmony export */ "VictoryLabel": function() { return /* binding */ VictoryLabel; }
5849
5849
  /* harmony export */ });
5850
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
5851
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
5850
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
5851
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
5852
5852
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
5853
5853
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
5854
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
5855
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
5854
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
5855
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
5856
5856
  /* harmony import */ var _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-portal/victory-portal */ "../../victory-core/es/victory-portal/victory-portal.js");
5857
5857
  /* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
5858
5858
  /* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
@@ -5863,9 +5863,9 @@ __webpack_require__.r(__webpack_exports__);
5863
5863
  /* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
5864
5864
  /* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
5865
5865
  /* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
5866
+ /* eslint no-magic-numbers: ["error", { "ignore": [-0.5, 0.5, 0, 1, 2] }]*/
5866
5867
 
5867
5868
 
5868
- /* eslint no-magic-numbers: ["error", { "ignore": [-0.5, 0.5, 0, 1, 2] }]*/
5869
5869
 
5870
5870
 
5871
5871
 
@@ -5917,7 +5917,7 @@ const shouldUseMultilineBackgrounds = props => {
5917
5917
  backgroundStyle,
5918
5918
  backgroundPadding
5919
5919
  } = props;
5920
- return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundPadding);
5920
+ return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(backgroundPadding);
5921
5921
  };
5922
5922
  const getStyles = (style, props) => {
5923
5923
  if (props.disableInlineStyles) {
@@ -5933,32 +5933,28 @@ const getStyles = (style, props) => {
5933
5933
  fontSize: getFontSize(baseStyles)
5934
5934
  });
5935
5935
  };
5936
- return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(s => getSingleStyle(s)) : getSingleStyle(style);
5936
+ return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(style) ? style.map(s => getSingleStyle(s)) : getSingleStyle(style);
5937
5937
  };
5938
5938
  const getBackgroundStyles = (style, props) => {
5939
5939
  if (!style) {
5940
5940
  return undefined;
5941
5941
  }
5942
- return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(s => _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(s, props)) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(style, props);
5942
+ return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(style) ? style.map(s => _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(s, props)) : _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateStyle(style, props);
5943
5943
  };
5944
5944
  const getBackgroundPadding = props => {
5945
5945
  if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
5946
5946
  return props.backgroundPadding.map(backgroundPadding => {
5947
5947
  const padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(backgroundPadding, props);
5948
- return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding({
5949
- padding
5950
- });
5948
+ return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding(padding);
5951
5949
  });
5952
5950
  }
5953
5951
  const padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.backgroundPadding, props);
5954
- return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding({
5955
- padding
5956
- });
5952
+ return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding(padding);
5957
5953
  };
5958
5954
  const getLineHeight = props => {
5959
5955
  const lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.lineHeight, props);
5960
5956
  if (Array.isArray(lineHeight)) {
5961
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
5957
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(lineHeight) ? [1] : lineHeight;
5962
5958
  }
5963
5959
  return lineHeight;
5964
5960
  };
@@ -6078,7 +6074,7 @@ const getFullBackground = (calculatedProps, tspanValues) => {
6078
6074
  x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
6079
6075
  y: yCoordinate
6080
6076
  };
6081
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6077
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6082
6078
  };
6083
6079
  const getInlineXOffset = (calculatedProps, textElements, index) => {
6084
6080
  const {
@@ -6148,7 +6144,7 @@ const getChildBackgrounds = (calculatedProps, tspanValues) => {
6148
6144
  x: xCoord - padding.left,
6149
6145
  y: yCoord
6150
6146
  };
6151
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6147
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
6152
6148
  });
6153
6149
  };
6154
6150
  const getBackgroundElement = (calculatedProps, tspanValues) => {
@@ -6279,16 +6275,16 @@ const renderLabel = (calculatedProps, tspanValues) => {
6279
6275
  style: currentStyle,
6280
6276
  children: line
6281
6277
  };
6282
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(tspanComponent, tspanProps);
6278
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tspanComponent, tspanProps);
6283
6279
  });
6284
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(textComponent, textProps, tspans);
6280
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(textComponent, textProps, tspans);
6285
6281
  };
6286
6282
  const defaultProps = {
6287
- backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__.Rect, null),
6288
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null),
6283
+ backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__.Rect, null),
6284
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
6289
6285
  direction: "inherit",
6290
- textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__.Text, null),
6291
- tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_10__.TSpan, null),
6286
+ textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__.Text, null),
6287
+ tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_10__.TSpan, null),
6292
6288
  capHeight: 0.71,
6293
6289
  // Magic number from d3.
6294
6290
  lineHeight: 1
@@ -6325,10 +6321,10 @@ const VictoryLabel = initialProps => {
6325
6321
  if (props.backgroundStyle) {
6326
6322
  const backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
6327
6323
  const children = [backgroundElement, label];
6328
- const backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(props.groupComponent, {}, children);
6329
- return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, backgroundWithLabel) : backgroundWithLabel;
6324
+ const backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.groupComponent, {}, children);
6325
+ return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, backgroundWithLabel) : backgroundWithLabel;
6330
6326
  }
6331
- return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, label) : label;
6327
+ return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, label) : label;
6332
6328
  };
6333
6329
  VictoryLabel.displayName = "VictoryLabel";
6334
6330
  VictoryLabel.role = "label";
@@ -6454,12 +6450,12 @@ __webpack_require__.r(__webpack_exports__);
6454
6450
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6455
6451
  /* harmony export */ "VictoryPortal": function() { return /* binding */ VictoryPortal; }
6456
6452
  /* harmony export */ });
6457
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
6458
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__);
6453
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6454
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6459
6455
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6460
6456
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
6461
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
6462
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
6457
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/uniqueId */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js");
6458
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__);
6463
6459
  /* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
6464
6460
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
6465
6461
  /* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
@@ -6470,14 +6466,14 @@ __webpack_require__.r(__webpack_exports__);
6470
6466
 
6471
6467
 
6472
6468
  const defaultProps = {
6473
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null)
6469
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null)
6474
6470
  };
6475
6471
  const VictoryPortal = initialProps => {
6476
6472
  const props = {
6477
6473
  ...defaultProps,
6478
6474
  ...initialProps
6479
6475
  };
6480
- const [id] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()());
6476
+ const [id] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()());
6481
6477
  const portalContext = (0,_portal_context__WEBPACK_IMPORTED_MODULE_3__.usePortalContext)();
6482
6478
  if (!portalContext) {
6483
6479
  const msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
@@ -6495,12 +6491,12 @@ const VictoryPortal = initialProps => {
6495
6491
  const newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.omit(props, ["children", "groupComponent"]), {
6496
6492
  key: childProps.key ?? id
6497
6493
  });
6498
- const child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(children, newProps);
6499
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
6494
+ const child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(children, newProps);
6495
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
6500
6496
  portalContext?.addChild(id, child);
6501
6497
  // eslint-disable-next-line react-hooks/exhaustive-deps
6502
6498
  }, [props.children]);
6503
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
6499
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
6504
6500
  return () => portalContext?.removeChild(id);
6505
6501
  // eslint-disable-next-line react-hooks/exhaustive-deps
6506
6502
  }, []);
@@ -6521,10 +6517,10 @@ __webpack_require__.r(__webpack_exports__);
6521
6517
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6522
6518
  /* harmony export */ "Border": function() { return /* binding */ Border; }
6523
6519
  /* harmony export */ });
6524
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6525
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
6526
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
6527
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
6520
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6521
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6522
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6523
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
6528
6524
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
6529
6525
  /* harmony import */ var _rect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rect */ "../../victory-core/es/victory-primitives/rect.js");
6530
6526
 
@@ -6556,13 +6552,13 @@ const evaluateProps = props => {
6556
6552
  });
6557
6553
  };
6558
6554
  const defaultProps = {
6559
- rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_3__.Rect, null),
6555
+ rectComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_rect__WEBPACK_IMPORTED_MODULE_3__.Rect, null),
6560
6556
  role: "presentation",
6561
6557
  shapeRendering: "auto"
6562
6558
  };
6563
6559
  const Border = initialProps => {
6564
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
6565
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.rectComponent, {
6560
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
6561
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.rectComponent, {
6566
6562
  ...props.events,
6567
6563
  "aria-label": props.ariaLabel,
6568
6564
  style: props.style,
@@ -6593,10 +6589,10 @@ __webpack_require__.r(__webpack_exports__);
6593
6589
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6594
6590
  /* harmony export */ "LineSegment": function() { return /* binding */ LineSegment; }
6595
6591
  /* harmony export */ });
6596
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6597
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
6598
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
6599
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
6592
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6593
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6594
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6595
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
6600
6596
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
6601
6597
  /* harmony import */ var _line__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./line */ "../../victory-core/es/victory-primitives/line.js");
6602
6598
 
@@ -6628,13 +6624,13 @@ const evaluateProps = props => {
6628
6624
  });
6629
6625
  };
6630
6626
  const defaultProps = {
6631
- lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_3__.Line, null),
6627
+ lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_line__WEBPACK_IMPORTED_MODULE_3__.Line, null),
6632
6628
  role: "presentation",
6633
6629
  shapeRendering: "auto"
6634
6630
  };
6635
6631
  const LineSegment = initialProps => {
6636
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
6637
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.lineComponent, {
6632
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
6633
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.lineComponent, {
6638
6634
  ...props.events,
6639
6635
  "aria-label": props.ariaLabel,
6640
6636
  style: props.style,
@@ -6827,10 +6823,10 @@ __webpack_require__.r(__webpack_exports__);
6827
6823
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6828
6824
  /* harmony export */ "Whisker": function() { return /* binding */ Whisker; }
6829
6825
  /* harmony export */ });
6830
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6831
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
6832
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
6833
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
6826
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6827
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6828
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
6829
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
6834
6830
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
6835
6831
  /* harmony import */ var _line__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./line */ "../../victory-core/es/victory-primitives/line.js");
6836
6832
 
@@ -6860,13 +6856,13 @@ const evaluateProps = props => {
6860
6856
  });
6861
6857
  };
6862
6858
  const defaultProps = {
6863
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null),
6864
- lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_line__WEBPACK_IMPORTED_MODULE_3__.Line, null),
6859
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
6860
+ lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_line__WEBPACK_IMPORTED_MODULE_3__.Line, null),
6865
6861
  role: "presentation",
6866
6862
  shapeRendering: "auto"
6867
6863
  };
6868
6864
  const Whisker = initialProps => {
6869
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
6865
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
6870
6866
  const {
6871
6867
  ariaLabel,
6872
6868
  groupComponent,
@@ -6894,10 +6890,10 @@ const Whisker = initialProps => {
6894
6890
  role,
6895
6891
  shapeRendering
6896
6892
  };
6897
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(groupComponent, {}, [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(lineComponent, Object.assign({
6893
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(groupComponent, {}, [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(lineComponent, Object.assign({
6898
6894
  key: "major-whisker",
6899
6895
  "aria-label": ariaLabel
6900
- }, baseProps, majorWhisker)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(lineComponent, Object.assign({
6896
+ }, baseProps, majorWhisker)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(lineComponent, Object.assign({
6901
6897
  key: "minor-whisker",
6902
6898
  "aria-label": ariaLabel
6903
6899
  }, baseProps, minorWhisker))]);
@@ -8038,22 +8034,22 @@ __webpack_require__.r(__webpack_exports__);
8038
8034
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8039
8035
  /* harmony export */ "VictoryTransition": function() { return /* binding */ VictoryTransition; }
8040
8036
  /* harmony export */ });
8041
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8042
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
8037
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8038
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8043
8039
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
8044
8040
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
8045
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
8046
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
8041
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8042
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_2__);
8043
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
8044
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
8047
8045
  /* harmony import */ var _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-animation/victory-animation */ "../../victory-core/es/victory-animation/victory-animation.js");
8048
8046
  /* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
8049
8047
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
8050
8048
  /* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
8051
8049
  /* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
8052
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
8053
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
8050
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
8054
8051
 
8055
8052
 
8056
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
8057
8053
 
8058
8054
 
8059
8055
 
@@ -8061,7 +8057,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
8061
8057
 
8062
8058
 
8063
8059
 
8064
- class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Component) {
8060
+ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
8065
8061
  static displayName = "VictoryTransition";
8066
8062
  static contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__["default"];
8067
8063
  constructor(props, context) {
@@ -8104,8 +8100,8 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8104
8100
  nextProps
8105
8101
  };
8106
8102
  }
8107
- const oldChildren = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children);
8108
- const nextChildren = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(nextProps.children);
8103
+ const oldChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
8104
+ const nextChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextProps.children);
8109
8105
  const {
8110
8106
  nodesWillExit,
8111
8107
  nodesWillEnter,
@@ -8128,12 +8124,12 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8128
8124
  const childDomain = child.props && child.type.getDomain(child.props, axis);
8129
8125
  return childDomain ? memo.concat(childDomain) : memo;
8130
8126
  } else if (child.props && child.props.children) {
8131
- return memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(child.props.children)));
8127
+ return memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children)));
8132
8128
  }
8133
8129
  return memo;
8134
8130
  }, []);
8135
8131
  };
8136
- const child = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children)[0];
8132
+ const child = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children)[0];
8137
8133
  const childProps = child.props || {};
8138
8134
  const domain = Array.isArray(childProps.domain) ? childProps.domain : childProps.domain && childProps.domain[axis];
8139
8135
  if (!childProps.children && domain) {
@@ -8166,7 +8162,7 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8166
8162
  render() {
8167
8163
  const props = this.pickProps();
8168
8164
  const getTransitionProps = this.props.animate?.getTransitions ? this.props.animate.getTransitions : _victory_util_transitions__WEBPACK_IMPORTED_MODULE_5__.getTransitionPropsFactory(props, this.state, newState => this.setState(newState));
8169
- const child = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children)[0];
8165
+ const child = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children)[0];
8170
8166
  const transitionProps = getTransitionProps(child);
8171
8167
  this.transitionProps = transitionProps;
8172
8168
  const domain = {
@@ -8180,21 +8176,21 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
8180
8176
  }, transitionProps, child.props);
8181
8177
  const animationWhitelist = props.animationWhitelist || [];
8182
8178
  const whitelist = animationWhitelist.concat(["clipWidth"]);
8183
- const propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(combinedProps, whitelist) : combinedProps;
8184
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__.VictoryAnimation, _extends({}, combinedProps.animate, {
8179
+ const propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_2___default()(combinedProps, whitelist) : combinedProps;
8180
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__.VictoryAnimation, _extends({}, combinedProps.animate, {
8185
8181
  data: propsToAnimate
8186
8182
  }), newProps => {
8187
8183
  if (child.props.groupComponent) {
8188
- const groupComponent = this.continuous ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child.props.groupComponent, {
8184
+ const groupComponent = this.continuous ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child.props.groupComponent, {
8189
8185
  clipWidth: newProps.clipWidth || 0
8190
8186
  }) : child.props.groupComponent;
8191
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8187
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8192
8188
  animate: null,
8193
8189
  animating: true,
8194
8190
  groupComponent
8195
8191
  }, newProps, combinedProps));
8196
8192
  }
8197
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8193
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8198
8194
  animate: null,
8199
8195
  animating: true
8200
8196
  }, newProps, combinedProps));
@@ -8215,14 +8211,14 @@ __webpack_require__.r(__webpack_exports__);
8215
8211
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8216
8212
  /* harmony export */ "addEvents": function() { return /* binding */ addEvents; }
8217
8213
  /* harmony export */ });
8218
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8219
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
8220
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
8221
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
8222
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
8223
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
8224
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
8225
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
8214
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8215
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8216
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
8217
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
8218
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
8219
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
8220
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
8221
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_3__);
8226
8222
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
8227
8223
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
8228
8224
  /* harmony import */ var _victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-transition/victory-transition */ "../../victory-core/es/victory-transition/victory-transition.js");
@@ -8369,8 +8365,8 @@ function addEvents(WrappedComponent, options) {
8369
8365
  return {};
8370
8366
  }
8371
8367
  const getState = (key, type) => {
8372
- const result = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, this.getEventState(key, type), this.getSharedEventState(key, type));
8373
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(result) ? undefined : result;
8368
+ const result = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, this.getEventState(key, type), this.getSharedEventState(key, type));
8369
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(result) ? undefined : result;
8374
8370
  };
8375
8371
  const components = options.components || defaultComponents;
8376
8372
  const stateChanges = components.map(component => {
@@ -8383,7 +8379,7 @@ function addEvents(WrappedComponent, options) {
8383
8379
  return stateChanges;
8384
8380
  }
8385
8381
  applyExternalMutations(props, externalMutations) {
8386
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalMutations)) {
8382
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
8387
8383
  const callbacks = props.externalEventMutations.reduce((memo, mutation) => (0,_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(mutation.callback) ? memo.concat(mutation.callback) : memo, []);
8388
8384
  const compiledCallbacks = callbacks.length ? () => {
8389
8385
  callbacks.forEach(c => c());
@@ -8416,7 +8412,7 @@ function addEvents(WrappedComponent, options) {
8416
8412
  sharedEvents,
8417
8413
  externalEventMutations
8418
8414
  } = props;
8419
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_6__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
8415
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_6__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
8420
8416
  }
8421
8417
  cacheValues(obj) {
8422
8418
  Object.keys(obj).forEach(key => {
@@ -8427,10 +8423,10 @@ function addEvents(WrappedComponent, options) {
8427
8423
  const getSharedEventStateFunction = getSharedEventState || this.getSharedEventState.bind(this);
8428
8424
  const sharedParentState = getSharedEventStateFunction("parent", "parent");
8429
8425
  const parentState = this.getEventState("parent", "parent");
8430
- const baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parentState, sharedParentState);
8426
+ const baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parentState, sharedParentState);
8431
8427
  const parentPropsList = baseParentProps.parentControlledProps;
8432
- const parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(baseParentProps, parentPropsList) : {};
8433
- const modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parentProps, props);
8428
+ const parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(baseParentProps, parentPropsList) : {};
8429
+ const modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parentProps, props);
8434
8430
  return typeof WrappedComponent.getBaseProps === "function" ? WrappedComponent.getBaseProps(modifiedProps) : {};
8435
8431
  }
8436
8432
  getAllEvents(props) {
@@ -8450,18 +8446,18 @@ function addEvents(WrappedComponent, options) {
8450
8446
  const currentProps = component && typeof component === "object" && "props" in component ? component.props : undefined;
8451
8447
  if (this.hasEvents) {
8452
8448
  const baseEvents = this.getEvents(this.props, type, key);
8453
- const componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
8449
+ const componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8454
8450
  index,
8455
8451
  key: id
8456
8452
  }, this.getEventState(key, type), this.getSharedEventState(key, type), currentProps, baseProps, {
8457
8453
  id
8458
8454
  });
8459
- const events = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, _events__WEBPACK_IMPORTED_MODULE_6__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
8455
+ const events = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, _events__WEBPACK_IMPORTED_MODULE_6__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
8460
8456
  return Object.assign({}, componentProps, {
8461
8457
  events
8462
8458
  });
8463
8459
  }
8464
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
8460
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8465
8461
  index,
8466
8462
  key: id
8467
8463
  }, currentProps, baseProps, {
@@ -8475,15 +8471,15 @@ function addEvents(WrappedComponent, options) {
8475
8471
  this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_6__.getGlobalEvents(parentProps.events);
8476
8472
  parentProps.events = _events__WEBPACK_IMPORTED_MODULE_6__.omitGlobalEvents(parentProps.events);
8477
8473
  }
8478
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(component, parentProps, children);
8474
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(component, parentProps, children);
8479
8475
  }
8480
8476
  animateComponent(props, defaultAnimationWhitelist) {
8481
8477
  const animationWhitelist = typeof props.animate === "object" && props.animate?.animationWhitelist || defaultAnimationWhitelist;
8482
8478
  const Comp = this.constructor;
8483
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__.VictoryTransition, {
8479
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__.VictoryTransition, {
8484
8480
  animate: props.animate,
8485
8481
  animationWhitelist: animationWhitelist
8486
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Comp, props));
8482
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Comp, props));
8487
8483
  }
8488
8484
 
8489
8485
  // Used by `VictoryLine` and `VictoryArea`
@@ -8498,12 +8494,12 @@ function addEvents(WrappedComponent, options) {
8498
8494
  let newMemo = memo;
8499
8495
  const labelProps = this.getComponentProps(labelComponent, "labels", key);
8500
8496
  if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
8501
- newMemo = newMemo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(labelComponent, labelProps));
8497
+ newMemo = newMemo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(labelComponent, labelProps));
8502
8498
  }
8503
8499
  return newMemo;
8504
8500
  }, []);
8505
8501
  const dataProps = this.getComponentProps(dataComponent, "data", "all");
8506
- const children = [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(dataComponent, dataProps), ...labelComponents];
8502
+ const children = [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(dataComponent, dataProps), ...labelComponents];
8507
8503
  return this.renderContainer(groupComponent, children);
8508
8504
  }
8509
8505
  renderData(props, shouldRenderDatum) {
@@ -8518,14 +8514,14 @@ function addEvents(WrappedComponent, options) {
8518
8514
  const dataComponents = this.dataKeys.reduce((validDataComponents, _dataKey, index) => {
8519
8515
  const dataProps = this.getComponentProps(dataComponent, "data", index);
8520
8516
  if (shouldRenderDatum(dataProps.datum)) {
8521
- validDataComponents.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(dataComponent, dataProps));
8517
+ validDataComponents.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(dataComponent, dataProps));
8522
8518
  }
8523
8519
  return validDataComponents;
8524
8520
  }, []);
8525
8521
  const labelComponents = this.dataKeys.map((_dataKey, index) => {
8526
8522
  const labelProps = this.getComponentProps(labelComponent, "labels", index);
8527
8523
  if (labelProps.text !== undefined && labelProps.text !== null) {
8528
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(labelComponent, labelProps);
8524
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(labelComponent, labelProps);
8529
8525
  }
8530
8526
  return undefined;
8531
8527
  }).filter(Boolean);
@@ -8631,24 +8627,24 @@ __webpack_require__.r(__webpack_exports__);
8631
8627
  /* harmony export */ "getStringsFromData": function() { return /* binding */ getStringsFromData; },
8632
8628
  /* harmony export */ "isDataComponent": function() { return /* binding */ isDataComponent; }
8633
8629
  /* harmony export */ });
8634
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
8635
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__);
8636
- /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isUndefined */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isUndefined.js");
8637
- /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__);
8630
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8631
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8632
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
8633
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
8638
8634
  /* harmony import */ var lodash_isEqual__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isEqual */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEqual.js");
8639
8635
  /* harmony import */ var lodash_isEqual__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEqual__WEBPACK_IMPORTED_MODULE_2__);
8640
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
8641
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
8642
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
8643
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__);
8644
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
8645
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_5__);
8646
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
8647
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6__);
8648
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
8649
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_7__);
8650
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "react");
8651
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
8636
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
8637
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3__);
8638
+ /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/isUndefined */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isUndefined.js");
8639
+ /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4__);
8640
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
8641
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_5__);
8642
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash/orderBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js");
8643
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_6__);
8644
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
8645
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_7__);
8646
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
8647
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_8__);
8652
8648
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
8653
8649
  /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
8654
8650
  /* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
@@ -8682,7 +8678,7 @@ function getLength(data) {
8682
8678
 
8683
8679
  // Returns generated data for a given axis based on domain and sample from props
8684
8680
  function generateDataArray(props, axis) {
8685
- const propsDomain = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6___default()(props.domain) ? props.domain[axis] : props.domain;
8681
+ const propsDomain = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3___default()(props.domain) ? props.domain[axis] : props.domain;
8686
8682
  const domain = propsDomain || _scale__WEBPACK_IMPORTED_MODULE_10__.getBaseScale(props, axis).domain();
8687
8683
  const samples = props.samples || 1;
8688
8684
  const domainMax = Math.max(...domain);
@@ -8707,7 +8703,7 @@ function sortData(dataset, sortKey, sortOrder) {
8707
8703
  formattedSortKey = `_${sortKey}`;
8708
8704
  }
8709
8705
  const order = sortOrder === "ascending" ? "asc" : "desc";
8710
- return lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default()(dataset, formattedSortKey, order);
8706
+ return lodash_orderBy__WEBPACK_IMPORTED_MODULE_6___default()(dataset, formattedSortKey, order);
8711
8707
  }
8712
8708
 
8713
8709
  // This method will remove data points that break certain scales. (log scale only)
@@ -8751,7 +8747,7 @@ function getEventKey(key) {
8751
8747
  return () => undefined;
8752
8748
  }
8753
8749
  // otherwise, assume it is an array index, property key or path (_.property handles all three)
8754
- return lodash_property__WEBPACK_IMPORTED_MODULE_5___default()(key);
8750
+ return lodash_property__WEBPACK_IMPORTED_MODULE_7___default()(key);
8755
8751
  }
8756
8752
 
8757
8753
  // Returns data with an eventKey prop added to each datum
@@ -8810,12 +8806,12 @@ function formatDataFromDomain(dataset, domain, defaultBaseline) {
8810
8806
  if (isUnderMinY(baseline) && !isUnderMinY(value)) _y0 = minDomainY;
8811
8807
  // baseline and value with only baseline above max, set baseline to maxDomainY
8812
8808
  if (isOverMaxY(baseline) && !isOverMaxY(value)) _y0 = maxDomainY;
8813
- return Object.assign({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default()({
8809
+ return Object.assign({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_5___default()({
8814
8810
  _x,
8815
8811
  _y,
8816
8812
  _y0,
8817
8813
  _y1
8818
- }, (lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default())));
8814
+ }, (lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4___default())));
8819
8815
  });
8820
8816
  }
8821
8817
 
@@ -8829,7 +8825,7 @@ function createStringMap(props, axis) {
8829
8825
  const stringsFromAxes = getStringsFromAxes(props, axis);
8830
8826
  const stringsFromCategories = getStringsFromCategories(props, axis);
8831
8827
  const stringsFromData = getStringsFromData(props, axis);
8832
- const allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_7___default()([...stringsFromAxes, ...stringsFromCategories, ...stringsFromData]);
8828
+ const allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_8___default()([...stringsFromAxes, ...stringsFromCategories, ...stringsFromData]);
8833
8829
  return allStrings.length === 0 ? null : allStrings.reduce((memo, string, index) => {
8834
8830
  memo[string] = index + 1;
8835
8831
  return memo;
@@ -8915,7 +8911,7 @@ function formatData(dataset, props, expectedKeys) {
8915
8911
  return memo;
8916
8912
  }, {});
8917
8913
  const formattedDatum = Object.assign({}, processedValues, parsedDatum);
8918
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(formattedDatum)) {
8914
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(formattedDatum)) {
8919
8915
  dataArr.push(formattedDatum);
8920
8916
  }
8921
8917
  return dataArr;
@@ -9042,7 +9038,7 @@ function isDataComponent(component) {
9042
9038
  };
9043
9039
  let role = getRole(component);
9044
9040
  if (role === "portal") {
9045
- const children = react__WEBPACK_IMPORTED_MODULE_8___default().Children.toArray(component.props.children);
9041
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(component.props.children);
9046
9042
  role = children.length ? getRole(children[0]) : "";
9047
9043
  }
9048
9044
  const whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
@@ -9177,14 +9173,14 @@ __webpack_require__.r(__webpack_exports__);
9177
9173
  /* harmony export */ "getSymmetricDomain": function() { return /* binding */ getSymmetricDomain; },
9178
9174
  /* harmony export */ "isDomainComponent": function() { return /* binding */ isDomainComponent; }
9179
9175
  /* harmony export */ });
9180
- /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isDate */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isDate.js");
9181
- /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_0__);
9182
- /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/sortedUniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedUniq.js");
9183
- /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1__);
9176
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9177
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
9178
+ /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isDate */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isDate.js");
9179
+ /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_1__);
9184
9180
  /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/isPlainObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js");
9185
9181
  /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__);
9186
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
9187
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
9182
+ /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/sortedUniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedUniq.js");
9183
+ /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__);
9188
9184
  /* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./data */ "../../victory-core/es/victory-util/data.js");
9189
9185
  /* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
9190
9186
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
@@ -9273,9 +9269,9 @@ function padDomain(domain, props, axis) {
9273
9269
  max: max.valueOf() + simplePadding.right
9274
9270
  };
9275
9271
  const singleQuadrantDomainPadding = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.singleQuadrantDomainPadding) ? props.singleQuadrantDomainPadding[axis] : props.singleQuadrantDomainPadding;
9276
- const addsQuadrants = min >= 0 && paddedDomain.min <= 0 || max <= 0 && paddedDomain.max >= 0;
9272
+ const addsQuadrants = min.valueOf() >= 0 && paddedDomain.min <= 0 || max.valueOf() <= 0 && paddedDomain.max >= 0;
9277
9273
  const adjust = (val, type) => {
9278
- const coerce = type === "min" && min >= 0 && val <= 0 || type === "max" && max <= 0 && val >= 0;
9274
+ const coerce = type === "min" && min.valueOf() >= 0 && val <= 0 || type === "max" && max.valueOf() <= 0 && val >= 0;
9279
9275
  return coerce ? 0 : val;
9280
9276
  };
9281
9277
  if (addsQuadrants && singleQuadrantDomainPadding !== false) {
@@ -9498,7 +9494,7 @@ function getMaxFromProps(props, axis) {
9498
9494
  if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.maxDomain) && props.maxDomain[axis] !== undefined) {
9499
9495
  return props.maxDomain[axis];
9500
9496
  }
9501
- return typeof props.maxDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.maxDomain) ? props.maxDomain : undefined;
9497
+ return typeof props.maxDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default()(props.maxDomain) ? props.maxDomain : undefined;
9502
9498
  }
9503
9499
 
9504
9500
  /**
@@ -9511,7 +9507,7 @@ function getMinFromProps(props, axis) {
9511
9507
  if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.minDomain) && props.minDomain[axis] !== undefined) {
9512
9508
  return props.minDomain[axis];
9513
9509
  }
9514
- return typeof props.minDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.minDomain) ? props.minDomain : undefined;
9510
+ return typeof props.minDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default()(props.minDomain) ? props.minDomain : undefined;
9515
9511
  }
9516
9512
 
9517
9513
  /**
@@ -9522,7 +9518,7 @@ function getMinFromProps(props, axis) {
9522
9518
  * @returns {Array} the symmetric domain
9523
9519
  */
9524
9520
  function getSymmetricDomain(domain, values) {
9525
- const processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1___default()(values.sort((a, b) => a - b));
9521
+ const processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default()(values.sort((a, b) => a - b));
9526
9522
  const step = processedData[1] - processedData[0];
9527
9523
  return [domain[0], domain[1] + step];
9528
9524
  }
@@ -9538,7 +9534,7 @@ function isDomainComponent(component) {
9538
9534
  };
9539
9535
  let role = getRole(component);
9540
9536
  if (role === "portal") {
9541
- const children = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(component.props.children);
9537
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(component.props.children);
9542
9538
  role = children.length ? getRole(children[0]) : "";
9543
9539
  }
9544
9540
  const whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
@@ -9569,14 +9565,14 @@ __webpack_require__.r(__webpack_exports__);
9569
9565
  /* harmony export */ "getScopedEvents": function() { return /* binding */ getScopedEvents; },
9570
9566
  /* harmony export */ "omitGlobalEvents": function() { return /* binding */ omitGlobalEvents; }
9571
9567
  /* harmony export */ });
9572
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
9573
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_0__);
9574
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
9575
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_1__);
9576
- /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/pickBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pickBy.js");
9577
- /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_2__);
9578
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
9579
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
9568
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isEmpty */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isEmpty.js");
9569
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
9570
+ /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/pickBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pickBy.js");
9571
+ /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_1__);
9572
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/omitBy */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/omitBy.js");
9573
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_2__);
9574
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/uniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js");
9575
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_3__);
9580
9576
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
9581
9577
 
9582
9578
 
@@ -9652,7 +9648,7 @@ getScopedEvents) {
9652
9648
  */
9653
9649
  // eslint-disable-next-line max-params
9654
9650
  function getScopedEvents(events, namespace, childType, baseProps) {
9655
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(events)) {
9651
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events)) {
9656
9652
  return {};
9657
9653
  }
9658
9654
 
@@ -9765,7 +9761,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
9765
9761
  // eslint-disable-next-line max-params
9766
9762
  const onEvent = (evt, childProps, eventKey, eventName) => {
9767
9763
  const eventReturn = events[eventName](evt, childProps, eventKey, this);
9768
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(eventReturn)) {
9764
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(eventReturn)) {
9769
9765
  const callbacks = compileCallbacks(eventReturn);
9770
9766
  this.setState(parseEventReturn(eventReturn, eventKey), callbacks);
9771
9767
  }
@@ -9826,7 +9822,7 @@ function getExternalMutationsWithChildren(mutations, baseProps, baseState, child
9826
9822
  const childState = baseState[childName];
9827
9823
  const mutation = getExternalMutations(mutations, baseProps[childName], baseState[childName], childName);
9828
9824
  memo[childName] = mutation ? mutation : childState;
9829
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
9825
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
9830
9826
  }, {});
9831
9827
  }
9832
9828
 
@@ -9862,7 +9858,7 @@ function getExternalMutations(mutations, baseProps, baseState, childName) {
9862
9858
  } else {
9863
9859
  // use keys from both state and props so that elements not intially included in baseProps
9864
9860
  // will be used. (i.e. labels)
9865
- const targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_0___default()(Object.keys(keyProps).concat(Object.keys(keyState)));
9861
+ const targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default()(Object.keys(keyProps).concat(Object.keys(keyState)));
9866
9862
  memo[eventKey] = targets.reduce((m, target) => {
9867
9863
  const identifier = {
9868
9864
  eventKey,
@@ -9871,10 +9867,10 @@ function getExternalMutations(mutations, baseProps, baseState, childName) {
9871
9867
  };
9872
9868
  const mutation = getExternalMutation(mutations, keyProps[target], keyState[target], identifier);
9873
9869
  m[target] = mutation !== undefined ? Object.assign({}, keyState[target], mutation) : keyState[target];
9874
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(m, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
9870
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(m, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
9875
9871
  }, {});
9876
9872
  }
9877
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
9873
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
9878
9874
  }, {});
9879
9875
  }
9880
9876
 
@@ -9906,11 +9902,11 @@ function getExternalMutation(mutations, baseProps, baseState, identifier) {
9906
9902
  }
9907
9903
  // find any mutation objects that match the target
9908
9904
  const targetMutations = scopedMutations.filter(m => filterMutations(m, "target"));
9909
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targetMutations)) {
9905
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(targetMutations)) {
9910
9906
  return undefined;
9911
9907
  }
9912
9908
  const keyMutations = targetMutations.filter(m => filterMutations(m, "eventKey"));
9913
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(keyMutations)) {
9909
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(keyMutations)) {
9914
9910
  return undefined;
9915
9911
  }
9916
9912
  return keyMutations.reduce((memo, curr) => {
@@ -9936,8 +9932,8 @@ function getGlobalEventNameFromKey(key) {
9936
9932
  const match = key.match(GLOBAL_EVENT_REGEX);
9937
9933
  return match && match[1] && match[1].toLowerCase();
9938
9934
  }
9939
- const getGlobalEvents = events => lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9940
- const omitGlobalEvents = events => lodash_omitBy__WEBPACK_IMPORTED_MODULE_1___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9935
+ const getGlobalEvents = events => lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9936
+ const omitGlobalEvents = events => lodash_omitBy__WEBPACK_IMPORTED_MODULE_2___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9941
9937
  const emulateReactEvent = event => Object.assign(event, {
9942
9938
  nativeEvent: event
9943
9939
  });
@@ -9978,40 +9974,45 @@ __webpack_require__.r(__webpack_exports__);
9978
9974
  /* harmony export */ "reduceChildren": function() { return /* binding */ reduceChildren; },
9979
9975
  /* harmony export */ "scalePoint": function() { return /* binding */ scalePoint; }
9980
9976
  /* harmony export */ });
9981
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
9982
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
9983
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
9984
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_1__);
9985
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
9986
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
9987
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
9988
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
9977
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9978
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
9979
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
9980
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
9981
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/property */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js");
9982
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_2__);
9983
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/pick */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
9984
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_3__);
9989
9985
 
9990
9986
 
9991
9987
 
9992
9988
 
9993
- // Private Functions
9994
-
9995
- function getCartesianRange(props, axis) {
9996
- // determine how to lay the axis and what direction positive and negative are
9997
- const vertical = axis !== "x";
9998
- const padding = getPadding(props);
9989
+ /**
9990
+ * Determine the range of a cartesian axis
9991
+ */
9992
+ function getCartesianRange(options) {
9993
+ const vertical = options.axis !== "x";
9999
9994
  if (vertical) {
10000
- return [props.height - padding.bottom, padding.top];
9995
+ return [options.height - options.padding.bottom, options.padding.top];
10001
9996
  }
10002
- return [padding.left, props.width - padding.right];
9997
+ return [options.padding.left, options.width - options.padding.right];
10003
9998
  }
10004
- function getPolarRange(props, axis) {
10005
- if (axis === "x") {
10006
- const startAngle = degreesToRadians(props.startAngle || 0);
10007
- const endAngle = degreesToRadians(props.endAngle || 360);
9999
+
10000
+ /**
10001
+ * Determine the range of a polar axis in radians
10002
+ */
10003
+ function getPolarRange(options) {
10004
+ if (options.axis === "x") {
10005
+ const startAngle = degreesToRadians(options.startAngle || 0);
10006
+ const endAngle = degreesToRadians(options.endAngle || 360);
10008
10007
  return [startAngle, endAngle];
10009
10008
  }
10010
- return [props.innerRadius || 0, getRadius(props)];
10009
+ return [options.innerRadius || 0, getRadius({
10010
+ height: options.height,
10011
+ width: options.width,
10012
+ padding: options.padding
10013
+ })];
10011
10014
  }
10012
10015
 
10013
- // Exported Functions
10014
-
10015
10016
  /**
10016
10017
  * Creates an object composed of the inverted keys and values of object.
10017
10018
  * If object contains duplicate values, subsequent values overwrite property assignments of previous values.
@@ -10048,8 +10049,11 @@ function omit(originalObject, ks) {
10048
10049
  }
10049
10050
  return newObject;
10050
10051
  }
10052
+
10053
+ /**
10054
+ * Coalesce the x and y values from a data point
10055
+ */
10051
10056
  function getPoint(datum) {
10052
- const exists = val => val !== undefined;
10053
10057
  const {
10054
10058
  _x,
10055
10059
  _x1,
@@ -10060,16 +10064,20 @@ function getPoint(datum) {
10060
10064
  _y0,
10061
10065
  _voronoiY
10062
10066
  } = datum;
10063
- const defaultX = exists(_x1) ? _x1 : _x;
10064
- const defaultY = exists(_y1) ? _y1 : _y;
10067
+ const defaultX = _x1 ?? _x;
10068
+ const defaultY = _y1 ?? _y;
10065
10069
  const point = {
10066
- x: exists(_voronoiX) ? _voronoiX : defaultX,
10067
- x0: exists(_x0) ? _x0 : _x,
10068
- y: exists(_voronoiY) ? _voronoiY : defaultY,
10069
- y0: exists(_y0) ? _y0 : _y
10070
+ x: _voronoiX ?? defaultX,
10071
+ x0: _x0 ?? _x,
10072
+ y: _voronoiY ?? defaultY,
10073
+ y0: _y0 ?? _y
10070
10074
  };
10071
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, point, datum);
10075
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, point, datum);
10072
10076
  }
10077
+
10078
+ /**
10079
+ * Scale a point based on the origin, direction, and given scale function
10080
+ */
10073
10081
  function scalePoint(props, datum) {
10074
10082
  const {
10075
10083
  scale,
@@ -10092,11 +10100,11 @@ function scalePoint(props, datum) {
10092
10100
  y0: polar ? -y0 * Math.sin(x0) + origin.x : y0
10093
10101
  };
10094
10102
  }
10095
- function getPadding(props, name) {
10096
- if (name === void 0) {
10097
- name = "padding";
10098
- }
10099
- const padding = props[name];
10103
+
10104
+ /**
10105
+ * Returns a padding value from a number or partial padding values
10106
+ */
10107
+ function getPadding(padding) {
10100
10108
  const paddingVal = typeof padding === "number" ? padding : 0;
10101
10109
  const paddingObj = typeof padding === "object" ? padding : {};
10102
10110
  return {
@@ -10106,6 +10114,10 @@ function getPadding(props, name) {
10106
10114
  right: paddingObj.right || paddingVal
10107
10115
  };
10108
10116
  }
10117
+
10118
+ /**
10119
+ * Returns true if the component is defined as a tooltip
10120
+ */
10109
10121
  function isTooltip(component) {
10110
10122
  const labelRole = component && component.type && component.type.role;
10111
10123
  return labelRole === "tooltip";
@@ -10120,8 +10132,8 @@ function getDefaultStyles(props, role) {
10120
10132
  return defaultStyles;
10121
10133
  }
10122
10134
  const tooltipStyle = theme.tooltip && theme.tooltip.style || {};
10123
- const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, tooltipStyle, defaultStyles.labels);
10124
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, {
10135
+ const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, tooltipStyle, defaultStyles.labels);
10136
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, {
10125
10137
  labels: labelStyle
10126
10138
  }, defaultStyles);
10127
10139
  }
@@ -10129,7 +10141,7 @@ function getStyles(style, defaultStyles) {
10129
10141
  const width = "100%";
10130
10142
  const height = "100%";
10131
10143
  if (!style) {
10132
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
10144
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
10133
10145
  parent: {
10134
10146
  height,
10135
10147
  width
@@ -10145,14 +10157,18 @@ function getStyles(style, defaultStyles) {
10145
10157
  const defaultLabels = defaultStyles && defaultStyles.labels || {};
10146
10158
  const defaultData = defaultStyles && defaultStyles.data || {};
10147
10159
  return {
10148
- parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parent, defaultParent, {
10160
+ parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parent, defaultParent, {
10149
10161
  width,
10150
10162
  height
10151
10163
  }),
10152
- labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labels, defaultLabels),
10153
- data: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, data, defaultData)
10164
+ labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, labels, defaultLabels),
10165
+ data: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, data, defaultData)
10154
10166
  };
10155
10167
  }
10168
+
10169
+ /**
10170
+ * Returns the value of a prop or accessor function with the given props
10171
+ */
10156
10172
  function evaluateProp(prop, props) {
10157
10173
  return isFunction(prop) ? prop(props) : prop;
10158
10174
  }
@@ -10174,19 +10190,28 @@ function degreesToRadians(degrees) {
10174
10190
  function radiansToDegrees(radians) {
10175
10191
  return typeof radians === "number" ? radians / (Math.PI / 180) : radians;
10176
10192
  }
10177
- function getRadius(props) {
10193
+
10194
+ /**
10195
+ * Get the maximum radius that will fit in the container
10196
+ */
10197
+ function getRadius(options) {
10198
+ const {
10199
+ width,
10200
+ height,
10201
+ padding
10202
+ } = options;
10178
10203
  const {
10179
10204
  left,
10180
10205
  right,
10181
10206
  top,
10182
10207
  bottom
10183
- } = getPadding(props);
10184
- const {
10185
- width,
10186
- height
10187
- } = props;
10208
+ } = padding;
10188
10209
  return Math.min(width - left - right, height - top - bottom) / 2;
10189
10210
  }
10211
+
10212
+ /**
10213
+ * Returns the origin for a polar chart within the padded area
10214
+ */
10190
10215
  function getPolarOrigin(props) {
10191
10216
  const {
10192
10217
  width,
@@ -10197,7 +10222,7 @@ function getPolarOrigin(props) {
10197
10222
  bottom,
10198
10223
  left,
10199
10224
  right
10200
- } = getPadding(props);
10225
+ } = getPadding(props.padding);
10201
10226
  const radius = Math.min(width - left - right, height - top - bottom) / 2;
10202
10227
  const offsetWidth = width / 2 + left - right;
10203
10228
  const offsetHeight = height / 2 + top - bottom;
@@ -10206,13 +10231,30 @@ function getPolarOrigin(props) {
10206
10231
  y: offsetHeight + radius > height ? radius + top - bottom : offsetHeight
10207
10232
  };
10208
10233
  }
10234
+
10235
+ /**
10236
+ * Determine the range of an axis based on the given props
10237
+ */
10209
10238
  function getRange(props, axis) {
10210
10239
  if (props.range && props.range[axis]) {
10211
10240
  return props.range[axis];
10212
10241
  } else if (props.range && Array.isArray(props.range)) {
10213
10242
  return props.range;
10214
10243
  }
10215
- return props.polar ? getPolarRange(props, axis) : getCartesianRange(props, axis);
10244
+ return props.polar ? getPolarRange({
10245
+ axis,
10246
+ innerRadius: props.innerRadius,
10247
+ startAngle: props.startAngle,
10248
+ endAngle: props.endAngle,
10249
+ height: props.height,
10250
+ width: props.width,
10251
+ padding: getPadding(props.padding)
10252
+ }) : getCartesianRange({
10253
+ axis,
10254
+ height: props.height,
10255
+ width: props.width,
10256
+ padding: getPadding(props.padding)
10257
+ });
10216
10258
  }
10217
10259
 
10218
10260
  /**
@@ -10244,7 +10286,7 @@ function createAccessor(key) {
10244
10286
  return x => x;
10245
10287
  }
10246
10288
  // otherwise, assume it is an array index, property key or path (_.property handles all three)
10247
- return lodash_property__WEBPACK_IMPORTED_MODULE_1___default()(key);
10289
+ return lodash_property__WEBPACK_IMPORTED_MODULE_2___default()(key);
10248
10290
  }
10249
10291
  function modifyProps(props, fallbackProps, role) {
10250
10292
  const theme = props.theme && props.theme[role] ? props.theme[role] : {};
@@ -10253,7 +10295,7 @@ function modifyProps(props, fallbackProps, role) {
10253
10295
  const defaultObject = horizontal === undefined ? {} : {
10254
10296
  horizontal
10255
10297
  };
10256
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()(defaultObject, props, themeProps, fallbackProps);
10298
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(defaultObject, props, themeProps, fallbackProps);
10257
10299
  }
10258
10300
 
10259
10301
  /**
@@ -10340,10 +10382,10 @@ initialMemo, combine) {
10340
10382
  const childRole = child.type && child.type.role;
10341
10383
  const childName = child.props.name || `${childRole}-${names[index]}`;
10342
10384
  if (child.props && child.props.children) {
10343
- const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(parentProps, sharedProps));
10344
- const nestedChildren = child.type && child.type.role === "stack" && isFunction(child.type.getChildren) ? child.type.getChildren(childProps) : react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(child.props.children).map(c => {
10345
- const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(childProps, sharedProps));
10346
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(c, nestedChildProps);
10385
+ const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(parentProps, sharedProps));
10386
+ const nestedChildren = child.type && child.type.role === "stack" && isFunction(child.type.getChildren) ? child.type.getChildren(childProps) : react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children).map(c => {
10387
+ const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(childProps, sharedProps));
10388
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(c, nestedChildProps);
10347
10389
  });
10348
10390
  const childNames = nestedChildren.map((c, i) => `${childName}-${i}`);
10349
10391
  const nestedResults = traverseChildren(nestedChildren, childNames, child);
@@ -10357,7 +10399,7 @@ initialMemo, combine) {
10357
10399
  return newMemo;
10358
10400
  }, initialMemo);
10359
10401
  };
10360
- const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_3__.isValidElement);
10402
+ const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_0__.isValidElement);
10361
10403
  const childNames = validChildren.map((c, i) => i);
10362
10404
  return traverseChildren(validChildren, childNames);
10363
10405
  }
@@ -10377,10 +10419,10 @@ function isHorizontal(props) {
10377
10419
  if (memo || childProps.horizontal || !childProps.children) {
10378
10420
  return memo || childProps.horizontal;
10379
10421
  }
10380
- return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(childProps.children));
10422
+ return traverseChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(childProps.children));
10381
10423
  }, false);
10382
10424
  };
10383
- return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(props.children));
10425
+ return traverseChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children));
10384
10426
  }
10385
10427
 
10386
10428
  /***/ }),
@@ -10453,9 +10495,10 @@ __webpack_require__.r(__webpack_exports__);
10453
10495
  /* harmony export */ "getProps": function() { return /* binding */ getProps; },
10454
10496
  /* harmony export */ "getText": function() { return /* binding */ getText; }
10455
10497
  /* harmony export */ });
10498
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10456
10499
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
10457
10500
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
10458
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10501
+
10459
10502
 
10460
10503
 
10461
10504
  // Private Functions
@@ -10701,11 +10744,12 @@ __webpack_require__.r(__webpack_exports__);
10701
10744
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10702
10745
  /* harmony export */ "warn": function() { return /* binding */ warn; }
10703
10746
  /* harmony export */ });
10704
- /* global console */
10747
+ /* global console process */
10705
10748
  /* eslint-disable no-console */
10706
10749
 
10707
- // TODO: Use "warning" npm module like React is switching to.
10708
10750
  function warn(message) {
10751
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
10752
+ // @ts-ignore - Webpack DefinePlugin will replace process.env.NODE_ENV
10709
10753
  if (true) {
10710
10754
  if (console && console.warn) {
10711
10755
  console.warn(message);
@@ -10998,13 +11042,15 @@ __webpack_require__.r(__webpack_exports__);
10998
11042
  /* harmony export */ "approximateTextSize": function() { return /* binding */ approximateTextSize; },
10999
11043
  /* harmony export */ "convertLengthToPixels": function() { return /* binding */ convertLengthToPixels; }
11000
11044
  /* harmony export */ });
11001
- /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/memoize */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js");
11002
- /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_memoize__WEBPACK_IMPORTED_MODULE_0__);
11003
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11004
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
11005
-
11006
- // http://www.pearsonified.com/2012/01/characters-per-line.php
11045
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11046
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
11047
+ /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/memoize */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js");
11048
+ /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_memoize__WEBPACK_IMPORTED_MODULE_1__);
11049
+ // http://www.pearsonified.com/2012/01/characters-per-line.php
11007
11050
  /* eslint-disable no-magic-numbers */
11051
+
11052
+
11053
+
11008
11054
  // Based on measuring specific character widths
11009
11055
  // as in the following example https://bl.ocks.org/tophtucker/62f93a4658387bb61e4510c37e2e97cf
11010
11056
  // For new fonts: pull gist, open index.html locally, add font files (if not generic), enter font name in `font-family` input
@@ -11183,7 +11229,7 @@ const convertLengthToPixels = (length, fontSize) => {
11183
11229
  };
11184
11230
  const _prepareParams = (inputStyle, index) => {
11185
11231
  const lineStyle = Array.isArray(inputStyle) ? inputStyle[index] : inputStyle;
11186
- const style = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, lineStyle, defaultStyle);
11232
+ const style = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, lineStyle, defaultStyle);
11187
11233
  return Object.assign({}, style, {
11188
11234
  fontFamily: style.fontFamily,
11189
11235
  letterSpacing: typeof style.letterSpacing === "number" ? style.letterSpacing : convertLengthToPixels(String(style.letterSpacing), style.fontSize),
@@ -11231,7 +11277,7 @@ const _approximateDimensionsInternal = (text, style) => {
11231
11277
  height: heightWithRotate * coefficients.heightOverlapCoef
11232
11278
  };
11233
11279
  };
11234
- const _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default()(() => {
11280
+ const _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default()(() => {
11235
11281
  const element = document.createElementNS("http://www.w3.org/2000/svg", "svg");
11236
11282
  element.setAttribute("xlink", "http://www.w3.org/1999/xlink");
11237
11283
  element.setAttribute("width", "300");
@@ -11252,7 +11298,7 @@ const styleToKeyComponent = style => {
11252
11298
  }
11253
11299
  return `${style.angle}:${style.fontFamily}:${style.fontSize}:${style.letterSpacing}:${style.lineHeight}`;
11254
11300
  };
11255
- const _measureDimensionsInternal = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default()((text, style) => {
11301
+ const _measureDimensionsInternal = lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default()((text, style) => {
11256
11302
  let containerElement = _getMeasurementContainer();
11257
11303
  if (!containerElement.isConnected) {
11258
11304
  _getMeasurementContainer.cache.clear?.();
@@ -11422,12 +11468,12 @@ __webpack_require__.r(__webpack_exports__);
11422
11468
  /* harmony export */ "getInitialTransitionState": function() { return /* binding */ getInitialTransitionState; },
11423
11469
  /* harmony export */ "getTransitionPropsFactory": function() { return /* binding */ getTransitionPropsFactory; }
11424
11470
  /* harmony export */ });
11425
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js");
11426
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_0__);
11471
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
11472
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
11427
11473
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
11428
11474
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
11429
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
11430
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
11475
+ /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/identity */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js");
11476
+ /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_2__);
11431
11477
 
11432
11478
 
11433
11479
 
@@ -11518,13 +11564,13 @@ function getInitialTransitionState(oldChildren, nextChildren) {
11518
11564
  const getTransitionsFromChildren = (old, next) => {
11519
11565
  return old.map((child, idx) => {
11520
11566
  if (child && child.props && child.props.children && next[idx]) {
11521
- return getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(old[idx].props.children), react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(next[idx].props.children));
11567
+ return getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(old[idx].props.children), react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(next[idx].props.children));
11522
11568
  }
11523
11569
  // get Transition entering and exiting nodes
11524
11570
  return getTransition(child, next[idx]);
11525
11571
  });
11526
11572
  };
11527
- const childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(nextChildren));
11573
+ const childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextChildren));
11528
11574
  return {
11529
11575
  nodesWillExit,
11530
11576
  nodesWillEnter,
@@ -11538,7 +11584,7 @@ function getInitialTransitionState(oldChildren, nextChildren) {
11538
11584
  };
11539
11585
  }
11540
11586
  function getInitialChildProps(animate, data) {
11541
- const after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11587
+ const after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11542
11588
  return {
11543
11589
  data: data.map((datum, idx) => Object.assign({}, datum, after(datum, idx, data)))
11544
11590
  };
@@ -11555,7 +11601,7 @@ function getChildBeforeLoad(animate, child, data, cb) {
11555
11601
  data
11556
11602
  };
11557
11603
  }
11558
- const before = newAnimate.onLoad && newAnimate.onLoad.before ? newAnimate.onLoad.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11604
+ const before = newAnimate.onLoad && newAnimate.onLoad.before ? newAnimate.onLoad.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11559
11605
  // If nodes need to exit, transform them with the provided onLoad.before function.
11560
11606
  const newData = data.map((datum, idx) => {
11561
11607
  return Object.assign({}, datum, before(datum, idx, data));
@@ -11577,7 +11623,7 @@ function getChildOnLoad(animate, data, cb) {
11577
11623
  data
11578
11624
  };
11579
11625
  }
11580
- const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11626
+ const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11581
11627
  // If nodes need to exit, transform them with the provided onLoad.after function.
11582
11628
  newData = data.map((datum, idx) => {
11583
11629
  return Object.assign({}, datum, after(datum, idx, data));
@@ -11599,7 +11645,7 @@ function getChildPropsOnExit(animate, child, data, exitingNodes, cb) {
11599
11645
  // After the exit transition occurs, trigger the animations for
11600
11646
  // nodes that are neither exiting nor entering.
11601
11647
  animate.onEnd = cb;
11602
- const before = animate.onExit && animate.onExit.before ? animate.onExit.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11648
+ const before = animate.onExit && animate.onExit.before ? animate.onExit.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11603
11649
  // If nodes need to exit, transform them with the provided onExit.before function.
11604
11650
  newData = data.map((datum, idx) => {
11605
11651
  const key = (datum.key || idx).toString();
@@ -11622,7 +11668,7 @@ function getChildPropsBeforeEnter(animate, child, data, enteringNodes, cb) {
11622
11668
  newAnimate = Object.assign({}, animate, {
11623
11669
  onEnd: cb
11624
11670
  });
11625
- const before = animate.onEnter && animate.onEnter.before ? animate.onEnter.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11671
+ const before = animate.onEnter && animate.onEnter.before ? animate.onEnter.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11626
11672
  // We want the entering nodes to be included in the transition target
11627
11673
  // domain. However, we may not want these nodes to be displayed initially,
11628
11674
  // so perform the `onEnter.before` transformation on each node.
@@ -11649,7 +11695,7 @@ function getChildPropsOnEnter(animate, data, enteringNodes, cb) {
11649
11695
  // domain should encompass the nodes that will now enter. So perform
11650
11696
  // the `onEnter.after` transformation on each node.
11651
11697
  newAnimate.onEnd = cb;
11652
- const after = newAnimate.onEnter && newAnimate.onEnter.after ? newAnimate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11698
+ const after = newAnimate.onEnter && newAnimate.onEnter.after ? newAnimate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11653
11699
  newData = data.map((datum, idx) => {
11654
11700
  const key = getDatumKey(datum, idx);
11655
11701
  return enteringNodes[key] ? Object.assign({}, datum, after(datum, idx, data)) : datum;