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