victory-stack 36.4.1 → 36.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -506,10 +506,10 @@ VictoryStack.propTypes = _objectSpread(_objectSpread({}, victory_core__WEBPACK_I
506
506
  xOffset: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().number)
507
507
  });
508
508
  VictoryStack.defaultProps = {
509
- containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_15__["default"], null),
509
+ containerComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(victory_core__WEBPACK_IMPORTED_MODULE_15__.VictoryContainer, null),
510
510
  groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("g", null),
511
511
  standalone: true,
512
- theme: victory_core__WEBPACK_IMPORTED_MODULE_16__["default"].grayscale,
512
+ theme: victory_core__WEBPACK_IMPORTED_MODULE_16__.VictoryTheme.grayscale,
513
513
  fillInMissingData: true
514
514
  };
515
515
  var VictoryStackMemo = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().memo(VictoryStack, (react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default()));
@@ -2181,6 +2181,53 @@ function baseSortedUniq(array, iteratee) {
2181
2181
  module.exports = baseSortedUniq;
2182
2182
 
2183
2183
 
2184
+ /***/ }),
2185
+
2186
+ /***/ "../../../node_modules/lodash/_baseToString.js":
2187
+ /*!*****************************************************!*\
2188
+ !*** ../../../node_modules/lodash/_baseToString.js ***!
2189
+ \*****************************************************/
2190
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2191
+
2192
+ var Symbol = __webpack_require__(/*! ./_Symbol */ "../../../node_modules/lodash/_Symbol.js"),
2193
+ arrayMap = __webpack_require__(/*! ./_arrayMap */ "../../../node_modules/lodash/_arrayMap.js"),
2194
+ isArray = __webpack_require__(/*! ./isArray */ "../../../node_modules/lodash/isArray.js"),
2195
+ isSymbol = __webpack_require__(/*! ./isSymbol */ "../../../node_modules/lodash/isSymbol.js");
2196
+
2197
+ /** Used as references for various `Number` constants. */
2198
+ var INFINITY = 1 / 0;
2199
+
2200
+ /** Used to convert symbols to primitives and strings. */
2201
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
2202
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
2203
+
2204
+ /**
2205
+ * The base implementation of `_.toString` which doesn't convert nullish
2206
+ * values to empty strings.
2207
+ *
2208
+ * @private
2209
+ * @param {*} value The value to process.
2210
+ * @returns {string} Returns the string.
2211
+ */
2212
+ function baseToString(value) {
2213
+ // Exit early for strings to avoid a performance hit in some environments.
2214
+ if (typeof value == 'string') {
2215
+ return value;
2216
+ }
2217
+ if (isArray(value)) {
2218
+ // Recursively convert values (susceptible to call stack limits).
2219
+ return arrayMap(value, baseToString) + '';
2220
+ }
2221
+ if (isSymbol(value)) {
2222
+ return symbolToString ? symbolToString.call(value) : '';
2223
+ }
2224
+ var result = (value + '');
2225
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
2226
+ }
2227
+
2228
+ module.exports = baseToString;
2229
+
2230
+
2184
2231
  /***/ }),
2185
2232
 
2186
2233
  /***/ "../../../node_modules/lodash/_baseTrim.js":
@@ -6067,29 +6114,36 @@ module.exports = toNumber;
6067
6114
  /*!************************************************!*\
6068
6115
  !*** ../../../node_modules/lodash/toString.js ***!
6069
6116
  \************************************************/
6070
- /***/ ((module) => {
6117
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6118
+
6119
+ var baseToString = __webpack_require__(/*! ./_baseToString */ "../../../node_modules/lodash/_baseToString.js");
6071
6120
 
6072
6121
  /**
6073
- * This method returns the first argument it receives.
6122
+ * Converts `value` to a string. An empty string is returned for `null`
6123
+ * and `undefined` values. The sign of `-0` is preserved.
6074
6124
  *
6075
6125
  * @static
6076
- * @since 0.1.0
6077
6126
  * @memberOf _
6078
- * @category Util
6079
- * @param {*} value Any value.
6080
- * @returns {*} Returns `value`.
6127
+ * @since 4.0.0
6128
+ * @category Lang
6129
+ * @param {*} value The value to convert.
6130
+ * @returns {string} Returns the converted string.
6081
6131
  * @example
6082
6132
  *
6083
- * var object = { 'a': 1 };
6133
+ * _.toString(null);
6134
+ * // => ''
6084
6135
  *
6085
- * console.log(_.identity(object) === object);
6086
- * // => true
6136
+ * _.toString(-0);
6137
+ * // => '-0'
6138
+ *
6139
+ * _.toString([1, 2, 3]);
6140
+ * // => '1,2,3'
6087
6141
  */
6088
- function identity(value) {
6089
- return value;
6142
+ function toString(value) {
6143
+ return value == null ? '' : baseToString(value);
6090
6144
  }
6091
6145
 
6092
- module.exports = identity;
6146
+ module.exports = toString;
6093
6147
 
6094
6148
 
6095
6149
  /***/ }),
@@ -6524,7 +6578,7 @@ module.exports = checkPropTypes;
6524
6578
 
6525
6579
 
6526
6580
 
6527
- var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-is/index.js");
6581
+ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/prop-types/node_modules/react-is/index.js");
6528
6582
  var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/object-assign/index.js");
6529
6583
 
6530
6584
  var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
@@ -7143,7 +7197,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
7143
7197
  */
7144
7198
 
7145
7199
  if (true) {
7146
- var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/react-is/index.js");
7200
+ var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/prop-types/node_modules/react-is/index.js");
7147
7201
 
7148
7202
  // By explicitly using `prop-types` you are opting into new development behavior.
7149
7203
  // http://fb.me/prop-types-in-prod
@@ -7188,154 +7242,10 @@ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
7188
7242
 
7189
7243
  /***/ }),
