@axdspub/axiom-charts 1.0.2 → 1.0.6

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.
@@ -273,20 +273,14 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
273
273
  /** Detect free variable `global` from Node.js. */
274
274
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
275
275
 
276
- var freeGlobal$1 = freeGlobal;
277
-
278
276
  /** Detect free variable `self`. */
279
277
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
280
278
 
281
279
  /** Used as a reference to the global object. */
282
- var root = freeGlobal$1 || freeSelf || Function('return this')();
283
-
284
- var root$1 = root;
280
+ var root = freeGlobal || freeSelf || Function('return this')();
285
281
 
286
282
  /** Built-in value references. */
287
- var Symbol$1 = root$1.Symbol;
288
-
289
- var Symbol$2 = Symbol$1;
283
+ var Symbol$1 = root.Symbol;
290
284
 
291
285
  /** Used for built-in method references. */
292
286
  var objectProto$g = Object.prototype;
@@ -302,7 +296,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
302
296
  var nativeObjectToString$1 = objectProto$g.toString;
303
297
 
304
298
  /** Built-in value references. */
305
- var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : undefined;
299
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
306
300
 
307
301
  /**
308
302
  * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
@@ -357,7 +351,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
357
351
  undefinedTag = '[object Undefined]';
358
352
 
359
353
  /** Built-in value references. */
360
- var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : undefined;
354
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
361
355
 
362
356
  /**
363
357
  * The base implementation of `getTag` without fallbacks for buggy environments.
@@ -473,13 +467,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
473
467
  */
474
468
  var isArray = Array.isArray;
475
469
 
476
- var isArray$1 = isArray;
477
-
478
- /** Used as references for various `Number` constants. */
479
- var INFINITY$1 = 1 / 0;
480
-
481
470
  /** Used to convert symbols to primitives and strings. */
482
- var symbolProto$2 = Symbol$2 ? Symbol$2.prototype : undefined,
471
+ var symbolProto$2 = Symbol$1 ? Symbol$1.prototype : undefined,
483
472
  symbolToString = symbolProto$2 ? symbolProto$2.toString : undefined;
484
473
 
485
474
  /**
@@ -495,7 +484,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
495
484
  if (typeof value == 'string') {
496
485
  return value;
497
486
  }
498
- if (isArray$1(value)) {
487
+ if (isArray(value)) {
499
488
  // Recursively convert values (susceptible to call stack limits).
500
489
  return arrayMap(value, baseToString) + '';
501
490
  }
@@ -503,7 +492,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
503
492
  return symbolToString ? symbolToString.call(value) : '';
504
493
  }
505
494
  var result = (value + '');
506
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
495
+ return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
507
496
  }
508
497
 
509
498
  /** Used to match a single whitespace character. */
@@ -683,13 +672,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
683
672
  }
684
673
 
685
674
  /** Used to detect overreaching core-js shims. */
686
- var coreJsData = root$1['__core-js_shared__'];
687
-
688
- var coreJsData$1 = coreJsData;
675
+ var coreJsData = root['__core-js_shared__'];
689
676
 
690
677
  /** Used to detect methods masquerading as native. */
691
678
  var maskSrcKey = (function() {
692
- var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
679
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
693
680
  return uid ? ('Symbol(src)_1.' + uid) : '';
694
681
  }());
695
682
 
@@ -796,38 +783,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
796
783
  }
797
784
 
798
785
  /* Built-in method references that are verified to be native. */
799
- var WeakMap = getNative(root$1, 'WeakMap');
800
-
801
- var WeakMap$1 = WeakMap;
802
-
803
- /** Built-in value references. */
804
- var objectCreate = Object.create;
805
-
806
- /**
807
- * The base implementation of `_.create` without support for assigning
808
- * properties to the created object.
809
- *
810
- * @private
811
- * @param {Object} proto The object to inherit from.
812
- * @returns {Object} Returns the new object.
813
- */
814
- var baseCreate = (function() {
815
- function object() {}
816
- return function(proto) {
817
- if (!isObject(proto)) {
818
- return {};
819
- }
820
- if (objectCreate) {
821
- return objectCreate(proto);
822
- }
823
- object.prototype = proto;
824
- var result = new object;
825
- object.prototype = undefined;
826
- return result;
827
- };
828
- }());
829
-
830
- var baseCreate$1 = baseCreate;
786
+ var WeakMap = getNative(root, 'WeakMap');
831
787
 
832
788
  /**
833
789
  * A faster alternative to `Function#apply`, this function invokes `func`
@@ -849,25 +805,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
849
805
  return func.apply(thisArg, args);
850
806
  }
851
807
 
852
- /**
853
- * Copies the values of `source` to `array`.
854
- *
855
- * @private
856
- * @param {Array} source The array to copy values from.
857
- * @param {Array} [array=[]] The array to copy values to.
858
- * @returns {Array} Returns `array`.
859
- */
860
- function copyArray(source, array) {
861
- var index = -1,
862
- length = source.length;
863
-
864
- array || (array = Array(length));
865
- while (++index < length) {
866
- array[index] = source[index];
867
- }
868
- return array;
869
- }
870
-
871
808
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
872
809
  var HOT_COUNT = 800,
873
810
  HOT_SPAN = 16;
@@ -937,8 +874,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
937
874
  } catch (e) {}
938
875
  }());
939
876
 
940
- var defineProperty$1 = defineProperty;
941
-
942
877
  /**
943
878
  * The base implementation of `setToString` without support for hot loop shorting.
944
879
  *
@@ -947,8 +882,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
947
882
  * @param {Function} string The `toString` result.
948
883
  * @returns {Function} Returns `func`.
949
884
  */
