@undp/data-viz 2.3.11 → 2.3.13

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 (166) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.js +1 -1
  3. package/dist/BarGraph.cjs +1 -1
  4. package/dist/BarGraph.cjs.map +1 -1
  5. package/dist/BarGraph.js +4 -4
  6. package/dist/BarGraph.js.map +1 -1
  7. package/dist/BasicStatCard.cjs +1 -1
  8. package/dist/BasicStatCard.js +1 -1
  9. package/dist/BeeSwarmChart.cjs +1 -1
  10. package/dist/BeeSwarmChart.js +2 -2
  11. package/dist/BiVariateChoroplethMap.cjs +1 -1
  12. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  13. package/dist/BiVariateChoroplethMap.js +2 -2
  14. package/dist/BiVariateChoroplethMap.js.map +1 -1
  15. package/dist/BulletChart.cjs +1 -1
  16. package/dist/BulletChart.cjs.map +1 -1
  17. package/dist/BulletChart.js +2 -2
  18. package/dist/BulletChart.js.map +1 -1
  19. package/dist/ButterflyChart.cjs +1 -1
  20. package/dist/ButterflyChart.cjs.map +1 -1
  21. package/dist/ButterflyChart.js +39 -39
  22. package/dist/ButterflyChart.js.map +1 -1
  23. package/dist/ChoroplethMap.cjs +1 -1
  24. package/dist/ChoroplethMap.cjs.map +1 -1
  25. package/dist/ChoroplethMap.js +2 -2
  26. package/dist/ChoroplethMap.js.map +1 -1
  27. package/dist/CirclePackingGraph.cjs +1 -1
  28. package/dist/CirclePackingGraph.js +2 -2
  29. package/dist/ColorLegend.cjs +1 -1
  30. package/dist/ColorLegend.js +1 -1
  31. package/dist/ColorLegendWithMouseOver.cjs +1 -1
  32. package/dist/ColorLegendWithMouseOver.js +1 -1
  33. package/dist/Data/department.json +530 -0
  34. package/dist/DataCards.cjs +1 -1
  35. package/dist/DataCards.js +2 -2
  36. package/dist/DataTable.cjs +1 -1
  37. package/dist/DataTable.js +1 -1
  38. package/dist/DifferenceLineChart.cjs +1 -1
  39. package/dist/DifferenceLineChart.js +1 -1
  40. package/dist/DonutChart.cjs +1 -1
  41. package/dist/DonutChart.js +3 -3
  42. package/dist/DotDensityMap.cjs +1 -1
  43. package/dist/DotDensityMap.cjs.map +1 -1
  44. package/dist/DotDensityMap.js +19 -19
  45. package/dist/DotDensityMap.js.map +1 -1
  46. package/dist/DualAxisLineChart.cjs +1 -1
  47. package/dist/DualAxisLineChart.js +1 -1
  48. package/dist/DumbbellChart.cjs +1 -1
  49. package/dist/DumbbellChart.cjs.map +1 -1
  50. package/dist/DumbbellChart.js +2 -2
  51. package/dist/DumbbellChart.js.map +1 -1
  52. package/dist/{EmptyState-D807L58h.js → EmptyState-B3fPoH6L.js} +2 -2
  53. package/dist/{EmptyState-D807L58h.js.map → EmptyState-B3fPoH6L.js.map} +1 -1
  54. package/dist/{EmptyState-N1eHt3vq.cjs → EmptyState-B4c-CrXs.cjs} +2 -2
  55. package/dist/{EmptyState-N1eHt3vq.cjs.map → EmptyState-B4c-CrXs.cjs.map} +1 -1
  56. package/dist/FootNote.cjs +1 -1
  57. package/dist/FootNote.js +1 -1
  58. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  59. package/dist/GeoHubMapWithLayerSelection.js +1 -1
  60. package/dist/GraphDescription.cjs +1 -1
  61. package/dist/GraphDescription.js +1 -1
  62. package/dist/{GraphEl-CT3xPv2P.js → GraphEl-Bb5oGHoa.js} +4 -3
  63. package/dist/GraphEl-Bb5oGHoa.js.map +1 -0
  64. package/dist/{GraphEl-DvwOOhF1.cjs → GraphEl-BerZfJ3j.cjs} +2 -2
  65. package/dist/{GraphEl-DvwOOhF1.cjs.map → GraphEl-BerZfJ3j.cjs.map} +1 -1
  66. package/dist/GraphFooter.cjs +1 -1
  67. package/dist/GraphFooter.js +1 -1
  68. package/dist/GraphTitle.cjs +1 -1
  69. package/dist/GraphTitle.js +1 -1
  70. package/dist/GriddedGraphs.cjs +1 -1
  71. package/dist/GriddedGraphs.d.ts +1 -0
  72. package/dist/GriddedGraphs.js +1 -1
  73. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  74. package/dist/HeatMap.cjs +1 -1
  75. package/dist/HeatMap.js +1 -1
  76. package/dist/Histogram.cjs +1 -1
  77. package/dist/Histogram.js +1 -1
  78. package/dist/HybridMap.cjs +1 -1
  79. package/dist/HybridMap.cjs.map +1 -1
  80. package/dist/HybridMap.js +29 -29
  81. package/dist/HybridMap.js.map +1 -1
  82. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  83. package/dist/LineChartWithConfidenceInterval.js +1 -1
  84. package/dist/LinearColorLegend.cjs +1 -1
  85. package/dist/LinearColorLegend.js +1 -1
  86. package/dist/MultiGraphDashboard.d.ts +1 -0
  87. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  88. package/dist/MultiLineAltChart.cjs +1 -1
  89. package/dist/MultiLineAltChart.cjs.map +1 -1
  90. package/dist/MultiLineAltChart.d.ts +2 -0
  91. package/dist/MultiLineAltChart.js +393 -391
  92. package/dist/MultiLineAltChart.js.map +1 -1
  93. package/dist/MultiLineChart.cjs +1 -1
  94. package/dist/MultiLineChart.js +1 -1
  95. package/dist/ParetoChart.cjs +1 -1
  96. package/dist/ParetoChart.js +1 -1
  97. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  98. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  99. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  100. package/dist/RadarChart.cjs +1 -1
  101. package/dist/RadarChart.js +1 -1
  102. package/dist/SankeyChart.cjs +1 -1
  103. package/dist/SankeyChart.js +2 -2
  104. package/dist/ScatterPlot.cjs +1 -1
  105. package/dist/ScatterPlot.cjs.map +1 -1
  106. package/dist/ScatterPlot.d.ts +2 -0
  107. package/dist/ScatterPlot.js +439 -437
  108. package/dist/ScatterPlot.js.map +1 -1
  109. package/dist/ScrollStory.d.ts +1 -0
  110. package/dist/SimpleLineChart.cjs +1 -1
  111. package/dist/SimpleLineChart.js +1 -1
  112. package/dist/SingleGraphDashboard.cjs +1 -1
  113. package/dist/SingleGraphDashboard.d.ts +1 -0
  114. package/dist/SingleGraphDashboard.js +1 -1
  115. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  116. package/dist/SingleGraphDashboardGeoHubMaps.cjs +1 -1
  117. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  118. package/dist/SingleGraphDashboardGeoHubMaps.js +1 -1
  119. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  120. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  121. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  122. package/dist/SingleGraphDashboardThreeDGraphs.js +1 -1
  123. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  124. package/dist/SlopeChart.cjs +1 -1
  125. package/dist/SlopeChart.js +1 -1
  126. package/dist/{Source-24M277ZQ.cjs → Source-BOSAl3UX.cjs} +2 -2
  127. package/dist/{Source-24M277ZQ.cjs.map → Source-BOSAl3UX.cjs.map} +1 -1
  128. package/dist/{Source-eILIr4Ov.js → Source-Djkz-7jX.js} +2 -2
  129. package/dist/{Source-eILIr4Ov.js.map → Source-Djkz-7jX.js.map} +1 -1
  130. package/dist/Source.cjs +1 -1
  131. package/dist/Source.js +2 -2
  132. package/dist/StatCardFromData.cjs +1 -1
  133. package/dist/StatCardFromData.js +1 -1
  134. package/dist/StripChart.cjs +1 -1
  135. package/dist/StripChart.cjs.map +1 -1
  136. package/dist/StripChart.d.ts +2 -0
  137. package/dist/StripChart.js +592 -481
  138. package/dist/StripChart.js.map +1 -1
  139. package/dist/ThreeDGlobe.cjs +1 -1
  140. package/dist/ThreeDGlobe.js +1 -1
  141. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  142. package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
  143. package/dist/TreeMapGraph.cjs +1 -1
  144. package/dist/TreeMapGraph.js +2 -2
  145. package/dist/Types.d.ts +1 -0
  146. package/dist/Typography-CZZxlj1W.cjs +2 -0
  147. package/dist/Typography-CZZxlj1W.cjs.map +1 -0
  148. package/dist/{Typography-HicNIA61.js → Typography-DMVW6JnV.js} +67 -60
  149. package/dist/Typography-DMVW6JnV.js.map +1 -0
  150. package/dist/UnitChart.cjs +1 -1
  151. package/dist/UnitChart.js +1 -1
  152. package/dist/WaterfallChart.cjs +1 -1
  153. package/dist/WaterfallChart.js +1 -1
  154. package/dist/{index-B5ggV1vg.js → index-C6VwVS8W.js} +3 -3
  155. package/dist/{index-B5ggV1vg.js.map → index-C6VwVS8W.js.map} +1 -1
  156. package/dist/{index-BDR7MlMo.cjs → index-_TlgeI_i.cjs} +2 -2
  157. package/dist/{index-BDR7MlMo.cjs.map → index-_TlgeI_i.cjs.map} +1 -1
  158. package/dist/index.cjs +1 -1
  159. package/dist/index.d.ts +7 -0
  160. package/dist/index.js +2 -2
  161. package/dist/style.css +1 -1
  162. package/package.json +2 -2
  163. package/dist/GraphEl-CT3xPv2P.js.map +0 -1
  164. package/dist/Typography-Cc_iHQB-.cjs +0 -2
  165. package/dist/Typography-Cc_iHQB-.cjs.map +0 -1
  166. package/dist/Typography-HicNIA61.js.map +0 -1