7190
7244
 
7191
- /***/ "../../../node_modules/react-fast-compare/index.js":
7192
- /*!*********************************************************!*\
7193
- !*** ../../../node_modules/react-fast-compare/index.js ***!
7194
- \*********************************************************/
7195
- /***/ ((module) => {
7196
-
7197
- /* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
7198
-
7199
- var hasElementType = typeof Element !== 'undefined';
7200
- var hasMap = typeof Map === 'function';
7201
- var hasSet = typeof Set === 'function';
7202
- var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
7203
-
7204
- // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
7205
-
7206
- function equal(a, b) {
7207
- // START: fast-deep-equal es6/index.js 3.1.1
7208
- if (a === b) return true;
7209
-
7210
- if (a && b && typeof a == 'object' && typeof b == 'object') {
7211
- if (a.constructor !== b.constructor) return false;
7212
-
7213
- var length, i, keys;
7214
- if (Array.isArray(a)) {
7215
- length = a.length;
7216
- if (length != b.length) return false;
7217
- for (i = length; i-- !== 0;)
7218
- if (!equal(a[i], b[i])) return false;
7219
- return true;
7220
- }
7221
-
7222
- // START: Modifications:
7223
- // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
7224
- // to co-exist with es5.
7225
- // 2. Replace `for of` with es5 compliant iteration using `for`.
7226
- // Basically, take:
7227
- //
7228
- // ```js
7229
- // for (i of a.entries())
7230
- // if (!b.has(i[0])) return false;
7231
- // ```
7232
- //
7233
- // ... and convert to:
7234
- //
7235
- // ```js
7236
- // it = a.entries();
7237
- // while (!(i = it.next()).done)
7238
- // if (!b.has(i.value[0])) return false;
7239
- // ```
7240
- //
7241
- // **Note**: `i` access switches to `i.value`.
7242
- var it;
7243
- if (hasMap && (a instanceof Map) && (b instanceof Map)) {
7244
- if (a.size !== b.size) return false;
7245
- it = a.entries();
7246
- while (!(i = it.next()).done)
7247
- if (!b.has(i.value[0])) return false;
7248
- it = a.entries();
7249
- while (!(i = it.next()).done)
7250
- if (!equal(i.value[1], b.get(i.value[0]))) return false;
7251
- return true;
7252
- }
7253
-
7254
- if (hasSet && (a instanceof Set) && (b instanceof Set)) {
7255
- if (a.size !== b.size) return false;
7256
- it = a.entries();
7257
- while (!(i = it.next()).done)
7258
- if (!b.has(i.value[0])) return false;
7259
- return true;
7260
- }
7261
- // END: Modifications
7262
-
7263
- if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
7264
- length = a.length;
7265
- if (length != b.length) return false;
7266
- for (i = length; i-- !== 0;)
7267
- if (a[i] !== b[i]) return false;
7268
- return true;
7269
- }
7270
-
7271
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
7272
- if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
7273
- if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
7274
-
7275
- keys = Object.keys(a);
7276
- length = keys.length;
7277
- if (length !== Object.keys(b).length) return false;
7278
-
7279
- for (i = length; i-- !== 0;)
7280
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
7281
- // END: fast-deep-equal
7282
-
7283
- // START: react-fast-compare
7284
- // custom handling for DOM elements
7285
- if (hasElementType && a instanceof Element) return false;
7286
-
7287
- // custom handling for React/Preact
7288
- for (i = length; i-- !== 0;) {
7289
- if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
7290
- // React-specific: avoid traversing React elements' _owner
7291
- // Preact-specific: avoid traversing Preact elements' __v and __o
7292
- // __v = $_original / $_vnode
7293
- // __o = $_owner
7294
- // These properties contain circular references and are not needed when
7295
- // comparing the actual elements (and not their owners)
7296
- // .$$typeof and ._store on just reasonable markers of elements
7297
-
7298
- continue;
7299
- }
7300
-
7301
- // all other properties should be traversed as usual
7302
- if (!equal(a[keys[i]], b[keys[i]])) return false;
7303
- }
7304
- // END: react-fast-compare
7305
-
7306
- // START: fast-deep-equal
7307
- return true;
7308
- }
7309
-
7310
- return a !== a && b !== b;
7311
- }
7312
- // end fast-deep-equal
7313
-
7314
- module.exports = function isEqual(a, b) {
7315
- try {
7316
- return equal(a, b);
7317
- } catch (error) {
7318
- if (((error.message || '').match(/stack|recursion/i))) {
7319
- // warn on circular references, don't crash
7320
- // browsers give this different errors name and messages:
7321
- // chrome/safari: "RangeError", "Maximum call stack size exceeded"
7322
- // firefox: "InternalError", too much recursion"
7323
- // edge: "Error", "Out of stack space"
7324
- console.warn('react-fast-compare cannot handle circular refs');
7325
- return false;
7326
- }
7327
- // some other error. we should definitely know about these
7328
- throw error;
7329
- }
7330
- };
7331
-
7332
-
7333
- /***/ }),
7334
-
7335
- /***/ "../../../node_modules/react-is/cjs/react-is.development.js":
7336
- /*!******************************************************************!*\
7337
- !*** ../../../node_modules/react-is/cjs/react-is.development.js ***!
7338
- \******************************************************************/
7245
+ /***/ "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
7246
+ /*!******************************************************************************************!*\
7247
+ !*** ../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
7248
+ \******************************************************************************************/
7339
7249
  /***/ ((__unused_webpack_module, exports) => {
7340
7250
 
7341
7251
  "use strict";
@@ -7524,18 +7434,162 @@ exports.typeOf = typeOf;
7524
7434
 
7525
7435
  /***/ }),
