@undp/data-viz 1.5.7 → 1.5.8

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 (74) hide show
  1. package/dist/BarGraph.cjs +1 -1
  2. package/dist/BarGraph.cjs.map +1 -1
  3. package/dist/BarGraph.js +650 -648
  4. package/dist/BarGraph.js.map +1 -1
  5. package/dist/BulletChart.cjs +1 -1
  6. package/dist/BulletChart.cjs.map +1 -1
  7. package/dist/BulletChart.js +210 -208
  8. package/dist/BulletChart.js.map +1 -1
  9. package/dist/ButterflyChart.cjs +1 -1
  10. package/dist/ButterflyChart.cjs.map +1 -1
  11. package/dist/ButterflyChart.js +42 -40
  12. package/dist/ButterflyChart.js.map +1 -1
  13. package/dist/DifferenceLineChart.cjs +1 -1
  14. package/dist/DifferenceLineChart.cjs.map +1 -1
  15. package/dist/DifferenceLineChart.js +122 -120
  16. package/dist/DifferenceLineChart.js.map +1 -1
  17. package/dist/DualAxisLineChart.cjs +1 -1
  18. package/dist/DualAxisLineChart.cjs.map +1 -1
  19. package/dist/DualAxisLineChart.js +133 -113
  20. package/dist/DualAxisLineChart.js.map +1 -1
  21. package/dist/DumbbellChart.cjs +1 -1
  22. package/dist/DumbbellChart.cjs.map +1 -1
  23. package/dist/DumbbellChart.js +274 -274
  24. package/dist/DumbbellChart.js.map +1 -1
  25. package/dist/LineChartWithConfidenceInterval.cjs +1 -1
  26. package/dist/LineChartWithConfidenceInterval.cjs.map +1 -1
  27. package/dist/LineChartWithConfidenceInterval.js +194 -174
  28. package/dist/LineChartWithConfidenceInterval.js.map +1 -1
  29. package/dist/MultiLineAltChart.cjs +1 -1
  30. package/dist/MultiLineAltChart.cjs.map +1 -1
  31. package/dist/MultiLineAltChart.js +160 -161
  32. package/dist/MultiLineAltChart.js.map +1 -1
  33. package/dist/MultiLineChart.cjs +1 -1
  34. package/dist/MultiLineChart.cjs.map +1 -1
  35. package/dist/MultiLineChart.js +77 -66
  36. package/dist/MultiLineChart.js.map +1 -1
  37. package/dist/ParetoChart.cjs +1 -1
  38. package/dist/ParetoChart.cjs.map +1 -1
  39. package/dist/ParetoChart.js +166 -161
  40. package/dist/ParetoChart.js.map +1 -1
  41. package/dist/RadarChart.cjs +1 -1
  42. package/dist/RadarChart.cjs.map +1 -1
  43. package/dist/RadarChart.js +253 -241
  44. package/dist/RadarChart.js.map +1 -1
  45. package/dist/{RegressionLine-mH7UKOPi.js → RegressionLine-C2--oMQq.js} +10 -9
  46. package/dist/RegressionLine-C2--oMQq.js.map +1 -0
  47. package/dist/RegressionLine-Dj0GSiAp.cjs +2 -0
  48. package/dist/RegressionLine-Dj0GSiAp.cjs.map +1 -0
  49. package/dist/ScatterPlot.cjs +1 -1
  50. package/dist/ScatterPlot.cjs.map +1 -1
  51. package/dist/ScatterPlot.js +130 -129
  52. package/dist/ScatterPlot.js.map +1 -1
  53. package/dist/SimpleLineChart.cjs +1 -1
  54. package/dist/SimpleLineChart.cjs.map +1 -1
  55. package/dist/SimpleLineChart.js +43 -38
  56. package/dist/SimpleLineChart.js.map +1 -1
  57. package/dist/SlopeChart.cjs +1 -1
  58. package/dist/SlopeChart.cjs.map +1 -1
  59. package/dist/SlopeChart.js +113 -109
  60. package/dist/SlopeChart.js.map +1 -1
  61. package/dist/StripChart.cjs +1 -1
  62. package/dist/StripChart.cjs.map +1 -1
  63. package/dist/StripChart.js +282 -270
  64. package/dist/StripChart.js.map +1 -1
  65. package/dist/UnitChart.cjs +1 -1
  66. package/dist/UnitChart.cjs.map +1 -1
  67. package/dist/UnitChart.js +20 -21
  68. package/dist/UnitChart.js.map +1 -1
  69. package/dist/getCentroidCoordinates-Dfk6IqEG.js.map +1 -1
  70. package/dist/getCentroidCoordinates-DxTBqzp2.cjs.map +1 -1
  71. package/package.json +1 -1
  72. package/dist/RegressionLine-mH7UKOPi.js.map +0 -1
  73. package/dist/RegressionLine-xKdiJ8sw.cjs +0 -2
  74. package/dist/RegressionLine-xKdiJ8sw.cjs.map +0 -1
