@undp/data-viz 2.1.8 → 2.2.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 (461) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.js +19 -19
  3. package/dist/AreaChart.js.map +1 -1
  4. package/dist/{Axis-CRyfcLjc.js → Axis-DoOqnt6g.js} +2 -2
  5. package/dist/{Axis-CRyfcLjc.js.map → Axis-DoOqnt6g.js.map} +1 -1
  6. package/dist/{Axis-DxRV2yMi.cjs → Axis-Dtjn-EgM.cjs} +2 -2
  7. package/dist/{Axis-DxRV2yMi.cjs.map → Axis-Dtjn-EgM.cjs.map} +1 -1
  8. package/dist/{AxisTitle-sS5bLLR7.cjs → AxisTitle-DV4n0RxE.cjs} +2 -2
  9. package/dist/{AxisTitle-sS5bLLR7.cjs.map → AxisTitle-DV4n0RxE.cjs.map} +1 -1
  10. package/dist/{AxisTitle-jeI7am8o.js → AxisTitle-VFq89Olw.js} +2 -2
  11. package/dist/{AxisTitle-jeI7am8o.js.map → AxisTitle-VFq89Olw.js.map} +1 -1
  12. package/dist/BarGraph.cjs +1 -1
  13. package/dist/BarGraph.js +24 -24
  14. package/dist/BarGraph.js.map +1 -1
  15. package/dist/BasicStatCard.cjs +1 -1
  16. package/dist/BasicStatCard.js +2 -2
  17. package/dist/BeeSwarmChart.cjs +1 -1
  18. package/dist/BeeSwarmChart.js +14 -14
  19. package/dist/BeeSwarmChart.js.map +1 -1
  20. package/dist/BiVariateChoroplethMap.cjs +1 -1
  21. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  22. package/dist/BiVariateChoroplethMap.js +48 -48
  23. package/dist/BiVariateChoroplethMap.js.map +1 -1
  24. package/dist/BulletChart.cjs +1 -1
  25. package/dist/BulletChart.js +22 -22
  26. package/dist/BulletChart.js.map +1 -1
  27. package/dist/ButterflyChart.cjs +1 -1
  28. package/dist/ButterflyChart.js +19 -19
  29. package/dist/ButterflyChart.js.map +1 -1
  30. package/dist/ChoroplethMap.cjs +1 -1
  31. package/dist/ChoroplethMap.cjs.map +1 -1
  32. package/dist/ChoroplethMap.js +51 -51
  33. package/dist/ChoroplethMap.js.map +1 -1
  34. package/dist/CirclePackingGraph.cjs +1 -1
  35. package/dist/CirclePackingGraph.js +4 -4
  36. package/dist/ColorLegend.cjs +1 -1
  37. package/dist/ColorLegend.js +2 -2
  38. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  39. package/dist/ColorLegendWithMouseOver.js +2 -2
  40. package/dist/CopyTextButton.cjs +1 -16
  41. package/dist/CopyTextButton.cjs.map +1 -1
  42. package/dist/CopyTextButton.js +13 -31
  43. package/dist/CopyTextButton.js.map +1 -1
  44. package/dist/CsvDownloadButton.cjs +2 -20
  45. package/dist/CsvDownloadButton.cjs.map +1 -1
  46. package/dist/CsvDownloadButton.js +5 -26
  47. package/dist/CsvDownloadButton.js.map +1 -1
  48. package/dist/DataCards.cjs +1 -21
  49. package/dist/DataCards.cjs.map +1 -1
  50. package/dist/DataCards.js +18 -42
  51. package/dist/DataCards.js.map +1 -1
  52. package/dist/DataTable.cjs +1 -1
  53. package/dist/DataTable.js +6 -6
  54. package/dist/DataTable.js.map +1 -1
  55. package/dist/{DetailsModal-0Ry5nXiC.js → DetailsModal-BMCTgVsk.js} +4 -4
  56. package/dist/{DetailsModal-0Ry5nXiC.js.map → DetailsModal-BMCTgVsk.js.map} +1 -1
  57. package/dist/{DetailsModal-BN0HDFlV.cjs → DetailsModal-DHttOA80.cjs} +2 -2
  58. package/dist/{DetailsModal-BN0HDFlV.cjs.map → DetailsModal-DHttOA80.cjs.map} +1 -1
  59. package/dist/DifferenceLineChart.cjs +1 -1
  60. package/dist/DifferenceLineChart.js +22 -22
  61. package/dist/DifferenceLineChart.js.map +1 -1
  62. package/dist/DonutChart.cjs +1 -1
  63. package/dist/DonutChart.js +10 -10
  64. package/dist/DotDensityMap.cjs +1 -1
  65. package/dist/DotDensityMap.cjs.map +1 -1
  66. package/dist/DotDensityMap.d.ts +1 -1
  67. package/dist/DotDensityMap.js +78 -78
  68. package/dist/DotDensityMap.js.map +1 -1
  69. package/dist/{DropdownSelect-BbdPQa2k.js → DropdownSelect-D8rFbygC.js} +5 -33
  70. package/dist/{DropdownSelect-BbdPQa2k.js.map → DropdownSelect-D8rFbygC.js.map} +1 -1
  71. package/dist/{DropdownSelect-Doz3mCrM.cjs → DropdownSelect-NNpOs7DX.cjs} +2 -26
  72. package/dist/{DropdownSelect-Doz3mCrM.cjs.map → DropdownSelect-NNpOs7DX.cjs.map} +1 -1
  73. package/dist/DualAxisLineChart.cjs +1 -1
  74. package/dist/DualAxisLineChart.js +15 -15
  75. package/dist/DualAxisLineChart.js.map +1 -1
  76. package/dist/DumbbellChart.cjs +1 -1
  77. package/dist/DumbbellChart.js +22 -22
  78. package/dist/DumbbellChart.js.map +1 -1
  79. package/dist/{EmptyState-gLDRXBHm.cjs → EmptyState-CGeBqbmR.cjs} +2 -2
  80. package/dist/{EmptyState-gLDRXBHm.cjs.map → EmptyState-CGeBqbmR.cjs.map} +1 -1
  81. package/dist/EmptyState-tZBErBKF.js +15 -0
  82. package/dist/{EmptyState-C7ZXkZWd.js.map → EmptyState-tZBErBKF.js.map} +1 -1
  83. package/dist/ExcelDownloadButton.cjs +1 -1
  84. package/dist/ExcelDownloadButton.js +2 -2
  85. package/dist/FootNote.cjs +1 -1
  86. package/dist/FootNote.js +2 -2
  87. package/dist/GeoHubCompareMaps.cjs +1 -1
  88. package/dist/GeoHubCompareMaps.js +13 -13
  89. package/dist/GeoHubCompareMaps.js.map +1 -1
  90. package/dist/GeoHubMap.cjs +1 -1
  91. package/dist/GeoHubMap.js +8 -8
  92. package/dist/GeoHubMap.js.map +1 -1
  93. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  94. package/dist/GeoHubMapWithLayerSelection.js +12 -12
  95. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  96. package/dist/{GraphContainer-d8A46BK2.cjs → GraphContainer-B1EDxJ0S.cjs} +2 -2
  97. package/dist/{GraphContainer-d8A46BK2.cjs.map → GraphContainer-B1EDxJ0S.cjs.map} +1 -1
  98. package/dist/{GraphContainer-CRqzdKu2.js → GraphContainer-CF6ws3pd.js} +2 -2
  99. package/dist/{GraphContainer-CRqzdKu2.js.map → GraphContainer-CF6ws3pd.js.map} +1 -1
  100. package/dist/GraphDescription.cjs +1 -1
  101. package/dist/GraphDescription.js +2 -2
  102. package/dist/GraphEl-CBZdcvb7.cjs +2 -0
  103. package/dist/GraphEl-CBZdcvb7.cjs.map +1 -0
  104. package/dist/{GraphEl-Dyu_EIQb.js → GraphEl-DKrjuQNB.js} +79 -18
  105. package/dist/GraphEl-DKrjuQNB.js.map +1 -0
  106. package/dist/GraphFooter.cjs +1 -1
  107. package/dist/GraphFooter.js +2 -2
  108. package/dist/GraphHeader.cjs +1 -1
  109. package/dist/GraphHeader.js +1 -1
  110. package/dist/GraphTitle.cjs +1 -1
  111. package/dist/GraphTitle.js +2 -2
  112. package/dist/GriddedGraphs.cjs +1 -1
  113. package/dist/GriddedGraphs.d.ts +1 -1
  114. package/dist/GriddedGraphs.js +8 -8
  115. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  116. package/dist/GriddedGraphsFromConfig.d.ts +1 -1
  117. package/dist/GriddedGraphsFromConfig.js +4 -4
  118. package/dist/GriddedGraphsFromConfig.js.map +1 -1
  119. package/dist/HeatMap.cjs +1 -1
  120. package/dist/HeatMap.js +14 -14
  121. package/dist/HeatMap.js.map +1 -1
  122. package/dist/Histogram.cjs +1 -1
  123. package/dist/Histogram.js +5 -5
  124. package/dist/Histogram.js.map +1 -1
  125. package/dist/HybridMap.cjs +1 -1
  126. package/dist/HybridMap.cjs.map +1 -1
  127. package/dist/HybridMap.js +134 -133
  128. package/dist/HybridMap.js.map +1 -1
  129. package/dist/ImageDownloadButton.cjs +1 -1
  130. package/dist/ImageDownloadButton.js +3 -3
  131. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  132. package/dist/LineChartWithConfidenceInterval.js +18 -18
  133. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  134. package/dist/LinearColorLegend.cjs +1 -1
  135. package/dist/LinearColorLegend.js +2 -2
  136. package/dist/{Modal-JW_IExO3.cjs → Modal-CaYa_TLE.cjs} +2 -2
  137. package/dist/{Modal-JW_IExO3.cjs.map → Modal-CaYa_TLE.cjs.map} +1 -1
  138. package/dist/{Modal-bMQA6bL_.js → Modal-Ch9wvKxF.js} +4 -4
  139. package/dist/{Modal-bMQA6bL_.js.map → Modal-Ch9wvKxF.js.map} +1 -1
  140. package/dist/MultiGraphDashboard.cjs +1 -1
  141. package/dist/MultiGraphDashboard.d.ts +1 -1
  142. package/dist/MultiGraphDashboard.js +5 -5
  143. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  144. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -1
  145. package/dist/MultiGraphDashboardFromConfig.js +4 -4
  146. package/dist/MultiGraphDashboardFromConfig.js.map +1 -1
  147. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  148. package/dist/MultiGraphDashboardWideToLongFormat.js +5 -5
  149. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  150. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +4 -4
  151. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js.map +1 -1
  152. package/dist/MultiLineAltChart.cjs +1 -1
  153. package/dist/MultiLineAltChart.js +17 -17
  154. package/dist/MultiLineAltChart.js.map +1 -1
  155. package/dist/MultiLineChart.cjs +1 -1
  156. package/dist/MultiLineChart.js +19 -19
  157. package/dist/MultiLineChart.js.map +1 -1
  158. package/dist/ParetoChart.cjs +1 -1
  159. package/dist/ParetoChart.js +15 -15
  160. package/dist/ParetoChart.js.map +1 -1
  161. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  162. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -1
  163. package/dist/PerformanceIntensiveMultiGraphDashboard.js +5 -5
  164. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  165. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -1
  166. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +4 -4
  167. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js.map +1 -1
  168. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  169. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -1
  170. package/dist/PerformanceIntensiveScrollStory.js +6 -6
  171. package/dist/PerformanceIntensiveScrollStory.js.map +1 -1
  172. package/dist/RadarChart.cjs +1 -1
  173. package/dist/RadarChart.cjs.map +1 -1
  174. package/dist/RadarChart.js +9 -9
  175. package/dist/{ReferenceLine-2XCwHXQ4.js → ReferenceLine-DgtoRgw0.js} +5 -5
  176. package/dist/ReferenceLine-DgtoRgw0.js.map +1 -0
  177. package/dist/{ReferenceLine-BH0qdf4R.cjs → ReferenceLine-M9aP3dj-.cjs} +2 -2
  178. package/dist/{ReferenceLine-BH0qdf4R.cjs.map → ReferenceLine-M9aP3dj-.cjs.map} +1 -1
  179. package/dist/{RegressionLine-BOTTNSrr.cjs → RegressionLine-Ci-Dh0w0.cjs} +2 -2
  180. package/dist/{RegressionLine-BOTTNSrr.cjs.map → RegressionLine-Ci-Dh0w0.cjs.map} +1 -1
  181. package/dist/{RegressionLine-DAcY2DjT.js → RegressionLine-D2aqeBKp.js} +6 -6
  182. package/dist/RegressionLine-D2aqeBKp.js.map +1 -0
  183. package/dist/SVGDownloadButton.cjs +1 -1
  184. package/dist/SVGDownloadButton.js +2 -2
  185. package/dist/SankeyChart.cjs +1 -1
  186. package/dist/SankeyChart.cjs.map +1 -1
  187. package/dist/SankeyChart.js +61 -67
  188. package/dist/SankeyChart.js.map +1 -1
  189. package/dist/ScatterPlot.cjs +1 -1
  190. package/dist/ScatterPlot.js +23 -23
  191. package/dist/ScatterPlot.js.map +1 -1
  192. package/dist/ScrollStory.cjs +1 -1
  193. package/dist/ScrollStory.d.ts +1 -1
  194. package/dist/ScrollStory.js +4 -4
  195. package/dist/ScrollStory.js.map +1 -1
  196. package/dist/SimpleLineChart.cjs +1 -1
  197. package/dist/SimpleLineChart.js +19 -19
  198. package/dist/SimpleLineChart.js.map +1 -1
  199. package/dist/SingleGraphDashboard.cjs +1 -1
  200. package/dist/SingleGraphDashboard.d.ts +1 -1
  201. package/dist/SingleGraphDashboard.js +9 -9
  202. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  203. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -1
  204. package/dist/SingleGraphDashboardFromConfig.js +4 -4
  205. package/dist/SingleGraphDashboardFromConfig.js.map +1 -1
  206. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  207. package/dist/SingleGraphDashboardGeoHubMaps.js +5 -5
  208. package/dist/SingleGraphDashboardGeoHubMaps.js.map +1 -1
  209. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  210. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +4 -4
  211. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js.map +1 -1
  212. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  213. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  214. package/dist/SingleGraphDashboardThreeDGraphs.js +63 -70
  215. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  216. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  217. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +4 -4
  218. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js.map +1 -1
  219. package/dist/SlopeChart.cjs +1 -1
  220. package/dist/SlopeChart.js +12 -12
  221. package/dist/SlopeChart.js.map +1 -1
  222. package/dist/{Source-DYMJRrsq.cjs → Source-B5AoSlsi.cjs} +2 -2
  223. package/dist/{Source-DYMJRrsq.cjs.map → Source-B5AoSlsi.cjs.map} +1 -1
  224. package/dist/{Source-DwTHB8fn.js → Source-F8EYCYkV.js} +4 -4
  225. package/dist/{Source-DwTHB8fn.js.map → Source-F8EYCYkV.js.map} +1 -1
  226. package/dist/Source.cjs +1 -1
  227. package/dist/Source.js +3 -3
  228. package/dist/SparkLine.cjs +1 -1
  229. package/dist/SparkLine.js +8 -8
  230. package/dist/SparkLine.js.map +1 -1
  231. package/dist/{Spinner-DVBnY6Vg.js → Spinner--r2RrJV8.js} +2 -2
  232. package/dist/{Spinner-DVBnY6Vg.js.map → Spinner--r2RrJV8.js.map} +1 -1
  233. package/dist/{Spinner-CQZcjzwd.cjs → Spinner-jTMOLuw_.cjs} +2 -2
  234. package/dist/{Spinner-CQZcjzwd.cjs.map → Spinner-jTMOLuw_.cjs.map} +1 -1
  235. package/dist/StatCardFromData.cjs +1 -1
  236. package/dist/StatCardFromData.js +2 -2
  237. package/dist/StripChart.cjs +1 -1
  238. package/dist/StripChart.js +10 -10
  239. package/dist/StripChart.js.map +1 -1
  240. package/dist/ThreeDGlobe.cjs +1 -1
  241. package/dist/ThreeDGlobe.js +13 -13
  242. package/dist/ThreeDGlobe.js.map +1 -1
  243. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  244. package/dist/ThresholdColorLegendWithMouseOver.js +3 -3
  245. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  246. package/dist/{Tooltip-uUdw6wJL.cjs → Tooltip-BLa2EfMs.cjs} +2 -2
  247. package/dist/{Tooltip-uUdw6wJL.cjs.map → Tooltip-BLa2EfMs.cjs.map} +1 -1
  248. package/dist/{Tooltip-Dj5eVppQ.js → Tooltip-BRnAz2Gv.js} +3 -3
  249. package/dist/{Tooltip-Dj5eVppQ.js.map → Tooltip-BRnAz2Gv.js.map} +1 -1
  250. package/dist/TreeMapGraph.cjs +1 -1
  251. package/dist/TreeMapGraph.js +10 -10
  252. package/dist/TreeMapGraph.js.map +1 -1
  253. package/dist/Types.d.ts +8 -1
  254. package/dist/{Typography-PxtFcnJb.js → Typography-hWfh3H0J.js} +2 -2
  255. package/dist/{Typography-PxtFcnJb.js.map → Typography-hWfh3H0J.js.map} +1 -1
  256. package/dist/{Typography-DX7PlgQU.cjs → Typography-sa1UE0oF.cjs} +2 -2
  257. package/dist/{Typography-DX7PlgQU.cjs.map → Typography-sa1UE0oF.cjs.map} +1 -1
  258. package/dist/UnitChart.cjs +1 -1
  259. package/dist/UnitChart.js +8 -8
  260. package/dist/WaterfallChart.cjs +2 -0
  261. package/dist/WaterfallChart.cjs.map +1 -0
  262. package/dist/WaterfallChart.d.ts +208 -0
  263. package/dist/WaterfallChart.js +427 -0
  264. package/dist/WaterfallChart.js.map +1 -0
  265. package/dist/{XAxesLabels-Bt5NZBmX.cjs → XAxesLabels-C6o9jJal.cjs} +2 -2
  266. package/dist/{XAxesLabels-Bt5NZBmX.cjs.map → XAxesLabels-C6o9jJal.cjs.map} +1 -1
  267. package/dist/{XAxesLabels-Dy8E1SEo.js → XAxesLabels-rhK7lRjO.js} +3 -3
  268. package/dist/{XAxesLabels-Dy8E1SEo.js.map → XAxesLabels-rhK7lRjO.js.map} +1 -1
  269. package/dist/{XTicksAndGridLines-CObVFSm4.js → XTicksAndGridLines-CVZkZkpS.js} +2 -2
  270. package/dist/{XTicksAndGridLines-CObVFSm4.js.map → XTicksAndGridLines-CVZkZkpS.js.map} +1 -1
  271. package/dist/{XTicksAndGridLines-B6CELS7q.cjs → XTicksAndGridLines-CekrPykD.cjs} +2 -2
  272. package/dist/{XTicksAndGridLines-B6CELS7q.cjs.map → XTicksAndGridLines-CekrPykD.cjs.map} +1 -1
  273. package/dist/{YAxesLabels-DesLesUP.cjs → YAxesLabels-BQ2aCazV.cjs} +2 -2
  274. package/dist/{YAxesLabels-DesLesUP.cjs.map → YAxesLabels-BQ2aCazV.cjs.map} +1 -1
  275. package/dist/{YAxesLabels-a57ZRv-0.js → YAxesLabels-QICWVsHf.js} +3 -3
  276. package/dist/{YAxesLabels-a57ZRv-0.js.map → YAxesLabels-QICWVsHf.js.map} +1 -1
  277. package/dist/{YTicksAndGridLines-Blepl7XF.js → YTicksAndGridLines-GnXnSRF2.js} +2 -2
  278. package/dist/{YTicksAndGridLines-Blepl7XF.js.map → YTicksAndGridLines-GnXnSRF2.js.map} +1 -1
  279. package/dist/{YTicksAndGridLines-4pxTRlRK.cjs → YTicksAndGridLines-UzVC5eBM.cjs} +2 -2
  280. package/dist/{YTicksAndGridLines-4pxTRlRK.cjs.map → YTicksAndGridLines-UzVC5eBM.cjs.map} +1 -1
  281. package/dist/{band-DHUZ2X7J.js → band-DYty33LD.js} +2 -2
  282. package/dist/{band-DHUZ2X7J.js.map → band-DYty33LD.js.map} +1 -1
  283. package/dist/{checkIfMultiple-CIRtG0KE.js → checkIfMultiple-D9fVkeOq.js} +7 -19
  284. package/dist/{checkIfMultiple-CIRtG0KE.js.map → checkIfMultiple-D9fVkeOq.js.map} +1 -1
  285. package/dist/checkIfMultiple-DxnGtm3t.cjs +2 -0
  286. package/dist/{checkIfMultiple-wg6hJLXy.cjs.map → checkIfMultiple-DxnGtm3t.cjs.map} +1 -1
  287. package/dist/{customArea-BUhPiPT6.js → customArea-ASDaSE4u.js} +5 -5
  288. package/dist/{customArea-BUhPiPT6.js.map → customArea-ASDaSE4u.js.map} +1 -1
  289. package/dist/{customArea-CMF5g-C3.cjs → customArea-B1LWQBmM.cjs} +2 -2
  290. package/dist/{customArea-CMF5g-C3.cjs.map → customArea-B1LWQBmM.cjs.map} +1 -1
  291. package/dist/defaultLocale-C4wbwF1n.cjs +2 -0
  292. package/dist/defaultLocale-C4wbwF1n.cjs.map +1 -0
  293. package/dist/defaultLocale-CPy_WVtp.js +172 -0
  294. package/dist/defaultLocale-CPy_WVtp.js.map +1 -0
  295. package/dist/{ensureCompleteData-DH5c52Ub.js → ensureCompleteData-CDIukSG6.js} +2 -2
  296. package/dist/{ensureCompleteData-DH5c52Ub.js.map → ensureCompleteData-CDIukSG6.js.map} +1 -1
  297. package/dist/{ensureCompleteData-pZ9QO6kB.cjs → ensureCompleteData-D9bQTiVS.cjs} +2 -2
  298. package/dist/{ensureCompleteData-pZ9QO6kB.cjs.map → ensureCompleteData-D9bQTiVS.cjs.map} +1 -1
  299. package/dist/{fetchAndParseData-BpqkBPQL.js → fetchAndParseData-BAXhgTDM.js} +12 -18
  300. package/dist/{fetchAndParseData-BpqkBPQL.js.map → fetchAndParseData-BAXhgTDM.js.map} +1 -1
  301. package/dist/{fetchAndParseData-l5HGMAEs.cjs → fetchAndParseData-QTF6tjij.cjs} +3 -8
  302. package/dist/{fetchAndParseData-l5HGMAEs.cjs.map → fetchAndParseData-QTF6tjij.cjs.map} +1 -1
  303. package/dist/fetchAndParseData.cjs +1 -1
  304. package/dist/fetchAndParseData.js +1 -1
  305. package/dist/getCentroidCoordinates-CtBGrNC8.cjs +2 -0
  306. package/dist/getCentroidCoordinates-CtBGrNC8.cjs.map +1 -0
  307. package/dist/{getCentroidCoordinates-D7r34N4w.js → getCentroidCoordinates-s0OOUjLF.js} +15 -15
  308. package/dist/getCentroidCoordinates-s0OOUjLF.js.map +1 -0
  309. package/dist/{getGraphList-Dxwo9TDb.js → getGraphList-Bpd3PVmF.js} +7 -1
  310. package/dist/getGraphList-Bpd3PVmF.js.map +1 -0
  311. package/dist/getGraphList-DQ24IzAn.cjs +2 -0
  312. package/dist/getGraphList-DQ24IzAn.cjs.map +1 -0
  313. package/dist/{getJenks-GYmdwBqm.cjs → getJenks-BzJvhy_H.cjs} +2 -2
  314. package/dist/{getJenks-GYmdwBqm.cjs.map → getJenks-BzJvhy_H.cjs.map} +1 -1
  315. package/dist/{getJenks-BbngDoBQ.js → getJenks-DTCcQSDi.js} +2 -2
  316. package/dist/{getJenks-BbngDoBQ.js.map → getJenks-DTCcQSDi.js.map} +1 -1
  317. package/dist/getSchema.cjs +1 -1
  318. package/dist/getSchema.cjs.map +1 -1
  319. package/dist/getSchema.d.ts +3 -3
  320. package/dist/getSchema.js +24 -16
  321. package/dist/getSchema.js.map +1 -1
  322. package/dist/getSliderMarks-CIuSoedo.cjs +2 -0
  323. package/dist/{getSliderMarks-BmADcPQt.cjs.map → getSliderMarks-CIuSoedo.cjs.map} +1 -1
  324. package/dist/{getSliderMarks-HIDJ0_Cd.js → getSliderMarks-Cvg8zHBU.js} +4 -9
  325. package/dist/getSliderMarks-Cvg8zHBU.js.map +1 -0
  326. package/dist/{imageDownload-NYXbvKob.cjs → imageDownload-61q6jyJW.cjs} +3 -3
  327. package/dist/imageDownload-61q6jyJW.cjs.map +1 -0
  328. package/dist/{imageDownload-BU4qnxJP.js → imageDownload-Diofs_vY.js} +14 -15
  329. package/dist/imageDownload-Diofs_vY.js.map +1 -0
  330. package/dist/{index-D491FEn1.js → index-BQYOuXdl.js} +15 -15
  331. package/dist/{index-D491FEn1.js.map → index-BQYOuXdl.js.map} +1 -1
  332. package/dist/{index-DxXnJ8Ti.cjs → index-C5K--w8d.cjs} +2 -2
  333. package/dist/index-C5K--w8d.cjs.map +1 -0
  334. package/dist/{index-DRXx7m-C.cjs → index-C6er0ety.cjs} +2 -2
  335. package/dist/{index-DRXx7m-C.cjs.map → index-C6er0ety.cjs.map} +1 -1
  336. package/dist/{index-CHPV5EwG-CTPQjnHt.cjs → index-CHPV5EwG-6v2a2njQ.cjs} +5 -69
  337. package/dist/{index-CHPV5EwG-CTPQjnHt.cjs.map → index-CHPV5EwG-6v2a2njQ.cjs.map} +1 -1
  338. package/dist/{index-CHPV5EwG-Curnpaqc.js → index-CHPV5EwG-DecW7_qr.js} +5 -77
  339. package/dist/{index-CHPV5EwG-Curnpaqc.js.map → index-CHPV5EwG-DecW7_qr.js.map} +1 -1
  340. package/dist/{index-SKgJALZg.js → index-CSiFiXPj.js} +3 -3
  341. package/dist/{index-SKgJALZg.js.map → index-CSiFiXPj.js.map} +1 -1
  342. package/dist/index-CoobIWNj.cjs +10 -0
  343. package/dist/index-CoobIWNj.cjs.map +1 -0
  344. package/dist/index-CtMBjvtq.js +148 -0
  345. package/dist/index-CtMBjvtq.js.map +1 -0
  346. package/dist/{index-Cw8sCyo_-BrHiWiRF.cjs → index-Cw8sCyo_-CEcCMKUi.cjs} +2 -2
  347. package/dist/{index-Cw8sCyo_-BrHiWiRF.cjs.map → index-Cw8sCyo_-CEcCMKUi.cjs.map} +1 -1
  348. package/dist/{index-Cw8sCyo_-B2hEKjzG.js → index-Cw8sCyo_-n4AacHGk.js} +6 -4
  349. package/dist/{index-Cw8sCyo_-B2hEKjzG.js.map → index-Cw8sCyo_-n4AacHGk.js.map} +1 -1
  350. package/dist/{index-R1gTfap5.js → index-D5ihtaJJ.js} +12 -12
  351. package/dist/{index-R1gTfap5.js.map → index-D5ihtaJJ.js.map} +1 -1
  352. package/dist/{index-B_sAFsEV.cjs → index-D69M6klB.cjs} +2 -2
  353. package/dist/{index-B_sAFsEV.cjs.map → index-D69M6klB.cjs.map} +1 -1
  354. package/dist/{index-GEsywGxz.js → index-DCsFBfJ_.js} +160 -104
  355. package/dist/index-DCsFBfJ_.js.map +1 -0
  356. package/dist/{index-WML2dCZ0.cjs → index-Dgjq6aZ2.cjs} +2 -2
  357. package/dist/{index-WML2dCZ0.cjs.map → index-Dgjq6aZ2.cjs.map} +1 -1
  358. package/dist/{index-Dzc_aaI9-BmkfPMyc.cjs → index-Dzc_aaI9-C3DbPpy3.cjs} +2 -2
  359. package/dist/{index-Dzc_aaI9-BmkfPMyc.cjs.map → index-Dzc_aaI9-C3DbPpy3.cjs.map} +1 -1
  360. package/dist/{index-Dzc_aaI9-Bb7gobH_.js → index-Dzc_aaI9-CG2Ar7l1.js} +4 -4
  361. package/dist/{index-Dzc_aaI9-Bb7gobH_.js.map → index-Dzc_aaI9-CG2Ar7l1.js.map} +1 -1
  362. package/dist/index.cjs +1 -1
  363. package/dist/index.d.ts +209 -94
  364. package/dist/index.js +129 -127
  365. package/dist/index.js.map +1 -1
  366. package/dist/{linear-BqltdMeF.js → linear-CalFSAaO.js} +2 -2
  367. package/dist/{linear-BqltdMeF.js.map → linear-CalFSAaO.js.map} +1 -1
  368. package/dist/{linear-BwPAspcq.cjs → linear-CgUCbw9F.cjs} +2 -2
  369. package/dist/{linear-BwPAspcq.cjs.map → linear-CgUCbw9F.cjs.map} +1 -1
  370. package/dist/{ordinal-BJ6O_LC5.js → ordinal-CHaxGJ_l.js} +2 -2
  371. package/dist/{ordinal-BJ6O_LC5.js.map → ordinal-CHaxGJ_l.js.map} +1 -1
  372. package/dist/{parse-DlCRUFh_.js → parse-Dv4of-PN.js} +2 -67
  373. package/dist/{parse-DlCRUFh_.js.map → parse-Dv4of-PN.js.map} +1 -1
  374. package/dist/parse-xYI9yrvL.cjs +2 -0
  375. package/dist/{parse-hMnG_lRV.cjs.map → parse-xYI9yrvL.cjs.map} +1 -1
  376. package/dist/{pow-DgrUorRi.cjs → pow-BnyPO-NX.cjs} +2 -2
  377. package/dist/{pow-DgrUorRi.cjs.map → pow-BnyPO-NX.cjs.map} +1 -1
  378. package/dist/{pow-CM2aze4M.js → pow-CaIrlM4J.js} +2 -2
  379. package/dist/{pow-CM2aze4M.js.map → pow-CaIrlM4J.js.map} +1 -1
  380. package/dist/proxy-C4-uo6nS.cjs +2 -0
  381. package/dist/proxy-C4-uo6nS.cjs.map +1 -0
  382. package/dist/{proxy-BxkFHwUw.js → proxy-DRuSUlPL.js} +2828 -2717
  383. package/dist/proxy-DRuSUlPL.js.map +1 -0
  384. package/dist/{string2HTML-DhG75NqA.js → string2HTML-DUYZT1L9.js} +17 -17
  385. package/dist/{string2HTML-DhG75NqA.js.map → string2HTML-DUYZT1L9.js.map} +1 -1
  386. package/dist/{string2HTML-CPGr_I5E.cjs → string2HTML-xx9MzTtY.cjs} +3 -3
  387. package/dist/{string2HTML-CPGr_I5E.cjs.map → string2HTML-xx9MzTtY.cjs.map} +1 -1
  388. package/dist/style.css +1 -1
  389. package/dist/{time-BUL-dwnK.js → time-CAtex-RV.js} +2 -2
  390. package/dist/{time-BUL-dwnK.js.map → time-CAtex-RV.js.map} +1 -1
  391. package/dist/{time-CZd5YLSP.cjs → time-CkcKbhwe.cjs} +2 -2
  392. package/dist/{time-CZd5YLSP.cjs.map → time-CkcKbhwe.cjs.map} +1 -1
  393. package/dist/transformData.cjs +1 -1
  394. package/dist/transformData.d.ts +1 -1
  395. package/dist/transformData.js +3 -3
  396. package/dist/transformDataForAggregation-BFdha9Dx.cjs +2 -0
  397. package/dist/transformDataForAggregation-BFdha9Dx.cjs.map +1 -0
  398. package/dist/{transformDataForAggregation-j34UL73s.js → transformDataForAggregation-wdPf8bNt.js} +26 -11
  399. package/dist/transformDataForAggregation-wdPf8bNt.js.map +1 -0
  400. package/dist/{transformDataForGraphFromFile-CuXxR8uA.cjs → transformDataForGraphFromFile-DOhp1qrp.cjs} +2 -2
  401. package/dist/{transformDataForGraphFromFile-CuXxR8uA.cjs.map → transformDataForGraphFromFile-DOhp1qrp.cjs.map} +1 -1
  402. package/dist/{transformDataForGraphFromFile-DyP-83Nh.js → transformDataForGraphFromFile-dt9sHTVy.js} +3 -3
  403. package/dist/{transformDataForGraphFromFile-DyP-83Nh.js.map → transformDataForGraphFromFile-dt9sHTVy.js.map} +1 -1
  404. package/dist/{use-in-view-QcfiW0w3.cjs → use-in-view-C3o_ntMv.cjs} +2 -2
  405. package/dist/use-in-view-C3o_ntMv.cjs.map +1 -0
  406. package/dist/{use-in-view-Cxa7y1TH.js → use-in-view-Dl5L8LtP.js} +2 -2
  407. package/dist/use-in-view-Dl5L8LtP.js.map +1 -0
  408. package/dist/utils.cjs +1 -1
  409. package/dist/utils.js +4 -4
  410. package/dist/validateSchema.cjs +1 -1
  411. package/dist/validateSchema.d.ts +1 -1
  412. package/dist/validateSchema.js +1 -1
  413. package/dist/{x-BBpi7a_7-WVdj1j6r.js → x-BBpi7a_7-BsvWCzYM.js} +1 -31
  414. package/dist/{x-BBpi7a_7-WVdj1j6r.js.map → x-BBpi7a_7-BsvWCzYM.js.map} +1 -1
  415. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +2 -0
  416. package/dist/{x-BBpi7a_7-mTo40uId.cjs.map → x-BBpi7a_7-DXYIEFwN.cjs.map} +1 -1
  417. package/dist/{zoom-C9MFjAaV.js → zoom-5AkJSuWO.js} +3 -3
  418. package/dist/zoom-5AkJSuWO.js.map +1 -0
  419. package/dist/{zoom-DPw8bba-.cjs → zoom-ChcvXFIz.cjs} +2 -2
  420. package/dist/zoom-ChcvXFIz.cjs.map +1 -0
  421. package/package.json +21 -1
  422. package/readme.md +33 -22
  423. package/dist/EmptyState-C7ZXkZWd.js +0 -15
  424. package/dist/GraphEl-BixTEyKW.cjs +0 -2
  425. package/dist/GraphEl-BixTEyKW.cjs.map +0 -1
  426. package/dist/GraphEl-Dyu_EIQb.js.map +0 -1
  427. package/dist/ReferenceLine-2XCwHXQ4.js.map +0 -1
  428. package/dist/RegressionLine-DAcY2DjT.js.map +0 -1
  429. package/dist/checkIfMultiple-wg6hJLXy.cjs +0 -12
  430. package/dist/defaultLocale-BEa-49Qz.js +0 -172
  431. package/dist/defaultLocale-BEa-49Qz.js.map +0 -1
  432. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -2
  433. package/dist/defaultLocale-DIVzfLaQ.cjs.map +0 -1
  434. package/dist/getCentroidCoordinates-D7r34N4w.js.map +0 -1
  435. package/dist/getCentroidCoordinates-Dng1HVjO.cjs +0 -2
  436. package/dist/getCentroidCoordinates-Dng1HVjO.cjs.map +0 -1
  437. package/dist/getGraphList-CA17dvFB.cjs +0 -2
  438. package/dist/getGraphList-CA17dvFB.cjs.map +0 -1
  439. package/dist/getGraphList-Dxwo9TDb.js.map +0 -1
  440. package/dist/getSliderMarks-BmADcPQt.cjs +0 -6
  441. package/dist/getSliderMarks-HIDJ0_Cd.js.map +0 -1
  442. package/dist/imageDownload-BU4qnxJP.js.map +0 -1
  443. package/dist/imageDownload-NYXbvKob.cjs.map +0 -1
  444. package/dist/index-BqfRwk1n.js +0 -146
  445. package/dist/index-BqfRwk1n.js.map +0 -1
  446. package/dist/index-DG2bgAva.cjs +0 -10
  447. package/dist/index-DG2bgAva.cjs.map +0 -1
  448. package/dist/index-DxXnJ8Ti.cjs.map +0 -1
  449. package/dist/index-GEsywGxz.js.map +0 -1
  450. package/dist/parse-hMnG_lRV.cjs +0 -2
  451. package/dist/proxy-BxkFHwUw.js.map +0 -1
  452. package/dist/proxy-BxvUI_9l.cjs +0 -2
  453. package/dist/proxy-BxvUI_9l.cjs.map +0 -1
  454. package/dist/transformDataForAggregation-CYoB5Xsk.cjs +0 -2
  455. package/dist/transformDataForAggregation-CYoB5Xsk.cjs.map +0 -1
  456. package/dist/transformDataForAggregation-j34UL73s.js.map +0 -1
  457. package/dist/use-in-view-Cxa7y1TH.js.map +0 -1
  458. package/dist/use-in-view-QcfiW0w3.cjs.map +0 -1
  459. package/dist/x-BBpi7a_7-mTo40uId.cjs +0 -27
  460. package/dist/zoom-C9MFjAaV.js.map +0 -1
  461. package/dist/zoom-DPw8bba-.cjs.map +0 -1