7526
7436
 
7527
- /***/ "../../../node_modules/react-is/index.js":
7528
- /*!***********************************************!*\
7529
- !*** ../../../node_modules/react-is/index.js ***!
7530
- \***********************************************/
7437
+ /***/ "../../../node_modules/prop-types/node_modules/react-is/index.js":
7438
+ /*!***********************************************************************!*\
7439
+ !*** ../../../node_modules/prop-types/node_modules/react-is/index.js ***!
7440
+ \***********************************************************************/
7531
7441
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7532
7442
 
7533
7443
  "use strict";
7534
7444
 
7535
7445
 
7536
7446
  if (false) {} else {
7537
- module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/react-is/cjs/react-is.development.js");
7447
+ module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
7448
+ }
7449
+
7450
+
7451
+ /***/ }),
7452
+
7453
+ /***/ "../../../node_modules/react-fast-compare/index.js":
7454
+ /*!*********************************************************!*\
7455
+ !*** ../../../node_modules/react-fast-compare/index.js ***!
7456
+ \*********************************************************/
7457
+ /***/ ((module) => {
7458
+
7459
+ /* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
7460
+
7461
+ var hasElementType = typeof Element !== 'undefined';
7462
+ var hasMap = typeof Map === 'function';
7463
+ var hasSet = typeof Set === 'function';
7464
+ var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
7465
+
7466
+ // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
7467
+
7468
+ function equal(a, b) {
7469
+ // START: fast-deep-equal es6/index.js 3.1.1
7470
+ if (a === b) return true;
7471
+
7472
+ if (a && b && typeof a == 'object' && typeof b == 'object') {
7473
+ if (a.constructor !== b.constructor) return false;
7474
+
7475
+ var length, i, keys;
7476
+ if (Array.isArray(a)) {
7477
+ length = a.length;
7478
+ if (length != b.length) return false;
7479
+ for (i = length; i-- !== 0;)
7480
+ if (!equal(a[i], b[i])) return false;
7481
+ return true;
7482
+ }
7483
+
7484
+ // START: Modifications:
7485
+ // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
7486
+ // to co-exist with es5.
7487
+ // 2. Replace `for of` with es5 compliant iteration using `for`.
7488
+ // Basically, take:
7489
+ //
7490
+ // ```js
7491
+ // for (i of a.entries())
7492
+ // if (!b.has(i[0])) return false;
7493
+ // ```
7494
+ //
7495
+ // ... and convert to:
7496
+ //
7497
+ // ```js
7498
+ // it = a.entries();
7499
+ // while (!(i = it.next()).done)
7500
+ // if (!b.has(i.value[0])) return false;
7501
+ // ```
7502
+ //
7503
+ // **Note**: `i` access switches to `i.value`.
7504
+ var it;
7505
+ if (hasMap && (a instanceof Map) && (b instanceof Map)) {
7506
+ if (a.size !== b.size) return false;
7507
+ it = a.entries();
7508
+ while (!(i = it.next()).done)
7509
+ if (!b.has(i.value[0])) return false;
7510
+ it = a.entries();
7511
+ while (!(i = it.next()).done)
7512
+ if (!equal(i.value[1], b.get(i.value[0]))) return false;
7513
+ return true;
7514
+ }
7515
+
7516
+ if (hasSet && (a instanceof Set) && (b instanceof Set)) {
7517
+ if (a.size !== b.size) return false;
7518
+ it = a.entries();
7519
+ while (!(i = it.next()).done)
7520
+ if (!b.has(i.value[0])) return false;
7521
+ return true;
7522
+ }
7523
+ // END: Modifications
7524
+
7525
+ if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
7526
+ length = a.length;
7527
+ if (length != b.length) return false;
7528
+ for (i = length; i-- !== 0;)
7529
+ if (a[i] !== b[i]) return false;
7530
+ return true;
7531
+ }
7532
+
7533
+ if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
7534
+ if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
7535
+ if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
7536
+
7537
+ keys = Object.keys(a);
7538
+ length = keys.length;
7539
+ if (length !== Object.keys(b).length) return false;
7540
+
7541
+ for (i = length; i-- !== 0;)
7542
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
7543
+ // END: fast-deep-equal
7544
+
7545
+ // START: react-fast-compare
7546
+ // custom handling for DOM elements
7547
+ if (hasElementType && a instanceof Element) return false;
7548
+
7549
+ // custom handling for React/Preact
7550
+ for (i = length; i-- !== 0;) {
7551
+ if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
7552
+ // React-specific: avoid traversing React elements' _owner
7553
+ // Preact-specific: avoid traversing Preact elements' __v and __o
7554
+ // __v = $_original / $_vnode
7555
+ // __o = $_owner
7556
+ // These properties contain circular references and are not needed when
7557
+ // comparing the actual elements (and not their owners)
7558
+ // .$$typeof and ._store on just reasonable markers of elements
7559
+
7560
+ continue;
7561
+ }
7562
+
7563
+ // all other properties should be traversed as usual
7564
+ if (!equal(a[keys[i]], b[keys[i]])) return false;
7565
+ }
7566
+ // END: react-fast-compare
7567
+
7568
+ // START: fast-deep-equal
7569
+ return true;
7570
+ }
7571
+
7572
+ return a !== a && b !== b;
7538
7573
  }
7574
+ // end fast-deep-equal
7575
+
7576
+ module.exports = function isEqual(a, b) {
7577
+ try {
7578
+ return equal(a, b);
7579
+ } catch (error) {
7580
+ if (((error.message || '').match(/stack|recursion/i))) {
7581
+ // warn on circular references, don't crash
7582
+ // browsers give this different errors name and messages:
7583
+ // chrome/safari: "RangeError", "Maximum call stack size exceeded"
7584
+ // firefox: "InternalError", too much recursion"
7585
+ // edge: "Error", "Out of stack space"
7586
+ console.warn('react-fast-compare cannot handle circular refs');
7587
+ return false;
7588
+ }
7589
+ // some other error. we should definitely know about these
7590
+ throw error;
7591
+ }
7592
+ };
7539
7593
 
7540
7594
 
7541
7595
  /***/ }),
