@undp/data-viz 1.5.7 → 1.5.9

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 (342) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.js +13 -13
  3. package/dist/{Axis-Ddg-seDi.js → Axis-4gUOL8B7.js} +2 -2
  4. package/dist/{Axis-Ddg-seDi.js.map → Axis-4gUOL8B7.js.map} +1 -1
  5. package/dist/{Axis-DE7dSn1_.cjs → Axis-CkNn1wit.cjs} +2 -2
  6. package/dist/{Axis-DE7dSn1_.cjs.map → Axis-CkNn1wit.cjs.map} +1 -1
  7. package/dist/{AxisTitle-CK9YeovX.cjs → AxisTitle-Wkz-xeQL.cjs} +2 -2
  8. package/dist/{AxisTitle-CK9YeovX.cjs.map → AxisTitle-Wkz-xeQL.cjs.map} +1 -1
  9. package/dist/{AxisTitle-BmHLMRJZ.js → AxisTitle-v6_xcXZ-.js} +2 -2
  10. package/dist/{AxisTitle-BmHLMRJZ.js.map → AxisTitle-v6_xcXZ-.js.map} +1 -1
  11. package/dist/BarGraph.cjs +1 -1
  12. package/dist/BarGraph.cjs.map +1 -1
  13. package/dist/BarGraph.js +666 -664
  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 +42 -42
  19. package/dist/BiVariateChoroplethMap.cjs +1 -1
  20. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  21. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  22. package/dist/BiVariateChoroplethMap.js +257 -264
  23. package/dist/BiVariateChoroplethMap.js.map +1 -1
  24. package/dist/BulletChart.cjs +1 -1
  25. package/dist/BulletChart.cjs.map +1 -1
  26. package/dist/BulletChart.js +223 -221
  27. package/dist/BulletChart.js.map +1 -1
  28. package/dist/ButterflyChart.cjs +1 -1
  29. package/dist/ButterflyChart.cjs.map +1 -1
  30. package/dist/ButterflyChart.js +84 -82
  31. package/dist/ButterflyChart.js.map +1 -1
  32. package/dist/ChoroplethMap.cjs +1 -1
  33. package/dist/ChoroplethMap.cjs.map +1 -1
  34. package/dist/ChoroplethMap.d.ts +2 -0
  35. package/dist/ChoroplethMap.js +296 -304
  36. package/dist/ChoroplethMap.js.map +1 -1
  37. package/dist/CirclePackingGraph.cjs +1 -1
  38. package/dist/CirclePackingGraph.js +3 -3
  39. package/dist/ColorLegend.cjs +1 -1
  40. package/dist/ColorLegend.js +2 -2
  41. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  42. package/dist/ColorLegendWithMouseOver.js +2 -2
  43. package/dist/CopyTextButton.cjs +4 -4
  44. package/dist/CopyTextButton.cjs.map +1 -1
  45. package/dist/CopyTextButton.js +27 -27
  46. package/dist/CopyTextButton.js.map +1 -1
  47. package/dist/CsvDownloadButton.cjs +1 -1
  48. package/dist/CsvDownloadButton.js +2 -2
  49. package/dist/DataCards.cjs +3 -3
  50. package/dist/DataCards.cjs.map +1 -1
  51. package/dist/DataCards.js +16 -16
  52. package/dist/DataCards.js.map +1 -1
  53. package/dist/DataTable.cjs +1 -1
  54. package/dist/DataTable.js +3 -3
  55. package/dist/DifferenceLineChart.cjs +1 -1
  56. package/dist/DifferenceLineChart.cjs.map +1 -1
  57. package/dist/DifferenceLineChart.js +133 -131
  58. package/dist/DifferenceLineChart.js.map +1 -1
  59. package/dist/DonutChart.cjs +1 -1
  60. package/dist/DonutChart.js +20 -20
  61. package/dist/DotDensityMap.cjs +1 -1
  62. package/dist/DotDensityMap.cjs.map +1 -1
  63. package/dist/DotDensityMap.d.ts +2 -0
  64. package/dist/DotDensityMap.js +282 -289
  65. package/dist/DotDensityMap.js.map +1 -1
  66. package/dist/{DropdownSelect-CtOKZHD0.js → DropdownSelect-6kjXM6oW.js} +2 -2
  67. package/dist/DropdownSelect-6kjXM6oW.js.map +1 -0
  68. package/dist/{DropdownSelect-DBDM64B5.cjs → DropdownSelect-vt8yiB-g.cjs} +5 -5
  69. package/dist/DropdownSelect-vt8yiB-g.cjs.map +1 -0
  70. package/dist/DualAxisLineChart.cjs +1 -1
  71. package/dist/DualAxisLineChart.cjs.map +1 -1
  72. package/dist/DualAxisLineChart.js +141 -121
  73. package/dist/DualAxisLineChart.js.map +1 -1
  74. package/dist/DumbbellChart.cjs +1 -1
  75. package/dist/DumbbellChart.cjs.map +1 -1
  76. package/dist/DumbbellChart.js +307 -307
  77. package/dist/DumbbellChart.js.map +1 -1
  78. package/dist/{EmptyState-DdTp-Mdn.js → EmptyState-36lXXyui.js} +4 -4
  79. package/dist/{EmptyState-DdTp-Mdn.js.map → EmptyState-36lXXyui.js.map} +1 -1
  80. package/dist/{EmptyState-d8_8SxeW.cjs → EmptyState-B8IpKGcL.cjs} +2 -2
  81. package/dist/{EmptyState-d8_8SxeW.cjs.map → EmptyState-B8IpKGcL.cjs.map} +1 -1
  82. package/dist/ExcelDownloadButton.cjs +1 -1
  83. package/dist/ExcelDownloadButton.js +2 -2
  84. package/dist/FootNote.cjs +1 -1
  85. package/dist/FootNote.js +2 -2
  86. package/dist/GeoHubCompareMaps.cjs +1 -1
  87. package/dist/GeoHubCompareMaps.cjs.map +1 -1
  88. package/dist/GeoHubCompareMaps.js +65 -80
  89. package/dist/GeoHubCompareMaps.js.map +1 -1
  90. package/dist/GeoHubMap.cjs +1 -1
  91. package/dist/GeoHubMap.cjs.map +1 -1
  92. package/dist/GeoHubMap.js +95 -125
  93. package/dist/GeoHubMap.js.map +1 -1
  94. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  95. package/dist/GeoHubMapWithLayerSelection.cjs.map +1 -1
  96. package/dist/GeoHubMapWithLayerSelection.js +73 -88
  97. package/dist/GeoHubMapWithLayerSelection.js.map +1 -1
  98. package/dist/GraphDescription.cjs +1 -1
  99. package/dist/GraphDescription.js +2 -2
  100. package/dist/{GraphEl-CqWzvOyr.js → GraphEl-2IiUDxjR.js} +15 -12
  101. package/dist/GraphEl-2IiUDxjR.js.map +1 -0
  102. package/dist/GraphEl-qrlfGPe3.cjs +2 -0
  103. package/dist/GraphEl-qrlfGPe3.cjs.map +1 -0
  104. package/dist/GraphFooter.cjs +1 -1
  105. package/dist/GraphFooter.js +1 -1
  106. package/dist/GraphHeader.cjs +1 -1
  107. package/dist/GraphHeader.js +1 -1
  108. package/dist/GraphTitle.cjs +1 -1
  109. package/dist/GraphTitle.js +2 -2
  110. package/dist/GriddedGraphs.cjs +1 -1
  111. package/dist/GriddedGraphs.d.ts +1 -0
  112. package/dist/GriddedGraphs.js +5 -5
  113. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  114. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  115. package/dist/GriddedGraphsFromConfig.js +2 -2
  116. package/dist/HeatMap.cjs +1 -1
  117. package/dist/HeatMap.js +19 -19
  118. package/dist/Histogram.cjs +1 -1
  119. package/dist/Histogram.js +3 -3
  120. package/dist/ImageDownloadButton.cjs +1 -1
  121. package/dist/ImageDownloadButton.js +2 -2
  122. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  123. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  124. package/dist/LineChartWithConfidenceInterval.js +204 -184
  125. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  126. package/dist/LinearColorLegend.cjs +1 -1
  127. package/dist/LinearColorLegend.js +2 -2
  128. package/dist/{Modal-DVVwpKhP.js → Modal-Cg8daIlV.js} +198 -187
  129. package/dist/Modal-Cg8daIlV.js.map +1 -0
  130. package/dist/Modal-CuuJdWkD.cjs +46 -0
  131. package/dist/Modal-CuuJdWkD.cjs.map +1 -0
  132. package/dist/MultiGraphDashboard.cjs +1 -1
  133. package/dist/MultiGraphDashboard.d.ts +1 -0
  134. package/dist/MultiGraphDashboard.js +3 -3
  135. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  136. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  137. package/dist/MultiGraphDashboardFromConfig.js +2 -2
  138. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  139. package/dist/MultiGraphDashboardWideToLongFormat.js +4 -4
  140. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  141. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +2 -2
  142. package/dist/MultiLineAltChart.cjs +1 -1
  143. package/dist/MultiLineAltChart.cjs.map +1 -1
  144. package/dist/MultiLineAltChart.js +172 -173
  145. package/dist/MultiLineAltChart.js.map +1 -1
  146. package/dist/MultiLineChart.cjs +1 -1
  147. package/dist/MultiLineChart.cjs.map +1 -1
  148. package/dist/MultiLineChart.js +89 -78
  149. package/dist/MultiLineChart.js.map +1 -1
  150. package/dist/ParetoChart.cjs +1 -1
  151. package/dist/ParetoChart.cjs.map +1 -1
  152. package/dist/ParetoChart.js +186 -181
  153. package/dist/ParetoChart.js.map +1 -1
  154. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  155. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  156. package/dist/PerformanceIntensiveMultiGraphDashboard.js +3 -3
  157. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  158. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  159. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +2 -2
  160. package/dist/PerformanceIntensiveScrollStory.cjs +1 -1
  161. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  162. package/dist/PerformanceIntensiveScrollStory.js +3 -3
  163. package/dist/RadarChart.cjs +1 -1
  164. package/dist/RadarChart.cjs.map +1 -1
  165. package/dist/RadarChart.js +256 -244
  166. package/dist/RadarChart.js.map +1 -1
  167. package/dist/{ReferenceLine-CfAW3vKJ.js → ReferenceLine-CPMaAX0r.js} +3 -3
  168. package/dist/{ReferenceLine-CfAW3vKJ.js.map → ReferenceLine-CPMaAX0r.js.map} +1 -1
  169. package/dist/{ReferenceLine-CFVBBN__.cjs → ReferenceLine-D04j-zeV.cjs} +2 -2
  170. package/dist/{ReferenceLine-CFVBBN__.cjs.map → ReferenceLine-D04j-zeV.cjs.map} +1 -1
  171. package/dist/{RegressionLine-mH7UKOPi.js → RegressionLine-CW7iViH2.js} +13 -12
  172. package/dist/RegressionLine-CW7iViH2.js.map +1 -0
  173. package/dist/RegressionLine-D-49RaHa.cjs +2 -0
  174. package/dist/RegressionLine-D-49RaHa.cjs.map +1 -0
  175. package/dist/SVGDownloadButton.cjs +1 -1
  176. package/dist/SVGDownloadButton.js +2 -2
  177. package/dist/SankeyChart.cjs +1 -1
  178. package/dist/SankeyChart.js +27 -27
  179. package/dist/ScatterPlot.cjs +1 -1
  180. package/dist/ScatterPlot.cjs.map +1 -1
  181. package/dist/ScatterPlot.js +145 -144
  182. package/dist/ScatterPlot.js.map +1 -1
  183. package/dist/ScrollStory.cjs +1 -1
  184. package/dist/ScrollStory.d.ts +1 -0
  185. package/dist/ScrollStory.js +3 -3
  186. package/dist/SimpleLineChart.cjs +1 -1
  187. package/dist/SimpleLineChart.cjs.map +1 -1
  188. package/dist/SimpleLineChart.js +53 -48
  189. package/dist/SimpleLineChart.js.map +1 -1
  190. package/dist/SingleGraphDashboard.cjs +1 -1
  191. package/dist/SingleGraphDashboard.d.ts +1 -0
  192. package/dist/SingleGraphDashboard.js +6 -6
  193. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  194. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  195. package/dist/SingleGraphDashboardFromConfig.js +2 -2
  196. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  197. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  198. package/dist/SingleGraphDashboardGeoHubMaps.js +2 -2
  199. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  200. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  201. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +2 -2
  202. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  203. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  204. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  205. package/dist/SingleGraphDashboardThreeDGraphs.js +14 -13
  206. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  207. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  208. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  209. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +2 -2
  210. package/dist/SlopeChart.cjs +1 -1
  211. package/dist/SlopeChart.cjs.map +1 -1
  212. package/dist/SlopeChart.js +137 -133
  213. package/dist/SlopeChart.js.map +1 -1
  214. package/dist/Source.cjs +1 -1
  215. package/dist/Source.js +2 -2
  216. package/dist/SparkLine.cjs +1 -1
  217. package/dist/SparkLine.js +2 -2
  218. package/dist/{Spinner-C85UF28E.js → Spinner-Bpz70q_g.js} +2 -2
  219. package/dist/{Spinner-C85UF28E.js.map → Spinner-Bpz70q_g.js.map} +1 -1
  220. package/dist/{Spinner-DA6Z5E4n.cjs → Spinner-C6wLp85s.cjs} +2 -2
  221. package/dist/{Spinner-DA6Z5E4n.cjs.map → Spinner-C6wLp85s.cjs.map} +1 -1
  222. package/dist/StatCardFromData.cjs +1 -1
  223. package/dist/StatCardFromData.js +2 -2
  224. package/dist/StripChart.cjs +1 -1
  225. package/dist/StripChart.cjs.map +1 -1
  226. package/dist/StripChart.js +307 -295
  227. package/dist/StripChart.js.map +1 -1
  228. package/dist/ThreeDGlobe.cjs +1 -1
  229. package/dist/ThreeDGlobe.cjs.map +1 -1
  230. package/dist/ThreeDGlobe.d.ts +2 -0
  231. package/dist/ThreeDGlobe.js +220 -228
  232. package/dist/ThreeDGlobe.js.map +1 -1
  233. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  234. package/dist/ThresholdColorLegendWithMouseOver.js +2 -2
  235. package/dist/{Tooltip-CVCGWyzw.js → Tooltip-6LIdPQGC.js} +2 -2
  236. package/dist/{Tooltip-CVCGWyzw.js.map → Tooltip-6LIdPQGC.js.map} +1 -1
  237. package/dist/{Tooltip-De16GWhY.cjs → Tooltip-Cpv0QohJ.cjs} +2 -2
  238. package/dist/{Tooltip-De16GWhY.cjs.map → Tooltip-Cpv0QohJ.cjs.map} +1 -1
  239. package/dist/TreeMapGraph.cjs +1 -1
  240. package/dist/TreeMapGraph.js +24 -24
  241. package/dist/Types.d.ts +1 -0
  242. package/dist/{Typography-k-kOjICQ.cjs → Typography-BDULiwlF.cjs} +2 -2
  243. package/dist/{Typography-k-kOjICQ.cjs.map → Typography-BDULiwlF.cjs.map} +1 -1
  244. package/dist/{Typography-Ctgfl1J5.js → Typography-LmZ9LEpe.js} +2 -2
  245. package/dist/{Typography-Ctgfl1J5.js.map → Typography-LmZ9LEpe.js.map} +1 -1
  246. package/dist/UnitChart.cjs +1 -1
  247. package/dist/UnitChart.cjs.map +1 -1
  248. package/dist/UnitChart.js +25 -26
  249. package/dist/UnitChart.js.map +1 -1
  250. package/dist/{XAxesLabels-Drf7M3YK.cjs → XAxesLabels-CLZnBgSr.cjs} +2 -2
  251. package/dist/{XAxesLabels-Drf7M3YK.cjs.map → XAxesLabels-CLZnBgSr.cjs.map} +1 -1
  252. package/dist/{XAxesLabels-loO78vUO.js → XAxesLabels-SOSmso5J.js} +3 -3
  253. package/dist/{XAxesLabels-loO78vUO.js.map → XAxesLabels-SOSmso5J.js.map} +1 -1
  254. package/dist/{XTicksAndGridLines-Bn9u5gOM.js → XTicksAndGridLines-DuydSnZ_.js} +2 -2
  255. package/dist/{XTicksAndGridLines-Bn9u5gOM.js.map → XTicksAndGridLines-DuydSnZ_.js.map} +1 -1
  256. package/dist/{XTicksAndGridLines-CCzXIV8d.cjs → XTicksAndGridLines-RKy7BVCO.cjs} +2 -2
  257. package/dist/{XTicksAndGridLines-CCzXIV8d.cjs.map → XTicksAndGridLines-RKy7BVCO.cjs.map} +1 -1
  258. package/dist/{YAxesLabels-DECkMgq8.js → YAxesLabels-DlDyLvhi.js} +3 -3
  259. package/dist/{YAxesLabels-DECkMgq8.js.map → YAxesLabels-DlDyLvhi.js.map} +1 -1
  260. package/dist/{YAxesLabels-yRFFdx1s.cjs → YAxesLabels-Dqd259-t.cjs} +2 -2
  261. package/dist/{YAxesLabels-yRFFdx1s.cjs.map → YAxesLabels-Dqd259-t.cjs.map} +1 -1
  262. package/dist/{YTicksAndGridLines-B6ah7CRf.js → YTicksAndGridLines-7t4MKtGw.js} +2 -2
  263. package/dist/{YTicksAndGridLines-B6ah7CRf.js.map → YTicksAndGridLines-7t4MKtGw.js.map} +1 -1
  264. package/dist/{YTicksAndGridLines-DBDuz6vb.cjs → YTicksAndGridLines-qGpRo_t1.cjs} +2 -2
  265. package/dist/{YTicksAndGridLines-DBDuz6vb.cjs.map → YTicksAndGridLines-qGpRo_t1.cjs.map} +1 -1
  266. package/dist/checkIfMultiple-Dko_cBvE.cjs +12 -0
  267. package/dist/checkIfMultiple-Dko_cBvE.cjs.map +1 -0
  268. package/dist/{checkIfMultiple-ChTJk2Tk.js → checkIfMultiple-u2SmbiCf.js} +11 -11
  269. package/dist/checkIfMultiple-u2SmbiCf.js.map +1 -0
  270. package/dist/{customArea-CK768gCn.cjs → customArea-1G1S78s_.cjs} +2 -2
  271. package/dist/{customArea-CK768gCn.cjs.map → customArea-1G1S78s_.cjs.map} +1 -1
  272. package/dist/{customArea-B-dWU0zZ.js → customArea-x4L4xwLl.js} +3 -3
  273. package/dist/{customArea-B-dWU0zZ.js.map → customArea-x4L4xwLl.js.map} +1 -1
  274. package/dist/getCentroidCoordinates-Dfk6IqEG.js.map +1 -1
  275. package/dist/getCentroidCoordinates-DxTBqzp2.cjs.map +1 -1
  276. package/dist/getSliderMarks-CUxPy36E.cjs +6 -0
  277. package/dist/getSliderMarks-CUxPy36E.cjs.map +1 -0
  278. package/dist/{getSliderMarks-9cNoRkDx.js → getSliderMarks-_pYOWEtO.js} +3 -3
  279. package/dist/getSliderMarks-_pYOWEtO.js.map +1 -0
  280. package/dist/{index-BYzIB5V6.cjs → index-BHe3wsWF.cjs} +2 -2
  281. package/dist/{index-BYzIB5V6.cjs.map → index-BHe3wsWF.cjs.map} +1 -1
  282. package/dist/{index-DKCxu1Gh.js → index-Bw_eHBVN.js} +3 -3
  283. package/dist/{index-DKCxu1Gh.js.map → index-Bw_eHBVN.js.map} +1 -1
  284. package/dist/{index-BW_-wD2k.cjs → index-C0bpbS4F.cjs} +2 -2
  285. package/dist/{index-BW_-wD2k.cjs.map → index-C0bpbS4F.cjs.map} +1 -1
  286. package/dist/{index-37q0ULNQ.js → index-CE9pmfxt.js} +17 -17
  287. package/dist/{index-37q0ULNQ.js.map → index-CE9pmfxt.js.map} +1 -1
  288. package/dist/{index-CVlCtJbC.cjs → index-CEJwW3lL.cjs} +2 -2
  289. package/dist/{index-CVlCtJbC.cjs.map → index-CEJwW3lL.cjs.map} +1 -1
  290. package/dist/{index-CHPV5EwG-BPSP-7Jg.js → index-CHPV5EwG-DBWUSD9b.js} +539 -543
  291. package/dist/index-CHPV5EwG-DBWUSD9b.js.map +1 -0
  292. package/dist/index-CHPV5EwG-DjM48pIC.cjs +44 -0
  293. package/dist/index-CHPV5EwG-DjM48pIC.cjs.map +1 -0
  294. package/dist/{index-BW8iNx7E.cjs → index-Cm8NIdOO.cjs} +2 -2
  295. package/dist/{index-BW8iNx7E.cjs.map → index-Cm8NIdOO.cjs.map} +1 -1
  296. package/dist/{index-tvAyXPPW-DBlMKnNB.js → index-Cw8sCyo_-BuI_jX5Z.js} +3 -3
  297. package/dist/{index-tvAyXPPW-DBlMKnNB.js.map → index-Cw8sCyo_-BuI_jX5Z.js.map} +1 -1
  298. package/dist/index-Cw8sCyo_-gxT8ADyn.cjs +2 -0
  299. package/dist/index-Cw8sCyo_-gxT8ADyn.cjs.map +1 -0
  300. package/dist/{index-CNvov0eg.js → index-Cwgh7i7X.js} +3 -3
  301. package/dist/{index-CNvov0eg.js.map → index-Cwgh7i7X.js.map} +1 -1
  302. package/dist/{index-DG3YrCr5-D3FrrXj8.js → index-Dzc_aaI9-BKklH89r.js} +2 -2
  303. package/dist/{index-DG3YrCr5-D3FrrXj8.js.map → index-Dzc_aaI9-BKklH89r.js.map} +1 -1
  304. package/dist/{index-DG3YrCr5-v7rayV3N.cjs → index-Dzc_aaI9-RIk2GRHD.cjs} +2 -2
  305. package/dist/{index-DG3YrCr5-v7rayV3N.cjs.map → index-Dzc_aaI9-RIk2GRHD.cjs.map} +1 -1
  306. package/dist/{index-BmCqpO1B.js → index-zZjQEHlm.js} +2 -2
  307. package/dist/{index-BmCqpO1B.js.map → index-zZjQEHlm.js.map} +1 -1
  308. package/dist/index.cjs +1 -1
  309. package/dist/index.d.ts +9 -0
  310. package/dist/index.js +1 -1
  311. package/dist/{proxy-CkpFesk1.js → proxy-BYIC9BuT.js} +2 -2
  312. package/dist/{proxy-CkpFesk1.js.map → proxy-BYIC9BuT.js.map} +1 -1
  313. package/dist/{proxy-BHRoeZgd.cjs → proxy-CKadx4lC.cjs} +2 -2
  314. package/dist/{proxy-BHRoeZgd.cjs.map → proxy-CKadx4lC.cjs.map} +1 -1
  315. package/dist/style.css +1 -1
  316. package/dist/{use-in-view-sQJZ_xDO.cjs → use-in-view-CEwlc_dd.cjs} +2 -2
  317. package/dist/{use-in-view-sQJZ_xDO.cjs.map → use-in-view-CEwlc_dd.cjs.map} +1 -1
  318. package/dist/{use-in-view-yS6jzJAp.js → use-in-view-DR-UTB96.js} +2 -2
  319. package/dist/{use-in-view-yS6jzJAp.js.map → use-in-view-DR-UTB96.js.map} +1 -1
  320. package/package.json +4 -4
  321. package/dist/DropdownSelect-CtOKZHD0.js.map +0 -1
  322. package/dist/DropdownSelect-DBDM64B5.cjs.map +0 -1
  323. package/dist/GraphEl-C6yjl1VM.cjs +0 -2
  324. package/dist/GraphEl-C6yjl1VM.cjs.map +0 -1
  325. package/dist/GraphEl-CqWzvOyr.js.map +0 -1
  326. package/dist/Modal-DVVwpKhP.js.map +0 -1
  327. package/dist/Modal-tXZlLE5s.cjs +0 -46
  328. package/dist/Modal-tXZlLE5s.cjs.map +0 -1
  329. package/dist/RegressionLine-mH7UKOPi.js.map +0 -1
  330. package/dist/RegressionLine-xKdiJ8sw.cjs +0 -2
  331. package/dist/RegressionLine-xKdiJ8sw.cjs.map +0 -1
  332. package/dist/checkIfMultiple-BXbHUCWM.cjs +0 -12
  333. package/dist/checkIfMultiple-BXbHUCWM.cjs.map +0 -1
  334. package/dist/checkIfMultiple-ChTJk2Tk.js.map +0 -1
  335. package/dist/getSliderMarks-9cNoRkDx.js.map +0 -1
  336. package/dist/getSliderMarks-CRIbTGYV.cjs +0 -6
  337. package/dist/getSliderMarks-CRIbTGYV.cjs.map +0 -1
  338. package/dist/index-CHPV5EwG-BPSP-7Jg.js.map +0 -1
  339. package/dist/index-CHPV5EwG-DDoeWRVt.cjs +0 -44
  340. package/dist/index-CHPV5EwG-DDoeWRVt.cjs.map +0 -1
  341. package/dist/index-tvAyXPPW-DPOG-C2i.cjs +0 -2
  342. package/dist/index-tvAyXPPW-DPOG-C2i.cjs.map +0 -1
