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