@undp/data-viz 2.3.17 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +2 -0
  4. package/dist/AreaChart.js +356 -354
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/{Axis-Jt_tmhxS.cjs → Axis-BTaS9oPQ.cjs} +2 -2
  7. package/dist/{Axis-Jt_tmhxS.cjs.map → Axis-BTaS9oPQ.cjs.map} +1 -1
  8. package/dist/{Axis-RyGdzLrG.js → Axis-CNZYWzH0.js} +2 -2
  9. package/dist/{Axis-RyGdzLrG.js.map → Axis-CNZYWzH0.js.map} +1 -1
  10. package/dist/{AxisTitle-DGjX1_2v.js → AxisTitle-CyLCqpW6.js} +2 -2
  11. package/dist/{AxisTitle-DGjX1_2v.js.map → AxisTitle-CyLCqpW6.js.map} +1 -1
  12. package/dist/{AxisTitle-DV4n0RxE.cjs → AxisTitle-DP_evhbe.cjs} +2 -2
  13. package/dist/{AxisTitle-DV4n0RxE.cjs.map → AxisTitle-DP_evhbe.cjs.map} +1 -1
  14. package/dist/BarGraph.cjs +1 -1
  15. package/dist/BarGraph.cjs.map +1 -1
  16. package/dist/BarGraph.d.ts +6 -0
  17. package/dist/BarGraph.js +1735 -1726
  18. package/dist/BarGraph.js.map +1 -1
  19. package/dist/BasicStatCard.cjs +1 -1
  20. package/dist/BasicStatCard.cjs.map +1 -1
  21. package/dist/BasicStatCard.d.ts +2 -0
  22. package/dist/BasicStatCard.js +46 -45
  23. package/dist/BasicStatCard.js.map +1 -1
  24. package/dist/BeeSwarmChart.cjs +1 -1
  25. package/dist/BeeSwarmChart.cjs.map +1 -1
  26. package/dist/BeeSwarmChart.d.ts +2 -0
  27. package/dist/BeeSwarmChart.js +266 -266
  28. package/dist/BeeSwarmChart.js.map +1 -1
  29. package/dist/BiVariateChoroplethMap.cjs +1 -1
  30. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  31. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  32. package/dist/BiVariateChoroplethMap.js +300 -298
  33. package/dist/BiVariateChoroplethMap.js.map +1 -1
  34. package/dist/BulletChart.cjs +1 -1
  35. package/dist/BulletChart.cjs.map +1 -1
  36. package/dist/BulletChart.d.ts +2 -0
  37. package/dist/BulletChart.js +469 -469
  38. package/dist/BulletChart.js.map +1 -1
  39. package/dist/ButterflyChart.cjs +1 -1
  40. package/dist/ButterflyChart.cjs.map +1 -1
  41. package/dist/ButterflyChart.d.ts +2 -0
  42. package/dist/ButterflyChart.js +330 -328
  43. package/dist/ButterflyChart.js.map +1 -1
  44. package/dist/ChoroplethMap.cjs +1 -1
  45. package/dist/ChoroplethMap.cjs.map +1 -1
  46. package/dist/ChoroplethMap.d.ts +2 -0
  47. package/dist/ChoroplethMap.js +303 -301
  48. package/dist/ChoroplethMap.js.map +1 -1
  49. package/dist/CirclePackingGraph.cjs +1 -1
  50. package/dist/CirclePackingGraph.d.ts +2 -0
  51. package/dist/CirclePackingGraph.js +4 -4
  52. package/dist/ColorLegend.cjs +1 -1
  53. package/dist/ColorLegend.js +2 -2
  54. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  55. package/dist/ColorLegendWithMouseOver.js +2 -2
  56. package/dist/CopyTextButton.cjs +1 -1
  57. package/dist/CopyTextButton.cjs.map +1 -1
  58. package/dist/CopyTextButton.js +7 -9
  59. package/dist/CopyTextButton.js.map +1 -1
  60. package/dist/CsvDownloadButton.cjs +1 -1
  61. package/dist/CsvDownloadButton.js +2 -2
  62. package/dist/DataCards.cjs +1 -1
  63. package/dist/DataCards.cjs.map +1 -1
  64. package/dist/DataCards.js +10 -12
  65. package/dist/DataCards.js.map +1 -1
  66. package/dist/DataTable.cjs +1 -1
  67. package/dist/DataTable.cjs.map +1 -1
  68. package/dist/DataTable.d.ts +2 -0
  69. package/dist/DataTable.js +103 -102
  70. package/dist/DataTable.js.map +1 -1
  71. package/dist/{DetailsModal-C3qlUyFK.js → DetailsModal-B2XBWR7w.js} +4 -4
  72. package/dist/{DetailsModal-C3qlUyFK.js.map → DetailsModal-B2XBWR7w.js.map} +1 -1
  73. package/dist/{DetailsModal-DIRTulvr.cjs → DetailsModal-jmmKRMRM.cjs} +2 -2
  74. package/dist/{DetailsModal-DIRTulvr.cjs.map → DetailsModal-jmmKRMRM.cjs.map} +1 -1
  75. package/dist/DifferenceLineChart.cjs +1 -1
  76. package/dist/DifferenceLineChart.cjs.map +1 -1
  77. package/dist/DifferenceLineChart.d.ts +4 -0
  78. package/dist/DifferenceLineChart.js +441 -437
  79. package/dist/DifferenceLineChart.js.map +1 -1
  80. package/dist/DonutChart.cjs +1 -1
  81. package/dist/DonutChart.cjs.map +1 -1
  82. package/dist/DonutChart.d.ts +4 -0
  83. package/dist/DonutChart.js +146 -142
  84. package/dist/DonutChart.js.map +1 -1
  85. package/dist/DotDensityMap.cjs +1 -1
  86. package/dist/DotDensityMap.cjs.map +1 -1
  87. package/dist/DotDensityMap.js +265 -268
  88. package/dist/DotDensityMap.js.map +1 -1
  89. package/dist/{DropdownSelect-NNpOs7DX.cjs → DropdownSelect-CX1yMemd.cjs} +2 -2
  90. package/dist/DropdownSelect-CX1yMemd.cjs.map +1 -0
  91. package/dist/{DropdownSelect-B2WTeedJ.js → DropdownSelect-Dz7imdTB.js} +6 -9
  92. package/dist/DropdownSelect-Dz7imdTB.js.map +1 -0
  93. package/dist/DualAxisLineChart.cjs +1 -1
  94. package/dist/DualAxisLineChart.cjs.map +1 -1
  95. package/dist/DualAxisLineChart.d.ts +4 -0
  96. package/dist/DualAxisLineChart.js +336 -332
  97. package/dist/DualAxisLineChart.js.map +1 -1
  98. package/dist/DumbbellChart.cjs +1 -1
  99. package/dist/DumbbellChart.cjs.map +1 -1
  100. package/dist/DumbbellChart.d.ts +2 -0
  101. package/dist/DumbbellChart.js +484 -484
  102. package/dist/DumbbellChart.js.map +1 -1
  103. package/dist/{EmptyState-B4c-CrXs.cjs → EmptyState-CFmiFPHz.cjs} +2 -2
  104. package/dist/{EmptyState-B4c-CrXs.cjs.map → EmptyState-CFmiFPHz.cjs.map} +1 -1
  105. package/dist/{EmptyState-B3fPoH6L.js → EmptyState-CaxXCkiN.js} +4 -4
  106. package/dist/{EmptyState-B3fPoH6L.js.map → EmptyState-CaxXCkiN.js.map} +1 -1
  107. package/dist/ExcelDownloadButton.cjs +1 -1
  108. package/dist/ExcelDownloadButton.js +2 -2
  109. package/dist/FootNote.cjs +1 -1
  110. package/dist/FootNote.js +2 -2
  111. package/dist/GeoHubCompareMaps.cjs +1 -1
  112. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  113. package/dist/GeoHubCompareMaps.js +111 -111
  114. package/dist/GeoHubCompareMaps.js.map +1 -1
  115. package/dist/GeoHubMap.cjs +1 -1
  116. package/dist/GeoHubMap.cjs.map +1 -1
  117. package/dist/GeoHubMap.js +71 -71
  118. package/dist/GeoHubMap.js.map +1 -1
  119. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  120. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  121. package/dist/GeoHubMapWithLayerSelection.js +83 -83
  122. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  123. package/dist/{GraphContainer-DwMxWRCi.js → GraphContainer-B8ZqOzKI.js} +2 -2
  124. package/dist/{GraphContainer-DwMxWRCi.js.map → GraphContainer-B8ZqOzKI.js.map} +1 -1
  125. package/dist/{GraphContainer-B1EDxJ0S.cjs → GraphContainer-Cul9b74X.cjs} +2 -2
  126. package/dist/{GraphContainer-B1EDxJ0S.cjs.map → GraphContainer-Cul9b74X.cjs.map} +1 -1
  127. package/dist/GraphDescription.cjs +1 -1
  128. package/dist/GraphDescription.js +2 -2
  129. package/dist/{GraphEl-CnJf8b50.js → GraphEl-B73N4RIA.js} +48 -10
  130. package/dist/GraphEl-B73N4RIA.js.map +1 -0
  131. package/dist/GraphEl-Lt1og0C-.cjs +2 -0
  132. package/dist/GraphEl-Lt1og0C-.cjs.map +1 -0
  133. package/dist/GraphFooter.cjs +1 -1
  134. package/dist/GraphFooter.js +2 -2
  135. package/dist/GraphHeader.cjs +1 -1
  136. package/dist/GraphHeader.js +1 -1
  137. package/dist/GraphTitle.cjs +1 -1
  138. package/dist/GraphTitle.js +2 -2
  139. package/dist/GriddedGraphs.cjs +1 -1
  140. package/dist/GriddedGraphs.d.ts +1 -0
  141. package/dist/GriddedGraphs.js +6 -6
  142. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  143. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  144. package/dist/GriddedGraphsFromConfig.js +2 -2
  145. package/dist/HeatMap.cjs +1 -1
  146. package/dist/HeatMap.cjs.map +1 -1
  147. package/dist/HeatMap.d.ts +4 -0
  148. package/dist/HeatMap.js +158 -155
  149. package/dist/HeatMap.js.map +1 -1
  150. package/dist/Histogram.cjs +1 -1
  151. package/dist/Histogram.cjs.map +1 -1
  152. package/dist/Histogram.d.ts +2 -0
  153. package/dist/Histogram.js +81 -80
  154. package/dist/Histogram.js.map +1 -1
  155. package/dist/HybridMap.cjs +1 -1
  156. package/dist/HybridMap.cjs.map +1 -1
  157. package/dist/HybridMap.d.ts +2 -0
  158. package/dist/HybridMap.js +314 -315
  159. package/dist/HybridMap.js.map +1 -1
  160. package/dist/ImageDownloadButton.cjs +1 -1
  161. package/dist/ImageDownloadButton.js +2 -2
  162. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  163. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  164. package/dist/LineChartWithConfidenceInterval.d.ts +2 -0
  165. package/dist/LineChartWithConfidenceInterval.js +367 -365
  166. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  167. package/dist/LinearColorLegend.cjs +1 -1
  168. package/dist/LinearColorLegend.cjs.map +1 -1
  169. package/dist/LinearColorLegend.d.ts +1 -0
  170. package/dist/LinearColorLegend.js +38 -37
  171. package/dist/LinearColorLegend.js.map +1 -1
  172. package/dist/{Modal-ZX55hLH-.cjs → Modal-BIErPPKT.cjs} +5 -5
  173. package/dist/{Modal-ZX55hLH-.cjs.map → Modal-BIErPPKT.cjs.map} +1 -1
  174. package/dist/{Modal-BV4rkoLM.js → Modal-CrUYln5V.js} +4 -4
  175. package/dist/{Modal-BV4rkoLM.js.map → Modal-CrUYln5V.js.map} +1 -1
  176. package/dist/MultiGraphDashboard.cjs +1 -1
  177. package/dist/MultiGraphDashboard.d.ts +1 -0
  178. package/dist/MultiGraphDashboard.js +4 -4
  179. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  180. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  181. package/dist/MultiGraphDashboardFromConfig.js +2 -2
  182. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  183. package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
  184. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  185. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
  186. package/dist/MultiLineAltChart.cjs +1 -1
  187. package/dist/MultiLineAltChart.cjs.map +1 -1
  188. package/dist/MultiLineAltChart.d.ts +2 -0
  189. package/dist/MultiLineAltChart.js +419 -420
  190. package/dist/MultiLineAltChart.js.map +1 -1
  191. package/dist/MultiLineChart.cjs +1 -1
  192. package/dist/MultiLineChart.cjs.map +1 -1
  193. package/dist/MultiLineChart.d.ts +4 -0
  194. package/dist/MultiLineChart.js +410 -409
  195. package/dist/MultiLineChart.js.map +1 -1
  196. package/dist/ParetoChart.cjs +1 -1
  197. package/dist/ParetoChart.cjs.map +1 -1
  198. package/dist/ParetoChart.d.ts +2 -0
  199. package/dist/ParetoChart.js +273 -271
  200. package/dist/ParetoChart.js.map +1 -1
  201. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  202. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  203. package/dist/PerformanceIntensiveMultiGraphDashboard.js +4 -4
  204. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  205. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  206. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
  207. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  208. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  209. package/dist/PerformanceIntensiveScrollStory.js +3 -3
  210. package/dist/RadarChart.cjs +1 -1
  211. package/dist/RadarChart.cjs.map +1 -1
  212. package/dist/RadarChart.d.ts +2 -0
  213. package/dist/RadarChart.js +221 -219
  214. package/dist/RadarChart.js.map +1 -1
  215. package/dist/{ReferenceLine-M9aP3dj-.cjs → ReferenceLine-CpU4G01Y.cjs} +2 -2
  216. package/dist/{ReferenceLine-M9aP3dj-.cjs.map → ReferenceLine-CpU4G01Y.cjs.map} +1 -1
  217. package/dist/{ReferenceLine-CNEjAYvv.js → ReferenceLine-D41VuUhE.js} +3 -3
  218. package/dist/{ReferenceLine-CNEjAYvv.js.map → ReferenceLine-D41VuUhE.js.map} +1 -1
  219. package/dist/{RegressionLine-Ci-Dh0w0.cjs → RegressionLine-BFoBiVJk.cjs} +2 -2
  220. package/dist/{RegressionLine-Ci-Dh0w0.cjs.map → RegressionLine-BFoBiVJk.cjs.map} +1 -1
  221. package/dist/{RegressionLine-BDrndQxo.js → RegressionLine-CuwB42I6.js} +4 -4
  222. package/dist/{RegressionLine-BDrndQxo.js.map → RegressionLine-CuwB42I6.js.map} +1 -1
  223. package/dist/SVGDownloadButton.cjs +1 -1
  224. package/dist/SVGDownloadButton.js +2 -2
  225. package/dist/SankeyChart.cjs +1 -1
  226. package/dist/SankeyChart.cjs.map +1 -1
  227. package/dist/SankeyChart.d.ts +2 -0
  228. package/dist/SankeyChart.js +404 -408
  229. package/dist/SankeyChart.js.map +1 -1
  230. package/dist/ScatterPlot.cjs +1 -1
  231. package/dist/ScatterPlot.cjs.map +1 -1
  232. package/dist/ScatterPlot.d.ts +2 -0
  233. package/dist/ScatterPlot.js +444 -445
  234. package/dist/ScatterPlot.js.map +1 -1
  235. package/dist/ScrollStory.cjs +1 -1
  236. package/dist/ScrollStory.d.ts +1 -0
  237. package/dist/ScrollStory.js +3 -3
  238. package/dist/SimpleLineChart.cjs +1 -1
  239. package/dist/SimpleLineChart.cjs.map +1 -1
  240. package/dist/SimpleLineChart.d.ts +2 -0
  241. package/dist/SimpleLineChart.js +360 -358
  242. package/dist/SimpleLineChart.js.map +1 -1
  243. package/dist/SingleGraphDashboard.cjs +1 -1
  244. package/dist/SingleGraphDashboard.d.ts +1 -0
  245. package/dist/SingleGraphDashboard.js +6 -6
  246. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  247. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  248. package/dist/SingleGraphDashboardFromConfig.js +2 -2
  249. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  250. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  251. package/dist/SingleGraphDashboardGeoHubMaps.js +3 -3
  252. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  253. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  254. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
  255. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  256. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  257. package/dist/SingleGraphDashboardThreeDGraphs.js +6 -6
  258. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  259. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  260. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
  261. package/dist/SlopeChart.cjs +1 -1
  262. package/dist/SlopeChart.cjs.map +1 -1
  263. package/dist/SlopeChart.js +259 -262
  264. package/dist/SlopeChart.js.map +1 -1
  265. package/dist/{Source-BOSAl3UX.cjs → Source-PKuwZOn3.cjs} +2 -2
  266. package/dist/{Source-BOSAl3UX.cjs.map → Source-PKuwZOn3.cjs.map} +1 -1
  267. package/dist/{Source-Djkz-7jX.js → Source-QGk8vhkS.js} +3 -3
  268. package/dist/{Source-Djkz-7jX.js.map → Source-QGk8vhkS.js.map} +1 -1
  269. package/dist/Source.cjs +1 -1
  270. package/dist/Source.js +3 -3
  271. package/dist/SparkLine.cjs +1 -1
  272. package/dist/SparkLine.js +3 -3
  273. package/dist/{Spinner-CtJETd5V.js → Spinner-B2IIKg9r.js} +2 -2
  274. package/dist/{Spinner-CtJETd5V.js.map → Spinner-B2IIKg9r.js.map} +1 -1
  275. package/dist/{Spinner-jTMOLuw_.cjs → Spinner-WHzzloYQ.cjs} +2 -2
  276. package/dist/{Spinner-jTMOLuw_.cjs.map → Spinner-WHzzloYQ.cjs.map} +1 -1
  277. package/dist/StatCardFromData.cjs +1 -1
  278. package/dist/StatCardFromData.cjs.map +1 -1
  279. package/dist/StatCardFromData.d.ts +4 -0
  280. package/dist/StatCardFromData.js +97 -95
  281. package/dist/StatCardFromData.js.map +1 -1
  282. package/dist/StripChart.cjs +1 -1
  283. package/dist/StripChart.cjs.map +1 -1
  284. package/dist/StripChart.d.ts +2 -0
  285. package/dist/StripChart.js +343 -343
  286. package/dist/StripChart.js.map +1 -1
  287. package/dist/ThreeDGlobe.cjs +1 -1
  288. package/dist/ThreeDGlobe.cjs.map +1 -1
  289. package/dist/ThreeDGlobe.d.ts +2 -0
  290. package/dist/ThreeDGlobe.js +198 -196
  291. package/dist/ThreeDGlobe.js.map +1 -1
  292. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  293. package/dist/ThresholdColorLegendWithMouseOver.cjs.map +1 -1
  294. package/dist/ThresholdColorLegendWithMouseOver.d.ts +2 -0
  295. package/dist/ThresholdColorLegendWithMouseOver.js +50 -48
  296. package/dist/ThresholdColorLegendWithMouseOver.js.map +1 -1
  297. package/dist/{Tooltip-CohiIbLZ.js → Tooltip-Bj-s__cI.js} +3 -3
  298. package/dist/{Tooltip-CohiIbLZ.js.map → Tooltip-Bj-s__cI.js.map} +1 -1
  299. package/dist/{Tooltip-BLa2EfMs.cjs → Tooltip-Hr46paWP.cjs} +2 -2
  300. package/dist/{Tooltip-BLa2EfMs.cjs.map → Tooltip-Hr46paWP.cjs.map} +1 -1
  301. package/dist/TreeMapGraph.cjs +1 -1
  302. package/dist/TreeMapGraph.cjs.map +1 -1
  303. package/dist/TreeMapGraph.d.ts +2 -0
  304. package/dist/TreeMapGraph.js +139 -140
  305. package/dist/TreeMapGraph.js.map +1 -1
  306. package/dist/Types.d.ts +1 -0
  307. package/dist/{Typography-DMVW6JnV.js → Typography-BO0gQDIT.js} +2 -2
  308. package/dist/{Typography-DMVW6JnV.js.map → Typography-BO0gQDIT.js.map} +1 -1
  309. package/dist/{Typography-CZZxlj1W.cjs → Typography-BqmyF1gP.cjs} +2 -2
  310. package/dist/{Typography-CZZxlj1W.cjs.map → Typography-BqmyF1gP.cjs.map} +1 -1
  311. package/dist/UnitChart.cjs +1 -1
  312. package/dist/UnitChart.cjs.map +1 -1
  313. package/dist/UnitChart.d.ts +4 -0
  314. package/dist/UnitChart.js +88 -86
  315. package/dist/UnitChart.js.map +1 -1
  316. package/dist/WaterfallChart.cjs +1 -1
  317. package/dist/WaterfallChart.cjs.map +1 -1
  318. package/dist/WaterfallChart.d.ts +2 -0
  319. package/dist/WaterfallChart.js +257 -258
  320. package/dist/WaterfallChart.js.map +1 -1
  321. package/dist/{XAxesLabels-IwjMJkYS.js → XAxesLabels-B9gkjUiC.js} +3 -3
  322. package/dist/{XAxesLabels-IwjMJkYS.js.map → XAxesLabels-B9gkjUiC.js.map} +1 -1
  323. package/dist/{XAxesLabels-C6o9jJal.cjs → XAxesLabels-C03jHniq.cjs} +2 -2
  324. package/dist/{XAxesLabels-C6o9jJal.cjs.map → XAxesLabels-C03jHniq.cjs.map} +1 -1
  325. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +2 -0
  326. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +1 -0
  327. package/dist/XTicksAndGridLines-gdbGX2rm.js +39 -0
  328. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +1 -0
  329. package/dist/{YAxesLabels-BQ2aCazV.cjs → YAxesLabels-DeENFC2M.cjs} +2 -2
  330. package/dist/{YAxesLabels-BQ2aCazV.cjs.map → YAxesLabels-DeENFC2M.cjs.map} +1 -1
  331. package/dist/{YAxesLabels-DoGvgHdw.js → YAxesLabels-hWEUCTvs.js} +3 -3
  332. package/dist/{YAxesLabels-DoGvgHdw.js.map → YAxesLabels-hWEUCTvs.js.map} +1 -1
  333. package/dist/YTicksAndGridLines-CsNSq9W9.js +39 -0
  334. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +1 -0
  335. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +2 -0
  336. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +1 -0
  337. package/dist/{checkIfMultiple-TOaaUwS7.cjs → checkIfMultiple-CH5tqj4q.cjs} +2 -2
  338. package/dist/checkIfMultiple-CH5tqj4q.cjs.map +1 -0
  339. package/dist/{checkIfMultiple-B97uOUVq.js → checkIfMultiple-Dpyy6BUP.js} +6 -6
  340. package/dist/checkIfMultiple-Dpyy6BUP.js.map +1 -0
  341. package/dist/{customArea-B1LWQBmM.cjs → customArea-BAcQ3pBM.cjs} +2 -2
  342. package/dist/{customArea-B1LWQBmM.cjs.map → customArea-BAcQ3pBM.cjs.map} +1 -1
  343. package/dist/{customArea-Cc2whe6P.js → customArea-D89lETG0.js} +3 -3
  344. package/dist/{customArea-Cc2whe6P.js.map → customArea-D89lETG0.js.map} +1 -1
  345. package/dist/getSliderMarks-BzrpHrHS.cjs +2 -0
  346. package/dist/getSliderMarks-BzrpHrHS.cjs.map +1 -0
  347. package/dist/{getSliderMarks-vXsR8RrR.js → getSliderMarks-X-_goqH9.js} +3 -4
  348. package/dist/getSliderMarks-X-_goqH9.js.map +1 -0
  349. package/dist/{index-CZ0elhKR.js → index-ApTBN0kp.js} +20 -10
  350. package/dist/{index-CZ0elhKR.js.map → index-ApTBN0kp.js.map} +1 -1
  351. package/dist/index-B0Awa_de.js +377 -0
  352. package/dist/index-B0Awa_de.js.map +1 -0
  353. package/dist/{index-sbKVyHS2.cjs → index-BhI7mBJx.cjs} +2 -2
  354. package/dist/{index-sbKVyHS2.cjs.map → index-BhI7mBJx.cjs.map} +1 -1
  355. package/dist/{index-D69M6klB.cjs → index-BuhBhuCq.cjs} +2 -2
  356. package/dist/{index-D69M6klB.cjs.map → index-BuhBhuCq.cjs.map} +1 -1
  357. package/dist/{index-CHPV5EwG-BCLAYDCV.js → index-CHPV5EwG-BzibaIRc.js} +5 -9
  358. package/dist/index-CHPV5EwG-BzibaIRc.js.map +1 -0
  359. package/dist/{index-CHPV5EwG-6v2a2njQ.cjs → index-CHPV5EwG-D4pAp7u0.cjs} +3 -3
  360. package/dist/index-CHPV5EwG-D4pAp7u0.cjs.map +1 -0
  361. package/dist/index-CP8cmNzt.cjs +2 -0
  362. package/dist/index-CP8cmNzt.cjs.map +1 -0
  363. package/dist/{index-Co3YGYe1.js → index-Cv_5q6Rb.js} +3 -3
  364. package/dist/{index-Co3YGYe1.js.map → index-Cv_5q6Rb.js.map} +1 -1
  365. package/dist/{index-D_dtv_T9.js → index-DHVGV8Df.js} +3 -3
  366. package/dist/{index-D_dtv_T9.js.map → index-DHVGV8Df.js.map} +1 -1
  367. package/dist/{index-CoobIWNj.cjs → index-FXfr51ZM.cjs} +2 -2
  368. package/dist/{index-CoobIWNj.cjs.map → index-FXfr51ZM.cjs.map} +1 -1
  369. package/dist/{index-D6CYcVc7-BOa7Dpvf.js → index-Scxs_wcm-BAjU0Cob.js} +16 -16
  370. package/dist/index-Scxs_wcm-BAjU0Cob.js.map +1 -0
  371. package/dist/index-Scxs_wcm-DUDU-Gll.cjs +2 -0
  372. package/dist/index-Scxs_wcm-DUDU-Gll.cjs.map +1 -0
  373. package/dist/{index-DoS4bGNa-C3DbPpy3.cjs → index-w64Zl8io-DrMm5QSb.cjs} +2 -2
  374. package/dist/index-w64Zl8io-DrMm5QSb.cjs.map +1 -0
  375. package/dist/{index-DoS4bGNa-Bgab95kx.js → index-w64Zl8io-ihagHOdP.js} +2 -2
  376. package/dist/index-w64Zl8io-ihagHOdP.js.map +1 -0
  377. package/dist/index.cjs +1 -1
  378. package/dist/index.d.ts +92 -17
  379. package/dist/index.js +3 -3
  380. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +2 -0
  381. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +1 -0
  382. package/dist/numberFormattingFunction-DqMf_v1m.js +28 -0
  383. package/dist/numberFormattingFunction-DqMf_v1m.js.map +1 -0
  384. package/dist/{proxy--_f6k3NR.js → proxy-BsxtcZKa.js} +2 -2
  385. package/dist/{proxy--_f6k3NR.js.map → proxy-BsxtcZKa.js.map} +1 -1
  386. package/dist/{proxy-C4-uo6nS.cjs → proxy-CqH8m8IQ.cjs} +2 -2
  387. package/dist/{proxy-C4-uo6nS.cjs.map → proxy-CqH8m8IQ.cjs.map} +1 -1
  388. package/dist/{string2HTML-DUYZT1L9.js → string2HTML-BrFperRM.js} +2 -2
  389. package/dist/{string2HTML-DUYZT1L9.js.map → string2HTML-BrFperRM.js.map} +1 -1
  390. package/dist/{string2HTML-xx9MzTtY.cjs → string2HTML-ZoGd08P_.cjs} +2 -2
  391. package/dist/{string2HTML-xx9MzTtY.cjs.map → string2HTML-ZoGd08P_.cjs.map} +1 -1
  392. package/dist/style.css +1 -1
  393. package/dist/{use-in-view-DqvKAveg.js → use-in-view-KOXq5Kmc.js} +2 -2
  394. package/dist/{use-in-view-DqvKAveg.js.map → use-in-view-KOXq5Kmc.js.map} +1 -1
  395. package/dist/{use-in-view-C3o_ntMv.cjs → use-in-view-dnRv_qqF.cjs} +2 -2
  396. package/dist/{use-in-view-C3o_ntMv.cjs.map → use-in-view-dnRv_qqF.cjs.map} +1 -1
  397. package/dist/utils.cjs +1 -1
  398. package/dist/utils.d.ts +9 -18
  399. package/dist/utils.js +1 -1
  400. package/dist/x-BXShoIAM-BC2sxios.cjs +2 -0
  401. package/dist/x-BXShoIAM-BC2sxios.cjs.map +1 -0
  402. package/dist/{x-BBpi7a_7-BsvWCzYM.js → x-BXShoIAM-D6VWO6z5.js} +3 -5
  403. package/dist/x-BXShoIAM-D6VWO6z5.js.map +1 -0
  404. package/package.json +2 -2
  405. package/dist/DropdownSelect-B2WTeedJ.js.map +0 -1
  406. package/dist/DropdownSelect-NNpOs7DX.cjs.map +0 -1
  407. package/dist/GraphEl-CnJf8b50.js.map +0 -1
  408. package/dist/GraphEl-D_w0Qak4.cjs +0 -2
  409. package/dist/GraphEl-D_w0Qak4.cjs.map +0 -1
  410. package/dist/XTicksAndGridLines-BDmF9etl.js +0 -38
  411. package/dist/XTicksAndGridLines-BDmF9etl.js.map +0 -1
  412. package/dist/XTicksAndGridLines-CekrPykD.cjs +0 -2
  413. package/dist/XTicksAndGridLines-CekrPykD.cjs.map +0 -1
  414. package/dist/YTicksAndGridLines-C3GW1xFG.js +0 -38
  415. package/dist/YTicksAndGridLines-C3GW1xFG.js.map +0 -1
  416. package/dist/YTicksAndGridLines-UzVC5eBM.cjs +0 -2
  417. package/dist/YTicksAndGridLines-UzVC5eBM.cjs.map +0 -1
  418. package/dist/checkIfMultiple-B97uOUVq.js.map +0 -1
  419. package/dist/checkIfMultiple-TOaaUwS7.cjs.map +0 -1
  420. package/dist/getSliderMarks-CIuSoedo.cjs +0 -2
  421. package/dist/getSliderMarks-CIuSoedo.cjs.map +0 -1
  422. package/dist/getSliderMarks-vXsR8RrR.js.map +0 -1
  423. package/dist/index-C6VwVS8W.js +0 -378
  424. package/dist/index-C6VwVS8W.js.map +0 -1
  425. package/dist/index-CHPV5EwG-6v2a2njQ.cjs.map +0 -1
  426. package/dist/index-CHPV5EwG-BCLAYDCV.js.map +0 -1
  427. package/dist/index-D6CYcVc7-BOa7Dpvf.js.map +0 -1
  428. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs +0 -2
  429. package/dist/index-D6CYcVc7-CTEcAtiQ.cjs.map +0 -1
  430. package/dist/index-DoS4bGNa-Bgab95kx.js.map +0 -1
  431. package/dist/index-DoS4bGNa-C3DbPpy3.cjs.map +0 -1
  432. package/dist/index-_TlgeI_i.cjs +0 -2
  433. package/dist/index-_TlgeI_i.cjs.map +0 -1
  434. package/dist/numberFormattingFunction-02t-wJta.cjs +0 -2
  435. package/dist/numberFormattingFunction-02t-wJta.cjs.map +0 -1
  436. package/dist/numberFormattingFunction-14YCbkN2.js +0 -13
  437. package/dist/numberFormattingFunction-14YCbkN2.js.map +0 -1
  438. package/dist/x-BBpi7a_7-BsvWCzYM.js.map +0 -1
  439. package/dist/x-BBpi7a_7-DXYIEFwN.cjs +0 -2
  440. package/dist/x-BBpi7a_7-DXYIEFwN.cjs.map +0 -1
