victory-errorbar 37.3.2 → 37.3.3

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.
@@ -22,10 +22,10 @@ __webpack_require__.r(__webpack_exports__);
22
22
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23
23
  /* harmony export */ "ErrorBar": function() { return /* binding */ ErrorBar; }
24
24
  /* harmony export */ });
25
- /* 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");
26
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
27
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
28
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
25
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
26
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
27
+ /* 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");
28
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
29
29
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/helpers.js");
30
30
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-primitives/line.js");
31
31
  /* harmony import */ var victory_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! victory-core */ "../../victory-core/es/victory-util/user-props.js");
@@ -34,7 +34,7 @@ __webpack_require__.r(__webpack_exports__);
34
34
 
35
35
  const renderBorder = (props, error, type) => {
36
36
  const vertical = type === "right" || type === "left";
37
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.lineComponent, {
37
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.lineComponent, {
38
38
  ...props.events,
39
39
  role: props.role,
40
40
  shapeRendering: props.shapeRendering,
@@ -51,7 +51,7 @@ const renderBorder = (props, error, type) => {
51
51
  };
52
52
  const renderCross = (props, error, type) => {
53
53
  const vertical = type === "top" || type === "bottom";
54
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(props.lineComponent, {
54
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.lineComponent, {
55
55
  ...props.events,
56
56
  role: props.role,
57
57
  shapeRendering: props.shapeRendering,
@@ -129,13 +129,13 @@ const evaluateProps = props => {
129
129
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
130
130
 
131
131
  const defaultProps = {
132
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null),
133
- lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Line, null),
132
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
133
+ lineComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_3__.Line, null),
134
134
  role: "presentation",
135
135
  shapeRendering: "auto"
136
136
  };
137
137
  const ErrorBar = initialProps => {
138
- const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, initialProps, defaultProps));
138
+ const props = evaluateProps(lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, initialProps, defaultProps));
139
139
  const {
140
140
  groupComponent
141
141
  } = props;
@@ -146,7 +146,7 @@ const ErrorBar = initialProps => {
146
146
  } = props;
147
147
  const error = calculateError(props);
148
148
  const children = [error.right ? renderBorder(props, error, "right") : null, error.left ? renderBorder(props, error, "left") : null, error.bottom ? renderBorder(props, error, "bottom") : null, error.top ? renderBorder(props, error, "top") : null, error.right ? renderCross(props, error, "right") : null, error.left ? renderCross(props, error, "left") : null, error.bottom ? renderCross(props, error, "bottom") : null, error.top ? renderCross(props, error, "top") : null].filter(Boolean);
149
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(groupComponent, {
149
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(groupComponent, {
150
150
  tabIndex,
151
151
  "aria-label": ariaLabel,
152
152
  ...userProps
@@ -5143,10 +5143,10 @@ __webpack_require__.r(__webpack_exports__);
5143
5143
  /* harmony export */ "isInterpolatable": function() { return /* binding */ isInterpolatable; },
5144
5144
  /* harmony export */ "victoryInterpolator": function() { return /* binding */ victoryInterpolator; }
5145
5145
  /* harmony export */ });
5146
- /* 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");
5147
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_0__);
5148
- /* 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");
5149
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1__);
5146
+ /* 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");
5147
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0__);
5148
+ /* 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");
5149
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_1__);
5150
5150
  /* harmony import */ var victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! victory-vendor/d3-interpolate */ "../../victory-vendor/es/d3-interpolate.js");
5151
5151
 
5152
5152
 
@@ -5172,7 +5172,7 @@ const isInterpolatable = function (obj) {
5172
5172
  return false;
5173
5173
  case "object":
5174
5174
  // Don't try to interpolate class instances (except Date or Array).
5175
- return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(obj);
5175
+ return obj instanceof Date || Array.isArray(obj) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(obj);
5176
5176
  case "function":
5177
5177
  // Careful! There may be extra properties on function objects that the
5178
5178
  // component expects to access - for instance, it may be a `d3.scale()`
@@ -5258,7 +5258,7 @@ const interpolateObject = function (startValue, endValue) {
5258
5258
  if (typeof x === "function" || typeof y === "function") {
5259
5259
  return interpolateFunction(x, y);
5260
5260
  }
5261
- if (typeof x === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(x) || typeof y === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(y)) {
5261
+ if (typeof x === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(x) || typeof y === "object" && lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(y)) {
5262
5262
  return interpolateObject(x, y);
5263
5263
  }
5264
5264
  return (0,victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(x, y);
@@ -5267,7 +5267,7 @@ const interpolateObject = function (startValue, endValue) {
5267
5267
  // When the value is an array, attempt to sort by "key" so that animating nodes may be identified
5268
5268
  // based on "key" instead of index
5269
5269
  const keyData = val => {
5270
- return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_0___default()(val, "key") : val;
5270
+ return Array.isArray(val) ? lodash_orderBy__WEBPACK_IMPORTED_MODULE_1___default()(val, "key") : val;
5271
5271
  };
5272
5272
  const i = {};
5273
5273
  const c = {};
@@ -5334,7 +5334,7 @@ const victoryInterpolator = function (a, b) {
5334
5334
  if (typeof a === "function" || typeof b === "function") {
5335
5335
  return interpolateFunction(a, b);
5336
5336
  }
5337
- if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_1___default()(b)) {
5337
+ if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(a) || lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_0___default()(b)) {
5338
5338
  // @ts-expect-error These generics are tough, but they work :)
5339
5339
  return interpolateObject(a, b);
5340
5340
  }
@@ -5510,16 +5510,15 @@ __webpack_require__.r(__webpack_exports__);
5510
5510
  /* harmony export */ "VictoryContainer": function() { return /* binding */ VictoryContainer; },
5511
5511
  /* harmony export */ "useVictoryContainer": function() { return /* binding */ useVictoryContainer; }
5512
5512
  /* harmony export */ });
5513
- /* 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");
5514
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__);
5515
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
5516
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
5513
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
5514
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
5515
+ /* 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");
5516
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__);
5517
5517
  /* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
5518
5518
  /* 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");
5519
5519
  /* harmony import */ var _victory_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util */ "../../victory-core/es/victory-util/merge-refs.js");
5520
5520
  /* 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");
5521
5521
  /* 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");
5522
-
5523
5522
  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); }
5524
5523
 
5525
5524
 
@@ -5527,9 +5526,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
5527
5526
 
5528
5527
 
5529
5528
 
5529
+
5530
5530
  const defaultProps = {
5531
5531
  className: "VictoryContainer",
5532
- portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__.Portal, null),
5532
+ portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_2__.Portal, null),
5533
5533
  portalZIndex: 99,
5534
5534
  responsive: true,
5535
5535
  role: "img"
@@ -5546,10 +5546,10 @@ function useVictoryContainer(initialProps) {
5546
5546
  height,
5547
5547
  responsive
5548
5548
  } = props;
5549
- const localContainerRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
5549
+ const localContainerRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
5550
5550
 
5551
5551
  // Generated ID stored in ref because it needs to persist across renders
5552
- const generatedId = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()("victory-container-"));
5552
+ const generatedId = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default()("victory-container-"));
5553
5553
  const containerId = props.containerId ?? generatedId.current;
5554
5554
  const getIdForElement = elName => `${containerId}-${elName}`;
5555
5555
  const userProps = _victory_util_user_props__WEBPACK_IMPORTED_MODULE_3__.getSafeUserProps(props);
@@ -5608,7 +5608,7 @@ const VictoryContainer = initialProps => {
5608
5608
  containerRef,
5609
5609
  localContainerRef
5610
5610
  } = useVictoryContainer(initialProps);
5611
- react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(() => {
5611
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
5612
5612
  if (!events?.onWheel) return;
5613
5613
  const handleWheel = e => e.preventDefault();
5614
5614
  const container = localContainerRef?.current;
@@ -5618,7 +5618,7 @@ const VictoryContainer = initialProps => {
5618
5618
  };
5619
5619
  // eslint-disable-next-line react-hooks/exhaustive-deps
5620
5620
  }, []);
5621
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
5621
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
5622
5622
  className: className,
5623
5623
  style: {
5624
5624
  ...style,
@@ -5632,7 +5632,7 @@ const VictoryContainer = initialProps => {
5632
5632
  "data-ouia-component-type": ouiaType,
5633
5633
  "data-ouia-safe": ouiaSafe,
5634
5634
  ref: (0,_victory_util__WEBPACK_IMPORTED_MODULE_4__.mergeRefs)([localContainerRef, containerRef])
5635
- }, /*#__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({
5635
+ }, /*#__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({
5636
5636
  width: width,
5637
5637
  height: height,
5638
5638
  tabIndex: tabIndex,
@@ -5645,11 +5645,11 @@ const VictoryContainer = initialProps => {
5645
5645
  ...dimensions,
5646
5646
  pointerEvents: "all"
5647
5647
  }
5648
- }, userProps, events), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("title", {
5648
+ }, userProps, events), title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("title", {
5649
5649
  id: titleId
5650
- }, title) : null, desc ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("desc", {
5650
+ }, title) : null, desc ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("desc", {
5651
5651
  id: descId
5652
- }, desc) : null, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
5652
+ }, desc) : null, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
5653
5653
  style: {
5654
5654
  ...dimensions,
5655
5655
  zIndex: portalZIndex,
@@ -5657,7 +5657,7 @@ const VictoryContainer = initialProps => {
5657
5657
  top: 0,
5658
5658
  left: 0
5659
5659
  }
5660
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__.PortalOutlet, {
5660
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_portal_outlet__WEBPACK_IMPORTED_MODULE_6__.PortalOutlet, {
5661
5661
  as: portalComponent,
5662
5662
  width: width,
5663
5663
  height: height,
@@ -5684,12 +5684,12 @@ __webpack_require__.r(__webpack_exports__);
5684
5684
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5685
5685
  /* harmony export */ "VictoryLabel": function() { return /* binding */ VictoryLabel; }
5686
5686
  /* harmony export */ });
5687
- /* 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");
5688
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
5687
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
5688
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
5689
5689
  /* 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");
5690
5690
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
5691
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
5692
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
5691
+ /* 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");
5692
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
5693
5693
  /* 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");
5694
5694
  /* harmony import */ var _victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-primitives/rect */ "../../victory-core/es/victory-primitives/rect.js");
5695
5695
  /* harmony import */ var _victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-primitives/text */ "../../victory-core/es/victory-primitives/text.js");
@@ -5700,9 +5700,9 @@ __webpack_require__.r(__webpack_exports__);
5700
5700
  /* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
5701
5701
  /* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
5702
5702
  /* 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");
5703
+ /* eslint no-magic-numbers: ["error", { "ignore": [-0.5, 0.5, 0, 1, 2] }]*/
5703
5704
 
5704
5705
 
5705
- /* eslint no-magic-numbers: ["error", { "ignore": [-0.5, 0.5, 0, 1, 2] }]*/
5706
5706
 
5707
5707
 
5708
5708
 
@@ -5754,7 +5754,7 @@ const shouldUseMultilineBackgrounds = props => {
5754
5754
  backgroundStyle,
5755
5755
  backgroundPadding
5756
5756
  } = props;
5757
- return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(backgroundPadding);
5757
+ return Array.isArray(backgroundStyle) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(backgroundStyle) || Array.isArray(backgroundPadding) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(backgroundPadding);
5758
5758
  };
5759
5759
  const getStyles = (style, props) => {
5760
5760
  if (props.disableInlineStyles) {
@@ -5770,32 +5770,28 @@ const getStyles = (style, props) => {
5770
5770
  fontSize: getFontSize(baseStyles)
5771
5771
  });
5772
5772
  };
5773
- return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(style) ? style.map(s => getSingleStyle(s)) : getSingleStyle(style);
5773
+ return Array.isArray(style) && !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(style) ? style.map(s => getSingleStyle(s)) : getSingleStyle(style);
5774
5774
  };
