@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,508 +1,510 @@
1
- import { c as Le, j as i, m as de } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { useRef as pe, useState as Tt, useEffect as ge } from "react";
3
- import { g as Me, N as Ce } from "./getSliderMarks-vXsR8RrR.js";
4
- import { f as $e, p as ke } from "./parse-Dv4of-PN.js";
5
- import { i as ye } from "./index-Bwrro8-q.js";
6
- import { n as be } from "./numberFormattingFunction-14YCbkN2.js";
7
- import { T as Ve } from "./Tooltip-CohiIbLZ.js";
8
- import { X as ve } from "./XTicksAndGridLines-BDmF9etl.js";
9
- import { A as we } from "./Axis-RyGdzLrG.js";
10
- import { Y as Ne } from "./YAxesLabels-DoGvgHdw.js";
11
- import { R as Ae } from "./ReferenceLine-CNEjAYvv.js";
12
- import { D as Oe } from "./DetailsModal-C3qlUyFK.js";
13
- import { b as De } from "./band-DYty33LD.js";
14
- import { a as je } from "./linear-DNXM5Pdl.js";
15
- import { m as Dt } from "./proxy--_f6k3NR.js";
16
- import { u as Te } from "./use-in-view-DqvKAveg.js";
17
- import { A as he } from "./index-Co3YGYe1.js";
18
- import { GraphFooter as Se } from "./GraphFooter.js";
19
- import { GraphHeader as Fe } from "./GraphHeader.js";
20
- import { ColorLegend as Ie } from "./ColorLegend.js";
21
- import { Colors as Be } from "./Colors.js";
22
- import { E as Ge } from "./EmptyState-B3fPoH6L.js";
23
- import { P as Re, e as Pe } from "./index-CZ0elhKR.js";
24
- import { c as xe } from "./checkIfNullOrUndefined-DmfiKkNw.js";
25
- import { c as Ee } from "./ensureCompleteData-CDIukSG6.js";
26
- import { a as Xe, G as He } from "./GraphContainer-DwMxWRCi.js";
27
- function Ye(a) {
28
- const t = Le.c(141), {
1
+ import { c as Ce, j as i, m as ue } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useRef as ye, useState as St, useEffect as ve } from "react";
3
+ import { g as $e, N as ke } from "./getSliderMarks-X-_goqH9.js";
4
+ import { f as Ve, p as Ne } from "./parse-Dv4of-PN.js";
5
+ import { i as be } from "./index-Bwrro8-q.js";
6
+ import { n as we } from "./numberFormattingFunction-DqMf_v1m.js";
7
+ import { T as Oe } from "./Tooltip-Bj-s__cI.js";
8
+ import { X as Ae } from "./XTicksAndGridLines-gdbGX2rm.js";
9
+ import { A as je } from "./Axis-CNZYWzH0.js";
10
+ import { Y as De } from "./YAxesLabels-hWEUCTvs.js";
11
+ import { R as Be } from "./ReferenceLine-D41VuUhE.js";
12
+ import { D as Te } from "./DetailsModal-B2XBWR7w.js";
13
+ import { b as Se } from "./band-DYty33LD.js";
14
+ import { a as Le } from "./linear-DNXM5Pdl.js";
15
+ import { m as Tt } from "./proxy-BsxtcZKa.js";
16
+ import { u as Fe } from "./use-in-view-KOXq5Kmc.js";
17
+ import { A as pe } from "./index-Cv_5q6Rb.js";
18
+ import { GraphFooter as Ie } from "./GraphFooter.js";
19
+ import { GraphHeader as Ge } from "./GraphHeader.js";
20
+ import { ColorLegend as Re } from "./ColorLegend.js";
21
+ import { Colors as Me } from "./Colors.js";
22
+ import { E as Pe } from "./EmptyState-CaxXCkiN.js";
23
+ import { P as Ee, e as Xe } from "./index-ApTBN0kp.js";
24
+ import { c as ge } from "./checkIfNullOrUndefined-DmfiKkNw.js";
25
+ import { c as He } from "./ensureCompleteData-CDIukSG6.js";
26
+ import { a as Ye, G as We } from "./GraphContainer-B8ZqOzKI.js";
27
+ function ze(a) {
28
+ const t = Ce.c(142), {
29
29
  data: l,
30
- width: L,
30
+ width: j,
31
31
  height: v,
32
- barColors: f,
33
- centerGap: w,
34
- refValues: h,
35
- maxValue: mt,
36
- minValue: jt,
37
- showValues: dt,
38
- axisTitles: ft,
39
- rightMargin: Jt,
40
- leftMargin: Kt,
41
- topMargin: Y,
42
- bottomMargin: Qt,
43
- tooltip: St,
44
- onSeriesMouseOver: ut,
45
- barPadding: Ft,
46
- truncateBy: Bt,
47
- onSeriesMouseClick: N,
48
- showTicks: Lt,
49
- suffix: ht,
50
- prefix: xt,
51
- resetSelectionOnDoubleClick: Mt,
52
- detailsOnClick: T,
32
+ barColors: u,
33
+ centerGap: b,
34
+ refValues: p,
35
+ maxValue: rt,
36
+ minValue: Bt,
37
+ showValues: ct,
38
+ axisTitles: mt,
39
+ rightMargin: Kt,
40
+ leftMargin: Qt,
41
+ topMargin: H,
42
+ bottomMargin: Zt,
43
+ tooltip: Ft,
44
+ onSeriesMouseOver: dt,
45
+ barPadding: It,
46
+ truncateBy: Lt,
47
+ onSeriesMouseClick: k,
48
+ showTicks: Mt,
49
+ suffix: ft,
50
+ prefix: ut,
51
+ resetSelectionOnDoubleClick: Ct,
52
+ detailsOnClick: D,
53
53
  styles: n,
54
54
  classNames: s,
55
- noOfTicks: M,
55
+ noOfTicks: B,
56
56
  animate: d,
57
- precision: pt,
58
- customLayers: S,
59
- minValueLeftBar: F,
60
- minValueRightBar: I,
61
- naLabel: It,
62
- hideAxisLine: Gt
63
- } = a, re = pe(null);
64
- let Ct;
65
- t[0] !== d.amount || t[1] !== d.once ? (Ct = {
57
+ precision: xt,
58
+ customLayers: T,
59
+ minValueLeftBar: S,
60
+ minValueRightBar: F,
61
+ naLabel: Gt,
62
+ hideAxisLine: Rt,
63
+ locale: ht
64
+ } = a, _t = ye(null);
65
+ let Pt;
66
+ t[0] !== d.amount || t[1] !== d.once ? (Pt = {
66
67
  once: d.once,
67
68
  amount: d.amount
68
- }, t[0] = d.amount, t[1] = d.once, t[2] = Ct) : Ct = t[2];
69
- const O = Te(re, Ct), [Rt, W] = Tt(void 0), [G, gt] = Tt(void 0), [u, r] = Tt(void 0), [Pt, yt] = Tt(void 0);
70
- let Et;
71
- t[3] !== Qt || t[4] !== Kt || t[5] !== Jt || t[6] !== Y ? (Et = {
72
- top: Y,
73
- bottom: Qt,
74
- left: Kt,
75
- right: Jt
76
- }, t[3] = Qt, t[4] = Kt, t[5] = Jt, t[6] = Y, t[7] = Et) : Et = t[7];
77
- const m = Et, C = L - m.left - m.right, $ = v - m.top - m.bottom;
78
- let bt, R, k, z, q, U, J, K, V, A, Q, Z, _, tt;
79
- if (t[8] !== d || t[9] !== f[0] || t[10] !== f[1] || t[11] !== Ft || t[12] !== w || t[13] !== s?.graphObjectValues || t[14] !== s?.xAxis?.gridLines || t[15] !== s?.xAxis?.labels || t[16] !== s?.yAxis?.axis || t[17] !== s?.yAxis?.labels || t[18] !== S || t[19] !== l || t[20] !== T || t[21] !== $ || t[22] !== C || t[23] !== v || t[24] !== Gt || t[25] !== O || t[26] !== m.bottom || t[27] !== m.left || t[28] !== m.top || t[29] !== mt || t[30] !== jt || t[31] !== F || t[32] !== I || t[33] !== G || t[34] !== It || t[35] !== M || t[36] !== N || t[37] !== ut || t[38] !== pt || t[39] !== xt || t[40] !== h || t[41] !== Mt || t[42] !== Lt || t[43] !== dt || t[44] !== n?.graphObjectValues || t[45] !== n?.xAxis?.gridLines || t[46] !== n?.xAxis?.labels || t[47] !== n?.yAxis?.axis || t[48] !== n?.yAxis?.labels || t[49] !== ht || t[50] !== Y || t[51] !== Bt || t[52] !== L) {
80
- const Zt = l.map(ti), j = De().domain(Zt.map(_e)).range([$, 0]).paddingInner(Ft), x = je().domain([jt, mt]).range([0, (C - w) / 2]).nice(), D = x.ticks(M), p = je().domain([jt, mt]).range([(C - w) / 2, 0]).nice(), Vt = p.ticks(M);
81
- k = Dt.svg, _ = `${L}px`, tt = `${v}px`, z = `0 0 ${L} ${v}`, q = "ltr", U = re, V = `translate(${m.left},${m.top})`, t[67] !== S ? (A = S.filter(Ze).map(Qe), t[67] = S, t[68] = A) : A = t[68];
82
- const c = s?.yAxis?.axis;
83
- let B;
84
- t[69] !== c ? (B = {
85
- axis: c
86
- }, t[69] = c, t[70] = B) : B = t[70];
87
- const qt = n?.yAxis?.axis;
88
- let Nt;
89
- t[71] !== qt ? (Nt = {
90
- axis: qt
91
- }, t[71] = qt, t[72] = Nt) : Nt = t[72], Q = /* @__PURE__ */ i.jsxs("g", { transform: "translate(0,0)", children: [
92
- Lt ? /* @__PURE__ */ i.jsx(ve, { values: Vt.filter(Ke), x: Vt.filter(Je).map((e) => p(e)), y1: 0 - Y, y2: $ + m.bottom, styles: {
69
+ }, t[0] = d.amount, t[1] = d.once, t[2] = Pt) : Pt = t[2];
70
+ const V = Fe(_t, Pt), [$t, pt] = St(void 0), [N, x] = St(void 0), [f, gt] = St(void 0), [Et, yt] = St(void 0);
71
+ let vt;
72
+ t[3] !== Zt || t[4] !== Qt || t[5] !== Kt || t[6] !== H ? (vt = {
73
+ top: H,
74
+ bottom: Zt,
75
+ left: Qt,
76
+ right: Kt
77
+ }, t[3] = Zt, t[4] = Qt, t[5] = Kt, t[6] = H, t[7] = vt) : vt = t[7];
78
+ const m = vt, I = j - m.left - m.right, L = v - m.top - m.bottom;
79
+ let bt, G, M, Y, W, z, q, U, C, w, J, K, Q, Z;
80
+ if (t[8] !== d || t[9] !== u[0] || t[10] !== u[1] || t[11] !== It || t[12] !== b || t[13] !== s?.graphObjectValues || t[14] !== s?.xAxis?.gridLines || t[15] !== s?.xAxis?.labels || t[16] !== s?.yAxis?.axis || t[17] !== s?.yAxis?.labels || t[18] !== T || t[19] !== l || t[20] !== D || t[21] !== L || t[22] !== I || t[23] !== v || t[24] !== Rt || t[25] !== V || t[26] !== ht || t[27] !== m.bottom || t[28] !== m.left || t[29] !== m.top || t[30] !== rt || t[31] !== Bt || t[32] !== S || t[33] !== F || t[34] !== N || t[35] !== Gt || t[36] !== B || t[37] !== k || t[38] !== dt || t[39] !== xt || t[40] !== ut || t[41] !== p || t[42] !== Ct || t[43] !== Mt || t[44] !== ct || t[45] !== n?.graphObjectValues || t[46] !== n?.xAxis?.gridLines || t[47] !== n?.xAxis?.labels || t[48] !== n?.yAxis?.axis || t[49] !== n?.yAxis?.labels || t[50] !== ft || t[51] !== H || t[52] !== Lt || t[53] !== j) {
81
+ const wt = l.map(ii), O = Se().domain(wt.map(ei)).range([L, 0]).paddingInner(It), h = Le().domain([Bt, rt]).range([0, (I - b) / 2]).nice(), re = h.ticks(B), c = Le().domain([Bt, rt]).range([(I - b) / 2, 0]).nice(), ce = c.ticks(B);
82
+ M = Tt.svg, Q = `${j}px`, Z = `${v}px`, Y = `0 0 ${j} ${v}`, W = "ltr", z = _t, C = `translate(${m.left},${m.top})`, t[68] !== T ? (w = T.filter(ti).map(_e), t[68] = T, t[69] = w) : w = t[69];
83
+ const At = s?.yAxis?.axis;
84
+ let r;
85
+ t[70] !== At ? (r = {
86
+ axis: At
87
+ }, t[70] = At, t[71] = r) : r = t[71];
88
+ const $ = n?.yAxis?.axis;
89
+ let Ot;
90
+ t[72] !== $ ? (Ot = {
91
+ axis: $
92
+ }, t[72] = $, t[73] = Ot) : Ot = t[73], J = /* @__PURE__ */ i.jsxs("g", { transform: "translate(0,0)", children: [
93
+ Mt ? /* @__PURE__ */ i.jsx(Ae, { values: ce.filter(Ze), x: ce.filter(Qe).map((e) => c(e)), y1: 0 - H, y2: L + m.bottom, styles: {
93
94
  gridLines: n?.xAxis?.gridLines,
94
95
  labels: n?.xAxis?.labels
95
96
  }, classNames: {
96
97
  gridLines: s?.xAxis?.gridLines,
97
98
  labels: s?.xAxis?.labels
98
- }, suffix: ht, prefix: xt, labelType: "secondary", showGridLines: !0, leftLabel: !0, precision: pt }) : null,
99
- /* @__PURE__ */ i.jsxs(he, { children: [
100
- Zt.map((e, y) => /* @__PURE__ */ i.jsxs(Dt.g, { className: "undp-viz-g-with-hover", opacity: 0.85, onMouseEnter: (b) => {
101
- W(e), yt(b.clientY), r(b.clientX), ut?.(e);
99
+ }, suffix: ft, prefix: ut, labelType: "secondary", showGridLines: !0, leftLabel: !0, precision: xt, locale: ht }) : null,
100
+ /* @__PURE__ */ i.jsxs(pe, { children: [
101
+ wt.map((e, g) => /* @__PURE__ */ i.jsxs(Tt.g, { className: "undp-viz-g-with-hover", opacity: 0.85, onMouseEnter: (A) => {
102
+ pt(e), yt(A.clientY), gt(A.clientX), dt?.(e);
102
103
  }, onClick: () => {
103
- (N || T) && (ye(G, e) && Mt ? (gt(void 0), N?.(void 0)) : (gt(e), N?.(e)));
104
- }, onMouseMove: (b) => {
105
- W(e), yt(b.clientY), r(b.clientX);
104
+ (k || D) && (be(N, e) && Ct ? (x(void 0), k?.(void 0)) : (x(e), k?.(e)));
105
+ }, onMouseMove: (A) => {
106
+ pt(e), yt(A.clientY), gt(A.clientX);
106
107
  }, onMouseLeave: () => {
107
- W(void 0), r(void 0), yt(void 0), ut?.(void 0);
108
+ pt(void 0), gt(void 0), yt(void 0), dt?.(void 0);
108
109
  }, children: [
109
- e.leftBar ? /* @__PURE__ */ i.jsx(Dt.rect, { y: j(`${y}`), style: {
110
- fill: f[0]
111
- }, height: j.bandwidth(), variants: {
110
+ e.leftBar ? /* @__PURE__ */ i.jsx(Tt.rect, { y: O(`${g}`), style: {
111
+ fill: u[0]
112
+ }, height: O.bandwidth(), variants: {
112
113
  initial: {
113
- x: p(0),
114
+ x: c(0),
114
115
  width: 0
115
116
  },
116
117
  whileInView: {
117
- x: e.leftBar < 0 ? p(0) : p(e.leftBar),
118
- width: e.leftBar < 0 ? p(e.leftBar) - p(0) : p(0) - p(e.leftBar),
118
+ x: e.leftBar < 0 ? c(0) : c(e.leftBar),
119
+ width: e.leftBar < 0 ? c(e.leftBar) - c(0) : c(0) - c(e.leftBar),
119
120
  transition: {
120
121
  duration: d.duration
121
122
  }
122
123
  }
123
- }, initial: "initial", animate: O ? "whileInView" : "initial", exit: {
124
- x: p(0),
124
+ }, initial: "initial", animate: V ? "whileInView" : "initial", exit: {
125
+ x: c(0),
125
126
  width: 0,
126
127
  transition: {
127
128
  duration: d.duration
128
129
  }
129
130
  } }) : null,
130
- dt ? /* @__PURE__ */ i.jsx(Dt.text, { y: j(`${y}`) + j.bandwidth() / 2, style: {
131
- textAnchor: e.rightBar && e.rightBar > 0 ? "end" : "start",
131
+ ct ? /* @__PURE__ */ i.jsx(Tt.text, { y: O(`${g}`) + O.bandwidth() / 2, style: {
132
+ textAnchor: e.leftBar && e.leftBar > 0 ? "end" : "start",
132
133
  ...n?.graphObjectValues || {}
133
- }, dx: e.rightBar && e.rightBar > 0 ? -5 : 5, dy: "0.33em", className: de("graph-value text-sm", s?.graphObjectValues), exit: {
134
+ }, dx: e.leftBar && e.leftBar > 0 ? -5 : 5, dy: "0.33em", className: ue("graph-value text-sm", s?.graphObjectValues), exit: {
134
135
  opacity: 0,
135
136
  transition: {
136
137
  duration: d.duration
137
138
  }
138
139
  }, variants: {
139
140
  initial: {
140
- x: p(0),
141
+ x: c(0),
141
142
  opacity: 0,
142
- fill: f[0]
143
+ fill: u[0]
143
144
  },
144
145
  whileInView: {
145
- x: e.leftBar ? p(e.leftBar) : p(F < 0 ? 0 : F),
146
+ x: e.leftBar ? c(e.leftBar) : c(S < 0 ? 0 : S),
146
147
  opacity: 1,
147
- fill: f[0],
148
+ fill: u[0],
148
149
  transition: {
149
150
  duration: d.duration
150
151
  }
151
152
  }
152
- }, initial: "initial", animate: O ? "whileInView" : "initial", children: be(e.rightBar, It, pt, xt, ht) }) : null
153
+ }, initial: "initial", animate: V ? "whileInView" : "initial", children: we(e.leftBar, Gt, xt, ut, ft, ht) }) : null
153
154
  ] }, e.label)),
154
- /* @__PURE__ */ i.jsx(we, { hideAxisLine: Gt, y1: -2.5, y2: $ + m.bottom, x1: p(F < 0 ? 0 : F), x2: p(F < 0 ? 0 : F), classNames: B, styles: Nt }),
155
- h ? /* @__PURE__ */ i.jsx(i.Fragment, { children: h.map((e, y) => /* @__PURE__ */ i.jsx(Ae, { text: e.text, color: e.color, x: p(e.value), y1: 0 - m.top, y2: $ + m.bottom, textSide: "left", classNames: e.classNames, styles: e.styles, animate: d, isInView: O }, y)) }) : null
155
+ /* @__PURE__ */ i.jsx(je, { hideAxisLine: Rt, y1: -2.5, y2: L + m.bottom, x1: c(S < 0 ? 0 : S), x2: c(S < 0 ? 0 : S), classNames: r, styles: Ot }),
156
+ p ? /* @__PURE__ */ i.jsx(i.Fragment, { children: p.map((e, g) => /* @__PURE__ */ i.jsx(Be, { text: e.text, color: e.color, x: c(e.value), y1: 0 - m.top, y2: L + m.bottom, textSide: "left", classNames: e.classNames, styles: e.styles, animate: d, isInView: V }, g)) }) : null
156
157
  ] })
157
158
  ] });
158
- const _t = s?.yAxis?.axis;
159
- let wt;
160
- t[73] !== _t ? (wt = {
161
- axis: _t
162
- }, t[73] = _t, t[74] = wt) : wt = t[74];
163
- const Ot = n?.yAxis?.axis;
164
- let At;
165
- t[75] !== Ot ? (At = {
166
- axis: Ot
167
- }, t[75] = Ot, t[76] = At) : At = t[76], Z = /* @__PURE__ */ i.jsxs("g", { transform: `translate(${(C + w) / 2},0)`, children: [
168
- Lt ? /* @__PURE__ */ i.jsx(ve, { values: D.filter(Ue), x: D.filter(qe).map((e) => x(e)), y1: 0 - Y, y2: $ + m.bottom, styles: {
159
+ const qt = s?.yAxis?.axis;
160
+ let Ut;
161
+ t[74] !== qt ? (Ut = {
162
+ axis: qt
163
+ }, t[74] = qt, t[75] = Ut) : Ut = t[75];
164
+ const Dt = n?.yAxis?.axis;
165
+ let jt;
166
+ t[76] !== Dt ? (jt = {
167
+ axis: Dt
168
+ }, t[76] = Dt, t[77] = jt) : jt = t[77], K = /* @__PURE__ */ i.jsxs("g", { transform: `translate(${(I + b) / 2},0)`, children: [
169
+ Mt ? /* @__PURE__ */ i.jsx(Ae, { values: re.filter(Ke), x: re.filter(Je).map((e) => h(e)), y1: 0 - H, y2: L + m.bottom, styles: {
169
170
  gridLines: n?.xAxis?.gridLines,
170
171
  labels: n?.xAxis?.labels
171
172
  }, classNames: {
172
173
  gridLines: s?.xAxis?.gridLines,
173
174
  labels: s?.xAxis?.labels
174
- }, suffix: ht, prefix: xt, labelType: "secondary", showGridLines: !0, precision: pt }) : null,
175
- /* @__PURE__ */ i.jsxs(he, { children: [
176
- Zt.map((e, y) => /* @__PURE__ */ i.jsxs(Dt.g, { className: "undp-viz-g-with-hover", opacity: 0.85, onMouseEnter: (b) => {
177
- W(e), yt(b.clientY), r(b.clientX), ut?.(e);
175
+ }, suffix: ft, prefix: ut, labelType: "secondary", showGridLines: !0, precision: xt, locale: ht }) : null,
176
+ /* @__PURE__ */ i.jsxs(pe, { children: [
177
+ wt.map((e, g) => /* @__PURE__ */ i.jsxs(Tt.g, { className: "undp-viz-g-with-hover", opacity: 0.85, onMouseEnter: (A) => {
178
+ pt(e), yt(A.clientY), gt(A.clientX), dt?.(e);
178
179
  }, onClick: () => {
179
- (N || T) && (ye(G, e) && Mt ? (gt(void 0), N?.(void 0)) : (gt(e), N?.(e)));
180
- }, onMouseMove: (b) => {
181
- W(e), yt(b.clientY), r(b.clientX);
180
+ (k || D) && (be(N, e) && Ct ? (x(void 0), k?.(void 0)) : (x(e), k?.(e)));
181
+ }, onMouseMove: (A) => {
182
+ pt(e), yt(A.clientY), gt(A.clientX);
182
183
  }, onMouseLeave: () => {
183
- W(void 0), r(void 0), yt(void 0), ut?.(void 0);
184
+ pt(void 0), gt(void 0), yt(void 0), dt?.(void 0);
184
185
  }, children: [
185
- e.rightBar ? /* @__PURE__ */ i.jsx(Dt.rect, { y: j(`${y}`), style: {
186
- fill: f[1]
187
- }, height: j.bandwidth(), exit: {
188
- x: x(0),
186
+ e.rightBar ? /* @__PURE__ */ i.jsx(Tt.rect, { y: O(`${g}`), style: {
187
+ fill: u[1]
188
+ }, height: O.bandwidth(), exit: {
189
+ x: h(0),
189
190
  width: 0,
190
191
  transition: {
191
192
  duration: d.duration
192
193
  }
193
194
  }, variants: {
194
195
  initial: {
195
- x: x(0),
196
+ x: h(0),
196
197
  width: 0
197
198
  },
198
199
  whileInView: {
199
- x: e.rightBar >= 0 ? x(0) : x(e.rightBar),
200
- width: e.rightBar >= 0 ? x(e.rightBar) - x(0) : x(0) - x(e.rightBar),
200
+ x: e.rightBar >= 0 ? h(0) : h(e.rightBar),
201
+ width: e.rightBar >= 0 ? h(e.rightBar) - h(0) : h(0) - h(e.rightBar),
201
202
  transition: {
202
203
  duration: d.duration
203
204
  }
204
205
  }
205
- }, initial: "initial", animate: O ? "whileInView" : "initial" }) : null,
206
- dt ? /* @__PURE__ */ i.jsx(Dt.text, { y: j(`${y}`) + j.bandwidth() / 2, style: {
206
+ }, initial: "initial", animate: V ? "whileInView" : "initial" }) : null,
207
+ ct ? /* @__PURE__ */ i.jsx(Tt.text, { y: O(`${g}`) + O.bandwidth() / 2, style: {
207
208
  textAnchor: e.rightBar && e.rightBar < 0 ? "end" : "start",
208
209
  ...n?.graphObjectValues || {}
209
- }, className: de("graph-value text-sm", s?.graphObjectValues), dx: e.rightBar && e.rightBar < 0 ? -5 : 5, dy: "0.33em", exit: {
210
+ }, className: ue("graph-value text-sm", s?.graphObjectValues), dx: e.rightBar && e.rightBar < 0 ? -5 : 5, dy: "0.33em", exit: {
210
211
  opacity: 0,
211
212
  transition: {
212
213
  duration: d.duration
213
214
  }
214
215
  }, variants: {
215
216
  initial: {
216
- x: x(0),
217
+ x: h(0),
217
218
  opacity: 0,
218
- fill: f[1]
219
+ fill: u[1]
219
220
  },
220
221
  whileInView: {
221
- x: e.rightBar ? x(e.rightBar) : x(I < 0 ? 0 : I),
222
+ x: e.rightBar ? h(e.rightBar) : h(F < 0 ? 0 : F),
222
223
  opacity: 1,
223
- fill: f[1],
224
+ fill: u[1],
224
225
  transition: {
225
226
  duration: d.duration
226
227
  }
227
228
  }
228
- }, initial: "initial", animate: O ? "whileInView" : "initial", children: be(e.rightBar, It, pt, xt, ht) }) : null
229
- ] }, y)),
230
- /* @__PURE__ */ i.jsx(we, { hideAxisLine: Gt, y1: -2.5, y2: $ + m.bottom, x1: x(I < 0 ? 0 : I), x2: x(I < 0 ? 0 : I), classNames: wt, styles: At }),
231
- h ? /* @__PURE__ */ i.jsx(i.Fragment, { children: h.map((e, y) => /* @__PURE__ */ i.jsx(Ae, { text: e.text, color: e.color, x: x(e.value), y1: 0 - m.top, y2: $ + m.bottom, textSide: "right", classNames: e.classNames, styles: e.styles, animate: d, isInView: O }, y)) }) : null
229
+ }, initial: "initial", animate: V ? "whileInView" : "initial", children: we(e.rightBar, Gt, xt, ut, ft, ht) }) : null
230
+ ] }, g)),
231
+ /* @__PURE__ */ i.jsx(je, { hideAxisLine: Rt, y1: -2.5, y2: L + m.bottom, x1: h(F < 0 ? 0 : F), x2: h(F < 0 ? 0 : F), classNames: Ut, styles: jt }),
232
+ p ? /* @__PURE__ */ i.jsx(i.Fragment, { children: p.map((e, g) => /* @__PURE__ */ i.jsx(Be, { text: e.text, color: e.color, x: h(e.value), y1: 0 - m.top, y2: L + m.bottom, textSide: "right", classNames: e.classNames, styles: e.styles, animate: d, isInView: V }, g)) }) : null
232
233
  ] })
233
- ] }), R = he, bt = Dt.g, J = `translate(${C / 2},0)`, K = Zt.map((e, y) => /* @__PURE__ */ i.jsx(Ne, { value: `${e.label}`.length < Bt ? `${e.label}` : `${`${e.label}`.substring(0, Bt)}...`, y: j(`${e.id}`), x: 0 - w / 2, width: w, height: j.bandwidth(), alignment: "center", style: n?.yAxis?.labels, className: s?.yAxis?.labels, animate: d, isInView: O }, y)), t[8] = d, t[9] = f[0], t[10] = f[1], t[11] = Ft, t[12] = w, t[13] = s?.graphObjectValues, t[14] = s?.xAxis?.gridLines, t[15] = s?.xAxis?.labels, t[16] = s?.yAxis?.axis, t[17] = s?.yAxis?.labels, t[18] = S, t[19] = l, t[20] = T, t[21] = $, t[22] = C, t[23] = v, t[24] = Gt, t[25] = O, t[26] = m.bottom, t[27] = m.left, t[28] = m.top, t[29] = mt, t[30] = jt, t[31] = F, t[32] = I, t[33] = G, t[34] = It, t[35] = M, t[36] = N, t[37] = ut, t[38] = pt, t[39] = xt, t[40] = h, t[41] = Mt, t[42] = Lt, t[43] = dt, t[44] = n?.graphObjectValues, t[45] = n?.xAxis?.gridLines, t[46] = n?.xAxis?.labels, t[47] = n?.yAxis?.axis, t[48] = n?.yAxis?.labels, t[49] = ht, t[50] = Y, t[51] = Bt, t[52] = L, t[53] = bt, t[54] = R, t[55] = k, t[56] = z, t[57] = q, t[58] = U, t[59] = J, t[60] = K, t[61] = V, t[62] = A, t[63] = Q, t[64] = Z, t[65] = _, t[66] = tt;
234
+ ] }), G = pe, bt = Tt.g, q = `translate(${I / 2},0)`, U = wt.map((e, g) => /* @__PURE__ */ i.jsx(De, { value: `${e.label}`.length < Lt ? `${e.label}` : `${`${e.label}`.substring(0, Lt)}...`, y: O(`${e.id}`), x: 0 - b / 2, width: b, height: O.bandwidth(), alignment: "center", style: n?.yAxis?.labels, className: s?.yAxis?.labels, animate: d, isInView: V }, g)), t[8] = d, t[9] = u[0], t[10] = u[1], t[11] = It, t[12] = b, t[13] = s?.graphObjectValues, t[14] = s?.xAxis?.gridLines, t[15] = s?.xAxis?.labels, t[16] = s?.yAxis?.axis, t[17] = s?.yAxis?.labels, t[18] = T, t[19] = l, t[20] = D, t[21] = L, t[22] = I, t[23] = v, t[24] = Rt, t[25] = V, t[26] = ht, t[27] = m.bottom, t[28] = m.left, t[29] = m.top, t[30] = rt, t[31] = Bt, t[32] = S, t[33] = F, t[34] = N, t[35] = Gt, t[36] = B, t[37] = k, t[38] = dt, t[39] = xt, t[40] = ut, t[41] = p, t[42] = Ct, t[43] = Mt, t[44] = ct, t[45] = n?.graphObjectValues, t[46] = n?.xAxis?.gridLines, t[47] = n?.xAxis?.labels, t[48] = n?.yAxis?.axis, t[49] = n?.yAxis?.labels, t[50] = ft, t[51] = H, t[52] = Lt, t[53] = j, t[54] = bt, t[55] = G, t[56] = M, t[57] = Y, t[58] = W, t[59] = z, t[60] = q, t[61] = U, t[62] = C, t[63] = w, t[64] = J, t[65] = K, t[66] = Q, t[67] = Z;
234
235
  } else
235
- bt = t[53], R = t[54], k = t[55], z = t[56], q = t[57], U = t[58], J = t[59], K = t[60], V = t[61], A = t[62], Q = t[63], Z = t[64], _ = t[65], tt = t[66];
236
- let P;
237
- t[77] !== bt || t[78] !== J || t[79] !== K ? (P = /* @__PURE__ */ i.jsx(bt, { transform: J, children: K }), t[77] = bt, t[78] = J, t[79] = K, t[80] = P) : P = t[80];
238
- let et;
239
- t[81] !== R || t[82] !== P ? (et = /* @__PURE__ */ i.jsx(R, { children: P }), t[81] = R, t[82] = P, t[83] = et) : et = t[83];
240
- const Xt = `translate(0,${$})`, Ht = n?.yAxis?.title;
241
- let it;
242
- t[84] !== f[0] || t[85] !== Ht ? (it = {
243
- fill: f[0],
236
+ bt = t[54], G = t[55], M = t[56], Y = t[57], W = t[58], z = t[59], q = t[60], U = t[61], C = t[62], w = t[63], J = t[64], K = t[65], Q = t[66], Z = t[67];
237
+ let R;
238
+ t[78] !== bt || t[79] !== q || t[80] !== U ? (R = /* @__PURE__ */ i.jsx(bt, { transform: q, children: U }), t[78] = bt, t[79] = q, t[80] = U, t[81] = R) : R = t[81];
239
+ let _;
240
+ t[82] !== G || t[83] !== R ? (_ = /* @__PURE__ */ i.jsx(G, { children: R }), t[82] = G, t[83] = R, t[84] = _) : _ = t[84];
241
+ const Xt = `translate(0,${L})`, Ht = n?.yAxis?.title;
242
+ let tt;
243
+ t[85] !== u[0] || t[86] !== Ht ? (tt = {
244
+ fill: u[0],
244
245
  textAnchor: "end",
245
246
  ...Ht
246
- }, t[84] = f[0], t[85] = Ht, t[86] = it) : it = t[86];
247
+ }, t[85] = u[0], t[86] = Ht, t[87] = tt) : tt = t[87];
247
248
  const Yt = s?.yAxis?.title;
248
- let E;
249
- t[87] !== Yt ? (E = de("text-base", Yt), t[87] = Yt, t[88] = E) : E = t[88];
250
- const $t = C / 2 - w / 2;
251
- let at;
252
- t[89] !== ft[0] || t[90] !== it || t[91] !== E || t[92] !== $t ? (at = /* @__PURE__ */ i.jsx("text", { style: it, className: E, x: $t, y: 0, dx: -5, dy: 20, children: ft[0] }), t[89] = ft[0], t[90] = it, t[91] = E, t[92] = $t, t[93] = at) : at = t[93];
249
+ let P;
250
+ t[88] !== Yt ? (P = ue("text-base", Yt), t[88] = Yt, t[89] = P) : P = t[89];
251
+ const kt = I / 2 - b / 2;
252
+ let et;
253
+ t[90] !== mt[0] || t[91] !== tt || t[92] !== P || t[93] !== kt ? (et = /* @__PURE__ */ i.jsx("text", { style: tt, className: P, x: kt, y: 0, dx: -5, dy: 20, children: mt[0] }), t[90] = mt[0], t[91] = tt, t[92] = P, t[93] = kt, t[94] = et) : et = t[94];
253
254
  const Wt = n?.yAxis?.title;
254
- let st;
255
- t[94] !== f[1] || t[95] !== Wt ? (st = {
256
- fill: f[1],
255
+ let it;
256
+ t[95] !== u[1] || t[96] !== Wt ? (it = {
257
+ fill: u[1],
257
258
  textAnchor: "start",
258
259
  ...Wt
259
- }, t[94] = f[1], t[95] = Wt, t[96] = st) : st = t[96];
260
+ }, t[95] = u[1], t[96] = Wt, t[97] = it) : it = t[97];
260
261
  const zt = s?.yAxis?.title;
262
+ let at;
263
+ t[98] !== zt ? (at = ue("text-base", zt), t[98] = zt, t[99] = at) : at = t[99];
264
+ const Vt = I / 2 + b / 2;
265
+ let st;
266
+ t[100] !== mt[1] || t[101] !== it || t[102] !== at || t[103] !== Vt ? (st = /* @__PURE__ */ i.jsx("text", { style: it, className: at, x: Vt, y: 0, dx: 5, dy: 20, children: mt[1] }), t[100] = mt[1], t[101] = it, t[102] = at, t[103] = Vt, t[104] = st) : st = t[104];
267
+ let E;
268
+ t[105] !== Xt || t[106] !== et || t[107] !== st ? (E = /* @__PURE__ */ i.jsxs("g", { transform: Xt, children: [
269
+ et,
270
+ st
271
+ ] }), t[105] = Xt, t[106] = et, t[107] = st, t[108] = E) : E = t[108];
261
272
  let ot;
262
- t[97] !== zt ? (ot = de("text-base", zt), t[97] = zt, t[98] = ot) : ot = t[98];
263
- const kt = C / 2 + w / 2;
264
- let lt;
265
- t[99] !== ft[1] || t[100] !== st || t[101] !== ot || t[102] !== kt ? (lt = /* @__PURE__ */ i.jsx("text", { style: st, className: ot, x: kt, y: 0, dx: 5, dy: 20, children: ft[1] }), t[99] = ft[1], t[100] = st, t[101] = ot, t[102] = kt, t[103] = lt) : lt = t[103];
273
+ t[109] !== T ? (ot = T.filter(Ue).map(qe), t[109] = T, t[110] = ot) : ot = t[110];
266
274
  let X;
267
- t[104] !== Xt || t[105] !== at || t[106] !== lt ? (X = /* @__PURE__ */ i.jsxs("g", { transform: Xt, children: [
268
- at,
269
- lt
270
- ] }), t[104] = Xt, t[105] = at, t[106] = lt, t[107] = X) : X = t[107];
271
- let nt;
272
- t[108] !== S ? (nt = S.filter(ze).map(We), t[108] = S, t[109] = nt) : nt = t[109];
273
- let H;
274
- t[110] !== et || t[111] !== X || t[112] !== nt || t[113] !== V || t[114] !== A || t[115] !== Q || t[116] !== Z ? (H = /* @__PURE__ */ i.jsxs("g", { transform: V, children: [
275
- A,
276
- Q,
277
- Z,
278
- et,
279
- X,
280
- nt
281
- ] }), t[110] = et, t[111] = X, t[112] = nt, t[113] = V, t[114] = A, t[115] = Q, t[116] = Z, t[117] = H) : H = t[117];
275
+ t[111] !== _ || t[112] !== E || t[113] !== ot || t[114] !== C || t[115] !== w || t[116] !== J || t[117] !== K ? (X = /* @__PURE__ */ i.jsxs("g", { transform: C, children: [
276
+ w,
277
+ J,
278
+ K,
279
+ _,
280
+ E,
281
+ ot
282
+ ] }), t[111] = _, t[112] = E, t[113] = ot, t[114] = C, t[115] = w, t[116] = J, t[117] = K, t[118] = X) : X = t[118];
282
283
  let o;
283
- t[118] !== k || t[119] !== z || t[120] !== q || t[121] !== U || t[122] !== H || t[123] !== _ || t[124] !== tt ? (o = /* @__PURE__ */ i.jsx(k, { width: _, height: tt, viewBox: z, direction: q, ref: U, children: H }), t[118] = k, t[119] = z, t[120] = q, t[121] = U, t[122] = H, t[123] = _, t[124] = tt, t[125] = o) : o = t[125];
284
- let rt;
285
- t[126] !== s?.tooltip || t[127] !== u || t[128] !== Pt || t[129] !== Rt || t[130] !== n?.tooltip || t[131] !== St ? (rt = Rt && St && u && Pt ? /* @__PURE__ */ i.jsx(Ve, { data: Rt, body: St, xPos: u, yPos: Pt, backgroundStyle: n?.tooltip, className: s?.tooltip }) : null, t[126] = s?.tooltip, t[127] = u, t[128] = Pt, t[129] = Rt, t[130] = n?.tooltip, t[131] = St, t[132] = rt) : rt = t[132];
286
- let ct;
287
- t[133] !== s?.modal || t[134] !== T || t[135] !== G ? (ct = T && G !== void 0 ? /* @__PURE__ */ i.jsx(Oe, { body: T, data: G, setData: gt, className: s?.modal }) : null, t[133] = s?.modal, t[134] = T, t[135] = G, t[136] = ct) : ct = t[136];
288
- let vt;
289
- return t[137] !== o || t[138] !== rt || t[139] !== ct ? (vt = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
284
+ t[119] !== M || t[120] !== Y || t[121] !== W || t[122] !== z || t[123] !== X || t[124] !== Q || t[125] !== Z ? (o = /* @__PURE__ */ i.jsx(M, { width: Q, height: Z, viewBox: Y, direction: W, ref: z, children: X }), t[119] = M, t[120] = Y, t[121] = W, t[122] = z, t[123] = X, t[124] = Q, t[125] = Z, t[126] = o) : o = t[126];
285
+ let lt;
286
+ t[127] !== s?.tooltip || t[128] !== f || t[129] !== Et || t[130] !== $t || t[131] !== n?.tooltip || t[132] !== Ft ? (lt = $t && Ft && f && Et ? /* @__PURE__ */ i.jsx(Oe, { data: $t, body: Ft, xPos: f, yPos: Et, backgroundStyle: n?.tooltip, className: s?.tooltip }) : null, t[127] = s?.tooltip, t[128] = f, t[129] = Et, t[130] = $t, t[131] = n?.tooltip, t[132] = Ft, t[133] = lt) : lt = t[133];
287
+ let nt;
288
+ t[134] !== s?.modal || t[135] !== D || t[136] !== N ? (nt = D && N !== void 0 ? /* @__PURE__ */ i.jsx(Te, { body: D, data: N, setData: x, className: s?.modal }) : null, t[134] = s?.modal, t[135] = D, t[136] = N, t[137] = nt) : nt = t[137];
289
+ let Nt;
290
+ return t[138] !== o || t[139] !== lt || t[140] !== nt ? (Nt = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
290
291
  o,
291
- rt,
292
- ct
293
- ] }), t[137] = o, t[138] = rt, t[139] = ct, t[140] = vt) : vt = t[140], vt;
292
+ lt,
293
+ nt
294
+ ] }), t[138] = o, t[139] = lt, t[140] = nt, t[141] = Nt) : Nt = t[141], Nt;
294
295
  }
295
- function We(a) {
296
+ function qe(a) {
296
297
  return a.layer;
297
298
  }
298
- function ze(a) {
299
+ function Ue(a) {
299
300
  return a.position === "after";
300
301
  }
301
- function qe(a) {
302
+ function Je(a) {
302
303
  return a !== 0;
303
304
  }
304
- function Ue(a) {
305
+ function Ke(a) {
305
306
  return a !== 0;
306
307
  }
307
- function Je(a) {
308
+ function Qe(a) {
308
309
  return a !== 0;
309
310
  }
310
- function Ke(a) {
311
+ function Ze(a) {
311
312
  return a !== 0;
312
313
  }
313
- function Qe(a) {
314
+ function _e(a) {
314
315
  return a.layer;
315
316
  }
316
- function Ze(a) {
317
+ function ti(a) {
317
318
  return a.position === "before";
318
319
  }
319
- function _e(a) {
320
+ function ei(a) {
320
321
  return `${a.id}`;
321
322
  }
322
- function ti(a, t) {
323
+ function ii(a, t) {
323
324
  return {
324
325
  ...a,
325
326
  id: `${t}`
326
327
  };
327
328
  }
328
- function ne(a, t, l, L) {
329
- const v = a.map((h) => h[t]).filter((h) => !xe(h)), f = xe(l) ? Math.min(...v) >= 0 ? 0 : Math.min(...v) : l, w = xe(L) ? Math.max(...v) < 0 ? 0 : Math.max(...v) : L;
329
+ function ne(a, t, l, j) {
330
+ const v = a.map((p) => p[t]).filter((p) => !ge(p)), u = ge(l) ? Math.min(...v) >= 0 ? 0 : Math.min(...v) : l, b = ge(j) ? Math.max(...v) < 0 ? 0 : Math.max(...v) : j;
330
331
  return {
331
- min: f,
332
- max: w
332
+ min: u,
333
+ max: b
333
334
  };
334
335
  }
335
- function Ti(a) {
336
- const t = Le.c(119), {
336
+ function Fi(a) {
337
+ const t = Ce.c(120), {
337
338
  data: l,
338
- graphTitle: L,
339
+ graphTitle: j,
339
340
  sources: v,
340
- graphDescription: f,
341
- height: w,
342
- width: h,
343
- footNote: mt,
344
- padding: jt,
345
- barColors: dt,
346
- backgroundColor: ft,
347
- leftMargin: Jt,
348
- rightMargin: Kt,
349
- topMargin: Y,
350
- bottomMargin: Qt,
351
- rightBarTitle: St,
352
- leftBarTitle: ut,
353
- tooltip: Ft,
354
- relativeHeight: Bt,
355
- onSeriesMouseOver: N,
356
- graphID: Lt,
357
- barPadding: ht,
358
- truncateBy: xt,
359
- onSeriesMouseClick: Mt,
360
- centerGap: T,
341
+ graphDescription: u,
342
+ height: b,
343
+ width: p,
344
+ footNote: rt,
345
+ padding: Bt,
346
+ barColors: ct,
347
+ backgroundColor: mt,
348
+ leftMargin: Kt,
349
+ rightMargin: Qt,
350
+ topMargin: H,
351
+ bottomMargin: Zt,
352
+ rightBarTitle: Ft,
353
+ leftBarTitle: dt,
354
+ tooltip: It,
355
+ relativeHeight: Lt,
356
+ onSeriesMouseOver: k,
357
+ graphID: Mt,
358
+ barPadding: ft,
359
+ truncateBy: ut,
360
+ onSeriesMouseClick: Ct,
361
+ centerGap: D,
361
362
  showValues: n,
362
363
  maxValue: s,
363
- minValue: M,
364
+ minValue: B,
364
365
  refValues: d,
365
- suffix: pt,
366
- prefix: S,
367
- showTicks: F,
368
- showColorScale: I,
369
- graphDownload: It,
370
- dataDownload: Gt,
371
- language: re,
372
- colorLegendTitle: Ct,
373
- minHeight: O,
374
- theme: Rt,
375
- ariaLabel: W,
376
- resetSelectionOnDoubleClick: G,
377
- detailsOnClick: gt,
378
- styles: u,
379
- classNames: r,
380
- noOfTicks: Pt,
381
- animate: yt,
382
- precision: Et,
383
- customLayers: m,
384
- timeline: C,
385
- naLabel: $,
386
- hideAxisLine: bt
366
+ suffix: xt,
367
+ prefix: T,
368
+ showTicks: S,
369
+ showColorScale: F,
370
+ graphDownload: Gt,
371
+ dataDownload: Rt,
372
+ language: ht,
373
+ colorLegendTitle: _t,
374
+ minHeight: Pt,
375
+ theme: V,
376
+ ariaLabel: $t,
377
+ resetSelectionOnDoubleClick: pt,
378
+ detailsOnClick: N,
379
+ styles: x,
380
+ classNames: f,
381
+ noOfTicks: gt,
382
+ animate: Et,
383
+ precision: yt,
384
+ customLayers: vt,
385
+ timeline: m,
386
+ naLabel: I,
387
+ hideAxisLine: L,
388
+ locale: bt
387
389
  } = a;
390
+ let G;
391
+ t[0] !== ct ? (G = ct === void 0 ? [Me.light.categoricalColors.colors[0], Me.light.categoricalColors.colors[1]] : ct, t[0] = ct, t[1] = G) : G = t[1];
392
+ const M = G, Y = mt === void 0 ? !1 : mt, W = Kt === void 0 ? 20 : Kt, z = Qt === void 0 ? 20 : Qt, q = H === void 0 ? 25 : H, U = Zt === void 0 ? 30 : Zt, C = Ft === void 0 ? "Right bar graph" : Ft, w = dt === void 0 ? "Left bar graph" : dt, J = ft === void 0 ? 0.25 : ft, K = ut === void 0 ? 999 : ut, Q = D === void 0 ? 100 : D, Z = n === void 0 ? !0 : n;
388
393
  let R;
389
- t[0] !== dt ? (R = dt === void 0 ? [Be.light.categoricalColors.colors[0], Be.light.categoricalColors.colors[1]] : dt, t[0] = dt, t[1] = R) : R = t[1];
390
- const k = R, z = ft === void 0 ? !1 : ft, q = Jt === void 0 ? 20 : Jt, U = Kt === void 0 ? 20 : Kt, J = Y === void 0 ? 25 : Y, K = Qt === void 0 ? 30 : Qt, V = St === void 0 ? "Right bar graph" : St, A = ut === void 0 ? "Left bar graph" : ut, Q = ht === void 0 ? 0.25 : ht, Z = xt === void 0 ? 999 : xt, _ = T === void 0 ? 100 : T, tt = n === void 0 ? !0 : n;
391
- let P;
392
- t[2] !== d ? (P = d === void 0 ? [] : d, t[2] = d, t[3] = P) : P = t[3];
393
- const et = P, Xt = pt === void 0 ? "" : pt, Ht = S === void 0 ? "" : S, it = F === void 0 ? !0 : F, Yt = I === void 0 ? !1 : I, E = It === void 0 ? !1 : It, $t = Gt === void 0 ? !1 : Gt, at = re === void 0 ? "en" : re, Wt = O === void 0 ? 0 : O, st = Rt === void 0 ? "light" : Rt, zt = G === void 0 ? !0 : G, ot = Pt === void 0 ? 5 : Pt, kt = yt === void 0 ? !1 : yt, lt = Et === void 0 ? 2 : Et;
394
+ t[2] !== d ? (R = d === void 0 ? [] : d, t[2] = d, t[3] = R) : R = t[3];
395
+ const _ = R, Xt = xt === void 0 ? "" : xt, Ht = T === void 0 ? "" : T, tt = S === void 0 ? !0 : S, Yt = F === void 0 ? !1 : F, P = Gt === void 0 ? !1 : Gt, kt = Rt === void 0 ? !1 : Rt, et = ht === void 0 ? "en" : ht, Wt = Pt === void 0 ? 0 : Pt, it = V === void 0 ? "light" : V, zt = pt === void 0 ? !0 : pt, at = gt === void 0 ? 5 : gt, Vt = Et === void 0 ? !1 : Et, st = yt === void 0 ? 2 : yt;
396
+ let E;
397
+ t[4] !== vt ? (E = vt === void 0 ? [] : vt, t[4] = vt, t[5] = E) : E = t[5];
398
+ const ot = E;
394
399
  let X;
395
- t[4] !== m ? (X = m === void 0 ? [] : m, t[4] = m, t[5] = X) : X = t[5];
396
- const nt = X;
397
- let H;
398
- t[6] !== C ? (H = C === void 0 ? {
400
+ t[6] !== m ? (X = m === void 0 ? {
399
401
  enabled: !1,
400
402
  autoplay: !1,
401
403
  showOnlyActiveDate: !0
402
- } : C, t[6] = C, t[7] = H) : H = t[7];
403
- const o = H, rt = $ === void 0 ? "NA" : $, ct = bt === void 0 ? !1 : bt, [vt, Zt] = Tt(0), [j, x] = Tt(0), [D, p] = Tt(o.autoplay);
404
- let Vt;
404
+ } : m, t[6] = m, t[7] = X) : X = t[7];
405
+ const o = X, lt = I === void 0 ? "NA" : I, nt = L === void 0 ? !1 : L, Nt = bt === void 0 ? "en" : bt, [wt, O] = St(0), [h, re] = St(0), [c, ce] = St(o.autoplay);
406
+ let At;
405
407
  if (t[8] !== l || t[9] !== o.dateFormat) {
406
- let g;
407
- t[11] !== o.dateFormat ? (g = (Ut) => ke(`${Ut.date}`, o.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[11] = o.dateFormat, t[12] = g) : g = t[12], Vt = [...new Set(l.filter(ni).map(g))], Vt.sort(li), t[8] = l, t[9] = o.dateFormat, t[10] = Vt;
408
+ let y;
409
+ t[11] !== o.dateFormat ? (y = (Jt) => Ne(`${Jt.date}`, o.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[11] = o.dateFormat, t[12] = y) : y = t[12], At = [...new Set(l.filter(ci).map(y))], At.sort(ri), t[8] = l, t[9] = o.dateFormat, t[10] = At;
408
410
  } else
409
- Vt = t[10];
410
- const c = Vt, [B, qt] = Tt(o.autoplay ? 0 : c.length - 1), Nt = pe(null), _t = pe(null);
411
- let wt, Ot;
412
- t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (wt = () => {
413
- const g = new ResizeObserver((Ut) => {
414
- Zt(Ut[0].target.clientWidth || 620), x(Ut[0].target.clientHeight || 480);
411
+ At = t[10];
412
+ const r = At, [$, Ot] = St(o.autoplay ? 0 : r.length - 1), qt = ye(null), Ut = ye(null);
413
+ let Dt, jt;
414
+ t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Dt = () => {
415
+ const y = new ResizeObserver((Jt) => {
416
+ O(Jt[0].target.clientWidth || 620), re(Jt[0].target.clientHeight || 480);
415
417
  });
416
- return Nt.current && g.observe(Nt.current), () => g.disconnect();
417
- }, Ot = [], t[13] = wt, t[14] = Ot) : (wt = t[13], Ot = t[14]), ge(wt, Ot);
418
- let At, e;
419
- t[15] !== D || t[16] !== o.speed || t[17] !== c ? (At = () => {
420
- const g = setInterval(() => {
421
- qt((Ut) => Ut < c.length - 1 ? Ut + 1 : 0);
418
+ return qt.current && y.observe(qt.current), () => y.disconnect();
419
+ }, jt = [], t[13] = Dt, t[14] = jt) : (Dt = t[13], jt = t[14]), ve(Dt, jt);
420
+ let e, g;
421
+ t[15] !== c || t[16] !== o.speed || t[17] !== r ? (e = () => {
422
+ const y = setInterval(() => {
423
+ Ot((Jt) => Jt < r.length - 1 ? Jt + 1 : 0);
422
424
  }, (o.speed || 2) * 1e3);
423
- return D || clearInterval(g), () => clearInterval(g);
424
- }, e = [c, D, o.speed], t[15] = D, t[16] = o.speed, t[17] = c, t[18] = At, t[19] = e) : (At = t[18], e = t[19]), ge(At, e);
425
- const y = o.dateFormat || "yyyy";
426
- let b;
427
- t[20] !== B || t[21] !== y || t[22] !== o.showOnlyActiveDate || t[23] !== c ? (b = Me(c, B, o.showOnlyActiveDate, y), t[20] = B, t[21] = y, t[22] = o.showOnlyActiveDate, t[23] = c, t[24] = b) : b = t[24];
428
- const ce = b, fe = r?.graphContainer, ue = u?.graphContainer;
425
+ return c || clearInterval(y), () => clearInterval(y);
426
+ }, g = [r, c, o.speed], t[15] = c, t[16] = o.speed, t[17] = r, t[18] = e, t[19] = g) : (e = t[18], g = t[19]), ve(e, g);
427
+ const A = o.dateFormat || "yyyy";
428
+ let me;
429
+ t[20] !== $ || t[21] !== A || t[22] !== o.showOnlyActiveDate || t[23] !== r ? (me = $e(r, $, o.showOnlyActiveDate, A), t[20] = $, t[21] = A, t[22] = o.showOnlyActiveDate, t[23] = r, t[24] = me) : me = t[24];
430
+ const de = me, xe = f?.graphContainer, he = x?.graphContainer;
429
431
  let te;
430
- t[25] !== r?.description || t[26] !== r?.title || t[27] !== l || t[28] !== $t || t[29] !== f || t[30] !== E || t[31] !== L || t[32] !== u?.description || t[33] !== u?.title || t[34] !== h ? (te = L || f || E || $t ? /* @__PURE__ */ i.jsx(Fe, { styles: {
431
- title: u?.title,
432
- description: u?.description
432
+ t[25] !== f?.description || t[26] !== f?.title || t[27] !== l || t[28] !== kt || t[29] !== u || t[30] !== P || t[31] !== j || t[32] !== x?.description || t[33] !== x?.title || t[34] !== p ? (te = j || u || P || kt ? /* @__PURE__ */ i.jsx(Ge, { styles: {
433
+ title: x?.title,
434
+ description: x?.description
433
435
  }, classNames: {
434
- title: r?.title,
435
- description: r?.description
436
- }, graphTitle: L, graphDescription: f, width: h, graphDownload: E ? _t : void 0, dataDownload: $t ? l.map(oi).filter(si).length > 0 ? l.map(ai).filter(ii) : l.filter(ei) : null }) : null, t[25] = r?.description, t[26] = r?.title, t[27] = l, t[28] = $t, t[29] = f, t[30] = E, t[31] = L, t[32] = u?.description, t[33] = u?.title, t[34] = h, t[35] = te) : te = t[35];
436
+ title: f?.title,
437
+ description: f?.description
438
+ }, graphTitle: j, graphDescription: u, width: p, graphDownload: P ? Ut : void 0, dataDownload: kt ? l.map(ni).filter(li).length > 0 ? l.map(oi).filter(si) : l.filter(ai) : null }) : null, t[25] = f?.description, t[26] = f?.title, t[27] = l, t[28] = kt, t[29] = u, t[30] = P, t[31] = j, t[32] = x?.description, t[33] = x?.title, t[34] = p, t[35] = te) : te = t[35];
437
439
  let ee;
438
- t[36] !== B || t[37] !== ce || t[38] !== D || t[39] !== o.enabled || t[40] !== c ? (ee = o.enabled && c.length > 0 && ce ? /* @__PURE__ */ i.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
440
+ t[36] !== $ || t[37] !== de || t[38] !== c || t[39] !== o.enabled || t[40] !== r ? (ee = o.enabled && r.length > 0 && de ? /* @__PURE__ */ i.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
439
441
  /* @__PURE__ */ i.jsx("button", { type: "button", onClick: () => {
440
- p(!D);
441
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": D ? "Click to pause animation" : "Click to play animation", children: D ? /* @__PURE__ */ i.jsx(Re, {}) : /* @__PURE__ */ i.jsx(Pe, {}) }),
442
- /* @__PURE__ */ i.jsx(Ce, { min: c[0], max: c[c.length - 1], marks: ce, step: null, defaultValue: c[c.length - 1], value: c[B], onChangeComplete: (g) => {
443
- qt(c.indexOf(g));
444
- }, onChange: (g) => {
445
- qt(c.indexOf(g));
442
+ ce(!c);
443
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": c ? "Click to pause animation" : "Click to play animation", children: c ? /* @__PURE__ */ i.jsx(Ee, {}) : /* @__PURE__ */ i.jsx(Xe, {}) }),
444
+ /* @__PURE__ */ i.jsx(ke, { min: r[0], max: r[r.length - 1], marks: de, step: null, defaultValue: r[r.length - 1], value: r[$], onChangeComplete: (y) => {
445
+ Ot(r.indexOf(y));
446
+ }, onChange: (y) => {
447
+ Ot(r.indexOf(y));
446
448
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
447
- ] }) : null, t[36] = B, t[37] = ce, t[38] = D, t[39] = o.enabled, t[40] = c, t[41] = ee) : ee = t[41];
449
+ ] }) : null, t[36] = $, t[37] = de, t[38] = c, t[39] = o.enabled, t[40] = r, t[41] = ee) : ee = t[41];
448
450
  let ie;
449
- t[42] !== k || t[43] !== r?.colorLegend || t[44] !== Ct || t[45] !== l.length || t[46] !== A || t[47] !== V || t[48] !== Yt ? (ie = Yt && l.length > 0 ? /* @__PURE__ */ i.jsx(Ie, { colorLegendTitle: Ct, colorDomain: [A, V], colors: k, showNAColor: !1, className: r?.colorLegend }) : null, t[42] = k, t[43] = r?.colorLegend, t[44] = Ct, t[45] = l.length, t[46] = A, t[47] = V, t[48] = Yt, t[49] = ie) : ie = t[49];
451
+ t[42] !== M || t[43] !== f?.colorLegend || t[44] !== _t || t[45] !== l.length || t[46] !== w || t[47] !== C || t[48] !== Yt ? (ie = Yt && l.length > 0 ? /* @__PURE__ */ i.jsx(Re, { colorLegendTitle: _t, colorDomain: [w, C], colors: M, showNAColor: !1, className: f?.colorLegend }) : null, t[42] = M, t[43] = f?.colorLegend, t[44] = _t, t[45] = l.length, t[46] = w, t[47] = C, t[48] = Yt, t[49] = ie) : ie = t[49];
450
452
  let ae;
451
- t[50] !== l.length ? (ae = l.length === 0 && /* @__PURE__ */ i.jsx(Ge, {}), t[50] = l.length, t[51] = ae) : ae = t[51];
453
+ t[50] !== l.length ? (ae = l.length === 0 && /* @__PURE__ */ i.jsx(Pe, {}), t[50] = l.length, t[51] = ae) : ae = t[51];
452
454
  let se;
453
- t[52] !== kt || t[53] !== k || t[54] !== Q || t[55] !== K || t[56] !== _ || t[57] !== r || t[58] !== nt || t[59] !== l || t[60] !== gt || t[61] !== ct || t[62] !== B || t[63] !== A || t[64] !== q || t[65] !== s || t[66] !== M || t[67] !== rt || t[68] !== ot || t[69] !== Mt || t[70] !== N || t[71] !== lt || t[72] !== Ht || t[73] !== et || t[74] !== zt || t[75] !== V || t[76] !== U || t[77] !== it || t[78] !== tt || t[79] !== u || t[80] !== Xt || t[81] !== j || t[82] !== vt || t[83] !== o.dateFormat || t[84] !== o.enabled || t[85] !== Ft || t[86] !== J || t[87] !== Z || t[88] !== c ? (se = vt && j && l.length > 0 ? /* @__PURE__ */ i.jsx(Ye, { hideAxisLine: ct, data: Ee(l, o.dateFormat || "yyyy").filter((g) => o.enabled ? `${g.date}` === $e(new Date(c[B]), o.dateFormat || "yyyy") : g), barColors: k, width: vt, centerGap: _, height: j, truncateBy: Z, leftMargin: q, rightMargin: U, topMargin: J, bottomMargin: K, axisTitles: [A, V], tooltip: Ft, onSeriesMouseOver: N, barPadding: Q, refValues: et, maxValue: Math.max(ne(l, "leftBar", M, s).max, ne(l, "rightBar", M, s).max), minValue: Math.min(ne(l, "leftBar", M, s).min, ne(l, "rightBar", M, s).min), minValueLeftBar: ne(l, "leftBar", M, s).min, minValueRightBar: ne(l, "rightBar", M, s).min, showValues: tt, onSeriesMouseClick: Mt, showTicks: it, suffix: Xt, prefix: Ht, resetSelectionOnDoubleClick: zt, detailsOnClick: gt, styles: u, classNames: r, noOfTicks: ot, animate: kt === !0 ? {
455
+ t[52] !== Vt || t[53] !== M || t[54] !== J || t[55] !== U || t[56] !== Q || t[57] !== f || t[58] !== ot || t[59] !== l || t[60] !== N || t[61] !== nt || t[62] !== $ || t[63] !== w || t[64] !== W || t[65] !== Nt || t[66] !== s || t[67] !== B || t[68] !== lt || t[69] !== at || t[70] !== Ct || t[71] !== k || t[72] !== st || t[73] !== Ht || t[74] !== _ || t[75] !== zt || t[76] !== C || t[77] !== z || t[78] !== tt || t[79] !== Z || t[80] !== x || t[81] !== Xt || t[82] !== h || t[83] !== wt || t[84] !== o.dateFormat || t[85] !== o.enabled || t[86] !== It || t[87] !== q || t[88] !== K || t[89] !== r ? (se = wt && h && l.length > 0 ? /* @__PURE__ */ i.jsx(ze, { hideAxisLine: nt, data: He(l, o.dateFormat || "yyyy").filter((y) => o.enabled ? `${y.date}` === Ve(new Date(r[$]), o.dateFormat || "yyyy") : y), barColors: M, width: wt, centerGap: Q, height: h, truncateBy: K, leftMargin: W, rightMargin: z, topMargin: q, bottomMargin: U, axisTitles: [w, C], tooltip: It, onSeriesMouseOver: k, barPadding: J, refValues: _, maxValue: Math.max(ne(l, "leftBar", B, s).max, ne(l, "rightBar", B, s).max), minValue: Math.min(ne(l, "leftBar", B, s).min, ne(l, "rightBar", B, s).min), minValueLeftBar: ne(l, "leftBar", B, s).min, minValueRightBar: ne(l, "rightBar", B, s).min, showValues: Z, onSeriesMouseClick: Ct, showTicks: tt, suffix: Xt, prefix: Ht, resetSelectionOnDoubleClick: zt, detailsOnClick: N, styles: x, classNames: f, noOfTicks: at, animate: Vt === !0 ? {
454
456
  duration: 0.5,
455
457
  once: !0,
456
458
  amount: 0.5
457
- } : kt || {
459
+ } : Vt || {
458
460
  duration: 0,
459
461
  once: !0,
460
462
  amount: 0
461
- }, precision: lt, customLayers: nt, naLabel: rt }) : null, t[52] = kt, t[53] = k, t[54] = Q, t[55] = K, t[56] = _, t[57] = r, t[58] = nt, t[59] = l, t[60] = gt, t[61] = ct, t[62] = B, t[63] = A, t[64] = q, t[65] = s, t[66] = M, t[67] = rt, t[68] = ot, t[69] = Mt, t[70] = N, t[71] = lt, t[72] = Ht, t[73] = et, t[74] = zt, t[75] = V, t[76] = U, t[77] = it, t[78] = tt, t[79] = u, t[80] = Xt, t[81] = j, t[82] = vt, t[83] = o.dateFormat, t[84] = o.enabled, t[85] = Ft, t[86] = J, t[87] = Z, t[88] = c, t[89] = se) : se = t[89];
463
+ }, precision: st, customLayers: ot, naLabel: lt, locale: Nt }) : null, t[52] = Vt, t[53] = M, t[54] = J, t[55] = U, t[56] = Q, t[57] = f, t[58] = ot, t[59] = l, t[60] = N, t[61] = nt, t[62] = $, t[63] = w, t[64] = W, t[65] = Nt, t[66] = s, t[67] = B, t[68] = lt, t[69] = at, t[70] = Ct, t[71] = k, t[72] = st, t[73] = Ht, t[74] = _, t[75] = zt, t[76] = C, t[77] = z, t[78] = tt, t[79] = Z, t[80] = x, t[81] = Xt, t[82] = h, t[83] = wt, t[84] = o.dateFormat, t[85] = o.enabled, t[86] = It, t[87] = q, t[88] = K, t[89] = r, t[90] = se) : se = t[90];
462
464
  let oe;
463
- t[90] !== ae || t[91] !== se ? (oe = /* @__PURE__ */ i.jsxs(Xe, { ref: Nt, children: [
465
+ t[91] !== ae || t[92] !== se ? (oe = /* @__PURE__ */ i.jsxs(Ye, { ref: qt, children: [
464
466
  ae,
465
467
  se
466
- ] }), t[90] = ae, t[91] = se, t[92] = oe) : oe = t[92];
468
+ ] }), t[91] = ae, t[92] = se, t[93] = oe) : oe = t[93];
467
469
  let le;
468
- t[93] !== r?.footnote || t[94] !== r?.source || t[95] !== mt || t[96] !== v || t[97] !== u?.footnote || t[98] !== u?.source || t[99] !== h ? (le = v || mt ? /* @__PURE__ */ i.jsx(Se, { styles: {
469
- footnote: u?.footnote,
470
- source: u?.source
470
+ t[94] !== f?.footnote || t[95] !== f?.source || t[96] !== rt || t[97] !== v || t[98] !== x?.footnote || t[99] !== x?.source || t[100] !== p ? (le = v || rt ? /* @__PURE__ */ i.jsx(Ie, { styles: {
471
+ footnote: x?.footnote,
472
+ source: x?.source
471
473
  }, classNames: {
472
- footnote: r?.footnote,
473
- source: r?.source
474
- }, sources: v, footNote: mt, width: h }) : null, t[93] = r?.footnote, t[94] = r?.source, t[95] = mt, t[96] = v, t[97] = u?.footnote, t[98] = u?.source, t[99] = h, t[100] = le) : le = t[100];
475
- let me;
476
- return t[101] !== W || t[102] !== z || t[103] !== Lt || t[104] !== w || t[105] !== at || t[106] !== Wt || t[107] !== jt || t[108] !== Bt || t[109] !== fe || t[110] !== ue || t[111] !== te || t[112] !== ee || t[113] !== ie || t[114] !== oe || t[115] !== le || t[116] !== st || t[117] !== h ? (me = /* @__PURE__ */ i.jsxs(He, { className: fe, style: ue, id: Lt, ref: _t, "aria-label": W, backgroundColor: z, theme: st, language: at, minHeight: Wt, width: h, height: w, relativeHeight: Bt, padding: jt, children: [
474
+ footnote: f?.footnote,
475
+ source: f?.source
476
+ }, sources: v, footNote: rt, width: p }) : null, t[94] = f?.footnote, t[95] = f?.source, t[96] = rt, t[97] = v, t[98] = x?.footnote, t[99] = x?.source, t[100] = p, t[101] = le) : le = t[101];
477
+ let fe;
478
+ return t[102] !== $t || t[103] !== Y || t[104] !== Mt || t[105] !== b || t[106] !== et || t[107] !== Wt || t[108] !== Bt || t[109] !== Lt || t[110] !== xe || t[111] !== he || t[112] !== te || t[113] !== ee || t[114] !== ie || t[115] !== oe || t[116] !== le || t[117] !== it || t[118] !== p ? (fe = /* @__PURE__ */ i.jsxs(We, { className: xe, style: he, id: Mt, ref: Ut, "aria-label": $t, backgroundColor: Y, theme: it, language: et, minHeight: Wt, width: p, height: b, relativeHeight: Lt, padding: Bt, children: [
477
479
  te,
478
480
  ee,
479
481
  ie,
480
482
  oe,
481
483
  le
482
- ] }), t[101] = W, t[102] = z, t[103] = Lt, t[104] = w, t[105] = at, t[106] = Wt, t[107] = jt, t[108] = Bt, t[109] = fe, t[110] = ue, t[111] = te, t[112] = ee, t[113] = ie, t[114] = oe, t[115] = le, t[116] = st, t[117] = h, t[118] = me) : me = t[118], me;
484
+ ] }), t[102] = $t, t[103] = Y, t[104] = Mt, t[105] = b, t[106] = et, t[107] = Wt, t[108] = Bt, t[109] = Lt, t[110] = xe, t[111] = he, t[112] = te, t[113] = ee, t[114] = ie, t[115] = oe, t[116] = le, t[117] = it, t[118] = p, t[119] = fe) : fe = t[119], fe;
483
485
  }
484
- function ei(a) {
486
+ function ai(a) {
485
487
  return a !== void 0;
486
488
  }
487
- function ii(a) {
489
+ function si(a) {
488
490
  return a !== void 0;
489
491
  }
490
- function ai(a) {
492
+ function oi(a) {
491
493
  return a.data;
492
494
  }
493
- function si(a) {
495
+ function li(a) {
494
496
  return a !== void 0;
495
497
  }
496
- function oi(a) {
498
+ function ni(a) {
497
499
  return a.data;
498
500
  }
499
- function li(a, t) {
501
+ function ri(a, t) {
500
502
  return a - t;
501
503
  }
502
- function ni(a) {
504
+ function ci(a) {
503
505
  return a.date;
504
506
  }
505
507
  export {
506
- Ti as ButterflyChart
508
+ Fi as ButterflyChart
507
509
  };
508
510
  //# sourceMappingURL=ButterflyChart.js.map