@@ -1,467 +1,469 @@
1
- import { j as t, m as Wt, c as _t } from "./index-CHPV5EwG-BCLAYDCV.js";
2
- import { useMemo as Ct, useState as b, useRef as Ie, useEffect as Be, useEffectEvent as Nt } from "react";
3
- import { g as At, N as Lt } from "./getSliderMarks-vXsR8RrR.js";
4
- import { w as Ft } from "./Spinner-CtJETd5V.js";
5
- import { f as Tt, p as $t } from "./parse-Dv4of-PN.js";
6
- import { i as Ht } from "./index-Bwrro8-q.js";
7
- import { i as Mt, z as Gt, a as Ut, g as Vt, b as Rt, c as qt, d as Xt, e as Yt, f as Jt } from "./index-CKpKc9DR.js";
8
- import { _ as St } from "./Typography-DMVW6JnV.js";
9
- import { i as Kt } from "./index-DCsFBfJ_.js";
10
- import { n as Zt } from "./numberFormattingFunction-14YCbkN2.js";
11
- import { T as Qt } from "./Tooltip-CohiIbLZ.js";
12
- import { c as eo } from "./checkIfNullOrUndefined-DmfiKkNw.js";
13
- import { X as to, P as oo, e as ro } from "./index-CZ0elhKR.js";
14
- import { D as ao } from "./DetailsModal-C3qlUyFK.js";
15
- import { o as no } from "./ordinal-CHaxGJ_l.js";
16
- import { t as io } from "./threshold-DFfqcDMa.js";
17
- import { s as Dt } from "./select-DKy99ogv.js";
18
- import { m as it } from "./proxy--_f6k3NR.js";
19
- import { u as so } from "./use-in-view-DqvKAveg.js";
20
- import { A as lo } from "./index-Co3YGYe1.js";
21
- import { GraphFooter as co } from "./GraphFooter.js";
22
- import { GraphHeader as mo } from "./GraphHeader.js";
23
- import { Colors as st } from "./Colors.js";
24
- import { f as Ot } from "./fetchAndParseData-BAXhgTDM.js";
25
- import { g as po } from "./getUniqValue-DsqSii6M.js";
26
- import { g as uo } from "./getJenks-DTCcQSDi.js";
27
- import { a as ho, G as fo } from "./GraphContainer-DwMxWRCi.js";
28
- function go(m) {
1
+ import { j as t, m as At, c as Ft } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useMemo as Mt, useState as b, useRef as Pe, useEffect as ze, useEffectEvent as St } from "react";
3
+ import { g as Lt, N as Tt } from "./getSliderMarks-X-_goqH9.js";
4
+ import { w as $t } from "./Spinner-B2IIKg9r.js";
5
+ import { f as Ht, p as Gt } from "./parse-Dv4of-PN.js";
6
+ import { i as Ut } from "./index-Bwrro8-q.js";
7
+ import { i as Ot, z as Vt, a as Rt, g as qt, b as Xt, c as Yt, d as Jt, e as Kt, f as Zt } from "./index-CKpKc9DR.js";
8
+ import { _ as Et } from "./Typography-BO0gQDIT.js";
9
+ import { i as Qt } from "./index-DCsFBfJ_.js";
10
+ import { n as eo } from "./numberFormattingFunction-DqMf_v1m.js";
11
+ import { T as to } from "./Tooltip-Bj-s__cI.js";
12
+ import { c as oo } from "./checkIfNullOrUndefined-DmfiKkNw.js";
13
+ import { X as ro, E as ao, P as no, e as io } from "./index-ApTBN0kp.js";
14
+ import { D as so } from "./DetailsModal-B2XBWR7w.js";
15
+ import { o as lo } from "./ordinal-CHaxGJ_l.js";
16
+ import { t as co } from "./threshold-DFfqcDMa.js";
17
+ import { s as Ct } from "./select-DKy99ogv.js";
18
+ import { m as st } from "./proxy-BsxtcZKa.js";
19
+ import { u as mo } from "./use-in-view-KOXq5Kmc.js";
20
+ import { A as po } from "./index-Cv_5q6Rb.js";
21
+ import { GraphFooter as uo } from "./GraphFooter.js";
22
+ import { GraphHeader as ho } from "./GraphHeader.js";
23
+ import { Colors as lt } from "./Colors.js";
24
+ import { f as Bt } from "./fetchAndParseData-BAXhgTDM.js";
25
+ import { g as fo } from "./getUniqValue-DsqSii6M.js";
26
+ import { g as go } from "./getJenks-DTCcQSDi.js";
27
+ import { a as yo, G as vo } from "./GraphContainer-B8ZqOzKI.js";
28
+ function xo(p) {
29
29
  const {
30
30
  data: e,
31
31
  colorDomain: a,
32
32
  colors: n,
33
33
  mapData: F,
34
- colorLegendTitle: M,
35
- categorical: T,
34
+ colorLegendTitle: N,
35
+ categorical: L,
36
36
  height: y,
37
- width: h,
37
+ width: u,
38
38
  scale: f,
39
- centerPoint: $,
40
- tooltip: ee,
41
- mapBorderWidth: q,
42
- mapBorderColor: te,
39
+ centerPoint: T,
40
+ tooltip: te,
41
+ mapBorderWidth: R,
42
+ mapBorderColor: oe,
43
43
  mapNoDataColor: ye,
44
- onSeriesMouseOver: oe,
44
+ onSeriesMouseOver: re,
45
45
  showColorScale: ve,
46
- zoomScaleExtend: ze,
47
- zoomTranslateExtend: Pe,
48
- highlightedIds: k,
49
- onSeriesMouseClick: re,
46
+ zoomScaleExtend: We,
47
+ zoomTranslateExtend: _e,
48
+ highlightedIds: j,
49
+ onSeriesMouseClick: ae,
50
50
  mapProperty: g,
51
51
  resetSelectionOnDoubleClick: xe,
52
- detailsOnClick: X,
53
- styles: We,
54
- classNames: ae,
55
- mapProjection: O,
56
- zoomInteraction: E,
57
- animate: S,
58
- dimmedOpacity: B,
59
- customLayers: ne,
52
+ detailsOnClick: q,
53
+ styles: Ae,
54
+ classNames: ne,
55
+ mapProjection: S,
56
+ zoomInteraction: O,
57
+ animate: M,
58
+ dimmedOpacity: E,
59
+ customLayers: ie,
60
60
  collapseColorScaleByDefault: be,
61
- zoomAndCenterByHighlightedIds: ke,
62
- projectionRotate: H,
63
- rewindCoordinatesInMapData: Y,
64
- overlayMapData: J,
65
- overlayMapBorderColor: _e,
66
- overlayMapBorderWidth: Ae
67
- } = m, x = Ct(() => Y ? Mt(F, {
61
+ zoomAndCenterByHighlightedIds: je,
62
+ projectionRotate: $,
63
+ rewindCoordinatesInMapData: X,
64
+ overlayMapData: Y,
65
+ overlayMapBorderColor: Fe,
66
+ overlayMapBorderWidth: Le,
67
+ locale: ke
68
+ } = p, x = Mt(() => X ? Ot(F, {
68
69
  reverse: !0
69
- }) : F, [F, Y]), Le = Ct(() => !Y || !J ? J : Mt(J, {
70
+ }) : F, [F, X]), De = Mt(() => !X || !Y ? Y : Ot(Y, {
70
71
  reverse: !0
71
- }), [J, Y]), [j, s] = b(void 0), p = Ie(null), [Fe, je] = b(be === void 0 ? !(h < 680) : !be), [ie, se] = b(void 0), [I, G] = b(void 0), [le, U] = b(void 0), [De, ce] = b(void 0), u = Ie(null), D = so(u, {
72
- once: S.once,
73
- amount: S.amount
74
- }), K = Ie(null), z = T ? no().domain(a).range(n) : io().domain(a).range(n);
75
- Be(() => {
76
- const o = Dt(K.current), r = Dt(u.current), v = (c) => {
77
- if (E === "noZoom") return !1;
78
- if (E === "button") return !c.type.includes("wheel");
79
- const Me = c.type === "wheel", C = c.type.startsWith("touch"), _ = c.type === "mousedown" || c.type === "mousemove";
80
- return C ? !0 : Me ? E === "scroll" ? !0 : c.ctrlKey : _ && !c.button && !c.ctrlKey;
81
- }, w = Gt().scaleExtent(ze).translateExtent(Pe || [[-20, -20], [h + 20, y + 20]]).filter(v).on("zoom", ({
82
- transform: c
72
+ }), [Y, X]), [i, l] = b(void 0), se = Pe(null), [Te, we] = b(be === void 0 ? !(u < 680) : !be), [le, H] = b(void 0), [B, J] = b(void 0), [K, ce] = b(void 0), [Ce, h] = b(void 0), G = Pe(null), k = mo(G, {
73
+ once: M.once,
74
+ amount: M.amount
75
+ }), Z = Pe(null), I = L ? lo().domain(a).range(n) : co().domain(a).range(n);
76
+ ze(() => {
77
+ const o = Ct(Z.current), r = Ct(G.current), v = (d) => {
78
+ if (O === "noZoom") return !1;
79
+ if (O === "button") return !d.type.includes("wheel");
80
+ const Oe = d.type === "wheel", w = d.type.startsWith("touch"), W = d.type === "mousedown" || d.type === "mousemove";
81
+ return w ? !0 : Oe ? O === "scroll" ? !0 : d.ctrlKey : W && !d.button && !d.ctrlKey;
82
+ }, D = Vt().scaleExtent(We).translateExtent(_e || [[-20, -20], [u + 20, y + 20]]).filter(v).on("zoom", ({
83
+ transform: d
83
84
  }) => {
84
- o.attr("transform", c);
85
+ o.attr("transform", d);
85
86
  });
86
- r.call(w), p.current = w;
87
- }, [y, h, E]);
88
- const V = Ut({
87
+ r.call(D), se.current = D;
88
+ }, [y, u, O]);
89
+ const U = Rt({
89
90
  ...x,
90
- features: ke ? x.features.filter(
91
+ features: je ? x.features.filter(
91
92
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
92
- (o) => (k || []).length === 0 || k.indexOf(o.properties[g]) !== -1
93
+ (o) => (j || []).length === 0 || j?.indexOf(o.properties[g]) !== -1
93
94
  ) : x.features
94
- }), P = Kt({
95
+ }), z = Qt({
95
96
  ...x,
96
- features: ke ? x.features.filter(
97
+ features: je ? x.features.filter(
97
98
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
98
- (o) => (k || []).length === 0 || k.indexOf(o.properties[g]) !== -1
99
+ (o) => (j || []).length === 0 || j?.indexOf(o.properties[g]) !== -1
99
100
  ) : x.features
100
- }), we = (V[2] - V[0]) * 1.15, Ce = (V[3] - V[1]) * 1.15, Ne = h * 190 / 960 * 360 / we, de = y * 190 / 678 * 180 / Ce, W = f * Math.min(Ne, de), me = O === "mercator" ? Vt().rotate(H).center($ || P.geometry.coordinates).translate([h / 2, y / 2]).scale(W) : O === "equalEarth" ? Rt().rotate(H).center($ || P.geometry.coordinates).translate([h / 2, y / 2]).scale(W) : O === "naturalEarth" ? qt().rotate(H).center($ || P.geometry.coordinates).translate([h / 2, y / 2]).scale(W) : O === "orthographic" ? Xt().rotate(H).center($ || P.geometry.coordinates).translate([h / 2, y / 2]).scale(W) : Yt().rotate(H).center($ || P.geometry.coordinates).translate([h / 2, y / 2]).scale(W), R = Jt().projection(me), Z = (o) => {
101
- if (!u.current || !p.current) return;
102
- Dt(u.current).call(p.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
101
+ }), Ne = (U[2] - U[0]) * 1.15, Me = (U[3] - U[1]) * 1.15, Se = u * 190 / 960 * 360 / Ne, de = y * 190 / 678 * 180 / Me, P = f * Math.min(Se, de), me = S === "mercator" ? qt().rotate($).center(T || z.geometry.coordinates).translate([u / 2, y / 2]).scale(P) : S === "equalEarth" ? Xt().rotate($).center(T || z.geometry.coordinates).translate([u / 2, y / 2]).scale(P) : S === "naturalEarth" ? Yt().rotate($).center(T || z.geometry.coordinates).translate([u / 2, y / 2]).scale(P) : S === "orthographic" ? Jt().rotate($).center(T || z.geometry.coordinates).translate([u / 2, y / 2]).scale(P) : Kt().rotate($).center(T || z.geometry.coordinates).translate([u / 2, y / 2]).scale(P), V = Zt().projection(me), Q = (o) => {
102
+ if (!G.current || !se.current) return;
103
+ Ct(G.current).call(se.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
103
104
  };
104
105
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
105
106
  /* @__PURE__ */ t.jsxs("div", { className: "relative", children: [
106
- /* @__PURE__ */ t.jsx(it.svg, { width: `${h}px`, height: `${y}px`, viewBox: `0 0 ${h} ${y}`, ref: u, direction: "ltr", children: /* @__PURE__ */ t.jsxs("g", { ref: K, children: [
107
- ne.filter((o) => o.position === "before").map((o) => o.layer),
107
+ /* @__PURE__ */ t.jsx(st.svg, { width: `${u}px`, height: `${y}px`, viewBox: `0 0 ${u} ${y}`, ref: G, direction: "ltr", children: /* @__PURE__ */ t.jsxs("g", { ref: Z, children: [
108
+ ie.filter((o) => o.position === "before").map((o) => o.layer),
108
109
  x.features.map((o, r) => {
109
110
  if (!o.properties?.[g]) return null;
110
- const v = R(o);
111
- return v ? /* @__PURE__ */ t.jsx(it.g, { opacity: j ? B : k.length !== 0 ? k.indexOf(o.properties[g]) !== -1 ? 1 : B : 1, children: /* @__PURE__ */ t.jsx("path", { d: v, style: {
112
- stroke: te,
113
- strokeWidth: q,
111
+ const v = V(o);
112
+ return v ? /* @__PURE__ */ t.jsx(st.g, { opacity: i ? E : j ? j.indexOf(o.properties[g]) !== -1 ? 1 : E : 1, children: /* @__PURE__ */ t.jsx("path", { d: v, style: {
113
+ stroke: oe,
114
+ strokeWidth: R,
114
115
  fill: ye,
115
116
  vectorEffect: "non-scaling-stroke"
116
117
  } }) }, r) : null;
117
118
  }),
118
- /* @__PURE__ */ t.jsx(lo, { children: e.map((o) => {
119
+ /* @__PURE__ */ t.jsx(po, { children: e.map((o) => {
119
120
  const r = x.features.findIndex(
120
121
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
121
- (c) => o.id === c.properties[g]
122
+ (d) => o.id === d.properties[g]
122
123
  );
123
124
  if (r === -1) return null;
124
- const v = R(x.features[r]);
125
+ const v = V(x.features[r]);
125
126
  if (!v) return null;
126
- const w = eo(o.x) ? ye : (
127
+ const D = oo(o.x) ? ye : (
127
128
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
128
- z(o.x)
129
+ I(o.x)
129
130
  );
130
- return /* @__PURE__ */ t.jsx(it.g, { className: "undp-map-shapes", variants: {
131
+ return /* @__PURE__ */ t.jsx(st.g, { className: "undp-map-shapes", variants: {
131
132
  initial: {
132
133
  opacity: 0
133
134
  },
134
135
  whileInView: {
135
- opacity: j ? j === w ? 1 : B : k.length !== 0 ? k.indexOf(o.id) !== -1 ? 1 : B : 1,
136
+ opacity: i ? i === D ? 1 : E : j ? j.indexOf(o.id) !== -1 ? 1 : E : 1,
136
137
  transition: {
137
- duration: S.duration
138
+ duration: M.duration
138
139
  }
139
140
  }
140
- }, initial: "initial", animate: D ? "whileInView" : "initial", exit: {
141
+ }, initial: "initial", animate: k ? "whileInView" : "initial", exit: {
141
142
  opacity: 0,
142
143
  transition: {
143
- duration: S.duration
144
+ duration: M.duration
144
145
  }
145
- }, onMouseEnter: (c) => {
146
- G(o), ce(c.clientY), U(c.clientX), oe?.(o);
147
- }, onMouseMove: (c) => {
148
- G(o), ce(c.clientY), U(c.clientX);
146
+ }, onMouseEnter: (d) => {
147
+ J(o), h(d.clientY), ce(d.clientX), re?.(o);
148
+ }, onMouseMove: (d) => {
149
+ J(o), h(d.clientY), ce(d.clientX);
149
150
  }, onMouseLeave: () => {
150
- G(void 0), U(void 0), ce(void 0), oe?.(void 0);
151
+ J(void 0), ce(void 0), h(void 0), re?.(void 0);
151
152
  }, onClick: () => {
152
- (re || X) && (Ht(ie, o) && xe ? (se(void 0), re?.(void 0)) : (se(o), re?.(o)));
153
- }, children: /* @__PURE__ */ t.jsx(it.path, { d: v, variants: {
153
+ (ae || q) && (Ut(le, o) && xe ? (H(void 0), ae?.(void 0)) : (H(o), ae?.(o)));
154
+ }, children: /* @__PURE__ */ t.jsx(st.path, { d: v, variants: {
154
155
  initial: {
155
- fill: w,
156
+ fill: D,
156
157
  opacity: 0
157
158
  },
158
159
  whileInView: {
159
- fill: w,
160
+ fill: D,
160
161
  opacity: 1,
161
162
  transition: {
162
- duration: S.duration
163
+ duration: M.duration
163
164
  }
164
165
  }
165
- }, initial: "initial", animate: D ? "whileInView" : "initial", exit: {
166
+ }, initial: "initial", animate: k ? "whileInView" : "initial", exit: {
166
167
  opacity: 0,
167
168
  transition: {
168
- duration: S.duration
169
+ duration: M.duration
169
170
  }
170
171
  }, style: {
171
- stroke: te,
172
- strokeWidth: q,
172
+ stroke: oe,
173
+ strokeWidth: R,
173
174
  vectorEffect: "non-scaling-stroke"
174
175
  } }, `${o.id}`) }, o.id);
175
176
  }) }),
176
- I ? x.features.filter(
177
+ B ? x.features.filter(
177
178
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
178
- (o) => o.properties[g] === I.id
179
- ).map((o, r) => /* @__PURE__ */ t.jsx("path", { d: R(o) || "", className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
179
+ (o) => o.properties[g] === B.id
180
+ ).map((o, r) => /* @__PURE__ */ t.jsx("path", { d: V(o) || "", className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
180
181
  fill: "none",
181
182
  fillOpacity: 0,
182
183
  strokeWidth: "0.5",
183
184
  vectorEffect: "non-scaling-stroke"
184
185
  } }, r)) : null,
185
- Le?.features.map((o, r) => {
186
- const v = R(o);
186
+ De?.features.map((o, r) => {
187
+ const v = V(o);
187
188
  return v ? /* @__PURE__ */ t.jsx("g", { children: /* @__PURE__ */ t.jsx("path", { d: v, style: {
188
- stroke: _e || te,
189
- strokeWidth: Ae || q + 1,
189
+ stroke: Fe || oe,
190
+ strokeWidth: Le || R + 1,
190
191
  fill: "none",
191
192
  pointerEvents: "none",
192
193
  vectorEffect: "non-scaling-stroke"
193
194
  } }) }, r) : null;
194
195
  }),
195
- ne.filter((o) => o.position === "after").map((o) => o.layer)
196
+ ie.filter((o) => o.position === "after").map((o) => o.layer)
196
197
  ] }) }),
197
- ve === !1 ? null : /* @__PURE__ */ t.jsx("div", { className: Wt("absolute left-4 bottom-4 map-color-legend", ae?.colorLegend), children: Fe ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
198
+ ve === !1 ? null : /* @__PURE__ */ t.jsx("div", { className: At("absolute left-4 bottom-4 map-color-legend", ne?.colorLegend), children: Te ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
198
199
  /* @__PURE__ */ t.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: () => {
199
- je(!1);
200
- }, children: /* @__PURE__ */ t.jsx(to, {}) }),
200
+ we(!1);
201
+ }, children: /* @__PURE__ */ t.jsx(ro, {}) }),
201
202
  /* @__PURE__ */ t.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
202
- width: T ? void 0 : "340px"
203
+ width: L ? void 0 : "340px"
203
204
  }, children: [
204
- M && M !== "" ? /* @__PURE__ */ t.jsx(St, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
205
+ N && N !== "" ? /* @__PURE__ */ t.jsx(Et, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
205
206
  display: "-webkit-box",
206
207
  WebkitLineClamp: "1",
207
208
  WebkitBoxOrient: "vertical"
208
- }, children: M }) : null,
209
- T ? /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-3", children: a.map((o, r) => /* @__PURE__ */ t.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
210
- s(n[r % n.length]);
209
+ }, children: N }) : null,
210
+ L ? /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-3", children: a.map((o, r) => /* @__PURE__ */ t.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
211
+ l(n[r % n.length]);
211
212
  }, onMouseLeave: () => {
212
- s(void 0);
213
+ l(void 0);
213
214
  }, children: [
214
215
  /* @__PURE__ */ t.jsx("div", { className: "w-2 h-2 rounded-full", style: {
215
216
  backgroundColor: n[r % n.length]
216
217
  } }),
217
- /* @__PURE__ */ t.jsx(St, { size: "sm", marginBottom: "none", leading: "none", children: o })
218
+ /* @__PURE__ */ t.jsx(Et, { size: "sm", marginBottom: "none", leading: "none", children: o })
218
219
  ] }, r)) }) : /* @__PURE__ */ t.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ t.jsxs("g", { children: [
219
220
  a.map((o, r) => /* @__PURE__ */ t.jsxs("g", { onMouseOver: () => {
220
- s(n[r]);
221
+ l(n[r]);
221
222
  }, onMouseLeave: () => {
222
- s(void 0);
223
+ l(void 0);
223
224
  }, className: "cursor-pointer", children: [
224
- /* @__PURE__ */ t.jsx("rect", { x: r * 320 / n.length + 1, y: 1, width: 320 / n.length - 2, height: 8, className: j === n[r] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
225
+ /* @__PURE__ */ t.jsx("rect", { x: r * 320 / n.length + 1, y: 1, width: 320 / n.length - 2, height: 8, className: i === n[r] ? "stroke-primary-gray-700 dark:stroke-primary-gray-300" : "", style: {
225
226
  fill: n[r],
226
- ...j === n[r] ? {} : {
227
+ ...i === n[r] ? {} : {
227
228
  stroke: n[r]
228
229
  }
229
230
  } }),
230
231
  /* @__PURE__ */ t.jsx("text", { x: (r + 1) * 320 / n.length, y: 25, className: "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", style: {
231
232
  textAnchor: "middle"
232
- }, children: Zt(o, "NA") })
233
+ }, children: eo(o, "NA", void 0, void 0, void 0, ke) })
233
234
  ] }, r)),
234
235
  /* @__PURE__ */ t.jsx("g", { children: /* @__PURE__ */ t.jsx("rect", { onMouseOver: () => {
235
- s(n[a.length]);
236
+ l(n[a.length]);
236
237
  }, onMouseLeave: () => {
237
- s(void 0);
238
- }, x: a.length * 320 / n.length + 1, y: 1, width: 320 / n.length - 2, height: 8, className: `cursor-pointer ${j === n[a.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
238
+ l(void 0);
239
+ }, x: a.length * 320 / n.length + 1, y: 1, width: 320 / n.length - 2, height: 8, className: `cursor-pointer ${i === n[a.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
239
240
  fill: n[a.length],
240
- ...j === n[a.length] ? {} : {
241
+ ...i === n[a.length] ? {} : {
241
242
  stroke: n[a.length]
242
243
  }
243
244
  } }) })
244
245
  ] }) })
245
246
  ] })
246
- ] }) : /* @__PURE__ */ t.jsx("button", { type: "button", className: "mb-0 border-0 bg-transparent p-0 self-start map-legend-button", onClick: () => {
247
- je(!0);
248
- }, children: /* @__PURE__ */ t.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" }) }) }),
249
- E === "button" && /* @__PURE__ */ t.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
250
- /* @__PURE__ */ t.jsx("button", { onClick: () => Z("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: "+" }),
251
- /* @__PURE__ */ t.jsx("button", { onClick: () => Z("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: "–" })
247
+ ] }) : /* @__PURE__ */ t.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: () => {
248
+ we(!0);
249
+ }, children: /* @__PURE__ */ t.jsx(ao, {}) }) }),
250
+ O === "button" && /* @__PURE__ */ t.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
251
+ /* @__PURE__ */ t.jsx("button", { onClick: () => Q("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: "+" }),
252
+ /* @__PURE__ */ t.jsx("button", { onClick: () => Q("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: "–" })
252
253
  ] })
253
254
  ] }),
254
- X && ie !== void 0 ? /* @__PURE__ */ t.jsx(ao, { body: X, data: ie, setData: se, className: ae?.modal }) : null,
255
- I && ee && le && De ? /* @__PURE__ */ t.jsx(Qt, { data: I, body: ee, xPos: le, yPos: De, backgroundStyle: We?.tooltip, className: ae?.tooltip }) : null
255
+ q && le !== void 0 ? /* @__PURE__ */ t.jsx(so, { body: q, data: le, setData: H, className: ne?.modal }) : null,
256
+ B && te && K && Ce ? /* @__PURE__ */ t.jsx(to, { data: B, body: te, xPos: K, yPos: Ce, backgroundStyle: Ae?.tooltip, className: ne?.tooltip }) : null
256
257
  ] });
257
258
  }
258
- function Qo(m) {
259
- const e = _t.c(135), {
259
+ function or(p) {
260
+ const e = Ft.c(136), {
260
261
  data: a,
261
262
  mapData: n,
262
263
  graphTitle: F,
263
- colors: M,
264
- sources: T,
264
+ colors: N,
265
+ sources: L,
265
266
  graphDescription: y,
266
- height: h,
267
+ height: u,
267
268
  width: f,
268
- footNote: $,
269
- colorDomain: ee,
270
- colorLegendTitle: q,
271
- scaleType: te,
269
+ footNote: T,
270
+ colorDomain: te,
271
+ colorLegendTitle: R,
272
+ scaleType: oe,
272
273
  scale: ye,
273
- centerPoint: oe,
274
+ centerPoint: re,
274
275
  padding: ve,
275
- mapBorderWidth: ze,
276
- mapNoDataColor: Pe,
277
- backgroundColor: k,
278
- mapBorderColor: re,
276
+ mapBorderWidth: We,
277
+ mapNoDataColor: _e,
278
+ backgroundColor: j,
279
+ mapBorderColor: ae,
279
280
  relativeHeight: g,
280
281
  tooltip: xe,
281
- onSeriesMouseOver: X,
282
- isWorldMap: We,
283
- showColorScale: ae,
284
- zoomScaleExtend: O,
285
- zoomTranslateExtend: E,
286
- graphID: S,
287
- highlightedIds: B,
288
- onSeriesMouseClick: ne,
282
+ onSeriesMouseOver: q,
283
+ isWorldMap: Ae,
284
+ showColorScale: ne,
285
+ zoomScaleExtend: S,
286
+ zoomTranslateExtend: O,
287
+ graphID: M,
288
+ highlightedIds: E,
289
+ onSeriesMouseClick: ie,
289
290
  mapProperty: be,
290
- graphDownload: ke,
291
- dataDownload: H,
292
- showAntarctica: Y,
293
- language: J,
294
- minHeight: _e,
295
- theme: Ae,
296
- ariaLabel: x,
297
- resetSelectionOnDoubleClick: Le,
298
- detailsOnClick: j,
299
- styles: s,
300
- classNames: p,
301
- mapProjection: Fe,
302
- zoomInteraction: je,
303
- animate: ie,
304
- dimmedOpacity: se,
305
- customLayers: I,
306
- timeline: G,
307
- collapseColorScaleByDefault: le,
308
- projectionRotate: U,
309
- zoomAndCenterByHighlightedIds: De,
310
- rewindCoordinatesInMapData: ce,
311
- mapOverlay: u
312
- } = m, D = n === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : n, K = $ === 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." : $, z = te === void 0 ? "threshold" : te, V = ye === void 0 ? 0.95 : ye, P = ze === void 0 ? 0.5 : ze, we = Pe === void 0 ? st.light.graphNoData : Pe, Ce = k === void 0 ? !1 : k, Ne = re === void 0 ? st.light.grays["gray-500"] : re, de = We === void 0 ? !0 : We, W = ae === void 0 ? !0 : ae;
291
+ graphDownload: je,
292
+ dataDownload: $,
293
+ showAntarctica: X,
294
+ language: Y,
295
+ minHeight: Fe,
296
+ theme: Le,
297
+ ariaLabel: ke,
298
+ resetSelectionOnDoubleClick: x,
299
+ detailsOnClick: De,
300
+ styles: i,
301
+ classNames: l,
302
+ mapProjection: se,
303
+ zoomInteraction: Te,
304
+ animate: we,
305
+ dimmedOpacity: le,
306
+ customLayers: H,
307
+ timeline: B,
308
+ collapseColorScaleByDefault: J,
309
+ projectionRotate: K,
310
+ zoomAndCenterByHighlightedIds: ce,
311
+ rewindCoordinatesInMapData: Ce,
312
+ mapOverlay: h,
313
+ locale: G
314
+ } = p, k = n === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : n, Z = T === 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." : T, I = oe === void 0 ? "threshold" : oe, U = ye === void 0 ? 0.95 : ye, z = We === void 0 ? 0.5 : We, Ne = _e === void 0 ? lt.light.graphNoData : _e, Me = j === void 0 ? !1 : j, Se = ae === void 0 ? lt.light.grays["gray-500"] : ae, de = Ae === void 0 ? !0 : Ae, P = ne === void 0 ? !0 : ne;
313
315
  let me;
314
- e[0] !== O ? (me = O === void 0 ? [0.8, 6] : O, e[0] = O, e[1] = me) : me = e[1];
315
- const R = me;
316
- let Z;
317
- e[2] !== B ? (Z = B === void 0 ? [] : B, e[2] = B, e[3] = Z) : Z = e[3];
318
- const o = Z, r = be === void 0 ? "ISO3" : be, v = ke === void 0 ? !1 : ke, w = H === void 0 ? !1 : H, c = Y === void 0 ? !1 : Y, Me = J === void 0 ? "en" : J, C = _e === void 0 ? 0 : _e, _ = Ae === void 0 ? "light" : Ae, lt = Le === void 0 ? !0 : Le, ct = Fe === void 0 ? "naturalEarth" : Fe, dt = je === void 0 ? "button" : je, Te = ie === void 0 ? !1 : ie, mt = se === void 0 ? 0.3 : se;
319
- let $e;
320
- e[4] !== I ? ($e = I === void 0 ? [] : I, e[4] = I, e[5] = $e) : $e = e[5];
321
- const pt = $e;
316
+ e[0] !== S ? (me = S === void 0 ? [0.8, 6] : S, e[0] = S, e[1] = me) : me = e[1];
317
+ const V = me;
318
+ let Q;
319
+ e[2] !== E ? (Q = E === void 0 ? [] : E, e[2] = E, e[3] = Q) : Q = e[3];
320
+ const o = Q, r = be === void 0 ? "ISO3" : be, v = je === void 0 ? !1 : je, D = $ === void 0 ? !1 : $, d = X === void 0 ? !1 : X, Oe = Y === void 0 ? "en" : Y, w = Fe === void 0 ? 0 : Fe, W = Le === void 0 ? "light" : Le, ct = x === void 0 ? !0 : x, dt = se === void 0 ? "naturalEarth" : se, mt = Te === void 0 ? "button" : Te, $e = we === void 0 ? !1 : we, pt = le === void 0 ? 0.3 : le;
322
321
  let He;
323
- e[6] !== G ? (He = G === void 0 ? {
322
+ e[4] !== H ? (He = H === void 0 ? [] : H, e[4] = H, e[5] = He) : He = e[5];
323
+ const ut = He;
324
+ let Ge;
325
+ e[6] !== B ? (Ge = B === void 0 ? {
324
326
  enabled: !1,
325
327
  autoplay: !1,
326
328
  showOnlyActiveDate: !0
327
- } : G, e[6] = G, e[7] = He) : He = e[7];
328
- const i = He;
329
- let Ge;
330
- e[8] !== U ? (Ge = U === void 0 ? [0, 0] : U, e[8] = U, e[9] = Ge) : Ge = e[9];
331
- const ut = Ge, ht = De === void 0 ? !1 : De, ft = ce === void 0 ? !0 : ce, [Q, Et] = b(0), [Se, Bt] = b(0), [A, It] = b(i.autoplay);
332
- let Oe;
333
- if (e[10] !== a || e[11] !== i.dateFormat) {
334
- let l;
335
- e[13] !== i.dateFormat ? (l = (N) => $t(`${N.date}`, i.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[13] = i.dateFormat, e[14] = l) : l = e[14], Oe = [...new Set(a.filter(Co).map(l))], Oe.sort(wo), e[10] = a, e[11] = i.dateFormat, e[12] = Oe;
329
+ } : B, e[6] = B, e[7] = Ge) : Ge = e[7];
330
+ const s = Ge;
331
+ let Ue;
332
+ e[8] !== K ? (Ue = K === void 0 ? [0, 0] : K, e[8] = K, e[9] = Ue) : Ue = e[9];
333
+ const ht = Ue, ft = ce === void 0 ? !1 : ce, gt = Ce === void 0 ? !0 : Ce, yt = G === void 0 ? "en" : G, [ee, It] = b(0), [Ee, zt] = b(0), [_, Pt] = b(s.autoplay);
334
+ let Be;
335
+ if (e[10] !== a || e[11] !== s.dateFormat) {
336
+ let c;
337
+ e[13] !== s.dateFormat ? (c = (C) => Gt(`${C.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[13] = s.dateFormat, e[14] = c) : c = e[14], Be = [...new Set(a.filter(So).map(c))], Be.sort(Mo), e[10] = a, e[11] = s.dateFormat, e[12] = Be;
336
338
  } else
337
- Oe = e[12];
338
- const d = Oe, [L, gt] = b(i.autoplay ? 0 : d.length - 1), [pe, zt] = b(void 0), [yt, Pt] = b(void 0), vt = Ie(null), wt = Ie(null);
339
- let Ue, Ve;
340
- e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ue = () => {
341
- const l = new ResizeObserver((N) => {
342
- Et(N[0].target.clientWidth || 620), Bt(N[0].target.clientHeight || 480);
339
+ Be = e[12];
340
+ const m = Be, [A, vt] = b(s.autoplay ? 0 : m.length - 1), [pe, Wt] = b(void 0), [xt, _t] = b(void 0), bt = Pe(null), Nt = Pe(null);
341
+ let Ve, Re;
342
+ e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ve = () => {
343
+ const c = new ResizeObserver((C) => {
344
+ It(C[0].target.clientWidth || 620), zt(C[0].target.clientHeight || 480);
343
345
  });
344
- return vt.current && l.observe(vt.current), () => l.disconnect();
345
- }, Ve = [], e[15] = Ue, e[16] = Ve) : (Ue = e[15], Ve = e[16]), Be(Ue, Ve);
346
- let Re;
347
- e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Re = (l) => {
348
- zt(l);
349
- }, e[17] = Re) : Re = e[17];
350
- const qe = Nt(Re);
351
- let Xe;
352
- e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Xe = (l) => {
353
- Pt(l);
354
- }, e[18] = Xe) : Xe = e[18];
355
- const Ee = Nt(Xe);
346
+ return bt.current && c.observe(bt.current), () => c.disconnect();
347
+ }, Re = [], e[15] = Ve, e[16] = Re) : (Ve = e[15], Re = e[16]), ze(Ve, Re);
348
+ let qe;
349
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qe = (c) => {
350
+ Wt(c);
351
+ }, e[17] = qe) : qe = e[17];
352
+ const Xe = St(qe);
356
353
  let Ye;
357
- e[19] !== D || e[20] !== qe ? (Ye = () => {
358
- typeof D == "string" ? Ot(D).then((N) => {
359
- qe(N);
360
- }) : qe(D);
361
- }, e[19] = D, e[20] = qe, e[21] = Ye) : Ye = e[21];
354
+ e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ye = (c) => {
355
+ _t(c);
356
+ }, e[18] = Ye) : Ye = e[18];
357
+ const Ie = St(Ye);
362
358
  let Je;
363
- e[22] !== D ? (Je = [D], e[22] = D, e[23] = Je) : Je = e[23], Be(Ye, Je);
359
+ e[19] !== k || e[20] !== Xe ? (Je = () => {
360
+ typeof k == "string" ? Bt(k).then((C) => {
361
+ Xe(C);
362
+ }) : Xe(k);
363
+ }, e[19] = k, e[20] = Xe, e[21] = Je) : Je = e[21];
364
364
  let Ke;
365
- e[24] !== u?.mapData || e[25] !== Ee ? (Ke = () => {
366
- u?.mapData || Ee(void 0), typeof u?.mapData == "string" ? Ot(u?.mapData).then((N) => {
367
- Ee(N);
368
- }) : Ee(u?.mapData);
369
- }, e[24] = u?.mapData, e[25] = Ee, e[26] = Ke) : Ke = e[26];
370
- const xt = u?.mapData;
365
+ e[22] !== k ? (Ke = [k], e[22] = k, e[23] = Ke) : Ke = e[23], ze(Je, Ke);
371
366
  let Ze;
372
- e[27] !== xt ? (Ze = [xt], e[27] = xt, e[28] = Ze) : Ze = e[28], Be(Ke, Ze);
367
+ e[24] !== h?.mapData || e[25] !== Ie ? (Ze = () => {
368
+ h?.mapData || Ie(void 0), typeof h?.mapData == "string" ? Bt(h?.mapData).then((C) => {
369
+ Ie(C);
370
+ }) : Ie(h?.mapData);
371
+ }, e[24] = h?.mapData, e[25] = Ie, e[26] = Ze) : Ze = e[26];
372
+ const jt = h?.mapData;
373
373
  let Qe;
374
- e[29] !== ee || e[30] !== M?.length || e[31] !== a || e[32] !== z ? (Qe = ee || (z === "categorical" ? po(a, "x") : uo(a.map(Do), M?.length || 4)), e[29] = ee, e[30] = M?.length, e[31] = a, e[32] = z, e[33] = Qe) : Qe = e[33];
375
- const et = Qe;
376
- let tt, ot;
377
- e[34] !== A || e[35] !== i.speed || e[36] !== d ? (tt = () => {
378
- const l = setInterval(() => {
379
- gt((N) => N < d.length - 1 ? N + 1 : 0);
380
- }, (i.speed || 2) * 1e3);
381
- return A || clearInterval(l), () => clearInterval(l);
382
- }, ot = [d, A, i.speed], e[34] = A, e[35] = i.speed, e[36] = d, e[37] = tt, e[38] = ot) : (tt = e[37], ot = e[38]), Be(tt, ot);
383
- const bt = i.dateFormat || "yyyy";
384
- let rt;
385
- e[39] !== L || e[40] !== bt || e[41] !== i.showOnlyActiveDate || e[42] !== d ? (rt = At(d, L, i.showOnlyActiveDate, bt), e[39] = L, e[40] = bt, e[41] = i.showOnlyActiveDate, e[42] = d, e[43] = rt) : rt = e[43];
386
- const at = rt, kt = p?.graphContainer, jt = s?.graphContainer;
374
+ e[27] !== jt ? (Qe = [jt], e[27] = jt, e[28] = Qe) : Qe = e[28], ze(Ze, Qe);
375
+ let et;
376
+ e[29] !== te || e[30] !== N?.length || e[31] !== a || e[32] !== I ? (et = te || (I === "categorical" ? fo(a, "x") : go(a.map(No), N?.length || 4)), e[29] = te, e[30] = N?.length, e[31] = a, e[32] = I, e[33] = et) : et = e[33];
377
+ const tt = et;
378
+ let ot, rt;
379
+ e[34] !== _ || e[35] !== s.speed || e[36] !== m ? (ot = () => {
380
+ const c = setInterval(() => {
381
+ vt((C) => C < m.length - 1 ? C + 1 : 0);
382
+ }, (s.speed || 2) * 1e3);
383
+ return _ || clearInterval(c), () => clearInterval(c);
384
+ }, rt = [m, _, s.speed], e[34] = _, e[35] = s.speed, e[36] = m, e[37] = ot, e[38] = rt) : (ot = e[37], rt = e[38]), ze(ot, rt);
385
+ const kt = s.dateFormat || "yyyy";
386
+ let at;
387
+ e[39] !== A || e[40] !== kt || e[41] !== s.showOnlyActiveDate || e[42] !== m ? (at = Lt(m, A, s.showOnlyActiveDate, kt), e[39] = A, e[40] = kt, e[41] = s.showOnlyActiveDate, e[42] = m, e[43] = at) : at = e[43];
388
+ const nt = at, Dt = l?.graphContainer, wt = i?.graphContainer;
387
389
  let ue;
388
- e[44] !== p?.description || e[45] !== p?.title || e[46] !== a || e[47] !== w || e[48] !== y || e[49] !== v || e[50] !== F || e[51] !== s?.description || e[52] !== s?.title || e[53] !== f ? (ue = F || y || v || w ? /* @__PURE__ */ t.jsx(mo, { styles: {
389
- title: s?.title,
390
- description: s?.description
390
+ e[44] !== l?.description || e[45] !== l?.title || e[46] !== a || e[47] !== D || e[48] !== y || e[49] !== v || e[50] !== F || e[51] !== i?.description || e[52] !== i?.title || e[53] !== f ? (ue = F || y || v || D ? /* @__PURE__ */ t.jsx(ho, { styles: {
391
+ title: i?.title,
392
+ description: i?.description
391
393
  }, classNames: {
392
- title: p?.title,
393
- description: p?.description
394
- }, graphTitle: F, graphDescription: y, width: f, graphDownload: v ? wt : void 0, dataDownload: w ? a.map(jo).filter(ko).length > 0 ? a.map(bo).filter(xo) : a.filter(vo) : null }) : null, e[44] = p?.description, e[45] = p?.title, e[46] = a, e[47] = w, e[48] = y, e[49] = v, e[50] = F, e[51] = s?.description, e[52] = s?.title, e[53] = f, e[54] = ue) : ue = e[54];
394
+ title: l?.title,
395
+ description: l?.description
396
+ }, graphTitle: F, graphDescription: y, width: f, graphDownload: v ? Nt : void 0, dataDownload: D ? a.map(Co).filter(wo).length > 0 ? a.map(Do).filter(ko) : a.filter(jo) : null }) : null, e[44] = l?.description, e[45] = l?.title, e[46] = a, e[47] = D, e[48] = y, e[49] = v, e[50] = F, e[51] = i?.description, e[52] = i?.title, e[53] = f, e[54] = ue) : ue = e[54];
395
397
  let he;
396
- e[55] !== L || e[56] !== at || e[57] !== A || e[58] !== i.enabled || e[59] !== d ? (he = i.enabled && d.length > 0 && at ? /* @__PURE__ */ t.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
398
+ e[55] !== A || e[56] !== nt || e[57] !== _ || e[58] !== s.enabled || e[59] !== m ? (he = s.enabled && m.length > 0 && nt ? /* @__PURE__ */ t.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
397
399
  /* @__PURE__ */ t.jsx("button", { type: "button", onClick: () => {
398
- It(!A);
399
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": A ? "Click to pause animation" : "Click to play animation", children: A ? /* @__PURE__ */ t.jsx(oo, {}) : /* @__PURE__ */ t.jsx(ro, {}) }),
400
- /* @__PURE__ */ t.jsx(Lt, { min: d[0], max: d[d.length - 1], marks: at, step: null, defaultValue: d[d.length - 1], value: d[L], onChangeComplete: (l) => {
401
- gt(d.indexOf(l));
402
- }, onChange: (l) => {
403
- gt(d.indexOf(l));
400
+ Pt(!_);
401
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": _ ? "Click to pause animation" : "Click to play animation", children: _ ? /* @__PURE__ */ t.jsx(no, {}) : /* @__PURE__ */ t.jsx(io, {}) }),
402
+ /* @__PURE__ */ t.jsx(Tt, { min: m[0], max: m[m.length - 1], marks: nt, step: null, defaultValue: m[m.length - 1], value: m[A], onChangeComplete: (c) => {
403
+ vt(m.indexOf(c));
404
+ }, onChange: (c) => {
405
+ vt(m.indexOf(c));
404
406
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
405
- ] }) : null, e[55] = L, e[56] = at, e[57] = A, e[58] = i.enabled, e[59] = d, e[60] = he) : he = e[60];
407
+ ] }) : null, e[55] = A, e[56] = nt, e[57] = _, e[58] = s.enabled, e[59] = m, e[60] = he) : he = e[60];
406
408
  let fe;
407
- e[61] !== Te || e[62] !== oe || e[63] !== p || e[64] !== le || e[65] !== q || e[66] !== M || e[67] !== pt || e[68] !== a || e[69] !== j || e[70] !== mt || e[71] !== et || e[72] !== h || e[73] !== o || e[74] !== L || e[75] !== de || e[76] !== Ne || e[77] !== P || e[78] !== we || e[79] !== u?.mapBorderColor || e[80] !== u?.mapBorderWidth || e[81] !== ct || e[82] !== r || e[83] !== pe || e[84] !== C || e[85] !== ne || e[86] !== X || e[87] !== yt || e[88] !== ut || e[89] !== g || e[90] !== lt || e[91] !== ft || e[92] !== V || e[93] !== z || e[94] !== c || e[95] !== W || e[96] !== s || e[97] !== Se || e[98] !== Q || e[99] !== _ || e[100] !== i.dateFormat || e[101] !== i.enabled || e[102] !== xe || e[103] !== d || e[104] !== f || e[105] !== ht || e[106] !== dt || e[107] !== R || e[108] !== E ? (fe = /* @__PURE__ */ t.jsx(ho, { ref: vt, children: Q && Se && pe ? /* @__PURE__ */ t.jsx(go, { data: a.filter((l) => i.enabled ? `${l.date}` === Tt(new Date(d[L]), i.dateFormat || "yyyy") : l), mapData: c ? pe : {
409
+ e[61] !== $e || e[62] !== re || e[63] !== l || e[64] !== J || e[65] !== R || e[66] !== N || e[67] !== ut || e[68] !== a || e[69] !== De || e[70] !== pt || e[71] !== tt || e[72] !== u || e[73] !== o || e[74] !== A || e[75] !== de || e[76] !== yt || e[77] !== Se || e[78] !== z || e[79] !== Ne || e[80] !== h?.mapBorderColor || e[81] !== h?.mapBorderWidth || e[82] !== dt || e[83] !== r || e[84] !== pe || e[85] !== w || e[86] !== ie || e[87] !== q || e[88] !== xt || e[89] !== ht || e[90] !== g || e[91] !== ct || e[92] !== gt || e[93] !== U || e[94] !== I || e[95] !== d || e[96] !== P || e[97] !== i || e[98] !== Ee || e[99] !== ee || e[100] !== W || e[101] !== s.dateFormat || e[102] !== s.enabled || e[103] !== xe || e[104] !== m || e[105] !== f || e[106] !== ft || e[107] !== mt || e[108] !== V || e[109] !== O ? (fe = /* @__PURE__ */ t.jsx(yo, { ref: bt, children: ee && Ee && pe ? /* @__PURE__ */ t.jsx(xo, { data: a.filter((c) => s.enabled ? `${c.date}` === Ht(new Date(m[A]), s.dateFormat || "yyyy") : c), mapData: d ? pe : {
408
410
  ...pe,
409
- features: pe.features.filter(yo)
410
- }, colorDomain: et, width: Q, height: Se, scale: V, centerPoint: oe, colors: M || (z === "categorical" ? st[_].categoricalColors.colors : st[_].sequentialColors[`neutralColorsx0${et.length + 1}`]), colorLegendTitle: q, mapBorderWidth: P, mapNoDataColor: we, categorical: z === "categorical", mapBorderColor: Ne, tooltip: xe, onSeriesMouseOver: X, isWorldMap: de, showColorScale: W, zoomScaleExtend: R, zoomTranslateExtend: E, onSeriesMouseClick: ne, mapProperty: r, highlightedIds: o, resetSelectionOnDoubleClick: lt, styles: s, overlayMapData: yt, overlayMapBorderColor: u?.mapBorderColor, overlayMapBorderWidth: u?.mapBorderWidth, classNames: p, detailsOnClick: j, mapProjection: ct || (de ? "naturalEarth" : "mercator"), zoomInteraction: dt, dimmedOpacity: mt, animate: Te === !0 ? {
411
+ features: pe.features.filter(bo)
412
+ }, colorDomain: tt, width: ee, height: Ee, scale: U, centerPoint: re, colors: N || (I === "categorical" ? lt[W].categoricalColors.colors : lt[W].sequentialColors[`neutralColorsx0${tt.length + 1}`]), colorLegendTitle: R, mapBorderWidth: z, mapNoDataColor: Ne, categorical: I === "categorical", mapBorderColor: Se, tooltip: xe, onSeriesMouseOver: q, isWorldMap: de, showColorScale: P, zoomScaleExtend: V, zoomTranslateExtend: O, onSeriesMouseClick: ie, mapProperty: r, highlightedIds: o, resetSelectionOnDoubleClick: ct, styles: i, overlayMapData: xt, overlayMapBorderColor: h?.mapBorderColor, overlayMapBorderWidth: h?.mapBorderWidth, classNames: l, detailsOnClick: De, mapProjection: dt || (de ? "naturalEarth" : "mercator"), zoomInteraction: mt, dimmedOpacity: pt, animate: $e === !0 ? {
411
413
  duration: 0.5,
412
414
  once: !0,
413
415
  amount: 0.5
414
- } : Te || {
416
+ } : $e || {
415
417
  duration: 0,
416
418
  once: !0,
417
419
  amount: 0
418
- }, customLayers: pt, zoomAndCenterByHighlightedIds: ht, collapseColorScaleByDefault: le, projectionRotate: ut, rewindCoordinatesInMapData: ft }) : /* @__PURE__ */ t.jsx("div", { style: {
419
- height: `${Math.max(C, h || (g ? C ? (f || Q) * g > C ? (f || Q) * g : C : (f || Q) * g : Se))}px`
420
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ t.jsx(Ft, { "aria-label": "Loading graph" }) }) }), e[61] = Te, e[62] = oe, e[63] = p, e[64] = le, e[65] = q, e[66] = M, e[67] = pt, e[68] = a, e[69] = j, e[70] = mt, e[71] = et, e[72] = h, e[73] = o, e[74] = L, e[75] = de, e[76] = Ne, e[77] = P, e[78] = we, e[79] = u?.mapBorderColor, e[80] = u?.mapBorderWidth, e[81] = ct, e[82] = r, e[83] = pe, e[84] = C, e[85] = ne, e[86] = X, e[87] = yt, e[88] = ut, e[89] = g, e[90] = lt, e[91] = ft, e[92] = V, e[93] = z, e[94] = c, e[95] = W, e[96] = s, e[97] = Se, e[98] = Q, e[99] = _, e[100] = i.dateFormat, e[101] = i.enabled, e[102] = xe, e[103] = d, e[104] = f, e[105] = ht, e[106] = dt, e[107] = R, e[108] = E, e[109] = fe) : fe = e[109];
420
+ }, customLayers: ut, zoomAndCenterByHighlightedIds: ft, collapseColorScaleByDefault: J, projectionRotate: ht, rewindCoordinatesInMapData: gt, locale: yt }) : /* @__PURE__ */ t.jsx("div", { style: {
421
+ height: `${Math.max(w, u || (g ? w ? (f || ee) * g > w ? (f || ee) * g : w : (f || ee) * g : Ee))}px`
422
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ t.jsx($t, { "aria-label": "Loading graph" }) }) }), e[61] = $e, e[62] = re, e[63] = l, e[64] = J, e[65] = R, e[66] = N, e[67] = ut, e[68] = a, e[69] = De, e[70] = pt, e[71] = tt, e[72] = u, e[73] = o, e[74] = A, e[75] = de, e[76] = yt, e[77] = Se, e[78] = z, e[79] = Ne, e[80] = h?.mapBorderColor, e[81] = h?.mapBorderWidth, e[82] = dt, e[83] = r, e[84] = pe, e[85] = w, e[86] = ie, e[87] = q, e[88] = xt, e[89] = ht, e[90] = g, e[91] = ct, e[92] = gt, e[93] = U, e[94] = I, e[95] = d, e[96] = P, e[97] = i, e[98] = Ee, e[99] = ee, e[100] = W, e[101] = s.dateFormat, e[102] = s.enabled, e[103] = xe, e[104] = m, e[105] = f, e[106] = ft, e[107] = mt, e[108] = V, e[109] = O, e[110] = fe) : fe = e[110];
421
423
  let ge;
422
- e[110] !== p?.footnote || e[111] !== p?.source || e[112] !== K || e[113] !== T || e[114] !== s?.footnote || e[115] !== s?.source || e[116] !== f ? (ge = T || K ? /* @__PURE__ */ t.jsx(co, { styles: {
423
- footnote: s?.footnote,
424
- source: s?.source
424
+ e[111] !== l?.footnote || e[112] !== l?.source || e[113] !== Z || e[114] !== L || e[115] !== i?.footnote || e[116] !== i?.source || e[117] !== f ? (ge = L || Z ? /* @__PURE__ */ t.jsx(uo, { styles: {
425
+ footnote: i?.footnote,
426
+ source: i?.source
425
427
  }, classNames: {
426
- footnote: p?.footnote,
427
- source: p?.source
428
- }, sources: T, footNote: K, width: f }) : null, e[110] = p?.footnote, e[111] = p?.source, e[112] = K, e[113] = T, e[114] = s?.footnote, e[115] = s?.source, e[116] = f, e[117] = ge) : ge = e[117];
429
- let nt;
430
- return e[118] !== x || e[119] !== Ce || e[120] !== S || e[121] !== h || e[122] !== Me || e[123] !== C || e[124] !== ve || e[125] !== g || e[126] !== kt || e[127] !== jt || e[128] !== ue || e[129] !== he || e[130] !== fe || e[131] !== ge || e[132] !== _ || e[133] !== f ? (nt = /* @__PURE__ */ t.jsxs(fo, { className: kt, style: jt, id: S, ref: wt, "aria-label": x, backgroundColor: Ce, theme: _, language: Me, minHeight: C, width: f, height: h, relativeHeight: g, padding: ve, children: [
428
+ footnote: l?.footnote,
429
+ source: l?.source
430
+ }, sources: L, footNote: Z, width: f }) : null, e[111] = l?.footnote, e[112] = l?.source, e[113] = Z, e[114] = L, e[115] = i?.footnote, e[116] = i?.source, e[117] = f, e[118] = ge) : ge = e[118];
431
+ let it;
432
+ return e[119] !== ke || e[120] !== Me || e[121] !== M || e[122] !== u || e[123] !== Oe || e[124] !== w || e[125] !== ve || e[126] !== g || e[127] !== Dt || e[128] !== wt || e[129] !== ue || e[130] !== he || e[131] !== fe || e[132] !== ge || e[133] !== W || e[134] !== f ? (it = /* @__PURE__ */ t.jsxs(vo, { className: Dt, style: wt, id: M, ref: Nt, "aria-label": ke, backgroundColor: Me, theme: W, language: Oe, minHeight: w, width: f, height: u, relativeHeight: g, padding: ve, children: [
431
433
  ue,
432
434
  he,
433
435
  fe,
434
436
  ge
435
- ] }), e[118] = x, e[119] = Ce, e[120] = S, e[121] = h, e[122] = Me, e[123] = C, e[124] = ve, e[125] = g, e[126] = kt, e[127] = jt, e[128] = ue, e[129] = he, e[130] = fe, e[131] = ge, e[132] = _, e[133] = f, e[134] = nt) : nt = e[134], nt;
437
+ ] }), e[119] = ke, e[120] = Me, e[121] = M, e[122] = u, e[123] = Oe, e[124] = w, e[125] = ve, e[126] = g, e[127] = Dt, e[128] = wt, e[129] = ue, e[130] = he, e[131] = fe, e[132] = ge, e[133] = W, e[134] = f, e[135] = it) : it = e[135], it;
436
438
  }
437
- function yo(m) {
438
- return m.properties?.NAME !== "Antarctica";
439
+ function bo(p) {
440
+ return p.properties?.NAME !== "Antarctica";
439
441
  }
440
- function vo(m) {
441
- return m !== void 0;
442
+ function jo(p) {
443
+ return p !== void 0;
442
444
  }
443
- function xo(m) {
444
- return m !== void 0;
445
+ function ko(p) {
446
+ return p !== void 0;
445
447
  }
446
- function bo(m) {
447
- return m.data;
448
+ function Do(p) {
449
+ return p.data;
448
450
  }
449
- function ko(m) {
450
- return m !== void 0;
451
+ function wo(p) {
452
+ return p !== void 0;
451
453
  }
452
- function jo(m) {
453
- return m.data;
454
+ function Co(p) {
455
+ return p.data;
454
456
  }
455
- function Do(m) {
456
- return m.x;
457
+ function No(p) {
458
+ return p.x;
457
459
  }
458
- function wo(m, e) {
459
- return m - e;
460
+ function Mo(p, e) {
461
+ return p - e;
460
462
  }
461
- function Co(m) {
462
- return m.date;
463
+ function So(p) {
464
+ return p.date;
463
465
  }
464
466
  export {
465
- Qo as ChoroplethMap
467
+ or as ChoroplethMap
466
468
  };
467
469
  //# sourceMappingURL=ChoroplethMap.js.map