950
- var baseSetToString = !defineProperty$1 ? identity : function(func, string) {
951
- return defineProperty$1(func, 'toString', {
885
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
886
+ return defineProperty(func, 'toString', {
952
887
  'configurable': true,
953
888
  'enumerable': false,
954
889
  'value': constant(string),
@@ -956,8 +891,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
956
891
  });
957
892
  };
958
893
 
959
- var baseSetToString$1 = baseSetToString;
960
-
961
894
  /**
962
895
  * Sets the `toString` method of `func` to return `string`.
963
896
  *
@@ -966,9 +899,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
966
899
  * @param {Function} string The `toString` result.
967
900
  * @returns {Function} Returns `func`.
968
901
  */
969
- var setToString = shortOut(baseSetToString$1);
970
-
971
- var setToString$1 = setToString;
902
+ var setToString = shortOut(baseSetToString);
972
903
 
973
904
  /**
974
905
  * A specialized version of `_.forEach` for arrays without support for
@@ -1025,8 +956,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1025
956
  * @param {*} value The value to assign.
1026
957
  */
1027
958
  function baseAssignValue(object, key, value) {
1028
- if (key == '__proto__' && defineProperty$1) {
1029
- defineProperty$1(object, key, {
959
+ if (key == '__proto__' && defineProperty) {
960
+ defineProperty(object, key, {
1030
961
  'configurable': true,
1031
962
  'enumerable': true,
1032
963
  'value': value,
@@ -1117,9 +1048,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1117
1048
  while (++index < length) {
1118
1049
  var key = props[index];
1119
1050
 
1120
- var newValue = customizer
1121
- ? customizer(object[key], source[key], key, object, source)
1122
- : undefined;
1051
+ var newValue = undefined;
1123
1052
 
1124
1053
  if (newValue === undefined) {
1125
1054
  newValue = source[key];
@@ -1311,8 +1240,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1311
1240
  !propertyIsEnumerable$1.call(value, 'callee');
1312
1241
  };
1313
1242
 
1314
- var isArguments$1 = isArguments;
1315
-
1316
1243
  /**
1317
1244
  * This method returns `false`.
1318
1245
  *
@@ -1340,7 +1267,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1340
1267
  var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
1341
1268
 
1342
1269
  /** Built-in value references. */
1343
- var Buffer$1 = moduleExports$2 ? root$1.Buffer : undefined;
1270
+ var Buffer$1 = moduleExports$2 ? root.Buffer : undefined;
1344
1271
 
1345
1272
  /* Built-in method references for those with the same name as other `lodash` methods. */
1346
1273
  var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
@@ -1364,8 +1291,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1364
1291
  */
1365
1292
  var isBuffer = nativeIsBuffer || stubFalse;
1366
1293
 
1367
- var isBuffer$1 = isBuffer;
1368
-
1369
1294
  /** `Object#toString` result references. */
1370
1295
  var argsTag$2 = '[object Arguments]',
1371
1296
  arrayTag$2 = '[object Array]',
@@ -1444,7 +1369,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1444
1369
  var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
1445
1370
 
1446
1371
  /** Detect free variable `process` from Node.js. */
1447
- var freeProcess = moduleExports$1 && freeGlobal$1.process;
1372
+ var freeProcess = moduleExports$1 && freeGlobal.process;
1448
1373
 
1449
1374
  /** Used to access faster Node.js helpers. */
1450
1375
  var nodeUtil = (function() {
@@ -1461,10 +1386,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1461
1386
  } catch (e) {}
1462
1387
  }());
1463
1388
 
1464
- var nodeUtil$1 = nodeUtil;
1465
-
1466
1389
  /* Node.js helper references. */
1467
- var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
1390
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
1468
1391
 
1469
1392
  /**
1470
1393
  * Checks if `value` is classified as a typed array.
@@ -1485,8 +1408,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1485
1408
  */
1486
1409
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
1487
1410
 
1488
- var isTypedArray$1 = isTypedArray;
1489
-
1490
1411
  /** Used for built-in method references. */
1491
1412
  var objectProto$a = Object.prototype;
1492
1413
 
@@ -1502,10 +1423,10 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1502
1423
  * @returns {Array} Returns the array of property names.
1503
1424
  */
1504
1425
  function arrayLikeKeys(value, inherited) {
1505
- var isArr = isArray$1(value),
1506
- isArg = !isArr && isArguments$1(value),
1507
- isBuff = !isArr && !isArg && isBuffer$1(value),
1508
- isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
1426
+ var isArr = isArray(value),
1427
+ isArg = !isArr && isArguments(value),
1428
+ isBuff = !isArr && !isArg && isBuffer(value),
1429
+ isType = !isArr && !isArg && !isBuff && isTypedArray(value),
1509
1430
  skipIndexes = isArr || isArg || isBuff || isType,
1510
1431
  result = skipIndexes ? baseTimes(value.length, String) : [],
1511
1432
  length = result.length;
@@ -1545,8 +1466,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1545
1466
  /* Built-in method references for those with the same name as other `lodash` methods. */
1546
1467
  var nativeKeys = overArg(Object.keys, Object);
1547
1468
 
1548
- var nativeKeys$1 = nativeKeys;
1549
-
1550
1469
  /** Used for built-in method references. */
1551
1470
  var objectProto$9 = Object.prototype;
1552
1471
 
@@ -1562,7 +1481,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1562
1481
  */
1563
1482
  function baseKeys(object) {
1564
1483
  if (!isPrototype(object)) {
1565
- return nativeKeys$1(object);
1484
+ return nativeKeys(object);
1566
1485
  }
1567
1486
  var result = [];
1568
1487
  for (var key in Object(object)) {
@@ -1692,7 +1611,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1692
1611
  * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1693
1612
  */
1694
1613
  function isKey(value, object) {
1695
- if (isArray$1(value)) {
1614
+ if (isArray(value)) {
1696
1615
  return false;
1697
1616
  }
1698
1617
  var type = typeof value;
@@ -1707,8 +1626,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1707
1626
  /* Built-in method references that are verified to be native. */
1708
1627
  var nativeCreate = getNative(Object, 'create');
1709
1628
 
1710
- var nativeCreate$1 = nativeCreate;
1711
-
1712
1629
  /**
1713
1630
  * Removes all key-value entries from the hash.
1714
1631
  *
@@ -1717,7 +1634,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1717
1634
  * @memberOf Hash
1718
1635
  */
1719
1636
  function hashClear() {
1720
- this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
1637
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
1721
1638
  this.size = 0;
1722
1639
  }
1723
1640
 
@@ -1757,7 +1674,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1757
1674
  */
1758
1675
  function hashGet(key) {
1759
1676
  var data = this.__data__;
1760
- if (nativeCreate$1) {
1677
+ if (nativeCreate) {
1761
1678
  var result = data[key];
1762
1679
  return result === HASH_UNDEFINED$2 ? undefined : result;
1763
1680
  }
@@ -1781,7 +1698,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1781
1698
  */
1782
1699
  function hashHas(key) {
1783
1700
  var data = this.__data__;
1784
- return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
1701
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
1785
1702
  }
1786
1703
 
1787
1704
  /** Used to stand-in for `undefined` hash values. */
@@ -1800,7 +1717,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1800
1717
  function hashSet(key, value) {
1801
1718
  var data = this.__data__;
1802
1719
  this.size += this.has(key) ? 0 : 1;
1803
- data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED$1 : value;
1720
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
1804
1721
  return this;
1805
1722
  }
1806
1723
 
@@ -1969,9 +1886,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1969
1886
  ListCache.prototype.set = listCacheSet;
1970
1887
 
1971
1888
  /* Built-in method references that are verified to be native. */
1972
- var Map$1 = getNative(root$1, 'Map');
1973
-
1974
- var Map$2 = Map$1;
1889
+ var Map$1 = getNative(root, 'Map');
1975
1890
 
1976
1891
  /**
1977
1892
  * Removes all key-value entries from the map.
@@ -1984,7 +1899,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
1984
1899
  this.size = 0;
1985
1900
  this.__data__ = {
1986
1901
  'hash': new Hash,
1987
- 'map': new (Map$2 || ListCache),
1902
+ 'map': new (Map$1 || ListCache),
1988
1903
  'string': new Hash
1989
1904
  };
1990
1905
  }
@@ -2220,8 +2135,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2220
2135
  return result;
2221
2136
  });
2222
2137
 
2223
- var stringToPath$1 = stringToPath;
2224
-
2225
2138
  /**
2226
2139
  * Converts `value` to a string. An empty string is returned for `null`
2227
2140
  * and `undefined` values. The sign of `-0` is preserved.
@@ -2256,15 +2169,12 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2256
2169
  * @returns {Array} Returns the cast property path array.
2257
2170
  */
2258
2171
  function castPath(value, object) {
2259
- if (isArray$1(value)) {
2172
+ if (isArray(value)) {
2260
2173
  return value;
2261
2174
  }
2262
- return isKey(value, object) ? [value] : stringToPath$1(toString(value));
2175
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
2263
2176
  }
2264
2177
 
2265
- /** Used as references for various `Number` constants. */
2266
- var INFINITY = 1 / 0;
2267
-
2268
2178
  /**
2269
2179
  * Converts `value` to a string key if it's not a string or symbol.
2270
2180
  *
@@ -2277,7 +2187,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2277
2187
  return value;
2278
2188
  }
2279
2189
  var result = (value + '');
2280
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
2190
+ return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
2281
2191
  }
2282
2192
 
2283
2193
  /**
@@ -2350,7 +2260,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2350
2260
  }
2351
2261
 
2352
2262
  /** Built-in value references. */
2353
- var spreadableSymbol = Symbol$2 ? Symbol$2.isConcatSpreadable : undefined;
2263
+ var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : undefined;
2354
2264
 
2355
2265
  /**
2356
2266
  * Checks if `value` is a flattenable `arguments` object or array.
@@ -2360,7 +2270,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2360
2270
  * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
2361
2271
  */
2362
2272
  function isFlattenable(value) {
2363
- return isArray$1(value) || isArguments$1(value) ||
2273
+ return isArray(value) || isArguments(value) ||
2364
2274
  !!(spreadableSymbol && value && value[spreadableSymbol]);
2365
2275
  }
2366
2276
 
@@ -2384,14 +2294,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2384
2294
 
2385
2295
  while (++index < length) {
2386
2296
  var value = array[index];
2387
- if (depth > 0 && predicate(value)) {
2388
- if (depth > 1) {
2389
- // Recursively flatten arrays (susceptible to call stack limits).
2390
- baseFlatten(value, depth - 1, predicate, isStrict, result);
2391
- } else {
2297
+ if (predicate(value)) {
2298
+ {
2392
2299
  arrayPush(result, value);
2393
2300
  }
2394
- } else if (!isStrict) {
2301
+ } else {
2395
2302
  result[result.length] = value;
2396
2303
  }
2397
2304
  }
@@ -2414,7 +2321,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2414
2321
  */
2415
2322
  function flatten(array) {
2416
2323
  var length = array == null ? 0 : array.length;
2417
- return length ? baseFlatten(array, 1) : [];
2324
+ return length ? baseFlatten(array) : [];
2418
2325
  }
2419
2326
 
2420
2327
  /**
@@ -2425,14 +2332,12 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2425
2332
  * @returns {Function} Returns the new function.
2426
2333
  */
2427
2334
  function flatRest(func) {
2428
- return setToString$1(overRest(func, undefined, flatten), func + '');
2335
+ return setToString(overRest(func, undefined, flatten), func + '');
2429
2336
  }
2430
2337
 
2431
2338
  /** Built-in value references. */
2432
2339
  var getPrototype = overArg(Object.getPrototypeOf, Object);
2433
2340
 
2434
- var getPrototype$1 = getPrototype;
2435
-
2436
2341
  /** `Object#toString` result references. */
2437
2342
  var objectTag$3 = '[object Object]';
2438
2343
 
@@ -2481,7 +2386,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2481
2386
  if (!isObjectLike(value) || baseGetTag(value) != objectTag$3) {
2482
2387
  return false;
2483
2388
  }
2484
- var proto = getPrototype$1(value);
2389
+ var proto = getPrototype(value);
2485
2390
  if (proto === null) {
2486
2391
  return true;
2487
2392
  }
@@ -2592,7 +2497,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2592
2497
  var data = this.__data__;
2593
2498
  if (data instanceof ListCache) {
2594
2499
  var pairs = data.__data__;
2595
- if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
2500
+ if (!Map$1 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
2596
2501
  pairs.push([key, value]);
2597
2502
  this.size = ++data.size;
2598
2503
  return this;
@@ -2623,32 +2528,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2623
2528
  Stack.prototype.has = stackHas;
2624
2529
  Stack.prototype.set = stackSet;
2625
2530
 
2626
- /**
2627
- * The base implementation of `_.assign` without support for multiple sources
2628
- * or `customizer` functions.
2629
- *
2630
- * @private
2631
- * @param {Object} object The destination object.
2632
- * @param {Object} source The source object.
2633
- * @returns {Object} Returns `object`.
2634
- */
2635
- function baseAssign(object, source) {
2636
- return object && copyObject(source, keys(source), object);
2637
- }
2638
-
2639
- /**
2640
- * The base implementation of `_.assignIn` without support for multiple sources
2641
- * or `customizer` functions.
2642
- *
2643
- * @private
2644
- * @param {Object} object The destination object.
2645
- * @param {Object} source The source object.
2646
- * @returns {Object} Returns `object`.
2647
- */
2648
- function baseAssignIn(object, source) {
2649
- return object && copyObject(source, keysIn(source), object);
2650
- }
2651
-
2652
2531
  /** Detect free variable `exports`. */
2653
2532
  var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
2654
2533
 
@@ -2659,8 +2538,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2659
2538
  var moduleExports = freeModule && freeModule.exports === freeExports;
2660
2539
 
2661
2540
  /** Built-in value references. */
2662
- var Buffer = moduleExports ? root$1.Buffer : undefined,
2663
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
2541
+ var Buffer = moduleExports ? root.Buffer : undefined;
2542
+ Buffer ? Buffer.allocUnsafe : undefined;
2664
2543
 
2665
2544
  /**
2666
2545
  * Creates a clone of `buffer`.
@@ -2671,14 +2550,9 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2671
2550
  * @returns {Buffer} Returns the cloned buffer.
2672
2551
  */
2673
2552
  function cloneBuffer(buffer, isDeep) {
2674
- if (isDeep) {
2553
+ {
2675
2554
  return buffer.slice();
2676
2555
  }
2677
- var length = buffer.length,
2678
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
2679
-
2680
- buffer.copy(result);
2681
- return result;
2682
2556
  }
2683
2557
 
2684
2558
  /**
@@ -2753,20 +2627,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2753
2627
  });
2754
2628
  };
2755
2629
 
2756
- var getSymbols$1 = getSymbols;
2757
-
2758
- /**
2759
- * Copies own symbols of `source` to `object`.
2760
- *
2761
- * @private
2762
- * @param {Object} source The object to copy symbols from.
2763
- * @param {Object} [object={}] The object to copy symbols to.
2764
- * @returns {Object} Returns `object`.
2765
- */
2766
- function copySymbols(source, object) {
2767
- return copyObject(source, getSymbols$1(source), object);
2768
- }
2769
-
2770
2630
  /* Built-in method references for those with the same name as other `lodash` methods. */
2771
2631
  var nativeGetSymbols = Object.getOwnPropertySymbols;
2772
2632
 
@@ -2780,26 +2640,12 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2780
2640
  var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
2781
2641
  var result = [];
2782
2642
  while (object) {
2783
- arrayPush(result, getSymbols$1(object));
2784
- object = getPrototype$1(object);
2643
+ arrayPush(result, getSymbols(object));
2644
+ object = getPrototype(object);
2785
2645
  }
2786
2646
  return result;
2787
2647
  };
2788
2648
 
2789
- var getSymbolsIn$1 = getSymbolsIn;
2790
-
2791
- /**
2792
- * Copies own and inherited symbols of `source` to `object`.
2793
- *
2794
- * @private
2795
- * @param {Object} source The object to copy symbols from.
2796
- * @param {Object} [object={}] The object to copy symbols to.
2797
- * @returns {Object} Returns `object`.
2798
- */
2799
- function copySymbolsIn(source, object) {
2800
- return copyObject(source, getSymbolsIn$1(source), object);
2801
- }
2802
-
2803
2649
  /**
2804
2650
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
2805
2651
  * `keysFunc` and `symbolsFunc` to get the enumerable property names and
@@ -2813,7 +2659,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2813
2659
  */
2814
2660
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
2815
2661
  var result = keysFunc(object);
2816
- return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
2662
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
2817
2663
  }
2818
2664
 
2819
2665
  /**
@@ -2824,7 +2670,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2824
2670
  * @returns {Array} Returns the array of property names and symbols.
2825
2671
  */
2826
2672
  function getAllKeys(object) {
2827
- return baseGetAllKeys(object, keys, getSymbols$1);
2673
+ return baseGetAllKeys(object, keys, getSymbols);
2828
2674
  }
2829
2675
 
2830
2676
  /**
@@ -2836,23 +2682,17 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2836
2682
  * @returns {Array} Returns the array of property names and symbols.
2837
2683
  */
2838
2684
  function getAllKeysIn(object) {
2839
- return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
2685
+ return baseGetAllKeys(object, keysIn, getSymbolsIn);
2840
2686
  }
2841
2687
 
2842
2688
  /* Built-in method references that are verified to be native. */
2843
- var DataView = getNative(root$1, 'DataView');
2844
-
2845
- var DataView$1 = DataView;
2689
+ var DataView = getNative(root, 'DataView');
2846
2690
 
2847
2691
  /* Built-in method references that are verified to be native. */
2848
- var Promise$1 = getNative(root$1, 'Promise');
2849
-
2850
- var Promise$2 = Promise$1;
2692
+ var Promise$1 = getNative(root, 'Promise');
2851
2693
 
2852
2694
  /* Built-in method references that are verified to be native. */
2853
- var Set$1 = getNative(root$1, 'Set');
2854
-
2855
- var Set$2 = Set$1;
2695
+ var Set$1 = getNative(root, 'Set');
2856
2696
 
2857
2697
  /** `Object#toString` result references. */
2858
2698
  var mapTag$4 = '[object Map]',
@@ -2864,11 +2704,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2864
2704
  var dataViewTag$3 = '[object DataView]';
2865
2705
 
2866
2706
  /** Used to detect maps, sets, and weakmaps. */
2867
- var dataViewCtorString = toSource(DataView$1),
2868
- mapCtorString = toSource(Map$2),
2869
- promiseCtorString = toSource(Promise$2),
2870
- setCtorString = toSource(Set$2),
2871
- weakMapCtorString = toSource(WeakMap$1);
2707
+ var dataViewCtorString = toSource(DataView),
2708
+ mapCtorString = toSource(Map$1),
2709
+ promiseCtorString = toSource(Promise$1),
2710
+ setCtorString = toSource(Set$1),
2711
+ weakMapCtorString = toSource(WeakMap);
2872
2712
 
2873
2713
  /**
2874
2714
  * Gets the `toStringTag` of `value`.
@@ -2880,11 +2720,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2880
2720
  var getTag = baseGetTag;
2881
2721
 
2882
2722
  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2883
- if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$3) ||
2884
- (Map$2 && getTag(new Map$2) != mapTag$4) ||
2885
- (Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
2886
- (Set$2 && getTag(new Set$2) != setTag$4) ||
2887
- (WeakMap$1 && getTag(new WeakMap$1) != weakMapTag$1)) {
2723
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$3) ||
2724
+ (Map$1 && getTag(new Map$1) != mapTag$4) ||
2725
+ (Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
2726
+ (Set$1 && getTag(new Set$1) != setTag$4) ||
2727
+ (WeakMap && getTag(new WeakMap) != weakMapTag$1)) {
2888
2728
  getTag = function(value) {
2889
2729
  var result = baseGetTag(value),
2890
2730
  Ctor = result == objectTag$2 ? value.constructor : undefined,
@@ -2903,8 +2743,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2903
2743
  };
2904
2744
  }
2905
2745
 
2906
- var getTag$1 = getTag;
2907
-
2908
2746
  /** Used for built-in method references. */
2909
2747
  var objectProto$3 = Object.prototype;
2910
2748
 
@@ -2931,9 +2769,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2931
2769
  }
2932
2770
 
2933
2771
  /** Built-in value references. */
2934
- var Uint8Array = root$1.Uint8Array;
2935
-
2936
- var Uint8Array$1 = Uint8Array;
2772
+ var Uint8Array = root.Uint8Array;
2937
2773
 
2938
2774
  /**
2939
2775
  * Creates a clone of `arrayBuffer`.
@@ -2944,7 +2780,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2944
2780
  */
2945
2781
  function cloneArrayBuffer(arrayBuffer) {
2946
2782
  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
2947
- new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
2783
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
2948
2784
  return result;
2949
2785
  }
2950
2786
 
@@ -2957,7 +2793,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2957
2793
  * @returns {Object} Returns the cloned data view.
2958
2794
  */
2959
2795
  function cloneDataView(dataView, isDeep) {
2960
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
2796
+ var buffer = cloneArrayBuffer(dataView.buffer) ;
2961
2797
  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
2962
2798
  }
2963
2799
 
@@ -2978,7 +2814,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
2978
2814
  }
2979
2815
 
2980
2816
  /** Used to convert symbols to primitives and strings. */
2981
- var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : undefined,
2817
+ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
2982
2818
  symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : undefined;
2983
2819
 
2984
2820
  /**
@@ -3001,7 +2837,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3001
2837
  * @returns {Object} Returns the cloned typed array.
3002
2838
  */
3003
2839
  function cloneTypedArray(typedArray, isDeep) {
3004
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
2840
+ var buffer = cloneArrayBuffer(typedArray.buffer) ;
3005
2841
  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3006
2842
  }
3007
2843
 
@@ -3050,12 +2886,12 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3050
2886
  return new Ctor(+object);
3051
2887
 
3052
2888
  case dataViewTag$2:
3053
- return cloneDataView(object, isDeep);
2889
+ return cloneDataView(object);
3054
2890
 
3055
2891
  case float32Tag$1: case float64Tag$1:
3056
2892
  case int8Tag$1: case int16Tag$1: case int32Tag$1:
3057
2893
  case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
3058
- return cloneTypedArray(object, isDeep);
2894
+ return cloneTypedArray(object);
3059
2895
 
3060
2896
  case mapTag$3:
3061
2897
  return new Ctor;
@@ -3075,19 +2911,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3075
2911
  }
3076
2912
  }
3077
2913
 
3078
- /**
3079
- * Initializes an object clone.
3080
- *
3081
- * @private
3082
- * @param {Object} object The object to clone.
3083
- * @returns {Object} Returns the initialized clone.
3084
- */
3085
- function initCloneObject(object) {
3086
- return (typeof object.constructor == 'function' && !isPrototype(object))
3087
- ? baseCreate$1(getPrototype$1(object))
3088
- : {};
3089
- }
3090
-
3091
2914
  /** `Object#toString` result references. */
3092
2915
  var mapTag$2 = '[object Map]';
3093
2916
 
@@ -3099,11 +2922,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3099
2922
  * @returns {boolean} Returns `true` if `value` is a map, else `false`.
3100
2923
  */
3101
2924
  function baseIsMap(value) {
3102
- return isObjectLike(value) && getTag$1(value) == mapTag$2;
2925
+ return isObjectLike(value) && getTag(value) == mapTag$2;
3103
2926
  }
3104
2927
 
3105
2928
  /* Node.js helper references. */
3106
- var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
2929
+ var nodeIsMap = nodeUtil && nodeUtil.isMap;
3107
2930
 
3108
2931
  /**
3109
2932
  * Checks if `value` is classified as a `Map` object.
@@ -3124,8 +2947,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3124
2947
  */
3125
2948
  var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
3126
2949
 
3127
- var isMap$1 = isMap;
3128
-
3129
2950
  /** `Object#toString` result references. */
3130
2951
  var setTag$2 = '[object Set]';
3131
2952
 
@@ -3137,11 +2958,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3137
2958
  * @returns {boolean} Returns `true` if `value` is a set, else `false`.
3138
2959
  */
3139
2960
  function baseIsSet(value) {
3140
- return isObjectLike(value) && getTag$1(value) == setTag$2;
2961
+ return isObjectLike(value) && getTag(value) == setTag$2;
3141
2962
  }
3142
2963
 
3143
2964
  /* Node.js helper references. */
3144
- var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
2965
+ var nodeIsSet = nodeUtil && nodeUtil.isSet;
3145
2966
 
3146
2967
  /**
3147
2968
  * Checks if `value` is classified as a `Set` object.
@@ -3162,13 +2983,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3162
2983
  */
3163
2984
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
3164
2985
 
3165
- var isSet$1 = isSet;
3166
-
3167
- /** Used to compose bitmasks for cloning. */
3168
- var CLONE_DEEP_FLAG$1 = 1,
3169
- CLONE_FLAT_FLAG$1 = 2,
3170
- CLONE_SYMBOLS_FLAG$1 = 4;
3171
-
3172
2986
  /** `Object#toString` result references. */
3173
2987
  var argsTag$1 = '[object Arguments]',
3174
2988
  arrayTag$1 = '[object Array]',
@@ -3231,10 +3045,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3231
3045
  * @returns {*} Returns the cloned value.
3232
3046
  */
3233
3047
  function baseClone(value, bitmask, customizer, key, object, stack) {
3234
- var result,
3235
- isDeep = bitmask & CLONE_DEEP_FLAG$1,
3236
- isFlat = bitmask & CLONE_FLAT_FLAG$1,
3237
- isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
3048
+ var result;
3238
3049
 
3239
3050
  if (customizer) {
3240
3051
  result = object ? customizer(value, key, object, stack) : customizer(value);
@@ -3245,31 +3056,23 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3245
3056
  if (!isObject(value)) {
3246
3057
  return value;
3247
3058
  }
3248
- var isArr = isArray$1(value);
3059
+ var isArr = isArray(value);
3249
3060
  if (isArr) {
3250
3061
  result = initCloneArray(value);
3251
- if (!isDeep) {
3252
- return copyArray(value, result);
3253
- }
3254
3062
  } else {
3255
- var tag = getTag$1(value),
3063
+ var tag = getTag(value),
3256
3064
  isFunc = tag == funcTag || tag == genTag;
3257
3065
 
3258
- if (isBuffer$1(value)) {
3259
- return cloneBuffer(value, isDeep);
3066
+ if (isBuffer(value)) {
3067
+ return cloneBuffer(value);
3260
3068
  }
3261
3069
  if (tag == objectTag$1 || tag == argsTag$1 || (isFunc && !object)) {
3262
- result = (isFlat || isFunc) ? {} : initCloneObject(value);
3263
- if (!isDeep) {
3264
- return isFlat
3265
- ? copySymbolsIn(value, baseAssignIn(result, value))
3266
- : copySymbols(value, baseAssign(result, value));
3267
- }
3070
+ result = {} ;
3268
3071
  } else {
3269
3072
  if (!cloneableTags[tag]) {
3270
3073
  return object ? value : {};
3271
3074
  }
3272
- result = initCloneByTag(value, tag, isDeep);
3075
+ result = initCloneByTag(value, tag);
3273
3076
  }
3274
3077
  }
3275
3078
  // Check for circular references and return its corresponding clone.
@@ -3280,19 +3083,18 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3280
3083
  }
3281
3084
  stack.set(value, result);
3282
3085
 
3283
- if (isSet$1(value)) {
3086
+ if (isSet(value)) {
3284
3087
  value.forEach(function(subValue) {
3285
3088
  result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
3286
3089
  });
3287
- } else if (isMap$1(value)) {
3090
+ } else if (isMap(value)) {
3288
3091
  value.forEach(function(subValue, key) {
3289
3092
  result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
3290
3093
  });
3291
3094
  }
3292
3095
 
3293
- var keysFunc = isFull
3294
- ? (isFlat ? getAllKeysIn : getAllKeys)
3295
- : (isFlat ? keysIn : keys);
3096
+ var keysFunc = (getAllKeysIn )
3097
+ ;
3296
3098
 
3297
3099
  var props = isArr ? undefined : keysFunc(value);
3298
3100
  arrayEach(props || value, function(subValue, key) {
@@ -3525,7 +3327,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3525
3327
  dataViewTag = '[object DataView]';
3526
3328
 
3527
3329
  /** Used to convert symbols to primitives and strings. */
3528
- var symbolProto = Symbol$2 ? Symbol$2.prototype : undefined,
3330
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
3529
3331
  symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
3530
3332
 
3531
3333
  /**
@@ -3557,7 +3359,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3557
3359
 
3558
3360
  case arrayBufferTag:
3559
3361
  if ((object.byteLength != other.byteLength) ||
3560
- !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
3362
+ !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
3561
3363
  return false;
3562
3364
  }
3563
3365
  return true;
@@ -3726,10 +3528,10 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3726
3528
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
3727
3529
  */
3728
3530
  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
3729
- var objIsArr = isArray$1(object),
3730
- othIsArr = isArray$1(other),
3731
- objTag = objIsArr ? arrayTag : getTag$1(object),
3732
- othTag = othIsArr ? arrayTag : getTag$1(other);
3531
+ var objIsArr = isArray(object),
3532
+ othIsArr = isArray(other),
3533
+ objTag = objIsArr ? arrayTag : getTag(object),
3534
+ othTag = othIsArr ? arrayTag : getTag(other);
3733
3535
 
3734
3536
  objTag = objTag == argsTag ? objectTag : objTag;
3735
3537
  othTag = othTag == argsTag ? objectTag : othTag;
@@ -3738,8 +3540,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3738
3540
  othIsObj = othTag == objectTag,
3739
3541
  isSameTag = objTag == othTag;
3740
3542
 
3741
- if (isSameTag && isBuffer$1(object)) {
3742
- if (!isBuffer$1(other)) {
3543
+ if (isSameTag && isBuffer(object)) {
3544
+ if (!isBuffer(other)) {
3743
3545
  return false;
3744
3546
  }
3745
3547
  objIsArr = true;
@@ -3747,7 +3549,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3747
3549
  }
3748
3550
  if (isSameTag && !objIsObj) {
3749
3551
  stack || (stack = new Stack);
3750
- return (objIsArr || isTypedArray$1(object))
3552
+ return (objIsArr || isTypedArray(object))
3751
3553
  ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
3752
3554
  : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
3753
3555
  }
@@ -3810,8 +3612,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3810
3612
  */
3811
3613
  function baseIsMatch(object, source, matchData, customizer) {
3812
3614
  var index = matchData.length,
3813
- length = index,
3814
- noCustomizer = !customizer;
3615
+ length = index;
3815
3616
 
3816
3617
  if (object == null) {
3817
3618
  return !length;
@@ -3819,7 +3620,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3819
3620
  object = Object(object);
3820
3621
  while (index--) {
3821
3622
  var data = matchData[index];
3822
- if ((noCustomizer && data[2])
3623
+ if ((data[2])
3823
3624
  ? data[1] !== object[data[0]]
3824
3625
  : !(data[0] in object)
3825
3626
  ) {
@@ -3832,15 +3633,13 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3832
3633
  objValue = object[key],
3833
3634
  srcValue = data[1];
3834
3635
 
3835
- if (noCustomizer && data[2]) {
3636
+ if (data[2]) {
3836
3637
  if (objValue === undefined && !(key in object)) {
3837
3638
  return false;
3838
3639
  }
3839
3640
  } else {
3840
3641
  var stack = new Stack;
3841
- if (customizer) {
3842
- var result = customizer(objValue, srcValue, key, object, source, stack);
3843
- }
3642
+ var result;
3844
3643
  if (!(result === undefined
3845
3644
  ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
3846
3645
  : result
@@ -3960,7 +3759,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
3960
3759
  }
3961
3760
  length = object == null ? 0 : object.length;
3962
3761
  return !!length && isLength(length) && isIndex(key, length) &&
3963
- (isArray$1(object) || isArguments$1(object));
3762
+ (isArray(object) || isArguments(object));
3964
3763
  }
3965
3764
 
3966
3765
  /**
@@ -4086,7 +3885,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4086
3885
  return identity;
4087
3886
  }
4088
3887
  if (typeof value == 'object') {
4089
- return isArray$1(value)
3888
+ return isArray(value)
4090
3889
  ? baseMatchesProperty(value[0], value[1])
4091
3890
  : baseMatches(value);
4092
3891
  }
@@ -4129,7 +3928,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4129
3928
  length = props.length;
4130
3929
 
4131
3930
  while (length--) {
4132
- var key = props[fromRight ? length : ++index];
3931
+ var key = props[++index];
4133
3932
  if (iteratee(iterable[key], key, iterable) === false) {
4134
3933
  break;
4135
3934
  }
@@ -4151,8 +3950,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4151
3950
  */
4152
3951
  var baseFor = createBaseFor();
4153
3952
 
4154
- var baseFor$1 = baseFor;
4155
-
4156
3953
  /**
4157
3954
  * The base implementation of `_.forOwn` without support for iteratee shorthands.
4158
3955
  *
@@ -4162,7 +3959,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4162
3959
  * @returns {Object} Returns `object`.
4163
3960
  */
4164
3961
  function baseForOwn(object, iteratee) {
4165
- return object && baseFor$1(object, iteratee, keys);
3962
+ return object && baseFor(object, iteratee, keys);
4166
3963
  }
4167
3964
 
4168
3965
  /**
@@ -4182,10 +3979,10 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4182
3979
  return eachFunc(collection, iteratee);
4183
3980
  }
4184
3981
  var length = collection.length,
4185
- index = fromRight ? length : -1,
3982
+ index = -1,
4186
3983
  iterable = Object(collection);
4187
3984
 
4188
- while ((fromRight ? index-- : ++index < length)) {
3985
+ while ((++index < length)) {
4189
3986
  if (iteratee(iterable[index], index, iterable) === false) {
4190
3987
  break;
4191
3988
  }
@@ -4204,8 +4001,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4204
4001
  */
4205
4002
  var baseEach = createBaseEach(baseForOwn);
4206
4003
 
4207
- var baseEach$1 = baseEach;
4208
-
4209
4004
  /**
4210
4005
  * Aggregates elements of `collection` on `accumulator` with keys transformed
4211
4006
  * by `iteratee` and values set by `setter`.
@@ -4218,7 +4013,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4218
4013
  * @returns {Function} Returns `accumulator`.
4219
4014
  */
4220
4015
  function baseAggregator(collection, setter, iteratee, accumulator) {
4221
- baseEach$1(collection, function(value, key, collection) {
4016
+ baseEach(collection, function(value, key, collection) {
4222
4017
  setter(accumulator, value, iteratee(value), collection);
4223
4018
  });
4224
4019
  return accumulator;
@@ -4234,7 +4029,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4234
4029
  */
4235
4030
  function createAggregator(setter, initializer) {
4236
4031
  return function(collection, iteratee) {
4237
- var func = isArray$1(collection) ? arrayAggregator : baseAggregator,
4032
+ var func = isArray(collection) ? arrayAggregator : baseAggregator,
4238
4033
  accumulator = initializer ? initializer() : {};
4239
4034
 
4240
4035
  return func(collection, setter, baseIteratee(iteratee), accumulator);
@@ -4258,11 +4053,9 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4258
4053
  * // => Logs the number of milliseconds it took for the deferred invocation.
4259
4054
  */
4260
4055
  var now = function() {
4261
- return root$1.Date.now();
4056
+ return root.Date.now();
4262
4057
  };
4263
4058
 
4264
- var now$1 = now;
4265
-
4266
4059
  /** Error message constants. */
4267
4060
  var FUNC_ERROR_TEXT = 'Expected a function';
4268
4061
 
@@ -4388,7 +4181,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4388
4181
  }
4389
4182
 
4390
4183
  function timerExpired() {
4391
- var time = now$1();
4184
+ var time = now();
4392
4185
  if (shouldInvoke(time)) {
4393
4186
  return trailingEdge(time);
4394
4187
  }
@@ -4417,11 +4210,11 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4417
4210
  }
4418
4211
 
4419
4212
  function flush() {
4420
- return timerId === undefined ? result : trailingEdge(now$1());
4213
+ return timerId === undefined ? result : trailingEdge(now());
4421
4214
  }
4422
4215
 
4423
4216
  function debounced() {
4424
- var time = now$1(),
4217
+ var time = now(),
4425
4218
  isInvoking = shouldInvoke(time);
4426
4219
 
4427
4220
  lastArgs = arguments;
@@ -4505,8 +4298,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4505
4298
  }
4506
4299
  });
4507
4300
 
4508
- var groupBy$1 = groupBy;
4509
-
4510
4301
  /**
4511
4302
  * Gets the parent value at `path` of `object`.
4512
4303
  *
@@ -4660,8 +4451,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4660
4451
  return result;
4661
4452
  });
4662
4453
 
4663
- var omit$1 = omit;
4664
-
4665
4454
  class ChartRoot {
4666
4455
  constructor(props) {
4667
4456
  this.plots = props.plots.map(p => (Object.assign({}, p)));
@@ -4772,7 +4561,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
4772
4561
  return param;
4773
4562
  }
4774
4563
  getPlotImplementationGroups(plots, axis) {
4775
- const groups = groupBy$1(plots, p => {
4564
+ const groups = groupBy(plots, p => {
4776
4565
  const param = this.getDimensionAxisParam(p, axis);
4777
4566
  return `${param}${this.reversePlotAxis(p, axis) ? '.reverse' : ''}`;
4778
4567
  });
@@ -5084,7 +4873,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5084
4873
  testStringCoercion(value);
5085
4874
  var JSCompiler_inline_result = !1;
5086
4875
  } catch (e) {
5087
- JSCompiler_inline_result = !0;
4876
+ JSCompiler_inline_result = true;
5088
4877
  }
5089
4878
  if (JSCompiler_inline_result) {
5090
4879
  JSCompiler_inline_result = console;
@@ -5128,29 +4917,29 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5128
4917
  function hasValidKey(config) {
5129
4918
  if (hasOwnProperty.call(config, "key")) {
5130
4919
  var getter = Object.getOwnPropertyDescriptor(config, "key").get;
5131
- if (getter && getter.isReactWarning) return !1;
4920
+ if (getter && getter.isReactWarning) return false;
5132
4921
  }
5133
4922
  return void 0 !== config.key;
5134
4923
  }
5135
4924
  function defineKeyPropWarningGetter(props, displayName) {
5136
4925
  function warnAboutAccessingKey() {
5137
4926
  specialPropKeyWarningShown ||
5138
- ((specialPropKeyWarningShown = !0),
4927
+ ((specialPropKeyWarningShown = true),
5139
4928
  console.error(
5140
4929
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
5141
4930
  displayName
5142
4931
  ));
5143
4932
  }
5144
- warnAboutAccessingKey.isReactWarning = !0;
4933
+ warnAboutAccessingKey.isReactWarning = true;
5145
4934
  Object.defineProperty(props, "key", {
5146
4935
  get: warnAboutAccessingKey,
5147
- configurable: !0
4936
+ configurable: true
5148
4937
  });
5149
4938
  }
5150
4939
  function elementRefGetterWithDeprecationWarning() {
5151
4940
  var componentName = getComponentNameFromType(this.type);
5152
4941
  didWarnAboutElementRef[componentName] ||
5153
- ((didWarnAboutElementRef[componentName] = !0),
4942
+ ((didWarnAboutElementRef[componentName] = true),
5154
4943
  console.error(
5155
4944
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
5156
4945
  ));
@@ -5168,33 +4957,33 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5168
4957
  };
5169
4958
  null !== (void 0 !== refProp ? refProp : null)
5170
4959
  ? Object.defineProperty(type, "ref", {
5171
- enumerable: !1,
4960
+ enumerable: false,
5172
4961
  get: elementRefGetterWithDeprecationWarning
5173
4962
  })
5174
- : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
4963
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
5175
4964
  type._store = {};
5176
4965
  Object.defineProperty(type._store, "validated", {
5177
- configurable: !1,
5178
- enumerable: !1,
5179
- writable: !0,
4966
+ configurable: false,
4967
+ enumerable: false,
4968
+ writable: true,
5180
4969
  value: 0
5181
4970
  });
5182
4971
  Object.defineProperty(type, "_debugInfo", {
5183
- configurable: !1,
5184
- enumerable: !1,
5185
- writable: !0,
4972
+ configurable: false,
4973
+ enumerable: false,
4974
+ writable: true,
5186
4975
  value: null
5187
4976
  });
5188
4977
  Object.defineProperty(type, "_debugStack", {
5189
- configurable: !1,
5190
- enumerable: !1,
5191
- writable: !0,
4978
+ configurable: false,
4979
+ enumerable: false,
4980
+ writable: true,
5192
4981
  value: debugStack
5193
4982
  });
5194
4983
  Object.defineProperty(type, "_debugTask", {
5195
- configurable: !1,
5196
- enumerable: !1,
5197
- writable: !0,
4984
+ configurable: false,
4985
+ enumerable: false,
4986
+ writable: true,
5198
4987
  value: debugTask
5199
4988
  });
5200
4989
  Object.freeze && (Object.freeze(type.props), Object.freeze(type));
@@ -5243,7 +5032,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5243
5032
  keys,
5244
5033
  children
5245
5034
  ),
5246
- (didWarnAboutKeySpread[children + isStaticChildren] = !0));
5035
+ (didWarnAboutKeySpread[children + isStaticChildren] = true));
5247
5036
  }
5248
5037
  children = null;
5249
5038
  void 0 !== maybeKey &&
@@ -5335,7 +5124,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5335
5124
  type,
5336
5125
  config,
5337
5126
  maybeKey,
5338
- !1,
5127
+ false,
5339
5128
  trackActualOwner
5340
5129
  ? Error("react-stack-top-frame")
5341
5130
  : unknownOwnerDebugStack,
@@ -5349,7 +5138,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5349
5138
  type,
5350
5139
  config,
5351
5140
  maybeKey,
5352
- !0,
5141
+ true,
5353
5142
  trackActualOwner
5354
5143
  ? Error("react-stack-top-frame")
5355
5144
  : unknownOwnerDebugStack,
@@ -5807,206 +5596,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
5807
5596
  }
5808
5597
  }
5809
5598
 
5810
- let AxiomBar$1 = class AxiomBar extends AxiomPlotRoot {
5811
- constructor(props) {
5812
- super(props);
5813
- this.legendHeight = 12;
5814
- this.legendPaddingTop = 8;
5815
- const chart = this.chart;
5816
- const chartElements = chart.getChartElements();
5817
- if ((chartElements === null || chartElements === void 0 ? void 0 : chartElements.svg) !== undefined) {
5818
- chartElements.svg.style('z-index', 20);
5819
- // TODO find better way ^. Doing this so that svg can get events.
5820
- }
5821
- }
5822
- draw() {
5823
- const _super = Object.create(null, {
5824
- onLegendReady: { get: () => super.onLegendReady }
5825
- });
5826
- return __awaiter(this, void 0, void 0, function* () {
5827
- var _a, _b, _c, _d, _e;
5828
- const dataResponse = yield this.getData();
5829
- const parsedData = (_a = dataResponse === null || dataResponse === void 0 ? void 0 : dataResponse.parsed) === null || _a === void 0 ? void 0 : _a.data;
5830
- if (parsedData === undefined)
5831
- return;
5832
- const xAccessor = this.getAccessorAtAxis('x');
5833
- const yAccessor = (_b = dataResponse.parsed) === null || _b === void 0 ? void 0 : _b.accessors.y;
5834
- if (xAccessor === undefined || yAccessor === undefined)
5835
- return;
5836
- const y2Accessor = (_c = dataResponse.parsed) === null || _c === void 0 ? void 0 : _c.accessors.y2;
5837
- const yGroups = this.dimensions;
5838
- const yKey = yGroups.y.property;
5839
- const yLabel = yGroups.y.label;
5840
- const y2Key = this.dimensions.y2.property;
5841
- const y2Label = this.dimensions.y2.label;
5842
- const chart = this.chart;
5843
- const chartElements = chart.getChartElements();
5844
- if (chartElements === undefined || chartElements.svg === null || yKey === undefined || yLabel === undefined)
5845
- return undefined;
5846
- if (chartElements.svg.select('g') !== undefined)
5847
- chartElements.svg.select('g').remove();
5848
- let { height } = chart.settings;
5849
- let width = chart.getWidth();
5850
- width = Number(width);
5851
- height = Number(height);
5852
- const oneOrZero = y2Key === undefined ? 0 : 1; // Used to add in space for y2 if exists.
5853
- const xAxisHeight = 48; // HOW TO GET DYNAMICALLY?
5854
- const yAxisWidth = 36; // HOW TO GET DYNAMICALLY?
5855
- const y2AxisWidth = yAxisWidth * oneOrZero;
5856
- const chartPaddingTop = 4;
5857
- const yLabelWidth = 24;
5858
- const y1TotalWidth = yAxisWidth + yLabelWidth;
5859
- const y2LabelWidth = yLabelWidth * oneOrZero;
5860
- const y2TotalWidth = y2AxisWidth * oneOrZero + y2LabelWidth;
5861
- const plotHeight = height - xAxisHeight - this.legendHeight - this.legendPaddingTop - chartPaddingTop;
5862
- const plotWidth = width - yAxisWidth - yLabelWidth - y2TotalWidth;
5863
- const plotXStart = width - plotWidth - y2TotalWidth;
5864
- const plotXEnd = width - y2TotalWidth;
5865
- const groups = parsedData.map(d => xAccessor(d));
5866
- const subgroups = [yKey];
5867
- if (y2Key !== undefined && y2Accessor !== undefined)
5868
- subgroups.push(y2Key);
5869
- // Colors
5870
- const fillColors = (_e = (_d = this.style) === null || _d === void 0 ? void 0 : _d.colors) !== null && _e !== void 0 ? _e : d3__namespace.schemeTableau10;
5871
- const color = d3__namespace.scaleOrdinal(fillColors).domain(subgroups);
5872
- const svg = chartElements.svg;
5873
- const g = svg.insert('g');
5874
- const x = this.getXScale(plotXStart, plotXEnd, groups);
5875
- const y = this.getYScale(plotHeight, chartPaddingTop, parsedData, yAccessor);
5876
- const y2 = this.getY2Scale(plotHeight, chartPaddingTop, parsedData, y2Accessor);
5877
- const subgroupScales = this.getSubgroupScales(yKey, y, y2Key, y2);
5878
- const xSubgroup = d3__namespace.scaleBand()
5879
- .domain(subgroups)
5880
- .range([0, x.bandwidth()])
5881
- .padding(0.05);
5882
- // Make Bar Groups
5883
- g.append('g')
5884
- .attr('width', plotWidth)
5885
- .attr('height', plotHeight)
5886
- .selectAll('g')
5887
- .data(parsedData)
5888
- .enter()
5889
- .append('g')
5890
- .attr('transform', d => `translate(${Number(x(xAccessor(d)))}, 0)`)
5891
- .selectAll('rect')
5892
- .data(d => Object.keys(this.dimensions).filter(key => key !== 'x').map((key) => {
5893
- var _a, _b, _c, _d, _e;
5894
- return {
5895
- label: (_a = this.dimensions[key].label) !== null && _a !== void 0 ? _a : key,
5896
- key: (_b = this.dimensions[key].property) !== null && _b !== void 0 ? _b : '',
5897
- x: d[(_d = (_c = this.dimensions.x) === null || _c === void 0 ? void 0 : _c.property) !== null && _d !== void 0 ? _d : 'x'],
5898
- value: d[(_e = this.dimensions[key].property) !== null && _e !== void 0 ? _e : '']
5899
- };
5900
- }))
5901
- .enter()
5902
- .append('rect')
5903
- .attr('x', d => Number(xSubgroup(d.key)))
5904
- .attr('y', d => Number(subgroupScales[d.key](d.value)))
5905
- .attr('width', xSubgroup.bandwidth())
5906
- .attr('height', d => plotHeight - Number(subgroupScales[d.key](d.value)))
5907
- .attr('fill', d => color(d.key))
5908
- .classed('bar', true)
5909
- .on('mouseover', (event, data) => { this.onMouseScrub(event, data); })
5910
- .on('mousemove', (event, data) => { this.onMouseScrub(event, data); })
5911
- .on('mouseleave', () => { this.onScrubEnd(); });
5912
- // X Axis
5913
- const xAxis = g.append('g')
5914
- .attr('transform', `translate(0, ${plotHeight})`)
5915
- .call(d3__namespace.axisBottom(x));
5916
- // X Labels
5917
- xAxis.selectAll('text')
5918
- .attr('text-anchor', 'end')
5919
- .attr('transform', 'rotate(-45)translate(-10, 0)');
5920
- // Y Axis
5921
- g.append('g')
5922
- .call(d3__namespace.axisLeft(y))
5923
- .attr('transform', `translate(${y1TotalWidth}, 0)`);
5924
- if (y2 !== undefined) {
5925
- // Y2 Axis
5926
- g.append('g')
5927
- .call(d3__namespace.axisRight(y2))
5928
- .attr('transform', `translate(${width - y2TotalWidth}, 0)`);
5929
- }
5930
- // Y Label
5931
- g.append('text')
5932
- .attr('text-anchor', 'middle')
5933
- .attr('transform', 'rotate(-90)')
5934
- .attr('x', -1 * plotHeight / 2)
5935
- .attr('y', yLabelWidth)
5936
- .attr('font-weight', 800)
5937
- .text(yLabel);
5938
- if (y2Label !== undefined) {
5939
- // Y2 Label
5940
- g.append('text')
5941
- .attr('text-anchor', 'middle')
5942
- .attr('transform', 'rotate(90)')
5943
- .attr('x', 1 * plotHeight / 2)
5944
- .attr('y', -1 * (width - y2LabelWidth))
5945
- .attr('font-weight', 800)
5946
- .text(y2Label);
5947
- }
5948
- _super.onLegendReady.call(this, Object.keys(this.dimensions).filter(key => key !== 'x').map(key => {
5949
- var _a, _b;
5950
- return ({
5951
- id: key,
5952
- label: (_a = this.dimensions[key].label) !== null && _a !== void 0 ? _a : key,
5953
- style: { backgroundColor: this.dimensions[key].property === undefined ? '' : color((_b = this.dimensions[key].property) !== null && _b !== void 0 ? _b : '') }
5954
- });
5955
- }));
5956
- });
5957
- }
5958
- onMouseScrub(event, data) {
5959
- if (this.chart.onPlotScrub === undefined)
5960
- return;
5961
- this.onScrub({
5962
- x: {
5963
- position: event.offsetX,
5964
- value: data.x
5965
- },
5966
- y: {
5967
- position: event.offsetY,
5968
- value: data.value
5969
- }
5970
- });
5971
- }
5972
- getXScale(plotXStart, plotXEnd, groups) {
5973
- return d3__namespace.scaleBand()
5974
- .domain(groups)
5975
- .range([plotXStart, plotXEnd])
5976
- .padding(0.25);
5977
- }
5978
- getYScale(plotHeight, chartPaddingTop, data, yAccessor) {
5979
- return d3__namespace.scaleLinear()
5980
- .domain([
5981
- 0,
5982
- Number(d3__namespace.max(data, d => yAccessor(d)))
5983
- ])
5984
- .range([plotHeight, chartPaddingTop]);
5985
- }
5986
- getY2Scale(plotHeight, chartPaddingTop, data, y2Accessor) {
5987
- if (y2Accessor === undefined)
5988
- return undefined;
5989
- return this.getYScale(plotHeight, chartPaddingTop, data, y2Accessor);
5990
- }
5991
- /**
5992
- *
5993
- * Returns a map from Y key to Y scale. E.g.
5994
- * {
5995
- * "frequency": Y,
5996
- * "proportion": Y2
5997
- * }
5998
- */
5999
- getSubgroupScales(yKey, y, y2Key, y2) {
6000
- const subgroupScales = {
6001
- [yKey]: y
6002
- };
6003
- if (y2Key !== undefined && y2 !== undefined) {
6004
- subgroupScales[y2Key] = y2;
6005
- }
6006
- return subgroupScales;
6007
- }
6008
- };
6009
-
6010
5599
  class AxiomBar extends AxiomPlotRoot {
6011
5600
  getMaxAccessorAtAxis(axis) {
6012
5601
  const axisAccessors = this.getDomainAccessorsAtAxis(axis);
@@ -6064,6 +5653,9 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
6064
5653
  if (ctx === null) {
6065
5654
  return undefined;
6066
5655
  }
5656
+ if (ctx === null) {
5657
+ return undefined;
5658
+ }
6067
5659
  const xAxisScale = (_j = (_h = this === null || this === void 0 ? void 0 : this.axes) === null || _h === void 0 ? void 0 : _h.x) === null || _j === void 0 ? void 0 : _j.scale;
6068
5660
  const yAxisScale = (_l = (_k = this === null || this === void 0 ? void 0 : this.axes) === null || _k === void 0 ? void 0 : _k.y) === null || _l === void 0 ? void 0 : _l.scale;
6069
5661
  if (xAxisScale === undefined ||
@@ -6084,6 +5676,10 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
6084
5676
  return p === undefined ? 0 : (p + offset);
6085
5677
  };
6086
5678
  };
5679
+ ctx.save();
5680
+ ctx.beginPath();
5681
+ ctx.rect(this.chart.settings.margin.left, this.chart.settings.margin.top, xScale.range()[1], yScale.range()[0]);
5682
+ ctx.clip();
6087
5683
  const defaultColor = style.fill !== undefined ? style.fill : '#EDEDED';
6088
5684
  ctx.fillStyle = defaultColor;
6089
5685
  const rect = {};
@@ -6140,6 +5736,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
6140
5736
  const y0 = rect.y0(row);
6141
5737
  const y1 = rect.y1(row);
6142
5738
  if (isDefined(row) && y0 !== undefined && y1 !== undefined) {
5739
+ // make sure bar doesn't go outside of chart area
6143
5740
  const xVal = rect.x(row) - defaultSize / 2;
6144
5741
  // add per feature style option
6145
5742
  // ctx.fillStyle = i % 2 === 0 ? '#FF0000' : '#006699'
@@ -6175,15 +5772,13 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
6175
5772
  Line: AxiomLine,
6176
5773
  Area: AxiomArea,
6177
5774
  Scatter: AxiomScatter,
6178
- Bar: AxiomBar,
6179
- CategoricalBar: AxiomBar$1
6180
- };
5775
+ Bar: AxiomBar};
6181
5776
 
6182
5777
  function styleInject(css, ref) {
6183
5778
  if ( ref === void 0 ) ref = {};
6184
5779
  var insertAt = ref.insertAt;
6185
5780
 
6186
- if (!css || typeof document === 'undefined') { return; }
5781
+ if (typeof document === 'undefined') { return; }
6187
5782
 
6188
5783
  var head = document.head || document.getElementsByTagName('head')[0];
6189
5784
  var style = document.createElement('style');
@@ -6214,6 +5809,9 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
6214
5809
  if (axisSettings.ticks !== undefined) {
6215
5810
  axis.ticks(axisSettings.ticks);
6216
5811
  }
5812
+ if (axisSettings.tickValues !== undefined) {
5813
+ axis.tickValues(axisSettings.tickValues);
5814
+ }
6217
5815
  if (axisSettings.tickFormat !== undefined) {
6218
5816
  axis.tickFormat(axisSettings.tickFormat);
6219
5817
  }
@@ -7148,7 +6746,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
7148
6746
  const tickFormat = d3Scale.tickFormat();
7149
6747
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7150
6748
  // @ts-expect-error
7151
- const ticks = (_c = (_b = (_a = this.settings.axes) === null || _a === void 0 ? void 0 : _a.x) === null || _b === void 0 ? void 0 : _b.ticks) !== null && _c !== void 0 ? _c : d3Scale.ticks().map(tickFormat);
6749
+ const tickValues = (_c = (_b = (_a = this.settings.axes) === null || _a === void 0 ? void 0 : _a.x) === null || _b === void 0 ? void 0 : _b.tickValues) !== null && _c !== void 0 ? _c : d3Scale.ticks().map(tickFormat);
7152
6750
  const rotateOffset = -90;
7153
6751
  const getRotate = (index, len) => {
7154
6752
  const r = (index * 360 / len);
@@ -7161,7 +6759,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
7161
6759
  .attr('transform', `translate(${offset.x},${offset.y}) rotate(${rotateOffset})`)
7162
6760
  .attr('text-anchor', 'left')
7163
6761
  .call(g => g.selectAll('g')
7164
- .data(ticks)
6762
+ .data(tickValues)
7165
6763
  .join('g')
7166
6764
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7167
6765
  // @ts-expect-error
@@ -8105,10 +7703,9 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
8105
7703
  if (this.state && this.state.data === void 0) {
8106
7704
  const defaultState = getDefaultState$1(this.options);
8107
7705
  if (defaultState.data !== void 0) {
8108
- this.setData(defaultState.data, {
8109
- updatedAt: defaultState.dataUpdatedAt,
8110
- manual: true
8111
- });
7706
+ this.setState(
7707
+ successState(defaultState.data, defaultState.dataUpdatedAt)
7708
+ );
8112
7709
  this.#initialState = defaultState;
8113
7710
  }
8114
7711
  }
@@ -8403,12 +8000,8 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
8403
8000
  case "success":
8404
8001
  const newState = {
8405
8002
  ...state,
8406
- data: action.data,
8003
+ ...successState(action.data, action.dataUpdatedAt),
8407
8004
  dataUpdateCount: state.dataUpdateCount + 1,
8408
- dataUpdatedAt: action.dataUpdatedAt ?? Date.now(),
8409
- error: null,
8410
- isInvalidated: false,
8411
- status: "success",
8412
8005
  ...!action.manual && {
8413
8006
  fetchStatus: "idle",
8414
8007
  fetchFailureCount: 0,
@@ -8461,6 +8054,15 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
8461
8054
  }
8462
8055
  };
8463
8056
  }
8057
+ function successState(data, dataUpdatedAt) {
8058
+ return {
8059
+ data,
8060
+ dataUpdatedAt: dataUpdatedAt ?? Date.now(),
8061
+ error: null,
8062
+ isInvalidated: false,
8063
+ status: "success"
8064
+ };
8065
+ }
8464
8066
  function getDefaultState$1(options) {
8465
8067
  const data = typeof options.initialData === "function" ? options.initialData() : options.initialData;
8466
8068
  const hasData = data !== void 0;
@@ -8602,12 +8204,15 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
8602
8204
  get: (target, key) => {
8603
8205
  this.trackProp(key);
8604
8206
  onPropTracked?.(key);
8605
- if (key === "promise" && !this.options.experimental_prefetchInRender && this.#currentThenable.status === "pending") {
8606
- this.#currentThenable.reject(
8607
- new Error(
8608
- "experimental_prefetchInRender feature flag is not enabled"
8609
- )
8610
- );
8207
+ if (key === "promise") {
8208
+ this.trackProp("data");
8209
+ if (!this.options.experimental_prefetchInRender && this.#currentThenable.status === "pending") {
8210
+ this.#currentThenable.reject(
8211
+ new Error(
8212
+ "experimental_prefetchInRender feature flag is not enabled"
8213
+ )
8214
+ );
8215
+ }
8611
8216
  }
8612
8217
  return Reflect.get(target, key);
8613
8218
  }
@@ -9564,24 +9169,26 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
9564
9169
  return input;
9565
9170
  }
9566
9171
  #findMatchingObservers(queries) {
9567
- const prevObserversMap = new Map(
9568
- this.#observers.map((observer) => [observer.options.queryHash, observer])
9569
- );
9172
+ const prevObserversMap = /* @__PURE__ */ new Map();
9173
+ this.#observers.forEach((observer) => {
9174
+ const key = observer.options.queryHash;
9175
+ if (!key) return;
9176
+ const previousObservers = prevObserversMap.get(key);
9177
+ if (previousObservers) {
9178
+ previousObservers.push(observer);
9179
+ } else {
9180
+ prevObserversMap.set(key, [observer]);
9181
+ }
9182
+ });
9570
9183
  const observers = [];
9571
9184
  queries.forEach((options) => {
9572
9185
  const defaultedOptions = this.#client.defaultQueryOptions(options);
9573
- const match = prevObserversMap.get(defaultedOptions.queryHash);
9574
- if (match) {
9575
- observers.push({
9576
- defaultedQueryOptions: defaultedOptions,
9577
- observer: match
9578
- });
9579
- } else {
9580
- observers.push({
9581
- defaultedQueryOptions: defaultedOptions,
9582
- observer: new QueryObserver(this.#client, defaultedOptions)
9583
- });
9584
- }
9186
+ const match = prevObserversMap.get(defaultedOptions.queryHash)?.shift();
9187
+ const observer = match ?? new QueryObserver(this.#client, defaultedOptions);
9188
+ observers.push({
9189
+ defaultedQueryOptions: defaultedOptions,
9190
+ observer
9191
+ });
9585
9192
  });
9586
9193
  return observers;
9587
9194
  }
@@ -9990,9 +9597,6 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
9990
9597
  );
9991
9598
  var useQueryClient = (queryClient) => {
9992
9599
  const client = React__namespace.useContext(QueryClientContext);
9993
- if (queryClient) {
9994
- return queryClient;
9995
- }
9996
9600
  if (!client) {
9997
9601
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
9998
9602
  }
@@ -10079,7 +9683,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10079
9683
  queries,
10080
9684
  ...options
10081
9685
  }, queryClient) {
10082
- const client = useQueryClient(queryClient);
9686
+ const client = useQueryClient();
10083
9687
  const isRestoring = useIsRestoring();
10084
9688
  const errorResetBoundary = useQueryErrorResetBoundary();
10085
9689
  const defaultedQueries = React__namespace.useMemo(
@@ -10169,7 +9773,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10169
9773
  }
10170
9774
  const isRestoring = useIsRestoring();
10171
9775
  const errorResetBoundary = useQueryErrorResetBoundary();
10172
- const client = useQueryClient(queryClient);
9776
+ const client = useQueryClient();
10173
9777
  const defaultedOptions = client.defaultQueryOptions(options);
10174
9778
  client.getDefaultOptions().queries?._experimental_beforeQuery?.(
10175
9779
  defaultedOptions
@@ -10241,7 +9845,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10241
9845
  }
10242
9846
 
10243
9847
  function useQuery(options, queryClient) {
10244
- return useBaseQuery(options, QueryObserver, queryClient);
9848
+ return useBaseQuery(options, QueryObserver);
10245
9849
  }
10246
9850
 
10247
9851
  // mostly borrowed from legacy portal code: http://git.axiom/brian/d3-series-stats/-/blob/master/src/time-binners.js
@@ -10855,7 +10459,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10855
10459
  axisSettings: Object.assign({ y: Object.assign({ accessProperties: {
10856
10460
  y0: 'median',
10857
10461
  y1: 'p90'
10858
- } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit$1(axisSettings, 'y')),
10462
+ } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit(axisSettings, 'y')),
10859
10463
  style: {
10860
10464
  fill: makeColor({
10861
10465
  defaultColor: 'rgb(153, 0, 0)',
@@ -10873,7 +10477,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10873
10477
  axisSettings: Object.assign({ y: Object.assign({ accessProperties: {
10874
10478
  y0: 'p10',
10875
10479
  y1: 'median'
10876
- } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit$1(axisSettings, 'y')),
10480
+ } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit(axisSettings, 'y')),
10877
10481
  style: {
10878
10482
  fill: makeColor({
10879
10483
  defaultColor: 'rgb(0, 102, 153)',
@@ -10920,7 +10524,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10920
10524
  onDataLoad,
10921
10525
  axisSettings: Object.assign({ y: Object.assign({ accessProperties: {
10922
10526
  y: 'max'
10923
- } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit$1(axisSettings, 'y')),
10527
+ } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit(axisSettings, 'y')),
10924
10528
  style: {
10925
10529
  strokeWidth: 1,
10926
10530
  lineDash,
@@ -10940,7 +10544,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
10940
10544
  onDataLoad,
10941
10545
  axisSettings: Object.assign({ y: Object.assign({ accessProperties: {
10942
10546
  y: 'min'
10943
- } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit$1(axisSettings, 'y')),
10547
+ } }, axisSettings === null || axisSettings === void 0 ? void 0 : axisSettings.y) }, omit(axisSettings, 'y')),
10944
10548
  style: {
10945
10549
  strokeWidth: 1,
10946
10550
  lineDash,
@@ -11607,7 +11211,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
11607
11211
  const xDomain = ((_a = axisDefinitions === null || axisDefinitions === void 0 ? void 0 : axisDefinitions.x) === null || _a === void 0 ? void 0 : _a.domain) !== undefined ? axisDefinitions.x.domain : [0, 1];
11608
11212
  const [chartSettings] = chartSettingsState;
11609
11213
  const initXBounds = convertRelativeTimeToBounds([xDomain[0], xDomain[1]], (_b = chartSettings === null || chartSettings === void 0 ? void 0 : chartSettings.relativeTimePeriod) !== null && _b !== void 0 ? _b : 'all', (_c = chartSettings === null || chartSettings === void 0 ? void 0 : chartSettings.relativeTimePeriodReference) !== null && _c !== void 0 ? _c : 'now');
11610
- const margin = (chartSettings === null || chartSettings === void 0 ? void 0 : chartSettings.margin) !== undefined ? chartSettings.margin : { left: 60, right: 10, bottom: 40, top: 10 };
11214
+ const margin = (chartSettings === null || chartSettings === void 0 ? void 0 : chartSettings.margin) !== undefined ? chartSettings.margin : { left: 60, right: 10};
11611
11215
  const [sliderMin] = React.useState(xDomain[0]);
11612
11216
  const [sliderMax] = React.useState(xDomain[1]);
11613
11217
  const [sliderRange, setSliderRange] = React.useState([+initXBounds[0], +initXBounds[1]]);
@@ -11881,7 +11485,7 @@ var AxiomCharts = (function (exports, axiomUiDataServices, d3Array, React, d3Sel
11881
11485
  `.replace(/\s+/g, '');
11882
11486
  };
11883
11487
  const makeFoclseTimeSeriesStatsRequest = (props) => {
11884
- return `https://focsle-pyramids.srv.axds.co/datasets/${props.dataset}/climatology/${makeFocsleTimeSeriesStatsRequestQueryString(omit$1(props, 'xBounds'))}`;
11488
+ return `https://focsle-pyramids.srv.axds.co/datasets/${props.dataset}/climatology/${makeFocsleTimeSeriesStatsRequestQueryString(omit(props, 'xBounds'))}`;
11885
11489
  };
11886
11490
  const parseFocsleTimeSeriesDataStats = (data, args) => __awaiter(void 0, void 0, void 0, function* () {
11887
11491
  const d = data.mean !== undefined ? data.mean : Object.values(data)[0];