victory-legend 37.1.0 → 37.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # victory-legend
2
2
 
3
+ ## 37.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix victory-native container styles ([`eae3fe5dd`](https://github.com/FormidableLabs/victory/commit/eae3fe5dde175e68e146576655cb2e8054ad6456))
8
+
9
+ ## 37.1.1
10
+
3
11
  ## 37.1.0
4
12
 
5
13
  ### Minor Changes
@@ -6557,6 +6557,432 @@ const TSpan = props => {
6557
6557
 
6558
6558
  /***/ }),
6559
6559
 
6560
+ /***/ "../../victory-core/es/victory-theme/clean.js":
6561
+ /*!****************************************************!*\
6562
+ !*** ../../victory-core/es/victory-theme/clean.js ***!
6563
+ \****************************************************/
6564
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6565
+
6566
+ "use strict";
6567
+ __webpack_require__.r(__webpack_exports__);
6568
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6569
+ /* harmony export */ "clean": function() { return /* binding */ clean; }
6570
+ /* harmony export */ });
6571
+ // *
6572
+ // * Colors
6573
+ // *
6574
+
6575
+ const gray = {
6576
+ white: "#FFFFFF",
6577
+ "50": "#FAFAFA",
6578
+ "100": "#F2F2F2",
6579
+ "200": "#E8E8E8",
6580
+ "300": "#E0E0E0",
6581
+ "400": "#D1D1D1",
6582
+ "500": "#757575",
6583
+ "600": "#5C5C5C",
6584
+ "700": "#424242",
6585
+ "800": "#333333",
6586
+ "900": "#292929",
6587
+ black: "#0F0F0F"
6588
+ };
6589
+ const yellow = {
6590
+ "100": "#FFEAB6",
6591
+ "300": "#FFD66E",
6592
+ "500": "#FCB400",
6593
+ "900": "#B87503"
6594
+ };
6595
+ const orange = {
6596
+ "100": "#FEE2D5",
6597
+ "300": "#FFA981",
6598
+ "500": "#FF6F2C",
6599
+ "900": "#D74D26"
6600
+ };
6601
+ const red = {
6602
+ "100": "#FFDCE5",
6603
+ "300": "#FF9EB7",
6604
+ "500": "#F82B60",
6605
+ "900": "#BA1E45"
6606
+ };
6607
+ const pink = {
6608
+ "100": "#FFDAF6",
6609
+ "300": "#F99DE2",
6610
+ "500": "#FF08C2",
6611
+ "900": "#B2158B"
6612
+ };
6613
+ const purple = {
6614
+ "100": "#EDE3FE",
6615
+ "300": "#CDB0FF",
6616
+ "500": "#8B46FF",
6617
+ "900": "#6B1CB0"
6618
+ };
6619
+ const blue = {
6620
+ "100": "#CFDFFF",
6621
+ "300": "#9CC7FF",
6622
+ "500": "#2D7FF9",
6623
+ "900": "#2750AE"
6624
+ };
6625
+ const cyan = {
6626
+ "100": "#D0F0FD",
6627
+ "300": "#77D1F3",
6628
+ "500": "#18BFFF",
6629
+ "900": "#0B76B7"
6630
+ };
6631
+ const teal = {
6632
+ "100": "#C2F5E9",
6633
+ "300": "#72DDC3",
6634
+ "500": "#20D9D2",
6635
+ "900": "#06A09B"
6636
+ };
6637
+ const green = {
6638
+ "100": "#D1F7C4",
6639
+ "300": "#93E088",
6640
+ "500": "#20C933",
6641
+ "900": "#338A17"
6642
+ };
6643
+ const colors = [blue["500"], pink["500"], teal["500"], purple["500"], green["500"], orange["500"], cyan["500"], red["500"], yellow["500"]];
6644
+ // *
6645
+ // * Typography
6646
+ // *
6647
+ const sansSerif = "'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif";
6648
+ const letterSpacing = "normal";
6649
+ const fontSize = 12;
6650
+ // *
6651
+ // * Layout
6652
+ // *
6653
+ const padding = 8;
6654
+ const baseProps = {
6655
+ width: 450,
6656
+ height: 300,
6657
+ padding: 50,
6658
+ colorScale: colors
6659
+ };
6660
+ // *
6661
+ // * Labels
6662
+ // *
6663
+ const baseLabelStyles = {
6664
+ fontFamily: sansSerif,
6665
+ fontSize,
6666
+ fontWeight: 300,
6667
+ letterSpacing,
6668
+ padding,
6669
+ fill: gray["900"],
6670
+ stroke: "transparent"
6671
+ };
6672
+ const centeredLabelStyles = Object.assign({
6673
+ textAnchor: "middle"
6674
+ }, baseLabelStyles);
6675
+
6676
+ // *
6677
+ // * Strokes
6678
+ // *
6679
+ const strokeDasharray = "10, 5";
6680
+ const strokeLinecap = "round";
6681
+ const strokeLinejoin = "round";
6682
+ const borderRadius = 1;
6683
+ // *
6684
+ // * Theme
6685
+ // *
6686
+ const clean = {
6687
+ area: Object.assign({
6688
+ style: {
6689
+ data: {
6690
+ fill: cyan["500"]
6691
+ },
6692
+ labels: baseLabelStyles
6693
+ }
6694
+ }, baseProps),
6695
+ axis: Object.assign({
6696
+ style: {
6697
+ axis: {
6698
+ fill: "transparent",
6699
+ stroke: gray["300"],
6700
+ strokeWidth: 1,
6701
+ strokeLinecap,
6702
+ strokeLinejoin
6703
+ },
6704
+ axisLabel: Object.assign({}, centeredLabelStyles, {
6705
+ padding,
6706
+ stroke: "transparent"
6707
+ }),
6708
+ grid: {
6709
+ fill: "none",
6710
+ stroke: "none",
6711
+ painterEvents: "painted"
6712
+ },
6713
+ ticks: {
6714
+ fill: "transparent",
6715
+ size: 5,
6716
+ stroke: "transparent"
6717
+ },
6718
+ tickLabels: baseLabelStyles
6719
+ }
6720
+ }, baseProps),
6721
+ polarAxis: Object.assign({
6722
+ style: {
6723
+ axis: {
6724
+ stroke: gray["300"]
6725
+ },
6726
+ grid: {
6727
+ stroke: gray["200"],
6728
+ strokeDasharray,
6729
+ strokeLinecap,
6730
+ strokeLinejoin,
6731
+ pointerEvents: "painted"
6732
+ },
6733
+ ticks: {
6734
+ fill: "transparent",
6735
+ size: 5,
6736
+ stroke: gray["200"],
6737
+ strokeWidth: 1,
6738
+ strokeLinecap,
6739
+ strokeLinejoin
6740
+ },
6741
+ tickLabels: baseLabelStyles
6742
+ }
6743
+ }),
6744
+ polarDependentAxis: Object.assign({
6745
+ style: {
6746
+ axis: {
6747
+ stroke: gray["300"]
6748
+ },
6749
+ grid: {
6750
+ stroke: gray["200"],
6751
+ strokeDasharray,
6752
+ strokeLinecap,
6753
+ strokeLinejoin,
6754
+ pointerEvents: "painted"
6755
+ },
6756
+ ticks: {
6757
+ fill: "transparent",
6758
+ size: 5,
6759
+ stroke: gray["200"],
6760
+ strokeWidth: 1,
6761
+ strokeLinecap,
6762
+ strokeLinejoin
6763
+ },
6764
+ tickLabels: baseLabelStyles
6765
+ }
6766
+ }),
6767
+ bar: Object.assign({
6768
+ style: {
6769
+ data: {
6770
+ fill: blue["500"],
6771
+ padding,
6772
+ strokeWidth: 0
6773
+ },
6774
+ labels: baseLabelStyles
6775
+ },
6776
+ cornerRadius: {
6777
+ top: borderRadius
6778
+ }
6779
+ }, baseProps),
6780
+ boxplot: Object.assign({
6781
+ style: {
6782
+ max: {
6783
+ padding,
6784
+ stroke: gray["400"],
6785
+ strokeWidth: 2
6786
+ },
6787
+ maxLabels: Object.assign({}, baseLabelStyles, {
6788
+ padding: 3
6789
+ }),
6790
+ median: {
6791
+ padding,
6792
+ stroke: gray.white,
6793
+ strokeWidth: 2
6794
+ },
6795
+ medianLabels: Object.assign({}, baseLabelStyles, {
6796
+ padding: 3
6797
+ }),
6798
+ min: {
6799
+ padding,
6800
+ stroke: gray["400"],
6801
+ strokeWidth: 2
6802
+ },
6803
+ minLabels: Object.assign({}, baseLabelStyles, {
6804
+ padding: 3
6805
+ }),
6806
+ q1: {
6807
+ padding,
6808
+ fill: teal["500"],
6809
+ rx: borderRadius
6810
+ },
6811
+ q1Labels: Object.assign({}, baseLabelStyles, {
6812
+ padding: 3
6813
+ }),
6814
+ q3: {
6815
+ padding,
6816
+ fill: teal["500"],
6817
+ rx: borderRadius
6818
+ },
6819
+ q3Labels: Object.assign({}, baseLabelStyles, {
6820
+ padding: 3
6821
+ })
6822
+ },
6823
+ boxWidth: 20
6824
+ }, baseProps),
6825
+ candlestick: Object.assign({
6826
+ style: {
6827
+ data: {
6828
+ stroke: gray["300"],
6829
+ strokeWidth: 0,
6830
+ rx: borderRadius
6831
+ },
6832
+ labels: Object.assign({}, baseLabelStyles, {
6833
+ padding: 5
6834
+ })
6835
+ },
6836
+ candleColors: {
6837
+ positive: teal["500"],
6838
+ negative: orange["500"]
6839
+ },
6840
+ wickStrokeWidth: 2
6841
+ }, baseProps),
6842
+ chart: baseProps,
6843
+ errorbar: Object.assign({
6844
+ borderWidth: 8,
6845
+ style: {
6846
+ data: {
6847
+ fill: "transparent",
6848
+ opacity: 1,
6849
+ stroke: gray["700"],
6850
+ strokeWidth: 2,
6851
+ strokeLinecap
6852
+ },
6853
+ labels: baseLabelStyles
6854
+ }
6855
+ }, baseProps),
6856
+ group: Object.assign({
6857
+ colorScale: colors
6858
+ }, baseProps),
6859
+ histogram: Object.assign({
6860
+ style: {
6861
+ data: {
6862
+ fill: cyan["500"],
6863
+ stroke: "transparent",
6864
+ strokeWidth: 0
6865
+ },
6866
+ labels: baseLabelStyles
6867
+ },
6868
+ binSpacing: 4,
6869
+ cornerRadius: {
6870
+ top: borderRadius
6871
+ }
6872
+ }, baseProps),
6873
+ label: baseLabelStyles,
6874
+ legend: {
6875
+ colorScale: colors,
6876
+ gutter: 10,
6877
+ orientation: "vertical",
6878
+ titleOrientation: "top",
6879
+ style: {
6880
+ data: {
6881
+ type: "circle"
6882
+ },
6883
+ labels: {
6884
+ ...baseLabelStyles,
6885
+ fontSize: 14
6886
+ },
6887
+ title: Object.assign({}, baseLabelStyles, {
6888
+ padding,
6889
+ fontSize: 20
6890
+ }),
6891
+ border: {
6892
+ stroke: gray["200"],
6893
+ strokeWidth: 2,
6894
+ padding: 16
6895
+ }
6896
+ }
6897
+ },
6898
+ line: Object.assign({
6899
+ style: {
6900
+ data: {
6901
+ fill: "transparent",
6902
+ opacity: 1,
6903
+ stroke: pink["500"],
6904
+ strokeWidth: 2,
6905
+ strokeLinecap,
6906
+ strokeLinejoin
6907
+ },
6908
+ labels: baseLabelStyles
6909
+ }
6910
+ }, baseProps),
6911
+ pie: Object.assign({
6912
+ style: {
6913
+ data: {
6914
+ padding,
6915
+ stroke: gray.white,
6916
+ strokeWidth: 1
6917
+ },
6918
+ labels: Object.assign({}, baseLabelStyles, {
6919
+ padding: 20
6920
+ })
6921
+ },
6922
+ colorScale: colors,
6923
+ cornerRadius: borderRadius
6924
+ }, baseProps),
6925
+ scatter: Object.assign({
6926
+ style: {
6927
+ data: {
6928
+ fill: purple["500"],
6929
+ opacity: 1,
6930
+ stroke: "transparent",
6931
+ strokeWidth: 0
6932
+ },
6933
+ labels: baseLabelStyles
6934
+ }
6935
+ }, baseProps),
6936
+ stack: Object.assign({
6937
+ colorScale: colors
6938
+ }, baseProps),
6939
+ tooltip: {
6940
+ style: Object.assign({}, baseLabelStyles, {
6941
+ padding: 0,
6942
+ pointerEvents: "none"
6943
+ }),
6944
+ flyoutStyle: {
6945
+ stroke: gray["500"],
6946
+ strokeWidth: 2,
6947
+ fill: gray.white,
6948
+ pointerEvents: "none"
6949
+ },
6950
+ flyoutPadding: {
6951
+ top: 8,
6952
+ bottom: 8,
6953
+ left: 16,
6954
+ right: 16
6955
+ },
6956
+ cornerRadius: borderRadius,
6957
+ pointerLength: 4
6958
+ },
6959
+ voronoi: Object.assign({
6960
+ style: {
6961
+ data: {
6962
+ fill: red["100"],
6963
+ stroke: red["500"],
6964
+ strokeWidth: 2
6965
+ },
6966
+ labels: Object.assign({}, baseLabelStyles, {
6967
+ padding: 5,
6968
+ pointerEvents: "none"
6969
+ }),
6970
+ flyout: {
6971
+ stroke: gray["900"],
6972
+ strokeWidth: 1,
6973
+ fill: gray["100"],
6974
+ pointerEvents: "none"
6975
+ },
6976
+ padding: {
6977
+ left: 2,
6978
+ bottom: 2
6979
+ }
6980
+ }
6981
+ }, baseProps)
6982
+ };
6983
+
6984
+ /***/ }),
6985
+
6560
6986
  /***/ "../../victory-core/es/victory-theme/grayscale.js":
6561
6987
  /*!********************************************************!*\
6562
6988
  !*** ../../victory-core/es/victory-theme/grayscale.js ***!
@@ -7137,12 +7563,15 @@ __webpack_require__.r(__webpack_exports__);
7137
7563
  /* harmony export */ });
7138
7564
  /* harmony import */ var _grayscale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./grayscale */ "../../victory-core/es/victory-theme/grayscale.js");
7139
7565
  /* harmony import */ var _material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./material */ "../../victory-core/es/victory-theme/material.js");
7566
+ /* harmony import */ var _clean__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./clean */ "../../victory-core/es/victory-theme/clean.js");
7567
+
7140
7568
 
7141
7569
 
7142
7570
 
7143
7571
  const VictoryTheme = {
7144
7572
  grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_0__.grayscale,
7145
- material: _material__WEBPACK_IMPORTED_MODULE_1__.material
7573
+ material: _material__WEBPACK_IMPORTED_MODULE_1__.material,
7574
+ clean: _clean__WEBPACK_IMPORTED_MODULE_2__.clean
7146
7575
  };
7147
7576
 
7148
7577
  /***/ }),
@@ -9114,6 +9543,7 @@ __webpack_require__.r(__webpack_exports__);
9114
9543
  /* eslint-disable no-magic-numbers */
9115
9544
  // Based on measuring specific character widths
9116
9545
  // as in the following example https://bl.ocks.org/tophtucker/62f93a4658387bb61e4510c37e2e97cf
9546
+ // For new fonts: pull gist, open index.html locally, add font files (if not generic), enter font name in `font-family` input
9117
9547
  // prettier-ignore
9118
9548
  const fonts = {
9119
9549
  "American Typewriter": {
@@ -9172,6 +9602,10 @@ const fonts = {
9172
9602
  widths: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2359375, 0.2234375, 0.3921875, 0.7125, 0.49375, 0.8859375, 0.771875, 0.2125, 0.3078125, 0.309375, 0.375, 0.4234375, 0.234375, 0.3125, 0.234375, 0.3, 0.5828125, 0.365625, 0.434375, 0.3921875, 0.5234375, 0.3984375, 0.5125, 0.4328125, 0.46875, 0.5125, 0.234375, 0.234375, 0.515625, 0.4234375, 0.515625, 0.340625, 0.7609375, 0.7359375, 0.6359375, 0.721875, 0.8125, 0.6375, 0.5875, 0.8078125, 0.853125, 0.4296875, 0.503125, 0.78125, 0.609375, 0.9609375, 0.8515625, 0.8140625, 0.6125, 0.8140625, 0.71875, 0.49375, 0.7125, 0.76875, 0.771875, 1.125, 0.7765625, 0.7734375, 0.65625, 0.321875, 0.3078125, 0.321875, 0.3546875, 0.5, 0.3375, 0.446875, 0.5359375, 0.45, 0.5296875, 0.4546875, 0.425, 0.4921875, 0.54375, 0.2671875, 0.240625, 0.5390625, 0.25, 0.815625, 0.5375, 0.5234375, 0.5390625, 0.5421875, 0.365625, 0.36875, 0.35625, 0.5171875, 0.5015625, 0.75, 0.5, 0.509375, 0.44375, 0.2421875, 0.14375, 0.2421875, 0.35],
9173
9603
  avg: 0.5116447368421051
9174
9604
  },
9605
+ "Inter": {
9606
+ widths: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2796875, 0.2890625, 0.4671875, 0.634375, 0.6421875, 0.9828125, 0.6453125, 0.3, 0.365625, 0.365625, 0.5015625, 0.6625, 0.2890625, 0.4609375, 0.2890625, 0.3609375, 0.63125, 0.4078125, 0.6109375, 0.61875, 0.646875, 0.59375, 0.6203125, 0.5671875, 0.61875, 0.6203125, 0.2890625, 0.303125, 0.6625, 0.6625, 0.6625, 0.5125, 0.9671875, 0.690625, 0.6546875, 0.73125, 0.721875, 0.6015625, 0.590625, 0.746875, 0.74375, 0.26875, 0.571875, 0.671875, 0.565625, 0.9046875, 0.7546875, 0.765625, 0.6390625, 0.765625, 0.64375, 0.6421875, 0.646875, 0.7453125, 0.690625, 0.9859375, 0.6828125, 0.6796875, 0.6296875, 0.365625, 0.3609375, 0.365625, 0.471875, 0.45625, 0.3234375, 0.5625, 0.6125, 0.571875, 0.6125, 0.584375, 0.3703125, 0.6140625, 0.5921875, 0.2421875, 0.2548828125, 0.55, 0.2421875, 0.8765625, 0.5921875, 0.6, 0.6125, 0.6125, 0.3765625, 0.528125, 0.328125, 0.5921875, 0.5625, 0.81875, 0.546875, 0.5625, 0.553125, 0.4265625, 0.3328125, 0.4265625, 0.6625],
9607
+ avg: 0.5624362664473683
9608
+ },
9175
9609
  "Montserrat": {
9176
9610
  widths: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2625, 0.2609375, 0.3734375, 0.696875, 0.615625, 0.8296875, 0.6703125, 0.203125, 0.3296875, 0.3296875, 0.3875, 0.575, 0.2125, 0.3828125, 0.2125, 0.3953125, 0.6625, 0.3625, 0.56875, 0.5640625, 0.6625, 0.5671875, 0.609375, 0.5890625, 0.6390625, 0.609375, 0.2125, 0.2125, 0.575, 0.575, 0.575, 0.5671875, 1.034375, 0.7171875, 0.7546875, 0.7203125, 0.8265625, 0.6703125, 0.634375, 0.7734375, 0.8140625, 0.303125, 0.5078125, 0.7125, 0.5890625, 0.95625, 0.8140625, 0.8390625, 0.71875, 0.8390625, 0.7234375, 0.615625, 0.575, 0.7921875, 0.6984375, 1.1125, 0.65625, 0.6359375, 0.6515625, 0.31875, 0.396875, 0.31875, 0.5765625, 0.5, 0.6, 0.590625, 0.678125, 0.5640625, 0.678125, 0.6046875, 0.375, 0.6875, 0.678125, 0.2703125, 0.365625, 0.6015625, 0.2703125, 1.0625, 0.678125, 0.628125, 0.678125, 0.678125, 0.4015625, 0.4890625, 0.40625, 0.6734375, 0.5421875, 0.8796875, 0.534375, 0.5671875, 0.5125, 0.334375, 0.2953125, 0.334375, 0.575],