@@ -1,87 +1,90 @@
1
- import { j as t, m as Pe } from "./index-CHPV5EwG-BPSP-7Jg.js";
2
- import { useState as v, useRef as ie, useEffect as ve } from "react";
3
- import { g as Ie, x as Le } from "./getSliderMarks-9cNoRkDx.js";
4
- import { y as ze } from "./Spinner-C85UF28E.js";
5
- import { p as We, f as Te } from "./parse-DlCRUFh_.js";
1
+ import { j as t, m as Le } from "./index-CHPV5EwG-DBWUSD9b.js";
2
+ import { useState as v, useRef as ie, useEffect as be } from "react";
3
+ import { g as Ie, x as ze } from "./getSliderMarks-_pYOWEtO.js";
4
+ import { y as We } from "./Spinner-Bpz70q_g.js";
5
+ import { p as Te, f as Be } from "./parse-DlCRUFh_.js";
6
6
  import { i as Ae } from "./index-Bwrro8-q.js";
7
- import { z as Be, t as Ve, g as _e, a as Fe, b as He, c as Xe, d as Re } from "./zoom-QipiAl5W.js";
7
+ import { z as Ve, t as _e, g as Fe, a as He, b as Re, c as Xe, d as Ge } from "./zoom-QipiAl5W.js";
8
8
  import { t as Ue } from "./index-9tDEUqOZ.js";