package/dist/HybridMap.js CHANGED
@@ -1,63 +1,63 @@
1
- import { _ as Be, m as Me, b as Oe, j as a, c as We } from "./index-CHPV5EwG-Curnpaqc.js";
1
+ import { _ as We, m as Ne, b as Oe, j as a, c as _e } from "./index-CHPV5EwG-DecW7_qr.js";
2
2
  import * as Ae from "react";
3
3
  import Fe, { useState as z, useRef as Tt, useEffect as se, useEffectEvent as Te } from "react";
4
- import { f as Re, p as qe } from "./parse-DlCRUFh_.js";
5
- import { g as Ge, N as He } from "./getSliderMarks-HIDJ0_Cd.js";
6
- import { w as Ue } from "./Spinner-DVBnY6Vg.js";
7
- import { i as De } from "./index-Bwrro8-q.js";
8
- import { z as Xe, t as Ye, g as Je, a as Ke, b as Ze, c as Qe, d as to } from "./zoom-C9MFjAaV.js";
9
- import { j as je } from "./Typography-PxtFcnJb.js";
10
- import { t as eo } from "./index-GEsywGxz.js";
11
- import { n as $e } from "./Source-DwTHB8fn.js";
12
- import { w as oo } from "./index-Dzc_aaI9-Bb7gobH_.js";
13
- import { T as ao } from "./Tooltip-Dj5eVppQ.js";
14
- import { X as ro, P as io, e as no } from "./index-D491FEn1.js";
15
- import { D as lo } from "./DetailsModal-0Ry5nXiC.js";
16
- import { s as so } from "./pow-CM2aze4M.js";
17
- import { o as co } from "./ordinal-BJ6O_LC5.js";
4
+ import { f as Re, p as qe } from "./parse-Dv4of-PN.js";
5
+ import { g as Ge, N as He } from "./getSliderMarks-Cvg8zHBU.js";
6
+ import { w as Ue } from "./Spinner--r2RrJV8.js";
7
+ import { i as $e } from "./index-Bwrro8-q.js";
8
+ import { z as Xe, i as Ye, g as Je, a as Ke, b as Ze, c as Qe, d as to } from "./zoom-5AkJSuWO.js";
9
+ import { j as ke } from "./Typography-hWfh3H0J.js";
10
+ import { i as eo } from "./index-DCsFBfJ_.js";
11
+ import { n as Se } from "./Source-F8EYCYkV.js";
12
+ import { w as oo } from "./index-Dzc_aaI9-CG2Ar7l1.js";
13
+ import { T as ao } from "./Tooltip-BRnAz2Gv.js";
14
+ import { X as ro, P as io, e as no } from "./index-BQYOuXdl.js";
15
+ import { D as lo } from "./DetailsModal-BMCTgVsk.js";
16
+ import { s as so } from "./pow-CaIrlM4J.js";
17
+ import { o as co } from "./ordinal-CHaxGJ_l.js";
18
18
  import { t as mo } from "./threshold-DFfqcDMa.js";
