@undp/data-viz 2.3.17 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +2 -0
  4. package/dist/AreaChart.js +356 -354
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/{Axis-Jt_tmhxS.cjs → Axis-BTaS9oPQ.cjs} +2 -2
  7. package/dist/{Axis-Jt_tmhxS.cjs.map → Axis-BTaS9oPQ.cjs.map} +1 -1
  8. package/dist/{Axis-RyGdzLrG.js → Axis-CNZYWzH0.js} +2 -2
  9. package/dist/{Axis-RyGdzLrG.js.map → Axis-CNZYWzH0.js.map} +1 -1
  10. package/dist/{AxisTitle-DGjX1_2v.js → AxisTitle-CyLCqpW6.js} +2 -2
  11. package/dist/{AxisTitle-DGjX1_2v.js.map → AxisTitle-CyLCqpW6.js.map} +1 -1
  12. package/dist/{AxisTitle-DV4n0RxE.cjs → AxisTitle-DP_evhbe.cjs} +2 -2
  13. package/dist/{AxisTitle-DV4n0RxE.cjs.map → AxisTitle-DP_evhbe.cjs.map} +1 -1
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +6 -0
  17. package/dist/BarGraph.js +1735 -1726
  18. package/dist/BarGraph.js.map +1 -1
  19. package/dist/BasicStatCard.cjs +1 -1
  20. package/dist/BasicStatCard.cjs.map +1 -1
  21. package/dist/BasicStatCard.d.ts +2 -0
  22. package/dist/BasicStatCard.js +46 -45
  23. package/dist/BasicStatCard.js.map +1 -1
  24. package/dist/BeeSwarmChart.cjs +1 -1
  25. package/dist/BeeSwarmChart.cjs.map +1 -1
  26. package/dist/BeeSwarmChart.d.ts +2 -0
  27. package/dist/BeeSwarmChart.js +266 -266
  28. package/dist/BeeSwarmChart.js.map +1 -1
  29. package/dist/BiVariateChoroplethMap.cjs +1 -1
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  31. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  32. package/dist/BiVariateChoroplethMap.js +300 -298
  33. package/dist/BiVariateChoroplethMap.js.map +1 -1
  34. package/dist/BulletChart.cjs +1 -1
  35. package/dist/BulletChart.cjs.map +1 -1
  36. package/dist/BulletChart.d.ts +2 -0
  37. package/dist/BulletChart.js +469 -469
  38. package/dist/BulletChart.js.map +1 -1
  39. package/dist/ButterflyChart.cjs +1 -1
  40. package/dist/ButterflyChart.cjs.map +1 -1
  41. package/dist/ButterflyChart.d.ts +2 -0
  42. package/dist/ButterflyChart.js +330 -328
  43. package/dist/ButterflyChart.js.map +1 -1
  44. package/dist/ChoroplethMap.cjs +1 -1
  45. package/dist/ChoroplethMap.cjs.map +1 -1
  46. package/dist/ChoroplethMap.d.ts +2 -0
  47. package/dist/ChoroplethMap.js +303 -301
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +2 -0
  51. package/dist/CirclePackingGraph.js +4 -4
  52. package/dist/ColorLegend.cjs +1 -1
  53. package/dist/ColorLegend.js +2 -2
  54. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  55. package/dist/ColorLegendWithMouseOver.js +2 -2
  56. package/dist/CopyTextButton.cjs +1 -1
  57. package/dist/CopyTextButton.cjs.map +1 -1
  58. package/dist/CopyTextButton.js +7 -9
  59. package/dist/CopyTextButton.js.map +1 -1
  60. package/dist/CsvDownloadButton.cjs +1 -1
  61. package/dist/CsvDownloadButton.js +2 -2
  62. package/dist/DataCards.cjs +1 -1
  63. package/dist/DataCards.cjs.map +1 -1
  64. package/dist/DataCards.js +10 -12
  65. package/dist/DataCards.js.map +1 -1
  66. package/dist/DataTable.cjs +1 -1
  67. package/dist/DataTable.cjs.map +1 -1
  68. package/dist/DataTable.d.ts +2 -0
  69. package/dist/DataTable.js +103 -102
  70. package/dist/DataTable.js.map +1 -1
  71. package/dist/{DetailsModal-C3qlUyFK.js → DetailsModal-B2XBWR7w.js} +4 -4
  72. package/dist/{DetailsModal-C3qlUyFK.js.map → DetailsModal-B2XBWR7w.js.map} +1 -1
  73. package/dist/{DetailsModal-DIRTulvr.cjs → DetailsModal-jmmKRMRM.cjs} +2 -2
  74. package/dist/{DetailsModal-DIRTulvr.cjs.map → DetailsModal-jmmKRMRM.cjs.map} +1 -1
  75. package/dist/DifferenceLineChart.cjs +1 -1
  76. package/dist/DifferenceLineChart.cjs.map +1 -1
  77. package/dist/DifferenceLineChart.d.ts +4 -0
  78. package/dist/DifferenceLineChart.js +441 -437
  79. package/dist/DifferenceLineChart.js.map +1 -1
  80. package/dist/DonutChart.cjs +1 -1
  81. package/dist/DonutChart.cjs.map +1 -1
  82. package/dist/DonutChart.d.ts +4 -0
  83. package/dist/DonutChart.js +146 -142
  84. package/dist/DonutChart.js.map +1 -1
  85. package/dist/DotDensityMap.cjs +1 -1
  86. package/dist/DotDensityMap.cjs.map +1 -1
  87. package/dist/DotDensityMap.js +265 -268
  88. package/dist/DotDensityMap.js.map +1 -1
  89. package/dist/{DropdownSelect-NNpOs7DX.cjs → DropdownSelect-CX1yMemd.cjs} +2 -2
  90. package/dist/DropdownSelect-CX1yMemd.cjs.map +1 -0
  91. package/dist/{DropdownSelect-B2WTeedJ.js → DropdownSelect-Dz7imdTB.js} +6 -9
  92. package/dist/DropdownSelect-Dz7imdTB.js.map +1 -0
  93. package/dist/DualAxisLineChart.cjs +1 -1
  94. package/dist/DualAxisLineChart.cjs.map +1 -1
  95. package/dist/DualAxisLineChart.d.ts +4 -0
  96. package/dist/DualAxisLineChart.js +336 -332
  97. package/dist/DualAxisLineChart.js.map +1 -1
  98. package/dist/DumbbellChart.cjs +1 -1
  99. package/dist/DumbbellChart.cjs.map +1 -1
  100. package/dist/DumbbellChart.d.ts +2 -0
  101. package/dist/DumbbellChart.js +484 -484
  102. package/dist/DumbbellChart.js.map +1 -1
  103. package/dist/{EmptyState-B4c-CrXs.cjs → EmptyState-CFmiFPHz.cjs} +2 -2
  104. package/dist/{EmptyState-B4c-CrXs.cjs.map → EmptyState-CFmiFPHz.cjs.map} +1 -1
  105. package/dist/{EmptyState-B3fPoH6L.js → EmptyState-CaxXCkiN.js} +4 -4
  106. package/dist/{EmptyState-B3fPoH6L.js.map → EmptyState-CaxXCkiN.js.map} +1 -1
  107. package/dist/ExcelDownloadButton.cjs +1 -1
  108. package/dist/ExcelDownloadButton.js +2 -2
  109. package/dist/FootNote.cjs +1 -1
  110. package/dist/FootNote.js +2 -2
  111. package/dist/GeoHubCompareMaps.cjs +1 -1
  112. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  113. package/dist/GeoHubCompareMaps.js +111 -111
  114. package/dist/GeoHubCompareMaps.js.map +1 -1
  115. package/dist/GeoHubMap.cjs +1 -1
  116. package/dist/GeoHubMap.cjs.map +1 -1
  117. package/dist/GeoHubMap.js +71 -71
  118. package/dist/GeoHubMap.js.map +1 -1
  119. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  120. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  121. package/dist/GeoHubMapWithLayerSelection.js +83 -83
  122. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  123. package/dist/{GraphContainer-DwMxWRCi.js → GraphContainer-B8ZqOzKI.js} +2 -2
  124. package/dist/{GraphContainer-DwMxWRCi.js.map → GraphContainer-B8ZqOzKI.js.map} +1 -1
  125. package/dist/{GraphContainer-B1EDxJ0S.cjs → GraphContainer-Cul9b74X.cjs} +2 -2
  126. package/dist/{GraphContainer-B1EDxJ0S.cjs.map → GraphContainer-Cul9b74X.cjs.map} +1 -1
  127. package/dist/GraphDescription.cjs +1 -1
  128. package/dist/GraphDescription.js +2 -2
  129. package/dist/{GraphEl-CnJf8b50.js → GraphEl-B73N4RIA.js} +48 -10
  130. package/dist/GraphEl-B73N4RIA.js.map +1 -0
  131. package/dist/GraphEl-Lt1og0C-.cjs +2 -0
  132. package/dist/GraphEl-Lt1og0C-.cjs.map +1 -0
  133. package/dist/GraphFooter.cjs +1 -1
  134. package/dist/GraphFooter.js +2 -2
  135. package/dist/GraphHeader.cjs +1 -1
  136. package/dist/GraphHeader.js +1 -1
  137. package/dist/GraphTitle.cjs +1 -1
  138. package/dist/GraphTitle.js +2 -2
  139. package/dist/GriddedGraphs.cjs +1 -1
  140. package/dist/GriddedGraphs.d.ts +1 -0
  141. package/dist/GriddedGraphs.js +6 -6
  142. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  143. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  144. package/dist/GriddedGraphsFromConfig.js +2 -2
  145. package/dist/HeatMap.cjs +1 -1
  146. package/dist/HeatMap.cjs.map +1 -1
  147. package/dist/HeatMap.d.ts +4 -0
  148. package/dist/HeatMap.js +158 -155
  149. package/dist/HeatMap.js.map +1 -1
  150. package/dist/Histogram.cjs +1 -1
  151. package/dist/Histogram.cjs.map +1 -1
  152. package/dist/Histogram.d.ts +2 -0
  153. package/dist/Histogram.js +81 -80
  154. package/dist/Histogram.js.map +1 -1
  155. package/dist/HybridMap.cjs +1 -1
  156. package/dist/HybridMap.cjs.map +1 -1
  157. package/dist/HybridMap.d.ts +2 -0
  158. package/dist/HybridMap.js +314 -315
  159. package/dist/HybridMap.js.map +1 -1
  160. package/dist/ImageDownloadButton.cjs +1 -1
  161. package/dist/ImageDownloadButton.js +2 -2
  162. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  163. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  164. package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
  165. package/dist/LineChartWithConfidenceInterval.js +367 -365
  166. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  167. package/dist/LinearColorLegend.cjs +1 -1
  168. package/dist/LinearColorLegend.cjs.map +1 -1
  169. package/dist/LinearColorLegend.d.ts +1 -0
  170. package/dist/LinearColorLegend.js +38 -37
  171. package/dist/LinearColorLegend.js.map +1 -1
  172. package/dist/{Modal-ZX55hLH-.cjs → Modal-BIErPPKT.cjs} +5 -5
  173. package/dist/{Modal-ZX55hLH-.cjs.map → Modal-BIErPPKT.cjs.map} +1 -1
  174. package/dist/{Modal-BV4rkoLM.js → Modal-CrUYln5V.js} +4 -4
  175. package/dist/{Modal-BV4rkoLM.js.map → Modal-CrUYln5V.js.map} +1 -1
  176. package/dist/MultiGraphDashboard.cjs +1 -1
  177. package/dist/MultiGraphDashboard.d.ts +1 -0
  178. package/dist/MultiGraphDashboard.js +4 -4
  179. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  180. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  181. package/dist/MultiGraphDashboardFromConfig.js +2 -2
  182. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  183. package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
  184. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  185. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
  186. package/dist/MultiLineAltChart.cjs +1 -1
  187. package/dist/MultiLineAltChart.cjs.map +1 -1
  188. package/dist/MultiLineAltChart.d.ts +2 -0
  189. package/dist/MultiLineAltChart.js +419 -420
  190. package/dist/MultiLineAltChart.js.map +1 -1
  191. package/dist/MultiLineChart.cjs +1 -1
  192. package/dist/MultiLineChart.cjs.map +1 -1
  193. package/dist/MultiLineChart.d.ts +4 -0
  194. package/dist/MultiLineChart.js +410 -409
  195. package/dist/MultiLineChart.js.map +1 -1
  196. package/dist/ParetoChart.cjs +1 -1
  197. package/dist/ParetoChart.cjs.map +1 -1
  198. package/dist/ParetoChart.d.ts +2 -0
  199. package/dist/ParetoChart.js +273 -271
  200. package/dist/ParetoChart.js.map +1 -1
  201. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  202. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  203. package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
  204. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  205. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  206. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
  207. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  208. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  209. package/dist/PerformanceIntensiveScrollStory.js +3 -3
  210. package/dist/RadarChart.cjs +1 -1
  211. package/dist/RadarChart.cjs.map +1 -1
  212. package/dist/RadarChart.d.ts +2 -0
  213. package/dist/RadarChart.js +221 -219
  214. package/dist/RadarChart.js.map +1 -1
  215. package/dist/{ReferenceLine-M9aP3dj-.cjs → ReferenceLine-CpU4G01Y.cjs} +2 -2
  216. package/dist/{ReferenceLine-M9aP3dj-.cjs.map → ReferenceLine-CpU4G01Y.cjs.map} +1 -1
  217. package/dist/{ReferenceLine-CNEjAYvv.js → ReferenceLine-D41VuUhE.js} +3 -3
  218. package/dist/{ReferenceLine-CNEjAYvv.js.map → ReferenceLine-D41VuUhE.js.map} +1 -1
  219. package/dist/{RegressionLine-Ci-Dh0w0.cjs → RegressionLine-BFoBiVJk.cjs} +2 -2
  220. package/dist/{RegressionLine-Ci-Dh0w0.cjs.map → RegressionLine-BFoBiVJk.cjs.map} +1 -1
  221. package/dist/{RegressionLine-BDrndQxo.js → RegressionLine-CuwB42I6.js} +4 -4
  222. package/dist/{RegressionLine-BDrndQxo.js.map → RegressionLine-CuwB42I6.js.map} +1 -1
  223. package/dist/SVGDownloadButton.cjs +1 -1
  224. package/dist/SVGDownloadButton.js +2 -2
  225. package/dist/SankeyChart.cjs +1 -1
  226. package/dist/SankeyChart.cjs.map +1 -1
  227. package/dist/SankeyChart.d.ts +2 -0
  228. package/dist/SankeyChart.js +404 -408
  229. package/dist/SankeyChart.js.map +1 -1
  230. package/dist/ScatterPlot.cjs +1 -1
  231. package/dist/ScatterPlot.cjs.map +1 -1
  232. package/dist/ScatterPlot.d.ts +2 -0
  233. package/dist/ScatterPlot.js +444 -445
  234. package/dist/ScatterPlot.js.map +1 -1
  235. package/dist/ScrollStory.cjs +1 -1
  236. package/dist/ScrollStory.d.ts +1 -0
  237. package/dist/ScrollStory.js +3 -3
  238. package/dist/SimpleLineChart.cjs +1 -1
  239. package/dist/SimpleLineChart.cjs.map +1 -1
  240. package/dist/SimpleLineChart.d.ts +2 -0
  241. package/dist/SimpleLineChart.js +360 -358
  242. package/dist/SimpleLineChart.js.map +1 -1
  243. package/dist/SingleGraphDashboard.cjs +1 -1
  244. package/dist/SingleGraphDashboard.d.ts +1 -0
  245. package/dist/SingleGraphDashboard.js +6 -6
  246. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  247. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  248. package/dist/SingleGraphDashboardFromConfig.js +2 -2
  249. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  250. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  251. package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
  252. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  253. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  254. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
  255. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  256. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  257. package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
  258. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  259. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  260. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
  261. package/dist/SlopeChart.cjs +1 -1
  262. package/dist/SlopeChart.cjs.map +1 -1
  263. package/dist/SlopeChart.js +259 -262
  264. package/dist/SlopeChart.js.map +1 -1
  265. package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
  266. package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
  267. package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
  268. package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.js.map} +1 -1
  269. package/dist/Source.cjs +1 -1
  270. package/dist/Source.js +3 -3
  271. package/dist/SparkLine.cjs +1 -1
  272. package/dist/SparkLine.js +3 -3
  273. package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
  274. package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
  275. package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
  276. package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
  277. package/dist/StatCardFromData.cjs +1 -1
  278. package/dist/StatCardFromData.cjs.map +1 -1
  279. package/dist/StatCardFromData.d.ts +4 -0
  280. package/dist/StatCardFromData.js +97 -95
  281. package/dist/StatCardFromData.js.map +1 -1
  282. package/dist/StripChart.cjs +1 -1
  283. package/dist/StripChart.cjs.map +1 -1
  284. package/dist/StripChart.d.ts +2 -0
  285. package/dist/StripChart.js +343 -343
  286. package/dist/StripChart.js.map +1 -1
  287. package/dist/ThreeDGlobe.cjs +1 -1
  288. package/dist/ThreeDGlobe.cjs.map +1 -1
  289. package/dist/ThreeDGlobe.d.ts +2 -0
  290. package/dist/ThreeDGlobe.js +198 -196
  291. package/dist/ThreeDGlobe.js.map +1 -1
  292. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  293. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  294. package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
  295. package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
  296. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  297. package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
  298. package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
  299. package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
  300. package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
  301. package/dist/TreeMapGraph.cjs +1 -1
  302. package/dist/TreeMapGraph.cjs.map +1 -1
  303. package/dist/TreeMapGraph.d.ts +2 -0
  304. package/dist/TreeMapGraph.js +139 -140
  305. package/dist/TreeMapGraph.js.map +1 -1
  306. package/dist/Types.d.ts +1 -0
  307. package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
  308. package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
  309. package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
  310. package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
  311. package/dist/UnitChart.cjs +1 -1
  312. package/dist/UnitChart.cjs.map +1 -1
  313. package/dist/UnitChart.d.ts +4 -0
  314. package/dist/UnitChart.js +88 -86
  315. package/dist/UnitChart.js.map +1 -1
  316. package/dist/WaterfallChart.cjs +1 -1
  317. package/dist/WaterfallChart.cjs.map +1 -1
  318. package/dist/WaterfallChart.d.ts +2 -0
  319. package/dist/WaterfallChart.js +257 -258
  320. package/dist/WaterfallChart.js.map +1 -1
  321. package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
  322. package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
  323. package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
  324. package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
  325. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
  326. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
  327. package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
  328. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
  329. package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
  330. package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
  331. package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
  332. package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
  333. package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
  334. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
  335. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
  336. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
  337. package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
  338. package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
  339. package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
  340. package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
  341. package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
  342. package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
  343. package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
  344. package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
  345. package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
  346. package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
  347. package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
  348. package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
  349. package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
  350. package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
  351. package/dist/index-B0Awa_de.js +377 -0
  352. package/dist/index-B0Awa_de.js.map +1 -0
  353. package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
  354. package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
  355. package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
  356. package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
  357. package/dist/{index-CHPV5EwG-BCLAYDCV.js → index-CHPV5EwG-BzibaIRc.js} +5 -9
  358. package/dist/index-CHPV5EwG-BzibaIRc.js.map +1 -0
  359. package/dist/{index-CHPV5EwG-6v2a2njQ.cjs → index-CHPV5EwG-D4pAp7u0.cjs} +3 -3
  360. package/dist/index-CHPV5EwG-D4pAp7u0.cjs.map +1 -0
  361. package/dist/index-CP8cmNzt.cjs +2 -0
  362. package/dist/index-CP8cmNzt.cjs.map +1 -0
  363. package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
  364. package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
  365. package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
  366. package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
  367. package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
  368. package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
  369. package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
  370. package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
  371. package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
  372. package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
  373. package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
  374. package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
  375. package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
  376. package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
  377. package/dist/index.cjs +1 -1
  378. package/dist/index.d.ts +92 -17
  379. package/dist/index.js +3 -3
  380. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
  381. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
  382. package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
  383. package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
  384. package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
  385. package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
  386. package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
  387. package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
  388. package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
  389. package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
  390. package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
  391. package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
  392. package/dist/style.css +1 -1
  393. package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
  394. package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
  395. package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
  396. package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
  397. package/dist/utils.cjs +1 -1
  398. package/dist/utils.d.ts +9 -18
  399. package/dist/utils.js +1 -1
  400. package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
  401. package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
  402. package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
  403. package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
  404. package/package.json +2 -2
  405. package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
  406. package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
  407. package/dist/GraphEl-CnJf8b50.js.map +0 -1
  408. package/dist/GraphEl-D_w0Qak4.cjs +0 -2
  409. package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
  410. package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
  411. package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
  412. package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
  413. package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
  414. package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
  415. package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
  416. package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
  417. package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
  418. package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
  419. package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
  420. package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
  421. package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
  422. package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
  423. package/dist/index-C6VwVS8W.js +0 -378
  424. package/dist/index-C6VwVS8W.js.map +0 -1
  425. package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
  426. package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
  427. package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
  428. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
  429. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
  430. package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
  431. package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
  432. package/dist/index-_TlgeI_i.cjs +0 -2
  433. package/dist/index-_TlgeI_i.cjs.map +0 -1
  434. package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
  435. package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
  436. package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
  437. package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
  438. package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
  439. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
  440. package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
