@undp/data-viz 1.5.9 → 2.0.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 (676) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +1 -0
  4. package/dist/AreaChart.js +420 -520
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/Axis-CRyfcLjc.js +32 -0
  7. package/dist/Axis-CRyfcLjc.js.map +1 -0
  8. package/dist/Axis-DxRV2yMi.cjs +2 -0
  9. package/dist/Axis-DxRV2yMi.cjs.map +1 -0
  10. package/dist/AxisTitle-jeI7am8o.js +29 -0
  11. package/dist/AxisTitle-jeI7am8o.js.map +1 -0
  12. package/dist/AxisTitle-sS5bLLR7.cjs +2 -0
  13. package/dist/AxisTitle-sS5bLLR7.cjs.map +1 -0
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +1 -0
  17. package/dist/BarGraph.js +2185 -4042
  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 +1 -0
  22. package/dist/BasicStatCard.js +118 -186
  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 +5 -0
  27. package/dist/BeeSwarmChart.js +518 -1016
  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 +1 -0
  32. package/dist/BiVariateChoroplethMap.js +456 -697
  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 +1 -0
  37. package/dist/BulletChart.js +863 -1414
  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 +1 -0
  42. package/dist/ButterflyChart.js +474 -684
  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 +1 -0
  47. package/dist/ChoroplethMap.js +468 -722
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +1 -0
  51. package/dist/CirclePackingGraph.js +5 -6
  52. package/dist/CirclePackingGraph.js.map +1 -1
  53. package/dist/ColorLegend.cjs +1 -1
  54. package/dist/ColorLegend.cjs.map +1 -1
  55. package/dist/ColorLegend.js +57 -44
  56. package/dist/ColorLegend.js.map +1 -1
  57. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  58. package/dist/ColorLegendWithMouseOver.cjs.map +1 -1
  59. package/dist/ColorLegendWithMouseOver.js +60 -65
  60. package/dist/ColorLegendWithMouseOver.js.map +1 -1
  61. package/dist/Colors.cjs.map +1 -1
  62. package/dist/Colors.js +44 -430
  63. package/dist/Colors.js.map +1 -1
  64. package/dist/CopyTextButton.cjs +3 -3
  65. package/dist/CopyTextButton.cjs.map +1 -1
  66. package/dist/CopyTextButton.js +537 -455
  67. package/dist/CopyTextButton.js.map +1 -1
  68. package/dist/CsvDownloadButton.cjs +7 -7
  69. package/dist/CsvDownloadButton.cjs.map +1 -1
  70. package/dist/CsvDownloadButton.js +442 -447
  71. package/dist/CsvDownloadButton.js.map +1 -1
  72. package/dist/Data/barChart.json +70 -0
  73. package/dist/Data/basic.csv +20 -0
  74. package/dist/DataCards.cjs +5 -5
  75. package/dist/DataCards.cjs.map +1 -1
  76. package/dist/DataCards.d.ts +1 -0
  77. package/dist/DataCards.js +488 -581
  78. package/dist/DataCards.js.map +1 -1
  79. package/dist/DataTable.cjs +1 -1
  80. package/dist/DataTable.cjs.map +1 -1
  81. package/dist/DataTable.d.ts +1 -0
  82. package/dist/DataTable.js +183 -326
  83. package/dist/DataTable.js.map +1 -1
  84. package/dist/DifferenceLineChart.cjs +1 -1
  85. package/dist/DifferenceLineChart.cjs.map +1 -1
  86. package/dist/DifferenceLineChart.d.ts +1 -0
  87. package/dist/DifferenceLineChart.js +731 -795
  88. package/dist/DifferenceLineChart.js.map +1 -1
  89. package/dist/DonutChart.cjs +1 -1
  90. package/dist/DonutChart.cjs.map +1 -1
  91. package/dist/DonutChart.d.ts +1 -4
  92. package/dist/DonutChart.js +260 -444
  93. package/dist/DonutChart.js.map +1 -1
  94. package/dist/DotDensityMap.cjs +1 -1
  95. package/dist/DotDensityMap.cjs.map +1 -1
  96. package/dist/DotDensityMap.d.ts +1 -0
  97. package/dist/DotDensityMap.js +387 -574
  98. package/dist/DotDensityMap.js.map +1 -1
  99. package/dist/{DropdownSelect-6kjXM6oW.js → DropdownSelect-BbdPQa2k.js} +1401 -1374
  100. package/dist/DropdownSelect-BbdPQa2k.js.map +1 -0
  101. package/dist/DropdownSelect-Doz3mCrM.cjs +29 -0
  102. package/dist/DropdownSelect-Doz3mCrM.cjs.map +1 -0
  103. package/dist/DualAxisLineChart.cjs +1 -1
  104. package/dist/DualAxisLineChart.cjs.map +1 -1
  105. package/dist/DualAxisLineChart.d.ts +1 -0
  106. package/dist/DualAxisLineChart.js +620 -714
  107. package/dist/DualAxisLineChart.js.map +1 -1
  108. package/dist/DumbbellChart.cjs +1 -1
  109. package/dist/DumbbellChart.cjs.map +1 -1
  110. package/dist/DumbbellChart.d.ts +1 -0
  111. package/dist/DumbbellChart.js +789 -1499
  112. package/dist/DumbbellChart.js.map +1 -1
  113. package/dist/EmptyState-BZo1BbAn.js +15 -0
  114. package/dist/{EmptyState-36lXXyui.js.map → EmptyState-BZo1BbAn.js.map} +1 -1
  115. package/dist/EmptyState-sAEZ_5rU.cjs +2 -0
  116. package/dist/{EmptyState-B8IpKGcL.cjs.map → EmptyState-sAEZ_5rU.cjs.map} +1 -1
  117. package/dist/ExcelDownloadButton.cjs +1 -1
  118. package/dist/ExcelDownloadButton.cjs.map +1 -1
  119. package/dist/ExcelDownloadButton.js +20 -24
  120. package/dist/ExcelDownloadButton.js.map +1 -1
  121. package/dist/FootNote.cjs +1 -1
  122. package/dist/FootNote.cjs.map +1 -1
  123. package/dist/FootNote.js +26 -17
  124. package/dist/FootNote.js.map +1 -1
  125. package/dist/GeoHubCompareMaps.cjs +1 -1
  126. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  127. package/dist/GeoHubCompareMaps.d.ts +1 -0
  128. package/dist/GeoHubCompareMaps.js +267 -342
  129. package/dist/GeoHubCompareMaps.js.map +1 -1
  130. package/dist/GeoHubMap.cjs +1 -1
  131. package/dist/GeoHubMap.cjs.map +1 -1
  132. package/dist/GeoHubMap.d.ts +1 -0
  133. package/dist/GeoHubMap.js +214 -379
  134. package/dist/GeoHubMap.js.map +1 -1
  135. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  136. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  137. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -0
  138. package/dist/GeoHubMapWithLayerSelection.js +192 -278
  139. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  140. package/dist/GraphContainer-CRqzdKu2.js +78 -0
  141. package/dist/GraphContainer-CRqzdKu2.js.map +1 -0
  142. package/dist/GraphContainer-d8A46BK2.cjs +2 -0
  143. package/dist/GraphContainer-d8A46BK2.cjs.map +1 -0
  144. package/dist/GraphDescription.cjs +1 -1
  145. package/dist/GraphDescription.cjs.map +1 -1
  146. package/dist/GraphDescription.js +23 -17
  147. package/dist/GraphDescription.js.map +1 -1
  148. package/dist/{GraphEl-2IiUDxjR.js → GraphEl-BZne2JIx.js} +181 -202
  149. package/dist/GraphEl-BZne2JIx.js.map +1 -0
  150. package/dist/GraphEl-D5MUfp45.cjs +2 -0
  151. package/dist/GraphEl-D5MUfp45.cjs.map +1 -0
  152. package/dist/GraphFooter.cjs +1 -1
  153. package/dist/GraphFooter.cjs.map +1 -1
  154. package/dist/GraphFooter.js +28 -18
  155. package/dist/GraphFooter.js.map +1 -1
  156. package/dist/GraphHeader.cjs +1 -1
  157. package/dist/GraphHeader.cjs.map +1 -1
  158. package/dist/GraphHeader.d.ts +2 -1
  159. package/dist/GraphHeader.js +45 -59
  160. package/dist/GraphHeader.js.map +1 -1
  161. package/dist/GraphTitle.cjs +1 -1
  162. package/dist/GraphTitle.cjs.map +1 -1
  163. package/dist/GraphTitle.js +29 -24
  164. package/dist/GraphTitle.js.map +1 -1
  165. package/dist/GriddedGraphs.cjs +1 -1
  166. package/dist/GriddedGraphs.cjs.map +1 -1
  167. package/dist/GriddedGraphs.d.ts +1 -0
  168. package/dist/GriddedGraphs.js +216 -450
  169. package/dist/GriddedGraphs.js.map +1 -1
  170. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  171. package/dist/GriddedGraphsFromConfig.cjs.map +1 -1
  172. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  173. package/dist/GriddedGraphsFromConfig.js +22 -36
  174. package/dist/GriddedGraphsFromConfig.js.map +1 -1
  175. package/dist/HeatMap.cjs +1 -1
  176. package/dist/HeatMap.cjs.map +1 -1
  177. package/dist/HeatMap.d.ts +1 -0
  178. package/dist/HeatMap.js +278 -446
  179. package/dist/HeatMap.js.map +1 -1
  180. package/dist/Histogram.cjs +1 -1
  181. package/dist/Histogram.cjs.map +1 -1
  182. package/dist/Histogram.d.ts +1 -0
  183. package/dist/Histogram.js +154 -264
  184. package/dist/Histogram.js.map +1 -1
  185. package/dist/ImageDownloadButton.cjs +1 -1
  186. package/dist/ImageDownloadButton.cjs.map +1 -1
  187. package/dist/ImageDownloadButton.d.ts +2 -1
  188. package/dist/ImageDownloadButton.js +21 -25
  189. package/dist/ImageDownloadButton.js.map +1 -1
  190. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  191. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  192. package/dist/LineChartWithConfidenceInterval.d.ts +1 -0
  193. package/dist/LineChartWithConfidenceInterval.js +677 -827
  194. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  195. package/dist/LinearColorLegend.cjs +1 -1
  196. package/dist/LinearColorLegend.cjs.map +1 -1
  197. package/dist/LinearColorLegend.js +49 -30
  198. package/dist/LinearColorLegend.js.map +1 -1
  199. package/dist/Modal-DGcuAHyK.js +1047 -0
  200. package/dist/Modal-DGcuAHyK.js.map +1 -0
  201. package/dist/Modal-JW_IExO3.cjs +46 -0
  202. package/dist/Modal-JW_IExO3.cjs.map +1 -0
  203. package/dist/MultiGraphDashboard.cjs +1 -1
  204. package/dist/MultiGraphDashboard.cjs.map +1 -1
  205. package/dist/MultiGraphDashboard.d.ts +1 -0
  206. package/dist/MultiGraphDashboard.js +126 -292
  207. package/dist/MultiGraphDashboard.js.map +1 -1
  208. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  209. package/dist/MultiGraphDashboardFromConfig.cjs.map +1 -1
  210. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  211. package/dist/MultiGraphDashboardFromConfig.js +22 -31
  212. package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
  213. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  214. package/dist/MultiGraphDashboardWideToLongFormat.cjs.map +1 -1
  215. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -0
  216. package/dist/MultiGraphDashboardWideToLongFormat.js +139 -223
  217. package/dist/MultiGraphDashboardWideToLongFormat.js.map +1 -1
  218. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  219. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs.map +1 -1
  220. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -0
  221. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +25 -27
  222. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
  223. package/dist/MultiLineAltChart.cjs +1 -1
  224. package/dist/MultiLineAltChart.cjs.map +1 -1
  225. package/dist/MultiLineAltChart.d.ts +1 -0
  226. package/dist/MultiLineAltChart.js +582 -659
  227. package/dist/MultiLineAltChart.js.map +1 -1
  228. package/dist/MultiLineChart.cjs +1 -1
  229. package/dist/MultiLineChart.cjs.map +1 -1
  230. package/dist/MultiLineChart.d.ts +1 -0
  231. package/dist/MultiLineChart.js +617 -724
  232. package/dist/MultiLineChart.js.map +1 -1
  233. package/dist/ParetoChart.cjs +1 -1
  234. package/dist/ParetoChart.cjs.map +1 -1
  235. package/dist/ParetoChart.d.ts +1 -0
  236. package/dist/ParetoChart.js +531 -635
  237. package/dist/ParetoChart.js.map +1 -1
  238. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  239. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs.map +1 -1
  240. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  241. package/dist/PerformanceIntensiveMultiGraphDashboard.js +148 -337
  242. package/dist/PerformanceIntensiveMultiGraphDashboard.js.map +1 -1
  243. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  244. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs.map +1 -1
  245. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  246. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +22 -31
  247. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
  248. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  249. package/dist/PerformanceIntensiveScrollStory.cjs.map +1 -1
  250. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  251. package/dist/PerformanceIntensiveScrollStory.js +93 -114
  252. package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
  253. package/dist/RadarChart.cjs +1 -1
  254. package/dist/RadarChart.cjs.map +1 -1
  255. package/dist/RadarChart.d.ts +1 -0
  256. package/dist/RadarChart.js +426 -575
  257. package/dist/RadarChart.js.map +1 -1
  258. package/dist/ReferenceLine-2XCwHXQ4.js +162 -0
  259. package/dist/ReferenceLine-2XCwHXQ4.js.map +1 -0
  260. package/dist/ReferenceLine-BH0qdf4R.cjs +2 -0
  261. package/dist/ReferenceLine-BH0qdf4R.cjs.map +1 -0
  262. package/dist/RegressionLine-BOTTNSrr.cjs +2 -0
  263. package/dist/RegressionLine-BOTTNSrr.cjs.map +1 -0
  264. package/dist/RegressionLine-DAcY2DjT.js +87 -0
  265. package/dist/RegressionLine-DAcY2DjT.js.map +1 -0
  266. package/dist/SVGDownloadButton.cjs +1 -1
  267. package/dist/SVGDownloadButton.cjs.map +1 -1
  268. package/dist/SVGDownloadButton.js +21 -25
  269. package/dist/SVGDownloadButton.js.map +1 -1
  270. package/dist/SankeyChart.cjs +1 -1
  271. package/dist/SankeyChart.cjs.map +1 -1
  272. package/dist/SankeyChart.d.ts +1 -0
  273. package/dist/SankeyChart.js +665 -854
  274. package/dist/SankeyChart.js.map +1 -1
  275. package/dist/ScatterPlot.cjs +1 -1
  276. package/dist/ScatterPlot.cjs.map +1 -1
  277. package/dist/ScatterPlot.d.ts +1 -0
  278. package/dist/ScatterPlot.js +675 -815
  279. package/dist/ScatterPlot.js.map +1 -1
  280. package/dist/ScrollStory.cjs +1 -1
  281. package/dist/ScrollStory.cjs.map +1 -1
  282. package/dist/ScrollStory.d.ts +1 -0
  283. package/dist/ScrollStory.js +85 -97
  284. package/dist/ScrollStory.js.map +1 -1
  285. package/dist/SimpleLineChart.cjs +1 -1
  286. package/dist/SimpleLineChart.cjs.map +1 -1
  287. package/dist/SimpleLineChart.d.ts +1 -0
  288. package/dist/SimpleLineChart.js +505 -613
  289. package/dist/SimpleLineChart.js.map +1 -1
  290. package/dist/SingleGraphDashboard.cjs +1 -1
  291. package/dist/SingleGraphDashboard.cjs.map +1 -1
  292. package/dist/SingleGraphDashboard.d.ts +2 -1
  293. package/dist/SingleGraphDashboard.js +284 -508
  294. package/dist/SingleGraphDashboard.js.map +1 -1
  295. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  296. package/dist/SingleGraphDashboardFromConfig.cjs.map +1 -1
  297. package/dist/SingleGraphDashboardFromConfig.d.ts +2 -1
  298. package/dist/SingleGraphDashboardFromConfig.js +25 -31
  299. package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
  300. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  301. package/dist/SingleGraphDashboardGeoHubMaps.cjs.map +1 -1
  302. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  303. package/dist/SingleGraphDashboardGeoHubMaps.js +150 -168
  304. package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
  305. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  306. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs.map +1 -1
  307. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  308. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +25 -21
  309. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
  310. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  311. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  312. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  313. package/dist/SingleGraphDashboardThreeDGraphs.js +363 -593
  314. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  315. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  316. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs.map +1 -1
  317. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  318. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +25 -31
  319. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
  320. package/dist/SlopeChart.cjs +1 -1
  321. package/dist/SlopeChart.cjs.map +1 -1
  322. package/dist/SlopeChart.d.ts +1 -0
  323. package/dist/SlopeChart.js +539 -573
  324. package/dist/SlopeChart.js.map +1 -1
  325. package/dist/Source-DYMJRrsq.cjs +2 -0
  326. package/dist/Source-DYMJRrsq.cjs.map +1 -0
  327. package/dist/Source-DwTHB8fn.js +78 -0
  328. package/dist/Source-DwTHB8fn.js.map +1 -0
  329. package/dist/Source.cjs +1 -1
  330. package/dist/Source.cjs.map +1 -1
  331. package/dist/Source.js +4 -38
  332. package/dist/Source.js.map +1 -1
  333. package/dist/SparkLine.cjs +1 -1
  334. package/dist/SparkLine.cjs.map +1 -1
  335. package/dist/SparkLine.d.ts +1 -0
  336. package/dist/SparkLine.js +286 -314
  337. package/dist/SparkLine.js.map +1 -1
  338. package/dist/Spinner-D7rnnwnA.js +47 -0
  339. package/dist/Spinner-D7rnnwnA.js.map +1 -0
  340. package/dist/Spinner-DRMBUsX7.cjs +2 -0
  341. package/dist/Spinner-DRMBUsX7.cjs.map +1 -0
  342. package/dist/StatCardFromData.cjs +1 -1
  343. package/dist/StatCardFromData.cjs.map +1 -1
  344. package/dist/StatCardFromData.d.ts +1 -0
  345. package/dist/StatCardFromData.js +161 -243
  346. package/dist/StatCardFromData.js.map +1 -1
  347. package/dist/StripChart.cjs +1 -1
  348. package/dist/StripChart.cjs.map +1 -1
  349. package/dist/StripChart.d.ts +1 -0
  350. package/dist/StripChart.js +665 -983
  351. package/dist/StripChart.js.map +1 -1
  352. package/dist/ThreeDGlobe.cjs +1 -1
  353. package/dist/ThreeDGlobe.cjs.map +1 -1
  354. package/dist/ThreeDGlobe.d.ts +1 -0
  355. package/dist/ThreeDGlobe.js +356 -519
  356. package/dist/ThreeDGlobe.js.map +1 -1
  357. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  358. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  359. package/dist/ThresholdColorLegendWithMouseOver.js +96 -126
  360. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  361. package/dist/Tooltip-4dJo4_AF.cjs +2 -0
  362. package/dist/Tooltip-4dJo4_AF.cjs.map +1 -0
  363. package/dist/Tooltip-CwWUegPB.js +43 -0
  364. package/dist/Tooltip-CwWUegPB.js.map +1 -0
  365. package/dist/TreeMapGraph.cjs +1 -1
  366. package/dist/TreeMapGraph.cjs.map +1 -1
  367. package/dist/TreeMapGraph.d.ts +1 -0
  368. package/dist/TreeMapGraph.js +479 -617
  369. package/dist/TreeMapGraph.js.map +1 -1
  370. package/dist/Types.d.ts +1 -0
  371. package/dist/Typography-DX7PlgQU.cjs +2 -0
  372. package/dist/Typography-DX7PlgQU.cjs.map +1 -0
  373. package/dist/Typography-PxtFcnJb.js +142 -0
  374. package/dist/Typography-PxtFcnJb.js.map +1 -0
  375. package/dist/UnitChart.cjs +1 -1
  376. package/dist/UnitChart.cjs.map +1 -1
  377. package/dist/UnitChart.d.ts +1 -0
  378. package/dist/UnitChart.js +160 -212
  379. package/dist/UnitChart.js.map +1 -1
  380. package/dist/XAxesLabels-D5X8jngD.cjs +2 -0
  381. package/dist/XAxesLabels-D5X8jngD.cjs.map +1 -0
  382. package/dist/XAxesLabels-DNO0KmjL.js +73 -0
  383. package/dist/XAxesLabels-DNO0KmjL.js.map +1 -0
  384. package/dist/XTicksAndGridLines-B6CELS7q.cjs +2 -0
  385. package/dist/XTicksAndGridLines-B6CELS7q.cjs.map +1 -0
  386. package/dist/XTicksAndGridLines-CObVFSm4.js +38 -0
  387. package/dist/XTicksAndGridLines-CObVFSm4.js.map +1 -0
  388. package/dist/YAxesLabels-DcS85Beo.cjs +2 -0
  389. package/dist/YAxesLabels-DcS85Beo.cjs.map +1 -0
  390. package/dist/YAxesLabels-Dnnng49-.js +70 -0
  391. package/dist/YAxesLabels-Dnnng49-.js.map +1 -0
  392. package/dist/YTicksAndGridLines-4pxTRlRK.cjs +2 -0
  393. package/dist/YTicksAndGridLines-4pxTRlRK.cjs.map +1 -0
  394. package/dist/YTicksAndGridLines-Blepl7XF.js +38 -0
  395. package/dist/YTicksAndGridLines-Blepl7XF.js.map +1 -0
  396. package/dist/{band-BEjh2CHI.js → band-CyHaVft5.js} +3 -3
  397. package/dist/{band-BEjh2CHI.js.map → band-CyHaVft5.js.map} +1 -1
  398. package/dist/{band-CAApY4Pd.cjs → band-VYfcZeJ2.cjs} +2 -2
  399. package/dist/{band-CAApY4Pd.cjs.map → band-VYfcZeJ2.cjs.map} +1 -1
  400. package/dist/checkIfMultiple-Y9iKaV_u.js +950 -0
  401. package/dist/checkIfMultiple-Y9iKaV_u.js.map +1 -0
  402. package/dist/checkIfMultiple-wg6hJLXy.cjs +12 -0
  403. package/dist/checkIfMultiple-wg6hJLXy.cjs.map +1 -0
  404. package/dist/customArea-BUhPiPT6.js +163 -0
  405. package/dist/{customArea-x4L4xwLl.js.map → customArea-BUhPiPT6.js.map} +1 -1
  406. package/dist/customArea-CMF5g-C3.cjs +2 -0
  407. package/dist/{customArea-1G1S78s_.cjs.map → customArea-CMF5g-C3.cjs.map} +1 -1
  408. package/dist/delaunay-C1uAf38t.js.map +1 -1
  409. package/dist/delaunay-rcy0HhZi.cjs.map +1 -1
  410. package/dist/{ensureCompleteData-DlmibgaI.js → ensureCompleteData-DNKEGRiP.js} +12 -32
  411. package/dist/{ensureCompleteData-DlmibgaI.js.map → ensureCompleteData-DNKEGRiP.js.map} +1 -1
  412. package/dist/{ensureCompleteData-DkQYPeDa.cjs → ensureCompleteData-I6nYmT8E.cjs} +2 -2
  413. package/dist/{ensureCompleteData-DkQYPeDa.cjs.map → ensureCompleteData-I6nYmT8E.cjs.map} +1 -1
  414. package/dist/{excelDownload-BOA-lskf.js → excelDownload-BEC1AyQW.js} +12 -2
  415. package/dist/{excelDownload-BOA-lskf.js.map → excelDownload-BEC1AyQW.js.map} +1 -1
  416. package/dist/excelDownload-BQpsCa62.cjs.map +1 -1
  417. package/dist/{fetchAndParseData-sapWbnYk.js → fetchAndParseData-BpqkBPQL.js} +15 -28
  418. package/dist/{fetchAndParseData-sapWbnYk.js.map → fetchAndParseData-BpqkBPQL.js.map} +1 -1
  419. package/dist/fetchAndParseData-l5HGMAEs.cjs +16 -0
  420. package/dist/{fetchAndParseData-Ba-_CgxS.cjs.map → fetchAndParseData-l5HGMAEs.cjs.map} +1 -1
  421. package/dist/fetchAndParseData.cjs +1 -1
  422. package/dist/fetchAndParseData.js +1 -1
  423. package/dist/{filterData-9nEcQ-Jp.js → filterData-DsAiFzKY.js} +3 -5
  424. package/dist/{filterData-9nEcQ-Jp.js.map → filterData-DsAiFzKY.js.map} +1 -1
  425. package/dist/{filterData-BoYadk0l.cjs → filterData-T5DQBE9b.cjs} +2 -2
  426. package/dist/{filterData-BoYadk0l.cjs.map → filterData-T5DQBE9b.cjs.map} +1 -1
  427. package/dist/generateRandomString-B5zBiJzS.cjs.map +1 -1
  428. package/dist/generateRandomString-za3IQGfQ.js.map +1 -1
  429. package/dist/{getCentroidCoordinates-Dfk6IqEG.js → getCentroidCoordinates-D7r34N4w.js} +2 -2
  430. package/dist/{getCentroidCoordinates-Dfk6IqEG.js.map → getCentroidCoordinates-D7r34N4w.js.map} +1 -1
  431. package/dist/{getCentroidCoordinates-DxTBqzp2.cjs → getCentroidCoordinates-Dng1HVjO.cjs} +2 -2
  432. package/dist/{getCentroidCoordinates-DxTBqzp2.cjs.map → getCentroidCoordinates-Dng1HVjO.cjs.map} +1 -1
  433. package/dist/getGraphList-BpEWn1Tk.js +227 -0
  434. package/dist/{getGraphList-DuColTJM.js.map → getGraphList-BpEWn1Tk.js.map} +1 -1
  435. package/dist/getGraphList-gf02xgT2.cjs.map +1 -1
  436. package/dist/getJenks-BbngDoBQ.js.map +1 -1
  437. package/dist/getJenks-GYmdwBqm.cjs.map +1 -1
  438. package/dist/getNoOfTicks-C_1CFXv_.cjs +2 -0
  439. package/dist/getNoOfTicks-C_1CFXv_.cjs.map +1 -0
  440. package/dist/getNoOfTicks-CpmRjcRF.js +7 -0
  441. package/dist/getNoOfTicks-CpmRjcRF.js.map +1 -0
  442. package/dist/getSchema.cjs.map +1 -1
  443. package/dist/getSchema.js +445 -231
  444. package/dist/getSchema.js.map +1 -1
  445. package/dist/getSliderMarks-BmADcPQt.cjs +6 -0
  446. package/dist/getSliderMarks-BmADcPQt.cjs.map +1 -0
  447. package/dist/getSliderMarks-HIDJ0_Cd.js +1033 -0
  448. package/dist/getSliderMarks-HIDJ0_Cd.js.map +1 -0
  449. package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js → getTextColorBasedOnBgColor-CDY808zi.js} +11 -3
  450. package/dist/{getTextColorBasedOnBgColor-B6Nk2WBf.js.map → getTextColorBasedOnBgColor-CDY808zi.js.map} +1 -1
  451. package/dist/getTextColorBasedOnBgColor-nqY-bsM_.cjs.map +1 -1
  452. package/dist/{getUniqValue-DiCh_MOD.js → getUniqValue-BKHCm3zE.js} +2 -4
  453. package/dist/{getUniqValue-DiCh_MOD.js.map → getUniqValue-BKHCm3zE.js.map} +1 -1
  454. package/dist/getUniqValue-RViz8tTw.cjs.map +1 -1
  455. package/dist/{imageDownload-Dcci2LEy.js → imageDownload-BX6SILNZ.js} +4 -2
  456. package/dist/{imageDownload-Dcci2LEy.js.map → imageDownload-BX6SILNZ.js.map} +1 -1
  457. package/dist/imageDownload-CgDcm1Sj.cjs.map +1 -1
  458. package/dist/{index-DvVprvy6.js → index-BZQYSqar.js} +7 -7
  459. package/dist/{index-DvVprvy6.js.map → index-BZQYSqar.js.map} +1 -1
  460. package/dist/index-B_sAFsEV.cjs +2 -0
  461. package/dist/{index-BHe3wsWF.cjs.map → index-B_sAFsEV.cjs.map} +1 -1
  462. package/dist/index-BqfRwk1n.js +146 -0
  463. package/dist/index-BqfRwk1n.js.map +1 -0
  464. package/dist/{index-V_JXij1_.js → index-BuwmuDFJ.js} +3 -3
  465. package/dist/{index-V_JXij1_.js.map → index-BuwmuDFJ.js.map} +1 -1
  466. package/dist/index-C6LorfZ-.cjs +2 -0
  467. package/dist/index-C6LorfZ-.cjs.map +1 -0
  468. package/dist/index-CHPV5EwG-CTPQjnHt.cjs +84 -0
  469. package/dist/index-CHPV5EwG-CTPQjnHt.cjs.map +1 -0
  470. package/dist/{index-CHPV5EwG-DBWUSD9b.js → index-CHPV5EwG-Curnpaqc.js} +724 -625
  471. package/dist/index-CHPV5EwG-Curnpaqc.js.map +1 -0
  472. package/dist/index-Ceppbd8C.js +342 -0
  473. package/dist/index-Ceppbd8C.js.map +1 -0
  474. package/dist/index-Cno4Q0YE.cjs +2 -0
  475. package/dist/{index-CQ3e6Ewi.cjs.map → index-Cno4Q0YE.cjs.map} +1 -1
  476. package/dist/{index-Cw8sCyo_-BuI_jX5Z.js → index-Cw8sCyo_-B2hEKjzG.js} +16 -16
  477. package/dist/{index-Cw8sCyo_-BuI_jX5Z.js.map → index-Cw8sCyo_-B2hEKjzG.js.map} +1 -1
  478. package/dist/{index-Cw8sCyo_-gxT8ADyn.cjs → index-Cw8sCyo_-BrHiWiRF.cjs} +2 -2
  479. package/dist/{index-Cw8sCyo_-gxT8ADyn.cjs.map → index-Cw8sCyo_-BrHiWiRF.cjs.map} +1 -1
  480. package/dist/index-CyZ1lmi_.cjs +2 -0
  481. package/dist/{index-D72cOtq7.cjs.map → index-CyZ1lmi_.cjs.map} +1 -1
  482. package/dist/index-D491FEn1.js +184 -0
  483. package/dist/index-D491FEn1.js.map +1 -0
  484. package/dist/index-DG2bgAva.cjs +10 -0
  485. package/dist/index-DG2bgAva.cjs.map +1 -0
  486. package/dist/index-DRXx7m-C.cjs +2 -0
  487. package/dist/index-DRXx7m-C.cjs.map +1 -0
  488. package/dist/index-DxXnJ8Ti.cjs +2 -0
  489. package/dist/index-DxXnJ8Ti.cjs.map +1 -0
  490. package/dist/{index-Dzc_aaI9-BKklH89r.js → index-Dzc_aaI9-Bb7gobH_.js} +2 -2
  491. package/dist/{index-Dzc_aaI9-BKklH89r.js.map → index-Dzc_aaI9-Bb7gobH_.js.map} +1 -1
  492. package/dist/{index-Dzc_aaI9-RIk2GRHD.cjs → index-Dzc_aaI9-BmkfPMyc.cjs} +2 -2
  493. package/dist/{index-Dzc_aaI9-RIk2GRHD.cjs.map → index-Dzc_aaI9-BmkfPMyc.cjs.map} +1 -1
  494. package/dist/{index-9tDEUqOZ.js → index-GEsywGxz.js} +9 -9
  495. package/dist/index-GEsywGxz.js.map +1 -0
  496. package/dist/index-SKgJALZg.js +99 -0
  497. package/dist/{index-Bw_eHBVN.js.map → index-SKgJALZg.js.map} +1 -1
  498. package/dist/index.cjs +1 -1
  499. package/dist/index.d.ts +10 -8
  500. package/dist/index.js +13 -13
  501. package/dist/{init-BhZylTFx.js → init-BJFW6EwE.js} +3 -3
  502. package/dist/{init-BhZylTFx.js.map → init-BJFW6EwE.js.map} +1 -1
  503. package/dist/{linear-BVckp9RD.cjs → linear-BwPAspcq.cjs} +2 -2
  504. package/dist/{linear-BVckp9RD.cjs.map → linear-BwPAspcq.cjs.map} +1 -1
  505. package/dist/{linear-DUdu7l2G.js → linear-BwnDd9KF.js} +3 -3
  506. package/dist/{linear-DUdu7l2G.js.map → linear-BwnDd9KF.js.map} +1 -1
  507. package/dist/numberFormattingFunction-02t-wJta.cjs.map +1 -1
  508. package/dist/numberFormattingFunction-14YCbkN2.js.map +1 -1
  509. package/dist/{ordinal-BOeNbyae.cjs → ordinal-CrsysVE-.cjs} +2 -2
  510. package/dist/ordinal-CrsysVE-.cjs.map +1 -0
  511. package/dist/{ordinal-w9Lu4Stb.js → ordinal-P77xw8aL.js} +24 -24
  512. package/dist/ordinal-P77xw8aL.js.map +1 -0
  513. package/dist/{pow-e8zx3AQJ.js → pow-DE4c7dbW.js} +3 -3
  514. package/dist/{pow-e8zx3AQJ.js.map → pow-DE4c7dbW.js.map} +1 -1
  515. package/dist/{pow-B5-jkdHU.cjs → pow-DgrUorRi.cjs} +2 -2
  516. package/dist/{pow-B5-jkdHU.cjs.map → pow-DgrUorRi.cjs.map} +1 -1
  517. package/dist/{proxy-BYIC9BuT.js → proxy-BxkFHwUw.js} +144 -134
  518. package/dist/proxy-BxkFHwUw.js.map +1 -0
  519. package/dist/proxy-BxvUI_9l.cjs +2 -0
  520. package/dist/proxy-BxvUI_9l.cjs.map +1 -0
  521. package/dist/{removeOutliers-DR48e-18.js → removeOutliers-BqW0sPqj.js} +2 -5
  522. package/dist/{removeOutliers-DR48e-18.js.map → removeOutliers-BqW0sPqj.js.map} +1 -1
  523. package/dist/removeOutliers-WELHHqiI.cjs.map +1 -1
  524. package/dist/{sort-DfK1b0F5.js → sort-BIvMlUH1.js} +5 -5
  525. package/dist/{sort-DfK1b0F5.js.map → sort-BIvMlUH1.js.map} +1 -1
  526. package/dist/{string-CRoCZCYa.cjs → string-C-kRh1bQ.cjs} +2 -2
  527. package/dist/{string-CRoCZCYa.cjs.map → string-C-kRh1bQ.cjs.map} +1 -1
  528. package/dist/{string-B8KlVSPX.js → string-C_xJ4Wg4.js} +3 -3
  529. package/dist/{string-B8KlVSPX.js.map → string-C_xJ4Wg4.js.map} +1 -1
  530. package/dist/string2HTML-CPGr_I5E.cjs +3 -0
  531. package/dist/{string2HTML-z7CwHXcx.cjs.map → string2HTML-CPGr_I5E.cjs.map} +1 -1
  532. package/dist/{string2HTML-oFCROsus.js → string2HTML-DhG75NqA.js} +15 -9
  533. package/dist/{string2HTML-oFCROsus.js.map → string2HTML-DhG75NqA.js.map} +1 -1
  534. package/dist/style.css +1 -1
  535. package/dist/{svgDownload-C2-E3yf2.js → svgDownload-BAoarWNt.js} +4 -2
  536. package/dist/{svgDownload-C2-E3yf2.js.map → svgDownload-BAoarWNt.js.map} +1 -1
  537. package/dist/svgDownload-D9zEGjTF.cjs.map +1 -1
  538. package/dist/{threshold-DFfqcDMa.js → threshold-Bgr20hik.js} +2 -2
  539. package/dist/{threshold-DFfqcDMa.js.map → threshold-Bgr20hik.js.map} +1 -1
  540. package/dist/{time-Byw_jYQ7.cjs → time-CZd5YLSP.cjs} +2 -2
  541. package/dist/{time-Byw_jYQ7.cjs.map → time-CZd5YLSP.cjs.map} +1 -1
  542. package/dist/{time-BzJP5SPC.js → time-DCCfQk3V.js} +3 -3
  543. package/dist/{time-BzJP5SPC.js.map → time-DCCfQk3V.js.map} +1 -1
  544. package/dist/transformData.cjs +1 -1
  545. package/dist/transformData.js +3 -3
  546. package/dist/transformDataForAggregation-CE3bAlHU.js +585 -0
  547. package/dist/{transformDataForAggregation-sBpdlX8n.js.map → transformDataForAggregation-CE3bAlHU.js.map} +1 -1
  548. package/dist/transformDataForAggregation-KXGm6flX.cjs.map +1 -1
  549. package/dist/transformDataForGraphFromFile-BExxcITV.js +14 -0
  550. package/dist/{transformDataForGraphFromFile-ComYvzuz.js.map → transformDataForGraphFromFile-BExxcITV.js.map} +1 -1
  551. package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs → transformDataForGraphFromFile-DaJHQCsL.cjs} +2 -2
  552. package/dist/{transformDataForGraphFromFile-DVZodTHd.cjs.map → transformDataForGraphFromFile-DaJHQCsL.cjs.map} +1 -1
  553. package/dist/transformDataForSelect-D8AuvYdf.js.map +1 -1
  554. package/dist/transformDataForSelect-YmStusCI.cjs.map +1 -1
  555. package/dist/uniqBy-BHy4I8PK.js.map +1 -1
  556. package/dist/uniqBy-O05lp2S5.cjs.map +1 -1
  557. package/dist/{use-in-view-DR-UTB96.js → use-in-view-Cxa7y1TH.js} +2 -2
  558. package/dist/use-in-view-Cxa7y1TH.js.map +1 -0
  559. package/dist/use-in-view-QcfiW0w3.cjs +2 -0
  560. package/dist/use-in-view-QcfiW0w3.cjs.map +1 -0
  561. package/dist/utils.cjs +1 -1
  562. package/dist/utils.js +8 -8
  563. package/dist/validateSchema.cjs.map +1 -1
  564. package/dist/validateSchema.js +33 -29
  565. package/dist/validateSchema.js.map +1 -1
  566. package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs → x-BBpi7a_7-mTo40uId.cjs} +2 -2
  567. package/dist/{x-BBpi7a_7-Dz2vKSfu.cjs.map → x-BBpi7a_7-mTo40uId.cjs.map} +1 -1
  568. package/dist/{y-D0sAaVii.js → y-BqfogMAB.js} +3 -3
  569. package/dist/{y-D0sAaVii.js.map → y-BqfogMAB.js.map} +1 -1
  570. package/dist/{zoom-QipiAl5W.js → zoom-C9MFjAaV.js} +5 -5
  571. package/dist/{zoom-QipiAl5W.js.map → zoom-C9MFjAaV.js.map} +1 -1
  572. package/dist/zoom-DPw8bba-.cjs +2 -0
  573. package/dist/{zoom-BiMNsz72.cjs.map → zoom-DPw8bba-.cjs.map} +1 -1
  574. package/package.json +7 -6
  575. package/dist/Axis-4gUOL8B7.js +0 -43
  576. package/dist/Axis-4gUOL8B7.js.map +0 -1
  577. package/dist/Axis-CkNn1wit.cjs +0 -2
  578. package/dist/Axis-CkNn1wit.cjs.map +0 -1
  579. package/dist/AxisTitle-Wkz-xeQL.cjs +0 -2
  580. package/dist/AxisTitle-Wkz-xeQL.cjs.map +0 -1
  581. package/dist/AxisTitle-v6_xcXZ-.js +0 -20
  582. package/dist/AxisTitle-v6_xcXZ-.js.map +0 -1
  583. package/dist/DropdownSelect-6kjXM6oW.js.map +0 -1
  584. package/dist/DropdownSelect-vt8yiB-g.cjs +0 -29
  585. package/dist/DropdownSelect-vt8yiB-g.cjs.map +0 -1
  586. package/dist/EmptyState-36lXXyui.js +0 -22
  587. package/dist/EmptyState-B8IpKGcL.cjs +0 -2
  588. package/dist/GraphEl-2IiUDxjR.js.map +0 -1
  589. package/dist/GraphEl-qrlfGPe3.cjs +0 -2
  590. package/dist/GraphEl-qrlfGPe3.cjs.map +0 -1
  591. package/dist/Modal-Cg8daIlV.js +0 -1030
  592. package/dist/Modal-Cg8daIlV.js.map +0 -1
  593. package/dist/Modal-CuuJdWkD.cjs +0 -46
  594. package/dist/Modal-CuuJdWkD.cjs.map +0 -1
  595. package/dist/ReferenceLine-CPMaAX0r.js +0 -128
  596. package/dist/ReferenceLine-CPMaAX0r.js.map +0 -1
  597. package/dist/ReferenceLine-D04j-zeV.cjs +0 -2
  598. package/dist/ReferenceLine-D04j-zeV.cjs.map +0 -1
  599. package/dist/RegressionLine-CW7iViH2.js +0 -49
  600. package/dist/RegressionLine-CW7iViH2.js.map +0 -1
  601. package/dist/RegressionLine-D-49RaHa.cjs +0 -2
  602. package/dist/RegressionLine-D-49RaHa.cjs.map +0 -1
  603. package/dist/Spinner-Bpz70q_g.js +0 -30
  604. package/dist/Spinner-Bpz70q_g.js.map +0 -1
  605. package/dist/Spinner-C6wLp85s.cjs +0 -2
  606. package/dist/Spinner-C6wLp85s.cjs.map +0 -1
  607. package/dist/Tooltip-6LIdPQGC.js +0 -46
  608. package/dist/Tooltip-6LIdPQGC.js.map +0 -1
  609. package/dist/Tooltip-Cpv0QohJ.cjs +0 -2
  610. package/dist/Tooltip-Cpv0QohJ.cjs.map +0 -1
  611. package/dist/Typography-BDULiwlF.cjs +0 -2
  612. package/dist/Typography-BDULiwlF.cjs.map +0 -1
  613. package/dist/Typography-LmZ9LEpe.js +0 -140
  614. package/dist/Typography-LmZ9LEpe.js.map +0 -1
  615. package/dist/XAxesLabels-CLZnBgSr.cjs +0 -2
  616. package/dist/XAxesLabels-CLZnBgSr.cjs.map +0 -1
  617. package/dist/XAxesLabels-SOSmso5J.js +0 -57
  618. package/dist/XAxesLabels-SOSmso5J.js.map +0 -1
  619. package/dist/XTicksAndGridLines-DuydSnZ_.js +0 -56
  620. package/dist/XTicksAndGridLines-DuydSnZ_.js.map +0 -1
  621. package/dist/XTicksAndGridLines-RKy7BVCO.cjs +0 -2
  622. package/dist/XTicksAndGridLines-RKy7BVCO.cjs.map +0 -1
  623. package/dist/YAxesLabels-DlDyLvhi.js +0 -52
  624. package/dist/YAxesLabels-DlDyLvhi.js.map +0 -1
  625. package/dist/YAxesLabels-Dqd259-t.cjs +0 -2
  626. package/dist/YAxesLabels-Dqd259-t.cjs.map +0 -1
  627. package/dist/YTicksAndGridLines-7t4MKtGw.js +0 -56
  628. package/dist/YTicksAndGridLines-7t4MKtGw.js.map +0 -1
  629. package/dist/YTicksAndGridLines-qGpRo_t1.cjs +0 -2
  630. package/dist/YTicksAndGridLines-qGpRo_t1.cjs.map +0 -1
  631. package/dist/checkIfMultiple-Dko_cBvE.cjs +0 -12
  632. package/dist/checkIfMultiple-Dko_cBvE.cjs.map +0 -1
  633. package/dist/checkIfMultiple-u2SmbiCf.js +0 -912
  634. package/dist/checkIfMultiple-u2SmbiCf.js.map +0 -1
  635. package/dist/customArea-1G1S78s_.cjs +0 -2
  636. package/dist/customArea-x4L4xwLl.js +0 -175
  637. package/dist/fetchAndParseData-Ba-_CgxS.cjs +0 -16
  638. package/dist/getGraphList-DuColTJM.js +0 -265
  639. package/dist/getSliderMarks-CUxPy36E.cjs +0 -6
  640. package/dist/getSliderMarks-CUxPy36E.cjs.map +0 -1
  641. package/dist/getSliderMarks-_pYOWEtO.js +0 -1023
  642. package/dist/getSliderMarks-_pYOWEtO.js.map +0 -1
  643. package/dist/index-9tDEUqOZ.js.map +0 -1
  644. package/dist/index-BHe3wsWF.cjs +0 -2
  645. package/dist/index-Bw_eHBVN.js +0 -77
  646. package/dist/index-C0bpbS4F.cjs +0 -2
  647. package/dist/index-C0bpbS4F.cjs.map +0 -1
  648. package/dist/index-CE9pmfxt.js +0 -430
  649. package/dist/index-CE9pmfxt.js.map +0 -1
  650. package/dist/index-CEJwW3lL.cjs +0 -2
  651. package/dist/index-CEJwW3lL.cjs.map +0 -1
  652. package/dist/index-CHPV5EwG-DBWUSD9b.js.map +0 -1
  653. package/dist/index-CHPV5EwG-DjM48pIC.cjs +0 -44
  654. package/dist/index-CHPV5EwG-DjM48pIC.cjs.map +0 -1
  655. package/dist/index-CQ3e6Ewi.cjs +0 -2
  656. package/dist/index-Cm8NIdOO.cjs +0 -10
  657. package/dist/index-Cm8NIdOO.cjs.map +0 -1
  658. package/dist/index-CoZbeNM9.cjs +0 -2
  659. package/dist/index-CoZbeNM9.cjs.map +0 -1
  660. package/dist/index-Cwgh7i7X.js +0 -122
  661. package/dist/index-Cwgh7i7X.js.map +0 -1
  662. package/dist/index-D72cOtq7.cjs +0 -2
  663. package/dist/index-zZjQEHlm.js +0 -342
  664. package/dist/index-zZjQEHlm.js.map +0 -1
  665. package/dist/ordinal-BOeNbyae.cjs.map +0 -1
  666. package/dist/ordinal-w9Lu4Stb.js.map +0 -1
  667. package/dist/proxy-BYIC9BuT.js.map +0 -1
  668. package/dist/proxy-CKadx4lC.cjs +0 -2
  669. package/dist/proxy-CKadx4lC.cjs.map +0 -1
  670. package/dist/string2HTML-z7CwHXcx.cjs +0 -3
  671. package/dist/transformDataForAggregation-sBpdlX8n.js +0 -755
  672. package/dist/transformDataForGraphFromFile-ComYvzuz.js +0 -24
  673. package/dist/use-in-view-CEwlc_dd.cjs +0 -2
  674. package/dist/use-in-view-CEwlc_dd.cjs.map +0 -1
  675. package/dist/use-in-view-DR-UTB96.js.map +0 -1
  676. package/dist/zoom-BiMNsz72.cjs +0 -2