@@ -34,17 +34,17 @@ import { X as ct } from "./XAxesLabels-loO78vUO.js";
34
34
  function dt(ye) {
35
35
  const {
36
36
  data: s,
37
- dotColors: g,
38
- suffix: q,
39
- prefix: U,
37
+ dotColors: u,
38
+ suffix: U,
39
+ prefix: J,
40
40
  barPadding: w,
41
41
  showValues: ce,
42
- showTicks: Z,
43
- leftMargin: ee,
42
+ showTicks: ee,
43
+ leftMargin: te,
44
44
  truncateBy: de,
45
- width: te,
46
- height: ie,
47
- rightMargin: J,
45
+ width: ie,
46
+ height: ae,
47
+ rightMargin: K,
48
48
  topMargin: D,
49
49
  bottomMargin: n,
50
50
  radius: B,
@@ -52,50 +52,50 @@ function dt(ye) {
52
52
  tooltip: O,
53
53
  onSeriesMouseOver: W,
54
54
  maxValue: C,
55
- minValue: ae,
55
+ minValue: re,
56
56
  onSeriesMouseClick: X,
57
57
  selectedColor: I,
58
58
  arrowConnector: M,
59
59
  connectorStrokeWidth: ge,
60
- maxBarThickness: re,
61
- minBarThickness: le,
60
+ maxBarThickness: le,
61
+ minBarThickness: ne,
62
62
  resetSelectionOnDoubleClick: fe,
63
63
  detailsOnClick: b,
64
64
  axisTitle: _,
65
65
  noOfTicks: pe,
66
- valueColor: ne,
66
+ valueColor: G,
67
67
  styles: m,
68
- classNames: h,
68
+ classNames: x,
69
69
  labelOrder: V,
70
70
  refValues: oe,
71
71
  rtl: p,
72
72
  animate: c,
73
73
  precision: N,
74
- customLayers: G,
75
- highlightedDataPoints: z,
74
+ customLayers: z,
75
+ highlightedDataPoints: R,
76
76
  dimmedOpacity: A
77
- } = ye, v = Ce(null), x = ze(v, {
77
+ } = ye, v = Ce(null), g = ze(v, {
78
78
  once: c.once,
79
79
  amount: c.amount
80
- }), u = {
80
+ }), h = {
81
81
  top: _ ? D + 25 : D,
82
82
  bottom: n,
83
- left: ee,
84
- right: J
85
- }, Y = te - u.left - u.right, E = ie - u.top - u.bottom, [K, H] = L(void 0), [j, y] = L(void 0), [T, Q] = L(void 0), [S, P] = L(void 0), R = s.map((t, l) => ({
83
+ left: te,
84
+ right: K
85
+ }, Y = ie - h.left - h.right, E = ae - h.top - h.bottom, [Q, H] = L(void 0), [j, y] = L(void 0), [T, Z] = L(void 0), [S, P] = L(void 0), q = s.map((t, l) => ({
86
86
  ...t,
87
87
  id: V ? `${t.label}` : `${l}`
88
- })), k = V || R.map((t) => `${t.id}`), f = _e().domain([ae, C]).range([0, Y]).nice(), $ = Ge().domain(k).range([
88
+ })), k = V || q.map((t) => `${t.id}`), f = _e().domain([re, C]).range([0, Y]).nice(), $ = Ge().domain(k).range([
89
89
  0,
90
- le ? Math.max(E, le * R.length) : re ? Math.min(E, re * R.length) : E
90
+ ne ? Math.max(E, ne * q.length) : le ? Math.min(E, le * q.length) : E
91
91
  ]).paddingInner(w), a = f.ticks(pe);
92
92
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
93
93
  /* @__PURE__ */ i.jsxs(
94
94
  se.svg,
95
95
  {
96
- width: `${te}px`,
97
- height: `${ie}px`,
98
- viewBox: `0 0 ${te} ${ie}`,
96
+ width: `${ie}px`,
97
+ height: `${ae}px`,
98
+ viewBox: `0 0 ${ie} ${ae}`,
99
99
  direction: "ltr",
100
100
  ref: v,
101
101
  children: [
@@ -118,24 +118,24 @@ function dt(ye) {
118
118
  )
119
119
  }
120
120
  ) }) : null,
121
- /* @__PURE__ */ i.jsxs("g", { transform: `translate(${u.left},${u.top})`, children: [
122
- Z ? /* @__PURE__ */ i.jsx(
121
+ /* @__PURE__ */ i.jsxs("g", { transform: `translate(${h.left},${h.top})`, children: [
122
+ ee ? /* @__PURE__ */ i.jsx(
123
123
  rt,
124
124
  {
125
125
  values: a.filter((t, l) => l !== 0),
126
126
  x: a.filter((t, l) => l !== 0).map((t) => f(t)),
127
127
  y1: 0 - D,
128
- y2: E + u.bottom,
128
+ y2: E + h.bottom,
129
129
  styles: {
130
130
  gridLines: m?.xAxis?.gridLines,
131
131
  labels: m?.xAxis?.labels
132
132
  },
133
133
  classNames: {
134
- gridLines: h?.xAxis?.gridLines,
135
- labels: h?.xAxis?.labels
134
+ gridLines: x?.xAxis?.gridLines,
135
+ labels: x?.xAxis?.labels
136
136
  },
137
- suffix: q,
138
- prefix: U,
137
+ suffix: U,
138
+ prefix: J,
139
139
  labelType: "secondary",
140
140
  showGridLines: !0,
141
141
  precision: N
@@ -145,29 +145,29 @@ function dt(ye) {
145
145
  Ye,
146
146
  {
147
147
  x: Y / 2,
148
- y: 0 - u.top + 15,
148
+ y: 0 - h.top + 15,
149
149
  style: m?.xAxis?.title,
150
- className: h?.xAxis?.title,
150
+ className: x?.xAxis?.title,
151
151
  text: _
152
152
  }
153
153
  ),
154
154
  /* @__PURE__ */ i.jsx(
155
155
  Ee,
156
156
  {
157
- y: R.map((t) => $(`${t.id}`) + $.bandwidth() / 2),
157
+ y: q.map((t) => $(`${t.id}`) + $.bandwidth() / 2),
158
158
  x1: 0,
159
159
  x2: Y,
160
160
  styles: { gridLines: m?.yAxis?.gridLines },
161
- classNames: { gridLines: h?.yAxis?.gridLines },
161
+ classNames: { gridLines: x?.yAxis?.gridLines },
162
162
  labelType: "secondary",
163
163
  showGridLines: !0,
164
164
  labelPos: "vertical",
165
165
  precision: N
166
166
  }
167
167
  ),
168
- G.filter((t) => t.position === "before").map((t) => t.layer),
168
+ z.filter((t) => t.position === "before").map((t) => t.layer),
169
169
  /* @__PURE__ */ i.jsxs(Re, { children: [
170
- R.map((t) => /* @__PURE__ */ i.jsxs(
170
+ q.map((t) => /* @__PURE__ */ i.jsxs(
171
171
  se.g,
172
172
  {
173
173
  className: "undp-viz-g-with-hover",
@@ -175,17 +175,17 @@ function dt(ye) {
175
175
  initial: {
176
176
  x: 0,
177
177
  y: $(`${t.id}`) + $.bandwidth() / 2,
178
- opacity: z.length !== 0 ? z.indexOf(t.label) !== -1 ? 0.85 : A : 0.85
178
+ opacity: R.length !== 0 ? R.indexOf(t.label) !== -1 ? 0.85 : A : 0.85
179
179
  },
180
180
  whileInView: {
181
181
  x: 0,
182
182
  y: $(`${t.id}`) + $.bandwidth() / 2,
183
- opacity: z.length !== 0 ? z.indexOf(t.label) !== -1 ? 0.85 : A : 0.85,
183
+ opacity: R.length !== 0 ? R.indexOf(t.label) !== -1 ? 0.85 : A : 0.85,
184
184
  transition: { duration: c.duration }
185
185
  }
186
186
  },
187
187
  initial: "initial",
188
- animate: x ? "whileInView" : "initial",
188
+ animate: g ? "whileInView" : "initial",
189
189
  exit: { opacity: 0, transition: { duration: c.duration } },
190
190
  children: [
191
191
  me ? /* @__PURE__ */ i.jsx(
@@ -193,14 +193,14 @@ function dt(ye) {
193
193
  {
194
194
  value: `${t.label}`.length < de ? `${t.label}` : `${`${t.label}`.substring(0, de)}...`,
195
195
  y: 0 - $.bandwidth() / 2,
196
- x: 0 - u.left,
197
- width: u.left,
196
+ x: 0 - h.left,
197
+ width: h.left,
198
198
  height: $.bandwidth(),
199
199
  alignment: "right",
200
200
  style: m?.yAxis?.labels,
201
- className: h?.yAxis?.labels,
201
+ className: x?.yAxis?.labels,
202
202
  animate: c,
203
- isInView: x
203
+ isInView: g
204
204
  }
205
205
  ) : null,
206
206
  /* @__PURE__ */ i.jsx(
@@ -215,7 +215,7 @@ function dt(ye) {
215
215
  },
216
216
  className: ke(
217
217
  "stroke-primary-gray-600 dark:stroke-primary-gray-300",
218
- h?.dataConnectors
218
+ x?.dataConnectors
219
219
  ),
220
220
  markerEnd: M && t.x.indexOf(Math.min(...t.x.filter((l) => l !== null))) === 0 ? "url(#arrow)" : "",
221
221
  markerStart: M && t.x.indexOf(Math.min(...t.x.filter((l) => l !== null))) === t.x.length - 1 ? "url(#arrow)" : "",
@@ -232,36 +232,36 @@ function dt(ye) {
232
232
  }
233
233
  },
234
234
  initial: "initial",
235
- animate: x ? "whileInView" : "initial"
235
+ animate: g ? "whileInView" : "initial"
236
236
  }
237
237
  ),
238
238
  t.x.map((l, o) => /* @__PURE__ */ i.jsx(
239
239
  se.g,
240
240
  {
241
241
  onMouseEnter: (ue) => {
242
- H({ ...t, xIndex: o }), P(ue.clientY), Q(ue.clientX), W?.({ ...t, xIndex: o });
242
+ H({ ...t, xIndex: o }), P(ue.clientY), Z(ue.clientX), W?.({ ...t, xIndex: o });
243
243
  },
244
244
  onClick: () => {
245
245
  (X || b) && (Be(j, { ...t, xIndex: o }) && fe ? (y(void 0), X?.(void 0)) : (y({ ...t, xIndex: o }), X && X({ ...t, xIndex: o })));
246
246
  },
247
247
  onMouseMove: (ue) => {
248
- H({ ...t, xIndex: o }), P(ue.clientY), Q(ue.clientX);
248
+ H({ ...t, xIndex: o }), P(ue.clientY), Z(ue.clientX);
249
249
  },
250
250
  onMouseLeave: () => {
251
- H(void 0), Q(void 0), P(void 0), W?.(void 0);
251
+ H(void 0), Z(void 0), P(void 0), W?.(void 0);
252
252
  },
253
253
  exit: { opacity: 0, transition: { duration: c.duration } },
254
254
  variants: {
255
255
  initial: {
256
- opacity: I ? g[o] === I ? 1 : 0.3 : 1
256
+ opacity: I ? u[o] === I ? 1 : 0.3 : 1
257
257
  },
258
258
  whileInView: {
259
- opacity: I ? g[o] === I ? 1 : 0.3 : 1,
259
+ opacity: I ? u[o] === I ? 1 : 0.3 : 1,
260
260
  transition: { duration: c.duration }
261
261
  }
262
262
  },
263
263
  initial: "initial",
264
- animate: x ? "whileInView" : "initial",
264
+ animate: g ? "whileInView" : "initial",
265
265
  children: F(l) ? null : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
266
266
  /* @__PURE__ */ i.jsx(
267
267
  se.circle,
@@ -269,9 +269,9 @@ function dt(ye) {
269
269
  cy: 0,
270
270
  r: B,
271
271
  style: {
272
- fill: g[o],
272
+ fill: u[o],
273
273
  fillOpacity: 0.85,
274
- stroke: g[o],
274
+ stroke: u[o],
275
275
  strokeWidth: 1,
276
276
  opacity: F(l) ? 0 : 1
277
277
  },
@@ -285,7 +285,7 @@ function dt(ye) {
285
285
  }
286
286
  },
287
287
  initial: "initial",
288
- animate: x ? "whileInView" : "initial"
288
+ animate: g ? "whileInView" : "initial"
289
289
  }
290
290
  ),
291
291
  ce ? /* @__PURE__ */ i.jsx(
@@ -293,7 +293,6 @@ function dt(ye) {
293
293
  {
294
294
  y: 0,
295
295
  style: {
296
- fill: ne || g[o],
297
296
  textAnchor: "middle",
298
297
  ...m?.graphObjectValues || {}
299
298
  },
@@ -302,20 +301,21 @@ function dt(ye) {
302
301
  className: ke(
303
302
  "graph-value text-sm font-bold",
304
303
  F(l) ? "0opacity-0" : "opacity-100",
305
- h?.graphObjectValues
304
+ x?.graphObjectValues
306
305
  ),
307
306
  exit: { opacity: 0, transition: { duration: c.duration } },
308
307
  variants: {
309
- initial: { x: f(0), opacity: 0 },
308
+ initial: { x: f(0), opacity: 0, fill: G || u[o] },
310
309
  whileInView: {
311
310
  x: f(l || 0),
311
+ fill: G || u[o],
312
312
  opacity: 1,
313
313
  transition: { duration: c.duration }
314
314
  }
315
315
  },
316
316
  initial: "initial",
317
- animate: x ? "whileInView" : "initial",
318
- children: Ae(l, "NA", N, U, q)
317
+ animate: g ? "whileInView" : "initial",
318
+ children: Ae(l, "NA", N, J, U)
319
319
  }
320
320
  ) : null
321
321
  ] })
@@ -332,31 +332,31 @@ function dt(ye) {
332
332
  text: t.text,
333
333
  color: t.color,
334
334
  x: f(t.value),
335
- y1: 0 - u.top,
336
- y2: E + u.bottom,
335
+ y1: 0 - h.top,
336
+ y2: E + h.bottom,
337
337
  textSide: f(t.value) > Y * 0.75 || p ? "left" : "right",
338
338
  classNames: t.classNames,
339
339
  styles: t.styles,
340
340
  animate: c,
341
- isInView: x
341
+ isInView: g
342
342
  },
343
343
  l
344
344
  )) }) : null
345
345
  ] }),
346
- G.filter((t) => t.position === "after").map((t) => t.layer)
346
+ z.filter((t) => t.position === "after").map((t) => t.layer)
347
347
  ] })
348
348
  ]
349
349
  }
350
350
  ),
351
- K && O && T && S ? /* @__PURE__ */ i.jsx(
351
+ Q && O && T && S ? /* @__PURE__ */ i.jsx(
352
352
  He,
353
353
  {
354
- data: K,
354
+ data: Q,
355
355
  body: O,
356
356
  xPos: T,
357
357
  yPos: S,
358
358
  backgroundStyle: m?.tooltip,
359
- className: h?.tooltip
359
+ className: x?.tooltip
360
360
  }
361
361
  ) : null,
362
362
  b && j !== void 0 ? /* @__PURE__ */ i.jsx(
@@ -381,17 +381,17 @@ function dt(ye) {
381
381
  function mt(ye) {
382
382
  const {
383
383
  data: s,
384
- graphTitle: g,
385
- colors: q = Ke.light.categoricalColors.colors,
386
- sources: U,
384
+ graphTitle: u,
385
+ colors: U = Ke.light.categoricalColors.colors,
386
+ sources: J,
387
387
  graphDescription: w,
388
388
  barPadding: ce = 0.25,
389
- showTicks: Z = !0,
390
- leftMargin: ee = 100,
389
+ showTicks: ee = !0,
390
+ leftMargin: te = 100,
391
391
  rightMargin: de = 40,
392
- topMargin: te = 20,
393
- bottomMargin: ie = 10,
394
- truncateBy: J = 999,
392
+ topMargin: ie = 20,
393
+ bottomMargin: ae = 10,
394
+ truncateBy: K = 999,
395
395
  height: D,
396
396
  width: n,
397
397
  footNote: B,
@@ -399,42 +399,42 @@ function mt(ye) {
399
399
  colorLegendTitle: O,
400
400
  padding: W,
401
401
  backgroundColor: C = !1,
402
- radius: ae = 3,
402
+ radius: re = 3,
403
403
  showLabels: X = !0,
404
404
  tooltip: I,
405
405
  relativeHeight: M,
406
406
  onSeriesMouseOver: ge,
407
- graphID: re,
408
- suffix: le = "",
407
+ graphID: le,
408
+ suffix: ne = "",
409
409
  prefix: fe = "",
410
410
  maxValue: b,
411
411
  minValue: _,
412
412
  onSeriesMouseClick: pe,
413
- graphDownload: ne = !1,
413
+ graphDownload: G = !1,
414
414
  dataDownload: m = !1,
415
- showValues: h = !0,
415
+ showValues: x = !0,
416
416
  sortParameter: V,
417
417
  arrowConnector: oe = !1,
418
418
  connectorStrokeWidth: p = 2,
419
419
  language: c = "en",
420
420
  minHeight: N = 0,
421
- theme: G = "light",
422
- labelOrder: z,
421
+ theme: z = "light",
422
+ labelOrder: R,
423
423
  maxBarThickness: A,
424
424
  maxNumberOfBars: v,
425
- minBarThickness: x,
426
- ariaLabel: u,
425
+ minBarThickness: g,
426
+ ariaLabel: h,
427
427
  resetSelectionOnDoubleClick: Y = !0,
428
428
  detailsOnClick: E,
429
- axisTitle: K,
429
+ axisTitle: Q,
430
430
  noOfTicks: H = 5,
431
431
  valueColor: j,
432
432
  styles: y,
433
433
  classNames: T,
434
- refValues: Q,
434
+ refValues: Z,
435
435
  filterNA: S = !0,
436
436
  animate: P = !1,
437
- precision: R = 2,
437
+ precision: q = 2,
438
438
  customLayers: k = [],
439
439
  showColorScale: f = !0,
440
440
  highlightedDataPoints: $ = [],
@@ -470,7 +470,7 @@ function mt(ye) {
470
470
  return /* @__PURE__ */ i.jsx(
471
471
  "div",
472
472
  {
473
- className: `${G || "light"} flex ${n ? "w-fit grow-0" : "w-full grow"}`,
473
+ className: `${z || "light"} flex ${n ? "w-fit grow-0" : "w-full grow"}`,
474
474
  dir: c === "he" || c === "ar" ? "rtl" : void 0,
475
475
  children: /* @__PURE__ */ i.jsx(
476
476
  "div",
@@ -484,16 +484,16 @@ function mt(ye) {
484
484
  ...y?.graphContainer || {},
485
485
  ...C && C !== !0 ? { backgroundColor: C } : {}
486
486
  },
487
- id: re,
487
+ id: le,
488
488
  ref: Oe,
489
- "aria-label": u || `${g ? `The graph shows ${g}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${w ? ` ${w}` : ""}`,
489
+ "aria-label": h || `${u ? `The graph shows ${u}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${w ? ` ${w}` : ""}`,
490
490
  children: /* @__PURE__ */ i.jsx(
491
491
  "div",
492
492
  {
493
493
  className: "flex grow",
494
494
  style: { padding: C ? W || "1rem" : W || 0 },
495
495
  children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
496
- g || w || ne || m ? /* @__PURE__ */ i.jsx(
496
+ u || w || G || m ? /* @__PURE__ */ i.jsx(
497
497
  qe,
498
498
  {
499
499
  styles: {
@@ -504,10 +504,10 @@ function mt(ye) {
504
504
  title: T?.title,
505
505
  description: T?.description
506
506
  },
507
- graphTitle: g,
507
+ graphTitle: u,
508
508
  graphDescription: w,
509
509
  width: n,
510
- graphDownload: ne ? Oe.current : void 0,
510
+ graphDownload: G ? Oe.current : void 0,
511
511
  dataDownload: m ? s.map((e) => e.data).filter((e) => e !== void 0).length > 0 ? s.map((e) => e.data).filter((e) => e !== void 0) : s.filter((e) => e !== void 0) : null
512
512
  }
513
513
  ) : null,
@@ -549,7 +549,7 @@ function mt(ye) {
549
549
  {
550
550
  width: n,
551
551
  colorDomain: me,
552
- colors: q,
552
+ colors: U,
553
553
  colorLegendTitle: O,
554
554
  setSelectedColor: Le,
555
555
  showNAColor: !1
@@ -592,24 +592,24 @@ function mt(ye) {
592
592
  s,
593
593
  t.dateFormat || "yyyy"
594
594
  ).filter((e) => S ? !e.x.every((r) => r == null) : e).filter((e, r) => v ? r < v : !0),
595
- dotColors: q,
595
+ dotColors: U,
596
596
  width: n || o,
597
597
  height: Math.max(
598
598
  N,
599
599
  D || (M ? N ? (n || o) * M > N ? (n || o) * M : N : (n || o) * M : Me)
600
600
  ),
601
- suffix: le,
601
+ suffix: ne,
602
602
  prefix: fe,
603
- radius: ae,
603
+ radius: re,
604
604
  barPadding: ce,
605
- showTicks: Z,
606
- leftMargin: ee,
605
+ showTicks: ee,
606
+ leftMargin: te,
607
607
  rightMargin: de,
608
- topMargin: te,
609
- bottomMargin: ie,
610
- truncateBy: J,
608
+ topMargin: ie,
609
+ bottomMargin: ae,
610
+ truncateBy: K,
611
611
  showLabels: X,
612
- showValues: h,
612
+ showValues: x,
613
613
  tooltip: I,
614
614
  onSeriesMouseOver: ge,
615
615
  maxValue: F(b) ? Math.max(
@@ -627,19 +627,19 @@ function mt(ye) {
627
627
  arrowConnector: oe,
628
628
  connectorStrokeWidth: p,
629
629
  maxBarThickness: A,
630
- minBarThickness: x,
630
+ minBarThickness: g,
631
631
  resetSelectionOnDoubleClick: Y,
632
632
  detailsOnClick: E,
633
- axisTitle: K,
633
+ axisTitle: Q,
634
634
  noOfTicks: H,
635
635
  valueColor: j,
636
636
  styles: y,
637
637
  classNames: T,
638
- labelOrder: z,
639
- refValues: Q,
638
+ labelOrder: R,
639
+ refValues: Z,
640
640
  rtl: c === "he" || c === "ar",
641
641
  animate: P === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : P || { duration: 0, once: !0, amount: 0 },
642
- precision: R,
642
+ precision: q,
643
643
  customLayers: k,
644
644
  highlightedDataPoints: $,
645
645
  dimmedOpacity: a
@@ -648,7 +648,7 @@ function mt(ye) {
648
648
  }
649
649
  )
650
650
  ] }) }),
651
- U || B ? /* @__PURE__ */ i.jsx(
651
+ J || B ? /* @__PURE__ */ i.jsx(
652
652
  Ue,
653
653
  {
654
654
  styles: { footnote: y?.footnote, source: y?.source },
@@ -656,7 +656,7 @@ function mt(ye) {
656
656
  footnote: T?.footnote,
657
657
  source: T?.source
658
658
  },
659
- sources: U,
659
+ sources: J,
660
660
  footNote: B,
661
661
  width: n
662
662
  }
@@ -672,17 +672,17 @@ function mt(ye) {
672
672
  function ut(ye) {
673
673
  const {
674
674
  data: s,
675
- dotColors: g,
676
- barPadding: q,
677
- showTicks: U,
675
+ dotColors: u,
676
+ barPadding: U,
677
+ showTicks: J,
678
678
  leftMargin: w,
679
679
  truncateBy: ce,
680
- width: Z,
681
- height: ee,
680
+ width: ee,
681
+ height: te,
682
682
  rightMargin: de,
683
- topMargin: te,
684
- bottomMargin: ie,
685
- radius: J,
683
+ topMargin: ie,
684
+ bottomMargin: ae,
685
+ radius: K,
686
686
  showLabels: D,
687
687
  tooltip: n,
688
688
  onSeriesMouseOver: B,
@@ -690,49 +690,49 @@ function ut(ye) {
690
690
  minValue: O,
691
691
  onSeriesMouseClick: W,
692
692
  showValues: C,
693
- suffix: ae,
693
+ suffix: re,
694
694
  prefix: X,
695
695
  selectedColor: I,
696
696
  arrowConnector: M,
697
697
  connectorStrokeWidth: ge,
698
- maxBarThickness: re,
699
- minBarThickness: le,
698
+ maxBarThickness: le,
699
+ minBarThickness: ne,
700
700
  resetSelectionOnDoubleClick: fe,
701
701
  detailsOnClick: b,
702
702
  axisTitle: _,
703
703
  noOfTicks: pe,
704
- valueColor: ne,
704
+ valueColor: G,
705
705
  styles: m,
706
- classNames: h,
706
+ classNames: x,
707
707
  labelOrder: V,
708
708
  refValues: oe,
709
709
  animate: p,
710
710
  precision: c,
711
711
  customLayers: N,
712
- highlightedDataPoints: G,
713
- dimmedOpacity: z
712
+ highlightedDataPoints: z,
713
+ dimmedOpacity: R
714
714
  } = ye, A = Ce(null), v = ze(A, {
715
715
  once: p.once,
716
716
  amount: p.amount
717
- }), x = {
718
- top: te,
719
- bottom: ie,
717
+ }), g = {
718
+ top: ie,
719
+ bottom: ae,
720
720
  left: _ ? w + 30 : w,
721
721
  right: de
722
- }, u = Z - x.left - x.right, Y = ee - x.top - x.bottom, [E, K] = L(void 0), [H, j] = L(void 0), [y, T] = L(void 0), [Q, S] = L(void 0), P = s.map((a, t) => ({
722
+ }, h = ee - g.left - g.right, Y = te - g.top - g.bottom, [E, Q] = L(void 0), [H, j] = L(void 0), [y, T] = L(void 0), [Z, S] = L(void 0), P = s.map((a, t) => ({
723
723
  ...a,
724
724
  id: V ? `${a.label}` : `${t}`
725
- })), R = V || P.map((a) => `${a.id}`), k = _e().domain([O, me]).range([Y, 0]).nice(), f = Ge().domain(R).range([
725
+ })), q = V || P.map((a) => `${a.id}`), k = _e().domain([O, me]).range([Y, 0]).nice(), f = Ge().domain(q).range([
726
726
  0,
727
- le ? Math.max(u, le * P.length) : re ? Math.min(u, re * P.length) : u
728
- ]).paddingInner(q), $ = k.ticks(pe);
727
+ ne ? Math.max(h, ne * P.length) : le ? Math.min(h, le * P.length) : h
728
+ ]).paddingInner(U), $ = k.ticks(pe);
729
729
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
730
730
  /* @__PURE__ */ i.jsxs(
731
731
  se.svg,
732
732
  {
733
- width: `${Z}px`,
734
- height: `${ee}px`,
735
- viewBox: `0 0 ${Z} ${ee}`,
733
+ width: `${ee}px`,
734
+ height: `${te}px`,
735
+ viewBox: `0 0 ${ee} ${te}`,
736
736
  direction: "ltr",
737
737
  ref: A,
738
738
  children: [
@@ -755,20 +755,20 @@ function ut(ye) {
755
755
  )
756
756
  }
757
757
  ) }) : null,
758
- /* @__PURE__ */ i.jsxs("g", { transform: `translate(${x.left},${x.top})`, children: [
758
+ /* @__PURE__ */ i.jsxs("g", { transform: `translate(${g.left},${g.top})`, children: [
759
759
  /* @__PURE__ */ i.jsx(
760
760
  st,
761
761
  {
762
762
  y1: k(O < 0 ? 0 : O),
763
763
  y2: k(O < 0 ? 0 : O),
764
764
  x1: 0 - w,
765
- x2: u + x.right,
765
+ x2: h + g.right,
766
766
  label: Ae(
767
767
  O < 0 ? 0 : O,
768
768
  "NA",
769
769
  c,
770
770
  X,
771
- ae
771
+ re
772
772
  ),
773
773
  labelPos: {
774
774
  x: 0 - w,
@@ -777,28 +777,28 @@ function ut(ye) {
777
777
  y: k(O < 0 ? 0 : O)
778
778
  },
779
779
  classNames: {
780
- axis: h?.xAxis?.axis,
781
- label: h?.yAxis?.labels
780
+ axis: x?.xAxis?.axis,
781
+ label: x?.yAxis?.labels
782
782
  },
783
783
  styles: { axis: m?.xAxis?.axis, label: m?.yAxis?.labels }
784
784
  }
785
785
  ),
786
- U ? /* @__PURE__ */ i.jsx(
786
+ J ? /* @__PURE__ */ i.jsx(
787
787
  Ee,
788
788
  {
789
789
  values: $.filter((a) => a !== 0),
790
790
  y: $.filter((a) => a !== 0).map((a) => k(a)),
791
791
  x1: 0 - w,
792
- x2: u + x.right,
792
+ x2: h + g.right,
793
793
  styles: {
794
794
  gridLines: m?.yAxis?.gridLines,
795
795
  labels: m?.yAxis?.labels
796
796
  },
797
797
  classNames: {
798
- gridLines: h?.yAxis?.gridLines,
799
- labels: h?.yAxis?.labels
798
+ gridLines: x?.yAxis?.gridLines,
799
+ labels: x?.yAxis?.labels
800
800
  },
801
- suffix: ae,
801
+ suffix: re,
802
802
  prefix: X,
803
803
  labelType: "secondary",
804
804
  showGridLines: !0,
@@ -812,7 +812,7 @@ function ut(ye) {
812
812
  x: 0 - w - 15,
813
813
  y: Y / 2,
814
814
  style: m?.yAxis?.title,
815
- className: h?.yAxis?.title,
815
+ className: x?.yAxis?.title,
816
816
  text: _,
817
817
  rotate90: !0
818
818
  }
@@ -827,12 +827,12 @@ function ut(ye) {
827
827
  initial: {
828
828
  x: f(`${a.id}`) + f.bandwidth() / 2,
829
829
  y: 0,
830
- opacity: G.length !== 0 ? G.indexOf(a.label) !== -1 ? 0.85 : z : 0.85
830
+ opacity: z.length !== 0 ? z.indexOf(a.label) !== -1 ? 0.85 : R : 0.85
831
831
  },
832
832
  whileInView: {
833
833
  x: f(`${a.id}`) + f.bandwidth() / 2,
834
834
  y: 0,
835
- opacity: G.length !== 0 ? G.indexOf(a.label) !== -1 ? 0.85 : z : 0.85,
835
+ opacity: z.length !== 0 ? z.indexOf(a.label) !== -1 ? 0.85 : R : 0.85,
836
836
  transition: { duration: p.duration }
837
837
  }
838
838
  },
@@ -847,9 +847,9 @@ function ut(ye) {
847
847
  y: Y + 5,
848
848
  x: 0 - f.bandwidth() / 2,
849
849
  width: f.bandwidth(),
850
- height: x.bottom,
850
+ height: g.bottom,
851
851
  style: m?.xAxis?.labels,
852
- className: h?.xAxis?.labels,
852
+ className: x?.xAxis?.labels,
853
853
  alignment: "top",
854
854
  animate: p,
855
855
  isInView: v
@@ -867,7 +867,7 @@ function ut(ye) {
867
867
  },
868
868
  className: ke(
869
869
  "stroke-primary-gray-600 dark:stroke-primary-gray-300",
870
- h?.dataConnectors
870
+ x?.dataConnectors
871
871
  ),
872
872
  markerEnd: M && a.x.indexOf(Math.min(...a.x.filter((t) => t !== null))) === 0 ? "url(#arrow)" : "",
873
873
  markerStart: M && a.x.indexOf(Math.min(...a.x.filter((t) => t !== null))) === a.x.length - 1 ? "url(#arrow)" : "",
@@ -878,8 +878,8 @@ function ut(ye) {
878
878
  y2: 0
879
879
  },
880
880
  whileInView: {
881
- y1: k(Math.min(...a.x.filter((t) => t !== null))) + J,
882
- y2: k(Math.max(...a.x.filter((t) => t !== null))) - J,
881
+ y1: k(Math.min(...a.x.filter((t) => t !== null))) + K,
882
+ y2: k(Math.max(...a.x.filter((t) => t !== null))) - K,
883
883
  transition: { duration: p.duration }
884
884
  }
885
885
  },
@@ -891,24 +891,24 @@ function ut(ye) {
891
891
  se.g,
892
892
  {
893
893
  onMouseEnter: (o) => {
894
- K({ ...a, xIndex: l }), S(o.clientY), T(o.clientX), B?.({ ...a, xIndex: l });
894
+ Q({ ...a, xIndex: l }), S(o.clientY), T(o.clientX), B?.({ ...a, xIndex: l });
895
895
  },
896
896
  onClick: () => {
897
897
  (W || b) && (Be(H, { ...a, xIndex: l }) && fe ? (j(void 0), W?.(void 0)) : (j({ ...a, xIndex: l }), W && W({ ...a, xIndex: l })));
898
898
  },
899
899
  onMouseMove: (o) => {
900
- K({ ...a, xIndex: l }), S(o.clientY), T(o.clientX);
900
+ Q({ ...a, xIndex: l }), S(o.clientY), T(o.clientX);
901
901
  },
902
902
  onMouseLeave: () => {
903
- K(void 0), T(void 0), S(void 0), B?.(void 0);
903
+ Q(void 0), T(void 0), S(void 0), B?.(void 0);
904
904
  },
905
905
  exit: { opacity: 0, transition: { duration: p.duration } },
906
906
  variants: {
907
907
  initial: {
908
- opacity: I ? g[l] === I ? 1 : 0.3 : 1
908
+ opacity: I ? u[l] === I ? 1 : 0.3 : 1
909
909
  },
910
910
  whileInView: {
911
- opacity: I ? g[l] === I ? 1 : 0.3 : 1,
911
+ opacity: I ? u[l] === I ? 1 : 0.3 : 1,
912
912
  transition: { duration: p.duration }
913
913
  }
914
914
  },
@@ -919,11 +919,11 @@ function ut(ye) {
919
919
  se.circle,
920
920
  {
921
921
  cx: 0,
922
- r: J,
922
+ r: K,
923
923
  style: {
924
- fill: g[l],
924
+ fill: u[l],
925
925
  fillOpacity: 0.85,
926
- stroke: g[l],
926
+ stroke: u[l],
927
927
  strokeWidth: 1
928
928
  },
929
929
  exit: { opacity: 0, transition: { duration: p.duration } },
@@ -944,29 +944,29 @@ function ut(ye) {
944
944
  {
945
945
  x: 0,
946
946
  style: {
947
- fill: ne || g[l],
948
947
  textAnchor: "start",
949
948
  ...m?.graphObjectValues || {}
950
949
  },
951
950
  className: ke(
952
951
  "graph-value text-sm font-bold",
953
952
  F(t) ? "opacity-0" : "opacity-100",
954
- h?.graphObjectValues
953
+ x?.graphObjectValues
955
954
  ),
956
- dx: J + 3,
955
+ dx: K + 3,
957
956
  dy: "0.33em",
958
957
  exit: { opacity: 0, transition: { duration: p.duration } },
959
958
  variants: {
960
- initial: { y: k(0), opacity: 0 },
959
+ initial: { y: k(0), opacity: 0, fill: G || u[l] },
961
960
  whileInView: {
962
961
  y: k(t || 0),
962
+ fill: G || u[l],
963
963
  opacity: 1,
964
964
  transition: { duration: p.duration }
965
965
  }
966
966
  },
967
967
  initial: "initial",
968
968
  animate: v ? "whileInView" : "initial",
969
- children: Ae(t, "NA", c, X, ae)
969
+ children: Ae(t, "NA", c, X, re)
970
970
  }
971
971
  ) : null
972
972
  ] })
@@ -984,7 +984,7 @@ function ut(ye) {
984
984
  color: a.color,
985
985
  y: k(a.value),
986
986
  x1: 0 - w,
987
- x2: u + x.right,
987
+ x2: h + g.right,
988
988
  classNames: a.classNames,
989
989
  styles: a.styles,
990
990
  animate: p,
@@ -998,15 +998,15 @@ function ut(ye) {
998
998
  ]
999
999
  }
1000
1000
  ),
1001
- E && n && y && Q ? /* @__PURE__ */ i.jsx(
1001
+ E && n && y && Z ? /* @__PURE__ */ i.jsx(
1002
1002
  He,
1003
1003
  {
1004
1004
  data: E,
1005
1005
  body: n,
1006
1006
  xPos: y,
1007
- yPos: Q,
1007
+ yPos: Z,
1008
1008
  backgroundStyle: m?.tooltip,
1009
- className: h?.tooltip
1009
+ className: x?.tooltip
1010
1010
  }
1011
1011
  ) : null,
1012
1012
  b && H !== void 0 ? /* @__PURE__ */ i.jsx(
@@ -1031,17 +1031,17 @@ function ut(ye) {
1031
1031
  function ht(ye) {
1032
1032
  const {
1033
1033
  data: s,
1034
- graphTitle: g,
1035
- colors: q = Ke.light.categoricalColors.colors,
1036
- sources: U,
1034
+ graphTitle: u,
1035
+ colors: U = Ke.light.categoricalColors.colors,
1036
+ sources: J,
1037
1037
  graphDescription: w,
1038
1038
  barPadding: ce = 0.25,
1039
- showTicks: Z = !0,
1040
- leftMargin: ee = 20,
1039
+ showTicks: ee = !0,
1040
+ leftMargin: te = 20,
1041
1041
  rightMargin: de = 20,
1042
- topMargin: te = 20,
1043
- bottomMargin: ie = 25,
1044
- truncateBy: J = 999,
1042
+ topMargin: ie = 20,
1043
+ bottomMargin: ae = 25,
1044
+ truncateBy: K = 999,
1045
1045
  height: D,
1046
1046
  width: n,
1047
1047
  footNote: B,
@@ -1049,42 +1049,42 @@ function ht(ye) {
1049
1049
  colorLegendTitle: O,
1050
1050
  padding: W,
1051
1051
  backgroundColor: C = !1,
1052
- radius: ae = 3,
1052
+ radius: re = 3,
1053
1053
  tooltip: X,
1054
1054
  showLabels: I = !0,
1055
1055
  relativeHeight: M,
1056
1056
  onSeriesMouseOver: ge,
1057
- graphID: re,
1058
- suffix: le = "",
1057
+ graphID: le,
1058
+ suffix: ne = "",
1059
1059
  prefix: fe = "",
1060
1060
  maxValue: b,
1061
1061
  minValue: _,
1062
1062
  onSeriesMouseClick: pe,
1063
- graphDownload: ne = !1,
1063
+ graphDownload: G = !1,
1064
1064
  dataDownload: m = !1,
1065
- showValues: h = !0,
1065
+ showValues: x = !0,
1066
1066
  sortParameter: V,
1067
1067
  arrowConnector: oe = !1,
1068
1068
  connectorStrokeWidth: p = 2,
1069
1069
  language: c = "en",
1070
1070
  minHeight: N = 0,
1071
- theme: G = "light",
1072
- maxBarThickness: z,
1071
+ theme: z = "light",
1072
+ maxBarThickness: R,
1073
1073
  maxNumberOfBars: A,
1074
1074
  minBarThickness: v,
1075
- ariaLabel: x,
1076
- resetSelectionOnDoubleClick: u = !0,
1075
+ ariaLabel: g,
1076
+ resetSelectionOnDoubleClick: h = !0,
1077
1077
  detailsOnClick: Y,
1078
1078
  axisTitle: E,
1079
- noOfTicks: K = 5,
1079
+ noOfTicks: Q = 5,
1080
1080
  valueColor: H,
1081
1081
  styles: j,
1082
1082
  classNames: y,
1083
1083
  labelOrder: T,
1084
- refValues: Q,
1084
+ refValues: Z,
1085
1085
  filterNA: S = !0,
1086
1086
  animate: P = !1,
1087
- precision: R = 2,
1087
+ precision: q = 2,
1088
1088
  customLayers: k = [],
1089
1089
  showColorScale: f = !0,
1090
1090
  highlightedDataPoints: $ = [],
@@ -1120,7 +1120,7 @@ function ht(ye) {
1120
1120
  return /* @__PURE__ */ i.jsx(
1121
1121
  "div",
1122
1122
  {
1123
- className: `${G || "light"} flex ${n ? "w-fit grow-0" : "w-full grow"}`,
1123
+ className: `${z || "light"} flex ${n ? "w-fit grow-0" : "w-full grow"}`,
1124
1124
  dir: c === "he" || c === "ar" ? "rtl" : void 0,
1125
1125
  children: /* @__PURE__ */ i.jsx(
1126
1126
  "div",
@@ -1134,16 +1134,16 @@ function ht(ye) {
1134
1134
  ...j?.graphContainer || {},
1135
1135
  ...C && C !== !0 ? { backgroundColor: C } : {}
1136
1136
  },
1137
- id: re,
1137
+ id: le,
1138
1138
  ref: Oe,
1139
- "aria-label": x || `${g ? `The graph shows ${g}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${w ? ` ${w}` : ""}`,
1139
+ "aria-label": g || `${u ? `The graph shows ${u}. ` : ""}This is a dumbbell chart that shows comparisons between two or more data points across categories. ${w ? ` ${w}` : ""}`,
1140
1140
  children: /* @__PURE__ */ i.jsx(
1141
1141
  "div",
1142
1142
  {
1143
1143
  className: "flex grow",
1144
1144
  style: { padding: C ? W || "1rem" : W || 0 },
1145
1145
  children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col w-full gap-4 grow justify-between", children: [
1146
- g || w || ne || m ? /* @__PURE__ */ i.jsx(
1146
+ u || w || G || m ? /* @__PURE__ */ i.jsx(
1147
1147
  qe,
1148
1148
  {
1149
1149
  styles: {
@@ -1154,10 +1154,10 @@ function ht(ye) {
1154
1154
  title: y?.title,
1155
1155
  description: y?.description
1156
1156
  },
1157
- graphTitle: g,
1157
+ graphTitle: u,
1158
1158
  graphDescription: w,
1159
1159
  width: n,
1160
- graphDownload: ne ? Oe.current : void 0,
1160
+ graphDownload: G ? Oe.current : void 0,
1161
1161
  dataDownload: m ? s.map((e) => e.data).filter((e) => e !== void 0).length > 0 ? s.map((e) => e.data).filter((e) => e !== void 0) : s.filter((e) => e !== void 0) : null
1162
1162
  }
1163
1163
  ) : null,
@@ -1199,7 +1199,7 @@ function ht(ye) {
1199
1199
  {
1200
1200
  width: n,
1201
1201
  colorDomain: me,
1202
- colors: q,
1202
+ colors: U,
1203
1203
  colorLegendTitle: O,
1204
1204
  setSelectedColor: Le,
1205
1205
  showNAColor: !1
@@ -1242,24 +1242,24 @@ function ht(ye) {
1242
1242
  s,
1243
1243
  t.dateFormat || "yyyy"
1244
1244
  ).filter((e) => S ? !e.x.every((r) => r == null) : e).filter((e, r) => A ? r < A : !0),
1245
- dotColors: q,
1245
+ dotColors: U,
1246
1246
  width: n || o,
1247
1247
  height: Math.max(
1248
1248
  N,
1249
1249
  D || (M ? N ? (n || o) * M > N ? (n || o) * M : N : (n || o) * M : Me)
1250
1250
  ),
1251
- radius: ae,
1251
+ radius: re,
1252
1252
  barPadding: ce,
1253
- showTicks: Z,
1254
- leftMargin: ee,
1253
+ showTicks: ee,
1254
+ leftMargin: te,
1255
1255
  rightMargin: de,
1256
- topMargin: te,
1257
- bottomMargin: ie,
1258
- truncateBy: J,
1256
+ topMargin: ie,
1257
+ bottomMargin: ae,
1258
+ truncateBy: K,
1259
1259
  showLabels: I,
1260
- showValues: h,
1260
+ showValues: x,
1261
1261
  tooltip: X,
1262
- suffix: le,
1262
+ suffix: ne,
1263
1263
  prefix: fe,
1264
1264
  onSeriesMouseOver: ge,
1265
1265
  maxValue: F(b) ? Math.max(
@@ -1276,19 +1276,19 @@ function ht(ye) {
1276
1276
  selectedColor: $e,
1277
1277
  arrowConnector: oe,
1278
1278
  connectorStrokeWidth: p,
1279
- maxBarThickness: z,
1279
+ maxBarThickness: R,
1280
1280
  minBarThickness: v,
1281
- resetSelectionOnDoubleClick: u,
1281
+ resetSelectionOnDoubleClick: h,
1282
1282
  detailsOnClick: Y,
1283
1283
  axisTitle: E,
1284
- noOfTicks: K,
1284
+ noOfTicks: Q,
1285
1285
  valueColor: H,
1286
1286
  styles: j,
1287
1287
  classNames: y,
1288
1288
  labelOrder: T,
1289
- refValues: Q,
1289
+ refValues: Z,
1290
1290
  animate: P === !0 ? { duration: 0.5, once: !0, amount: 0.5 } : P || { duration: 0, once: !0, amount: 0 },
1291
- precision: R,
1291
+ precision: q,
1292
1292
  customLayers: k,
1293
1293
  highlightedDataPoints: $,
1294
1294
  dimmedOpacity: a
@@ -1297,7 +1297,7 @@ function ht(ye) {
1297
1297
  }
1298
1298
  )
1299
1299
  ] }) }),
1300
- U || B ? /* @__PURE__ */ i.jsx(
1300
+ J || B ? /* @__PURE__ */ i.jsx(
1301
1301
  Ue,
1302
1302
  {
1303
1303
  styles: { footnote: j?.footnote, source: j?.source },
@@ -1305,7 +1305,7 @@ function ht(ye) {
1305
1305
  footnote: y?.footnote,
1306
1306
  source: y?.source
1307
1307
  },
1308
- sources: U,
1308
+ sources: J,
1309
1309
  footNote: B,
1310
1310
  width: n
1311
1311
  }
@@ -1321,17 +1321,17 @@ function ht(ye) {
1321
1321
  function Rt(ye) {
1322
1322
  const {
1323
1323
  data: s,
1324
- graphTitle: g,
1325
- colors: q,
1326
- sources: U,
1324
+ graphTitle: u,
1325
+ colors: U,
1326
+ sources: J,
1327
1327
  graphDescription: w,
1328
1328
  barPadding: ce,
1329
- showTicks: Z,
1330
- leftMargin: ee,
1329
+ showTicks: ee,
1330
+ leftMargin: te,
1331
1331
  rightMargin: de,
1332
- topMargin: te,
1333
- bottomMargin: ie,
1334
- truncateBy: J,
1332
+ topMargin: ie,
1333
+ bottomMargin: ae,
1334
+ truncateBy: K,
1335
1335
  height: D,
1336
1336
  width: n,
1337
1337
  footNote: B,
@@ -1339,42 +1339,42 @@ function Rt(ye) {
1339
1339
  colorLegendTitle: O,
1340
1340
  padding: W,
1341
1341
  backgroundColor: C,
1342
- radius: ae,
1342
+ radius: re,
1343
1343
  tooltip: X,
1344
1344
  showLabels: I,
1345
1345
  relativeHeight: M,
1346
1346
  onSeriesMouseOver: ge,
1347
- graphID: re,
1348
- suffix: le,
1347
+ graphID: le,
1348
+ suffix: ne,
1349
1349
  prefix: fe,
1350
1350
  maxValue: b,
1351
1351
  minValue: _,
1352
1352
  onSeriesMouseClick: pe,
1353
- graphDownload: ne,
1353
+ graphDownload: G,
1354
1354
  dataDownload: m,
1355
- showValues: h,
1355
+ showValues: x,
1356
1356
  sortParameter: V,
1357
1357
  arrowConnector: oe,
1358
1358
  connectorStrokeWidth: p,
1359
1359
  language: c,
1360
1360
  minHeight: N,
1361
- theme: G,
1362
- maxBarThickness: z,
1361
+ theme: z,
1362
+ maxBarThickness: R,
1363
1363
  maxNumberOfBars: A,
1364
1364
  minBarThickness: v,
1365
- ariaLabel: x,
1366
- resetSelectionOnDoubleClick: u,
1365
+ ariaLabel: g,
1366
+ resetSelectionOnDoubleClick: h,
1367
1367
  detailsOnClick: Y,
1368
1368
  axisTitle: E,
1369
- noOfTicks: K,
1369
+ noOfTicks: Q,
1370
1370
  valueColor: H,
1371
1371
  orientation: j = "vertical",
1372
1372
  styles: y,
1373
1373
  classNames: T,
1374
- labelOrder: Q,
1374
+ labelOrder: Z,
1375
1375
  refValues: S,
1376
1376
  filterNA: P,
1377
- animate: R,
1377
+ animate: q,
1378
1378
  precision: k,
1379
1379
  showColorScale: f,
1380
1380
  customLayers: $,
@@ -1387,17 +1387,17 @@ function Rt(ye) {
1387
1387
  ht,
1388
1388
  {
1389
1389
  data: s,
1390
- graphTitle: g,
1391
- colors: q,
1392
- sources: U,
1390
+ graphTitle: u,
1391
+ colors: U,
1392
+ sources: J,
1393
1393
  graphDescription: w,
1394
1394
  barPadding: ce,
1395
- showTicks: Z,
1396
- leftMargin: ee,
1395
+ showTicks: ee,
1396
+ leftMargin: te,
1397
1397
  rightMargin: de,
1398
- topMargin: te,
1399
- bottomMargin: ie,
1400
- truncateBy: J,
1398
+ topMargin: ie,
1399
+ bottomMargin: ae,
1400
+ truncateBy: K,
1401
1401
  height: D,
1402
1402
  width: n,
1403
1403
  footNote: B,
@@ -1405,41 +1405,41 @@ function Rt(ye) {
1405
1405
  colorLegendTitle: O,
1406
1406
  padding: W,
1407
1407
  backgroundColor: C,
1408
- radius: ae,
1408
+ radius: re,
1409
1409
  tooltip: X,
1410
1410
  showLabels: I,
1411
1411
  relativeHeight: M,
1412
1412
  onSeriesMouseOver: ge,
1413
- graphID: re,
1414
- suffix: le,
1413
+ graphID: le,
1414
+ suffix: ne,
1415
1415
  prefix: fe,
1416
1416
  maxValue: b,
1417
1417
  minValue: _,
1418
1418
  onSeriesMouseClick: pe,
1419
- graphDownload: ne,
1419
+ graphDownload: G,
1420
1420
  dataDownload: m,
1421
- showValues: h,
1421
+ showValues: x,
1422
1422
  sortParameter: V,
1423
1423
  arrowConnector: oe,
1424
1424
  connectorStrokeWidth: p,
1425
1425
  language: c,
1426
1426
  minHeight: N,
1427
- theme: G,
1428
- maxBarThickness: z,
1427
+ theme: z,
1428
+ maxBarThickness: R,
1429
1429
  maxNumberOfBars: A,
1430
1430
  minBarThickness: v,
1431
- ariaLabel: x,
1432
- resetSelectionOnDoubleClick: u,
1431
+ ariaLabel: g,
1432
+ resetSelectionOnDoubleClick: h,
1433
1433
  styles: y,
1434
1434
  detailsOnClick: Y,
1435
1435
  axisTitle: E,
1436
- noOfTicks: K,
1437
- labelOrder: Q,
1436
+ noOfTicks: Q,
1437
+ labelOrder: Z,
1438
1438
  valueColor: H,
1439
1439
  classNames: T,
1440
1440
  refValues: S,
1441
1441
  filterNA: P,
1442
- animate: R,
1442
+ animate: q,
1443
1443
  precision: k,
1444
1444
  showColorScale: f,
1445
1445
  customLayers: $,
@@ -1452,17 +1452,17 @@ function Rt(ye) {
1452
1452
  mt,
1453
1453
  {
1454
1454
  data: s,
1455
- graphTitle: g,
1456
- colors: q,
1457
- sources: U,
1455
+ graphTitle: u,
1456
+ colors: U,
1457
+ sources: J,
1458
1458
  graphDescription: w,
1459
1459
  barPadding: ce,
1460
- showTicks: Z,
1461
- leftMargin: ee,
1460
+ showTicks: ee,
1461
+ leftMargin: te,
1462
1462
  rightMargin: de,
1463
- topMargin: te,
1464
- bottomMargin: ie,
1465
- truncateBy: J,
1463
+ topMargin: ie,
1464
+ bottomMargin: ae,
1465
+ truncateBy: K,
1466
1466
  height: D,
1467
1467
  width: n,
1468
1468
  footNote: B,
@@ -1470,41 +1470,41 @@ function Rt(ye) {
1470
1470
  colorLegendTitle: O,
1471
1471
  padding: W,
1472
1472
  backgroundColor: C,
1473
- radius: ae,
1473
+ radius: re,
1474
1474
  tooltip: X,
1475
1475
  showLabels: I,
1476
1476
  relativeHeight: M,
1477
1477
  onSeriesMouseOver: ge,
1478
- graphID: re,
1479
- suffix: le,
1478
+ graphID: le,
1479
+ suffix: ne,
1480
1480
  prefix: fe,
1481
1481
  maxValue: b,
1482
1482
  minValue: _,
1483
1483
  onSeriesMouseClick: pe,
1484
- graphDownload: ne,
1484
+ graphDownload: G,
1485
1485
  dataDownload: m,
1486
- showValues: h,
1486
+ showValues: x,
1487
1487
  sortParameter: V,
1488
1488
  arrowConnector: oe,
1489
1489
  connectorStrokeWidth: p,
1490
1490
  language: c,
1491
1491
  minHeight: N,
1492
- theme: G,
1493
- maxBarThickness: z,
1492
+ theme: z,
1493
+ maxBarThickness: R,
1494
1494
  maxNumberOfBars: A,
1495
1495
  minBarThickness: v,
1496
- ariaLabel: x,
1497
- resetSelectionOnDoubleClick: u,
1496
+ ariaLabel: g,
1497
+ resetSelectionOnDoubleClick: h,
1498
1498
  styles: y,
1499
1499
  detailsOnClick: Y,
1500
1500
  axisTitle: E,
1501
- noOfTicks: K,
1501
+ noOfTicks: Q,
1502
1502
  valueColor: H,
1503
1503
  classNames: T,
1504
- labelOrder: Q,
1504
+ labelOrder: Z,
1505
1505
  refValues: S,
1506
1506
  filterNA: P,
1507
- animate: R,
1507
+ animate: q,
1508
1508
  precision: k,
1509
1509
  showColorScale: f,
1510
1510
  customLayers: $,