@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
package/dist/HybridMap.js CHANGED
@@ -1,171 +1,172 @@
1
- import { _ as oo, m as Vt, a as Ht, j as a, c as ao } from "./index-CHPV5EwG-BCLAYDCV.js";
1
+ import { _ as oo, m as Vt, a as Ht, j as a, c as ao } from "./index-CHPV5EwG-BzibaIRc.js";
2
2
  import * as ro from "react";
3
- import io, { useMemo as At, useState as M, useRef as qe, useEffect as Ue, useEffectEvent as Ft } from "react";
3
+ import io, { useMemo as Ft, useState as S, useRef as qe, useEffect as Ue, useEffectEvent as Tt } from "react";
4
4
  import { f as no, p as lo } from "./parse-Dv4of-PN.js";
5
- import { g as so, N as co } from "./getSliderMarks-vXsR8RrR.js";
6
- import { w as mo } from "./Spinner-CtJETd5V.js";
7
- import { i as Tt } from "./index-Bwrro8-q.js";
5
+ import { g as so, N as co } from "./getSliderMarks-X-_goqH9.js";
6
+ import { w as mo } from "./Spinner-B2IIKg9r.js";
7
+ import { i as At } from "./index-Bwrro8-q.js";
8
8
  import { i as Rt, z as po, a as uo, g as ho, b as fo, c as go, d as yo, e as vo, f as xo } from "./index-CKpKc9DR.js";
9
- import { _ as Lt } from "./Typography-DMVW6JnV.js";
9
+ import { _ as Lt } from "./Typography-BO0gQDIT.js";
10
10
  import { i as bo } from "./index-DCsFBfJ_.js";
11
- import { n as Gt } from "./Source-Djkz-7jX.js";
12
- import { w as wo } from "./index-DoS4bGNa-Bgab95kx.js";
13
- import { T as jo } from "./Tooltip-CohiIbLZ.js";
14
- import { X as ko, P as Co, e as Do } from "./index-CZ0elhKR.js";
15
- import { D as No } from "./DetailsModal-C3qlUyFK.js";
16
- import { s as Mo } from "./pow-BXYLJHCq.js";
17
- import { o as So } from "./ordinal-CHaxGJ_l.js";
18
- import { t as Oo } from "./threshold-DFfqcDMa.js";
11
+ import { n as Gt } from "./Source-QGk8vhkS.js";
12
+ import { w as wo } from "./index-w64Zl8io-ihagHOdP.js";
13
+ import { T as jo } from "./Tooltip-Bj-s__cI.js";
14
+ import { X as ko, E as Co, P as Do, e as No } from "./index-ApTBN0kp.js";
15
+ import { D as Mo } from "./DetailsModal-B2XBWR7w.js";
16
+ import { s as So } from "./pow-BXYLJHCq.js";
17
+ import { o as Oo } from "./ordinal-CHaxGJ_l.js";
18
+ import { t as Eo } from "./threshold-DFfqcDMa.js";
19
19
  import { s as Wt } from "./select-DKy99ogv.js";
