@undp/data-viz 2.4.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.d.ts +11 -9
  4. package/dist/AreaChart.js +320 -322
  5. package/dist/AreaChart.js.map +1 -1
  6. package/dist/BarGraph.cjs +1 -1
  7. package/dist/BarGraph.cjs.map +1 -1
  8. package/dist/BarGraph.d.ts +15 -25
  9. package/dist/BarGraph.js +1694 -1694
  10. package/dist/BarGraph.js.map +1 -1
  11. package/dist/BasicStatCard.cjs +1 -1
  12. package/dist/BasicStatCard.cjs.map +1 -1
  13. package/dist/BasicStatCard.d.ts +13 -9
  14. package/dist/BasicStatCard.js +79 -81
  15. package/dist/BasicStatCard.js.map +1 -1
  16. package/dist/BeeSwarmChart.cjs +1 -1
  17. package/dist/BeeSwarmChart.cjs.map +1 -1
  18. package/dist/BeeSwarmChart.d.ts +11 -9
  19. package/dist/BeeSwarmChart.js +335 -336
  20. package/dist/BeeSwarmChart.js.map +1 -1
  21. package/dist/BiVariateChoroplethMap.cjs +1 -1
  22. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  23. package/dist/BiVariateChoroplethMap.d.ts +13 -3
  24. package/dist/BiVariateChoroplethMap.js +247 -245
  25. package/dist/BiVariateChoroplethMap.js.map +1 -1
  26. package/dist/BulletChart.cjs +1 -1
  27. package/dist/BulletChart.cjs.map +1 -1
  28. package/dist/BulletChart.d.ts +11 -5
  29. package/dist/BulletChart.js +560 -559
  30. package/dist/BulletChart.js.map +1 -1
  31. package/dist/ButterflyChart.cjs +1 -1
  32. package/dist/ButterflyChart.cjs.map +1 -1
  33. package/dist/ButterflyChart.d.ts +11 -9
  34. package/dist/ButterflyChart.js +348 -350
  35. package/dist/ButterflyChart.js.map +1 -1
  36. package/dist/ChoroplethMap.cjs +1 -1
  37. package/dist/ChoroplethMap.cjs.map +1 -1
  38. package/dist/ChoroplethMap.d.ts +11 -3
  39. package/dist/ChoroplethMap.js +213 -213
  40. package/dist/ChoroplethMap.js.map +1 -1
  41. package/dist/CirclePackingGraph.cjs +1 -1
  42. package/dist/CirclePackingGraph.d.ts +11 -9
  43. package/dist/CirclePackingGraph.js +1 -1
  44. package/dist/DataCards.cjs +1 -1
  45. package/dist/DataCards.d.ts +1 -1
  46. package/dist/DataCards.js +1 -1
  47. package/dist/DataTable.cjs +1 -1
  48. package/dist/DataTable.cjs.map +1 -1
  49. package/dist/DataTable.d.ts +4 -5
  50. package/dist/DataTable.js +114 -116
  51. package/dist/DataTable.js.map +1 -1
  52. package/dist/{DetailsModal-jmmKRMRM.cjs → DetailsModal-Du8Fr1QD.cjs} +2 -2
  53. package/dist/{DetailsModal-jmmKRMRM.cjs.map → DetailsModal-Du8Fr1QD.cjs.map} +1 -1
  54. package/dist/{DetailsModal-B2XBWR7w.js → DetailsModal-GqEbGHY2.js} +2 -2
  55. package/dist/{DetailsModal-B2XBWR7w.js.map → DetailsModal-GqEbGHY2.js.map} +1 -1
  56. package/dist/DifferenceLineChart.cjs +1 -1
  57. package/dist/DifferenceLineChart.cjs.map +1 -1
  58. package/dist/DifferenceLineChart.d.ts +11 -9
  59. package/dist/DifferenceLineChart.js +502 -504
  60. package/dist/DifferenceLineChart.js.map +1 -1
  61. package/dist/DonutChart.cjs +1 -1
  62. package/dist/DonutChart.cjs.map +1 -1
  63. package/dist/DonutChart.d.ts +14 -9
  64. package/dist/DonutChart.js +174 -179
  65. package/dist/DonutChart.js.map +1 -1
  66. package/dist/DotDensityMap.cjs +1 -1
  67. package/dist/DotDensityMap.d.ts +1 -1
  68. package/dist/DotDensityMap.js +2 -2
  69. package/dist/DualAxisLineChart.cjs +1 -1
  70. package/dist/DualAxisLineChart.cjs.map +1 -1
  71. package/dist/DualAxisLineChart.d.ts +13 -9
  72. package/dist/DualAxisLineChart.js +341 -351
  73. package/dist/DualAxisLineChart.js.map +1 -1
  74. package/dist/DumbbellChart.cjs +1 -1
  75. package/dist/DumbbellChart.cjs.map +1 -1
  76. package/dist/DumbbellChart.d.ts +11 -9
  77. package/dist/DumbbellChart.js +592 -593
  78. package/dist/DumbbellChart.js.map +1 -1
  79. package/dist/GeoHubCompareMaps.cjs +1 -1
  80. package/dist/GeoHubCompareMaps.d.ts +1 -1
  81. package/dist/GeoHubCompareMaps.js +1 -1
  82. package/dist/GeoHubMap.cjs +1 -1
  83. package/dist/GeoHubMap.d.ts +1 -1
  84. package/dist/GeoHubMap.js +1 -1
  85. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  86. package/dist/GeoHubMapWithLayerSelection.d.ts +1 -1
  87. package/dist/GeoHubMapWithLayerSelection.js +1 -1
  88. package/dist/GraphEl-B7x5ku_y.cjs +2 -0
  89. package/dist/GraphEl-B7x5ku_y.cjs.map +1 -0
  90. package/dist/GraphEl-B8tGXqWk.js +1829 -0
  91. package/dist/GraphEl-B8tGXqWk.js.map +1 -0
  92. package/dist/GriddedGraphs.cjs +1 -1
  93. package/dist/GriddedGraphs.d.ts +28 -16
  94. package/dist/GriddedGraphs.js +1 -1
  95. package/dist/GriddedGraphsFromConfig.d.ts +28 -16
  96. package/dist/HeatMap.cjs +1 -1
  97. package/dist/HeatMap.cjs.map +1 -1
  98. package/dist/HeatMap.d.ts +11 -9
  99. package/dist/HeatMap.js +203 -205
  100. package/dist/HeatMap.js.map +1 -1
  101. package/dist/Histogram.cjs +1 -1
  102. package/dist/Histogram.cjs.map +1 -1
  103. package/dist/Histogram.d.ts +11 -5
  104. package/dist/Histogram.js +88 -89
  105. package/dist/Histogram.js.map +1 -1
  106. package/dist/HybridMap.cjs +1 -1
  107. package/dist/HybridMap.cjs.map +1 -1
  108. package/dist/HybridMap.d.ts +11 -3
  109. package/dist/HybridMap.js +279 -279
  110. package/dist/HybridMap.js.map +1 -1
  111. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  112. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  113. package/dist/LineChartWithConfidenceInterval.d.ts +11 -9
  114. package/dist/LineChartWithConfidenceInterval.js +393 -395
  115. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  116. package/dist/LinearColorLegend.cjs +1 -1
  117. package/dist/LinearColorLegend.js +1 -1
  118. package/dist/MultiGraphDashboard.d.ts +28 -16
  119. package/dist/MultiGraphDashboardFromConfig.d.ts +28 -16
  120. package/dist/MultiGraphDashboardWideToLongFormat.d.ts +1 -1
  121. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.d.ts +1 -1
  122. package/dist/MultiLineAltChart.cjs +1 -1
  123. package/dist/MultiLineAltChart.cjs.map +1 -1
  124. package/dist/MultiLineAltChart.d.ts +11 -9
  125. package/dist/MultiLineAltChart.js +411 -413
  126. package/dist/MultiLineAltChart.js.map +1 -1
  127. package/dist/MultiLineChart.cjs +1 -1
  128. package/dist/MultiLineChart.cjs.map +1 -1
  129. package/dist/MultiLineChart.d.ts +11 -9
  130. package/dist/MultiLineChart.js +438 -440
  131. package/dist/MultiLineChart.js.map +1 -1
  132. package/dist/ParetoChart.cjs +1 -1
  133. package/dist/ParetoChart.cjs.map +1 -1
  134. package/dist/ParetoChart.d.ts +13 -13
  135. package/dist/ParetoChart.js +347 -355
  136. package/dist/ParetoChart.js.map +1 -1
  137. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +28 -16
  138. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +28 -16
  139. package/dist/PerformanceIntensiveScrollStory.d.ts +28 -16
  140. package/dist/RadarChart.cjs +1 -1
  141. package/dist/RadarChart.cjs.map +1 -1
  142. package/dist/RadarChart.d.ts +11 -5
  143. package/dist/RadarChart.js +213 -213
  144. package/dist/RadarChart.js.map +1 -1
  145. package/dist/SankeyChart.cjs +1 -1
  146. package/dist/SankeyChart.cjs.map +1 -1
  147. package/dist/SankeyChart.d.ts +11 -9
  148. package/dist/SankeyChart.js +448 -450
  149. package/dist/SankeyChart.js.map +1 -1
  150. package/dist/ScatterPlot.cjs +1 -1
  151. package/dist/ScatterPlot.cjs.map +1 -1
  152. package/dist/ScatterPlot.d.ts +13 -13
  153. package/dist/ScatterPlot.js +490 -498
  154. package/dist/ScatterPlot.js.map +1 -1
  155. package/dist/ScrollStory.d.ts +28 -16
  156. package/dist/SimpleLineChart.cjs +1 -1
  157. package/dist/SimpleLineChart.cjs.map +1 -1
  158. package/dist/SimpleLineChart.d.ts +11 -9
  159. package/dist/SimpleLineChart.js +362 -364
  160. package/dist/SimpleLineChart.js.map +1 -1
  161. package/dist/SingleGraphDashboard.cjs +1 -1
  162. package/dist/SingleGraphDashboard.d.ts +28 -16
  163. package/dist/SingleGraphDashboard.js +1 -1
  164. package/dist/SingleGraphDashboardFromConfig.d.ts +28 -16
  165. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +28 -16
  166. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +28 -16
  167. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  168. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  169. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +28 -16
  170. package/dist/SingleGraphDashboardThreeDGraphs.js +40 -39
  171. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  172. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +28 -16
  173. package/dist/SlopeChart.cjs +1 -1
  174. package/dist/SlopeChart.d.ts +1 -1
  175. package/dist/SlopeChart.js +2 -2
  176. package/dist/SparkLine.cjs +1 -1
  177. package/dist/SparkLine.d.ts +1 -1
  178. package/dist/SparkLine.js +1 -1
  179. package/dist/StatCardFromData.cjs +1 -1
  180. package/dist/StatCardFromData.cjs.map +1 -1
  181. package/dist/StatCardFromData.d.ts +11 -9
  182. package/dist/StatCardFromData.js +113 -116
  183. package/dist/StatCardFromData.js.map +1 -1
  184. package/dist/StripChart.cjs +1 -1
  185. package/dist/StripChart.cjs.map +1 -1
  186. package/dist/StripChart.d.ts +11 -9
  187. package/dist/StripChart.js +434 -435
  188. package/dist/StripChart.js.map +1 -1
  189. package/dist/ThreeDGlobe.cjs +1 -1
  190. package/dist/ThreeDGlobe.cjs.map +1 -1
  191. package/dist/ThreeDGlobe.d.ts +11 -3
  192. package/dist/ThreeDGlobe.js +143 -143
  193. package/dist/ThreeDGlobe.js.map +1 -1
  194. package/dist/ThresholdColorLegendWithMouseOver.cjs +1 -1
  195. package/dist/ThresholdColorLegendWithMouseOver.js +1 -1
  196. package/dist/{Tooltip-Bj-s__cI.js → Tooltip-3EYDVa3w.js} +2 -2
  197. package/dist/{Tooltip-Bj-s__cI.js.map → Tooltip-3EYDVa3w.js.map} +1 -1
  198. package/dist/{Tooltip-Hr46paWP.cjs → Tooltip-C9F3uYG0.cjs} +2 -2
  199. package/dist/{Tooltip-Hr46paWP.cjs.map → Tooltip-C9F3uYG0.cjs.map} +1 -1
  200. package/dist/TreeMapGraph.cjs +1 -1
  201. package/dist/TreeMapGraph.cjs.map +1 -1
  202. package/dist/TreeMapGraph.d.ts +11 -9
  203. package/dist/TreeMapGraph.js +369 -371
  204. package/dist/TreeMapGraph.js.map +1 -1
  205. package/dist/Types.d.ts +28 -16
  206. package/dist/UnitChart.cjs +1 -1
  207. package/dist/UnitChart.cjs.map +1 -1
  208. package/dist/UnitChart.d.ts +11 -5
  209. package/dist/UnitChart.js +118 -119
  210. package/dist/UnitChart.js.map +1 -1
  211. package/dist/WaterfallChart.cjs +1 -1
  212. package/dist/WaterfallChart.cjs.map +1 -1
  213. package/dist/WaterfallChart.d.ts +11 -9
  214. package/dist/WaterfallChart.js +306 -308
  215. package/dist/WaterfallChart.js.map +1 -1
  216. package/dist/XTicksAndGridLines-B4UhDVyU.cjs +2 -0
  217. package/dist/XTicksAndGridLines-B4UhDVyU.cjs.map +1 -0
  218. package/dist/XTicksAndGridLines-CkYwVshF.js +40 -0
  219. package/dist/XTicksAndGridLines-CkYwVshF.js.map +1 -0
  220. package/dist/YTicksAndGridLines-BbujwxOB.js +40 -0
  221. package/dist/YTicksAndGridLines-BbujwxOB.js.map +1 -0
  222. package/dist/YTicksAndGridLines-sT3zdCs6.cjs +2 -0
  223. package/dist/YTicksAndGridLines-sT3zdCs6.cjs.map +1 -0
  224. package/dist/index-BPyj_6hG.js +375 -0
  225. package/dist/index-BPyj_6hG.js.map +1 -0
  226. package/dist/index-DuLvdHo2.cjs +2 -0
  227. package/dist/index-DuLvdHo2.cjs.map +1 -0
  228. package/dist/index.cjs +1 -1
  229. package/dist/index.d.ts +105 -245
  230. package/dist/index.js +2 -2
  231. package/dist/numberFormattingFunction-BUUV_luR.js +28 -0
  232. package/dist/numberFormattingFunction-BUUV_luR.js.map +1 -0
  233. package/dist/numberFormattingFunction-u2iNHL_c.cjs +2 -0
  234. package/dist/numberFormattingFunction-u2iNHL_c.cjs.map +1 -0
  235. package/dist/{string2HTML-ZoGd08P_.cjs → string2HTML-30nfIm8R.cjs} +2 -2
  236. package/dist/{string2HTML-ZoGd08P_.cjs.map → string2HTML-30nfIm8R.cjs.map} +1 -1
  237. package/dist/{string2HTML-BrFperRM.js → string2HTML-DL-pInUB.js} +2 -2
  238. package/dist/{string2HTML-BrFperRM.js.map → string2HTML-DL-pInUB.js.map} +1 -1
  239. package/dist/utils.cjs +1 -1
  240. package/dist/utils.d.ts +1 -1
  241. package/dist/utils.js +1 -1
  242. package/package.json +2 -2
  243. package/dist/GraphEl-B73N4RIA.js +0 -1906
  244. package/dist/GraphEl-B73N4RIA.js.map +0 -1
  245. package/dist/GraphEl-Lt1og0C-.cjs +0 -2
  246. package/dist/GraphEl-Lt1og0C-.cjs.map +0 -1
  247. package/dist/XTicksAndGridLines-C5DuC5oY.cjs +0 -2
  248. package/dist/XTicksAndGridLines-C5DuC5oY.cjs.map +0 -1
  249. package/dist/XTicksAndGridLines-gdbGX2rm.js +0 -39
  250. package/dist/XTicksAndGridLines-gdbGX2rm.js.map +0 -1
  251. package/dist/YTicksAndGridLines-CsNSq9W9.js +0 -39
  252. package/dist/YTicksAndGridLines-CsNSq9W9.js.map +0 -1
  253. package/dist/YTicksAndGridLines-DFjm8RCc.cjs +0 -2
  254. package/dist/YTicksAndGridLines-DFjm8RCc.cjs.map +0 -1
  255. package/dist/index-B0Awa_de.js +0 -377
  256. package/dist/index-B0Awa_de.js.map +0 -1
  257. package/dist/index-CP8cmNzt.cjs +0 -2
  258. package/dist/index-CP8cmNzt.cjs.map +0 -1
  259. package/dist/numberFormattingFunction-Cn9R7CM9.cjs +0 -2
  260. package/dist/numberFormattingFunction-Cn9R7CM9.cjs.map +0 -1
  261. package/dist/numberFormattingFunction-DqMf_v1m.js +0 -28
  262. package/dist/numberFormattingFunction-DqMf_v1m.js.map +0 -1