@@ -7549,7 +7603,7 @@ if (false) {} else {
7549
7603
  "use strict";
7550
7604
  __webpack_require__.r(__webpack_exports__);
7551
7605
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7552
- /* harmony export */ "default": () => (/* binding */ VictoryContainer)
7606
+ /* harmony export */ "VictoryContainer": () => (/* binding */ VictoryContainer)
7553
7607
  /* harmony export */ });
7554
7608
  /* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isFunction */ "../../../node_modules/lodash/isFunction.js");
7555
7609
  /* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_0__);
@@ -7577,12 +7631,14 @@ __webpack_require__.r(__webpack_exports__);
7577
7631
 
7578
7632
 
7579
7633
 
7580
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7634
+ 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); }
7581
7635
 
7582
7636
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7583
7637
 
7584
7638
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7585
7639
 
7640
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7641
+
7586
7642
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7587
7643
 
7588
7644
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -7591,7 +7647,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
7591
7647
 
7592
7648
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
7593
7649
 
7594
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7650
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7595
7651
 
7596
7652
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
7597
7653
 
@@ -7601,10 +7657,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
7601
7657
 
7602
7658
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
7603
7659
 
7604
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
7605
-
7606
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7607
-
7660
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
7608
7661
 
7609
7662
 
7610
7663
 
@@ -7619,13 +7672,18 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
7619
7672
 
7620
7673
  var _super = _createSuper(VictoryContainer);
7621
7674
 
7675
+ // @ts-expect-error Ref will be initialized on mount
7676
+ // @ts-expect-error Ref will be initialized on mount
7622
7677
  function VictoryContainer(props) {
7623
7678
  var _this;
7624
7679
 
7625
7680
  _classCallCheck(this, VictoryContainer);
7626
7681
 
7627
7682
  _this = _super.call(this, props);
7628
- _this.containerId = !lodash_isObject__WEBPACK_IMPORTED_MODULE_1___default()(props) || props.containerId === undefined ? lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()("victory-container-") : props.containerId;
7683
+ _this.containerId = void 0;
7684
+ _this.portalRef = void 0;
7685
+ _this.containerRef = void 0;
7686
+ _this.shouldHandleWheel = void 0;
7629
7687
 
7630
7688
  _this.savePortalRef = function (portal) {
7631
7689
  _this.portalRef = portal;
@@ -7644,18 +7702,21 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
7644
7702
  return _this.portalRef.portalDeregister(key);
7645
7703
  };
7646
7704
 
7647
- _this.saveContainerRef = props && lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default()(props.containerRef) ? props.containerRef : function (container) {
7705
+ _this.saveContainerRef = function (container) {
7706
+ if (lodash_isFunction__WEBPACK_IMPORTED_MODULE_0___default()(_this.props.containerRef)) {
7707
+ _this.props.containerRef(container);
7708
+ }
7709
+
7648
7710
  _this.containerRef = container;
7649
7711
  return container;
7650
7712
  };
7651
- _this.shouldHandleWheel = props && props.events && props.events.onWheel;
7652
7713
 
7653
- if (_this.shouldHandleWheel) {
7654
- _this.handleWheel = function (e) {
7655
- return e.preventDefault();
7656
- };
7657
- }
7714
+ _this.handleWheel = function (e) {
7715
+ return e.preventDefault();
7716
+ };
7658
7717
 
7718
+ _this.containerId = !lodash_isObject__WEBPACK_IMPORTED_MODULE_1___default()(props) || props.containerId === undefined ? lodash_uniqueId__WEBPACK_IMPORTED_MODULE_2___default()("victory-container-") : props.containerId;
7719
+ _this.shouldHandleWheel = !!(props && props.events && props.events.onWheel);
7659
7720
  return _this;
7660
7721
  }
7661
7722
 
@@ -7748,7 +7809,7 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
7748
7809
  preserveAspectRatio: svgProps.preserveAspectRatio,
7749
7810
  style: portalSvgStyle
7750
7811
  };
7751
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
7812
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_6__.PortalContext.Provider, {
7752
7813
  value: {
7753
7814
  portalUpdate: this.portalUpdate,
7754
7815
  portalRegister: this.portalRegister,
@@ -7803,12 +7864,9 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
7803
7864
 
7804
7865
  return VictoryContainer;
7805
7866
  }((react__WEBPACK_IMPORTED_MODULE_5___default().Component));
7806
-
7807
- _defineProperty(VictoryContainer, "displayName", "VictoryContainer");
7808
-
7809
- _defineProperty(VictoryContainer, "role", "container");
7810
-
7811
- _defineProperty(VictoryContainer, "propTypes", {
7867
+ VictoryContainer.displayName = "VictoryContainer";
7868
+ VictoryContainer.role = "container";
7869
+ VictoryContainer.propTypes = {
7812
7870
  "aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
7813
7871
  "aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
7814
7872
  children: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)]),
@@ -7837,19 +7895,15 @@ _defineProperty(VictoryContainer, "propTypes", {
7837
7895
  theme: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object),
7838
7896
  title: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
7839
7897
  width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_10__.nonNegative
7840
- });
7841
-
7842
- _defineProperty(VictoryContainer, "defaultProps", {
7898
+ };
7899
+ VictoryContainer.defaultProps = {
7843
7900
  className: "VictoryContainer",
7844
- portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__["default"], null),
7901
+ portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_11__.Portal, null),
7845
7902
  portalZIndex: 99,
7846
7903
  responsive: true,
7847
7904
  role: "img"
7848
- });
7849
-
7850
- _defineProperty(VictoryContainer, "contextType", _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__["default"]);
7851
-
7852
-
7905
+ };
7906
+ VictoryContainer.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__["default"];
7853
7907
 
7854
7908
  /***/ }),