20
- import { m as me } from "./proxy--_f6k3NR.js";
21
- import { c as yt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
- import { n as Eo } from "./numberFormattingFunction-14YCbkN2.js";
23
- import { u as Bo } from "./use-in-view-DqvKAveg.js";
24
- import { A as Io } from "./index-Co3YGYe1.js";
25
- import { GraphFooter as zo } from "./GraphFooter.js";
26
- import { GraphHeader as Po } from "./GraphHeader.js";
27
- import { Colors as Ne } from "./Colors.js";
20
+ import { m as le } from "./proxy-BsxtcZKa.js";
21
+ import { c as vt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
+ import { n as Io } from "./numberFormattingFunction-DqMf_v1m.js";
23
+ import { u as Bo } from "./use-in-view-KOXq5Kmc.js";
24
+ import { A as zo } from "./index-Cv_5q6Rb.js";
25
+ import { GraphFooter as Po } from "./GraphFooter.js";
26
+ import { GraphHeader as _o } from "./GraphHeader.js";
27
+ import { Colors as ke } from "./Colors.js";
28
28
  import { f as Ut } from "./fetchAndParseData-BAXhgTDM.js";
29
- import { a as _o, G as Lo } from "./GraphContainer-DwMxWRCi.js";
30
- import { g as Wo } from "./getUniqValue-DsqSii6M.js";
31
- import { g as Vo } from "./getJenks-DTCcQSDi.js";
32
- var $o = "Separator", qt = "horizontal", Ao = ["horizontal", "vertical"], Xt = ro.forwardRef((r, e) => {
33
- const { decorative: t, orientation: w = qt, ...y } = r, n = Fo(w) ? w : qt, v = t ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
29
+ import { a as Lo, G as Wo } from "./GraphContainer-B8ZqOzKI.js";
30
+ import { g as Vo } from "./getUniqValue-DsqSii6M.js";
31
+ import { g as $o } from "./getJenks-DTCcQSDi.js";
32
+ var Fo = "Separator", qt = "horizontal", To = ["horizontal", "vertical"], Xt = ro.forwardRef((r, e) => {
33
+ const { decorative: t, orientation: w = qt, ...y } = r, l = Ao(w) ? w : qt, v = t ? { role: "none" } : { "aria-orientation": l === "vertical" ? l : void 0, role: "separator" };
34
34
  return /* @__PURE__ */ Ht.jsx(
35
35
  wo.div,
36
36
  {
37
- "data-orientation": n,
37
+ "data-orientation": l,
38
38
  ...v,
39
39
  ...y,
40
40
  ref: e
41
41
  }
42
42
  );
43
43
  });
44
- Xt.displayName = $o;
45
- function Fo(r) {
46
- return Ao.includes(r);
44
+ Xt.displayName = Fo;
45
+ function Ao(r) {
46
+ return To.includes(r);
47
47
  }
48
48
  var Yt = Xt;
49
49
  const Jt = io.forwardRef((r, e) => {
50
50
  const t = oo.c(14);
51
- let w, y, n, v;
51
+ let w, y, l, v;
52
52
  t[0] !== r ? ({
53
53
  className: w,
54
- variant: n,
54
+ variant: l,
55
55
  orientation: v,
56
56
  ...y
57
- } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = n, t[4] = v) : (w = t[1], y = t[2], n = t[3], v = t[4]);
58
- const x = n === void 0 ? "dark" : n, l = v === void 0 ? "horizontal" : v, h = l === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
57
+ } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = l, t[4] = v) : (w = t[1], y = t[2], l = t[3], v = t[4]);
58
+ const x = l === void 0 ? "dark" : l, s = v === void 0 ? "horizontal" : v, u = s === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
59
59
  let C;
60
- t[5] !== w || t[6] !== h || t[7] !== D ? (C = Vt(h, D, w), t[5] = w, t[6] = h, t[7] = D, t[8] = C) : C = t[8];
61
- let I;
62
- return t[9] !== l || t[10] !== y || t[11] !== e || t[12] !== C ? (I = /* @__PURE__ */ Ht.jsx(Yt, { ...y, ref: e, orientation: l, className: C }), t[9] = l, t[10] = y, t[11] = e, t[12] = C, t[13] = I) : I = t[13], I;
60
+ t[5] !== w || t[6] !== u || t[7] !== D ? (C = Vt(u, D, w), t[5] = w, t[6] = u, t[7] = D, t[8] = C) : C = t[8];
61
+ let B;
62
+ return t[9] !== s || t[10] !== y || t[11] !== e || t[12] !== C ? (B = /* @__PURE__ */ Ht.jsx(Yt, { ...y, ref: e, orientation: s, className: C }), t[9] = s, t[10] = y, t[11] = e, t[12] = C, t[13] = B) : B = t[13], B;
63
63
  });
64
64
  Jt.displayName = Yt.displayName;
65
- function To(r) {
65
+ function Ro(r) {
66
66
  const {
67
67
  data: e,
68
68
  colors: t,
69
69
  mapData: w,
70
70
  mapColorLegendTitle: y,
71
- colorDomain: n,
71
+ colorDomain: l,
72
72
  radius: v,
73
73
  height: x,
74
- width: l,
75
- scale: h,
74
+ width: s,
75
+ scale: u,
76
76
  centerPoint: D,
77
77
  tooltip: C,
78
- showLabels: I,
79
- mapBorderWidth: pe,
80
- mapBorderColor: ue,
81
- mapNoDataColor: Me,
82
- onSeriesMouseOver: U,
83
- showColorScale: Se,
78
+ showLabels: B,
79
+ mapBorderWidth: se,
80
+ mapBorderColor: ce,
81
+ mapNoDataColor: Ce,
82
+ onSeriesMouseOver: G,
83
+ showColorScale: De,
84
84
  zoomScaleExtend: He,
85
85
  zoomTranslateExtend: Xe,
86
- highlightedDataPoints: Oe,
87
- onSeriesMouseClick: W,
88
- resetSelectionOnDoubleClick: Ee,
89
- detailsOnClick: q,
86
+ highlightedDataPoints: Ne,
87
+ onSeriesMouseClick: L,
88
+ resetSelectionOnDoubleClick: Me,
89
+ detailsOnClick: U,
90
90
  styles: N,
91
- classNames: H,
91
+ classNames: q,
92
92
  mapProjection: oe,
93
- zoomInteraction: X,
93
+ zoomInteraction: H,
94
94
  animate: b,
95
- dimmedOpacity: V,
96
- customLayers: he,
97
- maxRadiusValue: fe,
95
+ dimmedOpacity: W,
96
+ customLayers: de,
97
+ maxRadiusValue: Se,
98
98
  categorical: ae,
99
- dotColor: Y,
100
- collapseColorScaleByDefault: Be,
99
+ dotColor: X,
100
+ collapseColorScaleByDefault: Oe,
101
101
  highlightedIds: re,
102
- mapProperty: ge,
103
- dotLegendTitle: ye,
104
- dotBorderColor: Ie,
105
- labelColor: ze,
106
- projectionRotate: J,
107
- rewindCoordinatesInMapData: K,
102
+ mapProperty: me,
103
+ dotLegendTitle: pe,
104
+ dotBorderColor: Ee,
105
+ labelColor: Ie,
106
+ projectionRotate: Y,
107
+ rewindCoordinatesInMapData: J,
108
108
  overlayMapData: p,
109
109
  overlayMapBorderColor: g,
110
- overlayMapBorderWidth: Ye
111
- } = r, Z = At(() => K ? Rt(w, {
110
+ overlayMapBorderWidth: Ye,
111
+ locale: Je
112
+ } = r, K = Ft(() => J ? Rt(w, {
112
113
  reverse: !0
113
- }) : w, [w, K]), Je = At(() => !K || !p ? p : Rt(p, {
114
+ }) : w, [w, J]), Ke = Ft(() => !J || !p ? p : Rt(p, {
114
115
  reverse: !0
115
- }), [p, K]), [z, S] = M(void 0), [ve, ie] = M(Be === void 0 ? !(l < 680) : !Be), ne = qe(null), [le, P] = M(void 0), [Pe, _] = M(void 0), [xe, $] = M(void 0), [se, A] = M(void 0), f = qe(null), j = Bo(f, {
116
+ }), [p, J]), [M, O] = S(void 0), [ue, he] = S(Oe === void 0 ? !(s < 680) : !Oe), fe = qe(null), [V, Z] = S(void 0), [ge, z] = S(void 0), [Be, E] = S(void 0), [ze, $] = S(void 0), f = qe(null), j = Bo(f, {
116
117
  once: b.once,
117
118
  amount: b.amount
118
- }), ce = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? Mo().domain([0, fe]).range([0.25, v]).nice() : void 0, _e = ae ? So().domain(n).range(t) : Oo().domain(n).range(t);
119
+ }), ie = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? So().domain([0, Se]).range([0.25, v]).nice() : void 0, Pe = ae ? Oo().domain(l).range(t) : Eo().domain(l).range(t);
119
120
  Ue(() => {
120
- const o = Wt(ce.current), i = Wt(f.current), u = (d) => {
121
- if (X === "noZoom") return !1;
122
- if (X === "button") return !d.type.includes("wheel");
123
- const Ae = d.type === "wheel", E = d.type.startsWith("touch"), T = d.type === "mousedown" || d.type === "mousemove";
124
- return E ? !0 : Ae ? X === "scroll" ? !0 : d.ctrlKey : T && !d.button && !d.ctrlKey;
125
- }, O = po().scaleExtent(He).translateExtent(Xe || [[-20, -20], [l + 20, x + 20]]).filter(u).on("zoom", ({
126
- transform: d
121
+ const o = Wt(ie.current), i = Wt(f.current), h = (n) => {
122
+ if (H === "noZoom") return !1;
123
+ if (H === "button") return !n.type.includes("wheel");
124
+ const T = n.type === "wheel", $e = n.type.startsWith("touch"), Fe = n.type === "mousedown" || n.type === "mousemove";
125
+ return $e ? !0 : T ? H === "scroll" ? !0 : n.ctrlKey : Fe && !n.button && !n.ctrlKey;
126
+ }, _ = po().scaleExtent(He).translateExtent(Xe || [[-20, -20], [s + 20, x + 20]]).filter(h).on("zoom", ({
127
+ transform: n
127
128
  }) => {
128
- o.attr("transform", d);
129
+ o.attr("transform", n);
129
130
  });
130
- i.call(O), ne.current = O;
131
- }, [x, l, X]);
132
- const Q = uo(Z), F = bo(Z), Le = (Q[2] - Q[0]) * 1.15, We = (Q[3] - Q[1]) * 1.15, Ve = l * 190 / 960 * 360 / Le, $e = x * 190 / 678 * 180 / We, L = h * Math.min(Ve, $e), ee = oe === "mercator" ? ho().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : oe === "equalEarth" ? fo().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : oe === "naturalEarth" ? go().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : oe === "orthographic" ? yo().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : vo().rotate(J).center(D || F.geometry.coordinates).translate([l / 2, x / 2]).scale(L), te = xo().projection(ee), be = (o) => {
133
- if (!f.current || !ne.current) return;
134
- Wt(f.current).call(ne.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
131
+ i.call(_), fe.current = _;
132
+ }, [x, s, H]);
133
+ const Q = uo(K), F = bo(K), _e = (Q[2] - Q[0]) * 1.15, Le = (Q[3] - Q[1]) * 1.15, We = s * 190 / 960 * 360 / _e, Ve = x * 190 / 678 * 180 / Le, P = u * Math.min(We, Ve), ee = oe === "mercator" ? ho().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "equalEarth" ? fo().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "naturalEarth" ? go().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "orthographic" ? yo().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : vo().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P), te = xo().projection(ee), ye = (o) => {
134
+ if (!f.current || !fe.current) return;
135
+ Wt(f.current).call(fe.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
135
136
  };
136
137
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
137
138
  /* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
138
- /* @__PURE__ */ a.jsx(me.svg, { width: `${l}px`, height: `${x}px`, viewBox: `0 0 ${l} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ce, children: [
139
- he.filter((o) => o.position === "before").map((o) => o.layer),
140
- Z.features.map((o, i) => {
141
- if (!o.properties?.[ge]) return null;
142
- const u = te(o);
143
- return u ? /* @__PURE__ */ a.jsx(me.g, { opacity: z ? V : re.length !== 0 ? re.indexOf(o.properties[ge]) !== -1 ? 1 : V : 1, children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
144
- stroke: ue,
145
- strokeWidth: pe,
146
- fill: Me,
139
+ /* @__PURE__ */ a.jsx(le.svg, { width: `${s}px`, height: `${x}px`, viewBox: `0 0 ${s} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ie, children: [
140
+ de.filter((o) => o.position === "before").map((o) => o.layer),
141
+ K.features.map((o, i) => {
142
+ if (!o.properties?.[me]) return null;
143
+ const h = te(o);
144
+ return h ? /* @__PURE__ */ a.jsx(le.g, { opacity: M ? W : re ? re.indexOf(o.properties[me]) !== -1 ? 1 : W : 1, children: /* @__PURE__ */ a.jsx("path", { d: h, style: {
145
+ stroke: ce,
146
+ strokeWidth: se,
147
+ fill: Ce,
147
148
  vectorEffect: "non-scaling-stroke"
148
149
  } }) }, i) : null;
149
150
  }),
150
- /* @__PURE__ */ a.jsxs(Io, { children: [
151
+ /* @__PURE__ */ a.jsxs(zo, { children: [
151
152
  e.filter((o) => o.id).map((o) => {
152
- const i = Z.features.findIndex(
153
+ const i = K.features.findIndex(
153
154
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
154
- (d) => o.id === d.properties[ge]
155
+ (n) => o.id === n.properties[me]
155
156
  );
156
157
  if (i === -1) return null;
157
- const u = te(Z.features[i]);
158
- if (!u) return null;
159
- const O = yt(o.x) ? Me : (
158
+ const h = te(K.features[i]);
159
+ if (!h) return null;
160
+ const _ = vt(o.x) ? Ce : (
160
161
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
161
- _e(o.x)
162
+ Pe(o.x)
162
163
  );
163
- return /* @__PURE__ */ a.jsx(me.g, { className: "undp-map-shapes", variants: {
164
+ return /* @__PURE__ */ a.jsx(le.g, { className: "undp-map-shapes", variants: {
164
165
  initial: {
165
166
  opacity: 0
166
167
  },
167
168
  whileInView: {
168
- opacity: z ? z === O ? 1 : V : re.length !== 0 ? re.indexOf(o.id) !== -1 ? 1 : V : 1,
169
+ opacity: M ? M === _ ? 1 : W : re ? re.indexOf(o.id) !== -1 ? 1 : W : 1,
169
170
  transition: {
170
171
  duration: b.duration
171
172
  }
@@ -175,21 +176,21 @@ function To(r) {
175
176
  transition: {
176
177
  duration: b.duration
177
178
  }
178
- }, onMouseEnter: (d) => {
179
- _(o), A(d.clientY), $(d.clientX), U?.(o);
180
- }, onMouseMove: (d) => {
181
- _(o), A(d.clientY), $(d.clientX);
179
+ }, onMouseEnter: (n) => {
180
+ z(o), $(n.clientY), E(n.clientX), G?.(o);
181
+ }, onMouseMove: (n) => {
182
+ z(o), $(n.clientY), E(n.clientX);
182
183
  }, onMouseLeave: () => {
183
- _(void 0), $(void 0), A(void 0), U?.(void 0);
184
+ z(void 0), E(void 0), $(void 0), G?.(void 0);
184
185
  }, onClick: () => {
185
- (W || q) && (Tt(le, o) && Ee ? (P(void 0), W?.(void 0)) : (P(o), W?.(o)));
186
- }, children: /* @__PURE__ */ a.jsx(me.path, { d: u, variants: {
186
+ (L || U) && (At(V, o) && Me ? (Z(void 0), L?.(void 0)) : (Z(o), L?.(o)));
187
+ }, children: /* @__PURE__ */ a.jsx(le.path, { d: h, variants: {
187
188
  initial: {
188
- fill: O,
189
+ fill: _,
189
190
  opacity: 0
190
191
  },
191
192
  whileInView: {
192
- fill: O,
193
+ fill: _,
193
194
  opacity: 1,
194
195
  transition: {
195
196
  duration: b.duration
@@ -201,29 +202,29 @@ function To(r) {
201
202
  duration: b.duration
202
203
  }
203
204
  }, style: {
204
- stroke: ue,
205
- strokeWidth: pe,
205
+ stroke: ce,
206
+ strokeWidth: se,
206
207
  vectorEffect: "non-scaling-stroke"
207
208
  } }, `${o.id}`) }, o.id);
208
209
  }),
209
- Je?.features.map((o, i) => {
210
- const u = te(o);
211
- return u ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
212
- stroke: g || ue,
213
- strokeWidth: Ye || pe + 1,
210
+ Ke?.features.map((o, i) => {
211
+ const h = te(o);
212
+ return h ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: h, style: {
213
+ stroke: g || ce,
214
+ strokeWidth: Ye || se + 1,
214
215
  fill: "none",
215
216
  pointerEvents: "none",
216
217
  vectorEffect: "non-scaling-stroke"
217
218
  } }) }, i) : null;
218
219
  }),
219
- e.filter((o) => !yt(o.lat) && !yt(o.long)).map((o) => {
220
- const i = ee([o.long, o.lat])[0] > 0.8 * l ? -1 : 1;
221
- return /* @__PURE__ */ a.jsxs(me.g, { className: "undp-map-dots", variants: {
220
+ e.filter((o) => !vt(o.lat) && !vt(o.long)).map((o) => {
221
+ const i = ee([o.long, o.lat])[0] > 0.8 * s ? -1 : 1;
222
+ return /* @__PURE__ */ a.jsxs(le.g, { className: "undp-map-dots", variants: {
222
223
  initial: {
223
224
  opacity: 0
224
225
  },
225
226
  whileInView: {
226
- opacity: Oe.length !== 0 ? Oe.indexOf(o.label || "") !== -1 ? 1 : V : 1,
227
+ opacity: Ne ? Ne.indexOf(o.label || "") !== -1 ? 1 : W : 1,
227
228
  transition: {
228
229
  duration: b.duration
229
230
  }
@@ -233,25 +234,25 @@ function To(r) {
233
234
  transition: {
234
235
  duration: b.duration
235
236
  }
236
- }, onMouseEnter: (u) => {
237
- _(o), A(u.clientY), $(u.clientX), U?.(o);
238
- }, onMouseMove: (u) => {
239
- _(o), A(u.clientY), $(u.clientX);
237
+ }, onMouseEnter: (h) => {
238
+ z(o), $(h.clientY), E(h.clientX), G?.(o);
239
+ }, onMouseMove: (h) => {
240
+ z(o), $(h.clientY), E(h.clientX);
240
241
  }, onMouseLeave: () => {
241
- _(void 0), $(void 0), A(void 0), U?.(void 0);
242
+ z(void 0), E(void 0), $(void 0), G?.(void 0);
242
243
  }, onClick: () => {
243
- (W || q) && (Tt(le, o) && Ee ? (P(void 0), W?.(void 0)) : (P(o), W?.(o)));
244
+ (L || U) && (At(V, o) && Me ? (Z(void 0), L?.(void 0)) : (Z(o), L?.(o)));
244
245
  }, transform: `translate(${ee([o.long, o.lat])[0]},${ee([o.long, o.lat])[1]})`, children: [
245
- /* @__PURE__ */ a.jsx(me.circle, { cx: 0, cy: 0, variants: {
246
+ /* @__PURE__ */ a.jsx(le.circle, { cx: 0, cy: 0, variants: {
246
247
  initial: {
247
248
  r: 0,
248
- fill: Y,
249
- stroke: Ie || Y
249
+ fill: X,
250
+ stroke: Ee || X
250
251
  },
251
252
  whileInView: {
252
253
  r: k ? k(o.radius || 0) : v,
253
- fill: Y,
254
- stroke: Ie || Y,
254
+ fill: X,
255
+ stroke: Ee || X,
255
256
  transition: {
256
257
  duration: b.duration
257
258
  }
@@ -265,7 +266,7 @@ function To(r) {
265
266
  fillOpacity: 0.8,
266
267
  vectorEffect: "non-scaling-stroke"
267
268
  } }),
268
- I && o.label ? /* @__PURE__ */ a.jsx(me.text, { variants: {
269
+ B && o.label ? /* @__PURE__ */ a.jsx(le.text, { variants: {
269
270
  initial: {
270
271
  opacity: 0,
271
272
  x: i * (k ? k(o.radius || 0) : v)
@@ -282,34 +283,34 @@ function To(r) {
282
283
  transition: {
283
284
  duration: b.duration
284
285
  }
285
- }, y: 0, className: Vt("text-sm", H?.graphObjectValues), style: {
286
+ }, y: 0, className: Vt("text-sm", q?.graphObjectValues), style: {
286
287
  textAnchor: i === -1 ? "end" : "start",
287
- fill: ze || "#000",
288
+ fill: Ie || "#000",
288
289
  vectorEffect: "non-scaling-stroke",
289
290
  ...N?.graphObjectValues || {}
290
291
  }, dx: i * 4, dy: 5, children: o.label }) : null
291
292
  ] }, o.label || `${o.lat}-${o.long}`);
292
293
  })
293
294
  ] }),
294
- he.filter((o) => o.position === "after").map((o) => o.layer)
295
+ de.filter((o) => o.position === "after").map((o) => o.layer)
295
296
  ] }) }),
296
- Se === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Vt("absolute left-4 bottom-4 map-color-legend", H?.colorLegend), children: ve ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
297
+ De === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Vt("absolute left-4 bottom-4 map-color-legend", q?.colorLegend), children: ue ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
297
298
  /* @__PURE__ */ a.jsx("div", { className: "color-legend-close-button bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)] border border-[var(--gray-400)] rounded-full w-6 h-6 p-[3px] cursor-pointer z-10 absolute right-[-0.75rem] top-[-0.75rem]", onClick: () => {
298
- ie(!1);
299
+ he(!1);
299
300
  }, children: /* @__PURE__ */ a.jsx(ko, {}) }),
300
301
  /* @__PURE__ */ a.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
301
302
  width: ae ? void 0 : "340px"
302
303
  }, children: [
303
- ye && ye !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
304
+ pe && pe !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
304
305
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
305
306
  /* @__PURE__ */ a.jsx("div", { className: "w-3 h-3 rounded-full", style: {
306
- backgroundColor: Y
307
+ backgroundColor: X
307
308
  } }),
308
309
  /* @__PURE__ */ a.jsx(Lt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
309
310
  display: "-webkit-box",
310
311
  WebkitLineClamp: "1",
311
312
  WebkitBoxOrient: "vertical"
312
- }, children: ye })
313
+ }, children: pe })
313
314
  ] }),
314
315
  /* @__PURE__ */ a.jsx(Gt, { size: "xl" }),
315
316
  /* @__PURE__ */ a.jsx(Jt, {}),
@@ -320,278 +321,276 @@ function To(r) {
320
321
  WebkitLineClamp: "1",
321
322
  WebkitBoxOrient: "vertical"
322
323
  }, children: y }) : null,
323
- ae ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: n.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
324
- S(t[i % t.length]);
324
+ ae ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: l.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
325
+ O(t[i % t.length]);
325
326
  }, onMouseLeave: () => {
326
- S(void 0);
327
+ O(void 0);
327
328
  }, children: [
328
329
  /* @__PURE__ */ a.jsx("div", { className: "w-2 h-2 rounded-full", style: {
329
330
  backgroundColor: t[i % t.length]
330
331
  } }),
331
332
  /* @__PURE__ */ a.jsx(Lt, { size: "sm", marginBottom: "none", leading: "none", children: o })
332
333
  ] }, i)) }) : /* @__PURE__ */ a.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { children: [
333
- n.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
334
- S(t[i]);
334
+ l.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
335
+ O(t[i]);
335
336
  }, onMouseLeave: () => {
336
- S(void 0);
337
+ O(void 0);
337
338
  }, className: "cursor-pointer", children: [
338
- /* @__PURE__ */ a.jsx("rect", { x: i * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: z === t[i] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
339
+ /* @__PURE__ */ a.jsx("rect", { x: i * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: M === t[i] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
339
340
  fill: t[i],
340
- ...z === t[i] ? {} : {
341
+ ...M === t[i] ? {} : {
341
342
  stroke: t[i]
342
343
  }
343
344
  } }),
344
345
  /* @__PURE__ */ a.jsx("text", { x: (i + 1) * 320 / t.length, y: 25, className: "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", style: {
345
346
  textAnchor: "middle"
346
- }, children: Eo(o, "NA") })
347
+ }, children: Io(o, void 0, void 0, void 0, void 0, Je) })
347
348
  ] }, i)),
348
349
  /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("rect", { onMouseOver: () => {
349
- S(t[n.length]);
350
+ O(t[l.length]);
350
351
  }, onMouseLeave: () => {
351
- S(void 0);
352
- }, x: n.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${z === t[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
353
- fill: t[n.length],
354
- ...z === t[n.length] ? {} : {
355
- stroke: t[n.length]
352
+ O(void 0);
353
+ }, x: l.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${M === t[l.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
354
+ fill: t[l.length],
355
+ ...M === t[l.length] ? {} : {
356
+ stroke: t[l.length]
356
357
  }
357
358
  } }) })
358
359
  ] }) })
359
360
  ] })
360
- ] }) : /* @__PURE__ */ a.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start map-legend-button", onClick: () => {
361
- ie(!0);
362
- }, children: /* @__PURE__ */ a.jsx("div", { className: "show-color-legend-button items-start text-sm font-medium cursor-pointer p-2 mb-0 flex text-primary-black dark:text-primary-gray-300 bg-primary-gray-300 dark:bg-primary-gray-600 border-primary-gray-400 dark:border-primary-gray-500", children: "Show Legend" }) }) }),
363
- X === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
364
- /* @__PURE__ */ a.jsx("button", { onClick: () => be("in"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "+" }),
365
- /* @__PURE__ */ a.jsx("button", { onClick: () => be("out"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "–" })
361
+ ] }) : /* @__PURE__ */ a.jsx("button", { type: "button", className: "p-1 border-0 rounded-[2px] text-primary-gray-700 bg-primary-gray-300 dark:bg-primary-gray-500 map-legend-button", onClick: () => {
362
+ he(!0);
363
+ }, children: /* @__PURE__ */ a.jsx(Co, {}) }) }),
364
+ H === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
365
+ /* @__PURE__ */ a.jsx("button", { onClick: () => ye("in"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "+" }),
366
+ /* @__PURE__ */ a.jsx("button", { onClick: () => ye("out"), className: "leading-0 px-2 py-3.5 text-primary-gray-700 border border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100", children: "–" })
366
367
  ] })
