@undp/data-viz 2.4.1 → 2.5.1

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.
Files changed (271) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +11 -9
  4. package/dist/AreaChart.js +320 -322
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/BarGraph.cjs +1 -1
  7. package/dist/BarGraph.cjs.map +1 -1
  8. package/dist/BarGraph.d.ts +15 -25
  9. package/dist/BarGraph.js +1694 -1694
  10. package/dist/BarGraph.js.map +1 -1
  11. package/dist/BasicStatCard.cjs +1 -1
  12. package/dist/BasicStatCard.cjs.map +1 -1
  13. package/dist/BasicStatCard.d.ts +13 -9
  14. package/dist/BasicStatCard.js +79 -81
  15. package/dist/BasicStatCard.js.map +1 -1
  16. package/dist/BeeSwarmChart.cjs +1 -1
  17. package/dist/BeeSwarmChart.cjs.map +1 -1
  18. package/dist/BeeSwarmChart.d.ts +11 -9
  19. package/dist/BeeSwarmChart.js +335 -336
  20. package/dist/BeeSwarmChart.js.map +1 -1
  21. package/dist/BiVariateChoroplethMap.cjs +1 -1
  22. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  23. package/dist/BiVariateChoroplethMap.d.ts +13 -3
  24. package/dist/BiVariateChoroplethMap.js +309 -304
  25. package/dist/BiVariateChoroplethMap.js.map +1 -1
  26. package/dist/BulletChart.cjs +1 -1
  27. package/dist/BulletChart.cjs.map +1 -1
  28. package/dist/BulletChart.d.ts +11 -5
  29. package/dist/BulletChart.js +560 -559
  30. package/dist/BulletChart.js.map +1 -1
  31. package/dist/ButterflyChart.cjs +1 -1
  32. package/dist/ButterflyChart.cjs.map +1 -1
  33. package/dist/ButterflyChart.d.ts +11 -9
  34. package/dist/ButterflyChart.js +348 -350
  35. package/dist/ButterflyChart.js.map +1 -1
  36. package/dist/ChoroplethMap.cjs +1 -1
  37. package/dist/ChoroplethMap.cjs.map +1 -1
  38. package/dist/ChoroplethMap.d.ts +11 -3
  39. package/dist/ChoroplethMap.js +314 -311
  40. package/dist/ChoroplethMap.js.map +1 -1
  41. package/dist/CirclePackingGraph.cjs +1 -1
  42. package/dist/CirclePackingGraph.d.ts +11 -9
  43. package/dist/CirclePackingGraph.js +1 -1
  44. package/dist/DataCards.cjs +1 -1
  45. package/dist/DataCards.d.ts +1 -1
  46. package/dist/DataCards.js +1 -1
  47. package/dist/DataTable.cjs +1 -1
  48. package/dist/DataTable.cjs.map +1 -1
  49. package/dist/DataTable.d.ts +4 -5
  50. package/dist/DataTable.js +114 -116
  51. package/dist/DataTable.js.map +1 -1
  52. package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
  53. package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
  54. package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
  55. package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
  56. package/dist/DifferenceLineChart.cjs +1 -1
  57. package/dist/DifferenceLineChart.cjs.map +1 -1
  58. package/dist/DifferenceLineChart.d.ts +11 -9
  59. package/dist/DifferenceLineChart.js +502 -504
  60. package/dist/DifferenceLineChart.js.map +1 -1
  61. package/dist/DonutChart.cjs +1 -1
  62. package/dist/DonutChart.cjs.map +1 -1
  63. package/dist/DonutChart.d.ts +14 -9
  64. package/dist/DonutChart.js +174 -179
  65. package/dist/DonutChart.js.map +1 -1
  66. package/dist/DotDensityMap.cjs +1 -1
  67. package/dist/DotDensityMap.cjs.map +1 -1
  68. package/dist/DotDensityMap.d.ts +1 -1
  69. package/dist/DotDensityMap.js +270 -267
  70. package/dist/DotDensityMap.js.map +1 -1
  71. package/dist/DualAxisLineChart.cjs +1 -1
  72. package/dist/DualAxisLineChart.cjs.map +1 -1
  73. package/dist/DualAxisLineChart.d.ts +13 -9
  74. package/dist/DualAxisLineChart.js +341 -351
  75. package/dist/DualAxisLineChart.js.map +1 -1
  76. package/dist/DumbbellChart.cjs +1 -1
  77. package/dist/DumbbellChart.cjs.map +1 -1
  78. package/dist/DumbbellChart.d.ts +11 -9
  79. package/dist/DumbbellChart.js +592 -593
  80. package/dist/DumbbellChart.js.map +1 -1
  81. package/dist/GeoHubCompareMaps.cjs +1 -1
  82. package/dist/GeoHubCompareMaps.d.ts +1 -1
  83. package/dist/GeoHubCompareMaps.js +1 -1
  84. package/dist/GeoHubMap.cjs +1 -1
  85. package/dist/GeoHubMap.d.ts +1 -1
  86. package/dist/GeoHubMap.js +1 -1
  87. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  88. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
  89. package/dist/GeoHubMapWithLayerSelection.js +1 -1
  90. package/dist/GraphEl-BgkDbq50.cjs +2 -0
  91. package/dist/GraphEl-BgkDbq50.cjs.map +1 -0
  92. package/dist/GraphEl-Ch0uAeZw.js +1830 -0
  93. package/dist/GraphEl-Ch0uAeZw.js.map +1 -0
  94. package/dist/GriddedGraphs.cjs +1 -1
  95. package/dist/GriddedGraphs.d.ts +29 -16
  96. package/dist/GriddedGraphs.js +1 -1
  97. package/dist/GriddedGraphsFromConfig.d.ts +29 -16
  98. package/dist/HeatMap.cjs +1 -1
  99. package/dist/HeatMap.cjs.map +1 -1
  100. package/dist/HeatMap.d.ts +11 -9
  101. package/dist/HeatMap.js +203 -205
  102. package/dist/HeatMap.js.map +1 -1
  103. package/dist/Histogram.cjs +1 -1
  104. package/dist/Histogram.cjs.map +1 -1
  105. package/dist/Histogram.d.ts +11 -5
  106. package/dist/Histogram.js +88 -89
  107. package/dist/Histogram.js.map +1 -1
  108. package/dist/HybridMap.cjs +1 -1
  109. package/dist/HybridMap.cjs.map +1 -1
  110. package/dist/HybridMap.d.ts +11 -3
  111. package/dist/HybridMap.js +339 -336
  112. package/dist/HybridMap.js.map +1 -1
  113. package/dist/ImageDownloadButton.cjs +1 -1
  114. package/dist/ImageDownloadButton.js +1 -1
  115. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  116. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  117. package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
  118. package/dist/LineChartWithConfidenceInterval.js +393 -395
  119. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  120. package/dist/LinearColorLegend.cjs +1 -1
  121. package/dist/LinearColorLegend.js +1 -1
  122. package/dist/MultiGraphDashboard.d.ts +29 -16
  123. package/dist/MultiGraphDashboardFromConfig.d.ts +29 -16
  124. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
  125. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
  126. package/dist/MultiLineAltChart.cjs +1 -1
  127. package/dist/MultiLineAltChart.cjs.map +1 -1
  128. package/dist/MultiLineAltChart.d.ts +11 -9
  129. package/dist/MultiLineAltChart.js +411 -413
  130. package/dist/MultiLineAltChart.js.map +1 -1
  131. package/dist/MultiLineChart.cjs +1 -1
  132. package/dist/MultiLineChart.cjs.map +1 -1
  133. package/dist/MultiLineChart.d.ts +11 -9
  134. package/dist/MultiLineChart.js +438 -440
  135. package/dist/MultiLineChart.js.map +1 -1
  136. package/dist/ParetoChart.cjs +1 -1
  137. package/dist/ParetoChart.cjs.map +1 -1
  138. package/dist/ParetoChart.d.ts +13 -13
  139. package/dist/ParetoChart.js +347 -355
  140. package/dist/ParetoChart.js.map +1 -1
  141. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +29 -16
  142. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +29 -16
  143. package/dist/PerformanceIntensiveScrollStory.d.ts +29 -16
  144. package/dist/RadarChart.cjs +1 -1
  145. package/dist/RadarChart.cjs.map +1 -1
  146. package/dist/RadarChart.d.ts +11 -5
  147. package/dist/RadarChart.js +213 -213
  148. package/dist/RadarChart.js.map +1 -1
  149. package/dist/SankeyChart.cjs +1 -1
  150. package/dist/SankeyChart.cjs.map +1 -1
  151. package/dist/SankeyChart.d.ts +11 -9
  152. package/dist/SankeyChart.js +448 -450
  153. package/dist/SankeyChart.js.map +1 -1
  154. package/dist/ScatterPlot.cjs +1 -1
  155. package/dist/ScatterPlot.cjs.map +1 -1
  156. package/dist/ScatterPlot.d.ts +15 -13
  157. package/dist/ScatterPlot.js +477 -483
  158. package/dist/ScatterPlot.js.map +1 -1
  159. package/dist/ScrollStory.d.ts +29 -16
  160. package/dist/SimpleLineChart.cjs +1 -1
  161. package/dist/SimpleLineChart.cjs.map +1 -1
  162. package/dist/SimpleLineChart.d.ts +11 -9
  163. package/dist/SimpleLineChart.js +362 -364
  164. package/dist/SimpleLineChart.js.map +1 -1
  165. package/dist/SingleGraphDashboard.cjs +1 -1
  166. package/dist/SingleGraphDashboard.d.ts +29 -16
  167. package/dist/SingleGraphDashboard.js +1 -1
  168. package/dist/SingleGraphDashboardFromConfig.d.ts +29 -16
  169. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +29 -16
  170. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +29 -16
  171. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  172. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  173. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +29 -16
  174. package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
  175. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  176. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +29 -16
  177. package/dist/SlopeChart.cjs +1 -1
  178. package/dist/SlopeChart.d.ts +1 -1
  179. package/dist/SlopeChart.js +2 -2
  180. package/dist/SparkLine.cjs +1 -1
  181. package/dist/SparkLine.d.ts +1 -1
  182. package/dist/SparkLine.js +1 -1
  183. package/dist/StatCardFromData.cjs +1 -1
  184. package/dist/StatCardFromData.cjs.map +1 -1
  185. package/dist/StatCardFromData.d.ts +11 -9
  186. package/dist/StatCardFromData.js +113 -116
  187. package/dist/StatCardFromData.js.map +1 -1
  188. package/dist/StripChart.cjs +1 -1
  189. package/dist/StripChart.cjs.map +1 -1
  190. package/dist/StripChart.d.ts +11 -9
  191. package/dist/StripChart.js +434 -435
  192. package/dist/StripChart.js.map +1 -1
  193. package/dist/ThreeDGlobe.cjs +1 -1
  194. package/dist/ThreeDGlobe.cjs.map +1 -1
  195. package/dist/ThreeDGlobe.d.ts +11 -3
  196. package/dist/ThreeDGlobe.js +143 -143
  197. package/dist/ThreeDGlobe.js.map +1 -1
  198. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  199. package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
  200. package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
  201. package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
  202. package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
  203. package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
  204. package/dist/TreeMapGraph.cjs +1 -1
  205. package/dist/TreeMapGraph.cjs.map +1 -1
  206. package/dist/TreeMapGraph.d.ts +11 -9
  207. package/dist/TreeMapGraph.js +369 -371
  208. package/dist/TreeMapGraph.js.map +1 -1
  209. package/dist/Types.d.ts +29 -16
  210. package/dist/UnitChart.cjs +1 -1
  211. package/dist/UnitChart.cjs.map +1 -1
  212. package/dist/UnitChart.d.ts +11 -5
  213. package/dist/UnitChart.js +118 -119
  214. package/dist/UnitChart.js.map +1 -1
  215. package/dist/WaterfallChart.cjs +1 -1
  216. package/dist/WaterfallChart.cjs.map +1 -1
  217. package/dist/WaterfallChart.d.ts +11 -9
  218. package/dist/WaterfallChart.js +306 -308
  219. package/dist/WaterfallChart.js.map +1 -1
  220. package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
  221. package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
  222. package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
  223. package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
  224. package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
  225. package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
  226. package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
  227. package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
  228. package/dist/{imageDownload-Diofs_vY.js → imageDownload-BYsNEtMS.js} +11 -11
  229. package/dist/{imageDownload-Diofs_vY.js.map → imageDownload-BYsNEtMS.js.map} +1 -1
  230. package/dist/{imageDownload-61q6jyJW.cjs → imageDownload-CkMwA7Cw.cjs} +4 -4
  231. package/dist/{imageDownload-61q6jyJW.cjs.map → imageDownload-CkMwA7Cw.cjs.map} +1 -1
  232. package/dist/index-BPyj_6hG.js +375 -0
  233. package/dist/index-BPyj_6hG.js.map +1 -0
  234. package/dist/index-DuLvdHo2.cjs +2 -0
  235. package/dist/index-DuLvdHo2.cjs.map +1 -0
  236. package/dist/index.cjs +1 -1
  237. package/dist/index.d.ts +108 -245
  238. package/dist/index.js +3 -3
  239. package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
  240. package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
  241. package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
  242. package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
  243. package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
  244. package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
  245. package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
  246. package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
  247. package/dist/style.css +1 -1
  248. package/dist/utils.cjs +1 -1
  249. package/dist/utils.d.ts +1 -1
  250. package/dist/utils.js +2 -2
  251. package/package.json +2 -2
  252. package/dist/GraphEl-B73N4RIA.js +0 -1906
  253. package/dist/GraphEl-B73N4RIA.js.map +0 -1
  254. package/dist/GraphEl-Lt1og0C-.cjs +0 -2
  255. package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
  256. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
  257. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
  258. package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
  259. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
  260. package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
  261. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
  262. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
  263. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
  264. package/dist/index-B0Awa_de.js +0 -377
  265. package/dist/index-B0Awa_de.js.map +0 -1
  266. package/dist/index-CP8cmNzt.cjs +0 -2
  267. package/dist/index-CP8cmNzt.cjs.map +0 -1
  268. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
  269. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
  270. package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
  271. package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