7855
7909
 
@@ -7862,19 +7916,18 @@ _defineProperty(VictoryContainer, "contextType", _victory_util_timer_context__WE
7862
7916
  "use strict";
7863
7917
  __webpack_require__.r(__webpack_exports__);
7864
7918
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7865
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7919
+ /* harmony export */ "PortalContext": () => (/* binding */ PortalContext)
7866
7920
  /* harmony export */ });
7867
7921
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
7868
7922
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7869
7923
 
7924
+
7870
7925
  /**
7871
7926
  * The React context object consumers may use to access the context of the
7872
7927
  * portal.
7873
7928
  */
7874
-
7875
7929
  var PortalContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});
7876
7930
  PortalContext.displayName = "PortalContext";
7877
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PortalContext);
7878
7931
 
7879
7932
  /***/ }),
7880
7933
 
@@ -7887,7 +7940,7 @@ PortalContext.displayName = "PortalContext";
7887
7940
  "use strict";
7888
7941
  __webpack_require__.r(__webpack_exports__);
7889
7942
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7890
- /* harmony export */ "default": () => (/* binding */ Portal)
7943
+ /* harmony export */ "Portal": () => (/* binding */ Portal)
7891
7944
  /* harmony export */ });
7892
7945
  /* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/keys */ "../../../node_modules/lodash/keys.js");