@@ -1,841 +1,691 @@
1
- import { j as i, m as B } from "./index-CHPV5EwG-DBWUSD9b.js";
2
- import { useRef as mt, useState as R, useEffect as Vt } from "react";
3
- import { p as u, f as Rt } from "./parse-DlCRUFh_.js";
4
- import { l as Wt, a as Ft } from "./simple-statistics-flVzqVtt.js";
5
- import { o as Ht } from "./index-DvVprvy6.js";
6
- import { n as lt } from "./numberFormattingFunction-14YCbkN2.js";
7
- import { T as Yt } from "./Tooltip-6LIdPQGC.js";
8
- import { c as j } from "./checkIfNullOrUndefined-DmfiKkNw.js";
9
- import { C as Pt, g as Et, A as Xt } from "./customArea-x4L4xwLl.js";
10
- import { A as Gt } from "./AxisTitle-v6_xcXZ-.js";
11
- import { A as Bt } from "./Axis-4gUOL8B7.js";
12
- import { R as zt } from "./ReferenceLine-CPMaAX0r.js";
13
- import { R as Ut } from "./RegressionLine-CW7iViH2.js";
14
- import { Y as qt } from "./YTicksAndGridLines-7t4MKtGw.js";
15
- import { H as Jt } from "./index-Bw_eHBVN.js";
16
- import { t as Kt } from "./time-BzJP5SPC.js";
17
- import { a as Qt } from "./linear-DUdu7l2G.js";
18
- import { l as Ot, c as Zt } from "./line-CPfhohvF.js";
19
- import { c as _t, s as ti, a as ii, m as ei } from "./step-BrDul-H4.js";
20
- import { a as ai } from "./area-BE2wo7fv.js";
21
- import { s as ni } from "./select-DKy99ogv.js";
22
- import { a as oi } from "./init-BhZylTFx.js";
1
+ import { c as Te, j as n, m as be } from "./index-CHPV5EwG-Curnpaqc.js";
2
+ import { useRef as De, useState as Zt, useEffect as $e } from "react";
3
+ import { p as j, f as Re } from "./parse-DlCRUFh_.js";
4
+ import { l as Fe, a as He } from "./simple-statistics-flVzqVtt.js";
5
+ import { o as Ye } from "./index-BZQYSqar.js";
6
+ import { n as Le } from "./numberFormattingFunction-14YCbkN2.js";
7
+ import { T as Pe } from "./Tooltip-CwWUegPB.js";
8
+ import { c as F } from "./checkIfNullOrUndefined-DmfiKkNw.js";
9
+ import { g as Ee, A as Xe, C as Ge } from "./customArea-BUhPiPT6.js";
10
+ import { A as Be } from "./AxisTitle-jeI7am8o.js";
11
+ import { A as ze } from "./Axis-CRyfcLjc.js";
12
+ import { a as Ue } from "./ReferenceLine-2XCwHXQ4.js";
13
+ import { R as qe } from "./RegressionLine-DAcY2DjT.js";
14
+ import { Y as Je } from "./YTicksAndGridLines-Blepl7XF.js";
15
+ import { H as Ke } from "./index-SKgJALZg.js";
16
+ import { t as Qe } from "./time-DCCfQk3V.js";
17
+ import { a as Ze } from "./linear-BwnDd9KF.js";
18
+ import { l as Ne, c as _e } from "./line-CPfhohvF.js";
19
+ import { c as ti, s as ei, a as ii, m as ni } from "./step-BrDul-H4.js";
20
+ import { a as oi } from "./area-BE2wo7fv.js";
21
+ import { s as ai } from "./select-DKy99ogv.js";
22
+ import { c as si } from "./init-BJFW6EwE.js";
23
23
  import { p as ri } from "./pointer-CWRWOsrb.js";