@@ -1,253 +1,250 @@
1
- import { c as mi, j as l, m as oi } from "./index-CHPV5EwG-BzibaIRc.js";
2
- import { f as pi, p as gi } from "./parse-Dv4of-PN.js";
3
- import { useRef as ii, useState as Et, useEffect as si } from "react";
4
- import { g as hi, N as yi } from "./getSliderMarks-X-_goqH9.js";
5
- import { i as ni } from "./index-Bwrro8-q.js";
6
- import { o as vi } from "./index-BZQYSqar.js";
7
- import { l as bi, a as Ai } from "./simple-statistics-flVzqVtt.js";
8
- import { T as Oi } from "./Tooltip-Bj-s__cI.js";
9
- import { c as A } from "./checkIfNullOrUndefined-DmfiKkNw.js";
10
- import { Colors as it } from "./Colors.js";
11
- import { n as li } from "./numberFormattingFunction-DqMf_v1m.js";
12
- import { g as Ci, A as wi, C as Li } from "./customArea-D89lETG0.js";
13
- import { A as ri } from "./Axis-CNZYWzH0.js";
14
- import { A as ai } from "./AxisTitle-CyLCqpW6.js";
15
- import { X as ji } from "./XTicksAndGridLines-gdbGX2rm.js";
16
- import { R as Vi, a as $i } from "./ReferenceLine-D41VuUhE.js";
17
- import { R as ki } from "./RegressionLine-CuwB42I6.js";
18
- import { Y as Di } from "./YTicksAndGridLines-CsNSq9W9.js";
19
- import { a as Si } from "./index-DHVGV8Df.js";
20
- import { D as Mi } from "./DetailsModal-B2XBWR7w.js";
21
- import { s as Ni } from "./pow-BXYLJHCq.js";
22
- import { a as ci } from "./linear-DNXM5Pdl.js";
23
- import { D as Ti } from "./delaunay-C1uAf38t.js";
24
- import { m as ze } from "./proxy-BsxtcZKa.js";
25
- import { u as Pi } from "./use-in-view-KOXq5Kmc.js";
26
- import { A as fi } from "./index-Cv_5q6Rb.js";
27
- import { GraphFooter as Xi } from "./GraphFooter.js";
28
- import { GraphHeader as Yi } from "./GraphHeader.js";
29
- import { ColorLegendWithMouseOver as Ii } from "./ColorLegendWithMouseOver.js";
30
- import { E as Ri } from "./EmptyState-CaxXCkiN.js";
31
- import { P as Fi, e as Hi } from "./index-ApTBN0kp.js";
32
- import { a as Wi } from "./ensureCompleteData-CDIukSG6.js";
33
- import { u as ui } from "./uniqBy-BHy4I8PK.js";
34
- import { a as Ei, G as Gi } from "./GraphContainer-B8ZqOzKI.js";
35
- function qi(i) {
36
- const t = mi.c(222), {
1
+ import { c as vi, j as l, m as fi } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { f as Ai, p as Ci } from "./parse-Dv4of-PN.js";
3
+ import { useRef as ci, useState as Et, useEffect as ui } from "react";
4
+ import { g as $i, N as wi } from "./getSliderMarks-X-_goqH9.js";
5
+ import { i as xi } from "./index-Bwrro8-q.js";
6
+ import { o as Li } from "./index-BZQYSqar.js";
7
+ import { l as ji, a as Vi } from "./simple-statistics-flVzqVtt.js";
8
+ import { T as Di } from "./Tooltip-3EYDVa3w.js";
9
+ import { c as w } from "./checkIfNullOrUndefined-DmfiKkNw.js";
10
+ import { Colors as E } from "./Colors.js";
11
+ import { n as mi } from "./numberFormattingFunction-BUUV_luR.js";
12
+ import { g as ki, A as Mi, C as Ni } from "./customArea-D89lETG0.js";
13
+ import { A as pi } from "./Axis-CNZYWzH0.js";
14
+ import { A as di } from "./AxisTitle-CyLCqpW6.js";
15
+ import { X as Si } from "./XTicksAndGridLines-CkYwVshF.js";
16
+ import { R as Ti, a as Xi } from "./ReferenceLine-D41VuUhE.js";
17
+ import { R as Yi } from "./RegressionLine-CuwB42I6.js";
18
+ import { Y as Pi } from "./YTicksAndGridLines-BbujwxOB.js";
19
+ import { a as Ii } from "./index-DHVGV8Df.js";
20
+ import { D as Ri } from "./DetailsModal-GqEbGHY2.js";
21
+ import { s as Fi } from "./pow-BXYLJHCq.js";
22
+ import { a as gi } from "./linear-DNXM5Pdl.js";
23
+ import { D as Hi } from "./delaunay-C1uAf38t.js";
24
+ import { m as We } from "./proxy-BsxtcZKa.js";
25
+ import { u as Wi } from "./use-in-view-KOXq5Kmc.js";
26
+ import { A as hi } from "./index-Cv_5q6Rb.js";
27
+ import { GraphFooter as Ei } from "./GraphFooter.js";
28
+ import { GraphHeader as Gi } from "./GraphHeader.js";
29
+ import { ColorLegendWithMouseOver as Zi } from "./ColorLegendWithMouseOver.js";
30
+ import { E as qi } from "./EmptyState-CaxXCkiN.js";
31
+ import { P as Bi, e as zi } from "./index-ApTBN0kp.js";
32
+ import { a as Ui } from "./ensureCompleteData-CDIukSG6.js";
33
+ import { u as yi } from "./uniqBy-BHy4I8PK.js";
34
+ import { a as Ji, G as Ki } from "./GraphContainer-B8ZqOzKI.js";
35
+ function Qi(i) {
36
+ const t = vi.c(229), {
37
37
  data: o,
38
- width: ot,
39
- height: V,
38
+ width: rt,
39
+ height: L,
40
40
  showLabels: Gt,
41
- colors: m,
42
- colorDomain: L,
43
- radius: F,
44
- xAxisTitle: y,
45
- yAxisTitle: B,
46
- leftMargin: H,
47
- rightMargin: me,
48
- topMargin: $e,
49
- bottomMargin: He,
50
- tooltip: xe,
51
- onSeriesMouseOver: st,
52
- refXValues: ke,
53
- refYValues: De,
54
- highlightAreaSettings: Se,
55
- selectedColor: Vt,
56
- highlightedDataPoints: z,
57
- maxRadiusValue: de,
58
- maxXValue: pe,
59
- minXValue: j,
60
- maxYValue: qt,
61
- minYValue: O,
62
- onSeriesMouseClick: D,
63
- rtl: Bt,
64
- annotations: ge,
65
- customHighlightAreaSettings: zt,
66
- regressionLine: $t,
67
- resetSelectionOnDoubleClick: kt,
68
- detailsOnClick: S,
69
- noOfXTicks: Ut,
70
- noOfYTicks: Jt,
71
- labelColor: U,
72
- xSuffix: Dt,
73
- ySuffix: St,
74
- xPrefix: Mt,
75
- yPrefix: Nt,
41
+ colors: r,
42
+ colorDomain: a,
43
+ radius: I,
44
+ xAxisTitle: O,
45
+ yAxisTitle: G,
46
+ leftMargin: R,
47
+ rightMargin: he,
48
+ topMargin: oe,
49
+ bottomMargin: Ye,
50
+ tooltip: se,
51
+ onSeriesMouseOver: Nt,
52
+ refXValues: ne,
53
+ refYValues: ye,
54
+ highlightAreaSettings: ve,
55
+ selectedColor: St,
56
+ highlightedDataPoints: Z,
57
+ maxRadiusValue: be,
58
+ maxXValue: le,
59
+ minXValue: D,
60
+ maxYValue: re,
61
+ minYValue: j,
62
+ onSeriesMouseClick: M,
63
+ rtl: at,
64
+ annotations: Oe,
65
+ customHighlightAreaSettings: Tt,
66
+ regressionLine: Zt,
67
+ resetSelectionOnDoubleClick: qt,
68
+ detailsOnClick: N,
69
+ noOfXTicks: Bt,
70
+ noOfYTicks: zt,
71
+ labelColor: q,
76
72
  styles: s,
77
73
  classNames: n,
78
74
  animate: f,
79
- dimmedOpacity: M,
80
- precision: N,
81
- showHighlightedDataPointsLabels: Me,
82
- customLayers: T,
83
- showVoronoiTesselation: Kt,
84
- useVoronoiInteraction: Ne,
85
- locale: P
86
- } = i, Te = ii(null);
87
- let he;
88
- t[0] !== f.amount || t[1] !== f.once ? (he = {
75
+ dimmedOpacity: S,
76
+ showHighlightedDataPointsLabels: Ae,
77
+ customLayers: B,
78
+ showVoronoiTesselation: Ce,
79
+ useVoronoiInteraction: Ut,
80
+ xNumberDisplayOptions: m,
81
+ yNumberDisplayOptions: d,
82
+ defaultColor: T
83
+ } = i, $e = ci(null);
84
+ let ae;
85
+ t[0] !== f.amount || t[1] !== f.once ? (ae = {
89
86
  once: f.once,
90
87
  amount: f.amount
91
- }, t[0] = f.amount, t[1] = f.once, t[2] = he) : he = t[2];
92
- const v = Pi(Te, he), [X, Tt] = Et(void 0), [W, d] = Et(void 0), [x, Pt] = Et(void 0), [ye, Xt] = Et(void 0), Qt = y ? He + 50 : He, Zt = B ? H + 30 : H;
93
- let ve;
94
- t[3] !== me || t[4] !== Qt || t[5] !== Zt || t[6] !== $e ? (ve = {
95
- top: $e,
96
- bottom: Qt,
97
- left: Zt,
98
- right: me
99
- }, t[3] = me, t[4] = Qt, t[5] = Zt, t[6] = $e, t[7] = ve) : ve = t[7];
100
- const g = ve;
101
- let Yt, nt, lt, rt, at, ct, E, ft, ut, mt, J, xt, K, dt, Q, pt, G, gt;
102
- if (t[8] !== f || t[9] !== ge || t[10] !== n?.graphObjectValues || t[11] !== n?.regLine || t[12] !== n?.xAxis?.axis || t[13] !== n?.xAxis?.gridLines || t[14] !== n?.xAxis?.labels || t[15] !== n?.xAxis?.title || t[16] !== n?.yAxis?.gridLines || t[17] !== n?.yAxis?.labels || t[18] !== n?.yAxis?.title || t[19] !== L || t[20] !== m || t[21] !== zt || t[22] !== T || t[23] !== o || t[24] !== S || t[25] !== M || t[26] !== V || t[27] !== Se || t[28] !== z || t[29] !== v || t[30] !== U || t[31] !== H || t[32] !== P || t[33] !== g.bottom || t[34] !== g.left || t[35] !== g.right || t[36] !== g.top || t[37] !== de || t[38] !== pe || t[39] !== qt || t[40] !== j || t[41] !== O || t[42] !== W || t[43] !== X || t[44] !== Ut || t[45] !== Jt || t[46] !== D || t[47] !== st || t[48] !== N || t[49] !== F || t[50] !== ke || t[51] !== De || t[52] !== $t || t[53] !== kt || t[54] !== Bt || t[55] !== Vt || t[56] !== Me || t[57] !== Gt || t[58] !== Kt || t[59] !== s?.graphObjectValues || t[60] !== s?.regLine || t[61] !== s?.xAxis?.axis || t[62] !== s?.xAxis?.gridLines || t[63] !== s?.xAxis?.labels || t[64] !== s?.xAxis?.title || t[65] !== s?.yAxis?.gridLines || t[66] !== s?.yAxis?.labels || t[67] !== s?.yAxis?.title || t[68] !== Ne || t[69] !== ot || t[70] !== y || t[71] !== Mt || t[72] !== Dt || t[73] !== B || t[74] !== Nt || t[75] !== St) {
103
- const be = o.map(xo), b = ot - g.left - g.right, h = V - g.top - g.bottom, $ = o.filter(mo).length !== o.length ? Ni().domain([0, de]).range([0.25, F]).nice() : void 0, It = be.filter(uo).length === 0 ? be.filter(fo) : vi(be.filter(co), "radius", "desc"), u = ci().domain([j, pe]).range([0, b]).nice(), r = ci().domain([O, qt]).range([h, 0]).nice(), Pe = u.ticks(Ut), Xe = r.ticks(Jt), We = Ti.from(It, (e) => u(e.x), (e) => r(e.y)).voronoi([0, 0, b < 0 ? 0 : b, h < 0 ? 0 : h]), Ee = bi(o.filter(ao).map((e) => [u(e.x), r(e.y)])), Ae = Ai(Ee);
104
- nt = ze.svg, ft = `${ot}px`, ut = `${V}px`, mt = `0 0 ${ot} ${V}`, J = "ltr", xt = Te, lt = `translate(${g.left},${g.top})`;
105
- let _t;
106
- t[94] !== f || t[95] !== zt || t[96] !== v || t[97] !== u || t[98] !== r ? (_t = /* @__PURE__ */ l.jsx(Li, { areaSettings: zt, scaleX: u, scaleY: r, animate: f, isInView: v }, "custom-area"), t[94] = f, t[95] = zt, t[96] = v, t[97] = u, t[98] = r, t[99] = _t) : _t = t[99], rt = /* @__PURE__ */ l.jsxs(fi, { children: [
107
- /* @__PURE__ */ l.jsx(Si, { areaSettings: Se, width: b, height: h, scaleX: u, scaleY: r, animate: f, isInView: v }, "highlight-area"),
108
- _t
88
+ }, t[0] = f.amount, t[1] = f.once, t[2] = ae) : ae = t[2];
89
+ const C = Wi($e, ae), [X, Xt] = Et(void 0), [F, h] = Et(void 0), [p, Yt] = Et(void 0), [ce, z] = Et(void 0), Jt = O ? Ye + 50 : Ye, we = G ? R + 30 : R;
90
+ let fe;
91
+ t[3] !== he || t[4] !== Jt || t[5] !== we || t[6] !== oe ? (fe = {
92
+ top: oe,
93
+ bottom: Jt,
94
+ left: we,
95
+ right: he
96
+ }, t[3] = he, t[4] = Jt, t[5] = we, t[6] = oe, t[7] = fe) : fe = t[7];
97
+ const y = fe;
98
+ let ct, ft, U, ut, xt, mt, H, pt, dt, gt, ht, J, yt, K, vt, Q, W, bt;
99
+ if (t[8] !== f || t[9] !== Oe || t[10] !== n?.graphObjectValues || t[11] !== n?.regLine || t[12] !== n?.xAxis?.axis || t[13] !== n?.xAxis?.gridLines || t[14] !== n?.xAxis?.labels || t[15] !== n?.xAxis?.title || t[16] !== n?.yAxis?.gridLines || t[17] !== n?.yAxis?.labels || t[18] !== n?.yAxis?.title || t[19] !== a || t[20] !== r || t[21] !== Tt || t[22] !== B || t[23] !== o || t[24] !== T || t[25] !== N || t[26] !== S || t[27] !== L || t[28] !== ve || t[29] !== Z || t[30] !== C || t[31] !== q || t[32] !== R || t[33] !== y.bottom || t[34] !== y.left || t[35] !== y.right || t[36] !== y.top || t[37] !== be || t[38] !== le || t[39] !== re || t[40] !== D || t[41] !== j || t[42] !== F || t[43] !== X || t[44] !== Bt || t[45] !== zt || t[46] !== M || t[47] !== Nt || t[48] !== I || t[49] !== ne || t[50] !== ye || t[51] !== Zt || t[52] !== qt || t[53] !== at || t[54] !== St || t[55] !== Ae || t[56] !== Gt || t[57] !== Ce || t[58] !== s?.graphObjectValues || t[59] !== s?.regLine || t[60] !== s?.xAxis?.axis || t[61] !== s?.xAxis?.gridLines || t[62] !== s?.xAxis?.labels || t[63] !== s?.xAxis?.title || t[64] !== s?.yAxis?.gridLines || t[65] !== s?.yAxis?.labels || t[66] !== s?.yAxis?.title || t[67] !== Ut || t[68] !== rt || t[69] !== O || t[70] !== m?.locale || t[71] !== m?.padZeros || t[72] !== m?.precision || t[73] !== m?.prefix || t[74] !== m?.suffix || t[75] !== G || t[76] !== d?.locale || t[77] !== d?.padZeros || t[78] !== d?.precision || t[79] !== d?.prefix || t[80] !== d?.suffix) {
100
+ const ue = o.map(Oo), $ = rt - y.left - y.right, A = L - y.top - y.bottom, b = o.filter(bo).length !== o.length ? Fi().domain([0, be]).range([0.25, I]).nice() : void 0, Kt = ue.filter(vo).length === 0 ? ue.filter(yo) : Li(ue.filter(ho), "radius", "desc"), u = gi().domain([D, le]).range([0, $]).nice(), g = gi().domain([j, re]).range([A, 0]).nice(), Le = u.ticks(Bt), xe = g.ticks(zt), Pe = Hi.from(Kt, (e) => u(e.x), (e) => g(e.y)).voronoi([0, 0, $ < 0 ? 0 : $, A < 0 ? 0 : A]), je = ji(o.filter(go).map((e) => [u(e.x), g(e.y)])), Ve = Vi(je);
101
+ ft = We.svg, pt = `${rt}px`, dt = `${L}px`, gt = `0 0 ${rt} ${L}`, ht = "ltr", J = $e, U = `translate(${y.left},${y.top})`;
102
+ let It;
103
+ t[99] !== f || t[100] !== Tt || t[101] !== C || t[102] !== u || t[103] !== g ? (It = /* @__PURE__ */ l.jsx(Ni, { areaSettings: Tt, scaleX: u, scaleY: g, animate: f, isInView: C }, "custom-area"), t[99] = f, t[100] = Tt, t[101] = C, t[102] = u, t[103] = g, t[104] = It) : It = t[104], ut = /* @__PURE__ */ l.jsxs(hi, { children: [
104
+ /* @__PURE__ */ l.jsx(Ii, { areaSettings: ve, width: $, height: A, scaleX: u, scaleY: g, animate: f, isInView: C }, "highlight-area"),
105
+ It
109
106
  ] });
110
- const Oe = s?.yAxis?.gridLines, te = s?.yAxis?.labels;
111
- let ee;
112
- t[100] !== Oe || t[101] !== te ? (ee = {
113
- gridLines: Oe,
114
- labels: te
115
- }, t[100] = Oe, t[101] = te, t[102] = ee) : ee = t[102];
116
- const ie = n?.yAxis?.gridLines, a = n?.yAxis?.labels;
117
- let oe;
118
- t[103] !== ie || t[104] !== a ? (oe = {
119
- gridLines: ie,
120
- labels: a
121
- }, t[103] = ie, t[104] = a, t[105] = oe) : oe = t[105];
122
- const Ce = r(O < 0 ? 0 : O), we = r(O < 0 ? 0 : O), se = b + g.right, Ge = O < 0 ? 0 : O;
123
- let tt;
124
- t[106] !== P || t[107] !== N || t[108] !== Ge || t[109] !== Nt || t[110] !== St ? (tt = li(Ge, void 0, N, Nt, St, P), t[106] = P, t[107] = N, t[108] = Ge, t[109] = Nt, t[110] = St, t[111] = tt) : tt = t[111];
125
- const qe = r(O < 0 ? 0 : O);
126
- let C;
127
- t[112] !== qe ? (C = {
107
+ const c = s?.yAxis?.gridLines, me = s?.yAxis?.labels;
108
+ let Qt;
109
+ t[105] !== c || t[106] !== me ? (Qt = {
110
+ gridLines: c,
111
+ labels: me
112
+ }, t[105] = c, t[106] = me, t[107] = Qt) : Qt = t[107];
113
+ const _t = n?.yAxis?.gridLines, Ie = n?.yAxis?.labels;
114
+ let Rt;
115
+ t[108] !== _t || t[109] !== Ie ? (Rt = {
116
+ gridLines: _t,
117
+ labels: Ie
118
+ }, t[108] = _t, t[109] = Ie, t[110] = Rt) : Rt = t[110];
119
+ const Re = g(j < 0 ? 0 : j), Y = g(j < 0 ? 0 : j), Fe = $ + y.right, Ft = j < 0 ? 0 : j, x = d?.precision ?? 2, P = d?.prefix || "", pe = d?.suffix || "", de = d?.locale || "en", He = d?.padZeros || !1;
120
+ let $t;
121
+ t[111] !== Ft || t[112] !== x || t[113] !== P || t[114] !== pe || t[115] !== de || t[116] !== He ? ($t = mi(Ft, void 0, x, P, pe, de, He), t[111] = Ft, t[112] = x, t[113] = P, t[114] = pe, t[115] = de, t[116] = He, t[117] = $t) : $t = t[117];
122
+ const De = g(j < 0 ? 0 : j);
123
+ let et;
124
+ t[118] !== De ? (et = {
128
125
  x: 0,
129
- y: qe,
126
+ y: De,
130
127
  dy: "0.33em",
131
128
  dx: -4
132
- }, t[112] = qe, t[113] = C) : C = t[113];
133
- const Be = n?.xAxis?.axis, Rt = n?.yAxis?.labels;
134
- let c;
135
- t[114] !== Be || t[115] !== Rt ? (c = {
136
- axis: Be,
137
- label: Rt
138
- }, t[114] = Be, t[115] = Rt, t[116] = c) : c = t[116];
139
- const Y = s?.xAxis?.axis;
140
- let At;
141
- t[117] !== s?.yAxis?.labels ? (At = s?.yAxis?.labels || {}, t[117] = s?.yAxis?.labels, t[118] = At) : At = t[118];
142
- let Ot;
143
- t[119] !== At ? (Ot = {
129
+ }, t[118] = De, t[119] = et) : et = t[119];
130
+ const te = n?.xAxis?.axis, ee = n?.yAxis?.labels;
131
+ let it;
132
+ t[120] !== te || t[121] !== ee ? (it = {
133
+ axis: te,
134
+ label: ee
135
+ }, t[120] = te, t[121] = ee, t[122] = it) : it = t[122];
136
+ const ge = s?.xAxis?.axis;
137
+ let ot;
138
+ t[123] !== s?.yAxis?.labels ? (ot = s?.yAxis?.labels || {}, t[123] = s?.yAxis?.labels, t[124] = ot) : ot = t[124];
139
+ let st;
140
+ t[125] !== ot ? (st = {
144
141
  textAnchor: "end",
145
- ...At
146
- }, t[119] = At, t[120] = Ot) : Ot = t[120];
147
- let ne;
148
- t[121] !== Y || t[122] !== Ot ? (ne = {
149
- axis: Y,
150
- label: Ot
151
- }, t[121] = Y, t[122] = Ot, t[123] = ne) : ne = t[123];
152
- let le;
153
- t[124] !== Ce || t[125] !== we || t[126] !== se || t[127] !== tt || t[128] !== C || t[129] !== c || t[130] !== ne ? (le = /* @__PURE__ */ l.jsx(ri, { y1: Ce, y2: we, x1: 0, x2: se, label: tt, labelPos: C, classNames: c, styles: ne }), t[124] = Ce, t[125] = we, t[126] = se, t[127] = tt, t[128] = C, t[129] = c, t[130] = ne, t[131] = le) : le = t[131];
154
- const Ye = 0 - H - 15, re = h / 2, ae = s?.yAxis?.title, ce = n?.yAxis?.title;
155
- let Ft;
156
- t[132] !== Ye || t[133] !== re || t[134] !== ae || t[135] !== ce || t[136] !== B ? (Ft = /* @__PURE__ */ l.jsx(ai, { x: Ye, y: re, style: ae, className: ce, text: B, rotate90: !0 }), t[132] = Ye, t[133] = re, t[134] = ae, t[135] = ce, t[136] = B, t[137] = Ft) : Ft = t[137], at = /* @__PURE__ */ l.jsxs("g", { children: [
157
- /* @__PURE__ */ l.jsx(Di, { values: Xe.filter(ro), y: Xe.filter(lo).map((e) => r(e)), x1: 0, x2: b + g.right, styles: ee, classNames: oe, suffix: St, prefix: Nt, labelType: "secondary", showGridLines: !0, labelPos: "side", precision: N, locale: P }),
158
- le,
159
- Ft
142
+ ...ot
143
+ }, t[125] = ot, t[126] = st) : st = t[126];
144
+ let wt;
145
+ t[127] !== ge || t[128] !== st ? (wt = {
146
+ axis: ge,
147
+ label: st
148
+ }, t[127] = ge, t[128] = st, t[129] = wt) : wt = t[129];
149
+ let ie;
150
+ t[130] !== Re || t[131] !== Y || t[132] !== Fe || t[133] !== $t || t[134] !== et || t[135] !== it || t[136] !== wt ? (ie = /* @__PURE__ */ l.jsx(pi, { y1: Re, y2: Y, x1: 0, x2: Fe, label: $t, labelPos: et, classNames: it, styles: wt }), t[130] = Re, t[131] = Y, t[132] = Fe, t[133] = $t, t[134] = et, t[135] = it, t[136] = wt, t[137] = ie) : ie = t[137];
151
+ const Lt = 0 - R - 15, jt = A / 2, Vt = s?.yAxis?.title, Dt = n?.yAxis?.title;
152
+ let nt;
153
+ t[138] !== Lt || t[139] !== jt || t[140] !== Vt || t[141] !== Dt || t[142] !== G ? (nt = /* @__PURE__ */ l.jsx(di, { x: Lt, y: jt, style: Vt, className: Dt, text: G, rotate90: !0 }), t[138] = Lt, t[139] = jt, t[140] = Vt, t[141] = Dt, t[142] = G, t[143] = nt) : nt = t[143], xt = /* @__PURE__ */ l.jsxs("g", { children: [
154
+ /* @__PURE__ */ l.jsx(Pi, { values: xe.filter(po), y: xe.filter(mo).map((e) => g(e)), x1: 0, x2: $ + y.right, styles: Qt, classNames: Rt, labelType: "secondary", showGridLines: !0, labelPos: "side", suffix: d?.suffix || "", prefix: d?.prefix || "", precision: d?.precision ?? 2, locale: d?.locale || "en", padZeros: d?.padZeros || !1 }),
155
+ ie,
156
+ nt
160
157
  ] });
161
- const Le = s?.xAxis?.gridLines, fe = s?.xAxis?.labels;
158
+ const kt = s?.xAxis?.gridLines, Mt = s?.xAxis?.labels;
162
159
  let Ht;
163
- t[138] !== Le || t[139] !== fe ? (Ht = {
164
- gridLines: Le,
165
- labels: fe
166
- }, t[138] = Le, t[139] = fe, t[140] = Ht) : Ht = t[140];
167
- const je = n?.xAxis?.gridLines, Ve = n?.xAxis?.labels;
168
- let et;
169
- t[141] !== je || t[142] !== Ve ? (et = {
170
- gridLines: je,
171
- labels: Ve
172
- }, t[141] = je, t[142] = Ve, t[143] = et) : et = t[143];
173
- const Ct = u(j < 0 ? 0 : j), wt = u(j < 0 ? 0 : j), Lt = j < 0 ? 0 : j;
174
- let I;
175
- t[144] !== P || t[145] !== N || t[146] !== Lt || t[147] !== Mt || t[148] !== Dt ? (I = li(Lt, void 0, N, Mt, Dt, P), t[144] = P, t[145] = N, t[146] = Lt, t[147] = Mt, t[148] = Dt, t[149] = I) : I = t[149];
176
- const jt = u(j < 0 ? 0 : j);
177
- let R;
178
- t[150] !== h || t[151] !== jt ? (R = {
179
- x: jt,
180
- y: h,
160
+ t[144] !== kt || t[145] !== Mt ? (Ht = {
161
+ gridLines: kt,
162
+ labels: Mt
163
+ }, t[144] = kt, t[145] = Mt, t[146] = Ht) : Ht = t[146];
164
+ const v = n?.xAxis?.gridLines, lt = n?.xAxis?.labels;
165
+ let Ee;
166
+ t[147] !== v || t[148] !== lt ? (Ee = {
167
+ gridLines: v,
168
+ labels: lt
169
+ }, t[147] = v, t[148] = lt, t[149] = Ee) : Ee = t[149];
170
+ const qe = u(D < 0 ? 0 : D), Be = u(D < 0 ? 0 : D), ze = D < 0 ? 0 : D, Ue = m?.precision ?? 2, Je = m?.prefix || "", Ke = m?.suffix || "", Qe = m?.locale || "en", _e = m?.padZeros || !1;
171
+ let ke;
172
+ t[150] !== ze || t[151] !== Ue || t[152] !== Je || t[153] !== Ke || t[154] !== Qe || t[155] !== _e ? (ke = mi(ze, void 0, Ue, Je, Ke, Qe, _e), t[150] = ze, t[151] = Ue, t[152] = Je, t[153] = Ke, t[154] = Qe, t[155] = _e, t[156] = ke) : ke = t[156];
173
+ const ti = u(D < 0 ? 0 : D);
174
+ let Me;
175
+ t[157] !== A || t[158] !== ti ? (Me = {
176
+ x: ti,
177
+ y: A,
181
178
  dy: "1em",
182
179
  dx: 0
183
- }, t[150] = h, t[151] = jt, t[152] = R) : R = t[152];
184
- const ue = n?.xAxis?.axis, p = n?.yAxis?.labels;
185
- let k;
186
- t[153] !== ue || t[154] !== p ? (k = {
187
- axis: ue,
188
- label: p
189
- }, t[153] = ue, t[154] = p, t[155] = k) : k = t[155];
190
- const Ke = s?.xAxis?.axis;
191
- let Ie;
192
- t[156] !== s?.yAxis?.labels ? (Ie = s?.yAxis?.labels || {}, t[156] = s?.yAxis?.labels, t[157] = Ie) : Ie = t[157];
193
- let Re;
194
- t[158] !== Ie ? (Re = {
180
+ }, t[157] = A, t[158] = ti, t[159] = Me) : Me = t[159];
181
+ const ei = n?.xAxis?.axis, ii = n?.yAxis?.labels;
182
+ let Ne;
183
+ t[160] !== ei || t[161] !== ii ? (Ne = {
184
+ axis: ei,
185
+ label: ii
186
+ }, t[160] = ei, t[161] = ii, t[162] = Ne) : Ne = t[162];
187
+ const oi = s?.xAxis?.axis;
188
+ let Se;
189
+ t[163] !== s?.yAxis?.labels ? (Se = s?.yAxis?.labels || {}, t[163] = s?.yAxis?.labels, t[164] = Se) : Se = t[164];
190
+ let Te;
191
+ t[165] !== Se ? (Te = {
195
192
  textAnchor: "middle",
196
- ...Ie
197
- }, t[158] = Ie, t[159] = Re) : Re = t[159];
198
- let Fe;
199
- t[160] !== Ke || t[161] !== Re ? (Fe = {
200
- axis: Ke,
201
- label: Re
202
- }, t[160] = Ke, t[161] = Re, t[162] = Fe) : Fe = t[162];
203
- let Ue;
204
- t[163] !== h || t[164] !== Ct || t[165] !== wt || t[166] !== I || t[167] !== R || t[168] !== k || t[169] !== Fe ? (Ue = /* @__PURE__ */ l.jsx(ri, { x1: Ct, x2: wt, y1: 0, y2: h, label: I, labelPos: R, classNames: k, styles: Fe }), t[163] = h, t[164] = Ct, t[165] = wt, t[166] = I, t[167] = R, t[168] = k, t[169] = Fe, t[170] = Ue) : Ue = t[170];
205
- const Qe = b / 2, Ze = h + 30, _e = s?.xAxis?.title, ti = n?.xAxis?.title;
206
- let Je;
207
- t[171] !== Qe || t[172] !== Ze || t[173] !== _e || t[174] !== ti || t[175] !== y ? (Je = /* @__PURE__ */ l.jsx(ai, { x: Qe, y: Ze, style: _e, className: ti, text: y }), t[171] = Qe, t[172] = Ze, t[173] = _e, t[174] = ti, t[175] = y, t[176] = Je) : Je = t[176], ct = /* @__PURE__ */ l.jsxs("g", { children: [
208
- /* @__PURE__ */ l.jsx(ji, { values: Pe.filter(no), x: Pe.filter(so).map((e) => u(e)), y1: 0, y2: h, styles: Ht, classNames: et, suffix: Dt, prefix: Mt, labelType: "primary", showGridLines: !0, precision: N, locale: P }),
209
- Ue,
210
- Je
211
- ] }), t[177] !== T ? (E = T.filter(oo).map(io), t[177] = T, t[178] = E) : E = t[178], Yt = fi, K = Ne && It.map((e, Wt) => /* @__PURE__ */ l.jsx("path", { d: We.renderCell(It.findIndex((w) => w.id === e.id)), opacity: Kt ? 1 : 0, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
193
+ ...Se
194
+ }, t[165] = Se, t[166] = Te) : Te = t[166];
195
+ let Xe;
196
+ t[167] !== oi || t[168] !== Te ? (Xe = {
197
+ axis: oi,
198
+ label: Te
199
+ }, t[167] = oi, t[168] = Te, t[169] = Xe) : Xe = t[169];
200
+ let Ge;
201
+ t[170] !== A || t[171] !== qe || t[172] !== Be || t[173] !== ke || t[174] !== Me || t[175] !== Ne || t[176] !== Xe ? (Ge = /* @__PURE__ */ l.jsx(pi, { x1: qe, x2: Be, y1: 0, y2: A, label: ke, labelPos: Me, classNames: Ne, styles: Xe }), t[170] = A, t[171] = qe, t[172] = Be, t[173] = ke, t[174] = Me, t[175] = Ne, t[176] = Xe, t[177] = Ge) : Ge = t[177];
202
+ const si = $ / 2, ni = A + 30, li = s?.xAxis?.title, ri = n?.xAxis?.title;
203
+ let Ze;
204
+ t[178] !== si || t[179] !== ni || t[180] !== li || t[181] !== ri || t[182] !== O ? (Ze = /* @__PURE__ */ l.jsx(di, { x: si, y: ni, style: li, className: ri, text: O }), t[178] = si, t[179] = ni, t[180] = li, t[181] = ri, t[182] = O, t[183] = Ze) : Ze = t[183], mt = /* @__PURE__ */ l.jsxs("g", { children: [
205
+ /* @__PURE__ */ l.jsx(Si, { values: Le.filter(xo), x: Le.filter(uo).map((e) => u(e)), y1: 0, y2: A, styles: Ht, classNames: Ee, labelType: "primary", showGridLines: !0, suffix: m?.suffix || "", prefix: m?.prefix || "", precision: m?.precision ?? 2, locale: m?.locale || "en", padZeros: m?.padZeros || !1 }),
206
+ Ge,
207
+ Ze
208
+ ] }), t[184] !== B ? (H = B.filter(fo).map(co), t[184] = B, t[185] = H) : H = t[185], ct = hi, yt = Ut && Kt.map((e, Wt) => /* @__PURE__ */ l.jsx("path", { d: Pe.renderCell(Kt.findIndex((V) => V.id === e.id)), opacity: Ce ? 1 : 0, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
212
209
  fillOpacity: 0,
213
210
  strokeWidth: 1
214
- }, onMouseEnter: (w) => {
215
- Tt(e), Xt(w.clientY), Pt(w.clientX), st?.(e);
216
- }, onMouseMove: (w) => {
217
- Tt(e), Xt(w.clientY), Pt(w.clientX);
211
+ }, onMouseEnter: (V) => {
212
+ Xt(e), z(V.clientY), Yt(V.clientX), Nt?.(e);
213
+ }, onMouseMove: (V) => {
214
+ Xt(e), z(V.clientY), Yt(V.clientX);
218
215
  }, onMouseLeave: () => {
219
- Tt(void 0), Pt(void 0), Xt(void 0), st?.(void 0);
216
+ Xt(void 0), Yt(void 0), z(void 0), Nt?.(void 0);
220
217
  }, onClick: () => {
221
- (D || S) && (ni(W, e) && kt ? (d(void 0), D?.(void 0)) : (d(e), D?.(e)));
222
- } }, `tesselation_${e.label || Wt}`)), dt = It.map((e, Wt) => /* @__PURE__ */ l.jsxs(ze.g, { variants: {
218
+ (M || N) && (xi(F, e) && qt ? (h(void 0), M?.(void 0)) : (h(e), M?.(e)));
219
+ } }, `tesselation_${e.label || Wt}`)), K = Kt.map((e, Wt) => /* @__PURE__ */ l.jsxs(We.g, { variants: {
223
220
  initial: {
224
221
  x: u(e.x),
225
- y: r(e.y),
226
- opacity: Vt ? e.color && m[L.indexOf(`${e.color}`)] === Vt ? 1 : M : X ? X.id === e.id ? 1 : M : z ? z.indexOf(e.label || "") !== -1 ? 1 : M : 1
222
+ y: g(e.y),
223
+ opacity: St ? e.color && r[a.indexOf(`${e.color}`)] === St ? 1 : S : X ? X.id === e.id ? 1 : S : Z ? Z.indexOf(e.label || "") !== -1 ? 1 : S : 1
227
224
  },
228
225
  whileInView: {
229
226
  x: u(e.x),
230
- y: r(e.y),
231
- opacity: Vt ? e.color && m[L.indexOf(`${e.color}`)] === Vt ? 1 : M : X ? X.id === e.id ? 1 : M : z ? z.indexOf(e.label || "") !== -1 ? 1 : M : 1,
227
+ y: g(e.y),
228
+ opacity: St ? e.color && r[a.indexOf(`${e.color}`)] === St ? 1 : S : X ? X.id === e.id ? 1 : S : Z ? Z.indexOf(e.label || "") !== -1 ? 1 : S : 1,
232
229
  transition: {
233
230
  duration: f.duration
234
231
  }
235
232
  }
236
- }, initial: "initial", animate: v ? "whileInView" : "initial", exit: {
233
+ }, initial: "initial", animate: C ? "whileInView" : "initial", exit: {
237
234
  opacity: 0,
238
235
  transition: {
239
236
  duration: f.duration
240
237
  }
241
- }, onMouseEnter: (w) => {
242
- Tt(e), Xt(w.clientY), Pt(w.clientX), st?.(e);
243
- }, onMouseMove: (w) => {
244
- Tt(e), Xt(w.clientY), Pt(w.clientX);
238
+ }, onMouseEnter: (V) => {
239
+ Xt(e), z(V.clientY), Yt(V.clientX), Nt?.(e);
240
+ }, onMouseMove: (V) => {
241
+ Xt(e), z(V.clientY), Yt(V.clientX);
245
242
  }, onMouseLeave: () => {
246
- Tt(void 0), Pt(void 0), Xt(void 0), st?.(void 0);
243
+ Xt(void 0), Yt(void 0), z(void 0), Nt?.(void 0);
247
244
  }, onClick: () => {
248
- (D || S) && (ni(W, e) && kt ? (d(void 0), D?.(void 0)) : (d(e), D?.(e)));
245
+ (M || N) && (xi(F, e) && qt ? (h(void 0), M?.(void 0)) : (h(e), M?.(e)));
249
246
  }, children: [
250
- /* @__PURE__ */ l.jsx(ze.circle, { cx: 0, cy: 0, exit: {
247
+ /* @__PURE__ */ l.jsx(We.circle, { cx: 0, cy: 0, exit: {
251
248
  r: 0,
252
249
  transition: {
253
250
  duration: f.duration
@@ -255,456 +252,453 @@ function qi(i) {
255
252
  }, variants: {
256
253
  initial: {
257
254
  r: 0,
258
- fill: o.filter(eo).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray,
259
- stroke: o.filter(to).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray
255
+ fill: o.filter(ao).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray,
256
+ stroke: o.filter(ro).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray
260
257
  },
261
258
  whileInView: {
262
- r: $ ? $(e.radius || 0) : F,
263
- fill: o.filter(_i).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray,
264
- stroke: o.filter(Zi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray,
259
+ r: b ? b(e.radius || 0) : I,
260
+ fill: o.filter(lo).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray,
261
+ stroke: o.filter(no).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray,
265
262
  transition: {
266
263
  duration: f.duration
267
264
  }
268
265
  }
269
- }, initial: "initial", animate: v ? "whileInView" : "initial", style: {
266
+ }, initial: "initial", animate: C ? "whileInView" : "initial", style: {
270
267
  fillOpacity: 0.6
271
268
  } }),
272
- Gt && !A(e.label) ? /* @__PURE__ */ l.jsx(ze.text, { style: {
269
+ Gt && !w(e.label) ? /* @__PURE__ */ l.jsx(We.text, { style: {
273
270
  ...s?.graphObjectValues || {}
274
- }, className: oi("graph-value text-sm", n?.graphObjectValues), y: 0, exit: {
271
+ }, className: fi("graph-value text-sm", n?.graphObjectValues), y: 0, exit: {
275
272
  opacity: 0,
276
273
  transition: {
277
274
  duration: f.duration
278
275
  }
279
276
  }, variants: {
280
277
  initial: {
281
- x: $ ? $(e.radius || 0) : F,
278
+ x: b ? b(e.radius || 0) : I,
282
279
  opacity: 0,
283
- fill: U || (o.filter(Qi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray)
280
+ fill: q || (o.filter(so).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray)
284
281
  },
285
282
  whileInView: {
286
- x: $ ? $(e.radius || 0) : F,
283
+ x: b ? b(e.radius || 0) : I,
287
284
  opacity: 1,
288
- fill: U || (o.filter(Ki).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray),
285
+ fill: q || (o.filter(oo).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray),
289
286
  transition: {
290
287
  duration: f.duration
291
288
  }
292
289
  }
293
- }, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : z && !A(e.label) && Me && z.indexOf(e.label) !== -1 ? /* @__PURE__ */ l.jsx(ze.text, { style: {
290
+ }, initial: "initial", animate: C ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : Z && !w(e.label) && Ae && Z.indexOf(e.label) !== -1 ? /* @__PURE__ */ l.jsx(We.text, { style: {
294
291
  ...s?.graphObjectValues || {}
295
- }, className: oi("graph-value text-sm", n?.graphObjectValues), y: 0, exit: {
292
+ }, className: fi("graph-value text-sm", n?.graphObjectValues), y: 0, exit: {
296
293
  opacity: 0,
297
294
  transition: {
298
295
  duration: f.duration
299
296
  }
300
297
  }, variants: {
301
298
  initial: {
302
- x: $ ? $(e.radius || 0) : F,
299
+ x: b ? b(e.radius || 0) : I,
303
300
  opacity: 0,
304
- fill: U || (o.filter(Ji).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray)
301
+ fill: q || (o.filter(io).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray)
305
302
  },
306
303
  whileInView: {
307
- x: $ ? $(e.radius || 0) : F,
304
+ x: b ? b(e.radius || 0) : I,
308
305
  opacity: 1,
309
- fill: U || (o.filter(Ui).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray),
306
+ fill: q || (o.filter(eo).length === 0 ? r[0] : e.color ? a.indexOf(`${e.color}`) === -1 || a.indexOf(`${e.color}`) > r.length - 1 ? T : r[a.indexOf(`${e.color}`)] : E.gray),
310
307
  transition: {
311
308
  duration: f.duration
312
309
  }
313
310
  }
314
- }, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : null
315
- ] }, `${e.label || Wt}`)), Q = ke.map((e, Wt) => /* @__PURE__ */ l.jsx(Vi, { text: e.text, color: e.color, x: u(e.value), y1: 0, y2: h, textSide: u(e.value) > b * 0.75 || Bt ? "left" : "right", classNames: e.classNames, styles: e.styles, animate: f, isInView: v }, Wt)), pt = De.map((e, Wt) => /* @__PURE__ */ l.jsx($i, { text: e.text, color: e.color, y: r(e.value), x1: 0, x2: b, classNames: e.classNames, styles: e.styles, animate: f, isInView: v }, Wt));
316
- const ei = ge.map((e, Wt) => {
317
- const w = Ci({
311
+ }, initial: "initial", animate: C ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : null
312
+ ] }, `${e.label || Wt}`)), vt = ne.map((e, Wt) => /* @__PURE__ */ l.jsx(Ti, { text: e.text, color: e.color, x: u(e.value), y1: 0, y2: A, textSide: u(e.value) > $ * 0.75 || at ? "left" : "right", classNames: e.classNames, styles: e.styles, animate: f, isInView: C }, Wt)), Q = ye.map((e, Wt) => /* @__PURE__ */ l.jsx(Xi, { text: e.text, color: e.color, y: g(e.value), x1: 0, x2: $, classNames: e.classNames, styles: e.styles, animate: f, isInView: C }, Wt));
313
+ const ai = Oe.map((e, Wt) => {
314
+ const V = ki({
318
315
  x: e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
319
- y: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
316
+ y: e.yCoordinate ? g(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
320
317
  }, {
321
318
  x: e.xCoordinate ? u(e.xCoordinate) : 0,
322
- y: e.yCoordinate ? r(e.yCoordinate) : 0
323
- }, A(e.connectorRadius) ? 3.5 : e.connectorRadius), xi = e.showConnector ? {
324
- y1: w.y,
325
- x1: w.x,
326
- y2: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
319
+ y: e.yCoordinate ? g(e.yCoordinate) : 0
320
+ }, w(e.connectorRadius) ? 3.5 : e.connectorRadius), bi = e.showConnector ? {
321
+ y1: V.y,
322
+ x1: V.x,
323
+ y2: e.yCoordinate ? g(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
327
324
  x2: e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
328
- cy: e.yCoordinate ? r(e.yCoordinate) : 0,
325
+ cy: e.yCoordinate ? g(e.yCoordinate) : 0,
329
326
  cx: e.xCoordinate ? u(e.xCoordinate) : 0,
330
- circleRadius: A(e.connectorRadius) ? 3.5 : e.connectorRadius,
327
+ circleRadius: w(e.connectorRadius) ? 3.5 : e.connectorRadius,
331
328
  strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
332
- } : void 0, di = {
333
- y: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
334
- x: Bt ? 0 : e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
335
- width: Bt ? e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : b + g.right - (e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
329
+ } : void 0, Oi = {
330
+ y: e.yCoordinate ? g(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
331
+ x: at ? 0 : e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
332
+ width: at ? e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : $ + y.right - (e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
336
333
  maxWidth: e.maxWidth,
337
334
  fontWeight: e.fontWeight,
338
335
  align: e.align
339
336
  };
340
- return /* @__PURE__ */ l.jsx(wi, { color: e.color, connectorsSettings: xi, labelSettings: di, text: e.text, classNames: e.classNames, styles: e.styles, animate: f, isInView: v }, Wt);
337
+ return /* @__PURE__ */ l.jsx(Mi, { color: e.color, connectorsSettings: bi, labelSettings: Oi, text: e.text, classNames: e.classNames, styles: e.styles, animate: f, isInView: C }, Wt);
341
338
  });
342
- t[179] !== ei ? (G = /* @__PURE__ */ l.jsx("g", { children: ei }), t[179] = ei, t[180] = G) : G = t[180], gt = $t ? /* @__PURE__ */ l.jsx(ki, { x1: 0, x2: b, y1: Ae(0), y2: Ae(b), graphHeight: h, graphWidth: b, className: n?.regLine, style: s?.regLine, color: typeof $t == "string" ? $t : void 0, animate: f, isInView: v }) : null, t[8] = f, t[9] = ge, t[10] = n?.graphObjectValues, t[11] = n?.regLine, t[12] = n?.xAxis?.axis, t[13] = n?.xAxis?.gridLines, t[14] = n?.xAxis?.labels, t[15] = n?.xAxis?.title, t[16] = n?.yAxis?.gridLines, t[17] = n?.yAxis?.labels, t[18] = n?.yAxis?.title, t[19] = L, t[20] = m, t[21] = zt, t[22] = T, t[23] = o, t[24] = S, t[25] = M, t[26] = V, t[27] = Se, t[28] = z, t[29] = v, t[30] = U, t[31] = H, t[32] = P, t[33] = g.bottom, t[34] = g.left, t[35] = g.right, t[36] = g.top, t[37] = de, t[38] = pe, t[39] = qt, t[40] = j, t[41] = O, t[42] = W, t[43] = X, t[44] = Ut, t[45] = Jt, t[46] = D, t[47] = st, t[48] = N, t[49] = F, t[50] = ke, t[51] = De, t[52] = $t, t[53] = kt, t[54] = Bt, t[55] = Vt, t[56] = Me, t[57] = Gt, t[58] = Kt, t[59] = s?.graphObjectValues, t[60] = s?.regLine, t[61] = s?.xAxis?.axis, t[62] = s?.xAxis?.gridLines, t[63] = s?.xAxis?.labels, t[64] = s?.xAxis?.title, t[65] = s?.yAxis?.gridLines, t[66] = s?.yAxis?.labels, t[67] = s?.yAxis?.title, t[68] = Ne, t[69] = ot, t[70] = y, t[71] = Mt, t[72] = Dt, t[73] = B, t[74] = Nt, t[75] = St, t[76] = Yt, t[77] = nt, t[78] = lt, t[79] = rt, t[80] = at, t[81] = ct, t[82] = E, t[83] = ft, t[84] = ut, t[85] = mt, t[86] = J, t[87] = xt, t[88] = K, t[89] = dt, t[90] = Q, t[91] = pt, t[92] = G, t[93] = gt;
339
+ t[186] !== ai ? (W = /* @__PURE__ */ l.jsx("g", { children: ai }), t[186] = ai, t[187] = W) : W = t[187], bt = Zt ? /* @__PURE__ */ l.jsx(Yi, { x1: 0, x2: $, y1: Ve(0), y2: Ve($), graphHeight: A, graphWidth: $, className: n?.regLine, style: s?.regLine, color: typeof Zt == "string" ? Zt : void 0, animate: f, isInView: C }) : null, t[8] = f, t[9] = Oe, t[10] = n?.graphObjectValues, t[11] = n?.regLine, t[12] = n?.xAxis?.axis, t[13] = n?.xAxis?.gridLines, t[14] = n?.xAxis?.labels, t[15] = n?.xAxis?.title, t[16] = n?.yAxis?.gridLines, t[17] = n?.yAxis?.labels, t[18] = n?.yAxis?.title, t[19] = a, t[20] = r, t[21] = Tt, t[22] = B, t[23] = o, t[24] = T, t[25] = N, t[26] = S, t[27] = L, t[28] = ve, t[29] = Z, t[30] = C, t[31] = q, t[32] = R, t[33] = y.bottom, t[34] = y.left, t[35] = y.right, t[36] = y.top, t[37] = be, t[38] = le, t[39] = re, t[40] = D, t[41] = j, t[42] = F, t[43] = X, t[44] = Bt, t[45] = zt, t[46] = M, t[47] = Nt, t[48] = I, t[49] = ne, t[50] = ye, t[51] = Zt, t[52] = qt, t[53] = at, t[54] = St, t[55] = Ae, t[56] = Gt, t[57] = Ce, t[58] = s?.graphObjectValues, t[59] = s?.regLine, t[60] = s?.xAxis?.axis, t[61] = s?.xAxis?.gridLines, t[62] = s?.xAxis?.labels, t[63] = s?.xAxis?.title, t[64] = s?.yAxis?.gridLines, t[65] = s?.yAxis?.labels, t[66] = s?.yAxis?.title, t[67] = Ut, t[68] = rt, t[69] = O, t[70] = m?.locale, t[71] = m?.padZeros, t[72] = m?.precision, t[73] = m?.prefix, t[74] = m?.suffix, t[75] = G, t[76] = d?.locale, t[77] = d?.padZeros, t[78] = d?.precision, t[79] = d?.prefix, t[80] = d?.suffix, t[81] = ct, t[82] = ft, t[83] = U, t[84] = ut, t[85] = xt, t[86] = mt, t[87] = H, t[88] = pt, t[89] = dt, t[90] = gt, t[91] = ht, t[92] = J, t[93] = yt, t[94] = K, t[95] = vt, t[96] = Q, t[97] = W, t[98] = bt;
343
340
  } else
344
- Yt = t[76], nt = t[77], lt = t[78], rt = t[79], at = t[80], ct = t[81], E = t[82], ft = t[83], ut = t[84], mt = t[85], J = t[86], xt = t[87], K = t[88], dt = t[89], Q = t[90], pt = t[91], G = t[92], gt = t[93];
345
- let ht;
346
- t[181] !== Yt || t[182] !== K || t[183] !== dt || t[184] !== Q || t[185] !== pt || t[186] !== G || t[187] !== gt ? (ht = /* @__PURE__ */ l.jsxs(Yt, { children: [
341
+ ct = t[81], ft = t[82], U = t[83], ut = t[84], xt = t[85], mt = t[86], H = t[87], pt = t[88], dt = t[89], gt = t[90], ht = t[91], J = t[92], yt = t[93], K = t[94], vt = t[95], Q = t[96], W = t[97], bt = t[98];
342
+ let Ot;
343
+ t[188] !== ct || t[189] !== yt || t[190] !== K || t[191] !== vt || t[192] !== Q || t[193] !== W || t[194] !== bt ? (Ot = /* @__PURE__ */ l.jsxs(ct, { children: [
344
+ yt,
347
345
  K,
348
- dt,
346
+ vt,
349
347
  Q,
350
- pt,
351
- G,
352
- gt
353
- ] }), t[181] = Yt, t[182] = K, t[183] = dt, t[184] = Q, t[185] = pt, t[186] = G, t[187] = gt, t[188] = ht) : ht = t[188];
354
- let yt;
355
- t[189] !== T ? (yt = T.filter(zi).map(Bi), t[189] = T, t[190] = yt) : yt = t[190];
356
- let vt;
357
- t[191] !== lt || t[192] !== rt || t[193] !== at || t[194] !== ct || t[195] !== E || t[196] !== ht || t[197] !== yt ? (vt = /* @__PURE__ */ l.jsxs("g", { transform: lt, children: [
358
- rt,
359
- at,
360
- ct,
361
- E,
362
- ht,
363
- yt
364
- ] }), t[191] = lt, t[192] = rt, t[193] = at, t[194] = ct, t[195] = E, t[196] = ht, t[197] = yt, t[198] = vt) : vt = t[198];
365
- let bt;
366
- t[199] !== nt || t[200] !== ft || t[201] !== ut || t[202] !== mt || t[203] !== J || t[204] !== xt || t[205] !== vt ? (bt = /* @__PURE__ */ l.jsx(nt, { width: ft, height: ut, viewBox: mt, direction: J, ref: xt, children: vt }), t[199] = nt, t[200] = ft, t[201] = ut, t[202] = mt, t[203] = J, t[204] = xt, t[205] = vt, t[206] = bt) : bt = t[206];
367
- let Z;
368
- t[207] !== n?.tooltip || t[208] !== x || t[209] !== ye || t[210] !== X || t[211] !== s?.tooltip || t[212] !== xe ? (Z = X && xe && x && ye ? /* @__PURE__ */ l.jsx(Oi, { data: X, body: xe, xPos: x, yPos: ye, backgroundStyle: s?.tooltip, className: n?.tooltip }) : null, t[207] = n?.tooltip, t[208] = x, t[209] = ye, t[210] = X, t[211] = s?.tooltip, t[212] = xe, t[213] = Z) : Z = t[213];
348
+ W,
349
+ bt
350
+ ] }), t[188] = ct, t[189] = yt, t[190] = K, t[191] = vt, t[192] = Q, t[193] = W, t[194] = bt, t[195] = Ot) : Ot = t[195];
369
351
  let _;
370
- t[214] !== n?.modal || t[215] !== S || t[216] !== W ? (_ = S && W !== void 0 ? /* @__PURE__ */ l.jsx(Mi, { body: S, data: W, setData: d, className: n?.modal }) : null, t[214] = n?.modal, t[215] = S, t[216] = W, t[217] = _) : _ = t[217];
371
- let q;
372
- return t[218] !== bt || t[219] !== Z || t[220] !== _ ? (q = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
373
- bt,
374
- Z,
352
+ t[196] !== B ? (_ = B.filter(to).map(_i), t[196] = B, t[197] = _) : _ = t[197];
353
+ let tt;
354
+ t[198] !== U || t[199] !== ut || t[200] !== xt || t[201] !== mt || t[202] !== H || t[203] !== Ot || t[204] !== _ ? (tt = /* @__PURE__ */ l.jsxs("g", { transform: U, children: [
355
+ ut,
356
+ xt,
357
+ mt,
358
+ H,
359
+ Ot,
375
360
  _
376
- ] }), t[218] = bt, t[219] = Z, t[220] = _, t[221] = q) : q = t[221], q;
361
+ ] }), t[198] = U, t[199] = ut, t[200] = xt, t[201] = mt, t[202] = H, t[203] = Ot, t[204] = _, t[205] = tt) : tt = t[205];
362
+ let k;
363
+ t[206] !== ft || t[207] !== pt || t[208] !== dt || t[209] !== gt || t[210] !== ht || t[211] !== J || t[212] !== tt ? (k = /* @__PURE__ */ l.jsx(ft, { width: pt, height: dt, viewBox: gt, direction: ht, ref: J, children: tt }), t[206] = ft, t[207] = pt, t[208] = dt, t[209] = gt, t[210] = ht, t[211] = J, t[212] = tt, t[213] = k) : k = t[213];
364
+ let At;
365
+ t[214] !== n?.tooltip || t[215] !== p || t[216] !== ce || t[217] !== X || t[218] !== s?.tooltip || t[219] !== se ? (At = X && se && p && ce ? /* @__PURE__ */ l.jsx(Di, { data: X, body: se, xPos: p, yPos: ce, backgroundStyle: s?.tooltip, className: n?.tooltip }) : null, t[214] = n?.tooltip, t[215] = p, t[216] = ce, t[217] = X, t[218] = s?.tooltip, t[219] = se, t[220] = At) : At = t[220];
366
+ let Ct;
367
+ t[221] !== n?.modal || t[222] !== N || t[223] !== F ? (Ct = N && F !== void 0 ? /* @__PURE__ */ l.jsx(Ri, { body: N, data: F, setData: h, className: n?.modal }) : null, t[221] = n?.modal, t[222] = N, t[223] = F, t[224] = Ct) : Ct = t[224];
368
+ let Pt;
369
+ return t[225] !== k || t[226] !== At || t[227] !== Ct ? (Pt = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
370
+ k,
371
+ At,
372
+ Ct
373
+ ] }), t[225] = k, t[226] = At, t[227] = Ct, t[228] = Pt) : Pt = t[228], Pt;
377
374
  }
378
- function Bi(i) {
375
+ function _i(i) {
379
376
  return i.layer;
380
377
  }
381
- function zi(i) {
378
+ function to(i) {
382
379
  return i.position === "after";
383
380
  }
384
- function Ui(i) {
381
+ function eo(i) {
385
382
  return i.color;
386
383
  }
387
- function Ji(i) {
384
+ function io(i) {
388
385
  return i.color;
389
386
  }
390
- function Ki(i) {
387
+ function oo(i) {
391
388
  return i.color;
392
389
  }
393
- function Qi(i) {
390
+ function so(i) {
394
391
  return i.color;
395
392
  }
396
- function Zi(i) {
393
+ function no(i) {
397
394
  return i.color;
398
395
  }
399
- function _i(i) {
396
+ function lo(i) {
400
397
  return i.color;
401
398
  }
402
- function to(i) {
399
+ function ro(i) {
403
400
  return i.color;
404
401
  }
405
- function eo(i) {
402
+ function ao(i) {
406
403
  return i.color;
407
404
  }
408
- function io(i) {
405
+ function co(i) {
409
406
  return i.layer;
410
407
  }
411
- function oo(i) {
408
+ function fo(i) {
412
409
  return i.position === "before";
413
410
  }
414
- function so(i) {
411
+ function uo(i) {
415
412
  return i !== 0;
416
413
  }
417
- function no(i) {
414
+ function xo(i) {
418
415
  return i !== 0;
419
416
  }
420
- function lo(i) {
417
+ function mo(i) {
421
418
  return i !== 0;
422
419
  }
423
- function ro(i) {
420
+ function po(i) {
424
421
  return i !== 0;
425
422
  }
426
- function ao(i) {
427
- return !A(i.x) && !A(i.y);
423
+ function go(i) {
424
+ return !w(i.x) && !w(i.y);
428
425
  }
429
- function co(i) {
430
- return !A(i.radius) && !A(i.x) && !A(i.y);
426
+ function ho(i) {
427
+ return !w(i.radius) && !w(i.x) && !w(i.y);
431
428
  }
432
- function fo(i) {
433
- return !A(i.x) && !A(i.y);
429
+ function yo(i) {
430
+ return !w(i.x) && !w(i.y);
434
431
  }
435
- function uo(i) {
436
- return !A(i.radius);
432
+ function vo(i) {
433
+ return !w(i.radius);
437
434
  }
438
- function mo(i) {
435
+ function bo(i) {
439
436
  return i.radius === void 0 || i.radius === null;
440
437
  }
441
- function xo(i, t) {
438
+ function Oo(i, t) {
442
439
  return {
443
440
  ...i,
444
441
  id: `${t}`
445
442
  };
446
443
  }
447
- function ws(i) {
448
- const t = mi.c(144), {
444
+ function Ms(i) {
445
+ const t = vi.c(141), {
449
446
  data: o,
450
- graphTitle: ot,
451
- colors: V,
447
+ graphTitle: rt,
448
+ colors: L,
452
449
  sources: Gt,
453
- graphDescription: m,
454
- showLabels: L,
455
- height: F,
456
- width: y,
457
- footNote: B,
458
- colorDomain: H,
459
- colorLegendTitle: me,
460
- radius: $e,
461
- xAxisTitle: He,
462
- yAxisTitle: xe,
463
- padding: st,
464
- backgroundColor: ke,
465
- leftMargin: De,
466
- rightMargin: Se,
467
- topMargin: Vt,
468
- bottomMargin: z,
469
- tooltip: de,
470
- relativeHeight: pe,
471
- onSeriesMouseOver: j,
472
- refXValues: qt,
473
- refYValues: O,
474
- highlightAreaSettings: D,
475
- showColorScale: Bt,
476
- highlightedDataPoints: ge,
477
- showHighlightedDataPointsLabels: zt,
478
- graphID: $t,
479
- maxRadiusValue: kt,
480
- maxXValue: S,
481
- minXValue: Ut,
482
- maxYValue: Jt,
483
- minYValue: U,
484
- xSuffix: Dt,
485
- ySuffix: St,
486
- xPrefix: Mt,
487
- yPrefix: Nt,
488
- onSeriesMouseClick: s,
489
- graphDownload: n,
490
- dataDownload: f,
491
- language: M,
492
- showNAColor: N,
493
- minHeight: Me,
494
- annotations: T,
495
- customHighlightAreaSettings: Kt,
496
- theme: Ne,
497
- regressionLine: P,
498
- ariaLabel: Te,
499
- resetSelectionOnDoubleClick: he,
500
- detailsOnClick: v,
450
+ graphDescription: r,
451
+ showLabels: a,
452
+ height: I,
453
+ width: O,
454
+ footNote: G,
455
+ colorDomain: R,
456
+ defaultColor: he,
457
+ colorLegendTitle: oe,
458
+ radius: Ye,
459
+ xAxisTitle: se,
460
+ yAxisTitle: Nt,
461
+ padding: ne,
462
+ backgroundColor: ye,
463
+ leftMargin: ve,
464
+ rightMargin: St,
465
+ topMargin: Z,
466
+ bottomMargin: be,
467
+ tooltip: le,
468
+ relativeHeight: D,
469
+ onSeriesMouseOver: re,
470
+ refXValues: j,
471
+ refYValues: M,
472
+ highlightAreaSettings: at,
473
+ showColorScale: Oe,
474
+ highlightedDataPoints: Tt,
475
+ showHighlightedDataPointsLabels: Zt,
476
+ graphID: qt,
477
+ maxRadiusValue: N,
478
+ maxXValue: Bt,
479
+ minXValue: zt,
480
+ maxYValue: q,
481
+ minYValue: s,
482
+ onSeriesMouseClick: n,
483
+ graphDownload: f,
484
+ dataDownload: S,
485
+ language: Ae,
486
+ showNAColor: B,
487
+ minHeight: Ce,
488
+ annotations: Ut,
489
+ customHighlightAreaSettings: m,
490
+ theme: d,
491
+ regressionLine: T,
492
+ ariaLabel: $e,
493
+ resetSelectionOnDoubleClick: ae,
494
+ detailsOnClick: C,
501
495
  noOfXTicks: X,
502
- noOfYTicks: Tt,
503
- labelColor: W,
504
- styles: d,
505
- classNames: x,
506
- animate: Pt,
507
- dimmedOpacity: ye,
508
- precision: Xt,
509
- customLayers: Qt,
510
- timeline: Zt,
511
- showVoronoiTesselation: ve,
512
- useVoronoiInteraction: g,
513
- locale: Yt
514
- } = i, nt = L === void 0 ? !1 : L, lt = $e === void 0 ? 5 : $e, rt = He === void 0 ? "X Axis" : He, at = xe === void 0 ? "Y Axis" : xe, ct = ke === void 0 ? !1 : ke, E = De === void 0 ? 0 : De, ft = Se === void 0 ? 10 : Se, ut = Vt === void 0 ? 20 : Vt, mt = z === void 0 ? 50 : z;
496
+ noOfYTicks: Xt,
497
+ labelColor: F,
498
+ styles: h,
499
+ classNames: p,
500
+ animate: Yt,
501
+ dimmedOpacity: ce,
502
+ customLayers: z,
503
+ timeline: Jt,
504
+ showVoronoiTesselation: we,
505
+ useVoronoiInteraction: fe,
506
+ xNumberDisplayOptions: y,
507
+ yNumberDisplayOptions: ct
508
+ } = i, ft = a === void 0 ? !1 : a, U = he === void 0 ? E.gray : he, ut = Ye === void 0 ? 5 : Ye, xt = se === void 0 ? "X Axis" : se, mt = Nt === void 0 ? "Y Axis" : Nt, H = ye === void 0 ? !1 : ye, pt = ve === void 0 ? 0 : ve, dt = St === void 0 ? 10 : St, gt = Z === void 0 ? 20 : Z, ht = be === void 0 ? 50 : be;
515
509
  let J;
516
- t[0] !== qt ? (J = qt === void 0 ? [] : qt, t[0] = qt, t[1] = J) : J = t[1];
517
- const xt = J;
510
+ t[0] !== j ? (J = j === void 0 ? [] : j, t[0] = j, t[1] = J) : J = t[1];
511
+ const yt = J;
518
512
  let K;
519
- t[2] !== O ? (K = O === void 0 ? [] : O, t[2] = O, t[3] = K) : K = t[3];
520
- const dt = K;
513
+ t[2] !== M ? (K = M === void 0 ? [] : M, t[2] = M, t[3] = K) : K = t[3];
514
+ const vt = K;
521
515
  let Q;
522
- t[4] !== D ? (Q = D === void 0 ? [] : D, t[4] = D, t[5] = Q) : Q = t[5];
523
- const pt = Q, G = Bt === void 0 ? !0 : Bt, gt = zt === void 0 ? !1 : zt, ht = Dt === void 0 ? "" : Dt, yt = St === void 0 ? "" : St, vt = Mt === void 0 ? "" : Mt, bt = Nt === void 0 ? "" : Nt, Z = n === void 0 ? !1 : n, _ = f === void 0 ? !1 : f, q = M === void 0 ? "en" : M, be = N === void 0 ? !0 : N, b = Me === void 0 ? 0 : Me;
524
- let h;
525
- t[6] !== T ? (h = T === void 0 ? [] : T, t[6] = T, t[7] = h) : h = t[7];
526
- const $ = h;
516
+ t[4] !== at ? (Q = at === void 0 ? [] : at, t[4] = at, t[5] = Q) : Q = t[5];
517
+ const W = Q, bt = Oe === void 0 ? !0 : Oe, Ot = Zt === void 0 ? !1 : Zt, _ = f === void 0 ? !1 : f, tt = S === void 0 ? !1 : S, k = Ae === void 0 ? "en" : Ae, At = B === void 0 ? !0 : B, Ct = Ce === void 0 ? 0 : Ce;
518
+ let Pt;
519
+ t[6] !== Ut ? (Pt = Ut === void 0 ? [] : Ut, t[6] = Ut, t[7] = Pt) : Pt = t[7];
520
+ const ue = Pt;
521
+ let $;
522
+ t[8] !== m ? ($ = m === void 0 ? [] : m, t[8] = m, t[9] = $) : $ = t[9];
523
+ const A = $, b = d === void 0 ? "light" : d, Kt = T === void 0 ? !1 : T, u = ae === void 0 ? !0 : ae, g = X === void 0 ? 5 : X, Le = Xt === void 0 ? 5 : Xt, xe = Yt === void 0 ? !1 : Yt, Pe = ce === void 0 ? 0.3 : ce;
524
+ let je;
525
+ t[10] !== z ? (je = z === void 0 ? [] : z, t[10] = z, t[11] = je) : je = t[11];
526
+ const Ve = je;
527
527
  let It;
528
- t[8] !== Kt ? (It = Kt === void 0 ? [] : Kt, t[8] = Kt, t[9] = It) : It = t[9];
529
- const u = It, r = Ne === void 0 ? "light" : Ne, Pe = P === void 0 ? !1 : P, Xe = he === void 0 ? !0 : he, We = X === void 0 ? 5 : X, Ee = Tt === void 0 ? 5 : Tt, Ae = Pt === void 0 ? !1 : Pt, _t = ye === void 0 ? 0.3 : ye, Oe = Xt === void 0 ? 2 : Xt;
530
- let te;
531
- t[10] !== Qt ? (te = Qt === void 0 ? [] : Qt, t[10] = Qt, t[11] = te) : te = t[11];
532
- const ee = te;
533
- let ie;
534
- t[12] !== Zt ? (ie = Zt === void 0 ? {
528
+ t[12] !== Jt ? (It = Jt === void 0 ? {
535
529
  enabled: !1,
536
530
  autoplay: !1,
537
531
  showOnlyActiveDate: !0
538
- } : Zt, t[12] = Zt, t[13] = ie) : ie = t[13];
539
- const a = ie, oe = ve === void 0 ? !1 : ve, Ce = g === void 0 ? !0 : g, we = Yt === void 0 ? "en" : Yt, [se, Ge] = Et(0), [tt, qe] = Et(0), [C, Be] = Et(a.autoplay);
540
- let Rt;
541
- if (t[14] !== o || t[15] !== a.dateFormat) {
542
- let p;
543
- t[17] !== a.dateFormat ? (p = (k) => gi(`${k.date}`, a.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[17] = a.dateFormat, t[18] = p) : p = t[18], Rt = [...new Set(o.filter(Eo).map(p))], Rt.sort(Wo), t[14] = o, t[15] = a.dateFormat, t[16] = Rt;
532
+ } : Jt, t[12] = Jt, t[13] = It) : It = t[13];
533
+ const c = It, me = we === void 0 ? !1 : we, Qt = fe === void 0 ? !0 : fe, [_t, Ie] = Et(0), [Rt, Re] = Et(0), [Y, Fe] = Et(c.autoplay);
534
+ let Ft;
535
+ if (t[14] !== o || t[15] !== c.dateFormat) {
536
+ let v;
537
+ t[17] !== c.dateFormat ? (v = (lt) => Ci(`${lt.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[17] = c.dateFormat, t[18] = v) : v = t[18], Ft = [...new Set(o.filter(Jo).map(v))], Ft.sort(Uo), t[14] = o, t[15] = c.dateFormat, t[16] = Ft;
544
538
  } else
545
- Rt = t[16];
546
- const c = Rt, [Y, At] = Et(a.autoplay ? 0 : c.length - 1), [Ot, ne] = Et(void 0), le = ii(null), Ye = ii(null);
547
- let re, ae;
548
- t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = () => {
549
- const p = new ResizeObserver((k) => {
550
- Ge(k[0].target.clientWidth || 620), qe(k[0].target.clientHeight || 480);
539
+ Ft = t[16];
540
+ const x = Ft, [P, pe] = Et(c.autoplay ? 0 : x.length - 1), [de, He] = Et(void 0), $t = ci(null), De = ci(null);
541
+ let et, te;
542
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (et = () => {
543
+ const v = new ResizeObserver((lt) => {
544
+ Ie(lt[0].target.clientWidth || 620), Re(lt[0].target.clientHeight || 480);
551
545
  });
552
- return le.current && p.observe(le.current), () => p.disconnect();
553
- }, ae = [], t[19] = re, t[20] = ae) : (re = t[19], ae = t[20]), si(re, ae);
554
- let ce, Ft;
555
- t[21] !== C || t[22] !== a.speed || t[23] !== c ? (ce = () => {
556
- const p = setInterval(() => {
557
- At((k) => k < c.length - 1 ? k + 1 : 0);
558
- }, (a.speed || 2) * 1e3);
559
- return C || clearInterval(p), () => clearInterval(p);
560
- }, Ft = [c, C, a.speed], t[21] = C, t[22] = a.speed, t[23] = c, t[24] = ce, t[25] = Ft) : (ce = t[24], Ft = t[25]), si(ce, Ft);
561
- const Le = a.dateFormat || "yyyy";
562
- let fe;
563
- t[26] !== Y || t[27] !== Le || t[28] !== a.showOnlyActiveDate || t[29] !== c ? (fe = hi(c, Y, a.showOnlyActiveDate, Le), t[26] = Y, t[27] = Le, t[28] = a.showOnlyActiveDate, t[29] = c, t[30] = fe) : fe = t[30];
564
- const Ht = fe, je = x?.graphContainer, Ve = d?.graphContainer;
565
- let et;
566
- t[31] !== x?.description || t[32] !== x?.title || t[33] !== o || t[34] !== _ || t[35] !== m || t[36] !== Z || t[37] !== ot || t[38] !== d?.description || t[39] !== d?.title || t[40] !== y ? (et = ot || m || Z || _ ? /* @__PURE__ */ l.jsx(Yi, { styles: {
567
- title: d?.title,
568
- description: d?.description
546
+ return $t.current && v.observe($t.current), () => v.disconnect();
547
+ }, te = [], t[19] = et, t[20] = te) : (et = t[19], te = t[20]), ui(et, te);
548
+ let ee, it;
549
+ t[21] !== Y || t[22] !== c.speed || t[23] !== x ? (ee = () => {
550
+ const v = setInterval(() => {
551
+ pe((lt) => lt < x.length - 1 ? lt + 1 : 0);
552
+ }, (c.speed || 2) * 1e3);
553
+ return Y || clearInterval(v), () => clearInterval(v);
554
+ }, it = [x, Y, c.speed], t[21] = Y, t[22] = c.speed, t[23] = x, t[24] = ee, t[25] = it) : (ee = t[24], it = t[25]), ui(ee, it);
555
+ const ge = c.dateFormat || "yyyy";
556
+ let ot;
557
+ t[26] !== P || t[27] !== ge || t[28] !== c.showOnlyActiveDate || t[29] !== x ? (ot = $i(x, P, c.showOnlyActiveDate, ge), t[26] = P, t[27] = ge, t[28] = c.showOnlyActiveDate, t[29] = x, t[30] = ot) : ot = t[30];
558
+ const st = ot, wt = p?.graphContainer, ie = h?.graphContainer;
559
+ let Lt;
560
+ t[31] !== p?.description || t[32] !== p?.title || t[33] !== o || t[34] !== tt || t[35] !== r || t[36] !== _ || t[37] !== rt || t[38] !== h?.description || t[39] !== h?.title || t[40] !== O ? (Lt = rt || r || _ || tt ? /* @__PURE__ */ l.jsx(Gi, { styles: {
561
+ title: h?.title,
562
+ description: h?.description
569
563
  }, classNames: {
570
- title: x?.title,
571
- description: x?.description
572
- }, graphTitle: ot, graphDescription: m, width: y, graphDownload: Z ? Ye : void 0, dataDownload: _ ? o.map(Ho).filter(Fo).length > 0 ? o.map(Ro).filter(Io) : o.filter(Yo) : null }) : null, t[31] = x?.description, t[32] = x?.title, t[33] = o, t[34] = _, t[35] = m, t[36] = Z, t[37] = ot, t[38] = d?.description, t[39] = d?.title, t[40] = y, t[41] = et) : et = t[41];
573
- let Ct;
574
- t[42] !== Y || t[43] !== Ht || t[44] !== C || t[45] !== a.enabled || t[46] !== c ? (Ct = a.enabled && c.length > 0 && Ht ? /* @__PURE__ */ l.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
564
+ title: p?.title,
565
+ description: p?.description
566
+ }, graphTitle: rt, graphDescription: r, width: O, graphDownload: _ ? De : void 0, dataDownload: tt ? o.map(zo).filter(Bo).length > 0 ? o.map(qo).filter(Zo) : o.filter(Go) : null }) : null, t[31] = p?.description, t[32] = p?.title, t[33] = o, t[34] = tt, t[35] = r, t[36] = _, t[37] = rt, t[38] = h?.description, t[39] = h?.title, t[40] = O, t[41] = Lt) : Lt = t[41];
567
+ let jt;
568
+ t[42] !== P || t[43] !== st || t[44] !== Y || t[45] !== c.enabled || t[46] !== x ? (jt = c.enabled && x.length > 0 && st ? /* @__PURE__ */ l.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
575
569
  /* @__PURE__ */ l.jsx("button", { type: "button", onClick: () => {
576
- Be(!C);
577
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": C ? "Click to pause animation" : "Click to play animation", children: C ? /* @__PURE__ */ l.jsx(Fi, {}) : /* @__PURE__ */ l.jsx(Hi, {}) }),
578
- /* @__PURE__ */ l.jsx(yi, { min: c[0], max: c[c.length - 1], marks: Ht, step: null, defaultValue: c[c.length - 1], value: c[Y], onChangeComplete: (p) => {
579
- At(c.indexOf(p));
580
- }, onChange: (p) => {
581
- At(c.indexOf(p));
570
+ Fe(!Y);
571
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": Y ? "Click to pause animation" : "Click to play animation", children: Y ? /* @__PURE__ */ l.jsx(Bi, {}) : /* @__PURE__ */ l.jsx(zi, {}) }),
572
+ /* @__PURE__ */ l.jsx(wi, { min: x[0], max: x[x.length - 1], marks: st, step: null, defaultValue: x[x.length - 1], value: x[P], onChangeComplete: (v) => {
573
+ pe(x.indexOf(v));
574
+ }, onChange: (v) => {
575
+ pe(x.indexOf(v));
582
576
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
583
- ] }) : null, t[42] = Y, t[43] = Ht, t[44] = C, t[45] = a.enabled, t[46] = c, t[47] = Ct) : Ct = t[47];
584
- let wt;
585
- t[48] !== x?.colorLegend || t[49] !== H || t[50] !== me || t[51] !== V || t[52] !== o || t[53] !== G || t[54] !== be || t[55] !== r || t[56] !== y ? (wt = G && o.filter(Xo).length !== 0 && o.length > 0 ? /* @__PURE__ */ l.jsx(Ii, { width: y, colorLegendTitle: me, colors: V || it[r].categoricalColors.colors, colorDomain: H || ui(o, "color", !0), setSelectedColor: ne, showNAColor: be, className: x?.colorLegend }) : null, t[48] = x?.colorLegend, t[49] = H, t[50] = me, t[51] = V, t[52] = o, t[53] = G, t[54] = be, t[55] = r, t[56] = y, t[57] = wt) : wt = t[57];
586
- let Lt;
587
- t[58] !== o.length ? (Lt = o.length === 0 && /* @__PURE__ */ l.jsx(Ri, {}), t[58] = o.length, t[59] = Lt) : Lt = t[59];
588
- let I;
589
- t[60] !== Ae || t[61] !== $ || t[62] !== mt || t[63] !== x || t[64] !== H || t[65] !== V || t[66] !== u || t[67] !== ee || t[68] !== o || t[69] !== v || t[70] !== _t || t[71] !== pt || t[72] !== ge || t[73] !== Y || t[74] !== W || t[75] !== q || t[76] !== E || t[77] !== we || t[78] !== kt || t[79] !== S || t[80] !== Jt || t[81] !== Ut || t[82] !== U || t[83] !== We || t[84] !== Ee || t[85] !== s || t[86] !== j || t[87] !== Oe || t[88] !== lt || t[89] !== xt || t[90] !== dt || t[91] !== Pe || t[92] !== Xe || t[93] !== ft || t[94] !== Ot || t[95] !== gt || t[96] !== nt || t[97] !== oe || t[98] !== d || t[99] !== tt || t[100] !== se || t[101] !== r || t[102] !== a.dateFormat || t[103] !== a.enabled || t[104] !== de || t[105] !== ut || t[106] !== c || t[107] !== Ce || t[108] !== rt || t[109] !== vt || t[110] !== ht || t[111] !== at || t[112] !== bt || t[113] !== yt ? (I = se && tt && o.length > 0 ? /* @__PURE__ */ l.jsx(qi, { data: Wi(o, a.dateFormat || "yyyy").filter((p) => a.enabled ? `${p.date}` === pi(new Date(c[Y]), a.dateFormat || "yyyy") : p), width: se, height: tt, colorDomain: o.filter(Po).length === 0 ? [] : H || ui(o, "color", !0), colors: o.filter(To).length === 0 ? V ? [V] : [it.primaryColors["blue-600"]] : V || it[r].categoricalColors.colors, xAxisTitle: rt, yAxisTitle: at, refXValues: xt, refYValues: dt, showLabels: nt, radius: lt, leftMargin: E, rightMargin: ft, topMargin: ut, bottomMargin: mt, tooltip: de, onSeriesMouseOver: j, highlightAreaSettings: pt, showVoronoiTesselation: oe, highlightedDataPoints: o.filter(No).length === 0 ? [] : ge, showHighlightedDataPointsLabels: gt, selectedColor: Ot, maxRadiusValue: A(kt) ? Math.max(...o.map(Mo).filter(So)) : kt, maxXValue: A(S) ? Math.max(...o.map(Do).filter(ko)) > 0 ? Math.max(...o.map($o).filter(Vo)) : 0 : S, minXValue: A(Ut) ? Math.min(...o.map(jo).filter(Lo)) > 0 ? 0 : Math.min(...o.map(wo).filter(Co)) : Ut, maxYValue: A(Jt) ? Math.max(...o.map(Oo).filter(Ao)) > 0 ? Math.max(...o.map(bo).filter(vo)) : 0 : Jt, minYValue: A(U) ? Math.min(...o.map(yo).filter(ho)) > 0 ? 0 : Math.min(...o.map(go).filter(po)) : U, onSeriesMouseClick: s, rtl: q === "he" || q === "ar", annotations: $, customHighlightAreaSettings: u, regressionLine: Pe, resetSelectionOnDoubleClick: Xe, detailsOnClick: v, noOfXTicks: We, noOfYTicks: Ee, labelColor: W, xSuffix: ht, ySuffix: yt, xPrefix: vt, yPrefix: bt, styles: d, classNames: x, animate: Ae === !0 ? {
577
+ ] }) : null, t[42] = P, t[43] = st, t[44] = Y, t[45] = c.enabled, t[46] = x, t[47] = jt) : jt = t[47];
578
+ let Vt;
579
+ t[48] !== p?.colorLegend || t[49] !== R || t[50] !== oe || t[51] !== L || t[52] !== o || t[53] !== bt || t[54] !== At || t[55] !== b || t[56] !== O ? (Vt = bt && o.filter(Eo).length !== 0 && o.length > 0 ? /* @__PURE__ */ l.jsx(Zi, { width: O, colorLegendTitle: oe, colors: L || E[b].categoricalColors.colors, colorDomain: R || yi(o, "color", !0), setSelectedColor: He, showNAColor: At, className: p?.colorLegend }) : null, t[48] = p?.colorLegend, t[49] = R, t[50] = oe, t[51] = L, t[52] = o, t[53] = bt, t[54] = At, t[55] = b, t[56] = O, t[57] = Vt) : Vt = t[57];
580
+ let Dt;
581
+ t[58] !== o.length ? (Dt = o.length === 0 && /* @__PURE__ */ l.jsx(qi, {}), t[58] = o.length, t[59] = Dt) : Dt = t[59];
582
+ let nt;
583
+ t[60] !== xe || t[61] !== ue || t[62] !== ht || t[63] !== p || t[64] !== R || t[65] !== L || t[66] !== A || t[67] !== Ve || t[68] !== o || t[69] !== U || t[70] !== C || t[71] !== Pe || t[72] !== W || t[73] !== Tt || t[74] !== P || t[75] !== F || t[76] !== k || t[77] !== pt || t[78] !== N || t[79] !== Bt || t[80] !== q || t[81] !== zt || t[82] !== s || t[83] !== g || t[84] !== Le || t[85] !== n || t[86] !== re || t[87] !== ut || t[88] !== yt || t[89] !== vt || t[90] !== Kt || t[91] !== u || t[92] !== dt || t[93] !== de || t[94] !== Ot || t[95] !== ft || t[96] !== me || t[97] !== h || t[98] !== Rt || t[99] !== _t || t[100] !== b || t[101] !== c.dateFormat || t[102] !== c.enabled || t[103] !== le || t[104] !== gt || t[105] !== x || t[106] !== Qt || t[107] !== xt || t[108] !== y || t[109] !== mt || t[110] !== ct ? (nt = _t && Rt && o.length > 0 ? /* @__PURE__ */ l.jsx(Qi, { data: Ui(o, c.dateFormat || "yyyy").filter((v) => c.enabled ? `${v.date}` === Ai(new Date(x[P]), c.dateFormat || "yyyy") : v), width: _t, height: Rt, colorDomain: o.filter(Wo).length === 0 ? [] : R || yi(o, "color", !0), colors: o.filter(Ho).length === 0 ? L ? typeof L == "string" ? [L] : [L[0]] : [U || E.primaryColors["blue-600"]] : L || E[b].categoricalColors.colors, xAxisTitle: xt, yAxisTitle: mt, refXValues: yt, refYValues: vt, showLabels: ft, radius: ut, leftMargin: pt, rightMargin: dt, topMargin: gt, bottomMargin: ht, tooltip: le, onSeriesMouseOver: re, highlightAreaSettings: W, showVoronoiTesselation: me, highlightedDataPoints: o.filter(Fo).length === 0 ? [] : Tt, showHighlightedDataPointsLabels: Ot, selectedColor: de, maxRadiusValue: w(N) ? Math.max(...o.map(Ro).filter(Io)) : N, maxXValue: w(Bt) ? Math.max(...o.map(Po).filter(Yo)) > 0 ? Math.max(...o.map(Xo).filter(To)) : 0 : Bt, minXValue: w(zt) ? Math.min(...o.map(So).filter(No)) > 0 ? 0 : Math.min(...o.map(Mo).filter(ko)) : zt, maxYValue: w(q) ? Math.max(...o.map(Do).filter(Vo)) > 0 ? Math.max(...o.map(jo).filter(Lo)) : 0 : q, minYValue: w(s) ? Math.min(...o.map(wo).filter($o)) > 0 ? 0 : Math.min(...o.map(Co).filter(Ao)) : s, onSeriesMouseClick: n, rtl: k === "he" || k === "ar", annotations: ue, customHighlightAreaSettings: A, regressionLine: Kt, resetSelectionOnDoubleClick: u, detailsOnClick: C, noOfXTicks: g, noOfYTicks: Le, labelColor: F, styles: h, classNames: p, animate: xe === !0 ? {
590
584
  duration: 0.5,
591
585
  once: !0,
592
586
  amount: 0.5
593
- } : Ae || {
587
+ } : xe || {
594
588
  duration: 0,
595
589
  once: !0,
596
590
  amount: 0
597
- }, dimmedOpacity: _t, precision: Oe, customLayers: ee, useVoronoiInteraction: Ce, locale: we }) : null, t[60] = Ae, t[61] = $, t[62] = mt, t[63] = x, t[64] = H, t[65] = V, t[66] = u, t[67] = ee, t[68] = o, t[69] = v, t[70] = _t, t[71] = pt, t[72] = ge, t[73] = Y, t[74] = W, t[75] = q, t[76] = E, t[77] = we, t[78] = kt, t[79] = S, t[80] = Jt, t[81] = Ut, t[82] = U, t[83] = We, t[84] = Ee, t[85] = s, t[86] = j, t[87] = Oe, t[88] = lt, t[89] = xt, t[90] = dt, t[91] = Pe, t[92] = Xe, t[93] = ft, t[94] = Ot, t[95] = gt, t[96] = nt, t[97] = oe, t[98] = d, t[99] = tt, t[100] = se, t[101] = r, t[102] = a.dateFormat, t[103] = a.enabled, t[104] = de, t[105] = ut, t[106] = c, t[107] = Ce, t[108] = rt, t[109] = vt, t[110] = ht, t[111] = at, t[112] = bt, t[113] = yt, t[114] = I) : I = t[114];
598
- let jt;
599
- t[115] !== Lt || t[116] !== I ? (jt = /* @__PURE__ */ l.jsxs(Ei, { ref: le, children: [
600
- Lt,
601
- I
602
- ] }), t[115] = Lt, t[116] = I, t[117] = jt) : jt = t[117];
603
- let R;
604
- t[118] !== x?.footnote || t[119] !== x?.source || t[120] !== B || t[121] !== Gt || t[122] !== d?.footnote || t[123] !== d?.source || t[124] !== y ? (R = Gt || B ? /* @__PURE__ */ l.jsx(Xi, { styles: {
605
- footnote: d?.footnote,
606
- source: d?.source
591
+ }, dimmedOpacity: Pe, customLayers: Ve, useVoronoiInteraction: Qt, xNumberDisplayOptions: y, yNumberDisplayOptions: ct, defaultColor: U }) : null, t[60] = xe, t[61] = ue, t[62] = ht, t[63] = p, t[64] = R, t[65] = L, t[66] = A, t[67] = Ve, t[68] = o, t[69] = U, t[70] = C, t[71] = Pe, t[72] = W, t[73] = Tt, t[74] = P, t[75] = F, t[76] = k, t[77] = pt, t[78] = N, t[79] = Bt, t[80] = q, t[81] = zt, t[82] = s, t[83] = g, t[84] = Le, t[85] = n, t[86] = re, t[87] = ut, t[88] = yt, t[89] = vt, t[90] = Kt, t[91] = u, t[92] = dt, t[93] = de, t[94] = Ot, t[95] = ft, t[96] = me, t[97] = h, t[98] = Rt, t[99] = _t, t[100] = b, t[101] = c.dateFormat, t[102] = c.enabled, t[103] = le, t[104] = gt, t[105] = x, t[106] = Qt, t[107] = xt, t[108] = y, t[109] = mt, t[110] = ct, t[111] = nt) : nt = t[111];
592
+ let kt;
593
+ t[112] !== Dt || t[113] !== nt ? (kt = /* @__PURE__ */ l.jsxs(Ji, { ref: $t, children: [
594
+ Dt,
595
+ nt
596
+ ] }), t[112] = Dt, t[113] = nt, t[114] = kt) : kt = t[114];
597
+ let Mt;
598
+ t[115] !== p?.footnote || t[116] !== p?.source || t[117] !== G || t[118] !== Gt || t[119] !== h?.footnote || t[120] !== h?.source || t[121] !== O ? (Mt = Gt || G ? /* @__PURE__ */ l.jsx(Ei, { styles: {
599
+ footnote: h?.footnote,
600
+ source: h?.source
607
601
  }, classNames: {
608
- footnote: x?.footnote,
609
- source: x?.source
610
- }, sources: Gt, footNote: B, width: y }) : null, t[118] = x?.footnote, t[119] = x?.source, t[120] = B, t[121] = Gt, t[122] = d?.footnote, t[123] = d?.source, t[124] = y, t[125] = R) : R = t[125];
611
- let ue;
612
- return t[126] !== Te || t[127] !== ct || t[128] !== $t || t[129] !== F || t[130] !== q || t[131] !== b || t[132] !== st || t[133] !== pe || t[134] !== je || t[135] !== Ve || t[136] !== et || t[137] !== Ct || t[138] !== wt || t[139] !== jt || t[140] !== R || t[141] !== r || t[142] !== y ? (ue = /* @__PURE__ */ l.jsxs(Gi, { className: je, style: Ve, id: $t, ref: Ye, "aria-label": Te, backgroundColor: ct, theme: r, language: q, minHeight: b, width: y, height: F, relativeHeight: pe, padding: st, children: [
613
- et,
614
- Ct,
615
- wt,
602
+ footnote: p?.footnote,
603
+ source: p?.source
604
+ }, sources: Gt, footNote: G, width: O }) : null, t[115] = p?.footnote, t[116] = p?.source, t[117] = G, t[118] = Gt, t[119] = h?.footnote, t[120] = h?.source, t[121] = O, t[122] = Mt) : Mt = t[122];
605
+ let Ht;
606
+ return t[123] !== $e || t[124] !== H || t[125] !== qt || t[126] !== I || t[127] !== k || t[128] !== Ct || t[129] !== ne || t[130] !== D || t[131] !== wt || t[132] !== ie || t[133] !== Lt || t[134] !== jt || t[135] !== Vt || t[136] !== kt || t[137] !== Mt || t[138] !== b || t[139] !== O ? (Ht = /* @__PURE__ */ l.jsxs(Ki, { className: wt, style: ie, id: qt, ref: De, "aria-label": $e, backgroundColor: H, theme: b, language: k, minHeight: Ct, width: O, height: I, relativeHeight: D, padding: ne, children: [
607
+ Lt,
616
608
  jt,
617
- R
618
- ] }), t[126] = Te, t[127] = ct, t[128] = $t, t[129] = F, t[130] = q, t[131] = b, t[132] = st, t[133] = pe, t[134] = je, t[135] = Ve, t[136] = et, t[137] = Ct, t[138] = wt, t[139] = jt, t[140] = R, t[141] = r, t[142] = y, t[143] = ue) : ue = t[143], ue;
609
+ Vt,
610
+ kt,
611
+ Mt
612
+ ] }), t[123] = $e, t[124] = H, t[125] = qt, t[126] = I, t[127] = k, t[128] = Ct, t[129] = ne, t[130] = D, t[131] = wt, t[132] = ie, t[133] = Lt, t[134] = jt, t[135] = Vt, t[136] = kt, t[137] = Mt, t[138] = b, t[139] = O, t[140] = Ht) : Ht = t[140], Ht;
619
613
  }
620
- function po(i) {
614
+ function Ao(i) {
621
615
  return i != null;
622
616
  }
623
- function go(i) {
617
+ function Co(i) {
624
618
  return i.y;
625
619
  }
626
- function ho(i) {
620
+ function $o(i) {
627
621
  return i != null;
628
622
  }
629
- function yo(i) {
623
+ function wo(i) {
630
624
  return i.y;
631
625
  }
632
- function vo(i) {
626
+ function Lo(i) {
633
627
  return i != null;
634
628
  }
635
- function bo(i) {
629
+ function jo(i) {
636
630
  return i.y;
637
631
  }
638
- function Ao(i) {
632
+ function Vo(i) {
639
633
  return i != null;
640
634
  }
641
- function Oo(i) {
635
+ function Do(i) {
642
636
  return i.y;
643
637
  }
644
- function Co(i) {
638
+ function ko(i) {
645
639
  return i != null;
646
640
  }
647
- function wo(i) {
641
+ function Mo(i) {
648
642
  return i.x;
649
643
  }
650
- function Lo(i) {
644
+ function No(i) {
651
645
  return i != null;
652
646
  }
653
- function jo(i) {
647
+ function So(i) {
654
648
  return i.x;
655
649
  }
656
- function Vo(i) {
650
+ function To(i) {
657
651
  return i != null;
658
652
  }
659
- function $o(i) {
653
+ function Xo(i) {
660
654
  return i.x;
661
655
  }
662
- function ko(i) {
656
+ function Yo(i) {
663
657
  return i != null;
664
658
  }
665
- function Do(i) {
659
+ function Po(i) {
666
660
  return i.x;
667
661
  }
668
- function So(i) {
662
+ function Io(i) {
669
663
  return i != null;
670
664
  }
671
- function Mo(i) {
665
+ function Ro(i) {
672
666
  return i.radius;
673
667
  }
674
- function No(i) {
668
+ function Fo(i) {
675
669
  return i.label;
676
670
  }
677
- function To(i) {
671
+ function Ho(i) {
678
672
  return i.color;
679
673
  }
680
- function Po(i) {
674
+ function Wo(i) {
681
675
  return i.color;
682
676
  }
683
- function Xo(i) {
677
+ function Eo(i) {
684
678
  return i.color;
685
679
  }
686
- function Yo(i) {
680
+ function Go(i) {
687
681
  return i !== void 0;
688
682
  }
689
- function Io(i) {
683
+ function Zo(i) {
690
684
  return i !== void 0;
691
685
  }
692
- function Ro(i) {
686
+ function qo(i) {
693
687
  return i.data;
694
688
  }
695
- function Fo(i) {
689
+ function Bo(i) {
696
690
  return i !== void 0;
697
691
  }
698
- function Ho(i) {
692
+ function zo(i) {
699
693
  return i.data;
700
694
  }
701
- function Wo(i, t) {
695
+ function Uo(i, t) {
702
696
  return i - t;
703
697
  }
704
- function Eo(i) {
698
+ function Jo(i) {
705
699
  return i.date;
706
700
  }
707
701
  export {
708
- ws as ScatterPlot
702
+ Ms as ScatterPlot
709
703
  };
710
704
  //# sourceMappingURL=ScatterPlot.js.map