@undp/data-viz 2.0.9 → 2.1.1

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