@undp/data-viz 1.5.2 → 1.5.4

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 (244) hide show
  1. package/dist/AreaChart.cjs +1 -1
  2. package/dist/AreaChart.cjs.map +1 -1
  3. package/dist/AreaChart.js +3 -2
  4. package/dist/AreaChart.js.map +1 -1
  5. package/dist/BarGraph.cjs +1 -1
  6. package/dist/BarGraph.cjs.map +1 -1
  7. package/dist/BarGraph.js +1196 -1224
  8. package/dist/BarGraph.js.map +1 -1
  9. package/dist/BeeSwarmChart.cjs +1 -1
  10. package/dist/BeeSwarmChart.cjs.map +1 -1
  11. package/dist/BeeSwarmChart.js +130 -142
  12. package/dist/BeeSwarmChart.js.map +1 -1
  13. package/dist/BiVariateChoroplethMap.cjs +1 -1
  14. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  15. package/dist/BiVariateChoroplethMap.js +41 -41
  16. package/dist/BiVariateChoroplethMap.js.map +1 -1
  17. package/dist/BulletChart.cjs +1 -1
  18. package/dist/BulletChart.cjs.map +1 -1
  19. package/dist/BulletChart.js +484 -488
  20. package/dist/BulletChart.js.map +1 -1
  21. package/dist/ButterflyChart.cjs +1 -1
  22. package/dist/ButterflyChart.cjs.map +1 -1
  23. package/dist/ButterflyChart.js +99 -99
  24. package/dist/ButterflyChart.js.map +1 -1
  25. package/dist/ChoroplethMap.cjs +1 -1
  26. package/dist/ChoroplethMap.cjs.map +1 -1
  27. package/dist/ChoroplethMap.js +125 -125
  28. package/dist/ChoroplethMap.js.map +1 -1
  29. package/dist/CirclePackingGraph.cjs +1 -1
  30. package/dist/CirclePackingGraph.js +2 -2
  31. package/dist/DataCards.cjs +2 -2
  32. package/dist/DataCards.cjs.map +1 -1
  33. package/dist/DataCards.js +6 -6
  34. package/dist/DataCards.js.map +1 -1
  35. package/dist/DataTable.cjs +1 -1
  36. package/dist/DataTable.cjs.map +1 -1
  37. package/dist/DataTable.js +66 -68
  38. package/dist/DataTable.js.map +1 -1
  39. package/dist/DifferenceLineChart.cjs +1 -1
  40. package/dist/DifferenceLineChart.cjs.map +1 -1
  41. package/dist/DifferenceLineChart.js +3 -2
  42. package/dist/DifferenceLineChart.js.map +1 -1
  43. package/dist/DonutChart.cjs +1 -1
  44. package/dist/DonutChart.cjs.map +1 -1
  45. package/dist/DonutChart.js +205 -205
  46. package/dist/DonutChart.js.map +1 -1
  47. package/dist/DotDensityMap.cjs +1 -1
  48. package/dist/DotDensityMap.cjs.map +1 -1
  49. package/dist/DotDensityMap.js +78 -81
  50. package/dist/DotDensityMap.js.map +1 -1
  51. package/dist/DualAxisLineChart.cjs +1 -1
  52. package/dist/DualAxisLineChart.cjs.map +1 -1
  53. package/dist/DualAxisLineChart.js +3 -2
  54. package/dist/DualAxisLineChart.js.map +1 -1
  55. package/dist/DumbbellChart.cjs +1 -1
  56. package/dist/DumbbellChart.cjs.map +1 -1
  57. package/dist/DumbbellChart.js +66 -67
  58. package/dist/DumbbellChart.js.map +1 -1
  59. package/dist/GeoHubMap.cjs +1 -1
  60. package/dist/GeoHubMap.js +1 -1
  61. package/dist/GeoHubMapWithLayerSelection.cjs +1 -1
  62. package/dist/GeoHubMapWithLayerSelection.js +1 -1
  63. package/dist/{GraphEl-4RUlclvW.cjs → GraphEl-BcYgMnN2.cjs} +2 -2
  64. package/dist/{GraphEl-4RUlclvW.cjs.map → GraphEl-BcYgMnN2.cjs.map} +1 -1
  65. package/dist/{GraphEl-ClIxlWa3.js → GraphEl-CMWeARJ3.js} +2 -2
  66. package/dist/{GraphEl-ClIxlWa3.js.map → GraphEl-CMWeARJ3.js.map} +1 -1
  67. package/dist/GriddedGraphs.cjs +1 -1
  68. package/dist/GriddedGraphs.js +4 -4
  69. package/dist/GriddedGraphsFromConfig.cjs +1 -1
  70. package/dist/GriddedGraphsFromConfig.js +1 -1
  71. package/dist/HeatMap.cjs +1 -1
  72. package/dist/HeatMap.cjs.map +1 -1
  73. package/dist/HeatMap.js +83 -83
  74. package/dist/HeatMap.js.map +1 -1
  75. package/dist/Histogram.cjs +1 -1
  76. package/dist/Histogram.js +1 -1
  77. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  78. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  79. package/dist/LineChartWithConfidenceInterval.js +7 -6
  80. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  81. package/dist/MultiGraphDashboard.cjs +1 -1
  82. package/dist/MultiGraphDashboard.js +2 -2
  83. package/dist/MultiGraphDashboardFromConfig.cjs +1 -1
  84. package/dist/MultiGraphDashboardFromConfig.js +1 -1
  85. package/dist/MultiGraphDashboardWideToLongFormat.cjs +1 -1
  86. package/dist/MultiGraphDashboardWideToLongFormat.js +1 -1
  87. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.cjs +1 -1
  88. package/dist/MultiGraphDashboardWideToLongFormatFromConfig.js +1 -1
  89. package/dist/MultiLineAltChart.cjs +1 -1
  90. package/dist/MultiLineAltChart.cjs.map +1 -1
  91. package/dist/MultiLineAltChart.js +82 -91
  92. package/dist/MultiLineAltChart.js.map +1 -1
  93. package/dist/MultiLineChart.cjs +1 -1
  94. package/dist/MultiLineChart.cjs.map +1 -1
  95. package/dist/MultiLineChart.js +3 -2
  96. package/dist/MultiLineChart.js.map +1 -1
  97. package/dist/ParetoChart.cjs +1 -1
  98. package/dist/ParetoChart.js +1 -1
  99. package/dist/PerformanceIntensiveMultiGraphDashboard.cjs +1 -1
  100. package/dist/PerformanceIntensiveMultiGraphDashboard.js +2 -2
  101. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.cjs +1 -1
  102. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.js +1 -1
  103. package/dist/RadarChart.cjs +1 -1
  104. package/dist/RadarChart.cjs.map +1 -1
  105. package/dist/RadarChart.js +124 -130
  106. package/dist/RadarChart.js.map +1 -1
  107. package/dist/SankeyChart.cjs +1 -1
  108. package/dist/SankeyChart.cjs.map +1 -1
  109. package/dist/SankeyChart.js +200 -200
  110. package/dist/SankeyChart.js.map +1 -1
  111. package/dist/ScatterPlot.cjs +1 -1
  112. package/dist/ScatterPlot.cjs.map +1 -1
  113. package/dist/ScatterPlot.js +149 -155
  114. package/dist/ScatterPlot.js.map +1 -1
  115. package/dist/SimpleLineChart.cjs +1 -1
  116. package/dist/SimpleLineChart.cjs.map +1 -1
  117. package/dist/SimpleLineChart.js +44 -43
  118. package/dist/SimpleLineChart.js.map +1 -1
  119. package/dist/SingleGraphDashboard.cjs +1 -1
  120. package/dist/SingleGraphDashboard.js +4 -4
  121. package/dist/SingleGraphDashboardFromConfig.cjs +1 -1
  122. package/dist/SingleGraphDashboardFromConfig.js +1 -1
  123. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.cjs +1 -1
  124. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.js +1 -1
  125. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  126. package/dist/SingleGraphDashboardThreeDGraphs.js +3 -3
  127. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.cjs +1 -1
  128. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.js +1 -1
  129. package/dist/SlopeChart.cjs +1 -1
  130. package/dist/SlopeChart.cjs.map +1 -1
  131. package/dist/SlopeChart.js +107 -113
  132. package/dist/SlopeChart.js.map +1 -1
  133. package/dist/SparkLine.cjs +1 -1
  134. package/dist/SparkLine.cjs.map +1 -1
  135. package/dist/SparkLine.js +3 -2
  136. package/dist/SparkLine.js.map +1 -1
  137. package/dist/StripChart.cjs +1 -1
  138. package/dist/StripChart.cjs.map +1 -1
  139. package/dist/StripChart.js +159 -159
  140. package/dist/StripChart.js.map +1 -1
  141. package/dist/ThreeDGlobe.cjs +1 -1
  142. package/dist/ThreeDGlobe.cjs.map +1 -1
  143. package/dist/ThreeDGlobe.js +3 -3
  144. package/dist/ThreeDGlobe.js.map +1 -1
  145. package/dist/TreeMapGraph.cjs +1 -1
  146. package/dist/TreeMapGraph.cjs.map +1 -1
  147. package/dist/TreeMapGraph.js +194 -200
  148. package/dist/TreeMapGraph.js.map +1 -1
  149. package/dist/XAxesLabels-Drf7M3YK.cjs +2 -0
  150. package/dist/XAxesLabels-Drf7M3YK.cjs.map +1 -0
  151. package/dist/{XAxesLabels-CaV2q-6H.js → XAxesLabels-loO78vUO.js} +19 -19
  152. package/dist/XAxesLabels-loO78vUO.js.map +1 -0
  153. package/dist/YAxesLabels-CctDydGR.cjs +2 -0
  154. package/dist/YAxesLabels-CctDydGR.cjs.map +1 -0
  155. package/dist/{YAxesLabels-CPGZjmZJ.js → YAxesLabels-DSm6I5zG.js} +16 -17
  156. package/dist/YAxesLabels-DSm6I5zG.js.map +1 -0
  157. package/dist/ensureCompleteData-DkQYPeDa.cjs +2 -0
  158. package/dist/ensureCompleteData-DkQYPeDa.cjs.map +1 -0
  159. package/dist/{ensureCompleteData-BALdOrsS.js → ensureCompleteData-DlmibgaI.js} +28 -8
  160. package/dist/ensureCompleteData-DlmibgaI.js.map +1 -0
  161. package/dist/fetchAndParseData-Ba-_CgxS.cjs +16 -0
  162. package/dist/fetchAndParseData-Ba-_CgxS.cjs.map +1 -0
  163. package/dist/fetchAndParseData-sapWbnYk.js +583 -0
  164. package/dist/fetchAndParseData-sapWbnYk.js.map +1 -0
  165. package/dist/fetchAndParseData.cjs +1 -1
  166. package/dist/fetchAndParseData.js +1 -1
  167. package/dist/getJenks-BbngDoBQ.js +19 -0
  168. package/dist/getJenks-BbngDoBQ.js.map +1 -0
  169. package/dist/getJenks-GYmdwBqm.cjs +2 -0
  170. package/dist/getJenks-GYmdwBqm.cjs.map +1 -0
  171. package/dist/getSliderMarks-9cNoRkDx.js +1023 -0
  172. package/dist/getSliderMarks-9cNoRkDx.js.map +1 -0
  173. package/dist/getSliderMarks-CRIbTGYV.cjs +6 -0
  174. package/dist/getSliderMarks-CRIbTGYV.cjs.map +1 -0
  175. package/dist/getUniqValue-DiCh_MOD.js +13 -0
  176. package/dist/getUniqValue-DiCh_MOD.js.map +1 -0
  177. package/dist/getUniqValue-RViz8tTw.cjs +2 -0
  178. package/dist/getUniqValue-RViz8tTw.cjs.map +1 -0
  179. package/dist/{index-BMgDMxKJ.js → index-37q0ULNQ.js} +44 -50
  180. package/dist/index-37q0ULNQ.js.map +1 -0
  181. package/dist/index-CVlCtJbC.cjs +2 -0
  182. package/dist/index-CVlCtJbC.cjs.map +1 -0
  183. package/dist/index.cjs +1 -1
  184. package/dist/index.d.ts +1 -1
  185. package/dist/index.js +6 -6
  186. package/dist/sort-DfK1b0F5.js +34 -0
  187. package/dist/sort-DfK1b0F5.js.map +1 -0
  188. package/dist/sort-O96oMZLb.cjs +2 -0
  189. package/dist/sort-O96oMZLb.cjs.map +1 -0
  190. package/dist/transformData.cjs +1 -1
  191. package/dist/transformData.js +3 -3
  192. package/dist/transformDataForAggregation-KXGm6flX.cjs +2 -0
  193. package/dist/{transformDataForAggregation-BVxVu4yY.cjs.map → transformDataForAggregation-KXGm6flX.cjs.map} +1 -1
  194. package/dist/{transformDataForAggregation-1BYVFqvF.js → transformDataForAggregation-sBpdlX8n.js} +40 -44
  195. package/dist/{transformDataForAggregation-1BYVFqvF.js.map → transformDataForAggregation-sBpdlX8n.js.map} +1 -1
  196. package/dist/{transformDataForGraphFromFile-BC9Ha8hF.js → transformDataForGraphFromFile-ComYvzuz.js} +3 -3
  197. package/dist/{transformDataForGraphFromFile-BC9Ha8hF.js.map → transformDataForGraphFromFile-ComYvzuz.js.map} +1 -1
  198. package/dist/{transformDataForGraphFromFile-b41aNQYY.cjs → transformDataForGraphFromFile-DVZodTHd.cjs} +2 -2
  199. package/dist/{transformDataForGraphFromFile-b41aNQYY.cjs.map → transformDataForGraphFromFile-DVZodTHd.cjs.map} +1 -1
  200. package/dist/uniqBy-BHy4I8PK.js +8 -0
  201. package/dist/uniqBy-BHy4I8PK.js.map +1 -0
  202. package/dist/uniqBy-O05lp2S5.cjs +2 -0
  203. package/dist/uniqBy-O05lp2S5.cjs.map +1 -0
  204. package/dist/utils.cjs +1 -1
  205. package/dist/utils.d.ts +1 -1
  206. package/dist/utils.js +2 -2
  207. package/package.json +1 -7
  208. package/dist/XAxesLabels-CaV2q-6H.js.map +0 -1
  209. package/dist/XAxesLabels-OjBNl_lS.cjs +0 -2
  210. package/dist/XAxesLabels-OjBNl_lS.cjs.map +0 -1
  211. package/dist/YAxesLabels-CPGZjmZJ.js.map +0 -1
  212. package/dist/YAxesLabels-D8IydyZj.cjs +0 -2
  213. package/dist/YAxesLabels-D8IydyZj.cjs.map +0 -1
  214. package/dist/ensureCompleteData-BALdOrsS.js.map +0 -1
  215. package/dist/ensureCompleteData-BU5Zlccy.cjs +0 -2
  216. package/dist/ensureCompleteData-BU5Zlccy.cjs.map +0 -1
  217. package/dist/fetchAndParseData-DBOl1Icl.js +0 -1196
  218. package/dist/fetchAndParseData-DBOl1Icl.js.map +0 -1
  219. package/dist/fetchAndParseData-Dcy7AS_0.cjs +0 -16
  220. package/dist/fetchAndParseData-Dcy7AS_0.cjs.map +0 -1
  221. package/dist/getJenks-DW96UYNE.js +0 -23
  222. package/dist/getJenks-DW96UYNE.js.map +0 -1
  223. package/dist/getJenks-vofIZmeb.cjs +0 -2
  224. package/dist/getJenks-vofIZmeb.cjs.map +0 -1
  225. package/dist/getSliderMarks-C0jptXeP.js +0 -1054
  226. package/dist/getSliderMarks-C0jptXeP.js.map +0 -1
  227. package/dist/getSliderMarks-CtsEXiLV.cjs +0 -6
  228. package/dist/getSliderMarks-CtsEXiLV.cjs.map +0 -1
  229. package/dist/getUniqValue-CfuE_l9c.cjs +0 -2
  230. package/dist/getUniqValue-CfuE_l9c.cjs.map +0 -1
  231. package/dist/getUniqValue-CttuU_wn.js +0 -20
  232. package/dist/getUniqValue-CttuU_wn.js.map +0 -1
  233. package/dist/index-AqnpA7_O.js +0 -631
  234. package/dist/index-AqnpA7_O.js.map +0 -1
  235. package/dist/index-BJOeaYTk.cjs +0 -2
  236. package/dist/index-BJOeaYTk.cjs.map +0 -1
  237. package/dist/index-BMgDMxKJ.js.map +0 -1
  238. package/dist/index-DYH8g9WA.cjs +0 -2
  239. package/dist/index-DYH8g9WA.cjs.map +0 -1
  240. package/dist/index-Da2GUKrr.cjs +0 -2
  241. package/dist/index-Da2GUKrr.cjs.map +0 -1
  242. package/dist/index-fwdktvAS.js +0 -707
  243. package/dist/index-fwdktvAS.js.map +0 -1
  244. package/dist/transformDataForAggregation-BVxVu4yY.cjs +0 -2