367
368
  ] }),
368
- q && le !== void 0 ? /* @__PURE__ */ a.jsx(No, { body: q, data: le, setData: P, className: H?.modal }) : null,
369
- Pe && C && xe && se ? /* @__PURE__ */ a.jsx(jo, { data: Pe, body: C, xPos: xe, yPos: se, backgroundStyle: N?.tooltip, className: H?.tooltip }) : null
369
+ U && V !== void 0 ? /* @__PURE__ */ a.jsx(Mo, { body: U, data: V, setData: Z, className: q?.modal }) : null,
370
+ ge && C && Be && ze ? /* @__PURE__ */ a.jsx(jo, { data: ge, body: C, xPos: Be, yPos: ze, backgroundStyle: N?.tooltip, className: q?.tooltip }) : null
370
371
  ] });
371
372
  }
372
- function Ea(r) {
373
- const e = ao.c(144), {
373
+ function Ia(r) {
374
+ const e = ao.c(143), {
374
375
  data: t,
375
376
  mapData: w,
376
377
  graphTitle: y,
377
- colors: n,
378
+ colors: l,
378
379
  sources: v,
379
380
  graphDescription: x,
380
- height: l,
381
- width: h,
381
+ height: s,
382
+ width: u,
382
383
  footNote: D,
383
384
  mapColorLegendTitle: C,
384
- colorDomain: I,
385
- choroplethScaleType: pe,
386
- radius: ue,
387
- scale: Me,
388
- centerPoint: U,
389
- padding: Se,
385
+ colorDomain: B,
386
+ choroplethScaleType: se,
387
+ radius: ce,
388
+ scale: Ce,
389
+ centerPoint: G,
390
+ padding: De,
390
391
  mapBorderWidth: He,
391
392
  mapNoDataColor: Xe,
392
- backgroundColor: Oe,
393
- showLabels: W,
394
- mapBorderColor: Ee,
395
- tooltip: q,
393
+ backgroundColor: Ne,
394
+ showLabels: L,
395
+ mapBorderColor: Me,
396
+ tooltip: U,
396
397
  relativeHeight: N,
397
- onSeriesMouseOver: H,
398
+ onSeriesMouseOver: q,
398
399
  isWorldMap: oe,
399
- showColorScale: X,
400
+ showColorScale: H,
400
401
  zoomScaleExtend: b,
401
- zoomTranslateExtend: V,
402
- graphID: he,
403
- highlightedDataPoints: fe,
402
+ zoomTranslateExtend: W,
403
+ graphID: de,
404
+ highlightedDataPoints: Se,
404
405
  onSeriesMouseClick: ae,
405
- graphDownload: Y,
406
- dataDownload: Be,
406
+ graphDownload: X,
407
+ dataDownload: Oe,
407
408
  showAntarctica: re,
408
- language: ge,
409
- minHeight: ye,
410
- theme: Ie,
411
- ariaLabel: ze,
412
- resetSelectionOnDoubleClick: J,
413
- detailsOnClick: K,
409
+ language: me,
410
+ minHeight: pe,
411
+ theme: Ee,
412
+ ariaLabel: Ie,
413
+ resetSelectionOnDoubleClick: Y,
414
+ detailsOnClick: J,
414
415
  styles: p,
415
416
  classNames: g,
416
417
  mapProjection: Ye,
417
- zoomInteraction: Z,
418
- animate: Je,
419
- dimmedOpacity: z,
420
- customLayers: S,
421
- maxRadiusValue: ve,
422
- timeline: ie,
423
- collapseColorScaleByDefault: ne,
424
- dotColor: le,
425
- highlightedIds: P,
426
- mapProperty: Pe,
427
- dotLegendTitle: _,
428
- dotBorderColor: xe,
429
- labelColor: $,
430
- projectionRotate: se,
431
- rewindCoordinatesInMapData: A,
418
+ zoomInteraction: Je,
419
+ animate: K,
420
+ dimmedOpacity: Ke,
421
+ customLayers: M,
422
+ maxRadiusValue: O,
423
+ timeline: ue,
424
+ collapseColorScaleByDefault: he,
425
+ dotColor: fe,
426
+ highlightedIds: V,
427
+ mapProperty: Z,
428
+ dotLegendTitle: ge,
429
+ dotBorderColor: z,
430
+ labelColor: Be,
431
+ projectionRotate: E,
432
+ rewindCoordinatesInMapData: ze,
433
+ locale: $,
432
434
  mapOverlay: f
433
- } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ce = D === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : D, k = pe === void 0 ? "threshold" : pe, _e = ue === void 0 ? 5 : ue, Q = Me === void 0 ? 0.95 : Me, F = He === void 0 ? 0.5 : He, Le = Xe === void 0 ? Ne.light.graphNoData : Xe, We = Oe === void 0 ? !1 : Oe, Ve = W === void 0 ? !1 : W, $e = Ee === void 0 ? Ne.light.grays["gray-500"] : Ee, L = oe === void 0 ? !0 : oe, ee = X === void 0 ? !0 : X;
435
+ } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ie = D === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : D, k = se === void 0 ? "threshold" : se, Pe = ce === void 0 ? 5 : ce, Q = Ce === void 0 ? 0.95 : Ce, F = He === void 0 ? 0.5 : He, _e = Xe === void 0 ? ke.light.graphNoData : Xe, Le = Ne === void 0 ? !1 : Ne, We = L === void 0 ? !1 : L, Ve = Me === void 0 ? ke.light.grays["gray-500"] : Me, P = oe === void 0 ? !0 : oe, ee = H === void 0 ? !0 : H;
434
436
  let te;
435
437
  e[0] !== b ? (te = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = te) : te = e[1];
436
- const be = te;
437
- let o;
438
- e[2] !== fe ? (o = fe === void 0 ? [] : fe, e[2] = fe, e[3] = o) : o = e[3];
439
- const i = o, u = Y === void 0 ? !1 : Y, O = Be === void 0 ? !1 : Be, d = re === void 0 ? !1 : re, Ae = ge === void 0 ? "en" : ge, E = ye === void 0 ? 0 : ye, T = Ie === void 0 ? "light" : Ie, vt = J === void 0 ? !0 : J, xt = Ye === void 0 ? "naturalEarth" : Ye, bt = Z === void 0 ? "button" : Z, Ke = Je === void 0 ? !1 : Je, wt = z === void 0 ? 0.3 : z;
440
- let Ze;
441
- e[4] !== S ? (Ze = S === void 0 ? [] : S, e[4] = S, e[5] = Ze) : Ze = e[5];
442
- const jt = Ze;
438
+ const ye = te, o = X === void 0 ? !1 : X, i = Oe === void 0 ? !1 : Oe, h = re === void 0 ? !1 : re, _ = me === void 0 ? "en" : me, n = pe === void 0 ? 0 : pe, T = Ee === void 0 ? "light" : Ee, $e = Y === void 0 ? !0 : Y, Fe = Ye === void 0 ? "naturalEarth" : Ye, xt = Je === void 0 ? "button" : Je, Ze = K === void 0 ? !1 : K, bt = Ke === void 0 ? 0.3 : Ke;
443
439
  let Qe;
444
- e[6] !== ie ? (Qe = ie === void 0 ? {
440
+ e[2] !== M ? (Qe = M === void 0 ? [] : M, e[2] = M, e[3] = Qe) : Qe = e[3];
441
+ const wt = Qe;
442
+ let et;
443
+ e[4] !== ue ? (et = ue === void 0 ? {
445
444
  enabled: !1,
446
445
  autoplay: !1,
447
446
  showOnlyActiveDate: !0
448
- } : ie, e[6] = ie, e[7] = Qe) : Qe = e[7];
449
- const s = Qe, kt = le === void 0 ? Ne.primaryColors["blue-600"] : le;
450
- let et;
451
- e[8] !== P ? (et = P === void 0 ? [] : P, e[8] = P, e[9] = et) : et = e[9];
452
- const Ct = et, Dt = Pe === void 0 ? "ISO3" : Pe, Nt = $ === void 0 ? Ne.primaryColors["blue-600"] : $;
447
+ } : ue, e[4] = ue, e[5] = et) : et = e[5];
448
+ const c = et, jt = fe === void 0 ? ke.primaryColors["blue-600"] : fe;
453
449
  let tt;
454
- e[10] !== se ? (tt = se === void 0 ? [0, 0] : se, e[10] = se, e[11] = tt) : tt = e[11];
455
- const Mt = tt, St = A === void 0 ? !0 : A, [de, Kt] = M(0), [Fe, Zt] = M(0), [R, Qt] = M(s.autoplay);
456
- let Te;
457
- if (e[12] !== t || e[13] !== s.dateFormat) {
458
- let c;
459
- e[15] !== s.dateFormat ? (c = (B) => lo(`${B.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[15] = s.dateFormat, e[16] = c) : c = e[16], Te = [...new Set(t.filter(Qo).map(c))], Te.sort(Zo), e[12] = t, e[13] = s.dateFormat, e[14] = Te;
460
- } else
461
- Te = e[14];
462
- const m = Te, [G, Ot] = M(s.autoplay ? 0 : m.length - 1), [we, eo] = M(void 0), [Et, to] = M(void 0), Bt = qe(null), $t = qe(null);
450
+ e[6] !== V ? (tt = V === void 0 ? [] : V, e[6] = V, e[7] = tt) : tt = e[7];
451
+ const kt = tt, Ct = Z === void 0 ? "ISO3" : Z, Dt = Be === void 0 ? ke.primaryColors["blue-600"] : Be;
463
452
  let ot;
464
- e[17] !== k || e[18] !== I || e[19] !== n?.length || e[20] !== t ? (ot = I || (k === "categorical" ? Wo(t, "x") : Vo(t.map(Ko), n?.length || 4)), e[17] = k, e[18] = I, e[19] = n?.length, e[20] = t, e[21] = ot) : ot = e[21];
465
- const Re = ot;
466
- let at, rt;
467
- e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (at = () => {
468
- const c = new ResizeObserver((B) => {
469
- Kt(B[0].target.clientWidth || 620), Zt(B[0].target.clientHeight || 480);
453
+ e[8] !== E ? (ot = E === void 0 ? [0, 0] : E, e[8] = E, e[9] = ot) : ot = e[9];
454
+ const Nt = ot, Mt = ze === void 0 ? !0 : ze, St = $ === void 0 ? "en" : $, [ne, Kt] = S(0), [Te, Zt] = S(0), [A, Qt] = S(c.autoplay);
455
+ let Ae;
456
+ if (e[10] !== t || e[11] !== c.dateFormat) {
457
+ let d;
458
+ e[13] !== c.dateFormat ? (d = (I) => lo(`${I.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[13] = c.dateFormat, e[14] = d) : d = e[14], Ae = [...new Set(t.filter(ea).map(d))], Ae.sort(Qo), e[10] = t, e[11] = c.dateFormat, e[12] = Ae;
459
+ } else
460
+ Ae = e[12];
461
+ const m = Ae, [R, Ot] = S(c.autoplay ? 0 : m.length - 1), [ve, eo] = S(void 0), [Et, to] = S(void 0), It = qe(null), $t = qe(null);
462
+ let at;
463
+ e[15] !== k || e[16] !== B || e[17] !== l?.length || e[18] !== t ? (at = B || (k === "categorical" ? Vo(t, "x") : $o(t.map(Zo), l?.length || 4)), e[15] = k, e[16] = B, e[17] = l?.length, e[18] = t, e[19] = at) : at = e[19];
464
+ const Re = at;
465
+ let rt, it;
466
+ e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rt = () => {
467
+ const d = new ResizeObserver((I) => {
468
+ Kt(I[0].target.clientWidth || 620), Zt(I[0].target.clientHeight || 480);
470
469
  });
471
- return Bt.current && c.observe(Bt.current), () => c.disconnect();
472
- }, rt = [], e[22] = at, e[23] = rt) : (at = e[22], rt = e[23]), Ue(at, rt);
473
- let it;
474
- e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (it = (c) => {
475
- eo(c);
476
- }, e[24] = it) : it = e[24];
477
- const nt = Ft(it);
478
- let lt;
479
- e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (lt = (c) => {
480
- to(c);
481
- }, e[25] = lt) : lt = e[25];
482
- const Ge = Ft(lt);
470
+ return It.current && d.observe(It.current), () => d.disconnect();
471
+ }, it = [], e[20] = rt, e[21] = it) : (rt = e[20], it = e[21]), Ue(rt, it);
472
+ let nt;
473
+ e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nt = (d) => {
474
+ eo(d);
475
+ }, e[22] = nt) : nt = e[22];
476
+ const lt = Tt(nt);
483
477
  let st;