19
19
  import { s as Ce } from "./select-DKy99ogv.js";
20
+ import { m as ht } from "./proxy-DRuSUlPL.js";
20
21
  import { c as ce } from "./checkIfNullOrUndefined-DmfiKkNw.js";
21
22
  import { n as po } from "./numberFormattingFunction-14YCbkN2.js";
22
- import { u as uo } from "./use-in-view-Cxa7y1TH.js";
23
- import { m as ht } from "./proxy-BxkFHwUw.js";
24
- import { A as ho } from "./index-BqfRwk1n.js";
23
+ import { u as uo } from "./use-in-view-Dl5L8LtP.js";
24
+ import { A as ho } from "./index-CtMBjvtq.js";
25
25
  import { GraphFooter as go } from "./GraphFooter.js";
26
26
  import { GraphHeader as fo } from "./GraphHeader.js";
27
27
  import { Colors as St } from "./Colors.js";
28
- import { f as yo } from "./fetchAndParseData-BpqkBPQL.js";
29
- import { a as xo, G as vo } from "./GraphContainer-CRqzdKu2.js";
28
+ import { f as yo } from "./fetchAndParseData-BAXhgTDM.js";
29
+ import { a as xo, G as vo } from "./GraphContainer-CF6ws3pd.js";
30
30
  import { g as bo } from "./getUniqValue-DsqSii6M.js";