package/dist/HybridMap.js CHANGED
@@ -6,9 +6,9 @@ import { g as Ze, N as Qe } from "./getSliderMarks-vXsR8RrR.js";
6
6
  import { w as to } from "./Spinner-CtJETd5V.js";
7
7
  import { i as Pe } from "./index-Bwrro8-q.js";
8
8
  import { i as eo, z as oo, a as ao, g as ro, b as io, c as no, d as lo, e as so, f as co } from "./index-CKpKc9DR.js";
9
- import { _ as Oe } from "./Typography-HicNIA61.js";
9
+ import { _ as Oe } from "./Typography-DMVW6JnV.js";
10
10
  import { i as mo } from "./index-DCsFBfJ_.js";
11
- import { n as Le } from "./Source-eILIr4Ov.js";
11
+ import { n as Le } from "./Source-Djkz-7jX.js";
12
12
  import { w as po } from "./index-DoS4bGNa-Bgab95kx.js";
13
13
  import { T as uo } from "./Tooltip-CohiIbLZ.js";
14
14
  import { X as ho, P as go, e as fo } from "./index-CZ0elhKR.js";
@@ -29,7 +29,7 @@ import { f as No } from "./fetchAndParseData-BAXhgTDM.js";
29
29
  import { a as So, G as Mo } from "./GraphContainer-DwMxWRCi.js";