24
- import { u as si } from "./use-in-view-DR-UTB96.js";
25
- import { m as d } from "./proxy-BYIC9BuT.js";
26
- import { GraphFooter as li } from "./GraphFooter.js";
27
- import { GraphHeader as ci } from "./GraphHeader.js";
28
- import { Colors as ct } from "./Colors.js";
29
- import { ColorLegend as mi } from "./ColorLegend.js";
30
- import { E as xi } from "./EmptyState-36lXXyui.js";
31
- function hi(xt) {
32
- const {
33
- data: V,
34
- width: b,
35
- height: W,
24
+ import { u as li } from "./use-in-view-Cxa7y1TH.js";
25
+ import { m as O } from "./proxy-BxkFHwUw.js";
26
+ import { GraphFooter as ci } from "./GraphFooter.js";
27
+ import { GraphHeader as mi } from "./GraphHeader.js";
28
+ import { Colors as Ve } from "./Colors.js";
29
+ import { ColorLegend as ui } from "./ColorLegend.js";
30
+ import { E as fi } from "./EmptyState-BZo1BbAn.js";
31
+ import { a as hi, G as yi } from "./GraphContainer-CRqzdKu2.js";
32
+ import { g as pi } from "./getNoOfTicks-CpmRjcRF.js";
33
+ function xi(i) {
34
+ const t = Te.c(102), {
35
+ data: b,
36
+ width: q,
37
+ height: Tt,
36
38
  lineColor: L,
37
- suffix: D,
38
- prefix: w,
39
- dateFormat: s,
40
- highlightAreaSettings: h,
41
- showValues: z,
42
- noOfXTicks: ht,
43
- rightMargin: yt,
44
- leftMargin: M,
45
- topMargin: A,
46
- bottomMargin: U,
47
- tooltip: q,
48
- onSeriesMouseOver: F,
49
- refValues: J,
50
- minValue: K,
51
- maxValue: Q,
52
- animate: n,
53
- rtl: Z,
54
- strokeWidth: ut,
55
- showDots: $,
56
- annotations: pt,
57
- customHighlightAreaSettings: gt,
58
- regressionLine: H,
59
- showIntervalDots: ft,
60
- showIntervalValues: dt,
61
- intervalLineStrokeWidth: Y,
62
- intervalLineColors: p,
63
- intervalAreaColor: wt,
64
- intervalAreaOpacity: vt,
65
- yAxisTitle: _,
66
- noOfYTicks: jt,
67
- minDate: P,
68
- maxDate: E,
69
- curveType: N,
70
- styles: c,
71
- classNames: m,
72
- precision: I,
73
- customLayers: tt
74
- } = xt, it = mt(null), l = si(it, {
75
- once: n.once,
76
- amount: n.amount
77
- }), [x, Mt] = R(!1);
78
- Vt(() => {
79
- if (l && !x) {
80
- const t = setTimeout(
81
- () => {
82
- Mt(!0);
83
- },
84
- (n.duration + 0.5) * 1e3
85
- );
86
- return () => clearTimeout(t);
39
+ suffix: I,
40
+ prefix: C,
41
+ dateFormat: l,
42
+ highlightAreaSettings: p,
43
+ showValues: Wt,
44
+ noOfXTicks: fe,
45
+ rightMargin: Rt,
46
+ leftMargin: S,
47
+ topMargin: Ft,
48
+ bottomMargin: mt,
49
+ tooltip: J,
50
+ onSeriesMouseOver: Ht,
51
+ refValues: _t,
52
+ minValue: te,
53
+ maxValue: ut,
54
+ animate: o,
55
+ rtl: ft,
56
+ strokeWidth: K,
57
+ showDots: ee,
58
+ annotations: ie,
59
+ customHighlightAreaSettings: ht,
60
+ regressionLine: yt,
61
+ showIntervalDots: ne,
62
+ showIntervalValues: he,
63
+ intervalLineStrokeWidth: Yt,
64
+ intervalLineColors: M,
65
+ intervalAreaColor: Pt,
66
+ intervalAreaOpacity: Et,
67
+ yAxisTitle: pt,
68
+ noOfYTicks: ye,
69
+ minDate: oe,
70
+ maxDate: ae,
71
+ curveType: xt,
72
+ styles: x,
73
+ classNames: d,
74
+ precision: N,
75
+ customLayers: H
76
+ } = i, dt = De(null);
77
+ let Y;
78
+ t[0] !== o.amount || t[1] !== o.once ? (Y = {
79
+ once: o.once,
80
+ amount: o.amount
81
+ }, t[0] = o.amount, t[1] = o.once, t[2] = Y) : Y = t[2];
82
+ const c = li(dt, Y), [f, se] = Zt(!1);
83
+ let gt, Q;
84
+ t[3] !== o.duration || t[4] !== f || t[5] !== c ? (gt = () => {
85
+ if (c && !f) {
86
+ const e = setTimeout(() => {
87
+ se(!0);
88
+ }, (o.duration + 0.5) * 1e3);
89
+ return () => clearTimeout(e);
87
90
  }
88
- }, [l, x, n.duration]);
89
- const S = N === "linear" ? Zt : N === "step" ? _t : N === "stepAfter" ? ti : N === "stepBefore" ? ii : ei, [k, et] = R(void 0), [at, nt] = R(void 0), [X, G] = R(void 0), g = {
90
- top: A,
91
- bottom: U,
92
- left: _ ? M + 30 : M,
93
- right: yt
94
- }, C = mt(null), a = Ht(
95
- V.filter((t) => !j(t.y)).map((t) => ({
96
- date: u(`${t.date}`, s, /* @__PURE__ */ new Date()),
97
- y: t.y,
98
- yMin: j(t.yMin) ? t.y : t.yMin,
99
- yMax: j(t.yMax) ? t.y : t.yMax,
100
- data: t.data
101
- })),
102
- ["date"],
103
- ["asc"]
104
- ), Ct = h.map((t) => ({
105
- ...t,
106
- coordinates: [
107
- t.coordinates[0] === null ? null : u(`${t.coordinates[0]}`, s, /* @__PURE__ */ new Date()),
108
- t.coordinates[1] === null ? null : u(`${t.coordinates[1]}`, s, /* @__PURE__ */ new Date())
109
- ]
110
- })), bt = gt.map((t) => ({
111
- ...t,
112
- coordinates: t.coordinates.map(
113
- (f, O) => O % 2 === 0 ? u(`${f}`, s, /* @__PURE__ */ new Date()) : f
114
- )
115
- })), r = b - g.left - g.right, v = W - g.top - g.bottom, ot = P ? u(`${P}`, s, /* @__PURE__ */ new Date()) : a[0].date, rt = E ? u(`${E}`, s, /* @__PURE__ */ new Date()) : a[a.length - 1].date, y = j(K) ? Math.min(...a.map((t) => Math.min(t.y, t.yMax, t.yMin))) ? Math.min(...a.map((t) => Math.min(t.y, t.yMax, t.yMin))) > 0 ? 0 : Math.min(...a.map((t) => Math.min(t.y, t.yMax, t.yMin))) : 0 : K, T = Math.max(...a.map((t) => Math.max(t.y, t.yMax, t.yMin))) ? Math.max(...a.map((t) => Math.max(t.y, t.yMax, t.yMin))) : 0, e = Kt().domain([ot, rt]).range([0, r]), o = Qt().domain([
116
- y,
117
- j(Q) ? T > 0 ? T : 0 : Q
118
- ]).range([v, 0]).nice(), Lt = Ot().x((t) => e(t.date)).y((t) => o(t.y)).curve(S), Dt = Ot().x((t) => e(t.date)).y((t) => o(t.yMin)).curve(S), Nt = Ot().x((t) => e(t.date)).y((t) => o(t.yMax)).curve(S), It = ai().x((t) => e(t.date)).y0((t) => o(t.yMin)).y1((t) => o(t.yMax)).curve(S), kt = o.ticks(jt), St = e.ticks(ht);
119
- Vt(() => {
120
- const t = (O) => {
121
- const st = a[oi(
122
- a.map((At) => At.date),
123
- e.invert(ri(O)[0]),
124
- 0
125
- )];
126
- et(st || a[a.length - 1]), F?.(st || a[a.length - 1]), G(O.clientY), nt(O.clientX);
127
- }, f = () => {
128
- et(void 0), nt(void 0), G(void 0), F?.(void 0);
91
+ }, Q = [c, f, o.duration], t[3] = o.duration, t[4] = f, t[5] = c, t[6] = gt, t[7] = Q) : (gt = t[6], Q = t[7]), $e(gt, Q);
92
+ const Z = xt === "linear" ? _e : xt === "step" ? ti : xt === "stepAfter" ? ei : xt === "stepBefore" ? ii : ni, [V, vt] = Zt(void 0), [P, re] = Zt(void 0), [u, h] = Zt(void 0), Xt = pt ? S + 30 : S;
93
+ let E;
94
+ t[8] !== mt || t[9] !== Rt || t[10] !== Xt || t[11] !== Ft ? (E = {
95
+ top: Ft,
96
+ bottom: mt,
97
+ left: Xt,
98
+ right: Rt
99
+ }, t[8] = mt, t[9] = Rt, t[10] = Xt, t[11] = Ft, t[12] = E) : E = t[12];
100
+ const v = E, _ = De(null);
101
+ let tt;
102
+ t[13] !== l ? (tt = (e) => ({
103
+ date: j(`${e.date}`, l, /* @__PURE__ */ new Date()),
104
+ y: e.y,
105
+ yMin: F(e.yMin) ? e.y : e.yMin,
106
+ yMax: F(e.yMax) ? e.y : e.yMax,
107
+ data: e.data
108
+ }), t[13] = l, t[14] = tt) : tt = t[14];
109
+ const s = Ye(b.filter(ki).map(tt), ["date"], ["asc"]);
110
+ let et;
111
+ if (t[15] !== l || t[16] !== p) {
112
+ let e;
113
+ t[18] !== l ? (e = (y) => ({
114
+ ...y,
115
+ coordinates: [y.coordinates[0] === null ? null : j(`${y.coordinates[0]}`, l, /* @__PURE__ */ new Date()), y.coordinates[1] === null ? null : j(`${y.coordinates[1]}`, l, /* @__PURE__ */ new Date())]
116
+ }), t[18] = l, t[19] = e) : e = t[19], et = p.map(e), t[15] = l, t[16] = p, t[17] = et;
117
+ } else
118
+ et = t[17];
119
+ const wt = et;
120
+ let it;
121
+ if (t[20] !== ht || t[21] !== l) {
122
+ let e;
123
+ t[23] !== l ? (e = (y) => ({
124
+ ...y,
125
+ coordinates: y.coordinates.map((U, Qt) => Qt % 2 === 0 ? j(`${U}`, l, /* @__PURE__ */ new Date()) : U)
126
+ }), t[23] = l, t[24] = e) : e = t[24], it = ht.map(e), t[20] = ht, t[21] = l, t[22] = it;
127
+ } else
128
+ it = t[22];
129
+ const le = it, m = q - v.left - v.right, g = Tt - v.top - v.bottom, Gt = oe ? j(`${oe}`, l, /* @__PURE__ */ new Date()) : s[0].date, ce = ae ? j(`${ae}`, l, /* @__PURE__ */ new Date()) : s[s.length - 1].date, w = F(te) ? Math.min(...s.map(Di)) ? Math.min(...s.map(Vi)) > 0 ? 0 : Math.min(...s.map(Li)) : 0 : te, X = Math.max(...s.map(bi)) ? Math.max(...s.map(Oi)) : 0, a = Qe().domain([Gt, ce]).range([0, m]);
130
+ let nt;
131
+ t[25] !== X || t[26] !== ut ? (nt = F(ut) ? X > 0 ? X : 0 : ut, t[25] = X, t[26] = ut, t[27] = nt) : nt = t[27];
132
+ const r = Ze().domain([w, nt]).range([g, 0]).nice(), Bt = Ne().x((e) => a(e.date)).y((e) => r(e.y)).curve(Z), Mt = Ne().x((e) => a(e.date)).y((e) => r(e.yMin)).curve(Z), zt = Ne().x((e) => a(e.date)).y((e) => r(e.yMax)).curve(Z), Ut = oi().x((e) => a(e.date)).y0((e) => r(e.yMin)).y1((e) => r(e.yMax)).curve(Z), qt = r.ticks(ye), Jt = a.ticks(fe);
133
+ $e(() => {
134
+ const e = (U) => {
135
+ const Qt = s[si(s.map(Ai), a.invert(ri(U)[0]), 0)];
136
+ vt(Qt || s[s.length - 1]), Ht?.(Qt || s[s.length - 1]), h(U.clientY), re(U.clientX);
137
+ }, y = () => {
138
+ vt(void 0), re(void 0), h(void 0), Ht?.(void 0);
129
139
  };
130
- ni(C.current).on("mousemove", t).on("mouseout", f);
131
- }, [e, a, F]);
132
- const Tt = Wt(
133
- a.filter((t) => !j(t.date) && !j(t.y)).map((t) => [e(t.date), o(t.y)])
134
- ), $t = Ft(Tt);
135
- return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
136
- /* @__PURE__ */ i.jsx(
137
- d.svg,
138
- {
139
- width: `${b}px`,
140
- height: `${W}px`,
141
- viewBox: `0 0 ${b} ${W}`,
142
- direction: "ltr",
143
- ref: it,
144
- children: /* @__PURE__ */ i.jsxs("g", { transform: `translate(${g.left},${g.top})`, children: [
145
- /* @__PURE__ */ i.jsx(
146
- Jt,
147
- {
148
- areaSettings: Ct,
149
- width: r,
150
- height: v,
151
- scale: e,
152
- animate: n,
153
- isInView: l
154
- }
155
- ),
156
- /* @__PURE__ */ i.jsx(
157
- Pt,
158
- {
159
- areaSettings: bt,
160
- scaleX: e,
161
- scaleY: o,
162
- animate: n,
163
- isInView: l
164
- }
165
- ),
166
- /* @__PURE__ */ i.jsxs("g", { children: [
167
- /* @__PURE__ */ i.jsx(
168
- qt,
169
- {
170
- values: kt.filter((t) => t !== 0),
171
- y: kt.filter((t) => t !== 0).map((t) => o(t)),
172
- x1: 0 - M,
173
- x2: r + g.right,
174
- styles: {
175
- gridLines: c?.yAxis?.gridLines,
176
- labels: c?.yAxis?.labels
177
- },
178
- classNames: {
179
- gridLines: m?.yAxis?.gridLines,
180
- labels: m?.yAxis?.labels
181
- },
182
- suffix: D,
183
- prefix: w,
184
- labelType: "secondary",
185
- showGridLines: !0,
186
- labelPos: "vertical",
187
- precision: I
188
- }
189
- ),
190
- /* @__PURE__ */ i.jsx(
191
- Bt,
192
- {
193
- y1: o(y < 0 ? 0 : y),
194
- y2: o(y < 0 ? 0 : y),
195
- x1: 0 - M,
196
- x2: r + g.right,
197
- label: lt(
198
- y < 0 ? 0 : y,
199
- "NA",
200
- I,
201
- w,
202
- D
203
- ),
204
- labelPos: {
205
- x: 0 - M,
206
- y: o(y < 0 ? 0 : y),
207
- dx: 0,
208
- dy: T < 0 ? "1em" : -5
209
- },
210
- classNames: {
211
- axis: m?.xAxis?.axis,
212
- label: m?.yAxis?.labels
213
- },
214
- styles: {
215
- axis: c?.xAxis?.axis,
216
- label: c?.yAxis?.labels
217
- }
218
- }
219
- ),
220
- /* @__PURE__ */ i.jsx(
221
- Gt,
222
- {
223
- x: 0 - M + 15,
224
- y: v / 2,
225
- style: c?.yAxis?.title,
226
- className: m?.yAxis?.title,
227
- text: _,
228
- rotate90: !0
229
- }
230
- )
231
- ] }),
232
- /* @__PURE__ */ i.jsx("g", { children: St.map((t, f) => /* @__PURE__ */ i.jsx("g", { children: /* @__PURE__ */ i.jsx(
233
- "text",
234
- {
235
- y: v,
236
- x: e(t),
237
- style: { textAnchor: "middle" },
238
- className: "fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs",
239
- dy: 15,
240
- children: Rt(t, s)
241
- }
242
- ) }, f)) }),
243
- tt.filter((t) => t.position === "before").map((t) => t.layer),
244
- /* @__PURE__ */ i.jsx(
245
- d.path,
246
- {
247
- style: {
248
- fill: wt
249
- },
250
- exit: { opacity: 0, transition: { duration: n.duration } },
251
- variants: {
252
- initial: { opacity: 0, d: It(a) || "" },
253
- whileInView: {
254
- opacity: vt,
255
- d: It(a) || "",
256
- transition: { duration: n.duration }
257
- }
258
- },
259
- initial: "initial",
260
- animate: l ? "whileInView" : "initial"
261
- }
262
- ),
263
- Y ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
264
- /* @__PURE__ */ i.jsx(
265
- d.path,
266
- {
267
- style: {
268
- stroke: p[0],
269
- fill: "none",
270
- strokeWidth: Y
271
- },
272
- exit: { opacity: 0, transition: { duration: n.duration } },
273
- variants: {
274
- initial: {
275
- pathLength: 0,
276
- d: Dt(a) || "",
277
- opacity: 1
278
- },
279
- whileInView: {
280
- pathLength: 1,
281
- d: Dt(a) || "",
282
- opacity: 1,
283
- transition: { duration: n.duration }
284
- }
285
- },
286
- initial: "initial",
287
- animate: l ? "whileInView" : "initial"
288
- }
289
- ),
290
- /* @__PURE__ */ i.jsx(
291
- d.path,
292
- {
293
- style: {
294
- stroke: p[1],
295
- fill: "none",
296
- strokeWidth: Y
297
- },
298
- exit: { opacity: 0, transition: { duration: n.duration } },
299
- variants: {
300
- initial: {
301
- pathLength: 0,
302
- d: Nt(a) || "",
303
- opacity: 1
304
- },
305
- whileInView: {
306
- pathLength: 1,
307
- d: Nt(a) || "",
308
- opacity: 1,
309
- transition: { duration: n.duration }
310
- }
311
- },
312
- initial: "initial",
313
- animate: l ? "whileInView" : "initial"
314
- }
315
- )
316
- ] }) : null,
317
- /* @__PURE__ */ i.jsx(
318
- d.path,
319
- {
320
- style: {
321
- stroke: L,
322
- fill: "none",
323
- strokeWidth: ut
324
- },
325
- exit: { opacity: 0, transition: { duration: n.duration } },
326
- variants: {
327
- initial: {
328
- pathLength: 0,
329
- d: Lt(a) || "",
330
- opacity: 1
331
- },
332
- whileInView: {
333
- pathLength: 1,
334
- d: Lt(a) || "",
335
- opacity: 1,
336
- transition: { duration: n.duration }
337
- }
338
- },
339
- initial: "initial",
340
- animate: l ? "whileInView" : "initial"
341
- }
342
- ),
343
- k ? /* @__PURE__ */ i.jsx(
344
- "line",
345
- {
346
- y1: 0,
347
- y2: v,
348
- x1: e(k.date),
349
- x2: e(k.date),
350
- className: B(
351
- "undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100",
352
- m?.mouseOverLine
353
- ),
354
- style: c?.mouseOverLine
355
- }
356
- ) : null,
357
- /* @__PURE__ */ i.jsx("g", { children: a.map((t, f) => /* @__PURE__ */ i.jsx(d.g, { children: j(t.y) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
358
- $ ? /* @__PURE__ */ i.jsx(
359
- d.circle,
360
- {
361
- r: r / a.length < 5 ? 0 : r / a.length < 20 ? 2 : 4,
362
- style: { fill: L },
363
- exit: { opacity: 0, transition: { duration: n.duration } },
364
- variants: {
365
- initial: { opacity: 0, cx: e(t.date), cy: o(t.y) },
366
- whileInView: {
367
- opacity: 1,
368
- transition: {
369
- duration: x ? n.duration : 0.5,
370
- delay: x ? 0 : n.duration
371
- },
372
- cx: e(t.date),
373
- cy: o(t.y)
374
- }
375
- },
376
- initial: "initial",
377
- animate: l ? "whileInView" : "initial"
378
- }
379
- ) : null,
380
- ft ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
381
- /* @__PURE__ */ i.jsx(
382
- d.circle,
383
- {
384
- r: r / a.length < 5 ? 0 : r / a.length < 20 ? 2 : 4,
385
- exit: { opacity: 0, transition: { duration: n.duration } },
386
- variants: {
387
- initial: {
388
- opacity: 0,
389
- fill: p[0],
390
- cx: e(t.date),
391
- cy: o(t.yMin)
392
- },
393
- whileInView: {
394
- opacity: 1,
395
- transition: {
396
- duration: x ? n.duration : 0.5,
397
- delay: x ? 0 : n.duration
398
- },
399
- cx: e(t.date),
400
- cy: o(t.yMin),
401
- fill: p[0]
402
- }
403
- },
404
- initial: "initial",
405
- animate: l ? "whileInView" : "initial"
406
- }
407
- ),
408
- /* @__PURE__ */ i.jsx(
409
- d.circle,
410
- {
411
- r: r / a.length < 5 ? 0 : r / a.length < 20 ? 2 : 4,
412
- exit: { opacity: 0, transition: { duration: n.duration } },
413
- variants: {
414
- initial: {
415
- opacity: 0,
416
- fill: p[1],
417
- cx: e(t.date),
418
- cy: o(t.yMax)
419
- },
420
- whileInView: {
421
- opacity: 1,
422
- fill: p[1],
423
- transition: {
424
- duration: x ? n.duration : 0.5,
425
- delay: x ? 0 : n.duration
426
- },
427
- cx: e(t.date),
428
- cy: o(t.yMax)
429
- }
430
- },
431
- initial: "initial",
432
- animate: l ? "whileInView" : "initial"
433
- }
434
- )
435
- ] }) : null,
436
- z ? /* @__PURE__ */ i.jsx(
437
- d.text,
438
- {
439
- dy: -8,
440
- style: {
441
- textAnchor: "middle",
442
- ...c?.graphObjectValues || {}
443
- },
444
- className: B(
445
- "graph-value text-xs font-bold",
446
- m?.graphObjectValues
447
- ),
448
- exit: { opacity: 0, transition: { duration: n.duration } },
449
- variants: {
450
- initial: { opacity: 0, fill: L, x: e(t.date), y: o(t.y) },
451
- whileInView: {
452
- opacity: 1,
453
- x: e(t.date),
454
- fill: L,
455
- y: o(t.y),
456
- transition: {
457
- duration: x ? n.duration : 0.5,
458
- delay: x ? 0 : n.duration
459
- }
460
- }
461
- },
462
- initial: "initial",
463
- animate: l ? "whileInView" : "initial",
464
- children: lt(t.y, "NA", I, w, D)
465
- }
466
- ) : null,
467
- dt ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
468
- /* @__PURE__ */ i.jsx(
469
- d.text,
470
- {
471
- dy: "1em",
472
- style: {
473
- textAnchor: "middle",
474
- ...c?.graphObjectValues || {}
475
- },
476
- className: B("text-xs font-bold", m?.graphObjectValues),
477
- exit: { opacity: 0, transition: { duration: n.duration } },
478
- variants: {
479
- initial: {
480
- opacity: 0,
481
- fill: p[0],
482
- x: e(t.date),
483
- y: o(t.yMin)
484
- },
485
- whileInView: {
486
- opacity: 1,
487
- x: e(t.date),
488
- y: o(t.yMin),
489
- fill: p[0],
490
- transition: {
491
- duration: x ? n.duration : 0.5,
492
- delay: x ? 0 : n.duration
493
- }
494
- }
495
- },
496
- initial: "initial",
497
- animate: l ? "whileInView" : "initial",
498
- children: lt(t.yMin, "NA", I, w, D)
499
- }
500
- ),
501
- /* @__PURE__ */ i.jsx(
502
- d.text,
503
- {
504
- dy: -8,
505
- style: {
506
- textAnchor: "middle",
507
- ...c?.graphObjectValues || {}
508
- },
509
- className: B("text-xs font-bold", m?.graphObjectValues),
510
- exit: { opacity: 0, transition: { duration: n.duration } },
511
- variants: {
512
- initial: {
513
- opacity: 0,
514
- fill: p[1],
515
- x: e(t.date),
516
- y: o(t.yMax)
517
- },
518
- whileInView: {
519
- opacity: 1,
520
- fill: p[1],
521
- x: e(t.date),
522
- y: o(t.yMax),
523
- transition: {
524
- duration: x ? n.duration : 0.5,
525
- delay: x ? 0 : n.duration
526
- }
527
- }
528
- },
529
- initial: "initial",
530
- animate: l ? "whileInView" : "initial",
531
- children: lt(t.yMax, "NA", I, w, D)
532
- }
533
- )
534
- ] }) : null
535
- ] }) }, f)) }),
536
- J ? /* @__PURE__ */ i.jsx(i.Fragment, { children: J.map((t, f) => /* @__PURE__ */ i.jsx(
537
- zt,
538
- {
539
- text: t.text,
540
- color: t.color,
541
- y: o(t.value),
542
- x1: 0 - M,
543
- x2: r + g.right,
544
- classNames: t.classNames,
545
- styles: t.styles,
546
- animate: n,
547
- isInView: l
548
- },
549
- f
550
- )) }) : null,
551
- /* @__PURE__ */ i.jsx("g", { children: pt.map((t, f) => {
552
- const O = Et(
553
- {
554
- x: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
555
- y: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) - 8 : 0 + (t.yOffset || 0) - 8
556
- },
557
- {
558
- x: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) : 0,
559
- y: t.yCoordinate ? o(t.yCoordinate) : 0
560
- },
561
- j(t.connectorRadius) ? 3.5 : t.connectorRadius
562
- ), st = t.showConnector ? {
563
- y1: O.y,
564
- x1: O.x,
565
- y2: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) : 0 + (t.yOffset || 0),
566
- x2: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
567
- cy: t.yCoordinate ? o(t.yCoordinate) : 0,
568
- cx: t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) : 0,
569
- circleRadius: j(t.connectorRadius) ? 3.5 : t.connectorRadius,
570
- strokeWidth: t.showConnector === !0 ? 2 : Math.min(t.showConnector || 0, 1)
571
- } : void 0, At = {
572
- y: t.yCoordinate ? o(t.yCoordinate) + (t.yOffset || 0) - 8 : 0 + (t.yOffset || 0) - 8,
573
- x: Z ? 0 : t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0),
574
- width: Z ? t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0) : r + g.right - (t.xCoordinate ? e(u(`${t.xCoordinate}`, s, /* @__PURE__ */ new Date())) + (t.xOffset || 0) : 0 + (t.xOffset || 0)),
575
- maxWidth: t.maxWidth,
576
- fontWeight: t.fontWeight,
577
- align: t.align
578
- };
579
- return /* @__PURE__ */ i.jsx(
580
- Xt,
581
- {
582
- color: t.color,
583
- connectorsSettings: st,
584
- labelSettings: At,
585
- text: t.text,
586
- classNames: t.classNames,
587
- styles: t.styles,
588
- animate: n,
589
- isInView: l
590
- },
591
- f
592
- );
593
- }) }),
594
- /* @__PURE__ */ i.jsx("g", { children: H ? /* @__PURE__ */ i.jsx(
595
- Ut,
596
- {
597
- x1: 0,
598
- x2: r,
599
- y1: $t(0),
600
- y2: $t(r),
601
- graphHeight: v,
602
- graphWidth: r,
603
- className: m?.regLine,
604
- style: c?.regLine,
605
- color: typeof H == "string" ? H : void 0,
606
- animate: n,
607
- isInView: l
608
- }
609
- ) : null }),
610
- tt.filter((t) => t.position === "after").map((t) => t.layer),
611
- /* @__PURE__ */ i.jsx(
612
- "rect",
613
- {
614
- ref: C,
615
- style: {
616
- fill: "none",
617
- pointerEvents: "all"
618
- },
619
- width: r,
620
- height: v
621
- }
622
- )
623
- ] })
140
+ ai(_.current).on("mousemove", e).on("mouseout", y);
141
+ }, [a, s, Ht]);
142
+ const Kt = Fe(s.filter(Ci).map((e) => [a(e.date), r(e.y)])), jt = He(Kt);
143
+ let A;
144
+ t[28] !== o || t[29] !== g || t[30] !== m || t[31] !== wt || t[32] !== c || t[33] !== a ? (A = /* @__PURE__ */ n.jsx(Ke, { areaSettings: wt, width: m, height: g, scale: a, animate: o, isInView: c }), t[28] = o, t[29] = g, t[30] = m, t[31] = wt, t[32] = c, t[33] = a, t[34] = A) : A = t[34];
145
+ const Ct = x?.yAxis?.gridLines, At = x?.yAxis?.labels;
146
+ let ot;
147
+ t[35] !== Ct || t[36] !== At ? (ot = {
148
+ gridLines: Ct,
149
+ labels: At
150
+ }, t[35] = Ct, t[36] = At, t[37] = ot) : ot = t[37];
151
+ const at = d?.yAxis?.gridLines, Ot = d?.yAxis?.labels;
152
+ let G;
153
+ t[38] !== at || t[39] !== Ot ? (G = {
154
+ gridLines: at,
155
+ labels: Ot
156
+ }, t[38] = at, t[39] = Ot, t[40] = G) : G = t[40];
157
+ const bt = r(w < 0 ? 0 : w), Lt = r(w < 0 ? 0 : w), Vt = 0 - S, Dt = m + v.right, kt = w < 0 ? 0 : w;
158
+ let D;
159
+ t[41] !== N || t[42] !== C || t[43] !== I || t[44] !== kt ? (D = Le(kt, "NA", N, C, I), t[41] = N, t[42] = C, t[43] = I, t[44] = kt, t[45] = D) : D = t[45];
160
+ const It = 0 - S, B = r(w < 0 ? 0 : w), me = X < 0 ? "1em" : -5;
161
+ let k;
162
+ t[46] !== It || t[47] !== B || t[48] !== me ? (k = {
163
+ x: It,
164
+ y: B,
165
+ dx: 0,
166
+ dy: me
167
+ }, t[46] = It, t[47] = B, t[48] = me, t[49] = k) : k = t[49];
168
+ const ue = d?.xAxis?.axis, St = d?.yAxis?.labels;
169
+ let z;
170
+ t[50] !== ue || t[51] !== St ? (z = {
171
+ axis: ue,
172
+ label: St
173
+ }, t[50] = ue, t[51] = St, t[52] = z) : z = t[52];
174
+ const st = x?.xAxis?.axis, rt = x?.yAxis?.labels;
175
+ let $;
176
+ t[53] !== st || t[54] !== rt ? ($ = {
177
+ axis: st,
178
+ label: rt
179
+ }, t[53] = st, t[54] = rt, t[55] = $) : $ = t[55];
180
+ let lt;
181
+ t[56] !== bt || t[57] !== Lt || t[58] !== Vt || t[59] !== Dt || t[60] !== D || t[61] !== k || t[62] !== z || t[63] !== $ ? (lt = /* @__PURE__ */ n.jsx(ze, { y1: bt, y2: Lt, x1: Vt, x2: Dt, label: D, labelPos: k, classNames: z, styles: $ }), t[56] = bt, t[57] = Lt, t[58] = Vt, t[59] = Dt, t[60] = D, t[61] = k, t[62] = z, t[63] = $, t[64] = lt) : lt = t[64];
182
+ const T = 0 - S + 15, W = g / 2, R = x?.yAxis?.title, ct = d?.yAxis?.title;
183
+ let Nt;
184
+ t[65] !== T || t[66] !== W || t[67] !== R || t[68] !== ct || t[69] !== pt ? (Nt = /* @__PURE__ */ n.jsx(Be, { x: T, y: W, style: R, className: ct, text: pt, rotate90: !0 }), t[65] = T, t[66] = W, t[67] = R, t[68] = ct, t[69] = pt, t[70] = Nt) : Nt = t[70];
185
+ let $t;
186
+ t[71] !== H ? ($t = H.filter(wi).map(vi), t[71] = H, t[72] = $t) : $t = t[72];
187
+ let pe;
188
+ t[73] !== Pt ? (pe = {
189
+ fill: Pt
190
+ }, t[73] = Pt, t[74] = pe) : pe = t[74];
191
+ let xe;
192
+ t[75] !== o.duration ? (xe = {
193
+ opacity: 0,
194
+ transition: {
195
+ duration: o.duration
196
+ }
197
+ }, t[75] = o.duration, t[76] = xe) : xe = t[76];
198
+ let de;
199
+ t[77] !== L || t[78] !== K ? (de = {
200
+ stroke: L,
201
+ fill: "none",
202
+ strokeWidth: K
203
+ }, t[77] = L, t[78] = K, t[79] = de) : de = t[79];
204
+ let ge;
205
+ t[80] !== o.duration ? (ge = {
206
+ opacity: 0,
207
+ transition: {
208
+ duration: o.duration
209
+ }
210
+ }, t[80] = o.duration, t[81] = ge) : ge = t[81];
211
+ const ke = s.map((e, y) => /* @__PURE__ */ n.jsx(O.g, { children: F(e.y) ? null : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
212
+ ee ? /* @__PURE__ */ n.jsx(O.circle, { r: m / s.length < 5 ? 0 : m / s.length < 20 ? 2 : 4, style: {
213
+ fill: L
214
+ }, exit: {
215
+ opacity: 0,
216
+ transition: {
217
+ duration: o.duration
624
218
  }
625
- ),
626
- k && q && at && X ? /* @__PURE__ */ i.jsx(
627
- Yt,
628
- {
629
- data: k,
630
- body: q,
631
- xPos: at,
632
- yPos: X,
633
- backgroundStyle: c?.tooltip,
634
- className: m?.tooltip
219
+ }, variants: {
220
+ initial: {
221
+ opacity: 0,
222
+ cx: a(e.date),
223
+ cy: r(e.y)
224
+ },
225
+ whileInView: {
226
+ opacity: 1,
227
+ transition: {
228
+ duration: f ? o.duration : 0.5,
229
+ delay: f ? 0 : o.duration
230
+ },
231
+ cx: a(e.date),
232
+ cy: r(e.y)
635
233
  }
636
- ) : null
234
+ }, initial: "initial", animate: c ? "whileInView" : "initial" }) : null,
235
+ ne ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
236
+ /* @__PURE__ */ n.jsx(O.circle, { r: m / s.length < 5 ? 0 : m / s.length < 20 ? 2 : 4, exit: {
237
+ opacity: 0,
238
+ transition: {
239
+ duration: o.duration
240
+ }
241
+ }, variants: {
242
+ initial: {
243
+ opacity: 0,
244
+ fill: M[0],
245
+ cx: a(e.date),
246
+ cy: r(e.yMin)
247
+ },
248
+ whileInView: {
249
+ opacity: 1,
250
+ transition: {
251
+ duration: f ? o.duration : 0.5,
252
+ delay: f ? 0 : o.duration
253
+ },
254
+ cx: a(e.date),
255
+ cy: r(e.yMin),
256
+ fill: M[0]
257
+ }
258
+ }, initial: "initial", animate: c ? "whileInView" : "initial" }),
259
+ /* @__PURE__ */ n.jsx(O.circle, { r: m / s.length < 5 ? 0 : m / s.length < 20 ? 2 : 4, exit: {
260
+ opacity: 0,
261
+ transition: {
262
+ duration: o.duration
263
+ }
264
+ }, variants: {
265
+ initial: {
266
+ opacity: 0,
267
+ fill: M[1],
268
+ cx: a(e.date),
269
+ cy: r(e.yMax)
270
+ },
271
+ whileInView: {
272
+ opacity: 1,
273
+ fill: M[1],
274
+ transition: {
275
+ duration: f ? o.duration : 0.5,
276
+ delay: f ? 0 : o.duration
277
+ },
278
+ cx: a(e.date),
279
+ cy: r(e.yMax)
280
+ }
281
+ }, initial: "initial", animate: c ? "whileInView" : "initial" })
282
+ ] }) : null,
283
+ Wt ? /* @__PURE__ */ n.jsx(O.text, { dy: -8, style: {
284
+ textAnchor: "middle",
285
+ ...x?.graphObjectValues || {}
286
+ }, className: be("graph-value text-xs font-bold", d?.graphObjectValues), exit: {
287
+ opacity: 0,
288
+ transition: {
289
+ duration: o.duration
290
+ }
291
+ }, variants: {
292
+ initial: {
293
+ opacity: 0,
294
+ fill: L,
295
+ x: a(e.date),
296
+ y: r(e.y)
297
+ },
298
+ whileInView: {
299
+ opacity: 1,
300
+ x: a(e.date),
301
+ fill: L,
302
+ y: r(e.y),
303
+ transition: {
304
+ duration: f ? o.duration : 0.5,
305
+ delay: f ? 0 : o.duration
306
+ }
307
+ }
308
+ }, initial: "initial", animate: c ? "whileInView" : "initial", children: Le(e.y, "NA", N, C, I) }) : null,
309
+ he ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
310
+ /* @__PURE__ */ n.jsx(O.text, { dy: "1em", style: {
311
+ textAnchor: "middle",
312
+ ...x?.graphObjectValues || {}
313
+ }, className: be("text-xs font-bold", d?.graphObjectValues), exit: {
314
+ opacity: 0,
315
+ transition: {
316
+ duration: o.duration
317
+ }
318
+ }, variants: {
319
+ initial: {
320
+ opacity: 0,
321
+ fill: M[0],
322
+ x: a(e.date),
323
+ y: r(e.yMin)
324
+ },
325
+ whileInView: {
326
+ opacity: 1,
327
+ x: a(e.date),
328
+ y: r(e.yMin),
329
+ fill: M[0],
330
+ transition: {
331
+ duration: f ? o.duration : 0.5,
332
+ delay: f ? 0 : o.duration
333
+ }
334
+ }
335
+ }, initial: "initial", animate: c ? "whileInView" : "initial", children: Le(e.yMin, "NA", N, C, I) }),
336
+ /* @__PURE__ */ n.jsx(O.text, { dy: -8, style: {
337
+ textAnchor: "middle",
338
+ ...x?.graphObjectValues || {}
339
+ }, className: be("text-xs font-bold", d?.graphObjectValues), exit: {
340
+ opacity: 0,
341
+ transition: {
342
+ duration: o.duration
343
+ }
344
+ }, variants: {
345
+ initial: {
346
+ opacity: 0,
347
+ fill: M[1],
348
+ x: a(e.date),
349
+ y: r(e.yMax)
350
+ },
351
+ whileInView: {
352
+ opacity: 1,
353
+ fill: M[1],
354
+ x: a(e.date),
355
+ y: r(e.yMax),
356
+ transition: {
357
+ duration: f ? o.duration : 0.5,
358
+ delay: f ? 0 : o.duration
359
+ }
360
+ }
361
+ }, initial: "initial", animate: c ? "whileInView" : "initial", children: Le(e.yMax, "NA", N, C, I) })
362
+ ] }) : null
363
+ ] }) }, y));
364
+ let ve;
365
+ t[82] !== ke ? (ve = /* @__PURE__ */ n.jsx("g", { children: ke }), t[82] = ke, t[83] = ve) : ve = t[83];
366
+ const Ie = ie.map((e, y) => {
367
+ const U = Ee({
368
+ x: e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
369
+ y: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
370
+ }, {
371
+ x: e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) : 0,
372
+ y: e.yCoordinate ? r(e.yCoordinate) : 0
373
+ }, F(e.connectorRadius) ? 3.5 : e.connectorRadius), Qt = e.showConnector ? {
374
+ y1: U.y,
375
+ x1: U.x,
376
+ y2: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
377
+ x2: e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
378
+ cy: e.yCoordinate ? r(e.yCoordinate) : 0,
379
+ cx: e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) : 0,
380
+ circleRadius: F(e.connectorRadius) ? 3.5 : e.connectorRadius,
381
+ strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
382
+ } : void 0, We = {
383
+ y: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
384
+ x: ft ? 0 : e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
385
+ width: ft ? e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : m + v.right - (e.xCoordinate ? a(j(`${e.xCoordinate}`, l, /* @__PURE__ */ new Date())) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
386
+ maxWidth: e.maxWidth,
387
+ fontWeight: e.fontWeight,
388
+ align: e.align
389
+ };
390
+ return /* @__PURE__ */ n.jsx(Xe, { color: e.color, connectorsSettings: Qt, labelSettings: We, text: e.text, classNames: e.classNames, styles: e.styles, animate: o, isInView: c }, y);
391
+ });
392
+ let we;
393
+ t[84] !== Ie ? (we = /* @__PURE__ */ n.jsx("g", { children: Ie }), t[84] = Ie, t[85] = we) : we = t[85];
394
+ const Se = yt ? /* @__PURE__ */ n.jsx(qe, { x1: 0, x2: m, y1: jt(0), y2: jt(m), graphHeight: g, graphWidth: m, className: d?.regLine, style: x?.regLine, color: typeof yt == "string" ? yt : void 0, animate: o, isInView: c }) : null;
395
+ let Me;
396
+ t[86] !== Se ? (Me = /* @__PURE__ */ n.jsx("g", { children: Se }), t[86] = Se, t[87] = Me) : Me = t[87];
397
+ let je;
398
+ t[88] !== H ? (je = H.filter(gi).map(di), t[88] = H, t[89] = je) : je = t[89];
399
+ let Ce;
400
+ t[90] === Symbol.for("react.memo_cache_sentinel") ? (Ce = {
401
+ fill: "none",
402
+ pointerEvents: "all"
403
+ }, t[90] = Ce) : Ce = t[90];
404
+ let Ae;
405
+ t[91] !== _ || t[92] !== g || t[93] !== m ? (Ae = /* @__PURE__ */ n.jsx("rect", { ref: _, style: Ce, width: m, height: g }), t[91] = _, t[92] = g, t[93] = m, t[94] = Ae) : Ae = t[94];
406
+ let Oe;
407
+ return t[95] !== d?.tooltip || t[96] !== P || t[97] !== u || t[98] !== V || t[99] !== x?.tooltip || t[100] !== J ? (Oe = V && J && P && u ? /* @__PURE__ */ n.jsx(Pe, { data: V, body: J, xPos: P, yPos: u, backgroundStyle: x?.tooltip, className: d?.tooltip }) : null, t[95] = d?.tooltip, t[96] = P, t[97] = u, t[98] = V, t[99] = x?.tooltip, t[100] = J, t[101] = Oe) : Oe = t[101], /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
408
+ /* @__PURE__ */ n.jsx(O.svg, { width: `${q}px`, height: `${Tt}px`, viewBox: `0 0 ${q} ${Tt}`, direction: "ltr", ref: dt, children: /* @__PURE__ */ n.jsxs("g", { transform: `translate(${v.left},${v.top})`, children: [
409
+ A,
410
+ /* @__PURE__ */ n.jsx(Ge, { areaSettings: le, scaleX: a, scaleY: r, animate: o, isInView: c }),
411
+ /* @__PURE__ */ n.jsxs("g", { children: [
412
+ /* @__PURE__ */ n.jsx(Je, { values: qt.filter(ji), y: qt.filter(Mi).map((e) => r(e)), x1: 0 - S, x2: m + v.right, styles: ot, classNames: G, suffix: I, prefix: C, labelType: "secondary", showGridLines: !0, labelPos: "vertical", precision: N }),
413
+ lt,
414
+ Nt
415
+ ] }),
416
+ /* @__PURE__ */ n.jsx("g", { children: Jt.map((e, y) => /* @__PURE__ */ n.jsx("g", { children: /* @__PURE__ */ n.jsx("text", { y: g, x: a(e), style: {
417
+ textAnchor: "middle"
418
+ }, className: "fill-primary-gray-700 dark:fill-primary-gray-300 xs:max-[360px]:hidden text-[9px] md:text-[10px] lg:text-xs", dy: 15, children: Re(e, l) }) }, y)) }),
419
+ $t,
420
+ /* @__PURE__ */ n.jsx(O.path, { style: pe, exit: xe, variants: {
421
+ initial: {
422
+ opacity: 0,
423
+ d: Ut(s) || ""
424
+ },
425
+ whileInView: {
426
+ opacity: Et,
427
+ d: Ut(s) || "",
428
+ transition: {
429
+ duration: o.duration
430
+ }
431
+ }
432
+ }, initial: "initial", animate: c ? "whileInView" : "initial" }),
433
+ Yt ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
434
+ /* @__PURE__ */ n.jsx(O.path, { style: {
435
+ stroke: M[0],
436
+ fill: "none",
437
+ strokeWidth: Yt
438
+ }, exit: {
439
+ opacity: 0,
440
+ transition: {
441
+ duration: o.duration
442
+ }
443
+ }, variants: {
444
+ initial: {
445
+ pathLength: 0,
446
+ d: Mt(s) || "",
447
+ opacity: 1
448
+ },
449
+ whileInView: {
450
+ pathLength: 1,
451
+ d: Mt(s) || "",
452
+ opacity: 1,
453
+ transition: {
454
+ duration: o.duration
455
+ }
456
+ }
457
+ }, initial: "initial", animate: c ? "whileInView" : "initial" }),
458
+ /* @__PURE__ */ n.jsx(O.path, { style: {
459
+ stroke: M[1],
460
+ fill: "none",
461
+ strokeWidth: Yt
462
+ }, exit: {
463
+ opacity: 0,
464
+ transition: {
465
+ duration: o.duration
466
+ }
467
+ }, variants: {
468
+ initial: {
469
+ pathLength: 0,
470
+ d: zt(s) || "",
471
+ opacity: 1
472
+ },
473
+ whileInView: {
474
+ pathLength: 1,
475
+ d: zt(s) || "",
476
+ opacity: 1,
477
+ transition: {
478
+ duration: o.duration
479
+ }
480
+ }
481
+ }, initial: "initial", animate: c ? "whileInView" : "initial" })
482
+ ] }) : null,
483
+ /* @__PURE__ */ n.jsx(O.path, { style: de, exit: ge, variants: {
484
+ initial: {
485
+ pathLength: 0,
486
+ d: Bt(s) || "",
487
+ opacity: 1
488
+ },
489
+ whileInView: {
490
+ pathLength: 1,
491
+ d: Bt(s) || "",
492
+ opacity: 1,
493
+ transition: {
494
+ duration: o.duration
495
+ }
496
+ }
497
+ }, initial: "initial", animate: c ? "whileInView" : "initial" }),
498
+ V ? /* @__PURE__ */ n.jsx("line", { y1: 0, y2: g, x1: a(V.date), x2: a(V.date), className: be("undp-tick-line stroke-primary-gray-700 dark:stroke-primary-gray-100", d?.mouseOverLine), style: x?.mouseOverLine }) : null,
499
+ ve,
500
+ _t ? /* @__PURE__ */ n.jsx(n.Fragment, { children: _t.map((e, y) => /* @__PURE__ */ n.jsx(Ue, { text: e.text, color: e.color, y: r(e.value), x1: 0 - S, x2: m + v.right, classNames: e.classNames, styles: e.styles, animate: o, isInView: c }, y)) }) : null,
501
+ we,
502
+ Me,
503
+ je,
504
+ Ae
505
+ ] }) }),
506
+ Oe
637
507
  ] });