31
- import { g as wo } from "./getJenks-BbngDoBQ.js";
32
- var ko = "Separator", Se = "horizontal", jo = ["horizontal", "vertical"], Ee = Ae.forwardRef((r, t) => {
33
- const { decorative: e, orientation: h = Se, ...w } = r, n = Co(h) ? h : Se, k = e ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
31
+ import { g as wo } from "./getJenks-DTCcQSDi.js";
32
+ var jo = "Separator", Me = "horizontal", ko = ["horizontal", "vertical"], Ee = Ae.forwardRef((r, t) => {
33
+ const { decorative: e, orientation: h = Me, ...w } = r, n = Co(h) ? h : Me, j = e ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
34
34
  return /* @__PURE__ */ Oe.jsx(
35
35
  oo.div,
36
36
  {
37
37
  "data-orientation": n,
38
- ...k,
38
+ ...j,
39
39
  ...w,
40
40
  ref: t
41
41
  }
42
42
  );
43
43
  });
44
- Ee.displayName = ko;
44
+ Ee.displayName = jo;
45
45
  function Co(r) {
46
- return jo.includes(r);
46
+ return ko.includes(r);
47
47
  }
48
48
  var Ie = Ee;
49
49
  const ze = Fe.forwardRef((r, t) => {
50
- const e = Be.c(14);
51
- let h, w, n, k;
50
+ const e = We.c(14);
51
+ let h, w, n, j;
52
52
  e[0] !== r ? ({
53
53
  className: h,
54
54
  variant: n,
55
- orientation: k,
55
+ orientation: j,
56
56
  ...w
57
- } = r, e[0] = r, e[1] = h, e[2] = w, e[3] = n, e[4] = k) : (h = e[1], w = e[2], n = e[3], k = e[4]);
58
- const j = n === void 0 ? "dark" : n, d = k === void 0 ? "horizontal" : k, g = d === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", S = j === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
57
+ } = r, e[0] = r, e[1] = h, e[2] = w, e[3] = n, e[4] = j) : (h = e[1], w = e[2], n = e[3], j = e[4]);
58
+ const k = n === void 0 ? "dark" : n, d = j === void 0 ? "horizontal" : j, g = d === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", S = k === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
59
59
  let N;
60
- e[5] !== h || e[6] !== g || e[7] !== S ? (N = Me(g, S, h), e[5] = h, e[6] = g, e[7] = S, e[8] = N) : N = e[8];
60
+ e[5] !== h || e[6] !== g || e[7] !== S ? (N = Ne(g, S, h), e[5] = h, e[6] = g, e[7] = S, e[8] = N) : N = e[8];
61
61
  let L;
62
62
  return e[9] !== d || e[10] !== w || e[11] !== t || e[12] !== N ? (L = /* @__PURE__ */ Oe.jsx(Ie, { ...w, ref: t, orientation: d, className: N }), e[9] = d, e[10] = w, e[11] = t, e[12] = N, e[13] = L) : L = e[13], L;
63
63
  });