30
30
  import { g as Oo } from "./getUniqValue-DsqSii6M.js";
31
31
  import { g as Io } from "./getJenks-DTCcQSDi.js";
32
- var zo = "Separator", _e = "horizontal", Eo = ["horizontal", "vertical"], Be = He.forwardRef((r, t) => {
32
+ var zo = "Separator", _e = "horizontal", Eo = ["horizontal", "vertical"], $e = He.forwardRef((r, t) => {
33
33
  const { decorative: e, orientation: b = _e, ...g } = r, n = Po(b) ? b : _e, f = e ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
34
34
  return /* @__PURE__ */ Ve.jsx(
35
35
  po.div,
@@ -41,11 +41,11 @@ var zo = "Separator", _e = "horizontal", Eo = ["horizontal", "vertical"], Be = H
41
41
  }
42
42
  );
43
43
  });
44
- Be.displayName = zo;
44
+ $e.displayName = zo;
45
45
  function Po(r) {
46
46
  return Eo.includes(r);
47
47
  }
48
- var $e = Be;
48
+ var Be = $e;
49
49
  const Ae = Ue.forwardRef((r, t) => {
50
50
  const e = Ge.c(14);
51
51
  let b, g, n, f;
@@ -59,9 +59,9 @@ const Ae = Ue.forwardRef((r, t) => {
59
59
  let w;
60
60
  e[5] !== b || e[6] !== u || e[7] !== k ? (w = ze(u, k, b), e[5] = b, e[6] = u, e[7] = k, e[8] = w) : w = e[8];
61
61
  let M;
62
- return e[9] !== l || e[10] !== g || e[11] !== t || e[12] !== w ? (M = /* @__PURE__ */ Ve.jsx($e, { ...g, ref: t, orientation: l, className: w }), e[9] = l, e[10] = g, e[11] = t, e[12] = w, e[13] = M) : M = e[13], M;
62
+ return e[9] !== l || e[10] !== g || e[11] !== t || e[12] !== w ? (M = /* @__PURE__ */ Ve.jsx(Be, { ...g, ref: t, orientation: l, className: w }), e[9] = l, e[10] = g, e[11] = t, e[12] = w, e[13] = M) : M = e[13], M;
63
63
  });
64
- Ae.displayName = $e.displayName;
64
+ Ae.displayName = Be.displayName;
65
65
  function Lo(r) {
66
66
  const {
67
67
  data: t,
@@ -107,12 +107,12 @@ function Lo(r) {
107
107
  rewindCoordinatesInMapData: pt
108
108
  } = r, d = Xe(() => pt ? eo(b, {
109
109
  reverse: !0
110
- }) : b, [b, pt]), [s, _] = S(void 0), [Ht, Et] = S(Ot === void 0 ? !(l < 680) : !Ot), ut = Rt(null), [V, O] = S(void 0), [ot, I] = S(void 0), [Pt, D] = S(void 0), [Lt, z] = S(void 0), B = Rt(null), K = jo(B, {
110
+ }) : b, [b, pt]), [s, _] = S(void 0), [Ht, Et] = S(Ot === void 0 ? !(l < 680) : !Ot), ut = Rt(null), [V, O] = S(void 0), [ot, I] = S(void 0), [Pt, D] = S(void 0), [Lt, z] = S(void 0), $ = Rt(null), K = jo($, {
111
111
  once: x.once,
112
112
  amount: x.amount
113
- }), at = Rt(null), $ = t.filter((o) => o.radius === void 0 || o.radius === null).length !== t.length ? xo().domain([0, ct]).range([0.25, f]).nice() : void 0, E = tt ? vo().domain(n).range(e) : bo().domain(n).range(e);
113
+ }), at = Rt(null), B = t.filter((o) => o.radius === void 0 || o.radius === null).length !== t.length ? xo().domain([0, ct]).range([0.25, f]).nice() : void 0, E = tt ? vo().domain(n).range(e) : bo().domain(n).range(e);
114
114
  de(() => {
115
- const o = Ie(at.current), i = Ie(B.current), v = (m) => {
115
+ const o = Ie(at.current), i = Ie($.current), v = (m) => {
116
116
  if (X === "noZoom") return !1;
117
117
  if (X === "button") return !m.type.includes("wheel");
118
118
  const gt = m.type === "wheel", ft = m.type.startsWith("touch"), At = m.type === "mousedown" || m.type === "mousemove";
@@ -124,13 +124,13 @@ function Lo(r) {
124
124
  });
125
125
  i.call(N), ut.current = N;
126
126
  }, [y, l, X]);
127
- const A = ao(d), j = mo(d), _t = (A[2] - A[0]) * 1.15, Vt = (A[3] - A[1]) * 1.15, Bt = l * 190 / 960 * 360 / _t, $t = y * 190 / 678 * 180 / Vt, F = u * Math.min(Bt, $t), Z = Q === "mercator" ? ro().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : Q === "equalEarth" ? io().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : Q === "naturalEarth" ? no().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : Q === "orthographic" ? lo().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : so().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F), ht = co().projection(Z), rt = (o) => {
128
- if (!B.current || !ut.current) return;
129
- Ie(B.current).call(ut.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
127
+ const A = ao(d), j = mo(d), _t = (A[2] - A[0]) * 1.15, Vt = (A[3] - A[1]) * 1.15, $t = l * 190 / 960 * 360 / _t, Bt = y * 190 / 678 * 180 / Vt, F = u * Math.min($t, Bt), Z = Q === "mercator" ? ro().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : Q === "equalEarth" ? io().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : Q === "naturalEarth" ? no().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : Q === "orthographic" ? lo().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F) : so().rotate(J).center(k || j.geometry.coordinates).translate([l / 2, y / 2]).scale(F), ht = co().projection(Z), rt = (o) => {
128
+ if (!$.current || !ut.current) return;
129
+ Ie($.current).call(ut.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
130
130
  };
131
131
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
132
132
  /* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
133
- /* @__PURE__ */ a.jsx(lt.svg, { width: `${l}px`, height: `${y}px`, viewBox: `0 0 ${l} ${y}`, ref: B, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: at, children: [
133
+ /* @__PURE__ */ a.jsx(lt.svg, { width: `${l}px`, height: `${y}px`, viewBox: `0 0 ${l} ${y}`, ref: $, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: at, children: [
134
134
  st.filter((o) => o.position === "before").map((o) => o.layer),
135
135
  d.features.map((o, i) => {
136
136
  if (!o.properties?.[dt]) return null;
@@ -232,7 +232,7 @@ function Lo(r) {
232
232
  stroke: It || Y
233
233
  },
234
234
  whileInView: {
235
- r: $ ? $(o.radius || 0) : f,
235
+ r: B ? B(o.radius || 0) : f,
236
236
  fill: Y,
237
237
  stroke: It || Y,
238
238
  transition: {
@@ -250,11 +250,11 @@ function Lo(r) {
250
250
  M && o.label ? /* @__PURE__ */ a.jsx(lt.text, { variants: {
251
251
  initial: {
252
252
  opacity: 0,
253
- x: i * ($ ? $(o.radius || 0) : f)
253
+ x: i * (B ? B(o.radius || 0) : f)
254
254
  },
255
255
  whileInView: {
256
256
  opacity: 1,
257
- x: i * ($ ? $(o.radius || 0) : f),
257
+ x: i * (B ? B(o.radius || 0) : f),
258
258
  transition: {
259
259
  duration: x.duration
260
260
  }
@@ -406,11 +406,11 @@ function ja(r) {
406
406
  highlightedIds: D,
407
407
  mapProperty: Lt,
408
408
  dotLegendTitle: z,
409
- dotBorderColor: B,
409
+ dotBorderColor: $,
410
410
  labelColor: K,
411
411
  projectionRotate: at,
412
- rewindCoordinatesInMapData: $
413
- } = r, E = b === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : b, A = k === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : k, j = kt === void 0 ? "threshold" : kt, _t = Ct === void 0 ? 5 : Ct, Vt = Dt === void 0 ? 0.95 : Dt, Bt = Gt === void 0 ? 0.5 : Gt, $t = qt === void 0 ? jt.light.graphNoData : qt, F = St === void 0 ? !1 : St, Z = P === void 0 ? !1 : P, ht = Mt === void 0 ? jt.light.grays["gray-500"] : Mt, rt = Q === void 0 ? !0 : Q, o = X === void 0 ? !0 : X;
412
+ rewindCoordinatesInMapData: B
413
+ } = r, E = b === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : b, A = k === void 0 ? "The designations employed and the presentation of material on this map do not imply the expression of any opinion whatsoever on the part of the Secretariat of the United Nations or UNDP concerning the legal status of any country, territory, city or area or its authorities, or concerning the delimitation of its frontiers or boundaries." : k, j = kt === void 0 ? "threshold" : kt, _t = Ct === void 0 ? 5 : Ct, Vt = Dt === void 0 ? 0.95 : Dt, $t = Gt === void 0 ? 0.5 : Gt, Bt = qt === void 0 ? jt.light.graphNoData : qt, F = St === void 0 ? !1 : St, Z = P === void 0 ? !1 : P, ht = Mt === void 0 ? jt.light.grays["gray-500"] : Mt, rt = Q === void 0 ? !0 : Q, o = X === void 0 ? !0 : X;
414
414
  let i;
415
415
  t[0] !== x ? (i = x === void 0 ? [0.8, 6] : x, t[0] = x, t[1] = i) : i = t[1];
416
416
  const v = i;
@@ -432,7 +432,7 @@ function ja(r) {
432
432
  const ve = Jt, be = Lt === void 0 ? "ISO3" : Lt, we = K === void 0 ? jt.primaryColors["blue-600"] : K;
433
433
  let Kt;
434
434
  t[10] !== at ? (Kt = at === void 0 ? [0, 0] : at, t[10] = at, t[11] = Kt) : Kt = t[11];
435
- const je = Kt, ke = $ === void 0 ? !0 : $, [nt, Fe] = S(0), [Ft, Te] = S(0), [W, We] = S(c.autoplay);
435
+ const je = Kt, ke = B === void 0 ? !0 : B, [nt, Fe] = S(0), [Ft, Te] = S(0), [W, We] = S(c.autoplay);
436
436
  let Tt;
437
437
  if (t[12] !== e || t[13] !== c.dateFormat) {
438
438
  let h;
@@ -481,7 +481,7 @@ function ja(r) {
481
481
  }, classNames: {
482
482
  title: s?.title,
483
483
  description: s?.description
484
- }, graphTitle: g, graphDescription: y, width: u, graphDownload: gt ? Ee : void 0, dataDownload: ft ? e.map(Wo).filter(To).length > 0 ? e.map(Fo).filter(Ao) : e.filter($o) : null }) : null, t[40] = s?.description, t[41] = s?.title, t[42] = e, t[43] = ft, t[44] = y, t[45] = gt, t[46] = g, t[47] = d?.description, t[48] = d?.title, t[49] = u, t[50] = xt) : xt = t[50];
484
+ }, graphTitle: g, graphDescription: y, width: u, graphDownload: gt ? Ee : void 0, dataDownload: ft ? e.map(Wo).filter(To).length > 0 ? e.map(Fo).filter(Ao) : e.filter(Bo) : null }) : null, t[40] = s?.description, t[41] = s?.title, t[42] = e, t[43] = ft, t[44] = y, t[45] = gt, t[46] = g, t[47] = d?.description, t[48] = d?.title, t[49] = u, t[50] = xt) : xt = t[50];
485
485
  let vt;
486
486
  t[51] !== R || t[52] !== se || t[53] !== W || t[54] !== c.enabled || t[55] !== p ? (vt = c.enabled && p.length > 0 && se ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
487
487
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
@@ -494,10 +494,10 @@ function ja(r) {
494
494
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
495
495
  ] }) : null, t[51] = R, t[52] = se, t[53] = W, t[54] = c.enabled, t[55] = p, t[56] = vt) : vt = t[56];
496
496
  let bt;
497
- t[57] !== Ut || t[58] !== q || t[59] !== j || t[60] !== s || t[61] !== I || t[62] !== n || t[63] !== ye || t[64] !== e || t[65] !== pt || t[66] !== fe || t[67] !== Wt || t[68] !== B || t[69] !== xe || t[70] !== z || t[71] !== l || t[72] !== m || t[73] !== ve || t[74] !== R || t[75] !== rt || t[76] !== we || t[77] !== ht || t[78] !== Bt || t[79] !== w || t[80] !== $t || t[81] !== he || t[82] !== be || t[83] !== yt || t[84] !== O || t[85] !== T || t[86] !== tt || t[87] !== U || t[88] !== je || t[89] !== _t || t[90] !== C || t[91] !== ue || t[92] !== ke || t[93] !== Vt || t[94] !== At || t[95] !== o || t[96] !== Z || t[97] !== d || t[98] !== Ft || t[99] !== nt || t[100] !== it || t[101] !== c.dateFormat || t[102] !== c.enabled || t[103] !== H || t[104] !== p || t[105] !== u || t[106] !== ge || t[107] !== v || t[108] !== L ? (bt = /* @__PURE__ */ a.jsx(So, { ref: De, children: nt && Ft && yt ? /* @__PURE__ */ a.jsx(Lo, { dotColor: xe, data: e.filter((h) => c.enabled ? h.date === Je(new Date(p[R]), c.dateFormat || "yyyy") : h), mapData: At ? yt : {
497
+ t[57] !== Ut || t[58] !== q || t[59] !== j || t[60] !== s || t[61] !== I || t[62] !== n || t[63] !== ye || t[64] !== e || t[65] !== pt || t[66] !== fe || t[67] !== Wt || t[68] !== $ || t[69] !== xe || t[70] !== z || t[71] !== l || t[72] !== m || t[73] !== ve || t[74] !== R || t[75] !== rt || t[76] !== we || t[77] !== ht || t[78] !== $t || t[79] !== w || t[80] !== Bt || t[81] !== he || t[82] !== be || t[83] !== yt || t[84] !== O || t[85] !== T || t[86] !== tt || t[87] !== U || t[88] !== je || t[89] !== _t || t[90] !== C || t[91] !== ue || t[92] !== ke || t[93] !== Vt || t[94] !== At || t[95] !== o || t[96] !== Z || t[97] !== d || t[98] !== Ft || t[99] !== nt || t[100] !== it || t[101] !== c.dateFormat || t[102] !== c.enabled || t[103] !== H || t[104] !== p || t[105] !== u || t[106] !== ge || t[107] !== v || t[108] !== L ? (bt = /* @__PURE__ */ a.jsx(So, { ref: De, children: nt && Ft && yt ? /* @__PURE__ */ a.jsx(Lo, { dotColor: xe, data: e.filter((h) => c.enabled ? `${h.date}` === Je(new Date(p[R]), c.dateFormat || "yyyy") : h), mapData: At ? yt : {
498
498
  ...yt,
499
- features: yt.features.filter(Bo)
500
- }, colorDomain: Wt, width: nt, height: Ft, scale: Vt, centerPoint: q, colors: n || (j === "categorical" ? jt[it].sequentialColors[`neutralColorsx0${Wt.length}`] : jt[it].sequentialColors[`neutralColorsx0${Wt.length + 1}`]), mapColorLegendTitle: w, radius: _t, categorical: j === "categorical", mapBorderWidth: Bt, mapNoDataColor: $t, mapBorderColor: ht, tooltip: H, onSeriesMouseOver: U, showLabels: Z, isWorldMap: rt, showColorScale: o, zoomScaleExtend: v, zoomTranslateExtend: L, onSeriesMouseClick: tt, highlightedDataPoints: m, resetSelectionOnDoubleClick: ue, styles: d, classNames: s, zoomInteraction: ge, detailsOnClick: pt, mapProjection: he || (rt ? "naturalEarth" : "mercator"), animate: Ut === !0 ? {
499
+ features: yt.features.filter($o)
500
+ }, colorDomain: Wt, width: nt, height: Ft, scale: Vt, centerPoint: q, colors: n || (j === "categorical" ? jt[it].sequentialColors[`neutralColorsx0${Wt.length}`] : jt[it].sequentialColors[`neutralColorsx0${Wt.length + 1}`]), mapColorLegendTitle: w, radius: _t, categorical: j === "categorical", mapBorderWidth: $t, mapNoDataColor: Bt, mapBorderColor: ht, tooltip: H, onSeriesMouseOver: U, showLabels: Z, isWorldMap: rt, showColorScale: o, zoomScaleExtend: v, zoomTranslateExtend: L, onSeriesMouseClick: tt, highlightedDataPoints: m, resetSelectionOnDoubleClick: ue, styles: d, classNames: s, zoomInteraction: ge, detailsOnClick: pt, mapProjection: he || (rt ? "naturalEarth" : "mercator"), animate: Ut === !0 ? {
501
501
  duration: 0.5,
502
502
  once: !0,
503
503
  amount: 0.5
@@ -505,9 +505,9 @@ function ja(r) {
505
505
  duration: 0,
506
506
  once: !0,
507
507
  amount: 0
508
- }, dimmedOpacity: fe, customLayers: ye, maxRadiusValue: me(O) ? Math.max(...e.map(Vo).filter(_o)) : O, collapseColorScaleByDefault: I, highlightedIds: ve, mapProperty: be, dotLegendTitle: z, dotBorderColor: B, labelColor: we, projectionRotate: je, rewindCoordinatesInMapData: ke }) : /* @__PURE__ */ a.jsx("div", { style: {
508
+ }, dimmedOpacity: fe, customLayers: ye, maxRadiusValue: me(O) ? Math.max(...e.map(Vo).filter(_o)) : O, collapseColorScaleByDefault: I, highlightedIds: ve, mapProperty: be, dotLegendTitle: z, dotBorderColor: $, labelColor: we, projectionRotate: je, rewindCoordinatesInMapData: ke }) : /* @__PURE__ */ a.jsx("div", { style: {
509
509
  height: `${Math.max(T, l || (C ? T ? (u || nt) * C > T ? (u || nt) * C : T : (u || nt) * C : Ft))}px`
510
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(to, { "aria-label": "Loading graph" }) }) }), t[57] = Ut, t[58] = q, t[59] = j, t[60] = s, t[61] = I, t[62] = n, t[63] = ye, t[64] = e, t[65] = pt, t[66] = fe, t[67] = Wt, t[68] = B, t[69] = xe, t[70] = z, t[71] = l, t[72] = m, t[73] = ve, t[74] = R, t[75] = rt, t[76] = we, t[77] = ht, t[78] = Bt, t[79] = w, t[80] = $t, t[81] = he, t[82] = be, t[83] = yt, t[84] = O, t[85] = T, t[86] = tt, t[87] = U, t[88] = je, t[89] = _t, t[90] = C, t[91] = ue, t[92] = ke, t[93] = Vt, t[94] = At, t[95] = o, t[96] = Z, t[97] = d, t[98] = Ft, t[99] = nt, t[100] = it, t[101] = c.dateFormat, t[102] = c.enabled, t[103] = H, t[104] = p, t[105] = u, t[106] = ge, t[107] = v, t[108] = L, t[109] = bt) : bt = t[109];
510
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(to, { "aria-label": "Loading graph" }) }) }), t[57] = Ut, t[58] = q, t[59] = j, t[60] = s, t[61] = I, t[62] = n, t[63] = ye, t[64] = e, t[65] = pt, t[66] = fe, t[67] = Wt, t[68] = $, t[69] = xe, t[70] = z, t[71] = l, t[72] = m, t[73] = ve, t[74] = R, t[75] = rt, t[76] = we, t[77] = ht, t[78] = $t, t[79] = w, t[80] = Bt, t[81] = he, t[82] = be, t[83] = yt, t[84] = O, t[85] = T, t[86] = tt, t[87] = U, t[88] = je, t[89] = _t, t[90] = C, t[91] = ue, t[92] = ke, t[93] = Vt, t[94] = At, t[95] = o, t[96] = Z, t[97] = d, t[98] = Ft, t[99] = nt, t[100] = it, t[101] = c.dateFormat, t[102] = c.enabled, t[103] = H, t[104] = p, t[105] = u, t[106] = ge, t[107] = v, t[108] = L, t[109] = bt) : bt = t[109];
511
511
  let wt;
512
512
  t[110] !== s?.footnote || t[111] !== s?.source || t[112] !== A || t[113] !== f || t[114] !== d?.footnote || t[115] !== d?.source || t[116] !== u ? (wt = f || A ? /* @__PURE__ */ a.jsx(Co, { styles: {
513
513
  footnote: d?.footnote,
@@ -530,10 +530,10 @@ function _o(r) {
530
530
  function Vo(r) {
531
531
  return r.radius;
532
532
  }
533
- function Bo(r) {
533
+ function $o(r) {
534
534
  return r.properties.NAME !== "Antarctica";
535
535
  }
536
- function $o(r) {
536
+ function Bo(r) {
537
537
  return r !== void 0;
538
538
  }
539
539
  function Ao(r) {