7893
7946
  /* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
@@ -7906,7 +7959,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
7906
7959
 
7907
7960
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
7908
7961
 
7909
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7962
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7910
7963
 
7911
7964
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
7912
7965
 
@@ -7916,10 +7969,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
7916
7969
 
7917
7970
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
7918
7971
 
7919
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
7920
-
7921
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7922
-
7972
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
7923
7973
 
7924
7974
 
7925
7975
 
@@ -7935,32 +7985,31 @@ var Portal = /*#__PURE__*/function (_React$Component) {
7935
7985
  _classCallCheck(this, Portal);
7936
7986
 
7937
7987
  _this = _super.call(this, props);
7988
+ _this.map = void 0;
7989
+ _this.index = void 0;
7990
+
7991
+ _this.portalRegister = function () {
7992
+ return ++_this.index;
7993
+ };
7994
+
7995
+ _this.portalUpdate = function (key, element) {
7996
+ _this.map[key] = element;
7997
+
7998
+ _this.forceUpdate();
7999
+ };
8000
+
8001
+ _this.portalDeregister = function (key) {
8002
+ delete _this.map[key];
8003
+
8004
+ _this.forceUpdate();
8005
+ };
8006
+
7938
8007
  _this.map = {};
7939
8008
  _this.index = 1;
7940
- _this.portalUpdate = _this.portalUpdate.bind(_assertThisInitialized(_this));
7941
- _this.portalRegister = _this.portalRegister.bind(_assertThisInitialized(_this));
7942
- _this.portalDeregister = _this.portalDeregister.bind(_assertThisInitialized(_this));
7943
8009
  return _this;
7944
8010
  }
7945
8011
 
7946
8012
  _createClass(Portal, [{
7947
- key: "portalRegister",
7948
- value: function portalRegister() {
7949
- return ++this.index;
7950
- }
7951
- }, {
7952
- key: "portalUpdate",
7953
- value: function portalUpdate(key, element) {
7954
- this.map[key] = element;
7955
- this.forceUpdate();
7956
- }
7957
- }, {
7958
- key: "portalDeregister",
7959
- value: function portalDeregister(key) {
7960
- delete this.map[key];
7961
- this.forceUpdate();
7962
- }
7963
- }, {
7964
8013
  key: "getChildren",
7965
8014
  value: function getChildren() {
7966
8015
  var _this2 = this;
@@ -7982,18 +8031,14 @@ var Portal = /*#__PURE__*/function (_React$Component) {
7982
8031
 
7983
8032
  return Portal;
7984
8033
  }((react__WEBPACK_IMPORTED_MODULE_1___default().Component));
7985
-
7986
- _defineProperty(Portal, "displayName", "Portal");
7987
-
7988
- _defineProperty(Portal, "propTypes", {
8034
+ Portal.displayName = "Portal";
8035
+ Portal.propTypes = {
7989
8036
  className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
7990
8037
  height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative,
7991
8038
  style: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object),
7992
8039
  viewBox: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
7993
8040
  width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative
7994
- });
7995
-
7996
-
8041
+ };
7997
8042
 
7998
8043
  /***/ }),
7999
8044
 
@@ -8006,7 +8051,7 @@ _defineProperty(Portal, "propTypes", {
8006
8051
  "use strict";
8007
8052
  __webpack_require__.r(__webpack_exports__);
8008
8053
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8009
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8054
+ /* harmony export */ "grayscale": () => (/* binding */ grayscale)
8010
8055
  /* harmony export */ });
8011
8056
  /* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
8012
8057
  /* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
@@ -8053,7 +8098,7 @@ var centeredLabelStyles = lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
8053
8098
 
8054
8099
  var strokeLinecap = "round";
8055
8100
  var strokeLinejoin = "round";
8056
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
8101
+ var grayscale = {
8057
8102
  area: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
8058
8103
  style: {
8059
8104
  data: {
@@ -8268,7 +8313,7 @@ var strokeLinejoin = "round";
8268
8313
  }
8269
8314
  }
8270
8315
  }, baseProps)
8271
- });
8316
+ };
8272
8317
 
8273
8318
  /***/ }),
8274
8319
 
@@ -8281,7 +8326,7 @@ var strokeLinejoin = "round";
8281
8326
  "use strict";
8282
8327
  __webpack_require__.r(__webpack_exports__);
