@undp/data-viz 2.1.3 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.js +279 -272
  4. package/dist/AreaChart.js.map +1 -1
  5. package/dist/BarGraph.cjs +1 -1
  6. package/dist/BarGraph.cjs.map +1 -1
  7. package/dist/BarGraph.d.ts +2 -0
  8. package/dist/BarGraph.js +1795 -1724
  9. package/dist/BarGraph.js.map +1 -1
  10. package/dist/BeeSwarmChart.cjs +1 -1
  11. package/dist/BeeSwarmChart.cjs.map +1 -1
  12. package/dist/BeeSwarmChart.js +312 -305
  13. package/dist/BeeSwarmChart.js.map +1 -1
  14. package/dist/BiVariateChoroplethMap.cjs +1 -1
  15. package/dist/BiVariateChoroplethMap.js +1 -1
  16. package/dist/BulletChart.cjs +1 -1
  17. package/dist/BulletChart.cjs.map +1 -1
  18. package/dist/BulletChart.js +298 -287
  19. package/dist/BulletChart.js.map +1 -1
  20. package/dist/ButterflyChart.cjs +1 -1
  21. package/dist/ButterflyChart.cjs.map +1 -1
  22. package/dist/ButterflyChart.js +224 -217
  23. package/dist/ButterflyChart.js.map +1 -1
  24. package/dist/ChoroplethMap.cjs +1 -1
  25. package/dist/ChoroplethMap.js +1 -1
  26. package/dist/CirclePackingGraph.cjs +1 -1
  27. package/dist/CirclePackingGraph.js +2 -2
  28. package/dist/DifferenceLineChart.cjs +1 -1
  29. package/dist/DifferenceLineChart.cjs.map +1 -1
  30. package/dist/DifferenceLineChart.js +404 -397
  31. package/dist/DifferenceLineChart.js.map +1 -1
  32. package/dist/DonutChart.cjs +1 -1
  33. package/dist/DonutChart.cjs.map +1 -1
  34. package/dist/DonutChart.js +116 -113
  35. package/dist/DonutChart.js.map +1 -1
  36. package/dist/DotDensityMap.cjs +1 -1
  37. package/dist/DotDensityMap.js +1 -1
  38. package/dist/DualAxisLineChart.cjs +1 -1
  39. package/dist/DualAxisLineChart.cjs.map +1 -1
  40. package/dist/DualAxisLineChart.js +320 -313
  41. package/dist/DualAxisLineChart.js.map +1 -1
  42. package/dist/DumbbellChart.cjs +1 -1
  43. package/dist/DumbbellChart.cjs.map +1 -1
  44. package/dist/DumbbellChart.js +298 -291
  45. package/dist/DumbbellChart.js.map +1 -1
  46. package/dist/{EmptyState-BZo1BbAn.js → EmptyState-C7ZXkZWd.js} +4 -4
  47. package/dist/EmptyState-C7ZXkZWd.js.map +1 -0
  48. package/dist/EmptyState-gLDRXBHm.cjs +2 -0
  49. package/dist/EmptyState-gLDRXBHm.cjs.map +1 -0
  50. package/dist/GraphEl-BixTEyKW.cjs +2 -0
  51. package/dist/GraphEl-BixTEyKW.cjs.map +1 -0
  52. package/dist/{GraphEl-CRrAlbcr.js → GraphEl-Dyu_EIQb.js} +3 -2
  53. package/dist/GraphEl-Dyu_EIQb.js.map +1 -0
  54. package/dist/GriddedGraphs.cjs +1 -1
  55. package/dist/GriddedGraphs.js +2 -2
  56. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  57. package/dist/GriddedGraphsFromConfig.js +1 -1
  58. package/dist/HeatMap.cjs +1 -1
  59. package/dist/HeatMap.cjs.map +1 -1
  60. package/dist/HeatMap.js +179 -172
  61. package/dist/HeatMap.js.map +1 -1
  62. package/dist/Histogram.cjs +1 -1
  63. package/dist/Histogram.js +2 -2
  64. package/dist/HybridMap.cjs +1 -1
  65. package/dist/HybridMap.js +1 -1
  66. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  67. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  68. package/dist/LineChartWithConfidenceInterval.js +368 -361
  69. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  70. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  71. package/dist/MultiGraphDashboardFromConfig.js +1 -1
  72. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  73. package/dist/MultiGraphDashboardWideToLongFormat.js +1 -1
  74. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  75. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +1 -1
  76. package/dist/MultiLineAltChart.cjs +1 -1
  77. package/dist/MultiLineAltChart.cjs.map +1 -1
  78. package/dist/MultiLineAltChart.js +327 -320
  79. package/dist/MultiLineAltChart.js.map +1 -1
  80. package/dist/MultiLineChart.cjs +1 -1
  81. package/dist/MultiLineChart.cjs.map +1 -1
  82. package/dist/MultiLineChart.js +374 -367
  83. package/dist/MultiLineChart.js.map +1 -1
  84. package/dist/ParetoChart.cjs +1 -1
  85. package/dist/ParetoChart.cjs.map +1 -1
  86. package/dist/ParetoChart.js +385 -378
  87. package/dist/ParetoChart.js.map +1 -1
  88. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  89. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +1 -1
  90. package/dist/RadarChart.cjs +1 -1
  91. package/dist/RadarChart.cjs.map +1 -1
  92. package/dist/RadarChart.js +34 -33
  93. package/dist/RadarChart.js.map +1 -1
  94. package/dist/SankeyChart.cjs +1 -1
  95. package/dist/SankeyChart.cjs.map +1 -1
  96. package/dist/SankeyChart.js +176 -169
  97. package/dist/SankeyChart.js.map +1 -1
  98. package/dist/ScatterPlot.cjs +1 -1
  99. package/dist/ScatterPlot.cjs.map +1 -1
  100. package/dist/ScatterPlot.js +366 -359
  101. package/dist/ScatterPlot.js.map +1 -1
  102. package/dist/SimpleLineChart.cjs +1 -1
  103. package/dist/SimpleLineChart.cjs.map +1 -1
  104. package/dist/SimpleLineChart.js +285 -278
  105. package/dist/SimpleLineChart.js.map +1 -1
  106. package/dist/SingleGraphDashboard.cjs +1 -1
  107. package/dist/SingleGraphDashboard.js +2 -2
  108. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  109. package/dist/SingleGraphDashboardFromConfig.js +1 -1
  110. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  111. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +1 -1
  112. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  113. package/dist/SingleGraphDashboardThreeDGraphs.js +1 -1
  114. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  115. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +1 -1
  116. package/dist/SlopeChart.cjs +1 -1
  117. package/dist/SlopeChart.cjs.map +1 -1
  118. package/dist/SlopeChart.js +243 -236
  119. package/dist/SlopeChart.js.map +1 -1
  120. package/dist/Spinner-CQZcjzwd.cjs +2 -0
  121. package/dist/Spinner-CQZcjzwd.cjs.map +1 -0
  122. package/dist/{Spinner-D7rnnwnA.js → Spinner-DVBnY6Vg.js} +5 -5
  123. package/dist/Spinner-DVBnY6Vg.js.map +1 -0
  124. package/dist/StripChart.cjs +1 -1
  125. package/dist/StripChart.cjs.map +1 -1
  126. package/dist/StripChart.js +293 -286
  127. package/dist/StripChart.js.map +1 -1
  128. package/dist/ThreeDGlobe.cjs +1 -1
  129. package/dist/ThreeDGlobe.js +1 -1
  130. package/dist/TreeMapGraph.cjs +1 -1
  131. package/dist/TreeMapGraph.cjs.map +1 -1
  132. package/dist/TreeMapGraph.js +222 -215
  133. package/dist/TreeMapGraph.js.map +1 -1
  134. package/dist/index-R1gTfap5.js +337 -0
  135. package/dist/index-R1gTfap5.js.map +1 -0
  136. package/dist/index-WML2dCZ0.cjs +2 -0
  137. package/dist/{index-CF5hnGvG.cjs.map → index-WML2dCZ0.cjs.map} +1 -1
  138. package/dist/index.cjs +1 -1
  139. package/dist/index.d.ts +2 -0
  140. package/dist/index.js +1 -1
  141. package/dist/style.css +1 -1
  142. package/package.json +2 -2
  143. package/dist/EmptyState-BZo1BbAn.js.map +0 -1
  144. package/dist/EmptyState-sAEZ_5rU.cjs +0 -2
  145. package/dist/EmptyState-sAEZ_5rU.cjs.map +0 -1
  146. package/dist/GraphEl-BLMih7RN.cjs +0 -2
  147. package/dist/GraphEl-BLMih7RN.cjs.map +0 -1
  148. package/dist/GraphEl-CRrAlbcr.js.map +0 -1
  149. package/dist/Spinner-D7rnnwnA.js.map +0 -1
  150. package/dist/Spinner-DRMBUsX7.cjs +0 -2
  151. package/dist/Spinner-DRMBUsX7.cjs.map +0 -1
  152. package/dist/index-CF5hnGvG.cjs +0 -2
  153. package/dist/index-DPGq3eIL.js +0 -330
  154. package/dist/index-DPGq3eIL.js.map +0 -1