484
- e[26] !== j || e[27] !== nt ? (st = () => {
485
- typeof j == "string" ? Ut(j).then((B) => {
486
- nt(B);
487
- }) : nt(j);
488
- }, e[26] = j, e[27] = nt, e[28] = st) : st = e[28];
478
+ e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (st = (d) => {
479
+ to(d);
480
+ }, e[23] = st) : st = e[23];
481
+ const Ge = Tt(st);
489
482
  let ct;
490
- e[29] !== j ? (ct = [j], e[29] = j, e[30] = ct) : ct = e[30], Ue(st, ct);
483
+ e[24] !== j || e[25] !== lt ? (ct = () => {
484
+ typeof j == "string" ? Ut(j).then((I) => {
485
+ lt(I);
486
+ }) : lt(j);
487
+ }, e[24] = j, e[25] = lt, e[26] = ct) : ct = e[26];
491
488
  let dt;
492
- e[31] !== f?.mapData || e[32] !== Ge ? (dt = () => {
493
- f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ut(f?.mapData).then((B) => {
494
- Ge(B);
495
- }) : Ge(f?.mapData);
496
- }, e[31] = f?.mapData, e[32] = Ge, e[33] = dt) : dt = e[33];
497
- const It = f?.mapData;
489
+ e[27] !== j ? (dt = [j], e[27] = j, e[28] = dt) : dt = e[28], Ue(ct, dt);
498
490
  let mt;