@@ -69,15 +69,15 @@ function No(r) {
69
69
  mapData: h,
70
70
  mapColorLegendTitle: w,
71
71
  colorDomain: n,
72
- radius: k,
73
- height: j,
72
+ radius: j,
73
+ height: k,
74
74
  width: d,
75
75
  scale: g,
76
76
  centerPoint: S,
77
77
  tooltip: N,
78
78
  showLabels: L,
79
- mapBorderWidth: ot,
80
- mapBorderColor: at,
79
+ mapBorderWidth: at,
80
+ mapBorderColor: rt,
81
81
  mapNoDataColor: gt,
82
82
  onSeriesMouseOver: K,
83
83
  showColorScale: Mt,
@@ -87,46 +87,46 @@ function No(r) {
87
87
  onSeriesMouseClick: F,
88
88
  resetSelectionOnDoubleClick: Et,
89
89
  detailsOnClick: Z,
90
- styles: O,
91
- classNames: rt,
90
+ styles: M,
91
+ classNames: Q,
92
92
  mapProjection: it,
93
- zoomInteraction: Q,
93
+ zoomInteraction: tt,
94
94
  animate: x,
95
95
  dimmedOpacity: T,
96
96
  customLayers: ft,
97
97
  maxRadiusValue: yt,
98
98
  categorical: nt,
99
- dotColor: tt,
99
+ dotColor: et,
100
100
  collapseColorScaleByDefault: It,
101
101
  highlightedIds: lt,
102
102
  mapProperty: xt,
103
103
  dotLegendTitle: vt,
104
104
  dotBorderColor: zt,
105
105
  labelColor: Lt
106
- } = r, [P, _] = z(void 0), [b, v] = z(It === void 0 ? !(d < 680) : !It), st = Tt(null), [ct, et] = z(void 0), [Pt, E] = z(void 0), [dt, I] = z(void 0), [bt, R] = z(void 0), V = Tt(null), q = uo(V, {
106
+ } = r, [P, V] = z(void 0), [b, v] = z(It === void 0 ? !(d < 680) : !It), st = Tt(null), [ct, ot] = z(void 0), [Pt, E] = z(void 0), [dt, I] = z(void 0), [bt, R] = z(void 0), B = Tt(null), q = uo(B, {
107
107
  once: x.once,
108
108
  amount: x.amount
109
- }), wt = Tt(null), B = t.filter((o) => o.radius === void 0 || o.radius === null).length !== t.length ? so().domain([0, yt]).range([0.25, k]).nice() : void 0, Gt = nt ? co().domain(n).range(e) : mo().domain(n).range(e);
109
+ }), wt = Tt(null), W = t.filter((o) => o.radius === void 0 || o.radius === null).length !== t.length ? so().domain([0, yt]).range([0.25, j]).nice() : void 0, Gt = nt ? co().domain(n).range(e) : mo().domain(n).range(e);
110
110
  se(() => {
111
- const o = Ce(wt.current), i = Ce(V.current), M = (m) => {
112
- if (Q === "noZoom") return !1;
113
- if (Q === "button") return !m.type.includes("wheel");
111
+ const o = Ce(wt.current), i = Ce(B.current), O = (m) => {
112
+ if (tt === "noZoom") return !1;
113
+ if (tt === "button") return !m.type.includes("wheel");
114
114
  const s = m.type === "wheel", C = m.type.startsWith("touch"), p = m.type === "mousedown" || m.type === "mousemove";
115
- return C ? !0 : s ? Q === "scroll" ? !0 : m.ctrlKey : p && !m.button && !m.ctrlKey;
116
- }, l = Xe().scaleExtent(Rt).translateExtent(qt || [[-20, -20], [d + 20, j + 20]]).filter(M).on("zoom", ({
115
+ return C ? !0 : s ? tt === "scroll" ? !0 : m.ctrlKey : p && !m.button && !m.ctrlKey;
116
+ }, l = Xe().scaleExtent(Rt).translateExtent(qt || [[-20, -20], [d + 20, k + 20]]).filter(O).on("zoom", ({
117
117
  transform: m
118
118
  }) => {
119
119
  o.attr("transform", m);
120
120
  });
121
121
  i.call(l), st.current = l;
122
- }, [j, d, Q]);
123
- const D = Ye(h), W = eo(h), G = D[2] - D[0], _t = D[3] - D[1], Vt = d * 190 / 960 * 360 / G, Bt = j * 190 / 678 * 180 / _t, H = g * Math.min(Vt, Bt), A = it === "mercator" ? Je().rotate([0, 0]).center(S || W.geometry.coordinates).translate([d / 2, j / 2]).scale(H) : it === "equalEarth" ? Ke().rotate([0, 0]).center(S || W.geometry.coordinates).translate([d / 2, j / 2]).scale(H) : it === "naturalEarth" ? Ze().rotate([0, 0]).center(S || W.geometry.coordinates).translate([d / 2, j / 2]).scale(H) : it === "orthographic" ? Qe().rotate([0, 0]).center(S || W.geometry.coordinates).translate([d / 2, j / 2]).scale(H) : to().rotate([0, 0]).center(S || W.geometry.coordinates).translate([d / 2, j / 2]).scale(H), kt = (o) => {
124
- if (!V.current || !st.current) return;
125
- Ce(V.current).call(st.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
122
+ }, [k, d, tt]);
123
+ const D = Ye(h), _ = eo(h), G = D[2] - D[0], Vt = D[3] - D[1], Bt = d * 190 / 960 * 360 / G, Wt = k * 190 / 678 * 180 / Vt, H = g * Math.min(Bt, Wt), A = it === "mercator" ? Je().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : it === "equalEarth" ? Ke().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : it === "naturalEarth" ? Ze().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : it === "orthographic" ? Qe().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H) : to().rotate([0, 0]).center(S || _.geometry.coordinates).translate([d / 2, k / 2]).scale(H), jt = (o) => {
124
+ if (!B.current || !st.current) return;
125
+ Ce(B.current).call(st.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
126
126
  };
127
127
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
128
128
  /* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
129
- /* @__PURE__ */ a.jsx(ht.svg, { width: `${d}px`, height: `${j}px`, viewBox: `0 0 ${d} ${j}`, ref: V, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: wt, children: [
129
+ /* @__PURE__ */ a.jsx(ht.svg, { width: `${d}px`, height: `${k}px`, viewBox: `0 0 ${d} ${k}`, ref: B, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: wt, children: [
130
130
  ft.filter((o) => o.position === "before").map((o) => o.layer),
131
131
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
132
132
  h.features.map((o, i) => t.findIndex((l) => l.id === o.properties[xt]) !== -1 ? null : /* @__PURE__ */ a.jsx("g", { opacity: P ? T : lt.length !== 0 ? lt.indexOf(o.properties[xt]) !== -1 ? 1 : T : 1, children: o.geometry.type === "MultiPolygon" ? (
@@ -140,8 +140,8 @@ function No(r) {
140
140
  mt !== C.length - 1 ? p = `${p}${$[0]} ${$[1]}L` : p = `${p}${$[0]} ${$[1]}`;
141
141
  }), s += p;
142
142
  }), /* @__PURE__ */ a.jsx("path", { d: s, style: {
143
- stroke: at,
144
- strokeWidth: ot,
143
+ stroke: rt,
144
+ strokeWidth: at,
145
145
  fill: gt
146
146
  } }, m);
147
147
  })
@@ -153,8 +153,8 @@ function No(r) {
153
153
  const f = A([C[0], C[1]]);
154
154
  p !== l.length - 1 ? s = `${s}${f[0]} ${f[1]}L` : s = `${s}${f[0]} ${f[1]}`;
155
155
  }), /* @__PURE__ */ a.jsx("path", { d: s, style: {
156
- stroke: at,
157
- strokeWidth: ot,
156
+ stroke: rt,
157
+ strokeWidth: at,
158
158
  fill: gt
159
159
  } }, m);
160
160
  })
@@ -164,7 +164,7 @@ function No(r) {
164
164
  const i = h.features.findIndex(
165
165
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
166
166
  (l) => o.id === l.properties[xt]
167
- ), M = ce(o.x) ? gt : (
167
+ ), O = ce(o.x) ? gt : (
168
168
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
169
169
  Gt(o.x)
170
170
  );
@@ -173,7 +173,7 @@ function No(r) {
173
173
  opacity: 0
174
174
  },
175
175
  whileInView: {
176
- opacity: P ? P === M ? 1 : T : lt.length !== 0 ? lt.indexOf(o.id) !== -1 ? 1 : T : 1,
176
+ opacity: P ? P === O ? 1 : T : lt.length !== 0 ? lt.indexOf(o.id) !== -1 ? 1 : T : 1,
177
177
  transition: {
178
178
  duration: x.duration
179
179
  }
@@ -190,7 +190,7 @@ function No(r) {
190
190
  }, onMouseLeave: () => {
191
191
  E(void 0), I(void 0), R(void 0), K?.(void 0);
192
192
  }, onClick: () => {
193
- (F || Z) && (De(ct, o) && Et ? (et(void 0), F?.(void 0)) : (et(o), F?.(o)));
193
+ (F || Z) && ($e(ct, o) && Et ? (ot(void 0), F?.(void 0)) : (ot(o), F?.(o)));
194
194
  }, children: i === -1 ? null : h.features[i].geometry.type === "MultiPolygon" ? h.features[i].geometry.coordinates.map(
195
195
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
196
196
  (l, m) => {
@@ -203,11 +203,11 @@ function No(r) {
203
203
  }), s += p;
204
204
  }), /* @__PURE__ */ a.jsx(ht.path, { d: s, variants: {
205
205
  initial: {
206
- fill: M,
206
+ fill: O,
207
207
  opacity: 0
208
208
  },
209
209
  whileInView: {
210
- fill: M,
210
+ fill: O,
211
211
  opacity: 1,
212
212
  transition: {
213
213
  duration: x.duration
@@ -219,8 +219,8 @@ function No(r) {
219
219
  duration: x.duration
220
220
  }
221
221
  }, style: {
222
- stroke: at,
223
- strokeWidth: ot
222
+ stroke: rt,
223
+ strokeWidth: at
224
224
  } }, `${o.id}-${m}`);
225
225
  }
226
226
  ) : h.features[i].geometry.coordinates.map(
@@ -232,11 +232,11 @@ function No(r) {
232
232
  p !== l.length - 1 ? s = `${s}${f[0]} ${f[1]}L` : s = `${s}${f[0]} ${f[1]}`;
233
233
  }), /* @__PURE__ */ a.jsx(ht.path, { d: s, variants: {
234
234
  initial: {
235
- fill: M,
235
+ fill: O,
236
236
  opacity: 0
237
237
  },
238
238
  whileInView: {
239
- fill: M,
239
+ fill: O,
240
240
  opacity: 1,
241
241
  transition: {
242
242
  duration: x.duration
@@ -248,8 +248,8 @@ function No(r) {
248
248
  duration: x.duration
249
249
  }
250
250
  }, style: {
251
- stroke: at,
252
- strokeWidth: ot
251
+ stroke: rt,
252
+ strokeWidth: at
253
253
  } }, `${o.id}-${m}`);
254
254
  }
255
255
  ) }, o.id);
@@ -276,18 +276,18 @@ function No(r) {
276
276
  }, onMouseLeave: () => {
277
277
  E(void 0), I(void 0), R(void 0), K?.(void 0);
278
278
  }, onClick: () => {
279
- (F || Z) && (De(ct, o) && Et ? (et(void 0), F?.(void 0)) : (et(o), F?.(o)));
279
+ (F || Z) && ($e(ct, o) && Et ? (ot(void 0), F?.(void 0)) : (ot(o), F?.(o)));
280
280
  }, transform: `translate(${A([o.long, o.lat])[0]},${A([o.long, o.lat])[1]})`, children: [
281
281
  /* @__PURE__ */ a.jsx(ht.circle, { cx: 0, cy: 0, variants: {
282
282
  initial: {
283
283
  r: 0,
284
- fill: tt,
285
- stroke: zt || tt
284
+ fill: et,
285
+ stroke: zt || et
286
286
  },
287
287
  whileInView: {
288
- r: B ? B(o.radius || 0) : k,
289
- fill: tt,
290
- stroke: zt || tt,
288
+ r: W ? W(o.radius || 0) : j,
289
+ fill: et,
290
+ stroke: zt || et,
291
291
  transition: {
292
292
  duration: x.duration
293
293
  }
@@ -303,11 +303,11 @@ function No(r) {
303
303
  L && o.label ? /* @__PURE__ */ a.jsx(ht.text, { variants: {
304
304
  initial: {
305
305
  opacity: 0,
306
- x: B ? B(o.radius || 0) : k
306
+ x: W ? W(o.radius || 0) : j
307
307
  },
308
308
  whileInView: {
309
309
  opacity: 1,
310
- x: B ? B(o.radius || 0) : k,
310
+ x: W ? W(o.radius || 0) : j,
311
311
  transition: {
312
312
  duration: x.duration
313
313
  }
@@ -317,15 +317,16 @@ function No(r) {
317
317
  transition: {
318
318
  duration: x.duration
319
319
  }
320
- }, y: 0, className: "text-sm", style: {
320
+ }, y: 0, className: Ne("text-sm", Q?.graphObjectValues), style: {
321
321
  textAnchor: "start",
322
- fill: Lt || "#000"
322
+ fill: Lt || "#000",
323
+ ...M?.graphObjectValues || {}
323
324
  }, dx: 4, dy: 5, children: o.label }) : null
324
325
  ] }, o.label || `${o.lat}-${o.long}`))
325
326
  ] }),
326
327
  ft.filter((o) => o.position === "after").map((o) => o.layer)
327
328
  ] }) }),
