@undp/data-viz 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaChart.cjs +1 -1
- package/dist/AreaChart.cjs.map +1 -1
- package/dist/AreaChart.d.ts +11 -9
- package/dist/AreaChart.js +320 -322
- package/dist/AreaChart.js.map +1 -1
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.d.ts +15 -25
- package/dist/BarGraph.js +1694 -1694
- package/dist/BarGraph.js.map +1 -1
- package/dist/BasicStatCard.cjs +1 -1
- package/dist/BasicStatCard.cjs.map +1 -1
- package/dist/BasicStatCard.d.ts +13 -9
- package/dist/BasicStatCard.js +79 -81
- package/dist/BasicStatCard.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.d.ts +11 -9
- package/dist/BeeSwarmChart.js +335 -336
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +13 -3
- package/dist/BiVariateChoroplethMap.js +247 -245
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.d.ts +11 -5
- package/dist/BulletChart.js +560 -559
- package/dist/BulletChart.js.map +1 -1
- package/dist/ButterflyChart.cjs +1 -1
- package/dist/ButterflyChart.cjs.map +1 -1
- package/dist/ButterflyChart.d.ts +11 -9
- package/dist/ButterflyChart.js +348 -350
- package/dist/ButterflyChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +11 -3
- package/dist/ChoroplethMap.js +213 -213
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.d.ts +11 -9
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/DataCards.cjs +1 -1
- package/dist/DataCards.d.ts +1 -1
- package/dist/DataCards.js +1 -1
- package/dist/DataTable.cjs +1 -1
- package/dist/DataTable.cjs.map +1 -1
- package/dist/DataTable.d.ts +4 -5
- package/dist/DataTable.js +114 -116
- package/dist/DataTable.js.map +1 -1
- package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
- package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
- package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
- package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
- package/dist/DifferenceLineChart.cjs +1 -1
- package/dist/DifferenceLineChart.cjs.map +1 -1
- package/dist/DifferenceLineChart.d.ts +11 -9
- package/dist/DifferenceLineChart.js +502 -504
- package/dist/DifferenceLineChart.js.map +1 -1
- package/dist/DonutChart.cjs +1 -1
- package/dist/DonutChart.cjs.map +1 -1
- package/dist/DonutChart.d.ts +14 -9
- package/dist/DonutChart.js +174 -179
- package/dist/DonutChart.js.map +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.d.ts +1 -1
- package/dist/DotDensityMap.js +2 -2
- package/dist/DualAxisLineChart.cjs +1 -1
- package/dist/DualAxisLineChart.cjs.map +1 -1
- package/dist/DualAxisLineChart.d.ts +13 -9
- package/dist/DualAxisLineChart.js +341 -351
- package/dist/DualAxisLineChart.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.d.ts +11 -9
- package/dist/DumbbellChart.js +592 -593
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/GeoHubCompareMaps.cjs +1 -1
- package/dist/GeoHubCompareMaps.d.ts +1 -1
- package/dist/GeoHubCompareMaps.js +1 -1
- package/dist/GeoHubMap.cjs +1 -1
- package/dist/GeoHubMap.d.ts +1 -1
- package/dist/GeoHubMap.js +1 -1
- package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
- package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
- package/dist/GeoHubMapWithLayerSelection.js +1 -1
- package/dist/GraphEl-B7x5ku_y.cjs +2 -0
- package/dist/GraphEl-B7x5ku_y.cjs.map +1 -0
- package/dist/GraphEl-B8tGXqWk.js +1829 -0
- package/dist/GraphEl-B8tGXqWk.js.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +28 -16
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +28 -16
- package/dist/HeatMap.cjs +1 -1
- package/dist/HeatMap.cjs.map +1 -1
- package/dist/HeatMap.d.ts +11 -9
- package/dist/HeatMap.js +203 -205
- package/dist/HeatMap.js.map +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.cjs.map +1 -1
- package/dist/Histogram.d.ts +11 -5
- package/dist/Histogram.js +88 -89
- package/dist/Histogram.js.map +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +11 -3
- package/dist/HybridMap.js +279 -279
- package/dist/HybridMap.js.map +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs +1 -1
- package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
- package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
- package/dist/LineChartWithConfidenceInterval.js +393 -395
- package/dist/LineChartWithConfidenceInterval.js.map +1 -1
- package/dist/LinearColorLegend.cjs +1 -1
- package/dist/LinearColorLegend.js +1 -1
- package/dist/MultiGraphDashboard.d.ts +28 -16
- package/dist/MultiGraphDashboardFromConfig.d.ts +28 -16
- package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
- package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.d.ts +11 -9
- package/dist/MultiLineAltChart.js +411 -413
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.d.ts +11 -9
- package/dist/MultiLineChart.js +438 -440
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/ParetoChart.cjs +1 -1
- package/dist/ParetoChart.cjs.map +1 -1
- package/dist/ParetoChart.d.ts +13 -13
- package/dist/ParetoChart.js +347 -355
- package/dist/ParetoChart.js.map +1 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +28 -16
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +28 -16
- package/dist/PerformanceIntensiveScrollStory.d.ts +28 -16
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.d.ts +11 -5
- package/dist/RadarChart.js +213 -213
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.d.ts +11 -9
- package/dist/SankeyChart.js +448 -450
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +13 -13
- package/dist/ScatterPlot.js +490 -498
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.d.ts +28 -16
- package/dist/SimpleLineChart.cjs +1 -1
- package/dist/SimpleLineChart.cjs.map +1 -1
- package/dist/SimpleLineChart.d.ts +11 -9
- package/dist/SimpleLineChart.js +362 -364
- package/dist/SimpleLineChart.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +28 -16
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +28 -16
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +28 -16
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +28 -16
- package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +28 -16
- package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
- package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +28 -16
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.d.ts +1 -1
- package/dist/SlopeChart.js +2 -2
- package/dist/SparkLine.cjs +1 -1
- package/dist/SparkLine.d.ts +1 -1
- package/dist/SparkLine.js +1 -1
- package/dist/StatCardFromData.cjs +1 -1
- package/dist/StatCardFromData.cjs.map +1 -1
- package/dist/StatCardFromData.d.ts +11 -9
- package/dist/StatCardFromData.js +113 -116
- package/dist/StatCardFromData.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.d.ts +11 -9
- package/dist/StripChart.js +434 -435
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.d.ts +11 -3
- package/dist/ThreeDGlobe.js +143 -143
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
- package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
- package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
- package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
- package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
- package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.d.ts +11 -9
- package/dist/TreeMapGraph.js +369 -371
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/Types.d.ts +28 -16
- package/dist/UnitChart.cjs +1 -1
- package/dist/UnitChart.cjs.map +1 -1
- package/dist/UnitChart.d.ts +11 -5
- package/dist/UnitChart.js +118 -119
- package/dist/UnitChart.js.map +1 -1
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.d.ts +11 -9
- package/dist/WaterfallChart.js +306 -308
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
- package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
- package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
- package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
- package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
- package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
- package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
- package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
- package/dist/index-BPyj_6hG.js +375 -0
- package/dist/index-BPyj_6hG.js.map +1 -0
- package/dist/index-DuLvdHo2.cjs +2 -0
- package/dist/index-DuLvdHo2.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +105 -245
- package/dist/index.js +2 -2
- package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
- package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
- package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
- package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
- package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
- package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
- package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
- package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
- package/dist/GraphEl-B73N4RIA.js +0 -1906
- package/dist/GraphEl-B73N4RIA.js.map +0 -1
- package/dist/GraphEl-Lt1og0C-.cjs +0 -2
- package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
- package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
- package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
- package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
- package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
- package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
- package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
- package/dist/index-B0Awa_de.js +0 -377
- package/dist/index-B0Awa_de.js.map +0 -1
- package/dist/index-CP8cmNzt.cjs +0 -2
- package/dist/index-CP8cmNzt.cjs.map +0 -1
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
- package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
- package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
- package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
package/dist/TreeMapGraph.js
CHANGED
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { T as
|
|
5
|
-
import { n as
|
|
6
|
-
import { g as
|
|
7
|
-
import { Colors as
|
|
8
|
-
import { D as
|
|
9
|
-
import { m as
|
|
10
|
-
import { u as
|
|
11
|
-
import { A as
|
|
12
|
-
import { c as
|
|
13
|
-
import { GraphFooter as
|
|
14
|
-
import { GraphHeader as
|
|
15
|
-
import { ColorLegendWithMouseOver as
|
|
16
|
-
import { E as
|
|
17
|
-
import { u as
|
|
18
|
-
import { a as
|
|
19
|
-
function
|
|
20
|
-
var t = 0, n = e.children,
|
|
21
|
-
if (!
|
|
22
|
-
else for (; --
|
|
1
|
+
import { c as Gt, j as b, m as Tt } from "./index-CHPV5EwG-BzibaIRc.js";
|
|
2
|
+
import { useRef as St, useState as it, useEffect as Ft } from "react";
|
|
3
|
+
import { _ as zt } from "./Typography-BO0gQDIT.js";
|
|
4
|
+
import { T as Xt } from "./Tooltip-3EYDVa3w.js";
|
|
5
|
+
import { n as Yt } from "./numberFormattingFunction-BUUV_luR.js";
|
|
6
|
+
import { g as Vt } from "./getTextColorBasedOnBgColor-CDY808zi.js";
|
|
7
|
+
import { Colors as Q } from "./Colors.js";
|
|
8
|
+
import { D as Kt } from "./DetailsModal-GqEbGHY2.js";
|
|
9
|
+
import { m as Dt } from "./proxy-BsxtcZKa.js";
|
|
10
|
+
import { u as Ut } from "./use-in-view-KOXq5Kmc.js";
|
|
11
|
+
import { A as Jt } from "./index-Cv_5q6Rb.js";
|
|
12
|
+
import { c as Qt } from "./checkIfNullOrUndefined-DmfiKkNw.js";
|
|
13
|
+
import { GraphFooter as _t } from "./GraphFooter.js";
|
|
14
|
+
import { GraphHeader as te } from "./GraphHeader.js";
|
|
15
|
+
import { ColorLegendWithMouseOver as ee } from "./ColorLegendWithMouseOver.js";
|
|
16
|
+
import { E as ne } from "./EmptyState-CaxXCkiN.js";
|
|
17
|
+
import { u as Rt } from "./uniqBy-BHy4I8PK.js";
|
|
18
|
+
import { a as ie, G as oe } from "./GraphContainer-B8ZqOzKI.js";
|
|
19
|
+
function re(e) {
|
|
20
|
+
var t = 0, n = e.children, o = n && n.length;
|
|
21
|
+
if (!o) t = 1;
|
|
22
|
+
else for (; --o >= 0; ) t += n[o].value;
|
|
23
23
|
e.value = t;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
return this.eachAfter(
|
|
25
|
+
function ae() {
|
|
26
|
+
return this.eachAfter(re);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function le(e, t) {
|
|
29
29
|
let n = -1;
|
|
30
|
-
for (const
|
|
31
|
-
e.call(t,
|
|
30
|
+
for (const o of this)
|
|
31
|
+
e.call(t, o, ++n, this);
|
|
32
32
|
return this;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
for (var n = this,
|
|
36
|
-
if (e.call(t, n, ++
|
|
37
|
-
for (
|
|
38
|
-
|
|
34
|
+
function se(e, t) {
|
|
35
|
+
for (var n = this, o = [n], r, a, l = -1; n = o.pop(); )
|
|
36
|
+
if (e.call(t, n, ++l, this), r = n.children)
|
|
37
|
+
for (a = r.length - 1; a >= 0; --a)
|
|
38
|
+
o.push(r[a]);
|
|
39
39
|
return this;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
for (var n = this,
|
|
43
|
-
if (r.push(n),
|
|
44
|
-
for (
|
|
45
|
-
|
|
41
|
+
function ce(e, t) {
|
|
42
|
+
for (var n = this, o = [n], r = [], a, l, u, g = -1; n = o.pop(); )
|
|
43
|
+
if (r.push(n), a = n.children)
|
|
44
|
+
for (l = 0, u = a.length; l < u; ++l)
|
|
45
|
+
o.push(a[l]);
|
|
46
46
|
for (; n = r.pop(); )
|
|
47
47
|
e.call(t, n, ++g, this);
|
|
48
48
|
return this;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function ue(e, t) {
|
|
51
51
|
let n = -1;
|
|
52
|
-
for (const
|
|
53
|
-
if (e.call(t,
|
|
54
|
-
return
|
|
52
|
+
for (const o of this)
|
|
53
|
+
if (e.call(t, o, ++n, this))
|
|
54
|
+
return o;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function fe(e) {
|
|
57
57
|
return this.eachAfter(function(t) {
|
|
58
|
-
for (var n = +e(t.data) || 0,
|
|
58
|
+
for (var n = +e(t.data) || 0, o = t.children, r = o && o.length; --r >= 0; ) n += o[r].value;
|
|
59
59
|
t.value = n;
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function de(e) {
|
|
63
63
|
return this.eachBefore(function(t) {
|
|
64
64
|
t.children && t.children.sort(e);
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
for (var t = this, n =
|
|
69
|
-
t = t.parent,
|
|
70
|
-
for (var r =
|
|
71
|
-
|
|
72
|
-
return
|
|
67
|
+
function he(e) {
|
|
68
|
+
for (var t = this, n = pe(t, e), o = [t]; t !== n; )
|
|
69
|
+
t = t.parent, o.push(t);
|
|
70
|
+
for (var r = o.length; e !== n; )
|
|
71
|
+
o.splice(r, 0, e), e = e.parent;
|
|
72
|
+
return o;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function pe(e, t) {
|
|
75
75
|
if (e === t) return e;
|
|
76
|
-
var n = e.ancestors(),
|
|
77
|
-
for (e = n.pop(), t =
|
|
78
|
-
r = e, e = n.pop(), t =
|
|
76
|
+
var n = e.ancestors(), o = t.ancestors(), r = null;
|
|
77
|
+
for (e = n.pop(), t = o.pop(); e === t; )
|
|
78
|
+
r = e, e = n.pop(), t = o.pop();
|
|
79
79
|
return r;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function ge() {
|
|
82
82
|
for (var e = this, t = [e]; e = e.parent; )
|
|
83
83
|
t.push(e);
|
|
84
84
|
return t;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function me() {
|
|
87
87
|
return Array.from(this);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ve() {
|
|
90
90
|
var e = [];
|
|
91
91
|
return this.eachBefore(function(t) {
|
|
92
92
|
t.children || e.push(t);
|
|
93
93
|
}), e;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function ye() {
|
|
96
96
|
var e = this, t = [];
|
|
97
97
|
return e.each(function(n) {
|
|
98
98
|
n !== e && t.push({ source: n.parent, target: n });
|
|
99
99
|
}), t;
|
|
100
100
|
}
|
|
101
|
-
function*
|
|
102
|
-
var e = this, t, n = [e],
|
|
101
|
+
function* we() {
|
|
102
|
+
var e = this, t, n = [e], o, r, a;
|
|
103
103
|
do
|
|
104
104
|
for (t = n.reverse(), n = []; e = t.pop(); )
|
|
105
|
-
if (yield e,
|
|
106
|
-
for (r = 0,
|
|
107
|
-
n.push(
|
|
105
|
+
if (yield e, o = e.children)
|
|
106
|
+
for (r = 0, a = o.length; r < a; ++r)
|
|
107
|
+
n.push(o[r]);
|
|
108
108
|
while (n.length);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
e instanceof Map ? (e = [void 0, e], t === void 0 && (t =
|
|
112
|
-
for (var n = new bt(e),
|
|
113
|
-
if ((
|
|
114
|
-
for (
|
|
115
|
-
r.push(
|
|
116
|
-
return n.eachBefore(
|
|
110
|
+
function Wt(e, t) {
|
|
111
|
+
e instanceof Map ? (e = [void 0, e], t === void 0 && (t = Me)) : t === void 0 && (t = be);
|
|
112
|
+
for (var n = new bt(e), o, r = [n], a, l, u, g; o = r.pop(); )
|
|
113
|
+
if ((l = t(o.data)) && (g = (l = Array.from(l)).length))
|
|
114
|
+
for (o.children = l, u = g - 1; u >= 0; --u)
|
|
115
|
+
r.push(a = l[u] = new bt(l[u])), a.parent = o, a.depth = o.depth + 1;
|
|
116
|
+
return n.eachBefore(qt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return
|
|
118
|
+
function xe() {
|
|
119
|
+
return Wt(this).eachBefore(Oe);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function be(e) {
|
|
122
122
|
return e.children;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Me(e) {
|
|
125
125
|
return Array.isArray(e) ? e[1] : null;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Oe(e) {
|
|
128
128
|
e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function qt(e) {
|
|
131
131
|
var t = 0;
|
|
132
132
|
do
|
|
133
133
|
e.height = t;
|
|
@@ -136,27 +136,27 @@ function Kt(e) {
|
|
|
136
136
|
function bt(e) {
|
|
137
137
|
this.data = e, this.depth = this.height = 0, this.parent = null;
|
|
138
138
|
}
|
|
139
|
-
bt.prototype =
|
|
139
|
+
bt.prototype = Wt.prototype = {
|
|
140
140
|
constructor: bt,
|
|
141
|
-
count:
|
|
142
|
-
each:
|
|
143
|
-
eachAfter:
|
|
144
|
-
eachBefore:
|
|
145
|
-
find:
|
|
146
|
-
sum:
|
|
147
|
-
sort:
|
|
148
|
-
path:
|
|
149
|
-
ancestors:
|
|
150
|
-
descendants:
|
|
151
|
-
leaves:
|
|
152
|
-
links:
|
|
153
|
-
copy:
|
|
154
|
-
[Symbol.iterator]:
|
|
141
|
+
count: ae,
|
|
142
|
+
each: le,
|
|
143
|
+
eachAfter: ce,
|
|
144
|
+
eachBefore: se,
|
|
145
|
+
find: ue,
|
|
146
|
+
sum: fe,
|
|
147
|
+
sort: de,
|
|
148
|
+
path: he,
|
|
149
|
+
ancestors: ge,
|
|
150
|
+
descendants: me,
|
|
151
|
+
leaves: ve,
|
|
152
|
+
links: ye,
|
|
153
|
+
copy: xe,
|
|
154
|
+
[Symbol.iterator]: we
|
|
155
155
|
};
|
|
156
|
-
function
|
|
157
|
-
return e == null ? null :
|
|
156
|
+
function Bt(e) {
|
|
157
|
+
return e == null ? null : Zt(e);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Zt(e) {
|
|
160
160
|
if (typeof e != "function") throw new Error();
|
|
161
161
|
return e;
|
|
162
162
|
}
|
|
@@ -168,73 +168,73 @@ function xt(e) {
|
|
|
168
168
|
return e;
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ce(e) {
|
|
172
172
|
e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
for (var
|
|
176
|
-
|
|
174
|
+
function je(e, t, n, o, r) {
|
|
175
|
+
for (var a = e.children, l, u = -1, g = a.length, y = e.value && (o - t) / e.value; ++u < g; )
|
|
176
|
+
l = a[u], l.y0 = n, l.y1 = r, l.x0 = t, l.x1 = t += l.value * y;
|
|
177
177
|
}
|
|
178
|
-
var
|
|
179
|
-
function
|
|
178
|
+
var De = { depth: -1 }, Ht = {}, Nt = {};
|
|
179
|
+
function ke(e) {
|
|
180
180
|
return e.id;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Ie(e) {
|
|
183
183
|
return e.parentId;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
var e =
|
|
187
|
-
function
|
|
188
|
-
var
|
|
185
|
+
function Ve() {
|
|
186
|
+
var e = ke, t = Ie, n;
|
|
187
|
+
function o(r) {
|
|
188
|
+
var a = Array.from(r), l = e, u = t, g, y, s, m, i, f, d, v, h = /* @__PURE__ */ new Map();
|
|
189
189
|
if (n != null) {
|
|
190
|
-
const p =
|
|
191
|
-
for (const
|
|
192
|
-
k.has(
|
|
193
|
-
|
|
190
|
+
const p = a.map((M, x) => Be(n(M, x, r))), D = p.map(Pt), k = new Set(p).add("");
|
|
191
|
+
for (const M of D)
|
|
192
|
+
k.has(M) || (k.add(M), p.push(M), D.push(Pt(M)), a.push(Nt));
|
|
193
|
+
l = (M, x) => p[x], u = (M, x) => D[x];
|
|
194
194
|
}
|
|
195
|
-
for (
|
|
196
|
-
y =
|
|
197
|
-
for (
|
|
198
|
-
if (f =
|
|
199
|
-
if (
|
|
200
|
-
if (
|
|
201
|
-
|
|
195
|
+
for (s = 0, g = a.length; s < g; ++s)
|
|
196
|
+
y = a[s], f = a[s] = new bt(y), (d = l(y, s, r)) != null && (d += "") && (v = f.id = d, h.set(v, h.has(v) ? Ht : f)), (d = u(y, s, r)) != null && (d += "") && (f.parent = d);
|
|
197
|
+
for (s = 0; s < g; ++s)
|
|
198
|
+
if (f = a[s], d = f.parent) {
|
|
199
|
+
if (i = h.get(d), !i) throw new Error("missing: " + d);
|
|
200
|
+
if (i === Ht) throw new Error("ambiguous: " + d);
|
|
201
|
+
i.children ? i.children.push(f) : i.children = [f], f.parent = i;
|
|
202
202
|
} else {
|
|
203
|
-
if (
|
|
204
|
-
|
|
203
|
+
if (m) throw new Error("multiple roots");
|
|
204
|
+
m = f;
|
|
205
205
|
}
|
|
206
|
-
if (!
|
|
206
|
+
if (!m) throw new Error("no root");
|
|
207
207
|
if (n != null) {
|
|
208
|
-
for (;
|
|
209
|
-
|
|
210
|
-
for (let p =
|
|
208
|
+
for (; m.data === Nt && m.children.length === 1; )
|
|
209
|
+
m = m.children[0], --g;
|
|
210
|
+
for (let p = a.length - 1; p >= 0 && (f = a[p], f.data === Nt); --p)
|
|
211
211
|
f.data = null;
|
|
212
212
|
}
|
|
213
|
-
if (
|
|
213
|
+
if (m.parent = De, m.eachBefore(function(p) {
|
|
214
214
|
p.depth = p.parent.depth + 1, --g;
|
|
215
|
-
}).eachBefore(
|
|
216
|
-
return
|
|
215
|
+
}).eachBefore(qt), m.parent = null, g > 0) throw new Error("cycle");
|
|
216
|
+
return m;
|
|
217
217
|
}
|
|
218
|
-
return
|
|
219
|
-
return arguments.length ? (e =
|
|
220
|
-
},
|
|
221
|
-
return arguments.length ? (t =
|
|
222
|
-
},
|
|
223
|
-
return arguments.length ? (n =
|
|
224
|
-
},
|
|
218
|
+
return o.id = function(r) {
|
|
219
|
+
return arguments.length ? (e = Bt(r), o) : e;
|
|
220
|
+
}, o.parentId = function(r) {
|
|
221
|
+
return arguments.length ? (t = Bt(r), o) : t;
|
|
222
|
+
}, o.path = function(r) {
|
|
223
|
+
return arguments.length ? (n = Bt(r), o) : n;
|
|
224
|
+
}, o;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Be(e) {
|
|
227
227
|
e = `${e}`;
|
|
228
228
|
let t = e.length;
|
|
229
|
-
return
|
|
229
|
+
return $t(e, t - 1) && !$t(e, t - 2) && (e = e.slice(0, -1)), e[0] === "/" ? e : `/${e}`;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Pt(e) {
|
|
232
232
|
let t = e.length;
|
|
233
233
|
if (t < 2) return "";
|
|
234
|
-
for (; --t > 1 &&
|
|
234
|
+
for (; --t > 1 && !$t(e, t); ) ;
|
|
235
235
|
return e.slice(0, t);
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function $t(e, t) {
|
|
238
238
|
if (e[t] === "/") {
|
|
239
239
|
let n = 0;
|
|
240
240
|
for (; t > 0 && e[--t] === "\\"; ) ++n;
|
|
@@ -242,247 +242,248 @@ function Tt(e, t) {
|
|
|
242
242
|
}
|
|
243
243
|
return !1;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
for (var
|
|
247
|
-
|
|
245
|
+
function Ne(e, t, n, o, r) {
|
|
246
|
+
for (var a = e.children, l, u = -1, g = a.length, y = e.value && (r - n) / e.value; ++u < g; )
|
|
247
|
+
l = a[u], l.x0 = t, l.x1 = o, l.y0 = n, l.y1 = n += l.value * y;
|
|
248
248
|
}
|
|
249
|
-
var
|
|
250
|
-
function
|
|
251
|
-
for (var
|
|
252
|
-
f = r - n,
|
|
249
|
+
var Se = (1 + Math.sqrt(5)) / 2;
|
|
250
|
+
function $e(e, t, n, o, r, a) {
|
|
251
|
+
for (var l = [], u = t.children, g, y, s = 0, m = 0, i = u.length, f, d, v = t.value, h, p, D, k, M, x, I; s < i; ) {
|
|
252
|
+
f = r - n, d = a - o;
|
|
253
253
|
do
|
|
254
|
-
h =
|
|
255
|
-
while (!h &&
|
|
256
|
-
for (p =
|
|
257
|
-
if (h += y =
|
|
254
|
+
h = u[m++].value;
|
|
255
|
+
while (!h && m < i);
|
|
256
|
+
for (p = D = h, x = Math.max(d / f, f / d) / (v * e), I = h * h * x, M = Math.max(D / I, I / p); m < i; ++m) {
|
|
257
|
+
if (h += y = u[m].value, y < p && (p = y), y > D && (D = y), I = h * h * x, k = Math.max(D / I, I / p), k > M) {
|
|
258
258
|
h -= y;
|
|
259
259
|
break;
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
M = k;
|
|
262
262
|
}
|
|
263
|
-
|
|
263
|
+
l.push(g = { value: h, dice: f < d, children: u.slice(s, m) }), g.dice ? je(g, n, o, r, v ? o += d * h / v : a) : Ne(g, n, o, v ? n += f * h / v : r, a), v -= h, s = m;
|
|
264
264
|
}
|
|
265
|
-
return
|
|
265
|
+
return l;
|
|
266
266
|
}
|
|
267
|
-
const
|
|
268
|
-
function n(
|
|
269
|
-
|
|
267
|
+
const Ae = (function e(t) {
|
|
268
|
+
function n(o, r, a, l, u) {
|
|
269
|
+
$e(t, o, r, a, l, u);
|
|
270
270
|
}
|
|
271
|
-
return n.ratio = function(
|
|
272
|
-
return e((
|
|
271
|
+
return n.ratio = function(o) {
|
|
272
|
+
return e((o = +o) > 1 ? o : 1);
|
|
273
273
|
}, n;
|
|
274
|
-
})(
|
|
275
|
-
function
|
|
276
|
-
var e =
|
|
277
|
-
function
|
|
278
|
-
return
|
|
274
|
+
})(Se);
|
|
275
|
+
function Ee() {
|
|
276
|
+
var e = Ae, t = !1, n = 1, o = 1, r = [0], a = wt, l = wt, u = wt, g = wt, y = wt;
|
|
277
|
+
function s(i) {
|
|
278
|
+
return i.x0 = i.y0 = 0, i.x1 = n, i.y1 = o, i.eachBefore(m), r = [0], t && i.eachBefore(Ce), i;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
var f = r[
|
|
282
|
-
h <
|
|
280
|
+
function m(i) {
|
|
281
|
+
var f = r[i.depth], d = i.x0 + f, v = i.y0 + f, h = i.x1 - f, p = i.y1 - f;
|
|
282
|
+
h < d && (d = h = (d + h) / 2), p < v && (v = p = (v + p) / 2), i.x0 = d, i.y0 = v, i.x1 = h, i.y1 = p, i.children && (f = r[i.depth + 1] = a(i) / 2, d += y(i) - f, v += l(i) - f, h -= u(i) - f, p -= g(i) - f, h < d && (d = h = (d + h) / 2), p < v && (v = p = (v + p) / 2), e(i, d, v, h, p));
|
|
283
283
|
}
|
|
284
|
-
return
|
|
285
|
-
return arguments.length ? (t = !!
|
|
286
|
-
},
|
|
287
|
-
return arguments.length ? (n = +
|
|
288
|
-
},
|
|
289
|
-
return arguments.length ? (e =
|
|
290
|
-
},
|
|
291
|
-
return arguments.length ?
|
|
292
|
-
},
|
|
293
|
-
return arguments.length ? (
|
|
294
|
-
},
|
|
295
|
-
return arguments.length ?
|
|
296
|
-
},
|
|
297
|
-
return arguments.length ? (
|
|
298
|
-
},
|
|
299
|
-
return arguments.length ? (
|
|
300
|
-
},
|
|
301
|
-
return arguments.length ? (g = typeof
|
|
302
|
-
},
|
|
303
|
-
return arguments.length ? (y = typeof
|
|
304
|
-
},
|
|
305
|
-
}
|
|
306
|
-
function
|
|
307
|
-
const t =
|
|
284
|
+
return s.round = function(i) {
|
|
285
|
+
return arguments.length ? (t = !!i, s) : t;
|
|
286
|
+
}, s.size = function(i) {
|
|
287
|
+
return arguments.length ? (n = +i[0], o = +i[1], s) : [n, o];
|
|
288
|
+
}, s.tile = function(i) {
|
|
289
|
+
return arguments.length ? (e = Zt(i), s) : e;
|
|
290
|
+
}, s.padding = function(i) {
|
|
291
|
+
return arguments.length ? s.paddingInner(i).paddingOuter(i) : s.paddingInner();
|
|
292
|
+
}, s.paddingInner = function(i) {
|
|
293
|
+
return arguments.length ? (a = typeof i == "function" ? i : xt(+i), s) : a;
|
|
294
|
+
}, s.paddingOuter = function(i) {
|
|
295
|
+
return arguments.length ? s.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i) : s.paddingTop();
|
|
296
|
+
}, s.paddingTop = function(i) {
|
|
297
|
+
return arguments.length ? (l = typeof i == "function" ? i : xt(+i), s) : l;
|
|
298
|
+
}, s.paddingRight = function(i) {
|
|
299
|
+
return arguments.length ? (u = typeof i == "function" ? i : xt(+i), s) : u;
|
|
300
|
+
}, s.paddingBottom = function(i) {
|
|
301
|
+
return arguments.length ? (g = typeof i == "function" ? i : xt(+i), s) : g;
|
|
302
|
+
}, s.paddingLeft = function(i) {
|
|
303
|
+
return arguments.length ? (y = typeof i == "function" ? i : xt(+i), s) : y;
|
|
304
|
+
}, s;
|
|
305
|
+
}
|
|
306
|
+
function Le(e) {
|
|
307
|
+
const t = Gt.c(75), {
|
|
308
308
|
data: n,
|
|
309
|
-
colors:
|
|
309
|
+
colors: o,
|
|
310
310
|
leftMargin: r,
|
|
311
|
-
width:
|
|
312
|
-
height:
|
|
313
|
-
colorDomain:
|
|
311
|
+
width: a,
|
|
312
|
+
height: l,
|
|
313
|
+
colorDomain: u,
|
|
314
314
|
rightMargin: g,
|
|
315
315
|
topMargin: y,
|
|
316
|
-
bottomMargin:
|
|
317
|
-
showLabels:
|
|
318
|
-
tooltip:
|
|
316
|
+
bottomMargin: s,
|
|
317
|
+
showLabels: m,
|
|
318
|
+
tooltip: i,
|
|
319
319
|
onSeriesMouseOver: f,
|
|
320
|
-
selectedColor:
|
|
321
|
-
showValues:
|
|
320
|
+
selectedColor: d,
|
|
321
|
+
showValues: v,
|
|
322
322
|
suffix: h,
|
|
323
323
|
prefix: p,
|
|
324
|
-
highlightedDataPoints:
|
|
324
|
+
highlightedDataPoints: D,
|
|
325
325
|
onSeriesMouseClick: k,
|
|
326
|
-
resetSelectionOnDoubleClick:
|
|
326
|
+
resetSelectionOnDoubleClick: M,
|
|
327
327
|
detailsOnClick: x,
|
|
328
|
-
language:
|
|
329
|
-
styles:
|
|
330
|
-
classNames:
|
|
331
|
-
animate:
|
|
332
|
-
dimmedOpacity:
|
|
333
|
-
precision:
|
|
334
|
-
locale:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
328
|
+
language: I,
|
|
329
|
+
styles: z,
|
|
330
|
+
classNames: B,
|
|
331
|
+
animate: j,
|
|
332
|
+
dimmedOpacity: X,
|
|
333
|
+
precision: ot,
|
|
334
|
+
locale: rt,
|
|
335
|
+
padZeros: at
|
|
336
|
+
} = e, vt = St(null);
|
|
337
|
+
let _;
|
|
338
|
+
t[0] !== j.amount || t[1] !== j.once ? (_ = {
|
|
339
|
+
once: j.once,
|
|
340
|
+
amount: j.amount
|
|
341
|
+
}, t[0] = j.amount, t[1] = j.once, t[2] = _) : _ = t[2];
|
|
342
|
+
const K = Ut(vt, _), [U, lt] = it(void 0), [$, O] = it(void 0), [w, st] = it(void 0), [tt, C] = it(void 0);
|
|
343
|
+
let J;
|
|
344
|
+
t[3] !== s || t[4] !== r || t[5] !== g || t[6] !== y ? (J = {
|
|
344
345
|
top: y,
|
|
345
|
-
bottom:
|
|
346
|
+
bottom: s,
|
|
346
347
|
left: r,
|
|
347
348
|
right: g
|
|
348
|
-
}, t[3] =
|
|
349
|
-
const
|
|
350
|
-
let
|
|
351
|
-
if (t[8] !==
|
|
352
|
-
const
|
|
349
|
+
}, t[3] = s, t[4] = r, t[5] = g, t[6] = y, t[7] = J) : J = t[7];
|
|
350
|
+
const N = J, et = a - N.left - N.right, nt = l - N.top - N.bottom;
|
|
351
|
+
let R, H, P, G, A, E, S, W, q;
|
|
352
|
+
if (t[8] !== j.duration || t[9] !== B?.graphObjectValues || t[10] !== u || t[11] !== o || t[12] !== n || t[13] !== x || t[14] !== X || t[15] !== nt || t[16] !== et || t[17] !== l || t[18] !== D || t[19] !== K || t[20] !== I || t[21] !== rt || t[22] !== N.left || t[23] !== N.top || t[24] !== $ || t[25] !== k || t[26] !== f || t[27] !== at || t[28] !== ot || t[29] !== p || t[30] !== M || t[31] !== d || t[32] !== m || t[33] !== v || t[34] !== z?.graphObjectValues || t[35] !== h || t[36] !== a) {
|
|
353
|
+
const ut = [{
|
|
353
354
|
id: "root",
|
|
354
355
|
parent: void 0,
|
|
355
356
|
value: void 0,
|
|
356
357
|
data: void 0
|
|
357
|
-
}, ...n.map(
|
|
358
|
-
|
|
359
|
-
const
|
|
360
|
-
|
|
358
|
+
}, ...n.map(Ze)], Mt = Ve().id(qe).parentId(We)(ut);
|
|
359
|
+
Mt.sum(Ge);
|
|
360
|
+
const yt = Ee().size([et, nt]).padding(2)(Mt);
|
|
361
|
+
H = Dt.svg, A = `${a}px`, E = `${l}px`, S = `0 0 ${a} ${l}`, W = "ltr", q = vt, G = `translate(${N.left},${N.top})`, R = Jt, P = yt.children?.map((c) => /* @__PURE__ */ b.jsxs(Dt.g, { className: "undp-viz-g-with-hover", variants: {
|
|
361
362
|
initial: {
|
|
362
363
|
opacity: 0,
|
|
363
|
-
x:
|
|
364
|
-
y:
|
|
364
|
+
x: c.x0,
|
|
365
|
+
y: c.y0
|
|
365
366
|
},
|
|
366
367
|
whileInView: {
|
|
367
|
-
opacity:
|
|
368
|
-
x:
|
|
369
|
-
y:
|
|
368
|
+
opacity: d ? c.data.data.color && o[u.indexOf(c.data.data.color)] === d ? 1 : X : D ? D.indexOf(c.data.id) !== -1 ? 0.85 : X : 0.85,
|
|
369
|
+
x: c.x0,
|
|
370
|
+
y: c.y0,
|
|
370
371
|
transition: {
|
|
371
|
-
duration:
|
|
372
|
+
duration: j.duration
|
|
372
373
|
}
|
|
373
374
|
}
|
|
374
|
-
}, initial: "initial", animate:
|
|
375
|
+
}, initial: "initial", animate: K ? "whileInView" : "initial", exit: {
|
|
375
376
|
opacity: 0,
|
|
376
377
|
transition: {
|
|
377
|
-
duration:
|
|
378
|
+
duration: j.duration
|
|
378
379
|
}
|
|
379
|
-
}, onMouseEnter: (
|
|
380
|
-
lt(
|
|
380
|
+
}, onMouseEnter: (Y) => {
|
|
381
|
+
lt(c.data.data), C(Y.clientY), st(Y.clientX), f?.(c.data.data);
|
|
381
382
|
}, onClick: () => {
|
|
382
|
-
(k || x) && (
|
|
383
|
-
}, onMouseMove: (
|
|
384
|
-
lt(
|
|
383
|
+
(k || x) && ($ === c.data.id && M ? (O(void 0), k?.(void 0)) : (O(c.data.id), k?.(c.data.data)));
|
|
384
|
+
}, onMouseMove: (Y) => {
|
|
385
|
+
lt(c.data.data), C(Y.clientY), st(Y.clientX);
|
|
385
386
|
}, onMouseLeave: () => {
|
|
386
|
-
lt(void 0),
|
|
387
|
+
lt(void 0), st(void 0), C(void 0), f?.(void 0);
|
|
387
388
|
}, children: [
|
|
388
|
-
/* @__PURE__ */
|
|
389
|
+
/* @__PURE__ */ b.jsx(Dt.rect, { x: 0, y: 0, exit: {
|
|
389
390
|
width: 0,
|
|
390
391
|
height: 0,
|
|
391
392
|
opacity: 0,
|
|
392
393
|
transition: {
|
|
393
|
-
duration:
|
|
394
|
+
duration: j.duration
|
|
394
395
|
}
|
|
395
396
|
}, variants: {
|
|
396
397
|
initial: {
|
|
397
398
|
width: 0,
|
|
398
399
|
height: 0,
|
|
399
|
-
fill: n.filter(
|
|
400
|
+
fill: n.filter(Pe).length === 0 ? o[0] : c.data.data.color ? o[u.indexOf(c.data.data.color)] : Q.gray
|
|
400
401
|
},
|
|
401
402
|
whileInView: {
|
|
402
|
-
width:
|
|
403
|
-
height:
|
|
404
|
-
fill: n.filter(
|
|
403
|
+
width: c.x1 - c.x0,
|
|
404
|
+
height: c.y1 - c.y0,
|
|
405
|
+
fill: n.filter(He).length === 0 ? o[0] : c.data.data.color ? o[u.indexOf(c.data.data.color)] : Q.gray,
|
|
405
406
|
transition: {
|
|
406
|
-
duration:
|
|
407
|
+
duration: j.duration
|
|
407
408
|
}
|
|
408
409
|
}
|
|
409
|
-
}, initial: "initial", animate:
|
|
410
|
-
|
|
410
|
+
}, initial: "initial", animate: K ? "whileInView" : "initial" }),
|
|
411
|
+
c.x1 - c.x0 > 50 && c.y1 - c.y0 > 25 && (m || v) ? /* @__PURE__ */ b.jsx(Dt.g, { variants: {
|
|
411
412
|
initial: {
|
|
412
413
|
opacity: 0
|
|
413
414
|
},
|
|
414
415
|
whileInView: {
|
|
415
416
|
opacity: 1,
|
|
416
417
|
transition: {
|
|
417
|
-
duration:
|
|
418
|
+
duration: j.duration
|
|
418
419
|
}
|
|
419
420
|
}
|
|
420
|
-
}, initial: "initial", animate:
|
|
421
|
+
}, initial: "initial", animate: K ? "whileInView" : "initial", exit: {
|
|
421
422
|
opacity: 0,
|
|
422
423
|
transition: {
|
|
423
|
-
duration:
|
|
424
|
+
duration: j.duration
|
|
424
425
|
}
|
|
425
|
-
}, children: /* @__PURE__ */
|
|
426
|
-
color:
|
|
426
|
+
}, children: /* @__PURE__ */ b.jsx("foreignObject", { y: 0, x: 0, width: c.x1 - c.x0, height: c.y1 - c.y0, children: /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-0.5 p-2 w-full", style: {
|
|
427
|
+
color: Vt(n.filter(Re).length === 0 ? o[0] : c.data.data.color ? o[u.indexOf(c.data.data.color)] : Q.gray)
|
|
427
428
|
}, children: [
|
|
428
|
-
|
|
429
|
-
WebkitLineClamp:
|
|
429
|
+
m ? /* @__PURE__ */ b.jsx(zt, { marginBottom: "none", size: "sm", leading: "none", className: Tt("w-full treemap-label", I === "ar" || I === "he" ? "text-right" : "text-left", B?.graphObjectValues), style: {
|
|
430
|
+
WebkitLineClamp: c.y1 - c.y0 > 50 ? c.y1 - c.y0 > 100 ? c.y1 - c.y0 > 150 ? void 0 : 3 : 2 : 1,
|
|
430
431
|
display: "-webkit-box",
|
|
431
432
|
WebkitBoxOrient: "vertical",
|
|
432
433
|
overflow: "hidden",
|
|
433
|
-
color:
|
|
434
|
-
...
|
|
435
|
-
}, children:
|
|
436
|
-
|
|
437
|
-
color:
|
|
438
|
-
...
|
|
439
|
-
}, children:
|
|
434
|
+
color: Vt(n.filter(ze).length === 0 ? o[0] : c.data.data.color ? o[u.indexOf(c.data.data.color)] : Q.gray),
|
|
435
|
+
...z?.graphObjectValues || {}
|
|
436
|
+
}, children: c.data.id }) : null,
|
|
437
|
+
v ? /* @__PURE__ */ b.jsx(zt, { marginBottom: "none", size: "sm", leading: "none", className: Tt("w-full font-bold treemap-value", I === "ar" || I === "he" ? "text-right" : "text-left", B?.graphObjectValues), style: {
|
|
438
|
+
color: Vt(n.filter(Te).length === 0 ? o[0] : c.data.data.color ? o[u.indexOf(c.data.data.color)] : Q.gray),
|
|
439
|
+
...z?.graphObjectValues || {}
|
|
440
|
+
}, children: Yt(c.data.value, void 0, ot, p, h, rt, at) }) : null
|
|
440
441
|
] }) }) }) : null
|
|
441
|
-
] },
|
|
442
|
+
] }, c.data.id)), t[8] = j.duration, t[9] = B?.graphObjectValues, t[10] = u, t[11] = o, t[12] = n, t[13] = x, t[14] = X, t[15] = nt, t[16] = et, t[17] = l, t[18] = D, t[19] = K, t[20] = I, t[21] = rt, t[22] = N.left, t[23] = N.top, t[24] = $, t[25] = k, t[26] = f, t[27] = at, t[28] = ot, t[29] = p, t[30] = M, t[31] = d, t[32] = m, t[33] = v, t[34] = z?.graphObjectValues, t[35] = h, t[36] = a, t[37] = R, t[38] = H, t[39] = P, t[40] = G, t[41] = A, t[42] = E, t[43] = S, t[44] = W, t[45] = q;
|
|
442
443
|
} else
|
|
443
|
-
|
|
444
|
-
let
|
|
445
|
-
t[
|
|
446
|
-
let S;
|
|
447
|
-
t[48] !== R || t[49] !== F ? (S = /* @__PURE__ */ M.jsx("g", { transform: R, children: F }), t[48] = R, t[49] = F, t[50] = S) : S = t[50];
|
|
448
|
-
let $;
|
|
449
|
-
t[51] !== T || t[52] !== S || t[53] !== H || t[54] !== P || t[55] !== G || t[56] !== W || t[57] !== q ? ($ = /* @__PURE__ */ M.jsx(T, { width: H, height: P, viewBox: G, direction: W, ref: q, children: S }), t[51] = T, t[52] = S, t[53] = H, t[54] = P, t[55] = G, t[56] = W, t[57] = q, t[58] = $) : $ = t[58];
|
|
450
|
-
let B;
|
|
451
|
-
t[59] !== I?.tooltip || t[60] !== it || t[61] !== b || t[62] !== et || t[63] !== N?.tooltip || t[64] !== o ? (B = et && o && it && b ? /* @__PURE__ */ M.jsx(te, { data: et, body: o, xPos: it, yPos: b, backgroundStyle: N?.tooltip, className: I?.tooltip }) : null, t[59] = I?.tooltip, t[60] = it, t[61] = b, t[62] = et, t[63] = N?.tooltip, t[64] = o, t[65] = B) : B = t[65];
|
|
452
|
-
let X;
|
|
453
|
-
t[66] !== I?.modal || t[67] !== x || t[68] !== E ? (X = x && E !== void 0 ? /* @__PURE__ */ M.jsx(ne, { body: x, data: E, setData: nt, className: I?.modal }) : null, t[66] = I?.modal, t[67] = x, t[68] = E, t[69] = X) : X = t[69];
|
|
444
|
+
R = t[37], H = t[38], P = t[39], G = t[40], A = t[41], E = t[42], S = t[43], W = t[44], q = t[45];
|
|
445
|
+
let V;
|
|
446
|
+
t[46] !== R || t[47] !== P ? (V = /* @__PURE__ */ b.jsx(R, { children: P }), t[46] = R, t[47] = P, t[48] = V) : V = t[48];
|
|
454
447
|
let Z;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
] }), t[
|
|
448
|
+
t[49] !== G || t[50] !== V ? (Z = /* @__PURE__ */ b.jsx("g", { transform: G, children: V }), t[49] = G, t[50] = V, t[51] = Z) : Z = t[51];
|
|
449
|
+
let L;
|
|
450
|
+
t[52] !== H || t[53] !== Z || t[54] !== A || t[55] !== E || t[56] !== S || t[57] !== W || t[58] !== q ? (L = /* @__PURE__ */ b.jsx(H, { width: A, height: E, viewBox: S, direction: W, ref: q, children: Z }), t[52] = H, t[53] = Z, t[54] = A, t[55] = E, t[56] = S, t[57] = W, t[58] = q, t[59] = L) : L = t[59];
|
|
451
|
+
let F;
|
|
452
|
+
t[60] !== B?.tooltip || t[61] !== w || t[62] !== tt || t[63] !== U || t[64] !== z?.tooltip || t[65] !== i ? (F = U && i && w && tt ? /* @__PURE__ */ b.jsx(Xt, { data: U, body: i, xPos: w, yPos: tt, backgroundStyle: z?.tooltip, className: B?.tooltip }) : null, t[60] = B?.tooltip, t[61] = w, t[62] = tt, t[63] = U, t[64] = z?.tooltip, t[65] = i, t[66] = F) : F = t[66];
|
|
453
|
+
let T;
|
|
454
|
+
t[67] !== B?.modal || t[68] !== x || t[69] !== $ ? (T = x && $ !== void 0 ? /* @__PURE__ */ b.jsx(Kt, { body: x, data: $, setData: O, className: B?.modal }) : null, t[67] = B?.modal, t[68] = x, t[69] = $, t[70] = T) : T = t[70];
|
|
455
|
+
let ct;
|
|
456
|
+
return t[71] !== L || t[72] !== F || t[73] !== T ? (ct = /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|
|
457
|
+
L,
|
|
458
|
+
F,
|
|
459
|
+
T
|
|
460
|
+
] }), t[71] = L, t[72] = F, t[73] = T, t[74] = ct) : ct = t[74], ct;
|
|
460
461
|
}
|
|
461
|
-
function
|
|
462
|
+
function Te(e) {
|
|
462
463
|
return e.color;
|
|
463
464
|
}
|
|
464
|
-
function
|
|
465
|
+
function ze(e) {
|
|
465
466
|
return e.color;
|
|
466
467
|
}
|
|
467
|
-
function
|
|
468
|
+
function Re(e) {
|
|
468
469
|
return e.color;
|
|
469
470
|
}
|
|
470
|
-
function
|
|
471
|
+
function He(e) {
|
|
471
472
|
return e.color;
|
|
472
473
|
}
|
|
473
|
-
function
|
|
474
|
+
function Pe(e) {
|
|
474
475
|
return e.color;
|
|
475
476
|
}
|
|
476
|
-
function
|
|
477
|
+
function Ge(e) {
|
|
477
478
|
return e.value;
|
|
478
479
|
}
|
|
479
|
-
function
|
|
480
|
+
function We(e) {
|
|
480
481
|
return e.parent;
|
|
481
482
|
}
|
|
482
|
-
function
|
|
483
|
+
function qe(e) {
|
|
483
484
|
return e.id;
|
|
484
485
|
}
|
|
485
|
-
function
|
|
486
|
+
function Ze(e) {
|
|
486
487
|
return {
|
|
487
488
|
id: e.label,
|
|
488
489
|
value: e.size,
|
|
@@ -490,130 +491,127 @@ function Qe(e) {
|
|
|
490
491
|
data: e
|
|
491
492
|
};
|
|
492
493
|
}
|
|
493
|
-
function
|
|
494
|
-
const t =
|
|
494
|
+
function xn(e) {
|
|
495
|
+
const t = Gt.c(83), {
|
|
495
496
|
data: n,
|
|
496
|
-
graphTitle:
|
|
497
|
+
graphTitle: o,
|
|
497
498
|
colors: r,
|
|
498
|
-
suffix: l,
|
|
499
499
|
sources: a,
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
onSeriesMouseOver: N,
|
|
500
|
+
graphDescription: l,
|
|
501
|
+
leftMargin: u,
|
|
502
|
+
rightMargin: g,
|
|
503
|
+
topMargin: y,
|
|
504
|
+
bottomMargin: s,
|
|
505
|
+
height: m,
|
|
506
|
+
width: i,
|
|
507
|
+
footNote: f,
|
|
508
|
+
colorDomain: d,
|
|
509
|
+
colorLegendTitle: v,
|
|
510
|
+
padding: h,
|
|
511
|
+
backgroundColor: p,
|
|
512
|
+
showLabels: D,
|
|
513
|
+
relativeHeight: k,
|
|
514
|
+
tooltip: M,
|
|
515
|
+
onSeriesMouseOver: x,
|
|
517
516
|
showColorScale: I,
|
|
518
|
-
showValues:
|
|
519
|
-
graphID:
|
|
520
|
-
highlightedDataPoints:
|
|
521
|
-
onSeriesMouseClick:
|
|
522
|
-
graphDownload:
|
|
523
|
-
dataDownload:
|
|
524
|
-
language:
|
|
525
|
-
showNAColor:
|
|
526
|
-
minHeight:
|
|
527
|
-
theme:
|
|
528
|
-
ariaLabel:
|
|
529
|
-
resetSelectionOnDoubleClick:
|
|
530
|
-
detailsOnClick:
|
|
531
|
-
styles:
|
|
517
|
+
showValues: z,
|
|
518
|
+
graphID: B,
|
|
519
|
+
highlightedDataPoints: j,
|
|
520
|
+
onSeriesMouseClick: X,
|
|
521
|
+
graphDownload: ot,
|
|
522
|
+
dataDownload: rt,
|
|
523
|
+
language: at,
|
|
524
|
+
showNAColor: vt,
|
|
525
|
+
minHeight: _,
|
|
526
|
+
theme: K,
|
|
527
|
+
ariaLabel: U,
|
|
528
|
+
resetSelectionOnDoubleClick: lt,
|
|
529
|
+
detailsOnClick: $,
|
|
530
|
+
styles: O,
|
|
532
531
|
classNames: w,
|
|
533
|
-
animate:
|
|
534
|
-
dimmedOpacity:
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
Zt(Ht[0].target.clientWidth || 620), Jt(Ht[0].target.clientHeight || 480);
|
|
532
|
+
animate: st,
|
|
533
|
+
dimmedOpacity: tt,
|
|
534
|
+
numberDisplayOptions: C
|
|
535
|
+
} = e, J = u === void 0 ? 0 : u, N = g === void 0 ? 0 : g, et = y === void 0 ? 0 : y, nt = s === void 0 ? 0 : s, R = p === void 0 ? !1 : p, H = D === void 0 ? !0 : D, P = I === void 0 ? !0 : I, G = z === void 0 ? !0 : z, A = ot === void 0 ? !1 : ot, E = rt === void 0 ? !1 : rt, S = at === void 0 ? "en" : at, W = vt === void 0 ? !0 : vt, q = _ === void 0 ? 0 : _, V = K === void 0 ? "light" : K, Z = lt === void 0 ? !0 : lt, L = st === void 0 ? !1 : st, F = tt === void 0 ? 0.3 : tt, [T, ct] = it(0), [ut, Mt] = it(0), [yt, c] = it(void 0), Y = St(null), At = St(null);
|
|
536
|
+
let Ot, Ct;
|
|
537
|
+
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ot = () => {
|
|
538
|
+
const Et = new ResizeObserver((Lt) => {
|
|
539
|
+
ct(Lt[0].target.clientWidth || 620), Mt(Lt[0].target.clientHeight || 480);
|
|
542
540
|
});
|
|
543
|
-
return
|
|
544
|
-
},
|
|
545
|
-
const
|
|
541
|
+
return Y.current && Et.observe(Y.current), () => Et.disconnect();
|
|
542
|
+
}, Ct = [], t[0] = Ot, t[1] = Ct) : (Ot = t[0], Ct = t[1]), Ft(Ot, Ct);
|
|
543
|
+
const kt = w?.graphContainer, It = O?.graphContainer;
|
|
546
544
|
let ft;
|
|
547
|
-
t[2] !== w?.description || t[3] !== w?.title || t[4] !== n || t[5] !==
|
|
548
|
-
title:
|
|
549
|
-
description:
|
|
545
|
+
t[2] !== w?.description || t[3] !== w?.title || t[4] !== n || t[5] !== E || t[6] !== l || t[7] !== A || t[8] !== o || t[9] !== O?.description || t[10] !== O?.title || t[11] !== i ? (ft = o || l || A || E ? /* @__PURE__ */ b.jsx(te, { styles: {
|
|
546
|
+
title: O?.title,
|
|
547
|
+
description: O?.description
|
|
550
548
|
}, classNames: {
|
|
551
549
|
title: w?.title,
|
|
552
550
|
description: w?.description
|
|
553
|
-
}, graphTitle:
|
|
551
|
+
}, graphTitle: o, graphDescription: l, width: i, graphDownload: A ? At : void 0, dataDownload: E ? n.map(tn).filter(_e).length > 0 ? n.map(Qe).filter(Je) : n.filter(Ue) : null }) : null, t[2] = w?.description, t[3] = w?.title, t[4] = n, t[5] = E, t[6] = l, t[7] = A, t[8] = o, t[9] = O?.description, t[10] = O?.title, t[11] = i, t[12] = ft) : ft = t[12];
|
|
552
|
+
let dt;
|
|
553
|
+
t[13] !== w?.colorLegend || t[14] !== d || t[15] !== v || t[16] !== r || t[17] !== n || t[18] !== P || t[19] !== W || t[20] !== V || t[21] !== i ? (dt = P && n.filter(Ke).length !== 0 && n.length > 0 ? /* @__PURE__ */ b.jsx(ee, { width: i, colorLegendTitle: v, colors: r || Q[V].categoricalColors.colors, colorDomain: d || Rt(n, "color", !0), setSelectedColor: c, showNAColor: W, className: w?.colorLegend }) : null, t[13] = w?.colorLegend, t[14] = d, t[15] = v, t[16] = r, t[17] = n, t[18] = P, t[19] = W, t[20] = V, t[21] = i, t[22] = dt) : dt = t[22];
|
|
554
554
|
let ht;
|
|
555
|
-
t[
|
|
555
|
+
t[23] !== n.length ? (ht = n.length === 0 && /* @__PURE__ */ b.jsx(ne, {}), t[23] = n.length, t[24] = ht) : ht = t[24];
|
|
556
556
|
let pt;
|
|
557
|
-
t[
|
|
558
|
-
let gt;
|
|
559
|
-
t[25] !== dt || t[26] !== P || t[27] !== w || t[28] !== h || t[29] !== r || t[30] !== n || t[31] !== ot || t[32] !== s || t[33] !== Q || t[34] !== B || t[35] !== z || t[36] !== It || t[37] !== _ || t[38] !== N || t[39] !== K || t[40] !== T || t[41] !== ut || t[42] !== R || t[43] !== Vt || t[44] !== W || t[45] !== F || t[46] !== b || t[47] !== L || t[48] !== Ot || t[49] !== Mt || t[50] !== A || t[51] !== j || t[52] !== H ? (gt = Mt && Ot && n.length > 0 ? /* @__PURE__ */ M.jsx(We, { data: n.filter(en), colors: n.filter(tn).length === 0 ? r ? [r] : [J.primaryColors["blue-600"]] : r || J[A].categoricalColors.colors, colorDomain: n.filter(_e).length === 0 ? [] : h || Wt(n, "color", !0), width: Mt, height: Ot, leftMargin: z, rightMargin: R, topMargin: H, bottomMargin: P, showLabels: W, showValues: F, suffix: L, prefix: T, selectedColor: Vt, tooltip: j, onSeriesMouseOver: N, onSeriesMouseClick: _, highlightedDataPoints: Q, resetSelectionOnDoubleClick: ut, detailsOnClick: ot, styles: b, classNames: w, language: B, animate: dt === !0 ? {
|
|
557
|
+
t[25] !== L || t[26] !== nt || t[27] !== w || t[28] !== d || t[29] !== r || t[30] !== n || t[31] !== $ || t[32] !== F || t[33] !== j || t[34] !== S || t[35] !== J || t[36] !== C?.locale || t[37] !== C?.padZeros || t[38] !== C?.precision || t[39] !== C?.prefix || t[40] !== C?.suffix || t[41] !== X || t[42] !== x || t[43] !== Z || t[44] !== N || t[45] !== yt || t[46] !== H || t[47] !== G || t[48] !== O || t[49] !== ut || t[50] !== T || t[51] !== V || t[52] !== M || t[53] !== et ? (pt = T && ut && n.length > 0 ? /* @__PURE__ */ b.jsx(Le, { data: n.filter(Ye), colors: n.filter(Xe).length === 0 ? r ? [r] : [Q.primaryColors["blue-600"]] : r || Q[V].categoricalColors.colors, colorDomain: n.filter(Fe).length === 0 ? [] : d || Rt(n, "color", !0), width: T, height: ut, leftMargin: J, rightMargin: N, topMargin: et, bottomMargin: nt, showLabels: H, showValues: G, selectedColor: yt, tooltip: M, onSeriesMouseOver: x, onSeriesMouseClick: X, highlightedDataPoints: j, resetSelectionOnDoubleClick: Z, detailsOnClick: $, styles: O, classNames: w, language: S, animate: L === !0 ? {
|
|
560
558
|
duration: 0.5,
|
|
561
559
|
once: !0,
|
|
562
560
|
amount: 0.5
|
|
563
|
-
} :
|
|
561
|
+
} : L || {
|
|
564
562
|
duration: 0,
|
|
565
563
|
once: !0,
|
|
566
564
|
amount: 0
|
|
567
|
-
}, dimmedOpacity:
|
|
565
|
+
}, dimmedOpacity: F, locale: C?.locale || "en", padZeros: C?.padZeros || !1, suffix: C?.suffix || "", prefix: C?.prefix || "", precision: C?.precision ?? 2 }) : null, t[25] = L, t[26] = nt, t[27] = w, t[28] = d, t[29] = r, t[30] = n, t[31] = $, t[32] = F, t[33] = j, t[34] = S, t[35] = J, t[36] = C?.locale, t[37] = C?.padZeros, t[38] = C?.precision, t[39] = C?.prefix, t[40] = C?.suffix, t[41] = X, t[42] = x, t[43] = Z, t[44] = N, t[45] = yt, t[46] = H, t[47] = G, t[48] = O, t[49] = ut, t[50] = T, t[51] = V, t[52] = M, t[53] = et, t[54] = pt) : pt = t[54];
|
|
566
|
+
let gt;
|
|
567
|
+
t[55] !== ht || t[56] !== pt ? (gt = /* @__PURE__ */ b.jsxs(ie, { ref: Y, children: [
|
|
568
|
+
ht,
|
|
569
|
+
pt
|
|
570
|
+
] }), t[55] = ht, t[56] = pt, t[57] = gt) : gt = t[57];
|
|
568
571
|
let mt;
|
|
569
|
-
t[
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
] }), t[54] = pt, t[55] = gt, t[56] = mt) : mt = t[56];
|
|
573
|
-
let vt;
|
|
574
|
-
t[57] !== w?.footnote || t[58] !== w?.source || t[59] !== m || t[60] !== a || t[61] !== b?.footnote || t[62] !== b?.source || t[63] !== u ? (vt = a || m ? /* @__PURE__ */ M.jsx(ae, { styles: {
|
|
575
|
-
footnote: b?.footnote,
|
|
576
|
-
source: b?.source
|
|
572
|
+
t[58] !== w?.footnote || t[59] !== w?.source || t[60] !== f || t[61] !== a || t[62] !== O?.footnote || t[63] !== O?.source || t[64] !== i ? (mt = a || f ? /* @__PURE__ */ b.jsx(_t, { styles: {
|
|
573
|
+
footnote: O?.footnote,
|
|
574
|
+
source: O?.source
|
|
577
575
|
}, classNames: {
|
|
578
576
|
footnote: w?.footnote,
|
|
579
577
|
source: w?.source
|
|
580
|
-
}, sources: a, footNote:
|
|
581
|
-
let
|
|
582
|
-
return t[
|
|
578
|
+
}, sources: a, footNote: f, width: i }) : null, t[58] = w?.footnote, t[59] = w?.source, t[60] = f, t[61] = a, t[62] = O?.footnote, t[63] = O?.source, t[64] = i, t[65] = mt) : mt = t[65];
|
|
579
|
+
let jt;
|
|
580
|
+
return t[66] !== U || t[67] !== R || t[68] !== B || t[69] !== m || t[70] !== S || t[71] !== q || t[72] !== h || t[73] !== k || t[74] !== kt || t[75] !== It || t[76] !== ft || t[77] !== dt || t[78] !== gt || t[79] !== mt || t[80] !== V || t[81] !== i ? (jt = /* @__PURE__ */ b.jsxs(oe, { className: kt, style: It, id: B, ref: At, "aria-label": U, backgroundColor: R, theme: V, language: S, minHeight: q, width: i, height: m, relativeHeight: k, padding: h, children: [
|
|
583
581
|
ft,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
] }), t[
|
|
582
|
+
dt,
|
|
583
|
+
gt,
|
|
584
|
+
mt
|
|
585
|
+
] }), t[66] = U, t[67] = R, t[68] = B, t[69] = m, t[70] = S, t[71] = q, t[72] = h, t[73] = k, t[74] = kt, t[75] = It, t[76] = ft, t[77] = dt, t[78] = gt, t[79] = mt, t[80] = V, t[81] = i, t[82] = jt) : jt = t[82], jt;
|
|
588
586
|
}
|
|
589
|
-
function
|
|
587
|
+
function Fe(e) {
|
|
590
588
|
return e.color;
|
|
591
589
|
}
|
|
592
|
-
function
|
|
590
|
+
function Xe(e) {
|
|
593
591
|
return e.color;
|
|
594
592
|
}
|
|
595
|
-
function
|
|
596
|
-
return !
|
|
593
|
+
function Ye(e) {
|
|
594
|
+
return !Qt(e.size);
|
|
597
595
|
}
|
|
598
|
-
function
|
|
596
|
+
function Ke(e) {
|
|
599
597
|
return e.color;
|
|
600
598
|
}
|
|
601
|
-
function
|
|
599
|
+
function Ue(e) {
|
|
602
600
|
return e !== void 0;
|
|
603
601
|
}
|
|
604
|
-
function
|
|
602
|
+
function Je(e) {
|
|
605
603
|
return e !== void 0;
|
|
606
604
|
}
|
|
607
|
-
function
|
|
605
|
+
function Qe(e) {
|
|
608
606
|
return e.data;
|
|
609
607
|
}
|
|
610
|
-
function
|
|
608
|
+
function _e(e) {
|
|
611
609
|
return e !== void 0;
|
|
612
610
|
}
|
|
613
|
-
function
|
|
611
|
+
function tn(e) {
|
|
614
612
|
return e.data;
|
|
615
613
|
}
|
|
616
614
|
export {
|
|
617
|
-
|
|
615
|
+
xn as TreeMapGraph
|
|
618
616
|
};
|
|
619
617
|
//# sourceMappingURL=TreeMapGraph.js.map
|