499
- e[34] !== It ? (mt = [It], e[34] = It, e[35] = mt) : mt = e[35], Ue(dt, mt);
500
- let pt, ut;
501
- e[36] !== R || e[37] !== s.speed || e[38] !== m ? (pt = () => {
502
- const c = setInterval(() => {
503
- Ot((B) => B < m.length - 1 ? B + 1 : 0);
504
- }, (s.speed || 2) * 1e3);
505
- return R || clearInterval(c), () => clearInterval(c);
506
- }, ut = [m, R, s.speed], e[36] = R, e[37] = s.speed, e[38] = m, e[39] = pt, e[40] = ut) : (pt = e[39], ut = e[40]), Ue(pt, ut);
507
- const zt = s.dateFormat || "yyyy";
508
- let ht;
509
- e[41] !== G || e[42] !== zt || e[43] !== s.showOnlyActiveDate || e[44] !== m ? (ht = so(m, G, s.showOnlyActiveDate, zt), e[41] = G, e[42] = zt, e[43] = s.showOnlyActiveDate, e[44] = m, e[45] = ht) : ht = e[45];
510
- const ft = ht, Pt = g?.graphContainer, _t = p?.graphContainer;
511
- let je;
512
- e[46] !== g?.description || e[47] !== g?.title || e[48] !== t || e[49] !== O || e[50] !== x || e[51] !== u || e[52] !== y || e[53] !== p?.description || e[54] !== p?.title || e[55] !== h ? (je = y || x || u || O ? /* @__PURE__ */ a.jsx(Po, { styles: {
491
+ e[29] !== f?.mapData || e[30] !== Ge ? (mt = () => {
492
+ f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ut(f?.mapData).then((I) => {
493
+ Ge(I);
494
+ }) : Ge(f?.mapData);
495
+ }, e[29] = f?.mapData, e[30] = Ge, e[31] = mt) : mt = e[31];
496
+ const Bt = f?.mapData;
497
+ let pt;
498
+ e[32] !== Bt ? (pt = [Bt], e[32] = Bt, e[33] = pt) : pt = e[33], Ue(mt, pt);
499
+ let ut, ht;
500
+ e[34] !== A || e[35] !== c.speed || e[36] !== m ? (ut = () => {
501
+ const d = setInterval(() => {
502
+ Ot((I) => I < m.length - 1 ? I + 1 : 0);
503
+ }, (c.speed || 2) * 1e3);
504
+ return A || clearInterval(d), () => clearInterval(d);
505
+ }, ht = [m, A, c.speed], e[34] = A, e[35] = c.speed, e[36] = m, e[37] = ut, e[38] = ht) : (ut = e[37], ht = e[38]), Ue(ut, ht);
506
+ const zt = c.dateFormat || "yyyy";
507
+ let ft;
508
+ e[39] !== R || e[40] !== zt || e[41] !== c.showOnlyActiveDate || e[42] !== m ? (ft = so(m, R, c.showOnlyActiveDate, zt), e[39] = R, e[40] = zt, e[41] = c.showOnlyActiveDate, e[42] = m, e[43] = ft) : ft = e[43];
509
+ const gt = ft, Pt = g?.graphContainer, _t = p?.graphContainer;
510
+ let xe;
511
+ e[44] !== g?.description || e[45] !== g?.title || e[46] !== t || e[47] !== i || e[48] !== x || e[49] !== o || e[50] !== y || e[51] !== p?.description || e[52] !== p?.title || e[53] !== u ? (xe = y || x || o || i ? /* @__PURE__ */ a.jsx(_o, { styles: {
513
512
  title: p?.title,
514
513
  description: p?.description
515
514
  }, classNames: {
516
515
  title: g?.title,
517
516
  description: g?.description
518
- }, graphTitle: y, graphDescription: x, width: h, graphDownload: u ? $t : void 0, dataDownload: O ? t.map(Jo).filter(Yo).length > 0 ? t.map(Xo).filter(Ho) : t.filter(qo) : null }) : null, e[46] = g?.description, e[47] = g?.title, e[48] = t, e[49] = O, e[50] = x, e[51] = u, e[52] = y, e[53] = p?.description, e[54] = p?.title, e[55] = h, e[56] = je) : je = e[56];
519
- let ke;
520
- e[57] !== G || e[58] !== ft || e[59] !== R || e[60] !== s.enabled || e[61] !== m ? (ke = s.enabled && m.length > 0 && ft ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
517
+ }, graphTitle: y, graphDescription: x, width: u, graphDownload: o ? $t : void 0, dataDownload: i ? t.map(Ko).filter(Jo).length > 0 ? t.map(Yo).filter(Xo) : t.filter(Ho) : null }) : null, e[44] = g?.description, e[45] = g?.title, e[46] = t, e[47] = i, e[48] = x, e[49] = o, e[50] = y, e[51] = p?.description, e[52] = p?.title, e[53] = u, e[54] = xe) : xe = e[54];
518
+ let be;
519
+ e[55] !== R || e[56] !== gt || e[57] !== A || e[58] !== c.enabled || e[59] !== m ? (be = c.enabled && m.length > 0 && gt ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
521
520
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
522
- Qt(!R);
523
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": R ? "Click to pause animation" : "Click to play animation", children: R ? /* @__PURE__ */ a.jsx(Co, {}) : /* @__PURE__ */ a.jsx(Do, {}) }),
524
- /* @__PURE__ */ a.jsx(co, { min: m[0], max: m[m.length - 1], marks: ft, step: null, defaultValue: m[m.length - 1], value: m[G], onChangeComplete: (c) => {
525
- Ot(m.indexOf(c));
526
- }, onChange: (c) => {
527
- Ot(m.indexOf(c));
521
+ Qt(!A);
522
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": A ? "Click to pause animation" : "Click to play animation", children: A ? /* @__PURE__ */ a.jsx(Do, {}) : /* @__PURE__ */ a.jsx(No, {}) }),
523
+ /* @__PURE__ */ a.jsx(co, { min: m[0], max: m[m.length - 1], marks: gt, step: null, defaultValue: m[m.length - 1], value: m[R], onChangeComplete: (d) => {
524
+ Ot(m.indexOf(d));
525
+ }, onChange: (d) => {
526
+ Ot(m.indexOf(d));
528
527
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
529
- ] }) : null, e[57] = G, e[58] = ft, e[59] = R, e[60] = s.enabled, e[61] = m, e[62] = ke) : ke = e[62];
530
- let Ce;
531
- e[63] !== Ke || e[64] !== U || e[65] !== k || e[66] !== g || e[67] !== ne || e[68] !== n || e[69] !== jt || e[70] !== t || e[71] !== K || e[72] !== wt || e[73] !== Re || e[74] !== xe || e[75] !== kt || e[76] !== _ || e[77] !== l || e[78] !== i || e[79] !== Ct || e[80] !== G || e[81] !== L || e[82] !== Nt || e[83] !== $e || e[84] !== F || e[85] !== C || e[86] !== Le || e[87] !== f?.mapBorderColor || e[88] !== f?.mapBorderWidth || e[89] !== xt || e[90] !== Dt || e[91] !== we || e[92] !== ve || e[93] !== E || e[94] !== ae || e[95] !== H || e[96] !== Et || e[97] !== Mt || e[98] !== _e || e[99] !== N || e[100] !== vt || e[101] !== St || e[102] !== Q || e[103] !== d || e[104] !== ee || e[105] !== Ve || e[106] !== p || e[107] !== Fe || e[108] !== de || e[109] !== T || e[110] !== s.dateFormat || e[111] !== s.enabled || e[112] !== q || e[113] !== m || e[114] !== h || e[115] !== bt || e[116] !== be || e[117] !== V ? (Ce = /* @__PURE__ */ a.jsx(_o, { ref: Bt, children: de && Fe && we ? /* @__PURE__ */ a.jsx(To, { dotColor: kt, data: t.filter((c) => s.enabled ? `${c.date}` === no(new Date(m[G]), s.dateFormat || "yyyy") : c), mapData: d ? we : {
532
- ...we,
533
- features: we.features.filter(Uo)
534
- }, overlayMapData: Et, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: de, height: Fe, scale: Q, centerPoint: U, colors: n || (k === "categorical" ? Ne[T].sequentialColors[`neutralColorsx0${Re.length}`] : Ne[T].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: _e, categorical: k === "categorical", mapBorderWidth: F, mapNoDataColor: Le, mapBorderColor: $e, tooltip: q, onSeriesMouseOver: H, showLabels: Ve, isWorldMap: L, showColorScale: ee, zoomScaleExtend: be, zoomTranslateExtend: V, onSeriesMouseClick: ae, highlightedDataPoints: i, resetSelectionOnDoubleClick: vt, styles: p, classNames: g, zoomInteraction: bt, detailsOnClick: K, mapProjection: xt || (L ? "naturalEarth" : "mercator"), animate: Ke === !0 ? {
528
+ ] }) : null, e[55] = R, e[56] = gt, e[57] = A, e[58] = c.enabled, e[59] = m, e[60] = be) : be = e[60];
529
+ let we;
530
+ e[61] !== Ze || e[62] !== G || e[63] !== k || e[64] !== g || e[65] !== he || e[66] !== l || e[67] !== wt || e[68] !== t || e[69] !== J || e[70] !== bt || e[71] !== Re || e[72] !== z || e[73] !== jt || e[74] !== ge || e[75] !== s || e[76] !== Se || e[77] !== kt || e[78] !== R || e[79] !== P || e[80] !== Dt || e[81] !== St || e[82] !== Ve || e[83] !== F || e[84] !== C || e[85] !== _e || e[86] !== f?.mapBorderColor || e[87] !== f?.mapBorderWidth || e[88] !== Fe || e[89] !== Ct || e[90] !== ve || e[91] !== O || e[92] !== n || e[93] !== ae || e[94] !== q || e[95] !== Et || e[96] !== Nt || e[97] !== Pe || e[98] !== N || e[99] !== $e || e[100] !== Mt || e[101] !== Q || e[102] !== h || e[103] !== ee || e[104] !== We || e[105] !== p || e[106] !== Te || e[107] !== ne || e[108] !== T || e[109] !== c.dateFormat || e[110] !== c.enabled || e[111] !== U || e[112] !== m || e[113] !== u || e[114] !== xt || e[115] !== ye || e[116] !== W ? (we = /* @__PURE__ */ a.jsx(Lo, { ref: It, children: ne && Te && ve ? /* @__PURE__ */ a.jsx(Ro, { dotColor: jt, data: t.filter((d) => c.enabled ? `${d.date}` === no(new Date(m[R]), c.dateFormat || "yyyy") : d), mapData: h ? ve : {
531
+ ...ve,
532
+ features: ve.features.filter(qo)
533
+ }, overlayMapData: Et, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: ne, height: Te, scale: Q, centerPoint: G, colors: l || (k === "categorical" ? ke[T].sequentialColors[`neutralColorsx0${Re.length}`] : ke[T].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: Pe, categorical: k === "categorical", mapBorderWidth: F, mapNoDataColor: _e, mapBorderColor: Ve, tooltip: U, onSeriesMouseOver: q, showLabels: We, isWorldMap: P, showColorScale: ee, zoomScaleExtend: ye, zoomTranslateExtend: W, onSeriesMouseClick: ae, highlightedDataPoints: Se, resetSelectionOnDoubleClick: $e, styles: p, classNames: g, zoomInteraction: xt, detailsOnClick: J, mapProjection: Fe || (P ? "naturalEarth" : "mercator"), animate: Ze === !0 ? {
535
534
  duration: 0.5,
536
535
  once: !0,
537
536
  amount: 0.5
538
- } : Ke || {
537
+ } : Ze || {
539
538
  duration: 0,
540
539
  once: !0,
541
540
  amount: 0
542
- }, dimmedOpacity: wt, customLayers: jt, maxRadiusValue: yt(ve) ? Math.max(...t.map(Go).filter(Ro)) : ve, collapseColorScaleByDefault: ne, highlightedIds: Ct, mapProperty: Dt, dotLegendTitle: _, dotBorderColor: xe, labelColor: Nt, projectionRotate: Mt, rewindCoordinatesInMapData: St }) : /* @__PURE__ */ a.jsx("div", { style: {
543
- height: `${Math.max(E, l || (N ? E ? (h || de) * N > E ? (h || de) * N : E : (h || de) * N : Fe))}px`
544
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(mo, { "aria-label": "Loading graph" }) }) }), e[63] = Ke, e[64] = U, e[65] = k, e[66] = g, e[67] = ne, e[68] = n, e[69] = jt, e[70] = t, e[71] = K, e[72] = wt, e[73] = Re, e[74] = xe, e[75] = kt, e[76] = _, e[77] = l, e[78] = i, e[79] = Ct, e[80] = G, e[81] = L, e[82] = Nt, e[83] = $e, e[84] = F, e[85] = C, e[86] = Le, e[87] = f?.mapBorderColor, e[88] = f?.mapBorderWidth, e[89] = xt, e[90] = Dt, e[91] = we, e[92] = ve, e[93] = E, e[94] = ae, e[95] = H, e[96] = Et, e[97] = Mt, e[98] = _e, e[99] = N, e[100] = vt, e[101] = St, e[102] = Q, e[103] = d, e[104] = ee, e[105] = Ve, e[106] = p, e[107] = Fe, e[108] = de, e[109] = T, e[110] = s.dateFormat, e[111] = s.enabled, e[112] = q, e[113] = m, e[114] = h, e[115] = bt, e[116] = be, e[117] = V, e[118] = Ce) : Ce = e[118];
545
- let De;
546
- e[119] !== g?.footnote || e[120] !== g?.source || e[121] !== ce || e[122] !== v || e[123] !== p?.footnote || e[124] !== p?.source || e[125] !== h ? (De = v || ce ? /* @__PURE__ */ a.jsx(zo, { styles: {
541
+ }, dimmedOpacity: bt, customLayers: wt, maxRadiusValue: vt(O) ? Math.max(...t.map(Uo).filter(Go)) : O, collapseColorScaleByDefault: he, highlightedIds: kt, mapProperty: Ct, dotLegendTitle: ge, dotBorderColor: z, labelColor: Dt, projectionRotate: Nt, rewindCoordinatesInMapData: Mt, locale: St }) : /* @__PURE__ */ a.jsx("div", { style: {
542
+ height: `${Math.max(n, s || (N ? n ? (u || ne) * N > n ? (u || ne) * N : n : (u || ne) * N : Te))}px`
543
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(mo, { "aria-label": "Loading graph" }) }) }), e[61] = Ze, e[62] = G, e[63] = k, e[64] = g, e[65] = he, e[66] = l, e[67] = wt, e[68] = t, e[69] = J, e[70] = bt, e[71] = Re, e[72] = z, e[73] = jt, e[74] = ge, e[75] = s, e[76] = Se, e[77] = kt, e[78] = R, e[79] = P, e[80] = Dt, e[81] = St, e[82] = Ve, e[83] = F, e[84] = C, e[85] = _e, e[86] = f?.mapBorderColor, e[87] = f?.mapBorderWidth, e[88] = Fe, e[89] = Ct, e[90] = ve, e[91] = O, e[92] = n, e[93] = ae, e[94] = q, e[95] = Et, e[96] = Nt, e[97] = Pe, e[98] = N, e[99] = $e, e[100] = Mt, e[101] = Q, e[102] = h, e[103] = ee, e[104] = We, e[105] = p, e[106] = Te, e[107] = ne, e[108] = T, e[109] = c.dateFormat, e[110] = c.enabled, e[111] = U, e[112] = m, e[113] = u, e[114] = xt, e[115] = ye, e[116] = W, e[117] = we) : we = e[117];
544
+ let je;
545
+ e[118] !== g?.footnote || e[119] !== g?.source || e[120] !== ie || e[121] !== v || e[122] !== p?.footnote || e[123] !== p?.source || e[124] !== u ? (je = v || ie ? /* @__PURE__ */ a.jsx(Po, { styles: {
547
546
  footnote: p?.footnote,
548
547
  source: p?.source
549
548
  }, classNames: {
550
549
  footnote: g?.footnote,
551
550
  source: g?.source
552
- }, sources: v, footNote: ce, width: h }) : null, e[119] = g?.footnote, e[120] = g?.source, e[121] = ce, e[122] = v, e[123] = p?.footnote, e[124] = p?.source, e[125] = h, e[126] = De) : De = e[126];
553
- let gt;
554
- return e[127] !== ze || e[128] !== We || e[129] !== he || e[130] !== l || e[131] !== Ae || e[132] !== E || e[133] !== Se || e[134] !== N || e[135] !== Pt || e[136] !== _t || e[137] !== je || e[138] !== ke || e[139] !== Ce || e[140] !== De || e[141] !== T || e[142] !== h ? (gt = /* @__PURE__ */ a.jsxs(Lo, { className: Pt, style: _t, id: he, ref: $t, "aria-label": ze, backgroundColor: We, theme: T, language: Ae, minHeight: E, width: h, height: l, relativeHeight: N, padding: Se, children: [
555
- je,
556
- ke,
557
- Ce,
558
- De
559
- ] }), e[127] = ze, e[128] = We, e[129] = he, e[130] = l, e[131] = Ae, e[132] = E, e[133] = Se, e[134] = N, e[135] = Pt, e[136] = _t, e[137] = je, e[138] = ke, e[139] = Ce, e[140] = De, e[141] = T, e[142] = h, e[143] = gt) : gt = e[143], gt;
560
- }
561
- function Ro(r) {
562
- return r != null;
551
+ }, sources: v, footNote: ie, width: u }) : null, e[118] = g?.footnote, e[119] = g?.source, e[120] = ie, e[121] = v, e[122] = p?.footnote, e[123] = p?.source, e[124] = u, e[125] = je) : je = e[125];
552
+ let yt;
553
+ return e[126] !== Ie || e[127] !== Le || e[128] !== de || e[129] !== s || e[130] !== _ || e[131] !== n || e[132] !== De || e[133] !== N || e[134] !== Pt || e[135] !== _t || e[136] !== xe || e[137] !== be || e[138] !== we || e[139] !== je || e[140] !== T || e[141] !== u ? (yt = /* @__PURE__ */ a.jsxs(Wo, { className: Pt, style: _t, id: de, ref: $t, "aria-label": Ie, backgroundColor: Le, theme: T, language: _, minHeight: n, width: u, height: s, relativeHeight: N, padding: De, children: [
554
+ xe,
555
+ be,
556
+ we,
557
+ je
558
+ ] }), e[126] = Ie, e[127] = Le, e[128] = de, e[129] = s, e[130] = _, e[131] = n, e[132] = De, e[133] = N, e[134] = Pt, e[135] = _t, e[136] = xe, e[137] = be, e[138] = we, e[139] = je, e[140] = T, e[141] = u, e[142] = yt) : yt = e[142], yt;
563
559
  }
564
560
  function Go(r) {
565
- return r.radius;
561
+ return r != null;
566
562
  }
567
563
  function Uo(r) {
568
- return r.properties?.NAME !== "Antarctica";
564
+ return r.radius;
569
565
  }
570
566
  function qo(r) {
571
- return r !== void 0;
567
+ return r.properties?.NAME !== "Antarctica";
572
568
  }
573
569
  function Ho(r) {
574
570
  return r !== void 0;
575
571
  }
576
572
  function Xo(r) {
577
- return r.data;
573
+ return r !== void 0;
578
574
  }
579
575
  function Yo(r) {
580
- return r !== void 0;
576
+ return r.data;
581
577
  }
582
578
  function Jo(r) {
583
- return r.data;
579
+ return r !== void 0;
584
580
  }
585
581
  function Ko(r) {
582
+ return r.data;
583
+ }
584
+ function Zo(r) {
586
585
  return r.x;
587
586
  }
588
- function Zo(r, e) {
587
+ function Qo(r, e) {
589
588
  return r - e;
590
589
  }
591
- function Qo(r) {
590
+ function ea(r) {
592
591
  return r.date;
593
592
  }
594
593
  export {
595
- Ea as HybridMap
594
+ Ia as HybridMap
596
595
  };
597
596
  //# sourceMappingURL=HybridMap.js.map