9177
9611
  avg: 0.571792763157895
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryLegend=e(require("react")):t.VictoryLegend=e(t.React)}(self,(function(t){return function(){var e={503:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},3273:function(t,e,n){var r=n(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,e,n){var r=n(1171),o=n(7838),i=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},2596:function(t,e,n){var r=n(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},6649:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},5510:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9955:function(t){t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},1634:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},4132:function(t,e,n){var r=n(8347),o=n(788),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},3162:function(t,e,n){var r=n(788);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4508:function(t){t.exports=function(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(r,a,n(a),t)}return r}},8347:function(t,e,n){var r=n(5525);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},6457:function(t,e,n){var r=n(9559),o=n(3608);t.exports=function t(e,n,i,a,s){var c=-1,u=e.length;for(i||(i=o),s||(s=[]);++c<u;){var l=e[c];n>0&&i(l)?n>1?t(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,e,n){var r=n(9026),o=n(3110);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},563:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6776:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},6123:function(t){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),o=n(3474);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},7028:function(t,e,n){var r=n(8708),o=n(8705),i=n(2813),a=n(6682),s=n(9667),c=n(163),u=n(4801),l=n(4289),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,m){var b=c(t),v=c(e),x=b?d:s(t),w=v?d:s(e),E=(x=x==f?p:x)==p,O=(w=w==f?p:w)==p,j=x==w;if(j&&u(t)){if(!u(e))return!1;b=!0,E=!1}if(j&&!E)return m||(m=new r),b||l(t)?o(t,e,n,g,y,m):i(t,e,x,n,g,y,m);if(!(1&n)){var k=E&&h.call(t,"__wrapped__"),A=O&&h.call(e,"__wrapped__");if(k||A){var S=k?t.value():t,C=A?e.value():e;return m||(m=new r),y(S,C,n,g,m)}}return!!j&&(m||(m=new r),a(t,e,n,g,y,m))}},9548:function(t,e,n){var r=n(8708),o=n(9070);t.exports=function(t,e,n,i){var a=n.length,s=a,c=!i;if(null==t)return!s;for(t=Object(t);a--;){var u=n[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=n[a])[0],f=t[l],d=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var p=new r;if(i)var h=i(f,d,l,t,e,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),o=n(5223),i=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},7190:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},758:function(t,e,n){var r=n(9548),o=n(597),i=n(6878);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),o=n(9201),i=n(5066),a=n(726),s=n(5385),c=n(6878),u=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,3)}}},8245:function(t,e,n){var r=n(8644),o=n(4432),i=n(3472),a=n(383),s=n(9521),c=n(9110),u=n(9409),l=n(5346),f=n(163);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[l];var d=-1;e=r(e,c(i));var p=a(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++d,value:t}}));return s(p,(function(t,e){return u(t,e,n)}))}},5436:function(t,e,n){var r=n(6371),o=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},6371:function(t,e,n){var r=n(4432),o=n(6539),i=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var u=e[a],l=r(t,u);n(l,u)&&o(c,i(u,t),l)}return c}},1600:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},3301:function(t,e,n){var r=n(4432);t.exports=function(t){return function(e){return r(e,t)}}},7805:function(t){var e=Math.ceil,n=Math.max;t.exports=function(t,r,o,i){for(var a=-1,s=n(e((r-t)/(o||1)),0),c=Array(s);s--;)c[i?s:++a]=t,t+=o;return c}},6317:function(t,e,n){var r=n(5346),o=n(4280),i=n(201);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),o=n(9026),i=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var u=-1,l=(e=o(e,t)).length,f=l-1,d=t;null!=d&&++u<l;){var p=s(e[u]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(u!=f){var g=d[p];void 0===(h=c?c(g,p,d):void 0)&&(h=a(g)?g:i(e[u+1])?[]:{})}r(d,p,h),d=d[p]}return t}},9521:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},6316:function(t,e,n){var r=n(2596),o=n(8644),i=n(163),a=n(1995),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},9110:function(t){t.exports=function(t){return function(e){return t(e)}}},946:function(t,e,n){var r=n(3273),o=n(5510),i=n(9955),a=n(9914),s=n(6602),c=n(6226);t.exports=function(t,e,n){var u=-1,l=o,f=t.length,d=!0,p=[],h=p;if(n)d=!1,l=i;else if(f>=200){var g=e?null:s(t);if(g)return c(g);d=!1,l=a,h=new r}else h=e?[]:p;t:for(;++u<f;){var y=t[u],m=e?e(y):y;if(y=n||0!==y?y:0,d&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),p.push(y)}else l(h,m,n)||(h!==p&&h.push(m),p.push(y))}return p}},9914:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9026:function(t,e,n){var r=n(163),o=n(726),i=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},522:function(t,e,n){var r=n(1995);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t==t,a=r(t),s=void 0!==e,c=null===e,u=e==e,l=r(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||o&&s&&u||!n&&u||!i)return 1;if(!o&&!a&&!l&&t<e||l&&n&&i&&!o&&!a||c&&n&&i||!s&&i||!u)return-1}return 0}},9409:function(t,e,n){var r=n(522);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,s=i.length,c=n.length;++o<s;){var u=r(i[o],a[o]);if(u)return o>=c?u:u*("desc"==n[o]?-1:1)}return t.index-e.index}},5659:function(t,e,n){var r=n(6649),o=n(4508),i=n(3472),a=n(163);t.exports=function(t,e){return function(n,s){var c=a(n)?r:o,u=e?e():{};return c(n,t,i(s,2),u)}}},2507:function(t,e,n){var r=n(7805),o=n(8286),i=n(9139);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?e<n?1:-1:i(a),r(e,n,a,t)}}},6602:function(t){t.exports=function(){}},5525:function(t,e,n){var r=n(3743),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},8705:function(t,e,n){var r=n(3273),o=n(1634),i=n(9914);t.exports=function(t,e,n,a,s,c){var u=1&n,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var d=c.get(t),p=c.get(e);if(d&&p)return d==e&&p==t;var h=-1,g=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<l;){var m=t[h],b=e[h];if(a)var v=u?a(b,m,h,e,t,c):a(m,b,h,t,e,c);if(void 0!==v){if(v)continue;g=!1;break}if(y){if(!o(e,(function(t,e){if(!i(y,e)&&(m===t||s(m,t,n,a,c)))return y.push(e)}))){g=!1;break}}else if(m!==b&&!s(m,b,n,a,c)){g=!1;break}}return c.delete(t),c.delete(e),g}},2813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6682:function(t,e,n){var r=n(8143),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var c=1&n,u=r(t),l=u.length;if(l!=r(e).length&&!c)return!1;for(var f=l;f--;){var d=u[f];if(!(c?d in e:o.call(e,d)))return!1}var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var g=!0;s.set(t,e),s.set(e,t);for(var y=c;++f<l;){var m=t[d=u[f]],b=e[d];if(i)var v=c?i(b,m,d,e,t,s):i(m,b,d,t,e,s);if(!(void 0===v?m===b||a(m,b,n,i,s):v)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(t),s.delete(e),g}},5557:function(t,e,n){var r=n(2645),o=n(4280),i=n(201);t.exports=function(t){return i(o(t,void 0,r),t+"")}},2117:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8143:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},597:function(t,e,n){var r=n(5385),o=n(7747);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},3743:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},9817:function(t,e,n){var r=n(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3096:function(t,e,n){var r=n(9026),o=n(5075),i=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,f=!1;++u<l;){var d=c(e[u]);if(!(f=null!=t&&n(t,d)))break;t=t[d]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(d,l)&&(i(t)||o(t))}},3608:function(t,e,n){var r=n(2596),o=n(5075),i=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},9099:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},8286:function(t){t.exports=function(){return!1}},726:function(t,e,n){var r=n(163),o=n(1995),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,e,n){var r=n(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,e,n){var r=n(3162),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},4859:function(t,e,n){var r=n(3162);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},4073:function(t,e,n){var r=n(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,e,n){var r=n(3162);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},6878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},2453:function(t){t.exports=function(t){return t}},5125:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},4280:function(t,e,n){var r=n(6082),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),c=Array(s);++a<s;)c[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=n(c),r(t,this,u)}}},2373:function(t,e,n){var r=n(2117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,e,n){var r=n(2453),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},3110:function(t,e,n){var r=n(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},1893:function(t,e,n){var r=n(6317),o=n(788),i=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,u=r((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&i(e[0],e[1],u)&&(r=1);++n<r;)for(var l=e[n],f=a(l),d=-1,p=f.length;++d<p;){var h=f[d],g=t[h];(void 0===g||o(g,s[h])&&!c.call(t,h))&&(t[h]=l[h])}return t}));t.exports=u},788:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2645:function(t,e,n){var r=n(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,e,n){var r=n(4432);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},9056:function(t,e,n){var r=n(8347),o=n(5659),i=Object.prototype.hasOwnProperty,a=o((function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},5066:function(t,e,n){var r=n(6776),o=n(3096);t.exports=function(t,e){return null!=t&&o(t,e,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var e=Array.isArray;t.exports=e},981:function(t,e,n){var r=n(9642),o=n(8454);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),o=n(9667),i=n(5075),a=n(163),s=n(981),c=n(4801),u=n(5782),l=n(4289),f=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||l(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(f.call(t,n))return!1;return!0}},9642:function(t,e,n){var r=n(563),o=n(7709);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,e,n){var r=n(563),o=n(9817),i=n(3474),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},7747:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1594:function(t,e,n){var r=n(503);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},1616:function(t,e,n){var r=n(3472),o=n(6051),i=n(4912);t.exports=function(t,e){return i(t,o(r(e)))}},4143:function(t,e,n){var r=n(8245),o=n(163);t.exports=function(t,e,n,i){return null==t?[]:(o(e)||(e=null==e?[]:[e]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},9082:function(t,e,n){var r=n(5436),o=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},4912:function(t,e,n){var r=n(8644),o=n(3472),i=n(6371),a=n(7271);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=o(e),i(t,n,(function(t,n){return e(t,n[0])}))}},8532:function(t,e,n){var r=n(1600),o=n(3301),i=n(726),a=n(3110);t.exports=function(t){return i(t)?r(a(t)):o(t)}},8825:function(t,e,n){var r=n(2507)();t.exports=r},9139:function(t){t.exports=function(t){return t}},7010:function(t,e,n){var r=n(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,e,n){var r=n(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,e,n){var r=n(7010),o=0;t.exports=function(t){var e=++o;return r(t)+e}},7491:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!i(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!i(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(e){"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{VictoryLegend:function(){return Qr}});var t={};r.r(t),r.d(t,{circle:function(){return ht},cross:function(){return xt},diamond:function(){return yt},minus:function(){return wt},plus:function(){return vt},square:function(){return gt},star:function(){return Et},triangleDown:function(){return mt},triangleUp:function(){return bt}});var e={};r.r(e),r.d(e,{easeBack:function(){return Fe},easeBackIn:function(){return De},easeBackInOut:function(){return Fe},easeBackOut:function(){return Te},easeBounce:function(){return Ne},easeBounceIn:function(){return _e},easeBounceInOut:function(){return We},easeBounceOut:function(){return Ne},easeCircle:function(){return Le},easeCircleIn:function(){return Pe},easeCircleInOut:function(){return Le},easeCircleOut:function(){return ze},easeCubic:function(){return be},easeCubicIn:function(){return ye},easeCubicInOut:function(){return be},easeCubicOut:function(){return me},easeElastic:function(){return qe},easeElasticIn:function(){return Re},easeElasticInOut:function(){return Ge},easeElasticOut:function(){return qe},easeExp:function(){return Me},easeExpIn:function(){return Ce},easeExpInOut:function(){return Me},easeExpOut:function(){return $e},easeLinear:function(){return de},easePoly:function(){return we},easePolyIn:function(){return ve},easePolyInOut:function(){return we},easePolyOut:function(){return xe},easeQuad:function(){return ge},easeQuadIn:function(){return pe},easeQuadInOut:function(){return ge},easeQuadOut:function(){return he},easeSin:function(){return Ae},easeSinIn:function(){return je},easeSinInOut:function(){return Ae},easeSinOut:function(){return ke}});var n=r(9787),i=r.n(n),a=r(8825),s=r.n(a),c=r(9056),u=r.n(c),l=r(1893),f=r.n(l);const d=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce(((t,e)=>[t,d(e)].join(" ")),d(t)).trim();if(null==t||"string"==typeof t)return t;const o=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];o.push(`${e}(${n})`)}return o.join(" ").trim()};var p=r(9082),h=r.n(p);function g(t,e){void 0===e&&(e=[]);const n={};for(const r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function y(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:o,_voronoiX:i,_y:a,_y1:s,_y0:c,_voronoiY:u}=t,l=e(r)?r:n,d=e(s)?s:a,p={x:e(i)?i:l,x0:e(o)?o:n,y:e(u)?u:d,y0:e(c)?c:a};return f()({},p,t)}function m(t,e){void 0===e&&(e="padding");const n=t[e],r="number"==typeof n?n:0,o="object"==typeof n?n:{};return{top:o.top||r,bottom:o.bottom||r,left:o.left||r,right:o.right||r}}function b(t,e){return O(t)?t(e):t}function v(t,e){return e.disableInlineStyles?{}:t&&Object.keys(t).some((e=>O(t[e])))?Object.keys(t).reduce(((n,r)=>(n[r]=b(t[r],e),n)),{}):t}function x(t){return"number"==typeof t?t*(Math.PI/180):t}function w(t){const{left:e,right:n,top:r,bottom:o}=m(t),{width:i,height:a}=t;return Math.min(i-e-n,a-r-o)/2}function E(t){return null==t}function O(t){return"function"==typeof t}function j(t,e,n){const r=g(t.theme&&t.theme[n]?t.theme[n]:{},["style"]),o=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const e=t=>t.reduce(((t,n)=>{const r=n.props||{};return t||r.horizontal||!r.children?t||r.horizontal:e(i().Children.toArray(r.children))}),!1);return e(i().Children.toArray(t.children))}(t),a=void 0===o?{}:{horizontal:o};return f()(a,t,r,e)}r(8532);var k=r(1594),A=r.n(k);const S={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},C={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},$={em:1,ex:.5},M={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},P=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),z=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},L=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let o;return o=n?C.hasOwnProperty(n)?r*C[n]:$.hasOwnProperty(n)?(e?r*e:r*M.fontSize)*$[n]:r:r||0,o},I=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=f()({},n,M);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:L(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:L(String(r.fontSize))})},_=(t,e)=>{const n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=((t,e)=>void 0===t||""===t||null===t?0:P(t).reduce(((t,n,r)=>{const o=I(e,r),i=n.toString().match(/[(A-Z)(0-9)]/)?1.15*o.fontSize:o.fontSize;return t+o.lineHeight*i}),0))(t,e),o=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=P(t).map(((t,n)=>{const r=t.toString().length,{fontSize:o,letterSpacing:i,fontFamily:a}=I(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>S[t]))||"Helvetica";return S[e]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,e)=>e+t),0)*o+i*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?z(o,r,n):o,height:1.05*(n?z(r,o,n):r)}},N=A()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const e=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(e),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),e})),W=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",B=A()(((t,e)=>{let n=N();n.isConnected||(N.cache.clear?.(),n=N());const r=P(t);let o=0;for(const[t,i]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=I(e,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=i,r.setAttribute("x","0"),r.setAttribute("y",`${o}`),n.appendChild(r),o+=a.lineHeight*r.getBoundingClientRect().height}const{width:i}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?z(i,o,e?.angle):i,height:e?.angle?z(o,i,e?.angle):o}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(W).join():W(e)}`)),D=(t,e)=>function(t,e,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?_(t,e):B(t,e)}(t,e),T=t=>{const{data:e,style:n}=t;return e.map(((t,r)=>v(f()({},t.labels,n.labels),{datum:t,index:r,data:e})))},F=t=>{const{orientation:e,theme:n}=t,r=function(t,e){void 0===e&&(e={});const n=t.style||{};return{parent:f()(n.parent,e.parent,{height:"100%",width:"100%"}),data:f()({},n.data,e.data),labels:f()({},n.labels,e.labels),border:f()({},n.border,e.border),title:f()({},n.title,e.title)}}(t,n&&n.legend&&n.legend.style?n.legend.style:{}),o=(t=>{const{colorScale:e}=t;return"string"==typeof e?function(t){const e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}(e):e||[]})(t),i="horizontal"===e,a=m({padding:t.borderPadding});return Object.assign({},t,{style:r,isHorizontal:i,colorScale:o,borderPadding:a})},H=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?e%n:Math.floor(e/n):r?e:0},R=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?Math.floor(e/n):e%n:r?0:e},q=t=>{const{data:e}=t,n=t.style&&t.style.data||{},r=T(t);return e.map(((e,o)=>{const i=e.symbol||{},{fontSize:a}=r[o],s=i.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(s,a);return{...e,size:s,symbolSpacer:c,fontSize:a,textSize:D(e.name,r[o]),column:H(t,o),row:R(t,o)}}))},G=(t,e)=>{const n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,o=u()(e,"column");return Object.keys(o).reduce(((t,e,n)=>{const i=o[e].map((t=>t.textSize.width+t.size+t.symbolSpacer+r));return t[n]=Math.max(...i),t}),[])},K=(t,e)=>{const n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,o=u()(e,"row");return Object.keys(o).reduce(((t,e,n)=>{const i=o[e].map((t=>t.textSize.height+t.symbolSpacer+r));return t[n]=Math.max(...i),t}),[])},V=t=>{const e=t.style&&t.style.title||{},n=D(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},U=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,F(n)),{title:o,titleOrientation:i}=r,a=q(r),s=G(r,a),c=K(r,a),u=o?V(r):{height:0,width:0};return{height:"left"===i||"right"===i?Math.max(Z(c),u.height):Z(c)+u.height,width:"left"===i||"right"===i?Z(s)+u.width:Math.max(Z(s),u.width)}},Q=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,F(n)),{data:o,standalone:i,theme:a,padding:c,style:u,colorScale:l,gutter:d,rowGutter:p,borderPadding:h,title:g,titleOrientation:y,name:m,x:b=0,y:v=0}=r,x=q(r),w=G(r,x),O=K(r,x),k=T(r),A=g?V(r):{height:0,width:0},S="left"===y?A.width:0,C="top"===y?A.height:0,$=d&&"object"==typeof d&&d.left||0,M=p&&"object"==typeof p&&p.top||0,{height:P,width:z}=U(r,e),L=((t,e,n)=>{const{x:r,y:o,borderPadding:i,style:a}=t;return{x:r,y:o,height:(e||0)+i.top+i.bottom,width:(n||0)+i.left+i.right,style:Object.assign({fill:"none"},a.border)}})(r,P,z),I=((t,e)=>{const{title:n,titleOrientation:r,centerTitle:o,borderPadding:i}=t,{height:a,width:s}=e,c=(t=>{const{titleOrientation:e,centerTitle:n,titleComponent:r}=t,o=t.style&&t.style.title||{},i=r.props&&r.props.style||{},a=((t,e)=>{const n={textAnchor:"right"===t?"end":"start",verticalAnchor:"bottom"===t?"end":"start"};if(e){const e="top"===t||"bottom"===t;return{textAnchor:e?"middle":n.textAnchor,verticalAnchor:e?n.verticalAnchor:"middle"}}return n})(e,n);return Array.isArray(i)?i.map((t=>f()({},t,o,a))):f()({},i,o,a)})(t),u=Array.isArray(c)?c[0].padding:c.padding,l="top"===r||"bottom"===r,d="right"===r?"right":"left",p={x:o?s/2:i["bottom"===r?"bottom":"top"]+(u||0),y:o?a/2:i[d]+(u||0)},h=()=>i[r]+(u||0),g=l?p.x:h(),y=l?h():p.y;return{x:"right"===r?t.x+s-g:t.x+g,y:"bottom"===r?t.y+a-y:t.y+y,style:c,text:n}})(r,L),_={parent:{data:o,standalone:i,theme:a,padding:c,name:m,height:r.height,width:r.width,style:u.parent},all:{border:L,title:I}};return x.reduce(((t,e,n)=>{const r=l[n%l.length],i=f()({},e.symbol,u.data,{fill:r}),a=E(e.eventKey)?n:e.eventKey,c=((t,e,n)=>{const{column:r,row:o}=t;return{x:s()(r).reduce(((t,e)=>t+n[e]),0),y:s()(o).reduce(((t,n)=>t+e[n]),0)}})(e,O,w),d=v+h.top+e.symbolSpacer,p=b+h.left+e.symbolSpacer,g={index:n,data:o,datum:e,symbol:i.type||i.symbol||"circle",size:e.size,style:i,y:d+c.y+C+M,x:p+c.x+S+$},y={datum:e,data:o,text:e.name,style:k[n],y:g.y,x:g.x+e.symbolSpacer+e.size/2};return t[a]={data:g,labels:y},t}),_)};function Z(t){if(t&&t.length){let e=0;for(let n=0;n<t.length;n++)e+=t[n];return e}return 0}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Y.apply(this,arguments)}const X=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:a,...s}=t,c={vectorEffect:"non-scaling-stroke",id:b(r,t)?.toString(),tabIndex:b(o,t),...s};return n?i().createElement("rect",Y({},c,{ref:e}),i().createElement("desc",null,n)):i().createElement("rect",Y({},c,{ref:e}))})),J={rectComponent:i().createElement(X,null),role:"presentation",shapeRendering:"auto"},tt=t=>{const e=(t=>{const e=b(t.ariaLabel,t),n=b(t.desc,t),r=b(t.id,t),o=v(Object.assign({fill:"none"},t.style),t),i=b(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:o,tabIndex:i})})(f()({},t,J));return i().cloneElement(e.rectComponent,{...e.events,"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,transform:e.transform,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,width:e.width,height:e.height,clipPath:e.clipPath})};var et=r(660),nt=r.n(et);function rt(){return rt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},rt.apply(this,arguments)}const ot=i().forwardRef(((t,e)=>i().createElement("svg",rt({ref:e},t)))),it={startsWith:["data-","aria-"],exactMatch:[]},at=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return it.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>it.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,b(r,t)]})))},st=i().createContext(void 0);st.displayName="PortalContext";const ct=()=>i().useContext(st),ut=t=>{let{children:e}=t;const[n,r]=i().useState(new Map),o=i().useCallback(((t,e)=>{r((n=>{const r=new Map(n);return r.set(t,e),r}))}),[r]),a=i().useCallback((t=>{r((e=>{const n=new Map(e);return n.delete(t),n}))}),[r]),s=i().useMemo((()=>({addChild:o,removeChild:a,children:n})),[o,a,n]);return i().createElement(st.Provider,{value:s},e)},lt=t=>{let{as:e,...n}=t;const r=ct();if(!r)return null;const o=Array.from(r.children.values());return i().cloneElement(e,n,o)};function ft(){return ft=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ft.apply(this,arguments)}const dt={className:"VictoryContainer",portalComponent:i().createElement(ot,null),portalZIndex:99,responsive:!0,role:"img"},pt=t=>{const{role:e,title:r,desc:o,children:a,className:s,portalZIndex:c,portalComponent:u,width:l,height:f,style:d,tabIndex:p,responsive:h,events:g,ouiaId:y,ouiaSafe:m,ouiaType:b,dimensions:v,ariaDescribedBy:x,ariaLabelledBy:w,viewBox:E,preserveAspectRatio:j,userProps:k,titleId:A,descId:S,containerRef:C,localContainerRef:$}=function(t){const e={...dt,...t},{title:r,desc:o,width:i,height:a,responsive:s}=e,c=(0,n.useRef)(null),u=(0,n.useRef)(nt()("victory-container-")),l=e.containerId??u.current,f=t=>`${l}-${t}`,d=at(e),p=s?{width:"100%",height:"100%"}:{width:i,height:a},h=s?`0 0 ${i} ${a}`:void 0,g=s?e.preserveAspectRatio:void 0,y=[r&&f("title"),e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,m=[o&&f("desc"),e["aria-describedby"]].filter(Boolean).join(" ")||void 0,b=f("title"),v=f("desc");return{...e,titleId:b,descId:v,dimensions:p,viewBox:h,preserveAspectRatio:g,ariaLabelledBy:y,ariaDescribedBy:m,userProps:d,localContainerRef:c}}(t);return i().useEffect((()=>{if(!g?.onWheel)return;const t=t=>t.preventDefault(),e=$?.current;return e?.addEventListener("wheel",t),()=>{e?.removeEventListener("wheel",t)}}),[]),i().createElement("div",{className:s,style:{...d,width:h?d?.width:v.width,height:h?d?.height:v.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":y,"data-ouia-component-type":b,"data-ouia-safe":m,ref:(M=[$,C],t=>{M.forEach((e=>{O(e)?e(t):null!=e&&(e.current=t)}))})},i().createElement(ut,null,i().createElement("svg",ft({width:l,height:f,tabIndex:p,role:e,"aria-labelledby":w,"aria-describedby":x,viewBox:E,preserveAspectRatio:j,style:{...v,pointerEvents:"all"}},k,g),r?i().createElement("title",{id:A},r):null,o?i().createElement("desc",{id:S},o):null,a),i().createElement("div",{style:{...v,zIndex:c,position:"absolute",top:0,left:0}},i().createElement(lt,{as:u,width:l,height:f,viewBox:E,preserveAspectRatio:j,style:{...v,overflow:"visible"}}))));var M};function ht(t,e,n){return`M ${t}, ${e}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`}function gt(t,e,n){const r=.87*n,o=t-r,i=t+r-o;return`M ${o}, ${e+r}\n h${i}\n v-${i}\n h-${i}\n z`}function yt(t,e,n){const r=.87*n,o=Math.sqrt(r*r*2);return`M ${t}, ${e+o}\n l ${o}, -${o}\n l -${o}, -${o}\n l -${o}, ${o}\n l ${o}, ${o}\n z`}function mt(t,e,n){const r=e-n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e+n/2*Math.sqrt(3)}\n z`}function bt(t,e,n){const r=e+n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e-n/2*Math.sqrt(3)}\n z`}function vt(t,e,n){const r=1.1*n,o=r/1.5;return`\n M ${t-o/2}, ${e+r}\n v-${o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${o}\n z`}function xt(t,e,n){const r=.8*n,o=r/1.5;return`\n M ${t-o/2}, ${e+r+o}\n v-${2*o}\n h-${o}\n v-${o}\n h${o}\n v-${o}\n h${o}\n v${o}\n h${o}\n v${o}\n h-${o}\n v${2*o}\n z`}function wt(t,e,n){const r=1.1*n,o=r-.3*r,i=t-r,a=t+r-i;return`M ${i}, ${e+o/2}\n h${a}\n v-${o}\n h-${a}\n z`}function Et(t,e,n){const r=1.35*n,o=Math.PI/5;return`M ${function(t,e,n){let r=10;r||(r=0);const o=r-0,i=Math.abs(o),a=o/i||1,s=Math.max(Math.ceil(i/1),0);return Array.from(Array(s),((t,e)=>0+e*a*1))}().map((n=>{const i=n%2==0?r:r/2;return`${i*Math.sin(o*(n+1))+t},\n ${i*Math.cos(o*(n+1))+e}`})).join("L")} z`}function Ot(){return Ot=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ot.apply(this,arguments)}pt.role="container";const jt=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:o,origin:a,...s}=t,c={id:b(r,t)?.toString(),tabIndex:b(o,t),...s};return n?i().createElement("path",Ot({},c,{ref:e}),i().createElement("desc",null,n)):i().createElement("path",Ot({},c,{ref:e}))})),kt=e=>{const{x:n,y:r,size:o,symbol:i}=e;return e.getPath?e.getPath(n,r,o):("function"==typeof t[i]?t[i]:t.circle)(n,r,o)},At={pathComponent:i().createElement(jt,null),role:"presentation",shapeRendering:"auto"},St=t=>{const e=(t=>{const e=b(t.ariaLabel,t),n=b(t.desc,t),r=b(t.id,t),o=b(t.size,t),i=v(t.style,t),a=b(t.symbol,t),s=b(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,size:o,style:i,symbol:a,tabIndex:s})})(f()({},t,At)),n=at(e);return i().cloneElement(e.pathComponent,{...e.events,"aria-label":e.ariaLabel,d:kt(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,role:e.role,shapeRendering:e.shapeRendering,className:e.className,transform:e.transform,clipPath:e.clipPath,...n})};var Ct=r(4155),$t=r.n(Ct);const Mt={groupComponent:i().createElement("g",null)},Pt=t=>{const e={...Mt,...t},n=i().useId(),r=ct(),o=Array.isArray(e.children)?e.children[0]:e.children,{groupComponent:a}=e,s=o&&o.props||{},c=s.groupComponent?{groupComponent:a,standalone:!1}:{},u=f()(c,s,g(e,["children","groupComponent"]),{key:s.key??n}),l=o&&i().cloneElement(o,u);return i().useEffect((()=>{r?.addChild(n,l)}),[e.children]),i().useEffect((()=>()=>r?.removeChild(n)),[]),r?null:l};Pt.role="portal";const zt=t=>{const{children:e,desc:n,id:r,origin:o,tabIndex:a,title:s,...c}=t,u={id:b(r,t)?.toString(),tabIndex:b(a,t),...c};return i().createElement("text",u,s&&i().createElement("title",null,s),n&&i().createElement("desc",null,n),e)},Lt=t=>{const{desc:e,id:n,tabIndex:r,origin:o,...a}=t,s={id:b(n,t)?.toString(),tabIndex:b(r,t),...a};return i().createElement("tspan",s)};const It={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},_t=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:o}=t,i=y(e),a=t.origin||{x:0,y:0},s=o?n.y(i.y):n.x(i.x),c=o?n.y(i.y0):n.x(i.x0),u=o?n.x(i.x):n.y(i.y),l=o?n.x(i.x0):n.y(i.y0);return{x:r?u*Math.cos(s)+a.x:s,x0:r?l*Math.cos(c)+a.x:c,y:r?-u*Math.sin(s)+a.y:u,y0:r?-l*Math.sin(c)+a.x:l}}(t,t.datum);return n[e]},Nt=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return It.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?It.fontSize:t}return It.fontSize},Wt=function(t,e){return void 0===e&&(e=0),Array.isArray(t)?t[e]||t[0]:t},Bt=t=>{const{backgroundStyle:e,backgroundPadding:n}=t;return Array.isArray(e)&&!$t()(e)||Array.isArray(n)&&!$t()(n)},Dt=(t,e,n)=>{const{polar:r}=t,o=Wt(t.style),i=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const o=function(t,e){const{x:n}=y(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let i=0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)}(t):0,a=void 0===o.angle?b(t.angle,t):o.angle,s=void 0===a?i:a,c=t.transform||o.transform,u=c&&b(c,t);return u||s?d(u,s&&{rotate:[s,e,n]}):void 0},Tt=(t,e)=>{const{direction:n,textAnchor:r,x:o,dx:i}=t;if("rtl"===n)return o-e;switch(r){case"middle":return Math.round(o-e/2);case"end":return Math.round(o-e);default:return o+(i||0)}},Ft=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:o=0}=t,i=r+o;switch(n){case"start":return Math.floor(i);case"end":return Math.ceil(i-e);default:return Math.floor(i-e/2)}},Ht=(t,e)=>Bt(t)?((t,e)=>{const{dy:n,dx:r,transform:o,backgroundStyle:a,backgroundPadding:s,backgroundComponent:c,inline:u,y:l}=t,d=e.map(((t,o)=>{const i=Wt(e,o-1),a=t.textSize,c=t.fontSize*t.lineHeight,f=Math.ceil(c),d=Wt(s,o),p=Wt(s,o-1),h=u&&r||0,g=o&&!u?i.fontSize*i.lineHeight+p.top+p.bottom:n-.5*c-(t.fontSize-t.capHeight);return{textHeight:f,labelSize:a,heightWithPadding:f+d.top+d.bottom,widthWithPadding:a.width+d.left+d.right+h,y:l,fontSize:t.fontSize,dy:g}}));return d.map(((e,n)=>{const r=Tt(t,e.labelSize.width),p=d.slice(0,n+1).reduce(((t,e)=>t+e.dy),l),h=Wt(s,n),g=e.heightWithPadding,y=u?((t,e,n)=>{const{textAnchor:r}=t,o=e.map((t=>t.widthWithPadding)),i=-o.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return o.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return o.reduce(((t,e,r)=>r>n?t-e:t),0);default:return o.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),i)}})(t,d,n)+r-h.left:r,m=u?Ft(t,g)-h.top:p,b={key:`tspan-background-${n}`,height:g,style:Wt(a,n),width:e.widthWithPadding,transform:o,x:y-h.left,y:m};return i().cloneElement(c,f()({},c.props,b))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:o,backgroundStyle:a,inline:s,backgroundPadding:c,capHeight:u}=t,l=e.map((t=>t.textSize)),d=s?Math.max(...l.map((t=>t.height))):l.reduce(((t,n,r)=>{const o=r?0:u/2;return t+n.height*(e[r].lineHeight-o)}),0),p=s?l.reduce(((t,e,r)=>{const o=r?n:0;return t+e.width+o}),0):Math.max(...l.map((t=>t.width))),h=Tt(t,p),g=Ft(t,d),y={key:"background",height:d+c.top+c.bottom,style:a,transform:r,width:p+c.left+c.right,x:s?h-c.left:h+n-c.left,y:g};return i().cloneElement(o,f()({},o.props,y))})(t,e),Rt=(t,e,n)=>{const{inline:r}=e,o=Wt(t,n);return n&&!r?((t,e,n)=>{const r=Wt(t,e),o=Wt(t,e-1),i=o.fontSize*o.lineHeight,a=r.fontSize*r.lineHeight,s=o.fontSize-o.capHeight,c=r.fontSize-r.capHeight,u=i-o.fontSize/2+r.fontSize/2-i/2+a/2-c/2+s/2;return Bt(n)?u+r.backgroundPadding.top+o.backgroundPadding.bottom:u})(t,n,e):r?0===n?o.backgroundPadding.top:void 0:o.backgroundPadding.top},qt={backgroundComponent:i().createElement(X,null),groupComponent:i().createElement("g",null),direction:"inherit",textComponent:i().createElement(zt,null),tspanComponent:i().createElement(Lt,null),capHeight:.71,lineHeight:1},Gt=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>b(t,e)));const n=b(t,e);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(t.text,t),n=((t,e)=>{if(e.disableInlineStyles){const n=v(t,e);return{fontSize:Nt(n)}}const n=t=>{const n=v(t?f()({},t,It):It,e);return Object.assign({},n,{fontSize:Nt(n)})};return Array.isArray(t)&&!$t()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!$t()(t)?t.map((t=>v(t,e))):v(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),o=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>m({padding:b(e,t)}))):m({padding:b(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),i=b(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:o,style:n,text:e,id:i})})(f()({},t,qt));if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=b(t.ariaLabel,t),n=Wt(t.style),r=(t=>{const e=b(t.lineHeight,t);return Array.isArray(e)&&$t()(e)?[1]:e})(t),o=t.direction?b(t.direction,t):"inherit",i=t.textAnchor?b(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?b(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?b(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?b(t.dy,t):0,o=t.inline?1:t.text.length,i=b(t.capHeight,t),a=e?b(e,t):"middle",s=[...Array(o).keys()].map((e=>Wt(t.style,e).fontSize)),c=[...Array(o).keys()].map((t=>Wt(n,t)));if("start"===a)return r+(i/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(i/2-c[0]/2)*s[0]:r+i/2*s[0];if(1===o)return"end"===a?r+(i/2+(.5-o)*c[0])*s[0]:r+(i/2+(.5-o/2)*c[0])*s[0];const u=[...Array(o).keys()].reduce(((t,e)=>t+(i/2+(.5-o)*c[e])*s[e]/o),0);return"end"===a?r+u:r+u/2+i/2*c[o-1]*s[o-1]})(t,a,r),u=void 0!==t.x?t.x:_t(t,"x"),l=void 0!==t.y?t.y:_t(t,"y"),f=Dt(t,u,l);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:o,textAnchor:i,verticalAnchor:a,dx:s,dy:c,originalDy:b(t.dy,t),transform:f,x:u,y:l})})(e),{text:r,style:o,capHeight:a,backgroundPadding:s,lineHeight:c}=n,u=r.map(((t,e)=>{const n=Wt(o,e),r=L(`${a}em`,n.fontSize),i=Wt(c,e);return{style:n,fontSize:n.fontSize||It.fontSize,capHeight:r,text:t,textSize:D(t,n),lineHeight:i,backgroundPadding:Wt(s,e)}})),l=((t,e)=>{const{ariaLabel:n,inline:r,className:o,title:a,events:s,direction:c,text:u,textAnchor:l,dx:f,dy:d,transform:p,x:h,y:g,desc:y,id:m,tabIndex:v,tspanComponent:x,textComponent:w}=t,E=at(t),O={"aria-label":n,key:"text",...s,direction:c,dx:f,x:h,y:g+d,transform:p,className:o,title:a,desc:b(y,t),tabIndex:b(v,t),id:m,...E},j=u.map(((n,o)=>{const a=e[o].style,s={key:`${m}-key-${o}`,x:r?void 0:h,dx:r?f+e[o].backgroundPadding.left:f,dy:Rt(e,t,o),textAnchor:a.textAnchor||l,style:a,children:n};return i().cloneElement(x,s)}));return i().cloneElement(w,O,j)})(n,u);if(e.backgroundStyle){const t=[Ht(n,u),l],r=i().cloneElement(e.groupComponent,{},t);return e.renderInPortal?i().createElement(Pt,null,r):r}return e.renderInPortal?i().createElement(Pt,null,l):l};Gt.displayName="VictoryLabel",Gt.role="label",Gt.defaultStyles=It;const Kt=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Vt="#252525",Ut="#969696",Qt={width:450,height:300,padding:50,colorScale:Kt},Zt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Vt,stroke:"transparent"},Yt=Object.assign({textAnchor:"middle"},Zt),Xt={area:Object.assign({style:{data:{fill:Vt},labels:Zt}},Qt),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Vt,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Yt,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Zt}},Qt),bar:Object.assign({style:{data:{fill:Vt,padding:8,strokeWidth:0},labels:Zt}},Qt),boxplot:Object.assign({style:{max:{padding:8,stroke:Vt,strokeWidth:1},maxLabels:Object.assign({},Zt,{padding:3}),median:{padding:8,stroke:Vt,strokeWidth:1},medianLabels:Object.assign({},Zt,{padding:3}),min:{padding:8,stroke:Vt,strokeWidth:1},minLabels:Object.assign({},Zt,{padding:3}),q1:{padding:8,fill:Ut},q1Labels:Object.assign({},Zt,{padding:3}),q3:{padding:8,fill:Ut},q3Labels:Object.assign({},Zt,{padding:3})},boxWidth:20},Qt),candlestick:Object.assign({style:{data:{stroke:Vt,strokeWidth:1},labels:Object.assign({},Zt,{padding:5})},candleColors:{positive:"#ffffff",negative:Vt}},Qt),chart:Qt,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:Vt,strokeWidth:2},labels:Zt}},Qt),group:Object.assign({colorScale:Kt},Qt),histogram:Object.assign({style:{data:{fill:Ut,stroke:Vt,strokeWidth:2},labels:Zt}},Qt),legend:{colorScale:Kt,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Zt,title:Object.assign({},Zt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:Vt,strokeWidth:2},labels:Zt}},Qt),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Zt,{padding:20})},colorScale:Kt,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:Vt,stroke:"transparent",strokeWidth:0},labels:Zt}},Qt),stack:Object.assign({colorScale:Kt},Qt),tooltip:{style:Object.assign({},Zt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Vt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Zt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Vt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Qt)},Jt=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],te="#ECEFF1",ee="#90A4AE",ne="#455A64",re="#212121",oe={width:350,height:350,padding:50},ie={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ne,stroke:"transparent",strokeWidth:0},ae=Object.assign({textAnchor:"middle"},ie),se="round",ce="round",ue=(Object.assign({style:{data:{fill:re},labels:ie}},oe),Object.assign({style:{axis:{fill:"transparent",stroke:ee,strokeWidth:2,strokeLinecap:se,strokeLinejoin:ce},axisLabel:Object.assign({},ae,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:te,strokeDasharray:"10, 5",strokeLinecap:se,strokeLinejoin:ce,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:ee,strokeWidth:1,strokeLinecap:se,strokeLinejoin:ce},tickLabels:Object.assign({},ie,{fill:ne})}},oe),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:ne,padding:8,strokeWidth:0},labels:ie}},oe),Object.assign({style:{max:{padding:8,stroke:ne,strokeWidth:1},maxLabels:Object.assign({},ie,{padding:3}),median:{padding:8,stroke:ne,strokeWidth:1},medianLabels:Object.assign({},ie,{padding:3}),min:{padding:8,stroke:ne,strokeWidth:1},minLabels:Object.assign({},ie,{padding:3}),q1:{padding:8,fill:ne},q1Labels:Object.assign({},ie,{padding:3}),q3:{padding:8,fill:ne},q3Labels:Object.assign({},ie,{padding:3})},boxWidth:20},oe),Object.assign({style:{data:{stroke:ne},labels:Object.assign({},ie,{padding:5})},candleColors:{positive:"#ffffff",negative:ne}},oe),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ne,strokeWidth:2},labels:ie}},oe),Object.assign({colorScale:Jt},oe),Object.assign({style:{data:{fill:ne,stroke:re,strokeWidth:2},labels:ie}},oe),Object.assign({},ie,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ne,strokeWidth:2},labels:ie}},oe),Object.assign({colorScale:Jt,style:{data:{padding:8,stroke:te,strokeWidth:1},labels:Object.assign({},ie,{padding:20})}},oe),Object.assign({style:{data:{fill:ne,opacity:1,stroke:"transparent",strokeWidth:0},labels:ie}},oe),Object.assign({colorScale:Jt},oe),Object.assign({},ie,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},ie,{padding:5,pointerEvents:"none"}),flyout:{stroke:re,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},oe),Xt);var le=r(7491),fe=r.n(le);const de=t=>+t;function pe(t){return t*t}function he(t){return t*(2-t)}function ge(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function ye(t){return t*t*t}function me(t){return--t*t*t+1}function be(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var ve=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),xe=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),we=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Ee=Math.PI,Oe=Ee/2;function je(t){return 1==+t?1:1-Math.cos(t*Oe)}function ke(t){return Math.sin(t*Oe)}function Ae(t){return(1-Math.cos(Ee*t))/2}function Se(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Ce(t){return Se(1-+t)}function $e(t){return 1-Se(t)}function Me(t){return((t*=2)<=1?Se(1-t):2-Se(t-1))/2}function Pe(t){return 1-Math.sqrt(1-t*t)}function ze(t){return Math.sqrt(1- --t*t)}function Le(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Ie=7.5625;function _e(t){return 1-Ne(1-t)}function Ne(t){return(t=+t)<.36363636363636365?Ie*t*t:t<.7272727272727273?Ie*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Ie*(t-=.8181818181818182)*t+.9375:Ie*(t-=.9545454545454546)*t+.984375}function We(t){return((t*=2)<=1?1-Ne(1-t):Ne(t-1)+1)/2}var Be=1.70158,De=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(Be),Te=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(Be),Fe=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(Be),He=2*Math.PI,Re=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=He);function o(t){return e*Se(- --t)*Math.sin((r-t)/n)}return o.amplitude=function(e){return t(e,n*He)},o.period=function(n){return t(e,n)},o}(1,.3),qe=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=He);function o(t){return 1-e*Se(t=+t)*Math.sin((t+r)/n)}return o.amplitude=function(e){return t(e,n*He)},o.period=function(n){return t(e,n)},o}(1,.3),Ge=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=He);function o(t){return((t=2*t-1)<0?e*Se(-t)*Math.sin((r-t)/n):2-e*Se(t)*Math.sin((r+t)/n))/2}return o.amplitude=function(e){return t(e,n*He)},o.period=function(n){return t(e,n)},o}(1,.3),Ke=r(4143),Ve=r.n(Ke),Ue=r(3849),Qe=r.n(Ue);function Ze(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ye(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Xe(){}var Je=.7,tn=1/Je,en="\\s*([+-]?\\d+)\\s*",nn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",rn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",on=/^#([0-9a-f]{3,8})$/,an=new RegExp(`^rgb\\(${en},${en},${en}\\)$`),sn=new RegExp(`^rgb\\(${rn},${rn},${rn}\\)$`),cn=new RegExp(`^rgba\\(${en},${en},${en},${nn}\\)$`),un=new RegExp(`^rgba\\(${rn},${rn},${rn},${nn}\\)$`),ln=new RegExp(`^hsl\\(${nn},${rn},${rn}\\)$`),fn=new RegExp(`^hsla\\(${nn},${rn},${rn},${nn}\\)$`),dn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function pn(){return this.rgb().formatHex()}function hn(){return this.rgb().formatRgb()}function gn(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=on.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?yn(e):3===n?new xn(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?mn(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?mn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=an.exec(t))?new xn(e[1],e[2],e[3],1):(e=sn.exec(t))?new xn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=cn.exec(t))?mn(e[1],e[2],e[3],e[4]):(e=un.exec(t))?mn(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ln.exec(t))?An(e[1],e[2]/100,e[3]/100,1):(e=fn.exec(t))?An(e[1],e[2]/100,e[3]/100,e[4]):dn.hasOwnProperty(t)?yn(dn[t]):"transparent"===t?new xn(NaN,NaN,NaN,0):null}function yn(t){return new xn(t>>16&255,t>>8&255,255&t,1)}function mn(t,e,n,r){return r<=0&&(t=e=n=NaN),new xn(t,e,n,r)}function bn(t){return t instanceof Xe||(t=gn(t)),t?new xn((t=t.rgb()).r,t.g,t.b,t.opacity):new xn}function vn(t,e,n,r){return 1===arguments.length?bn(t):new xn(t,e,n,null==r?1:r)}function xn(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function wn(){return`#${kn(this.r)}${kn(this.g)}${kn(this.b)}`}function En(){const t=On(this.opacity);return`${1===t?"rgb(":"rgba("}${jn(this.r)}, ${jn(this.g)}, ${jn(this.b)}${1===t?")":`, ${t})`}`}function On(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function jn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function kn(t){return((t=jn(t))<16?"0":"")+t.toString(16)}function An(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Cn(t,e,n,r)}function Sn(t){if(t instanceof Cn)return new Cn(t.h,t.s,t.l,t.opacity);if(t instanceof Xe||(t=gn(t)),!t)return new Cn;if(t instanceof Cn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,s=i-o,c=(i+o)/2;return s?(a=e===i?(n-r)/s+6*(n<r):n===i?(r-e)/s+2:(e-n)/s+4,s/=c<.5?i+o:2-i-o,a*=60):s=c>0&&c<1?0:a,new Cn(a,s,c,t.opacity)}function Cn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function $n(t){return(t=(t||0)%360)<0?t+360:t}function Mn(t){return Math.max(0,Math.min(1,t||0))}function Pn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function zn(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}Ze(Xe,gn,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:pn,formatHex:pn,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Sn(this).formatHsl()},formatRgb:hn,toString:hn}),Ze(xn,vn,Ye(Xe,{brighter(t){return t=null==t?tn:Math.pow(tn,t),new xn(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Je:Math.pow(Je,t),new xn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new xn(jn(this.r),jn(this.g),jn(this.b),On(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:wn,formatHex:wn,formatHex8:function(){return`#${kn(this.r)}${kn(this.g)}${kn(this.b)}${kn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:En,toString:En})),Ze(Cn,(function(t,e,n,r){return 1===arguments.length?Sn(t):new Cn(t,e,n,null==r?1:r)}),Ye(Xe,{brighter(t){return t=null==t?tn:Math.pow(tn,t),new Cn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Je:Math.pow(Je,t),new Cn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new xn(Pn(t>=240?t-240:t+120,o,r),Pn(t,o,r),Pn(t<120?t+240:t-120,o,r),this.opacity)},clamp(){return new Cn($n(this.h),Mn(this.s),Mn(this.l),On(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=On(this.opacity);return`${1===t?"hsl(":"hsla("}${$n(this.h)}, ${100*Mn(this.s)}%, ${100*Mn(this.l)}%${1===t?")":`, ${t})`}`}}));var Ln=t=>()=>t;function In(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Ln(isNaN(t)?e:t)}var _n=function t(e){var n=function(t){return 1==(t=+t)?In:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ln(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=vn(t)).r,(e=vn(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=In(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Nn(t){return function(e){var n,r,o=e.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=vn(e[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=t(i),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=s(t),r+""}}}function Wn(t,e){var n,r=e?e.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=Gn(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=i[n](t);return a}}function Bn(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Dn(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Tn(t,e){var n,r={},o={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Gn(t[n],e[n]):o[n]=e[n];return function(t){for(n in r)o[n]=r[n](t);return o}}Nn((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,s=r<e-1?t[r+2]:2*i-o;return zn((n-r/e)*e,a,o,i,s)}})),Nn((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],i=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return zn((n-r/e)*e,o,i,a,s)}}));var Fn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Hn=new RegExp(Fn.source,"g");function Rn(t,e){var n,r,o,i=Fn.lastIndex=Hn.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=Fn.exec(t))&&(r=Hn.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Dn(n,r)})),i=Hn.lastIndex;return i<e.length&&(o=e.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function qn(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(n=0;n<r;++n)o[n]=t[n]*(1-i)+e[n]*i;return o}}function Gn(t,e){var n,r,o=typeof e;return null==e||"boolean"===o?Ln(e):("number"===o?Dn:"string"===o?(n=gn(e))?(e=n,_n):Rn:e instanceof gn?_n:e instanceof Date?Bn:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Wn:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Tn:Dn:qn))(t,e)}const Kn=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||Qe()(t)}return!1},Vn=function(t,e,n){return void 0===n&&(n=0),function(r){return r<n?t:e}},Un=function(t,e){return function(n){return n>=1?e:function(){const r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof e?e.apply(this,arguments):e;return Gn(r,o)(n)}}},Qn=function(t,e){const n=t=>Array.isArray(t)?Ve()(t,"key"):t,r={},o={};let i,a=t,s=e;for(i in null!==a&&"object"==typeof a||(a={}),null!==s&&"object"==typeof s||(s={}),s)i in a?r[i]=(c=n(a[i]))!==(u=n(s[i]))&&Kn(c)&&Kn(u)?"function"==typeof c||"function"==typeof u?Un(c,u):"object"==typeof c&&Qe()(c)||"object"==typeof u&&Qe()(u)?Qn(c,u):Gn(c,u):Vn(c,u):o[i]=s[i];var c,u;return function(t){for(i in r)o[i]=r[i](t);return o}};var Zn,Yn,Xn=0,Jn=0,tr=0,er=0,nr=0,rr=0,or="object"==typeof performance&&performance.now?performance:Date,ir="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ar(){return nr||(ir(sr),nr=or.now()+rr)}function sr(){nr=0}function cr(){this._call=this._time=this._next=null}function ur(t,e,n){var r=new cr;return r.restart(t,e,n),r}function lr(){nr=(er=or.now())+rr,Xn=Jn=0;try{!function(){ar(),++Xn;for(var t,e=Zn;e;)(t=nr-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Xn}()}finally{Xn=0,function(){for(var t,e,n=Zn,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Zn=e);Yn=t,dr(r)}(),nr=0}}function fr(){var t=or.now(),e=t-er;e>1e3&&(rr-=e,er=t)}function dr(t){Xn||(Jn&&(Jn=clearTimeout(Jn)),t-nr>24?(t<1/0&&(Jn=setTimeout(lr,t-or.now()-rr)),tr&&(tr=clearInterval(tr))):(tr||(er=or.now(),tr=setInterval(fr,1e3)),Xn=1,ir(lr)))}cr.prototype=ur.prototype={constructor:cr,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?ar():+n)+(null==e?0:+e),this._next||Yn===this||(Yn?Yn._next=this:Zn=this,Yn=this),this._call=t,this._time=n,dr()},stop:function(){this._call&&(this._call=null,this._time=1/0,dr())}};class pr{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(ar()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=ur(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:ar(),callback:t,duration:this.shouldAnimate?e:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const hr=i().createContext({transitionTimer:new pr,animationTimer:new pr});hr.displayName="TimerContext";var gr=hr;const yr=1e3,mr=t=>{let{duration:n=yr,easing:r="quadInOut",delay:o=0,data:a,children:s,onEnd:c}=t;const[u,l]=i().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),f=i().useContext(gr).animationTimer,d=i().useRef(Array.isArray(a)?a.slice(1):[]),p=i().useRef(null),h=i().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;i().useEffect((()=>(d.current.length&&m(),()=>{h.current?f.unsubscribe(h.current):f.stop()})),[]),i().useEffect((()=>{p.current&&u.animationInfo&&u.animationInfo.progress<1?l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(f.unsubscribe(h.current),d.current=Array.isArray(a)?a:[a],m())}),[a]);const m=()=>{if(d.current.length){const r=d.current[0];p.current=(t=u.data)!==(e=r)&&Kn(t)&&Kn(e)?"function"==typeof t||"function"==typeof e?Un(t,e):Qe()(t)||Qe()(e)?Qn(t,e):"string"==typeof t||"string"==typeof e?function(t,e){const n=t=>"string"==typeof t?t.replace(/,/g,""):t;return Gn(n(t),n(e))}(t,e):Gn(t,e):Vn(t,e),o?setTimeout((()=>{h.current=f.subscribe(b,n)}),o):h.current=f.subscribe(b,n)}else c&&c();var t,e},b=t=>{if(!p.current)return;const e=n?t/n:1;if(e>=1)return l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),h.current&&f.unsubscribe(h.current),d.current.shift(),void m();l({data:p.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(u.data,u.animationInfo)};function br(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function vr(t,e){return t&&e?t.filter((t=>!e.includes(t))):[]}function xr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=t.concat(n);return br(o)?new Date(Math.max(...o)):Math.max(...o)}function wr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=t.concat(n);return br(o)?new Date(Math.min(...o)):Math.min(...o)}var Er=r(5346),Or=r.n(Er);function jr(t,e){return(t.key||e).toString()}function kr(t){return t.reduce(((t,e,n)=>(t[jr(e,n)]=e,t)),{})}function Ar(t,e){let n=!1;const r=Object.keys(t).reduce(((t,r)=>(r in e||(n=!0,t[r]=!0),t)),{});return n&&r}function Sr(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Cr(t,e){let n=!1,r=!1;const o=(t,e)=>t.map(((a,s)=>a&&a.props&&a.props.children&&e[s]?o(i().Children.toArray(t[s].props.children),i().Children.toArray(e[s].props.children)):((t,e)=>{if(!e||t.type!==e.type)return{};const{entering:o,exiting:i}=function(t,e){const n=t&&kr(t),r=e&&kr(e);return{entering:n&&Ar(r,n),exiting:r&&Ar(n,r)}}(Sr(t),Sr(e))||{};return n=n||!!i,r=r||!!o,{entering:o||!1,exiting:i||!1}})(a,e[s]))),a=o(i().Children.toArray(t),i().Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function $r(t,e,n){const r=e&&e.nodesWillExit,o=e&&e.nodesWillEnter,i=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,s=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],u={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,e,r)=>a?function(t,e,r){const o=Object.assign({},t,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let i=e;if(o&&o.onLoad&&!o.onLoad.duration)return{animate:t,data:e};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:Or();return i=e.map(((t,n)=>Object.assign({},t,a(t,n,e)))),{animate:o,data:i}}(r,e):function(t,e,r,o){const i=Object.assign({},t,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(i&&i.onLoad&&!i.onLoad.duration)return{animate:i,data:r};const a=i.onLoad&&i.onLoad.before?i.onLoad.before:Or();return{animate:i,data:r.map(((t,e)=>Object.assign({},t,a(t,e,r)))),clipWidth:0}}(r,0,e),d=(t,e,r,o)=>function(t,e,r,o,i){const a=t&&t.onExit,s=Object.assign({},t,a);let c=r;if(o){t.onEnd=()=>{n({nodesWillExit:!1})};const e=t.onExit&&t.onExit.before?t.onExit.before:Or();c=r.map(((t,n)=>{const i=(t.key||n).toString();return o[i]?Object.assign({},t,e(t,n,r)):t}))}return{animate:s,data:c}}(o,0,r,t),p=(t,e,r,o)=>i?function(t,e,r,o){const i=t&&t.onEnter,a=Object.assign({},t,i);let s=e;if(r){a.onEnd=()=>{n({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Or();s=e.map(((n,o)=>{const i=jr(n,o);return r[i]?Object.assign({},n,t(n,o,e)):n}))}return{animate:a,data:s}}(o,r,t):function(t,e,r,o,i){let a=t,s=r;if(o){a=Object.assign({},t,{onEnd:()=>{n({nodesShouldEnter:!0})}});const e=t.onEnter&&t.onEnter.before?t.onEnter.before:Or();s=r.map(((t,n)=>{const i=(t.key||n).toString();return o[i]?Object.assign({},t,e(t,n,r)):t}))}return{animate:a,data:s}}(o,0,r,t),h=function(t,e){const n=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=n[e]&&n[e].duration;return void 0!==t?t:r[e]&&r[e].duration}return{}};return function(n,a){const g=Sr(n)||[],y=f()({},t.animate,n.props.animate),m=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=f()({},y.onExit,m&&m.onExit),y.onEnter=f()({},y.onEnter,m&&m.onEnter),y.onLoad=f()({},y.onLoad,m&&m.onLoad);const b=c[a]||c[0];if(!s){const t={duration:void 0!==u.load?u.load:h(n,"onLoad")};return l(0,g,Object.assign({},y,t))}if(r){const t=b&&b.exiting,e=void 0!==u.exit?u.exit:h(n,"onExit"),r=t?{duration:e}:{delay:e};return d(t,0,g,Object.assign({},y,r))}if(o){const t=b&&b.entering,e=void 0!==u.enter?u.enter:h(n,"onEnter"),r=void 0!==u.move?u.move:n.props.animate&&n.props.animate.duration,o={duration:i&&t?e:r};return p(t,0,g,Object.assign({},y,o))}return!e&&y&&y.onExit?function(t,e){const n=t.onEnter&&t.onEnter.after?t.onEnter.after:Or();return{data:e.map(((t,r)=>Object.assign({},t,n(t,r,e))))}}(y,g):{animate:y,data:g}}}function Mr(){return Mr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Mr.apply(this,arguments)}class Pr extends i().Component{static displayName="VictoryTransition";static contextType=gr;constructor(t,e){super(t,e),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const n=this.props.children,r=n.props.polar;this.continuous=!r&&n.type&&!0===n.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return fe()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,e){const{animate:n}=t;if(!n)return{};if(n.parentState)return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e};const r=i().Children.toArray(t.children),o=i().Children.toArray(e.children),{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u}=Cr(r,o);return{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u,oldProps:a?t:null,nextProps:e}}getDomainFromChildren(t,e){const n=t=>t.reduce(((t,r)=>{if(r.type&&O(r.type.getDomain)){const n=r.props&&r.type.getDomain(r.props,e);return n?t.concat(n):t}return r.props&&r.props.children?t.concat(n(i().Children.toArray(r.props.children))):t}),[]),r=i().Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[e];if(!o.children&&a)return a;const s=n([r]);return 0===s.length?[0,1]:[wr(s),xr(s)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const e=t.animate?.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,e){const n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:(()=>{const n=function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,e){return"x"===e?[x(t.startAngle||0),x(t.endAngle||360)]:[t.innerRadius||0,w(t)]}(t,e):function(t,e){const n="x"!==e,r=m(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,e)}(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width})()}render(){const t=this.pickProps(),e=this.props.animate?.getTransitions?this.props.animate.getTransitions:$r(t,this.state,(t=>this.setState(t))),n=i().Children.toArray(t.children)[0],r=e(n);this.transitionProps=r;const o={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,n),s=f()({domain:o,clipWidth:a},r,n.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),u=c.length?h()(s,c):s;return i().createElement(mr,Mr({},s.animate,{data:u}),(t=>{if(n.props.groupComponent){const e=this.continuous?i().cloneElement(n.props.groupComponent,{clipWidth:t.clipWidth||0}):n.props.groupComponent;return i().cloneElement(n,f()({animate:null,animating:!0,groupComponent:e},t,s))}return i().cloneElement(n,f()({animate:null,animating:!0},t,s))}))}}var zr=r(9602),Lr=r.n(zr),Ir=r(1616),_r=r.n(Ir),Nr=r(4912),Wr=r.n(Nr);const Br=/^onGlobal(.*)$/;function Dr(t,e,n,r){const o=t=>{const r=(()=>{const r=t.reduce(((t,n)=>void 0!==n.target?(Array.isArray(n.target)?n.target.includes(e):`${n.target}`==`${e}`)?t.concat(n):t:t.concat(n)),[]);return void 0!==n&&"parent"!==e?r.filter((t=>{const e=t.eventKey,r=t=>!t||`${t}`==`${n}`;return Array.isArray(e)?e.some((t=>r(t))):r(e)})):r})();return Array.isArray(r)&&r.reduce(((t,e)=>e?Object.assign(t,e.eventHandlers):t),{})},i=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=i&&O(r)?r(o(i),e):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,c=t.sharedEvents.events&&s(o(t.sharedEvents.events),e);return Object.assign({},c,a)}function Tr(t,e,n,r){if($t()(t))return{};const o=r||this.baseProps,i=(t,e)=>{const{childName:n,target:r,key:i}=t,a="props"===e?o:this.state||{},s=null!=n&&a[n]?a[n]:a;return"parent"===i?s.parent:s[i]&&s[i][r]},a=(t,r)=>{const a="parent"===e?t.childName:t.childName||n,s=t.target||e,c=(e,n)=>{const r=this.state||{};if(!O(t.mutation))return r;const a=i({childName:n,key:e,target:s},"props"),c=i({childName:n,key:e,target:s},"state"),u=t.mutation(Object.assign({},a,c),o),l=r[n]||{},f=t=>u?(t=>"parent"===s?Object.assign(t,{[e]:Object.assign(t[e]||{},u)}):Object.assign(t,{[e]:Object.assign(t[e]||{},{[s]:u})}))(t):(t=>(t[e]&&t[e][s]&&delete t[e][s],t[e]&&!Object.keys(t[e]).length&&delete t[e],t))(t);return null!=n?Object.assign(r,{[n]:f(l)}):f(r)},u=e=>{const n=(e=>"parent"===s?"parent":"all"===t.eventKey?o[e]?Object.keys(o[e]).filter((t=>"parent"!==t)):Object.keys(o).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?o[e]?Object.keys(o[e]):Object.keys(o):void 0!==t.eventKey?t.eventKey:r)(e);return Array.isArray(n)?n.reduce(((t,n)=>Object.assign(t,c(n,e))),{}):c(n,e)},l="all"===a?Object.keys(o).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,e)=>Object.assign(t,u(e))),{}):u(l)},s=(e,n,r,o)=>{const i=t[o](e,n,r,this);if(!$t()(i)){const t=(t=>{const e=t=>O(t.callback)&&t.callback,n=(Array.isArray(t)?t.map((t=>e(t))):[e(t)]).filter((t=>!1!==t));return n.length?()=>n.forEach((t=>t())):void 0})(i);this.setState(((t,e)=>Array.isArray(t)?t.reduce(((t,n)=>Object.assign({},t,a(n,e))),{}):a(t,e))(i,r),t)}};return Object.keys(t).reduce(((t,e)=>(t[e]=s,t)),{})}function Fr(t,e,n){const r=this.state||{};return n?r[n]&&r[n][t]&&r[n][t][e]:"parent"===t?r[t]&&r[t][e]||r[t]:r[t]&&r[t][e]}function Hr(t,e,n,r){const o=(t,e)=>"string"==typeof t[e]?"all"===t[e]||t[e]===r[e]:!!Array.isArray(t[e])&&t[e].map((t=>`${t}`)).includes(r[e]);let i=Array.isArray(t)?t:[t];r.childName&&(i=t.filter((t=>o(t,"childName"))));const a=i.filter((t=>o(t,"target")));if($t()(a))return;const s=a.filter((t=>o(t,"eventKey")));return $t()(s)?void 0:s.reduce(((t,r)=>{const o=(r&&O(r.mutation)?r.mutation:()=>{})(Object.assign({},e,n));return Object.assign({},t,o)}),{})}function Rr(t){const e=t.match(Br);return e&&e[1]&&e[1].toLowerCase()}const qr=t=>!E(t._x)&&!E(t._y),Gr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],Kr={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},Vr=[{name:"Series 1"},{name:"Series 2"}];class Ur extends i().Component{static displayName="VictoryLegend";static role="legend";static defaultProps={borderComponent:i().createElement(tt,null),data:Vr,containerComponent:i().createElement(pt,null),dataComponent:i().createElement(St,null),groupComponent:i().createElement("g",null),labelComponent:i().createElement(Gt,null),standalone:!0,theme:ue,titleComponent:i().createElement(Gt,null)};static getBaseProps(t){return Q(t,Kr)}static getDimensions(t){return U(t,Kr)}static expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"];renderChildren(t){const{dataComponent:e,labelComponent:n,title:r}=t,o=[];if(t.borderComponent){const e=this.getComponentProps(t.borderComponent,"border","all"),n=i().cloneElement(t.borderComponent,e);o.push(n)}if(e){const t=this.dataKeys.map(((t,n)=>{if("all"===t)return;const r=this.getComponentProps(e,"data",n);return i().cloneElement(e,r)})).filter((t=>void 0!==t));o.push(...t)}if(r&&t.titleComponent){const e=this.getComponentProps(r,"title","all"),n=i().cloneElement(t.titleComponent,e);o.push(n)}if(n){const t=this.dataKeys.map(((t,e)=>{if("all"===t)return;const r=this.getComponentProps(n,"labels",e);return void 0!==r.text&&null!==r.text?i().cloneElement(n,r):void 0})).filter((t=>void 0!==t));o.push(...t)}return o}render(){const{role:t}=this.constructor,e=j(this.props,Kr,t),n=this.renderChildren(e);return e.standalone?this.renderContainer(e.containerComponent,n):i().cloneElement(e.groupComponent,{},n)}}const Qr=(Zr=Ur,void 0===Yr&&(Yr={}),class extends Zr{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=Fr.bind(this);getScopedEvents=Tr.bind(this);getEvents=(t,e,n)=>Dr.call(this,t,e,n,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const e=this.getExternalMutations(t),n=this.props.animating||this.props.animate,r=!fe()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;const o=this.getStateChanges(t);return fe()(this.calculatedState,o)?!fe()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const e=this.getStateChanges(t);this.calculatedState=e;const n=Object.keys(this.globalEvents);vr(this.prevGlobalEventKeys,n).forEach((t=>this.removeGlobalListener(t))),vr(n,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=n}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const e=e=>{const n=this.globalEvents[t];return n&&n((t=>Object.assign(t,{nativeEvent:t}))(e))};this.boundGlobalEvents[t]=e,window.addEventListener(Rr(t),e)}removeGlobalListener(t){window.removeEventListener(Rr(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const e=(t,e)=>{const n=f()({},this.getEventState(t,e),this.getSharedEventState(t,e));return $t()(n)?void 0:n};return(Yr.components||Gr).map((n=>{if(t.standalone||"parent"!==n.name)return void 0!==n.index?e(n.index,n.name):this.dataKeys.map((t=>e(t,n.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,e){if(!$t()(e)){const n=t.externalEventMutations.reduce(((t,e)=>O(e.callback)?t.concat(e.callback):t),[]),r=n.length?()=>{n.forEach((t=>t()))}:void 0;this.setState(e,r)}}getCalculatedValues(t){const{sharedEvents:e}=t,n=function(t,e){const n=Array.isArray(e)&&e.reduce(((e,n)=>{const r=t[n],o=r&&r.type&&r.type.defaultEvents,i=O(o)?o(r.props):o;return Array.isArray(i)?e.concat(...i):e}),[]);return n&&n.length?n:void 0}(t,Zr.expectedComponents),r=e&&O(e.getEventState)?e.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:e,externalEventMutations:n}=t;return $t()(n)||e?void 0:function(t,e,n,r){return void 0===e&&(e={}),void 0===n&&(n={}),Object.keys(e).reduce(((o,i)=>{const a=n[i]||{},s=e[i]||{};if("parent"===i){const e=Hr(t,s,a,{eventKey:i,target:"parent"});o[i]=void 0!==e?Object.assign({},a,e):a}else{const e=Lr()(Object.keys(s).concat(Object.keys(a)));o[i]=e.reduce(((e,n)=>{const o={eventKey:i,target:n,childName:r},c=Hr(t,s[n],a[n],o);return e[n]=void 0!==c?Object.assign({},a[n],c):a[n],Wr()(e,(t=>!$t()(t)))}),{})}return Wr()(o,(t=>!$t()(t)))}),{})}(n,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((e=>{this[e]=t[e]}))}getBaseProps(t,e){const n=(e||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=f()({},r,n),i=o.parentControlledProps,a=i?h()(o,i):{},s=f()({},a,t);return"function"==typeof Zr.getBaseProps?Zr.getBaseProps(s):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,e,n){const r=this.props.name||Zr.role,o=this.dataKeys&&this.dataKeys[n]||n,i=`${r}-${e}-${o}`,a=this.baseProps[o]&&this.baseProps[o][e]||this.baseProps[o];if(!a&&!this.hasEvents)return;const s=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,e,o),r=f()({index:n,key:i},this.getEventState(o,e),this.getSharedEventState(o,e),s,a,{id:i}),c=f()({},function(t,e,n){return t?Object.keys(t).reduce(((r,o)=>(r[o]=r=>t[o](r,n,e,o),r)),{}):{}}(t,o,r),r.events);return Object.assign({},r,{events:c})}return f()({index:n,key:i},s,a,{id:i})}renderContainer(t,e){const n=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return n.events&&(this.globalEvents=(r=n.events,Wr()(r,((t,e)=>Br.test(e)))),n.events=(t=>_r()(t,((t,e)=>Br.test(e))))(n.events)),i().cloneElement(t,n,e)}animateComponent(t,e){const n="object"==typeof t.animate&&t.animate?.animationWhitelist||e,r=this.constructor;return i().createElement(Pr,{animate:t.animate,animationWhitelist:n},i().createElement(r,t))}renderContinuousData(t){const{dataComponent:e,labelComponent:n,groupComponent:r}=t,o=this.dataKeys.filter((t=>"all"!==t)),a=o.reduce(((t,e)=>{let r=t;const o=this.getComponentProps(n,"labels",e);return o&&void 0!==o.text&&null!==o.text&&(r=r.concat(i().cloneElement(n,o))),r}),[]),s=this.getComponentProps(e,"data","all"),c=[i().cloneElement(e,s),...a];return this.renderContainer(r,c)}renderData(t,e){void 0===e&&(e=qr);const{dataComponent:n,labelComponent:r,groupComponent:o}=t,a=[...this.dataKeys.reduce(((t,r,o)=>{const a=this.getComponentProps(n,"data",o);return e(a.datum)&&t.push(i().cloneElement(n,a)),t}),[]),...this.dataKeys.map(((t,e)=>{const n=this.getComponentProps(r,"labels",e);if(void 0!==n.text&&null!==n.text)return i().cloneElement(r,n)})).filter(Boolean)];return this.renderContainer(o,a)}});var Zr,Yr}(),o}()}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.VictoryLegend=e(require("react")):t.VictoryLegend=e(t.React)}(self,(function(t){return function(){var e={503:function(t,e,n){var r=n(1171),i=n(7838),o=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},3273:function(t,e,n){var r=n(163);t.exports=function(){if(!arguments.length)return[];var t=arguments[0];return r(t)?t:[t]}},8708:function(t,e,n){var r=n(1171),i=n(7838),o=n(4859),a=n(4073),s=n(8541);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},2596:function(t,e,n){var r=n(2373).Symbol;t.exports=r},6082:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},6649:function(t){t.exports=function(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}},5510:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9955:function(t){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},8644:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},9559:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},1634:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},4132:function(t,e,n){var r=n(8347),i=n(788),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},3162:function(t,e,n){var r=n(788);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4508:function(t){t.exports=function(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}},8347:function(t,e,n){var r=n(5525);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},6457:function(t,e,n){var r=n(9559),i=n(3608);t.exports=function t(e,n,o,a,s){var c=-1,u=e.length;for(o||(o=i),s||(s=[]);++c<u;){var l=e[c];n>0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},4432:function(t,e,n){var r=n(9026),i=n(3110);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},563:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},6776:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},6123:function(t){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},9070:function(t,e,n){var r=n(7028),i=n(3474);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},7028:function(t,e,n){var r=n(8708),i=n(8705),o=n(2813),a=n(6682),s=n(9667),c=n(163),u=n(4801),l=n(4289),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,b){var m=c(t),v=c(e),x=m?f:s(t),w=v?f:s(e),k=(x=x==d?p:x)==p,E=(w=w==d?p:w)==p,j=x==w;if(j&&u(t)){if(!u(e))return!1;m=!0,k=!1}if(j&&!k)return b||(b=new r),m||l(t)?i(t,e,n,g,y,b):o(t,e,x,n,g,y,b);if(!(1&n)){var O=k&&h.call(t,"__wrapped__"),S=E&&h.call(e,"__wrapped__");if(O||S){var A=O?t.value():t,C=S?e.value():e;return b||(b=new r),y(A,C,n,g,b)}}return!!j&&(b||(b=new r),a(t,e,n,g,y,b))}},9548:function(t,e,n){var r=n(8708),i=n(9070);t.exports=function(t,e,n,o){var a=n.length,s=a,c=!o;if(null==t)return!s;for(t=Object(t);a--;){var u=n[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=n[a])[0],d=t[l],f=u[1];if(c&&u[2]){if(void 0===d&&!(l in t))return!1}else{var p=new r;if(o)var h=o(d,f,l,t,e,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},3472:function(t,e,n){var r=n(758),i=n(5223),o=n(5346),a=n(163),s=n(8532);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},7190:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},383:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},758:function(t,e,n){var r=n(9548),i=n(597),o=n(6878);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},5223:function(t,e,n){var r=n(9070),i=n(9201),o=n(5066),a=n(726),s=n(5385),c=n(6878),u=n(3110);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},8245:function(t,e,n){var r=n(8644),i=n(4432),o=n(3472),a=n(383),s=n(9521),c=n(9110),u=n(9409),l=n(5346),d=n(163);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[l];var f=-1;e=r(e,c(o));var p=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(p,(function(t,e){return u(t,e,n)}))}},5436:function(t,e,n){var r=n(6371),i=n(5066);t.exports=function(t,e){return r(t,e,(function(e,n){return i(t,n)}))}},6371:function(t,e,n){var r=n(4432),i=n(6539),o=n(9026);t.exports=function(t,e,n){for(var a=-1,s=e.length,c={};++a<s;){var u=e[a],l=r(t,u);n(l,u)&&i(c,o(u,t),l)}return c}},1600:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},3301:function(t,e,n){var r=n(4432);t.exports=function(t){return function(e){return r(e,t)}}},7805:function(t){var e=Math.ceil,n=Math.max;t.exports=function(t,r,i,o){for(var a=-1,s=n(e((r-t)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=i;return c}},6317:function(t,e,n){var r=n(5346),i=n(4280),o=n(201);t.exports=function(t,e){return o(i(t,e,r),t+"")}},6539:function(t,e,n){var r=n(4132),i=n(9026),o=n(9099),a=n(7709),s=n(3110);t.exports=function(t,e,n,c){if(!a(t))return t;for(var u=-1,l=(e=i(e,t)).length,d=l-1,f=t;null!=f&&++u<l;){var p=s(e[u]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return t;if(u!=d){var g=f[p];void 0===(h=c?c(g,p,f):void 0)&&(h=a(g)?g:o(e[u+1])?[]:{})}r(f,p,h),f=f[p]}return t}},9521:function(t){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},6316:function(t,e,n){var r=n(2596),i=n(8644),o=n(163),a=n(1995),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},9110:function(t){t.exports=function(t){return function(e){return t(e)}}},946:function(t,e,n){var r=n(3273),i=n(5510),o=n(9955),a=n(9914),s=n(6602),c=n(6226);t.exports=function(t,e,n){var u=-1,l=i,d=t.length,f=!0,p=[],h=p;if(n)f=!1,l=o;else if(d>=200){var g=e?null:s(t);if(g)return c(g);f=!1,l=a,h=new r}else h=e?[]:p;t:for(;++u<d;){var y=t[u],b=e?e(y):y;if(y=n||0!==y?y:0,f&&b==b){for(var m=h.length;m--;)if(h[m]===b)continue t;e&&h.push(b),p.push(y)}else l(h,b,n)||(h!==p&&h.push(b),p.push(y))}return p}},9914:function(t,e,n){var r=n(6123);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},9026:function(t,e,n){var r=n(163),i=n(726),o=n(7801),a=n(7010);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},522:function(t,e,n){var r=n(1995);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,c=null===e,u=e==e,l=r(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!l&&t<e||l&&n&&o&&!i&&!a||c&&n&&o||!s&&o||!u)return-1}return 0}},9409:function(t,e,n){var r=n(522);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,c=n.length;++i<s;){var u=r(o[i],a[i]);if(u)return i>=c?u:u*("desc"==n[i]?-1:1)}return t.index-e.index}},5659:function(t,e,n){var r=n(6649),i=n(4508),o=n(3472),a=n(163);t.exports=function(t,e){return function(n,s){var c=a(n)?r:i,u=e?e():{};return c(n,t,o(s,2),u)}}},2507:function(t,e,n){var r=n(7805),i=n(8286),o=n(9139);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},6602:function(t){t.exports=function(){}},5525:function(t,e,n){var r=n(3743),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},8705:function(t,e,n){var r=n(3273),i=n(1634),o=n(9914);t.exports=function(t,e,n,a,s,c){var u=1&n,l=t.length,d=e.length;if(l!=d&&!(u&&d>l))return!1;var f=c.get(t),p=c.get(e);if(f&&p)return f==e&&p==t;var h=-1,g=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h<l;){var b=t[h],m=e[h];if(a)var v=u?a(m,b,h,e,t,c):a(b,m,h,t,e,c);if(void 0!==v){if(v)continue;g=!1;break}if(y){if(!i(e,(function(t,e){if(!o(y,e)&&(b===t||s(b,t,n,a,c)))return y.push(e)}))){g=!1;break}}else if(b!==m&&!s(b,m,n,a,c)){g=!1;break}}return c.delete(t),c.delete(e),g}},2813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6682:function(t,e,n){var r=n(8143),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var c=1&n,u=r(t),l=u.length;if(l!=r(e).length&&!c)return!1;for(var d=l;d--;){var f=u[d];if(!(c?f in e:i.call(e,f)))return!1}var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var g=!0;s.set(t,e),s.set(e,t);for(var y=c;++d<l;){var b=t[f=u[d]],m=e[f];if(o)var v=c?o(m,b,f,e,t,s):o(b,m,f,t,e,s);if(!(void 0===v?b===m||a(b,m,n,o,s):v)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(t),s.delete(e),g}},5557:function(t,e,n){var r=n(2645),i=n(4280),o=n(201);t.exports=function(t){return o(i(t,void 0,r),t+"")}},2117:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8143:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},7271:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},597:function(t,e,n){var r=n(5385),i=n(7747);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},3743:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},9817:function(t,e,n){var r=n(5125)(Object.getPrototypeOf,Object);t.exports=r},9667:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3096:function(t,e,n){var r=n(9026),i=n(5075),o=n(163),a=n(9099),s=n(8454),c=n(3110);t.exports=function(t,e,n){for(var u=-1,l=(e=r(e,t)).length,d=!1;++u<l;){var f=c(e[u]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++u!=l?d:!!(l=null==t?0:t.length)&&s(l)&&a(f,l)&&(o(t)||i(t))}},3608:function(t,e,n){var r=n(2596),i=n(5075),o=n(163),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},9099:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},8286:function(t){t.exports=function(){return!1}},726:function(t,e,n){var r=n(163),i=n(1995),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},5782:function(t){t.exports=function(){return!1}},5385:function(t,e,n){var r=n(7709);t.exports=function(t){return t==t&&!r(t)}},1171:function(t){t.exports=function(){this.__data__=[],this.size=0}},7838:function(t,e,n){var r=n(3162),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},4859:function(t,e,n){var r=n(3162);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},4073:function(t,e,n){var r=n(3162);t.exports=function(t){return r(this.__data__,t)>-1}},8541:function(t,e,n){var r=n(3162);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},6878:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},2453:function(t){t.exports=function(t){return t}},5125:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},4280:function(t,e,n){var r=n(6082),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=o[a];return u[e]=n(c),r(t,this,u)}}},2373:function(t,e,n){var r=n(2117),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6226:function(t){t.exports=function(){return[]}},201:function(t){t.exports=function(t){return t}},7801:function(t,e,n){var r=n(2453),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},3110:function(t,e,n){var r=n(1995);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},1893:function(t,e,n){var r=n(6317),i=n(788),o=n(8286),a=n(8855),s=Object.prototype,c=s.hasOwnProperty,u=r((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&o(e[0],e[1],u)&&(r=1);++n<r;)for(var l=e[n],d=a(l),f=-1,p=d.length;++f<p;){var h=d[f],g=t[h];(void 0===g||i(g,s[h])&&!c.call(t,h))&&(t[h]=l[h])}return t}));t.exports=u},788:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2645:function(t,e,n){var r=n(6457);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},9201:function(t,e,n){var r=n(4432);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},9056:function(t,e,n){var r=n(8347),i=n(5659),o=Object.prototype.hasOwnProperty,a=i((function(t,e,n){o.call(t,n)?t[n].push(e):r(t,n,[e])}));t.exports=a},5066:function(t,e,n){var r=n(6776),i=n(3096);t.exports=function(t,e){return null!=t&&i(t,e,r)}},5346:function(t){t.exports=function(t){return t}},5075:function(t){t.exports=function(){return!1}},163:function(t){var e=Array.isArray;t.exports=e},981:function(t,e,n){var r=n(9642),i=n(8454);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},4801:function(t){t.exports=function(){return!1}},4155:function(t,e,n){var r=n(7190),i=n(9667),o=n(5075),a=n(163),s=n(981),c=n(4801),u=n(5782),l=n(4289),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||l(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},9642:function(t,e,n){var r=n(563),i=n(7709);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},8454:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7709:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3474:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},3849:function(t,e,n){var r=n(563),i=n(9817),o=n(3474),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},1995:function(t){t.exports=function(){return!1}},4289:function(t){t.exports=function(){return!1}},7747:function(t,e,n){var r=n(5125)(Object.keys,Object);t.exports=r},8855:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1594:function(t,e,n){var r=n(503);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},6051:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},1616:function(t,e,n){var r=n(3472),i=n(6051),o=n(4912);t.exports=function(t,e){return o(t,i(r(e)))}},4143:function(t,e,n){var r=n(8245),i=n(163);t.exports=function(t,e,n,o){return null==t?[]:(i(e)||(e=null==e?[]:[e]),i(n=o?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},9082:function(t,e,n){var r=n(5436),i=n(5557)((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},4912:function(t,e,n){var r=n(8644),i=n(3472),o=n(6371),a=n(7271);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=i(e),o(t,n,(function(t,n){return e(t,n[0])}))}},8532:function(t,e,n){var r=n(1600),i=n(3301),o=n(726),a=n(3110);t.exports=function(t){return o(t)?r(a(t)):i(t)}},8825:function(t,e,n){var r=n(2507)();t.exports=r},9139:function(t){t.exports=function(t){return t}},7010:function(t,e,n){var r=n(6316);t.exports=function(t){return null==t?"":r(t)}},9602:function(t,e,n){var r=n(946);t.exports=function(t){return t&&t.length?r(t):[]}},660:function(t,e,n){var r=n(7010),i=0;t.exports=function(t){var e=++i;return r(t)+e}},7491:function(t){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!o(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!o(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!o(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return o(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},9787:function(e){"use strict";e.exports=t}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={exports:{}};return e[t](o,o.exports,r),o.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return function(){"use strict";r.r(i),r.d(i,{VictoryLegend:function(){return hi}});var t={};r.r(t),r.d(t,{circle:function(){return ht},cross:function(){return xt},diamond:function(){return yt},minus:function(){return wt},plus:function(){return vt},square:function(){return gt},star:function(){return kt},triangleDown:function(){return bt},triangleUp:function(){return mt}});var e={};r.r(e),r.d(e,{easeBack:function(){return sn},easeBackIn:function(){return on},easeBackInOut:function(){return sn},easeBackOut:function(){return an},easeBounce:function(){return en},easeBounceIn:function(){return tn},easeBounceInOut:function(){return nn},easeBounceOut:function(){return en},easeCircle:function(){return Xe},easeCircleIn:function(){return Ze},easeCircleInOut:function(){return Xe},easeCircleOut:function(){return Ye},easeCubic:function(){return Ne},easeCubicIn:function(){return Ie},easeCubicInOut:function(){return Ne},easeCubicOut:function(){return _e},easeElastic:function(){return ln},easeElasticIn:function(){return un},easeElasticInOut:function(){return dn},easeElasticOut:function(){return ln},easeExp:function(){return Qe},easeExpIn:function(){return Ve},easeExpInOut:function(){return Qe},easeExpOut:function(){return Ue},easeLinear:function(){return Pe},easePoly:function(){return Be},easePolyIn:function(){return Fe},easePolyInOut:function(){return Be},easePolyOut:function(){return De},easeQuad:function(){return We},easeQuadIn:function(){return Le},easeQuadInOut:function(){return We},easeQuadOut:function(){return ze},easeSin:function(){return Ge},easeSinIn:function(){return Re},easeSinInOut:function(){return Ge},easeSinOut:function(){return qe}});var n=r(9787),o=r.n(n),a=r(8825),s=r.n(a),c=r(9056),u=r.n(c),l=r(1893),d=r.n(l);const f=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(n.length>0)return n.reduce(((t,e)=>[t,f(e)].join(" ")),f(t)).trim();if(null==t||"string"==typeof t)return t;const i=[];for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];i.push(`${e}(${n})`)}return i.join(" ").trim()};var p=r(9082),h=r.n(p);function g(t,e){void 0===e&&(e=[]);const n={};for(const r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function y(t){const e=t=>void 0!==t,{_x:n,_x1:r,_x0:i,_voronoiX:o,_y:a,_y1:s,_y0:c,_voronoiY:u}=t,l=e(r)?r:n,f=e(s)?s:a,p={x:e(o)?o:l,x0:e(i)?i:n,y:e(u)?u:f,y0:e(c)?c:a};return d()({},p,t)}function b(t,e){void 0===e&&(e="padding");const n=t[e],r="number"==typeof n?n:0,i="object"==typeof n?n:{};return{top:i.top||r,bottom:i.bottom||r,left:i.left||r,right:i.right||r}}function m(t,e){return E(t)?t(e):t}function v(t,e){return e.disableInlineStyles?{}:t&&Object.keys(t).some((e=>E(t[e])))?Object.keys(t).reduce(((n,r)=>(n[r]=m(t[r],e),n)),{}):t}function x(t){return"number"==typeof t?t*(Math.PI/180):t}function w(t){const{left:e,right:n,top:r,bottom:i}=b(t),{width:o,height:a}=t;return Math.min(o-e-n,a-r-i)/2}function k(t){return null==t}function E(t){return"function"==typeof t}function j(t,e,n){const r=g(t.theme&&t.theme[n]?t.theme[n]:{},["style"]),i=function(t){if(void 0!==t.horizontal||!t.children)return t.horizontal;const e=t=>t.reduce(((t,n)=>{const r=n.props||{};return t||r.horizontal||!r.children?t||r.horizontal:e(o().Children.toArray(r.children))}),!1);return e(o().Children.toArray(t.children))}(t),a=void 0===i?{}:{horizontal:i};return d()(a,t,r,e)}r(8532);var O=r(1594),S=r.n(O);const A={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Inter:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},C={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},$={em:1,ex:.5},M={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},P=t=>Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g),L=(t,e,n)=>{const r=(t=>t*Math.PI/180)(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},z=(t,e)=>{const n=t.match(/[a-zA-Z%]+/)?.[0],r=Number(t.match(/[0-9.,]+/));let i;return i=n?C.hasOwnProperty(n)?r*C[n]:$.hasOwnProperty(n)?(e?r*e:r*M.fontSize)*$[n]:r:r||0,i},W=(t,e)=>{const n=Array.isArray(t)?t[e]:t,r=d()({},n,M);return Object.assign({},r,{fontFamily:r.fontFamily,letterSpacing:"number"==typeof r.letterSpacing?r.letterSpacing:z(String(r.letterSpacing),r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:z(String(r.fontSize))})},I=(t,e)=>{const n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=((t,e)=>void 0===t||""===t||null===t?0:P(t).reduce(((t,n,r)=>{const i=W(e,r),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*i.fontSize:i.fontSize;return t+i.lineHeight*o}),0))(t,e),i=((t,e)=>{if(void 0===t||""===t||null===t)return 0;const n=P(t).map(((t,n)=>{const r=t.toString().length,{fontSize:i,letterSpacing:o,fontFamily:a}=W(e,n),s=(t=>{const e=t.split(",").map((t=>t.replace(/'|"/g,""))).find((t=>A[t]))||"Helvetica";return A[e]})(a);return t.toString().split("").map((t=>t.charCodeAt(0)<s.widths.length?s.widths[t.charCodeAt(0)]:s.avg)).reduce(((t,e)=>e+t),0)*i+o*Math.max(r-1,0)}));return Math.max(...n)})(t,e);return{width:n?L(i,r,n):i,height:1.05*(n?L(r,i,n):r)}},_=S()((()=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.setAttribute("width","300"),t.setAttribute("height","300"),t.setAttribute("viewBox","0 0 300 300"),t.setAttribute("aria-hidden","true");const e=document.createElementNS("http://www.w3.org/2000/svg","text");return t.appendChild(e),t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t),e})),N=t=>t?`${t.angle}:${t.fontFamily}:${t.fontSize}:${t.letterSpacing}:${t.lineHeight}`:"null",F=S()(((t,e)=>{let n=_();n.isConnected||(_.cache.clear?.(),n=_());const r=P(t);let i=0;for(const[t,o]of r.entries()){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan"),a=W(e,t);r.style.fontFamily=a.fontFamily,r.style.fontSize=`${a.fontSize}px`,r.style.lineHeight=a.lineHeight,r.style.fontFamily=a.fontFamily,r.style.letterSpacing=a.letterSpacing,r.textContent=o,r.setAttribute("x","0"),r.setAttribute("y",`${i}`),n.appendChild(r),i+=a.lineHeight*r.getBoundingClientRect().height}const{width:o}=n.getBoundingClientRect();return n.innerHTML="",{width:e?.angle?L(o,i,e?.angle):o,height:e?.angle?L(i,o,e?.angle):i}}),((t,e)=>`${Array.isArray(t)?t.join():t}::${Array.isArray(e)?e.map(N).join():N(e)}`)),D=(t,e)=>function(t,e,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?I(t,e):F(t,e)}(t,e),B=t=>{const{data:e,style:n}=t;return e.map(((t,r)=>v(d()({},t.labels,n.labels),{datum:t,index:r,data:e})))},T=t=>{const{orientation:e,theme:n}=t,r=function(t,e){void 0===e&&(e={});const n=t.style||{};return{parent:d()(n.parent,e.parent,{height:"100%",width:"100%"}),data:d()({},n.data,e.data),labels:d()({},n.labels,e.labels),border:d()({},n.border,e.border),title:d()({},n.title,e.title)}}(t,n&&n.legend&&n.legend.style?n.legend.style:{}),i=(t=>{const{colorScale:e}=t;return"string"==typeof e?function(t){const e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}(e):e||[]})(t),o="horizontal"===e,a=b({padding:t.borderPadding});return Object.assign({},t,{style:r,isHorizontal:o,colorScale:i,borderPadding:a})},H=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?e%n:Math.floor(e/n):r?e:0},R=(t,e)=>{const{itemsPerRow:n,isHorizontal:r}=t;return n?r?Math.floor(e/n):e%n:r?0:e},q=t=>{const{data:e}=t,n=t.style&&t.style.data||{},r=B(t);return e.map(((e,i)=>{const o=e.symbol||{},{fontSize:a}=r[i],s=o.size||n.size||a/2.5,c=t.symbolSpacer||Math.max(s,a);return{...e,size:s,symbolSpacer:c,fontSize:a,textSize:D(e.name,r[i]),column:H(t,i),row:R(t,i)}}))},G=(t,e)=>{const n=t.gutter||{},r="object"==typeof n?(n.left||0)+(n.right||0):n||0,i=u()(e,"column");return Object.keys(i).reduce(((t,e,n)=>{const o=i[e].map((t=>t.textSize.width+t.size+t.symbolSpacer+r));return t[n]=Math.max(...o),t}),[])},K=(t,e)=>{const n=t.rowGutter||{},r="object"==typeof n?(n.top||0)+(n.bottom||0):n||0,i=u()(e,"row");return Object.keys(i).reduce(((t,e,n)=>{const o=i[e].map((t=>t.textSize.height+t.symbolSpacer+r));return t[n]=Math.max(...o),t}),[])},V=t=>{const e=t.style&&t.style.title||{},n=D(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},U=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,T(n)),{title:i,titleOrientation:o}=r,a=q(r),s=G(r,a),c=K(r,a),u=i?V(r):{height:0,width:0};return{height:"left"===o||"right"===o?Math.max(Z(c),u.height):Z(c)+u.height,width:"left"===o||"right"===o?Z(s)+u.width:Math.max(Z(s),u.width)}},Q=(t,e)=>{const n=j(t,e,"legend"),r=Object.assign({},n,T(n)),{data:i,standalone:o,theme:a,padding:c,style:u,colorScale:l,gutter:f,rowGutter:p,borderPadding:h,title:g,titleOrientation:y,name:b,x:m=0,y:v=0}=r,x=q(r),w=G(r,x),E=K(r,x),O=B(r),S=g?V(r):{height:0,width:0},A="left"===y?S.width:0,C="top"===y?S.height:0,$=f&&"object"==typeof f&&f.left||0,M=p&&"object"==typeof p&&p.top||0,{height:P,width:L}=U(r,e),z=((t,e,n)=>{const{x:r,y:i,borderPadding:o,style:a}=t;return{x:r,y:i,height:(e||0)+o.top+o.bottom,width:(n||0)+o.left+o.right,style:Object.assign({fill:"none"},a.border)}})(r,P,L),W=((t,e)=>{const{title:n,titleOrientation:r,centerTitle:i,borderPadding:o}=t,{height:a,width:s}=e,c=(t=>{const{titleOrientation:e,centerTitle:n,titleComponent:r}=t,i=t.style&&t.style.title||{},o=r.props&&r.props.style||{},a=((t,e)=>{const n={textAnchor:"right"===t?"end":"start",verticalAnchor:"bottom"===t?"end":"start"};if(e){const e="top"===t||"bottom"===t;return{textAnchor:e?"middle":n.textAnchor,verticalAnchor:e?n.verticalAnchor:"middle"}}return n})(e,n);return Array.isArray(o)?o.map((t=>d()({},t,i,a))):d()({},o,i,a)})(t),u=Array.isArray(c)?c[0].padding:c.padding,l="top"===r||"bottom"===r,f="right"===r?"right":"left",p={x:i?s/2:o["bottom"===r?"bottom":"top"]+(u||0),y:i?a/2:o[f]+(u||0)},h=()=>o[r]+(u||0),g=l?p.x:h(),y=l?h():p.y;return{x:"right"===r?t.x+s-g:t.x+g,y:"bottom"===r?t.y+a-y:t.y+y,style:c,text:n}})(r,z),I={parent:{data:i,standalone:o,theme:a,padding:c,name:b,height:r.height,width:r.width,style:u.parent},all:{border:z,title:W}};return x.reduce(((t,e,n)=>{const r=l[n%l.length],o=d()({},e.symbol,u.data,{fill:r}),a=k(e.eventKey)?n:e.eventKey,c=((t,e,n)=>{const{column:r,row:i}=t;return{x:s()(r).reduce(((t,e)=>t+n[e]),0),y:s()(i).reduce(((t,n)=>t+e[n]),0)}})(e,E,w),f=v+h.top+e.symbolSpacer,p=m+h.left+e.symbolSpacer,g={index:n,data:i,datum:e,symbol:o.type||o.symbol||"circle",size:e.size,style:o,y:f+c.y+C+M,x:p+c.x+A+$},y={datum:e,data:i,text:e.name,style:O[n],y:g.y,x:g.x+e.symbolSpacer+e.size/2};return t[a]={data:g,labels:y},t}),I)};function Z(t){if(t&&t.length){let e=0;for(let n=0;n<t.length;n++)e+=t[n];return e}return 0}function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Y.apply(this,arguments)}const X=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:i,origin:a,...s}=t,c={vectorEffect:"non-scaling-stroke",id:m(r,t)?.toString(),tabIndex:m(i,t),...s};return n?o().createElement("rect",Y({},c,{ref:e}),o().createElement("desc",null,n)):o().createElement("rect",Y({},c,{ref:e}))})),J={rectComponent:o().createElement(X,null),role:"presentation",shapeRendering:"auto"},tt=t=>{const e=(t=>{const e=m(t.ariaLabel,t),n=m(t.desc,t),r=m(t.id,t),i=v(Object.assign({fill:"none"},t.style),t),o=m(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,style:i,tabIndex:o})})(d()({},t,J));return o().cloneElement(e.rectComponent,{...e.events,"aria-label":e.ariaLabel,style:e.style,desc:e.desc,tabIndex:e.tabIndex,transform:e.transform,className:e.className,role:e.role,shapeRendering:e.shapeRendering,x:e.x,y:e.y,width:e.width,height:e.height,clipPath:e.clipPath})};var et=r(660),nt=r.n(et);function rt(){return rt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},rt.apply(this,arguments)}const it=o().forwardRef(((t,e)=>o().createElement("svg",rt({ref:e},t)))),ot={startsWith:["data-","aria-"],exactMatch:[]},at=t=>{const e={...t};return Object.fromEntries(Object.entries(e).filter((t=>{let[e]=t;return(t=>!(!(t=>{let e=!1;return ot.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(t)&&(e=!0)})),e})(t)&&!(t=>ot.exactMatch.includes(t))(t)))(e)})).map((e=>{let[n,r]=e;return[n,m(r,t)]})))},st=o().createContext(void 0);st.displayName="PortalContext";const ct=()=>o().useContext(st),ut=t=>{let{children:e}=t;const[n,r]=o().useState(new Map),i=o().useCallback(((t,e)=>{r((n=>{const r=new Map(n);return r.set(t,e),r}))}),[r]),a=o().useCallback((t=>{r((e=>{const n=new Map(e);return n.delete(t),n}))}),[r]),s=o().useMemo((()=>({addChild:i,removeChild:a,children:n})),[i,a,n]);return o().createElement(st.Provider,{value:s},e)},lt=t=>{let{as:e,...n}=t;const r=ct();if(!r)return null;const i=Array.from(r.children.values());return o().cloneElement(e,n,i)};function dt(){return dt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},dt.apply(this,arguments)}const ft={className:"VictoryContainer",portalComponent:o().createElement(it,null),portalZIndex:99,responsive:!0,role:"img"},pt=t=>{const{role:e,title:r,desc:i,children:a,className:s,portalZIndex:c,portalComponent:u,width:l,height:d,style:f,tabIndex:p,responsive:h,events:g,ouiaId:y,ouiaSafe:b,ouiaType:m,dimensions:v,ariaDescribedBy:x,ariaLabelledBy:w,viewBox:k,preserveAspectRatio:j,userProps:O,titleId:S,descId:A,containerRef:C,localContainerRef:$}=function(t){const e={...ft,...t},{title:r,desc:i,width:o,height:a,responsive:s}=e,c=(0,n.useRef)(null),u=(0,n.useRef)(nt()("victory-container-")),l=e.containerId??u.current,d=t=>`${l}-${t}`,f=at(e),p=s?{width:"100%",height:"100%"}:{width:o,height:a},h=s?`0 0 ${o} ${a}`:void 0,g=s?e.preserveAspectRatio:void 0,y=[r&&d("title"),e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,b=[i&&d("desc"),e["aria-describedby"]].filter(Boolean).join(" ")||void 0,m=d("title"),v=d("desc");return{...e,titleId:m,descId:v,dimensions:p,viewBox:h,preserveAspectRatio:g,ariaLabelledBy:y,ariaDescribedBy:b,userProps:f,localContainerRef:c}}(t);return o().useEffect((()=>{if(!g?.onWheel)return;const t=t=>t.preventDefault(),e=$?.current;return e?.addEventListener("wheel",t),()=>{e?.removeEventListener("wheel",t)}}),[]),o().createElement("div",{className:s,style:{...f,width:h?f?.width:v.width,height:h?f?.height:v.height,pointerEvents:"none",touchAction:"none",position:"relative"},"data-ouia-component-id":y,"data-ouia-component-type":m,"data-ouia-safe":b,ref:(M=[$,C],t=>{M.forEach((e=>{E(e)?e(t):null!=e&&(e.current=t)}))})},o().createElement(ut,null,o().createElement("svg",dt({width:l,height:d,tabIndex:p,role:e,"aria-labelledby":w,"aria-describedby":x,viewBox:k,preserveAspectRatio:j,style:{...v,pointerEvents:"all"}},O,g),r?o().createElement("title",{id:S},r):null,i?o().createElement("desc",{id:A},i):null,a),o().createElement("div",{style:{...v,zIndex:c,position:"absolute",top:0,left:0}},o().createElement(lt,{as:u,width:l,height:d,viewBox:k,preserveAspectRatio:j,style:{...v,overflow:"visible"}}))));var M};function ht(t,e,n){return`M ${t}, ${e}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`}function gt(t,e,n){const r=.87*n,i=t-r,o=t+r-i;return`M ${i}, ${e+r}\n h${o}\n v-${o}\n h-${o}\n z`}function yt(t,e,n){const r=.87*n,i=Math.sqrt(r*r*2);return`M ${t}, ${e+i}\n l ${i}, -${i}\n l -${i}, -${i}\n l -${i}, ${i}\n l ${i}, ${i}\n z`}function bt(t,e,n){const r=e-n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e+n/2*Math.sqrt(3)}\n z`}function mt(t,e,n){const r=e+n;return`M ${t-n}, ${r}\n L ${t+n}, ${r}\n L ${t}, ${e-n/2*Math.sqrt(3)}\n z`}function vt(t,e,n){const r=1.1*n,i=r/1.5;return`\n M ${t-i/2}, ${e+r}\n v-${i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${i}\n z`}function xt(t,e,n){const r=.8*n,i=r/1.5;return`\n M ${t-i/2}, ${e+r+i}\n v-${2*i}\n h-${i}\n v-${i}\n h${i}\n v-${i}\n h${i}\n v${i}\n h${i}\n v${i}\n h-${i}\n v${2*i}\n z`}function wt(t,e,n){const r=1.1*n,i=r-.3*r,o=t-r,a=t+r-o;return`M ${o}, ${e+i/2}\n h${a}\n v-${i}\n h-${a}\n z`}function kt(t,e,n){const r=1.35*n,i=Math.PI/5;return`M ${function(t,e,n){let r=10;r||(r=0);const i=r-0,o=Math.abs(i),a=i/o||1,s=Math.max(Math.ceil(o/1),0);return Array.from(Array(s),((t,e)=>0+e*a*1))}().map((n=>{const o=n%2==0?r:r/2;return`${o*Math.sin(i*(n+1))+t},\n ${o*Math.cos(i*(n+1))+e}`})).join("L")} z`}function Et(){return Et=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Et.apply(this,arguments)}pt.role="container";const jt=(0,n.forwardRef)(((t,e)=>{const{desc:n,id:r,tabIndex:i,origin:a,...s}=t,c={id:m(r,t)?.toString(),tabIndex:m(i,t),...s};return n?o().createElement("path",Et({},c,{ref:e}),o().createElement("desc",null,n)):o().createElement("path",Et({},c,{ref:e}))})),Ot=e=>{const{x:n,y:r,size:i,symbol:o}=e;return e.getPath?e.getPath(n,r,i):("function"==typeof t[o]?t[o]:t.circle)(n,r,i)},St={pathComponent:o().createElement(jt,null),role:"presentation",shapeRendering:"auto"},At=t=>{const e=(t=>{const e=m(t.ariaLabel,t),n=m(t.desc,t),r=m(t.id,t),i=m(t.size,t),o=v(t.style,t),a=m(t.symbol,t),s=m(t.tabIndex,t);return Object.assign({},t,{ariaLabel:e,desc:n,id:r,size:i,style:o,symbol:a,tabIndex:s})})(d()({},t,St)),n=at(e);return o().cloneElement(e.pathComponent,{...e.events,"aria-label":e.ariaLabel,d:Ot(e),style:e.style,desc:e.desc,tabIndex:e.tabIndex,role:e.role,shapeRendering:e.shapeRendering,className:e.className,transform:e.transform,clipPath:e.clipPath,...n})};var Ct=r(4155),$t=r.n(Ct);const Mt={groupComponent:o().createElement("g",null)},Pt=t=>{const e={...Mt,...t},n=o().useId(),r=ct(),i=Array.isArray(e.children)?e.children[0]:e.children,{groupComponent:a}=e,s=i&&i.props||{},c=s.groupComponent?{groupComponent:a,standalone:!1}:{},u=d()(c,s,g(e,["children","groupComponent"]),{key:s.key??n}),l=i&&o().cloneElement(i,u);return o().useEffect((()=>{r?.addChild(n,l)}),[e.children]),o().useEffect((()=>()=>r?.removeChild(n)),[]),r?null:l};Pt.role="portal";const Lt=t=>{const{children:e,desc:n,id:r,origin:i,tabIndex:a,title:s,...c}=t,u={id:m(r,t)?.toString(),tabIndex:m(a,t),...c};return o().createElement("text",u,s&&o().createElement("title",null,s),n&&o().createElement("desc",null,n),e)},zt=t=>{const{desc:e,id:n,tabIndex:r,origin:i,...a}=t,s={id:m(n,t)?.toString(),tabIndex:m(r,t),...a};return o().createElement("tspan",s)};const Wt={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},It=(t,e)=>{if(!t.datum)return 0;const n=function(t,e){const{scale:n,polar:r,horizontal:i}=t,o=y(e),a=t.origin||{x:0,y:0},s=i?n.y(o.y):n.x(o.x),c=i?n.y(o.y0):n.x(o.x0),u=i?n.x(o.x):n.y(o.y),l=i?n.x(o.x0):n.y(o.y0);return{x:r?u*Math.cos(s)+a.x:s,x0:r?l*Math.cos(c)+a.x:c,y:r?-u*Math.sin(s)+a.y:u,y0:r?-l*Math.sin(c)+a.x:l}}(t,t.datum);return n[e]},_t=t=>{const e=t&&t.fontSize;if("number"==typeof e)return e;if(null==e)return Wt.fontSize;if("string"==typeof e){const t=Number(e.replace("px",""));return isNaN(t)?Wt.fontSize:t}return Wt.fontSize},Nt=function(t,e){return void 0===e&&(e=0),Array.isArray(t)?t[e]||t[0]:t},Ft=t=>{const{backgroundStyle:e,backgroundPadding:n}=t;return Array.isArray(e)&&!$t()(e)||Array.isArray(n)&&!$t()(n)},Dt=(t,e,n)=>{const{polar:r}=t,i=Nt(t.style),o=r?function(t,e){const{labelPlacement:n,datum:r}=t;if(!n||"vertical"===n)return 0;const i=function(t,e){const{x:n}=y(e);return("number"==typeof(r=t.scale.x(n))?r/(Math.PI/180):r)%360;var r}(t,r);let o=0;return 0===i||180===i?o=90:i>0&&i<180?o=90-i:i>180&&i<360&&(o=270-i),o+(i>90&&i<180||i>270?1:-1)*("perpendicular"===n?0:90)}(t):0,a=void 0===i.angle?m(t.angle,t):i.angle,s=void 0===a?o:a,c=t.transform||i.transform,u=c&&m(c,t);return u||s?f(u,s&&{rotate:[s,e,n]}):void 0},Bt=(t,e)=>{const{direction:n,textAnchor:r,x:i,dx:o}=t;if("rtl"===n)return i-e;switch(r){case"middle":return Math.round(i-e/2);case"end":return Math.round(i-e);default:return i+(o||0)}},Tt=(t,e)=>{const{verticalAnchor:n,y:r,originalDy:i=0}=t,o=r+i;switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-e);default:return Math.floor(o-e/2)}},Ht=(t,e)=>Ft(t)?((t,e)=>{const{dy:n,dx:r,transform:i,backgroundStyle:a,backgroundPadding:s,backgroundComponent:c,inline:u,y:l}=t,f=e.map(((t,i)=>{const o=Nt(e,i-1),a=t.textSize,c=t.fontSize*t.lineHeight,d=Math.ceil(c),f=Nt(s,i),p=Nt(s,i-1),h=u&&r||0,g=i&&!u?o.fontSize*o.lineHeight+p.top+p.bottom:n-.5*c-(t.fontSize-t.capHeight);return{textHeight:d,labelSize:a,heightWithPadding:d+f.top+f.bottom,widthWithPadding:a.width+f.left+f.right+h,y:l,fontSize:t.fontSize,dy:g}}));return f.map(((e,n)=>{const r=Bt(t,e.labelSize.width),p=f.slice(0,n+1).reduce(((t,e)=>t+e.dy),l),h=Nt(s,n),g=e.heightWithPadding,y=u?((t,e,n)=>{const{textAnchor:r}=t,i=e.map((t=>t.widthWithPadding)),o=-i.reduce(((t,e)=>t+e),0)/2;switch(r){case"start":return i.reduce(((t,e,r)=>r<n?t+e:t),0);case"end":return i.reduce(((t,e,r)=>r>n?t-e:t),0);default:return i.reduce(((t,e,r)=>r===n?t+e/2:t+(r<n?e:0)),o)}})(t,f,n)+r-h.left:r,b=u?Tt(t,g)-h.top:p,m={key:`tspan-background-${n}`,height:g,style:Nt(a,n),width:e.widthWithPadding,transform:i,x:y-h.left,y:b};return o().cloneElement(c,d()({},c.props,m))}))})(t,e):((t,e)=>{const{dx:n=0,transform:r,backgroundComponent:i,backgroundStyle:a,inline:s,backgroundPadding:c,capHeight:u}=t,l=e.map((t=>t.textSize)),f=s?Math.max(...l.map((t=>t.height))):l.reduce(((t,n,r)=>{const i=r?0:u/2;return t+n.height*(e[r].lineHeight-i)}),0),p=s?l.reduce(((t,e,r)=>{const i=r?n:0;return t+e.width+i}),0):Math.max(...l.map((t=>t.width))),h=Bt(t,p),g=Tt(t,f),y={key:"background",height:f+c.top+c.bottom,style:a,transform:r,width:p+c.left+c.right,x:s?h-c.left:h+n-c.left,y:g};return o().cloneElement(i,d()({},i.props,y))})(t,e),Rt=(t,e,n)=>{const{inline:r}=e,i=Nt(t,n);return n&&!r?((t,e,n)=>{const r=Nt(t,e),i=Nt(t,e-1),o=i.fontSize*i.lineHeight,a=r.fontSize*r.lineHeight,s=i.fontSize-i.capHeight,c=r.fontSize-r.capHeight,u=o-i.fontSize/2+r.fontSize/2-o/2+a/2-c/2+s/2;return Ft(n)?u+r.backgroundPadding.top+i.backgroundPadding.bottom:u})(t,n,e):r?0===n?i.backgroundPadding.top:void 0:i.backgroundPadding.top},qt={backgroundComponent:o().createElement(X,null),groupComponent:o().createElement("g",null),direction:"inherit",textComponent:o().createElement(Lt,null),tspanComponent:o().createElement(zt,null),capHeight:.71,lineHeight:1},Gt=t=>{const e=(t=>{const e=((t,e)=>{if(null==t)return;if(Array.isArray(t))return t.map((t=>m(t,e)));const n=m(t,e);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(t.text,t),n=((t,e)=>{if(e.disableInlineStyles){const n=v(t,e);return{fontSize:_t(n)}}const n=t=>{const n=v(t?d()({},t,Wt):Wt,e);return Object.assign({},n,{fontSize:_t(n)})};return Array.isArray(t)&&!$t()(t)?t.map((t=>n(t))):n(t)})(t.style,Object.assign({},t,{text:e})),r=((t,e)=>{if(t)return Array.isArray(t)&&!$t()(t)?t.map((t=>v(t,e))):v(t,e)})(t.backgroundStyle,Object.assign({},t,{text:e,style:n})),i=(t=>t.backgroundPadding&&Array.isArray(t.backgroundPadding)?t.backgroundPadding.map((e=>b({padding:m(e,t)}))):b({padding:m(t.backgroundPadding,t)}))(Object.assign({},t,{text:e,style:n,backgroundStyle:r})),o=m(t.id,t);return Object.assign({},t,{backgroundStyle:r,backgroundPadding:i,style:n,text:e,id:o})})(d()({},t,qt));if(null===e.text||void 0===e.text)return null;const n=(t=>{const e=m(t.ariaLabel,t),n=Nt(t.style),r=(t=>{const e=m(t.lineHeight,t);return Array.isArray(e)&&$t()(e)?[1]:e})(t),i=t.direction?m(t.direction,t):"inherit",o=t.textAnchor?m(t.textAnchor,t):n.textAnchor||"start",a=t.verticalAnchor?m(t.verticalAnchor,t):n.verticalAnchor||"middle",s=t.dx?m(t.dx,t):0,c=((t,e,n)=>{const r=t.dy?m(t.dy,t):0,i=t.inline?1:t.text.length,o=m(t.capHeight,t),a=e?m(e,t):"middle",s=[...Array(i).keys()].map((e=>Nt(t.style,e).fontSize)),c=[...Array(i).keys()].map((t=>Nt(n,t)));if("start"===a)return r+(o/2+c[0]/2)*s[0];if(t.inline)return"end"===a?r+(o/2-c[0]/2)*s[0]:r+o/2*s[0];if(1===i)return"end"===a?r+(o/2+(.5-i)*c[0])*s[0]:r+(o/2+(.5-i/2)*c[0])*s[0];const u=[...Array(i).keys()].reduce(((t,e)=>t+(o/2+(.5-i)*c[e])*s[e]/i),0);return"end"===a?r+u:r+u/2+o/2*c[i-1]*s[i-1]})(t,a,r),u=void 0!==t.x?t.x:It(t,"x"),l=void 0!==t.y?t.y:It(t,"y"),d=Dt(t,u,l);return Object.assign({},t,{ariaLabel:e,lineHeight:r,direction:i,textAnchor:o,verticalAnchor:a,dx:s,dy:c,originalDy:m(t.dy,t),transform:d,x:u,y:l})})(e),{text:r,style:i,capHeight:a,backgroundPadding:s,lineHeight:c}=n,u=r.map(((t,e)=>{const n=Nt(i,e),r=z(`${a}em`,n.fontSize),o=Nt(c,e);return{style:n,fontSize:n.fontSize||Wt.fontSize,capHeight:r,text:t,textSize:D(t,n),lineHeight:o,backgroundPadding:Nt(s,e)}})),l=((t,e)=>{const{ariaLabel:n,inline:r,className:i,title:a,events:s,direction:c,text:u,textAnchor:l,dx:d,dy:f,transform:p,x:h,y:g,desc:y,id:b,tabIndex:v,tspanComponent:x,textComponent:w}=t,k=at(t),E={"aria-label":n,key:"text",...s,direction:c,dx:d,x:h,y:g+f,transform:p,className:i,title:a,desc:m(y,t),tabIndex:m(v,t),id:b,...k},j=u.map(((n,i)=>{const a=e[i].style,s={key:`${b}-key-${i}`,x:r?void 0:h,dx:r?d+e[i].backgroundPadding.left:d,dy:Rt(e,t,i),textAnchor:a.textAnchor||l,style:a,children:n};return o().cloneElement(x,s)}));return o().cloneElement(w,E,j)})(n,u);if(e.backgroundStyle){const t=[Ht(n,u),l],r=o().cloneElement(e.groupComponent,{},t);return e.renderInPortal?o().createElement(Pt,null,r):r}return e.renderInPortal?o().createElement(Pt,null,l):l};Gt.displayName="VictoryLabel",Gt.role="label",Gt.defaultStyles=Wt;const Kt=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],Vt="#252525",Ut="#969696",Qt={width:450,height:300,padding:50,colorScale:Kt},Zt={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:Vt,stroke:"transparent"},Yt=Object.assign({textAnchor:"middle"},Zt),Xt={area:Object.assign({style:{data:{fill:Vt},labels:Zt}},Qt),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Vt,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},Yt,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:Zt}},Qt),bar:Object.assign({style:{data:{fill:Vt,padding:8,strokeWidth:0},labels:Zt}},Qt),boxplot:Object.assign({style:{max:{padding:8,stroke:Vt,strokeWidth:1},maxLabels:Object.assign({},Zt,{padding:3}),median:{padding:8,stroke:Vt,strokeWidth:1},medianLabels:Object.assign({},Zt,{padding:3}),min:{padding:8,stroke:Vt,strokeWidth:1},minLabels:Object.assign({},Zt,{padding:3}),q1:{padding:8,fill:Ut},q1Labels:Object.assign({},Zt,{padding:3}),q3:{padding:8,fill:Ut},q3Labels:Object.assign({},Zt,{padding:3})},boxWidth:20},Qt),candlestick:Object.assign({style:{data:{stroke:Vt,strokeWidth:1},labels:Object.assign({},Zt,{padding:5})},candleColors:{positive:"#ffffff",negative:Vt}},Qt),chart:Qt,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:Vt,strokeWidth:2},labels:Zt}},Qt),group:Object.assign({colorScale:Kt},Qt),histogram:Object.assign({style:{data:{fill:Ut,stroke:Vt,strokeWidth:2},labels:Zt}},Qt),legend:{colorScale:Kt,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:Zt,title:Object.assign({},Zt,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:Vt,strokeWidth:2},labels:Zt}},Qt),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},Zt,{padding:20})},colorScale:Kt,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:Vt,stroke:"transparent",strokeWidth:0},labels:Zt}},Qt),stack:Object.assign({colorScale:Kt},Qt),tooltip:{style:Object.assign({},Zt,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:Vt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},Zt,{padding:5,pointerEvents:"none"}),flyout:{stroke:Vt,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},Qt)},Jt=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],te="#ECEFF1",ee="#90A4AE",ne="#455A64",re="#212121",ie={width:350,height:350,padding:50},oe={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ne,stroke:"transparent",strokeWidth:0},ae=Object.assign({textAnchor:"middle"},oe),se="round",ce="round",ue=(Object.assign({style:{data:{fill:re},labels:oe}},ie),Object.assign({style:{axis:{fill:"transparent",stroke:ee,strokeWidth:2,strokeLinecap:se,strokeLinejoin:ce},axisLabel:Object.assign({},ae,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:te,strokeDasharray:"10, 5",strokeLinecap:se,strokeLinejoin:ce,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:ee,strokeWidth:1,strokeLinecap:se,strokeLinejoin:ce},tickLabels:Object.assign({},oe,{fill:ne})}},ie),Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),Object.assign({style:{data:{fill:ne,padding:8,strokeWidth:0},labels:oe}},ie),Object.assign({style:{max:{padding:8,stroke:ne,strokeWidth:1},maxLabels:Object.assign({},oe,{padding:3}),median:{padding:8,stroke:ne,strokeWidth:1},medianLabels:Object.assign({},oe,{padding:3}),min:{padding:8,stroke:ne,strokeWidth:1},minLabels:Object.assign({},oe,{padding:3}),q1:{padding:8,fill:ne},q1Labels:Object.assign({},oe,{padding:3}),q3:{padding:8,fill:ne},q3Labels:Object.assign({},oe,{padding:3})},boxWidth:20},ie),Object.assign({style:{data:{stroke:ne},labels:Object.assign({},oe,{padding:5})},candleColors:{positive:"#ffffff",negative:ne}},ie),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ne,strokeWidth:2},labels:oe}},ie),Object.assign({colorScale:Jt},ie),Object.assign({style:{data:{fill:ne,stroke:re,strokeWidth:2},labels:oe}},ie),Object.assign({},oe,{padding:5}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ne,strokeWidth:2},labels:oe}},ie),Object.assign({colorScale:Jt,style:{data:{padding:8,stroke:te,strokeWidth:1},labels:Object.assign({},oe,{padding:20})}},ie),Object.assign({style:{data:{fill:ne,opacity:1,stroke:"transparent",strokeWidth:0},labels:oe}},ie),Object.assign({colorScale:Jt},ie),Object.assign({},oe,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},oe,{padding:5,pointerEvents:"none"}),flyout:{stroke:re,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},ie),"#FFFFFF"),le="#E8E8E8",de="#E0E0E0",fe="#D1D1D1",pe="#292929",he="#FF6F2C",ge="#F82B60",ye="#FF08C2",be="#8B46FF",me="#2D7FF9",ve="#18BFFF",xe="#20D9D2",we=[me,ye,xe,be,"#20C933",he,ve,ge,"#FCB400"],ke={width:450,height:300,padding:50,colorScale:we},Ee={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:pe,stroke:"transparent"},je=Object.assign({textAnchor:"middle"},Ee),Oe="10, 5",Se="round",Ae="round",Ce=(Object.assign({style:{data:{fill:ve},labels:Ee}},ke),Object.assign({style:{axis:{fill:"transparent",stroke:de,strokeWidth:1,strokeLinecap:Se,strokeLinejoin:Ae},axisLabel:Object.assign({},je,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Ee}},ke),Object.assign({style:{axis:{stroke:de},grid:{stroke:le,strokeDasharray:Oe,strokeLinecap:Se,strokeLinejoin:Ae,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:le,strokeWidth:1,strokeLinecap:Se,strokeLinejoin:Ae},tickLabels:Ee}}),Object.assign({style:{axis:{stroke:de},grid:{stroke:le,strokeDasharray:Oe,strokeLinecap:Se,strokeLinejoin:Ae,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:le,strokeWidth:1,strokeLinecap:Se,strokeLinejoin:Ae},tickLabels:Ee}}),Object.assign({style:{data:{fill:me,padding:8,strokeWidth:0},labels:Ee},cornerRadius:{top:1}},ke),Object.assign({style:{max:{padding:8,stroke:fe,strokeWidth:2},maxLabels:Object.assign({},Ee,{padding:3}),median:{padding:8,stroke:ue,strokeWidth:2},medianLabels:Object.assign({},Ee,{padding:3}),min:{padding:8,stroke:fe,strokeWidth:2},minLabels:Object.assign({},Ee,{padding:3}),q1:{padding:8,fill:xe,rx:1},q1Labels:Object.assign({},Ee,{padding:3}),q3:{padding:8,fill:xe,rx:1},q3Labels:Object.assign({},Ee,{padding:3})},boxWidth:20},ke),Object.assign({style:{data:{stroke:de,strokeWidth:0,rx:1},labels:Object.assign({},Ee,{padding:5})},candleColors:{positive:xe,negative:he},wickStrokeWidth:2},ke),Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#424242",strokeWidth:2,strokeLinecap:Se},labels:Ee}},ke),Object.assign({colorScale:we},ke),Object.assign({style:{data:{fill:ve,stroke:"transparent",strokeWidth:0},labels:Ee},binSpacing:4,cornerRadius:{top:1}},ke),Object.assign({},Ee,{padding:8,fontSize:20}),Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:ye,strokeWidth:2,strokeLinecap:Se,strokeLinejoin:Ae},labels:Ee}},ke),Object.assign({style:{data:{padding:8,stroke:ue,strokeWidth:1},labels:Object.assign({},Ee,{padding:20})},colorScale:we,cornerRadius:1},ke),Object.assign({style:{data:{fill:be,opacity:1,stroke:"transparent",strokeWidth:0},labels:Ee}},ke),Object.assign({colorScale:we},ke),Object.assign({},Ee,{padding:0,pointerEvents:"none"}),Object.assign({style:{data:{fill:"#FFDCE5",stroke:ge,strokeWidth:2},labels:Object.assign({},Ee,{padding:5,pointerEvents:"none"}),flyout:{stroke:pe,strokeWidth:1,fill:"#F2F2F2",pointerEvents:"none"},padding:{left:2,bottom:2}}},ke),Xt);var $e=r(7491),Me=r.n($e);const Pe=t=>+t;function Le(t){return t*t}function ze(t){return t*(2-t)}function We(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Ie(t){return t*t*t}function _e(t){return--t*t*t+1}function Ne(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Fe=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),De=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Be=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Te=Math.PI,He=Te/2;function Re(t){return 1==+t?1:1-Math.cos(t*He)}function qe(t){return Math.sin(t*He)}function Ge(t){return(1-Math.cos(Te*t))/2}function Ke(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Ve(t){return Ke(1-+t)}function Ue(t){return 1-Ke(t)}function Qe(t){return((t*=2)<=1?Ke(1-t):2-Ke(t-1))/2}function Ze(t){return 1-Math.sqrt(1-t*t)}function Ye(t){return Math.sqrt(1- --t*t)}function Xe(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Je=7.5625;function tn(t){return 1-en(1-t)}function en(t){return(t=+t)<.36363636363636365?Je*t*t:t<.7272727272727273?Je*(t-=.5454545454545454)*t+.75:t<.9090909090909091?Je*(t-=.8181818181818182)*t+.9375:Je*(t-=.9545454545454546)*t+.984375}function nn(t){return((t*=2)<=1?1-en(1-t):en(t-1)+1)/2}var rn=1.70158,on=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(rn),an=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(rn),sn=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(rn),cn=2*Math.PI,un=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=cn);function i(t){return e*Ke(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*cn)},i.period=function(n){return t(e,n)},i}(1,.3),ln=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=cn);function i(t){return 1-e*Ke(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*cn)},i.period=function(n){return t(e,n)},i}(1,.3),dn=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=cn);function i(t){return((t=2*t-1)<0?e*Ke(-t)*Math.sin((r-t)/n):2-e*Ke(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*cn)},i.period=function(n){return t(e,n)},i}(1,.3),fn=r(4143),pn=r.n(fn),hn=r(3849),gn=r.n(hn);function yn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function bn(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function mn(){}var vn=.7,xn=1/vn,wn="\\s*([+-]?\\d+)\\s*",kn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",En="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",jn=/^#([0-9a-f]{3,8})$/,On=new RegExp(`^rgb\\(${wn},${wn},${wn}\\)$`),Sn=new RegExp(`^rgb\\(${En},${En},${En}\\)$`),An=new RegExp(`^rgba\\(${wn},${wn},${wn},${kn}\\)$`),Cn=new RegExp(`^rgba\\(${En},${En},${En},${kn}\\)$`),$n=new RegExp(`^hsl\\(${kn},${En},${En}\\)$`),Mn=new RegExp(`^hsla\\(${kn},${En},${En},${kn}\\)$`),Pn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ln(){return this.rgb().formatHex()}function zn(){return this.rgb().formatRgb()}function Wn(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=jn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?In(e):3===n?new Dn(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?_n(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?_n(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=On.exec(t))?new Dn(e[1],e[2],e[3],1):(e=Sn.exec(t))?new Dn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=An.exec(t))?_n(e[1],e[2],e[3],e[4]):(e=Cn.exec(t))?_n(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=$n.exec(t))?Gn(e[1],e[2]/100,e[3]/100,1):(e=Mn.exec(t))?Gn(e[1],e[2]/100,e[3]/100,e[4]):Pn.hasOwnProperty(t)?In(Pn[t]):"transparent"===t?new Dn(NaN,NaN,NaN,0):null}function In(t){return new Dn(t>>16&255,t>>8&255,255&t,1)}function _n(t,e,n,r){return r<=0&&(t=e=n=NaN),new Dn(t,e,n,r)}function Nn(t){return t instanceof mn||(t=Wn(t)),t?new Dn((t=t.rgb()).r,t.g,t.b,t.opacity):new Dn}function Fn(t,e,n,r){return 1===arguments.length?Nn(t):new Dn(t,e,n,null==r?1:r)}function Dn(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Bn(){return`#${qn(this.r)}${qn(this.g)}${qn(this.b)}`}function Tn(){const t=Hn(this.opacity);return`${1===t?"rgb(":"rgba("}${Rn(this.r)}, ${Rn(this.g)}, ${Rn(this.b)}${1===t?")":`, ${t})`}`}function Hn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Rn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function qn(t){return((t=Rn(t))<16?"0":"")+t.toString(16)}function Gn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Vn(t,e,n,r)}function Kn(t){if(t instanceof Vn)return new Vn(t.h,t.s,t.l,t.opacity);if(t instanceof mn||(t=Wn(t)),!t)return new Vn;if(t instanceof Vn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Vn(a,s,c,t.opacity)}function Vn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Un(t){return(t=(t||0)%360)<0?t+360:t}function Qn(t){return Math.max(0,Math.min(1,t||0))}function Zn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Yn(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}yn(mn,Wn,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ln,formatHex:Ln,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Kn(this).formatHsl()},formatRgb:zn,toString:zn}),yn(Dn,Fn,bn(mn,{brighter(t){return t=null==t?xn:Math.pow(xn,t),new Dn(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?vn:Math.pow(vn,t),new Dn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Dn(Rn(this.r),Rn(this.g),Rn(this.b),Hn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Bn,formatHex:Bn,formatHex8:function(){return`#${qn(this.r)}${qn(this.g)}${qn(this.b)}${qn(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Tn,toString:Tn})),yn(Vn,(function(t,e,n,r){return 1===arguments.length?Kn(t):new Vn(t,e,n,null==r?1:r)}),bn(mn,{brighter(t){return t=null==t?xn:Math.pow(xn,t),new Vn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?vn:Math.pow(vn,t),new Vn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Dn(Zn(t>=240?t-240:t+120,i,r),Zn(t,i,r),Zn(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Vn(Un(this.h),Qn(this.s),Qn(this.l),Hn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Hn(this.opacity);return`${1===t?"hsl(":"hsla("}${Un(this.h)}, ${100*Qn(this.s)}%, ${100*Qn(this.l)}%${1===t?")":`, ${t})`}`}}));var Xn=t=>()=>t;function Jn(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Xn(isNaN(t)?e:t)}var tr=function t(e){var n=function(t){return 1==(t=+t)?Jn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Xn(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Fn(t)).r,(e=Fn(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Jn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function er(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=Fn(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function nr(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=lr(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function rr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function ir(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function or(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=lr(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}er((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return Yn((n-r/e)*e,a,i,o,s)}})),er((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return Yn((n-r/e)*e,i,o,a,s)}}));var ar=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,sr=new RegExp(ar.source,"g");function cr(t,e){var n,r,i,o=ar.lastIndex=sr.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=ar.exec(t))&&(r=sr.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:ir(n,r)})),o=sr.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function ur(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function lr(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?Xn(e):("number"===i?ir:"string"===i?(n=Wn(e))?(e=n,tr):cr:e instanceof Wn?tr:e instanceof Date?rr:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?nr:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?or:ir:ur))(t,e)}const dr=function(t){if(null!==t)switch(typeof t){case"undefined":case"boolean":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return t instanceof Date||Array.isArray(t)||gn()(t)}return!1},fr=function(t,e,n){return void 0===n&&(n=0),function(r){return r<n?t:e}},pr=function(t,e){return function(n){return n>=1?e:function(){const r="function"==typeof t?t.apply(this,arguments):t,i="function"==typeof e?e.apply(this,arguments):e;return lr(r,i)(n)}}},hr=function(t,e){const n=t=>Array.isArray(t)?pn()(t,"key"):t,r={},i={};let o,a=t,s=e;for(o in null!==a&&"object"==typeof a||(a={}),null!==s&&"object"==typeof s||(s={}),s)o in a?r[o]=(c=n(a[o]))!==(u=n(s[o]))&&dr(c)&&dr(u)?"function"==typeof c||"function"==typeof u?pr(c,u):"object"==typeof c&&gn()(c)||"object"==typeof u&&gn()(u)?hr(c,u):lr(c,u):fr(c,u):i[o]=s[o];var c,u;return function(t){for(o in r)i[o]=r[o](t);return i}};var gr,yr,br=0,mr=0,vr=0,xr=0,wr=0,kr=0,Er="object"==typeof performance&&performance.now?performance:Date,jr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Or(){return wr||(jr(Sr),wr=Er.now()+kr)}function Sr(){wr=0}function Ar(){this._call=this._time=this._next=null}function Cr(t,e,n){var r=new Ar;return r.restart(t,e,n),r}function $r(){wr=(xr=Er.now())+kr,br=mr=0;try{!function(){Or(),++br;for(var t,e=gr;e;)(t=wr-e._time)>=0&&e._call.call(void 0,t),e=e._next;--br}()}finally{br=0,function(){for(var t,e,n=gr,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:gr=e);yr=t,Pr(r)}(),wr=0}}function Mr(){var t=Er.now(),e=t-xr;e>1e3&&(kr-=e,xr=t)}function Pr(t){br||(mr&&(mr=clearTimeout(mr)),t-wr>24?(t<1/0&&(mr=setTimeout($r,t-Er.now()-kr)),vr&&(vr=clearInterval(vr))):(vr||(xr=Er.now(),vr=setInterval(Mr,1e3)),br=1,jr($r)))}Ar.prototype=Cr.prototype={constructor:Ar,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Or():+n)+(null==e?0:+e),this._next||yr===this||(yr?yr._next=this:gr=this,yr=this),this._call=t,this._time=n,Pr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Pr())}};class Lr{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((t=>{t.callback(Or()-t.startTime,t.duration)}))};start(){this.timer||(this.timer=Cr(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(t,e){const n=this.subscribers.push({startTime:Or(),callback:t,duration:this.shouldAnimate?e:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(t){null!==t&&this.subscribers[t-1]&&(delete this.subscribers[t-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const zr=o().createContext({transitionTimer:new Lr,animationTimer:new Lr});zr.displayName="TimerContext";var Wr=zr;const Ir=1e3,_r=t=>{let{duration:n=Ir,easing:r="quadInOut",delay:i=0,data:a,children:s,onEnd:c}=t;const[u,l]=o().useState({data:Array.isArray(a)?a[0]:a,animationInfo:{progress:0,animating:!1}}),d=o().useContext(Wr).animationTimer,f=o().useRef(Array.isArray(a)?a.slice(1):[]),p=o().useRef(null),h=o().useRef(void 0),g=e[(y=r,`ease${y.charAt(0).toUpperCase()+y.slice(1)}`)];var y;o().useEffect((()=>(f.current.length&&b(),()=>{h.current?d.unsubscribe(h.current):d.stop()})),[]),o().useEffect((()=>{p.current&&u.animationInfo&&u.animationInfo.progress<1?l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(d.unsubscribe(h.current),f.current=Array.isArray(a)?a:[a],b())}),[a]);const b=()=>{if(f.current.length){const r=f.current[0];p.current=(t=u.data)!==(e=r)&&dr(t)&&dr(e)?"function"==typeof t||"function"==typeof e?pr(t,e):gn()(t)||gn()(e)?hr(t,e):"string"==typeof t||"string"==typeof e?function(t,e){const n=t=>"string"==typeof t?t.replace(/,/g,""):t;return lr(n(t),n(e))}(t,e):lr(t,e):fr(t,e),i?setTimeout((()=>{h.current=d.subscribe(m,n)}),i):h.current=d.subscribe(m,n)}else c&&c();var t,e},m=t=>{if(!p.current)return;const e=n?t/n:1;if(e>=1)return l({data:p.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),h.current&&d.unsubscribe(h.current),f.current.shift(),void b();l({data:p.current(g(e)),animationInfo:{progress:e,animating:e<1}})};return s(u.data,u.animationInfo)};function Nr(t){return Array.isArray(t)&&t.some((t=>t instanceof Date))}function Fr(t,e){return t&&e?t.filter((t=>!e.includes(t))):[]}function Dr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const i=t.concat(n);return Nr(i)?new Date(Math.max(...i)):Math.max(...i)}function Br(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const i=t.concat(n);return Nr(i)?new Date(Math.min(...i)):Math.min(...i)}var Tr=r(5346),Hr=r.n(Tr);function Rr(t,e){return(t.key||e).toString()}function qr(t){return t.reduce(((t,e,n)=>(t[Rr(e,n)]=e,t)),{})}function Gr(t,e){let n=!1;const r=Object.keys(t).reduce(((t,r)=>(r in e||(n=!0,t[r]=!0),t)),{});return n&&r}function Kr(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function Vr(t,e){let n=!1,r=!1;const i=(t,e)=>t.map(((a,s)=>a&&a.props&&a.props.children&&e[s]?i(o().Children.toArray(t[s].props.children),o().Children.toArray(e[s].props.children)):((t,e)=>{if(!e||t.type!==e.type)return{};const{entering:i,exiting:o}=function(t,e){const n=t&&qr(t),r=e&&qr(e);return{entering:n&&Gr(r,n),exiting:r&&Gr(n,r)}}(Kr(t),Kr(e))||{};return n=n||!!o,r=r||!!i,{entering:i||!1,exiting:o||!1}})(a,e[s]))),a=i(o().Children.toArray(t),o().Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:a,nodesShouldEnter:!1}}function Ur(t,e,n){const r=e&&e.nodesWillExit,i=e&&e.nodesWillEnter,o=e&&e.nodesShouldEnter,a=e&&e.nodesShouldLoad,s=e&&e.nodesDoneLoad,c=e&&e.childrenTransitions||[],u={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},l=(t,e,r)=>a?function(t,e,r){const i=Object.assign({},t,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let o=e;if(i&&i.onLoad&&!i.onLoad.duration)return{animate:t,data:e};const a=t.onLoad&&t.onLoad.after?t.onLoad.after:Hr();return o=e.map(((t,n)=>Object.assign({},t,a(t,n,e)))),{animate:i,data:o}}(r,e):function(t,e,r,i){const o=Object.assign({},t,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(o&&o.onLoad&&!o.onLoad.duration)return{animate:o,data:r};const a=o.onLoad&&o.onLoad.before?o.onLoad.before:Hr();return{animate:o,data:r.map(((t,e)=>Object.assign({},t,a(t,e,r)))),clipWidth:0}}(r,0,e),f=(t,e,r,i)=>function(t,e,r,i,o){const a=t&&t.onExit,s=Object.assign({},t,a);let c=r;if(i){t.onEnd=()=>{n({nodesWillExit:!1})};const e=t.onExit&&t.onExit.before?t.onExit.before:Hr();c=r.map(((t,n)=>{const o=(t.key||n).toString();return i[o]?Object.assign({},t,e(t,n,r)):t}))}return{animate:s,data:c}}(i,0,r,t),p=(t,e,r,i)=>o?function(t,e,r,i){const o=t&&t.onEnter,a=Object.assign({},t,o);let s=e;if(r){a.onEnd=()=>{n({nodesWillEnter:!1})};const t=a.onEnter&&a.onEnter.after?a.onEnter.after:Hr();s=e.map(((n,i)=>{const o=Rr(n,i);return r[o]?Object.assign({},n,t(n,i,e)):n}))}return{animate:a,data:s}}(i,r,t):function(t,e,r,i,o){let a=t,s=r;if(i){a=Object.assign({},t,{onEnd:()=>{n({nodesShouldEnter:!0})}});const e=t.onEnter&&t.onEnter.before?t.onEnter.before:Hr();s=r.map(((t,n)=>{const o=(t.key||n).toString();return i[o]?Object.assign({},t,e(t,n,r)):t}))}return{animate:a,data:s}}(i,0,r,t),h=function(t,e){const n=t.props.animate;if(!t.type)return{};const r=t.props&&t.props.polar&&t.type.defaultPolarTransitions||t.type.defaultTransitions;if(r){const t=n[e]&&n[e].duration;return void 0!==t?t:r[e]&&r[e].duration}return{}};return function(n,a){const g=Kr(n)||[],y=d()({},t.animate,n.props.animate),b=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;y.onExit=d()({},y.onExit,b&&b.onExit),y.onEnter=d()({},y.onEnter,b&&b.onEnter),y.onLoad=d()({},y.onLoad,b&&b.onLoad);const m=c[a]||c[0];if(!s){const t={duration:void 0!==u.load?u.load:h(n,"onLoad")};return l(0,g,Object.assign({},y,t))}if(r){const t=m&&m.exiting,e=void 0!==u.exit?u.exit:h(n,"onExit"),r=t?{duration:e}:{delay:e};return f(t,0,g,Object.assign({},y,r))}if(i){const t=m&&m.entering,e=void 0!==u.enter?u.enter:h(n,"onEnter"),r=void 0!==u.move?u.move:n.props.animate&&n.props.animate.duration,i={duration:o&&t?e:r};return p(t,0,g,Object.assign({},y,i))}return!e&&y&&y.onExit?function(t,e){const n=t.onEnter&&t.onEnter.after?t.onEnter.after:Hr();return{data:e.map(((t,r)=>Object.assign({},t,n(t,r,e))))}}(y,g):{animate:y,data:g}}}function Qr(){return Qr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Qr.apply(this,arguments)}class Zr extends o().Component{static displayName="VictoryTransition";static contextType=Wr;constructor(t,e){super(t,e),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const n=this.props.children,r=n.props.polar;this.continuous=!r&&n.type&&!0===n.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(t){return Me()(this.props,t)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,t),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(t,e){const{animate:n}=t;if(!n)return{};if(n.parentState)return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e};const r=o().Children.toArray(t.children),i=o().Children.toArray(e.children),{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u}=Vr(r,i);return{nodesWillExit:a,nodesWillEnter:s,childrenTransitions:c,nodesShouldEnter:u,oldProps:a?t:null,nextProps:e}}getDomainFromChildren(t,e){const n=t=>t.reduce(((t,r)=>{if(r.type&&E(r.type.getDomain)){const n=r.props&&r.type.getDomain(r.props,e);return n?t.concat(n):t}return r.props&&r.props.children?t.concat(n(o().Children.toArray(r.props.children))):t}),[]),r=o().Children.toArray(t.children)[0],i=r.props||{},a=Array.isArray(i.domain)?i.domain:i.domain&&i.domain[e];if(!i.children&&a)return a;const s=n([r]);return 0===s.length?[0,1]:[Br(s),Dr(s)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(t){const e=t.animate?.parentState;return e&&e.nodesWillExit?(this.continuous||e.continuous)&&(e.nextProps||this.state.nextProps)||t:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||t}getClipWidth(t,e){const n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:(()=>{const n=function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?function(t,e){return"x"===e?[x(t.startAngle||0),x(t.endAngle||360)]:[t.innerRadius||0,w(t)]}(t,e):function(t,e){const n="x"!==e,r=b(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]}(t,e)}(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width})()}render(){const t=this.pickProps(),e=this.props.animate?.getTransitions?this.props.animate.getTransitions:Ur(t,this.state,(t=>this.setState(t))),n=o().Children.toArray(t.children)[0],r=e(n);this.transitionProps=r;const i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},a=this.getClipWidth(t,n),s=d()({domain:i,clipWidth:a},r,n.props),c=(t.animationWhitelist||[]).concat(["clipWidth"]),u=c.length?h()(s,c):s;return o().createElement(_r,Qr({},s.animate,{data:u}),(t=>{if(n.props.groupComponent){const e=this.continuous?o().cloneElement(n.props.groupComponent,{clipWidth:t.clipWidth||0}):n.props.groupComponent;return o().cloneElement(n,d()({animate:null,animating:!0,groupComponent:e},t,s))}return o().cloneElement(n,d()({animate:null,animating:!0},t,s))}))}}var Yr=r(9602),Xr=r.n(Yr),Jr=r(1616),ti=r.n(Jr),ei=r(4912),ni=r.n(ei);const ri=/^onGlobal(.*)$/;function ii(t,e,n,r){const i=t=>{const r=(()=>{const r=t.reduce(((t,n)=>void 0!==n.target?(Array.isArray(n.target)?n.target.includes(e):`${n.target}`==`${e}`)?t.concat(n):t:t.concat(n)),[]);return void 0!==n&&"parent"!==e?r.filter((t=>{const e=t.eventKey,r=t=>!t||`${t}`==`${n}`;return Array.isArray(e)?e.some((t=>r(t))):r(e)})):r})();return Array.isArray(r)&&r.reduce(((t,e)=>e?Object.assign(t,e.eventHandlers):t),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events)(),a=o&&E(r)?r(i(o),e):void 0;if(!t.sharedEvents)return a;const s=t.sharedEvents.getEvents,c=t.sharedEvents.events&&s(i(t.sharedEvents.events),e);return Object.assign({},c,a)}function oi(t,e,n,r){if($t()(t))return{};const i=r||this.baseProps,o=(t,e)=>{const{childName:n,target:r,key:o}=t,a="props"===e?i:this.state||{},s=null!=n&&a[n]?a[n]:a;return"parent"===o?s.parent:s[o]&&s[o][r]},a=(t,r)=>{const a="parent"===e?t.childName:t.childName||n,s=t.target||e,c=(e,n)=>{const r=this.state||{};if(!E(t.mutation))return r;const a=o({childName:n,key:e,target:s},"props"),c=o({childName:n,key:e,target:s},"state"),u=t.mutation(Object.assign({},a,c),i),l=r[n]||{},d=t=>u?(t=>"parent"===s?Object.assign(t,{[e]:Object.assign(t[e]||{},u)}):Object.assign(t,{[e]:Object.assign(t[e]||{},{[s]:u})}))(t):(t=>(t[e]&&t[e][s]&&delete t[e][s],t[e]&&!Object.keys(t[e]).length&&delete t[e],t))(t);return null!=n?Object.assign(r,{[n]:d(l)}):d(r)},u=e=>{const n=(e=>"parent"===s?"parent":"all"===t.eventKey?i[e]?Object.keys(i[e]).filter((t=>"parent"!==t)):Object.keys(i).filter((t=>"parent"!==t)):void 0===t.eventKey&&"parent"===r?i[e]?Object.keys(i[e]):Object.keys(i):void 0!==t.eventKey?t.eventKey:r)(e);return Array.isArray(n)?n.reduce(((t,n)=>Object.assign(t,c(n,e))),{}):c(n,e)},l="all"===a?Object.keys(i).filter((t=>"parent"!==t)):a;return Array.isArray(l)?l.reduce(((t,e)=>Object.assign(t,u(e))),{}):u(l)},s=(e,n,r,i)=>{const o=t[i](e,n,r,this);if(!$t()(o)){const t=(t=>{const e=t=>E(t.callback)&&t.callback,n=(Array.isArray(t)?t.map((t=>e(t))):[e(t)]).filter((t=>!1!==t));return n.length?()=>n.forEach((t=>t())):void 0})(o);this.setState(((t,e)=>Array.isArray(t)?t.reduce(((t,n)=>Object.assign({},t,a(n,e))),{}):a(t,e))(o,r),t)}};return Object.keys(t).reduce(((t,e)=>(t[e]=s,t)),{})}function ai(t,e,n){const r=this.state||{};return n?r[n]&&r[n][t]&&r[n][t][e]:"parent"===t?r[t]&&r[t][e]||r[t]:r[t]&&r[t][e]}function si(t,e,n,r){const i=(t,e)=>"string"==typeof t[e]?"all"===t[e]||t[e]===r[e]:!!Array.isArray(t[e])&&t[e].map((t=>`${t}`)).includes(r[e]);let o=Array.isArray(t)?t:[t];r.childName&&(o=t.filter((t=>i(t,"childName"))));const a=o.filter((t=>i(t,"target")));if($t()(a))return;const s=a.filter((t=>i(t,"eventKey")));return $t()(s)?void 0:s.reduce(((t,r)=>{const i=(r&&E(r.mutation)?r.mutation:()=>{})(Object.assign({},e,n));return Object.assign({},t,i)}),{})}function ci(t){const e=t.match(ri);return e&&e[1]&&e[1].toLowerCase()}const ui=t=>!k(t._x)&&!k(t._y),li=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}],di={orientation:"vertical",titleOrientation:"top",width:450,height:300,x:0,y:0},fi=[{name:"Series 1"},{name:"Series 2"}];class pi extends o().Component{static displayName="VictoryLegend";static role="legend";static defaultProps={borderComponent:o().createElement(tt,null),data:fi,containerComponent:o().createElement(pt,null),dataComponent:o().createElement(At,null),groupComponent:o().createElement("g",null),labelComponent:o().createElement(Gt,null),standalone:!0,theme:Ce,titleComponent:o().createElement(Gt,null)};static getBaseProps(t){return Q(t,di)}static getDimensions(t){return U(t,di)}static expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"];renderChildren(t){const{dataComponent:e,labelComponent:n,title:r}=t,i=[];if(t.borderComponent){const e=this.getComponentProps(t.borderComponent,"border","all"),n=o().cloneElement(t.borderComponent,e);i.push(n)}if(e){const t=this.dataKeys.map(((t,n)=>{if("all"===t)return;const r=this.getComponentProps(e,"data",n);return o().cloneElement(e,r)})).filter((t=>void 0!==t));i.push(...t)}if(r&&t.titleComponent){const e=this.getComponentProps(r,"title","all"),n=o().cloneElement(t.titleComponent,e);i.push(n)}if(n){const t=this.dataKeys.map(((t,e)=>{if("all"===t)return;const r=this.getComponentProps(n,"labels",e);return void 0!==r.text&&null!==r.text?o().cloneElement(n,r):void 0})).filter((t=>void 0!==t));i.push(...t)}return i}render(){const{role:t}=this.constructor,e=j(this.props,di,t),n=this.renderChildren(e);return e.standalone?this.renderContainer(e.containerComponent,n):o().cloneElement(e.groupComponent,{},n)}}const hi=(gi=pi,void 0===yi&&(yi={}),class extends gi{constructor(t){super(t),this.cacheValues(this.getCalculatedValues(t))}state={};getEventState=ai.bind(this);getScopedEvents=oi.bind(this);getEvents=(t,e,n)=>ii.call(this,t,e,n,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(t){const e=this.getExternalMutations(t),n=this.props.animating||this.props.animate,r=!Me()(e,this.externalMutations);if(n||r)return this.cacheValues(this.getCalculatedValues(t)),this.externalMutations=e,this.applyExternalMutations(t,e),!0;const i=this.getStateChanges(t);return Me()(this.calculatedState,i)?!Me()(this.props,t)&&(this.cacheValues(this.getCalculatedValues(t)),!0):(this.cacheValues(this.getCalculatedValues(t)),!0)}componentDidMount(){const t=Object.keys(this.globalEvents);t.forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=t}componentDidUpdate(t){const e=this.getStateChanges(t);this.calculatedState=e;const n=Object.keys(this.globalEvents);Fr(this.prevGlobalEventKeys,n).forEach((t=>this.removeGlobalListener(t))),Fr(n,this.prevGlobalEventKeys).forEach((t=>this.addGlobalListener(t))),this.prevGlobalEventKeys=n}componentWillUnmount(){this.prevGlobalEventKeys.forEach((t=>this.removeGlobalListener(t)))}addGlobalListener(t){const e=e=>{const n=this.globalEvents[t];return n&&n((t=>Object.assign(t,{nativeEvent:t}))(e))};this.boundGlobalEvents[t]=e,window.addEventListener(ci(t),e)}removeGlobalListener(t){window.removeEventListener(ci(t),this.boundGlobalEvents[t])}getStateChanges(t){if(!this.hasEvents)return{};const e=(t,e)=>{const n=d()({},this.getEventState(t,e),this.getSharedEventState(t,e));return $t()(n)?void 0:n};return(yi.components||li).map((n=>{if(t.standalone||"parent"!==n.name)return void 0!==n.index?e(n.index,n.name):this.dataKeys.map((t=>e(t,n.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(t,e){if(!$t()(e)){const n=t.externalEventMutations.reduce(((t,e)=>E(e.callback)?t.concat(e.callback):t),[]),r=n.length?()=>{n.forEach((t=>t()))}:void 0;this.setState(e,r)}}getCalculatedValues(t){const{sharedEvents:e}=t,n=function(t,e){const n=Array.isArray(e)&&e.reduce(((e,n)=>{const r=t[n],i=r&&r.type&&r.type.defaultEvents,o=E(i)?i(r.props):i;return Array.isArray(o)?e.concat(...o):e}),[]);return n&&n.length?n:void 0}(t,gi.expectedComponents),r=e&&E(e.getEventState)?e.getEventState:()=>{},i=this.getBaseProps(t,r);return{componentEvents:n,getSharedEventState:r,baseProps:i,dataKeys:Object.keys(i).filter((t=>"parent"!==t)),hasEvents:t.events||t.sharedEvents||n,events:this.getAllEvents(t)}}getExternalMutations(t){const{sharedEvents:e,externalEventMutations:n}=t;return $t()(n)||e?void 0:function(t,e,n,r){return void 0===e&&(e={}),void 0===n&&(n={}),Object.keys(e).reduce(((i,o)=>{const a=n[o]||{},s=e[o]||{};if("parent"===o){const e=si(t,s,a,{eventKey:o,target:"parent"});i[o]=void 0!==e?Object.assign({},a,e):a}else{const e=Xr()(Object.keys(s).concat(Object.keys(a)));i[o]=e.reduce(((e,n)=>{const i={eventKey:o,target:n,childName:r},c=si(t,s[n],a[n],i);return e[n]=void 0!==c?Object.assign({},a[n],c):a[n],ni()(e,(t=>!$t()(t)))}),{})}return ni()(i,(t=>!$t()(t)))}),{})}(n,this.baseProps,this.state)}cacheValues(t){Object.keys(t).forEach((e=>{this[e]=t[e]}))}getBaseProps(t,e){const n=(e||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),i=d()({},r,n),o=i.parentControlledProps,a=o?h()(i,o):{},s=d()({},a,t);return"function"==typeof gi.getBaseProps?gi.getBaseProps(s):{}}getAllEvents(t){return Array.isArray(this.componentEvents)?Array.isArray(t.events)?this.componentEvents.concat(...t.events):this.componentEvents:t.events}getComponentProps(t,e,n){const r=this.props.name||gi.role,i=this.dataKeys&&this.dataKeys[n]||n,o=`${r}-${e}-${i}`,a=this.baseProps[i]&&this.baseProps[i][e]||this.baseProps[i];if(!a&&!this.hasEvents)return;const s=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const t=this.getEvents(this.props,e,i),r=d()({index:n,key:o},this.getEventState(i,e),this.getSharedEventState(i,e),s,a,{id:o}),c=d()({},function(t,e,n){return t?Object.keys(t).reduce(((r,i)=>(r[i]=r=>t[i](r,n,e,i),r)),{}):{}}(t,i,r),r.events);return Object.assign({},r,{events:c})}return d()({index:n,key:o},s,a,{id:o})}renderContainer(t,e){const n=t.type&&"container"===t.type.role?this.getComponentProps(t,"parent","parent"):{};var r;return n.events&&(this.globalEvents=(r=n.events,ni()(r,((t,e)=>ri.test(e)))),n.events=(t=>ti()(t,((t,e)=>ri.test(e))))(n.events)),o().cloneElement(t,n,e)}animateComponent(t,e){const n="object"==typeof t.animate&&t.animate?.animationWhitelist||e,r=this.constructor;return o().createElement(Zr,{animate:t.animate,animationWhitelist:n},o().createElement(r,t))}renderContinuousData(t){const{dataComponent:e,labelComponent:n,groupComponent:r}=t,i=this.dataKeys.filter((t=>"all"!==t)),a=i.reduce(((t,e)=>{let r=t;const i=this.getComponentProps(n,"labels",e);return i&&void 0!==i.text&&null!==i.text&&(r=r.concat(o().cloneElement(n,i))),r}),[]),s=this.getComponentProps(e,"data","all"),c=[o().cloneElement(e,s),...a];return this.renderContainer(r,c)}renderData(t,e){void 0===e&&(e=ui);const{dataComponent:n,labelComponent:r,groupComponent:i}=t,a=[...this.dataKeys.reduce(((t,r,i)=>{const a=this.getComponentProps(n,"data",i);return e(a.datum)&&t.push(o().cloneElement(n,a)),t}),[]),...this.dataKeys.map(((t,e)=>{const n=this.getComponentProps(r,"labels",e);if(void 0!==n.text&&null!==n.text)return o().cloneElement(r,n)})).filter(Boolean)];return this.renderContainer(i,a)}});var gi,yi}(),i}()}));
2
2
  //# sourceMappingURL=victory-legend.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-legend",
3
- "version": "37.1.0",
3
+ "version": "37.1.2",
4
4
  "description": "Legend Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -21,7 +21,7 @@
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
- "victory-core": "37.1.0"
24
+ "victory-core": "37.1.2"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=16.6.0"