9
- import { X as Ye } from "./Modal-DVVwpKhP.js";
10
- import { u as Ne } from "./Typography-Ctgfl1J5.js";
11
- import { n as De } from "./numberFormattingFunction-14YCbkN2.js";
12
- import { T as qe } from "./Tooltip-CVCGWyzw.js";
13
- import { s as Ge } from "./string2HTML-oFCROsus.js";
14
- import { c as Me } from "./checkIfNullOrUndefined-DmfiKkNw.js";
15
- import { X as Je, P as Ke, f as Ze } from "./index-BmCqpO1B.js";
16
- import { s as $e } from "./select-DKy99ogv.js";
17
- import { t as Se } from "./threshold-DFfqcDMa.js";
18
- import { u as Qe } from "./use-in-view-yS6jzJAp.js";
19
- import { m as oe } from "./proxy-CkpFesk1.js";
20
- import { A as et } from "./index-CNvov0eg.js";
21
- import { GraphHeader as tt } from "./GraphHeader.js";
22
- import { GraphFooter as rt } from "./GraphFooter.js";
23
- import { Colors as Ce } from "./Colors.js";
24
- import { f as at } from "./fetchAndParseData-sapWbnYk.js";
25
- import { g as Ee } from "./getJenks-BbngDoBQ.js";
26
- import { u as ot } from "./uniqBy-BHy4I8PK.js";
27
- import { s as it } from "./sort-DfK1b0F5.js";
28
- import { c as nt } from "./init-BhZylTFx.js";
29
- function st(be) {
9
+ import { G as Ye } from "./Modal-Cg8daIlV.js";
10
+ import { u as De } from "./Typography-LmZ9LEpe.js";
11
+ import { n as Me } from "./numberFormattingFunction-14YCbkN2.js";
12
+ import { T as qe } from "./Tooltip-6LIdPQGC.js";
13
+ import { s as Je } from "./string2HTML-oFCROsus.js";
14
+ import { c as Se } from "./checkIfNullOrUndefined-DmfiKkNw.js";
15
+ import { X as Ke, P as Ze, f as Qe } from "./index-zZjQEHlm.js";
16
+ import { s as Ce } from "./select-DKy99ogv.js";
17
+ import { t as Ee } from "./threshold-DFfqcDMa.js";
18
+ import { u as et } from "./use-in-view-DR-UTB96.js";
19
+ import { m as oe } from "./proxy-BYIC9BuT.js";
20
+ import { A as tt } from "./index-Cwgh7i7X.js";
21
+ import { GraphHeader as rt } from "./GraphHeader.js";
22
+ import { GraphFooter as at } from "./GraphFooter.js";
23
+ import { Colors as Ne } from "./Colors.js";
24
+ import { f as ot } from "./fetchAndParseData-sapWbnYk.js";
25
+ import { g as Oe } from "./getJenks-BbngDoBQ.js";
26
+ import { u as it } from "./uniqBy-BHy4I8PK.js";
27
+ import { s as nt } from "./sort-DfK1b0F5.js";
28
+ import { c as st } from "./init-BhZylTFx.js";
29
+ function lt(ke) {
30
30
  const {
31
31
  data: b,
32
32
  xDomain: C,
33
- mapData: f,
34
- xColorLegendTitle: E,
35
- yDomain: W,
36
- yColorLegendTitle: T,
33
+ mapData: u,
34
+ xColorLegendTitle: P,
35
+ yDomain: B,
36
+ yColorLegendTitle: A,
37
37
  width: d,
38
38
  height: s,
39
- colors: q,
40
- scale: G,
39
+ colors: Y,
40
+ scale: q,
41
41
  centerPoint: N,
42
- mapBorderWidth: A,
43
- mapNoDataColor: O,
42
+ mapBorderWidth: V,
43
+ mapNoDataColor: L,
44
44
  mapBorderColor: ne,
45
45
  tooltip: se,
46
46
  onSeriesMouseOver: le,
47
47
  zoomScaleExtend: ce,
48
- zoomTranslateExtend: ke,
49
- highlightedIds: B,
48
+ zoomTranslateExtend: we,
49
+ highlightedIds: _,
50
50
  onSeriesMouseClick: k,
51
- mapProperty: V,
51
+ mapProperty: F,
52
52
  resetSelectionOnDoubleClick: w,
53
53
  detailsOnClick: M,
54
54
  showColorScale: me,
55
- styles: we,
56
- classNames: je,
57
- mapProjection: _,
58
- zoomInteraction: P,
55
+ styles: je,
56
+ classNames: $e,
57
+ mapProjection: H,
58
+ zoomInteraction: I,
59
59
  animate: j,
60
- dimmedOpacity: F,
61
- customLayers: de
62
- } = be, [pe, J] = v(!(d < 680)), [H, X] = v(void 0), [g, K] = v(void 0), [R, Z] = v(void 0), [he, $] = v(void 0), [D, Q] = v(void 0), I = ie(null), U = Qe(I, {
60
+ dimmedOpacity: R,
61
+ customLayers: de,
62
+ collapseColorScaleByDefault: J
63
+ } = ke, [pe, he] = v(
64
+ J === void 0 ? !(d < 680) : !J
65
+ ), [S, x] = v(void 0), [z, K] = v(void 0), [X, Z] = v(void 0), [D, $] = v(void 0), [ge, Q] = v(void 0), E = ie(null), ee = et(E, {
63
66
  once: j.once,
64
67
  amount: j.amount
65
- }), ge = ie(null), ee = ie(null);
66
- ve(() => {
67
- const e = $e(ge.current), n = $e(I.current), r = (a) => {
68
- if (P === "noZoom") return !1;
69
- if (P === "button") return !a.type.includes("wheel");
68
+ }), ye = ie(null), h = ie(null);
69
+ be(() => {
70
+ const e = Ce(ye.current), n = Ce(E.current), r = (a) => {
71
+ if (I === "noZoom") return !1;
72
+ if (I === "button") return !a.type.includes("wheel");
70
73
  const i = a.type === "wheel", m = a.type.startsWith("touch"), l = a.type === "mousedown" || a.type === "mousemove";
71
- return m ? !0 : i ? P === "scroll" ? !0 : a.ctrlKey : l && !a.button && !a.ctrlKey;
72
- }, o = Be().scaleExtent(ce).translateExtent(
73
- ke || [
74
+ return m ? !0 : i ? I === "scroll" ? !0 : a.ctrlKey : l && !a.button && !a.ctrlKey;
75
+ }, o = Ve().scaleExtent(ce).translateExtent(
76
+ we || [
74
77
  [-20, -20],
75
78
  [d + 20, s + 20]
76
79
  ]
77
80
  ).filter(r).on("zoom", ({ transform: a }) => {
78
81
  e.attr("transform", a);
79
82
  });
80
- n.call(o), ee.current = o;
81
- }, [s, d, P]);
82
- const p = Ve(f), y = Ue(f), ye = p[2] - p[0], te = p[3] - p[1], ue = d * 190 / 960 * 360 / ye, L = s * 190 / 678 * 180 / te, z = G * Math.min(ue, L), c = _ === "mercator" ? _e().rotate([0, 0]).center(N || y.geometry.coordinates).translate([d / 2, s / 2]).scale(z) : _ === "equalEarth" ? Fe().rotate([0, 0]).center(N || y.geometry.coordinates).translate([d / 2, s / 2]).scale(z) : _ === "naturalEarth" ? He().rotate([0, 0]).center(N || y.geometry.coordinates).translate([d / 2, s / 2]).scale(z) : _ === "orthographic" ? Xe().rotate([0, 0]).center(N || y.geometry.coordinates).translate([d / 2, s / 2]).scale(z) : Re().rotate([0, 0]).center(N || y.geometry.coordinates).translate([d / 2, s / 2]).scale(z), re = Array.from({ length: C.length }, (e, n) => n), ae = Array.from({ length: W.length }, (e, n) => n), Y = Se().domain(C).range(re), fe = Se().domain(W).range(ae), S = (e) => {
83
- if (!I.current || !ee.current) return;
84
- $e(I.current).call(ee.current.scaleBy, e === "in" ? 1.2 : 1 / 1.2);
83
+ n.call(o), h.current = o;
84
+ }, [s, d, I]);
85
+ const G = _e(u), g = Ue(u), ue = G[2] - G[0], te = G[3] - G[1], fe = d * 190 / 960 * 360 / ue, W = s * 190 / 678 * 180 / te, T = q * Math.min(fe, W), c = H === "mercator" ? Fe().rotate([0, 0]).center(N || g.geometry.coordinates).translate([d / 2, s / 2]).scale(T) : H === "equalEarth" ? He().rotate([0, 0]).center(N || g.geometry.coordinates).translate([d / 2, s / 2]).scale(T) : H === "naturalEarth" ? Re().rotate([0, 0]).center(N || g.geometry.coordinates).translate([d / 2, s / 2]).scale(T) : H === "orthographic" ? Xe().rotate([0, 0]).center(N || g.geometry.coordinates).translate([d / 2, s / 2]).scale(T) : Ge().rotate([0, 0]).center(N || g.geometry.coordinates).translate([d / 2, s / 2]).scale(T), re = Array.from({ length: C.length }, (e, n) => n), ae = Array.from({ length: B.length }, (e, n) => n), U = Ee().domain(C).range(re), xe = Ee().domain(B).range(ae), O = (e) => {
86
+ if (!E.current || !h.current) return;
87
+ Ce(E.current).call(h.current.scaleBy, e === "in" ? 1.2 : 1 / 1.2);
85
88
  };
86
89
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
87
90
  /* @__PURE__ */ t.jsxs("div", { className: "relative", children: [
@@ -91,24 +94,24 @@ function st(be) {
91
94
  viewBox: `0 0 ${d} ${s}`,
92
95
  width: `${d}px`,
93
96
  height: `${s}px`,
94
- ref: I,
97
+ ref: E,
95
98
  direction: "ltr",
96
- children: /* @__PURE__ */ t.jsxs("g", { ref: ge, children: [
99
+ children: /* @__PURE__ */ t.jsxs("g", { ref: ye, children: [
97
100
  de.filter((e) => e.position === "before").map((e) => e.layer),
98
101
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
99
- f.features.map((e, n) => b.findIndex((o) => o.id === e.properties[V]) !== -1 ? null : /* @__PURE__ */ t.jsx(
102
+ u.features.map((e, n) => b.findIndex((o) => o.id === e.properties[F]) !== -1 ? null : /* @__PURE__ */ t.jsx(
100
103
  oe.g,
101
104
  {
102
- opacity: H ? F : B.length !== 0 ? B.indexOf(e.properties[V]) !== -1 ? 1 : F : 1,
105
+ opacity: S ? R : _.length !== 0 ? _.indexOf(e.properties[F]) !== -1 ? 1 : R : 1,
103
106
  children: e.geometry.type === "MultiPolygon" ? (
104
107
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
105
108
  e.geometry.coordinates.map((o, a) => {
106
109
  let i = "";
107
110
  return o.forEach((m) => {
108
111
  let l = " M";
109
- m.forEach((h, u) => {
110
- const x = c([h[0], h[1]]);
111
- u !== m.length - 1 ? l = `${l}${x[0]} ${x[1]}L` : l = `${l}${x[0]} ${x[1]}`;
112
+ m.forEach((p, y) => {
113
+ const f = c([p[0], p[1]]);
114
+ y !== m.length - 1 ? l = `${l}${f[0]} ${f[1]}L` : l = `${l}${f[0]} ${f[1]}`;
112
115
  }), i += l;
113
116
  }), /* @__PURE__ */ t.jsx(
114
117
  "path",
@@ -116,8 +119,8 @@ function st(be) {
116
119
  d: i,
117
120
  style: {
118
121
  stroke: ne,
119
- strokeWidth: A,
120
- fill: O
122
+ strokeWidth: V,
123
+ fill: L
121
124
  }
122
125
  },
123
126
  a
@@ -128,16 +131,16 @@ function st(be) {
128
131
  e.geometry.coordinates.map((o, a) => {
129
132
  let i = "M";
130
133
  return o.forEach((m, l) => {
131
- const h = c([m[0], m[1]]);
132
- l !== o.length - 1 ? i = `${i}${h[0]} ${h[1]}L` : i = `${i}${h[0]} ${h[1]}`;
134
+ const p = c([m[0], m[1]]);
135
+ l !== o.length - 1 ? i = `${i}${p[0]} ${p[1]}L` : i = `${i}${p[0]} ${p[1]}`;
133
136
  }), /* @__PURE__ */ t.jsx(
134
137
  "path",
135
138
  {
136
139
  d: i,
137
140
  style: {
138
141
  stroke: ne,
139
- strokeWidth: A,
140
- fill: O
142
+ strokeWidth: V,
143
+ fill: L
141
144
  }
142
145
  },
143
146
  a
@@ -147,29 +150,29 @@ function st(be) {
147
150
  },
148
151
  n
149
152
  )),
150
- /* @__PURE__ */ t.jsx(et, { children: b.map((e) => {
151
- const n = f.features.findIndex(
153
+ /* @__PURE__ */ t.jsx(tt, { children: b.map((e) => {
154
+ const n = u.features.findIndex(
152
155
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
153
- (i) => e.id === i.properties[V]
154
- ), r = Me(e.x) ? void 0 : Y(e.x), o = Me(e.y) ? void 0 : fe(e.y), a = r !== void 0 && o !== void 0 ? q[o][r] : O;
156
+ (i) => e.id === i.properties[F]
157
+ ), r = Se(e.x) ? void 0 : U(e.x), o = Se(e.y) ? void 0 : xe(e.y), a = r !== void 0 && o !== void 0 ? Y[o][r] : L;
155
158
  return /* @__PURE__ */ t.jsx(
156
159
  oe.g,
157
160
  {
158
161
  variants: {
159
162
  initial: { opacity: 0 },
160
163
  whileInView: {
161
- opacity: H ? H === a ? 1 : F : B.length !== 0 ? B.indexOf(e.id) !== -1 ? 1 : F : 1,
164
+ opacity: S ? S === a ? 1 : R : _.length !== 0 ? _.indexOf(e.id) !== -1 ? 1 : R : 1,
162
165
  transition: { duration: j.duration }
163
166
  }
164
167
  },
165
168
  initial: "initial",
166
- animate: U ? "whileInView" : "initial",
169
+ animate: ee ? "whileInView" : "initial",
167
170
  exit: { opacity: 0, transition: { duration: j.duration } },
168
171
  onMouseEnter: (i) => {
169
172
  Z(e), Q(i.clientY), $(i.clientX), le?.(e);
170
173
  },
171
174
  onClick: () => {
172
- (k || M) && (Ae(g, e) && w ? (K(void 0), k?.(void 0)) : (K(e), k?.(e)));
175
+ (k || M) && (Ae(z, e) && w ? (K(void 0), k?.(void 0)) : (K(e), k?.(e)));
173
176
  },
174
177
  onMouseMove: (i) => {
175
178
  Z(e), Q(i.clientY), $(i.clientX);
@@ -177,16 +180,16 @@ function st(be) {
177
180
  onMouseLeave: () => {
178
181
  Z(void 0), $(void 0), Q(void 0), le?.(void 0);
179
182
  },
180
- children: n === -1 ? null : f.features[n].geometry.type === "MultiPolygon" ? f.features[n].geometry.coordinates.map(
183
+ children: n === -1 ? null : u.features[n].geometry.type === "MultiPolygon" ? u.features[n].geometry.coordinates.map(
181
184
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
182
185
  (i, m) => {
183
186
  let l = "";
184
- return i.forEach((h) => {
185
- let u = " M";
186
- h.forEach((x, Oe) => {
187
- const xe = c([x[0], x[1]]);
188
- Oe !== h.length - 1 ? u = `${u}${xe[0]} ${xe[1]}L` : u = `${u}${xe[0]} ${xe[1]}`;
189
- }), l += u;
187
+ return i.forEach((p) => {
188
+ let y = " M";
189
+ p.forEach((f, Pe) => {
190
+ const ve = c([f[0], f[1]]);
191
+ Pe !== p.length - 1 ? y = `${y}${ve[0]} ${ve[1]}L` : y = `${y}${ve[0]} ${ve[1]}`;
192
+ }), l += y;
190
193
  }), /* @__PURE__ */ t.jsx(
191
194
  oe.path,
192
195
  {
@@ -199,24 +202,24 @@ function st(be) {
199
202
  }
200
203
  },
201
204
  initial: "initial",
202
- animate: U ? "whileInView" : "initial",
205
+ animate: ee ? "whileInView" : "initial",
203
206
  exit: { opacity: 0, transition: { duration: j.duration } },
204
207
  d: l,
205
- className: `${a === O ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`,
208
+ className: `${a === L ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`,
206
209
  style: {
207
- strokeWidth: A
210
+ strokeWidth: V
208
211
  }
209
212
  },
210
213
  `${e.id}-${m}`
211
214
  );
212
215
  }
213
- ) : f.features[n].geometry.coordinates.map(
216
+ ) : u.features[n].geometry.coordinates.map(
214
217
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
215
218
  (i, m) => {
216
219
  let l = "M";
217
- return i.forEach((h, u) => {
218
- const x = c([h[0], h[1]]);
219
- u !== i.length - 1 ? l = `${l}${x[0]} ${x[1]}L` : l = `${l}${x[0]} ${x[1]}`;
220
+ return i.forEach((p, y) => {
221
+ const f = c([p[0], p[1]]);
222
+ y !== i.length - 1 ? l = `${l}${f[0]} ${f[1]}L` : l = `${l}${f[0]} ${f[1]}`;
220
223
  }), /* @__PURE__ */ t.jsx(
221
224
  oe.path,
222
225
  {
@@ -230,11 +233,11 @@ function st(be) {
230
233
  }
231
234
  },
232
235
  initial: "initial",
233
- animate: U ? "whileInView" : "initial",
236
+ animate: ee ? "whileInView" : "initial",
234
237
  exit: { opacity: 0, transition: { duration: j.duration } },
235
- className: `${a === O ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`,
238
+ className: `${a === L ? "stroke-primary-gray-400 dark:stroke-primary-gray-500" : "stroke-primary-white dark:stroke-primary-gray-650"}`,
236
239
  style: {
237
- strokeWidth: A
240
+ strokeWidth: V
238
241
  }
239
242
  },
240
243
  `${e.id}-${m}`
@@ -245,18 +248,18 @@ function st(be) {
245
248
  e.id
246
249
  );
247
250
  }) }),
248
- R ? f.features.filter(
251
+ X ? u.features.filter(
249
252
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
250
- (e) => e.properties[V] === R.id
253
+ (e) => e.properties[F] === X.id
251
254
  ).map((e, n) => /* @__PURE__ */ t.jsx("g", { children: e.geometry.type === "MultiPolygon" ? (
252
255
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
253
256
  e.geometry.coordinates.map((r, o) => {
254
257
  let a = "";
255
258
  return r.forEach((i) => {
256
259
  let m = " M";
257
- i.forEach((l, h) => {
258
- const u = c([l[0], l[1]]);
259
- h !== i.length - 1 ? m = `${m}${u[0]} ${u[1]}L` : m = `${m}${u[0]} ${u[1]}`;
260
+ i.forEach((l, p) => {
261
+ const y = c([l[0], l[1]]);
262
+ p !== i.length - 1 ? m = `${m}${y[0]} ${y[1]}L` : m = `${m}${y[0]} ${y[1]}`;
260
263
  }), a += m;
261
264
  }), /* @__PURE__ */ t.jsx(
262
265
  "path",
@@ -302,34 +305,22 @@ function st(be) {
302
305
  /* @__PURE__ */ t.jsx(
303
306
  "div",
304
307
  {
305
- style: {
306
- backgroundColor: "rgba(240,240,240, 0.7)",
307
- border: "1px solid var(--gray-400)",
308
- borderRadius: "999px",
309
- width: "24px",
310
- height: "24px",
311
- padding: "3px",
312
- cursor: "pointer",
313
- zIndex: 10,
314
- position: "absolute",
315
- right: "-0.75rem",
316
- top: "-0.75rem"
317
- },
308
+ 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]",
318
309
  onClick: () => {
319
- J(!1);
310
+ he(!1);
320
311
  },
321
- children: /* @__PURE__ */ t.jsx(Je, {})
312
+ children: /* @__PURE__ */ t.jsx(Ke, {})
322
313
  }
323
314
  ),
324
315
  /* @__PURE__ */ t.jsxs(
325
316
  "div",
326
317
  {
327
- className: "p-2",
328
- style: { backgroundColor: "rgba(240,240,240, 0.7)", width: "175px" },
318
+ className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]",
319
+ style: { width: "175px" },
329
320
  children: [
330
321
  /* @__PURE__ */ t.jsxs("div", { className: "flex gap-1 items-center", children: [
331
322
  /* @__PURE__ */ t.jsx("svg", { width: "136px", viewBox: "0 0 136 136", className: "shrink-0", children: /* @__PURE__ */ t.jsxs("g", { children: [
332
- q.map((e, n) => /* @__PURE__ */ t.jsx("g", { transform: `translate(0,${100 - n * 25})`, children: e.map((r, o) => /* @__PURE__ */ t.jsx(
323
+ Y.map((e, n) => /* @__PURE__ */ t.jsx("g", { transform: `translate(0,${100 - n * 25})`, children: e.map((r, o) => /* @__PURE__ */ t.jsx(
333
324
  "rect",
334
325
  {
335
326
  y: 1,
@@ -337,19 +328,19 @@ function st(be) {
337
328
  fill: r,
338
329
  width: 23,
339
330
  height: 23,
340
- strokeWidth: H === r ? 2 : 0.25,
331
+ strokeWidth: S === r ? 2 : 0.25,
341
332
  style: { cursor: "pointer" },
342
333
  onMouseOver: () => {
343
- X(r);
334
+ x(r);
344
335
  },
345
336
  onMouseLeave: () => {
346
- X(void 0);
337
+ x(void 0);
347
338
  }
348
339
  },
349
340
  o
350
341
  )) }, n)),
351
- /* @__PURE__ */ t.jsx("g", { transform: "translate(0,125)", children: C.map((e, n) => /* @__PURE__ */ t.jsx("text", { y: 10, x: (n + 1) * 25, fontSize: 10, textAnchor: "middle", children: typeof e == "string" || e < 1 ? e : De(e, "NA") }, n)) }),
352
- W.map((e, n) => /* @__PURE__ */ t.jsx(
342
+ /* @__PURE__ */ t.jsx("g", { transform: "translate(0,125)", children: C.map((e, n) => /* @__PURE__ */ t.jsx("text", { y: 10, x: (n + 1) * 25, fontSize: 10, textAnchor: "middle", children: typeof e == "string" || e < 1 ? e : Me(e, "NA") }, n)) }),
343
+ B.map((e, n) => /* @__PURE__ */ t.jsx(
353
344
  "g",
354
345
  {
355
346
  transform: `translate(${Math.max(Math.min(C.length + 1, 5), 4) * 25 + 10},${100 - n * 25})`,
@@ -361,7 +352,7 @@ function st(be) {
361
352
  y: 0,
362
353
  fontSize: 10,
363
354
  textAnchor: "middle",
364
- children: typeof e == "string" || e < 1 ? e : De(e, "NA")
355
+ children: typeof e == "string" || e < 1 ? e : Me(e, "NA")
365
356
  }
366
357
  )
367
358
  },
@@ -369,7 +360,7 @@ function st(be) {
369
360
  ))
370
361
  ] }) }),
371
362
  /* @__PURE__ */ t.jsx(
372
- Ne,
363
+ De,
373
364
  {
374
365
  marginBottom: "none",
375
366
  size: "xs",
@@ -383,12 +374,12 @@ function st(be) {
383
374
  height: "8.5rem",
384
375
  transform: "rotate(180deg)"
385
376
  },
386
- children: T
377
+ children: A
387
378
  }
388
379
  )
389
380
  ] }),
390
381
  /* @__PURE__ */ t.jsx(
391
- Ne,
382
+ De,
392
383
  {
393
384
  marginBottom: "none",
394
385
  size: "xs",
@@ -400,7 +391,7 @@ function st(be) {
400
391
  WebkitBoxOrient: "vertical",
401
392
  overflow: "hidden"
402
393
  },
403
- children: E
394
+ children: P
404
395
  }
405
396
  )
406
397
  ]
@@ -412,45 +403,45 @@ function st(be) {
412
403
  type: "button",
413
404
  className: "mb-0 border-0 bg-transparent p-0 self-start",
414
405
  onClick: () => {
415
- J(!0);
406
+ he(!0);
416
407
  },
417
- children: /* @__PURE__ */ t.jsx("div", { className: "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-550 border-primary-gray-400 dark:border-primary-gray-500", children: "Show Legend" })
408
+ 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" })
418
409
  }
419
410
  ) }),
420
- P === "button" && /* @__PURE__ */ t.jsxs("div", { className: "absolute left-4 top-4 flex flex-col", children: [
411
+ I === "button" && /* @__PURE__ */ t.jsxs("div", { className: "absolute left-4 top-4 flex flex-col", children: [
421
412
  /* @__PURE__ */ t.jsx(
422
413
  "button",
423
414
  {
424
- onClick: () => S("in"),
425
- className: "leading-0 px-2 py-3.5 border text-primary-gray-700 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-400 dark:bg-primary-gray-600 dark:text-primary-gray-100",
415
+ onClick: () => O("in"),
416
+ className: "leading-0 px-2 py-3.5 border text-primary-gray-700 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-550 dark:bg-primary-gray-600 dark:text-primary-gray-100",
426
417
  children: "+"
427
418
  }
428
419
  ),
429
420
  /* @__PURE__ */ t.jsx(
430
421
  "button",
431
422
  {
432
- onClick: () => S("out"),
433
- className: "leading-0 px-2 py-3.5 border text-primary-gray-700 border-t-0 border-primary-gray-400 bg-primary-gray-200 dark:border-primary-gray-400 dark:bg-primary-gray-600 dark:text-primary-gray-100",
423
+ onClick: () => O("out"),
424
+ className: "leading-0 px-2 py-3.5 border text-primary-gray-700 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",
434
425
  children: "–"
435
426
  }
436
427
  )
437
428
  ] })
438
429
  ] }),
439
- R && se && he && D ? /* @__PURE__ */ t.jsx(
430
+ X && se && D && ge ? /* @__PURE__ */ t.jsx(
440
431
  qe,
441
432
  {
442
- data: R,
433
+ data: X,
443
434
  body: se,
444
- xPos: he,
445
- yPos: D,
446
- backgroundStyle: we?.tooltip,
447
- className: je?.tooltip
435
+ xPos: D,
436
+ yPos: ge,
437
+ backgroundStyle: je?.tooltip,
438
+ className: $e?.tooltip
448
439
  }
449
440
  ) : null,
450
- M && g !== void 0 ? /* @__PURE__ */ t.jsx(
441
+ M && z !== void 0 ? /* @__PURE__ */ t.jsx(
451
442
  Ye,
452
443
  {
453
- open: g !== void 0,
444
+ open: z !== void 0,
454
445
  onClose: () => {
455
446
  K(void 0);
456
447
  },
@@ -458,153 +449,154 @@ function st(be) {
458
449
  "div",
459
450
  {
460
451
  className: "graph-modal-content m-0",
461
- dangerouslySetInnerHTML: typeof M == "string" ? { __html: Ge(M, g) } : void 0,
462
- children: typeof M == "function" ? M(g) : null
452
+ dangerouslySetInnerHTML: typeof M == "string" ? { __html: Je(M, z) } : void 0,
453
+ children: typeof M == "function" ? M(z) : null
463
454
  }
464
455
  )
465
456
  }
466
457
  ) : null
467
458
  ] });
468
459
  }
469
- function Wt(be) {
460
+ function Tt(ke) {
470
461
  const {
471
462
  data: b,
472
463
  graphTitle: C,
473
- mapData: f = "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json",
474
- colors: E = Ce.light.bivariateColors.colors05x05,
475
- sources: W,
476
- graphDescription: T,
464
+ mapData: u = "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap.json",
465
+ colors: P = Ne.light.bivariateColors.colors05x05,
466
+ sources: B,
467
+ graphDescription: A,
477
468
  height: d,
478
469
  width: s,
479
- footNote: q = "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.",
480
- xDomain: G,
470
+ footNote: Y = "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.",
471
+ xDomain: q,
481
472
  yDomain: N,
482
- xColorLegendTitle: A = "X Color key",
483
- yColorLegendTitle: O = "Y Color key",
473
+ xColorLegendTitle: V = "X Color key",
474
+ yColorLegendTitle: L = "Y Color key",
484
475
  tooltip: ne,
485
476
  scale: se = 0.95,
486
477
  centerPoint: le,
487
478
  padding: ce,
488
- mapBorderWidth: ke = 0.5,
489
- mapNoDataColor: B = Ce.light.graphNoData,
479
+ mapBorderWidth: we = 0.5,
480
+ mapNoDataColor: _ = Ne.light.graphNoData,
490
481
  backgroundColor: k = !1,
491
- mapBorderColor: V = Ce.light.grays["gray-500"],
482
+ mapBorderColor: F = Ne.light.grays["gray-500"],
492
483
  relativeHeight: w,
493
484
  onSeriesMouseOver: M,
494
485
  isWorldMap: me = !0,
495
- zoomScaleExtend: we = [0.8, 6],
496
- zoomTranslateExtend: je,
497
- graphID: _,
498
- showColorScale: P = !0,
486
+ zoomScaleExtend: je = [0.8, 6],
487
+ zoomTranslateExtend: $e,
488
+ graphID: H,
489
+ showColorScale: I = !0,
499
490
  highlightedIds: j = [],
500
- onSeriesMouseClick: F,
491
+ onSeriesMouseClick: R,
501
492
  mapProperty: de = "ISO3",
502
- graphDownload: pe = !1,
503
- dataDownload: J = !1,
504
- showAntarctica: H = !1,
505
- language: X = "en",
506
- minHeight: g = 0,
507
- theme: K = "light",
508
- ariaLabel: R,
509
- resetSelectionOnDoubleClick: Z = !0,
510
- detailsOnClick: he,
511
- styles: $,
512
- classNames: D,
513
- mapProjection: Q,
514
- zoomInteraction: I = "button",
515
- animate: U = !1,
516
- dimmedOpacity: ge = 0.3,
517
- customLayers: ee = [],
518
- timeline: p = { enabled: !1, autoplay: !1, showOnlyActiveDate: !0 }
519
- } = be, [y, ye] = v(0), [te, ue] = v(0), [L, z] = v(p.autoplay), c = it(
520
- ot(b, "date", !0).map(
521
- (r) => We(`${r}`, p.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()
493
+ graphDownload: J = !1,
494
+ dataDownload: pe = !1,
495
+ showAntarctica: he = !1,
496
+ language: S = "en",
497
+ minHeight: x = 0,
498
+ theme: z = "light",
499
+ ariaLabel: K,
500
+ resetSelectionOnDoubleClick: X = !0,
501
+ detailsOnClick: Z,
502
+ styles: D,
503
+ classNames: $,
504
+ mapProjection: ge,
505
+ zoomInteraction: Q = "button",
506
+ animate: E = !1,
507
+ dimmedOpacity: ee = 0.3,
508
+ customLayers: ye = [],
509
+ timeline: h = { enabled: !1, autoplay: !1, showOnlyActiveDate: !0 },
510
+ collapseColorScaleByDefault: G
511
+ } = ke, [g, ue] = v(0), [te, fe] = v(0), [W, T] = v(h.autoplay), c = nt(
512
+ it(b, "date", !0).map(
513
+ (r) => Te(`${r}`, h.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime()
522
514
  ),
523
- (r, o) => nt(r, o)
524
- ), [re, ae] = v(p.autoplay ? 0 : c.length - 1), [Y, fe] = v(void 0), S = ie(null), e = ie(null);
525
- ve(() => {
515
+ (r, o) => st(r, o)
516
+ ), [re, ae] = v(h.autoplay ? 0 : c.length - 1), [U, xe] = v(void 0), O = ie(null), e = ie(null);
517
+ be(() => {
526
518
  const r = new ResizeObserver((o) => {
527
- ye(s || o[0].contentRect.width || 760), ue(d || o[0].target.clientHeight || 480);
519
+ ue(s || o[0].contentRect.width || 760), fe(d || o[0].target.clientHeight || 480);
528
520
  });
529
- return S.current && (ue(S.current.clientHeight || 480), ye(S.current.clientWidth || 760), s || r.observe(S.current)), () => r.disconnect();
530
- }, [s, d]), ve(() => {
531
- typeof f == "string" ? at(f).then((o) => {
532
- fe(o);
533
- }) : fe(f);
534
- }, [f]), ve(() => {
521
+ return O.current && (fe(O.current.clientHeight || 480), ue(O.current.clientWidth || 760), s || r.observe(O.current)), () => r.disconnect();
522
+ }, [s, d]), be(() => {
523
+ typeof u == "string" ? ot(u).then((o) => {
524
+ xe(o);
525
+ }) : xe(u);
526
+ }, [u]), be(() => {
535
527
  const r = setInterval(
536
528
  () => {
537
529
  ae((o) => o < c.length - 1 ? o + 1 : 0);
538
530
  },
539
- (p.speed || 2) * 1e3
531
+ (h.speed || 2) * 1e3
540
532
  );
541
- return L || clearInterval(r), () => clearInterval(r);
542
- }, [c, L, p.speed]);
533
+ return W || clearInterval(r), () => clearInterval(r);
534
+ }, [c, W, h.speed]);
543
535
  const n = Ie(
544
536
  c,
545
537
  re,
546
- p.showOnlyActiveDate,
547
- p.dateFormat || "yyyy"
538
+ h.showOnlyActiveDate,
539
+ h.dateFormat || "yyyy"
548
540
  );
549
- return G && N && (G.length !== E[0].length - 1 || N.length !== E.length - 1) ? (console.error("the xDomain and yDomain array length don't match to the color array length"), null) : /* @__PURE__ */ t.jsx(
541
+ return q && N && (q.length !== P[0].length - 1 || N.length !== P.length - 1) ? (console.error("the xDomain and yDomain array length don't match to the color array length"), null) : /* @__PURE__ */ t.jsx(
550
542
  "div",
551
543
  {
552
- className: `${K || "light"} flex ${s ? "w-fit grow-0" : "w-full grow"}`,
553
- dir: X === "he" || X === "ar" ? "rtl" : void 0,
544
+ className: `${z || "light"} flex ${s ? "w-fit grow-0" : "w-full grow"}`,
545
+ dir: S === "he" || S === "ar" ? "rtl" : void 0,
554
546
  children: /* @__PURE__ */ t.jsx(
555
547
  "div",
556
548
  {
557
- className: Pe(
558
- `${k ? k === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${X || "en"}`,
549
+ className: Le(
550
+ `${k ? k === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${S || "en"}`,
559
551
  s ? "w-fit" : "w-full",
560
- D?.graphContainer
552
+ $?.graphContainer
561
553
  ),
562
554
  style: {
563
- ...$?.graphContainer || {},
555
+ ...D?.graphContainer || {},
564
556
  ...k && k !== !0 ? { backgroundColor: k } : {}
565
557
  },
566
- id: _,
558
+ id: H,
567
559
  ref: e,
568
- "aria-label": R || `${C ? `The graph shows ${C}. ` : ""}This is bi-variate choropleth map where geographic areas are colored in proportion to two variables.${T ? ` ${T}` : ""}`,
560
+ "aria-label": K || `${C ? `The graph shows ${C}. ` : ""}This is bi-variate choropleth map where geographic areas are colored in proportion to two variables.${A ? ` ${A}` : ""}`,
569
561
  children: /* @__PURE__ */ t.jsx(
570
562
  "div",
571
563
  {
572
564
  className: "flex grow",
573
565
  style: { padding: k ? ce || "1rem" : ce || 0 },
574
566
  children: /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
575
- C || T || pe || J ? /* @__PURE__ */ t.jsx(
576
- tt,
567
+ C || A || J || pe ? /* @__PURE__ */ t.jsx(
568
+ rt,
577
569
  {
578
570
  styles: {
579
- title: $?.title,
580
- description: $?.description
581
- },
582
- classNames: {
583
571
  title: D?.title,
584
572
  description: D?.description
585
573
  },
574
+ classNames: {
575
+ title: $?.title,
576
+ description: $?.description
577
+ },
586
578
  graphTitle: C,
587
- graphDescription: T,
579
+ graphDescription: A,
588
580
  width: s,
589
- graphDownload: pe ? e.current : void 0,
590
- dataDownload: J ? b.map((r) => r.data).filter((r) => r !== void 0).length > 0 ? b.map((r) => r.data).filter((r) => r !== void 0) : b.filter((r) => r !== void 0) : null
581
+ graphDownload: J ? e.current : void 0,
582
+ dataDownload: pe ? b.map((r) => r.data).filter((r) => r !== void 0).length > 0 ? b.map((r) => r.data).filter((r) => r !== void 0) : b.filter((r) => r !== void 0) : null
591
583
  }
592
584
  ) : null,
593
- p.enabled && c.length > 0 && n ? /* @__PURE__ */ t.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
585
+ h.enabled && c.length > 0 && n ? /* @__PURE__ */ t.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
594
586
  /* @__PURE__ */ t.jsx(
595
587
  "button",
596
588
  {
597
589
  type: "button",
598
590
  onClick: () => {
599
- z(!L);
591
+ T(!W);
600
592
  },
601
593
  className: "p-0 border-0 cursor-pointer bg-transparent",
602
- "aria-label": L ? "Click to pause animation" : "Click to play animation",
603
- children: L ? /* @__PURE__ */ t.jsx(Ke, {}) : /* @__PURE__ */ t.jsx(Ze, {})
594
+ "aria-label": W ? "Click to pause animation" : "Click to play animation",
595
+ children: W ? /* @__PURE__ */ t.jsx(Ze, {}) : /* @__PURE__ */ t.jsx(Qe, {})
604
596
  }
605
597
  ),
606
598
  /* @__PURE__ */ t.jsx(
607
- Le,
599
+ ze,
608
600
  {
609
601
  min: c[0],
610
602
  max: c[c.length - 1],
@@ -626,86 +618,87 @@ function Wt(be) {
626
618
  "div",
627
619
  {
628
620
  className: "flex flex-col grow justify-center leading-0",
629
- ref: S,
621
+ ref: O,
630
622
  "aria-label": "Map area",
631
- children: (s || y) && (d || te) && Y ? /* @__PURE__ */ t.jsx(
632
- st,
623
+ children: (s || g) && (d || te) && U ? /* @__PURE__ */ t.jsx(
624
+ lt,
633
625
  {
634
626
  data: b.filter(
635
- (r) => p.enabled ? r.date === Te(new Date(c[re]), p.dateFormat || "yyyy") : r
627
+ (r) => h.enabled ? r.date === Be(new Date(c[re]), h.dateFormat || "yyyy") : r
636
628
  ),
637
- mapData: H ? Y : {
638
- ...Y,
639
- features: Y.features.filter(
629
+ mapData: he ? U : {
630
+ ...U,
631
+ features: U.features.filter(
640
632
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
641
633
  (r) => r.properties.NAME !== "Antarctica"
642
634
  )
643
635
  },
644
- xDomain: G || Ee(
636
+ xDomain: q || Oe(
645
637
  b.map((r) => r.x),
646
- E[0].length
638
+ P[0].length
647
639
  ),
648
- yDomain: N || Ee(
640
+ yDomain: N || Oe(
649
641
  b.map((r) => r.y),
650
- E.length
642
+ P.length
651
643
  ),
652
- width: s || y,
644
+ width: s || g,
653
645
  height: Math.max(
654
- g,
655
- d || (w ? g ? (s || y) * w > g ? (s || y) * w : g : (s || y) * w : te)
646
+ x,
647
+ d || (w ? x ? (s || g) * w > x ? (s || g) * w : x : (s || g) * w : te)
656
648
  ),
657
649
  scale: se,
658
650
  centerPoint: le,
659
- colors: E,
660
- xColorLegendTitle: A,
661
- yColorLegendTitle: O,
662
- mapBorderWidth: ke,
663
- mapNoDataColor: B,
664
- mapBorderColor: V,
651
+ colors: P,
652
+ xColorLegendTitle: V,
653
+ yColorLegendTitle: L,
654
+ mapBorderWidth: we,
655
+ mapNoDataColor: _,
656
+ mapBorderColor: F,
665
657
  tooltip: ne,
666
658
  onSeriesMouseOver: M,
667
659
  isWorldMap: me,
668
- zoomScaleExtend: we,
669
- zoomTranslateExtend: je,
670
- onSeriesMouseClick: F,
660
+ zoomScaleExtend: je,
661
+ zoomTranslateExtend: $e,
662
+ onSeriesMouseClick: R,
671
663
  mapProperty: de,
672
664
  highlightedIds: j,
673
- resetSelectionOnDoubleClick: Z,
674
- styles: $,
675
- showColorScale: P,
676
- classNames: D,
677
- mapProjection: Q || (me ? "naturalEarth" : "mercator"),
678
- detailsOnClick: he,
679
- zoomInteraction: I,
680
- animate: U === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : U || { duration: 0, once: !0, amount: 0 },
681
- dimmedOpacity: ge,
682
- customLayers: ee
665
+ resetSelectionOnDoubleClick: X,
666
+ styles: D,
667
+ showColorScale: I,
668
+ classNames: $,
669
+ mapProjection: ge || (me ? "naturalEarth" : "mercator"),
670
+ detailsOnClick: Z,
671
+ zoomInteraction: Q,
672
+ animate: E === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : E || { duration: 0, once: !0, amount: 0 },
673
+ dimmedOpacity: ee,
674
+ customLayers: ye,
675
+ collapseColorScaleByDefault: G
683
676
  }
684
677
  ) : /* @__PURE__ */ t.jsx(
685
678
  "div",
686
679
  {
687
680
  style: {
688
681
  height: `${Math.max(
689
- g,
690
- d || (w ? g ? (s || y) * w > g ? (s || y) * w : g : (s || y) * w : te)
682
+ x,
683
+ d || (w ? x ? (s || g) * w > x ? (s || g) * w : x : (s || g) * w : te)
691
684
  )}px`
692
685
  },
693
686
  className: "flex items-center justify-center",
694
- children: /* @__PURE__ */ t.jsx(ze, { "aria-label": "Loading graph" })
687
+ children: /* @__PURE__ */ t.jsx(We, { "aria-label": "Loading graph" })
695
688
  }
696
689
  )
697
690
  }
698
691
  ),
699
- W || q ? /* @__PURE__ */ t.jsx(
700
- rt,
692
+ B || Y ? /* @__PURE__ */ t.jsx(
693
+ at,
701
694
  {
702
- styles: { footnote: $?.footnote, source: $?.source },
695
+ styles: { footnote: D?.footnote, source: D?.source },
703
696
  classNames: {
704
- footnote: D?.footnote,
705
- source: D?.source
697
+ footnote: $?.footnote,
698
+ source: $?.source
706
699
  },
707
- sources: W,
708
- footNote: q,
700
+ sources: B,
701
+ footNote: Y,
709
702
  width: s
710
703
  }
711
704
  ) : null
@@ -718,6 +711,6 @@ function Wt(be) {
718
711
  );
719
712
  }
720
713
  export {
721
- Wt as BiVariateChoroplethMap
714
+ Tt as BiVariateChoroplethMap
722
715
  };
723
716
  //# sourceMappingURL=BiVariateChoroplethMap.js.map