5775
5775
  const getBackgroundStyles = (style, props) => {
5776
5776
  if (!style) {
5777
5777
  return undefined;
5778
5778
  }
5779
- 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);
5779
+ 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);
5780
5780
  };
5781
5781
  const getBackgroundPadding = props => {
5782
5782
  if (props.backgroundPadding && Array.isArray(props.backgroundPadding)) {
5783
5783
  return props.backgroundPadding.map(backgroundPadding => {
5784
5784
  const padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(backgroundPadding, props);
5785
- return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding({
5786
- padding
5787
- });
5785
+ return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding(padding);
5788
5786
  });
5789
5787
  }
5790
5788
  const padding = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.backgroundPadding, props);
5791
- return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding({
5792
- padding
5793
- });
5789
+ return _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.getPadding(padding);
5794
5790
  };
5795
5791
  const getLineHeight = props => {
5796
5792
  const lineHeight = _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__.evaluateProp(props.lineHeight, props);
5797
5793
  if (Array.isArray(lineHeight)) {
5798
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(lineHeight) ? [1] : lineHeight;
5794
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(lineHeight) ? [1] : lineHeight;
5799
5795
  }
5800
5796
  return lineHeight;
5801
5797
  };
@@ -5915,7 +5911,7 @@ const getFullBackground = (calculatedProps, tspanValues) => {
5915
5911
  x: inline ? xCoordinate - backgroundPadding.left : xCoordinate + dx - backgroundPadding.left,
5916
5912
  y: yCoordinate
5917
5913
  };
5918
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
5914
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
5919
5915
  };
5920
5916
  const getInlineXOffset = (calculatedProps, textElements, index) => {
5921
5917
  const {
@@ -5985,7 +5981,7 @@ const getChildBackgrounds = (calculatedProps, tspanValues) => {
5985
5981
  x: xCoord - padding.left,
5986
5982
  y: yCoord
5987
5983
  };
5988
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
5984
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(backgroundComponent, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, backgroundComponent.props, backgroundProps));
5989
5985
  });
5990
5986
  };
5991
5987
  const getBackgroundElement = (calculatedProps, tspanValues) => {
@@ -6116,16 +6112,16 @@ const renderLabel = (calculatedProps, tspanValues) => {
6116
6112
  style: currentStyle,
6117
6113
  children: line
6118
6114
  };
6119
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(tspanComponent, tspanProps);
6115
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(tspanComponent, tspanProps);
6120
6116
  });
6121
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(textComponent, textProps, tspans);
6117
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(textComponent, textProps, tspans);
6122
6118
  };
6123
6119
  const defaultProps = {
6124
- backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__.Rect, null),
6125
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null),
6120
+ backgroundComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_rect__WEBPACK_IMPORTED_MODULE_8__.Rect, null),
6121
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null),
6126
6122
  direction: "inherit",
6127
- textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__.Text, null),
6128
- tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_10__.TSpan, null),
6123
+ textComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_text__WEBPACK_IMPORTED_MODULE_9__.Text, null),
6124
+ tspanComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_primitives_tspan__WEBPACK_IMPORTED_MODULE_10__.TSpan, null),
6129
6125
  capHeight: 0.71,
6130
6126
  // Magic number from d3.
6131
6127
  lineHeight: 1
@@ -6162,10 +6158,10 @@ const VictoryLabel = initialProps => {
6162
6158
  if (props.backgroundStyle) {
6163
6159
  const backgroundElement = getBackgroundElement(calculatedProps, tspanValues);
6164
6160
  const children = [backgroundElement, label];
6165
- const backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(props.groupComponent, {}, children);
6166
- return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, backgroundWithLabel) : backgroundWithLabel;
6161
+ const backgroundWithLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(props.groupComponent, {}, children);
6162
+ return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, backgroundWithLabel) : backgroundWithLabel;
6167
6163
  }
6168
- return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, label) : label;
6164
+ return props.renderInPortal ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__.VictoryPortal, null, label) : label;
6169
6165
  };
6170
6166
  VictoryLabel.displayName = "VictoryLabel";
6171
6167
  VictoryLabel.role = "label";
@@ -6291,12 +6287,12 @@ __webpack_require__.r(__webpack_exports__);
6291
6287
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6292
6288
  /* harmony export */ "VictoryPortal": function() { return /* binding */ VictoryPortal; }
6293
6289
  /* harmony export */ });