@@ -1,213 +1,214 @@
1
- import { c as Te, m as he, j as o } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { useRef as ye, useState as Pt, useEffect as $e } from "react";
3
- import { p as A, f as Re } from "./parse-Dv4of-PN.js";
4
- import { l as He, a as Fe } from "./simple-statistics-flVzqVtt.js";
5
- import { o as Ie } from "./index-BZQYSqar.js";
6
- import { n as Se } from "./numberFormattingFunction-14YCbkN2.js";
7
- import { T as We } from "./Tooltip-CohiIbLZ.js";
8
- import { c as Ot } from "./checkIfNullOrUndefined-DmfiKkNw.js";
9
- import { g as Ye, A as Xe, C as Ge } from "./customArea-Cc2whe6P.js";
10
- import { A as Pe } from "./Axis-RyGdzLrG.js";
11
- import { A as Ee } from "./AxisTitle-DGjX1_2v.js";
12
- import { X as Be } from "./XTicksAndGridLines-BDmF9etl.js";
13
- import { a as ze } from "./ReferenceLine-CNEjAYvv.js";
14
- import { R as Ue } from "./RegressionLine-BDrndQxo.js";
15
- import { Y as qe } from "./YTicksAndGridLines-C3GW1xFG.js";
16
- import { H as Je } from "./index-D_dtv_T9.js";
17
- import { t as Ke } from "./time-vyz6Y89P.js";
18
- import { a as Qe } from "./linear-DNXM5Pdl.js";
19
- import { l as Ze, c as _e } from "./line-DFlZsxI1.js";
20
- import { c as ti, s as ei, a as ii, m as oi } from "./step-BrDul-H4.js";
21
- import { s as ni } from "./select-DKy99ogv.js";
22
- import { m as ee } from "./proxy--_f6k3NR.js";
23
- import { a as si } from "./init-BhZylTFx.js";
24
- import { p as ai } from "./pointer-CWRWOsrb.js";
25
- import { u as ri } from "./use-in-view-DqvKAveg.js";
26
- import { GraphFooter as li } from "./GraphFooter.js";
27
- import { GraphHeader as ci } from "./GraphHeader.js";
28
- import { Colors as mi } from "./Colors.js";
29
- import { E as fi } from "./EmptyState-B3fPoH6L.js";
30
- import { a as ui, G as pi } from "./GraphContainer-DwMxWRCi.js";
1
+ import { c as Me, m as ve, j as o } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useRef as we, useState as Ut, useEffect as Se } from "react";
3
+ import { p as C, f as He } from "./parse-Dv4of-PN.js";
4
+ import { l as Fe, a as Ie } from "./simple-statistics-flVzqVtt.js";
5
+ import { o as We } from "./index-BZQYSqar.js";
6
+ import { n as Te } from "./numberFormattingFunction-DqMf_v1m.js";
7
+ import { T as Ye } from "./Tooltip-Bj-s__cI.js";
8
+ import { c as Dt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
9
+ import { g as Xe, A as Ge, C as Pe } from "./customArea-D89lETG0.js";
10
+ import { A as Ee } from "./Axis-CNZYWzH0.js";
11
+ import { A as Be } from "./AxisTitle-CyLCqpW6.js";
12
+ import { X as ze } from "./XTicksAndGridLines-gdbGX2rm.js";
13
+ import { a as Ue } from "./ReferenceLine-D41VuUhE.js";
14
+ import { R as qe } from "./RegressionLine-CuwB42I6.js";
15
+ import { Y as Je } from "./YTicksAndGridLines-CsNSq9W9.js";
16
+ import { H as Ke } from "./index-DHVGV8Df.js";
17
+ import { t as Qe } from "./time-vyz6Y89P.js";
18
+ import { a as Ze } from "./linear-DNXM5Pdl.js";
19
+ import { l as _e, c as ti } from "./line-DFlZsxI1.js";
20
+ import { c as ei, s as ii, a as oi, m as ni } from "./step-BrDul-H4.js";
21
+ import { s as si } from "./select-DKy99ogv.js";
22
+ import { m as ie } from "./proxy-BsxtcZKa.js";
23
+ import { a as ai } from "./init-BhZylTFx.js";
24
+ import { p as ri } from "./pointer-CWRWOsrb.js";
25
+ import { u as li } from "./use-in-view-KOXq5Kmc.js";
26
+ import { GraphFooter as ci } from "./GraphFooter.js";
27
+ import { GraphHeader as mi } from "./GraphHeader.js";
28
+ import { Colors as fi } from "./Colors.js";
29
+ import { E as ui } from "./EmptyState-CaxXCkiN.js";
30
+ import { a as pi, G as di } from "./GraphContainer-B8ZqOzKI.js";
31
31
  import { g as xi } from "./getNoOfTicks-CpmRjcRF.js";
32
- function di(i) {
33
- const t = Te.c(110), {
32
+ function gi(i) {
33
+ const t = Me.c(111), {
34
34
  data: y,
35
- width: G,
36
- height: st,
37
- lineColor: P,
38
- suffix: b,
39
- prefix: V,
35
+ width: X,
36
+ height: nt,
37
+ lineColor: G,
38
+ suffix: O,
39
+ prefix: N,
40
40
  dateFormat: n,
41
- highlightAreaSettings: at,
42
- showValues: C,
43
- noOfXTicks: jt,
44
- rightMargin: Dt,
41
+ highlightAreaSettings: st,
42
+ showValues: j,
43
+ noOfXTicks: Lt,
44
+ rightMargin: kt,
45
45
  leftMargin: D,
46
- topMargin: Lt,
47
- bottomMargin: rt,
48
- tooltip: lt,
49
- onSeriesMouseOver: kt,
50
- refValues: Et,
51
- minValue: Bt,
52
- maxValue: ct,
46
+ topMargin: $t,
47
+ bottomMargin: at,
48
+ tooltip: rt,
49
+ onSeriesMouseOver: St,
50
+ refValues: qt,
51
+ minValue: Jt,
52
+ maxValue: lt,
53
53
  animate: s,
54
- rtl: $t,
55
- strokeWidth: mt,
56
- showDots: St,
57
- annotations: zt,
58
- customHighlightAreaSettings: ft,
59
- regressionLine: ut,
60
- yAxisTitle: E,
61
- noOfYTicks: Ut,
62
- maxDate: qt,
63
- minDate: Jt,
64
- curveType: pt,
65
- styles: d,
66
- classNames: p,
67
- precision: R,
68
- customLayers: H
69
- } = i, Kt = ye(null);
54
+ rtl: Tt,
55
+ strokeWidth: ct,
56
+ showDots: Mt,
57
+ annotations: Kt,
58
+ customHighlightAreaSettings: mt,
59
+ regressionLine: ft,
60
+ yAxisTitle: P,
61
+ noOfYTicks: Qt,
62
+ maxDate: Zt,
63
+ minDate: _t,
64
+ curveType: ut,
65
+ styles: x,
66
+ classNames: u,
67
+ precision: V,
68
+ customLayers: R,
69
+ locale: H
70
+ } = i, pt = we(null);
70
71
  let F;
71
72
  t[0] !== s.amount || t[1] !== s.once ? (F = {
72
73
  once: s.once,
73
74
  amount: s.amount
74
75
  }, t[0] = s.amount, t[1] = s.once, t[2] = F) : F = t[2];
75
- const f = ri(Kt, F), [O, Qt] = Pt(!1);
76
- let xt, B;
77
- t[3] !== s.duration || t[4] !== O || t[5] !== f ? (xt = () => {
78
- if (f && !O) {
76
+ const p = li(pt, F), [A, oe] = Ut(!1);
77
+ let E, dt;
78
+ t[3] !== s.duration || t[4] !== A || t[5] !== p ? (E = () => {
79
+ if (p && !A) {
79
80
  const e = setTimeout(() => {
80
- Qt(!0);
81
+ oe(!0);
81
82
  }, (s.duration + 0.5) * 1e3);
82
83
  return () => clearTimeout(e);
83
84
  }
84
- }, B = [f, O, s.duration], t[3] = s.duration, t[4] = O, t[5] = f, t[6] = xt, t[7] = B) : (xt = t[6], B = t[7]), $e(xt, B);
85
- const ie = pt === "linear" ? _e : pt === "step" ? ti : pt === "stepAfter" ? ei : pt === "stepBefore" ? ii : oi, [L, u] = Pt(void 0), [c, Zt] = Pt(void 0), [I, Tt] = Pt(void 0), dt = E ? D + 30 : D;
86
- let z;
87
- t[8] !== rt || t[9] !== Dt || t[10] !== dt || t[11] !== Lt ? (z = {
88
- top: Lt,
89
- bottom: rt,
90
- left: dt,
91
- right: Dt
92
- }, t[8] = rt, t[9] = Dt, t[10] = dt, t[11] = Lt, t[12] = z) : z = t[12];
93
- const v = z, U = ye(null);
94
- let q;
95
- t[13] !== n ? (q = (e) => ({
85
+ }, dt = [p, A, s.duration], t[3] = s.duration, t[4] = A, t[5] = p, t[6] = E, t[7] = dt) : (E = t[6], dt = t[7]), Se(E, dt);
86
+ const ne = ut === "linear" ? ti : ut === "step" ? ei : ut === "stepAfter" ? ii : ut === "stepBefore" ? oi : ni, [l, f] = Ut(void 0), [xt, gt] = Ut(void 0), [ht, Nt] = Ut(void 0), yt = P ? D + 30 : D;
87
+ let B;
88
+ t[8] !== at || t[9] !== kt || t[10] !== yt || t[11] !== $t ? (B = {
89
+ top: $t,
90
+ bottom: at,
91
+ left: yt,
92
+ right: kt
93
+ }, t[8] = at, t[9] = kt, t[10] = yt, t[11] = $t, t[12] = B) : B = t[12];
94
+ const v = B, z = we(null);
95
+ let U;
96
+ t[13] !== n ? (U = (e) => ({
96
97
  ...e,
97
- date: A(`${e.date}`, n, /* @__PURE__ */ new Date())
98
- }), t[13] = n, t[14] = q) : q = t[14];
99
- const r = Ie(y.map(q), ["date"], ["asc"]);
100
- let J;
101
- if (t[15] !== n || t[16] !== at) {
98
+ date: C(`${e.date}`, n, /* @__PURE__ */ new Date())
99
+ }), t[13] = n, t[14] = U) : U = t[14];
100
+ const r = We(y.map(U), ["date"], ["asc"]);
101
+ let q;
102
+ if (t[15] !== n || t[16] !== st) {
102
103
  let e;
103
104
  t[18] !== n ? (e = (h) => ({
104
105
  ...h,
105
- coordinates: [h.coordinates[0] === null ? null : A(`${h.coordinates[0]}`, n, /* @__PURE__ */ new Date()), h.coordinates[1] === null ? null : A(`${h.coordinates[1]}`, n, /* @__PURE__ */ new Date())]
106
- }), t[18] = n, t[19] = e) : e = t[19], J = at.map(e), t[15] = n, t[16] = at, t[17] = J;
106
+ coordinates: [h.coordinates[0] === null ? null : C(`${h.coordinates[0]}`, n, /* @__PURE__ */ new Date()), h.coordinates[1] === null ? null : C(`${h.coordinates[1]}`, n, /* @__PURE__ */ new Date())]
107
+ }), t[18] = n, t[19] = e) : e = t[19], q = st.map(e), t[15] = n, t[16] = st, t[17] = q;
107
108
  } else
108
- J = t[17];
109
- const gt = J;
110
- let K;
111
- if (t[20] !== ft || t[21] !== n) {
109
+ q = t[17];
110
+ const vt = q;
111
+ let J;
112
+ if (t[20] !== mt || t[21] !== n) {
112
113
  let e;
113
114
  t[23] !== n ? (e = (h) => ({
114
115
  ...h,
115
- coordinates: h.coordinates.map((X, Gt) => Gt % 2 === 0 ? A(`${X}`, n, /* @__PURE__ */ new Date()) : X)
116
- }), t[23] = n, t[24] = e) : e = t[24], K = ft.map(e), t[20] = ft, t[21] = n, t[22] = K;
116
+ coordinates: h.coordinates.map((Y, zt) => zt % 2 === 0 ? C(`${Y}`, n, /* @__PURE__ */ new Date()) : Y)
117
+ }), t[23] = n, t[24] = e) : e = t[24], J = mt.map(e), t[20] = mt, t[21] = n, t[22] = J;
117
118
  } else