@@ -1,201 +1,202 @@
1
- import { c as Kt, j as a, m as Xt } from "./index-CHPV5EwG-BzibaIRc.js";
2
- import { useRef as qt, useState as Ot, useEffect as si } from "react";
3
- import { i as ti } from "./index-Bwrro8-q.js";
4
- import { o as ii } from "./index-BZQYSqar.js";
5
- import { T as ei } from "./Tooltip-Bj-s__cI.js";
6
- import { c as q } from "./checkIfNullOrUndefined-DmfiKkNw.js";
7
- import { n as Yt } from "./numberFormattingFunction-DqMf_v1m.js";
1
+ import { c as zt, j as a, m as Pt } from "./index-CHPV5EwG-BzibaIRc.js";
2
+ import { useRef as Gt, useState as jt, useEffect as ii } from "react";
3
+ import { i as Bt } from "./index-Bwrro8-q.js";
4
+ import { o as qt } from "./index-BZQYSqar.js";
5
+ import { T as Ut } from "./Tooltip-3EYDVa3w.js";
6
+ import { c as B } from "./checkIfNullOrUndefined-DmfiKkNw.js";
7
+ import { n as Wt } from "./numberFormattingFunction-BUUV_luR.js";
8
8
  import { Colors as h } from "./Colors.js";
9
- import { D as oi } from "./DetailsModal-B2XBWR7w.js";
10
- import { a as ni } from "./linear-DNXM5Pdl.js";
11
- import { m as nt } from "./proxy-BsxtcZKa.js";
12
- import { u as ri } from "./use-in-view-KOXq5Kmc.js";
13
- import { A as li } from "./index-Cv_5q6Rb.js";
14
- import { u as _t } from "./uniqBy-BHy4I8PK.js";
15
- import { a as ci, G as ui } from "./GraphContainer-B8ZqOzKI.js";
16
- import { E as fi } from "./EmptyState-CaxXCkiN.js";
17
- import { ColorLegendWithMouseOver as pi } from "./ColorLegendWithMouseOver.js";
18
- import { GraphFooter as mi } from "./GraphFooter.js";
19
- import { GraphHeader as di } from "./GraphHeader.js";
20
- function ai(i, t) {
9
+ import { D as Jt } from "./DetailsModal-GqEbGHY2.js";
10
+ import { a as Kt } from "./linear-DNXM5Pdl.js";
11
+ import { m as rt } from "./proxy-BsxtcZKa.js";
12
+ import { u as Qt } from "./use-in-view-KOXq5Kmc.js";
13
+ import { A as _t } from "./index-Cv_5q6Rb.js";
14
+ import { u as Ft } from "./uniqBy-BHy4I8PK.js";
15
+ import { a as ei, G as oi } from "./GraphContainer-B8ZqOzKI.js";
16
+ import { E as ni } from "./EmptyState-CaxXCkiN.js";
17
+ import { ColorLegendWithMouseOver as ri } from "./ColorLegendWithMouseOver.js";
18
+ import { GraphFooter as li } from "./GraphFooter.js";
19
+ import { GraphHeader as ai } from "./GraphHeader.js";
20
+ function ti(i, t) {
21
21
  if (i < 2) return [];
22
22
  const o = t / (i - 1);
23
23
  return Array.from({
24
24
  length: i
25
- }, ($, y) => y * o);
25
+ }, (S, v) => v * o);
26
26
  }
