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