@@ -1,22 +1,22 @@
1
1
  import { j as o, m as j } from "./index-CHPV5EwG-BPSP-7Jg.js";
2
- import { u as ri } from "./index-AqnpA7_O.js";
3
2
  import { useRef as ii, useState as I, useEffect as yi } from "react";
4
- import { i as mi } from "./index-Bwrro8-q.js";
5
- import { X as xi } from "./Modal-DVVwpKhP.js";
6
- import { T as fi } from "./Tooltip-CVCGWyzw.js";
3
+ import { i as xi } from "./index-Bwrro8-q.js";
4
+ import { X as mi } from "./Modal-DVVwpKhP.js";
5
+ import { T as hi } from "./Tooltip-CVCGWyzw.js";
7
6
  import { c as J } from "./checkIfNullOrUndefined-DmfiKkNw.js";
8
7
  import { Colors as n } from "./Colors.js";
9
- import { s as hi } from "./string2HTML-oFCROsus.js";
10
- import { A as ai } from "./Axis-Ddg-seDi.js";
11
- import { A as ni } from "./AxisTitle-BmHLMRJZ.js";
8
+ import { s as fi } from "./string2HTML-oFCROsus.js";
9
+ import { A as ri } from "./Axis-Ddg-seDi.js";
10
+ import { A as ai } from "./AxisTitle-BmHLMRJZ.js";
12
11
  import { a as gi } from "./linear-DUdu7l2G.js";
