@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.
- package/dist/BarGraph.cjs +1 -1
- package/dist/BarGraph.cjs.map +1 -1
- package/dist/BarGraph.js +1360 -1363
- package/dist/BarGraph.js.map +1 -1
- package/dist/BeeSwarmChart.cjs +1 -1
- package/dist/BeeSwarmChart.cjs.map +1 -1
- package/dist/BeeSwarmChart.js +302 -305
- package/dist/BeeSwarmChart.js.map +1 -1
- package/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.js +4 -4
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/BulletChart.cjs +1 -1
- package/dist/BulletChart.cjs.map +1 -1
- package/dist/BulletChart.js +591 -594
- package/dist/BulletChart.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.js +4 -4
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/CirclePackingGraph.cjs +1 -1
- package/dist/CirclePackingGraph.js +1 -1
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.js +255 -258
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/DumbbellChart.cjs +1 -1
- package/dist/DumbbellChart.cjs.map +1 -1
- package/dist/DumbbellChart.js +553 -556
- package/dist/DumbbellChart.js.map +1 -1
- package/dist/{GraphEl-Dorm_qQE.js → GraphEl-B73N4RIA.js} +2 -2
- package/dist/{GraphEl-Dorm_qQE.js.map → GraphEl-B73N4RIA.js.map} +1 -1
- package/dist/{GraphEl-D8WRC8-j.cjs → GraphEl-Lt1og0C-.cjs} +2 -2
- package/dist/{GraphEl-D8WRC8-j.cjs.map → GraphEl-Lt1og0C-.cjs.map} +1 -1
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.js +1 -1
- package/dist/Histogram.cjs +1 -1
- package/dist/Histogram.js +1 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.js +310 -313
- package/dist/HybridMap.js.map +1 -1
- package/dist/MultiLineAltChart.cjs +1 -1
- package/dist/MultiLineAltChart.cjs.map +1 -1
- package/dist/MultiLineAltChart.js +269 -272
- package/dist/MultiLineAltChart.js.map +1 -1
- package/dist/MultiLineChart.cjs +1 -1
- package/dist/MultiLineChart.cjs.map +1 -1
- package/dist/MultiLineChart.js +319 -322
- package/dist/MultiLineChart.js.map +1 -1
- package/dist/RadarChart.cjs +1 -1
- package/dist/RadarChart.cjs.map +1 -1
- package/dist/RadarChart.js +3 -3
- package/dist/RadarChart.js.map +1 -1
- package/dist/SankeyChart.cjs +1 -1
- package/dist/SankeyChart.cjs.map +1 -1
- package/dist/SankeyChart.js +274 -280
- package/dist/SankeyChart.js.map +1 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.js +341 -344
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SlopeChart.cjs +1 -1
- package/dist/SlopeChart.cjs.map +1 -1
- package/dist/SlopeChart.js +251 -254
- package/dist/SlopeChart.js.map +1 -1
- package/dist/StripChart.cjs +1 -1
- package/dist/StripChart.cjs.map +1 -1
- package/dist/StripChart.js +292 -295
- package/dist/StripChart.js.map +1 -1
- package/dist/ThreeDGlobe.cjs +1 -1
- package/dist/ThreeDGlobe.cjs.map +1 -1
- package/dist/ThreeDGlobe.js +3 -3
- package/dist/ThreeDGlobe.js.map +1 -1
- package/dist/TreeMapGraph.cjs +1 -1
- package/dist/TreeMapGraph.cjs.map +1 -1
- package/dist/TreeMapGraph.js +196 -199
- package/dist/TreeMapGraph.js.map +1 -1
- package/dist/WaterfallChart.cjs +1 -1
- package/dist/WaterfallChart.cjs.map +1 -1
- package/dist/WaterfallChart.js +274 -277
- package/dist/WaterfallChart.js.map +1 -1
- package/dist/index-B0Awa_de.js +377 -0
- package/dist/index-B0Awa_de.js.map +1 -0
- package/dist/index-CP8cmNzt.cjs +2 -0
- package/dist/index-CP8cmNzt.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-Bdo_HXb_.cjs +0 -2
- package/dist/index-Bdo_HXb_.cjs.map +0 -1
- package/dist/index-CGrBpeUa.js +0 -380
- package/dist/index-CGrBpeUa.js.map +0 -1
package/dist/ScatterPlot.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as mi, j as l, m as oi } from "./index-CHPV5EwG-BzibaIRc.js";
|
|
2
2
|
import { f as pi, p as gi } from "./parse-Dv4of-PN.js";
|
|
3
|
-
import { useRef as ii, useState as
|
|
3
|
+
import { useRef as ii, useState as Et, useEffect as si } from "react";
|
|
4
4
|
import { g as hi, N as yi } from "./getSliderMarks-X-_goqH9.js";
|
|
5
5
|
import { i as ni } from "./index-Bwrro8-q.js";
|
|
6
6
|
import { o as vi } from "./index-BZQYSqar.js";
|
|
@@ -14,15 +14,15 @@ import { A as ri } from "./Axis-CNZYWzH0.js";
|
|
|
14
14
|
import { A as ai } from "./AxisTitle-CyLCqpW6.js";
|
|
15
15
|
import { X as ji } from "./XTicksAndGridLines-gdbGX2rm.js";
|
|
16
16
|
import { R as Vi, a as $i } from "./ReferenceLine-D41VuUhE.js";
|
|
17
|
-
import { R as
|
|
18
|
-
import { Y as
|
|
17
|
+
import { R as ki } from "./RegressionLine-CuwB42I6.js";
|
|
18
|
+
import { Y as Di } from "./YTicksAndGridLines-CsNSq9W9.js";
|
|
19
19
|
import { a as Si } from "./index-DHVGV8Df.js";
|
|
20
20
|
import { D as Mi } from "./DetailsModal-B2XBWR7w.js";
|
|
21
21
|
import { s as Ni } from "./pow-BXYLJHCq.js";
|
|
22
22
|
import { a as ci } from "./linear-DNXM5Pdl.js";
|
|
23
|
-
import { D as
|
|
24
|
-
import { m as
|
|
25
|
-
import { u as
|
|
23
|
+
import { D as Ti } from "./delaunay-C1uAf38t.js";
|
|
24
|
+
import { m as ze } from "./proxy-BsxtcZKa.js";
|
|
25
|
+
import { u as Pi } from "./use-in-view-KOXq5Kmc.js";
|
|
26
26
|
import { A as fi } from "./index-Cv_5q6Rb.js";
|
|
27
27
|
import { GraphFooter as Xi } from "./GraphFooter.js";
|
|
28
28
|
import { GraphHeader as Yi } from "./GraphHeader.js";
|
|
@@ -37,343 +37,343 @@ function qi(i) {
|
|
|
37
37
|
data: o,
|
|
38
38
|
width: ot,
|
|
39
39
|
height: V,
|
|
40
|
-
showLabels:
|
|
41
|
-
colors:
|
|
40
|
+
showLabels: Gt,
|
|
41
|
+
colors: m,
|
|
42
42
|
colorDomain: L,
|
|
43
43
|
radius: F,
|
|
44
44
|
xAxisTitle: y,
|
|
45
45
|
yAxisTitle: B,
|
|
46
46
|
leftMargin: H,
|
|
47
|
-
rightMargin:
|
|
48
|
-
topMargin:
|
|
49
|
-
bottomMargin:
|
|
50
|
-
tooltip:
|
|
47
|
+
rightMargin: me,
|
|
48
|
+
topMargin: $e,
|
|
49
|
+
bottomMargin: He,
|
|
50
|
+
tooltip: xe,
|
|
51
51
|
onSeriesMouseOver: st,
|
|
52
|
-
refXValues:
|
|
53
|
-
refYValues:
|
|
54
|
-
highlightAreaSettings:
|
|
55
|
-
selectedColor:
|
|
52
|
+
refXValues: ke,
|
|
53
|
+
refYValues: De,
|
|
54
|
+
highlightAreaSettings: Se,
|
|
55
|
+
selectedColor: Vt,
|
|
56
56
|
highlightedDataPoints: z,
|
|
57
|
-
maxRadiusValue:
|
|
58
|
-
maxXValue:
|
|
57
|
+
maxRadiusValue: de,
|
|
58
|
+
maxXValue: pe,
|
|
59
59
|
minXValue: j,
|
|
60
|
-
maxYValue:
|
|
60
|
+
maxYValue: qt,
|
|
61
61
|
minYValue: O,
|
|
62
|
-
onSeriesMouseClick:
|
|
63
|
-
rtl:
|
|
64
|
-
annotations:
|
|
65
|
-
customHighlightAreaSettings:
|
|
66
|
-
regressionLine:
|
|
62
|
+
onSeriesMouseClick: D,
|
|
63
|
+
rtl: Bt,
|
|
64
|
+
annotations: ge,
|
|
65
|
+
customHighlightAreaSettings: zt,
|
|
66
|
+
regressionLine: $t,
|
|
67
67
|
resetSelectionOnDoubleClick: kt,
|
|
68
68
|
detailsOnClick: S,
|
|
69
|
-
noOfXTicks:
|
|
70
|
-
noOfYTicks:
|
|
69
|
+
noOfXTicks: Ut,
|
|
70
|
+
noOfYTicks: Jt,
|
|
71
71
|
labelColor: U,
|
|
72
|
-
xSuffix:
|
|
73
|
-
ySuffix:
|
|
74
|
-
xPrefix:
|
|
75
|
-
yPrefix:
|
|
72
|
+
xSuffix: Dt,
|
|
73
|
+
ySuffix: St,
|
|
74
|
+
xPrefix: Mt,
|
|
75
|
+
yPrefix: Nt,
|
|
76
76
|
styles: s,
|
|
77
77
|
classNames: n,
|
|
78
|
-
animate:
|
|
78
|
+
animate: f,
|
|
79
79
|
dimmedOpacity: M,
|
|
80
80
|
precision: N,
|
|
81
|
-
showHighlightedDataPointsLabels:
|
|
82
|
-
customLayers:
|
|
83
|
-
showVoronoiTesselation:
|
|
84
|
-
useVoronoiInteraction:
|
|
85
|
-
locale:
|
|
86
|
-
} = i,
|
|
87
|
-
let
|
|
88
|
-
t[0] !==
|
|
89
|
-
once:
|
|
90
|
-
amount:
|
|
91
|
-
}, t[0] =
|
|
92
|
-
const
|
|
93
|
-
let
|
|
94
|
-
t[3] !==
|
|
95
|
-
top:
|
|
96
|
-
bottom:
|
|
97
|
-
left:
|
|
98
|
-
right:
|
|
99
|
-
}, t[3] =
|
|
100
|
-
const
|
|
101
|
-
let
|
|
102
|
-
if (t[8] !==
|
|
103
|
-
const
|
|
104
|
-
nt =
|
|
105
|
-
let
|
|
106
|
-
t[94] !==
|
|
107
|
-
/* @__PURE__ */ l.jsx(Si, { areaSettings:
|
|
108
|
-
|
|
81
|
+
showHighlightedDataPointsLabels: Me,
|
|
82
|
+
customLayers: T,
|
|
83
|
+
showVoronoiTesselation: Kt,
|
|
84
|
+
useVoronoiInteraction: Ne,
|
|
85
|
+
locale: P
|
|
86
|
+
} = i, Te = ii(null);
|
|
87
|
+
let he;
|
|
88
|
+
t[0] !== f.amount || t[1] !== f.once ? (he = {
|
|
89
|
+
once: f.once,
|
|
90
|
+
amount: f.amount
|
|
91
|
+
}, t[0] = f.amount, t[1] = f.once, t[2] = he) : he = t[2];
|
|
92
|
+
const v = Pi(Te, he), [X, Tt] = Et(void 0), [W, d] = Et(void 0), [x, Pt] = Et(void 0), [ye, Xt] = Et(void 0), Qt = y ? He + 50 : He, Zt = B ? H + 30 : H;
|
|
93
|
+
let ve;
|
|
94
|
+
t[3] !== me || t[4] !== Qt || t[5] !== Zt || t[6] !== $e ? (ve = {
|
|
95
|
+
top: $e,
|
|
96
|
+
bottom: Qt,
|
|
97
|
+
left: Zt,
|
|
98
|
+
right: me
|
|
99
|
+
}, t[3] = me, t[4] = Qt, t[5] = Zt, t[6] = $e, t[7] = ve) : ve = t[7];
|
|
100
|
+
const g = ve;
|
|
101
|
+
let Yt, nt, lt, rt, at, ct, E, ft, ut, mt, J, xt, K, dt, Q, pt, G, gt;
|
|
102
|
+
if (t[8] !== f || t[9] !== ge || t[10] !== n?.graphObjectValues || t[11] !== n?.regLine || t[12] !== n?.xAxis?.axis || t[13] !== n?.xAxis?.gridLines || t[14] !== n?.xAxis?.labels || t[15] !== n?.xAxis?.title || t[16] !== n?.yAxis?.gridLines || t[17] !== n?.yAxis?.labels || t[18] !== n?.yAxis?.title || t[19] !== L || t[20] !== m || t[21] !== zt || t[22] !== T || t[23] !== o || t[24] !== S || t[25] !== M || t[26] !== V || t[27] !== Se || t[28] !== z || t[29] !== v || t[30] !== U || t[31] !== H || t[32] !== P || t[33] !== g.bottom || t[34] !== g.left || t[35] !== g.right || t[36] !== g.top || t[37] !== de || t[38] !== pe || t[39] !== qt || t[40] !== j || t[41] !== O || t[42] !== W || t[43] !== X || t[44] !== Ut || t[45] !== Jt || t[46] !== D || t[47] !== st || t[48] !== N || t[49] !== F || t[50] !== ke || t[51] !== De || t[52] !== $t || t[53] !== kt || t[54] !== Bt || t[55] !== Vt || t[56] !== Me || t[57] !== Gt || t[58] !== Kt || t[59] !== s?.graphObjectValues || t[60] !== s?.regLine || t[61] !== s?.xAxis?.axis || t[62] !== s?.xAxis?.gridLines || t[63] !== s?.xAxis?.labels || t[64] !== s?.xAxis?.title || t[65] !== s?.yAxis?.gridLines || t[66] !== s?.yAxis?.labels || t[67] !== s?.yAxis?.title || t[68] !== Ne || t[69] !== ot || t[70] !== y || t[71] !== Mt || t[72] !== Dt || t[73] !== B || t[74] !== Nt || t[75] !== St) {
|
|
103
|
+
const be = o.map(xo), b = ot - g.left - g.right, h = V - g.top - g.bottom, $ = o.filter(mo).length !== o.length ? Ni().domain([0, de]).range([0.25, F]).nice() : void 0, It = be.filter(uo).length === 0 ? be.filter(fo) : vi(be.filter(co), "radius", "desc"), u = ci().domain([j, pe]).range([0, b]).nice(), r = ci().domain([O, qt]).range([h, 0]).nice(), Pe = u.ticks(Ut), Xe = r.ticks(Jt), We = Ti.from(It, (e) => u(e.x), (e) => r(e.y)).voronoi([0, 0, b < 0 ? 0 : b, h < 0 ? 0 : h]), Ee = bi(o.filter(ao).map((e) => [u(e.x), r(e.y)])), Ae = Ai(Ee);
|
|
104
|
+
nt = ze.svg, ft = `${ot}px`, ut = `${V}px`, mt = `0 0 ${ot} ${V}`, J = "ltr", xt = Te, lt = `translate(${g.left},${g.top})`;
|
|
105
|
+
let _t;
|
|
106
|
+
t[94] !== f || t[95] !== zt || t[96] !== v || t[97] !== u || t[98] !== r ? (_t = /* @__PURE__ */ l.jsx(Li, { areaSettings: zt, scaleX: u, scaleY: r, animate: f, isInView: v }, "custom-area"), t[94] = f, t[95] = zt, t[96] = v, t[97] = u, t[98] = r, t[99] = _t) : _t = t[99], rt = /* @__PURE__ */ l.jsxs(fi, { children: [
|
|
107
|
+
/* @__PURE__ */ l.jsx(Si, { areaSettings: Se, width: b, height: h, scaleX: u, scaleY: r, animate: f, isInView: v }, "highlight-area"),
|
|
108
|
+
_t
|
|
109
109
|
] });
|
|
110
|
-
const
|
|
111
|
-
let
|
|
112
|
-
t[100] !==
|
|
113
|
-
gridLines:
|
|
114
|
-
labels:
|
|
115
|
-
}, t[100] =
|
|
116
|
-
const
|
|
117
|
-
let
|
|
118
|
-
t[103] !==
|
|
119
|
-
gridLines:
|
|
120
|
-
labels:
|
|
121
|
-
}, t[103] =
|
|
122
|
-
const
|
|
123
|
-
let _;
|
|
124
|
-
t[106] !== T || t[107] !== N || t[108] !== Ve || t[109] !== Pt || t[110] !== Mt ? (_ = li(Ve, void 0, N, Pt, Mt, T), t[106] = T, t[107] = N, t[108] = Ve, t[109] = Pt, t[110] = Mt, t[111] = _) : _ = t[111];
|
|
125
|
-
const qe = x(O < 0 ? 0 : O);
|
|
110
|
+
const Oe = s?.yAxis?.gridLines, te = s?.yAxis?.labels;
|
|
111
|
+
let ee;
|
|
112
|
+
t[100] !== Oe || t[101] !== te ? (ee = {
|
|
113
|
+
gridLines: Oe,
|
|
114
|
+
labels: te
|
|
115
|
+
}, t[100] = Oe, t[101] = te, t[102] = ee) : ee = t[102];
|
|
116
|
+
const ie = n?.yAxis?.gridLines, a = n?.yAxis?.labels;
|
|
117
|
+
let oe;
|
|
118
|
+
t[103] !== ie || t[104] !== a ? (oe = {
|
|
119
|
+
gridLines: ie,
|
|
120
|
+
labels: a
|
|
121
|
+
}, t[103] = ie, t[104] = a, t[105] = oe) : oe = t[105];
|
|
122
|
+
const Ce = r(O < 0 ? 0 : O), we = r(O < 0 ? 0 : O), se = b + g.right, Ge = O < 0 ? 0 : O;
|
|
126
123
|
let tt;
|
|
127
|
-
t[
|
|
124
|
+
t[106] !== P || t[107] !== N || t[108] !== Ge || t[109] !== Nt || t[110] !== St ? (tt = li(Ge, void 0, N, Nt, St, P), t[106] = P, t[107] = N, t[108] = Ge, t[109] = Nt, t[110] = St, t[111] = tt) : tt = t[111];
|
|
125
|
+
const qe = r(O < 0 ? 0 : O);
|
|
126
|
+
let C;
|
|
127
|
+
t[112] !== qe ? (C = {
|
|
128
128
|
x: 0,
|
|
129
129
|
y: qe,
|
|
130
130
|
dy: "0.33em",
|
|
131
131
|
dx: -4
|
|
132
|
-
}, t[112] = qe, t[113] =
|
|
133
|
-
const Be = n?.xAxis?.axis,
|
|
134
|
-
let
|
|
135
|
-
t[114] !== Be || t[115] !==
|
|
132
|
+
}, t[112] = qe, t[113] = C) : C = t[113];
|
|
133
|
+
const Be = n?.xAxis?.axis, Rt = n?.yAxis?.labels;
|
|
134
|
+
let c;
|
|
135
|
+
t[114] !== Be || t[115] !== Rt ? (c = {
|
|
136
136
|
axis: Be,
|
|
137
|
-
label:
|
|
138
|
-
}, t[114] = Be, t[115] =
|
|
139
|
-
const
|
|
140
|
-
let
|
|
141
|
-
t[117] !== s?.yAxis?.labels ? (
|
|
142
|
-
let C;
|
|
143
|
-
t[119] !== a ? (C = {
|
|
144
|
-
textAnchor: "end",
|
|
145
|
-
...a
|
|
146
|
-
}, t[119] = a, t[120] = C) : C = t[120];
|
|
137
|
+
label: Rt
|
|
138
|
+
}, t[114] = Be, t[115] = Rt, t[116] = c) : c = t[116];
|
|
139
|
+
const Y = s?.xAxis?.axis;
|
|
140
|
+
let At;
|
|
141
|
+
t[117] !== s?.yAxis?.labels ? (At = s?.yAxis?.labels || {}, t[117] = s?.yAxis?.labels, t[118] = At) : At = t[118];
|
|
147
142
|
let Ot;
|
|
148
|
-
t[
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}, t[
|
|
152
|
-
let
|
|
153
|
-
t[
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
143
|
+
t[119] !== At ? (Ot = {
|
|
144
|
+
textAnchor: "end",
|
|
145
|
+
...At
|
|
146
|
+
}, t[119] = At, t[120] = Ot) : Ot = t[120];
|
|
147
|
+
let ne;
|
|
148
|
+
t[121] !== Y || t[122] !== Ot ? (ne = {
|
|
149
|
+
axis: Y,
|
|
150
|
+
label: Ot
|
|
151
|
+
}, t[121] = Y, t[122] = Ot, t[123] = ne) : ne = t[123];
|
|
152
|
+
let le;
|
|
153
|
+
t[124] !== Ce || t[125] !== we || t[126] !== se || t[127] !== tt || t[128] !== C || t[129] !== c || t[130] !== ne ? (le = /* @__PURE__ */ l.jsx(ri, { y1: Ce, y2: we, x1: 0, x2: se, label: tt, labelPos: C, classNames: c, styles: ne }), t[124] = Ce, t[125] = we, t[126] = se, t[127] = tt, t[128] = C, t[129] = c, t[130] = ne, t[131] = le) : le = t[131];
|
|
154
|
+
const Ye = 0 - H - 15, re = h / 2, ae = s?.yAxis?.title, ce = n?.yAxis?.title;
|
|
155
|
+
let Ft;
|
|
156
|
+
t[132] !== Ye || t[133] !== re || t[134] !== ae || t[135] !== ce || t[136] !== B ? (Ft = /* @__PURE__ */ l.jsx(ai, { x: Ye, y: re, style: ae, className: ce, text: B, rotate90: !0 }), t[132] = Ye, t[133] = re, t[134] = ae, t[135] = ce, t[136] = B, t[137] = Ft) : Ft = t[137], at = /* @__PURE__ */ l.jsxs("g", { children: [
|
|
157
|
+
/* @__PURE__ */ l.jsx(Di, { values: Xe.filter(ro), y: Xe.filter(lo).map((e) => r(e)), x1: 0, x2: b + g.right, styles: ee, classNames: oe, suffix: St, prefix: Nt, labelType: "secondary", showGridLines: !0, labelPos: "side", precision: N, locale: P }),
|
|
158
|
+
le,
|
|
159
|
+
Ft
|
|
160
160
|
] });
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
t[138] !==
|
|
164
|
-
gridLines:
|
|
165
|
-
labels:
|
|
166
|
-
}, t[138] =
|
|
167
|
-
const
|
|
168
|
-
let
|
|
169
|
-
t[141] !==
|
|
170
|
-
gridLines:
|
|
171
|
-
labels:
|
|
172
|
-
}, t[141] =
|
|
173
|
-
const
|
|
161
|
+
const Le = s?.xAxis?.gridLines, fe = s?.xAxis?.labels;
|
|
162
|
+
let Ht;
|
|
163
|
+
t[138] !== Le || t[139] !== fe ? (Ht = {
|
|
164
|
+
gridLines: Le,
|
|
165
|
+
labels: fe
|
|
166
|
+
}, t[138] = Le, t[139] = fe, t[140] = Ht) : Ht = t[140];
|
|
167
|
+
const je = n?.xAxis?.gridLines, Ve = n?.xAxis?.labels;
|
|
168
|
+
let et;
|
|
169
|
+
t[141] !== je || t[142] !== Ve ? (et = {
|
|
170
|
+
gridLines: je,
|
|
171
|
+
labels: Ve
|
|
172
|
+
}, t[141] = je, t[142] = Ve, t[143] = et) : et = t[143];
|
|
173
|
+
const Ct = u(j < 0 ? 0 : j), wt = u(j < 0 ? 0 : j), Lt = j < 0 ? 0 : j;
|
|
174
174
|
let I;
|
|
175
|
-
t[144] !==
|
|
176
|
-
const
|
|
175
|
+
t[144] !== P || t[145] !== N || t[146] !== Lt || t[147] !== Mt || t[148] !== Dt ? (I = li(Lt, void 0, N, Mt, Dt, P), t[144] = P, t[145] = N, t[146] = Lt, t[147] = Mt, t[148] = Dt, t[149] = I) : I = t[149];
|
|
176
|
+
const jt = u(j < 0 ? 0 : j);
|
|
177
177
|
let R;
|
|
178
|
-
t[150] !==
|
|
179
|
-
x:
|
|
180
|
-
y:
|
|
178
|
+
t[150] !== h || t[151] !== jt ? (R = {
|
|
179
|
+
x: jt,
|
|
180
|
+
y: h,
|
|
181
181
|
dy: "1em",
|
|
182
182
|
dx: 0
|
|
183
|
-
}, t[150] =
|
|
184
|
-
const
|
|
185
|
-
let
|
|
186
|
-
t[153] !==
|
|
187
|
-
axis:
|
|
188
|
-
label:
|
|
189
|
-
}, t[153] =
|
|
190
|
-
const
|
|
191
|
-
let
|
|
192
|
-
t[156] !== s?.yAxis?.labels ? (
|
|
193
|
-
let
|
|
194
|
-
t[158] !==
|
|
183
|
+
}, t[150] = h, t[151] = jt, t[152] = R) : R = t[152];
|
|
184
|
+
const ue = n?.xAxis?.axis, p = n?.yAxis?.labels;
|
|
185
|
+
let k;
|
|
186
|
+
t[153] !== ue || t[154] !== p ? (k = {
|
|
187
|
+
axis: ue,
|
|
188
|
+
label: p
|
|
189
|
+
}, t[153] = ue, t[154] = p, t[155] = k) : k = t[155];
|
|
190
|
+
const Ke = s?.xAxis?.axis;
|
|
191
|
+
let Ie;
|
|
192
|
+
t[156] !== s?.yAxis?.labels ? (Ie = s?.yAxis?.labels || {}, t[156] = s?.yAxis?.labels, t[157] = Ie) : Ie = t[157];
|
|
193
|
+
let Re;
|
|
194
|
+
t[158] !== Ie ? (Re = {
|
|
195
195
|
textAnchor: "middle",
|
|
196
|
-
...
|
|
197
|
-
}, t[158] =
|
|
198
|
-
let
|
|
199
|
-
t[160] !==
|
|
200
|
-
axis:
|
|
201
|
-
label:
|
|
202
|
-
}, t[160] =
|
|
196
|
+
...Ie
|
|
197
|
+
}, t[158] = Ie, t[159] = Re) : Re = t[159];
|
|
198
|
+
let Fe;
|
|
199
|
+
t[160] !== Ke || t[161] !== Re ? (Fe = {
|
|
200
|
+
axis: Ke,
|
|
201
|
+
label: Re
|
|
202
|
+
}, t[160] = Ke, t[161] = Re, t[162] = Fe) : Fe = t[162];
|
|
203
|
+
let Ue;
|
|
204
|
+
t[163] !== h || t[164] !== Ct || t[165] !== wt || t[166] !== I || t[167] !== R || t[168] !== k || t[169] !== Fe ? (Ue = /* @__PURE__ */ l.jsx(ri, { x1: Ct, x2: wt, y1: 0, y2: h, label: I, labelPos: R, classNames: k, styles: Fe }), t[163] = h, t[164] = Ct, t[165] = wt, t[166] = I, t[167] = R, t[168] = k, t[169] = Fe, t[170] = Ue) : Ue = t[170];
|
|
205
|
+
const Qe = b / 2, Ze = h + 30, _e = s?.xAxis?.title, ti = n?.xAxis?.title;
|
|
203
206
|
let Je;
|
|
204
|
-
t[
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
Je,
|
|
210
|
-
Ke
|
|
211
|
-
] }), t[177] !== P ? (E = P.filter(oo).map(io), t[177] = P, t[178] = E) : E = t[178], It = fi, K = Te && Ft.map((e, Gt) => /* @__PURE__ */ l.jsx("path", { d: Ee.renderCell(Ft.findIndex((w) => w.id === e.id)), opacity: _t ? 1 : 0, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
|
|
207
|
+
t[171] !== Qe || t[172] !== Ze || t[173] !== _e || t[174] !== ti || t[175] !== y ? (Je = /* @__PURE__ */ l.jsx(ai, { x: Qe, y: Ze, style: _e, className: ti, text: y }), t[171] = Qe, t[172] = Ze, t[173] = _e, t[174] = ti, t[175] = y, t[176] = Je) : Je = t[176], ct = /* @__PURE__ */ l.jsxs("g", { children: [
|
|
208
|
+
/* @__PURE__ */ l.jsx(ji, { values: Pe.filter(no), x: Pe.filter(so).map((e) => u(e)), y1: 0, y2: h, styles: Ht, classNames: et, suffix: Dt, prefix: Mt, labelType: "primary", showGridLines: !0, precision: N, locale: P }),
|
|
209
|
+
Ue,
|
|
210
|
+
Je
|
|
211
|
+
] }), t[177] !== T ? (E = T.filter(oo).map(io), t[177] = T, t[178] = E) : E = t[178], Yt = fi, K = Ne && It.map((e, Wt) => /* @__PURE__ */ l.jsx("path", { d: We.renderCell(It.findIndex((w) => w.id === e.id)), opacity: Kt ? 1 : 0, className: "stroke-primary-gray-700 dark:stroke-primary-gray-300", style: {
|
|
212
212
|
fillOpacity: 0,
|
|
213
213
|
strokeWidth: 1
|
|
214
214
|
}, onMouseEnter: (w) => {
|
|
215
|
-
Tt(e),
|
|
215
|
+
Tt(e), Xt(w.clientY), Pt(w.clientX), st?.(e);
|
|
216
216
|
}, onMouseMove: (w) => {
|
|
217
|
-
Tt(e),
|
|
217
|
+
Tt(e), Xt(w.clientY), Pt(w.clientX);
|
|
218
218
|
}, onMouseLeave: () => {
|
|
219
|
-
Tt(void 0),
|
|
219
|
+
Tt(void 0), Pt(void 0), Xt(void 0), st?.(void 0);
|
|
220
220
|
}, onClick: () => {
|
|
221
|
-
(
|
|
222
|
-
} }, `tesselation_${e.label ||
|
|
221
|
+
(D || S) && (ni(W, e) && kt ? (d(void 0), D?.(void 0)) : (d(e), D?.(e)));
|
|
222
|
+
} }, `tesselation_${e.label || Wt}`)), dt = It.map((e, Wt) => /* @__PURE__ */ l.jsxs(ze.g, { variants: {
|
|
223
223
|
initial: {
|
|
224
|
-
x:
|
|
225
|
-
y:
|
|
226
|
-
opacity:
|
|
224
|
+
x: u(e.x),
|
|
225
|
+
y: r(e.y),
|
|
226
|
+
opacity: Vt ? e.color && m[L.indexOf(`${e.color}`)] === Vt ? 1 : M : X ? X.id === e.id ? 1 : M : z ? z.indexOf(e.label || "") !== -1 ? 1 : M : 1
|
|
227
227
|
},
|
|
228
228
|
whileInView: {
|
|
229
|
-
x:
|
|
230
|
-
y:
|
|
231
|
-
opacity:
|
|
229
|
+
x: u(e.x),
|
|
230
|
+
y: r(e.y),
|
|
231
|
+
opacity: Vt ? e.color && m[L.indexOf(`${e.color}`)] === Vt ? 1 : M : X ? X.id === e.id ? 1 : M : z ? z.indexOf(e.label || "") !== -1 ? 1 : M : 1,
|
|
232
232
|
transition: {
|
|
233
|
-
duration:
|
|
233
|
+
duration: f.duration
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
}, initial: "initial", animate:
|
|
236
|
+
}, initial: "initial", animate: v ? "whileInView" : "initial", exit: {
|
|
237
237
|
opacity: 0,
|
|
238
238
|
transition: {
|
|
239
|
-
duration:
|
|
239
|
+
duration: f.duration
|
|
240
240
|
}
|
|
241
241
|
}, onMouseEnter: (w) => {
|
|
242
|
-
Tt(e),
|
|
242
|
+
Tt(e), Xt(w.clientY), Pt(w.clientX), st?.(e);
|
|
243
243
|
}, onMouseMove: (w) => {
|
|
244
|
-
Tt(e),
|
|
244
|
+
Tt(e), Xt(w.clientY), Pt(w.clientX);
|
|
245
245
|
}, onMouseLeave: () => {
|
|
246
|
-
Tt(void 0),
|
|
246
|
+
Tt(void 0), Pt(void 0), Xt(void 0), st?.(void 0);
|
|
247
247
|
}, onClick: () => {
|
|
248
|
-
(
|
|
248
|
+
(D || S) && (ni(W, e) && kt ? (d(void 0), D?.(void 0)) : (d(e), D?.(e)));
|
|
249
249
|
}, children: [
|
|
250
|
-
/* @__PURE__ */ l.jsx(
|
|
250
|
+
/* @__PURE__ */ l.jsx(ze.circle, { cx: 0, cy: 0, exit: {
|
|
251
251
|
r: 0,
|
|
252
252
|
transition: {
|
|
253
|
-
duration:
|
|
253
|
+
duration: f.duration
|
|
254
254
|
}
|
|
255
255
|
}, variants: {
|
|
256
256
|
initial: {
|
|
257
257
|
r: 0,
|
|
258
|
-
fill: o.filter(eo).length === 0 ?
|
|
259
|
-
stroke: o.filter(to).length === 0 ?
|
|
258
|
+
fill: o.filter(eo).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray,
|
|
259
|
+
stroke: o.filter(to).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray
|
|
260
260
|
},
|
|
261
261
|
whileInView: {
|
|
262
262
|
r: $ ? $(e.radius || 0) : F,
|
|
263
|
-
fill: o.filter(_i).length === 0 ?
|
|
264
|
-
stroke: o.filter(Zi).length === 0 ?
|
|
263
|
+
fill: o.filter(_i).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray,
|
|
264
|
+
stroke: o.filter(Zi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray,
|
|
265
265
|
transition: {
|
|
266
|
-
duration:
|
|
266
|
+
duration: f.duration
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
}, initial: "initial", animate:
|
|
269
|
+
}, initial: "initial", animate: v ? "whileInView" : "initial", style: {
|
|
270
270
|
fillOpacity: 0.6
|
|
271
271
|
} }),
|
|
272
|
-
|
|
272
|
+
Gt && !A(e.label) ? /* @__PURE__ */ l.jsx(ze.text, { style: {
|
|
273
273
|
...s?.graphObjectValues || {}
|
|
274
274
|
}, className: oi("graph-value text-sm", n?.graphObjectValues), y: 0, exit: {
|
|
275
275
|
opacity: 0,
|
|
276
276
|
transition: {
|
|
277
|
-
duration:
|
|
277
|
+
duration: f.duration
|
|
278
278
|
}
|
|
279
279
|
}, variants: {
|
|
280
280
|
initial: {
|
|
281
281
|
x: $ ? $(e.radius || 0) : F,
|
|
282
282
|
opacity: 0,
|
|
283
|
-
fill: U || (o.filter(Qi).length === 0 ?
|
|
283
|
+
fill: U || (o.filter(Qi).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray)
|
|
284
284
|
},
|
|
285
285
|
whileInView: {
|
|
286
286
|
x: $ ? $(e.radius || 0) : F,
|
|
287
287
|
opacity: 1,
|
|
288
|
-
fill: U || (o.filter(Ki).length === 0 ?
|
|
288
|
+
fill: U || (o.filter(Ki).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray),
|
|
289
289
|
transition: {
|
|
290
|
-
duration:
|
|
290
|
+
duration: f.duration
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
}, initial: "initial", animate:
|
|
293
|
+
}, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : z && !A(e.label) && Me && z.indexOf(e.label) !== -1 ? /* @__PURE__ */ l.jsx(ze.text, { style: {
|
|
294
294
|
...s?.graphObjectValues || {}
|
|
295
295
|
}, className: oi("graph-value text-sm", n?.graphObjectValues), y: 0, exit: {
|
|
296
296
|
opacity: 0,
|
|
297
297
|
transition: {
|
|
298
|
-
duration:
|
|
298
|
+
duration: f.duration
|
|
299
299
|
}
|
|
300
300
|
}, variants: {
|
|
301
301
|
initial: {
|
|
302
302
|
x: $ ? $(e.radius || 0) : F,
|
|
303
303
|
opacity: 0,
|
|
304
|
-
fill: U || (o.filter(Ji).length === 0 ?
|
|
304
|
+
fill: U || (o.filter(Ji).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray)
|
|
305
305
|
},
|
|
306
306
|
whileInView: {
|
|
307
307
|
x: $ ? $(e.radius || 0) : F,
|
|
308
308
|
opacity: 1,
|
|
309
|
-
fill: U || (o.filter(Ui).length === 0 ?
|
|
309
|
+
fill: U || (o.filter(Ui).length === 0 ? m[0] : e.color ? m[L.indexOf(`${e.color}`)] : it.gray),
|
|
310
310
|
transition: {
|
|
311
|
-
duration:
|
|
311
|
+
duration: f.duration
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
}, initial: "initial", animate:
|
|
315
|
-
] }, `${e.label ||
|
|
316
|
-
const ei =
|
|
314
|
+
}, initial: "initial", animate: v ? "whileInView" : "initial", dy: "0.33em", dx: 3, children: e.label }) : null
|
|
315
|
+
] }, `${e.label || Wt}`)), Q = ke.map((e, Wt) => /* @__PURE__ */ l.jsx(Vi, { text: e.text, color: e.color, x: u(e.value), y1: 0, y2: h, textSide: u(e.value) > b * 0.75 || Bt ? "left" : "right", classNames: e.classNames, styles: e.styles, animate: f, isInView: v }, Wt)), pt = De.map((e, Wt) => /* @__PURE__ */ l.jsx($i, { text: e.text, color: e.color, y: r(e.value), x1: 0, x2: b, classNames: e.classNames, styles: e.styles, animate: f, isInView: v }, Wt));
|
|
316
|
+
const ei = ge.map((e, Wt) => {
|
|
317
317
|
const w = Ci({
|
|
318
|
-
x: e.xCoordinate ?
|
|
319
|
-
y: e.yCoordinate ?
|
|
318
|
+
x: e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
319
|
+
y: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8
|
|
320
320
|
}, {
|
|
321
|
-
x: e.xCoordinate ?
|
|
322
|
-
y: e.yCoordinate ?
|
|
321
|
+
x: e.xCoordinate ? u(e.xCoordinate) : 0,
|
|
322
|
+
y: e.yCoordinate ? r(e.yCoordinate) : 0
|
|
323
323
|
}, A(e.connectorRadius) ? 3.5 : e.connectorRadius), xi = e.showConnector ? {
|
|
324
324
|
y1: w.y,
|
|
325
325
|
x1: w.x,
|
|
326
|
-
y2: e.yCoordinate ?
|
|
327
|
-
x2: e.xCoordinate ?
|
|
328
|
-
cy: e.yCoordinate ?
|
|
329
|
-
cx: e.xCoordinate ?
|
|
326
|
+
y2: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) : 0 + (e.yOffset || 0),
|
|
327
|
+
x2: e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
328
|
+
cy: e.yCoordinate ? r(e.yCoordinate) : 0,
|
|
329
|
+
cx: e.xCoordinate ? u(e.xCoordinate) : 0,
|
|
330
330
|
circleRadius: A(e.connectorRadius) ? 3.5 : e.connectorRadius,
|
|
331
331
|
strokeWidth: e.showConnector === !0 ? 2 : Math.min(e.showConnector || 0, 1)
|
|
332
332
|
} : void 0, di = {
|
|
333
|
-
y: e.yCoordinate ?
|
|
334
|
-
x:
|
|
335
|
-
width:
|
|
333
|
+
y: e.yCoordinate ? r(e.yCoordinate) + (e.yOffset || 0) - 8 : 0 + (e.yOffset || 0) - 8,
|
|
334
|
+
x: Bt ? 0 : e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0),
|
|
335
|
+
width: Bt ? e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0) : b + g.right - (e.xCoordinate ? u(e.xCoordinate) + (e.xOffset || 0) : 0 + (e.xOffset || 0)),
|
|
336
336
|
maxWidth: e.maxWidth,
|
|
337
337
|
fontWeight: e.fontWeight,
|
|
338
338
|
align: e.align
|
|
339
339
|
};
|
|
340
|
-
return /* @__PURE__ */ l.jsx(wi, { color: e.color, connectorsSettings: xi, labelSettings: di, text: e.text, classNames: e.classNames, styles: e.styles, animate:
|
|
340
|
+
return /* @__PURE__ */ l.jsx(wi, { color: e.color, connectorsSettings: xi, labelSettings: di, text: e.text, classNames: e.classNames, styles: e.styles, animate: f, isInView: v }, Wt);
|
|
341
341
|
});
|
|
342
|
-
t[179] !== ei ? (G = /* @__PURE__ */ l.jsx("g", { children: ei }), t[179] = ei, t[180] = G) : G = t[180],
|
|
342
|
+
t[179] !== ei ? (G = /* @__PURE__ */ l.jsx("g", { children: ei }), t[179] = ei, t[180] = G) : G = t[180], gt = $t ? /* @__PURE__ */ l.jsx(ki, { x1: 0, x2: b, y1: Ae(0), y2: Ae(b), graphHeight: h, graphWidth: b, className: n?.regLine, style: s?.regLine, color: typeof $t == "string" ? $t : void 0, animate: f, isInView: v }) : null, t[8] = f, t[9] = ge, t[10] = n?.graphObjectValues, t[11] = n?.regLine, t[12] = n?.xAxis?.axis, t[13] = n?.xAxis?.gridLines, t[14] = n?.xAxis?.labels, t[15] = n?.xAxis?.title, t[16] = n?.yAxis?.gridLines, t[17] = n?.yAxis?.labels, t[18] = n?.yAxis?.title, t[19] = L, t[20] = m, t[21] = zt, t[22] = T, t[23] = o, t[24] = S, t[25] = M, t[26] = V, t[27] = Se, t[28] = z, t[29] = v, t[30] = U, t[31] = H, t[32] = P, t[33] = g.bottom, t[34] = g.left, t[35] = g.right, t[36] = g.top, t[37] = de, t[38] = pe, t[39] = qt, t[40] = j, t[41] = O, t[42] = W, t[43] = X, t[44] = Ut, t[45] = Jt, t[46] = D, t[47] = st, t[48] = N, t[49] = F, t[50] = ke, t[51] = De, t[52] = $t, t[53] = kt, t[54] = Bt, t[55] = Vt, t[56] = Me, t[57] = Gt, t[58] = Kt, t[59] = s?.graphObjectValues, t[60] = s?.regLine, t[61] = s?.xAxis?.axis, t[62] = s?.xAxis?.gridLines, t[63] = s?.xAxis?.labels, t[64] = s?.xAxis?.title, t[65] = s?.yAxis?.gridLines, t[66] = s?.yAxis?.labels, t[67] = s?.yAxis?.title, t[68] = Ne, t[69] = ot, t[70] = y, t[71] = Mt, t[72] = Dt, t[73] = B, t[74] = Nt, t[75] = St, t[76] = Yt, t[77] = nt, t[78] = lt, t[79] = rt, t[80] = at, t[81] = ct, t[82] = E, t[83] = ft, t[84] = ut, t[85] = mt, t[86] = J, t[87] = xt, t[88] = K, t[89] = dt, t[90] = Q, t[91] = pt, t[92] = G, t[93] = gt;
|
|
343
343
|
} else
|
|
344
|
-
|
|
345
|
-
let
|
|
346
|
-
t[181] !==
|
|
344
|
+
Yt = t[76], nt = t[77], lt = t[78], rt = t[79], at = t[80], ct = t[81], E = t[82], ft = t[83], ut = t[84], mt = t[85], J = t[86], xt = t[87], K = t[88], dt = t[89], Q = t[90], pt = t[91], G = t[92], gt = t[93];
|
|
345
|
+
let ht;
|
|
346
|
+
t[181] !== Yt || t[182] !== K || t[183] !== dt || t[184] !== Q || t[185] !== pt || t[186] !== G || t[187] !== gt ? (ht = /* @__PURE__ */ l.jsxs(Yt, { children: [
|
|
347
347
|
K,
|
|
348
348
|
dt,
|
|
349
349
|
Q,
|
|
350
350
|
pt,
|
|
351
351
|
G,
|
|
352
|
-
|
|
353
|
-
] }), t[181] =
|
|
354
|
-
let ht;
|
|
355
|
-
t[189] !== P ? (ht = P.filter(zi).map(Bi), t[189] = P, t[190] = ht) : ht = t[190];
|
|
352
|
+
gt
|
|
353
|
+
] }), t[181] = Yt, t[182] = K, t[183] = dt, t[184] = Q, t[185] = pt, t[186] = G, t[187] = gt, t[188] = ht) : ht = t[188];
|
|
356
354
|
let yt;
|
|
357
|
-
t[
|
|
355
|
+
t[189] !== T ? (yt = T.filter(zi).map(Bi), t[189] = T, t[190] = yt) : yt = t[190];
|
|
356
|
+
let vt;
|
|
357
|
+
t[191] !== lt || t[192] !== rt || t[193] !== at || t[194] !== ct || t[195] !== E || t[196] !== ht || t[197] !== yt ? (vt = /* @__PURE__ */ l.jsxs("g", { transform: lt, children: [
|
|
358
358
|
rt,
|
|
359
359
|
at,
|
|
360
360
|
ct,
|
|
361
361
|
E,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
] }), t[191] = lt, t[192] = rt, t[193] = at, t[194] = ct, t[195] = E, t[196] =
|
|
365
|
-
let vt;
|
|
366
|
-
t[199] !== nt || t[200] !== ft || t[201] !== ut || t[202] !== mt || t[203] !== J || t[204] !== xt || t[205] !== yt ? (vt = /* @__PURE__ */ l.jsx(nt, { width: ft, height: ut, viewBox: mt, direction: J, ref: xt, children: yt }), t[199] = nt, t[200] = ft, t[201] = ut, t[202] = mt, t[203] = J, t[204] = xt, t[205] = yt, t[206] = vt) : vt = t[206];
|
|
362
|
+
ht,
|
|
363
|
+
yt
|
|
364
|
+
] }), t[191] = lt, t[192] = rt, t[193] = at, t[194] = ct, t[195] = E, t[196] = ht, t[197] = yt, t[198] = vt) : vt = t[198];
|
|
367
365
|
let bt;
|
|
368
|
-
t[
|
|
369
|
-
let
|
|
370
|
-
t[
|
|
371
|
-
let
|
|
372
|
-
|
|
373
|
-
|
|
366
|
+
t[199] !== nt || t[200] !== ft || t[201] !== ut || t[202] !== mt || t[203] !== J || t[204] !== xt || t[205] !== vt ? (bt = /* @__PURE__ */ l.jsx(nt, { width: ft, height: ut, viewBox: mt, direction: J, ref: xt, children: vt }), t[199] = nt, t[200] = ft, t[201] = ut, t[202] = mt, t[203] = J, t[204] = xt, t[205] = vt, t[206] = bt) : bt = t[206];
|
|
367
|
+
let Z;
|
|
368
|
+
t[207] !== n?.tooltip || t[208] !== x || t[209] !== ye || t[210] !== X || t[211] !== s?.tooltip || t[212] !== xe ? (Z = X && xe && x && ye ? /* @__PURE__ */ l.jsx(Oi, { data: X, body: xe, xPos: x, yPos: ye, backgroundStyle: s?.tooltip, className: n?.tooltip }) : null, t[207] = n?.tooltip, t[208] = x, t[209] = ye, t[210] = X, t[211] = s?.tooltip, t[212] = xe, t[213] = Z) : Z = t[213];
|
|
369
|
+
let _;
|
|
370
|
+
t[214] !== n?.modal || t[215] !== S || t[216] !== W ? (_ = S && W !== void 0 ? /* @__PURE__ */ l.jsx(Mi, { body: S, data: W, setData: d, className: n?.modal }) : null, t[214] = n?.modal, t[215] = S, t[216] = W, t[217] = _) : _ = t[217];
|
|
371
|
+
let q;
|
|
372
|
+
return t[218] !== bt || t[219] !== Z || t[220] !== _ ? (q = /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
374
373
|
bt,
|
|
375
|
-
|
|
376
|
-
|
|
374
|
+
Z,
|
|
375
|
+
_
|
|
376
|
+
] }), t[218] = bt, t[219] = Z, t[220] = _, t[221] = q) : q = t[221], q;
|
|
377
377
|
}
|
|
378
378
|
function Bi(i) {
|
|
379
379
|
return i.layer;
|
|
@@ -445,180 +445,177 @@ function xo(i, t) {
|
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
function ws(i) {
|
|
448
|
-
const t = mi.c(
|
|
448
|
+
const t = mi.c(144), {
|
|
449
449
|
data: o,
|
|
450
450
|
graphTitle: ot,
|
|
451
451
|
colors: V,
|
|
452
|
-
sources:
|
|
453
|
-
graphDescription:
|
|
452
|
+
sources: Gt,
|
|
453
|
+
graphDescription: m,
|
|
454
454
|
showLabels: L,
|
|
455
455
|
height: F,
|
|
456
456
|
width: y,
|
|
457
457
|
footNote: B,
|
|
458
458
|
colorDomain: H,
|
|
459
|
-
colorLegendTitle:
|
|
460
|
-
radius:
|
|
461
|
-
xAxisTitle:
|
|
462
|
-
yAxisTitle:
|
|
459
|
+
colorLegendTitle: me,
|
|
460
|
+
radius: $e,
|
|
461
|
+
xAxisTitle: He,
|
|
462
|
+
yAxisTitle: xe,
|
|
463
463
|
padding: st,
|
|
464
|
-
backgroundColor:
|
|
465
|
-
leftMargin:
|
|
466
|
-
rightMargin:
|
|
467
|
-
topMargin:
|
|
464
|
+
backgroundColor: ke,
|
|
465
|
+
leftMargin: De,
|
|
466
|
+
rightMargin: Se,
|
|
467
|
+
topMargin: Vt,
|
|
468
468
|
bottomMargin: z,
|
|
469
|
-
tooltip:
|
|
470
|
-
relativeHeight:
|
|
469
|
+
tooltip: de,
|
|
470
|
+
relativeHeight: pe,
|
|
471
471
|
onSeriesMouseOver: j,
|
|
472
|
-
refXValues:
|
|
472
|
+
refXValues: qt,
|
|
473
473
|
refYValues: O,
|
|
474
|
-
highlightAreaSettings:
|
|
475
|
-
showColorScale:
|
|
476
|
-
highlightedDataPoints:
|
|
477
|
-
showHighlightedDataPointsLabels:
|
|
478
|
-
graphID:
|
|
474
|
+
highlightAreaSettings: D,
|
|
475
|
+
showColorScale: Bt,
|
|
476
|
+
highlightedDataPoints: ge,
|
|
477
|
+
showHighlightedDataPointsLabels: zt,
|
|
478
|
+
graphID: $t,
|
|
479
479
|
maxRadiusValue: kt,
|
|
480
480
|
maxXValue: S,
|
|
481
|
-
minXValue:
|
|
482
|
-
maxYValue:
|
|
481
|
+
minXValue: Ut,
|
|
482
|
+
maxYValue: Jt,
|
|
483
483
|
minYValue: U,
|
|
484
|
-
xSuffix:
|
|
485
|
-
ySuffix:
|
|
486
|
-
xPrefix:
|
|
487
|
-
yPrefix:
|
|
484
|
+
xSuffix: Dt,
|
|
485
|
+
ySuffix: St,
|
|
486
|
+
xPrefix: Mt,
|
|
487
|
+
yPrefix: Nt,
|
|
488
488
|
onSeriesMouseClick: s,
|
|
489
489
|
graphDownload: n,
|
|
490
|
-
dataDownload:
|
|
490
|
+
dataDownload: f,
|
|
491
491
|
language: M,
|
|
492
492
|
showNAColor: N,
|
|
493
|
-
minHeight:
|
|
494
|
-
annotations:
|
|
495
|
-
customHighlightAreaSettings:
|
|
496
|
-
theme:
|
|
497
|
-
regressionLine:
|
|
498
|
-
ariaLabel:
|
|
499
|
-
resetSelectionOnDoubleClick:
|
|
500
|
-
detailsOnClick:
|
|
493
|
+
minHeight: Me,
|
|
494
|
+
annotations: T,
|
|
495
|
+
customHighlightAreaSettings: Kt,
|
|
496
|
+
theme: Ne,
|
|
497
|
+
regressionLine: P,
|
|
498
|
+
ariaLabel: Te,
|
|
499
|
+
resetSelectionOnDoubleClick: he,
|
|
500
|
+
detailsOnClick: v,
|
|
501
501
|
noOfXTicks: X,
|
|
502
502
|
noOfYTicks: Tt,
|
|
503
503
|
labelColor: W,
|
|
504
504
|
styles: d,
|
|
505
|
-
classNames:
|
|
506
|
-
animate:
|
|
507
|
-
dimmedOpacity:
|
|
508
|
-
precision:
|
|
509
|
-
customLayers:
|
|
510
|
-
timeline:
|
|
511
|
-
showVoronoiTesselation:
|
|
512
|
-
useVoronoiInteraction:
|
|
513
|
-
locale:
|
|
514
|
-
} = i, nt = L === void 0 ? !1 : L, lt =
|
|
505
|
+
classNames: x,
|
|
506
|
+
animate: Pt,
|
|
507
|
+
dimmedOpacity: ye,
|
|
508
|
+
precision: Xt,
|
|
509
|
+
customLayers: Qt,
|
|
510
|
+
timeline: Zt,
|
|
511
|
+
showVoronoiTesselation: ve,
|
|
512
|
+
useVoronoiInteraction: g,
|
|
513
|
+
locale: Yt
|
|
514
|
+
} = i, nt = L === void 0 ? !1 : L, lt = $e === void 0 ? 5 : $e, rt = He === void 0 ? "X Axis" : He, at = xe === void 0 ? "Y Axis" : xe, ct = ke === void 0 ? !1 : ke, E = De === void 0 ? 0 : De, ft = Se === void 0 ? 10 : Se, ut = Vt === void 0 ? 20 : Vt, mt = z === void 0 ? 50 : z;
|
|
515
515
|
let J;
|
|
516
|
-
t[0] !==
|
|
516
|
+
t[0] !== qt ? (J = qt === void 0 ? [] : qt, t[0] = qt, t[1] = J) : J = t[1];
|
|
517
517
|
const xt = J;
|
|
518
518
|
let K;
|
|
519
519
|
t[2] !== O ? (K = O === void 0 ? [] : O, t[2] = O, t[3] = K) : K = t[3];
|
|
520
520
|
const dt = K;
|
|
521
521
|
let Q;
|
|
522
|
-
t[4] !==
|
|
523
|
-
const pt = Q, G =
|
|
524
|
-
let
|
|
525
|
-
t[6] !==
|
|
526
|
-
const
|
|
527
|
-
let
|
|
528
|
-
t[8] !==
|
|
529
|
-
const
|
|
530
|
-
let
|
|
531
|
-
t[10] !==
|
|
532
|
-
const
|
|
533
|
-
let
|
|
534
|
-
t[12] !==
|
|
535
|
-
const we = le;
|
|
536
|
-
let Ht;
|
|
537
|
-
t[14] !== ee ? (Ht = ee === void 0 ? {
|
|
522
|
+
t[4] !== D ? (Q = D === void 0 ? [] : D, t[4] = D, t[5] = Q) : Q = t[5];
|
|
523
|
+
const pt = Q, G = Bt === void 0 ? !0 : Bt, gt = zt === void 0 ? !1 : zt, ht = Dt === void 0 ? "" : Dt, yt = St === void 0 ? "" : St, vt = Mt === void 0 ? "" : Mt, bt = Nt === void 0 ? "" : Nt, Z = n === void 0 ? !1 : n, _ = f === void 0 ? !1 : f, q = M === void 0 ? "en" : M, be = N === void 0 ? !0 : N, b = Me === void 0 ? 0 : Me;
|
|
524
|
+
let h;
|
|
525
|
+
t[6] !== T ? (h = T === void 0 ? [] : T, t[6] = T, t[7] = h) : h = t[7];
|
|
526
|
+
const $ = h;
|
|
527
|
+
let It;
|
|
528
|
+
t[8] !== Kt ? (It = Kt === void 0 ? [] : Kt, t[8] = Kt, t[9] = It) : It = t[9];
|
|
529
|
+
const u = It, r = Ne === void 0 ? "light" : Ne, Pe = P === void 0 ? !1 : P, Xe = he === void 0 ? !0 : he, We = X === void 0 ? 5 : X, Ee = Tt === void 0 ? 5 : Tt, Ae = Pt === void 0 ? !1 : Pt, _t = ye === void 0 ? 0.3 : ye, Oe = Xt === void 0 ? 2 : Xt;
|
|
530
|
+
let te;
|
|
531
|
+
t[10] !== Qt ? (te = Qt === void 0 ? [] : Qt, t[10] = Qt, t[11] = te) : te = t[11];
|
|
532
|
+
const ee = te;
|
|
533
|
+
let ie;
|
|
534
|
+
t[12] !== Zt ? (ie = Zt === void 0 ? {
|
|
538
535
|
enabled: !1,
|
|
539
536
|
autoplay: !1,
|
|
540
537
|
showOnlyActiveDate: !0
|
|
541
|
-
} :
|
|
542
|
-
const
|
|
543
|
-
let
|
|
544
|
-
if (t[
|
|
545
|
-
let
|
|
546
|
-
t[
|
|
538
|
+
} : Zt, t[12] = Zt, t[13] = ie) : ie = t[13];
|
|
539
|
+
const a = ie, oe = ve === void 0 ? !1 : ve, Ce = g === void 0 ? !0 : g, we = Yt === void 0 ? "en" : Yt, [se, Ge] = Et(0), [tt, qe] = Et(0), [C, Be] = Et(a.autoplay);
|
|
540
|
+
let Rt;
|
|
541
|
+
if (t[14] !== o || t[15] !== a.dateFormat) {
|
|
542
|
+
let p;
|
|
543
|
+
t[17] !== a.dateFormat ? (p = (k) => gi(`${k.date}`, a.dateFormat || "yyyy", /* @__PURE__ */ new Date()).getTime(), t[17] = a.dateFormat, t[18] = p) : p = t[18], Rt = [...new Set(o.filter(Eo).map(p))], Rt.sort(Wo), t[14] = o, t[15] = a.dateFormat, t[16] = Rt;
|
|
547
544
|
} else
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
let
|
|
551
|
-
t[
|
|
552
|
-
const
|
|
553
|
-
|
|
545
|
+
Rt = t[16];
|
|
546
|
+
const c = Rt, [Y, At] = Et(a.autoplay ? 0 : c.length - 1), [Ot, ne] = Et(void 0), le = ii(null), Ye = ii(null);
|
|
547
|
+
let re, ae;
|
|
548
|
+
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = () => {
|
|
549
|
+
const p = new ResizeObserver((k) => {
|
|
550
|
+
Ge(k[0].target.clientWidth || 620), qe(k[0].target.clientHeight || 480);
|
|
554
551
|
});
|
|
555
|
-
return
|
|
556
|
-
},
|
|
557
|
-
let
|
|
558
|
-
t[
|
|
559
|
-
const
|
|
560
|
-
|
|
561
|
-
}, (
|
|
562
|
-
return
|
|
563
|
-
},
|
|
564
|
-
const
|
|
565
|
-
let
|
|
566
|
-
t[
|
|
567
|
-
const
|
|
568
|
-
let
|
|
569
|
-
t[
|
|
552
|
+
return le.current && p.observe(le.current), () => p.disconnect();
|
|
553
|
+
}, ae = [], t[19] = re, t[20] = ae) : (re = t[19], ae = t[20]), si(re, ae);
|
|
554
|
+
let ce, Ft;
|
|
555
|
+
t[21] !== C || t[22] !== a.speed || t[23] !== c ? (ce = () => {
|
|
556
|
+
const p = setInterval(() => {
|
|
557
|
+
At((k) => k < c.length - 1 ? k + 1 : 0);
|
|
558
|
+
}, (a.speed || 2) * 1e3);
|
|
559
|
+
return C || clearInterval(p), () => clearInterval(p);
|
|
560
|
+
}, Ft = [c, C, a.speed], t[21] = C, t[22] = a.speed, t[23] = c, t[24] = ce, t[25] = Ft) : (ce = t[24], Ft = t[25]), si(ce, Ft);
|
|
561
|
+
const Le = a.dateFormat || "yyyy";
|
|
562
|
+
let fe;
|
|
563
|
+
t[26] !== Y || t[27] !== Le || t[28] !== a.showOnlyActiveDate || t[29] !== c ? (fe = hi(c, Y, a.showOnlyActiveDate, Le), t[26] = Y, t[27] = Le, t[28] = a.showOnlyActiveDate, t[29] = c, t[30] = fe) : fe = t[30];
|
|
564
|
+
const Ht = fe, je = x?.graphContainer, Ve = d?.graphContainer;
|
|
565
|
+
let et;
|
|
566
|
+
t[31] !== x?.description || t[32] !== x?.title || t[33] !== o || t[34] !== _ || t[35] !== m || t[36] !== Z || t[37] !== ot || t[38] !== d?.description || t[39] !== d?.title || t[40] !== y ? (et = ot || m || Z || _ ? /* @__PURE__ */ l.jsx(Yi, { styles: {
|
|
570
567
|
title: d?.title,
|
|
571
568
|
description: d?.description
|
|
572
569
|
}, classNames: {
|
|
573
|
-
title:
|
|
574
|
-
description:
|
|
575
|
-
}, graphTitle: ot, graphDescription:
|
|
576
|
-
let
|
|
577
|
-
t[
|
|
570
|
+
title: x?.title,
|
|
571
|
+
description: x?.description
|
|
572
|
+
}, graphTitle: ot, graphDescription: m, width: y, graphDownload: Z ? Ye : void 0, dataDownload: _ ? o.map(Ho).filter(Fo).length > 0 ? o.map(Ro).filter(Io) : o.filter(Yo) : null }) : null, t[31] = x?.description, t[32] = x?.title, t[33] = o, t[34] = _, t[35] = m, t[36] = Z, t[37] = ot, t[38] = d?.description, t[39] = d?.title, t[40] = y, t[41] = et) : et = t[41];
|
|
573
|
+
let Ct;
|
|
574
|
+
t[42] !== Y || t[43] !== Ht || t[44] !== C || t[45] !== a.enabled || t[46] !== c ? (Ct = a.enabled && c.length > 0 && Ht ? /* @__PURE__ */ l.jsxs("div", { className: "flex gap-6 items-center", dir: "ltr", children: [
|
|
578
575
|
/* @__PURE__ */ l.jsx("button", { type: "button", onClick: () => {
|
|
579
|
-
|
|
580
|
-
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label":
|
|
581
|
-
/* @__PURE__ */ l.jsx(yi, { min:
|
|
582
|
-
|
|
583
|
-
}, onChange: (
|
|
584
|
-
|
|
576
|
+
Be(!C);
|
|
577
|
+
}, className: "p-0 border-0 cursor-pointer bg-transparent", "aria-label": C ? "Click to pause animation" : "Click to play animation", children: C ? /* @__PURE__ */ l.jsx(Fi, {}) : /* @__PURE__ */ l.jsx(Hi, {}) }),
|
|
578
|
+
/* @__PURE__ */ l.jsx(yi, { min: c[0], max: c[c.length - 1], marks: Ht, step: null, defaultValue: c[c.length - 1], value: c[Y], onChangeComplete: (p) => {
|
|
579
|
+
At(c.indexOf(p));
|
|
580
|
+
}, onChange: (p) => {
|
|
581
|
+
At(c.indexOf(p));
|
|
585
582
|
}, "aria-label": "Time slider. Use arrow keys to adjust selected time period." })
|
|
586
|
-
] }) : null, t[
|
|
587
|
-
let
|
|
588
|
-
t[
|
|
583
|
+
] }) : null, t[42] = Y, t[43] = Ht, t[44] = C, t[45] = a.enabled, t[46] = c, t[47] = Ct) : Ct = t[47];
|
|
584
|
+
let wt;
|
|
585
|
+
t[48] !== x?.colorLegend || t[49] !== H || t[50] !== me || t[51] !== V || t[52] !== o || t[53] !== G || t[54] !== be || t[55] !== r || t[56] !== y ? (wt = G && o.filter(Xo).length !== 0 && o.length > 0 ? /* @__PURE__ */ l.jsx(Ii, { width: y, colorLegendTitle: me, colors: V || it[r].categoricalColors.colors, colorDomain: H || ui(o, "color", !0), setSelectedColor: ne, showNAColor: be, className: x?.colorLegend }) : null, t[48] = x?.colorLegend, t[49] = H, t[50] = me, t[51] = V, t[52] = o, t[53] = G, t[54] = be, t[55] = r, t[56] = y, t[57] = wt) : wt = t[57];
|
|
589
586
|
let Lt;
|
|
590
|
-
t[
|
|
591
|
-
let
|
|
592
|
-
t[62] !==
|
|
587
|
+
t[58] !== o.length ? (Lt = o.length === 0 && /* @__PURE__ */ l.jsx(Ri, {}), t[58] = o.length, t[59] = Lt) : Lt = t[59];
|
|
588
|
+
let I;
|
|
589
|
+
t[60] !== Ae || t[61] !== $ || t[62] !== mt || t[63] !== x || t[64] !== H || t[65] !== V || t[66] !== u || t[67] !== ee || t[68] !== o || t[69] !== v || t[70] !== _t || t[71] !== pt || t[72] !== ge || t[73] !== Y || t[74] !== W || t[75] !== q || t[76] !== E || t[77] !== we || t[78] !== kt || t[79] !== S || t[80] !== Jt || t[81] !== Ut || t[82] !== U || t[83] !== We || t[84] !== Ee || t[85] !== s || t[86] !== j || t[87] !== Oe || t[88] !== lt || t[89] !== xt || t[90] !== dt || t[91] !== Pe || t[92] !== Xe || t[93] !== ft || t[94] !== Ot || t[95] !== gt || t[96] !== nt || t[97] !== oe || t[98] !== d || t[99] !== tt || t[100] !== se || t[101] !== r || t[102] !== a.dateFormat || t[103] !== a.enabled || t[104] !== de || t[105] !== ut || t[106] !== c || t[107] !== Ce || t[108] !== rt || t[109] !== vt || t[110] !== ht || t[111] !== at || t[112] !== bt || t[113] !== yt ? (I = se && tt && o.length > 0 ? /* @__PURE__ */ l.jsx(qi, { data: Wi(o, a.dateFormat || "yyyy").filter((p) => a.enabled ? `${p.date}` === pi(new Date(c[Y]), a.dateFormat || "yyyy") : p), width: se, height: tt, colorDomain: o.filter(Po).length === 0 ? [] : H || ui(o, "color", !0), colors: o.filter(To).length === 0 ? V ? [V] : [it.primaryColors["blue-600"]] : V || it[r].categoricalColors.colors, xAxisTitle: rt, yAxisTitle: at, refXValues: xt, refYValues: dt, showLabels: nt, radius: lt, leftMargin: E, rightMargin: ft, topMargin: ut, bottomMargin: mt, tooltip: de, onSeriesMouseOver: j, highlightAreaSettings: pt, showVoronoiTesselation: oe, highlightedDataPoints: o.filter(No).length === 0 ? [] : ge, showHighlightedDataPointsLabels: gt, selectedColor: Ot, maxRadiusValue: A(kt) ? Math.max(...o.map(Mo).filter(So)) : kt, maxXValue: A(S) ? Math.max(...o.map(Do).filter(ko)) > 0 ? Math.max(...o.map($o).filter(Vo)) : 0 : S, minXValue: A(Ut) ? Math.min(...o.map(jo).filter(Lo)) > 0 ? 0 : Math.min(...o.map(wo).filter(Co)) : Ut, maxYValue: A(Jt) ? Math.max(...o.map(Oo).filter(Ao)) > 0 ? Math.max(...o.map(bo).filter(vo)) : 0 : Jt, minYValue: A(U) ? Math.min(...o.map(yo).filter(ho)) > 0 ? 0 : Math.min(...o.map(go).filter(po)) : U, onSeriesMouseClick: s, rtl: q === "he" || q === "ar", annotations: $, customHighlightAreaSettings: u, regressionLine: Pe, resetSelectionOnDoubleClick: Xe, detailsOnClick: v, noOfXTicks: We, noOfYTicks: Ee, labelColor: W, xSuffix: ht, ySuffix: yt, xPrefix: vt, yPrefix: bt, styles: d, classNames: x, animate: Ae === !0 ? {
|
|
593
590
|
duration: 0.5,
|
|
594
591
|
once: !0,
|
|
595
592
|
amount: 0.5
|
|
596
|
-
} :
|
|
593
|
+
} : Ae || {
|
|
597
594
|
duration: 0,
|
|
598
595
|
once: !0,
|
|
599
596
|
amount: 0
|
|
600
|
-
}, dimmedOpacity:
|
|
597
|
+
}, dimmedOpacity: _t, precision: Oe, customLayers: ee, useVoronoiInteraction: Ce, locale: we }) : null, t[60] = Ae, t[61] = $, t[62] = mt, t[63] = x, t[64] = H, t[65] = V, t[66] = u, t[67] = ee, t[68] = o, t[69] = v, t[70] = _t, t[71] = pt, t[72] = ge, t[73] = Y, t[74] = W, t[75] = q, t[76] = E, t[77] = we, t[78] = kt, t[79] = S, t[80] = Jt, t[81] = Ut, t[82] = U, t[83] = We, t[84] = Ee, t[85] = s, t[86] = j, t[87] = Oe, t[88] = lt, t[89] = xt, t[90] = dt, t[91] = Pe, t[92] = Xe, t[93] = ft, t[94] = Ot, t[95] = gt, t[96] = nt, t[97] = oe, t[98] = d, t[99] = tt, t[100] = se, t[101] = r, t[102] = a.dateFormat, t[103] = a.enabled, t[104] = de, t[105] = ut, t[106] = c, t[107] = Ce, t[108] = rt, t[109] = vt, t[110] = ht, t[111] = at, t[112] = bt, t[113] = yt, t[114] = I) : I = t[114];
|
|
601
598
|
let jt;
|
|
602
|
-
t[
|
|
599
|
+
t[115] !== Lt || t[116] !== I ? (jt = /* @__PURE__ */ l.jsxs(Ei, { ref: le, children: [
|
|
603
600
|
Lt,
|
|
604
|
-
|
|
605
|
-
] }), t[
|
|
606
|
-
let
|
|
607
|
-
t[
|
|
601
|
+
I
|
|
602
|
+
] }), t[115] = Lt, t[116] = I, t[117] = jt) : jt = t[117];
|
|
603
|
+
let R;
|
|
604
|
+
t[118] !== x?.footnote || t[119] !== x?.source || t[120] !== B || t[121] !== Gt || t[122] !== d?.footnote || t[123] !== d?.source || t[124] !== y ? (R = Gt || B ? /* @__PURE__ */ l.jsx(Xi, { styles: {
|
|
608
605
|
footnote: d?.footnote,
|
|
609
606
|
source: d?.source
|
|
610
607
|
}, classNames: {
|
|
611
|
-
footnote:
|
|
612
|
-
source:
|
|
613
|
-
}, sources:
|
|
614
|
-
let
|
|
615
|
-
return t[
|
|
608
|
+
footnote: x?.footnote,
|
|
609
|
+
source: x?.source
|
|
610
|
+
}, sources: Gt, footNote: B, width: y }) : null, t[118] = x?.footnote, t[119] = x?.source, t[120] = B, t[121] = Gt, t[122] = d?.footnote, t[123] = d?.source, t[124] = y, t[125] = R) : R = t[125];
|
|
611
|
+
let ue;
|
|
612
|
+
return t[126] !== Te || t[127] !== ct || t[128] !== $t || t[129] !== F || t[130] !== q || t[131] !== b || t[132] !== st || t[133] !== pe || t[134] !== je || t[135] !== Ve || t[136] !== et || t[137] !== Ct || t[138] !== wt || t[139] !== jt || t[140] !== R || t[141] !== r || t[142] !== y ? (ue = /* @__PURE__ */ l.jsxs(Gi, { className: je, style: Ve, id: $t, ref: Ye, "aria-label": Te, backgroundColor: ct, theme: r, language: q, minHeight: b, width: y, height: F, relativeHeight: pe, padding: st, children: [
|
|
613
|
+
et,
|
|
616
614
|
Ct,
|
|
617
615
|
wt,
|
|
618
|
-
I,
|
|
619
616
|
jt,
|
|
620
|
-
|
|
621
|
-
] }), t[
|
|
617
|
+
R
|
|
618
|
+
] }), t[126] = Te, t[127] = ct, t[128] = $t, t[129] = F, t[130] = q, t[131] = b, t[132] = st, t[133] = pe, t[134] = je, t[135] = Ve, t[136] = et, t[137] = Ct, t[138] = wt, t[139] = jt, t[140] = R, t[141] = r, t[142] = y, t[143] = ue) : ue = t[143], ue;
|
|
622
619
|
}
|
|
623
620
|
function po(i) {
|
|
624
621
|
return i != null;
|
|
@@ -662,10 +659,10 @@ function Vo(i) {
|
|
|
662
659
|
function $o(i) {
|
|
663
660
|
return i.x;
|
|
664
661
|
}
|
|
665
|
-
function
|
|
662
|
+
function ko(i) {
|
|
666
663
|
return i != null;
|
|
667
664
|
}
|
|
668
|
-
function
|
|
665
|
+
function Do(i) {
|
|
669
666
|
return i.x;
|
|
670
667
|
}
|
|
671
668
|
function So(i) {
|
|
@@ -677,10 +674,10 @@ function Mo(i) {
|
|
|
677
674
|
function No(i) {
|
|
678
675
|
return i.label;
|
|
679
676
|
}
|
|
680
|
-
function
|
|
677
|
+
function To(i) {
|
|
681
678
|
return i.color;
|
|
682
679
|
}
|
|
683
|
-
function
|
|
680
|
+
function Po(i) {
|
|
684
681
|
return i.color;
|
|
685
682
|
}
|
|
686
683
|
function Xo(i) {
|