6294
- /* 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");
6295
- /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0__);
6290
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
6291
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6296
6292
  /* 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");
6297
6293
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
6298
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
6299
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
6294
+ /* 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");
6295
+ /* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2__);
6300
6296
  /* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
6301
6297
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
6302
6298
  /* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
@@ -6307,14 +6303,14 @@ __webpack_require__.r(__webpack_exports__);
6307
6303
 
6308
6304
 
6309
6305
  const defaultProps = {
6310
- groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("g", null)
6306
+ groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null)
6311
6307
  };
6312
6308
  const VictoryPortal = initialProps => {
6313
6309
  const props = {
6314
6310
  ...defaultProps,
6315
6311
  ...initialProps
6316
6312
  };
6317
- const [id] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_0___default()());
6313
+ const [id] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()());
6318
6314
  const portalContext = (0,_portal_context__WEBPACK_IMPORTED_MODULE_3__.usePortalContext)();
6319
6315
  if (!portalContext) {
6320
6316
  const msg = "`renderInPortal` is not supported outside of `VictoryContainer`. " + "Component will be rendered in place";
@@ -6332,12 +6328,12 @@ const VictoryPortal = initialProps => {
6332
6328
  const newProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(standardProps, childProps, _victory_util_helpers__WEBPACK_IMPORTED_MODULE_5__.omit(props, ["children", "groupComponent"]), {
6333
6329
  key: childProps.key ?? id
6334
6330
  });
6335
- const child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(children, newProps);
6336
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
6331
+ const child = children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(children, newProps);
6332
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
6337
6333
  portalContext?.addChild(id, child);
6338
6334
  // eslint-disable-next-line react-hooks/exhaustive-deps
6339
6335
  }, [props.children]);
6340
- react__WEBPACK_IMPORTED_MODULE_2___default().useEffect(() => {
6336
+ react__WEBPACK_IMPORTED_MODULE_0___default().useEffect(() => {
6341
6337
  return () => portalContext?.removeChild(id);
6342
6338
  // eslint-disable-next-line react-hooks/exhaustive-deps
6343
6339
  }, []);
@@ -7642,22 +7638,22 @@ __webpack_require__.r(__webpack_exports__);
7642
7638
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7643
7639
  /* harmony export */ "VictoryTransition": function() { return /* binding */ VictoryTransition; }
7644
7640
  /* harmony export */ });
7645
- /* 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");
7646
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
7641
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7642
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7647
7643
  /* 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");
7648
7644
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
7649
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
7650
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
7645
+ /* 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");
7646
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_2__);
7647
+ /* 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");
7648
+ /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
7651
7649
  /* 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");
7652
7650
  /* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
7653
7651
  /* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
7654
7652
  /* 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");
7655
7653
  /* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
7656
- /* 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");
7657
- /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_3__);
7654
+ 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); }
7658
7655
 
7659
7656
 
7660
- 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); }
7661
7657
 
7662
7658
 
7663
7659
 
@@ -7665,7 +7661,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
7665
7661
 
7666
7662
 
7667
7663
 
7668
- class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Component) {
7664
+ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
7669
7665
  static displayName = "VictoryTransition";
7670
7666
  static contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__["default"];
7671
7667
  constructor(props, context) {
@@ -7708,8 +7704,8 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
7708
7704
  nextProps
7709
7705
  };
7710
7706
  }
7711
- const oldChildren = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children);
7712
- const nextChildren = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(nextProps.children);
7707
+ const oldChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children);
7708
+ const nextChildren = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextProps.children);
7713
7709
  const {
7714
7710
  nodesWillExit,
7715
7711
  nodesWillEnter,
@@ -7732,12 +7728,12 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
7732
7728
  const childDomain = child.props && child.type.getDomain(child.props, axis);
7733
7729
  return childDomain ? memo.concat(childDomain) : memo;
7734
7730
  } else if (child.props && child.props.children) {
7735
- return memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(child.props.children)));
7731
+ return memo.concat(getChildDomains(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(child.props.children)));
7736
7732
  }
7737
7733
  return memo;
7738
7734
  }, []);
7739
7735
  };
7740
- const child = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children)[0];
7736
+ const child = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children)[0];
7741
7737
  const childProps = child.props || {};
7742
7738
  const domain = Array.isArray(childProps.domain) ? childProps.domain : childProps.domain && childProps.domain[axis];
7743
7739
  if (!childProps.children && domain) {
@@ -7770,7 +7766,7 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
7770
7766
  render() {
7771
7767
  const props = this.pickProps();
7772
7768
  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));
7773
- const child = react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(props.children)[0];
7769
+ const child = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children)[0];
7774
7770
  const transitionProps = getTransitionProps(child);
7775
7771
  this.transitionProps = transitionProps;
7776
7772
  const domain = {
@@ -7784,21 +7780,21 @@ class VictoryTransition extends (react__WEBPACK_IMPORTED_MODULE_2___default().Co
7784
7780
  }, transitionProps, child.props);
7785
7781
  const animationWhitelist = props.animationWhitelist || [];
7786
7782
  const whitelist = animationWhitelist.concat(["clipWidth"]);
7787
- const propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(combinedProps, whitelist) : combinedProps;
7788
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__.VictoryAnimation, _extends({}, combinedProps.animate, {
7783
+ const propsToAnimate = whitelist.length ? lodash_pick__WEBPACK_IMPORTED_MODULE_2___default()(combinedProps, whitelist) : combinedProps;
7784
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__.VictoryAnimation, _extends({}, combinedProps.animate, {
7789
7785
  data: propsToAnimate
7790
7786
  }), newProps => {
7791
7787
  if (child.props.groupComponent) {
7792
- const groupComponent = this.continuous ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child.props.groupComponent, {
7788
+ const groupComponent = this.continuous ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child.props.groupComponent, {
7793
7789
  clipWidth: newProps.clipWidth || 0
7794
7790
  }) : child.props.groupComponent;
7795
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
7791
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
7796
7792
  animate: null,
7797
7793
  animating: true,
7798
7794
  groupComponent
7799
7795
  }, newProps, combinedProps));
7800
7796
  }
7801
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
7797
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(child, lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
7802
7798
  animate: null,
7803
7799
  animating: true
7804
7800
  }, newProps, combinedProps));
@@ -7819,14 +7815,14 @@ __webpack_require__.r(__webpack_exports__);
7819
7815
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7820
7816
  /* harmony export */ "addEvents": function() { return /* binding */ addEvents; }
7821
7817
  /* harmony export */ });