328
- Mt === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Me("absolute left-4 bottom-4 map-color-legend", rt?.colorLegend), children: b ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
329
+ Mt === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Ne("absolute left-4 bottom-4 map-color-legend", Q?.colorLegend), children: b ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
329
330
  /* @__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: () => {
330
331
  v(!1);
331
332
  }, children: /* @__PURE__ */ a.jsx(ro, {}) }),
@@ -335,37 +336,37 @@ function No(r) {
335
336
  vt && vt !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
336
337
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
337
338
  /* @__PURE__ */ a.jsx("div", { className: "w-3 h-3 rounded-full", style: {
338
- backgroundColor: tt
339
+ backgroundColor: et
339
340
  } }),
340
- /* @__PURE__ */ a.jsx(je, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
341
+ /* @__PURE__ */ a.jsx(ke, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
341
342
  display: "-webkit-box",
342
343
  WebkitLineClamp: "1",
343
344
  WebkitBoxOrient: "vertical"
344
345
  }, children: vt })
345
346
  ] }),
346
- /* @__PURE__ */ a.jsx($e, { size: "xl" }),
347
+ /* @__PURE__ */ a.jsx(Se, { size: "xl" }),
347
348
  /* @__PURE__ */ a.jsx(ze, {}),
348
- /* @__PURE__ */ a.jsx($e, { size: "xl" })
349
+ /* @__PURE__ */ a.jsx(Se, { size: "xl" })
349
350
  ] }) : null,
350
- w && w !== "" ? /* @__PURE__ */ a.jsx(je, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
351
+ w && w !== "" ? /* @__PURE__ */ a.jsx(ke, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
351
352
  display: "-webkit-box",
352
353
  WebkitLineClamp: "1",
353
354
  WebkitBoxOrient: "vertical"
354
355
  }, children: w }) : null,
355
356
  nt ? /* @__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: () => {
356
- _(e[i % e.length]);
357
+ V(e[i % e.length]);
357
358
  }, onMouseLeave: () => {
358
- _(void 0);
359
+ V(void 0);
359
360
  }, children: [
360
361
  /* @__PURE__ */ a.jsx("div", { className: "w-2 h-2 rounded-full", style: {
361
362
  backgroundColor: e[i % e.length]
362
363
  } }),
363
- /* @__PURE__ */ a.jsx(je, { size: "sm", marginBottom: "none", leading: "none", children: o })
364
+ /* @__PURE__ */ a.jsx(ke, { size: "sm", marginBottom: "none", leading: "none", children: o })
364
365
  ] }, i)) }) : /* @__PURE__ */ a.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { children: [
365
366
  n.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
366
- _(e[i]);
367
+ V(e[i]);
367
368
  }, onMouseLeave: () => {
368
- _(void 0);
369
+ V(void 0);
369
370
  }, className: "cursor-pointer", children: [
370
371
  /* @__PURE__ */ a.jsx("rect", { x: i * 320 / e.length + 1, y: 1, width: 320 / e.length - 2, height: 8, className: P === e[i] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
371
372
  fill: e[i],
@@ -378,9 +379,9 @@ function No(r) {
378
379
  }, children: po(o, "NA") })
379
380
  ] }, i)),
