@undp/data-viz 2.3.19 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/BarGraph.cjs +1 -1
  2. package/dist/BarGraph.cjs.map +1 -1
  3. package/dist/BarGraph.js +1360 -1363
  4. package/dist/BarGraph.js.map +1 -1
  5. package/dist/BeeSwarmChart.cjs +1 -1
  6. package/dist/BeeSwarmChart.cjs.map +1 -1
  7. package/dist/BeeSwarmChart.js +302 -305
  8. package/dist/BeeSwarmChart.js.map +1 -1
  9. package/dist/BiVariateChoroplethMap.cjs +1 -1
  10. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  11. package/dist/BiVariateChoroplethMap.js +4 -4
  12. package/dist/BiVariateChoroplethMap.js.map +1 -1
  13. package/dist/BulletChart.cjs +1 -1
  14. package/dist/BulletChart.cjs.map +1 -1
  15. package/dist/BulletChart.js +591 -594
  16. package/dist/BulletChart.js.map +1 -1
  17. package/dist/ChoroplethMap.cjs +1 -1
  18. package/dist/ChoroplethMap.cjs.map +1 -1
  19. package/dist/ChoroplethMap.js +4 -4
  20. package/dist/ChoroplethMap.js.map +1 -1
  21. package/dist/CirclePackingGraph.cjs +1 -1
  22. package/dist/CirclePackingGraph.js +1 -1
  23. package/dist/DotDensityMap.cjs +1 -1
  24. package/dist/DotDensityMap.cjs.map +1 -1
  25. package/dist/DotDensityMap.js +255 -258
  26. package/dist/DotDensityMap.js.map +1 -1
  27. package/dist/DumbbellChart.cjs +1 -1
  28. package/dist/DumbbellChart.cjs.map +1 -1
  29. package/dist/DumbbellChart.js +553 -556
  30. package/dist/DumbbellChart.js.map +1 -1
  31. package/dist/{GraphEl-Dorm_qQE.js → GraphEl-B73N4RIA.js} +2 -2
  32. package/dist/{GraphEl-Dorm_qQE.js.map → GraphEl-B73N4RIA.js.map} +1 -1
  33. package/dist/{GraphEl-D8WRC8-j.cjs → GraphEl-Lt1og0C-.cjs} +2 -2
  34. package/dist/{GraphEl-D8WRC8-j.cjs.map → GraphEl-Lt1og0C-.cjs.map} +1 -1
  35. package/dist/GriddedGraphs.cjs +1 -1
  36. package/dist/GriddedGraphs.js +1 -1
  37. package/dist/Histogram.cjs +1 -1
  38. package/dist/Histogram.js +1 -1
  39. package/dist/HybridMap.cjs +1 -1
  40. package/dist/HybridMap.cjs.map +1 -1
  41. package/dist/HybridMap.js +310 -313
  42. package/dist/HybridMap.js.map +1 -1
  43. package/dist/MultiLineAltChart.cjs +1 -1
  44. package/dist/MultiLineAltChart.cjs.map +1 -1
  45. package/dist/MultiLineAltChart.js +269 -272
  46. package/dist/MultiLineAltChart.js.map +1 -1
  47. package/dist/MultiLineChart.cjs +1 -1
  48. package/dist/MultiLineChart.cjs.map +1 -1
  49. package/dist/MultiLineChart.js +319 -322
  50. package/dist/MultiLineChart.js.map +1 -1
  51. package/dist/RadarChart.cjs +1 -1
  52. package/dist/RadarChart.cjs.map +1 -1
  53. package/dist/RadarChart.js +3 -3
  54. package/dist/RadarChart.js.map +1 -1
  55. package/dist/SankeyChart.cjs +1 -1
  56. package/dist/SankeyChart.cjs.map +1 -1
  57. package/dist/SankeyChart.js +274 -280
  58. package/dist/SankeyChart.js.map +1 -1
  59. package/dist/ScatterPlot.cjs +1 -1
  60. package/dist/ScatterPlot.cjs.map +1 -1
  61. package/dist/ScatterPlot.js +341 -344
  62. package/dist/ScatterPlot.js.map +1 -1
  63. package/dist/SingleGraphDashboard.cjs +1 -1
  64. package/dist/SingleGraphDashboard.js +1 -1
  65. package/dist/SlopeChart.cjs +1 -1
  66. package/dist/SlopeChart.cjs.map +1 -1
  67. package/dist/SlopeChart.js +251 -254
  68. package/dist/SlopeChart.js.map +1 -1
  69. package/dist/StripChart.cjs +1 -1
  70. package/dist/StripChart.cjs.map +1 -1
  71. package/dist/StripChart.js +292 -295
  72. package/dist/StripChart.js.map +1 -1
  73. package/dist/ThreeDGlobe.cjs +1 -1
  74. package/dist/ThreeDGlobe.cjs.map +1 -1
  75. package/dist/ThreeDGlobe.js +3 -3
  76. package/dist/ThreeDGlobe.js.map +1 -1
  77. package/dist/TreeMapGraph.cjs +1 -1
  78. package/dist/TreeMapGraph.cjs.map +1 -1
  79. package/dist/TreeMapGraph.js +196 -199
  80. package/dist/TreeMapGraph.js.map +1 -1
  81. package/dist/WaterfallChart.cjs +1 -1
  82. package/dist/WaterfallChart.cjs.map +1 -1
  83. package/dist/WaterfallChart.js +274 -277
  84. package/dist/WaterfallChart.js.map +1 -1
  85. package/dist/index-B0Awa_de.js +377 -0
  86. package/dist/index-B0Awa_de.js.map +1 -0
  87. package/dist/index-CP8cmNzt.cjs +2 -0
  88. package/dist/index-CP8cmNzt.cjs.map +1 -0
  89. package/dist/index.cjs +1 -1
  90. package/dist/index.js +1 -1
  91. package/package.json +1 -1
  92. package/dist/index-Bdo_HXb_.cjs +0 -2
  93. package/dist/index-Bdo_HXb_.cjs.map +0 -1
  94. package/dist/index-CGrBpeUa.js +0 -380
  95. package/dist/index-CGrBpeUa.js.map +0 -1