27
- function hi(i) {
28
- const t = Kt.c(102), {
27
+ function si(i) {
28
+ const t = zt.c(103), {
29
29
  data: o,
30
- width: $,
31
- height: y,
30
+ width: S,
31
+ height: v,
32
32
  colors: n,
33
33
  colorDomain: l,
34
34
  radius: u,
35
35
  leftMargin: C,
36
- rightMargin: bt,
37
- topMargin: mt,
38
- bottomMargin: kt,
39
- tooltip: dt,
40
- onSeriesMouseOver: rt,
36
+ rightMargin: Ct,
37
+ topMargin: ht,
38
+ bottomMargin: At,
39
+ tooltip: gt,
40
+ onSeriesMouseOver: lt,
41
41
  highlightedDataPoints: r,
42
- selectedColor: lt,
43
- minValue: A,
44
- maxValue: N,
45
- onSeriesMouseClick: U,
46
- noOfTicks: at,
47
- prefix: J,
48
- suffix: st,
42
+ selectedColor: at,
43
+ minValue: T,
44
+ maxValue: E,
45
+ onSeriesMouseClick: q,
46
+ noOfTicks: st,
47
+ prefix: U,
48
+ suffix: ct,
49
49
  stripType: w,
50
- highlightColor: v,
51
- dotOpacity: vt,
52
- resetSelectionOnDoubleClick: K,
53
- detailsOnClick: O,
54
- styles: f,
50
+ highlightColor: O,
51
+ dotOpacity: Ot,
52
+ resetSelectionOnDoubleClick: J,
53
+ detailsOnClick: b,
54
+ styles: p,
55
55
  classNames: M,
56
- valueColor: p,
57
- animate: m,
56
+ valueColor: m,
57
+ animate: d,
58
58
  dimmedOpacity: tt,
59
59
  precision: it,
60
60
  customLayers: V,
61
- showDataMinMax: wt,
62
- locale: Q
63
- } = i, Mt = C === void 0 ? 20 : C, Vt = bt === void 0 ? 20 : bt, jt = mt === void 0 ? 10 : mt, Ct = kt === void 0 ? 10 : kt, $t = qt(null);
64
- let ct;
65
- t[0] !== m.amount || t[1] !== m.once ? (ct = {
66
- once: m.once,
67
- amount: m.amount
68
- }, t[0] = m.amount, t[1] = m.once, t[2] = ct) : ct = t[2];
69
- const j = ri($t, ct), [ut, Dt] = Ot(void 0), [s, d] = Ot(void 0), [ht, It] = Ot(void 0), [gt, xt] = Ot(void 0);
70
- let yt;
71
- t[3] !== Ct || t[4] !== Mt || t[5] !== Vt || t[6] !== jt ? (yt = {
72
- top: jt,
73
- bottom: Ct,
74
- left: Mt,
75
- right: Vt
76
- }, t[3] = Ct, t[4] = Mt, t[5] = Vt, t[6] = jt, t[7] = yt) : yt = t[7];
77
- const g = yt, F = $ - g.left - g.right, B = y - g.top - g.bottom;
78
- let S, T, b, D, E, L, H, P, W, X, Y, x;
79
- if (t[8] !== m.duration || t[9] !== M?.graphObjectValues || t[10] !== M?.yAxis?.labels || t[11] !== l || t[12] !== n || t[13] !== V || t[14] !== o || t[15] !== O || t[16] !== tt || t[17] !== vt || t[18] !== B || t[19] !== F || t[20] !== y || t[21] !== v || t[22] !== r || t[23] !== j || t[24] !== Q || t[25] !== g.left || t[26] !== g.top || t[27] !== N || t[28] !== A || t[29] !== s || t[30] !== at || t[31] !== U || t[32] !== rt || t[33] !== it || t[34] !== J || t[35] !== u || t[36] !== K || t[37] !== lt || t[38] !== wt || t[39] !== w || t[40] !== f?.graphObjectValues || t[41] !== f?.yAxis?.labels || t[42] !== st || t[43] !== p || t[44] !== $) {
80
- const At = o.map(Ri);
81
- let pt;
82
- t[57] !== r ? (pt = (e) => {
61
+ showDataMinMax: Dt,
62
+ locale: et,
63
+ padZeros: ot
64
+ } = i, It = C === void 0 ? 20 : C, bt = Ct === void 0 ? 20 : Ct, wt = ht === void 0 ? 10 : ht, kt = At === void 0 ? 10 : At, Nt = Gt(null);
65
+ let xt;
66
+ t[0] !== d.amount || t[1] !== d.once ? (xt = {
67
+ once: d.once,
68
+ amount: d.amount
69
+ }, t[0] = d.amount, t[1] = d.once, t[2] = xt) : xt = t[2];
70
+ const s = Qt(Nt, xt), [f, $t] = jt(void 0), [D, yt] = jt(void 0), [vt, x] = jt(void 0), [ut, Mt] = jt(void 0);
71
+ let ft;
72
+ t[3] !== kt || t[4] !== It || t[5] !== bt || t[6] !== wt ? (ft = {
73
+ top: wt,
74
+ bottom: kt,
75
+ left: It,
76
+ right: bt
77
+ }, t[3] = kt, t[4] = It, t[5] = bt, t[6] = wt, t[7] = ft) : ft = t[7];
78
+ const g = ft, L = S - g.left - g.right, H = v - g.top - g.bottom;
79
+ let P, W, j, X, Y, y, G, K, I, z, k, R;
80
+ if (t[8] !== d.duration || t[9] !== M?.graphObjectValues || t[10] !== M?.yAxis?.labels || t[11] !== l || t[12] !== n || t[13] !== V || t[14] !== o || t[15] !== b || t[16] !== tt || t[17] !== Ot || t[18] !== H || t[19] !== L || t[20] !== v || t[21] !== O || t[22] !== r || t[23] !== s || t[24] !== et || t[25] !== g.left || t[26] !== g.top || t[27] !== E || t[28] !== T || t[29] !== D || t[30] !== st || t[31] !== q || t[32] !== lt || t[33] !== ot || t[34] !== it || t[35] !== U || t[36] !== u || t[37] !== J || t[38] !== at || t[39] !== Dt || t[40] !== w || t[41] !== p?.graphObjectValues || t[42] !== p?.yAxis?.labels || t[43] !== ct || t[44] !== m || t[45] !== S) {
81
+ const Xt = o.map(Hi);
82
+ let mt;
83
+ t[58] !== r ? (mt = (e) => {
83
84
  const c = (r || []).indexOf(e.label);
84
85
  return c === -1 ? 1 / 0 : c;
85
- }, t[57] = r, t[58] = pt) : pt = t[58];
86
- const Nt = ii(At, [pt], ["desc"]);
87
- let et;
88
- t[59] !== o || t[60] !== N ? (et = q(N) ? Math.max(...o.filter(zi).map(Gi)) < 0 ? 0 : Math.max(...o.filter(Yi).map(Xi)) : N, t[59] = o, t[60] = N, t[61] = et) : et = t[61];
89
- const Gt = et;
90
- let ot;
91
- t[62] !== o || t[63] !== A ? (ot = q(A) ? Math.min(...o.filter(Wi).map(Pi)) >= 0 ? 0 : Math.min(...o.filter(Hi).map(Li)) : A, t[62] = o, t[63] = A, t[64] = ot) : ot = t[64];
92
- const zt = ot, _ = ni().domain([zt, Gt]).range([B, 0]).nice(), St = ai(at, B);
93
- T = nt.svg, D = `${$}px`, E = `${y}px`, L = `0 0 ${$} ${y}`, H = "ltr", P = $t, x = `translate(${g.left},${g.top})`, t[65] !== V ? (b = V.filter(Ei).map(Ti), t[65] = V, t[66] = b) : b = t[66], S = li, W = Nt.map((e) => /* @__PURE__ */ a.jsxs(nt.g, { className: "undp-viz-g-with-hover", variants: {
86
+ }, t[58] = r, t[59] = mt) : mt = t[59];
87
+ const Et = qt(Xt, [mt], ["desc"]);
88
+ let nt;
89
+ t[60] !== o || t[61] !== E ? (nt = B(E) ? Math.max(...o.filter(Li).map(Ei)) < 0 ? 0 : Math.max(...o.filter(Ti).map(Si)) : E, t[60] = o, t[61] = E, t[62] = nt) : nt = t[62];
90
+ const St = nt;
91
+ let dt;
92
+ t[63] !== o || t[64] !== T ? (dt = B(T) ? Math.min(...o.filter(Ni).map(Ai)) >= 0 ? 0 : Math.min(...o.filter($i).map(ki)) : T, t[63] = o, t[64] = T, t[65] = dt) : dt = t[65];
93
+ const Tt = dt, N = Kt().domain([Tt, St]).range([H, 0]).nice(), Vt = ti(st, H);
94
+ W = rt.svg, X = `${S}px`, Y = `${v}px`, y = `0 0 ${S} ${v}`, G = "ltr", K = Nt, R = `translate(${g.left},${g.top})`, t[66] !== V ? (j = V.filter(Ii).map(Di), t[66] = V, t[67] = j) : j = t[67], P = _t, I = Et.map((e) => /* @__PURE__ */ a.jsxs(rt.g, { className: "undp-viz-g-with-hover", variants: {
94
95
  initial: {
95
96
  opacity: 0,
96
- x: F / 2,
97
- y: _(0)
97
+ x: L / 2,
98
+ y: N(0)
98
99
  },
99
100
  whileInView: {
100
- x: F / 2,
101
- y: _(e.position),
102
- opacity: lt ? e.color && n[l.indexOf(e.color)] === lt ? 0.95 : tt : r ? r.indexOf(e.label) !== -1 ? 0.95 : tt : vt,
101
+ x: L / 2,
102
+ y: N(e.position),
103
+ opacity: at ? e.color && n[l.indexOf(e.color)] === at ? 0.95 : tt : r ? r.indexOf(e.label) !== -1 ? 0.95 : tt : Ot,
103
104
  transition: {
104
- duration: m.duration
105
+ duration: d.duration
105
106
  }
106
107
  }
107
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
108
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
108
109
  opacity: 0,
109
110
  transition: {
110
- duration: m.duration
111
+ duration: d.duration
111
112
  }
112
113
  }, onMouseEnter: (c) => {
113
- Dt(e), xt(c.clientY), It(c.clientX), rt?.(e);
114
+ $t(e), Mt(c.clientY), x(c.clientX), lt?.(e);
114
115
  }, onClick: () => {
115
- (U || O) && (ti(s, e) && K ? (d(void 0), U?.(void 0)) : (d(e), U?.(e)));
116
+ (q || b) && (Bt(D, e) && J ? (yt(void 0), q?.(void 0)) : (yt(e), q?.(e)));
116
117
  }, onMouseMove: (c) => {
117
- Dt(e), xt(c.clientY), It(c.clientX);
118
+ $t(e), Mt(c.clientY), x(c.clientX);
118
119
  }, onMouseLeave: () => {
119
- Dt(void 0), It(void 0), xt(void 0), rt?.(void 0);
120
+ $t(void 0), x(void 0), Mt(void 0), lt?.(void 0);
120
121
  }, children: [
121
- w === "dot" ? /* @__PURE__ */ a.jsx(nt.circle, { cy: 0, cx: 0, variants: {
122
+ w === "dot" ? /* @__PURE__ */ a.jsx(rt.circle, { cy: 0, cx: 0, variants: {
122
123
  initial: {
123
- fill: v && r ? r.indexOf(e.label) !== -1 ? v : o.filter(Si).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Ni).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
124
+ fill: O && r ? r.indexOf(e.label) !== -1 ? O : o.filter(Ci).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(ji).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
124
125
  },
125
126
  whileInView: {
126
- fill: v && r ? r.indexOf(e.label) !== -1 ? v : o.filter(Ai).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter($i).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
127
+ fill: O && r ? r.indexOf(e.label) !== -1 ? O : o.filter(Vi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Mi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
127
128
  transition: {
128
- duration: m.duration
129
+ duration: d.duration
129
130
  }
130
131
  }
131
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
132
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
132
133
  opacity: 0,
133
134
  transition: {
134
- duration: m.duration
135
+ duration: d.duration
135
136
  }
136
- }, r: u }) : /* @__PURE__ */ a.jsx(nt.rect, { y: -1, height: 2, variants: {
137
+ }, r: u }) : /* @__PURE__ */ a.jsx(rt.rect, { y: -1, height: 2, variants: {
137
138
  initial: {
138
139
  x: 0 - u,
139
140
  width: u * 2,
140
- fill: v && r ? r.indexOf(e.label) !== -1 ? v : o.filter(ki).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Ii).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
141
+ fill: O && r ? r.indexOf(e.label) !== -1 ? O : o.filter(wi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(bi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
141
142
  },
142
143
  whileInView: {
143
144
  x: 0 - u,
144
145
  width: u * 2,
145
- fill: v && r ? r.indexOf(e.label) !== -1 ? v : o.filter(Di).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Ci).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
146
+ fill: O && r ? r.indexOf(e.label) !== -1 ? O : o.filter(Oi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(vi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
146
147
  transition: {
147
- duration: m.duration
148
+ duration: d.duration
148
149
  }
149
150
  }
150
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
151
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
151
152
  opacity: 0,
152
153
  transition: {
153
- duration: m.duration
154
+ duration: d.duration
154
155
  }
155
156
  } }),
156
- r && r.indexOf(e.label) !== -1 ? /* @__PURE__ */ a.jsx(nt.text, { y: 0, dy: "0.33em", variants: {
157
+ r && r.indexOf(e.label) !== -1 ? /* @__PURE__ */ a.jsx(rt.text, { y: 0, dy: "0.33em", variants: {
157
158
  initial: {
158
159
  opacity: 0,
159
160
  x: 0 + u + 3,
160
- fill: p || (v && r ? r.indexOf(e.label) !== -1 ? v : o.filter(ji).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Vi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray)
161
+ fill: m || (O && r ? r.indexOf(e.label) !== -1 ? O : o.filter(yi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(xi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray)
161
162
  },
162
163
  whileInView: {
163
164
  opacity: 1,
164
165
  x: 0 + u + 3,
165
- fill: p || (v && r ? r.indexOf(e.label) !== -1 ? v : o.filter(Mi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(wi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray),
166
+ fill: m || (O && r ? r.indexOf(e.label) !== -1 ? O : o.filter(gi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(hi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray),
166
167
  transition: {
167
- duration: m.duration
168
+ duration: d.duration
168
169
  }
169
170
  }
170
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
171
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
171
172
  opacity: 0,
172
173
  transition: {
173
- duration: m.duration
174
+ duration: d.duration
174
175
  }
175
176
  }, style: {
176
177
  textAnchor: "start",
177
- ...f?.graphObjectValues || {}
178
- }, className: Xt("graph-value text-sm font-bold", M?.graphObjectValues), children: Yt(e.position, void 0, it, J, st, Q) }) : null
179
- ] }, e.label)), X = wt ? [Math.min(...o.filter(bi).map(Oi)), Math.max(...o.filter(vi).map(yi))].map((e, c) => /* @__PURE__ */ a.jsx(nt.g, { variants: {
178
+ ...p?.graphObjectValues || {}
179
+ }, className: Pt("graph-value text-sm font-bold", M?.graphObjectValues), children: Wt(e.position, void 0, it, U, ct, et, ot) }) : null
180
+ ] }, e.label)), z = Dt ? [Math.min(...o.filter(di).map(mi)), Math.max(...o.filter(pi).map(fi))].map((e, c) => /* @__PURE__ */ a.jsx(rt.g, { variants: {
180
181
  initial: {
181
182
  opacity: 0,
182
- x: F / 2,
183
- y: _(0)
183
+ x: L / 2,
184
+ y: N(e)
184
185
  },
185
186
  whileInView: {
186
- x: F / 2,
187
- y: _(e),
187
+ x: L / 2,
188
+ y: N(e),
188
189
  opacity: 1,
189
190
  transition: {
190
- duration: m.duration
191
+ duration: d.duration
191
192
  }
192
193
  }
193
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
194
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
194
195
  opacity: 0,
195
196
  transition: {
196
- duration: m.duration
197
+ duration: d.duration
197
198
  }
198
- }, children: /* @__PURE__ */ a.jsx(nt.text, { y: 0, dy: "0.33em", variants: {
199
+ }, children: /* @__PURE__ */ a.jsx(rt.text, { y: 0, dy: "0.33em", variants: {
199
200
  initial: {
200
201
  opacity: 0,
201
202
  x: 0 + u + 3
@@ -204,312 +205,313 @@ function hi(i) {
204
205
  opacity: 1,
205
206
  x: 0 + u + 3,
206
207
  transition: {
207
- duration: m.duration
208
+ duration: d.duration
208
209
  }
209
210
  }
210
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
211
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
211
212
  opacity: 0,
212
213
  transition: {
213
- duration: m.duration
214
+ duration: d.duration
214
215
  }
215
216
  }, style: {
216
217
  textAnchor: "start",
217
- ...f?.graphObjectValues || {}
218
- }, className: Xt("graph-value text-sm text-primary-gray-550 dark:text-primary-gray-200", M?.graphObjectValues), children: Yt(e, void 0, it, J, st, Q) }, c) }, c)) : null, Y = St.map((e, c) => /* @__PURE__ */ a.jsx("text", { y: e, x: F / 2 + u + 5, style: {
218
+ ...p?.graphObjectValues || {}
219
+ }, className: Pt("graph-min-max-value text-sm text-primary-gray-550 dark:text-primary-gray-200", M?.graphObjectValues), children: Wt(e, void 0, it, U, ct, et, ot) }) }, c === 0 ? "min-value" : "max-value")) : null, k = Vt.map((e, c) => /* @__PURE__ */ a.jsx("text", { y: e, x: L / 2 + u + 5, style: {
219
220
  textAnchor: "start",
220
- ...f?.yAxis?.labels || {}
221
- }, className: Xt("fill-primary-gray-550 dark:fill-primary-gray-500 text-xs", M?.yAxis?.labels), children: Yt(_.invert(e), void 0, it, J, st, Q) }, c)), t[8] = m.duration, t[9] = M?.graphObjectValues, t[10] = M?.yAxis?.labels, t[11] = l, t[12] = n, t[13] = V, t[14] = o, t[15] = O, t[16] = tt, t[17] = vt, t[18] = B, t[19] = F, t[20] = y, t[21] = v, t[22] = r, t[23] = j, t[24] = Q, t[25] = g.left, t[26] = g.top, t[27] = N, t[28] = A, t[29] = s, t[30] = at, t[31] = U, t[32] = rt, t[33] = it, t[34] = J, t[35] = u, t[36] = K, t[37] = lt, t[38] = wt, t[39] = w, t[40] = f?.graphObjectValues, t[41] = f?.yAxis?.labels, t[42] = st, t[43] = p, t[44] = $, t[45] = S, t[46] = T, t[47] = b, t[48] = D, t[49] = E, t[50] = L, t[51] = H, t[52] = P, t[53] = W, t[54] = X, t[55] = Y, t[56] = x;
221
+ ...p?.yAxis?.labels || {}
222
+ }, className: Pt("fill-primary-gray-550 dark:fill-primary-gray-500 text-xs", M?.yAxis?.labels), children: Wt(N.invert(e), void 0, it, U, ct, et, ot) }, `tick-${c}`)), t[8] = d.duration, t[9] = M?.graphObjectValues, t[10] = M?.yAxis?.labels, t[11] = l, t[12] = n, t[13] = V, t[14] = o, t[15] = b, t[16] = tt, t[17] = Ot, t[18] = H, t[19] = L, t[20] = v, t[21] = O, t[22] = r, t[23] = s, t[24] = et, t[25] = g.left, t[26] = g.top, t[27] = E, t[28] = T, t[29] = D, t[30] = st, t[31] = q, t[32] = lt, t[33] = ot, t[34] = it, t[35] = U, t[36] = u, t[37] = J, t[38] = at, t[39] = Dt, t[40] = w, t[41] = p?.graphObjectValues, t[42] = p?.yAxis?.labels, t[43] = ct, t[44] = m, t[45] = S, t[46] = P, t[47] = W, t[48] = j, t[49] = X, t[50] = Y, t[51] = y, t[52] = G, t[53] = K, t[54] = I, t[55] = z, t[56] = k, t[57] = R;
222
223
  } else
223
- S = t[45], T = t[46], b = t[47], D = t[48], E = t[49], L = t[50], H = t[51], P = t[52], W = t[53], X = t[54], Y = t[55], x = t[56];
224
- let G;
225
- t[67] !== S || t[68] !== W || t[69] !== X || t[70] !== Y ? (G = /* @__PURE__ */ a.jsxs(S, { children: [
226
- W,
227
- X,
228
- Y
229
- ] }), t[67] = S, t[68] = W, t[69] = X, t[70] = Y, t[71] = G) : G = t[71];
224
+ P = t[46], W = t[47], j = t[48], X = t[49], Y = t[50], y = t[51], G = t[52], K = t[53], I = t[54], z = t[55], k = t[56], R = t[57];
230
225
  let Z;
231
- t[72] !== V ? (Z = V.filter(xi).map(gi), t[72] = V, t[73] = Z) : Z = t[73];
232
- let I;
233
- t[74] !== b || t[75] !== G || t[76] !== Z || t[77] !== x ? (I = /* @__PURE__ */ a.jsxs("g", { transform: x, children: [
234
- b,
235
- G,
236
- Z
237
- ] }), t[74] = b, t[75] = G, t[76] = Z, t[77] = x, t[78] = I) : I = t[78];
238
- let z;
239
- t[79] !== T || t[80] !== D || t[81] !== E || t[82] !== L || t[83] !== H || t[84] !== P || t[85] !== I ? (z = /* @__PURE__ */ a.jsx(T, { width: D, height: E, viewBox: L, direction: H, ref: P, children: I }), t[79] = T, t[80] = D, t[81] = E, t[82] = L, t[83] = H, t[84] = P, t[85] = I, t[86] = z) : z = t[86];
240
- let R;
241
- t[87] !== M?.tooltip || t[88] !== ht || t[89] !== gt || t[90] !== ut || t[91] !== f?.tooltip || t[92] !== dt ? (R = ut && dt && ht && gt ? /* @__PURE__ */ a.jsx(ei, { data: ut, body: dt, xPos: ht, yPos: gt, backgroundStyle: f?.tooltip, className: M?.tooltip }) : null, t[87] = M?.tooltip, t[88] = ht, t[89] = gt, t[90] = ut, t[91] = f?.tooltip, t[92] = dt, t[93] = R) : R = t[93];
242
- let k;
243
- t[94] !== M?.modal || t[95] !== O || t[96] !== s ? (k = O && s !== void 0 ? /* @__PURE__ */ a.jsx(oi, { body: O, data: s, setData: d, className: M?.modal }) : null, t[94] = M?.modal, t[95] = O, t[96] = s, t[97] = k) : k = t[97];
244
- let ft;
245
- return t[98] !== z || t[99] !== R || t[100] !== k ? (ft = /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
226
+ t[68] !== P || t[69] !== I || t[70] !== z || t[71] !== k ? (Z = /* @__PURE__ */ a.jsxs(P, { children: [
227
+ I,
246
228
  z,
247
- R,
248
229
  k
249
- ] }), t[98] = z, t[99] = R, t[100] = k, t[101] = ft) : ft = t[101], ft;
250
- }
251
- function gi(i) {
230
+ ] }), t[68] = P, t[69] = I, t[70] = z, t[71] = k, t[72] = Z) : Z = t[72];
231
+ let F;
232
+ t[73] !== V ? (F = V.filter(ui).map(ci), t[73] = V, t[74] = F) : F = t[74];
233
+ let $;
234
+ t[75] !== j || t[76] !== Z || t[77] !== F || t[78] !== R ? ($ = /* @__PURE__ */ a.jsxs("g", { transform: R, children: [
235
+ j,
236
+ Z,
237
+ F
238
+ ] }), t[75] = j, t[76] = Z, t[77] = F, t[78] = R, t[79] = $) : $ = t[79];
239
+ let Q;
240
+ t[80] !== W || t[81] !== X || t[82] !== Y || t[83] !== y || t[84] !== G || t[85] !== K || t[86] !== $ ? (Q = /* @__PURE__ */ a.jsx(W, { width: X, height: Y, viewBox: y, direction: G, ref: K, children: $ }), t[80] = W, t[81] = X, t[82] = Y, t[83] = y, t[84] = G, t[85] = K, t[86] = $, t[87] = Q) : Q = t[87];
241
+ let A;
242
+ t[88] !== M?.tooltip || t[89] !== vt || t[90] !== ut || t[91] !== f || t[92] !== p?.tooltip || t[93] !== gt ? (A = f && gt && vt && ut ? /* @__PURE__ */ a.jsx(Ut, { data: f, body: gt, xPos: vt, yPos: ut, backgroundStyle: p?.tooltip, className: M?.tooltip }) : null, t[88] = M?.tooltip, t[89] = vt, t[90] = ut, t[91] = f, t[92] = p?.tooltip, t[93] = gt, t[94] = A) : A = t[94];
243
+ let _;
244
+ t[95] !== M?.modal || t[96] !== b || t[97] !== D ? (_ = b && D !== void 0 ? /* @__PURE__ */ a.jsx(Jt, { body: b, data: D, setData: yt, className: M?.modal }) : null, t[95] = M?.modal, t[96] = b, t[97] = D, t[98] = _) : _ = t[98];
245
+ let pt;
246
+ return t[99] !== Q || t[100] !== A || t[101] !== _ ? (pt = /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
247
+ Q,
248
+ A,
249
+ _
250
+ ] }), t[99] = Q, t[100] = A, t[101] = _, t[102] = pt) : pt = t[102], pt;
251
+ }
252
+ function ci(i) {
252
253
  return i.layer;
253
254
  }
254
- function xi(i) {
255
+ function ui(i) {
255
256
  return i.position === "after";
256
257
  }
257
- function yi(i) {
258
+ function fi(i) {
258
259
  return i.position;
259
260
  }
260
- function vi(i) {
261
- return !q(i.position);
261
+ function pi(i) {
262
+ return !B(i.position);
262
263
  }
263
- function Oi(i) {
264
+ function mi(i) {
264
265
  return i.position;
265
266
  }
266
- function bi(i) {
267
- return !q(i.position);
267
+ function di(i) {
268
+ return !B(i.position);
268
269
  }
269
- function wi(i) {
270
+ function hi(i) {
270
271
  return i.color;
271
272
  }
272
- function Mi(i) {
273
+ function gi(i) {
273
274
  return i.color;
274
275
  }
275
- function Vi(i) {
276
+ function xi(i) {
276
277
  return i.color;
277
278
  }
278
- function ji(i) {
279
+ function yi(i) {
279
280
  return i.color;
280
281
  }
281
- function Ci(i) {
282
+ function vi(i) {
282
283
  return i.color;
283
284
  }
284
- function Di(i) {
285
+ function Oi(i) {
285
286
  return i.color;
286
287
  }
287
- function Ii(i) {
288
+ function bi(i) {
288
289
  return i.color;
289
290
  }
290
- function ki(i) {
291
+ function wi(i) {
291
292
  return i.color;
292
293
  }
293
- function $i(i) {
294
+ function Mi(i) {
294
295
  return i.color;
295
296
  }
296
- function Ai(i) {
297
+ function Vi(i) {
297
298
  return i.color;
298
299
  }
299
- function Ni(i) {
300
+ function ji(i) {
300
301
  return i.color;
301
302
  }
302
- function Si(i) {
303
+ function Ci(i) {
303
304
  return i.color;
304
305
  }
305
- function Ti(i) {
306
+ function Di(i) {
306
307
  return i.layer;
307
308
  }
308
- function Ei(i) {
309
+ function Ii(i) {
309
310
  return i.position === "before";
310
311
  }
311
- function Li(i) {
312
+ function ki(i) {
312
313
  return i.position;
313
314
  }
314
- function Hi(i) {
315
- return !q(i.position);
315
+ function $i(i) {
316
+ return !B(i.position);
316
317
  }
317
- function Pi(i) {
318
+ function Ai(i) {
318
319
  return i.position;
319
320
  }
320
- function Wi(i) {
321
- return !q(i.position);
321
+ function Ni(i) {
322
+ return !B(i.position);
322
323
  }
323
- function Xi(i) {
324
+ function Si(i) {
324
325
  return i.position;
325
326
  }
326
- function Yi(i) {
327
- return !q(i.position);
327
+ function Ti(i) {
328
+ return !B(i.position);
328
329
  }
329
- function Gi(i) {
330
+ function Ei(i) {
330
331
  return i.position;
331
332
  }
332
- function zi(i) {
333
- return !q(i.position);
333
+ function Li(i) {
334
+ return !B(i.position);
334
335
  }
335
- function Ri(i, t) {
336
+ function Hi(i, t) {
336
337
  return {
337
338
  ...i,
338
339
  id: `${t}`
339
340
  };
340
341
  }
341
- function Fi(i) {
342
- const t = Kt.c(102), {
342
+ function Pi(i) {
343
+ const t = zt.c(103), {
343
344
  data: o,
344
- width: $,
345
- height: y,
345
+ width: S,
346
+ height: v,
346
347
  colors: n,
347
348
  colorDomain: l,
348
349
  radius: u,
349
350
  leftMargin: C,
350
- rightMargin: bt,
351
- topMargin: mt,
352
- bottomMargin: kt,
353
- tooltip: dt,
354
- onSeriesMouseOver: rt,
351
+ rightMargin: Ct,
352
+ topMargin: ht,
353
+ bottomMargin: At,
354
+ tooltip: gt,
355
+ onSeriesMouseOver: lt,
355
356
  highlightedDataPoints: r,
356
- selectedColor: lt,
357
- minValue: A,
358
- maxValue: N,
359
- onSeriesMouseClick: U,
360
- prefix: at,
361
- suffix: J,
362
- stripType: st,
357
+ selectedColor: at,
358
+ minValue: T,
359
+ maxValue: E,
360
+ onSeriesMouseClick: q,
361
+ prefix: st,
362
+ suffix: U,
363
+ stripType: ct,
363
364
  highlightColor: w,
364
- dotOpacity: v,
365
- resetSelectionOnDoubleClick: vt,
366
- detailsOnClick: K,
367
- styles: O,
368
- classNames: f,
365
+ dotOpacity: O,
366
+ resetSelectionOnDoubleClick: Ot,
367
+ detailsOnClick: J,
368
+ styles: b,
369
+ classNames: p,
369
370
  valueColor: M,
370
- animate: p,
371
- noOfTicks: m,
371
+ animate: m,
372
+ noOfTicks: d,
372
373
  dimmedOpacity: tt,
373
374
  precision: it,
374
375
  customLayers: V,
375
- showDataMinMax: wt,
376
- locale: Q
377
- } = i, Mt = C === void 0 ? 5 : C, Vt = bt === void 0 ? 5 : bt, jt = mt === void 0 ? 10 : mt, Ct = kt === void 0 ? 10 : kt, $t = qt(null);
378
- let ct;
379
- t[0] !== p.amount || t[1] !== p.once ? (ct = {
380
- once: p.once,
381
- amount: p.amount
382
- }, t[0] = p.amount, t[1] = p.once, t[2] = ct) : ct = t[2];
383
- const j = ri($t, ct), [ut, Dt] = Ot(void 0), [s, d] = Ot(void 0), [ht, It] = Ot(void 0), [gt, xt] = Ot(void 0);
384
- let yt;
385
- t[3] !== Ct || t[4] !== Mt || t[5] !== Vt || t[6] !== jt ? (yt = {
386
- top: jt,
387
- bottom: Ct,
388
- left: Mt,
389
- right: Vt
390
- }, t[3] = Ct, t[4] = Mt, t[5] = Vt, t[6] = jt, t[7] = yt) : yt = t[7];
391
- const g = yt, F = $ - g.left - g.right, B = y - g.top - g.bottom;
392
- let S, T, b, D, E, L, H, P, W, X, Y, x;
393
- if (t[8] !== p.duration || t[9] !== f?.graphObjectValues || t[10] !== f?.xAxis?.labels || t[11] !== l || t[12] !== n || t[13] !== V || t[14] !== o || t[15] !== K || t[16] !== tt || t[17] !== v || t[18] !== B || t[19] !== F || t[20] !== y || t[21] !== w || t[22] !== r || t[23] !== j || t[24] !== Q || t[25] !== g.left || t[26] !== g.top || t[27] !== N || t[28] !== A || t[29] !== s || t[30] !== m || t[31] !== U || t[32] !== rt || t[33] !== it || t[34] !== at || t[35] !== u || t[36] !== vt || t[37] !== lt || t[38] !== wt || t[39] !== st || t[40] !== O?.graphObjectValues || t[41] !== O?.xAxis?.labels || t[42] !== J || t[43] !== M || t[44] !== $) {
394
- const At = o.map(Oe);
395
- let pt;
396
- t[57] !== r ? (pt = (e) => {
376
+ showDataMinMax: Dt,
377
+ locale: et,
378
+ padZeros: ot
379
+ } = i, It = C === void 0 ? 5 : C, bt = Ct === void 0 ? 5 : Ct, wt = ht === void 0 ? 10 : ht, kt = At === void 0 ? 10 : At, Nt = Gt(null);
380
+ let xt;
381
+ t[0] !== m.amount || t[1] !== m.once ? (xt = {
382
+ once: m.once,
383
+ amount: m.amount
384
+ }, t[0] = m.amount, t[1] = m.once, t[2] = xt) : xt = t[2];
385
+ const s = Qt(Nt, xt), [f, $t] = jt(void 0), [D, yt] = jt(void 0), [vt, x] = jt(void 0), [ut, Mt] = jt(void 0);
386
+ let ft;
387
+ t[3] !== kt || t[4] !== It || t[5] !== bt || t[6] !== wt ? (ft = {
388
+ top: wt,
389
+ bottom: kt,
390
+ left: It,
391
+ right: bt
392
+ }, t[3] = kt, t[4] = It, t[5] = bt, t[6] = wt, t[7] = ft) : ft = t[7];
393
+ const g = ft, L = S - g.left - g.right, H = v - g.top - g.bottom;
394
+ let P, W, j, X, Y, y, G, K, I, z, k, R;
395
+ if (t[8] !== m.duration || t[9] !== p?.graphObjectValues || t[10] !== p?.xAxis?.labels || t[11] !== l || t[12] !== n || t[13] !== V || t[14] !== o || t[15] !== J || t[16] !== tt || t[17] !== O || t[18] !== H || t[19] !== L || t[20] !== v || t[21] !== w || t[22] !== r || t[23] !== s || t[24] !== et || t[25] !== g.left || t[26] !== g.top || t[27] !== E || t[28] !== T || t[29] !== D || t[30] !== d || t[31] !== q || t[32] !== lt || t[33] !== ot || t[34] !== it || t[35] !== st || t[36] !== u || t[37] !== Ot || t[38] !== at || t[39] !== Dt || t[40] !== ct || t[41] !== b?.graphObjectValues || t[42] !== b?.xAxis?.labels || t[43] !== U || t[44] !== M || t[45] !== S) {
396
+ const Xt = o.map(me);
397
+ let mt;
398
+ t[58] !== r ? (mt = (e) => {
397
399
  const c = (r || []).indexOf(e.label);
398
400
  return c === -1 ? 1 / 0 : c;
399
- }, t[57] = r, t[58] = pt) : pt = t[58];
400
- const Nt = ii(At, [pt], ["desc"]);
401
- let et;
402
- t[59] !== o || t[60] !== N ? (et = q(N) ? Math.max(...o.filter(ve).map(ye)) < 0 ? 0 : Math.max(...o.filter(xe).map(ge)) : N, t[59] = o, t[60] = N, t[61] = et) : et = t[61];
403
- const Gt = et;
404
- let ot;
405
- t[62] !== o || t[63] !== A ? (ot = q(A) ? Math.min(...o.filter(he).map(de)) >= 0 ? 0 : Math.min(...o.filter(me).map(pe)) : A, t[62] = o, t[63] = A, t[64] = ot) : ot = t[64];
406
- const zt = ot, _ = ni().domain([zt, Gt]).range([0, F]).nice(), St = ai(m, F);
407
- T = nt.svg, D = `${$}px`, E = `${y}px`, L = `0 0 ${$} ${y}`, H = "ltr", P = $t, x = `translate(${g.left},${g.top})`, t[65] !== V ? (b = V.filter(fe).map(ue), t[65] = V, t[66] = b) : b = t[66], S = li, W = Nt.map((e) => /* @__PURE__ */ a.jsxs(nt.g, { className: "undp-viz-g-with-hover", variants: {
401
+ }, t[58] = r, t[59] = mt) : mt = t[59];
402
+ const Et = qt(Xt, [mt], ["desc"]);
403
+ let nt;
404
+ t[60] !== o || t[61] !== E ? (nt = B(E) ? Math.max(...o.filter(pe).map(fe)) < 0 ? 0 : Math.max(...o.filter(ue).map(ce)) : E, t[60] = o, t[61] = E, t[62] = nt) : nt = t[62];
405
+ const St = nt;
406
+ let dt;
407
+ t[63] !== o || t[64] !== T ? (dt = B(T) ? Math.min(...o.filter(se).map(ae)) >= 0 ? 0 : Math.min(...o.filter(le).map(re)) : T, t[63] = o, t[64] = T, t[65] = dt) : dt = t[65];
408
+ const Tt = dt, N = Kt().domain([Tt, St]).range([0, L]).nice(), Vt = ti(d, L);
409
+ W = rt.svg, X = `${S}px`, Y = `${v}px`, y = `0 0 ${S} ${v}`, G = "ltr", K = Nt, R = `translate(${g.left},${g.top})`, t[66] !== V ? (j = V.filter(ne).map(oe), t[66] = V, t[67] = j) : j = t[67], P = _t, I = Et.map((e) => /* @__PURE__ */ a.jsxs(rt.g, { className: "undp-viz-g-with-hover", variants: {
408
410
  initial: {
409
411
  opacity: 0,
410
- x: _(0),
411
- y: B / 2
412
+ x: N(0),
413
+ y: H / 2
412
414
  },
413
415
  whileInView: {
414
- x: _(e.position),
415
- y: B / 2,
416
- opacity: lt ? e.color && n[l.indexOf(e.color)] === lt ? 0.95 : tt : r ? r.indexOf(e.label) !== -1 ? 0.95 : tt : v,
416
+ x: N(e.position),
417
+ y: H / 2,
418
+ opacity: at ? e.color && n[l.indexOf(e.color)] === at ? 0.95 : tt : r ? r.indexOf(e.label) !== -1 ? 0.95 : tt : O,
417
419
  transition: {
418
- duration: p.duration
420
+ duration: m.duration
419
421
  }
420
422
  }
421
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
423
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
422
424
  opacity: 0,
423
425
  transition: {
424
- duration: p.duration
426
+ duration: m.duration
425
427
  }
426
428
  }, onMouseEnter: (c) => {
427
- Dt(e), xt(c.clientY), It(c.clientX), rt?.(e);
429
+ $t(e), Mt(c.clientY), x(c.clientX), lt?.(e);
428
430
  }, onClick: () => {
429
- (U || K) && (ti(s, e) && vt ? (d(void 0), U?.(void 0)) : (d(e), U?.(e)));
431
+ (q || J) && (Bt(D, e) && Ot ? (yt(void 0), q?.(void 0)) : (yt(e), q?.(e)));
430
432
  }, onMouseMove: (c) => {
431
- Dt(e), xt(c.clientY), It(c.clientX);
433
+ $t(e), Mt(c.clientY), x(c.clientX);
432
434
  }, onMouseLeave: () => {
433
- Dt(void 0), It(void 0), xt(void 0), rt?.(void 0);
435
+ $t(void 0), x(void 0), Mt(void 0), lt?.(void 0);
434
436
  }, children: [
435
- st === "dot" ? /* @__PURE__ */ a.jsx(nt.circle, { cy: 0, cx: 0, variants: {
437
+ ct === "dot" ? /* @__PURE__ */ a.jsx(rt.circle, { cy: 0, cx: 0, variants: {
436
438
  initial: {
437
- fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(ce).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(se).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
439
+ fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(ee).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(ie).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
438
440
  },
439
441
  whileInView: {
440
- fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(ae).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(le).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
442
+ fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(te).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(_i).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
441
443
  transition: {
442
- duration: p.duration
444
+ duration: m.duration
443
445
  }
444
446
  }
445
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
447
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
446
448
  opacity: 0,
447
449
  transition: {
448
- duration: p.duration
450
+ duration: m.duration
449
451
  }
450
- }, r: u }) : /* @__PURE__ */ a.jsx(nt.rect, { x: -1, width: 2, variants: {
452
+ }, r: u }) : /* @__PURE__ */ a.jsx(rt.rect, { x: -1, width: 2, variants: {
451
453
  initial: {
452
454
  y: 0 - u,
453
455
  height: u * 2,
454
- fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(re).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(ne).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
456
+ fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(Qi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Ki).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray
455
457
  },
456
458
  whileInView: {
457
459
  y: 0 - u,
458
460
  height: u * 2,
459
- fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(oe).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(ee).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
461
+ fill: w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(Ji).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Ui).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray,
460
462
  transition: {
461
- duration: p.duration
463
+ duration: m.duration
462
464
  }
463
465
  }
464
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
466
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
465
467
  opacity: 0,
466
468
  transition: {
467
- duration: p.duration
469
+ duration: m.duration
468
470
  }
469
471
  } }),
470
- r && r.indexOf(e.label) !== -1 ? /* @__PURE__ */ a.jsx(nt.text, { x: 0, variants: {
472
+ r && r.indexOf(e.label) !== -1 ? /* @__PURE__ */ a.jsx(rt.text, { x: 0, variants: {
471
473
  initial: {
472
474
  opacity: 0,
473
475
  y: 0 - u - 5,
474
- fill: M || (w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(ie).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(te).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray)
476
+ fill: M || (w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(qi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Bi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray)
475
477
  },
476
478
  whileInView: {
477
479
  opacity: 1,
478
480
  y: 0 - u - 5,
479
- fill: M || (w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(_i).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Zi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray),
481
+ fill: M || (w && r ? r.indexOf(e.label) !== -1 ? w : o.filter(Fi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray : o.filter(Zi).length === 0 ? n[0] : e.color ? n[l.indexOf(e.color)] : h.gray),
480
482
  transition: {
481
- duration: p.duration
483
+ duration: m.duration
482
484
  }
483
485
  }
484
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
486
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
485
487
  opacity: 0,
486
488
  transition: {
487
- duration: p.duration
489
+ duration: m.duration
488
490
  }
489
491
  }, style: {
490
492
  textAnchor: "middle",
491
- ...O?.graphObjectValues || {}
492
- }, className: Xt("graph-value text-sm font-bold", f?.graphObjectValues), children: Yt(e.position, void 0, it, at, J, Q) }) : null
493
- ] }, e.label)), X = wt ? [Math.min(...o.filter(Qi).map(Ki)), Math.max(...o.filter(Ji).map(Ui))].map((e, c) => /* @__PURE__ */ a.jsx(nt.g, { variants: {
493
+ ...b?.graphObjectValues || {}
494
+ }, className: Pt("graph-value text-sm font-bold", p?.graphObjectValues), children: Wt(e.position, void 0, it, st, U, et, ot) }) : null
495
+ ] }, e.label)), z = Dt ? [Math.min(...o.filter(Ri).map(zi)), Math.max(...o.filter(Gi).map(Yi))].map((e, c) => /* @__PURE__ */ a.jsx(rt.g, { variants: {
494
496
  initial: {
495
497
  opacity: 0,
496
- x: _(0),
497
- y: B / 2
498
+ x: N(e),
499
+ y: H / 2
498
500
  },
499
501
  whileInView: {
500
- x: _(e),
501
- y: B / 2,
502
+ x: N(e),
503
+ y: H / 2,
502
504
  opacity: 1,
503
505
  transition: {
504
- duration: p.duration
506
+ duration: m.duration
505
507
  }
506
508
  }
507
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
509
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
508
510
  opacity: 0,
509
511
  transition: {
510
- duration: p.duration
512
+ duration: m.duration
511
513
  }
512
- }, children: /* @__PURE__ */ a.jsx(nt.text, { x: 0, variants: {
514
+ }, children: /* @__PURE__ */ a.jsx(rt.text, { x: 0, variants: {
513
515
  initial: {
514
516
  opacity: 0,
515
517
  y: 0 - u - 5
@@ -518,219 +520,216 @@ function Fi(i) {
518
520
  opacity: 1,
519
521
  y: 0 - u - 5,
520
522
  transition: {
521
- duration: p.duration
523
+ duration: m.duration
522
524
  }
523
525
  }
524
- }, initial: "initial", animate: j ? "whileInView" : "initial", exit: {
526
+ }, initial: "initial", animate: s ? "whileInView" : "initial", exit: {
525
527
  opacity: 0,
526
528
  transition: {
527
- duration: p.duration
529
+ duration: m.duration
528
530
  }
529
531
  }, style: {
530
532
  textAnchor: "middle",
531
- ...O?.graphObjectValues || {}
532
- }, className: Xt("graph-value text-sm text-primary-gray-550 dark:text-primary-gray-200", f?.graphObjectValues), children: Yt(e, void 0, it, at, J, Q) }) }, c)) : null, Y = St.map((e, c) => /* @__PURE__ */ a.jsx("text", { x: e, y: B / 2 + u, style: {
533
- textAnchor: c === 0 ? "start" : c === St.length - 1 ? "end" : "middle",
534
- ...O?.xAxis?.labels || {}
535
- }, className: Xt("fill-primary-gray-550 dark:fill-primary-gray-500 text-xs", f?.xAxis?.labels), dy: "1em", children: Yt(_.invert(e), void 0, it, at, J, Q) }, c)), t[8] = p.duration, t[9] = f?.graphObjectValues, t[10] = f?.xAxis?.labels, t[11] = l, t[12] = n, t[13] = V, t[14] = o, t[15] = K, t[16] = tt, t[17] = v, t[18] = B, t[19] = F, t[20] = y, t[21] = w, t[22] = r, t[23] = j, t[24] = Q, t[25] = g.left, t[26] = g.top, t[27] = N, t[28] = A, t[29] = s, t[30] = m, t[31] = U, t[32] = rt, t[33] = it, t[34] = at, t[35] = u, t[36] = vt, t[37] = lt, t[38] = wt, t[39] = st, t[40] = O?.graphObjectValues, t[41] = O?.xAxis?.labels, t[42] = J, t[43] = M, t[44] = $, t[45] = S, t[46] = T, t[47] = b, t[48] = D, t[49] = E, t[50] = L, t[51] = H, t[52] = P, t[53] = W, t[54] = X, t[55] = Y, t[56] = x;
533
+ ...b?.graphObjectValues || {}
534
+ }, className: Pt("graph-min-max-value text-sm text-primary-gray-550 dark:text-primary-gray-200", p?.graphObjectValues), children: Wt(e, void 0, it, st, U, et, ot) }) }, c === 0 ? "min-value" : "max-value")) : null, k = Vt.map((e, c) => /* @__PURE__ */ a.jsx("text", { x: e, y: H / 2 + u, style: {
535
+ textAnchor: c === 0 ? "start" : c === Vt.length - 1 ? "end" : "middle",
536
+ ...b?.xAxis?.labels || {}
537
+ }, className: Pt("fill-primary-gray-550 dark:fill-primary-gray-500 text-xs", p?.xAxis?.labels), dy: "1em", children: Wt(N.invert(e), void 0, it, st, U, et, ot) }, `tick-${c}`)), t[8] = m.duration, t[9] = p?.graphObjectValues, t[10] = p?.xAxis?.labels, t[11] = l, t[12] = n, t[13] = V, t[14] = o, t[15] = J, t[16] = tt, t[17] = O, t[18] = H, t[19] = L, t[20] = v, t[21] = w, t[22] = r, t[23] = s, t[24] = et, t[25] = g.left, t[26] = g.top, t[27] = E, t[28] = T, t[29] = D, t[30] = d, t[31] = q, t[32] = lt, t[33] = ot, t[34] = it, t[35] = st, t[36] = u, t[37] = Ot, t[38] = at, t[39] = Dt, t[40] = ct, t[41] = b?.graphObjectValues, t[42] = b?.xAxis?.labels, t[43] = U, t[44] = M, t[45] = S, t[46] = P, t[47] = W, t[48] = j, t[49] = X, t[50] = Y, t[51] = y, t[52] = G, t[53] = K, t[54] = I, t[55] = z, t[56] = k, t[57] = R;
536
538
  } else
537
- S = t[45], T = t[46], b = t[47], D = t[48], E = t[49], L = t[50], H = t[51], P = t[52], W = t[53], X = t[54], Y = t[55], x = t[56];
538
- let G;
539
- t[67] !== S || t[68] !== W || t[69] !== X || t[70] !== Y ? (G = /* @__PURE__ */ a.jsxs(S, { children: [
540
- W,
541
- X,
542
- Y
543
- ] }), t[67] = S, t[68] = W, t[69] = X, t[70] = Y, t[71] = G) : G = t[71];
539
+ P = t[46], W = t[47], j = t[48], X = t[49], Y = t[50], y = t[51], G = t[52], K = t[53], I = t[54], z = t[55], k = t[56], R = t[57];
544
540
  let Z;
545
- t[72] !== V ? (Z = V.filter(qi).map(Bi), t[72] = V, t[73] = Z) : Z = t[73];
546
- let I;
547
- t[74] !== b || t[75] !== G || t[76] !== Z || t[77] !== x ? (I = /* @__PURE__ */ a.jsxs("g", { transform: x, children: [
548
- b,
549
- G,
550
- Z
551
- ] }), t[74] = b, t[75] = G, t[76] = Z, t[77] = x, t[78] = I) : I = t[78];
552
- let z;
553
- t[79] !== T || t[80] !== D || t[81] !== E || t[82] !== L || t[83] !== H || t[84] !== P || t[85] !== I ? (z = /* @__PURE__ */ a.jsx(T, { width: D, height: E, viewBox: L, direction: H, ref: P, children: I }), t[79] = T, t[80] = D, t[81] = E, t[82] = L, t[83] = H, t[84] = P, t[85] = I, t[86] = z) : z = t[86];
554
- let R;
555
- t[87] !== f?.tooltip || t[88] !== ht || t[89] !== gt || t[90] !== ut || t[91] !== O?.tooltip || t[92] !== dt ? (R = ut && dt && ht && gt ? /* @__PURE__ */ a.jsx(ei, { data: ut, body: dt, xPos: ht, yPos: gt, backgroundStyle: O?.tooltip, className: f?.tooltip }) : null, t[87] = f?.tooltip, t[88] = ht, t[89] = gt, t[90] = ut, t[91] = O?.tooltip, t[92] = dt, t[93] = R) : R = t[93];
556
- let k;
557
- t[94] !== f?.modal || t[95] !== K || t[96] !== s ? (k = K && s !== void 0 ? /* @__PURE__ */ a.jsx(oi, { body: K, data: s, setData: d, className: f?.modal }) : null, t[94] = f?.modal, t[95] = K, t[96] = s, t[97] = k) : k = t[97];
558
- let ft;
559
- return t[98] !== z || t[99] !== R || t[100] !== k ? (ft = /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
541
+ t[68] !== P || t[69] !== I || t[70] !== z || t[71] !== k ? (Z = /* @__PURE__ */ a.jsxs(P, { children: [
542
+ I,
560
543
  z,
561
- R,
562
544
  k
563
- ] }), t[98] = z, t[99] = R, t[100] = k, t[101] = ft) : ft = t[101], ft;
545
+ ] }), t[68] = P, t[69] = I, t[70] = z, t[71] = k, t[72] = Z) : Z = t[72];
546
+ let F;
547
+ t[73] !== V ? (F = V.filter(Xi).map(Wi), t[73] = V, t[74] = F) : F = t[74];
548
+ let $;
549
+ t[75] !== j || t[76] !== Z || t[77] !== F || t[78] !== R ? ($ = /* @__PURE__ */ a.jsxs("g", { transform: R, children: [
550
+ j,
551
+ Z,
552
+ F
553
+ ] }), t[75] = j, t[76] = Z, t[77] = F, t[78] = R, t[79] = $) : $ = t[79];
554
+ let Q;
555
+ t[80] !== W || t[81] !== X || t[82] !== Y || t[83] !== y || t[84] !== G || t[85] !== K || t[86] !== $ ? (Q = /* @__PURE__ */ a.jsx(W, { width: X, height: Y, viewBox: y, direction: G, ref: K, children: $ }), t[80] = W, t[81] = X, t[82] = Y, t[83] = y, t[84] = G, t[85] = K, t[86] = $, t[87] = Q) : Q = t[87];
556
+ let A;
557
+ t[88] !== p?.tooltip || t[89] !== vt || t[90] !== ut || t[91] !== f || t[92] !== b?.tooltip || t[93] !== gt ? (A = f && gt && vt && ut ? /* @__PURE__ */ a.jsx(Ut, { data: f, body: gt, xPos: vt, yPos: ut, backgroundStyle: b?.tooltip, className: p?.tooltip }) : null, t[88] = p?.tooltip, t[89] = vt, t[90] = ut, t[91] = f, t[92] = b?.tooltip, t[93] = gt, t[94] = A) : A = t[94];
558
+ let _;
559
+ t[95] !== p?.modal || t[96] !== J || t[97] !== D ? (_ = J && D !== void 0 ? /* @__PURE__ */ a.jsx(Jt, { body: J, data: D, setData: yt, className: p?.modal }) : null, t[95] = p?.modal, t[96] = J, t[97] = D, t[98] = _) : _ = t[98];
560
+ let pt;
561
+ return t[99] !== Q || t[100] !== A || t[101] !== _ ? (pt = /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
562
+ Q,
563
+ A,
564
+ _
565
+ ] }), t[99] = Q, t[100] = A, t[101] = _, t[102] = pt) : pt = t[102], pt;
564
566
  }
565
- function Bi(i) {
567
+ function Wi(i) {
566
568
  return i.layer;
567
569
  }
568
- function qi(i) {
570
+ function Xi(i) {
569
571
  return i.position === "after";
570
572
  }
571
- function Ui(i) {
573
+ function Yi(i) {
572
574
  return i.position;
573
575
  }
574
- function Ji(i) {
575
- return !q(i.position);
576
+ function Gi(i) {
577
+ return !B(i.position);
576
578
  }
577
- function Ki(i) {
579
+ function zi(i) {
578
580
  return i.position;
579
581
  }
580
- function Qi(i) {
581
- return !q(i.position);
582
+ function Ri(i) {
583
+ return !B(i.position);
582
584
  }
583
585
  function Zi(i) {
584
586
  return i.color;
585
587
  }
586
- function _i(i) {
588
+ function Fi(i) {
587
589
  return i.color;
588
590
  }
589
- function te(i) {
591
+ function Bi(i) {
590
592
  return i.color;
591
593
  }
592
- function ie(i) {
594
+ function qi(i) {
593
595
  return i.color;
594
596
  }
595
- function ee(i) {
597
+ function Ui(i) {
596
598
  return i.color;
597
599
  }
598
- function oe(i) {
600
+ function Ji(i) {
599
601
  return i.color;
600
602
  }
601
- function ne(i) {
603
+ function Ki(i) {
602
604
  return i.color;
603
605
  }
604
- function re(i) {
606
+ function Qi(i) {
605
607
  return i.color;
606
608
  }
607
- function le(i) {
609
+ function _i(i) {
608
610
  return i.color;
609
611
  }
610
- function ae(i) {
612
+ function te(i) {
611
613
  return i.color;
612
614
  }
613
- function se(i) {
615
+ function ie(i) {
614
616
  return i.color;
615
617
  }
616
- function ce(i) {
618
+ function ee(i) {
617
619
  return i.color;
618
620
  }
619
- function ue(i) {
621
+ function oe(i) {
620
622
  return i.layer;
621
623
  }
622
- function fe(i) {
624
+ function ne(i) {
623
625
  return i.position === "before";
624
626
  }
625
- function pe(i) {
627
+ function re(i) {
626
628
  return i.position;
627
629
  }
628
- function me(i) {
629
- return !q(i.position);
630
+ function le(i) {
631
+ return !B(i.position);
630
632
  }
631
- function de(i) {
633
+ function ae(i) {
632
634
  return i.position;
633
635
  }
634
- function he(i) {
635
- return !q(i.position);
636
+ function se(i) {
637
+ return !B(i.position);
636
638
  }
637
- function ge(i) {
639
+ function ce(i) {
638
640
  return i.position;
639
641
  }
640
- function xe(i) {
641
- return !q(i.position);
642
+ function ue(i) {
643
+ return !B(i.position);
642
644
  }
643
- function ye(i) {
645
+ function fe(i) {
644
646
  return i.position;
645
647
  }
646
- function ve(i) {
647
- return !q(i.position);
648
+ function pe(i) {
649
+ return !B(i.position);
648
650
  }
649
- function Oe(i, t) {
651
+ function me(i, t) {
650
652
  return {
651
653
  ...i,
652
654
  id: `${t}`
653
655
  };
654
656
  }
655
- function Ue(i) {
656
- const t = Kt.c(92), {
657
+ function Ye(i) {
658
+ const t = zt.c(93), {
657
659
  data: o,
658
- graphTitle: $,
659
- colors: y,
660
+ graphTitle: S,
661
+ colors: v,
660
662
  sources: n,
661
663
  graphDescription: l,
662
664
  height: u,
663
665
  width: C,
664
- footNote: bt,
665
- colorDomain: mt,
666
- colorLegendTitle: kt,
667
- radius: dt,
668
- padding: rt,
666
+ footNote: Ct,
667
+ colorDomain: ht,
668
+ colorLegendTitle: At,
669
+ radius: gt,
670
+ padding: lt,
669
671
  backgroundColor: r,
670
- leftMargin: lt,
671
- rightMargin: A,
672
- topMargin: N,
673
- bottomMargin: U,
674
- tooltip: at,
675
- relativeHeight: J,
676
- onSeriesMouseOver: st,
672
+ leftMargin: at,
673
+ rightMargin: T,
674
+ topMargin: E,
675
+ bottomMargin: q,
676
+ tooltip: st,
677
+ relativeHeight: U,
678
+ onSeriesMouseOver: ct,
677
679
  showColorScale: w,
678
- highlightedDataPoints: v,
679
- graphID: vt,
680
- minValue: K,
681
- maxValue: O,
682
- onSeriesMouseClick: f,
680
+ highlightedDataPoints: O,
681
+ graphID: Ot,
682
+ minValue: J,
683
+ maxValue: b,
684
+ onSeriesMouseClick: p,
683
685
  noOfTicks: M,
684
- graphDownload: p,
685
- dataDownload: m,
686
- prefix: tt,
687
- suffix: it,
688
- stripType: V,
689
- language: wt,
690
- highlightColor: Q,
691
- dotOpacity: Mt,
692
- showNAColor: Vt,
693
- minHeight: jt,
694
- theme: Ct,
695
- ariaLabel: $t,
696
- valueColor: ct,
697
- resetSelectionOnDoubleClick: j,
698
- detailsOnClick: ut,
699
- orientation: Dt,
686
+ graphDownload: m,
687
+ dataDownload: d,
688
+ stripType: tt,
689
+ language: it,
690
+ highlightColor: V,
691
+ dotOpacity: Dt,
692
+ showNAColor: et,
693
+ minHeight: ot,
694
+ theme: It,
695
+ ariaLabel: bt,
696
+ valueColor: wt,
697
+ resetSelectionOnDoubleClick: kt,
698
+ detailsOnClick: Nt,
699
+ orientation: xt,
700
700
  styles: s,
701
- classNames: d,
702
- animate: ht,
703
- dimmedOpacity: It,
704
- precision: gt,
705
- customLayers: xt,
706
- showDataMinMax: yt,
707
- locale: g
708
- } = i, F = dt === void 0 ? 5 : dt, B = r === void 0 ? !1 : r, S = w === void 0 ? !0 : w, T = M === void 0 ? 2 : M, b = p === void 0 ? !1 : p, D = m === void 0 ? !1 : m, E = tt === void 0 ? "" : tt, L = it === void 0 ? "" : it, H = V === void 0 ? "dot" : V, P = wt === void 0 ? "en" : wt, W = Mt === void 0 ? 0.3 : Mt, X = Vt === void 0 ? !0 : Vt, Y = jt === void 0 ? 0 : jt, x = Ct === void 0 ? "light" : Ct, G = j === void 0 ? !0 : j, Z = Dt === void 0 ? "vertical" : Dt, I = ht === void 0 ? !1 : ht, z = It === void 0 ? 0.3 : It, R = gt === void 0 ? 2 : gt;
701
+ classNames: f,
702
+ animate: $t,
703
+ dimmedOpacity: D,
704
+ customLayers: yt,
705
+ showDataMinMax: vt,
706
+ numberDisplayOptions: x
707
+ } = i, ut = gt === void 0 ? 5 : gt, Mt = r === void 0 ? !1 : r, ft = w === void 0 ? !0 : w, g = M === void 0 ? 2 : M, L = m === void 0 ? !1 : m, H = d === void 0 ? !1 : d, P = tt === void 0 ? "dot" : tt, W = it === void 0 ? "en" : it, j = Dt === void 0 ? 0.3 : Dt, X = et === void 0 ? !0 : et, Y = ot === void 0 ? 0 : ot, y = It === void 0 ? "light" : It, G = kt === void 0 ? !0 : kt, K = xt === void 0 ? "vertical" : xt, I = $t === void 0 ? !1 : $t, z = D === void 0 ? 0.3 : D;
709
708
  let k;
710
- t[0] !== xt ? (k = xt === void 0 ? [] : xt, t[0] = xt, t[1] = k) : k = t[1];
711
- const ft = k, At = yt === void 0 ? !1 : yt, pt = g === void 0 ? "en" : g, Nt = Z === "horizontal" ? Fi : hi, [et, Gt] = Ot(0), [ot, zt] = Ot(0), [_, St] = Ot(void 0), e = qt(null), c = qt(null);
712
- let Rt, Ft;
713
- t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Rt = () => {
714
- const Qt = new ResizeObserver((Zt) => {
715
- Gt(Zt[0].target.clientWidth || 620), zt(Zt[0].target.clientHeight || 480);
709
+ t[0] !== yt ? (k = yt === void 0 ? [] : yt, t[0] = yt, t[1] = k) : k = t[1];
710
+ const R = k, Z = vt === void 0 ? !1 : vt, F = K === "horizontal" ? Pi : si, [$, Q] = jt(0), [A, _] = jt(0), [pt, Xt] = jt(void 0), mt = Gt(null), Et = Gt(null);
711
+ let nt, St;
712
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nt = () => {
713
+ const Rt = new ResizeObserver((Zt) => {
714
+ Q(Zt[0].target.clientWidth || 620), _(Zt[0].target.clientHeight || 480);
716
715
  });
717
- return e.current && Qt.observe(e.current), () => Qt.disconnect();
718
- }, Ft = [], t[2] = Rt, t[3] = Ft) : (Rt = t[2], Ft = t[3]), si(Rt, Ft);
719
- const Ut = d?.graphContainer, Jt = s?.graphContainer;
720
- let Tt;
721
- t[4] !== d?.description || t[5] !== d?.title || t[6] !== o || t[7] !== D || t[8] !== l || t[9] !== b || t[10] !== $ || t[11] !== s?.description || t[12] !== s?.title || t[13] !== C ? (Tt = $ || l || b || D ? /* @__PURE__ */ a.jsx(di, { styles: {
716
+ return mt.current && Rt.observe(mt.current), () => Rt.disconnect();
717
+ }, St = [], t[2] = nt, t[3] = St) : (nt = t[2], St = t[3]), ii(nt, St);
718
+ const dt = f?.graphContainer, Tt = s?.graphContainer;
719
+ let N;
720
+ t[4] !== f?.description || t[5] !== f?.title || t[6] !== o || t[7] !== H || t[8] !== l || t[9] !== L || t[10] !== S || t[11] !== s?.description || t[12] !== s?.title || t[13] !== C ? (N = S || l || L || H ? /* @__PURE__ */ a.jsx(ai, { styles: {
722
721
  title: s?.title,
723
722
  description: s?.description
724
723
  }, classNames: {
725
- title: d?.title,
726
- description: d?.description
727
- }, graphTitle: $, graphDescription: l, width: C, graphDownload: b ? c : void 0, dataDownload: D ? o.map(Ie).filter(De).length > 0 ? o.map(Ce).filter(je) : o.filter(Ve) : null }) : null, t[4] = d?.description, t[5] = d?.title, t[6] = o, t[7] = D, t[8] = l, t[9] = b, t[10] = $, t[11] = s?.description, t[12] = s?.title, t[13] = C, t[14] = Tt) : Tt = t[14];
728
- let Et;
729
- t[15] !== d?.colorLegend || t[16] !== mt || t[17] !== kt || t[18] !== y || t[19] !== o || t[20] !== S || t[21] !== X || t[22] !== x || t[23] !== C ? (Et = S !== !1 && o.filter(Me).length !== 0 && o.length > 0 ? /* @__PURE__ */ a.jsx(pi, { width: C, colorLegendTitle: kt, colors: y || h[x].categoricalColors.colors, colorDomain: mt || _t(o, "color", !0), setSelectedColor: St, showNAColor: X, className: d?.colorLegend }) : null, t[15] = d?.colorLegend, t[16] = mt, t[17] = kt, t[18] = y, t[19] = o, t[20] = S, t[21] = X, t[22] = x, t[23] = C, t[24] = Et) : Et = t[24];
730
- let Lt;
731
- t[25] !== o.length ? (Lt = o.length === 0 && /* @__PURE__ */ a.jsx(fi, {}), t[25] = o.length, t[26] = Lt) : Lt = t[26];
732
- let Ht;
733
- t[27] !== Nt || t[28] !== I || t[29] !== U || t[30] !== d || t[31] !== mt || t[32] !== y || t[33] !== ft || t[34] !== o || t[35] !== ut || t[36] !== z || t[37] !== W || t[38] !== Q || t[39] !== v || t[40] !== lt || t[41] !== pt || t[42] !== O || t[43] !== K || t[44] !== T || t[45] !== f || t[46] !== st || t[47] !== R || t[48] !== E || t[49] !== F || t[50] !== G || t[51] !== A || t[52] !== _ || t[53] !== At || t[54] !== H || t[55] !== s || t[56] !== L || t[57] !== ot || t[58] !== et || t[59] !== x || t[60] !== at || t[61] !== N || t[62] !== ct ? (Ht = et && ot && o.length > 0 ? /* @__PURE__ */ a.jsx(Nt, { data: o, width: et, showDataMinMax: At, height: ot, colorDomain: o.filter(we).length === 0 ? [] : mt || _t(o, "color", !0), colors: o.filter(be).length === 0 ? y ? [y] : [h.primaryColors["blue-600"]] : y || h[x].categoricalColors.colors, selectedColor: _, radius: F, leftMargin: lt, rightMargin: A, topMargin: N, bottomMargin: U, tooltip: at, onSeriesMouseOver: st, highlightedDataPoints: v, minValue: K, maxValue: O, onSeriesMouseClick: f, prefix: E, suffix: L, stripType: H, highlightColor: Q, dotOpacity: W, resetSelectionOnDoubleClick: G, detailsOnClick: ut, styles: s, classNames: d, valueColor: ct, animate: I === !0 ? {
724
+ title: f?.title,
725
+ description: f?.description
726
+ }, graphTitle: S, graphDescription: l, width: C, graphDownload: L ? Et : void 0, dataDownload: H ? o.map(be).filter(Oe).length > 0 ? o.map(ve).filter(ye) : o.filter(xe) : null }) : null, t[4] = f?.description, t[5] = f?.title, t[6] = o, t[7] = H, t[8] = l, t[9] = L, t[10] = S, t[11] = s?.description, t[12] = s?.title, t[13] = C, t[14] = N) : N = t[14];
727
+ let Vt;
728
+ t[15] !== f?.colorLegend || t[16] !== ht || t[17] !== At || t[18] !== v || t[19] !== o || t[20] !== ft || t[21] !== X || t[22] !== y || t[23] !== C ? (Vt = ft !== !1 && o.filter(ge).length !== 0 && o.length > 0 ? /* @__PURE__ */ a.jsx(ri, { width: C, colorLegendTitle: At, colors: v || h[y].categoricalColors.colors, colorDomain: ht || Ft(o, "color", !0), setSelectedColor: Xt, showNAColor: X, className: f?.colorLegend }) : null, t[15] = f?.colorLegend, t[16] = ht, t[17] = At, t[18] = v, t[19] = o, t[20] = ft, t[21] = X, t[22] = y, t[23] = C, t[24] = Vt) : Vt = t[24];
729
+ let e;
730
+ t[25] !== o.length ? (e = o.length === 0 && /* @__PURE__ */ a.jsx(ni, {}), t[25] = o.length, t[26] = e) : e = t[26];
731
+ let c;
732
+ t[27] !== F || t[28] !== I || t[29] !== q || t[30] !== f || t[31] !== ht || t[32] !== v || t[33] !== R || t[34] !== o || t[35] !== Nt || t[36] !== z || t[37] !== j || t[38] !== V || t[39] !== O || t[40] !== at || t[41] !== b || t[42] !== J || t[43] !== g || t[44] !== x?.locale || t[45] !== x?.padZeros || t[46] !== x?.precision || t[47] !== x?.prefix || t[48] !== x?.suffix || t[49] !== p || t[50] !== ct || t[51] !== ut || t[52] !== G || t[53] !== T || t[54] !== pt || t[55] !== Z || t[56] !== P || t[57] !== s || t[58] !== A || t[59] !== $ || t[60] !== y || t[61] !== st || t[62] !== E || t[63] !== wt ? (c = $ && A && o.length > 0 ? /* @__PURE__ */ a.jsx(F, { data: o, width: $, showDataMinMax: Z, height: A, colorDomain: o.filter(he).length === 0 ? [] : ht || Ft(o, "color", !0), colors: o.filter(de).length === 0 ? v ? [v] : [h.primaryColors["blue-600"]] : v || h[y].categoricalColors.colors, selectedColor: pt, radius: ut, leftMargin: at, rightMargin: T, topMargin: E, bottomMargin: q, tooltip: st, onSeriesMouseOver: ct, highlightedDataPoints: O, minValue: J, maxValue: b, onSeriesMouseClick: p, stripType: P, highlightColor: V, dotOpacity: j, resetSelectionOnDoubleClick: G, detailsOnClick: Nt, styles: s, classNames: f, valueColor: wt, animate: I === !0 ? {
734
733
  duration: 0.5,
735
734
  once: !0,
736
735
  amount: 0.5
@@ -738,53 +737,53 @@ function Ue(i) {
738
737
  duration: 0,
739
738
  once: !0,
740
739
  amount: 0
741
- }, noOfTicks: T, dimmedOpacity: z, precision: R, customLayers: ft, locale: pt }) : null, t[27] = Nt, t[28] = I, t[29] = U, t[30] = d, t[31] = mt, t[32] = y, t[33] = ft, t[34] = o, t[35] = ut, t[36] = z, t[37] = W, t[38] = Q, t[39] = v, t[40] = lt, t[41] = pt, t[42] = O, t[43] = K, t[44] = T, t[45] = f, t[46] = st, t[47] = R, t[48] = E, t[49] = F, t[50] = G, t[51] = A, t[52] = _, t[53] = At, t[54] = H, t[55] = s, t[56] = L, t[57] = ot, t[58] = et, t[59] = x, t[60] = at, t[61] = N, t[62] = ct, t[63] = Ht) : Ht = t[63];
742
- let Pt;
743
- t[64] !== Lt || t[65] !== Ht ? (Pt = /* @__PURE__ */ a.jsxs(ci, { ref: e, children: [
744
- Lt,
745
- Ht
746
- ] }), t[64] = Lt, t[65] = Ht, t[66] = Pt) : Pt = t[66];
747
- let Wt;
748
- t[67] !== d?.footnote || t[68] !== d?.source || t[69] !== bt || t[70] !== n || t[71] !== s?.footnote || t[72] !== s?.source || t[73] !== C ? (Wt = n || bt ? /* @__PURE__ */ a.jsx(mi, { styles: {
740
+ }, noOfTicks: g, dimmedOpacity: z, customLayers: R, locale: x?.locale || "en", padZeros: x?.padZeros || !1, suffix: x?.suffix || "", prefix: x?.prefix || "", precision: x?.precision ?? 2 }) : null, t[27] = F, t[28] = I, t[29] = q, t[30] = f, t[31] = ht, t[32] = v, t[33] = R, t[34] = o, t[35] = Nt, t[36] = z, t[37] = j, t[38] = V, t[39] = O, t[40] = at, t[41] = b, t[42] = J, t[43] = g, t[44] = x?.locale, t[45] = x?.padZeros, t[46] = x?.precision, t[47] = x?.prefix, t[48] = x?.suffix, t[49] = p, t[50] = ct, t[51] = ut, t[52] = G, t[53] = T, t[54] = pt, t[55] = Z, t[56] = P, t[57] = s, t[58] = A, t[59] = $, t[60] = y, t[61] = st, t[62] = E, t[63] = wt, t[64] = c) : c = t[64];
741
+ let Lt;
742
+ t[65] !== e || t[66] !== c ? (Lt = /* @__PURE__ */ a.jsxs(ei, { ref: mt, children: [
743
+ e,
744
+ c
745
+ ] }), t[65] = e, t[66] = c, t[67] = Lt) : Lt = t[67];
746
+ let Ht;
747
+ t[68] !== f?.footnote || t[69] !== f?.source || t[70] !== Ct || t[71] !== n || t[72] !== s?.footnote || t[73] !== s?.source || t[74] !== C ? (Ht = n || Ct ? /* @__PURE__ */ a.jsx(li, { styles: {
749
748
  footnote: s?.footnote,
750
749
  source: s?.source
751
750
  }, classNames: {
752
- footnote: d?.footnote,
753
- source: d?.source
754
- }, sources: n, footNote: bt, width: C }) : null, t[67] = d?.footnote, t[68] = d?.source, t[69] = bt, t[70] = n, t[71] = s?.footnote, t[72] = s?.source, t[73] = C, t[74] = Wt) : Wt = t[74];
755
- let Bt;
756
- return t[75] !== $t || t[76] !== B || t[77] !== vt || t[78] !== u || t[79] !== P || t[80] !== Y || t[81] !== rt || t[82] !== J || t[83] !== Ut || t[84] !== Jt || t[85] !== Tt || t[86] !== Et || t[87] !== Pt || t[88] !== Wt || t[89] !== x || t[90] !== C ? (Bt = /* @__PURE__ */ a.jsxs(ui, { className: Ut, style: Jt, id: vt, ref: c, "aria-label": $t, backgroundColor: B, theme: x, language: P, minHeight: Y, width: C, height: u, relativeHeight: J, padding: rt, children: [
757
- Tt,
758
- Et,
759
- Pt,
760
- Wt
761
- ] }), t[75] = $t, t[76] = B, t[77] = vt, t[78] = u, t[79] = P, t[80] = Y, t[81] = rt, t[82] = J, t[83] = Ut, t[84] = Jt, t[85] = Tt, t[86] = Et, t[87] = Pt, t[88] = Wt, t[89] = x, t[90] = C, t[91] = Bt) : Bt = t[91], Bt;
751
+ footnote: f?.footnote,
752
+ source: f?.source
753
+ }, sources: n, footNote: Ct, width: C }) : null, t[68] = f?.footnote, t[69] = f?.source, t[70] = Ct, t[71] = n, t[72] = s?.footnote, t[73] = s?.source, t[74] = C, t[75] = Ht) : Ht = t[75];
754
+ let Yt;
755
+ return t[76] !== bt || t[77] !== Mt || t[78] !== Ot || t[79] !== u || t[80] !== W || t[81] !== Y || t[82] !== lt || t[83] !== U || t[84] !== dt || t[85] !== Tt || t[86] !== N || t[87] !== Vt || t[88] !== Lt || t[89] !== Ht || t[90] !== y || t[91] !== C ? (Yt = /* @__PURE__ */ a.jsxs(oi, { className: dt, style: Tt, id: Ot, ref: Et, "aria-label": bt, backgroundColor: Mt, theme: y, language: W, minHeight: Y, width: C, height: u, relativeHeight: U, padding: lt, children: [
756
+ N,
757
+ Vt,
758
+ Lt,
759
+ Ht
760
+ ] }), t[76] = bt, t[77] = Mt, t[78] = Ot, t[79] = u, t[80] = W, t[81] = Y, t[82] = lt, t[83] = U, t[84] = dt, t[85] = Tt, t[86] = N, t[87] = Vt, t[88] = Lt, t[89] = Ht, t[90] = y, t[91] = C, t[92] = Yt) : Yt = t[92], Yt;
762
761
  }
763
- function be(i) {
762
+ function de(i) {
764
763
  return i.color;
765
764
  }
766
- function we(i) {
765
+ function he(i) {
767
766
  return i.color;
768
767
  }
769
- function Me(i) {
768
+ function ge(i) {
770
769
  return i.color;
771
770
  }
772
- function Ve(i) {
771
+ function xe(i) {
773
772
  return i !== void 0;
774
773
  }
775
- function je(i) {
774
+ function ye(i) {
776
775
  return i !== void 0;
777
776
  }
778
- function Ce(i) {
777
+ function ve(i) {
779
778
  return i.data;
780
779
  }
781
- function De(i) {
780
+ function Oe(i) {
782
781
  return i !== void 0;
783
782
  }
784
- function Ie(i) {
783
+ function be(i) {
785
784
  return i.data;
786
785
  }
787
786
  export {
788
- Ue as StripChart
787
+ Ye as StripChart
789
788
  };
790
789
  //# sourceMappingURL=StripChart.js.map