638
508
  }
639
- function Xi(xt) {
640
- const {
641
- data: V,
642
- graphTitle: b,
643
- suffix: W = "",
509
+ function di(i) {
510
+ return i.layer;
511
+ }
512
+ function gi(i) {
513
+ return i.position === "after";
514
+ }
515
+ function vi(i) {
516
+ return i.layer;
517
+ }
518
+ function wi(i) {
519
+ return i.position === "before";
520
+ }
521
+ function Mi(i) {
522
+ return i !== 0;
523
+ }
524
+ function ji(i) {
525
+ return i !== 0;
526
+ }
527
+ function Ci(i) {
528
+ return !F(i.date) && !F(i.y);
529
+ }
530
+ function Ai(i) {
531
+ return i.date;
532
+ }
533
+ function Oi(i) {
534
+ return Math.max(i.y, i.yMax, i.yMin);
535
+ }
536
+ function bi(i) {
537
+ return Math.max(i.y, i.yMax, i.yMin);
538
+ }
539
+ function Li(i) {
540
+ return Math.min(i.y, i.yMax, i.yMin);
541
+ }
542
+ function Vi(i) {
543
+ return Math.min(i.y, i.yMax, i.yMin);
544
+ }
545
+ function Di(i) {
546
+ return Math.min(i.y, i.yMax, i.yMin);
547
+ }
548
+ function ki(i) {
549
+ return !F(i.y);
550
+ }
551
+ function pn(i) {
552
+ const t = Te.c(95), {
553
+ data: b,
554
+ graphTitle: q,
555
+ suffix: Tt,
644
556
  sources: L,
645
- prefix: D = "",
646
- graphDescription: w,
647
- height: s,
648
- width: h,
649
- footNote: z,
650
- noOfXTicks: ht = 10,
651
- dateFormat: yt = "yyyy",
652
- showValues: M = !1,
653
- backgroundColor: A = !1,
654
- padding: U,
655
- lineColor: q,
656
- leftMargin: F = 30,
657
- rightMargin: J = 30,
658
- topMargin: K = 20,
659
- bottomMargin: Q = 25,
660
- tooltip: n,
661
- refValues: Z = [],
662
- highlightAreaSettings: ut = [],
663
- relativeHeight: $,
664
- onSeriesMouseOver: pt,
665
- graphID: gt,
666
- minValue: H,
667
- maxValue: ft,
668
- regressionLine: dt = !1,
669
- showIntervalDots: Y = !1,
670
- showIntervalValues: p = !1,
671
- intervalLineStrokeWidth: wt = 0,
672
- intervalLineColors: vt = [ct.light.grays["gray-500"], ct.light.grays["gray-500"]],
673
- intervalAreaColor: _ = ct.primaryColors["blue-100"],
674
- intervalAreaOpacity: jt = 0.4,
675
- graphDownload: P = !1,
676
- dataDownload: E = !1,
677
- animate: N = !1,
678
- language: c = "en",
679
- minHeight: m = 0,
680
- strokeWidth: I = 2,
681
- showDots: tt = !0,
682
- annotations: it = [],
683
- customHighlightAreaSettings: l = [],
684
- theme: x = "light",
685
- ariaLabel: Mt,
686
- yAxisTitle: S,
687
- noOfYTicks: k = 5,
688
- minDate: et,
689
- maxDate: at,
690
- colorLegendTitle: nt,
691
- colorLegendColors: X,
692
- colorLegendDomain: G,
693
- curveType: g = "curve",
694
- styles: C,
695
- classNames: a,
696
- precision: Ct = 2,
697
- customLayers: bt = []
698
- } = xt, [r, v] = R(0), [ot, rt] = R(0), y = mt(null), T = mt(null);
699
- return Vt(() => {
700
- const e = new ResizeObserver((o) => {
701
- v(h || o[0].target.clientWidth || 620), rt(s || o[0].target.clientHeight || 480);
557
+ prefix: I,
558
+ graphDescription: C,
559
+ height: l,
560
+ width: p,
561
+ footNote: Wt,
562
+ noOfXTicks: fe,
563
+ dateFormat: Rt,
564
+ showValues: S,
565
+ backgroundColor: Ft,
566
+ padding: mt,
567
+ lineColor: J,
568
+ leftMargin: Ht,
569
+ rightMargin: _t,
570
+ topMargin: te,
571
+ bottomMargin: ut,
572
+ tooltip: o,
573
+ refValues: ft,
574
+ highlightAreaSettings: K,
575
+ relativeHeight: ee,
576
+ onSeriesMouseOver: ie,
577
+ graphID: ht,
578
+ minValue: yt,
579
+ maxValue: ne,
580
+ regressionLine: he,
581
+ showIntervalDots: Yt,
582
+ showIntervalValues: M,
583
+ intervalLineStrokeWidth: Pt,
584
+ intervalLineColors: Et,
585
+ intervalAreaColor: pt,
586
+ intervalAreaOpacity: ye,
587
+ graphDownload: oe,
588
+ dataDownload: ae,
589
+ animate: xt,
590
+ language: x,
591
+ minHeight: d,
592
+ strokeWidth: N,
593
+ showDots: H,
594
+ annotations: dt,
595
+ customHighlightAreaSettings: Y,
596
+ theme: c,
597
+ ariaLabel: f,
598
+ yAxisTitle: se,
599
+ noOfYTicks: gt,
600
+ minDate: Q,
601
+ maxDate: Z,
602
+ colorLegendTitle: V,
603
+ colorLegendColors: vt,
604
+ colorLegendDomain: P,
605
+ curveType: re,
606
+ styles: u,
607
+ classNames: h,
608
+ precision: Xt,
609
+ customLayers: E
610
+ } = i, v = Tt === void 0 ? "" : Tt, _ = I === void 0 ? "" : I, tt = fe === void 0 ? 10 : fe, s = Rt === void 0 ? "yyyy" : Rt, et = S === void 0 ? !1 : S, wt = Ft === void 0 ? !1 : Ft, it = Ht === void 0 ? 30 : Ht, le = _t === void 0 ? 30 : _t, m = te === void 0 ? 20 : te, g = ut === void 0 ? 25 : ut;
611
+ let Gt;
612
+ t[0] !== ft ? (Gt = ft === void 0 ? [] : ft, t[0] = ft, t[1] = Gt) : Gt = t[1];
613
+ const ce = Gt;
614
+ let w;
615
+ t[2] !== K ? (w = K === void 0 ? [] : K, t[2] = K, t[3] = w) : w = t[3];
616
+ const X = w, a = he === void 0 ? !1 : he, nt = Yt === void 0 ? !1 : Yt, r = M === void 0 ? !1 : M, Bt = Pt === void 0 ? 0 : Pt;
617
+ let Mt;
618
+ t[4] !== Et ? (Mt = Et === void 0 ? [Ve.light.grays["gray-500"], Ve.light.grays["gray-500"]] : Et, t[4] = Et, t[5] = Mt) : Mt = t[5];
619
+ const zt = Mt, Ut = pt === void 0 ? Ve.primaryColors["blue-100"] : pt, qt = ye === void 0 ? 0.4 : ye, Jt = oe === void 0 ? !1 : oe, Kt = ae === void 0 ? !1 : ae, jt = xt === void 0 ? !1 : xt, A = x === void 0 ? "en" : x, Ct = d === void 0 ? 0 : d, At = N === void 0 ? 2 : N, ot = H === void 0 ? !0 : H;
620
+ let at;
621
+ t[6] !== dt ? (at = dt === void 0 ? [] : dt, t[6] = dt, t[7] = at) : at = t[7];
622
+ const Ot = at;
623
+ let G;
624
+ t[8] !== Y ? (G = Y === void 0 ? [] : Y, t[8] = Y, t[9] = G) : G = t[9];
625
+ const bt = G, Lt = c === void 0 ? "light" : c, Vt = gt === void 0 ? 5 : gt, Dt = re === void 0 ? "curve" : re, kt = Xt === void 0 ? 2 : Xt;
626
+ let D;
627
+ t[10] !== E ? (D = E === void 0 ? [] : E, t[10] = E, t[11] = D) : D = t[11];
628
+ const It = D, [B, me] = Zt(0), [k, ue] = Zt(0), St = De(null), z = De(null);
629
+ let st, rt;
630
+ t[12] === Symbol.for("react.memo_cache_sentinel") ? (st = () => {
631
+ const Nt = new ResizeObserver(($t) => {
632
+ me($t[0].target.clientWidth || 620), ue($t[0].target.clientHeight || 480);
702
633
  });
703
- return y.current && (rt(y.current.clientHeight || 480), v(y.current.clientWidth || 620), h || e.observe(y.current)), () => e.disconnect();
704
- }, [h, s]), /* @__PURE__ */ i.jsx(
705
- "div",
706
- {
707
- className: `${x || "light"} flex ${h ? "w-fit grow-0" : "w-full grow"}`,
708
- dir: c === "he" || c === "ar" ? "rtl" : void 0,
709
- children: /* @__PURE__ */ i.jsx(
710
- "div",
711
- {
712
- className: B(
713
- `${A ? A === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${c || "en"}`,
714
- h ? "w-fit" : "w-full",
715
- a?.graphContainer
716
- ),
717
- style: {
718
- ...C?.graphContainer || {},
719
- ...A && A !== !0 ? { backgroundColor: A } : {}
720
- },
721
- id: gt,
722
- ref: T,
723
- "aria-label": Mt || `${b ? `The graph shows ${b}. ` : ""}This is a line chart that highlights the difference between two datasets over time.${w ? ` ${w}` : ""}`,
724
- children: /* @__PURE__ */ i.jsx(
725
- "div",
726
- {
727
- className: "flex grow",
728
- style: { padding: A ? U || "1rem" : U || 0 },
729
- children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
730
- b || w || P || E ? /* @__PURE__ */ i.jsx(
731
- ci,
732
- {
733
- styles: {
734
- title: C?.title,
735
- description: C?.description
736
- },
737
- classNames: {
738
- title: a?.title,
739
- description: a?.description
740
- },
741
- graphTitle: b,
742
- graphDescription: w,
743
- width: h,
744
- graphDownload: P ? T.current : void 0,
745
- dataDownload: E ? V.map((e) => e.data).filter((e) => e !== void 0).length > 0 ? V.map((e) => e.data).filter((e) => e !== void 0) : V.filter((e) => e !== void 0) : null
746
- }
747
- ) : null,
748
- /* @__PURE__ */ i.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: V.length === 0 ? /* @__PURE__ */ i.jsx(xi, {}) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
749
- X && G ? /* @__PURE__ */ i.jsx(
750
- mi,
751
- {
752
- width: h,
753
- colorLegendTitle: nt,
754
- colors: X,
755
- colorDomain: G,
756
- showNAColor: !1
757
- }
758
- ) : null,
759
- /* @__PURE__ */ i.jsx(
760
- "div",
761
- {
762
- className: "flex flex-col grow justify-center leading-0",
763
- ref: y,
764
- "aria-label": "Graph area",
765
- children: (h || r) && (s || ot) ? /* @__PURE__ */ i.jsx(
766
- hi,
767
- {
768
- data: V,
769
- lineColor: q || ct.primaryColors["blue-600"],
770
- width: h || r,
771
- height: Math.max(
772
- m,
773
- s || ($ ? m ? (h || r) * $ > m ? (h || r) * $ : m : (h || r) * $ : ot)
774
- ),
775
- suffix: W,
776
- prefix: D,
777
- dateFormat: yt,
778
- showValues: M,
779
- noOfXTicks: ht,
780
- leftMargin: F,
781
- rightMargin: J,
782
- topMargin: K,
783
- bottomMargin: Q,
784
- tooltip: n,
785
- highlightAreaSettings: ut,
786
- onSeriesMouseOver: pt,
787
- refValues: Z,
788
- minValue: H,
789
- maxValue: ft,
790
- animate: N === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : N || { duration: 0, once: !0, amount: 0 },
791
- rtl: c === "he" || c === "ar",
792
- strokeWidth: I,
793
- showDots: tt,
794
- annotations: it,
795
- customHighlightAreaSettings: l,
796
- regressionLine: dt,
797
- showIntervalDots: Y,
798
- showIntervalValues: p,
799
- intervalLineStrokeWidth: wt,
800
- intervalLineColors: vt,
801
- intervalAreaColor: _,
802
- intervalAreaOpacity: jt,
803
- yAxisTitle: S,
804
- noOfYTicks: k,
805
- minDate: et,
806
- maxDate: at,
807
- curveType: g,
808
- styles: C,
809
- classNames: a,
810
- precision: Ct,
811
- customLayers: bt
812
- }
813
- ) : null
814
- }
815
- )
816
- ] }) }),
817
- L || z ? /* @__PURE__ */ i.jsx(
818
- li,
819
- {
820
- styles: { footnote: C?.footnote, source: C?.source },
821
- classNames: {
822
- footnote: a?.footnote,
823
- source: a?.source
824
- },
825
- sources: L,
826
- footNote: z,
827
- width: h
828
- }
829
- ) : null
830
- ] })
831
- }
832
- )
833
- }
834
- )
835
- }
836
- );
634
+ return St.current && Nt.observe(St.current), () => Nt.disconnect();
635
+ }, rt = [], t[12] = st, t[13] = rt) : (st = t[12], rt = t[13]), $e(st, rt);
636
+ const $ = h?.graphContainer, lt = u?.graphContainer;
637
+ let T;
638
+ t[14] !== h?.description || t[15] !== h?.title || t[16] !== b || t[17] !== Kt || t[18] !== C || t[19] !== Jt || t[20] !== q || t[21] !== u?.description || t[22] !== u?.title || t[23] !== p ? (T = q || C || Jt || Kt ? /* @__PURE__ */ n.jsx(mi, { styles: {
639
+ title: u?.title,
640
+ description: u?.description
641
+ }, classNames: {
642
+ title: h?.title,
643
+ description: h?.description
644
+ }, graphTitle: q, graphDescription: C, width: p, graphDownload: Jt ? z : void 0, dataDownload: Kt ? b.map(Ti).filter($i).length > 0 ? b.map(Ni).filter(Si) : b.filter(Ii) : null }) : null, t[14] = h?.description, t[15] = h?.title, t[16] = b, t[17] = Kt, t[18] = C, t[19] = Jt, t[20] = q, t[21] = u?.description, t[22] = u?.title, t[23] = p, t[24] = T) : T = t[24];
645
+ let W;
646
+ t[25] !== jt || t[26] !== Ot || t[27] !== g || t[28] !== h || t[29] !== vt || t[30] !== P || t[31] !== V || t[32] !== Dt || t[33] !== bt || t[34] !== It || t[35] !== b || t[36] !== s || t[37] !== X || t[38] !== Ut || t[39] !== qt || t[40] !== zt || t[41] !== Bt || t[42] !== A || t[43] !== it || t[44] !== J || t[45] !== Z || t[46] !== ne || t[47] !== Q || t[48] !== yt || t[49] !== tt || t[50] !== Vt || t[51] !== ie || t[52] !== kt || t[53] !== _ || t[54] !== ce || t[55] !== a || t[56] !== le || t[57] !== ot || t[58] !== nt || t[59] !== r || t[60] !== et || t[61] !== At || t[62] !== u || t[63] !== v || t[64] !== k || t[65] !== B || t[66] !== o || t[67] !== m || t[68] !== p || t[69] !== se ? (W = b.length === 0 ? /* @__PURE__ */ n.jsx(fi, {}) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
647
+ vt && P ? /* @__PURE__ */ n.jsx(ui, { width: p, colorLegendTitle: V, colors: vt, colorDomain: P, showNAColor: !1, className: h?.colorLegend }) : null,
648
+ /* @__PURE__ */ n.jsx(hi, { ref: St, children: B && k ? /* @__PURE__ */ n.jsx(xi, { data: b, lineColor: J || Ve.primaryColors["blue-600"], width: B, height: k, suffix: v, prefix: _, dateFormat: s, showValues: et, noOfXTicks: tt ?? pi(B), leftMargin: it, rightMargin: le, topMargin: m, bottomMargin: g, tooltip: o, highlightAreaSettings: X, onSeriesMouseOver: ie, refValues: ce, minValue: yt, maxValue: ne, animate: jt === !0 ? {
649
+ duration: 0.5,
650
+ once: !0,
651
+ amount: 0.5
652
+ } : jt || {
653
+ duration: 0,
654
+ once: !0,
655
+ amount: 0
656
+ }, rtl: A === "he" || A === "ar", strokeWidth: At, showDots: ot, annotations: Ot, customHighlightAreaSettings: bt, regressionLine: a, showIntervalDots: nt, showIntervalValues: r, intervalLineStrokeWidth: Bt, intervalLineColors: zt, intervalAreaColor: Ut, intervalAreaOpacity: qt, yAxisTitle: se, noOfYTicks: Vt, minDate: Q, maxDate: Z, curveType: Dt, styles: u, classNames: h, precision: kt, customLayers: It }) : null })
657
+ ] }), t[25] = jt, t[26] = Ot, t[27] = g, t[28] = h, t[29] = vt, t[30] = P, t[31] = V, t[32] = Dt, t[33] = bt, t[34] = It, t[35] = b, t[36] = s, t[37] = X, t[38] = Ut, t[39] = qt, t[40] = zt, t[41] = Bt, t[42] = A, t[43] = it, t[44] = J, t[45] = Z, t[46] = ne, t[47] = Q, t[48] = yt, t[49] = tt, t[50] = Vt, t[51] = ie, t[52] = kt, t[53] = _, t[54] = ce, t[55] = a, t[56] = le, t[57] = ot, t[58] = nt, t[59] = r, t[60] = et, t[61] = At, t[62] = u, t[63] = v, t[64] = k, t[65] = B, t[66] = o, t[67] = m, t[68] = p, t[69] = se, t[70] = W) : W = t[70];
658
+ let R;
659
+ t[71] !== h?.footnote || t[72] !== h?.source || t[73] !== Wt || t[74] !== L || t[75] !== u?.footnote || t[76] !== u?.source || t[77] !== p ? (R = L || Wt ? /* @__PURE__ */ n.jsx(ci, { styles: {
660
+ footnote: u?.footnote,
661
+ source: u?.source
662
+ }, classNames: {
663
+ footnote: h?.footnote,
664
+ source: h?.source
665
+ }, sources: L, footNote: Wt, width: p }) : null, t[71] = h?.footnote, t[72] = h?.source, t[73] = Wt, t[74] = L, t[75] = u?.footnote, t[76] = u?.source, t[77] = p, t[78] = R) : R = t[78];
666
+ let ct;
667
+ return t[79] !== f || t[80] !== wt || t[81] !== ht || t[82] !== l || t[83] !== A || t[84] !== Ct || t[85] !== mt || t[86] !== ee || t[87] !== $ || t[88] !== lt || t[89] !== T || t[90] !== W || t[91] !== R || t[92] !== Lt || t[93] !== p ? (ct = /* @__PURE__ */ n.jsxs(yi, { className: $, style: lt, id: ht, ref: z, "aria-label": f, backgroundColor: wt, theme: Lt, language: A, minHeight: Ct, width: p, height: l, relativeHeight: ee, padding: mt, children: [
668
+ T,
669
+ W,
670
+ R
671
+ ] }), t[79] = f, t[80] = wt, t[81] = ht, t[82] = l, t[83] = A, t[84] = Ct, t[85] = mt, t[86] = ee, t[87] = $, t[88] = lt, t[89] = T, t[90] = W, t[91] = R, t[92] = Lt, t[93] = p, t[94] = ct) : ct = t[94], ct;
672
+ }
673
+ function Ii(i) {
674
+ return i !== void 0;
675
+ }
676
+ function Si(i) {
677
+ return i !== void 0;
678
+ }
679
+ function Ni(i) {
680
+ return i.data;
681
+ }
682
+ function $i(i) {
683
+ return i !== void 0;
684
+ }
685
+ function Ti(i) {
686
+ return i.data;
837
687
  }
838
688
  export {
839
- Xi as LineChartWithConfidenceInterval
689
+ pn as LineChartWithConfidenceInterval
840
690
  };
841
691
  //# sourceMappingURL=LineChartWithConfidenceInterval.js.map