package/dist/HybridMap.js CHANGED
@@ -1,172 +1,172 @@
1
- import { _ as ro, m as Ft, a as Yt, j as a, c as io } from "./index-CHPV5EwG-BzibaIRc.js";
2
- import * as no from "react";
3
- import lo, { useMemo as At, useState as S, useRef as qe, useEffect as Ue, useEffectEvent as Rt } from "react";
4
- import { f as so, p as co } from "./parse-Dv4of-PN.js";
5
- import { g as mo, N as po } from "./getSliderMarks-X-_goqH9.js";
6
- import { w as uo } from "./Spinner-B2IIKg9r.js";
7
- import { i as Gt } from "./index-Bwrro8-q.js";
8
- import { i as Ut, z as ho, a as fo, g as go, b as yo, c as vo, d as xo, e as bo, f as wo } from "./index-CKpKc9DR.js";
9
- import { _ as Vt } from "./Typography-BO0gQDIT.js";
10
- import { i as jo } from "./index-DCsFBfJ_.js";
11
- import { n as qt } from "./Source-QGk8vhkS.js";
12
- import { w as ko } from "./index-w64Zl8io-ihagHOdP.js";
13
- import { T as Co } from "./Tooltip-Bj-s__cI.js";
14
- import { X as Do, E as No, P as Mo, e as So } from "./index-ApTBN0kp.js";
15
- import { D as Oo } from "./DetailsModal-B2XBWR7w.js";
16
- import { s as Eo } from "./pow-BXYLJHCq.js";
17
- import { o as Io } from "./ordinal-CHaxGJ_l.js";
18
- import { t as Bo } from "./threshold-DFfqcDMa.js";
19
- import { s as $t } from "./select-DKy99ogv.js";
20
- import { m as se } from "./proxy-BsxtcZKa.js";
1
+ import { _ as oo, m as Vt, a as Ht, j as a, c as ao } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import * as ro from "react";
3
+ import io, { useMemo as Ft, useState as S, useRef as qe, useEffect as Ue, useEffectEvent as Tt } from "react";
4
+ import { f as no, p as lo } from "./parse-Dv4of-PN.js";
5
+ import { g as so, N as co } from "./getSliderMarks-X-_goqH9.js";
6
+ import { w as mo } from "./Spinner-B2IIKg9r.js";
7
+ import { i as At } from "./index-Bwrro8-q.js";
8
+ import { i as Rt, z as po, a as uo, g as ho, b as fo, c as go, d as yo, e as vo, f as xo } from "./index-CKpKc9DR.js";
9
+ import { _ as Lt } from "./Typography-BO0gQDIT.js";
10
+ import { i as bo } from "./index-DCsFBfJ_.js";
11
+ import { n as Gt } from "./Source-QGk8vhkS.js";
12
+ import { w as wo } from "./index-w64Zl8io-ihagHOdP.js";
13
+ import { T as jo } from "./Tooltip-Bj-s__cI.js";
14
+ import { X as ko, E as Co, P as Do, e as No } from "./index-ApTBN0kp.js";
15
+ import { D as Mo } from "./DetailsModal-B2XBWR7w.js";
16
+ import { s as So } from "./pow-BXYLJHCq.js";
17
+ import { o as Oo } from "./ordinal-CHaxGJ_l.js";
18
+ import { t as Eo } from "./threshold-DFfqcDMa.js";
19
+ import { s as Wt } from "./select-DKy99ogv.js";
20
+ import { m as le } from "./proxy-BsxtcZKa.js";
21
21
  import { c as vt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
22
- import { n as zo } from "./numberFormattingFunction-DqMf_v1m.js";
23
- import { u as Po } from "./use-in-view-KOXq5Kmc.js";
24
- import { A as _o } from "./index-Cv_5q6Rb.js";
25
- import { GraphFooter as Lo } from "./GraphFooter.js";
26
- import { GraphHeader as Wo } from "./GraphHeader.js";
27
- import { Colors as De } from "./Colors.js";
28
- import { f as Ht } from "./fetchAndParseData-BAXhgTDM.js";
29
- import { a as Vo, G as $o } from "./GraphContainer-B8ZqOzKI.js";
30
- import { g as Fo } from "./getUniqValue-DsqSii6M.js";
31
- import { g as To } from "./getJenks-DTCcQSDi.js";
32
- var Ao = "Separator", Xt = "horizontal", Ro = ["horizontal", "vertical"], Jt = no.forwardRef((r, e) => {
33
- const { decorative: t, orientation: w = Xt, ...y } = r, n = Go(w) ? w : Xt, v = t ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
34
- return /* @__PURE__ */ Yt.jsx(
35
- ko.div,
22
+ import { n as Io } from "./numberFormattingFunction-DqMf_v1m.js";
23
+ import { u as Bo } from "./use-in-view-KOXq5Kmc.js";
24
+ import { A as zo } from "./index-Cv_5q6Rb.js";
25
+ import { GraphFooter as Po } from "./GraphFooter.js";
26
+ import { GraphHeader as _o } from "./GraphHeader.js";
27
+ import { Colors as ke } from "./Colors.js";
28
+ import { f as Ut } from "./fetchAndParseData-BAXhgTDM.js";
29
+ import { a as Lo, G as Wo } from "./GraphContainer-B8ZqOzKI.js";
30
+ import { g as Vo } from "./getUniqValue-DsqSii6M.js";
31
+ import { g as $o } from "./getJenks-DTCcQSDi.js";
32
+ var Fo = "Separator", qt = "horizontal", To = ["horizontal", "vertical"], Xt = ro.forwardRef((r, e) => {
33
+ const { decorative: t, orientation: w = qt, ...y } = r, l = Ao(w) ? w : qt, v = t ? { role: "none" } : { "aria-orientation": l === "vertical" ? l : void 0, role: "separator" };
34
+ return /* @__PURE__ */ Ht.jsx(
35
+ wo.div,
36
36
  {
37
- "data-orientation": n,
37
+ "data-orientation": l,
38
38
  ...v,
39
39
  ...y,
40
40
  ref: e
41
41
  }
42
42
  );
43
43
  });
44
- Jt.displayName = Ao;
45
- function Go(r) {
46
- return Ro.includes(r);
44
+ Xt.displayName = Fo;
45
+ function Ao(r) {
46
+ return To.includes(r);
47
47
  }
48
- var Kt = Jt;
49
- const Zt = lo.forwardRef((r, e) => {
50
- const t = ro.c(14);
51
- let w, y, n, v;
48
+ var Yt = Xt;
49
+ const Jt = io.forwardRef((r, e) => {
50
+ const t = oo.c(14);
51
+ let w, y, l, v;
52
52
  t[0] !== r ? ({
53
53
  className: w,
54
- variant: n,
54
+ variant: l,
55
55
  orientation: v,
56
56
  ...y
57
- } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = n, t[4] = v) : (w = t[1], y = t[2], n = t[3], v = t[4]);
58
- const x = n === void 0 ? "dark" : n, l = v === void 0 ? "horizontal" : v, h = l === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
57
+ } = r, t[0] = r, t[1] = w, t[2] = y, t[3] = l, t[4] = v) : (w = t[1], y = t[2], l = t[3], v = t[4]);
58
+ const x = l === void 0 ? "dark" : l, s = v === void 0 ? "horizontal" : v, u = s === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", D = x === "dark" ? "bg-primary-gray-600 dark:bg-primary-gray-200" : "bg-primary-gray-400 dark:bg-primary-gray-550";
59
59
  let C;
60
- t[5] !== w || t[6] !== h || t[7] !== D ? (C = Ft(h, D, w), t[5] = w, t[6] = h, t[7] = D, t[8] = C) : C = t[8];
61
- let P;
62
- return t[9] !== l || t[10] !== y || t[11] !== e || t[12] !== C ? (P = /* @__PURE__ */ Yt.jsx(Kt, { ...y, ref: e, orientation: l, className: C }), t[9] = l, t[10] = y, t[11] = e, t[12] = C, t[13] = P) : P = t[13], P;
60
+ t[5] !== w || t[6] !== u || t[7] !== D ? (C = Vt(u, D, w), t[5] = w, t[6] = u, t[7] = D, t[8] = C) : C = t[8];
61
+ let B;
62
+ return t[9] !== s || t[10] !== y || t[11] !== e || t[12] !== C ? (B = /* @__PURE__ */ Ht.jsx(Yt, { ...y, ref: e, orientation: s, className: C }), t[9] = s, t[10] = y, t[11] = e, t[12] = C, t[13] = B) : B = t[13], B;
63
63
  });
64
- Zt.displayName = Kt.displayName;
65
- function Uo(r) {
64
+ Jt.displayName = Yt.displayName;
65
+ function Ro(r) {
66
66
  const {
67
67
  data: e,
68
68
  colors: t,
69
69
  mapData: w,
70
70
  mapColorLegendTitle: y,
71
- colorDomain: n,
71
+ colorDomain: l,
72
72
  radius: v,
73
73
  height: x,
74
- width: l,
75
- scale: h,
74
+ width: s,
75
+ scale: u,
76
76
  centerPoint: D,
77
77
  tooltip: C,
78
- showLabels: P,
79
- mapBorderWidth: ce,
80
- mapBorderColor: de,
81
- mapNoDataColor: Ne,
82
- onSeriesMouseOver: U,
83
- showColorScale: Me,
78
+ showLabels: B,
79
+ mapBorderWidth: se,
80
+ mapBorderColor: ce,
81
+ mapNoDataColor: Ce,
82
+ onSeriesMouseOver: G,
83
+ showColorScale: De,
84
84
  zoomScaleExtend: He,
85
85
  zoomTranslateExtend: Xe,
86
- highlightedDataPoints: Se,
87
- onSeriesMouseClick: W,
88
- resetSelectionOnDoubleClick: Oe,
89
- detailsOnClick: q,
86
+ highlightedDataPoints: Ne,
87
+ onSeriesMouseClick: L,
88
+ resetSelectionOnDoubleClick: Me,
89
+ detailsOnClick: U,
90
90
  styles: N,
91
- classNames: H,
92
- mapProjection: ae,
93
- zoomInteraction: X,
91
+ classNames: q,
92
+ mapProjection: oe,
93
+ zoomInteraction: H,
94
94
  animate: b,
95
- dimmedOpacity: V,
96
- customLayers: me,
97
- maxRadiusValue: pe,
98
- categorical: re,
99
- dotColor: Y,
100
- collapseColorScaleByDefault: Ee,
101
- highlightedIds: ie,
102
- mapProperty: ue,
103
- dotLegendTitle: he,
104
- dotBorderColor: Ie,
105
- labelColor: Be,
106
- projectionRotate: J,
107
- rewindCoordinatesInMapData: K,
95
+ dimmedOpacity: W,
96
+ customLayers: de,
97
+ maxRadiusValue: Se,
98
+ categorical: ae,
99
+ dotColor: X,
100
+ collapseColorScaleByDefault: Oe,
101
+ highlightedIds: re,
102
+ mapProperty: me,
103
+ dotLegendTitle: pe,
104
+ dotBorderColor: Ee,
105
+ labelColor: Ie,
106
+ projectionRotate: Y,
107
+ rewindCoordinatesInMapData: J,
108
108
  overlayMapData: p,
109
109
  overlayMapBorderColor: g,
110
110
  overlayMapBorderWidth: Ye,
111
111
  locale: Je
112
- } = r, Z = At(() => K ? Ut(w, {
112
+ } = r, K = Ft(() => J ? Rt(w, {
113
113
  reverse: !0
114
- }) : w, [w, K]), Ke = At(() => !K || !p ? p : Ut(p, {
114
+ }) : w, [w, J]), Ke = Ft(() => !J || !p ? p : Rt(p, {
115
115
  reverse: !0
116
- }), [p, K]), [M, O] = S(void 0), [fe, ge] = S(Ee === void 0 ? !(l < 680) : !Ee), ye = qe(null), [$, Q] = S(void 0), [ve, _] = S(void 0), [ze, E] = S(void 0), [Pe, F] = S(void 0), f = qe(null), j = Po(f, {
116
+ }), [p, J]), [M, O] = S(void 0), [ue, he] = S(Oe === void 0 ? !(s < 680) : !Oe), fe = qe(null), [V, Z] = S(void 0), [ge, z] = S(void 0), [Be, E] = S(void 0), [ze, $] = S(void 0), f = qe(null), j = Bo(f, {
117
117
  once: b.once,
118
118
  amount: b.amount
119
- }), ne = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? Eo().domain([0, pe]).range([0.25, v]).nice() : void 0, _e = re ? Io().domain(n).range(t) : Bo().domain(n).range(t);
119
+ }), ie = qe(null), k = e.filter((o) => o.radius === void 0 || o.radius === null).length !== e.length ? So().domain([0, Se]).range([0.25, v]).nice() : void 0, Pe = ae ? Oo().domain(l).range(t) : Eo().domain(l).range(t);
120
120
  Ue(() => {
121
- const o = $t(ne.current), i = $t(f.current), u = (d) => {
122
- if (X === "noZoom") return !1;
123
- if (X === "button") return !d.type.includes("wheel");
124
- const Fe = d.type === "wheel", B = d.type.startsWith("touch"), A = d.type === "mousedown" || d.type === "mousemove";
125
- return B ? !0 : Fe ? X === "scroll" ? !0 : d.ctrlKey : A && !d.button && !d.ctrlKey;
126
- }, I = ho().scaleExtent(He).translateExtent(Xe || [[-20, -20], [l + 20, x + 20]]).filter(u).on("zoom", ({
127
- transform: d
121
+ const o = Wt(ie.current), i = Wt(f.current), h = (n) => {
122
+ if (H === "noZoom") return !1;
123
+ if (H === "button") return !n.type.includes("wheel");
124
+ const T = n.type === "wheel", $e = n.type.startsWith("touch"), Fe = n.type === "mousedown" || n.type === "mousemove";
125
+ return $e ? !0 : T ? H === "scroll" ? !0 : n.ctrlKey : Fe && !n.button && !n.ctrlKey;
126
+ }, _ = po().scaleExtent(He).translateExtent(Xe || [[-20, -20], [s + 20, x + 20]]).filter(h).on("zoom", ({
127
+ transform: n
128
128
  }) => {
129
- o.attr("transform", d);
129
+ o.attr("transform", n);
130
130
  });
131
- i.call(I), ye.current = I;
132
- }, [x, l, X]);
133
- const ee = fo(Z), T = jo(Z), Le = (ee[2] - ee[0]) * 1.15, We = (ee[3] - ee[1]) * 1.15, Ve = l * 190 / 960 * 360 / Le, $e = x * 190 / 678 * 180 / We, L = h * Math.min(Ve, $e), te = ae === "mercator" ? go().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "equalEarth" ? yo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "naturalEarth" ? vo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : ae === "orthographic" ? xo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L) : bo().rotate(J).center(D || T.geometry.coordinates).translate([l / 2, x / 2]).scale(L), oe = wo().projection(te), xe = (o) => {
134
- if (!f.current || !ye.current) return;
135
- $t(f.current).call(ye.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
131
+ i.call(_), fe.current = _;
132
+ }, [x, s, H]);
133
+ const Q = uo(K), F = bo(K), _e = (Q[2] - Q[0]) * 1.15, Le = (Q[3] - Q[1]) * 1.15, We = s * 190 / 960 * 360 / _e, Ve = x * 190 / 678 * 180 / Le, P = u * Math.min(We, Ve), ee = oe === "mercator" ? ho().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "equalEarth" ? fo().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "naturalEarth" ? go().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : oe === "orthographic" ? yo().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P) : vo().rotate(Y).center(D || F.geometry.coordinates).translate([s / 2, x / 2]).scale(P), te = xo().projection(ee), ye = (o) => {
134
+ if (!f.current || !fe.current) return;
135
+ Wt(f.current).call(fe.current.scaleBy, o === "in" ? 1.2 : 1 / 1.2);
136
136
  };
137
137
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
138
138
  /* @__PURE__ */ a.jsxs("div", { className: "relative", children: [
139
- /* @__PURE__ */ a.jsx(se.svg, { width: `${l}px`, height: `${x}px`, viewBox: `0 0 ${l} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ne, children: [
140
- me.filter((o) => o.position === "before").map((o) => o.layer),
141
- Z.features.map((o, i) => {
142
- if (!o.properties?.[ue]) return null;
143
- const u = oe(o);
144
- return u ? /* @__PURE__ */ a.jsx(se.g, { opacity: M ? V : ie.length !== 0 ? ie.indexOf(o.properties[ue]) !== -1 ? 1 : V : 1, children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
145
- stroke: de,
146
- strokeWidth: ce,
147
- fill: Ne,
139
+ /* @__PURE__ */ a.jsx(le.svg, { width: `${s}px`, height: `${x}px`, viewBox: `0 0 ${s} ${x}`, ref: f, direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { ref: ie, children: [
140
+ de.filter((o) => o.position === "before").map((o) => o.layer),
141
+ K.features.map((o, i) => {
142
+ if (!o.properties?.[me]) return null;
143
+ const h = te(o);
144
+ return h ? /* @__PURE__ */ a.jsx(le.g, { opacity: M ? W : re ? re.indexOf(o.properties[me]) !== -1 ? 1 : W : 1, children: /* @__PURE__ */ a.jsx("path", { d: h, style: {
145
+ stroke: ce,
146
+ strokeWidth: se,
147
+ fill: Ce,
148
148
  vectorEffect: "non-scaling-stroke"
149
149
  } }) }, i) : null;
150
150
  }),
151
- /* @__PURE__ */ a.jsxs(_o, { children: [
151
+ /* @__PURE__ */ a.jsxs(zo, { children: [
152
152
  e.filter((o) => o.id).map((o) => {
153
- const i = Z.features.findIndex(
153
+ const i = K.features.findIndex(
154
154
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
155
- (d) => o.id === d.properties[ue]
155
+ (n) => o.id === n.properties[me]
156
156
  );
157
157
  if (i === -1) return null;
158
- const u = oe(Z.features[i]);
159
- if (!u) return null;
160
- const I = vt(o.x) ? Ne : (
158
+ const h = te(K.features[i]);
159
+ if (!h) return null;
160
+ const _ = vt(o.x) ? Ce : (
161
161
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
162
- _e(o.x)
162
+ Pe(o.x)
163
163
  );
164
- return /* @__PURE__ */ a.jsx(se.g, { className: "undp-map-shapes", variants: {
164
+ return /* @__PURE__ */ a.jsx(le.g, { className: "undp-map-shapes", variants: {
165
165
  initial: {
166
166
  opacity: 0
167
167
  },
168
168
  whileInView: {
169
- opacity: M ? M === I ? 1 : V : ie.length !== 0 ? ie.indexOf(o.id) !== -1 ? 1 : V : 1,
169
+ opacity: M ? M === _ ? 1 : W : re ? re.indexOf(o.id) !== -1 ? 1 : W : 1,
170
170
  transition: {
171
171
  duration: b.duration
172
172
  }
@@ -176,21 +176,21 @@ function Uo(r) {
176
176
  transition: {
177
177
  duration: b.duration
178
178
  }
179
- }, onMouseEnter: (d) => {
180
- _(o), F(d.clientY), E(d.clientX), U?.(o);
181
- }, onMouseMove: (d) => {
182
- _(o), F(d.clientY), E(d.clientX);
179
+ }, onMouseEnter: (n) => {
180
+ z(o), $(n.clientY), E(n.clientX), G?.(o);
181
+ }, onMouseMove: (n) => {
182
+ z(o), $(n.clientY), E(n.clientX);
183
183
  }, onMouseLeave: () => {
184
- _(void 0), E(void 0), F(void 0), U?.(void 0);
184
+ z(void 0), E(void 0), $(void 0), G?.(void 0);
185
185
  }, onClick: () => {
186
- (W || q) && (Gt($, o) && Oe ? (Q(void 0), W?.(void 0)) : (Q(o), W?.(o)));
187
- }, children: /* @__PURE__ */ a.jsx(se.path, { d: u, variants: {
186
+ (L || U) && (At(V, o) && Me ? (Z(void 0), L?.(void 0)) : (Z(o), L?.(o)));
187
+ }, children: /* @__PURE__ */ a.jsx(le.path, { d: h, variants: {
188
188
  initial: {
189
- fill: I,
189
+ fill: _,
190
190
  opacity: 0
191
191
  },
192
192
  whileInView: {
193
- fill: I,
193
+ fill: _,
194
194
  opacity: 1,
195
195
  transition: {
196
196
  duration: b.duration
@@ -202,29 +202,29 @@ function Uo(r) {
202
202
  duration: b.duration
203
203
  }
204
204
  }, style: {
205
- stroke: de,
206
- strokeWidth: ce,
205
+ stroke: ce,
206
+ strokeWidth: se,
207
207
  vectorEffect: "non-scaling-stroke"
208
208
  } }, `${o.id}`) }, o.id);
209
209
  }),
210
210
  Ke?.features.map((o, i) => {
211
- const u = oe(o);
212
- return u ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: u, style: {
213
- stroke: g || de,
214
- strokeWidth: Ye || ce + 1,
211
+ const h = te(o);
212
+ return h ? /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("path", { d: h, style: {
213
+ stroke: g || ce,
214
+ strokeWidth: Ye || se + 1,
215
215
  fill: "none",
216
216
  pointerEvents: "none",
217
217
  vectorEffect: "non-scaling-stroke"
218
218
  } }) }, i) : null;
219
219
  }),
220
220
  e.filter((o) => !vt(o.lat) && !vt(o.long)).map((o) => {
221
- const i = te([o.long, o.lat])[0] > 0.8 * l ? -1 : 1;
222
- return /* @__PURE__ */ a.jsxs(se.g, { className: "undp-map-dots", variants: {
221
+ const i = ee([o.long, o.lat])[0] > 0.8 * s ? -1 : 1;
222
+ return /* @__PURE__ */ a.jsxs(le.g, { className: "undp-map-dots", variants: {
223
223
  initial: {
224
224
  opacity: 0
225
225
  },
226
226
  whileInView: {
227
- opacity: Se.length !== 0 ? Se.indexOf(o.label || "") !== -1 ? 1 : V : 1,
227
+ opacity: Ne ? Ne.indexOf(o.label || "") !== -1 ? 1 : W : 1,
228
228
  transition: {
229
229
  duration: b.duration
230
230
  }
@@ -234,25 +234,25 @@ function Uo(r) {
234
234
  transition: {
235
235
  duration: b.duration
236
236
  }
237
- }, onMouseEnter: (u) => {
238
- _(o), F(u.clientY), E(u.clientX), U?.(o);
239
- }, onMouseMove: (u) => {
240
- _(o), F(u.clientY), E(u.clientX);
237
+ }, onMouseEnter: (h) => {
238
+ z(o), $(h.clientY), E(h.clientX), G?.(o);
239
+ }, onMouseMove: (h) => {
240
+ z(o), $(h.clientY), E(h.clientX);
241
241
  }, onMouseLeave: () => {
242
- _(void 0), E(void 0), F(void 0), U?.(void 0);
242
+ z(void 0), E(void 0), $(void 0), G?.(void 0);
243
243
  }, onClick: () => {
244
- (W || q) && (Gt($, o) && Oe ? (Q(void 0), W?.(void 0)) : (Q(o), W?.(o)));
245
- }, transform: `translate(${te([o.long, o.lat])[0]},${te([o.long, o.lat])[1]})`, children: [
246
- /* @__PURE__ */ a.jsx(se.circle, { cx: 0, cy: 0, variants: {
244
+ (L || U) && (At(V, o) && Me ? (Z(void 0), L?.(void 0)) : (Z(o), L?.(o)));
245
+ }, transform: `translate(${ee([o.long, o.lat])[0]},${ee([o.long, o.lat])[1]})`, children: [
246
+ /* @__PURE__ */ a.jsx(le.circle, { cx: 0, cy: 0, variants: {
247
247
  initial: {
248
248
  r: 0,
249
- fill: Y,
250
- stroke: Ie || Y
249
+ fill: X,
250
+ stroke: Ee || X
251
251
  },
252
252
  whileInView: {
253
253
  r: k ? k(o.radius || 0) : v,
254
- fill: Y,
255
- stroke: Ie || Y,
254
+ fill: X,
255
+ stroke: Ee || X,
256
256
  transition: {
257
257
  duration: b.duration
258
258
  }
@@ -266,7 +266,7 @@ function Uo(r) {
266
266
  fillOpacity: 0.8,
267
267
  vectorEffect: "non-scaling-stroke"
268
268
  } }),
269
- P && o.label ? /* @__PURE__ */ a.jsx(se.text, { variants: {
269
+ B && o.label ? /* @__PURE__ */ a.jsx(le.text, { variants: {
270
270
  initial: {
271
271
  opacity: 0,
272
272
  x: i * (k ? k(o.radius || 0) : v)
@@ -283,45 +283,45 @@ function Uo(r) {
283
283
  transition: {
284
284
  duration: b.duration
285
285
  }
286
- }, y: 0, className: Ft("text-sm", H?.graphObjectValues), style: {
286
+ }, y: 0, className: Vt("text-sm", q?.graphObjectValues), style: {
287
287
  textAnchor: i === -1 ? "end" : "start",
288
- fill: Be || "#000",
288
+ fill: Ie || "#000",
289
289
  vectorEffect: "non-scaling-stroke",
290
290
  ...N?.graphObjectValues || {}
291
291
  }, dx: i * 4, dy: 5, children: o.label }) : null
292
292
  ] }, o.label || `${o.lat}-${o.long}`);
293
293
  })
294
294
  ] }),
295
- me.filter((o) => o.position === "after").map((o) => o.layer)
295
+ de.filter((o) => o.position === "after").map((o) => o.layer)
296
296
  ] }) }),
297
- Me === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Ft("absolute left-4 bottom-4 map-color-legend", H?.colorLegend), children: fe ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
297
+ De === !1 ? null : /* @__PURE__ */ a.jsx("div", { className: Vt("absolute left-4 bottom-4 map-color-legend", q?.colorLegend), children: ue ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
298
298
  /* @__PURE__ */ a.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: () => {
299
- ge(!1);
300
- }, children: /* @__PURE__ */ a.jsx(Do, {}) }),
299
+ he(!1);
300
+ }, children: /* @__PURE__ */ a.jsx(ko, {}) }),
301
301
  /* @__PURE__ */ a.jsxs("div", { className: "color-legend-box p-2 bg-[rgba(240,240,240,0.7)] dark:bg-[rgba(30,30,30,0.7)]", style: {
302
- width: re ? void 0 : "340px"
302
+ width: ae ? void 0 : "340px"
303
303
  }, children: [
304
- he && he !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
304
+ pe && pe !== "" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
305
305
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
306
306
  /* @__PURE__ */ a.jsx("div", { className: "w-3 h-3 rounded-full", style: {
307
- backgroundColor: Y
307
+ backgroundColor: X
308
308
  } }),
309
- /* @__PURE__ */ a.jsx(Vt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
309
+ /* @__PURE__ */ a.jsx(Lt, { size: "xs", marginBottom: "none", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
310
310
  display: "-webkit-box",
311
311
  WebkitLineClamp: "1",
312
312
  WebkitBoxOrient: "vertical"
313
- }, children: he })
313
+ }, children: pe })
314
314
  ] }),
315
- /* @__PURE__ */ a.jsx(qt, { size: "xl" }),
316
- /* @__PURE__ */ a.jsx(Zt, {}),
317
- /* @__PURE__ */ a.jsx(qt, { size: "xl" })
315
+ /* @__PURE__ */ a.jsx(Gt, { size: "xl" }),
316
+ /* @__PURE__ */ a.jsx(Jt, {}),
317
+ /* @__PURE__ */ a.jsx(Gt, { size: "xl" })
318
318
  ] }) : null,
319
- y && y !== "" ? /* @__PURE__ */ a.jsx(Vt, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
319
+ y && y !== "" ? /* @__PURE__ */ a.jsx(Lt, { size: "xs", marginBottom: "xs", className: "p-0 leading-normal overflow-hidden text-primary-gray-700 dark:text-primary-gray-300", style: {
320
320
  display: "-webkit-box",
321
321
  WebkitLineClamp: "1",
322
322
  WebkitBoxOrient: "vertical"
323
323
  }, children: y }) : null,
324
- re ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: n.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
324
+ ae ? /* @__PURE__ */ a.jsx("div", { className: "flex flex-col gap-3", children: l.map((o, i) => /* @__PURE__ */ a.jsxs("div", { className: "flex gap-2 items-center", onMouseOver: () => {
325
325
  O(t[i % t.length]);
326
326
  }, onMouseLeave: () => {
327
327
  O(void 0);
@@ -329,9 +329,9 @@ function Uo(r) {
329
329
  /* @__PURE__ */ a.jsx("div", { className: "w-2 h-2 rounded-full", style: {
330
330
  backgroundColor: t[i % t.length]
331
331
  } }),
332
- /* @__PURE__ */ a.jsx(Vt, { size: "sm", marginBottom: "none", leading: "none", children: o })
332
+ /* @__PURE__ */ a.jsx(Lt, { size: "sm", marginBottom: "none", leading: "none", children: o })
333
333
  ] }, i)) }) : /* @__PURE__ */ a.jsx("svg", { width: "100%", viewBox: "0 0 320 30", direction: "ltr", children: /* @__PURE__ */ a.jsxs("g", { children: [
334
- n.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
334
+ l.map((o, i) => /* @__PURE__ */ a.jsxs("g", { onMouseOver: () => {
335
335
  O(t[i]);
336
336
  }, onMouseLeave: () => {
337
337
  O(void 0);
@@ -344,196 +344,193 @@ function Uo(r) {
344
344
  } }),
345
345
  /* @__PURE__ */ a.jsx("text", { x: (i + 1) * 320 / t.length, y: 25, className: "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs", style: {
346
346
  textAnchor: "middle"
347
- }, children: zo(o, void 0, void 0, void 0, void 0, Je) })
347
+ }, children: Io(o, void 0, void 0, void 0, void 0, Je) })
348
348
  ] }, i)),
349
349
  /* @__PURE__ */ a.jsx("g", { children: /* @__PURE__ */ a.jsx("rect", { onMouseOver: () => {
350
- O(t[n.length]);
350
+ O(t[l.length]);
351
351
  }, onMouseLeave: () => {
352
352
  O(void 0);
353
- }, x: n.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${M === t[n.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
354
- fill: t[n.length],
355
- ...M === t[n.length] ? {} : {
356
- stroke: t[n.length]
353
+ }, x: l.length * 320 / t.length + 1, y: 1, width: 320 / t.length - 2, height: 8, className: `cursor-pointer ${M === t[l.length] ? "stroke-1 stroke-primary-gray-700 dark:stroke-primary-gray-300" : ""}`, style: {
354
+ fill: t[l.length],
355
+ ...M === t[l.length] ? {} : {
356
+ stroke: t[l.length]
357
357
  }
358
358
  } }) })
359
359
  ] }) })
360
360
  ] })
361
361
  ] }) : /* @__PURE__ */ a.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: () => {
362
- ge(!0);
363
- }, children: /* @__PURE__ */ a.jsx(No, {}) }) }),
364
- X === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
365
- /* @__PURE__ */ a.jsx("button", { onClick: () => xe("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: "+" }),
366
- /* @__PURE__ */ a.jsx("button", { onClick: () => xe("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: "–" })
362
+ he(!0);
363
+ }, children: /* @__PURE__ */ a.jsx(Co, {}) }) }),
364
+ H === "button" && /* @__PURE__ */ a.jsxs("div", { className: "absolute left-4 top-4 flex flex-col zoom-buttons", children: [
365
+ /* @__PURE__ */ a.jsx("button", { onClick: () => ye("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: "+" }),
366
+ /* @__PURE__ */ a.jsx("button", { onClick: () => ye("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: "–" })
367
367
  ] })
368
368
  ] }),
369
- q && $ !== void 0 ? /* @__PURE__ */ a.jsx(Oo, { body: q, data: $, setData: Q, className: H?.modal }) : null,
370
- ve && C && ze && Pe ? /* @__PURE__ */ a.jsx(Co, { data: ve, body: C, xPos: ze, yPos: Pe, backgroundStyle: N?.tooltip, className: H?.tooltip }) : null
369
+ U && V !== void 0 ? /* @__PURE__ */ a.jsx(Mo, { body: U, data: V, setData: Z, className: q?.modal }) : null,
370
+ ge && C && Be && ze ? /* @__PURE__ */ a.jsx(jo, { data: ge, body: C, xPos: Be, yPos: ze, backgroundStyle: N?.tooltip, className: q?.tooltip }) : null
371
371
  ] });
372
372
  }
373
- function za(r) {
374
- const e = io.c(145), {
373
+ function Ia(r) {
374
+ const e = ao.c(143), {
375
375
  data: t,
376
376
  mapData: w,
377
377
  graphTitle: y,
378
- colors: n,
378
+ colors: l,
379
379
  sources: v,
380
380
  graphDescription: x,
381
- height: l,
382
- width: h,
381
+ height: s,
382
+ width: u,
383
383
  footNote: D,
384
384
  mapColorLegendTitle: C,
385
- colorDomain: P,
386
- choroplethScaleType: ce,
387
- radius: de,
388
- scale: Ne,
389
- centerPoint: U,
390
- padding: Me,
385
+ colorDomain: B,
386
+ choroplethScaleType: se,
387
+ radius: ce,
388
+ scale: Ce,
389
+ centerPoint: G,
390
+ padding: De,
391
391
  mapBorderWidth: He,
392
392
  mapNoDataColor: Xe,
393
- backgroundColor: Se,
394
- showLabels: W,
395
- mapBorderColor: Oe,
396
- tooltip: q,
393
+ backgroundColor: Ne,
394
+ showLabels: L,
395
+ mapBorderColor: Me,
396
+ tooltip: U,
397
397
  relativeHeight: N,
398
- onSeriesMouseOver: H,
399
- isWorldMap: ae,
400
- showColorScale: X,
398
+ onSeriesMouseOver: q,
399
+ isWorldMap: oe,
400
+ showColorScale: H,
401
401
  zoomScaleExtend: b,
402
- zoomTranslateExtend: V,
403
- graphID: me,
404
- highlightedDataPoints: pe,
405
- onSeriesMouseClick: re,
406
- graphDownload: Y,
407
- dataDownload: Ee,
408
- showAntarctica: ie,
409
- language: ue,
410
- minHeight: he,
411
- theme: Ie,
412
- ariaLabel: Be,
413
- resetSelectionOnDoubleClick: J,
414
- detailsOnClick: K,
402
+ zoomTranslateExtend: W,
403
+ graphID: de,
404
+ highlightedDataPoints: Se,
405
+ onSeriesMouseClick: ae,
406
+ graphDownload: X,
407
+ dataDownload: Oe,
408
+ showAntarctica: re,
409
+ language: me,
410
+ minHeight: pe,
411
+ theme: Ee,
412
+ ariaLabel: Ie,
413
+ resetSelectionOnDoubleClick: Y,
414
+ detailsOnClick: J,
415
415
  styles: p,
416
416
  classNames: g,
417
417
  mapProjection: Ye,
418
418
  zoomInteraction: Je,
419
- animate: Z,
419
+ animate: K,
420
420
  dimmedOpacity: Ke,
421
421
  customLayers: M,
422
422
  maxRadiusValue: O,
423
- timeline: fe,
424
- collapseColorScaleByDefault: ge,
425
- dotColor: ye,
426
- highlightedIds: $,
427
- mapProperty: Q,
428
- dotLegendTitle: ve,
429
- dotBorderColor: _,
430
- labelColor: ze,
423
+ timeline: ue,
424
+ collapseColorScaleByDefault: he,
425
+ dotColor: fe,
426
+ highlightedIds: V,
427
+ mapProperty: Z,
428
+ dotLegendTitle: ge,
429
+ dotBorderColor: z,
430
+ labelColor: Be,
431
431
  projectionRotate: E,
432
- rewindCoordinatesInMapData: Pe,
433
- locale: F,
432
+ rewindCoordinatesInMapData: ze,
433
+ locale: $,
434
434
  mapOverlay: f
435
- } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ne = D === 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." : D, k = ce === void 0 ? "threshold" : ce, _e = de === void 0 ? 5 : de, ee = Ne === void 0 ? 0.95 : Ne, T = He === void 0 ? 0.5 : He, Le = Xe === void 0 ? De.light.graphNoData : Xe, We = Se === void 0 ? !1 : Se, Ve = W === void 0 ? !1 : W, $e = Oe === void 0 ? De.light.grays["gray-500"] : Oe, L = ae === void 0 ? !0 : ae, te = X === void 0 ? !0 : X;
436
- let oe;
437
- e[0] !== b ? (oe = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = oe) : oe = e[1];
438
- const xe = oe;
439
- let o;
440
- e[2] !== pe ? (o = pe === void 0 ? [] : pe, e[2] = pe, e[3] = o) : o = e[3];
441
- const i = o, u = Y === void 0 ? !1 : Y, I = Ee === void 0 ? !1 : Ee, d = ie === void 0 ? !1 : ie, Fe = ue === void 0 ? "en" : ue, B = he === void 0 ? 0 : he, A = Ie === void 0 ? "light" : Ie, xt = J === void 0 ? !0 : J, bt = Ye === void 0 ? "naturalEarth" : Ye, wt = Je === void 0 ? "button" : Je, Ze = Z === void 0 ? !1 : Z, jt = Ke === void 0 ? 0.3 : Ke;
435
+ } = r, j = w === void 0 ? "https://raw.githubusercontent.com/UNDP-Data/dv-country-geojson/refs/heads/main/worldMap-v2.json" : w, ie = D === 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." : D, k = se === void 0 ? "threshold" : se, Pe = ce === void 0 ? 5 : ce, Q = Ce === void 0 ? 0.95 : Ce, F = He === void 0 ? 0.5 : He, _e = Xe === void 0 ? ke.light.graphNoData : Xe, Le = Ne === void 0 ? !1 : Ne, We = L === void 0 ? !1 : L, Ve = Me === void 0 ? ke.light.grays["gray-500"] : Me, P = oe === void 0 ? !0 : oe, ee = H === void 0 ? !0 : H;
436
+ let te;
437
+ e[0] !== b ? (te = b === void 0 ? [0.8, 6] : b, e[0] = b, e[1] = te) : te = e[1];
438
+ const ye = te, o = X === void 0 ? !1 : X, i = Oe === void 0 ? !1 : Oe, h = re === void 0 ? !1 : re, _ = me === void 0 ? "en" : me, n = pe === void 0 ? 0 : pe, T = Ee === void 0 ? "light" : Ee, $e = Y === void 0 ? !0 : Y, Fe = Ye === void 0 ? "naturalEarth" : Ye, xt = Je === void 0 ? "button" : Je, Ze = K === void 0 ? !1 : K, bt = Ke === void 0 ? 0.3 : Ke;
442
439
  let Qe;
443
- e[4] !== M ? (Qe = M === void 0 ? [] : M, e[4] = M, e[5] = Qe) : Qe = e[5];
444
- const kt = Qe;
440
+ e[2] !== M ? (Qe = M === void 0 ? [] : M, e[2] = M, e[3] = Qe) : Qe = e[3];
441
+ const wt = Qe;
445
442
  let et;
446
- e[6] !== fe ? (et = fe === void 0 ? {
443
+ e[4] !== ue ? (et = ue === void 0 ? {
447
444
  enabled: !1,
448
445
  autoplay: !1,
449
446
  showOnlyActiveDate: !0
450
- } : fe, e[6] = fe, e[7] = et) : et = e[7];
451
- const s = et, Ct = ye === void 0 ? De.primaryColors["blue-600"] : ye;
447
+ } : ue, e[4] = ue, e[5] = et) : et = e[5];
448
+ const c = et, jt = fe === void 0 ? ke.primaryColors["blue-600"] : fe;
452
449
  let tt;
453
- e[8] !== $ ? (tt = $ === void 0 ? [] : $, e[8] = $, e[9] = tt) : tt = e[9];
454
- const Dt = tt, Nt = Q === void 0 ? "ISO3" : Q, Mt = ze === void 0 ? De.primaryColors["blue-600"] : ze;
450
+ e[6] !== V ? (tt = V === void 0 ? [] : V, e[6] = V, e[7] = tt) : tt = e[7];
451
+ const kt = tt, Ct = Z === void 0 ? "ISO3" : Z, Dt = Be === void 0 ? ke.primaryColors["blue-600"] : Be;
455
452
  let ot;
456
- e[10] !== E ? (ot = E === void 0 ? [0, 0] : E, e[10] = E, e[11] = ot) : ot = e[11];
457
- const St = ot, Ot = Pe === void 0 ? !0 : Pe, Et = F === void 0 ? "en" : F, [le, Qt] = S(0), [Te, eo] = S(0), [R, to] = S(s.autoplay);
453
+ e[8] !== E ? (ot = E === void 0 ? [0, 0] : E, e[8] = E, e[9] = ot) : ot = e[9];
454
+ const Nt = ot, Mt = ze === void 0 ? !0 : ze, St = $ === void 0 ? "en" : $, [ne, Kt] = S(0), [Te, Zt] = S(0), [A, Qt] = S(c.autoplay);
458
455
  let Ae;
459
- if (e[12] !== t || e[13] !== s.dateFormat) {
460
- let c;
461
- e[15] !== s.dateFormat ? (c = (z) => co(`${z.date}`, s.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[15] = s.dateFormat, e[16] = c) : c = e[16], Ae = [...new Set(t.filter(oa).map(c))], Ae.sort(ta), e[12] = t, e[13] = s.dateFormat, e[14] = Ae;
456
+ if (e[10] !== t || e[11] !== c.dateFormat) {
457
+ let d;
458
+ e[13] !== c.dateFormat ? (d = (I) => lo(`${I.date}`, c.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), e[13] = c.dateFormat, e[14] = d) : d = e[14], Ae = [...new Set(t.filter(ea).map(d))], Ae.sort(Qo), e[10] = t, e[11] = c.dateFormat, e[12] = Ae;
462
459
  } else
463
- Ae = e[14];
464
- const m = Ae, [G, It] = S(s.autoplay ? 0 : m.length - 1), [be, oo] = S(void 0), [Bt, ao] = S(void 0), zt = qe(null), Tt = qe(null);
460
+ Ae = e[12];
461
+ const m = Ae, [R, Ot] = S(c.autoplay ? 0 : m.length - 1), [ve, eo] = S(void 0), [Et, to] = S(void 0), It = qe(null), $t = qe(null);
465
462
  let at;
466
- e[17] !== k || e[18] !== P || e[19] !== n?.length || e[20] !== t ? (at = P || (k === "categorical" ? Fo(t, "x") : To(t.map(ea), n?.length || 4)), e[17] = k, e[18] = P, e[19] = n?.length, e[20] = t, e[21] = at) : at = e[21];
463
+ e[15] !== k || e[16] !== B || e[17] !== l?.length || e[18] !== t ? (at = B || (k === "categorical" ? Vo(t, "x") : $o(t.map(Zo), l?.length || 4)), e[15] = k, e[16] = B, e[17] = l?.length, e[18] = t, e[19] = at) : at = e[19];
467
464
  const Re = at;
468
465
  let rt, it;
469
- e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rt = () => {
470
- const c = new ResizeObserver((z) => {
471
- Qt(z[0].target.clientWidth || 620), eo(z[0].target.clientHeight || 480);
466
+ e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rt = () => {
467
+ const d = new ResizeObserver((I) => {
468
+ Kt(I[0].target.clientWidth || 620), Zt(I[0].target.clientHeight || 480);
472
469
  });
473
- return zt.current && c.observe(zt.current), () => c.disconnect();
474
- }, it = [], e[22] = rt, e[23] = it) : (rt = e[22], it = e[23]), Ue(rt, it);
470
+ return It.current && d.observe(It.current), () => d.disconnect();
471
+ }, it = [], e[20] = rt, e[21] = it) : (rt = e[20], it = e[21]), Ue(rt, it);
475
472
  let nt;
476
- e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nt = (c) => {
477
- oo(c);
478
- }, e[24] = nt) : nt = e[24];
479
- const lt = Rt(nt);
473
+ e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nt = (d) => {
474
+ eo(d);
475
+ }, e[22] = nt) : nt = e[22];
476
+ const lt = Tt(nt);
480
477
  let st;
481
- e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (st = (c) => {
482
- ao(c);
483
- }, e[25] = st) : st = e[25];
484
- const Ge = Rt(st);
478
+ e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (st = (d) => {
479
+ to(d);
480
+ }, e[23] = st) : st = e[23];
481
+ const Ge = Tt(st);
485
482
  let ct;
486
- e[26] !== j || e[27] !== lt ? (ct = () => {
487
- typeof j == "string" ? Ht(j).then((z) => {
488
- lt(z);
483
+ e[24] !== j || e[25] !== lt ? (ct = () => {
484
+ typeof j == "string" ? Ut(j).then((I) => {
485
+ lt(I);
489
486
  }) : lt(j);
490
- }, e[26] = j, e[27] = lt, e[28] = ct) : ct = e[28];
487
+ }, e[24] = j, e[25] = lt, e[26] = ct) : ct = e[26];
491
488
  let dt;
492
- e[29] !== j ? (dt = [j], e[29] = j, e[30] = dt) : dt = e[30], Ue(ct, dt);
489
+ e[27] !== j ? (dt = [j], e[27] = j, e[28] = dt) : dt = e[28], Ue(ct, dt);
493
490
  let mt;
494
- e[31] !== f?.mapData || e[32] !== Ge ? (mt = () => {
495
- f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ht(f?.mapData).then((z) => {
496
- Ge(z);
491
+ e[29] !== f?.mapData || e[30] !== Ge ? (mt = () => {
492
+ f?.mapData || Ge(void 0), typeof f?.mapData == "string" ? Ut(f?.mapData).then((I) => {
493
+ Ge(I);
497
494
  }) : Ge(f?.mapData);
498
- }, e[31] = f?.mapData, e[32] = Ge, e[33] = mt) : mt = e[33];
499
- const Pt = f?.mapData;
495
+ }, e[29] = f?.mapData, e[30] = Ge, e[31] = mt) : mt = e[31];
496
+ const Bt = f?.mapData;
500
497
  let pt;
501
- e[34] !== Pt ? (pt = [Pt], e[34] = Pt, e[35] = pt) : pt = e[35], Ue(mt, pt);
498
+ e[32] !== Bt ? (pt = [Bt], e[32] = Bt, e[33] = pt) : pt = e[33], Ue(mt, pt);
502
499
  let ut, ht;
503
- e[36] !== R || e[37] !== s.speed || e[38] !== m ? (ut = () => {
504
- const c = setInterval(() => {
505
- It((z) => z < m.length - 1 ? z + 1 : 0);
506
- }, (s.speed || 2) * 1e3);
507
- return R || clearInterval(c), () => clearInterval(c);
508
- }, ht = [m, R, s.speed], e[36] = R, e[37] = s.speed, e[38] = m, e[39] = ut, e[40] = ht) : (ut = e[39], ht = e[40]), Ue(ut, ht);
509
- const _t = s.dateFormat || "yyyy";
500
+ e[34] !== A || e[35] !== c.speed || e[36] !== m ? (ut = () => {
501
+ const d = setInterval(() => {
502
+ Ot((I) => I < m.length - 1 ? I + 1 : 0);
503
+ }, (c.speed || 2) * 1e3);
504
+ return A || clearInterval(d), () => clearInterval(d);
505
+ }, ht = [m, A, c.speed], e[34] = A, e[35] = c.speed, e[36] = m, e[37] = ut, e[38] = ht) : (ut = e[37], ht = e[38]), Ue(ut, ht);
506
+ const zt = c.dateFormat || "yyyy";
510
507
  let ft;
511
- e[41] !== G || e[42] !== _t || e[43] !== s.showOnlyActiveDate || e[44] !== m ? (ft = mo(m, G, s.showOnlyActiveDate, _t), e[41] = G, e[42] = _t, e[43] = s.showOnlyActiveDate, e[44] = m, e[45] = ft) : ft = e[45];
512
- const gt = ft, Lt = g?.graphContainer, Wt = p?.graphContainer;
513
- let we;
514
- e[46] !== g?.description || e[47] !== g?.title || e[48] !== t || e[49] !== I || e[50] !== x || e[51] !== u || e[52] !== y || e[53] !== p?.description || e[54] !== p?.title || e[55] !== h ? (we = y || x || u || I ? /* @__PURE__ */ a.jsx(Wo, { styles: {
508
+ e[39] !== R || e[40] !== zt || e[41] !== c.showOnlyActiveDate || e[42] !== m ? (ft = so(m, R, c.showOnlyActiveDate, zt), e[39] = R, e[40] = zt, e[41] = c.showOnlyActiveDate, e[42] = m, e[43] = ft) : ft = e[43];
509
+ const gt = ft, Pt = g?.graphContainer, _t = p?.graphContainer;
510
+ let xe;
511
+ e[44] !== g?.description || e[45] !== g?.title || e[46] !== t || e[47] !== i || e[48] !== x || e[49] !== o || e[50] !== y || e[51] !== p?.description || e[52] !== p?.title || e[53] !== u ? (xe = y || x || o || i ? /* @__PURE__ */ a.jsx(_o, { styles: {
515
512
  title: p?.title,
516
513
  description: p?.description
517
514
  }, classNames: {
518
515
  title: g?.title,
519
516
  description: g?.description
520
- }, graphTitle: y, graphDescription: x, width: h, graphDownload: u ? Tt : void 0, dataDownload: I ? t.map(Qo).filter(Zo).length > 0 ? t.map(Ko).filter(Jo) : t.filter(Yo) : null }) : null, e[46] = g?.description, e[47] = g?.title, e[48] = t, e[49] = I, e[50] = x, e[51] = u, e[52] = y, e[53] = p?.description, e[54] = p?.title, e[55] = h, e[56] = we) : we = e[56];
521
- let je;
522
- e[57] !== G || e[58] !== gt || e[59] !== R || e[60] !== s.enabled || e[61] !== m ? (je = s.enabled && m.length > 0 && gt ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
517
+ }, graphTitle: y, graphDescription: x, width: u, graphDownload: o ? $t : void 0, dataDownload: i ? t.map(Ko).filter(Jo).length > 0 ? t.map(Yo).filter(Xo) : t.filter(Ho) : null }) : null, e[44] = g?.description, e[45] = g?.title, e[46] = t, e[47] = i, e[48] = x, e[49] = o, e[50] = y, e[51] = p?.description, e[52] = p?.title, e[53] = u, e[54] = xe) : xe = e[54];
518
+ let be;
519
+ e[55] !== R || e[56] !== gt || e[57] !== A || e[58] !== c.enabled || e[59] !== m ? (be = c.enabled && m.length > 0 && gt ? /* @__PURE__ */ a.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
523
520
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
524
- to(!R);
525
- }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": R ? "Click to pause animation" : "Click to play animation", children: R ? /* @__PURE__ */ a.jsx(Mo, {}) : /* @__PURE__ */ a.jsx(So, {}) }),
526
- /* @__PURE__ */ a.jsx(po, { min: m[0], max: m[m.length - 1], marks: gt, step: null, defaultValue: m[m.length - 1], value: m[G], onChangeComplete: (c) => {
527
- It(m.indexOf(c));
528
- }, onChange: (c) => {
529
- It(m.indexOf(c));
521
+ Qt(!A);
522
+ }, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": A ? "Click to pause animation" : "Click to play animation", children: A ? /* @__PURE__ */ a.jsx(Do, {}) : /* @__PURE__ */ a.jsx(No, {}) }),
523
+ /* @__PURE__ */ a.jsx(co, { min: m[0], max: m[m.length - 1], marks: gt, step: null, defaultValue: m[m.length - 1], value: m[R], onChangeComplete: (d) => {
524
+ Ot(m.indexOf(d));
525
+ }, onChange: (d) => {
526
+ Ot(m.indexOf(d));
530
527
  }, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
531
- ] }) : null, e[57] = G, e[58] = gt, e[59] = R, e[60] = s.enabled, e[61] = m, e[62] = je) : je = e[62];
532
- let ke;
533
- e[63] !== Ze || e[64] !== U || e[65] !== k || e[66] !== g || e[67] !== ge || e[68] !== n || e[69] !== kt || e[70] !== t || e[71] !== K || e[72] !== jt || e[73] !== Re || e[74] !== _ || e[75] !== Ct || e[76] !== ve || e[77] !== l || e[78] !== i || e[79] !== Dt || e[80] !== G || e[81] !== L || e[82] !== Mt || e[83] !== Et || e[84] !== $e || e[85] !== T || e[86] !== C || e[87] !== Le || e[88] !== f?.mapBorderColor || e[89] !== f?.mapBorderWidth || e[90] !== bt || e[91] !== Nt || e[92] !== be || e[93] !== O || e[94] !== B || e[95] !== re || e[96] !== H || e[97] !== Bt || e[98] !== St || e[99] !== _e || e[100] !== N || e[101] !== xt || e[102] !== Ot || e[103] !== ee || e[104] !== d || e[105] !== te || e[106] !== Ve || e[107] !== p || e[108] !== Te || e[109] !== le || e[110] !== A || e[111] !== s.dateFormat || e[112] !== s.enabled || e[113] !== q || e[114] !== m || e[115] !== h || e[116] !== wt || e[117] !== xe || e[118] !== V ? (ke = /* @__PURE__ */ a.jsx(Vo, { ref: zt, children: le && Te && be ? /* @__PURE__ */ a.jsx(Uo, { dotColor: Ct, data: t.filter((c) => s.enabled ? `${c.date}` === so(new Date(m[G]), s.dateFormat || "yyyy") : c), mapData: d ? be : {
534
- ...be,
535
- features: be.features.filter(Xo)
536
- }, overlayMapData: Bt, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: le, height: Te, scale: ee, centerPoint: U, colors: n || (k === "categorical" ? De[A].sequentialColors[`neutralColorsx0${Re.length}`] : De[A].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: _e, categorical: k === "categorical", mapBorderWidth: T, mapNoDataColor: Le, mapBorderColor: $e, tooltip: q, onSeriesMouseOver: H, showLabels: Ve, isWorldMap: L, showColorScale: te, zoomScaleExtend: xe, zoomTranslateExtend: V, onSeriesMouseClick: re, highlightedDataPoints: i, resetSelectionOnDoubleClick: xt, styles: p, classNames: g, zoomInteraction: wt, detailsOnClick: K, mapProjection: bt || (L ? "naturalEarth" : "mercator"), animate: Ze === !0 ? {
528
+ ] }) : null, e[55] = R, e[56] = gt, e[57] = A, e[58] = c.enabled, e[59] = m, e[60] = be) : be = e[60];
529
+ let we;
530
+ e[61] !== Ze || e[62] !== G || e[63] !== k || e[64] !== g || e[65] !== he || e[66] !== l || e[67] !== wt || e[68] !== t || e[69] !== J || e[70] !== bt || e[71] !== Re || e[72] !== z || e[73] !== jt || e[74] !== ge || e[75] !== s || e[76] !== Se || e[77] !== kt || e[78] !== R || e[79] !== P || e[80] !== Dt || e[81] !== St || e[82] !== Ve || e[83] !== F || e[84] !== C || e[85] !== _e || e[86] !== f?.mapBorderColor || e[87] !== f?.mapBorderWidth || e[88] !== Fe || e[89] !== Ct || e[90] !== ve || e[91] !== O || e[92] !== n || e[93] !== ae || e[94] !== q || e[95] !== Et || e[96] !== Nt || e[97] !== Pe || e[98] !== N || e[99] !== $e || e[100] !== Mt || e[101] !== Q || e[102] !== h || e[103] !== ee || e[104] !== We || e[105] !== p || e[106] !== Te || e[107] !== ne || e[108] !== T || e[109] !== c.dateFormat || e[110] !== c.enabled || e[111] !== U || e[112] !== m || e[113] !== u || e[114] !== xt || e[115] !== ye || e[116] !== W ? (we = /* @__PURE__ */ a.jsx(Lo, { ref: It, children: ne && Te && ve ? /* @__PURE__ */ a.jsx(Ro, { dotColor: jt, data: t.filter((d) => c.enabled ? `${d.date}` === no(new Date(m[R]), c.dateFormat || "yyyy") : d), mapData: h ? ve : {
531
+ ...ve,
532
+ features: ve.features.filter(qo)
533
+ }, overlayMapData: Et, overlayMapBorderColor: f?.mapBorderColor, overlayMapBorderWidth: f?.mapBorderWidth, colorDomain: Re, width: ne, height: Te, scale: Q, centerPoint: G, colors: l || (k === "categorical" ? ke[T].sequentialColors[`neutralColorsx0${Re.length}`] : ke[T].sequentialColors[`neutralColorsx0${Re.length + 1}`]), mapColorLegendTitle: C, radius: Pe, categorical: k === "categorical", mapBorderWidth: F, mapNoDataColor: _e, mapBorderColor: Ve, tooltip: U, onSeriesMouseOver: q, showLabels: We, isWorldMap: P, showColorScale: ee, zoomScaleExtend: ye, zoomTranslateExtend: W, onSeriesMouseClick: ae, highlightedDataPoints: Se, resetSelectionOnDoubleClick: $e, styles: p, classNames: g, zoomInteraction: xt, detailsOnClick: J, mapProjection: Fe || (P ? "naturalEarth" : "mercator"), animate: Ze === !0 ? {
537
534
  duration: 0.5,
538
535
  once: !0,
539
536
  amount: 0.5
@@ -541,59 +538,59 @@ function za(r) {
541
538
  duration: 0,
542
539
  once: !0,
543
540
  amount: 0
544
- }, dimmedOpacity: jt, customLayers: kt, maxRadiusValue: vt(O) ? Math.max(...t.map(Ho).filter(qo)) : O, collapseColorScaleByDefault: ge, highlightedIds: Dt, mapProperty: Nt, dotLegendTitle: ve, dotBorderColor: _, labelColor: Mt, projectionRotate: St, rewindCoordinatesInMapData: Ot, locale: Et }) : /* @__PURE__ */ a.jsx("div", { style: {
545
- height: `${Math.max(B, l || (N ? B ? (h || le) * N > B ? (h || le) * N : B : (h || le) * N : Te))}px`
546
- }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(uo, { "aria-label": "Loading graph" }) }) }), e[63] = Ze, e[64] = U, e[65] = k, e[66] = g, e[67] = ge, e[68] = n, e[69] = kt, e[70] = t, e[71] = K, e[72] = jt, e[73] = Re, e[74] = _, e[75] = Ct, e[76] = ve, e[77] = l, e[78] = i, e[79] = Dt, e[80] = G, e[81] = L, e[82] = Mt, e[83] = Et, e[84] = $e, e[85] = T, e[86] = C, e[87] = Le, e[88] = f?.mapBorderColor, e[89] = f?.mapBorderWidth, e[90] = bt, e[91] = Nt, e[92] = be, e[93] = O, e[94] = B, e[95] = re, e[96] = H, e[97] = Bt, e[98] = St, e[99] = _e, e[100] = N, e[101] = xt, e[102] = Ot, e[103] = ee, e[104] = d, e[105] = te, e[106] = Ve, e[107] = p, e[108] = Te, e[109] = le, e[110] = A, e[111] = s.dateFormat, e[112] = s.enabled, e[113] = q, e[114] = m, e[115] = h, e[116] = wt, e[117] = xe, e[118] = V, e[119] = ke) : ke = e[119];
547
- let Ce;
548
- e[120] !== g?.footnote || e[121] !== g?.source || e[122] !== ne || e[123] !== v || e[124] !== p?.footnote || e[125] !== p?.source || e[126] !== h ? (Ce = v || ne ? /* @__PURE__ */ a.jsx(Lo, { styles: {
541
+ }, dimmedOpacity: bt, customLayers: wt, maxRadiusValue: vt(O) ? Math.max(...t.map(Uo).filter(Go)) : O, collapseColorScaleByDefault: he, highlightedIds: kt, mapProperty: Ct, dotLegendTitle: ge, dotBorderColor: z, labelColor: Dt, projectionRotate: Nt, rewindCoordinatesInMapData: Mt, locale: St }) : /* @__PURE__ */ a.jsx("div", { style: {
542
+ height: `${Math.max(n, s || (N ? n ? (u || ne) * N > n ? (u || ne) * N : n : (u || ne) * N : Te))}px`
543
+ }, className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(mo, { "aria-label": "Loading graph" }) }) }), e[61] = Ze, e[62] = G, e[63] = k, e[64] = g, e[65] = he, e[66] = l, e[67] = wt, e[68] = t, e[69] = J, e[70] = bt, e[71] = Re, e[72] = z, e[73] = jt, e[74] = ge, e[75] = s, e[76] = Se, e[77] = kt, e[78] = R, e[79] = P, e[80] = Dt, e[81] = St, e[82] = Ve, e[83] = F, e[84] = C, e[85] = _e, e[86] = f?.mapBorderColor, e[87] = f?.mapBorderWidth, e[88] = Fe, e[89] = Ct, e[90] = ve, e[91] = O, e[92] = n, e[93] = ae, e[94] = q, e[95] = Et, e[96] = Nt, e[97] = Pe, e[98] = N, e[99] = $e, e[100] = Mt, e[101] = Q, e[102] = h, e[103] = ee, e[104] = We, e[105] = p, e[106] = Te, e[107] = ne, e[108] = T, e[109] = c.dateFormat, e[110] = c.enabled, e[111] = U, e[112] = m, e[113] = u, e[114] = xt, e[115] = ye, e[116] = W, e[117] = we) : we = e[117];
544
+ let je;
545
+ e[118] !== g?.footnote || e[119] !== g?.source || e[120] !== ie || e[121] !== v || e[122] !== p?.footnote || e[123] !== p?.source || e[124] !== u ? (je = v || ie ? /* @__PURE__ */ a.jsx(Po, { styles: {
549
546
  footnote: p?.footnote,
550
547
  source: p?.source
551
548
  }, classNames: {
552
549
  footnote: g?.footnote,
553
550
  source: g?.source
554
- }, sources: v, footNote: ne, width: h }) : null, e[120] = g?.footnote, e[121] = g?.source, e[122] = ne, e[123] = v, e[124] = p?.footnote, e[125] = p?.source, e[126] = h, e[127] = Ce) : Ce = e[127];
551
+ }, sources: v, footNote: ie, width: u }) : null, e[118] = g?.footnote, e[119] = g?.source, e[120] = ie, e[121] = v, e[122] = p?.footnote, e[123] = p?.source, e[124] = u, e[125] = je) : je = e[125];
555
552
  let yt;
556
- return e[128] !== Be || e[129] !== We || e[130] !== me || e[131] !== l || e[132] !== Fe || e[133] !== B || e[134] !== Me || e[135] !== N || e[136] !== Lt || e[137] !== Wt || e[138] !== we || e[139] !== je || e[140] !== ke || e[141] !== Ce || e[142] !== A || e[143] !== h ? (yt = /* @__PURE__ */ a.jsxs($o, { className: Lt, style: Wt, id: me, ref: Tt, "aria-label": Be, backgroundColor: We, theme: A, language: Fe, minHeight: B, width: h, height: l, relativeHeight: N, padding: Me, children: [
553
+ return e[126] !== Ie || e[127] !== Le || e[128] !== de || e[129] !== s || e[130] !== _ || e[131] !== n || e[132] !== De || e[133] !== N || e[134] !== Pt || e[135] !== _t || e[136] !== xe || e[137] !== be || e[138] !== we || e[139] !== je || e[140] !== T || e[141] !== u ? (yt = /* @__PURE__ */ a.jsxs(Wo, { className: Pt, style: _t, id: de, ref: $t, "aria-label": Ie, backgroundColor: Le, theme: T, language: _, minHeight: n, width: u, height: s, relativeHeight: N, padding: De, children: [
554
+ xe,
555
+ be,
557
556
  we,
558
- je,
559
- ke,
560
- Ce
561
- ] }), e[128] = Be, e[129] = We, e[130] = me, e[131] = l, e[132] = Fe, e[133] = B, e[134] = Me, e[135] = N, e[136] = Lt, e[137] = Wt, e[138] = we, e[139] = je, e[140] = ke, e[141] = Ce, e[142] = A, e[143] = h, e[144] = yt) : yt = e[144], yt;
557
+ je
558
+ ] }), e[126] = Ie, e[127] = Le, e[128] = de, e[129] = s, e[130] = _, e[131] = n, e[132] = De, e[133] = N, e[134] = Pt, e[135] = _t, e[136] = xe, e[137] = be, e[138] = we, e[139] = je, e[140] = T, e[141] = u, e[142] = yt) : yt = e[142], yt;
562
559
  }
563
- function qo(r) {
560
+ function Go(r) {
564
561
  return r != null;
565
562
  }
566
- function Ho(r) {
563
+ function Uo(r) {
567
564
  return r.radius;
568
565
  }
569
- function Xo(r) {
566
+ function qo(r) {
570
567
  return r.properties?.NAME !== "Antarctica";
571
568
  }
572
- function Yo(r) {
569
+ function Ho(r) {
573
570
  return r !== void 0;
574
571
  }
575
- function Jo(r) {
572
+ function Xo(r) {
576
573
  return r !== void 0;
577
574
  }
578
- function Ko(r) {
575
+ function Yo(r) {
579
576
  return r.data;
580
577
  }
581
- function Zo(r) {
578
+ function Jo(r) {
582
579
  return r !== void 0;
583
580
  }
584
- function Qo(r) {
581
+ function Ko(r) {
585
582
  return r.data;
586
583
  }
587
- function ea(r) {
584
+ function Zo(r) {
588
585
  return r.x;
589
586
  }
590
- function ta(r, e) {
587
+ function Qo(r, e) {
591
588
  return r - e;
592
589
  }
593
- function oa(r) {
590
+ function ea(r) {
594
591
  return r.date;
595
592
  }
596
593
  export {
597
- za as HybridMap
594
+ Ia as HybridMap
598
595
  };
599
596
  //# sourceMappingURL=HybridMap.js.map