7822
- /* 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");
7823
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
7824
- /* 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");
7825
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
7826
- /* 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");
7827
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
7828
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
7829
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
7818
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7819
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7820
+ /* 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");
7821
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
7822
+ /* 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");
7823
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2__);
7824
+ /* 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");
7825
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_3__);
7830
7826
  /* 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");
7831
7827
  /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
7832
7828
  /* 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");
@@ -7973,8 +7969,8 @@ function addEvents(WrappedComponent, options) {
7973
7969
  return {};
7974
7970
  }
7975
7971
  const getState = (key, type) => {
7976
- const result = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, this.getEventState(key, type), this.getSharedEventState(key, type));
7977
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(result) ? undefined : result;
7972
+ const result = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, this.getEventState(key, type), this.getSharedEventState(key, type));
7973
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(result) ? undefined : result;
7978
7974
  };
7979
7975
  const components = options.components || defaultComponents;
7980
7976
  const stateChanges = components.map(component => {
@@ -7987,7 +7983,7 @@ function addEvents(WrappedComponent, options) {
7987
7983
  return stateChanges;
7988
7984
  }
7989
7985
  applyExternalMutations(props, externalMutations) {
7990
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalMutations)) {
7986
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalMutations)) {
7991
7987
  const callbacks = props.externalEventMutations.reduce((memo, mutation) => (0,_helpers__WEBPACK_IMPORTED_MODULE_5__.isFunction)(mutation.callback) ? memo.concat(mutation.callback) : memo, []);
7992
7988
  const compiledCallbacks = callbacks.length ? () => {
7993
7989
  callbacks.forEach(c => c());
@@ -8020,7 +8016,7 @@ function addEvents(WrappedComponent, options) {
8020
8016
  sharedEvents,
8021
8017
  externalEventMutations
8022
8018
  } = props;
8023
- return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_6__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
8019
+ return lodash_isEmpty__WEBPACK_IMPORTED_MODULE_2___default()(externalEventMutations) || sharedEvents ? undefined : _events__WEBPACK_IMPORTED_MODULE_6__.getExternalMutations(externalEventMutations, this.baseProps, this.state);
8024
8020
  }
8025
8021
  cacheValues(obj) {
8026
8022
  Object.keys(obj).forEach(key => {
@@ -8031,10 +8027,10 @@ function addEvents(WrappedComponent, options) {
8031
8027
  const getSharedEventStateFunction = getSharedEventState || this.getSharedEventState.bind(this);
8032
8028
  const sharedParentState = getSharedEventStateFunction("parent", "parent");
8033
8029
  const parentState = this.getEventState("parent", "parent");
8034
- const baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parentState, sharedParentState);
8030
+ const baseParentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parentState, sharedParentState);
8035
8031
  const parentPropsList = baseParentProps.parentControlledProps;
8036
- const parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(baseParentProps, parentPropsList) : {};
8037
- const modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parentProps, props);
8032
+ const parentProps = parentPropsList ? lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(baseParentProps, parentPropsList) : {};
8033
+ const modifiedProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parentProps, props);
8038
8034
  return typeof WrappedComponent.getBaseProps === "function" ? WrappedComponent.getBaseProps(modifiedProps) : {};
8039
8035
  }
8040
8036
  getAllEvents(props) {
@@ -8054,18 +8050,18 @@ function addEvents(WrappedComponent, options) {
8054
8050
  const currentProps = component && typeof component === "object" && "props" in component ? component.props : undefined;
8055
8051
  if (this.hasEvents) {
8056
8052
  const baseEvents = this.getEvents(this.props, type, key);
8057
- const componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
8053
+ const componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8058
8054
  index,
8059
8055
  key: id
8060
8056
  }, this.getEventState(key, type), this.getSharedEventState(key, type), currentProps, baseProps, {
8061
8057
  id
8062
8058
  });
8063
- const events = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, _events__WEBPACK_IMPORTED_MODULE_6__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
8059
+ const events = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, _events__WEBPACK_IMPORTED_MODULE_6__.getPartialEvents(baseEvents, key, componentProps), componentProps.events);
8064
8060
  return Object.assign({}, componentProps, {
8065
8061
  events
8066
8062
  });
8067
8063
  }
8068
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
8064
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
8069
8065
  index,
8070
8066
  key: id
8071
8067
  }, currentProps, baseProps, {
@@ -8079,15 +8075,15 @@ function addEvents(WrappedComponent, options) {
8079
8075
  this.globalEvents = _events__WEBPACK_IMPORTED_MODULE_6__.getGlobalEvents(parentProps.events);
8080
8076
  parentProps.events = _events__WEBPACK_IMPORTED_MODULE_6__.omitGlobalEvents(parentProps.events);
8081
8077
  }
8082
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(component, parentProps, children);
8078
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(component, parentProps, children);
8083
8079
  }
8084
8080
  animateComponent(props, defaultAnimationWhitelist) {
8085
8081
  const animationWhitelist = typeof props.animate === "object" && props.animate?.animationWhitelist || defaultAnimationWhitelist;
8086
8082
  const Comp = this.constructor;
8087
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__.VictoryTransition, {
8083
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_victory_transition_victory_transition__WEBPACK_IMPORTED_MODULE_8__.VictoryTransition, {
8088
8084
  animate: props.animate,
8089
8085
  animationWhitelist: animationWhitelist
8090
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Comp, props));
8086
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Comp, props));
8091
8087
  }
8092
8088
 
8093
8089
  // Used by `VictoryLine` and `VictoryArea`
@@ -8102,12 +8098,12 @@ function addEvents(WrappedComponent, options) {
8102
8098
  let newMemo = memo;
8103
8099
  const labelProps = this.getComponentProps(labelComponent, "labels", key);
8104
8100
  if (labelProps && labelProps.text !== undefined && labelProps.text !== null) {
8105
- newMemo = newMemo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(labelComponent, labelProps));
8101
+ newMemo = newMemo.concat( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(labelComponent, labelProps));
8106
8102
  }
8107
8103
  return newMemo;
8108
8104
  }, []);
8109
8105
  const dataProps = this.getComponentProps(dataComponent, "data", "all");
8110
- const children = [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(dataComponent, dataProps), ...labelComponents];
8106
+ const children = [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(dataComponent, dataProps), ...labelComponents];
8111
8107
  return this.renderContainer(groupComponent, children);
8112
8108
  }
8113
8109
  renderData(props, shouldRenderDatum) {
@@ -8122,14 +8118,14 @@ function addEvents(WrappedComponent, options) {
8122
8118
  const dataComponents = this.dataKeys.reduce((validDataComponents, _dataKey, index) => {
8123
8119
  const dataProps = this.getComponentProps(dataComponent, "data", index);
8124
8120
  if (shouldRenderDatum(dataProps.datum)) {
8125
- validDataComponents.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(dataComponent, dataProps));
8121
+ validDataComponents.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(dataComponent, dataProps));
8126
8122
  }
8127
8123
  return validDataComponents;
8128
8124
  }, []);
8129
8125
  const labelComponents = this.dataKeys.map((_dataKey, index) => {
8130
8126
  const labelProps = this.getComponentProps(labelComponent, "labels", index);
8131
8127
  if (labelProps.text !== undefined && labelProps.text !== null) {
8132
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(labelComponent, labelProps);
8128
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(labelComponent, labelProps);
8133
8129
  }
8134
8130
  return undefined;
8135
8131
  }).filter(Boolean);
@@ -8235,24 +8231,24 @@ __webpack_require__.r(__webpack_exports__);
8235
8231
  /* harmony export */ "getStringsFromData": function() { return /* binding */ getStringsFromData; },
8236
8232
  /* harmony export */ "isDataComponent": function() { return /* binding */ isDataComponent; }
8237
8233
  /* harmony export */ });
8238
- /* 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");
8239
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_0__);
8240
- /* 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");
8241
- /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1__);
8234
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8235
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8236
+ /* 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");
8237
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1__);
8242
8238
  /* 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");
8243
8239
  /* harmony import */ var lodash_isEqual__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isEqual__WEBPACK_IMPORTED_MODULE_2__);
8244
- /* 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");
8245
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
8246
- /* 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");
8247
- /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_4__);
8248
- /* 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");
8249
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_5__);
8250
- /* 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");
8251
- /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6__);
8252
- /* 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");
8253
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_7__);
8254
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "react");
8255
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
8240
+ /* 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");
8241
+ /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3__);
8242
+ /* 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");
8243
+ /* harmony import */ var lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4__);
8244
+ /* 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");
8245
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_5__);
8246
+ /* 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");
8247
+ /* harmony import */ var lodash_orderBy__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_orderBy__WEBPACK_IMPORTED_MODULE_6__);
8248
+ /* 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");
8249
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_7__);
8250
+ /* 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");
8251
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_8__);
8256
8252
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
8257
8253
  /* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
8258
8254
  /* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
@@ -8286,7 +8282,7 @@ function getLength(data) {
8286
8282
 
8287
8283
  // Returns generated data for a given axis based on domain and sample from props
8288
8284
  function generateDataArray(props, axis) {
8289
- const propsDomain = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_6___default()(props.domain) ? props.domain[axis] : props.domain;
8285
+ const propsDomain = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_3___default()(props.domain) ? props.domain[axis] : props.domain;
8290
8286
  const domain = propsDomain || _scale__WEBPACK_IMPORTED_MODULE_10__.getBaseScale(props, axis).domain();
8291
8287
  const samples = props.samples || 1;
8292
8288
  const domainMax = Math.max(...domain);
@@ -8311,7 +8307,7 @@ function sortData(dataset, sortKey, sortOrder) {
8311
8307
  formattedSortKey = `_${sortKey}`;
8312
8308
  }
8313
8309
  const order = sortOrder === "ascending" ? "asc" : "desc";
8314
- return lodash_orderBy__WEBPACK_IMPORTED_MODULE_4___default()(dataset, formattedSortKey, order);
8310
+ return lodash_orderBy__WEBPACK_IMPORTED_MODULE_6___default()(dataset, formattedSortKey, order);
8315
8311
  }
8316
8312
 
8317
8313
  // This method will remove data points that break certain scales. (log scale only)
@@ -8355,7 +8351,7 @@ function getEventKey(key) {
8355
8351
  return () => undefined;
8356
8352
  }
8357
8353
  // otherwise, assume it is an array index, property key or path (_.property handles all three)
8358
- return lodash_property__WEBPACK_IMPORTED_MODULE_5___default()(key);
8354
+ return lodash_property__WEBPACK_IMPORTED_MODULE_7___default()(key);
8359
8355
  }
8360
8356
 
8361
8357
  // Returns data with an eventKey prop added to each datum
@@ -8414,12 +8410,12 @@ function formatDataFromDomain(dataset, domain, defaultBaseline) {
8414
8410
  if (isUnderMinY(baseline) && !isUnderMinY(value)) _y0 = minDomainY;
8415
8411
  // baseline and value with only baseline above max, set baseline to maxDomainY
8416
8412
  if (isOverMaxY(baseline) && !isOverMaxY(value)) _y0 = maxDomainY;
8417
- return Object.assign({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_0___default()({
8413
+ return Object.assign({}, datum, lodash_omitBy__WEBPACK_IMPORTED_MODULE_5___default()({
8418
8414
  _x,
8419
8415
  _y,
8420
8416
  _y0,
8421
8417
  _y1
8422
- }, (lodash_isUndefined__WEBPACK_IMPORTED_MODULE_1___default())));
8418
+ }, (lodash_isUndefined__WEBPACK_IMPORTED_MODULE_4___default())));
8423
8419
  });
8424
8420
  }
8425
8421
 
@@ -8433,7 +8429,7 @@ function createStringMap(props, axis) {
8433
8429
  const stringsFromAxes = getStringsFromAxes(props, axis);
8434
8430
  const stringsFromCategories = getStringsFromCategories(props, axis);
8435
8431
  const stringsFromData = getStringsFromData(props, axis);
8436
- const allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_7___default()([...stringsFromAxes, ...stringsFromCategories, ...stringsFromData]);
8432
+ const allStrings = lodash_uniq__WEBPACK_IMPORTED_MODULE_8___default()([...stringsFromAxes, ...stringsFromCategories, ...stringsFromData]);
8437
8433
  return allStrings.length === 0 ? null : allStrings.reduce((memo, string, index) => {
8438
8434
  memo[string] = index + 1;
8439
8435
  return memo;
@@ -8519,7 +8515,7 @@ function formatData(dataset, props, expectedKeys) {
8519
8515
  return memo;
8520
8516
  }, {});
8521
8517
  const formattedDatum = Object.assign({}, processedValues, parsedDatum);
8522
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(formattedDatum)) {
8518
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_1___default()(formattedDatum)) {
8523
8519
  dataArr.push(formattedDatum);
8524
8520
  }
8525
8521
  return dataArr;
@@ -8646,7 +8642,7 @@ function isDataComponent(component) {
8646
8642
  };
8647
8643
  let role = getRole(component);
8648
8644
  if (role === "portal") {
8649
- const children = react__WEBPACK_IMPORTED_MODULE_8___default().Children.toArray(component.props.children);
8645
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(component.props.children);
8650
8646
  role = children.length ? getRole(children[0]) : "";
8651
8647
  }
8652
8648
  const whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
@@ -8781,14 +8777,14 @@ __webpack_require__.r(__webpack_exports__);
8781
8777
  /* harmony export */ "getSymmetricDomain": function() { return /* binding */ getSymmetricDomain; },