@@ -1,538 +1,545 @@
1
- import { c as di, j as s, m as oi } from "./index-CHPV5EwG-Curnpaqc.js";
2
- import { useRef as ui, useState as qt, useEffect as hi } from "react";
3
- import { i as xi } from "./index-Bwrro8-q.js";
4
- import { n as ni } from "./numberFormattingFunction-14YCbkN2.js";
5
- import { T as gi } from "./Tooltip-Dj5eVppQ.js";
6
- import { c as mi } from "./checkIfNullOrUndefined-DmfiKkNw.js";
7
- import { A as ci } from "./Axis-CRyfcLjc.js";
8
- import { A as fi } from "./AxisTitle-jeI7am8o.js";
9
- import { X as yi } from "./XAxesLabels-Dy8E1SEo.js";
10
- import { D as bi } from "./DetailsModal-0Ry5nXiC.js";
11
- import { b as vi } from "./band-DHUZ2X7J.js";
12
- import { a as pi } from "./linear-BqltdMeF.js";
13
- import { l as Ai, c as wi } from "./line-DFlZsxI1.js";
14
- import { c as ji, s as Mi, a as Ci, m as ki } from "./step-BrDul-H4.js";
15
- import { u as Li } from "./use-in-view-Cxa7y1TH.js";
16
- import { m as Et } from "./proxy-BxkFHwUw.js";
17
- import { A as $i } from "./index-BqfRwk1n.js";
18
- import { GraphFooter as Ni } from "./GraphFooter.js";
19
- import { GraphHeader as Si } from "./GraphHeader.js";
20
- import { ColorLegend as Oi } from "./ColorLegend.js";
21
- import { Colors as si } from "./Colors.js";
22
- import { E as Vi } from "./EmptyState-BZo1BbAn.js";
23
- import { a as Di, G as Ti } from "./GraphContainer-CRqzdKu2.js";
24
- function Ii(i) {
25
- const t = di.c(157), {
26
- data: v,
27
- width: E,
28
- height: X,
29
- barColor: p,
1
+ import { c as de, j as s, m as ne } from "./index-CHPV5EwG-Curnpaqc.js";
2
+ import { useRef as ue, useState as Kt, useEffect as he } from "react";
3
+ import { i as xe } from "./index-Bwrro8-q.js";
4
+ import { n as se } from "./numberFormattingFunction-14YCbkN2.js";
5
+ import { T as ge } from "./Tooltip-Dj5eVppQ.js";
6
+ import { c as me } from "./checkIfNullOrUndefined-DmfiKkNw.js";
7
+ import { A as ce } from "./Axis-CRyfcLjc.js";
8
+ import { A as fe } from "./AxisTitle-jeI7am8o.js";
9
+ import { X as ye } from "./XAxesLabels-Dy8E1SEo.js";
10
+ import { D as be } from "./DetailsModal-0Ry5nXiC.js";
11
+ import { b as ve } from "./band-DHUZ2X7J.js";
12
+ import { a as pe } from "./linear-BqltdMeF.js";
13
+ import { l as Ae, c as we } from "./line-DFlZsxI1.js";
14
+ import { c as je, s as Me, a as Ce, m as ke } from "./step-BrDul-H4.js";
15
+ import { u as Le } from "./use-in-view-Cxa7y1TH.js";
16
+ import { m as Ht } from "./proxy-BxkFHwUw.js";
17
+ import { A as $e } from "./index-BqfRwk1n.js";
18
+ import { GraphFooter as Ne } from "./GraphFooter.js";
19
+ import { GraphHeader as Se } from "./GraphHeader.js";
20
+ import { ColorLegend as Oe } from "./ColorLegend.js";
21
+ import { Colors as le } from "./Colors.js";
22
+ import { E as Ve } from "./EmptyState-C7ZXkZWd.js";
23
+ import { a as De, G as Te } from "./GraphContainer-CRqzdKu2.js";
24
+ function Ie(e) {
25
+ const t = de.c(157), {
26
+ data: p,
27
+ width: H,
28
+ height: W,
29
+ barColor: d,
30
30
  lineColor: f,
31
- axisTitles: u,
31
+ axisTitles: m,
32
32
  sameAxes: A,
33
- rightMargin: Ut,
34
- leftMargin: Qt,
35
- topMargin: Xt,
36
- bottomMargin: Ht,
37
- tooltip: jt,
38
- showValues: Mt,
39
- onSeriesMouseOver: nt,
40
- barPadding: Wt,
41
- truncateBy: Ct,
42
- showLabels: Bt,
43
- onSeriesMouseClick: k,
44
- resetSelectionOnDoubleClick: xt,
45
- detailsOnClick: j,
46
- noOfTicks: ft,
47
- lineSuffix: pt,
48
- barSuffix: kt,
49
- linePrefix: Lt,
50
- barPrefix: $t,
51
- curveType: Nt,
33
+ rightMargin: Qt,
34
+ leftMargin: te,
35
+ topMargin: Wt,
36
+ bottomMargin: Bt,
37
+ tooltip: Ct,
38
+ showValues: kt,
39
+ onSeriesMouseOver: lt,
40
+ barPadding: Gt,
41
+ truncateBy: Lt,
42
+ showLabels: Rt,
43
+ onSeriesMouseClick: O,
44
+ resetSelectionOnDoubleClick: pt,
45
+ detailsOnClick: $,
46
+ noOfTicks: dt,
47
+ lineSuffix: ht,
48
+ barSuffix: $t,
49
+ linePrefix: Nt,
50
+ barPrefix: St,
51
+ curveType: Ot,
52
52
  styles: o,
53
53
  classNames: n,
54
- animate: l,
55
- precision: H,
56
- customLayers: L,
57
- naLabel: st,
58
- showAxisLabels: M
59
- } = i, Jt = ui(null);
60
- let dt;
61
- t[0] !== l.amount || t[1] !== l.once ? (dt = {
62
- once: l.once,
63
- amount: l.amount
64
- }, t[0] = l.amount, t[1] = l.once, t[2] = dt) : dt = t[2];
65
- const $ = Li(Jt, dt), Gt = Nt === "linear" ? wi : Nt === "step" ? ji : Nt === "stepAfter" ? Mi : Nt === "stepBefore" ? Ci : ki, [St, lt] = qt(void 0), [N, ht] = qt(void 0), [Ot, c] = qt(void 0), [m, at] = qt(void 0), Ft = Qt + 50, gt = Ut + 65;
66
- let Vt;
67
- t[3] !== Ht || t[4] !== Ft || t[5] !== gt || t[6] !== Xt ? (Vt = {
68
- top: Xt,
69
- bottom: Ht,
70
- left: Ft,
71
- right: gt
72
- }, t[3] = Ht, t[4] = Ft, t[5] = gt, t[6] = Xt, t[7] = Vt) : Vt = t[7];
73
- const a = Vt, h = E - a.left - a.right, r = X - a.top - a.bottom;
74
- let S, W, B, C, G, F, R, O, V, D, T, z, q, U, J;
75
- if (t[8] !== l || t[9] !== u || t[10] !== p || t[11] !== Wt || t[12] !== $t || t[13] !== kt || t[14] !== n?.graphObjectValues || t[15] !== n?.xAxis?.axis || t[16] !== n?.xAxis?.labels || t[17] !== n?.yAxis?.gridLines || t[18] !== n?.yAxis?.labels || t[19] !== n?.yAxis?.title || t[20] !== Gt || t[21] !== L || t[22] !== v || t[23] !== j || t[24] !== r || t[25] !== h || t[26] !== X || t[27] !== $ || t[28] !== f || t[29] !== Lt || t[30] !== pt || t[31] !== a.bottom || t[32] !== a.left || t[33] !== a.right || t[34] !== a.top || t[35] !== N || t[36] !== st || t[37] !== ft || t[38] !== k || t[39] !== nt || t[40] !== H || t[41] !== xt || t[42] !== A || t[43] !== M || t[44] !== Bt || t[45] !== Mt || t[46] !== o?.graphObjectValues || t[47] !== o?.xAxis?.axis || t[48] !== o?.xAxis?.labels || t[49] !== o?.yAxis?.gridLines || t[50] !== o?.yAxis?.labels || t[51] !== o?.yAxis?.title || t[52] !== Ct || t[53] !== E) {
76
- const x = v.map(ce), g = vi().domain(x.map(re)).range([0, h]).paddingInner(Wt), Dt = Math.min(...x.map(ae).filter(le)) !== 1 / 0 ? Math.min(...x.map(se).filter(ne)) > 0 ? 0 : Math.min(...x.map(oe).filter(ee)) : 0, bt = Math.min(...x.map(ie).filter(te)) !== 1 / 0 ? Math.min(...x.map(_i).filter(Zi)) > 0 ? 0 : Math.min(...x.map(Qi).filter(Ki)) : 0, vt = Math.max(...x.map(Ji).filter(Ui)) !== 1 / 0 ? Math.max(...x.map(qi).filter(zi)) : 0, rt = Math.max(...x.map(Ri).filter(Fi)) !== 1 / 0 ? Math.max(...x.map(Gi).filter(Bi)) : 0, Rt = Dt < bt ? Dt : bt, At = vt > rt ? vt : rt, d = pi().domain([A ? Rt : Dt, A ? At > 0 ? At : 0 : vt > 0 ? vt : 0]).range([r, 0]).nice(), y = pi().domain([A ? Rt : bt, A ? At > 0 ? At : 0 : rt > 0 ? rt : 0]).range([r, 0]).nice(), Tt = Ai().defined(Wi).x((e) => g(`${e.id}`) + g.bandwidth() / 2).y((e) => y(e.line)).curve(Gt), li = d.ticks(ft), zt = y.ticks(ft);
77
- W = Et.svg, G = `${E}px`, F = `${X}px`, R = `0 0 ${E} ${X}`, O = "ltr", V = Jt, q = `translate(${a.left},${a.top})`;
78
- const Kt = n?.xAxis?.axis;
79
- let it;
80
- t[69] !== Kt ? (it = {
81
- axis: Kt
82
- }, t[69] = Kt, t[70] = it) : it = t[70];
83
- let ct;
84
- t[71] !== o?.xAxis?.axis ? (ct = o?.xAxis?.axis || {}, t[71] = o?.xAxis?.axis, t[72] = ct) : ct = t[72];
85
- let I;
86
- t[73] !== p || t[74] !== ct ? (I = {
54
+ animate: a,
55
+ precision: B,
56
+ customLayers: V,
57
+ naLabel: at,
58
+ showAxisLabels: N
59
+ } = e, Zt = ue(null);
60
+ let gt;
61
+ t[0] !== a.amount || t[1] !== a.once ? (gt = {
62
+ once: a.once,
63
+ amount: a.amount
64
+ }, t[0] = a.amount, t[1] = a.once, t[2] = gt) : gt = t[2];
65
+ const D = Le(Zt, gt), Ft = Ot === "linear" ? we : Ot === "step" ? je : Ot === "stepAfter" ? Me : Ot === "stepBefore" ? Ce : ke, [Vt, rt] = Kt(void 0), [T, yt] = Kt(void 0), [Dt, u] = Kt(void 0), [r, ct] = Kt(void 0), zt = te + 50, bt = Qt + 65;
66
+ let Tt;
67
+ t[3] !== Bt || t[4] !== zt || t[5] !== bt || t[6] !== Wt ? (Tt = {
68
+ top: Wt,
69
+ bottom: Bt,
70
+ left: zt,
71
+ right: bt
72
+ }, t[3] = Bt, t[4] = zt, t[5] = bt, t[6] = Wt, t[7] = Tt) : Tt = t[7];
73
+ const c = Tt, g = H - c.left - c.right, l = W - c.top - c.bottom;
74
+ let w, G, R, S, F, z, q, j, M, I, P, U, J, K, Q;
75
+ if (t[8] !== a || t[9] !== m || t[10] !== d || t[11] !== Gt || t[12] !== St || t[13] !== $t || t[14] !== n?.graphObjectValues || t[15] !== n?.xAxis?.axis || t[16] !== n?.xAxis?.labels || t[17] !== n?.yAxis?.gridLines || t[18] !== n?.yAxis?.labels || t[19] !== n?.yAxis?.title || t[20] !== Ft || t[21] !== V || t[22] !== p || t[23] !== $ || t[24] !== l || t[25] !== g || t[26] !== W || t[27] !== D || t[28] !== f || t[29] !== Nt || t[30] !== ht || t[31] !== c.bottom || t[32] !== c.left || t[33] !== c.right || t[34] !== c.top || t[35] !== T || t[36] !== at || t[37] !== dt || t[38] !== O || t[39] !== lt || t[40] !== B || t[41] !== pt || t[42] !== A || t[43] !== N || t[44] !== Rt || t[45] !== kt || t[46] !== o?.graphObjectValues || t[47] !== o?.xAxis?.axis || t[48] !== o?.xAxis?.labels || t[49] !== o?.yAxis?.gridLines || t[50] !== o?.yAxis?.labels || t[51] !== o?.yAxis?.title || t[52] !== Lt || t[53] !== H) {
76
+ const x = p.map(ci), y = ve().domain(x.map(ri)).range([0, g]).paddingInner(Gt), It = Math.min(...x.map(ai).filter(li)) !== 1 / 0 ? Math.min(...x.map(si).filter(ni)) > 0 ? 0 : Math.min(...x.map(oi).filter(ii)) : 0, At = Math.min(...x.map(ei).filter(ti)) !== 1 / 0 ? Math.min(...x.map(_e).filter(Ze)) > 0 ? 0 : Math.min(...x.map(Qe).filter(Ke)) : 0, wt = Math.max(...x.map(Je).filter(Ue)) !== 1 / 0 ? Math.max(...x.map(qe).filter(ze)) : 0, ut = Math.max(...x.map(Fe).filter(Re)) !== 1 / 0 ? Math.max(...x.map(Ge).filter(Be)) : 0, qt = It < At ? It : At, jt = wt > ut ? wt : ut, h = pe().domain([A ? qt : It, A ? jt > 0 ? jt : 0 : wt > 0 ? wt : 0]).range([l, 0]).nice(), b = pe().domain([A ? qt : At, A ? jt > 0 ? jt : 0 : ut > 0 ? ut : 0]).range([l, 0]).nice(), Pt = Ae().defined(We).x((i) => y(`${i.id}`) + y.bandwidth() / 2).y((i) => b(i.line)).curve(Ft), ae = h.ticks(dt), Ut = b.ticks(dt);
77
+ G = Ht.svg, F = `${H}px`, z = `${W}px`, q = `0 0 ${H} ${W}`, j = "ltr", M = Zt, J = `translate(${c.left},${c.top})`;
78
+ const _t = n?.xAxis?.axis;
79
+ let ot;
80
+ t[69] !== _t ? (ot = {
81
+ axis: _t
82
+ }, t[69] = _t, t[70] = ot) : ot = t[70];
83
+ let mt;
84
+ t[71] !== o?.xAxis?.axis ? (mt = o?.xAxis?.axis || {}, t[71] = o?.xAxis?.axis, t[72] = mt) : mt = t[72];
85
+ let Y;
86
+ t[73] !== d || t[74] !== mt ? (Y = {
87
87
  axis: {
88
- stroke: p,
89
- ...ct
88
+ stroke: d,
89
+ ...mt
90
90
  }
91
- }, t[73] = p, t[74] = ct, t[75] = I) : I = t[75];
92
- let ut;
93
- t[76] !== r || t[77] !== it || t[78] !== I ? (ut = /* @__PURE__ */ s.jsx(ci, { y1: 0, y2: r, x1: -15, x2: -15, classNames: it, styles: I }), t[76] = r, t[77] = it, t[78] = I, t[79] = ut) : ut = t[79];
94
- let wt;
95
- t[80] !== u || t[81] !== p || t[82] !== n?.yAxis?.title || t[83] !== r || t[84] !== a.left || t[85] !== M || t[86] !== o?.yAxis?.title ? (wt = M ? /* @__PURE__ */ s.jsx(fi, { x: 10 - a.left, y: r / 2, style: {
96
- fill: p,
91
+ }, t[73] = d, t[74] = mt, t[75] = Y) : Y = t[75];
92
+ let xt;
93
+ t[76] !== l || t[77] !== ot || t[78] !== Y ? (xt = /* @__PURE__ */ s.jsx(ce, { y1: 0, y2: l, x1: -15, x2: -15, classNames: ot, styles: Y }), t[76] = l, t[77] = ot, t[78] = Y, t[79] = xt) : xt = t[79];
94
+ let Mt;
95
+ t[80] !== m || t[81] !== d || t[82] !== n?.yAxis?.title || t[83] !== l || t[84] !== c.left || t[85] !== N || t[86] !== o?.yAxis?.title ? (Mt = N ? /* @__PURE__ */ s.jsx(fe, { x: 10 - c.left, y: l / 2, style: {
96
+ fill: d,
97
97
  ...o?.yAxis?.title || {}
98
- }, className: n?.yAxis?.title, text: u[0].length > 100 ? `${u[0].substring(0, 100)}...` : u[0], rotate90: !0 }) : null, t[80] = u, t[81] = p, t[82] = n?.yAxis?.title, t[83] = r, t[84] = a.left, t[85] = M, t[86] = o?.yAxis?.title, t[87] = wt) : wt = t[87], U = /* @__PURE__ */ s.jsxs("g", { children: [
99
- li.map((e, Yt) => /* @__PURE__ */ s.jsxs("g", { children: [
100
- /* @__PURE__ */ s.jsx("line", { y1: d(e), y2: d(e), x1: -15, x2: -20, style: {
101
- stroke: p,
98
+ }, className: n?.yAxis?.title, text: m[0].length > 100 ? `${m[0].substring(0, 100)}...` : m[0], rotate90: !0 }) : null, t[80] = m, t[81] = d, t[82] = n?.yAxis?.title, t[83] = l, t[84] = c.left, t[85] = N, t[86] = o?.yAxis?.title, t[87] = Mt) : Mt = t[87], K = /* @__PURE__ */ s.jsxs("g", { children: [
99
+ ae.map((i, Xt) => /* @__PURE__ */ s.jsxs("g", { children: [
100
+ /* @__PURE__ */ s.jsx("line", { y1: h(i), y2: h(i), x1: -15, x2: -20, style: {
101
+ stroke: d,
102
102
  strokeWidth: 1,
103
103
  ...o?.yAxis?.gridLines || {}
104
104
  }, className: n?.yAxis?.gridLines }),
105
- /* @__PURE__ */ s.jsx("text", { x: -25, y: d(e), dy: "0.33em", className: oi("text-xs", n?.yAxis?.labels), style: {
105
+ /* @__PURE__ */ s.jsx("text", { x: -25, y: h(i), dy: "0.33em", className: ne("text-xs", n?.yAxis?.labels), style: {
106
106
  textAnchor: "end",
107
- fill: p,
107
+ fill: d,
108
108
  ...o?.yAxis?.labels || {}
109
- }, children: ni(e, st, H, $t, kt) })
110
- ] }, Yt)),
111
- ut,
112
- wt
109
+ }, children: se(i, at, B, St, $t) })
110
+ ] }, Xt)),
111
+ xt,
112
+ Mt
113
113
  ] });
114
- const It = h + 15, et = h + 15, ot = n?.xAxis?.axis;
115
- let w;
116
- t[88] !== ot ? (w = {
117
- axis: ot
118
- }, t[88] = ot, t[89] = w) : w = t[89];
119
- let P;
120
- t[90] !== o?.xAxis?.axis ? (P = o?.xAxis?.axis || {}, t[90] = o?.xAxis?.axis, t[91] = P) : P = t[91];
121
- let mt;
122
- t[92] !== f || t[93] !== P ? (mt = {
114
+ const Yt = g + 15, nt = g + 15, st = n?.xAxis?.axis;
115
+ let C;
116
+ t[88] !== st ? (C = {
117
+ axis: st
118
+ }, t[88] = st, t[89] = C) : C = t[89];
119
+ let k;
120
+ t[90] !== o?.xAxis?.axis ? (k = o?.xAxis?.axis || {}, t[90] = o?.xAxis?.axis, t[91] = k) : k = t[91];
121
+ let L;
122
+ t[92] !== f || t[93] !== k ? (L = {
123
123
  axis: {
124
124
  stroke: f,
125
- ...P
125
+ ...k
126
126
  }
127
- }, t[92] = f, t[93] = P, t[94] = mt) : mt = t[94];
128
- let Pt;
129
- t[95] !== r || t[96] !== It || t[97] !== et || t[98] !== w || t[99] !== mt ? (Pt = /* @__PURE__ */ s.jsx(ci, { y1: 0, y2: r, x1: It, x2: et, classNames: w, styles: mt }), t[95] = r, t[96] = It, t[97] = et, t[98] = w, t[99] = mt, t[100] = Pt) : Pt = t[100];
130
- let Zt;
131
- t[101] !== u || t[102] !== n?.yAxis?.title || t[103] !== r || t[104] !== h || t[105] !== f || t[106] !== a.right || t[107] !== M || t[108] !== o?.yAxis?.title ? (Zt = M ? /* @__PURE__ */ s.jsx(fi, { x: h + a.right - 15, y: r / 2, style: {
127
+ }, t[92] = f, t[93] = k, t[94] = L) : L = t[94];
128
+ let E;
129
+ t[95] !== l || t[96] !== Yt || t[97] !== nt || t[98] !== C || t[99] !== L ? (E = /* @__PURE__ */ s.jsx(ce, { y1: 0, y2: l, x1: Yt, x2: nt, classNames: C, styles: L }), t[95] = l, t[96] = Yt, t[97] = nt, t[98] = C, t[99] = L, t[100] = E) : E = t[100];
130
+ let ft;
131
+ t[101] !== m || t[102] !== n?.yAxis?.title || t[103] !== l || t[104] !== g || t[105] !== f || t[106] !== c.right || t[107] !== N || t[108] !== o?.yAxis?.title ? (ft = N ? /* @__PURE__ */ s.jsx(fe, { x: g + c.right - 15, y: l / 2, style: {
132
132
  fill: f,
133
133
  ...o?.yAxis?.title || {}
134
- }, className: n?.yAxis?.title, text: u[1].length > 100 ? `${u[1].substring(0, 100)}...` : u[1], rotate90: !0 }) : null, t[101] = u, t[102] = n?.yAxis?.title, t[103] = r, t[104] = h, t[105] = f, t[106] = a.right, t[107] = M, t[108] = o?.yAxis?.title, t[109] = Zt) : Zt = t[109], J = /* @__PURE__ */ s.jsxs("g", { children: [
135
- zt.map((e, Yt) => /* @__PURE__ */ s.jsxs("g", { children: [
136
- /* @__PURE__ */ s.jsx("line", { y1: y(e), y2: y(e), x1: h + 15, x2: h + 20, style: {
134
+ }, className: n?.yAxis?.title, text: m[1].length > 100 ? `${m[1].substring(0, 100)}...` : m[1], rotate90: !0 }) : null, t[101] = m, t[102] = n?.yAxis?.title, t[103] = l, t[104] = g, t[105] = f, t[106] = c.right, t[107] = N, t[108] = o?.yAxis?.title, t[109] = ft) : ft = t[109], Q = /* @__PURE__ */ s.jsxs("g", { children: [
135
+ Ut.map((i, Xt) => /* @__PURE__ */ s.jsxs("g", { children: [
136
+ /* @__PURE__ */ s.jsx("line", { y1: b(i), y2: b(i), x1: g + 15, x2: g + 20, style: {
137
137
  stroke: f,
138
138
  strokeWidth: 1,
139
139
  ...o?.yAxis?.gridLines || {}
140
140
  }, className: n?.yAxis?.gridLines }),
141
- /* @__PURE__ */ s.jsx("text", { x: h + 25, y: y(e), dy: "0.33em", dx: -2, style: {
141
+ /* @__PURE__ */ s.jsx("text", { x: g + 25, y: b(i), dy: "0.33em", dx: -2, style: {
142
142
  textAnchor: "start",
143
143
  fill: f,
144
144
  ...o?.yAxis?.labels || {}
145
- }, className: oi("text-xs", n?.yAxis?.labels), children: ni(e, st, H, Lt, pt) })
146
- ] }, Yt)),
147
- Pt,
148
- Zt
145
+ }, className: ne("text-xs", n?.yAxis?.labels), children: se(i, at, B, Nt, ht) })
146
+ ] }, Xt)),
147
+ E,
148
+ ft
149
149
  ] });
150
- const ai = n?.xAxis?.axis;
151
- let _t;
152
- t[110] !== ai ? (_t = {
153
- axis: ai
154
- }, t[110] = ai, t[111] = _t) : _t = t[111];
155
- const ri = o?.xAxis?.axis;
156
- let ti;
157
- t[112] !== ri ? (ti = {
158
- axis: ri
159
- }, t[112] = ri, t[113] = ti) : ti = t[113], B = /* @__PURE__ */ s.jsx(ci, { y1: A ? d(0) : r, y2: A ? d(0) : r, x1: -15, x2: h + 15, classNames: _t, styles: ti }), t[114] !== L ? (C = L.filter(Hi).map(Xi), t[114] = L, t[115] = C) : C = t[115], S = $i, D = x.map((e, Yt) => /* @__PURE__ */ s.jsxs(Et.g, { className: "undp-viz-g-with-hover", opacity: 0.85, onMouseEnter: (Y) => {
160
- lt(e), at(Y.clientY), c(Y.clientX), nt?.(e);
150
+ const Jt = n?.xAxis?.axis;
151
+ let Et;
152
+ t[110] !== Jt ? (Et = {
153
+ axis: Jt
154
+ }, t[110] = Jt, t[111] = Et) : Et = t[111];
155
+ const re = o?.xAxis?.axis;
156
+ let ee;
157
+ t[112] !== re ? (ee = {
158
+ axis: re
159
+ }, t[112] = re, t[113] = ee) : ee = t[113], R = /* @__PURE__ */ s.jsx(ce, { y1: A ? h(0) : l, y2: A ? h(0) : l, x1: -15, x2: g + 15, classNames: Et, styles: ee }), t[114] !== V ? (S = V.filter(He).map(Xe), t[114] = V, t[115] = S) : S = t[115], w = $e, I = x.map((i, Xt) => /* @__PURE__ */ s.jsxs(Ht.g, { className: "undp-viz-g-with-hover", opacity: 0.85, onMouseEnter: (X) => {
160
+ rt(i), ct(X.clientY), u(X.clientX), lt?.(i);
161
161
  }, onClick: () => {
162
- (k || j) && (xi(N, e) && xt ? (ht(void 0), k?.(void 0)) : (ht(e), k?.(e)));
163
- }, onMouseMove: (Y) => {
164
- lt(e), at(Y.clientY), c(Y.clientX);
162
+ (O || $) && (xe(T, i) && pt ? (yt(void 0), O?.(void 0)) : (yt(i), O?.(i)));
163
+ }, onMouseMove: (X) => {
164
+ rt(i), ct(X.clientY), u(X.clientX);
165
165
  }, onMouseLeave: () => {
166
- lt(void 0), c(void 0), at(void 0), nt?.(void 0);
166
+ rt(void 0), u(void 0), ct(void 0), lt?.(void 0);
167
167
  }, children: [
168
- /* @__PURE__ */ s.jsx(Et.rect, { variants: {
168
+ /* @__PURE__ */ s.jsx(Ht.rect, { variants: {
169
169
  initial: {
170
- attrY: d(0),
170
+ attrY: h(0),
171
171
  height: 0,
172
172
  opacity: 1,
173
- fill: p
173
+ fill: d
174
174
  },
175
175
  whileInView: {
176
- attrY: e.bar ? e.bar > 0 ? d(e.bar) : d(0) : 0,
177
- height: e.bar ? Math.abs(d(e.bar) - d(0)) : 0,
176
+ attrY: i.bar ? i.bar > 0 ? h(i.bar) : h(0) : 0,
177
+ height: i.bar ? Math.abs(h(i.bar) - h(0)) : 0,
178
178
  opacity: 1,
179
- fill: p,
179
+ fill: d,
180
180
  transition: {
181
- duration: l.duration
181
+ duration: a.duration
182
182
  }
183
183
  }
184
- }, initial: "initial", animate: $ ? "whileInView" : "initial", exit: {
185
- attrY: d(0),
184
+ }, initial: "initial", animate: D ? "whileInView" : "initial", exit: {
185
+ attrY: h(0),
186
186
  height: 0,
187
187
  opacity: 0,
188
188
  transition: {
189
- duration: l.duration
189
+ duration: a.duration
190
190
  }
191
- }, x: g(`${Yt}`), width: g.bandwidth() }),
192
- Mt && !mi(e.bar) ? /* @__PURE__ */ s.jsx(Et.text, { x: g(`${e.id}`) + g.bandwidth() / 2, exit: {
193
- attrY: d(0),
191
+ }, x: y(`${Xt}`), width: y.bandwidth() }),
192
+ kt && !me(i.bar) ? /* @__PURE__ */ s.jsx(Ht.text, { x: y(`${i.id}`) + y.bandwidth() / 2, exit: {
193
+ attrY: h(0),
194
194
  opacity: 0,
195
195
  transition: {
196
- duration: l.duration
196
+ duration: a.duration
197
197
  }
198
198
  }, variants: {
199
199
  initial: {
200
- attrY: d(0),
200
+ attrY: h(0),
201
201
  opacity: 0,
202
- fill: p
202
+ fill: d
203
203
  },
204
204
  whileInView: {
205
- attrY: d(e.bar || 0),
205
+ attrY: h(i.bar || 0),
206
206
  opacity: 1,
207
- fill: p,
207
+ fill: d,
208
208
  transition: {
209
- duration: l.duration
209
+ duration: a.duration
210
210
  }
211
211
  }
212
- }, initial: "initial", animate: $ ? "whileInView" : "initial", style: {
212
+ }, initial: "initial", animate: D ? "whileInView" : "initial", style: {
213
213
  textAnchor: "middle",
214
214
  ...o?.graphObjectValues || {}
215
- }, className: oi("graph-value text-sm", n?.graphObjectValues), dy: e.bar ? e.bar >= 0 ? "-5px" : "1em" : "-5px", children: ni(e.bar, st, H, $t, kt) }) : null,
216
- Bt ? /* @__PURE__ */ s.jsx(yi, { value: `${e.label}`.length < Ct ? `${e.label}` : `${`${e.label}`.substring(0, Ct)}...`, y: r + 5, x: g(`${e.id}`), width: g.bandwidth(), height: a.bottom, style: o?.xAxis?.labels, className: n?.xAxis?.labels, alignment: "top", animate: l, isInView: $ }) : null
217
- ] }, e.label));
218
- let ii;
219
- t[116] !== l.duration ? (ii = {
215
+ }, className: ne("graph-value text-sm", n?.graphObjectValues), dy: i.bar ? i.bar >= 0 ? "-5px" : "1em" : "-5px", children: se(i.bar, at, B, St, $t) }) : null,
216
+ Rt ? /* @__PURE__ */ s.jsx(ye, { value: `${i.label}`.length < Lt ? `${i.label}` : `${`${i.label}`.substring(0, Lt)}...`, y: l + 5, x: y(`${i.id}`), width: y.bandwidth(), height: c.bottom, style: o?.xAxis?.labels, className: n?.xAxis?.labels, alignment: "top", animate: a, isInView: D }) : null
217
+ ] }, i.label));
218
+ let ie;
219
+ t[116] !== a.duration ? (ie = {
220
220
  opacity: 0,
221
221
  transition: {
222
- duration: l.duration
222
+ duration: a.duration
223
223
  }
224
- }, t[116] = l.duration, t[117] = ii) : ii = t[117];
225
- let ei;
226
- t[118] === Symbol.for("react.memo_cache_sentinel") ? (ei = {
224
+ }, t[116] = a.duration, t[117] = ie) : ie = t[117];
225
+ let oe;
226
+ t[118] === Symbol.for("react.memo_cache_sentinel") ? (oe = {
227
227
  fill: "none",
228
228
  strokeWidth: 2
229
- }, t[118] = ei) : ei = t[118], T = /* @__PURE__ */ s.jsx(Et.path, { exit: ii, variants: {
229
+ }, t[118] = oe) : oe = t[118], P = /* @__PURE__ */ s.jsx(Ht.path, { exit: ie, variants: {
230
230
  initial: {
231
- d: Tt(x.map(Ei)),
231
+ d: Pt(x.map(Ee)),
232
232
  opacity: 0,
233
233
  stroke: f
234
234
  },
235
235
  whileInView: {
236
- d: Tt(x),
236
+ d: Pt(x),
237
237
  opacity: 1,
238
238
  stroke: f,
239
239
  transition: {
240
- duration: l.duration
240
+ duration: a.duration
241
241
  }
242
242
  }
243
- }, initial: "initial", animate: $ ? "whileInView" : "initial", style: ei }), z = x.map((e, Yt) => /* @__PURE__ */ s.jsx("g", { children: mi(e.line) ? null : /* @__PURE__ */ s.jsxs("g", { onMouseEnter: (Y) => {
244
- lt(e), at(Y.clientY), c(Y.clientX), nt?.(e);
243
+ }, initial: "initial", animate: D ? "whileInView" : "initial", style: oe }), U = x.map((i, Xt) => /* @__PURE__ */ s.jsx("g", { children: me(i.line) ? null : /* @__PURE__ */ s.jsxs("g", { onMouseEnter: (X) => {
244
+ rt(i), ct(X.clientY), u(X.clientX), lt?.(i);
245
245
  }, onClick: () => {
246
- (k || j) && (xi(N, e) && xt ? (ht(void 0), k?.(void 0)) : (ht(e), k?.(e)));
247
- }, onMouseMove: (Y) => {
248
- lt(e), at(Y.clientY), c(Y.clientX);
246
+ (O || $) && (xe(T, i) && pt ? (yt(void 0), O?.(void 0)) : (yt(i), O?.(i)));
247
+ }, onMouseMove: (X) => {
248
+ rt(i), ct(X.clientY), u(X.clientX);
249
249
  }, onMouseLeave: () => {
250
- lt(void 0), c(void 0), at(void 0), nt?.(void 0);
250
+ rt(void 0), u(void 0), ct(void 0), lt?.(void 0);
251
251
  }, children: [
252
- /* @__PURE__ */ s.jsx(Et.circle, { exit: {
253
- cy: y(0),
252
+ /* @__PURE__ */ s.jsx(Ht.circle, { exit: {
253
+ cy: b(0),
254
254
  opacity: 0,
255
255
  transition: {
256
- duration: l.duration
256
+ duration: a.duration
257
257
  }
258
258
  }, variants: {
259
259
  initial: {
260
- cy: y(0),
260
+ cy: b(0),
261
261
  opacity: 0,
262
262
  fill: f
263
263
  },
264
264
  whileInView: {
265
- cy: y(e.line),
265
+ cy: b(i.line),
266
266
  opacity: 1,
267
267
  fill: f,
268
268
  transition: {
269
- duration: l.duration
269
+ duration: a.duration
270
270
  }
271
271
  }
272
- }, initial: "initial", animate: $ ? "whileInView" : "initial", cx: g(e.id) + g.bandwidth() / 2, r: h / x.length < 5 ? 0 : h / x.length < 20 ? 2 : 4 }),
273
- Mt ? /* @__PURE__ */ s.jsx(Et.text, { x: g(`${e.id}`) + g.bandwidth() / 2, exit: {
274
- y: y(0),
272
+ }, initial: "initial", animate: D ? "whileInView" : "initial", cx: y(i.id) + y.bandwidth() / 2, r: g / x.length < 5 ? 0 : g / x.length < 20 ? 2 : 4 }),
273
+ kt ? /* @__PURE__ */ s.jsx(Ht.text, { x: y(`${i.id}`) + y.bandwidth() / 2, exit: {
274
+ y: b(0),
275
275
  opacity: 0,
276
276
  transition: {
277
- duration: l.duration
277
+ duration: a.duration
278
278
  }
279
279
  }, style: {
280
280
  textAnchor: "middle",
281
281
  ...o?.graphObjectValues || {}
282
282
  }, variants: {
283
283
  initial: {
284
- y: y(0),
284
+ y: b(0),
285
285
  opacity: 0,
286
286
  fill: f
287
287
  },
288
288
  whileInView: {
289
- y: y(e.line),
289
+ y: b(i.line),
290
290
  opacity: 1,
291
291
  fill: f,
292
292
  transition: {
293
- duration: l.duration
293
+ duration: a.duration
294
294
  }
295
295
  }
296
- }, initial: "initial", animate: $ ? "whileInView" : "initial", className: oi("graph-value text-sm", n?.graphObjectValues), dy: "-5px", children: ni(e.line, st, H, Lt, pt) }) : null
297
- ] }) }, Yt)), t[8] = l, t[9] = u, t[10] = p, t[11] = Wt, t[12] = $t, t[13] = kt, t[14] = n?.graphObjectValues, t[15] = n?.xAxis?.axis, t[16] = n?.xAxis?.labels, t[17] = n?.yAxis?.gridLines, t[18] = n?.yAxis?.labels, t[19] = n?.yAxis?.title, t[20] = Gt, t[21] = L, t[22] = v, t[23] = j, t[24] = r, t[25] = h, t[26] = X, t[27] = $, t[28] = f, t[29] = Lt, t[30] = pt, t[31] = a.bottom, t[32] = a.left, t[33] = a.right, t[34] = a.top, t[35] = N, t[36] = st, t[37] = ft, t[38] = k, t[39] = nt, t[40] = H, t[41] = xt, t[42] = A, t[43] = M, t[44] = Bt, t[45] = Mt, t[46] = o?.graphObjectValues, t[47] = o?.xAxis?.axis, t[48] = o?.xAxis?.labels, t[49] = o?.yAxis?.gridLines, t[50] = o?.yAxis?.labels, t[51] = o?.yAxis?.title, t[52] = Ct, t[53] = E, t[54] = S, t[55] = W, t[56] = B, t[57] = C, t[58] = G, t[59] = F, t[60] = R, t[61] = O, t[62] = V, t[63] = D, t[64] = T, t[65] = z, t[66] = q, t[67] = U, t[68] = J;
296
+ }, initial: "initial", animate: D ? "whileInView" : "initial", className: ne("graph-value text-sm", n?.graphObjectValues), dy: "-5px", children: se(i.line, at, B, Nt, ht) }) : null
297
+ ] }) }, Xt)), t[8] = a, t[9] = m, t[10] = d, t[11] = Gt, t[12] = St, t[13] = $t, t[14] = n?.graphObjectValues, t[15] = n?.xAxis?.axis, t[16] = n?.xAxis?.labels, t[17] = n?.yAxis?.gridLines, t[18] = n?.yAxis?.labels, t[19] = n?.yAxis?.title, t[20] = Ft, t[21] = V, t[22] = p, t[23] = $, t[24] = l, t[25] = g, t[26] = W, t[27] = D, t[28] = f, t[29] = Nt, t[30] = ht, t[31] = c.bottom, t[32] = c.left, t[33] = c.right, t[34] = c.top, t[35] = T, t[36] = at, t[37] = dt, t[38] = O, t[39] = lt, t[40] = B, t[41] = pt, t[42] = A, t[43] = N, t[44] = Rt, t[45] = kt, t[46] = o?.graphObjectValues, t[47] = o?.xAxis?.axis, t[48] = o?.xAxis?.labels, t[49] = o?.yAxis?.gridLines, t[50] = o?.yAxis?.labels, t[51] = o?.yAxis?.title, t[52] = Lt, t[53] = H, t[54] = w, t[55] = G, t[56] = R, t[57] = S, t[58] = F, t[59] = z, t[60] = q, t[61] = j, t[62] = M, t[63] = I, t[64] = P, t[65] = U, t[66] = J, t[67] = K, t[68] = Q;
298
298
  } else
299
- S = t[54], W = t[55], B = t[56], C = t[57], G = t[58], F = t[59], R = t[60], O = t[61], V = t[62], D = t[63], T = t[64], z = t[65], q = t[66], U = t[67], J = t[68];
300
- let K;
301
- t[119] !== S || t[120] !== D || t[121] !== T || t[122] !== z ? (K = /* @__PURE__ */ s.jsxs(S, { children: [
302
- D,
303
- T,
304
- z
305
- ] }), t[119] = S, t[120] = D, t[121] = T, t[122] = z, t[123] = K) : K = t[123];
306
- let b;
307
- t[124] !== L ? (b = L.filter(Yi).map(Pi), t[124] = L, t[125] = b) : b = t[125];
308
- let Q;
309
- t[126] !== B || t[127] !== C || t[128] !== K || t[129] !== b || t[130] !== q || t[131] !== U || t[132] !== J ? (Q = /* @__PURE__ */ s.jsxs("g", { transform: q, children: [
310
- U,
311
- J,
312
- B,
313
- C,
314
- K,
315
- b
316
- ] }), t[126] = B, t[127] = C, t[128] = K, t[129] = b, t[130] = q, t[131] = U, t[132] = J, t[133] = Q) : Q = t[133];
299
+ w = t[54], G = t[55], R = t[56], S = t[57], F = t[58], z = t[59], q = t[60], j = t[61], M = t[62], I = t[63], P = t[64], U = t[65], J = t[66], K = t[67], Q = t[68];
317
300
  let Z;
318
- t[134] !== W || t[135] !== G || t[136] !== F || t[137] !== R || t[138] !== O || t[139] !== V || t[140] !== Q ? (Z = /* @__PURE__ */ s.jsx(W, { width: G, height: F, viewBox: R, direction: O, ref: V, children: Q }), t[134] = W, t[135] = G, t[136] = F, t[137] = R, t[138] = O, t[139] = V, t[140] = Q, t[141] = Z) : Z = t[141];
301
+ t[119] !== w || t[120] !== I || t[121] !== P || t[122] !== U ? (Z = /* @__PURE__ */ s.jsxs(w, { children: [
302
+ I,
303
+ P,
304
+ U
305
+ ] }), t[119] = w, t[120] = I, t[121] = P, t[122] = U, t[123] = Z) : Z = t[123];
306
+ let v;
307
+ t[124] !== V ? (v = V.filter(Ye).map(Pe), t[124] = V, t[125] = v) : v = t[125];
319
308
  let _;
320
- t[142] !== n?.tooltip || t[143] !== Ot || t[144] !== m || t[145] !== St || t[146] !== o?.tooltip || t[147] !== jt ? (_ = St && jt && Ot && m ? /* @__PURE__ */ s.jsx(gi, { data: St, body: jt, xPos: Ot, yPos: m, backgroundStyle: o?.tooltip, className: n?.tooltip }) : null, t[142] = n?.tooltip, t[143] = Ot, t[144] = m, t[145] = St, t[146] = o?.tooltip, t[147] = jt, t[148] = _) : _ = t[148];
321
- let tt;
322
- t[149] !== n?.modal || t[150] !== j || t[151] !== N ? (tt = j && N !== void 0 ? /* @__PURE__ */ s.jsx(bi, { body: j, data: N, setData: ht, className: n?.modal }) : null, t[149] = n?.modal, t[150] = j, t[151] = N, t[152] = tt) : tt = t[152];
323
- let yt;
324
- return t[153] !== Z || t[154] !== _ || t[155] !== tt ? (yt = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
309
+ t[126] !== R || t[127] !== S || t[128] !== Z || t[129] !== v || t[130] !== J || t[131] !== K || t[132] !== Q ? (_ = /* @__PURE__ */ s.jsxs("g", { transform: J, children: [
310
+ K,
311
+ Q,
312
+ R,
313
+ S,
325
314
  Z,
326
- _,
327
- tt
328
- ] }), t[153] = Z, t[154] = _, t[155] = tt, t[156] = yt) : yt = t[156], yt;
315
+ v
316
+ ] }), t[126] = R, t[127] = S, t[128] = Z, t[129] = v, t[130] = J, t[131] = K, t[132] = Q, t[133] = _) : _ = t[133];
317
+ let tt;
318
+ t[134] !== G || t[135] !== F || t[136] !== z || t[137] !== q || t[138] !== j || t[139] !== M || t[140] !== _ ? (tt = /* @__PURE__ */ s.jsx(G, { width: F, height: z, viewBox: q, direction: j, ref: M, children: _ }), t[134] = G, t[135] = F, t[136] = z, t[137] = q, t[138] = j, t[139] = M, t[140] = _, t[141] = tt) : tt = t[141];
319
+ let et;
320
+ t[142] !== n?.tooltip || t[143] !== Dt || t[144] !== r || t[145] !== Vt || t[146] !== o?.tooltip || t[147] !== Ct ? (et = Vt && Ct && Dt && r ? /* @__PURE__ */ s.jsx(ge, { data: Vt, body: Ct, xPos: Dt, yPos: r, backgroundStyle: o?.tooltip, className: n?.tooltip }) : null, t[142] = n?.tooltip, t[143] = Dt, t[144] = r, t[145] = Vt, t[146] = o?.tooltip, t[147] = Ct, t[148] = et) : et = t[148];
321
+ let it;
322
+ t[149] !== n?.modal || t[150] !== $ || t[151] !== T ? (it = $ && T !== void 0 ? /* @__PURE__ */ s.jsx(be, { body: $, data: T, setData: yt, className: n?.modal }) : null, t[149] = n?.modal, t[150] = $, t[151] = T, t[152] = it) : it = t[152];
323
+ let vt;
324
+ return t[153] !== tt || t[154] !== et || t[155] !== it ? (vt = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
325
+ tt,
326
+ et,
327
+ it
328
+ ] }), t[153] = tt, t[154] = et, t[155] = it, t[156] = vt) : vt = t[156], vt;
329
329
  }
330
- function Pi(i) {
331
- return i.layer;
330
+ function Pe(e) {
331
+ return e.layer;
332
332
  }
333
- function Yi(i) {
334
- return i.position === "after";
333
+ function Ye(e) {
334
+ return e.position === "after";
335
335
  }
336
- function Ei(i) {
336
+ function Ee(e) {
337
337
  return {
338
- ...i,
338
+ ...e,
339
339
  line: 0
340
340
  };
341
341
  }
342
- function Xi(i) {
343
- return i.layer;
342
+ function Xe(e) {
343
+ return e.layer;
344
344
  }
345
- function Hi(i) {
346
- return i.position === "before";
345
+ function He(e) {
346
+ return e.position === "before";
347
347
  }
348
- function Wi(i) {
349
- return !mi(i.line);
348
+ function We(e) {
349
+ return !me(e.line);
350
350
  }
351
- function Bi(i) {
352
- return i != null;
351
+ function Be(e) {
352
+ return e != null;
353
353
  }
354
- function Gi(i) {
355
- return i.line;
354
+ function Ge(e) {
355
+ return e.line;
356
356
  }
357
- function Fi(i) {
358
- return i != null;
357
+ function Re(e) {
358
+ return e != null;
359
359
  }
360
- function Ri(i) {
361
- return i.line;
360
+ function Fe(e) {
361
+ return e.line;
362
362
  }
363
- function zi(i) {
364
- return i != null;
363
+ function ze(e) {
364
+ return e != null;
365
365
  }
366
- function qi(i) {
367
- return i.bar;
366
+ function qe(e) {
367
+ return e.bar;
368
368
  }
369
- function Ui(i) {
370
- return i != null;
369
+ function Ue(e) {
370
+ return e != null;
371
371
  }
372
- function Ji(i) {
373
- return i.bar;
372
+ function Je(e) {
373
+ return e.bar;
374
374
  }
375
- function Ki(i) {
376
- return i != null;
375
+ function Ke(e) {
376
+ return e != null;
377
377
  }
378
- function Qi(i) {
379
- return i.line;
378
+ function Qe(e) {
379
+ return e.line;
380
380
  }
381
- function Zi(i) {
382
- return i != null;
381
+ function Ze(e) {
382
+ return e != null;
383
383
  }
384
- function _i(i) {
385
- return i.line;
384
+ function _e(e) {
385
+ return e.line;
386
386
  }
387
- function te(i) {
388
- return i != null;
387
+ function ti(e) {
388
+ return e != null;
389
389
  }
390
- function ie(i) {
391
- return i.line;
390
+ function ei(e) {
391
+ return e.line;
392
392
  }
393
- function ee(i) {
394
- return i != null;
393
+ function ii(e) {
394
+ return e != null;
395
395
  }
396
- function oe(i) {
397
- return i.bar;
396
+ function oi(e) {
397
+ return e.bar;
398
398
  }
399
- function ne(i) {
400
- return i != null;
399
+ function ni(e) {
400
+ return e != null;
401
401
  }
402
- function se(i) {
403
- return i.bar;
402
+ function si(e) {
403
+ return e.bar;
404
404
  }
405
- function le(i) {
406
- return i != null;
405
+ function li(e) {
406
+ return e != null;
407
407
  }
408
- function ae(i) {
409
- return i.bar;
408
+ function ai(e) {
409
+ return e.bar;
410
410
  }
411
- function re(i) {
412
- return `${i.id}`;
411
+ function ri(e) {
412
+ return `${e.id}`;
413
413
  }
414
- function ce(i, t) {
414
+ function ci(e, t) {
415
415
  return {
416
- ...i,
416
+ ...e,
417
417
  id: `${t}`
418
418
  };
419
419
  }
420
- function Ee(i) {
421
- const t = di.c(77), {
422
- data: v,
423
- graphTitle: E,
424
- sources: X,
425
- graphDescription: p,
420
+ function Ei(e) {
421
+ const t = de.c(90), {
422
+ data: p,
423
+ graphTitle: H,
424
+ sources: W,
425
+ graphDescription: d,
426
426
  height: f,
427
- width: u,
427
+ width: m,
428
428
  footNote: A,
429
- padding: Ut,
430
- lineColor: Qt,
431
- barColor: Xt,
432
- sameAxes: Ht,
433
- backgroundColor: jt,
434
- leftMargin: Mt,
435
- rightMargin: nt,
436
- topMargin: Wt,
437
- bottomMargin: Ct,
438
- lineAxisTitle: Bt,
439
- barAxisTitle: k,
440
- tooltip: xt,
441
- relativeHeight: j,
442
- onSeriesMouseOver: ft,
443
- graphID: pt,
444
- graphDownload: kt,
445
- dataDownload: Lt,
446
- barPadding: $t,
447
- truncateBy: Nt,
429
+ padding: Qt,
430
+ lineColor: te,
431
+ barColor: Wt,
432
+ sameAxes: Bt,
433
+ backgroundColor: Ct,
434
+ leftMargin: kt,
435
+ rightMargin: lt,
436
+ topMargin: Gt,
437
+ bottomMargin: Lt,
438
+ lineAxisTitle: Rt,
439
+ barAxisTitle: O,
440
+ tooltip: pt,
441
+ relativeHeight: $,
442
+ onSeriesMouseOver: dt,
443
+ graphID: ht,
444
+ graphDownload: $t,
445
+ dataDownload: Nt,
446
+ barPadding: St,
447
+ truncateBy: Ot,
448
448
  showLabels: o,
449
449
  onSeriesMouseClick: n,
450
- language: l,
451
- colorLegendTitle: H,
452
- minHeight: L,
453
- theme: st,
454
- ariaLabel: M,
455
- resetSelectionOnDoubleClick: Jt,
456
- detailsOnClick: dt,
457
- showValues: $,
458
- noOfTicks: Gt,
459
- lineSuffix: St,
460
- barSuffix: lt,
461
- linePrefix: N,
462
- barPrefix: ht,
463
- curveType: Ot,
464
- styles: c,
465
- classNames: m,
466
- animate: at,
467
- precision: Ft,
468
- customLayers: gt,
469
- naLabel: Vt,
470
- showColorScale: a,
471
- showAxisLabels: h
472
- } = i, r = Qt === void 0 ? si.light.categoricalColors.colors[1] : Qt, S = Xt === void 0 ? si.light.categoricalColors.colors[0] : Xt, W = Ht === void 0 ? !1 : Ht, B = jt === void 0 ? !1 : jt, C = Mt === void 0 ? 80 : Mt, G = nt === void 0 ? 80 : nt, F = Wt === void 0 ? 20 : Wt, R = Ct === void 0 ? 25 : Ct, O = Bt === void 0 ? "Line chart" : Bt, V = k === void 0 ? "Bar graph" : k, D = kt === void 0 ? !1 : kt, T = Lt === void 0 ? !1 : Lt, z = $t === void 0 ? 0.25 : $t, q = Nt === void 0 ? 999 : Nt, U = o === void 0 ? !0 : o, J = l === void 0 ? "en" : l, K = L === void 0 ? 0 : L, b = st === void 0 ? "light" : st, Q = Jt === void 0 ? !0 : Jt, Z = $ === void 0 ? !0 : $, _ = Gt === void 0 ? 5 : Gt, tt = St === void 0 ? "" : St, yt = lt === void 0 ? "" : lt, x = N === void 0 ? "" : N, g = ht === void 0 ? "" : ht, Dt = Ot === void 0 ? "curve" : Ot, bt = at === void 0 ? !1 : at, vt = Ft === void 0 ? 2 : Ft;
473
- let rt;
474
- t[0] !== gt ? (rt = gt === void 0 ? [] : gt, t[0] = gt, t[1] = rt) : rt = t[1];
475
- const Rt = rt, At = Vt === void 0 ? "NA" : Vt, d = a === void 0 ? !0 : a, y = h === void 0 ? !0 : h, [Tt, li] = qt(0), [zt, Kt] = qt(0), it = ui(null), ct = ui(null);
476
- let I, ut;
477
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (I = () => {
478
- const mt = new ResizeObserver((Pt) => {
479
- li(Pt[0].target.clientWidth || 620), Kt(Pt[0].target.clientHeight || 480);
450
+ language: a,
451
+ colorLegendTitle: B,
452
+ minHeight: V,
453
+ theme: at,
454
+ ariaLabel: N,
455
+ resetSelectionOnDoubleClick: Zt,
456
+ detailsOnClick: gt,
457
+ showValues: D,
458
+ noOfTicks: Ft,
459
+ lineSuffix: Vt,
460
+ barSuffix: rt,
461
+ linePrefix: T,
462
+ barPrefix: yt,
463
+ curveType: Dt,
464
+ styles: u,
465
+ classNames: r,
466
+ animate: ct,
467
+ precision: zt,
468
+ customLayers: bt,
469
+ naLabel: Tt,
470
+ showColorScale: c,
471
+ showAxisLabels: g
472
+ } = e, l = te === void 0 ? le.light.categoricalColors.colors[1] : te, w = Wt === void 0 ? le.light.categoricalColors.colors[0] : Wt, G = Bt === void 0 ? !1 : Bt, R = Ct === void 0 ? !1 : Ct, S = kt === void 0 ? 80 : kt, F = lt === void 0 ? 80 : lt, z = Gt === void 0 ? 20 : Gt, q = Lt === void 0 ? 25 : Lt, j = Rt === void 0 ? "Line chart" : Rt, M = O === void 0 ? "Bar graph" : O, I = $t === void 0 ? !1 : $t, P = Nt === void 0 ? !1 : Nt, U = St === void 0 ? 0.25 : St, J = Ot === void 0 ? 999 : Ot, K = o === void 0 ? !0 : o, Q = a === void 0 ? "en" : a, Z = V === void 0 ? 0 : V, v = at === void 0 ? "light" : at, _ = Zt === void 0 ? !0 : Zt, tt = D === void 0 ? !0 : D, et = Ft === void 0 ? 5 : Ft, it = Vt === void 0 ? "" : Vt, vt = rt === void 0 ? "" : rt, x = T === void 0 ? "" : T, y = yt === void 0 ? "" : yt, It = Dt === void 0 ? "curve" : Dt, At = ct === void 0 ? !1 : ct, wt = zt === void 0 ? 2 : zt;
473
+ let ut;
474
+ t[0] !== bt ? (ut = bt === void 0 ? [] : bt, t[0] = bt, t[1] = ut) : ut = t[1];
475
+ const qt = ut, jt = Tt === void 0 ? "NA" : Tt, h = c === void 0 ? !0 : c, b = g === void 0 ? !0 : g, [Pt, ae] = Kt(0), [Ut, _t] = Kt(0), ot = ue(null), mt = ue(null);
476
+ let Y, xt;
477
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (Y = () => {
478
+ const Jt = new ResizeObserver((Et) => {
479
+ ae(Et[0].target.clientWidth || 620), _t(Et[0].target.clientHeight || 480);
480
480
  });
481
- return it.current && mt.observe(it.current), () => mt.disconnect();
482
- }, ut = [], t[2] = I, t[3] = ut) : (I = t[2], ut = t[3]), hi(I, ut);
483
- const wt = m?.graphContainer, It = c?.graphContainer;
484
- let et;
485
- t[4] !== m?.description || t[5] !== m?.title || t[6] !== v || t[7] !== T || t[8] !== p || t[9] !== D || t[10] !== E || t[11] !== c?.description || t[12] !== c?.title || t[13] !== u ? (et = E || p || D || T ? /* @__PURE__ */ s.jsx(Si, { styles: {
486
- title: c?.title,
487
- description: c?.description
481
+ return ot.current && Jt.observe(ot.current), () => Jt.disconnect();
482
+ }, xt = [], t[2] = Y, t[3] = xt) : (Y = t[2], xt = t[3]), he(Y, xt);
483
+ const Mt = r?.graphContainer, Yt = u?.graphContainer;
484
+ let nt;
485
+ t[4] !== r?.description || t[5] !== r?.title || t[6] !== p || t[7] !== P || t[8] !== d || t[9] !== I || t[10] !== H || t[11] !== u?.description || t[12] !== u?.title || t[13] !== m ? (nt = H || d || I || P ? /* @__PURE__ */ s.jsx(Se, { styles: {
486
+ title: u?.title,
487
+ description: u?.description
488
488
  }, classNames: {
489
- title: m?.title,
490
- description: m?.description
491
- }, graphTitle: E, graphDescription: p, width: u, graphDownload: D ? ct : void 0, dataDownload: T ? v.map(pe).filter(fe).length > 0 ? v.map(xe).filter(me) : v.filter(ue) : null }) : null, t[4] = m?.description, t[5] = m?.title, t[6] = v, t[7] = T, t[8] = p, t[9] = D, t[10] = E, t[11] = c?.description, t[12] = c?.title, t[13] = u, t[14] = et) : et = t[14];
492
- let ot;
493
- t[15] !== bt || t[16] !== V || t[17] !== S || t[18] !== z || t[19] !== g || t[20] !== yt || t[21] !== R || t[22] !== m || t[23] !== H || t[24] !== Dt || t[25] !== Rt || t[26] !== v || t[27] !== dt || t[28] !== C || t[29] !== O || t[30] !== r || t[31] !== x || t[32] !== tt || t[33] !== At || t[34] !== _ || t[35] !== n || t[36] !== ft || t[37] !== vt || t[38] !== Q || t[39] !== G || t[40] !== W || t[41] !== y || t[42] !== d || t[43] !== U || t[44] !== Z || t[45] !== c || t[46] !== zt || t[47] !== Tt || t[48] !== b || t[49] !== xt || t[50] !== F || t[51] !== q ? (ot = v.length === 0 ? /* @__PURE__ */ s.jsx(Vi, {}) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
494
- d ? /* @__PURE__ */ s.jsx(Oi, { colorDomain: [V, O], colors: [S || si[b].categoricalColors.colors[0], r || si[b].categoricalColors.colors[1]], colorLegendTitle: H, showNAColor: !1, className: m?.colorLegend }) : null,
495
- /* @__PURE__ */ s.jsx(Di, { ref: it, children: Tt && zt ? /* @__PURE__ */ s.jsx(Ii, { data: v, sameAxes: W, lineColor: r, barColor: S, width: Tt, height: zt, truncateBy: q, leftMargin: C, rightMargin: G, topMargin: F, bottomMargin: R, axisTitles: [V, O], tooltip: xt, onSeriesMouseOver: ft, barPadding: z, showLabels: U, onSeriesMouseClick: n, resetSelectionOnDoubleClick: Q, detailsOnClick: dt, noOfTicks: _, lineSuffix: tt, barSuffix: yt, linePrefix: x, barPrefix: g, curveType: Dt, showValues: Z, styles: c, classNames: m, animate: bt === !0 ? {
496
- duration: 0.5,
497
- once: !0,
498
- amount: 0.5
499
- } : bt || {
500
- duration: 0,
501
- once: !0,
502
- amount: 0
503
- }, precision: vt, customLayers: Rt, naLabel: At, showAxisLabels: y }) : null })
504
- ] }), t[15] = bt, t[16] = V, t[17] = S, t[18] = z, t[19] = g, t[20] = yt, t[21] = R, t[22] = m, t[23] = H, t[24] = Dt, t[25] = Rt, t[26] = v, t[27] = dt, t[28] = C, t[29] = O, t[30] = r, t[31] = x, t[32] = tt, t[33] = At, t[34] = _, t[35] = n, t[36] = ft, t[37] = vt, t[38] = Q, t[39] = G, t[40] = W, t[41] = y, t[42] = d, t[43] = U, t[44] = Z, t[45] = c, t[46] = zt, t[47] = Tt, t[48] = b, t[49] = xt, t[50] = F, t[51] = q, t[52] = ot) : ot = t[52];
505
- let w;
506
- t[53] !== m?.footnote || t[54] !== m?.source || t[55] !== A || t[56] !== X || t[57] !== c?.footnote || t[58] !== c?.source || t[59] !== u ? (w = X || A ? /* @__PURE__ */ s.jsx(Ni, { styles: {
507
- footnote: c?.footnote,
508
- source: c?.source
489
+ title: r?.title,
490
+ description: r?.description
491
+ }, graphTitle: H, graphDescription: d, width: m, graphDownload: I ? mt : void 0, dataDownload: P ? p.map(pi).filter(fi).length > 0 ? p.map(xi).filter(mi) : p.filter(ui) : null }) : null, t[4] = r?.description, t[5] = r?.title, t[6] = p, t[7] = P, t[8] = d, t[9] = I, t[10] = H, t[11] = u?.description, t[12] = u?.title, t[13] = m, t[14] = nt) : nt = t[14];
492
+ let st;
493
+ t[15] !== M || t[16] !== w || t[17] !== r?.colorLegend || t[18] !== B || t[19] !== p.length || t[20] !== j || t[21] !== l || t[22] !== h || t[23] !== v ? (st = !h && p.length > 0 ? null : /* @__PURE__ */ s.jsx(Oe, { colorDomain: [M, j], colors: [w || le[v].categoricalColors.colors[0], l || le[v].categoricalColors.colors[1]], colorLegendTitle: B, showNAColor: !1, className: r?.colorLegend }), t[15] = M, t[16] = w, t[17] = r?.colorLegend, t[18] = B, t[19] = p.length, t[20] = j, t[21] = l, t[22] = h, t[23] = v, t[24] = st) : st = t[24];
494
+ let C;
495
+ t[25] !== p.length ? (C = p.length === 0 && /* @__PURE__ */ s.jsx(Ve, {}), t[25] = p.length, t[26] = C) : C = t[26];
496
+ let k;
497
+ t[27] !== At || t[28] !== M || t[29] !== w || t[30] !== U || t[31] !== y || t[32] !== vt || t[33] !== q || t[34] !== r || t[35] !== It || t[36] !== qt || t[37] !== p || t[38] !== gt || t[39] !== S || t[40] !== j || t[41] !== l || t[42] !== x || t[43] !== it || t[44] !== jt || t[45] !== et || t[46] !== n || t[47] !== dt || t[48] !== wt || t[49] !== _ || t[50] !== F || t[51] !== G || t[52] !== b || t[53] !== K || t[54] !== tt || t[55] !== u || t[56] !== Ut || t[57] !== Pt || t[58] !== pt || t[59] !== z || t[60] !== J ? (k = Pt && Ut && p.length > 0 ? /* @__PURE__ */ s.jsx(Ie, { data: p, sameAxes: G, lineColor: l, barColor: w, width: Pt, height: Ut, truncateBy: J, leftMargin: S, rightMargin: F, topMargin: z, bottomMargin: q, axisTitles: [M, j], tooltip: pt, onSeriesMouseOver: dt, barPadding: U, showLabels: K, onSeriesMouseClick: n, resetSelectionOnDoubleClick: _, detailsOnClick: gt, noOfTicks: et, lineSuffix: it, barSuffix: vt, linePrefix: x, barPrefix: y, curveType: It, showValues: tt, styles: u, classNames: r, animate: At === !0 ? {
498
+ duration: 0.5,
499
+ once: !0,
500
+ amount: 0.5
501
+ } : At || {
502
+ duration: 0,
503
+ once: !0,
504
+ amount: 0
505
+ }, precision: wt, customLayers: qt, naLabel: jt, showAxisLabels: b }) : null, t[27] = At, t[28] = M, t[29] = w, t[30] = U, t[31] = y, t[32] = vt, t[33] = q, t[34] = r, t[35] = It, t[36] = qt, t[37] = p, t[38] = gt, t[39] = S, t[40] = j, t[41] = l, t[42] = x, t[43] = it, t[44] = jt, t[45] = et, t[46] = n, t[47] = dt, t[48] = wt, t[49] = _, t[50] = F, t[51] = G, t[52] = b, t[53] = K, t[54] = tt, t[55] = u, t[56] = Ut, t[57] = Pt, t[58] = pt, t[59] = z, t[60] = J, t[61] = k) : k = t[61];
506
+ let L;
507
+ t[62] !== C || t[63] !== k ? (L = /* @__PURE__ */ s.jsxs(De, { ref: ot, children: [
508
+ C,
509
+ k
510
+ ] }), t[62] = C, t[63] = k, t[64] = L) : L = t[64];
511
+ let E;
512
+ t[65] !== r?.footnote || t[66] !== r?.source || t[67] !== A || t[68] !== W || t[69] !== u?.footnote || t[70] !== u?.source || t[71] !== m ? (E = W || A ? /* @__PURE__ */ s.jsx(Ne, { styles: {
513
+ footnote: u?.footnote,
514
+ source: u?.source
509
515
  }, classNames: {
510
- footnote: m?.footnote,
511
- source: m?.source
512
- }, sources: X, footNote: A, width: u }) : null, t[53] = m?.footnote, t[54] = m?.source, t[55] = A, t[56] = X, t[57] = c?.footnote, t[58] = c?.source, t[59] = u, t[60] = w) : w = t[60];
513
- let P;
514
- return t[61] !== M || t[62] !== B || t[63] !== pt || t[64] !== f || t[65] !== J || t[66] !== K || t[67] !== Ut || t[68] !== j || t[69] !== wt || t[70] !== It || t[71] !== et || t[72] !== ot || t[73] !== w || t[74] !== b || t[75] !== u ? (P = /* @__PURE__ */ s.jsxs(Ti, { className: wt, style: It, id: pt, ref: ct, "aria-label": M, backgroundColor: B, theme: b, language: J, minHeight: K, width: u, height: f, relativeHeight: j, padding: Ut, children: [
515
- et,
516
- ot,
517
- w
518
- ] }), t[61] = M, t[62] = B, t[63] = pt, t[64] = f, t[65] = J, t[66] = K, t[67] = Ut, t[68] = j, t[69] = wt, t[70] = It, t[71] = et, t[72] = ot, t[73] = w, t[74] = b, t[75] = u, t[76] = P) : P = t[76], P;
516
+ footnote: r?.footnote,
517
+ source: r?.source
518
+ }, sources: W, footNote: A, width: m }) : null, t[65] = r?.footnote, t[66] = r?.source, t[67] = A, t[68] = W, t[69] = u?.footnote, t[70] = u?.source, t[71] = m, t[72] = E) : E = t[72];
519
+ let ft;
520
+ return t[73] !== N || t[74] !== R || t[75] !== ht || t[76] !== f || t[77] !== Q || t[78] !== Z || t[79] !== Qt || t[80] !== $ || t[81] !== Mt || t[82] !== Yt || t[83] !== nt || t[84] !== st || t[85] !== L || t[86] !== E || t[87] !== v || t[88] !== m ? (ft = /* @__PURE__ */ s.jsxs(Te, { className: Mt, style: Yt, id: ht, ref: mt, "aria-label": N, backgroundColor: R, theme: v, language: Q, minHeight: Z, width: m, height: f, relativeHeight: $, padding: Qt, children: [
521
+ nt,
522
+ st,
523
+ L,
524
+ E
525
+ ] }), t[73] = N, t[74] = R, t[75] = ht, t[76] = f, t[77] = Q, t[78] = Z, t[79] = Qt, t[80] = $, t[81] = Mt, t[82] = Yt, t[83] = nt, t[84] = st, t[85] = L, t[86] = E, t[87] = v, t[88] = m, t[89] = ft) : ft = t[89], ft;
519
526
  }
520
- function ue(i) {
521
- return i !== void 0;
527
+ function ui(e) {
528
+ return e !== void 0;
522
529
  }
523
- function me(i) {
524
- return i !== void 0;
530
+ function mi(e) {
531
+ return e !== void 0;
525
532
  }
526
- function xe(i) {
527
- return i.data;
533
+ function xi(e) {
534
+ return e.data;
528
535
  }
529
- function fe(i) {
530
- return i !== void 0;
536
+ function fi(e) {
537
+ return e !== void 0;
531
538
  }
532
- function pe(i) {
533
- return i.data;
539
+ function pi(e) {
540
+ return e.data;
534
541
  }
535
542
  export {
536
- Ee as ParetoChart
543
+ Ei as ParetoChart
537
544
  };
538
545
  //# sourceMappingURL=ParetoChart.js.map