13
12
  import { u as ui } from "./use-in-view-yS6jzJAp.js";
14
13
  import { m as O } from "./proxy-CkpFesk1.js";
15
- import { A as pi } from "./index-CNvov0eg.js";
16
- import { GraphFooter as di } from "./GraphFooter.js";
14
+ import { A as di } from "./index-CNvov0eg.js";
15
+ import { GraphFooter as pi } from "./GraphFooter.js";
17
16
  import { GraphHeader as wi } from "./GraphHeader.js";
18
17
  import { ColorLegendWithMouseOver as vi } from "./ColorLegendWithMouseOver.js";
19
18
  import { E as bi } from "./EmptyState-DdTp-Mdn.js";
19
+ import { u as ni } from "./uniqBy-BHy4I8PK.js";
20
20
  function Oi(K) {
21
21
  const {
22
22
  data: l,
@@ -24,16 +24,16 @@ function Oi(K) {
24
24
  height: k,
25
25
  showLabels: H,
26
26
  colors: e,
27
- colorDomain: a,
27
+ colorDomain: r,
28
28
  radius: c,
29
- leftMargin: x,
29
+ leftMargin: m,
30
30
  rightMargin: X,
31
31
  topMargin: G,
32
32
  bottomMargin: Q,
33
33
  tooltip: R,
34
34
  onSeriesMouseOver: F,
35
35
  axisTitles: L,
36
- highlightedDataPoints: m,
36
+ highlightedDataPoints: x,
37
37
  selectedColor: D,
38
38
  minValue: q,
39
39
  maxValue: z,
@@ -41,22 +41,22 @@ function Oi(K) {
41
41
  resetSelectionOnDoubleClick: Z,
42
42
  detailsOnClick: g,
43
43
  styles: u,
44
- classNames: f,
44
+ classNames: h,
45
45
  animate: s,
46
- dimmedOpacity: p,
46
+ dimmedOpacity: d,
47
47
  customLayers: B
48
- } = K, _ = ii(null), d = ui(_, {
48
+ } = K, _ = ii(null), p = ui(_, {
49
49
  once: s.once,
50
50
  amount: s.amount
51
51
  }), [w, S] = I(void 0), [M, N] = I(void 0), [U, C] = I(void 0), [T, W] = I(void 0), A = {
52
52
  top: G,
53
53
  bottom: Q,
54
- left: x,
54
+ left: m,
55
55
  right: X
56
- }, v = $ - A.left - A.right, h = k - A.top - A.bottom, b = Math.min(Math.min(...l.map((i) => i.y1)), Math.min(...l.map((i) => i.y2))), P = Math.max(Math.max(...l.map((i) => i.y1)), Math.max(...l.map((i) => i.y2))), y = gi().domain([
56
+ }, v = $ - A.left - A.right, f = k - A.top - A.bottom, b = Math.min(Math.min(...l.map((i) => i.y1)), Math.min(...l.map((i) => i.y2))), P = Math.max(Math.max(...l.map((i) => i.y1)), Math.max(...l.map((i) => i.y2))), y = gi().domain([
57
57
  J(q) ? b > 0 ? 0 : b : q,
58
58
  J(z) ? P > 0 ? P : 0 : z
59
- ]).range([h, 0]).nice();
59
+ ]).range([f, 0]).nice();
60
60
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
61
61
  /* @__PURE__ */ o.jsx(
62
62
  O.svg,
@@ -70,29 +70,29 @@ function Oi(K) {
70
70
  children: /* @__PURE__ */ o.jsxs("g", { transform: `translate(${A.left},${A.top})`, children: [
71
71
  /* @__PURE__ */ o.jsxs("g", { children: [
72
72
  /* @__PURE__ */ o.jsx(
73
- ai,
73
+ ri,
74
74
  {
75
75
  y1: 0,
76
- y2: h,
76
+ y2: f,
77
77
  x1: c,
78
78
  x2: c,
79
79
  classNames: {
80
80
  axis: j(
81
81
  "stroke-1 stroke-primary-gray-500 dark:stroke-primary-gray-550",
82
- f?.yAxis?.axis
82
+ h?.yAxis?.axis
83
83
  )
84
84
  }
85
85
  }
86
86
  ),
87
87
  /* @__PURE__ */ o.jsx(
88
- ni,
88
+ ai,
89
89
  {
90
90
  x: c,
91
- y: h + 15,
91
+ y: f + 15,
92
92
  style: u?.yAxis?.title,
93
93
  className: j(
94
94
  "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",
95
- f?.yAxis?.title
95
+ h?.yAxis?.title
96
96
  ),
97
97
  text: L[0]
98
98
  }
@@ -100,49 +100,49 @@ function Oi(K) {
100
100
  ] }),
101
101
  /* @__PURE__ */ o.jsxs("g", { children: [
102
102
  /* @__PURE__ */ o.jsx(
103
- ai,
103
+ ri,
104
104
  {
105
105
  y1: 0,
106
- y2: h,
106
+ y2: f,
107
107
  x1: v - c,
108
108
  x2: v - c,
109
109
  classNames: {
110
110
  axis: j(
111
111
  "stroke-1 stroke-primary-gray-500 dark:stroke-primary-gray-550",
112
- f?.yAxis?.axis
112
+ h?.yAxis?.axis
113
113
  )
114
114
  }
115
115
  }
116
116
  ),
117
117
  /* @__PURE__ */ o.jsx(
118
- ni,
118
+ ai,
119
119
  {
120
120
  x: v - c,
121
- y: h + 15,
121
+ y: f + 15,
122
122
  style: u?.yAxis?.title,
123
123
  className: j(
124
124
  "fill-primary-gray-700 dark:fill-primary-gray-300 text-xs",
125
- f?.yAxis?.title
125
+ h?.yAxis?.title
126
126
  ),
127
127
  text: L[1]
128
128
  }
129
129
  )
130
130
  ] }),
131
131
  B.filter((i) => i.position === "before").map((i) => i.layer),
132
- /* @__PURE__ */ o.jsx(pi, { children: l.map((i, V) => /* @__PURE__ */ o.jsxs(
132
+ /* @__PURE__ */ o.jsx(di, { children: l.map((i, V) => /* @__PURE__ */ o.jsxs(
133
133
  O.g,
134
134
  {
135
135
  variants: {
136
136
  initial: {
137
- opacity: D ? i.color && e[a.indexOf(`${i.color}`)] === D ? 1 : p : w ? w.label === i.label ? 1 : p : m.length !== 0 ? m.indexOf(i.label) !== -1 ? 1 : p : 1
137
+ opacity: D ? i.color && e[r.indexOf(`${i.color}`)] === D ? 1 : d : w ? w.label === i.label ? 1 : d : x.length !== 0 ? x.indexOf(i.label) !== -1 ? 1 : d : 1
138
138
  },
139
139
  whileInView: {
140
- opacity: D ? i.color && e[a.indexOf(`${i.color}`)] === D ? 1 : p : w ? w.label === i.label ? 1 : p : m.length !== 0 ? m.indexOf(i.label) !== -1 ? 1 : p : 1,
140
+ opacity: D ? i.color && e[r.indexOf(`${i.color}`)] === D ? 1 : d : w ? w.label === i.label ? 1 : d : x.length !== 0 ? x.indexOf(i.label) !== -1 ? 1 : d : 1,
141
141
  transition: { duration: s.duration }
142
142
  }
143
143
  },
144
144
  initial: "initial",
145
- animate: d ? "whileInView" : "initial",
145
+ animate: p ? "whileInView" : "initial",
146
146
  exit: { opacity: 0, transition: { duration: s.duration } },
147
147
  onMouseEnter: (t) => {
148
148
  S(i), W(t.clientY), C(t.clientX), F?.(i);
@@ -154,7 +154,7 @@ function Oi(K) {
154
154
  S(void 0), C(void 0), W(void 0), F?.(void 0);
155
155
  },
156
156
  onClick: () => {
157
- (E || g) && (mi(M, i) && Z ? (N(void 0), E?.(void 0)) : (N(i), E?.(i)));
157
+ (E || g) && (xi(M, i) && Z ? (N(void 0), E?.(void 0)) : (N(i), E?.(i)));
158
158
  },
159
159
  children: [
160
160
  /* @__PURE__ */ o.jsx(
@@ -164,20 +164,20 @@ function Oi(K) {
164
164
  variants: {
165
165
  initial: {
166
166
  cy: y(i.y1),
167
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
168
- stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
167
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
168
+ stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
169
169
  opacity: 0
170
170
  },
171
171
  whileInView: {
172
172
  cy: y(i.y1),
173
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
174
- stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
173
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
174
+ stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
175
175
  opacity: 1,
176
176
  transition: { duration: s.duration }
177
177
  }
178
178
  },
179
179
  initial: "initial",
180
- animate: d ? "whileInView" : "initial",
180
+ animate: p ? "whileInView" : "initial",
181
181
  exit: { opacity: 0, transition: { duration: s.duration } },
182
182
  r: c,
183
183
  style: {
@@ -191,54 +191,54 @@ function Oi(K) {
191
191
  variants: {
192
192
  initial: {
193
193
  y: y(i.y1),
194
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
194
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
195
195
  opacity: 0
196
196
  },
197
197
  whileInView: {
198
198
  y: y(i.y1),
199
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
199
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
200
200
  opacity: 1,
201
201
  transition: { duration: s.duration }
202
202
  }
203
203
  },
204
204
  initial: "initial",
205
- animate: d ? "whileInView" : "initial",
205
+ animate: p ? "whileInView" : "initial",
206
206
  exit: { opacity: 0, transition: { duration: s.duration } },
207
207
  style: {
208
208
  textAnchor: "end",
209
209
  ...u?.yAxis?.labels || {}
210
210
  },
211
- className: j("text-xs", f?.yAxis?.labels),
211
+ className: j("text-xs", h?.yAxis?.labels),
212
212
  x: 5,
213
213
  dy: "0.33em",
214
214
  textAnchor: "end",
215
215
  dx: 0 - c - 3,
216
216
  children: i.label
217
217
  }
218
- ) : m.length !== 0 && m.indexOf(i.label) !== -1 ? /* @__PURE__ */ o.jsx(
218
+ ) : x.length !== 0 && x.indexOf(i.label) !== -1 ? /* @__PURE__ */ o.jsx(
219
219
  O.text,
220
220
  {
221
221
  variants: {
222
222
  initial: {
223
223
  y: y(i.y1),
224
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
224
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
225
225
  opacity: 0
226
226
  },
227
227
  whileInView: {
228
228
  y: y(i.y1),
229
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
229
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
230
230
  opacity: 1,
231
231
  transition: { duration: s.duration }
232
232
  }
233
233
  },
234
234
  initial: "initial",
235
- animate: d ? "whileInView" : "initial",
235
+ animate: p ? "whileInView" : "initial",
236
236
  exit: { opacity: 0, transition: { duration: s.duration } },
237
237
  style: {
238
238
  textAnchor: "end",
239
239
  ...u?.yAxis?.labels || {}
240
240
  },
241
- className: j("text-xs", f?.yAxis?.labels),
241
+ className: j("text-xs", h?.yAxis?.labels),
242
242
  x: 5,
243
243
  dy: "0.33em",
244
244
  dx: -3,
@@ -252,20 +252,20 @@ function Oi(K) {
252
252
  variants: {
253
253
  initial: {
254
254
  cy: y(i.y2),
255
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
256
- stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
255
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
256
+ stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
257
257
  opacity: 0
258
258
  },
259
259
  whileInView: {
260
260
  cy: y(i.y2),
261
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
262
- stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
261
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
262
+ stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
263
263
  opacity: 1,
264
264
  transition: { duration: s.duration }
265
265
  }
266
266
  },
267
267
  initial: "initial",
268
- animate: d ? "whileInView" : "initial",
268
+ animate: p ? "whileInView" : "initial",
269
269
  exit: { opacity: 0, transition: { duration: s.duration } },
270
270
  r: c,
271
271
  style: {
@@ -279,53 +279,53 @@ function Oi(K) {
279
279
  variants: {
280
280
  initial: {
281
281
  y: y(i.y2),
282
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
282
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
283
283
  opacity: 0
284
284
  },
285
285
  whileInView: {
286
286
  y: y(i.y2),
287
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
287
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
288
288
  opacity: 1,
289
289
  transition: { duration: s.duration }
290
290
  }
291
291
  },
292
292
  initial: "initial",
293
- animate: d ? "whileInView" : "initial",
293
+ animate: p ? "whileInView" : "initial",
294
294
  exit: { opacity: 0, transition: { duration: s.duration } },
295
295
  style: {
296
296
  textAnchor: "start",
297
297
  ...u?.yAxis?.labels || {}
298
298
  },
299
- className: j("text-xs", f?.yAxis?.labels),
299
+ className: j("text-xs", h?.yAxis?.labels),
300
300
  x: v - 5,
301
301
  dy: "0.33em",
302
302
  dx: c + 3,
303
303
  children: i.label
304
304
  }
305
- ) : m.length !== 0 && m.indexOf(i.label) !== -1 ? /* @__PURE__ */ o.jsx(
305
+ ) : x.length !== 0 && x.indexOf(i.label) !== -1 ? /* @__PURE__ */ o.jsx(
306
306
  O.text,
307
307
  {
308
308
  variants: {
309
309
  initial: {
310
310
  y: y(i.y2),
311
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
311
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
312
312
  opacity: 0
313
313
  },
314
314
  whileInView: {
315
315
  y: y(i.y2),
316
- fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
316
+ fill: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
317
317
  opacity: 1,
318
318
  transition: { duration: s.duration }
319
319
  }
320
320
  },
321
321
  initial: "initial",
322
- animate: d ? "whileInView" : "initial",
322
+ animate: p ? "whileInView" : "initial",
323
323
  exit: { opacity: 0, transition: { duration: s.duration } },
324
324
  style: {
325
325
  textAnchor: "start",
326
326
  ...u?.yAxis?.labels || {}
327
327
  },
328
- className: j("text-xs", f?.yAxis?.labels),
328
+ className: j("text-xs", h?.yAxis?.labels),
329
329
  x: v - 5,
330
330
  dy: "0.33em",
331
331
  dx: 3,
@@ -341,19 +341,19 @@ function Oi(K) {
341
341
  initial: {
342
342
  y1: y(i.y1),
343
343
  y2: y(i.y1),
344
- stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray
344
+ stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray
345
345
  },
346
346
  whileInView: {
347
347
  y1: y(i.y1),
348
348
  y2: y(i.y2),
349
- stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[a.indexOf(`${i.color}`)] : n.gray,
349
+ stroke: l.filter((t) => t.color).length === 0 ? e[0] : i.color ? e[r.indexOf(`${i.color}`)] : n.gray,
350
350
  transition: { duration: s.duration }
351
351
  }
352
352
  },
353
353
  initial: "initial",
354
- animate: d ? "whileInView" : "initial",
354
+ animate: p ? "whileInView" : "initial",
355
355
  exit: { opacity: 0, transition: { duration: s.duration } },
356
- className: f?.dataConnectors,
356
+ className: h?.dataConnectors,
357
357
  style: {
358
358
  fill: "none",
359
359
  strokeWidth: 1,
@@ -370,18 +370,18 @@ function Oi(K) {
370
370
  }
371
371
  ),
372
372
  w && R && U && T ? /* @__PURE__ */ o.jsx(
373
- fi,
373
+ hi,
374
374
  {
375
375
  data: w,
376
376
  body: R,
377
377
  xPos: U,
378
378
  yPos: T,
379
379
  backgroundStyle: u?.tooltip,
380
- className: f?.tooltip
380
+ className: h?.tooltip
381
381
  }
382
382
  ) : null,
383
383
  g && M !== void 0 ? /* @__PURE__ */ o.jsx(
384
- xi,
384
+ mi,
385
385
  {
386
386
  open: M !== void 0,
387
387
  onClose: () => {
@@ -391,7 +391,7 @@ function Oi(K) {
391
391
  "div",
392
392
  {
393
393
  className: "graph-modal-content m-0",
394
- dangerouslySetInnerHTML: typeof g == "string" ? { __html: hi(g, M) } : void 0,
394
+ dangerouslySetInnerHTML: typeof g == "string" ? { __html: fi(g, M) } : void 0,
395
395
  children: typeof g == "function" ? g(M) : null
396
396
  }
397
397
  )
@@ -406,16 +406,16 @@ function Gi(K) {
406
406
  colors: k,
407
407
  sources: H,
408
408
  graphDescription: e,
409
- showLabels: a = !1,
409
+ showLabels: r = !1,
410
410
  height: c,
411
- width: x,
411
+ width: m,
412
412
  footNote: X,
413
413
  colorDomain: G,
414
414
  colorLegendTitle: Q,
415
415
  radius: R = 5,
416
416
  axisTitles: F = ["", ""],
417
417
  padding: L,
418
- backgroundColor: m = !1,
418
+ backgroundColor: x = !1,
419
419
  leftMargin: D = 50,
420
420
  rightMargin: q = 50,
421
421
  topMargin: z = 20,
@@ -423,12 +423,12 @@ function Gi(K) {
423
423
  tooltip: Z,
424
424
  relativeHeight: g,
425
425
  onSeriesMouseOver: u,
426
- showColorScale: f = !0,
426
+ showColorScale: h = !0,
427
427
  highlightedDataPoints: s = [],
428
- graphID: p,
428
+ graphID: d,
429
429
  minValue: B,
430
430
  maxValue: _,
431
- onSeriesMouseClick: d,
431
+ onSeriesMouseClick: p,
432
432
  graphDownload: w = !1,
433
433
  dataDownload: S = !1,
434
434
  fillContainer: M = !0,
@@ -439,49 +439,49 @@ function Gi(K) {
439
439
  ariaLabel: W,
440
440
  resetSelectionOnDoubleClick: A = !0,
441
441
  detailsOnClick: v,
442
- styles: h,
442
+ styles: f,
443
443
  classNames: b,
444
444
  animate: P = !1,
445
445
  dimmedOpacity: y = 0.3,
446
446
  customLayers: i = []
447
447
  } = K, [V, t] = I(0), [ti, ei] = I(0), [si, ci] = I(void 0), Y = ii(null), oi = ii(null);
448
448
  return yi(() => {
449
- const r = new ResizeObserver((li) => {
450
- t(x || li[0].target.clientWidth || 620), ei(c || li[0].target.clientHeight || 480);
449
+ const a = new ResizeObserver((li) => {
450
+ t(m || li[0].target.clientWidth || 620), ei(c || li[0].target.clientHeight || 480);
451
451
  });
452
- return Y.current && (ei(Y.current.clientHeight || 480), t(Y.current.clientWidth || 620), x || r.observe(Y.current)), () => r.disconnect();
453
- }, [x, c]), /* @__PURE__ */ o.jsx(
452
+ return Y.current && (ei(Y.current.clientHeight || 480), t(Y.current.clientWidth || 620), m || a.observe(Y.current)), () => a.disconnect();
453
+ }, [m, c]), /* @__PURE__ */ o.jsx(
454
454
  "div",
455
455
  {
456
- className: `${T || "light"} flex ${x ? "grow-0" : "grow"} ${M ? "w-full" : "w-fit"} `,
456
+ className: `${T || "light"} flex ${m ? "grow-0" : "grow"} ${M ? "w-full" : "w-fit"} `,
457
457
  dir: N === "he" || N === "ar" ? "rtl" : void 0,
458
458
  children: /* @__PURE__ */ o.jsx(
459
459
  "div",
460
460
  {
461
461
  className: j(
462
- `${m ? m === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${N || "en"}`,
462
+ `${x ? x === !0 ? "bg-primary-gray-200 dark:bg-primary-gray-650 " : "" : "bg-transparent "}ml-auto mr-auto flex flex-col grow h-inherit ${N || "en"}`,
463
463
  M ? "w-full" : "w-fit",
464
464
  b?.graphContainer
465
465
  ),
466
466
  style: {
467
- ...h?.graphContainer || {},
468
- ...m && m !== !0 ? { backgroundColor: m } : {}
467
+ ...f?.graphContainer || {},
468
+ ...x && x !== !0 ? { backgroundColor: x } : {}
469
469
  },
470
- id: p,
470
+ id: d,
471
471
  ref: oi,
472
472
  "aria-label": W || `${$ ? `The graph shows ${$}. ` : ""}This is a slope chart showing changes in data between two category or starting and ending time. Each line represents a different row in data, with lines sloping up or down to show increase or decrease over two categories or time.${e ? ` ${e}` : ""}`,
473
473
  children: /* @__PURE__ */ o.jsx(
474
474
  "div",
475
475
  {
476
476
  className: "flex grow",
477
- style: { padding: m ? L || "1rem" : L || 0 },
477
+ style: { padding: x ? L || "1rem" : L || 0 },
478
478
  children: /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
479
479
  $ || e || w || S ? /* @__PURE__ */ o.jsx(
480
480
  wi,
481
481
  {
482
482
  styles: {
483
- title: h?.title,
484
- description: h?.description
483
+ title: f?.title,
484
+ description: f?.description
485
485
  },
486
486
  classNames: {
487
487
  title: b?.title,
@@ -489,22 +489,19 @@ function Gi(K) {
489
489
  },
490
490
  graphTitle: $,
491
491
  graphDescription: e,
492
- width: x,
492
+ width: m,
493
493
  graphDownload: w ? oi.current : void 0,
494
- dataDownload: S ? l.map((r) => r.data).filter((r) => r !== void 0).length > 0 ? l.map((r) => r.data).filter((r) => r !== void 0) : l.filter((r) => r !== void 0) : null
494
+ dataDownload: S ? l.map((a) => a.data).filter((a) => a !== void 0).length > 0 ? l.map((a) => a.data).filter((a) => a !== void 0) : l.filter((a) => a !== void 0) : null
495
495
  }
496
496
  ) : null,
497
497
  /* @__PURE__ */ o.jsx("div", { className: "grow flex flex-col justify-center gap-3 w-full", children: l.length === 0 ? /* @__PURE__ */ o.jsx(bi, {}) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
498
- f && l.filter((r) => r.color).length !== 0 ? /* @__PURE__ */ o.jsx(
498
+ h && l.filter((a) => a.color).length !== 0 ? /* @__PURE__ */ o.jsx(
499
499
  vi,
500
500
  {
501
- width: x,
501
+ width: m,
502
502
  colorLegendTitle: Q,
503
503
  colors: k || n[T].categoricalColors.colors,
504
- colorDomain: G || ri(
505
- l.filter((r) => r.color),
506
- "color"
507
- ).map((r) => r.color),
504
+ colorDomain: G || ni(l, "color", !0),
508
505
  setSelectedColor: ci,
509
506
  showNAColor: U
510
507
  }
@@ -515,25 +512,22 @@ function Gi(K) {
515
512
  className: "flex flex-col grow justify-center w-full leading-0",
516
513
  ref: Y,
517
514
  "aria-label": "Graph area",
518
- children: (x || V) && (c || ti) ? /* @__PURE__ */ o.jsx(
515
+ children: (m || V) && (c || ti) ? /* @__PURE__ */ o.jsx(
519
516
  Oi,
520
517
  {
521
518
  data: l.filter(
522
- (r) => !J(r.y1) && !J(r.y2)
519
+ (a) => !J(a.y1) && !J(a.y2)
523
520
  ),
524
- width: x || V,
521
+ width: m || V,
525
522
  height: Math.max(
526
523
  C,
527
- c || (g ? C ? (x || V) * g > C ? (x || V) * g : C : (x || V) * g : ti)
524
+ c || (g ? C ? (m || V) * g > C ? (m || V) * g : C : (m || V) * g : ti)
528
525
  ),
529
- colorDomain: l.filter((r) => r.color).length === 0 ? [] : G || ri(
530
- l.filter((r) => r.color),
531
- "color"
532
- ).map((r) => r.color),
533
- colors: l.filter((r) => r.color).length === 0 ? k ? [k] : [n.primaryColors["blue-600"]] : k || n[T].categoricalColors.colors,
526
+ colorDomain: l.filter((a) => a.color).length === 0 ? [] : G || ni(l, "color", !0),
527
+ colors: l.filter((a) => a.color).length === 0 ? k ? [k] : [n.primaryColors["blue-600"]] : k || n[T].categoricalColors.colors,
534
528
  selectedColor: si,
535
529
  axisTitles: F,
536
- showLabels: a,
530
+ showLabels: r,
537
531
  radius: R,
538
532
  leftMargin: D,
539
533
  rightMargin: q,
@@ -544,10 +538,10 @@ function Gi(K) {
544
538
  highlightedDataPoints: s,
545
539
  minValue: B,
546
540
  maxValue: _,
547
- onSeriesMouseClick: d,
541
+ onSeriesMouseClick: p,
548
542
  resetSelectionOnDoubleClick: A,
549
543
  detailsOnClick: v,
550
- styles: h,
544
+ styles: f,
551
545
  classNames: b,
552
546
  animate: P === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : P || { duration: 0, once: !0, amount: 0 },
553
547
  dimmedOpacity: y,
@@ -558,16 +552,16 @@ function Gi(K) {
558
552
  )
559
553
  ] }) }),
560
554
  H || X ? /* @__PURE__ */ o.jsx(
561
- di,
555
+ pi,
562
556
  {
563
- styles: { footnote: h?.footnote, source: h?.source },
557
+ styles: { footnote: f?.footnote, source: f?.source },
564
558
  classNames: {
565
559
  footnote: b?.footnote,
566
560
  source: b?.source
567
561
  },
568
562
  sources: H,
569
563
  footNote: X,
570
- width: x
564
+ width: m
571
565
  }
572
566
  ) : null
573
567
  ] })