118
- K = t[22];
119
- const Mt = K, m = G - v.left - v.right, g = st - v.top - v.bottom, Nt = Jt ? A(`${Jt}`, n, /* @__PURE__ */ new Date()) : r[0].date, Vt = qt ? A(`${qt}`, n, /* @__PURE__ */ new Date()) : r[r.length - 1].date, x = Ot(Bt) ? Math.min(...r.map(Ni).filter(Mi)) !== 1 / 0 ? Math.min(...r.map(Ti).filter(Si)) > 0 ? 0 : Math.min(...r.map($i).filter(ki)) : 0 : Bt, k = Math.max(...r.map(Li).filter(Di)) !== 1 / 0 ? Math.max(...r.map(ji).filter(Oi)) : 0, a = Ke().domain([Nt, Vt]).range([0, m]);
120
- let Q;
121
- t[25] !== k || t[26] !== ct ? (Q = Ot(ct) ? k > 0 ? k : 0 : ct, t[25] = k, t[26] = ct, t[27] = Q) : Q = t[27];
122
- const l = Qe().domain([x, Q]).range([g, 0]).nice(), Rt = Ze().x((e) => a(e.date)).y((e) => l(e.y)).curve(ie), ht = l.ticks(Ut), Ht = a.ticks(jt);
123
- $e(() => {
124
- const e = (X) => {
125
- const Gt = r[si(r.map(Ci), a.invert(ai(X)[0]), 0)];
126
- u(Gt || r[r.length - 1]), kt?.(Gt || r[r.length - 1]), Tt(X.clientY), Zt(X.clientX);
119
+ J = t[22];
120
+ const Vt = J, m = X - v.left - v.right, g = nt - v.top - v.bottom, Rt = _t ? C(`${_t}`, n, /* @__PURE__ */ new Date()) : r[0].date, Ht = Zt ? C(`${Zt}`, n, /* @__PURE__ */ new Date()) : r[r.length - 1].date, d = Dt(Jt) ? Math.min(...r.map(Vi).filter(Ni)) !== 1 / 0 ? Math.min(...r.map(Mi).filter(Ti)) > 0 ? 0 : Math.min(...r.map(Si).filter($i)) : 0 : Jt, L = Math.max(...r.map(ki).filter(Li)) !== 1 / 0 ? Math.max(...r.map(Di).filter(ji)) : 0, a = Qe().domain([Rt, Ht]).range([0, m]);
121
+ let K;
122
+ t[25] !== L || t[26] !== lt ? (K = Dt(lt) ? L > 0 ? L : 0 : lt, t[25] = L, t[26] = lt, t[27] = K) : K = t[27];
123
+ const c = Ze().domain([d, K]).range([g, 0]).nice(), Ft = _e().x((e) => a(e.date)).y((e) => c(e.y)).curve(ne), wt = c.ticks(Qt), It = a.ticks(Lt);
124
+ Se(() => {
125
+ const e = (Y) => {
126
+ const zt = r[ai(r.map(Oi), a.invert(ri(Y)[0]), 0)];
127
+ f(zt || r[r.length - 1]), St?.(zt || r[r.length - 1]), Nt(Y.clientY), gt(Y.clientX);
127
128
  }, h = () => {
128
- u(void 0), Zt(void 0), Tt(void 0), kt?.(void 0);
129
+ f(void 0), gt(void 0), Nt(void 0), St?.(void 0);
129
130
  };
130
- ni(U.current).on("mousemove", e).on("mouseout", h);
131
- }, [a, r, kt]);
132
- const Ft = He(r.filter(bi).map((e) => [a(e.date), l(e.y)])), It = Fe(Ft);
131
+ si(z.current).on("mousemove", e).on("mouseout", h);
132
+ }, [a, r, St]);
133
+ const Wt = Fe(r.filter(Ai).map((e) => [a(e.date), c(e.y)])), Yt = Ie(Wt);
134
+ let Q;
135
+ t[28] !== s || t[29] !== g || t[30] !== m || t[31] !== vt || t[32] !== p || t[33] !== a ? (Q = /* @__PURE__ */ o.jsx(Ke, { areaSettings: vt, width: m, height: g, scale: a, animate: s, isInView: p }), t[28] = s, t[29] = g, t[30] = m, t[31] = vt, t[32] = p, t[33] = a, t[34] = Q) : Q = t[34];
136
+ const bt = x?.yAxis?.gridLines, Ct = x?.yAxis?.labels;
133
137
  let Z;
134
- t[28] !== s || t[29] !== g || t[30] !== m || t[31] !== gt || t[32] !== f || t[33] !== a ? (Z = /* @__PURE__ */ o.jsx(Je, { areaSettings: gt, width: m, height: g, scale: a, animate: s, isInView: f }), t[28] = s, t[29] = g, t[30] = m, t[31] = gt, t[32] = f, t[33] = a, t[34] = Z) : Z = t[34];
135
- const yt = d?.yAxis?.gridLines, vt = d?.yAxis?.labels;
136
- let _;
137
- t[35] !== yt || t[36] !== vt ? (_ = {
138
- gridLines: yt,
139
- labels: vt
140
- }, t[35] = yt, t[36] = vt, t[37] = _) : _ = t[37];
141
- const wt = p?.yAxis?.gridLines, tt = p?.yAxis?.labels;
142
- let et;
143
- t[38] !== wt || t[39] !== tt ? (et = {
144
- gridLines: wt,
145
- labels: tt
146
- }, t[38] = wt, t[39] = tt, t[40] = et) : et = t[40];
147
- const W = l(x < 0 ? 0 : x), _t = l(x < 0 ? 0 : x), it = 0 - D, te = m + v.right, At = x < 0 ? 0 : x;
148
- let Y;
149
- t[41] !== R || t[42] !== V || t[43] !== b || t[44] !== At ? (Y = Se(At, "NA", R, V, b), t[41] = R, t[42] = V, t[43] = b, t[44] = At, t[45] = Y) : Y = t[45];
150
- const ot = 0 - D, nt = l(x < 0 ? 0 : x), bt = k < 0 ? "1em" : -5;
138
+ t[35] !== bt || t[36] !== Ct ? (Z = {
139
+ gridLines: bt,
140
+ labels: Ct
141
+ }, t[35] = bt, t[36] = Ct, t[37] = Z) : Z = t[37];
142
+ const At = u?.yAxis?.gridLines, _ = u?.yAxis?.labels;
143
+ let tt;
144
+ t[38] !== At || t[39] !== _ ? (tt = {
145
+ gridLines: At,
146
+ labels: _
147
+ }, t[38] = At, t[39] = _, t[40] = tt) : tt = t[40];
148
+ const Ot = c(d < 0 ? 0 : d), I = c(d < 0 ? 0 : d), te = 0 - D, et = m + v.right, ee = d < 0 ? 0 : d;
149
+ let k;
150
+ t[41] !== H || t[42] !== V || t[43] !== N || t[44] !== O || t[45] !== ee ? (k = Te(ee, void 0, V, N, O, H), t[41] = H, t[42] = V, t[43] = N, t[44] = O, t[45] = ee, t[46] = k) : k = t[46];
151
+ const Xt = 0 - D, it = c(d < 0 ? 0 : d), ot = L < 0 ? "1em" : -5;
151
152
  let $;
152
- t[46] !== ot || t[47] !== nt || t[48] !== bt ? ($ = {
153
- x: ot,
154
- y: nt,
153
+ t[47] !== Xt || t[48] !== it || t[49] !== ot ? ($ = {
154
+ x: Xt,
155
+ y: it,
155
156
  dx: 0,
156
- dy: bt
157
- }, t[46] = ot, t[47] = nt, t[48] = bt, t[49] = $) : $ = t[49];
158
- const S = p?.xAxis?.axis, T = p?.yAxis?.labels;
157
+ dy: ot
158
+ }, t[47] = Xt, t[48] = it, t[49] = ot, t[50] = $) : $ = t[50];
159
+ const jt = u?.xAxis?.axis, S = u?.yAxis?.labels;
159
160
  let w;
160
- t[50] !== S || t[51] !== T ? (w = {
161
- axis: S,
162
- label: T
163
- }, t[50] = S, t[51] = T, t[52] = w) : w = t[52];
164
- const M = d?.xAxis?.axis, N = d?.yAxis?.labels;
165
- let j;
166
- t[53] !== M || t[54] !== N ? (j = {
167
- axis: M,
168
- label: N
169
- }, t[53] = M, t[54] = N, t[55] = j) : j = t[55];
170
- let Ct;
171
- t[56] !== W || t[57] !== _t || t[58] !== it || t[59] !== te || t[60] !== Y || t[61] !== $ || t[62] !== w || t[63] !== j ? (Ct = /* @__PURE__ */ o.jsx(Pe, { y1: W, y2: _t, x1: it, x2: te, label: Y, labelPos: $, classNames: w, styles: j }), t[56] = W, t[57] = _t, t[58] = it, t[59] = te, t[60] = Y, t[61] = $, t[62] = w, t[63] = j, t[64] = Ct) : Ct = t[64];
172
- const Wt = 0 - D - 15, ve = g / 2, we = d?.yAxis?.title, Ae = p?.yAxis?.title;
173
- let oe;
174
- t[65] !== Wt || t[66] !== ve || t[67] !== we || t[68] !== Ae || t[69] !== E ? (oe = /* @__PURE__ */ o.jsx(Ee, { x: Wt, y: ve, style: we, className: Ae, text: E, rotate90: !0 }), t[65] = Wt, t[66] = ve, t[67] = we, t[68] = Ae, t[69] = E, t[70] = oe) : oe = t[70];
175
- let ne;
176
- t[71] !== n ? (ne = (e) => Re(e, n), t[71] = n, t[72] = ne) : ne = t[72];
177
- const Me = Ht.map(ne), Ne = Ht.map((e) => a(e)), be = d?.xAxis?.gridLines, Ce = d?.xAxis?.labels;
161
+ t[51] !== jt || t[52] !== S ? (w = {
162
+ axis: jt,
163
+ label: S
164
+ }, t[51] = jt, t[52] = S, t[53] = w) : w = t[53];
165
+ const T = x?.xAxis?.axis, M = x?.yAxis?.labels;
166
+ let b;
167
+ t[54] !== T || t[55] !== M ? (b = {
168
+ axis: T,
169
+ label: M
170
+ }, t[54] = T, t[55] = M, t[56] = b) : b = t[56];
171
+ let W;
172
+ t[57] !== Ot || t[58] !== I || t[59] !== te || t[60] !== et || t[61] !== k || t[62] !== $ || t[63] !== w || t[64] !== b ? (W = /* @__PURE__ */ o.jsx(Ee, { y1: Ot, y2: I, x1: te, x2: et, label: k, labelPos: $, classNames: w, styles: b }), t[57] = Ot, t[58] = I, t[59] = te, t[60] = et, t[61] = k, t[62] = $, t[63] = w, t[64] = b, t[65] = W) : W = t[65];
173
+ const Gt = 0 - D - 15, Pt = g / 2, be = x?.yAxis?.title, Ce = u?.yAxis?.title;
178
174
  let se;
179
- t[73] !== be || t[74] !== Ce ? (se = {
180
- gridLines: be,
181
- labels: Ce
182
- }, t[73] = be, t[74] = Ce, t[75] = se) : se = t[75];
183
- const Oe = p?.xAxis?.gridLines;
184
- let Yt;
185
- t[76] !== Oe ? (Yt = he("opacity-0", Oe), t[76] = Oe, t[77] = Yt) : Yt = t[77];
186
- const je = p?.xAxis?.labels;
187
- let Xt;
188
- t[78] !== je ? (Xt = he("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", je), t[78] = je, t[79] = Xt) : Xt = t[79];
175
+ t[66] !== Gt || t[67] !== Pt || t[68] !== be || t[69] !== Ce || t[70] !== P ? (se = /* @__PURE__ */ o.jsx(Be, { x: Gt, y: Pt, style: be, className: Ce, text: P, rotate90: !0 }), t[66] = Gt, t[67] = Pt, t[68] = be, t[69] = Ce, t[70] = P, t[71] = se) : se = t[71];
189
176
  let ae;
190
- t[80] !== Yt || t[81] !== Xt ? (ae = {
191
- gridLines: Yt,
192
- labels: Xt
193
- }, t[80] = Yt, t[81] = Xt, t[82] = ae) : ae = t[82];
177
+ t[72] !== n ? (ae = (e) => He(e, n), t[72] = n, t[73] = ae) : ae = t[73];
178
+ const Ne = It.map(ae), Ve = It.map((e) => a(e)), Ae = x?.xAxis?.gridLines, Oe = x?.xAxis?.labels;
194
179
  let re;
195
- t[83] !== H ? (re = H.filter(vi).map(yi), t[83] = H, t[84] = re) : re = t[84];
180
+ t[74] !== Ae || t[75] !== Oe ? (re = {
181
+ gridLines: Ae,
182
+ labels: Oe
183
+ }, t[74] = Ae, t[75] = Oe, t[76] = re) : re = t[76];
184
+ const je = u?.xAxis?.gridLines;
185
+ let Et;
186
+ t[77] !== je ? (Et = ve("opacity-0", je), t[77] = je, t[78] = Et) : Et = t[78];
187
+ const De = u?.xAxis?.labels;
188
+ let Bt;
189
+ t[79] !== De ? (Bt = ve("fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", De), t[79] = De, t[80] = Bt) : Bt = t[80];
196
190
  let le;
197
- t[85] !== P || t[86] !== mt ? (le = {
198
- stroke: P,
199
- fill: "none",
200
- strokeWidth: mt
201
- }, t[85] = P, t[86] = mt, t[87] = le) : le = t[87];
191
+ t[81] !== Et || t[82] !== Bt ? (le = {
192
+ gridLines: Et,
193
+ labels: Bt
194
+ }, t[81] = Et, t[82] = Bt, t[83] = le) : le = t[83];
202
195
  let ce;
203
- t[88] !== s.duration ? (ce = {
196
+ t[84] !== R ? (ce = R.filter(wi).map(vi), t[84] = R, t[85] = ce) : ce = t[85];
197
+ let me;
198
+ t[86] !== G || t[87] !== ct ? (me = {
199
+ stroke: G,
200
+ fill: "none",
201
+ strokeWidth: ct
202
+ }, t[86] = G, t[87] = ct, t[88] = me) : me = t[88];
203
+ let fe;
204
+ t[89] !== s.duration ? (fe = {
204
205
  opacity: 0,
205
206
  transition: {
206
207
  duration: s.duration
207
208
  }
208
- }, t[88] = s.duration, t[89] = ce) : ce = t[89];
209
- const De = r.map((e, h) => /* @__PURE__ */ o.jsx(ee.g, { children: Ot(e.y) ? null : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
210
- St ? /* @__PURE__ */ o.jsx(ee.circle, { r: m / r.length < 5 ? 0 : m / r.length < 20 ? 2 : 4, exit: {
209
+ }, t[89] = s.duration, t[90] = fe) : fe = t[90];
210
+ const Le = r.map((e, h) => /* @__PURE__ */ o.jsx(ie.g, { children: Dt(e.y) ? null : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
211
+ Mt ? /* @__PURE__ */ o.jsx(ie.circle, { r: m / r.length < 5 ? 0 : m / r.length < 20 ? 2 : 4, exit: {
211
212
  opacity: 0,
212
213
  transition: {
213
214
  duration: s.duration
@@ -216,24 +217,24 @@ function di(i) {
216
217
  initial: {
217
218
  opacity: 0,
218
219
  cx: a(e.date),
219
- cy: l(e.y),
220
- fill: P
220
+ cy: c(e.y),
221
+ fill: G
221
222
  },
222
223
  whileInView: {
223
224
  opacity: 1,
224
- fill: P,
225
+ fill: G,
225
226
  transition: {
226
- duration: O ? s.duration : 0.5,
227
- delay: O ? 0 : s.duration
227
+ duration: A ? s.duration : 0.5,
228
+ delay: A ? 0 : s.duration
228
229
  },
229
230
  cx: a(e.date),
230
- cy: l(e.y)
231
+ cy: c(e.y)
231
232
  }
232
- }, initial: "initial", animate: f ? "whileInView" : "initial" }) : null,
233
- C ? /* @__PURE__ */ o.jsx(ee.text, { dy: -8, style: {
233
+ }, initial: "initial", animate: p ? "whileInView" : "initial" }) : null,
234
+ j ? /* @__PURE__ */ o.jsx(ie.text, { dy: -8, style: {
234
235
  textAnchor: "middle",
235
- ...d?.graphObjectValues || {}
236
- }, className: he("graph-value text-xs font-bold", p?.graphObjectValues), exit: {
236
+ ...x?.graphObjectValues || {}
237
+ }, className: ve("graph-value text-xs font-bold", u?.graphObjectValues), exit: {
237
238
  opacity: 0,
238
239
  transition: {
239
240
  duration: s.duration
@@ -242,285 +243,286 @@ function di(i) {
242
243
  initial: {
243
244
  opacity: 0,
244
245
  x: a(e.date),
245
- y: l(e.y)
246
+ y: c(e.y)
246
247
  },
247
248
  whileInView: {
248
249
  opacity: 1,
249
250
  x: a(e.date),
250
- y: l(e.y),
251
+ y: c(e.y),
251
252
  transition: {
252
- duration: O ? s.duration : 0.5,
253
- delay: O ? 0 : s.duration
253
+ duration: A ? s.duration : 0.5,
254
+ delay: A ? 0 : s.duration
254
255
  }
255
256
  }
256
- }, initial: "initial", animate: f ? "whileInView" : "initial", children: Se(e.y, "NA", R, V, b) }) : null
257
+ }, initial: "initial", animate: p ? "whileInView" : "initial", children: Te(e.y, void 0, V, N, O, H) }) : null
257
258
  ] }) }, h));
258
- let me;
259
- t[90] !== De ? (me = /* @__PURE__ */ o.jsx("g", { children: De }), t[90] = De, t[91] = me) : me = t[91];
260
- const Le = zt.map((e, h) => {
261
- const X = Ye({
262
- x: e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
263
- y: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
259
+ let ue;
260
+ t[91] !== Le ? (ue = /* @__PURE__ */ o.jsx("g", { children: Le }), t[91] = Le, t[92] = ue) : ue = t[92];
261
+ const ke = Kt.map((e, h) => {
262
+ const Y = Xe({
263
+ x: e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
264
+ y: e.yCoordinate ? c(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
264
265
  }, {
265
- x: e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) : 0,
266
- y: e.yCoordinate ? l(e.yCoordinate) : 0
267
- }, Ot(e.connectorRadius) ? 3.5 : e.connectorRadius), Gt = e.showConnector ? {
268
- y1: X.y,
269
- x1: X.x,
270
- y2: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
271
- x2: e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
272
- cy: e.yCoordinate ? l(e.yCoordinate) : 0,
273
- cx: e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) : 0,
274
- circleRadius: Ot(e.connectorRadius) ? 3.5 : e.connectorRadius,
266
+ x: e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) : 0,
267
+ y: e.yCoordinate ? c(e.yCoordinate) : 0
268
+ }, Dt(e.connectorRadius) ? 3.5 : e.connectorRadius), zt = e.showConnector ? {
269
+ y1: Y.y,
270
+ x1: Y.x,
271
+ y2: e.yCoordinate ? c(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
272
+ x2: e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
273
+ cy: e.yCoordinate ? c(e.yCoordinate) : 0,
274
+ cx: e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) : 0,
275
+ circleRadius: Dt(e.connectorRadius) ? 3.5 : e.connectorRadius,
275
276
  strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
276
- } : void 0, Ve = {
277
- y: e.yCoordinate ? l(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
278
- x: $t ? 0 : e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
279
- width: $t ? e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : m + v.right - (e.xCoordinate ? a(A(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
277
+ } : void 0, Re = {
278
+ y: e.yCoordinate ? c(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
279
+ x: Tt ? 0 : e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
280
+ width: Tt ? e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : m + v.right - (e.xCoordinate ? a(C(`${e.xCoordinate}`, n, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
280
281
  maxWidth: e.maxWidth,
281
282
  fontWeight: e.fontWeight,
282
283
  align: e.align
283
284
  };
284
- return /* @__PURE__ */ o.jsx(Xe, { color: e.color, connectorsSettings: Gt, labelSettings: Ve, text: e.text, classNames: e.classNames, styles: e.styles, animate: s, isInView: f }, h);
285
+ return /* @__PURE__ */ o.jsx(Ge, { color: e.color, connectorsSettings: zt, labelSettings: Re, text: e.text, classNames: e.classNames, styles: e.styles, animate: s, isInView: p }, h);
285
286
  });
286
- let fe;
287
- t[92] !== Le ? (fe = /* @__PURE__ */ o.jsx("g", { children: Le }), t[92] = Le, t[93] = fe) : fe = t[93];
288
- const ke = ut ? /* @__PURE__ */ o.jsx(Ue, { x1: 0, x2: m, y1: It(0), y2: It(m), graphHeight: g, graphWidth: m, className: p?.regLine, style: d?.regLine, color: typeof ut == "string" ? ut : void 0, animate: s, isInView: f }) : null;
289
- let ue;
290
- t[94] !== ke ? (ue = /* @__PURE__ */ o.jsx("g", { children: ke }), t[94] = ke, t[95] = ue) : ue = t[95];
291
287
  let pe;
292
- t[96] !== H ? (pe = H.filter(hi).map(gi), t[96] = H, t[97] = pe) : pe = t[97];
288
+ t[93] !== ke ? (pe = /* @__PURE__ */ o.jsx("g", { children: ke }), t[93] = ke, t[94] = pe) : pe = t[94];
289
+ const $e = ft ? /* @__PURE__ */ o.jsx(qe, { x1: 0, x2: m, y1: Yt(0), y2: Yt(m), graphHeight: g, graphWidth: m, className: u?.regLine, style: x?.regLine, color: typeof ft == "string" ? ft : void 0, animate: s, isInView: p }) : null;
290
+ let de;
291
+ t[95] !== $e ? (de = /* @__PURE__ */ o.jsx("g", { children: $e }), t[95] = $e, t[96] = de) : de = t[96];
293
292
  let xe;
294
- t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = {
293
+ t[97] !== R ? (xe = R.filter(yi).map(hi), t[97] = R, t[98] = xe) : xe = t[98];
294
+ let ge;
295
+ t[99] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = {
295
296
  fill: "none",
296
297
  pointerEvents: "all"
297
- }, t[98] = xe) : xe = t[98];
298
- let de;
299
- t[99] !== U || t[100] !== g || t[101] !== m ? (de = /* @__PURE__ */ o.jsx("rect", { ref: U, style: xe, width: m, height: g }), t[99] = U, t[100] = g, t[101] = m, t[102] = de) : de = t[102];
300
- let ge;
301
- return t[103] !== p?.tooltip || t[104] !== c || t[105] !== I || t[106] !== L || t[107] !== d?.tooltip || t[108] !== lt ? (ge = L && lt && c && I ? /* @__PURE__ */ o.jsx(We, { data: L, body: lt, xPos: c, yPos: I, backgroundStyle: d?.tooltip, className: p?.tooltip }) : null, t[103] = p?.tooltip, t[104] = c, t[105] = I, t[106] = L, t[107] = d?.tooltip, t[108] = lt, t[109] = ge) : ge = t[109], /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
302
- /* @__PURE__ */ o.jsx(ee.svg, { width: `${G}px`, height: `${st}px`, viewBox: `0 0 ${G} ${st}`, direction: "ltr", ref: Kt, children: /* @__PURE__ */ o.jsxs("g", { transform: `translate(${v.left},${v.top})`, children: [
303
- Z,
304
- /* @__PURE__ */ o.jsx(Ge, { areaSettings: Mt, scaleX: a, scaleY: l, animate: s, isInView: f }),
298
+ }, t[99] = ge) : ge = t[99];
299
+ let he;
300
+ t[100] !== z || t[101] !== g || t[102] !== m ? (he = /* @__PURE__ */ o.jsx("rect", { ref: z, style: ge, width: m, height: g }), t[100] = z, t[101] = g, t[102] = m, t[103] = he) : he = t[103];
301
+ let ye;
302
+ return t[104] !== u?.tooltip || t[105] !== xt || t[106] !== ht || t[107] !== l || t[108] !== x?.tooltip || t[109] !== rt ? (ye = l && rt && xt && ht ? /* @__PURE__ */ o.jsx(Ye, { data: l, body: rt, xPos: xt, yPos: ht, backgroundStyle: x?.tooltip, className: u?.tooltip }) : null, t[104] = u?.tooltip, t[105] = xt, t[106] = ht, t[107] = l, t[108] = x?.tooltip, t[109] = rt, t[110] = ye) : ye = t[110], /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
303
+ /* @__PURE__ */ o.jsx(ie.svg, { width: `${X}px`, height: `${nt}px`, viewBox: `0 0 ${X} ${nt}`, direction: "ltr", ref: pt, children: /* @__PURE__ */ o.jsxs("g", { transform: `translate(${v.left},${v.top})`, children: [
304
+ Q,
305
+ /* @__PURE__ */ o.jsx(Pe, { areaSettings: Vt, scaleX: a, scaleY: c, animate: s, isInView: p }),
305
306
  /* @__PURE__ */ o.jsxs("g", { children: [
306
- /* @__PURE__ */ o.jsx(qe, { values: ht.filter(Ai), y: ht.filter(wi).map((e) => l(e)), x1: 0 - D, x2: m + v.right, styles: _, classNames: et, suffix: b, prefix: V, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: R }),
307
- Ct,
308
- oe
307
+ /* @__PURE__ */ o.jsx(Je, { values: wt.filter(Ci), y: wt.filter(bi).map((e) => c(e)), x1: 0 - D, x2: m + v.right, styles: Z, classNames: tt, suffix: O, prefix: N, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: V, locale: H }),
308
+ W,
309
+ se
309
310
  ] }),
310
- /* @__PURE__ */ o.jsx(Be, { values: Me, x: Ne, y1: 0, y2: g, styles: se, classNames: ae, suffix: b, prefix: V, labelType: "primary", showGridLines: !0, precision: R }),
311
- re,
311
+ /* @__PURE__ */ o.jsx(ze, { values: Ne, x: Ve, y1: 0, y2: g, styles: re, classNames: le, suffix: O, prefix: N, labelType: "primary", showGridLines: !0, precision: V, locale: H }),
312
+ ce,
312
313
  /* @__PURE__ */ o.jsxs("g", { children: [
313
- /* @__PURE__ */ o.jsx(ee.path, { style: le, exit: ce, variants: {
314
+ /* @__PURE__ */ o.jsx(ie.path, { style: me, exit: fe, variants: {
314
315
  initial: {
315
316
  pathLength: 0,
316
- d: Rt(r) || "",
317
+ d: Ft(r) || "",
317
318
  opacity: 1
318
319
  },
319
320
  whileInView: {
320
321
  pathLength: 1,
321
- d: Rt(r) || "",
322
+ d: Ft(r) || "",
322
323
  opacity: 1,
323
324
  transition: {
324
325
  duration: s.duration
325
326
  }
326
327
  }
327
- }, initial: "initial", animate: f ? "whileInView" : "initial" }),
328
- L ? /* @__PURE__ */ o.jsx("line", { y1: 0, y2: g, x1: a(L.date), x2: a(L.date), className: he("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100", p?.mouseOverLine), style: d?.mouseOverLine }) : null
328
+ }, initial: "initial", animate: p ? "whileInView" : "initial" }),
329
+ l ? /* @__PURE__ */ o.jsx("line", { y1: 0, y2: g, x1: a(l.date), x2: a(l.date), className: ve("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100", u?.mouseOverLine), style: x?.mouseOverLine }) : null
329
330
  ] }),
330
- me,
331
- Et ? /* @__PURE__ */ o.jsx(o.Fragment, { children: Et.map((e, h) => /* @__PURE__ */ o.jsx(ze, { text: e.text, color: e.color, y: l(e.value), x1: 0 - D, x2: m + v.right, classNames: e.classNames, styles: e.styles, animate: s, isInView: f }, h)) }) : null,
332
- fe,
333
331
  ue,
332
+ qt ? /* @__PURE__ */ o.jsx(o.Fragment, { children: qt.map((e, h) => /* @__PURE__ */ o.jsx(Ue, { text: e.text, color: e.color, y: c(e.value), x1: 0 - D, x2: m + v.right, classNames: e.classNames, styles: e.styles, animate: s, isInView: p }, h)) }) : null,
334
333
  pe,
335
- de
334
+ de,
335
+ xe,
336
+ he
336
337
  ] }) }),
337
- ge
338
+ ye
338
339
  ] });
339
340
  }
340
- function gi(i) {
341
+ function hi(i) {
341
342
  return i.layer;
342
343
  }
343
- function hi(i) {
344
+ function yi(i) {
344
345
  return i.position === "after";
345
346
  }
346
- function yi(i) {
347
+ function vi(i) {
347
348
  return i.layer;
348
349
  }
349
- function vi(i) {
350
+ function wi(i) {
350
351
  return i.position === "before";
351
352
  }
352
- function wi(i) {
353
+ function bi(i) {
353
354
  return i !== 0;
354
355
  }
355
- function Ai(i) {
356
+ function Ci(i) {
356
357
  return i !== 0;
357
358
  }
358
- function bi(i) {
359
- return !Ot(i.date) && !Ot(i.y);
359
+ function Ai(i) {
360
+ return !Dt(i.date) && !Dt(i.y);
360
361
  }
361
- function Ci(i) {
362
+ function Oi(i) {
362
363
  return i.date;
363
364
  }
364
- function Oi(i) {
365
+ function ji(i) {
365
366
  return i != null;
366
367
  }
367
- function ji(i) {
368
+ function Di(i) {
368
369
  return i.y;
369
370
  }
370
- function Di(i) {
371
+ function Li(i) {
371
372
  return i != null;
372
373
  }
373
- function Li(i) {
374
+ function ki(i) {
374
375
  return i.y;
375
376
  }
376
- function ki(i) {
377
+ function $i(i) {
377
378
  return i != null;
378
379
  }
379
- function $i(i) {
380
+ function Si(i) {
380
381
  return i.y;
381
382
  }
382
- function Si(i) {
383
+ function Ti(i) {
383
384
  return i != null;
384
385
  }
385
- function Ti(i) {
386
+ function Mi(i) {
386
387
  return i.y;
387
388
  }
388
- function Mi(i) {
389
+ function Ni(i) {
389
390
  return i != null;
390
391
  }
391
- function Ni(i) {
392
+ function Vi(i) {
392
393
  return i.y;
393
394
  }
394
- function ho(i) {
395
- const t = Te.c(88), {
395
+ function yo(i) {
396
+ const t = Me.c(89), {
396
397
  data: y,
397
- graphTitle: G,
398
- lineColor: st,
399
- suffix: P,
400
- sources: b,
401
- prefix: V,
398
+ graphTitle: X,
399
+ lineColor: nt,
400
+ suffix: G,
401
+ sources: O,
402
+ prefix: N,
402
403
  graphDescription: n,
403
- height: at,
404
- width: C,
405
- footNote: jt,
406
- noOfXTicks: Dt,
404
+ height: st,
405
+ width: j,
406
+ footNote: Lt,
407
+ noOfXTicks: kt,
407
408
  dateFormat: D,
408
- showValues: Lt,
409
- padding: rt,
410
- backgroundColor: lt,
411
- leftMargin: kt,
412
- rightMargin: Et,
413
- topMargin: Bt,
414
- bottomMargin: ct,
409
+ showValues: $t,
410
+ padding: at,
411
+ backgroundColor: rt,
412
+ leftMargin: St,
413
+ rightMargin: qt,
414
+ topMargin: Jt,
415
+ bottomMargin: lt,
415
416
  relativeHeight: s,
416
- tooltip: $t,
417
- onSeriesMouseOver: mt,
418
- highlightAreaSettings: St,
419
- graphID: zt,
420
- minValue: ft,
421
- maxValue: ut,
422
- maxDate: E,
423
- minDate: Ut,
424
- graphDownload: qt,
425
- dataDownload: Jt,
426
- animate: pt,
427
- language: d,
428
- refValues: p,
429
- minHeight: R,
430
- strokeWidth: H,
431
- showDots: Kt,
432
- annotations: F,
433
- customHighlightAreaSettings: f,
434
- theme: O,
435
- ariaLabel: Qt,
436
- regressionLine: xt,
437
- yAxisTitle: B,
438
- noOfYTicks: ie,
439
- curveType: L,
440
- styles: u,
441
- classNames: c,
442
- precision: Zt,
443
- customLayers: I
444
- } = i, Tt = P === void 0 ? "" : P, dt = V === void 0 ? "" : V, z = Dt === void 0 ? 10 : Dt, v = D === void 0 ? "yyyy" : D, U = Lt === void 0 ? !1 : Lt, q = lt === void 0 ? !1 : lt, r = kt === void 0 ? 30 : kt, J = Et === void 0 ? 30 : Et, gt = Bt === void 0 ? 20 : Bt, K = ct === void 0 ? 25 : ct;
445
- let Mt;
446
- t[0] !== St ? (Mt = St === void 0 ? [] : St, t[0] = St, t[1] = Mt) : Mt = t[1];
447
- const m = Mt, g = qt === void 0 ? !1 : qt, Nt = Jt === void 0 ? !1 : Jt, Vt = pt === void 0 ? !1 : pt, x = d === void 0 ? "en" : d;
448
- let k;
449
- t[2] !== p ? (k = p === void 0 ? [] : p, t[2] = p, t[3] = k) : k = t[3];
450
- const a = k, Q = R === void 0 ? 0 : R, l = H === void 0 ? 2 : H, Rt = Kt === void 0 ? !0 : Kt;
451
- let ht;
452
- t[4] !== F ? (ht = F === void 0 ? [] : F, t[4] = F, t[5] = ht) : ht = t[5];
453
- const Ht = ht;
454
- let Ft;
455
- t[6] !== f ? (Ft = f === void 0 ? [] : f, t[6] = f, t[7] = Ft) : Ft = t[7];
456
- const It = Ft, Z = O === void 0 ? "light" : O, yt = xt === void 0 ? !1 : xt, vt = ie === void 0 ? 5 : ie, _ = L === void 0 ? "curve" : L, wt = Zt === void 0 ? 2 : Zt;
457
- let tt;
458
- t[8] !== I ? (tt = I === void 0 ? [] : I, t[8] = I, t[9] = tt) : tt = t[9];
459
- const et = tt, [W, _t] = Pt(0), [it, te] = Pt(0), At = ye(null), Y = ye(null);
460
- let ot, nt;
461
- t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ot = () => {
462
- const Ct = new ResizeObserver((Wt) => {
463
- _t(Wt[0].target.clientWidth || 620), te(Wt[0].target.clientHeight || 480);
417
+ tooltip: Tt,
418
+ onSeriesMouseOver: ct,
419
+ highlightAreaSettings: Mt,
420
+ graphID: Kt,
421
+ minValue: mt,
422
+ maxValue: ft,
423
+ maxDate: P,
424
+ minDate: Qt,
425
+ graphDownload: Zt,
426
+ dataDownload: _t,
427
+ animate: ut,
428
+ language: x,
429
+ refValues: u,
430
+ minHeight: V,
431
+ strokeWidth: R,
432
+ showDots: H,
433
+ annotations: pt,
434
+ customHighlightAreaSettings: F,
435
+ theme: p,
436
+ ariaLabel: A,
437
+ regressionLine: oe,
438
+ yAxisTitle: E,
439
+ noOfYTicks: dt,
440
+ curveType: ne,
441
+ styles: l,
442
+ classNames: f,
443
+ precision: xt,
444
+ customLayers: gt,
445
+ locale: ht
446
+ } = i, Nt = G === void 0 ? "" : G, yt = N === void 0 ? "" : N, B = kt === void 0 ? 10 : kt, v = D === void 0 ? "yyyy" : D, z = $t === void 0 ? !1 : $t, U = rt === void 0 ? !1 : rt, r = St === void 0 ? 30 : St, q = qt === void 0 ? 30 : qt, vt = Jt === void 0 ? 20 : Jt, J = lt === void 0 ? 25 : lt;
447
+ let Vt;
448
+ t[0] !== Mt ? (Vt = Mt === void 0 ? [] : Mt, t[0] = Mt, t[1] = Vt) : Vt = t[1];
449
+ const m = Vt, g = Zt === void 0 ? !1 : Zt, Rt = _t === void 0 ? !1 : _t, Ht = ut === void 0 ? !1 : ut, d = x === void 0 ? "en" : x;
450
+ let L;
451
+ t[2] !== u ? (L = u === void 0 ? [] : u, t[2] = u, t[3] = L) : L = t[3];
452
+ const a = L, K = V === void 0 ? 0 : V, c = R === void 0 ? 2 : R, Ft = H === void 0 ? !0 : H;
453
+ let wt;
454
+ t[4] !== pt ? (wt = pt === void 0 ? [] : pt, t[4] = pt, t[5] = wt) : wt = t[5];
455
+ const It = wt;
456
+ let Wt;
457
+ t[6] !== F ? (Wt = F === void 0 ? [] : F, t[6] = F, t[7] = Wt) : Wt = t[7];
458
+ const Yt = Wt, Q = p === void 0 ? "light" : p, bt = oe === void 0 ? !1 : oe, Ct = dt === void 0 ? 5 : dt, Z = ne === void 0 ? "curve" : ne, At = xt === void 0 ? 2 : xt;
459
+ let _;
460
+ t[8] !== gt ? (_ = gt === void 0 ? [] : gt, t[8] = gt, t[9] = _) : _ = t[9];
461
+ const tt = _, Ot = ht === void 0 ? "en" : ht, [I, te] = Ut(0), [et, ee] = Ut(0), k = we(null), Xt = we(null);
462
+ let it, ot;
463
+ t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (it = () => {
464
+ const Gt = new ResizeObserver((Pt) => {
465
+ te(Pt[0].target.clientWidth || 620), ee(Pt[0].target.clientHeight || 480);
464
466
  });
465
- return At.current && Ct.observe(At.current), () => Ct.disconnect();
466
- }, nt = [], t[10] = ot, t[11] = nt) : (ot = t[10], nt = t[11]), $e(ot, nt);
467
- const bt = c?.graphContainer, $ = u?.graphContainer;
467
+ return k.current && Gt.observe(k.current), () => Gt.disconnect();
468
+ }, ot = [], t[10] = it, t[11] = ot) : (it = t[10], ot = t[11]), Se(it, ot);
469
+ const $ = f?.graphContainer, jt = l?.graphContainer;
468
470
  let S;
469
- t[12] !== c?.description || t[13] !== c?.title || t[14] !== y || t[15] !== Nt || t[16] !== n || t[17] !== g || t[18] !== G || t[19] !== u?.description || t[20] !== u?.title || t[21] !== C ? (S = G || n || g || Nt ? /* @__PURE__ */ o.jsx(ci, { styles: {
470
- title: u?.title,
471
- description: u?.description
471
+ t[12] !== f?.description || t[13] !== f?.title || t[14] !== y || t[15] !== Rt || t[16] !== n || t[17] !== g || t[18] !== X || t[19] !== l?.description || t[20] !== l?.title || t[21] !== j ? (S = X || n || g || Rt ? /* @__PURE__ */ o.jsx(mi, { styles: {
472
+ title: l?.title,
473
+ description: l?.description
472
474
  }, classNames: {
473
- title: c?.title,
474
- description: c?.description
475
- }, graphTitle: G, graphDescription: n, width: C, graphDownload: g ? Y : void 0, dataDownload: Nt ? y.map(Ii).filter(Fi).length > 0 ? y.map(Hi).filter(Ri) : y.filter(Vi) : null }) : null, t[12] = c?.description, t[13] = c?.title, t[14] = y, t[15] = Nt, t[16] = n, t[17] = g, t[18] = G, t[19] = u?.description, t[20] = u?.title, t[21] = C, t[22] = S) : S = t[22];
476
- let T;
477
- t[23] !== y.length ? (T = y.length === 0 && /* @__PURE__ */ o.jsx(fi, {}), t[23] = y.length, t[24] = T) : T = t[24];
475
+ title: f?.title,
476
+ description: f?.description
477
+ }, graphTitle: X, graphDescription: n, width: j, graphDownload: g ? Xt : void 0, dataDownload: Rt ? y.map(Wi).filter(Ii).length > 0 ? y.map(Fi).filter(Hi) : y.filter(Ri) : null }) : null, t[12] = f?.description, t[13] = f?.title, t[14] = y, t[15] = Rt, t[16] = n, t[17] = g, t[18] = X, t[19] = l?.description, t[20] = l?.title, t[21] = j, t[22] = S) : S = t[22];
478
478
  let w;
479
- t[25] !== Vt || t[26] !== Ht || t[27] !== K || t[28] !== c || t[29] !== _ || t[30] !== It || t[31] !== et || t[32] !== y || t[33] !== v || t[34] !== m || t[35] !== x || t[36] !== r || t[37] !== st || t[38] !== E || t[39] !== ut || t[40] !== Ut || t[41] !== ft || t[42] !== z || t[43] !== vt || t[44] !== mt || t[45] !== wt || t[46] !== dt || t[47] !== a || t[48] !== yt || t[49] !== J || t[50] !== Rt || t[51] !== U || t[52] !== l || t[53] !== u || t[54] !== Tt || t[55] !== it || t[56] !== W || t[57] !== $t || t[58] !== gt || t[59] !== B ? (w = W && it && y.length > 0 ? /* @__PURE__ */ o.jsx(di, { data: y, lineColor: st || mi.primaryColors["blue-600"], width: W, height: it, suffix: Tt, prefix: dt, dateFormat: v, showValues: U, noOfXTicks: z ?? xi(W), leftMargin: r, rightMargin: J, topMargin: gt, bottomMargin: K, tooltip: $t, highlightAreaSettings: m, onSeriesMouseOver: mt, refValues: a, minValue: ft, maxValue: ut, animate: Vt === !0 ? {
479
+ t[23] !== y.length ? (w = y.length === 0 && /* @__PURE__ */ o.jsx(ui, {}), t[23] = y.length, t[24] = w) : w = t[24];
480
+ let T;
481
+ t[25] !== Ht || t[26] !== It || t[27] !== J || t[28] !== f || t[29] !== Z || t[30] !== Yt || t[31] !== tt || t[32] !== y || t[33] !== v || t[34] !== m || t[35] !== d || t[36] !== r || t[37] !== nt || t[38] !== Ot || t[39] !== P || t[40] !== ft || t[41] !== Qt || t[42] !== mt || t[43] !== B || t[44] !== Ct || t[45] !== ct || t[46] !== At || t[47] !== yt || t[48] !== a || t[49] !== bt || t[50] !== q || t[51] !== Ft || t[52] !== z || t[53] !== c || t[54] !== l || t[55] !== Nt || t[56] !== et || t[57] !== I || t[58] !== Tt || t[59] !== vt || t[60] !== E ? (T = I && et && y.length > 0 ? /* @__PURE__ */ o.jsx(gi, { data: y, lineColor: nt || fi.primaryColors["blue-600"], width: I, height: et, suffix: Nt, prefix: yt, dateFormat: v, showValues: z, noOfXTicks: B ?? xi(I), leftMargin: r, rightMargin: q, topMargin: vt, bottomMargin: J, tooltip: Tt, highlightAreaSettings: m, onSeriesMouseOver: ct, refValues: a, minValue: mt, maxValue: ft, animate: Ht === !0 ? {
480
482
  duration: 0.5,
481
483
  once: !0,
482
484
  amount: 0.5
483
- } : Vt || {
485
+ } : Ht || {
484
486
  duration: 0,
485
487
  once: !0,
486
488
  amount: 0
487
- }, rtl: x === "he" || x === "ar", strokeWidth: l, showDots: Rt, annotations: Ht, customHighlightAreaSettings: It, regressionLine: yt, yAxisTitle: B, noOfYTicks: vt, maxDate: E, minDate: Ut, curveType: _, styles: u, classNames: c, precision: wt, customLayers: et }) : null, t[25] = Vt, t[26] = Ht, t[27] = K, t[28] = c, t[29] = _, t[30] = It, t[31] = et, t[32] = y, t[33] = v, t[34] = m, t[35] = x, t[36] = r, t[37] = st, t[38] = E, t[39] = ut, t[40] = Ut, t[41] = ft, t[42] = z, t[43] = vt, t[44] = mt, t[45] = wt, t[46] = dt, t[47] = a, t[48] = yt, t[49] = J, t[50] = Rt, t[51] = U, t[52] = l, t[53] = u, t[54] = Tt, t[55] = it, t[56] = W, t[57] = $t, t[58] = gt, t[59] = B, t[60] = w) : w = t[60];
489
+ }, rtl: d === "he" || d === "ar", strokeWidth: c, showDots: Ft, annotations: It, customHighlightAreaSettings: Yt, regressionLine: bt, yAxisTitle: E, noOfYTicks: Ct, maxDate: P, minDate: Qt, curveType: Z, styles: l, classNames: f, precision: At, customLayers: tt, locale: Ot }) : null, t[25] = Ht, t[26] = It, t[27] = J, t[28] = f, t[29] = Z, t[30] = Yt, t[31] = tt, t[32] = y, t[33] = v, t[34] = m, t[35] = d, t[36] = r, t[37] = nt, t[38] = Ot, t[39] = P, t[40] = ft, t[41] = Qt, t[42] = mt, t[43] = B, t[44] = Ct, t[45] = ct, t[46] = At, t[47] = yt, t[48] = a, t[49] = bt, t[50] = q, t[51] = Ft, t[52] = z, t[53] = c, t[54] = l, t[55] = Nt, t[56] = et, t[57] = I, t[58] = Tt, t[59] = vt, t[60] = E, t[61] = T) : T = t[61];
488
490
  let M;
489
- t[61] !== T || t[62] !== w ? (M = /* @__PURE__ */ o.jsxs(ui, { ref: At, children: [
490
- T,
491
- w
492
- ] }), t[61] = T, t[62] = w, t[63] = M) : M = t[63];
493
- let N;
494
- t[64] !== c?.footnote || t[65] !== c?.source || t[66] !== jt || t[67] !== b || t[68] !== u?.footnote || t[69] !== u?.source || t[70] !== C ? (N = b || jt ? /* @__PURE__ */ o.jsx(li, { styles: {
495
- footnote: u?.footnote,
496
- source: u?.source
491
+ t[62] !== w || t[63] !== T ? (M = /* @__PURE__ */ o.jsxs(pi, { ref: k, children: [
492
+ w,
493
+ T
494
+ ] }), t[62] = w, t[63] = T, t[64] = M) : M = t[64];
495
+ let b;
496
+ t[65] !== f?.footnote || t[66] !== f?.source || t[67] !== Lt || t[68] !== O || t[69] !== l?.footnote || t[70] !== l?.source || t[71] !== j ? (b = O || Lt ? /* @__PURE__ */ o.jsx(ci, { styles: {
497
+ footnote: l?.footnote,
498
+ source: l?.source
497
499
  }, classNames: {
498
- footnote: c?.footnote,
499
- source: c?.source
500
- }, sources: b, footNote: jt, width: C }) : null, t[64] = c?.footnote, t[65] = c?.source, t[66] = jt, t[67] = b, t[68] = u?.footnote, t[69] = u?.source, t[70] = C, t[71] = N) : N = t[71];
501
- let j;
502
- return t[72] !== Qt || t[73] !== q || t[74] !== zt || t[75] !== at || t[76] !== x || t[77] !== Q || t[78] !== rt || t[79] !== s || t[80] !== bt || t[81] !== $ || t[82] !== S || t[83] !== M || t[84] !== N || t[85] !== Z || t[86] !== C ? (j = /* @__PURE__ */ o.jsxs(pi, { className: bt, style: $, id: zt, ref: Y, "aria-label": Qt, backgroundColor: q, theme: Z, language: x, minHeight: Q, width: C, height: at, relativeHeight: s, padding: rt, children: [
500
+ footnote: f?.footnote,
501
+ source: f?.source
502
+ }, sources: O, footNote: Lt, width: j }) : null, t[65] = f?.footnote, t[66] = f?.source, t[67] = Lt, t[68] = O, t[69] = l?.footnote, t[70] = l?.source, t[71] = j, t[72] = b) : b = t[72];
503
+ let W;
504
+ return t[73] !== A || t[74] !== U || t[75] !== Kt || t[76] !== st || t[77] !== d || t[78] !== K || t[79] !== at || t[80] !== s || t[81] !== $ || t[82] !== jt || t[83] !== S || t[84] !== M || t[85] !== b || t[86] !== Q || t[87] !== j ? (W = /* @__PURE__ */ o.jsxs(di, { className: $, style: jt, id: Kt, ref: Xt, "aria-label": A, backgroundColor: U, theme: Q, language: d, minHeight: K, width: j, height: st, relativeHeight: s, padding: at, children: [
503
505
  S,
504
506
  M,
505
- N
506
- ] }), t[72] = Qt, t[73] = q, t[74] = zt, t[75] = at, t[76] = x, t[77] = Q, t[78] = rt, t[79] = s, t[80] = bt, t[81] = $, t[82] = S, t[83] = M, t[84] = N, t[85] = Z, t[86] = C, t[87] = j) : j = t[87], j;
507
- }
508
- function Vi(i) {
509
- return i !== void 0;
507
+ b
508
+ ] }), t[73] = A, t[74] = U, t[75] = Kt, t[76] = st, t[77] = d, t[78] = K, t[79] = at, t[80] = s, t[81] = $, t[82] = jt, t[83] = S, t[84] = M, t[85] = b, t[86] = Q, t[87] = j, t[88] = W) : W = t[88], W;
510
509
  }
511
510
  function Ri(i) {
512
511
  return i !== void 0;
513
512
  }
514
513
  function Hi(i) {
515
- return i.data;
514
+ return i !== void 0;
516
515
  }
517
516
  function Fi(i) {
518
- return i !== void 0;
517
+ return i.data;
519
518
  }
520
519
  function Ii(i) {
520
+ return i !== void 0;
521
+ }
522
+ function Wi(i) {
521
523
  return i.data;
522
524
  }
523
525
  export {
524
- ho as SimpleLineChart
526
+ yo as SimpleLineChart
525
527
  };
526
528
  //# sourceMappingURL=SimpleLineChart.js.map