@undp/data-viz 2.0.9 → 2.1.1

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