8782
8778
  /* harmony export */ "isDomainComponent": function() { return /* binding */ isDomainComponent; }
8783
8779
  /* harmony export */ });
8784
- /* 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");
8785
- /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_0__);
8786
- /* 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");
8787
- /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1__);
8780
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
8781
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
8782
+ /* 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");
8783
+ /* harmony import */ var lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isDate__WEBPACK_IMPORTED_MODULE_1__);
8788
8784
  /* 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");
8789
8785
  /* harmony import */ var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2__);
8790
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
8791
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
8786
+ /* 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");
8787
+ /* harmony import */ var lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3__);
8792
8788
  /* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./data */ "../../victory-core/es/victory-util/data.js");
8793
8789
  /* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
8794
8790
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
@@ -8877,9 +8873,9 @@ function padDomain(domain, props, axis) {
8877
8873
  max: max.valueOf() + simplePadding.right
8878
8874
  };
8879
8875
  const singleQuadrantDomainPadding = lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.singleQuadrantDomainPadding) ? props.singleQuadrantDomainPadding[axis] : props.singleQuadrantDomainPadding;
8880
- const addsQuadrants = min >= 0 && paddedDomain.min <= 0 || max <= 0 && paddedDomain.max >= 0;
8876
+ const addsQuadrants = min.valueOf() >= 0 && paddedDomain.min <= 0 || max.valueOf() <= 0 && paddedDomain.max >= 0;
8881
8877
  const adjust = (val, type) => {
8882
- const coerce = type === "min" && min >= 0 && val <= 0 || type === "max" && max <= 0 && val >= 0;
8878
+ const coerce = type === "min" && min.valueOf() >= 0 && val <= 0 || type === "max" && max.valueOf() <= 0 && val >= 0;
8883
8879
  return coerce ? 0 : val;
8884
8880
  };
8885
8881
  if (addsQuadrants && singleQuadrantDomainPadding !== false) {
@@ -9102,7 +9098,7 @@ function getMaxFromProps(props, axis) {
9102
9098
  if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.maxDomain) && props.maxDomain[axis] !== undefined) {
9103
9099
  return props.maxDomain[axis];
9104
9100
  }
9105
- return typeof props.maxDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.maxDomain) ? props.maxDomain : undefined;
9101
+ return typeof props.maxDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default()(props.maxDomain) ? props.maxDomain : undefined;
9106
9102
  }
9107
9103
 
9108
9104
  /**
@@ -9115,7 +9111,7 @@ function getMinFromProps(props, axis) {
9115
9111
  if (lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_2___default()(props.minDomain) && props.minDomain[axis] !== undefined) {
9116
9112
  return props.minDomain[axis];
9117
9113
  }
9118
- return typeof props.minDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_0___default()(props.minDomain) ? props.minDomain : undefined;
9114
+ return typeof props.minDomain === "number" || lodash_isDate__WEBPACK_IMPORTED_MODULE_1___default()(props.minDomain) ? props.minDomain : undefined;
9119
9115
  }
9120
9116
 
9121
9117
  /**
@@ -9126,7 +9122,7 @@ function getMinFromProps(props, axis) {
9126
9122
  * @returns {Array} the symmetric domain
9127
9123
  */
9128
9124
  function getSymmetricDomain(domain, values) {
9129
- const processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_1___default()(values.sort((a, b) => a - b));
9125
+ const processedData = lodash_sortedUniq__WEBPACK_IMPORTED_MODULE_3___default()(values.sort((a, b) => a - b));
9130
9126
  const step = processedData[1] - processedData[0];
9131
9127
  return [domain[0], domain[1] + step];
9132
9128
  }
@@ -9142,7 +9138,7 @@ function isDomainComponent(component) {
9142
9138
  };
9143
9139
  let role = getRole(component);
9144
9140
  if (role === "portal") {
9145
- const children = react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(component.props.children);
9141
+ const children = react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(component.props.children);
9146
9142
  role = children.length ? getRole(children[0]) : "";
9147
9143
  }
9148
9144
  const whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
@@ -9173,14 +9169,14 @@ __webpack_require__.r(__webpack_exports__);
9173
9169
  /* harmony export */ "getScopedEvents": function() { return /* binding */ getScopedEvents; },
9174
9170
  /* harmony export */ "omitGlobalEvents": function() { return /* binding */ omitGlobalEvents; }
9175
9171
  /* harmony export */ });
9176
- /* 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");
9177
- /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_0__);
9178
- /* 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");
9179
- /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_1__);
9180
- /* 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");
9181
- /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_2__);
9182
- /* 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");
9183
- /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3__);
9172
+ /* 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");
9173
+ /* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
9174
+ /* 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");
9175
+ /* harmony import */ var lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_1__);
9176
+ /* 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");
9177
+ /* harmony import */ var lodash_omitBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_omitBy__WEBPACK_IMPORTED_MODULE_2__);
9178
+ /* 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");
9179
+ /* harmony import */ var lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_uniq__WEBPACK_IMPORTED_MODULE_3__);
9184
9180
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
9185
9181
 
9186
9182
 
@@ -9256,7 +9252,7 @@ getScopedEvents) {
9256
9252
  */
9257
9253
  // eslint-disable-next-line max-params
9258
9254
  function getScopedEvents(events, namespace, childType, baseProps) {
9259
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(events)) {
9255
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(events)) {
9260
9256
  return {};
9261
9257
  }
9262
9258
 
@@ -9369,7 +9365,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
9369
9365
  // eslint-disable-next-line max-params
9370
9366
  const onEvent = (evt, childProps, eventKey, eventName) => {
9371
9367
  const eventReturn = events[eventName](evt, childProps, eventKey, this);
9372
- if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(eventReturn)) {
9368
+ if (!lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(eventReturn)) {
9373
9369
  const callbacks = compileCallbacks(eventReturn);
9374
9370
  this.setState(parseEventReturn(eventReturn, eventKey), callbacks);
9375
9371
  }
@@ -9430,7 +9426,7 @@ function getExternalMutationsWithChildren(mutations, baseProps, baseState, child
9430
9426
  const childState = baseState[childName];
9431
9427
  const mutation = getExternalMutations(mutations, baseProps[childName], baseState[childName], childName);
9432
9428
  memo[childName] = mutation ? mutation : childState;
9433
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
9429
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
9434
9430
  }, {});
9435
9431
  }
9436
9432
 