8283
8328
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8284
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8329
+ /* harmony export */ "material": () => (/* binding */ material)
8285
8330
  /* harmony export */ });
8286
8331
  /* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/assign */ "../../../node_modules/lodash/assign.js");
8287
8332
  /* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_0__);
@@ -8338,7 +8383,7 @@ var centeredLabelStyles = lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
8338
8383
  var strokeDasharray = "10, 5";
8339
8384
  var strokeLinecap = "round";
8340
8385
  var strokeLinejoin = "round";
8341
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
8386
+ var material = {
8342
8387
  area: lodash_assign__WEBPACK_IMPORTED_MODULE_0___default()({
8343
8388
  style: {
8344
8389
  data: {
@@ -8570,7 +8615,7 @@ var strokeLinejoin = "round";
8570
8615
  }
8571
8616
  }
8572
8617
  }, baseProps)
8573
- });
8618
+ };
8574
8619
 
8575
8620
  /***/ }),
8576
8621
 
@@ -8583,16 +8628,17 @@ var strokeLinejoin = "round";
8583
8628
  "use strict";
8584
8629
  __webpack_require__.r(__webpack_exports__);
8585
8630
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8586
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8631
+ /* harmony export */ "VictoryTheme": () => (/* binding */ VictoryTheme)
8587
8632
  /* harmony export */ });
8588
- /* harmony import */ var _material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./material */ "../../victory-core/es/victory-theme/material.js");
8589
- /* harmony import */ var _grayscale__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./grayscale */ "../../victory-core/es/victory-theme/grayscale.js");
8633
+ /* harmony import */ var _grayscale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./grayscale */ "../../victory-core/es/victory-theme/grayscale.js");
8634
+ /* harmony import */ var _material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./material */ "../../victory-core/es/victory-theme/material.js");
8590
8635
 
8591
8636
 
8592
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
8593
- material: _material__WEBPACK_IMPORTED_MODULE_0__["default"],
8594
- grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_1__["default"]
8595
- });
8637
+
8638
+ var VictoryTheme = {
8639
+ grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_0__.grayscale,
8640
+ material: _material__WEBPACK_IMPORTED_MODULE_1__.material
8641
+ };
8596
8642
 
8597
8643
  /***/ }),
8598
8644
 
@@ -8673,7 +8719,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
8673
8719
 
8674
8720
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8675
8721
 
8676
- /* eslint-disable func-style */
8677
8722
 
8678
8723
 
8679
8724
 
@@ -9109,8 +9154,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
9109
9154
 
9110
9155
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
9111
9156
 
9112
- /* eslint-disable func-style */
9113
-
9114
9157
  /* eslint-disable no-use-before-define */
9115
9158
  function isNonEmptyArray(collection) {
9116
9159
  return Array.isArray(collection) && collection.length > 0;
@@ -9377,8 +9420,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
9377
9420
 
9378
9421
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
9379
9422
 
9380
- /* eslint-disable func-style */
9381
-
9382
9423
  /* eslint-disable no-use-before-define */
9383
9424
 
9384
9425
 
@@ -9872,8 +9913,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
9872
9913
 
9873
9914
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
9874
9915
 
9875
- /* eslint-disable func-style */
9876
-
9877
9916
  /* eslint-disable no-use-before-define */
9878
9917
 
9879
9918
 
@@ -10818,8 +10857,6 @@ __webpack_require__.r(__webpack_exports__);
10818
10857
 
10819
10858
 
10820
10859
 
10821
- /* eslint-disable func-style */
10822
-
10823
10860
  /* eslint-disable no-use-before-define */
10824
10861
 
10825
10862
 
@@ -11365,7 +11402,6 @@ __webpack_require__.r(__webpack_exports__);
11365
11402
  /* harmony export */ "isRecord": () => (/* binding */ isRecord),
11366
11403
  /* harmony export */ "shallowToJS": () => (/* binding */ shallowToJS)
11367
11404
  /* harmony export */ });
11368
- /* eslint-disable func-style */
11369
11405
  var IMMUTABLE_ITERABLE = "@@__IMMUTABLE_ITERABLE__@@";
11370
11406
  var IMMUTABLE_RECORD = "@@__IMMUTABLE_RECORD__@@";
11371
11407
  var IMMUTABLE_LIST = "@@__IMMUTABLE_LIST__@@";
@@ -11413,7 +11449,6 @@ __webpack_require__.r(__webpack_exports__);
11413
11449
 
11414
11450
  /* eslint-disable no-console */
11415
11451
  // TODO: Use "warning" npm module like React is switching to.