380
381
  /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("rect", { onMouseOver: () => {
381
- _(e[n.length]);
382
+ V(e[n.length]);
382
383
  }, onMouseLeave: () => {
383
- _(void 0);
384
+ V(void 0);
384
385
  }, x: n.length * 320 / e.length + 1, y: 1, width: 320 / e.length - 2, height: 8, className: `cursor-pointer ${P === e[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
385
386
  fill: e[n.length],
386
387
  ...P === e[n.length] ? {} : {
@@ -392,30 +393,30 @@ function No(r) {
392
393
  ] }) : /* @__PURE__ */ a.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start map-legend-button", onClick: () => {
393
394
  v(!0);
394
395
  }, 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" }) }) }),
395
- Q === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
396
- /* @__PURE__ */ a.jsx("button", { onClick: () => kt("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: "+" }),
397
- /* @__PURE__ */ a.jsx("button", { onClick: () => kt("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: "–" })
396
+ tt === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
397
+ /* @__PURE__ */ a.jsx("button", { onClick: () => jt("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: "+" }),
398
+ /* @__PURE__ */ a.jsx("button", { onClick: () => jt("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: "–" })
398
399
  ] })
399
400
  ] }),
400
- Z && ct !== void 0 ? /* @__PURE__ */ a.jsx(lo, { body: Z, data: ct, setData: et, className: rt?.modal }) : null,
401
- Pt && N && dt && bt ? /* @__PURE__ */ a.jsx(ao, { data: Pt, body: N, xPos: dt, yPos: bt, backgroundStyle: O?.tooltip, className: rt?.tooltip }) : null
401
+ Z && ct !== void 0 ? /* @__PURE__ */ a.jsx(lo, { body: Z, data: ct, setData: ot, className: Q?.modal }) : null,
402
+ Pt && N && dt && bt ? /* @__PURE__ */ a.jsx(ao, { data: Pt, body: N, xPos: dt, yPos: bt, backgroundStyle: M?.tooltip, className: Q?.tooltip }) : null
402
403
  ] });
403
404
  }
404
405
  function ua(r) {
405
- const t = We.c(131), {
406
+ const t = _e.c(131), {
406
407
  data: e,
407
408
  mapData: h,
408
409
  graphTitle: w,
409
410
  colors: n,
410
- sources: k,
411
- graphDescription: j,
411
+ sources: j,
412
+ graphDescription: k,
412
413
  height: d,
413
414
  width: g,
414
415
  footNote: S,
415
416
  mapColorLegendTitle: N,
416
417
  colorDomain: L,
417
- choroplethScaleType: ot,
418
- radius: at,
418
+ choroplethScaleType: at,
419
+ radius: rt,
419
420
  scale: gt,
420
421
  centerPoint: K,
421
422
  padding: Mt,
@@ -425,16 +426,16 @@ function ua(r) {
425
426
  showLabels: F,
426
427
  mapBorderColor: Et,
427
428
  tooltip: Z,
428
- relativeHeight: O,
429
- onSeriesMouseOver: rt,
429
+ relativeHeight: M,
430
+ onSeriesMouseOver: Q,
430
431
  isWorldMap: it,
431
- showColorScale: Q,
432
+ showColorScale: tt,
432
433
  zoomScaleExtend: x,
433
434
  zoomTranslateExtend: T,
434
435
  graphID: ft,
435
436
  highlightedDataPoints: yt,
436
437
  onSeriesMouseClick: nt,
437
- graphDownload: tt,
438
+ graphDownload: et,
438
439
  dataDownload: It,
439
440
  showAntarctica: lt,
440
441
  language: xt,
@@ -442,30 +443,30 @@ function ua(r) {
442
443
  theme: zt,
443
444
  ariaLabel: Lt,
444
445
  resetSelectionOnDoubleClick: P,
445
- detailsOnClick: _,
446
+ detailsOnClick: V,
446
447
  styles: b,
447
448
  classNames: v,
448
449
  mapProjection: st,
449
450
  zoomInteraction: ct,
450
- animate: et,
451
+ animate: ot,
451
452
  dimmedOpacity: Pt,
452
453
  customLayers: E,
453
454
  maxRadiusValue: dt,
454
455
  timeline: I,
455
456
  collapseColorScaleByDefault: bt,
456
457
  dotColor: R,
457
- highlightedIds: V,
458
+ highlightedIds: B,
458
459
  mapProperty: q,
459
460
  dotLegendTitle: wt,
460
- dotBorderColor: B,
461
+ dotBorderColor: W,
461
462
  labelColor: Gt
462
- } = r, D = h === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : h, W = S === 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." : S, G = ot === void 0 ? "threshold" : ot, _t = at === void 0 ? 5 : at, Vt = gt === void 0 ? 0.95 : gt, Bt = Rt === void 0 ? 0.5 : Rt, H = qt === void 0 ? St.light.graphNoData : qt, A = Ot === void 0 ? !1 : Ot, kt = F === void 0 ? !1 : F, o = Et === void 0 ? St.light.grays["gray-500"] : Et, i = it === void 0 ? !0 : it, M = Q === void 0 ? !0 : Q;
463
+ } = r, D = h === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json" : h, _ = S === 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." : S, G = at === void 0 ? "threshold" : at, Vt = rt === void 0 ? 5 : rt, Bt = gt === void 0 ? 0.95 : gt, Wt = Rt === void 0 ? 0.5 : Rt, H = qt === void 0 ? St.light.graphNoData : qt, A = Ot === void 0 ? !1 : Ot, jt = F === void 0 ? !1 : F, o = Et === void 0 ? St.light.grays["gray-500"] : Et, i = it === void 0 ? !0 : it, O = tt === void 0 ? !0 : tt;
463
464
  let l;
464
465
  t[0] !== x ? (l = x === void 0 ? [0.8, 6] : x, t[0] = x, t[1] = l) : l = t[1];
465
466
  const m = l;
466
467
  let s;
467
468
  t[2] !== yt ? (s = yt === void 0 ? [] : yt, t[2] = yt, t[3] = s) : s = t[3];
468
- const C = s, p = tt === void 0 ? !1 : tt, f = It === void 0 ? !1 : It, mt = lt === void 0 ? !1 : lt, $ = xt === void 0 ? "en" : xt, U = vt === void 0 ? 0 : vt, pt = zt === void 0 ? "light" : zt, de = P === void 0 ? !0 : P, me = ct === void 0 ? "button" : ct, Ht = et === void 0 ? !1 : et, pe = Pt === void 0 ? 0.3 : Pt;
469
+ const C = s, p = et === void 0 ? !1 : et, f = It === void 0 ? !1 : It, mt = lt === void 0 ? !1 : lt, $ = xt === void 0 ? "en" : xt, U = vt === void 0 ? 0 : vt, pt = zt === void 0 ? "light" : zt, de = P === void 0 ? !0 : P, me = ct === void 0 ? "button" : ct, Ht = ot === void 0 ? !1 : ot, pe = Pt === void 0 ? 0.3 : Pt;
469
470
  let Ut;
470
471
  t[4] !== E ? (Ut = E === void 0 ? [] : E, t[4] = E, t[5] = Ut) : Ut = t[5];
471
472
  const ue = Ut;
@@ -477,28 +478,28 @@ function ua(r) {
477
478
  } : I, t[6] = I, t[7] = Xt) : Xt = t[7];
478
479
  const c = Xt, he = R === void 0 ? St.primaryColors["blue-600"] : R;
479
480
  let Yt;
480
- t[8] !== V ? (Yt = V === void 0 ? [] : V, t[8] = V, t[9] = Yt) : Yt = t[9];
481
- const ge = Yt, fe = q === void 0 ? "ISO3" : q, ye = Gt === void 0 ? St.primaryColors["blue-600"] : Gt, [ut, Le] = z(0), [Wt, Pe] = z(0), [X, _e] = z(c.autoplay);
481
+ t[8] !== B ? (Yt = B === void 0 ? [] : B, t[8] = B, t[9] = Yt) : Yt = t[9];
482
+ const ge = Yt, fe = q === void 0 ? "ISO3" : q, ye = Gt === void 0 ? St.primaryColors["blue-600"] : Gt, [ut, Le] = z(0), [_t, Pe] = z(0), [X, Ve] = z(c.autoplay);
482
483
  let At;
483
484
  if (t[10] !== e || t[11] !== c.dateFormat) {
484
485
  let y;
485
- t[13] !== c.dateFormat ? (y = (J) => qe(`${J.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[13] = c.dateFormat, t[14] = y) : y = t[14], At = [...new Set(e.filter(_o).map(y))], At.sort(Po), t[10] = e, t[11] = c.dateFormat, t[12] = At;
486
+ t[13] !== c.dateFormat ? (y = (J) => qe(`${J.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[13] = c.dateFormat, t[14] = y) : y = t[14], At = [...new Set(e.filter(Vo).map(y))], At.sort(Po), t[10] = e, t[11] = c.dateFormat, t[12] = At;
486
487
  } else
487
488
  At = t[12];
488
- const u = At, [Y, xe] = z(c.autoplay ? 0 : u.length - 1), [jt, Ve] = z(void 0), ve = Tt(null), Ne = Tt(null);
489
+ const u = At, [Y, xe] = z(c.autoplay ? 0 : u.length - 1), [kt, Be] = z(void 0), ve = Tt(null), De = Tt(null);
489
490
  let Jt;
490
491
  t[15] !== G || t[16] !== L || t[17] !== n?.length || t[18] !== e ? (Jt = L || (G === "categorical" ? bo(e, "x") : wo(e.map(Lo), n?.length || 4)), t[15] = G, t[16] = L, t[17] = n?.length, t[18] = e, t[19] = Jt) : Jt = t[19];
491
492
  const Ft = Jt;
492
493
  let Kt, Zt;
493
- t[20] === Symbol.for("react.memo_cache_sentinel") ? (Kt = () => {
494
+ t[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Kt = () => {
494
495
  const y = new ResizeObserver((J) => {
495
496
  Le(J[0].target.clientWidth || 620), Pe(J[0].target.clientHeight || 480);
496
497
  });
497
498
  return ve.current && y.observe(ve.current), () => y.disconnect();
498
499
  }, Zt = [], t[20] = Kt, t[21] = Zt) : (Kt = t[20], Zt = t[21]), se(Kt, Zt);
499
500
  let Qt;
500
- t[22] === Symbol.for("react.memo_cache_sentinel") ? (Qt = (y) => {
501
- Ve(y);
501
+ t[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Qt = (y) => {
502
+ Be(y);
502
503
  }, t[22] = Qt) : Qt = t[22];
503
504
  const te = Te(Qt);
504
505
  let ee;
@@ -519,19 +520,19 @@ function ua(r) {
519
520
  const be = c.dateFormat || "yyyy";
520
521
  let ie;
521
522
  t[33] !== Y || t[34] !== be || t[35] !== c.showOnlyActiveDate || t[36] !== u ? (ie = Ge(u, Y, c.showOnlyActiveDate, be), t[33] = Y, t[34] = be, t[35] = c.showOnlyActiveDate, t[36] = u, t[37] = ie) : ie = t[37];
522
- const ne = ie, we = v?.graphContainer, ke = b?.graphContainer;
523
+ const ne = ie, we = v?.graphContainer, je = b?.graphContainer;
523
524
  let Ct;
524
- t[38] !== v?.description || t[39] !== v?.title || t[40] !== e || t[41] !== f || t[42] !== j || t[43] !== p || t[44] !== w || t[45] !== b?.description || t[46] !== b?.title || t[47] !== g ? (Ct = w || j || p || f ? /* @__PURE__ */ a.jsx(fo, { styles: {
525
+ t[38] !== v?.description || t[39] !== v?.title || t[40] !== e || t[41] !== f || t[42] !== k || t[43] !== p || t[44] !== w || t[45] !== b?.description || t[46] !== b?.title || t[47] !== g ? (Ct = w || k || p || f ? /* @__PURE__ */ a.jsx(fo, { styles: {
525
526
  title: b?.title,
526
527
  description: b?.description
527
528
  }, classNames: {
528
529
  title: v?.title,
529
530
  description: v?.description
530
- }, graphTitle: w, graphDescription: j, width: g, graphDownload: p ? Ne : void 0, dataDownload: f ? e.map(zo).filter(Io).length > 0 ? e.map(Eo).filter(Oo) : e.filter(Mo) : null }) : null, t[38] = v?.description, t[39] = v?.title, t[40] = e, t[41] = f, t[42] = j, t[43] = p, t[44] = w, t[45] = b?.description, t[46] = b?.title, t[47] = g, t[48] = Ct) : Ct = t[48];
531
+ }, graphTitle: w, graphDescription: k, width: g, graphDownload: p ? De : void 0, dataDownload: f ? e.map(zo).filter(Io).length > 0 ? e.map(Eo).filter(Oo) : e.filter(Mo) : null }) : null, t[38] = v?.description, t[39] = v?.title, t[40] = e, t[41] = f, t[42] = k, t[43] = p, t[44] = w, t[45] = b?.description, t[46] = b?.title, t[47] = g, t[48] = Ct) : Ct = t[48];
531
532
  let Nt;
532
533
  t[49] !== Y || t[50] !== ne || t[51] !== X || t[52] !== c.enabled || t[53] !== u ? (Nt = c.enabled && u.length > 0 && ne ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
533
534
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
534
- _e(!X);
535
+ Ve(!X);
535
536
  }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": X ? "Click to pause animation" : "Click to play animation", children: X ? /* @__PURE__ */ a.jsx(io, {}) : /* @__PURE__ */ a.jsx(no, {}) }),
536
537
  /* @__PURE__ */ a.jsx(He, { min: u[0], max: u[u.length - 1], marks: ne, step: null, defaultValue: u[u.length - 1], value: u[Y], onChangeComplete: (y) => {
537
538
  xe(u.indexOf(y));
@@ -540,10 +541,10 @@ function ua(r) {
540
541
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
541
542
  ] }) : null, t[49] = Y, t[50] = ne, t[51] = X, t[52] = c.enabled, t[53] = u, t[54] = Nt) : Nt = t[54];
542
543
  let Dt;
543
- t[55] !== Ht || t[56] !== K || t[57] !== G || t[58] !== v || t[59] !== bt || t[60] !== n || t[61] !== ue || t[62] !== e || t[63] !== _ || t[64] !== pe || t[65] !== Ft || t[66] !== B || t[67] !== he || t[68] !== wt || t[69] !== d || t[70] !== C || t[71] !== ge || t[72] !== Y || t[73] !== i || t[74] !== ye || t[75] !== o || t[76] !== Bt || t[77] !== N || t[78] !== H || t[79] !== st || t[80] !== fe || t[81] !== jt || t[82] !== dt || t[83] !== U || t[84] !== nt || t[85] !== rt || t[86] !== _t || t[87] !== O || t[88] !== de || t[89] !== Vt || t[90] !== mt || t[91] !== M || t[92] !== kt || t[93] !== b || t[94] !== Wt || t[95] !== ut || t[96] !== pt || t[97] !== c.dateFormat || t[98] !== c.enabled || t[99] !== Z || t[100] !== u || t[101] !== g || t[102] !== me || t[103] !== m || t[104] !== T ? (Dt = /* @__PURE__ */ a.jsx(xo, { ref: ve, children: ut && Wt && jt ? /* @__PURE__ */ a.jsx(No, { dotColor: he, data: e.filter((y) => c.enabled ? y.date === Re(new Date(u[Y]), c.dateFormat || "yyyy") : y), mapData: mt ? jt : {
544
- ...jt,
545
- features: jt.features.filter(So)
546
- }, colorDomain: Ft, width: ut, height: Wt, scale: Vt, centerPoint: K, colors: n || (G === "categorical" ? St[pt].sequentialColors[`neutralColorsx0${Ft.length}`] : St[pt].sequentialColors[`neutralColorsx0${Ft.length + 1}`]), mapColorLegendTitle: N, radius: _t, categorical: G === "categorical", mapBorderWidth: Bt, mapNoDataColor: H, mapBorderColor: o, tooltip: Z, onSeriesMouseOver: rt, showLabels: kt, isWorldMap: i, showColorScale: M, zoomScaleExtend: m, zoomTranslateExtend: T, onSeriesMouseClick: nt, highlightedDataPoints: C, resetSelectionOnDoubleClick: de, styles: b, classNames: v, zoomInteraction: me, detailsOnClick: _, mapProjection: st || (i ? "naturalEarth" : "mercator"), animate: Ht === !0 ? {
544
+ t[55] !== Ht || t[56] !== K || t[57] !== G || t[58] !== v || t[59] !== bt || t[60] !== n || t[61] !== ue || t[62] !== e || t[63] !== V || t[64] !== pe || t[65] !== Ft || t[66] !== W || t[67] !== he || t[68] !== wt || t[69] !== d || t[70] !== C || t[71] !== ge || t[72] !== Y || t[73] !== i || t[74] !== ye || t[75] !== o || t[76] !== Wt || t[77] !== N || t[78] !== H || t[79] !== st || t[80] !== fe || t[81] !== kt || t[82] !== dt || t[83] !== U || t[84] !== nt || t[85] !== Q || t[86] !== Vt || t[87] !== M || t[88] !== de || t[89] !== Bt || t[90] !== mt || t[91] !== O || t[92] !== jt || t[93] !== b || t[94] !== _t || t[95] !== ut || t[96] !== pt || t[97] !== c.dateFormat || t[98] !== c.enabled || t[99] !== Z || t[100] !== u || t[101] !== g || t[102] !== me || t[103] !== m || t[104] !== T ? (Dt = /* @__PURE__ */ a.jsx(xo, { ref: ve, children: ut && _t && kt ? /* @__PURE__ */ a.jsx(No, { dotColor: he, data: e.filter((y) => c.enabled ? y.date === Re(new Date(u[Y]), c.dateFormat || "yyyy") : y), mapData: mt ? kt : {
545
+ ...kt,
546
+ features: kt.features.filter(So)
547
+ }, colorDomain: Ft, width: ut, height: _t, scale: Bt, centerPoint: K, colors: n || (G === "categorical" ? St[pt].sequentialColors[`neutralColorsx0${Ft.length}`] : St[pt].sequentialColors[`neutralColorsx0${Ft.length + 1}`]), mapColorLegendTitle: N, radius: Vt, categorical: G === "categorical", mapBorderWidth: Wt, mapNoDataColor: H, mapBorderColor: o, tooltip: Z, onSeriesMouseOver: Q, showLabels: jt, isWorldMap: i, showColorScale: O, zoomScaleExtend: m, zoomTranslateExtend: T, onSeriesMouseClick: nt, highlightedDataPoints: C, resetSelectionOnDoubleClick: de, styles: b, classNames: v, zoomInteraction: me, detailsOnClick: V, mapProjection: st || (i ? "naturalEarth" : "mercator"), animate: Ht === !0 ? {
547
548
  duration: 0.5,
548
549
  once: !0,
549
550
  amount: 0.5
@@ -551,24 +552,24 @@ function ua(r) {
551
552
  duration: 0,
552
553
  once: !0,
553
554
  amount: 0
554
- }, dimmedOpacity: pe, customLayers: ue, maxRadiusValue: ce(dt) ? Math.max(...e.map($o).filter(Do)) : dt, collapseColorScaleByDefault: bt, highlightedIds: ge, mapProperty: fe, dotLegendTitle: wt, dotBorderColor: B, labelColor: ye }) : /* @__PURE__ */ a.jsx("div", { style: {
555
- height: `${Math.max(U, d || (O ? U ? (g || ut) * O > U ? (g || ut) * O : U : (g || ut) * O : Wt))}px`
556
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(Ue, { "aria-label": "Loading graph" }) }) }), t[55] = Ht, t[56] = K, t[57] = G, t[58] = v, t[59] = bt, t[60] = n, t[61] = ue, t[62] = e, t[63] = _, t[64] = pe, t[65] = Ft, t[66] = B, t[67] = he, t[68] = wt, t[69] = d, t[70] = C, t[71] = ge, t[72] = Y, t[73] = i, t[74] = ye, t[75] = o, t[76] = Bt, t[77] = N, t[78] = H, t[79] = st, t[80] = fe, t[81] = jt, t[82] = dt, t[83] = U, t[84] = nt, t[85] = rt, t[86] = _t, t[87] = O, t[88] = de, t[89] = Vt, t[90] = mt, t[91] = M, t[92] = kt, t[93] = b, t[94] = Wt, t[95] = ut, t[96] = pt, t[97] = c.dateFormat, t[98] = c.enabled, t[99] = Z, t[100] = u, t[101] = g, t[102] = me, t[103] = m, t[104] = T, t[105] = Dt) : Dt = t[105];
555
+ }, dimmedOpacity: pe, customLayers: ue, maxRadiusValue: ce(dt) ? Math.max(...e.map($o).filter(Do)) : dt, collapseColorScaleByDefault: bt, highlightedIds: ge, mapProperty: fe, dotLegendTitle: wt, dotBorderColor: W, labelColor: ye }) : /* @__PURE__ */ a.jsx("div", { style: {
556
+ height: `${Math.max(U, d || (M ? U ? (g || ut) * M > U ? (g || ut) * M : U : (g || ut) * M : _t))}px`
557
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(Ue, { "aria-label": "Loading graph" }) }) }), t[55] = Ht, t[56] = K, t[57] = G, t[58] = v, t[59] = bt, t[60] = n, t[61] = ue, t[62] = e, t[63] = V, t[64] = pe, t[65] = Ft, t[66] = W, t[67] = he, t[68] = wt, t[69] = d, t[70] = C, t[71] = ge, t[72] = Y, t[73] = i, t[74] = ye, t[75] = o, t[76] = Wt, t[77] = N, t[78] = H, t[79] = st, t[80] = fe, t[81] = kt, t[82] = dt, t[83] = U, t[84] = nt, t[85] = Q, t[86] = Vt, t[87] = M, t[88] = de, t[89] = Bt, t[90] = mt, t[91] = O, t[92] = jt, t[93] = b, t[94] = _t, t[95] = ut, t[96] = pt, t[97] = c.dateFormat, t[98] = c.enabled, t[99] = Z, t[100] = u, t[101] = g, t[102] = me, t[103] = m, t[104] = T, t[105] = Dt) : Dt = t[105];
557
558
  let $t;
558
- t[106] !== v?.footnote || t[107] !== v?.source || t[108] !== W || t[109] !== k || t[110] !== b?.footnote || t[111] !== b?.source || t[112] !== g ? ($t = k || W ? /* @__PURE__ */ a.jsx(go, { styles: {
559
+ t[106] !== v?.footnote || t[107] !== v?.source || t[108] !== _ || t[109] !== j || t[110] !== b?.footnote || t[111] !== b?.source || t[112] !== g ? ($t = j || _ ? /* @__PURE__ */ a.jsx(go, { styles: {
559
560
  footnote: b?.footnote,
560
561
  source: b?.source
561
562
  }, classNames: {
562
563
  footnote: v?.footnote,
563
564
  source: v?.source
564
- }, sources: k, footNote: W, width: g }) : null, t[106] = v?.footnote, t[107] = v?.source, t[108] = W, t[109] = k, t[110] = b?.footnote, t[111] = b?.source, t[112] = g, t[113] = $t) : $t = t[113];
565
+ }, sources: j, footNote: _, width: g }) : null, t[106] = v?.footnote, t[107] = v?.source, t[108] = _, t[109] = j, t[110] = b?.footnote, t[111] = b?.source, t[112] = g, t[113] = $t) : $t = t[113];
565
566
  let le;
566
- return t[114] !== Lt || t[115] !== A || t[116] !== ft || t[117] !== d || t[118] !== $ || t[119] !== U || t[120] !== Mt || t[121] !== O || t[122] !== we || t[123] !== ke || t[124] !== Ct || t[125] !== Nt || t[126] !== Dt || t[127] !== $t || t[128] !== pt || t[129] !== g ? (le = /* @__PURE__ */ a.jsxs(vo, { className: we, style: ke, id: ft, ref: Ne, "aria-label": Lt, backgroundColor: A, theme: pt, language: $, minHeight: U, width: g, height: d, relativeHeight: O, padding: Mt, children: [
567
+ return t[114] !== Lt || t[115] !== A || t[116] !== ft || t[117] !== d || t[118] !== $ || t[119] !== U || t[120] !== Mt || t[121] !== M || t[122] !== we || t[123] !== je || t[124] !== Ct || t[125] !== Nt || t[126] !== Dt || t[127] !== $t || t[128] !== pt || t[129] !== g ? (le = /* @__PURE__ */ a.jsxs(vo, { className: we, style: je, id: ft, ref: De, "aria-label": Lt, backgroundColor: A, theme: pt, language: $, minHeight: U, width: g, height: d, relativeHeight: M, padding: Mt, children: [
567
568
  Ct,
568
569
  Nt,
569
570
  Dt,
570
571
  $t
571
- ] }), t[114] = Lt, t[115] = A, t[116] = ft, t[117] = d, t[118] = $, t[119] = U, t[120] = Mt, t[121] = O, t[122] = we, t[123] = ke, t[124] = Ct, t[125] = Nt, t[126] = Dt, t[127] = $t, t[128] = pt, t[129] = g, t[130] = le) : le = t[130], le;
572
+ ] }), t[114] = Lt, t[115] = A, t[116] = ft, t[117] = d, t[118] = $, t[119] = U, t[120] = Mt, t[121] = M, t[122] = we, t[123] = je, t[124] = Ct, t[125] = Nt, t[126] = Dt, t[127] = $t, t[128] = pt, t[129] = g, t[130] = le) : le = t[130], le;
572
573
  }
573
574
  function Do(r) {
574
575
  return r != null;
@@ -600,7 +601,7 @@ function Lo(r) {
600
601
  function Po(r, t) {
601
602
  return r - t;
602
603
  }
603
- function _o(r) {
604
+ function Vo(r) {
604
605
  return r.date;
605
606
  }
606
607
  export {