@@ -9466,7 +9462,7 @@ function getExternalMutations(mutations, baseProps, baseState, childName) {
9466
9462
  } else {
9467
9463
  // use keys from both state and props so that elements not intially included in baseProps
9468
9464
  // will be used. (i.e. labels)
9469
- const targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_0___default()(Object.keys(keyProps).concat(Object.keys(keyState)));
9465
+ const targets = lodash_uniq__WEBPACK_IMPORTED_MODULE_3___default()(Object.keys(keyProps).concat(Object.keys(keyState)));
9470
9466
  memo[eventKey] = targets.reduce((m, target) => {
9471
9467
  const identifier = {
9472
9468
  eventKey,
@@ -9475,10 +9471,10 @@ function getExternalMutations(mutations, baseProps, baseState, childName) {
9475
9471
  };
9476
9472
  const mutation = getExternalMutation(mutations, keyProps[target], keyState[target], identifier);
9477
9473
  m[target] = mutation !== undefined ? Object.assign({}, keyState[target], mutation) : keyState[target];
9478
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(m, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
9474
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(m, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
9479
9475
  }, {});
9480
9476
  }
9481
- return lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(v));
9477
+ return lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(memo, v => !lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(v));
9482
9478
  }, {});
9483
9479
  }
9484
9480
 
@@ -9510,11 +9506,11 @@ function getExternalMutation(mutations, baseProps, baseState, identifier) {
9510
9506
  }
9511
9507
  // find any mutation objects that match the target
9512
9508
  const targetMutations = scopedMutations.filter(m => filterMutations(m, "target"));
9513
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(targetMutations)) {
9509
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(targetMutations)) {
9514
9510
  return undefined;
9515
9511
  }
9516
9512
  const keyMutations = targetMutations.filter(m => filterMutations(m, "eventKey"));
9517
- if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_3___default()(keyMutations)) {
9513
+ if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(keyMutations)) {
9518
9514
  return undefined;
9519
9515
  }
9520
9516
  return keyMutations.reduce((memo, curr) => {
@@ -9540,8 +9536,8 @@ function getGlobalEventNameFromKey(key) {
9540
9536
  const match = key.match(GLOBAL_EVENT_REGEX);
9541
9537
  return match && match[1] && match[1].toLowerCase();
9542
9538
  }
9543
- const getGlobalEvents = events => lodash_pickBy__WEBPACK_IMPORTED_MODULE_2___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9544
- const omitGlobalEvents = events => lodash_omitBy__WEBPACK_IMPORTED_MODULE_1___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9539
+ const getGlobalEvents = events => lodash_pickBy__WEBPACK_IMPORTED_MODULE_1___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9540
+ const omitGlobalEvents = events => lodash_omitBy__WEBPACK_IMPORTED_MODULE_2___default()(events, (_, key) => GLOBAL_EVENT_REGEX.test(key));
9545
9541
  const emulateReactEvent = event => Object.assign(event, {
9546
9542
  nativeEvent: event
9547
9543
  });
@@ -9582,40 +9578,45 @@ __webpack_require__.r(__webpack_exports__);
9582
9578
  /* harmony export */ "reduceChildren": function() { return /* binding */ reduceChildren; },
9583
9579
  /* harmony export */ "scalePoint": function() { return /* binding */ scalePoint; }
9584
9580
  /* harmony export */ });
9585
- /* 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");
9586
- /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_0__);
9587
- /* 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");
9588
- /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_1__);
9589
- /* 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");
9590
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
9591
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
9592
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
9593
-
9581
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9582
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
9583
+ /* 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");
9584
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
9585
+ /* 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");
9586
+ /* harmony import */ var lodash_property__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_property__WEBPACK_IMPORTED_MODULE_2__);
9587
+ /* 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");
9588
+ /* harmony import */ var lodash_pick__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_pick__WEBPACK_IMPORTED_MODULE_3__);
9594
9589
 
9595
9590
 
9596
9591
 
9597
- // Private Functions
9598
9592
 