11416
- // eslint-disable-next-line func-style
11417
11452
  function warn(message) {
11418
11453
  if (true) {
11419
11454
  if (console && console.warn) {
@@ -11883,8 +11918,6 @@ __webpack_require__.r(__webpack_exports__);
11883
11918
  /* harmony export */ "getColorScale": () => (/* binding */ getColorScale),
11884
11919
  /* harmony export */ "toTransformString": () => (/* binding */ toTransformString)
11885
11920
  /* harmony export */ });
11886
- /* eslint-disable func-style */
11887
-
11888
11921
  /**
11889
11922
  * Given an object with CSS/SVG transform definitions, return the string value
11890
11923
  * for use with the `transform` CSS property or SVG attribute. Note that we
@@ -11996,11 +12029,23 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
11996
12029
 
11997
12030
  var Timer = /*#__PURE__*/function () {
11998
12031
  function Timer() {
12032
+ var _this = this;
12033
+
11999
12034
  _classCallCheck(this, Timer);
12000
12035
 
12036
+ this.shouldAnimate = void 0;
12037
+ this.subscribers = void 0;
12038
+ this.activeSubscriptions = void 0;
12039
+ this.timer = void 0;
12040
+
12041
+ this.loop = function () {
12042
+ _this.subscribers.forEach(function (s) {
12043
+ s.callback((0,victory_vendor_d3_timer__WEBPACK_IMPORTED_MODULE_0__.now)() - s.startTime, s.duration);
12044
+ });
12045
+ };
12046
+
12001
12047
  this.shouldAnimate = true;
12002
12048
  this.subscribers = [];
12003
- this.loop = this.loop.bind(this);
12004
12049
  this.timer = null;
12005
12050
  this.activeSubscriptions = 0;
12006
12051
  }
@@ -12015,13 +12060,6 @@ var Timer = /*#__PURE__*/function () {
12015
12060
  value: function resumeAnimation() {
12016
12061
  this.shouldAnimate = true;
12017
12062
  }
12018
- }, {
12019
- key: "loop",
12020
- value: function loop() {
12021
- this.subscribers.forEach(function (s) {
12022
- s.callback((0,victory_vendor_d3_timer__WEBPACK_IMPORTED_MODULE_0__.now)() - s.startTime, s.duration);
12023
- });
12024
- }
12025
12063
  }, {
12026
12064
  key: "start",
12027
12065
  value: function start() {
@@ -13226,7 +13264,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
13226
13264
 
13227
13265
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
13228
13266
 
13229
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
13267
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
13230
13268
 
13231
13269
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
13232
13270
 
@@ -13236,15 +13274,16 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
13236
13274
 
13237
13275
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
13238
13276
 
13239
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
13240
-
13241
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13242
-
13277
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
13243
13278
 
13244
13279
 
13245
13280
 
13246
13281
 
13247
13282
 
13283
+ // DISCLAIMER:
13284
+ // This file is not currently tested, and it is first on the list of files
13285
+ // to refactor in our current refactoring effort. Please do not make changes
13286
+ // to this file without manual testing and/or refactoring and adding tests.
13248
13287
 
13249
13288
  var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
13250
13289
  _inherits(VictorySharedEvents, _React$Component);
@@ -13528,11 +13567,9 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
13528
13567
  return VictorySharedEvents;
13529
13568
  }((react__WEBPACK_IMPORTED_MODULE_7___default().Component));
13530
13569
 
13531
- _defineProperty(VictorySharedEvents, "displayName", "VictorySharedEvents");
13532
-
13533
- _defineProperty(VictorySharedEvents, "role", "shared-event-wrapper");
13534
-
13535
- _defineProperty(VictorySharedEvents, "propTypes", {
13570
+ VictorySharedEvents.displayName = "VictorySharedEvents";
13571
+ VictorySharedEvents.role = "shared-event-wrapper";
13572
+ VictorySharedEvents.propTypes = {
13536
13573
  children: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_12___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)]),
13537
13574
  container: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node),
13538
13575
  eventKey: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().array), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().func), victory_core__WEBPACK_IMPORTED_MODULE_13__.allOfType([victory_core__WEBPACK_IMPORTED_MODULE_13__.integer, victory_core__WEBPACK_IMPORTED_MODULE_13__.nonNegative]), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().string)]),
@@ -13550,14 +13587,11 @@ _defineProperty(VictorySharedEvents, "propTypes", {
13550
13587
  target: prop_types__WEBPACK_IMPORTED_MODULE_12___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_12___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_12___default().array)])
13551
13588
  })),
13552
13589
  groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_12___default().node)
13553
- });
13554
-
13555
- _defineProperty(VictorySharedEvents, "defaultProps", {
13590
+ };
13591
+ VictorySharedEvents.defaultProps = {
13556
13592
  groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement("g", null)
13557
- });
13558
-
13559
- _defineProperty(VictorySharedEvents, "contextType", victory_core__WEBPACK_IMPORTED_MODULE_14__["default"]);
13560
-
13593
+ };
13594
+ VictorySharedEvents.contextType = victory_core__WEBPACK_IMPORTED_MODULE_14__["default"];
13561
13595
 
13562
13596
 
13563
13597
  /***/ }),