9599
- function getCartesianRange(props, axis) {
9600
- // determine how to lay the axis and what direction positive and negative are
9601
- const vertical = axis !== "x";
9602
- const padding = getPadding(props);
9593
+ /**
9594
+ * Determine the range of a cartesian axis
9595
+ */
9596
+ function getCartesianRange(options) {
9597
+ const vertical = options.axis !== "x";
9603
9598
  if (vertical) {
9604
- return [props.height - padding.bottom, padding.top];
9599
+ return [options.height - options.padding.bottom, options.padding.top];
9605
9600
  }
9606
- return [padding.left, props.width - padding.right];
9601
+ return [options.padding.left, options.width - options.padding.right];
9607
9602
  }
9608
- function getPolarRange(props, axis) {
9609
- if (axis === "x") {
9610
- const startAngle = degreesToRadians(props.startAngle || 0);
9611
- const endAngle = degreesToRadians(props.endAngle || 360);
9603
+
9604
+ /**
9605
+ * Determine the range of a polar axis in radians
9606
+ */
9607
+ function getPolarRange(options) {
9608
+ if (options.axis === "x") {
9609
+ const startAngle = degreesToRadians(options.startAngle || 0);
9610
+ const endAngle = degreesToRadians(options.endAngle || 360);
9612
9611
  return [startAngle, endAngle];
9613
9612
  }
9614
- return [props.innerRadius || 0, getRadius(props)];
9613
+ return [options.innerRadius || 0, getRadius({
9614
+ height: options.height,
9615
+ width: options.width,
9616
+ padding: options.padding
9617
+ })];
9615
9618
  }
9616
9619
 
9617
- // Exported Functions
9618
-
9619
9620
  /**
9620
9621
  * Creates an object composed of the inverted keys and values of object.
9621
9622
  * If object contains duplicate values, subsequent values overwrite property assignments of previous values.
@@ -9652,8 +9653,11 @@ function omit(originalObject, ks) {
9652
9653
  }
9653
9654
  return newObject;
9654
9655
  }
9656
+
9657
+ /**
9658
+ * Coalesce the x and y values from a data point
9659
+ */
9655
9660
  function getPoint(datum) {
9656
- const exists = val => val !== undefined;
9657
9661
  const {
9658
9662
  _x,
9659
9663
  _x1,
@@ -9664,16 +9668,20 @@ function getPoint(datum) {
9664
9668
  _y0,
9665
9669
  _voronoiY
9666
9670
  } = datum;
9667
- const defaultX = exists(_x1) ? _x1 : _x;
9668
- const defaultY = exists(_y1) ? _y1 : _y;
9671
+ const defaultX = _x1 ?? _x;
9672
+ const defaultY = _y1 ?? _y;
9669
9673
  const point = {
9670
- x: exists(_voronoiX) ? _voronoiX : defaultX,
9671
- x0: exists(_x0) ? _x0 : _x,
9672
- y: exists(_voronoiY) ? _voronoiY : defaultY,
9673
- y0: exists(_y0) ? _y0 : _y
9674
+ x: _voronoiX ?? defaultX,
9675
+ x0: _x0 ?? _x,
9676
+ y: _voronoiY ?? defaultY,
9677
+ y0: _y0 ?? _y
9674
9678
  };
9675
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, point, datum);
9679
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, point, datum);
9676
9680
  }
9681
+
9682
+ /**
9683
+ * Scale a point based on the origin, direction, and given scale function
9684
+ */
9677
9685
  function scalePoint(props, datum) {
9678
9686
  const {
9679
9687
  scale,
@@ -9696,11 +9704,11 @@ function scalePoint(props, datum) {
9696
9704
  y0: polar ? -y0 * Math.sin(x0) + origin.x : y0
9697
9705
  };
9698
9706
  }
9699
- function getPadding(props, name) {
9700
- if (name === void 0) {
9701
- name = "padding";
9702
- }
9703
- const padding = props[name];
9707
+
9708
+ /**
9709
+ * Returns a padding value from a number or partial padding values
9710
+ */
9711
+ function getPadding(padding) {
9704
9712
  const paddingVal = typeof padding === "number" ? padding : 0;
9705
9713
  const paddingObj = typeof padding === "object" ? padding : {};
9706
9714
  return {
@@ -9710,6 +9718,10 @@ function getPadding(props, name) {
9710
9718
  right: paddingObj.right || paddingVal
9711
9719
  };
9712
9720
  }
9721
+
9722
+ /**
9723
+ * Returns true if the component is defined as a tooltip
9724
+ */
9713
9725
  function isTooltip(component) {
9714
9726
  const labelRole = component && component.type && component.type.role;
9715
9727
  return labelRole === "tooltip";
@@ -9724,8 +9736,8 @@ function getDefaultStyles(props, role) {
9724
9736
  return defaultStyles;
9725
9737
  }
9726
9738
  const tooltipStyle = theme.tooltip && theme.tooltip.style || {};
9727
- const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, tooltipStyle, defaultStyles.labels);
9728
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, {
9739
+ const labelStyle = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, tooltipStyle, defaultStyles.labels);
9740
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, {
9729
9741
  labels: labelStyle
9730
9742
  }, defaultStyles);
9731
9743
  }
@@ -9733,7 +9745,7 @@ function getStyles(style, defaultStyles) {
9733
9745
  const width = "100%";
9734
9746
  const height = "100%";
9735
9747
  if (!style) {
9736
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({
9748
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({
9737
9749
  parent: {
9738
9750
  height,
9739
9751
  width
@@ -9749,14 +9761,18 @@ function getStyles(style, defaultStyles) {
9749
9761
  const defaultLabels = defaultStyles && defaultStyles.labels || {};
9750
9762
  const defaultData = defaultStyles && defaultStyles.data || {};
9751
9763
  return {
9752
- parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, parent, defaultParent, {
9764
+ parent: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, parent, defaultParent, {
9753
9765
  width,
9754
9766
  height
9755
9767
  }),
9756
- labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, labels, defaultLabels),
9757
- data: lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()({}, data, defaultData)
9768
+ labels: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, labels, defaultLabels),
9769
+ data: lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, data, defaultData)
9758
9770
  };
9759
9771
  }
9772
+
9773
+ /**
9774
+ * Returns the value of a prop or accessor function with the given props
9775
+ */
9760
9776
  function evaluateProp(prop, props) {
9761
9777
  return isFunction(prop) ? prop(props) : prop;
9762
9778
  }
@@ -9778,19 +9794,28 @@ function degreesToRadians(degrees) {
9778
9794
  function radiansToDegrees(radians) {
9779
9795
  return typeof radians === "number" ? radians / (Math.PI / 180) : radians;
9780
9796
  }
9781
- function getRadius(props) {
9797
+
9798
+ /**
9799
+ * Get the maximum radius that will fit in the container
9800
+ */
9801
+ function getRadius(options) {
9802
+ const {
9803
+ width,
9804
+ height,
9805
+ padding
9806
+ } = options;
9782
9807
  const {
9783
9808
  left,
9784
9809
  right,
9785
9810
  top,
9786
9811
  bottom
9787
- } = getPadding(props);
9788
- const {
9789
- width,
9790
- height
9791
- } = props;
9812
+ } = padding;
9792
9813
  return Math.min(width - left - right, height - top - bottom) / 2;
9793
9814
  }
9815
+
9816
+ /**
9817
+ * Returns the origin for a polar chart within the padded area
9818
+ */
9794
9819
  function getPolarOrigin(props) {
9795
9820
  const {
9796
9821
  width,
@@ -9801,7 +9826,7 @@ function getPolarOrigin(props) {
9801
9826
  bottom,
9802
9827
  left,
9803
9828
  right
9804
- } = getPadding(props);
9829
+ } = getPadding(props.padding);
9805
9830
  const radius = Math.min(width - left - right, height - top - bottom) / 2;
9806
9831
  const offsetWidth = width / 2 + left - right;
9807
9832
  const offsetHeight = height / 2 + top - bottom;
@@ -9810,13 +9835,30 @@ function getPolarOrigin(props) {
9810
9835
  y: offsetHeight + radius > height ? radius + top - bottom : offsetHeight
9811
9836
  };
9812
9837
  }
9838
+
9839
+ /**
9840
+ * Determine the range of an axis based on the given props
9841
+ */
9813
9842
  function getRange(props, axis) {
9814
9843
  if (props.range && props.range[axis]) {
9815
9844
  return props.range[axis];
9816
9845
  } else if (props.range && Array.isArray(props.range)) {
9817
9846
  return props.range;
9818
9847
  }
9819
- return props.polar ? getPolarRange(props, axis) : getCartesianRange(props, axis);
9848
+ return props.polar ? getPolarRange({
9849
+ axis,
9850
+ innerRadius: props.innerRadius,
9851
+ startAngle: props.startAngle,
9852
+ endAngle: props.endAngle,
9853
+ height: props.height,
9854
+ width: props.width,
9855
+ padding: getPadding(props.padding)
9856
+ }) : getCartesianRange({
9857
+ axis,
9858
+ height: props.height,
9859
+ width: props.width,
9860
+ padding: getPadding(props.padding)
9861
+ });
9820
9862
  }
9821
9863
 
9822
9864
  /**
@@ -9848,7 +9890,7 @@ function createAccessor(key) {
9848
9890
  return x => x;
9849
9891
  }
9850
9892
  // otherwise, assume it is an array index, property key or path (_.property handles all three)
9851
- return lodash_property__WEBPACK_IMPORTED_MODULE_1___default()(key);
9893
+ return lodash_property__WEBPACK_IMPORTED_MODULE_2___default()(key);
9852
9894
  }
9853
9895
  function modifyProps(props, fallbackProps, role) {
9854
9896
  const theme = props.theme && props.theme[role] ? props.theme[role] : {};
@@ -9857,7 +9899,7 @@ function modifyProps(props, fallbackProps, role) {
9857
9899
  const defaultObject = horizontal === undefined ? {} : {
9858
9900
  horizontal
9859
9901
  };
9860
- return lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default()(defaultObject, props, themeProps, fallbackProps);
9902
+ return lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()(defaultObject, props, themeProps, fallbackProps);
9861
9903
  }
9862
9904
 
9863
9905
  /**
@@ -9944,10 +9986,10 @@ initialMemo, combine) {
9944
9986
  const childRole = child.type && child.type.role;
9945
9987
  const childName = child.props.name || `${childRole}-${names[index]}`;
9946
9988
  if (child.props && child.props.children) {
9947
- const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(parentProps, sharedProps));
9948
- 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 => {
9949
- const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_0___default()(childProps, sharedProps));
9950
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(c, nestedChildProps);
9989
+ const childProps = Object.assign({}, child.props, lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(parentProps, sharedProps));
9990
+ 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 => {
9991
+ const nestedChildProps = Object.assign({}, c.props, lodash_pick__WEBPACK_IMPORTED_MODULE_3___default()(childProps, sharedProps));
9992
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cloneElement(c, nestedChildProps);
9951
9993
  });
9952
9994
  const childNames = nestedChildren.map((c, i) => `${childName}-${i}`);
9953
9995
  const nestedResults = traverseChildren(nestedChildren, childNames, child);
@@ -9961,7 +10003,7 @@ initialMemo, combine) {
9961
10003
  return newMemo;
9962
10004
  }, initialMemo);
9963
10005
  };
9964
- const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_3__.isValidElement);
10006
+ const validChildren = children.filter(react__WEBPACK_IMPORTED_MODULE_0__.isValidElement);
9965
10007
  const childNames = validChildren.map((c, i) => i);
9966
10008
  return traverseChildren(validChildren, childNames);
9967
10009
  }
@@ -9981,10 +10023,10 @@ function isHorizontal(props) {
9981
10023
  if (memo || childProps.horizontal || !childProps.children) {
9982
10024
  return memo || childProps.horizontal;
9983
10025
  }
9984
- return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(childProps.children));
10026
+ return traverseChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(childProps.children));
9985
10027
  }, false);
9986
10028
  };
9987
- return traverseChildren(react__WEBPACK_IMPORTED_MODULE_3___default().Children.toArray(props.children));
10029
+ return traverseChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(props.children));
9988
10030
  }
9989
10031
 
9990
10032
  /***/ }),
@@ -10057,9 +10099,10 @@ __webpack_require__.r(__webpack_exports__);
10057
10099
  /* harmony export */ "getProps": function() { return /* binding */ getProps; },
10058
10100
  /* harmony export */ "getText": function() { return /* binding */ getText; }
10059
10101
  /* harmony export */ });
10102
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10060
10103
  /* 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");
10061
10104
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
10062
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../victory-core/es/victory-util/helpers.js");
10105
+
10063
10106
 
10064
10107
 
10065
10108
  // Private Functions
@@ -10305,11 +10348,12 @@ __webpack_require__.r(__webpack_exports__);
10305
10348
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10306
10349
  /* harmony export */ "warn": function() { return /* binding */ warn; }
10307
10350
  /* harmony export */ });
10308
- /* global console */
10351
+ /* global console process */
10309
10352
  /* eslint-disable no-console */
10310
10353
 
10311
- // TODO: Use "warning" npm module like React is switching to.
10312
10354
  function warn(message) {
10355
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
10356
+ // @ts-ignore - Webpack DefinePlugin will replace process.env.NODE_ENV
10313
10357
  if (true) {
10314
10358
  if (console && console.warn) {
10315
10359
  console.warn(message);
@@ -10602,13 +10646,15 @@ __webpack_require__.r(__webpack_exports__);
10602
10646
  /* harmony export */ "approximateTextSize": function() { return /* binding */ approximateTextSize; },
10603
10647
  /* harmony export */ "convertLengthToPixels": function() { return /* binding */ convertLengthToPixels; }
10604
10648
  /* harmony export */ });
10605
- /* 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");
10606
- /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_memoize__WEBPACK_IMPORTED_MODULE_0__);
10607
- /* 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");
10608
- /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
10609
-
10610
- // http://www.pearsonified.com/2012/01/characters-per-line.php
10649
+ /* 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");
10650
+ /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
10651
+ /* 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");
10652
+ /* harmony import */ var lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_memoize__WEBPACK_IMPORTED_MODULE_1__);
10653
+ // http://www.pearsonified.com/2012/01/characters-per-line.php
10611
10654
  /* eslint-disable no-magic-numbers */
10655
+
10656
+
10657
+
10612
10658
  // Based on measuring specific character widths
10613
10659
  // as in the following example https://bl.ocks.org/tophtucker/62f93a4658387bb61e4510c37e2e97cf
10614
10660
  // For new fonts: pull gist, open index.html locally, add font files (if not generic), enter font name in `font-family` input
@@ -10787,7 +10833,7 @@ const convertLengthToPixels = (length, fontSize) => {
10787
10833
  };
10788
10834
  const _prepareParams = (inputStyle, index) => {
10789
10835
  const lineStyle = Array.isArray(inputStyle) ? inputStyle[index] : inputStyle;
10790
- const style = lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default()({}, lineStyle, defaultStyle);
10836
+ const style = lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, lineStyle, defaultStyle);
10791
10837
  return Object.assign({}, style, {
10792
10838
  fontFamily: style.fontFamily,
10793
10839
  letterSpacing: typeof style.letterSpacing === "number" ? style.letterSpacing : convertLengthToPixels(String(style.letterSpacing), style.fontSize),
@@ -10835,7 +10881,7 @@ const _approximateDimensionsInternal = (text, style) => {
10835
10881
  height: heightWithRotate * coefficients.heightOverlapCoef
10836
10882
  };
10837
10883
  };
10838
- const _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default()(() => {
10884
+ const _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default()(() => {
10839
10885
  const element = document.createElementNS("http://www.w3.org/2000/svg", "svg");
10840
10886
  element.setAttribute("xlink", "http://www.w3.org/1999/xlink");
10841
10887
  element.setAttribute("width", "300");
@@ -10856,7 +10902,7 @@ const styleToKeyComponent = style => {
10856
10902
  }
10857
10903
  return `${style.angle}:${style.fontFamily}:${style.fontSize}:${style.letterSpacing}:${style.lineHeight}`;
10858
10904
  };
10859
- const _measureDimensionsInternal = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___default()((text, style) => {
10905
+ const _measureDimensionsInternal = lodash_memoize__WEBPACK_IMPORTED_MODULE_1___default()((text, style) => {
10860
10906
  let containerElement = _getMeasurementContainer();
10861
10907
  if (!containerElement.isConnected) {
10862
10908
  _getMeasurementContainer.cache.clear?.();
@@ -11026,12 +11072,12 @@ __webpack_require__.r(__webpack_exports__);
11026
11072
  /* harmony export */ "getInitialTransitionState": function() { return /* binding */ getInitialTransitionState; },
11027
11073
  /* harmony export */ "getTransitionPropsFactory": function() { return /* binding */ getTransitionPropsFactory; }
11028
11074
  /* harmony export */ });
11029
- /* 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");
11030
- /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_0__);
11075
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
11076
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
11031
11077
  /* 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");
11032
11078
  /* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
11033
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
11034
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
11079
+ /* 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");
11080
+ /* harmony import */ var lodash_identity__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_identity__WEBPACK_IMPORTED_MODULE_2__);
11035
11081
 
11036
11082
 
11037
11083
 
@@ -11122,13 +11168,13 @@ function getInitialTransitionState(oldChildren, nextChildren) {
11122
11168
  const getTransitionsFromChildren = (old, next) => {
11123
11169
  return old.map((child, idx) => {
11124
11170
  if (child && child.props && child.props.children && next[idx]) {
11125
- 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));
11171
+ 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));
11126
11172
  }
11127
11173
  // get Transition entering and exiting nodes
11128
11174
  return getTransition(child, next[idx]);
11129
11175
  });
11130
11176
  };
11131
- const childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_2___default().Children.toArray(nextChildren));
11177
+ const childrenTransitions = getTransitionsFromChildren(react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(oldChildren), react__WEBPACK_IMPORTED_MODULE_0___default().Children.toArray(nextChildren));
11132
11178
  return {
11133
11179
  nodesWillExit,
11134
11180
  nodesWillEnter,
@@ -11142,7 +11188,7 @@ function getInitialTransitionState(oldChildren, nextChildren) {
11142
11188
  };
11143
11189
  }
11144
11190
  function getInitialChildProps(animate, data) {
11145
- const after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11191
+ const after = animate.onEnter && animate.onEnter.after ? animate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11146
11192
  return {
11147
11193
  data: data.map((datum, idx) => Object.assign({}, datum, after(datum, idx, data)))
11148
11194
  };
@@ -11159,7 +11205,7 @@ function getChildBeforeLoad(animate, child, data, cb) {
11159
11205
  data
11160
11206
  };
11161
11207
  }
11162
- const before = newAnimate.onLoad && newAnimate.onLoad.before ? newAnimate.onLoad.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11208
+ const before = newAnimate.onLoad && newAnimate.onLoad.before ? newAnimate.onLoad.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11163
11209
  // If nodes need to exit, transform them with the provided onLoad.before function.
11164
11210
  const newData = data.map((datum, idx) => {
11165
11211
  return Object.assign({}, datum, before(datum, idx, data));
@@ -11181,7 +11227,7 @@ function getChildOnLoad(animate, data, cb) {
11181
11227
  data
11182
11228
  };
11183
11229
  }
11184
- const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11230
+ const after = animate.onLoad && animate.onLoad.after ? animate.onLoad.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11185
11231
  // If nodes need to exit, transform them with the provided onLoad.after function.
11186
11232
  newData = data.map((datum, idx) => {
11187
11233
  return Object.assign({}, datum, after(datum, idx, data));
@@ -11203,7 +11249,7 @@ function getChildPropsOnExit(animate, child, data, exitingNodes, cb) {
11203
11249
  // After the exit transition occurs, trigger the animations for
11204
11250
  // nodes that are neither exiting nor entering.
11205
11251
  animate.onEnd = cb;
11206
- const before = animate.onExit && animate.onExit.before ? animate.onExit.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11252
+ const before = animate.onExit && animate.onExit.before ? animate.onExit.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11207
11253
  // If nodes need to exit, transform them with the provided onExit.before function.
11208
11254
  newData = data.map((datum, idx) => {
11209
11255
  const key = (datum.key || idx).toString();
@@ -11226,7 +11272,7 @@ function getChildPropsBeforeEnter(animate, child, data, enteringNodes, cb) {
11226
11272
  newAnimate = Object.assign({}, animate, {
11227
11273
  onEnd: cb
11228
11274
  });
11229
- const before = animate.onEnter && animate.onEnter.before ? animate.onEnter.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11275
+ const before = animate.onEnter && animate.onEnter.before ? animate.onEnter.before : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11230
11276
  // We want the entering nodes to be included in the transition target
11231
11277
  // domain. However, we may not want these nodes to be displayed initially,
11232
11278
  // so perform the `onEnter.before` transformation on each node.
@@ -11253,7 +11299,7 @@ function getChildPropsOnEnter(animate, data, enteringNodes, cb) {
11253
11299
  // domain should encompass the nodes that will now enter. So perform
11254
11300
  // the `onEnter.after` transformation on each node.
11255
11301
  newAnimate.onEnd = cb;
11256
- const after = newAnimate.onEnter && newAnimate.onEnter.after ? newAnimate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_0___default());
11302
+ const after = newAnimate.onEnter && newAnimate.onEnter.after ? newAnimate.onEnter.after : (lodash_identity__WEBPACK_IMPORTED_MODULE_2___default());
11257
11303
  newData = data.map((datum, idx) => {
11258
11304
  const key = getDatumKey(datum, idx);
11259
11305
  return enteringNodes[key] ? Object.assign({}, datum, after(datum, idx, data)) : datum;