@mozaic-ds/chart 0.1.0-beta.11 → 0.1.0-beta.12

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.
@@ -1,30 +1,30 @@
1
1
  var ha = Object.defineProperty;
2
2
  var da = (i, t, e) => t in i ? ha(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var C = (i, t, e) => (da(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { version as ua, defineComponent as Vt, ref as X, shallowRef as to, onMounted as eo, onBeforeUnmount as fa, watch as Se, toRaw as Xi, h as io, isProxy as no, reactive as so, computed as z, openBlock as ft, createElementBlock as Fe, createElementVNode as gt, createBlock as Re, unref as Zt, normalizeClass as Ee, normalizeStyle as Qt, createCommentVNode as Be } from "vue";
3
+ var k = (i, t, e) => (da(i, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { version as ua, defineComponent as Vt, ref as X, shallowRef as to, onMounted as eo, onBeforeUnmount as fa, watch as di, toRaw as Xi, h as io, isProxy as no, reactive as so, computed as z, openBlock as ft, createElementBlock as Ie, createElementVNode as gt, createBlock as Fe, unref as Zt, normalizeClass as Re, normalizeStyle as Qt, createCommentVNode as Ee } from "vue";
5
5
  /*!
6
6
  * @kurkle/color v0.3.2
7
7
  * https://github.com/kurkle/color#readme
8
8
  * (c) 2023 Jukka Kurkela
9
9
  * Released under the MIT License
10
10
  */
11
- function ze(i) {
11
+ function Be(i) {
12
12
  return i + 0.5 | 0;
13
13
  }
14
14
  const St = (i, t, e) => Math.max(Math.min(i, e), t);
15
15
  function de(i) {
16
- return St(ze(i * 2.55), 0, 255);
16
+ return St(Be(i * 2.55), 0, 255);
17
17
  }
18
18
  function Mt(i) {
19
- return St(ze(i * 255), 0, 255);
19
+ return St(Be(i * 255), 0, 255);
20
20
  }
21
21
  function yt(i) {
22
- return St(ze(i / 2.55) / 100, 0, 1);
22
+ return St(Be(i / 2.55) / 100, 0, 1);
23
23
  }
24
24
  function An(i) {
25
- return St(ze(i * 100), 0, 100);
25
+ return St(Be(i * 100), 0, 100);
26
26
  }
27
- const nt = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Gi = [..."0123456789ABCDEF"], ga = (i) => Gi[i & 15], pa = (i) => Gi[(i & 240) >> 4] + Gi[i & 15], Xe = (i) => (i & 240) >> 4 === (i & 15), ma = (i) => Xe(i.r) && Xe(i.g) && Xe(i.b) && Xe(i.a);
27
+ const nt = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Gi = [..."0123456789ABCDEF"], ga = (i) => Gi[i & 15], pa = (i) => Gi[(i & 240) >> 4] + Gi[i & 15], Ue = (i) => (i & 240) >> 4 === (i & 15), ma = (i) => Ue(i.r) && Ue(i.g) && Ue(i.b) && Ue(i.a);
28
28
  function ba(i) {
29
29
  var t = i.length, e;
30
30
  return i[0] === "#" && (t === 4 || t === 5 ? e = {
@@ -295,10 +295,10 @@ function Da() {
295
295
  }
296
296
  return i;
297
297
  }
298
- let Ge;
298
+ let Xe;
299
299
  function La(i) {
300
- Ge || (Ge = Da(), Ge.transparent = [0, 0, 0, 0]);
301
- const t = Ge[i.toLowerCase()];
300
+ Xe || (Xe = Da(), Xe.transparent = [0, 0, 0, 0]);
301
+ const t = Xe[i.toLowerCase()];
302
302
  return t && {
303
303
  r: t[0],
304
304
  g: t[1],
@@ -336,7 +336,7 @@ function Fa(i, t, e) {
336
336
  a: i.a + e * (t.a - i.a)
337
337
  };
338
338
  }
339
- function qe(i, t, e) {
339
+ function Ge(i, t, e) {
340
340
  if (i) {
341
341
  let n = hn(i);
342
342
  n[t] = Math.max(0, Math.min(n[t] + n[t] * e, t === 0 ? 360 : 1)), n = un(n), i.r = n[0], i.g = n[1], i.b = n[2];
@@ -352,9 +352,9 @@ function Tn(i) {
352
352
  function Ra(i) {
353
353
  return i.charAt(0) === "r" ? Oa(i) : Ca(i);
354
354
  }
355
- class we {
355
+ class Se {
356
356
  constructor(t) {
357
- if (t instanceof we)
357
+ if (t instanceof Se)
358
358
  return t;
359
359
  const e = typeof t;
360
360
  let n;
@@ -392,7 +392,7 @@ class we {
392
392
  return t && (this._rgb = Fa(this._rgb, t._rgb, e)), this;
393
393
  }
394
394
  clone() {
395
- return new we(this.rgb);
395
+ return new Se(this.rgb);
396
396
  }
397
397
  alpha(t) {
398
398
  return this._rgb.a = Mt(t), this;
@@ -402,7 +402,7 @@ class we {
402
402
  return e.a *= 1 - t, this;
403
403
  }
404
404
  greyscale() {
405
- const t = this._rgb, e = ze(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
405
+ const t = this._rgb, e = Be(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
406
406
  return t.r = t.g = t.b = e, this;
407
407
  }
408
408
  opaquer(t) {
@@ -414,16 +414,16 @@ class we {
414
414
  return t.r = 255 - t.r, t.g = 255 - t.g, t.b = 255 - t.b, this;
415
415
  }
416
416
  lighten(t) {
417
- return qe(this._rgb, 2, t), this;
417
+ return Ge(this._rgb, 2, t), this;
418
418
  }
419
419
  darken(t) {
420
- return qe(this._rgb, 2, -t), this;
420
+ return Ge(this._rgb, 2, -t), this;
421
421
  }
422
422
  saturate(t) {
423
- return qe(this._rgb, 1, t), this;
423
+ return Ge(this._rgb, 1, t), this;
424
424
  }
425
425
  desaturate(t) {
426
- return qe(this._rgb, 1, -t), this;
426
+ return Ge(this._rgb, 1, -t), this;
427
427
  }
428
428
  rotate(t) {
429
429
  return Pa(this._rgb, t), this;
@@ -512,9 +512,9 @@ function za(i, t, e, n) {
512
512
  if (!co(i))
513
513
  return;
514
514
  const s = t[i], o = e[i];
515
- T(s) && T(o) ? ke(s, o, n) : t[i] = fi(o);
515
+ T(s) && T(o) ? we(s, o, n) : t[i] = fi(o);
516
516
  }
517
- function ke(i, t, e) {
517
+ function we(i, t, e) {
518
518
  const n = W(t) ? t : [
519
519
  t
520
520
  ], s = n.length;
@@ -533,7 +533,7 @@ function ke(i, t, e) {
533
533
  return i;
534
534
  }
535
535
  function be(i, t) {
536
- return ke(i, t, {
536
+ return we(i, t, {
537
537
  merger: Wa
538
538
  });
539
539
  }
@@ -574,7 +574,7 @@ function Pt(i, t) {
574
574
  function fn(i) {
575
575
  return i.charAt(0).toUpperCase() + i.slice(1);
576
576
  }
577
- const Me = (i) => typeof i < "u", At = (i) => typeof i == "function", In = (i, t) => {
577
+ const ke = (i) => typeof i < "u", At = (i) => typeof i == "function", In = (i, t) => {
578
578
  if (i.size !== t.size)
579
579
  return !1;
580
580
  for (const e of i)
@@ -602,7 +602,7 @@ function Ya(i) {
602
602
  i % n === 0 && (t.push(n), t.push(i / n));
603
603
  return e === (e | 0) && t.push(e), t.sort((s, o) => s - o).pop(), t;
604
604
  }
605
- function Ce(i) {
605
+ function Me(i) {
606
606
  return !isNaN(parseFloat(i)) && isFinite(i);
607
607
  }
608
608
  function Ua(i, t) {
@@ -645,7 +645,7 @@ function Xa(i, t) {
645
645
  function it(i) {
646
646
  return (i % H + H) % H;
647
647
  }
648
- function Pe(i, t, e, n) {
648
+ function Ce(i, t, e, n) {
649
649
  const s = it(i), o = it(t), a = it(e), r = it(o - s), l = it(a - s), c = it(s - o), h = it(s - a);
650
650
  return s === o || s === a || n && o === a || r > l && c < h;
651
651
  }
@@ -781,7 +781,7 @@ function er(i) {
781
781
  const o = n.xmin !== t.min || n.xmax !== t.max || n.ymin !== e.min || n.ymax !== e.max;
782
782
  return Object.assign(n, s), o;
783
783
  }
784
- const Ke = (i) => i === 0 || i === 1, zn = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * H / e)), Wn = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * H / e) + 1, xe = {
784
+ const qe = (i) => i === 0 || i === 1, zn = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * H / e)), Wn = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * H / e) + 1, xe = {
785
785
  linear: (i) => i,
786
786
  easeInQuad: (i) => i * i,
787
787
  easeOutQuad: (i) => -i * (i - 2),
@@ -800,14 +800,14 @@ const Ke = (i) => i === 0 || i === 1, zn = (i, t, e) => -(Math.pow(2, 10 * (i -=
800
800
  easeInOutSine: (i) => -0.5 * (Math.cos(N * i) - 1),
801
801
  easeInExpo: (i) => i === 0 ? 0 : Math.pow(2, 10 * (i - 1)),
802
802
  easeOutExpo: (i) => i === 1 ? 1 : -Math.pow(2, -10 * i) + 1,
803
- easeInOutExpo: (i) => Ke(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
803
+ easeInOutExpo: (i) => qe(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
804
804
  easeInCirc: (i) => i >= 1 ? i : -(Math.sqrt(1 - i * i) - 1),
805
805
  easeOutCirc: (i) => Math.sqrt(1 - (i -= 1) * i),
806
806
  easeInOutCirc: (i) => (i /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - i * i) - 1) : 0.5 * (Math.sqrt(1 - (i -= 2) * i) + 1),
807
- easeInElastic: (i) => Ke(i) ? i : zn(i, 0.075, 0.3),
808
- easeOutElastic: (i) => Ke(i) ? i : Wn(i, 0.075, 0.3),
807
+ easeInElastic: (i) => qe(i) ? i : zn(i, 0.075, 0.3),
808
+ easeOutElastic: (i) => qe(i) ? i : Wn(i, 0.075, 0.3),
809
809
  easeInOutElastic(i) {
810
- return Ke(i) ? i : i < 0.5 ? 0.5 * zn(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * Wn(i * 2 - 1, 0.1125, 0.45);
810
+ return qe(i) ? i : i < 0.5 ? 0.5 * zn(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * Wn(i * 2 - 1, 0.1125, 0.45);
811
811
  },
812
812
  easeInBack(i) {
813
813
  return i * i * ((1.70158 + 1) * i - 1.70158);
@@ -833,10 +833,10 @@ function bn(i) {
833
833
  return !1;
834
834
  }
835
835
  function Hn(i) {
836
- return bn(i) ? i : new we(i);
836
+ return bn(i) ? i : new Se(i);
837
837
  }
838
838
  function Ri(i) {
839
- return bn(i) ? i : new we(i).saturate(0.5).darken(0.1).hexString();
839
+ return bn(i) ? i : new Se(i).saturate(0.5).darken(0.1).hexString();
840
840
  }
841
841
  const ir = [
842
842
  "x",
@@ -1048,7 +1048,7 @@ function _e(i, t) {
1048
1048
  return i;
1049
1049
  }
1050
1050
  function Ei(i, t, e) {
1051
- return typeof t == "string" ? ke(_e(i, t), e) : ke(_e(i, ""), t);
1051
+ return typeof t == "string" ? we(_e(i, t), e) : we(_e(i, ""), t);
1052
1052
  }
1053
1053
  class cr {
1054
1054
  constructor(t, e) {
@@ -1254,7 +1254,7 @@ function Nt(i, t, e, n, s, o = {}) {
1254
1254
  c = a[l], o.backdrop && mr(i, o.backdrop), r && (o.strokeColor && (i.strokeStyle = o.strokeColor), F(o.strokeWidth) || (i.lineWidth = o.strokeWidth), i.strokeText(c, e, n, o.maxWidth)), i.fillText(c, e, n, o.maxWidth), pr(i, e, n, c, o), n += Number(s.lineHeight);
1255
1255
  i.restore();
1256
1256
  }
1257
- function Ae(i, t) {
1257
+ function Pe(i, t) {
1258
1258
  const { x: e, y: n, w: s, h: o, radius: a } = t;
1259
1259
  i.arc(e + a.topLeft, n + a.topLeft, a.topLeft, 1.5 * N, N, !0), i.lineTo(e, n + o - a.bottomLeft), i.arc(e + a.bottomLeft, n + o - a.bottomLeft, a.bottomLeft, N, Y, !0), i.lineTo(e + s - a.bottomRight, n + o), i.arc(e + s - a.bottomRight, n + o - a.bottomRight, a.bottomRight, Y, 0, !0), i.lineTo(e + s, n + a.topRight), i.arc(e + s - a.topRight, n + a.topRight, a.topRight, 0, -Y, !0), i.lineTo(e + a.topLeft, n);
1260
1260
  }
@@ -1315,7 +1315,7 @@ function U(i, t) {
1315
1315
  };
1316
1316
  return s.string = hr(s), s;
1317
1317
  }
1318
- function Ze(i, t, e, n) {
1318
+ function Ke(i, t, e, n) {
1319
1319
  let s = !0, o, a, r;
1320
1320
  for (o = 0, a = i.length; o < a; ++o)
1321
1321
  if (r = i[o], r !== void 0 && (t !== void 0 && typeof r == "function" && (r = r(t), s = !1), e !== void 0 && W(r) && (r = r[e % r.length], s = !1), r !== void 0))
@@ -1628,13 +1628,13 @@ function Er(i, t = "x") {
1628
1628
  }
1629
1629
  Fr(i, s, o), Rr(i, o, t);
1630
1630
  }
1631
- function Qe(i, t, e) {
1631
+ function Ze(i, t, e) {
1632
1632
  return Math.max(Math.min(i, e), t);
1633
1633
  }
1634
1634
  function Br(i, t) {
1635
1635
  let e, n, s, o, a, r = _t(i[0], t);
1636
1636
  for (e = 0, n = i.length; e < n; ++e)
1637
- a = o, o = r, r = e < n - 1 && _t(i[e + 1], t), o && (s = i[e], a && (s.cp1x = Qe(s.cp1x, t.left, t.right), s.cp1y = Qe(s.cp1y, t.top, t.bottom)), r && (s.cp2x = Qe(s.cp2x, t.left, t.right), s.cp2y = Qe(s.cp2y, t.top, t.bottom)));
1637
+ a = o, o = r, r = e < n - 1 && _t(i[e + 1], t), o && (s = i[e], a && (s.cp1x = Ze(s.cp1x, t.left, t.right), s.cp1y = Ze(s.cp1y, t.top, t.bottom)), r && (s.cp2x = Ze(s.cp2x, t.left, t.right), s.cp2y = Ze(s.cp2y, t.top, t.bottom)));
1638
1638
  }
1639
1639
  function zr(i, t, e, n, s) {
1640
1640
  let o, a, r, l;
@@ -1721,7 +1721,7 @@ function jr(i, t, e) {
1721
1721
  maxHeight: s || gi
1722
1722
  };
1723
1723
  }
1724
- const Je = (i) => Math.round(i * 10) / 10;
1724
+ const Qe = (i) => Math.round(i * 10) / 10;
1725
1725
  function $r(i, t, e, n) {
1726
1726
  const s = Ci(i), o = Wt(s, "margin"), a = mi(s.maxWidth, i, "clientWidth") || gi, r = mi(s.maxHeight, i, "clientHeight") || gi, l = jr(i, t, e);
1727
1727
  let { width: c, height: h } = l;
@@ -1729,7 +1729,7 @@ function $r(i, t, e, n) {
1729
1729
  const u = Wt(s, "border", "width"), f = Wt(s, "padding");
1730
1730
  c -= f.width + u.width, h -= f.height + u.height;
1731
1731
  }
1732
- return c = Math.max(0, c - o.width), h = Math.max(0, n ? c / n : h - o.height), c = Je(Math.min(c, a, l.maxWidth)), h = Je(Math.min(h, r, l.maxHeight)), c && !h && (h = Je(c / 2)), (t !== void 0 || e !== void 0) && n && l.height && h > l.height && (h = l.height, c = Je(Math.floor(h * n))), {
1732
+ return c = Math.max(0, c - o.width), h = Math.max(0, n ? c / n : h - o.height), c = Qe(Math.min(c, a, l.maxWidth)), h = Qe(Math.min(h, r, l.maxHeight)), c && !h && (h = Qe(c / 2)), (t !== void 0 || e !== void 0) && n && l.height && h > l.height && (h = l.height, c = Qe(Math.floor(h * n))), {
1733
1733
  width: c,
1734
1734
  height: h
1735
1735
  };
@@ -1830,7 +1830,7 @@ function Po(i, t) {
1830
1830
  }
1831
1831
  function Ao(i) {
1832
1832
  return i === "angle" ? {
1833
- between: Pe,
1833
+ between: Ce,
1834
1834
  compare: Xa,
1835
1835
  normalize: it
1836
1836
  } : {
@@ -1869,15 +1869,15 @@ function Do(i, t, e) {
1869
1869
  ];
1870
1870
  const { property: n, start: s, end: o } = e, a = t.length, { compare: r, between: l, normalize: c } = Ao(n), { start: h, end: d, loop: u, style: f } = Kr(i, t, e), m = [];
1871
1871
  let p = !1, g = null, b, y, x;
1872
- const v = () => l(s, x, b) && r(s, x) !== 0, _ = () => r(o, b) === 0 || l(o, x, b), M = () => p || v(), S = () => !p || _();
1873
- for (let k = h, w = h; k <= d; ++k)
1874
- y = t[k % a], !y.skip && (b = c(y[n]), b !== x && (p = l(b, s, o), g === null && M() && (g = r(b, s) === 0 ? k : w), g !== null && S() && (m.push(Xn({
1872
+ const v = () => l(s, x, b) && r(s, x) !== 0, _ = () => r(o, b) === 0 || l(o, x, b), w = () => p || v(), S = () => !p || _();
1873
+ for (let M = h, C = h; M <= d; ++M)
1874
+ y = t[M % a], !y.skip && (b = c(y[n]), b !== x && (p = l(b, s, o), g === null && w() && (g = r(b, s) === 0 ? M : C), g !== null && S() && (m.push(Xn({
1875
1875
  start: g,
1876
- end: k,
1876
+ end: M,
1877
1877
  loop: u,
1878
1878
  count: a,
1879
1879
  style: f
1880
- })), g = null), w = k, x = b));
1880
+ })), g = null), C = M, x = b));
1881
1881
  return g !== null && m.push(Xn({
1882
1882
  start: g,
1883
1883
  end: d,
@@ -2097,13 +2097,13 @@ const Kn = "transparent", nl = {
2097
2097
  class sl {
2098
2098
  constructor(t, e, n, s) {
2099
2099
  const o = e[n];
2100
- s = Ze([
2100
+ s = Ke([
2101
2101
  t.to,
2102
2102
  s,
2103
2103
  o,
2104
2104
  t.from
2105
2105
  ]);
2106
- const a = Ze([
2106
+ const a = Ke([
2107
2107
  t.from,
2108
2108
  o,
2109
2109
  s
@@ -2117,12 +2117,12 @@ class sl {
2117
2117
  if (this._active) {
2118
2118
  this._notify(!1);
2119
2119
  const s = this._target[this._prop], o = n - this._start, a = this._duration - o;
2120
- this._start = n, this._duration = Math.floor(Math.max(a, t.duration)), this._total += o, this._loop = !!t.loop, this._to = Ze([
2120
+ this._start = n, this._duration = Math.floor(Math.max(a, t.duration)), this._total += o, this._loop = !!t.loop, this._to = Ke([
2121
2121
  t.to,
2122
2122
  e,
2123
2123
  s,
2124
2124
  t.from
2125
- ]), this._from = Ze([
2125
+ ]), this._from = Ke([
2126
2126
  t.from,
2127
2127
  s,
2128
2128
  e
@@ -2593,7 +2593,7 @@ class Ct {
2593
2593
  return this._resolveElementOptions(this.dataElementType.id, e, t);
2594
2594
  }
2595
2595
  _resolveElementOptions(t, e = "default", n) {
2596
- const s = e === "active", o = this._cachedDataOpts, a = t + "-" + e, r = o[a], l = this.enableOptionSharing && Me(n);
2596
+ const s = e === "active", o = this._cachedDataOpts, a = t + "-" + e, r = o[a], l = this.enableOptionSharing && ke(n);
2597
2597
  if (r)
2598
2598
  return is(r, l);
2599
2599
  const c = this.chart.config, h = c.datasetElementScopeKeys(this._type, t), d = s ? [
@@ -2744,7 +2744,7 @@ class Ct {
2744
2744
  ]);
2745
2745
  }
2746
2746
  }
2747
- C(Ct, "defaults", {}), C(Ct, "datasetElementType", null), C(Ct, "dataElementType", null);
2747
+ k(Ct, "defaults", {}), k(Ct, "datasetElementType", null), k(Ct, "dataElementType", null);
2748
2748
  function ml(i, t) {
2749
2749
  if (!i._cache.$bar) {
2750
2750
  const e = i.getMatchingVisibleMetas(t);
@@ -2759,7 +2759,7 @@ function bl(i) {
2759
2759
  const t = i.iScale, e = ml(t, i.type);
2760
2760
  let n = t._length, s, o, a, r;
2761
2761
  const l = () => {
2762
- a === 32767 || a === -32768 || (Me(r) && (n = Math.min(n, Math.abs(a - r) || n)), r = a);
2762
+ a === 32767 || a === -32768 || (ke(r) && (n = Math.min(n, Math.abs(a - r) || n)), r = a);
2763
2763
  };
2764
2764
  for (s = 0, o = e.length; s < o; ++s)
2765
2765
  a = t.getPixelForValue(e[s]), l();
@@ -2857,7 +2857,7 @@ function os(i, t, e) {
2857
2857
  function Ml(i, { inflateAmount: t }, e) {
2858
2858
  i.inflateAmount = t === "auto" ? e === 1 ? 0.33 : 0 : t;
2859
2859
  }
2860
- class ri extends Ct {
2860
+ class ai extends Ct {
2861
2861
  parsePrimitiveData(t, e, n, s) {
2862
2862
  return ns(t, e, n, s);
2863
2863
  }
@@ -2994,7 +2994,7 @@ class ri extends Ct {
2994
2994
  this.getParsed(o)[e.axis] !== null && n[o].draw(this._ctx);
2995
2995
  }
2996
2996
  }
2997
- C(ri, "id", "bar"), C(ri, "defaults", {
2997
+ k(ai, "id", "bar"), k(ai, "defaults", {
2998
2998
  datasetElementType: !1,
2999
2999
  dataElementType: "bar",
3000
3000
  categoryPercentage: 0.8,
@@ -3012,7 +3012,7 @@ C(ri, "id", "bar"), C(ri, "defaults", {
3012
3012
  ]
3013
3013
  }
3014
3014
  }
3015
- }), C(ri, "overrides", {
3015
+ }), k(ai, "overrides", {
3016
3016
  scales: {
3017
3017
  _index_: {
3018
3018
  type: "category",
@@ -3030,7 +3030,7 @@ C(ri, "id", "bar"), C(ri, "defaults", {
3030
3030
  function Cl(i, t, e) {
3031
3031
  let n = 1, s = 1, o = 0, a = 0;
3032
3032
  if (t < H) {
3033
- const r = i, l = r + t, c = Math.cos(r), h = Math.sin(r), d = Math.cos(l), u = Math.sin(l), f = (x, v, _) => Pe(x, r, l, !0) ? 1 : Math.max(v, v * e, _, _ * e), m = (x, v, _) => Pe(x, r, l, !0) ? -1 : Math.min(v, v * e, _, _ * e), p = f(0, c, d), g = f(Y, h, u), b = m(N, c, d), y = m(N + Y, h, u);
3033
+ const r = i, l = r + t, c = Math.cos(r), h = Math.sin(r), d = Math.cos(l), u = Math.sin(l), f = (x, v, _) => Ce(x, r, l, !0) ? 1 : Math.max(v, v * e, _, _ * e), m = (x, v, _) => Ce(x, r, l, !0) ? -1 : Math.min(v, v * e, _, _ * e), p = f(0, c, d), g = f(Y, h, u), b = m(N, c, d), y = m(N + Y, h, u);
3034
3034
  n = (p - b) / 2, s = (g - y) / 2, o = -(p + b) / 2, a = -(g + y) / 2;
3035
3035
  }
3036
3036
  return {
@@ -3163,7 +3163,7 @@ class ue extends Ct {
3163
3163
  return this._getRingWeightOffset(this.chart.data.datasets.length) || 1;
3164
3164
  }
3165
3165
  }
3166
- C(ue, "id", "doughnut"), C(ue, "defaults", {
3166
+ k(ue, "id", "doughnut"), k(ue, "defaults", {
3167
3167
  datasetElementType: !1,
3168
3168
  dataElementType: "arc",
3169
3169
  animation: {
@@ -3193,10 +3193,10 @@ C(ue, "id", "doughnut"), C(ue, "defaults", {
3193
3193
  radius: "100%",
3194
3194
  spacing: 0,
3195
3195
  indexAxis: "r"
3196
- }), C(ue, "descriptors", {
3196
+ }), k(ue, "descriptors", {
3197
3197
  _scriptable: (t) => t !== "spacing",
3198
3198
  _indexable: (t) => t !== "spacing" && !t.startsWith("borderDash") && !t.startsWith("hoverBorderDash")
3199
- }), C(ue, "overrides", {
3199
+ }), k(ue, "overrides", {
3200
3200
  aspectRatio: 1,
3201
3201
  plugins: {
3202
3202
  legend: {
@@ -3228,7 +3228,7 @@ C(ue, "id", "doughnut"), C(ue, "defaults", {
3228
3228
  }
3229
3229
  }
3230
3230
  });
3231
- class li extends Ct {
3231
+ class ri extends Ct {
3232
3232
  initialize() {
3233
3233
  this.enableOptionSharing = !0, this.supportsDecimation = !0, super.initialize();
3234
3234
  }
@@ -3243,16 +3243,16 @@ class li extends Ct {
3243
3243
  }, t), this.updateElements(s, r, l, t);
3244
3244
  }
3245
3245
  updateElements(t, e, n, s) {
3246
- const o = s === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, { sharedOptions: h, includeOptions: d } = this._getSharedOptions(e, s), u = a.axis, f = r.axis, { spanGaps: m, segment: p } = this.options, g = Ce(m) ? m : Number.POSITIVE_INFINITY, b = this.chart._animationsDisabled || o || s === "none", y = e + n, x = t.length;
3246
+ const o = s === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, { sharedOptions: h, includeOptions: d } = this._getSharedOptions(e, s), u = a.axis, f = r.axis, { spanGaps: m, segment: p } = this.options, g = Me(m) ? m : Number.POSITIVE_INFINITY, b = this.chart._animationsDisabled || o || s === "none", y = e + n, x = t.length;
3247
3247
  let v = e > 0 && this.getParsed(e - 1);
3248
3248
  for (let _ = 0; _ < x; ++_) {
3249
- const M = t[_], S = b ? M : {};
3249
+ const w = t[_], S = b ? w : {};
3250
3250
  if (_ < e || _ >= y) {
3251
3251
  S.skip = !0;
3252
3252
  continue;
3253
3253
  }
3254
- const k = this.getParsed(_), w = F(k[f]), P = S[u] = a.getPixelForValue(k[u], _), A = S[f] = o || w ? r.getBasePixel() : r.getPixelForValue(l ? this.applyStack(r, k, l) : k[f], _);
3255
- S.skip = isNaN(P) || isNaN(A) || w, S.stop = _ > 0 && Math.abs(k[u] - v[u]) > g, p && (S.parsed = k, S.raw = c.data[_]), d && (S.options = h || this.resolveDataElementOptions(_, M.active ? "active" : s)), b || this.updateElement(M, _, S, s), v = k;
3254
+ const M = this.getParsed(_), C = F(M[f]), P = S[u] = a.getPixelForValue(M[u], _), A = S[f] = o || C ? r.getBasePixel() : r.getPixelForValue(l ? this.applyStack(r, M, l) : M[f], _);
3255
+ S.skip = isNaN(P) || isNaN(A) || C, S.stop = _ > 0 && Math.abs(M[u] - v[u]) > g, p && (S.parsed = M, S.raw = c.data[_]), d && (S.options = h || this.resolveDataElementOptions(_, w.active ? "active" : s)), b || this.updateElement(w, _, S, s), v = M;
3256
3256
  }
3257
3257
  }
3258
3258
  getMaxOverflow() {
@@ -3267,12 +3267,12 @@ class li extends Ct {
3267
3267
  t.dataset.updateControlPoints(this.chart.chartArea, t.iScale.axis), super.draw();
3268
3268
  }
3269
3269
  }
3270
- C(li, "id", "line"), C(li, "defaults", {
3270
+ k(ri, "id", "line"), k(ri, "defaults", {
3271
3271
  datasetElementType: "line",
3272
3272
  dataElementType: "point",
3273
3273
  showLine: !0,
3274
3274
  spanGaps: !1
3275
- }), C(li, "overrides", {
3275
+ }), k(ri, "overrides", {
3276
3276
  scales: {
3277
3277
  _index_: {
3278
3278
  type: "category"
@@ -3282,7 +3282,7 @@ C(li, "id", "line"), C(li, "defaults", {
3282
3282
  }
3283
3283
  }
3284
3284
  });
3285
- class ci extends Ct {
3285
+ class li extends Ct {
3286
3286
  getLabelAndValue(t) {
3287
3287
  const e = this._cachedMeta.vScale, n = this.getParsed(t);
3288
3288
  return {
@@ -3321,7 +3321,7 @@ class ci extends Ct {
3321
3321
  }
3322
3322
  }
3323
3323
  }
3324
- C(ci, "id", "radar"), C(ci, "defaults", {
3324
+ k(li, "id", "radar"), k(li, "defaults", {
3325
3325
  datasetElementType: "line",
3326
3326
  dataElementType: "point",
3327
3327
  indexAxis: "r",
@@ -3331,7 +3331,7 @@ C(ci, "id", "radar"), C(ci, "defaults", {
3331
3331
  fill: "start"
3332
3332
  }
3333
3333
  }
3334
- }), C(ci, "overrides", {
3334
+ }), k(li, "overrides", {
3335
3335
  aspectRatio: 1,
3336
3336
  scales: {
3337
3337
  r: {
@@ -3344,7 +3344,7 @@ function It() {
3344
3344
  }
3345
3345
  class wn {
3346
3346
  constructor(t) {
3347
- C(this, "options");
3347
+ k(this, "options");
3348
3348
  this.options = t || {};
3349
3349
  }
3350
3350
  /**
@@ -3411,7 +3411,7 @@ function Al(i, t, e, n) {
3411
3411
  hi: o.length - 1
3412
3412
  };
3413
3413
  }
3414
- function We(i, t, e, n, s) {
3414
+ function ze(i, t, e, n, s) {
3415
3415
  const o = i.getSortedVisibleDatasetMetas(), a = e[t];
3416
3416
  for (let r = 0, l = o.length; r < l; ++r) {
3417
3417
  const { index: c, data: h } = o[r], { lo: d, hi: u } = Al(o[r], t, a, s);
@@ -3430,7 +3430,7 @@ function Dl(i) {
3430
3430
  }
3431
3431
  function Hi(i, t, e, n, s) {
3432
3432
  const o = [];
3433
- return !s && !i.isPointInArea(t) || We(i, e, t, function(r, l, c) {
3433
+ return !s && !i.isPointInArea(t) || ze(i, e, t, function(r, l, c) {
3434
3434
  !s && !_t(r, i.chartArea, 0) || r.inRange(t.x, t.y, n) && o.push({
3435
3435
  element: r,
3436
3436
  datasetIndex: l,
@@ -3448,13 +3448,13 @@ function Ll(i, t, e, n) {
3448
3448
  x: t.x,
3449
3449
  y: t.y
3450
3450
  });
3451
- Pe(d, c, h) && s.push({
3451
+ Ce(d, c, h) && s.push({
3452
3452
  element: a,
3453
3453
  datasetIndex: r,
3454
3454
  index: l
3455
3455
  });
3456
3456
  }
3457
- return We(i, e, t, o), s;
3457
+ return ze(i, e, t, o), s;
3458
3458
  }
3459
3459
  function Tl(i, t, e, n, s, o) {
3460
3460
  let a = [];
@@ -3480,7 +3480,7 @@ function Tl(i, t, e, n, s, o) {
3480
3480
  index: u
3481
3481
  });
3482
3482
  }
3483
- return We(i, e, t, c), a;
3483
+ return ze(i, e, t, c), a;
3484
3484
  }
3485
3485
  function Ni(i, t, e, n, s, o) {
3486
3486
  return !o && !i.isPointInArea(t) ? [] : e === "r" && !n ? Ll(i, t, e, s) : Tl(i, t, e, n, s, o);
@@ -3488,7 +3488,7 @@ function Ni(i, t, e, n, s, o) {
3488
3488
  function as(i, t, e, n, s) {
3489
3489
  const o = [], a = e === "x" ? "inXRange" : "inYRange";
3490
3490
  let r = !1;
3491
- return We(i, e, t, (l, c, h) => {
3491
+ return ze(i, e, t, (l, c, h) => {
3492
3492
  l[a](t[e], s) && (o.push({
3493
3493
  element: l,
3494
3494
  datasetIndex: c,
@@ -3497,7 +3497,7 @@ function as(i, t, e, n, s) {
3497
3497
  }), n && !r ? [] : o;
3498
3498
  }
3499
3499
  var Ol = {
3500
- evaluateInteractionItems: We,
3500
+ evaluateInteractionItems: ze,
3501
3501
  modes: {
3502
3502
  index(i, t, e, n) {
3503
3503
  const s = Rt(t, i), o = e.axis || "x", a = e.includeInvisible || !1, r = e.intersect ? Hi(i, s, o, n, a) : Ni(i, s, o, !1, n, a), l = [];
@@ -3678,7 +3678,7 @@ function fe(i, t, e, n) {
3678
3678
  }
3679
3679
  return c && fe(s, t, e, n) || h;
3680
3680
  }
3681
- function ti(i, t, e, n, s) {
3681
+ function Je(i, t, e, n, s) {
3682
3682
  i.top = e, i.left = t, i.right = t + n, i.bottom = e + s, i.width = n, i.height = s;
3683
3683
  }
3684
3684
  function cs(i, t, e, n) {
@@ -3692,10 +3692,10 @@ function cs(i, t, e, n) {
3692
3692
  }, h = r.stackWeight / c.weight || 1;
3693
3693
  if (r.horizontal) {
3694
3694
  const d = t.w * h, u = c.size || l.height;
3695
- Me(c.start) && (a = c.start), l.fullSize ? ti(l, s.left, a, e.outerWidth - s.right - s.left, u) : ti(l, t.left + c.placed, a, d, u), c.start = a, c.placed += d, a = l.bottom;
3695
+ ke(c.start) && (a = c.start), l.fullSize ? Je(l, s.left, a, e.outerWidth - s.right - s.left, u) : Je(l, t.left + c.placed, a, d, u), c.start = a, c.placed += d, a = l.bottom;
3696
3696
  } else {
3697
3697
  const d = t.h * h, u = c.size || l.width;
3698
- Me(c.start) && (o = c.start), l.fullSize ? ti(l, o, s.top, u, e.outerHeight - s.bottom - s.top) : ti(l, o, t.top + c.placed, u, d), c.start = o, c.placed += d, o = l.right;
3698
+ ke(c.start) && (o = c.start), l.fullSize ? Je(l, o, s.top, u, e.outerHeight - s.bottom - s.top) : Je(l, o, t.top + c.placed, u, d), c.start = o, c.placed += d, o = l.right;
3699
3699
  }
3700
3700
  }
3701
3701
  t.x = o, t.y = a;
@@ -3795,7 +3795,7 @@ class Hl extends Eo {
3795
3795
  t.options.animation = !1;
3796
3796
  }
3797
3797
  }
3798
- const hi = "$chartjs", Nl = {
3798
+ const ci = "$chartjs", Nl = {
3799
3799
  touchstart: "mousedown",
3800
3800
  touchmove: "mousemove",
3801
3801
  touchend: "mouseup",
@@ -3808,7 +3808,7 @@ const hi = "$chartjs", Nl = {
3808
3808
  }, hs = (i) => i === null || i === "";
3809
3809
  function Vl(i, t) {
3810
3810
  const e = i.style, n = i.getAttribute("height"), s = i.getAttribute("width");
3811
- if (i[hi] = {
3811
+ if (i[ci] = {
3812
3812
  initial: {
3813
3813
  height: n,
3814
3814
  width: s,
@@ -3879,19 +3879,19 @@ function Xl(i, t, e) {
3879
3879
  subtree: !0
3880
3880
  }), s;
3881
3881
  }
3882
- const De = /* @__PURE__ */ new Map();
3882
+ const Ae = /* @__PURE__ */ new Map();
3883
3883
  let ds = 0;
3884
3884
  function zo() {
3885
3885
  const i = window.devicePixelRatio;
3886
- i !== ds && (ds = i, De.forEach((t, e) => {
3886
+ i !== ds && (ds = i, Ae.forEach((t, e) => {
3887
3887
  e.currentDevicePixelRatio !== i && t();
3888
3888
  }));
3889
3889
  }
3890
3890
  function Gl(i, t) {
3891
- De.size || window.addEventListener("resize", zo), De.set(i, t);
3891
+ Ae.size || window.addEventListener("resize", zo), Ae.set(i, t);
3892
3892
  }
3893
3893
  function ql(i) {
3894
- De.delete(i), De.size || window.removeEventListener("resize", zo);
3894
+ Ae.delete(i), Ae.size || window.removeEventListener("resize", zo);
3895
3895
  }
3896
3896
  function Kl(i, t, e) {
3897
3897
  const n = i.canvas, s = n && Sn(n);
@@ -3922,9 +3922,9 @@ class Ql extends Eo {
3922
3922
  }
3923
3923
  releaseContext(t) {
3924
3924
  const e = t.canvas;
3925
- if (!e[hi])
3925
+ if (!e[ci])
3926
3926
  return !1;
3927
- const n = e[hi].initial;
3927
+ const n = e[ci].initial;
3928
3928
  [
3929
3929
  "height",
3930
3930
  "width"
@@ -3935,7 +3935,7 @@ class Ql extends Eo {
3935
3935
  const s = n.style || {};
3936
3936
  return Object.keys(s).forEach((o) => {
3937
3937
  e.style[o] = s[o];
3938
- }), e.width = e.width, delete e[hi], !0;
3938
+ }), e.width = e.width, delete e[ci], !0;
3939
3939
  }
3940
3940
  addEventListener(t, e, n) {
3941
3941
  this.removeEventListener(t, e);
@@ -3972,11 +3972,11 @@ function Jl(i) {
3972
3972
  }
3973
3973
  class at {
3974
3974
  constructor() {
3975
- C(this, "x");
3976
- C(this, "y");
3977
- C(this, "active", !1);
3978
- C(this, "options");
3979
- C(this, "$animations");
3975
+ k(this, "x");
3976
+ k(this, "y");
3977
+ k(this, "active", !1);
3978
+ k(this, "options");
3979
+ k(this, "$animations");
3980
3980
  }
3981
3981
  tooltipPosition(t) {
3982
3982
  const { x: e, y: n } = this.getProps([
@@ -3989,7 +3989,7 @@ class at {
3989
3989
  };
3990
3990
  }
3991
3991
  hasValue() {
3992
- return Ce(this.x) && Ce(this.y);
3992
+ return Me(this.x) && Me(this.y);
3993
3993
  }
3994
3994
  getProps(t, e) {
3995
3995
  const n = this.$animations;
@@ -4001,7 +4001,7 @@ class at {
4001
4001
  }), s;
4002
4002
  }
4003
4003
  }
4004
- C(at, "defaults", {}), C(at, "defaultRoutes");
4004
+ k(at, "defaults", {}), k(at, "defaultRoutes");
4005
4005
  function tc(i, t) {
4006
4006
  const e = i.options.ticks, n = ec(i), s = Math.min(e.maxTicksLimit || n, n), o = e.major.enabled ? nc(t) : [], a = o.length, r = o[0], l = o[a - 1], c = [];
4007
4007
  if (a > s)
@@ -4010,11 +4010,11 @@ function tc(i, t) {
4010
4010
  if (a > 0) {
4011
4011
  let d, u;
4012
4012
  const f = a > 1 ? Math.round((l - r) / (a - 1)) : null;
4013
- for (ei(t, c, h, F(f) ? 0 : r - f, r), d = 0, u = a - 1; d < u; d++)
4014
- ei(t, c, h, o[d], o[d + 1]);
4015
- return ei(t, c, h, l, F(f) ? t.length : l + f), c;
4013
+ for (ti(t, c, h, F(f) ? 0 : r - f, r), d = 0, u = a - 1; d < u; d++)
4014
+ ti(t, c, h, o[d], o[d + 1]);
4015
+ return ti(t, c, h, l, F(f) ? t.length : l + f), c;
4016
4016
  }
4017
- return ei(t, c, h), c;
4017
+ return ti(t, c, h), c;
4018
4018
  }
4019
4019
  function ec(i) {
4020
4020
  const t = i.options.offset, e = i._tickSize(), n = i._length / e + (t ? 0 : 1), s = i._maxLength / e;
@@ -4044,7 +4044,7 @@ function sc(i, t, e, n) {
4044
4044
  for (n = Math.ceil(n), a = 0; a < i.length; a++)
4045
4045
  a === o && (t.push(i[a]), s++, o = e[s * n]);
4046
4046
  }
4047
- function ei(i, t, e, n, s) {
4047
+ function ti(i, t, e, n, s) {
4048
4048
  const o = L(n, 0), a = Math.min(L(s, i.length), i.length);
4049
4049
  let r = 0, l, c, h;
4050
4050
  for (e = Math.ceil(e), s && (l = s - n, e = l / Math.floor(l / e)), h = o; h < 0; )
@@ -4384,15 +4384,15 @@ class jt extends at {
4384
4384
  a.push(x), r.push(v), c = Math.max(x, c), h = Math.max(v, h);
4385
4385
  }
4386
4386
  lc(o, e);
4387
- const M = a.indexOf(c), S = r.indexOf(h), k = (w) => ({
4388
- width: a[w] || 0,
4389
- height: r[w] || 0
4387
+ const w = a.indexOf(c), S = r.indexOf(h), M = (C) => ({
4388
+ width: a[C] || 0,
4389
+ height: r[C] || 0
4390
4390
  });
4391
4391
  return {
4392
- first: k(0),
4393
- last: k(e - 1),
4394
- widest: k(M),
4395
- highest: k(S),
4392
+ first: M(0),
4393
+ last: M(e - 1),
4394
+ widest: M(w),
4395
+ highest: M(S),
4396
4396
  widths: a,
4397
4397
  heights: r
4398
4398
  };
@@ -4445,15 +4445,15 @@ class jt extends at {
4445
4445
  const e = this.axis, n = this.chart, s = this.options, { grid: o, position: a, border: r } = s, l = o.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), u = ce(o), f = [], m = r.setContext(this.getContext()), p = m.display ? m.width : 0, g = p / 2, b = function(R) {
4446
4446
  return Ot(n, R, p);
4447
4447
  };
4448
- let y, x, v, _, M, S, k, w, P, A, D, E;
4448
+ let y, x, v, _, w, S, M, C, P, A, D, E;
4449
4449
  if (a === "top")
4450
- y = b(this.bottom), S = this.bottom - u, w = y - g, A = b(t.top) + g, E = t.bottom;
4450
+ y = b(this.bottom), S = this.bottom - u, C = y - g, A = b(t.top) + g, E = t.bottom;
4451
4451
  else if (a === "bottom")
4452
- y = b(this.top), A = t.top, E = b(t.bottom) - g, S = y + g, w = this.top + u;
4452
+ y = b(this.top), A = t.top, E = b(t.bottom) - g, S = y + g, C = this.top + u;
4453
4453
  else if (a === "left")
4454
- y = b(this.right), M = this.right - u, k = y - g, P = b(t.left) + g, D = t.right;
4454
+ y = b(this.right), w = this.right - u, M = y - g, P = b(t.left) + g, D = t.right;
4455
4455
  else if (a === "right")
4456
- y = b(this.left), P = t.left, D = b(t.right) - g, M = y + g, k = this.left + u;
4456
+ y = b(this.left), P = t.left, D = b(t.right) - g, w = y + g, M = this.left + u;
4457
4457
  else if (e === "x") {
4458
4458
  if (a === "center")
4459
4459
  y = b((t.top + t.bottom) / 2 + 0.5);
@@ -4461,7 +4461,7 @@ class jt extends at {
4461
4461
  const R = Object.keys(a)[0], $ = a[R];
4462
4462
  y = b(this.chart.scales[R].getPixelForValue($));
4463
4463
  }
4464
- A = t.top, E = t.bottom, S = y + g, w = S + u;
4464
+ A = t.top, E = t.bottom, S = y + g, C = S + u;
4465
4465
  } else if (e === "y") {
4466
4466
  if (a === "center")
4467
4467
  y = b((t.left + t.right) / 2);
@@ -4469,23 +4469,23 @@ class jt extends at {
4469
4469
  const R = Object.keys(a)[0], $ = a[R];
4470
4470
  y = b(this.chart.scales[R].getPixelForValue($));
4471
4471
  }
4472
- M = y - g, k = M - u, P = t.left, D = t.right;
4472
+ w = y - g, M = w - u, P = t.left, D = t.right;
4473
4473
  }
4474
4474
  const G = L(s.ticks.maxTicksLimit, d), O = Math.max(1, Math.ceil(d / G));
4475
4475
  for (x = 0; x < d; x += O) {
4476
- const R = this.getContext(x), $ = o.setContext(R), ot = r.setContext(R), q = $.lineWidth, $t = $.color, Ue = ot.dash || [], Yt = ot.dashOffset, ie = $.tickWidth, ne = $.tickColor, se = $.tickBorderDash || [], oe = $.tickBorderDashOffset;
4477
- v = rc(this, x, l), v !== void 0 && (_ = Ot(n, v, q), c ? M = k = P = D = _ : S = w = A = E = _, f.push({
4478
- tx1: M,
4476
+ const R = this.getContext(x), $ = o.setContext(R), ot = r.setContext(R), q = $.lineWidth, $t = $.color, Ye = ot.dash || [], Yt = ot.dashOffset, ie = $.tickWidth, ne = $.tickColor, se = $.tickBorderDash || [], oe = $.tickBorderDashOffset;
4477
+ v = rc(this, x, l), v !== void 0 && (_ = Ot(n, v, q), c ? w = M = P = D = _ : S = C = A = E = _, f.push({
4478
+ tx1: w,
4479
4479
  ty1: S,
4480
- tx2: k,
4481
- ty2: w,
4480
+ tx2: M,
4481
+ ty2: C,
4482
4482
  x1: P,
4483
4483
  y1: A,
4484
4484
  x2: D,
4485
4485
  y2: E,
4486
4486
  width: q,
4487
4487
  color: $t,
4488
- borderDash: Ue,
4488
+ borderDash: Ye,
4489
4489
  borderDashOffset: Yt,
4490
4490
  tickWidth: ie,
4491
4491
  tickColor: ne,
@@ -4497,11 +4497,11 @@ class jt extends at {
4497
4497
  }
4498
4498
  _computeLabelItems(t) {
4499
4499
  const e = this.axis, n = this.options, { position: s, ticks: o } = n, a = this.isHorizontal(), r = this.ticks, { align: l, crossAlign: c, padding: h, mirror: d } = o, u = ce(n.grid), f = u + h, m = d ? -h : f, p = -ht(this.labelRotation), g = [];
4500
- let b, y, x, v, _, M, S, k, w, P, A, D, E = "middle";
4500
+ let b, y, x, v, _, w, S, M, C, P, A, D, E = "middle";
4501
4501
  if (s === "top")
4502
- M = this.bottom - m, S = this._getXAxisLabelAlignment();
4502
+ w = this.bottom - m, S = this._getXAxisLabelAlignment();
4503
4503
  else if (s === "bottom")
4504
- M = this.top + m, S = this._getXAxisLabelAlignment();
4504
+ w = this.top + m, S = this._getXAxisLabelAlignment();
4505
4505
  else if (s === "left") {
4506
4506
  const O = this._getYAxisLabelAlignment(u);
4507
4507
  S = O.textAlign, _ = O.x;
@@ -4510,10 +4510,10 @@ class jt extends at {
4510
4510
  S = O.textAlign, _ = O.x;
4511
4511
  } else if (e === "x") {
4512
4512
  if (s === "center")
4513
- M = (t.top + t.bottom) / 2 + f;
4513
+ w = (t.top + t.bottom) / 2 + f;
4514
4514
  else if (T(s)) {
4515
4515
  const O = Object.keys(s)[0], R = s[O];
4516
- M = this.chart.scales[O].getPixelForValue(R) + f;
4516
+ w = this.chart.scales[O].getPixelForValue(R) + f;
4517
4517
  }
4518
4518
  S = this._getXAxisLabelAlignment();
4519
4519
  } else if (e === "y") {
@@ -4530,11 +4530,11 @@ class jt extends at {
4530
4530
  for (b = 0, y = r.length; b < y; ++b) {
4531
4531
  x = r[b], v = x.label;
4532
4532
  const O = o.setContext(this.getContext(b));
4533
- k = this.getPixelForTick(b) + o.labelOffset, w = this._resolveTickFontOptions(b), P = w.lineHeight, A = W(v) ? v.length : 1;
4533
+ M = this.getPixelForTick(b) + o.labelOffset, C = this._resolveTickFontOptions(b), P = C.lineHeight, A = W(v) ? v.length : 1;
4534
4534
  const R = A / 2, $ = O.color, ot = O.textStrokeColor, q = O.textStrokeWidth;
4535
4535
  let $t = S;
4536
- a ? (_ = k, S === "inner" && (b === y - 1 ? $t = this.options.reverse ? "left" : "right" : b === 0 ? $t = this.options.reverse ? "right" : "left" : $t = "center"), s === "top" ? c === "near" || p !== 0 ? D = -A * P + P / 2 : c === "center" ? D = -G.highest.height / 2 - R * P + P : D = -G.highest.height + P / 2 : c === "near" || p !== 0 ? D = P / 2 : c === "center" ? D = G.highest.height / 2 - R * P : D = G.highest.height - A * P, d && (D *= -1), p !== 0 && !O.showLabelBackdrop && (_ += P / 2 * Math.sin(p))) : (M = k, D = (1 - A) * P / 2);
4537
- let Ue;
4536
+ a ? (_ = M, S === "inner" && (b === y - 1 ? $t = this.options.reverse ? "left" : "right" : b === 0 ? $t = this.options.reverse ? "right" : "left" : $t = "center"), s === "top" ? c === "near" || p !== 0 ? D = -A * P + P / 2 : c === "center" ? D = -G.highest.height / 2 - R * P + P : D = -G.highest.height + P / 2 : c === "near" || p !== 0 ? D = P / 2 : c === "center" ? D = G.highest.height / 2 - R * P : D = G.highest.height - A * P, d && (D *= -1), p !== 0 && !O.showLabelBackdrop && (_ += P / 2 * Math.sin(p))) : (w = M, D = (1 - A) * P / 2);
4537
+ let Ye;
4538
4538
  if (O.showLabelBackdrop) {
4539
4539
  const Yt = Q(O.backdropPadding), ie = G.heights[b], ne = G.widths[b];
4540
4540
  let se = D - Yt.top, oe = 0 - Yt.left;
@@ -4554,7 +4554,7 @@ class jt extends at {
4554
4554
  oe -= ne;
4555
4555
  break;
4556
4556
  }
4557
- Ue = {
4557
+ Ye = {
4558
4558
  left: oe,
4559
4559
  top: se,
4560
4560
  width: ne + Yt.width,
@@ -4564,7 +4564,7 @@ class jt extends at {
4564
4564
  }
4565
4565
  g.push({
4566
4566
  label: v,
4567
- font: w,
4567
+ font: C,
4568
4568
  textOffset: D,
4569
4569
  options: {
4570
4570
  rotation: p,
@@ -4575,9 +4575,9 @@ class jt extends at {
4575
4575
  textBaseline: E,
4576
4576
  translation: [
4577
4577
  _,
4578
- M
4578
+ w
4579
4579
  ],
4580
- backdrop: Ue
4580
+ backdrop: Ye
4581
4581
  }
4582
4582
  });
4583
4583
  }
@@ -4748,7 +4748,7 @@ class jt extends at {
4748
4748
  return (this.isHorizontal() ? this.width : this.height) / t;
4749
4749
  }
4750
4750
  }
4751
- class ii {
4751
+ class ei {
4752
4752
  constructor(t, e, n) {
4753
4753
  this.type = t, this.scope = e, this.override = n, this.items = /* @__PURE__ */ Object.create(null);
4754
4754
  }
@@ -4773,7 +4773,7 @@ class ii {
4773
4773
  }
4774
4774
  }
4775
4775
  function fc(i, t, e) {
4776
- const n = ke(/* @__PURE__ */ Object.create(null), [
4776
+ const n = we(/* @__PURE__ */ Object.create(null), [
4777
4777
  e ? j.get(e) : {},
4778
4778
  j.get(t),
4779
4779
  i.defaults
@@ -4793,7 +4793,7 @@ function pc(i) {
4793
4793
  }
4794
4794
  class mc {
4795
4795
  constructor() {
4796
- this.controllers = new ii(Ct, "datasets", !0), this.elements = new ii(at, "elements"), this.plugins = new ii(Object, "plugins"), this.scales = new ii(jt, "scales"), this._typedRegistries = [
4796
+ this.controllers = new ei(Ct, "datasets", !0), this.elements = new ei(at, "elements"), this.plugins = new ei(Object, "plugins"), this.scales = new ei(jt, "scales"), this._typedRegistries = [
4797
4797
  this.controllers,
4798
4798
  this.scales,
4799
4799
  this.elements
@@ -5048,7 +5048,7 @@ function Pc(i) {
5048
5048
  return i = i || {}, i.data = Ho(i.data), Wo(i), i;
5049
5049
  }
5050
5050
  const ys = /* @__PURE__ */ new Map(), No = /* @__PURE__ */ new Set();
5051
- function ni(i, t) {
5051
+ function ii(i, t) {
5052
5052
  let e = ys.get(i);
5053
5053
  return e || (e = t(), ys.set(i, e), No.add(e)), e;
5054
5054
  }
@@ -5092,7 +5092,7 @@ class Ac {
5092
5092
  this._scopeCache.clear(), this._resolverCache.clear();
5093
5093
  }
5094
5094
  datasetScopeKeys(t) {
5095
- return ni(t, () => [
5095
+ return ii(t, () => [
5096
5096
  [
5097
5097
  `datasets.${t}`,
5098
5098
  ""
@@ -5100,7 +5100,7 @@ class Ac {
5100
5100
  ]);
5101
5101
  }
5102
5102
  datasetAnimationScopeKeys(t, e) {
5103
- return ni(`${t}.transition.${e}`, () => [
5103
+ return ii(`${t}.transition.${e}`, () => [
5104
5104
  [
5105
5105
  `datasets.${t}.transitions.${e}`,
5106
5106
  `transitions.${e}`
@@ -5112,7 +5112,7 @@ class Ac {
5112
5112
  ]);
5113
5113
  }
5114
5114
  datasetElementScopeKeys(t, e) {
5115
- return ni(`${t}-${e}`, () => [
5115
+ return ii(`${t}-${e}`, () => [
5116
5116
  [
5117
5117
  `datasets.${t}.elements.${e}`,
5118
5118
  `datasets.${t}`,
@@ -5123,7 +5123,7 @@ class Ac {
5123
5123
  }
5124
5124
  pluginScopeKeys(t) {
5125
5125
  const e = t.id, n = this.type;
5126
- return ni(`${n}-plugin-${e}`, () => [
5126
+ return ii(`${n}-plugin-${e}`, () => [
5127
5127
  [
5128
5128
  `plugins.${e}`,
5129
5129
  ...t.additionalOptionScopes || []
@@ -5233,9 +5233,9 @@ function Ic(i) {
5233
5233
  function Vo(i) {
5234
5234
  return Mo() && typeof i == "string" ? i = document.getElementById(i) : i && i.length && (i = i[0]), i && i.canvas && (i = i.canvas), i;
5235
5235
  }
5236
- const di = {}, ws = (i) => {
5236
+ const hi = {}, ws = (i) => {
5237
5237
  const t = Vo(i);
5238
- return Object.values(di).filter((e) => e.canvas === t).pop();
5238
+ return Object.values(hi).filter((e) => e.canvas === t).pop();
5239
5239
  };
5240
5240
  function Fc(i, t, e) {
5241
5241
  const n = Object.keys(i);
@@ -5250,16 +5250,16 @@ function Fc(i, t, e) {
5250
5250
  function Rc(i, t, e, n) {
5251
5251
  return !e || i.type === "mouseout" ? null : n ? t : i;
5252
5252
  }
5253
- function si(i, t, e) {
5253
+ function ni(i, t, e) {
5254
5254
  return i.options.clip ? i[e] : t[e];
5255
5255
  }
5256
5256
  function Ec(i, t) {
5257
5257
  const { xScale: e, yScale: n } = i;
5258
5258
  return e && n ? {
5259
- left: si(e, t, "left"),
5260
- right: si(e, t, "right"),
5261
- top: si(n, t, "top"),
5262
- bottom: si(n, t, "bottom")
5259
+ left: ni(e, t, "left"),
5260
+ right: ni(e, t, "right"),
5261
+ top: ni(n, t, "top"),
5262
+ bottom: ni(n, t, "bottom")
5263
5263
  } : t;
5264
5264
  }
5265
5265
  var vt;
@@ -5277,7 +5277,7 @@ let Lt = (vt = class {
5277
5277
  const a = n.createResolver(n.chartOptionScopes(), this.getContext());
5278
5278
  this.platform = new (n.platform || Jl(s))(), this.platform.updateConfig(n);
5279
5279
  const r = this.platform.acquireContext(s, a.aspectRatio), l = r && r.canvas, c = l && l.height, h = l && l.width;
5280
- if (this.id = Ea(), this.ctx = r, this.canvas = l, this.width = h, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new bc(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Qa((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], di[this.id] = this, !r || !l) {
5280
+ if (this.id = Ea(), this.ctx = r, this.canvas = l, this.width = h, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new bc(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Qa((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], hi[this.id] = this, !r || !l) {
5281
5281
  console.error("Failed to create chart: can't acquire context from the given item");
5282
5282
  return;
5283
5283
  }
@@ -5611,7 +5611,7 @@ let Lt = (vt = class {
5611
5611
  }
5612
5612
  _updateVisibility(t, e, n) {
5613
5613
  const s = n ? "show" : "hide", o = this.getDatasetMeta(t), a = o.controller._resolveAnimations(void 0, s);
5614
- Me(e) ? (o.data[e].hidden = !n, this.update()) : (this.setDatasetVisibility(t, n), a.update(o, {
5614
+ ke(e) ? (o.data[e].hidden = !n, this.update()) : (this.setDatasetVisibility(t, n), a.update(o, {
5615
5615
  visible: n
5616
5616
  }), this.update((r) => r.datasetIndex === t ? s : void 0));
5617
5617
  }
@@ -5633,7 +5633,7 @@ let Lt = (vt = class {
5633
5633
  destroy() {
5634
5634
  this.notifyPlugins("beforeDestroy");
5635
5635
  const { canvas: t, ctx: e } = this;
5636
- this._stop(), this.config.clearCache(), t && (this.unbindEvents(), Vn(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete di[this.id], this.notifyPlugins("afterDestroy");
5636
+ this._stop(), this.config.clearCache(), t && (this.unbindEvents(), Vn(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete hi[this.id], this.notifyPlugins("afterDestroy");
5637
5637
  }
5638
5638
  toBase64Image(...t) {
5639
5639
  return this.canvas.toDataURL(...t);
@@ -5742,7 +5742,7 @@ let Lt = (vt = class {
5742
5742
  const o = this.options.hover;
5743
5743
  return this.getElementsAtEventForMode(t, o.mode, o, s);
5744
5744
  }
5745
- }, C(vt, "defaults", j), C(vt, "instances", di), C(vt, "overrides", Ht), C(vt, "registry", ct), C(vt, "version", Tc), C(vt, "getChart", ws), vt);
5745
+ }, k(vt, "defaults", j), k(vt, "instances", hi), k(vt, "overrides", Ht), k(vt, "registry", ct), k(vt, "version", Tc), k(vt, "getChart", ws), vt);
5746
5746
  function ks() {
5747
5747
  return I(Lt.instances, (i) => i._plugins.invalidate());
5748
5748
  }
@@ -5785,31 +5785,31 @@ function yi(i, t, e, n, s, o) {
5785
5785
  const O = h > 0 ? h - n : 0, R = d > 0 ? d - n : 0, $ = (O + R) / 2, ot = $ !== 0 ? m * $ / ($ + n) : m;
5786
5786
  f = (m - ot) / 2;
5787
5787
  }
5788
- const p = Math.max(1e-3, m * d - e / N) / d, g = (m - p) / 2, b = l + g + f, y = s - g - f, { outerStart: x, outerEnd: v, innerStart: _, innerEnd: M } = Wc(t, u, d, y - b), S = d - x, k = d - v, w = b + x / S, P = y - v / k, A = u + _, D = u + M, E = b + _ / A, G = y - M / D;
5788
+ const p = Math.max(1e-3, m * d - e / N) / d, g = (m - p) / 2, b = l + g + f, y = s - g - f, { outerStart: x, outerEnd: v, innerStart: _, innerEnd: w } = Wc(t, u, d, y - b), S = d - x, M = d - v, C = b + x / S, P = y - v / M, A = u + _, D = u + w, E = b + _ / A, G = y - w / D;
5789
5789
  if (i.beginPath(), o) {
5790
- const O = (w + P) / 2;
5791
- if (i.arc(a, r, d, w, O), i.arc(a, r, d, O, P), v > 0) {
5792
- const q = Xt(k, P, a, r);
5790
+ const O = (C + P) / 2;
5791
+ if (i.arc(a, r, d, C, O), i.arc(a, r, d, O, P), v > 0) {
5792
+ const q = Xt(M, P, a, r);
5793
5793
  i.arc(q.x, q.y, v, P, y + Y);
5794
5794
  }
5795
5795
  const R = Xt(D, y, a, r);
5796
- if (i.lineTo(R.x, R.y), M > 0) {
5796
+ if (i.lineTo(R.x, R.y), w > 0) {
5797
5797
  const q = Xt(D, G, a, r);
5798
- i.arc(q.x, q.y, M, y + Y, G + Math.PI);
5798
+ i.arc(q.x, q.y, w, y + Y, G + Math.PI);
5799
5799
  }
5800
- const $ = (y - M / u + (b + _ / u)) / 2;
5801
- if (i.arc(a, r, u, y - M / u, $, !0), i.arc(a, r, u, $, b + _ / u, !0), _ > 0) {
5800
+ const $ = (y - w / u + (b + _ / u)) / 2;
5801
+ if (i.arc(a, r, u, y - w / u, $, !0), i.arc(a, r, u, $, b + _ / u, !0), _ > 0) {
5802
5802
  const q = Xt(A, E, a, r);
5803
5803
  i.arc(q.x, q.y, _, E + Math.PI, b - Y);
5804
5804
  }
5805
5805
  const ot = Xt(S, b, a, r);
5806
5806
  if (i.lineTo(ot.x, ot.y), x > 0) {
5807
- const q = Xt(S, w, a, r);
5808
- i.arc(q.x, q.y, x, b - Y, w);
5807
+ const q = Xt(S, C, a, r);
5808
+ i.arc(q.x, q.y, x, b - Y, C);
5809
5809
  }
5810
5810
  } else {
5811
5811
  i.moveTo(a, r);
5812
- const O = Math.cos(w) * d + a, R = Math.sin(w) * d + r;
5812
+ const O = Math.cos(C) * d + a, R = Math.sin(C) * d + r;
5813
5813
  i.lineTo(O, R);
5814
5814
  const $ = Math.cos(P) * d + a, ot = Math.sin(P) * d + r;
5815
5815
  i.lineTo($, ot);
@@ -5844,13 +5844,13 @@ function Nc(i, t, e, n, s) {
5844
5844
  class ge extends at {
5845
5845
  constructor(e) {
5846
5846
  super();
5847
- C(this, "circumference");
5848
- C(this, "endAngle");
5849
- C(this, "fullCircles");
5850
- C(this, "innerRadius");
5851
- C(this, "outerRadius");
5852
- C(this, "pixelMargin");
5853
- C(this, "startAngle");
5847
+ k(this, "circumference");
5848
+ k(this, "endAngle");
5849
+ k(this, "fullCircles");
5850
+ k(this, "innerRadius");
5851
+ k(this, "outerRadius");
5852
+ k(this, "pixelMargin");
5853
+ k(this, "startAngle");
5854
5854
  this.options = void 0, this.circumference = void 0, this.startAngle = void 0, this.endAngle = void 0, this.innerRadius = void 0, this.outerRadius = void 0, this.pixelMargin = 0, this.fullCircles = 0, e && Object.assign(this, e);
5855
5855
  }
5856
5856
  inRange(e, n, s) {
@@ -5866,7 +5866,7 @@ class ge extends at {
5866
5866
  "innerRadius",
5867
5867
  "outerRadius",
5868
5868
  "circumference"
5869
- ], s), f = (this.options.spacing + this.options.borderWidth) / 2, p = L(u, c - l) >= H || Pe(a, l, c), g = xt(r, h + f, d + f);
5869
+ ], s), f = (this.options.spacing + this.options.borderWidth) / 2, p = L(u, c - l) >= H || Ce(a, l, c), g = xt(r, h + f, d + f);
5870
5870
  return p && g;
5871
5871
  }
5872
5872
  getCenterPoint(e) {
@@ -5897,7 +5897,7 @@ class ge extends at {
5897
5897
  e.fillStyle = n.backgroundColor, e.strokeStyle = n.borderColor, Hc(e, this, h, a, r), Nc(e, this, h, a, r), e.restore();
5898
5898
  }
5899
5899
  }
5900
- C(ge, "id", "arc"), C(ge, "defaults", {
5900
+ k(ge, "id", "arc"), k(ge, "defaults", {
5901
5901
  borderAlign: "center",
5902
5902
  borderColor: "#fff",
5903
5903
  borderDash: [],
@@ -5909,9 +5909,9 @@ C(ge, "id", "arc"), C(ge, "defaults", {
5909
5909
  spacing: 0,
5910
5910
  angle: void 0,
5911
5911
  circular: !0
5912
- }), C(ge, "defaultRoutes", {
5912
+ }), k(ge, "defaultRoutes", {
5913
5913
  backgroundColor: "backgroundColor"
5914
- }), C(ge, "descriptors", {
5914
+ }), k(ge, "descriptors", {
5915
5915
  _scriptable: !0,
5916
5916
  _indexable: (e) => e !== "borderDash"
5917
5917
  });
@@ -5949,8 +5949,8 @@ function Yc(i, t, e, n) {
5949
5949
  for (l && (f = s[y(0)], i.moveTo(f.x, f.y)), u = 0; u <= r; ++u) {
5950
5950
  if (f = s[y(u)], f.skip)
5951
5951
  continue;
5952
- const v = f.x, _ = f.y, M = v | 0;
5953
- M === m ? (_ < p ? p = _ : _ > g && (g = _), h = (d * h + v) / ++d) : (x(), i.lineTo(v, _), m = M, d = 0, p = g = _), b = _;
5952
+ const v = f.x, _ = f.y, w = v | 0;
5953
+ w === m ? (_ < p ? p = _ : _ > g && (g = _), h = (d * h + v) / ++d) : (x(), i.lineTo(v, _), m = w, d = 0, p = g = _), b = _;
5954
5954
  }
5955
5955
  x();
5956
5956
  }
@@ -6045,7 +6045,7 @@ class dt extends at {
6045
6045
  (this.points || []).length && o.borderWidth && (t.save(), Kc(t, this, n, s), t.restore()), this.animated && (this._pointsUpdated = !1, this._path = void 0);
6046
6046
  }
6047
6047
  }
6048
- C(dt, "id", "line"), C(dt, "defaults", {
6048
+ k(dt, "id", "line"), k(dt, "defaults", {
6049
6049
  borderCapStyle: "butt",
6050
6050
  borderDash: [],
6051
6051
  borderDashOffset: 0,
@@ -6057,10 +6057,10 @@ C(dt, "id", "line"), C(dt, "defaults", {
6057
6057
  spanGaps: !1,
6058
6058
  stepped: !1,
6059
6059
  tension: 0
6060
- }), C(dt, "defaultRoutes", {
6060
+ }), k(dt, "defaultRoutes", {
6061
6061
  backgroundColor: "backgroundColor",
6062
6062
  borderColor: "borderColor"
6063
- }), C(dt, "descriptors", {
6063
+ }), k(dt, "descriptors", {
6064
6064
  _scriptable: !0,
6065
6065
  _indexable: (t) => t !== "borderDash" && t !== "fill"
6066
6066
  });
@@ -6073,9 +6073,9 @@ function Ms(i, t, e, n) {
6073
6073
  class Kt extends at {
6074
6074
  constructor(e) {
6075
6075
  super();
6076
- C(this, "parsed");
6077
- C(this, "skip");
6078
- C(this, "stop");
6076
+ k(this, "parsed");
6077
+ k(this, "skip");
6078
+ k(this, "stop");
6079
6079
  this.options = void 0, this.parsed = void 0, this.skip = void 0, this.stop = void 0, e && Object.assign(this, e);
6080
6080
  }
6081
6081
  inRange(e, n, s) {
@@ -6117,10 +6117,10 @@ class Kt extends at {
6117
6117
  return e.radius + e.hitRadius;
6118
6118
  }
6119
6119
  }
6120
- C(Kt, "id", "point"), /**
6120
+ k(Kt, "id", "point"), /**
6121
6121
  * @type {any}
6122
6122
  */
6123
- C(Kt, "defaults", {
6123
+ k(Kt, "defaults", {
6124
6124
  borderWidth: 1,
6125
6125
  hitRadius: 1,
6126
6126
  hoverBorderWidth: 1,
@@ -6131,7 +6131,7 @@ C(Kt, "defaults", {
6131
6131
  }), /**
6132
6132
  * @type {any}
6133
6133
  */
6134
- C(Kt, "defaultRoutes", {
6134
+ k(Kt, "defaultRoutes", {
6135
6135
  backgroundColor: "backgroundColor",
6136
6136
  borderColor: "borderColor"
6137
6137
  });
@@ -6223,7 +6223,7 @@ class ve extends at {
6223
6223
  super(), this.options = void 0, this.horizontal = void 0, this.base = void 0, this.width = void 0, this.height = void 0, this.inflateAmount = void 0, t && Object.assign(this, t);
6224
6224
  }
6225
6225
  draw(t) {
6226
- const { inflateAmount: e, options: { borderColor: n, backgroundColor: s } } = this, { inner: o, outer: a } = Jc(this), r = th(a.radius) ? Ae : eh;
6226
+ const { inflateAmount: e, options: { borderColor: n, backgroundColor: s } } = this, { inner: o, outer: a } = Jc(this), r = th(a.radius) ? Pe : eh;
6227
6227
  t.save(), (a.w !== o.w || a.h !== o.h) && (t.beginPath(), r(t, $i(a, e, o)), t.clip(), r(t, $i(o, -e, a)), t.fillStyle = n, t.fill("evenodd")), t.beginPath(), r(t, $i(o, e)), t.fillStyle = s, t.fill(), t.restore();
6228
6228
  }
6229
6229
  inRange(t, e, n) {
@@ -6251,13 +6251,13 @@ class ve extends at {
6251
6251
  return t === "x" ? this.width / 2 : this.height / 2;
6252
6252
  }
6253
6253
  }
6254
- C(ve, "id", "bar"), C(ve, "defaults", {
6254
+ k(ve, "id", "bar"), k(ve, "defaults", {
6255
6255
  borderSkipped: "start",
6256
6256
  borderWidth: 0,
6257
6257
  borderRadius: 0,
6258
6258
  inflateAmount: "auto",
6259
6259
  pointStyle: void 0
6260
- }), C(ve, "defaultRoutes", {
6260
+ }), k(ve, "defaultRoutes", {
6261
6261
  backgroundColor: "backgroundColor",
6262
6262
  borderColor: "borderColor"
6263
6263
  });
@@ -6727,34 +6727,34 @@ class Os extends at {
6727
6727
  const { options: t, columnSizes: e, lineWidths: n, ctx: s } = this, { align: o, labels: a } = t, r = j.color, l = qt(t.rtl, this.left, this.width), c = U(a.font), { padding: h } = a, d = c.size, u = d / 2;
6728
6728
  let f;
6729
6729
  this.drawTitle(), s.textAlign = l.textAlign("left"), s.textBaseline = "middle", s.lineWidth = 0.5, s.font = c.string;
6730
- const { boxWidth: m, boxHeight: p, itemHeight: g } = Ts(a, d), b = function(M, S, k) {
6730
+ const { boxWidth: m, boxHeight: p, itemHeight: g } = Ts(a, d), b = function(w, S, M) {
6731
6731
  if (isNaN(m) || m <= 0 || isNaN(p) || p < 0)
6732
6732
  return;
6733
6733
  s.save();
6734
- const w = L(k.lineWidth, 1);
6735
- if (s.fillStyle = L(k.fillStyle, r), s.lineCap = L(k.lineCap, "butt"), s.lineDashOffset = L(k.lineDashOffset, 0), s.lineJoin = L(k.lineJoin, "miter"), s.lineWidth = w, s.strokeStyle = L(k.strokeStyle, r), s.setLineDash(L(k.lineDash, [])), a.usePointStyle) {
6734
+ const C = L(M.lineWidth, 1);
6735
+ if (s.fillStyle = L(M.fillStyle, r), s.lineCap = L(M.lineCap, "butt"), s.lineDashOffset = L(M.lineDashOffset, 0), s.lineJoin = L(M.lineJoin, "miter"), s.lineWidth = C, s.strokeStyle = L(M.strokeStyle, r), s.setLineDash(L(M.lineDash, [])), a.usePointStyle) {
6736
6736
  const P = {
6737
6737
  radius: p * Math.SQRT2 / 2,
6738
- pointStyle: k.pointStyle,
6739
- rotation: k.rotation,
6740
- borderWidth: w
6741
- }, A = l.xPlus(M, m / 2), D = S + u;
6738
+ pointStyle: M.pointStyle,
6739
+ rotation: M.rotation,
6740
+ borderWidth: C
6741
+ }, A = l.xPlus(w, m / 2), D = S + u;
6742
6742
  yo(s, P, A, D, a.pointStyleWidth && m);
6743
6743
  } else {
6744
- const P = S + Math.max((d - p) / 2, 0), A = l.leftForLtr(M, m), D = zt(k.borderRadius);
6745
- s.beginPath(), Object.values(D).some((E) => E !== 0) ? Ae(s, {
6744
+ const P = S + Math.max((d - p) / 2, 0), A = l.leftForLtr(w, m), D = zt(M.borderRadius);
6745
+ s.beginPath(), Object.values(D).some((E) => E !== 0) ? Pe(s, {
6746
6746
  x: A,
6747
6747
  y: P,
6748
6748
  w: m,
6749
6749
  h: p,
6750
6750
  radius: D
6751
- }) : s.rect(A, P, m, p), s.fill(), w !== 0 && s.stroke();
6751
+ }) : s.rect(A, P, m, p), s.fill(), C !== 0 && s.stroke();
6752
6752
  }
6753
6753
  s.restore();
6754
- }, y = function(M, S, k) {
6755
- Nt(s, k.text, M, S + g / 2, c, {
6756
- strikethrough: k.hidden,
6757
- textAlign: l.textAlign(k.textAlign)
6754
+ }, y = function(w, S, M) {
6755
+ Nt(s, M.text, w, S + g / 2, c, {
6756
+ strikethrough: M.hidden,
6757
+ textAlign: l.textAlign(M.textAlign)
6758
6758
  });
6759
6759
  }, x = this.isHorizontal(), v = this._computeTitleHeight();
6760
6760
  x ? f = {
@@ -6767,17 +6767,17 @@ class Os extends at {
6767
6767
  line: 0
6768
6768
  }, Co(this.ctx, t.textDirection);
6769
6769
  const _ = g + h;
6770
- this.legendItems.forEach((M, S) => {
6771
- s.strokeStyle = M.fontColor, s.fillStyle = M.fontColor;
6772
- const k = s.measureText(M.text).width, w = l.textAlign(M.textAlign || (M.textAlign = a.textAlign)), P = m + u + k;
6770
+ this.legendItems.forEach((w, S) => {
6771
+ s.strokeStyle = w.fontColor, s.fillStyle = w.fontColor;
6772
+ const M = s.measureText(w.text).width, C = l.textAlign(w.textAlign || (w.textAlign = a.textAlign)), P = m + u + M;
6773
6773
  let A = f.x, D = f.y;
6774
6774
  l.setWidth(this.width), x ? S > 0 && A + P + h > this.right && (D = f.y += _, f.line++, A = f.x = K(o, this.left + h, this.right - n[f.line])) : S > 0 && D + _ > this.bottom && (A = f.x = A + e[f.line].width + h, f.line++, D = f.y = K(o, this.top + v + h, this.bottom - e[f.line].height));
6775
6775
  const E = l.x(A);
6776
- if (b(E, D, M), A = Ja(w, A + m + u, x ? A + P : this.right, t.rtl), y(l.x(A), D, M), x)
6776
+ if (b(E, D, w), A = Ja(C, A + m + u, x ? A + P : this.right, t.rtl), y(l.x(A), D, w), x)
6777
6777
  f.x += P + h;
6778
- else if (typeof M.text != "string") {
6778
+ else if (typeof w.text != "string") {
6779
6779
  const G = c.lineHeight;
6780
- f.y += Go(M, G) + h;
6780
+ f.y += Go(w, G) + h;
6781
6781
  } else
6782
6782
  f.y += _;
6783
6783
  }), Po(this.ctx, t.textDirection);
@@ -6856,7 +6856,7 @@ function Go(i, t) {
6856
6856
  function Ch(i, t) {
6857
6857
  return !!((i === "mousemove" || i === "mouseout") && (t.onHover || t.onLeave) || t.onClick && (i === "click" || i === "mouseup"));
6858
6858
  }
6859
- var He = {
6859
+ var We = {
6860
6860
  id: "legend",
6861
6861
  _element: Os,
6862
6862
  start(i, t, e) {
@@ -6996,7 +6996,7 @@ function Ph(i, t) {
6996
6996
  });
6997
6997
  st.configure(i, e, t), st.addBox(i, e), i.titleBlock = e;
6998
6998
  }
6999
- var Ne = {
6999
+ var He = {
7000
7000
  id: "title",
7001
7001
  _element: qo,
7002
7002
  start(i, t, e) {
@@ -7147,7 +7147,7 @@ function Rs(i, t, e, n) {
7147
7147
  y: Z(p, 0, n.height - t.height)
7148
7148
  };
7149
7149
  }
7150
- function oi(i, t, e) {
7150
+ function si(i, t, e) {
7151
7151
  const n = Q(e.padding);
7152
7152
  return t === "center" ? i.x + i.width / 2 : t === "right" ? i.x + i.width - n.right : i.x + n.left;
7153
7153
  }
@@ -7323,12 +7323,12 @@ class nn extends at {
7323
7323
  let a, r, l;
7324
7324
  if (o) {
7325
7325
  const c = qt(n.rtl, this.x, this.width);
7326
- for (t.x = oi(this, n.titleAlign, n), e.textAlign = c.textAlign(n.titleAlign), e.textBaseline = "middle", a = U(n.titleFont), r = n.titleSpacing, e.fillStyle = n.titleColor, e.font = a.string, l = 0; l < o; ++l)
7326
+ for (t.x = si(this, n.titleAlign, n), e.textAlign = c.textAlign(n.titleAlign), e.textBaseline = "middle", a = U(n.titleFont), r = n.titleSpacing, e.fillStyle = n.titleColor, e.font = a.string, l = 0; l < o; ++l)
7327
7327
  e.fillText(s[l], c.x(t.x), t.y + a.lineHeight / 2), t.y += a.lineHeight + r, l + 1 === o && (t.y += n.titleMarginBottom - r);
7328
7328
  }
7329
7329
  }
7330
7330
  _drawColorBox(t, e, n, s, o) {
7331
- const a = this.labelColors[n], r = this.labelPointStyles[n], { boxHeight: l, boxWidth: c } = o, h = U(o.bodyFont), d = oi(this, "left", o), u = s.x(d), f = l < h.lineHeight ? (h.lineHeight - l) / 2 : 0, m = e.y + f;
7331
+ const a = this.labelColors[n], r = this.labelPointStyles[n], { boxHeight: l, boxWidth: c } = o, h = U(o.bodyFont), d = si(this, "left", o), u = s.x(d), f = l < h.lineHeight ? (h.lineHeight - l) / 2 : 0, m = e.y + f;
7332
7332
  if (o.usePointStyle) {
7333
7333
  const p = {
7334
7334
  radius: Math.min(c, l) / 2,
@@ -7340,13 +7340,13 @@ class nn extends at {
7340
7340
  } else {
7341
7341
  t.lineWidth = T(a.borderWidth) ? Math.max(...Object.values(a.borderWidth)) : a.borderWidth || 1, t.strokeStyle = a.borderColor, t.setLineDash(a.borderDash || []), t.lineDashOffset = a.borderDashOffset || 0;
7342
7342
  const p = s.leftForLtr(u, c), g = s.leftForLtr(s.xPlus(u, 1), c - 2), b = zt(a.borderRadius);
7343
- Object.values(b).some((y) => y !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground, Ae(t, {
7343
+ Object.values(b).some((y) => y !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground, Pe(t, {
7344
7344
  x: p,
7345
7345
  y: m,
7346
7346
  w: c,
7347
7347
  h: l,
7348
7348
  radius: b
7349
- }), t.fill(), t.stroke(), t.fillStyle = a.backgroundColor, t.beginPath(), Ae(t, {
7349
+ }), t.fill(), t.stroke(), t.fillStyle = a.backgroundColor, t.beginPath(), Pe(t, {
7350
7350
  x: g,
7351
7351
  y: m + 1,
7352
7352
  w: c - 2,
@@ -7359,11 +7359,11 @@ class nn extends at {
7359
7359
  drawBody(t, e, n) {
7360
7360
  const { body: s } = this, { bodySpacing: o, bodyAlign: a, displayColors: r, boxHeight: l, boxWidth: c, boxPadding: h } = n, d = U(n.bodyFont);
7361
7361
  let u = d.lineHeight, f = 0;
7362
- const m = qt(n.rtl, this.x, this.width), p = function(k) {
7363
- e.fillText(k, m.x(t.x + f), t.y + u / 2), t.y += u + o;
7362
+ const m = qt(n.rtl, this.x, this.width), p = function(M) {
7363
+ e.fillText(M, m.x(t.x + f), t.y + u / 2), t.y += u + o;
7364
7364
  }, g = m.textAlign(a);
7365
- let b, y, x, v, _, M, S;
7366
- for (e.textAlign = a, e.textBaseline = "middle", e.font = d.string, t.x = oi(this, g, n), e.fillStyle = n.bodyColor, I(this.beforeBody, p), f = r && g !== "right" ? a === "center" ? c / 2 + h : c + 2 + h : 0, v = 0, M = s.length; v < M; ++v) {
7365
+ let b, y, x, v, _, w, S;
7366
+ for (e.textAlign = a, e.textBaseline = "middle", e.font = d.string, t.x = si(this, g, n), e.fillStyle = n.bodyColor, I(this.beforeBody, p), f = r && g !== "right" ? a === "center" ? c / 2 + h : c + 2 + h : 0, v = 0, w = s.length; v < w; ++v) {
7367
7367
  for (b = s[v], y = this.labelTextColors[v], e.fillStyle = y, I(b.before, p), x = b.lines, r && x.length && (this._drawColorBox(e, t, v, m, n), u = Math.max(d.lineHeight, l)), _ = 0, S = x.length; _ < S; ++_)
7368
7368
  p(x[_]), u = d.lineHeight;
7369
7369
  I(b.after, p);
@@ -7375,7 +7375,7 @@ class nn extends at {
7375
7375
  let a, r;
7376
7376
  if (o) {
7377
7377
  const l = qt(n.rtl, this.x, this.width);
7378
- for (t.x = oi(this, n.footerAlign, n), t.y += n.footerMarginTop, e.textAlign = l.textAlign(n.footerAlign), e.textBaseline = "middle", a = U(n.footerFont), e.fillStyle = n.footerColor, e.font = a.string, r = 0; r < o; ++r)
7378
+ for (t.x = si(this, n.footerAlign, n), t.y += n.footerMarginTop, e.textAlign = l.textAlign(n.footerAlign), e.textBaseline = "middle", a = U(n.footerFont), e.fillStyle = n.footerColor, e.font = a.string, r = 0; r < o; ++r)
7379
7379
  e.fillText(s[r], l.x(t.x), t.y + a.lineHeight / 2), t.y += a.lineHeight + n.footerSpacing;
7380
7380
  }
7381
7381
  }
@@ -7453,8 +7453,8 @@ class nn extends at {
7453
7453
  return a !== !1 && (n !== a.x || s !== a.y);
7454
7454
  }
7455
7455
  }
7456
- C(nn, "positioners", pe);
7457
- var Ve = {
7456
+ k(nn, "positioners", pe);
7457
+ var Ne = {
7458
7458
  id: "tooltip",
7459
7459
  _element: nn,
7460
7460
  positioners: pe,
@@ -7586,7 +7586,7 @@ function zs(i) {
7586
7586
  const t = this.getLabels();
7587
7587
  return i >= 0 && i < t.length ? t[i] : i;
7588
7588
  }
7589
- class Le extends jt {
7589
+ class De extends jt {
7590
7590
  constructor(t) {
7591
7591
  super(t), this._startValue = void 0, this._valueRange = 0, this._addedLabels = [];
7592
7592
  }
@@ -7641,14 +7641,14 @@ class Le extends jt {
7641
7641
  return this.bottom;
7642
7642
  }
7643
7643
  }
7644
- C(Le, "id", "category"), C(Le, "defaults", {
7644
+ k(De, "id", "category"), k(De, "defaults", {
7645
7645
  ticks: {
7646
7646
  callback: zs
7647
7647
  }
7648
7648
  });
7649
7649
  function zh(i, t) {
7650
7650
  const e = [], { bounds: s, step: o, min: a, max: r, precision: l, count: c, maxTicks: h, maxDigits: d, includeBounds: u } = i, f = o || 1, m = h - 1, { min: p, max: g } = t, b = !F(a), y = !F(r), x = !F(c), v = (g - p) / (d + 1);
7651
- let _ = Rn((g - p) / m / f) * f, M, S, k, w;
7651
+ let _ = Rn((g - p) / m / f) * f, w, S, M, C;
7652
7652
  if (_ < 1e-14 && !b && !y)
7653
7653
  return [
7654
7654
  {
@@ -7658,24 +7658,24 @@ function zh(i, t) {
7658
7658
  value: g
7659
7659
  }
7660
7660
  ];
7661
- w = Math.ceil(g / _) - Math.floor(p / _), w > m && (_ = Rn(w * _ / m / f) * f), F(l) || (M = Math.pow(10, l), _ = Math.ceil(_ * M) / M), s === "ticks" ? (S = Math.floor(p / _) * _, k = Math.ceil(g / _) * _) : (S = p, k = g), b && y && o && Ua((r - a) / o, _ / 1e3) ? (w = Math.round(Math.min((r - a) / _, h)), _ = (r - a) / w, S = a, k = r) : x ? (S = b ? a : S, k = y ? r : k, w = c - 1, _ = (k - S) / w) : (w = (k - S) / _, ye(w, Math.round(w), _ / 1e3) ? w = Math.round(w) : w = Math.ceil(w));
7661
+ C = Math.ceil(g / _) - Math.floor(p / _), C > m && (_ = Rn(C * _ / m / f) * f), F(l) || (w = Math.pow(10, l), _ = Math.ceil(_ * w) / w), s === "ticks" ? (S = Math.floor(p / _) * _, M = Math.ceil(g / _) * _) : (S = p, M = g), b && y && o && Ua((r - a) / o, _ / 1e3) ? (C = Math.round(Math.min((r - a) / _, h)), _ = (r - a) / C, S = a, M = r) : x ? (S = b ? a : S, M = y ? r : M, C = c - 1, _ = (M - S) / C) : (C = (M - S) / _, ye(C, Math.round(C), _ / 1e3) ? C = Math.round(C) : C = Math.ceil(C));
7662
7662
  const P = Math.max(En(_), En(S));
7663
- M = Math.pow(10, F(l) ? P : l), S = Math.round(S * M) / M, k = Math.round(k * M) / M;
7663
+ w = Math.pow(10, F(l) ? P : l), S = Math.round(S * w) / w, M = Math.round(M * w) / w;
7664
7664
  let A = 0;
7665
7665
  for (b && (u && S !== a ? (e.push({
7666
7666
  value: a
7667
- }), S < a && A++, ye(Math.round((S + A * _) * M) / M, a, Ws(a, v, i)) && A++) : S < a && A++); A < w; ++A) {
7668
- const D = Math.round((S + A * _) * M) / M;
7667
+ }), S < a && A++, ye(Math.round((S + A * _) * w) / w, a, Ws(a, v, i)) && A++) : S < a && A++); A < C; ++A) {
7668
+ const D = Math.round((S + A * _) * w) / w;
7669
7669
  if (y && D > r)
7670
7670
  break;
7671
7671
  e.push({
7672
7672
  value: D
7673
7673
  });
7674
7674
  }
7675
- return y && u && k !== r ? e.length && ye(e[e.length - 1].value, r, Ws(r, v, i)) ? e[e.length - 1].value = r : e.push({
7675
+ return y && u && M !== r ? e.length && ye(e[e.length - 1].value, r, Ws(r, v, i)) ? e[e.length - 1].value = r : e.push({
7676
7676
  value: r
7677
- }) : (!y || k === r) && e.push({
7678
- value: k
7677
+ }) : (!y || M === r) && e.push({
7678
+ value: M
7679
7679
  }), e;
7680
7680
  }
7681
7681
  function Ws(i, t, { horizontal: e, minRotation: n }) {
@@ -7743,7 +7743,7 @@ class xi extends jt {
7743
7743
  return Si(t, this.chart.options.locale, this.options.ticks.format);
7744
7744
  }
7745
7745
  }
7746
- class Te extends xi {
7746
+ class Le extends xi {
7747
7747
  determineDataLimits() {
7748
7748
  const { min: t, max: e } = this.getMinMax(!0);
7749
7749
  this.min = V(t) ? t : 0, this.max = V(e) ? e : 1, this.handleTickRangeOptions();
@@ -7759,14 +7759,14 @@ class Te extends xi {
7759
7759
  return this._startValue + this.getDecimalForPixel(t) * this._valueRange;
7760
7760
  }
7761
7761
  }
7762
- C(Te, "id", "linear"), C(Te, "defaults", {
7762
+ k(Le, "id", "linear"), k(Le, "defaults", {
7763
7763
  ticks: {
7764
7764
  callback: wi.formatters.numeric
7765
7765
  }
7766
7766
  });
7767
- const Oe = (i) => Math.floor(wt(i)), Ft = (i, t) => Math.pow(10, Oe(i) + t);
7767
+ const Te = (i) => Math.floor(wt(i)), Ft = (i, t) => Math.pow(10, Te(i) + t);
7768
7768
  function Hs(i) {
7769
- return i / Math.pow(10, Oe(i)) === 1;
7769
+ return i / Math.pow(10, Te(i)) === 1;
7770
7770
  }
7771
7771
  function Ns(i, t, e) {
7772
7772
  const n = Math.pow(10, e), s = Math.floor(i / n);
@@ -7774,16 +7774,16 @@ function Ns(i, t, e) {
7774
7774
  }
7775
7775
  function Wh(i, t) {
7776
7776
  const e = t - i;
7777
- let n = Oe(e);
7777
+ let n = Te(e);
7778
7778
  for (; Ns(i, t, n) > 10; )
7779
7779
  n++;
7780
7780
  for (; Ns(i, t, n) < 10; )
7781
7781
  n--;
7782
- return Math.min(n, Oe(i));
7782
+ return Math.min(n, Te(i));
7783
7783
  }
7784
7784
  function Hh(i, { min: t, max: e }) {
7785
7785
  t = et(i.min, t);
7786
- const n = [], s = Oe(t);
7786
+ const n = [], s = Te(t);
7787
7787
  let o = Wh(t, e), a = o < 0 ? Math.pow(10, Math.abs(o)) : 1;
7788
7788
  const r = Math.pow(10, o), l = s > o ? Math.pow(10, s) : 0, c = Math.round((t - l) * a) / a, h = Math.floor((t - l) / r / 10) * r * 10;
7789
7789
  let d = Math.floor((c - h) / Math.pow(10, o)), u = et(i.min, Math.round((l + h + d * Math.pow(10, o)) * a) / a);
@@ -7847,7 +7847,7 @@ class Vs extends jt {
7847
7847
  return Math.pow(10, this._startValue + e * this._valueRange);
7848
7848
  }
7849
7849
  }
7850
- C(Vs, "id", "logarithmic"), C(Vs, "defaults", {
7850
+ k(Vs, "id", "logarithmic"), k(Vs, "defaults", {
7851
7851
  ticks: {
7852
7852
  callback: wi.formatters.logarithmic,
7853
7853
  major: {
@@ -7964,7 +7964,7 @@ function Kh(i, t, e) {
7964
7964
  const l = zt(t.borderRadius), c = Q(t.backdropPadding);
7965
7965
  i.fillStyle = r;
7966
7966
  const h = n - c.left, d = s - c.top, u = o - n + c.width, f = a - s + c.height;
7967
- Object.values(l).some((m) => m !== 0) ? (i.beginPath(), Ae(i, {
7967
+ Object.values(l).some((m) => m !== 0) ? (i.beginPath(), Pe(i, {
7968
7968
  x: h,
7969
7969
  y: d,
7970
7970
  w: u,
@@ -8139,7 +8139,7 @@ class me extends xi {
8139
8139
  drawTitle() {
8140
8140
  }
8141
8141
  }
8142
- C(me, "id", "radialLinear"), C(me, "defaults", {
8142
+ k(me, "id", "radialLinear"), k(me, "defaults", {
8143
8143
  display: !0,
8144
8144
  animate: !0,
8145
8145
  position: "chartArea",
@@ -8170,11 +8170,11 @@ C(me, "id", "radialLinear"), C(me, "defaults", {
8170
8170
  padding: 5,
8171
8171
  centerPointLabels: !1
8172
8172
  }
8173
- }), C(me, "defaultRoutes", {
8173
+ }), k(me, "defaultRoutes", {
8174
8174
  "angleLines.color": "borderColor",
8175
8175
  "pointLabels.color": "color",
8176
8176
  "ticks.color": "color"
8177
- }), C(me, "descriptors", {
8177
+ }), k(me, "descriptors", {
8178
8178
  angleLines: {
8179
8179
  _fallback: "grid"
8180
8180
  }
@@ -8233,7 +8233,7 @@ function Ys(i, t) {
8233
8233
  return null;
8234
8234
  const e = i._adapter, { parser: n, round: s, isoWeekday: o } = i._parseOpts;
8235
8235
  let a = t;
8236
- return typeof n == "function" && (a = n(a)), V(a) || (a = typeof n == "string" ? e.parse(a, n) : e.parse(a)), a === null ? null : (s && (a = s === "week" && (Ce(o) || o === !0) ? e.startOf(a, "isoWeek", o) : e.startOf(a, s)), +a);
8236
+ return typeof n == "function" && (a = n(a)), V(a) || (a = typeof n == "string" ? e.parse(a, n) : e.parse(a)), a === null ? null : (s && (a = s === "week" && (Me(o) || o === !0) ? e.startOf(a, "isoWeek", o) : e.startOf(a, s)), +a);
8237
8237
  }
8238
8238
  function Us(i, t, e, n) {
8239
8239
  const s = tt.length;
@@ -8344,7 +8344,7 @@ class _i extends jt {
8344
8344
  };
8345
8345
  }
8346
8346
  _generate() {
8347
- const t = this._adapter, e = this.min, n = this.max, s = this.options, o = s.time, a = o.unit || Us(o.minUnit, e, n, this._getLabelCapacity(e)), r = L(s.ticks.stepSize, 1), l = a === "week" ? o.isoWeekday : !1, c = Ce(l) || l === !0, h = {};
8347
+ const t = this._adapter, e = this.min, n = this.max, s = this.options, o = s.time, a = o.unit || Us(o.minUnit, e, n, this._getLabelCapacity(e)), r = L(s.ticks.stepSize, 1), l = a === "week" ? o.isoWeekday : !1, c = Me(l) || l === !0, h = {};
8348
8348
  let d = e, u, f;
8349
8349
  if (c && (d = +t.startOf(d, "isoWeek", l)), d = +t.startOf(d, c ? "day" : a), t.diff(n, e, a) > 1e5 * r)
8350
8350
  throw new Error(e + " and " + n + " are too far apart with stepSize of " + r + " " + a);
@@ -8426,7 +8426,7 @@ class _i extends jt {
8426
8426
  return go(t.sort($s));
8427
8427
  }
8428
8428
  }
8429
- C(_i, "id", "time"), C(_i, "defaults", {
8429
+ k(_i, "id", "time"), k(_i, "defaults", {
8430
8430
  bounds: "data",
8431
8431
  adapters: {},
8432
8432
  time: {
@@ -8445,7 +8445,7 @@ C(_i, "id", "time"), C(_i, "defaults", {
8445
8445
  }
8446
8446
  }
8447
8447
  });
8448
- function ai(i, t, e) {
8448
+ function oi(i, t, e) {
8449
8449
  let n = 0, s = i.length - 1, o, a, r, l;
8450
8450
  e ? (t >= i[n].pos && t <= i[s].pos && ({ lo: n, hi: s } = Bt(i, "pos", t)), { pos: o, time: r } = i[n], { pos: a, time: l } = i[s]) : (t >= i[n].time && t <= i[s].time && ({ lo: n, hi: s } = Bt(i, "time", t)), { time: o, pos: r } = i[n], { time: a, pos: l } = i[s]);
8451
8451
  const c = a - o;
@@ -8457,7 +8457,7 @@ class qs extends _i {
8457
8457
  }
8458
8458
  initOffsets() {
8459
8459
  const t = this._getTimestampsForTable(), e = this._table = this.buildLookupTable(t);
8460
- this._minPos = ai(e, this.min), this._tableRange = ai(e, this.max) - this._minPos, super.initOffsets(t);
8460
+ this._minPos = oi(e, this.min), this._tableRange = oi(e, this.max) - this._minPos, super.initOffsets(t);
8461
8461
  }
8462
8462
  buildLookupTable(t) {
8463
8463
  const { min: e, max: n } = this, s = [], o = [];
@@ -8495,14 +8495,14 @@ class qs extends _i {
8495
8495
  return e.length && n.length ? t = this.normalize(e.concat(n)) : t = e.length ? e : n, t = this._cache.all = t, t;
8496
8496
  }
8497
8497
  getDecimalForValue(t) {
8498
- return (ai(this._table, t) - this._minPos) / this._tableRange;
8498
+ return (oi(this._table, t) - this._minPos) / this._tableRange;
8499
8499
  }
8500
8500
  getValueForPixel(t) {
8501
8501
  const e = this._offsets, n = this.getDecimalForPixel(t) / e.factor - e.end;
8502
- return ai(this._table, n * this._tableRange + this._minPos, !0);
8502
+ return oi(this._table, n * this._tableRange + this._minPos, !0);
8503
8503
  }
8504
8504
  }
8505
- C(qs, "id", "timeseries"), C(qs, "defaults", _i.defaults);
8505
+ k(qs, "id", "timeseries"), k(qs, "defaults", _i.defaults);
8506
8506
  const Qo = {
8507
8507
  data: {
8508
8508
  type: Object,
@@ -8589,7 +8589,7 @@ const ld = Vt({
8589
8589
  }, r = (l) => {
8590
8590
  l.update(i.updateMode);
8591
8591
  };
8592
- return eo(o), fa(a), Se([
8592
+ return eo(o), fa(a), di([
8593
8593
  () => i.options,
8594
8594
  () => i.data
8595
8595
  ], (l, c) => {
@@ -8633,7 +8633,7 @@ function Ai(i, t) {
8633
8633
  }
8634
8634
  });
8635
8635
  }
8636
- const ea = /* @__PURE__ */ Ai("bar", ri), cd = /* @__PURE__ */ Ai("doughnut", ue), hd = /* @__PURE__ */ Ai("line", li), dd = /* @__PURE__ */ Ai("radar", ci);
8636
+ const ea = /* @__PURE__ */ Ai("bar", ai), cd = /* @__PURE__ */ Ai("doughnut", ue), hd = /* @__PURE__ */ Ai("line", ri), dd = /* @__PURE__ */ Ai("radar", li);
8637
8637
  function Di() {
8638
8638
  function i(e, n = 50, s = 50) {
8639
8639
  const o = document.createElement("canvas"), a = o.getContext("2d");
@@ -8713,17 +8713,17 @@ function _d(i, t, e) {
8713
8713
  function sa(i, t, e, n, s, o) {
8714
8714
  const a = t.config.type === "doughnut", r = a ? i.index : i.datasetIndex, l = new Image(), c = aa(i, t.config.type), h = o[r](!1, s[r], n), d = pd(h);
8715
8715
  return l.src = d.toDataURL(), c.style.background = `url(${l.src})`, c.style.backgroundSize = "cover", c.style.borderColor = s[r], c.style.borderWidth = Mn, c.onmouseover = () => {
8716
- a ? e.value = r : e.dataSetIndex = r;
8716
+ a ? e.value = r : e.dataSetIndex = r, t.update();
8717
8717
  }, c.onmouseleave = () => {
8718
- a ? e.value = null : e.dataSetIndex = null;
8718
+ a ? e.value = null : e.dataSetIndex = -1, t.update();
8719
8719
  }, c;
8720
8720
  }
8721
8721
  function oa(i, t, e, n, s) {
8722
8722
  const o = i.config.type === "doughnut", a = o ? t.index : t.datasetIndex, r = Cn(i, t, s);
8723
8723
  return i.config.data.labels.every((h, d) => i.getDataVisibility(d)) ? (o && (e.value = !1, n.value = -1), r) : (r.onmouseover = () => {
8724
- o ? n.value = a : n.dataSetIndex = a;
8724
+ o ? n.value = a : n.dataSetIndex = a, i.update();
8725
8725
  }, r.onmouseleave = () => {
8726
- o ? n.value = null : n.dataSetIndex = null;
8726
+ o ? n.value = null : n.dataSetIndex = -1, i.update();
8727
8727
  }, r);
8728
8728
  }
8729
8729
  function Li(i) {
@@ -8785,20 +8785,16 @@ function wd(i) {
8785
8785
  function Oi(i, t, e) {
8786
8786
  ra(i) ? i.toggleDataVisibility(t) : i.setDatasetVisibility(t, !i.isDatasetVisible(t)), e && wd(i) && (e.value = !1), i.update();
8787
8787
  }
8788
- function Pn(i, t, e) {
8789
- const n = aa(i, ""), s = vd(i), o = i.index || i.datasetIndex;
8790
- return s.style.width = "10px", s.style.height = "10px", o % 2 === 0 ? e ? s.style.borderRadius = "25px" : s.style.transform = "rotate(45deg)" : e ? s.style.transform = "rotate(45deg)" : s.style.borderRadius = "25px", t && (n.onmouseover = () => {
8791
- t.dataSetIndex = o;
8792
- }, n.onmouseleave = () => {
8793
- t.dataSetIndex = null;
8794
- }), n.appendChild(s), n;
8788
+ function Pn(i, t) {
8789
+ const e = aa(i, ""), n = vd(i), s = i.index || i.datasetIndex;
8790
+ return n.style.width = "10px", n.style.height = "10px", s % 2 === 0 ? t ? n.style.borderRadius = "25px" : n.style.transform = "rotate(45deg)" : t ? n.style.transform = "rotate(45deg)" : n.style.borderRadius = "25px", e.appendChild(n), e;
8795
8791
  }
8796
8792
  function Ii(i, t) {
8797
8793
  var n, s;
8798
8794
  let e = (n = i.value) == null ? void 0 : n.querySelector("ul");
8799
8795
  return e || (e = document.createElement("ul"), e.style.display = "flex", e.style.flexDirection = t, e.style.margin = "0", e.style.padding = "0", (s = i.value) == null || s.appendChild(e)), e;
8800
8796
  }
8801
- function Ie(i, t) {
8797
+ function Oe(i, t) {
8802
8798
  const e = Math.round(Math.min(Math.max(t || 1, 0), 1) * 255);
8803
8799
  return i + e.toString(16).toUpperCase();
8804
8800
  }
@@ -8816,18 +8812,18 @@ function kd() {
8816
8812
  }
8817
8813
  function o(p, g, b, y, x, v) {
8818
8814
  const _ = i.value;
8819
- return p.map((M, S) => ({
8820
- borderColor: function(k) {
8821
- return b ? "#00000000" : r(S, k.index, y, v);
8815
+ return p.map((w, S) => ({
8816
+ borderColor: function(M) {
8817
+ return b ? "#00000000" : r(S, M.index, y, v);
8822
8818
  },
8823
- backgroundColor: function(k) {
8824
- return l(S, k.index, b, y, x, v);
8819
+ backgroundColor: function(M) {
8820
+ return l(S, M.index, b, y, x, v);
8825
8821
  },
8826
8822
  borderWidth: function() {
8827
8823
  return b ? 1 : _;
8828
8824
  },
8829
- data: M.data,
8830
- label: M.label,
8825
+ data: w.data,
8826
+ label: w.label,
8831
8827
  stack: `Stack ${g ? "0" : S}`
8832
8828
  }));
8833
8829
  }
@@ -8836,7 +8832,7 @@ function kd() {
8836
8832
  }
8837
8833
  function r(p, g, b, y) {
8838
8834
  const x = Ui(p, y);
8839
- return u(p, g) ? b[x] : Ie(b[x], 0.2);
8835
+ return u(p, g) ? b[x] : Oe(b[x], 0.2);
8840
8836
  }
8841
8837
  function l(p, g, b, y, x, v) {
8842
8838
  const _ = Ui(p, v);
@@ -8877,16 +8873,16 @@ function kd() {
8877
8873
  };
8878
8874
  }
8879
8875
  const { getPatternCanvas: Md } = Di();
8880
- class je {
8876
+ class Ve {
8881
8877
  constructor() {
8882
- C(this, "chartType", "");
8883
- C(this, "datasetIndex", 0);
8884
- C(this, "dataIndex", 0);
8885
- C(this, "titleLines", [""]);
8886
- C(this, "dataToDisplay", "");
8887
- C(this, "xValue", "");
8888
- C(this, "yValue", "");
8889
- C(this, "patternShifting", 0);
8878
+ k(this, "chartType", "");
8879
+ k(this, "datasetIndex", 0);
8880
+ k(this, "dataIndex", 0);
8881
+ k(this, "titleLines", [""]);
8882
+ k(this, "dataToDisplay", "");
8883
+ k(this, "xValue", "");
8884
+ k(this, "yValue", "");
8885
+ k(this, "patternShifting", 0);
8890
8886
  }
8891
8887
  createTooltip(t, e, n, s, o, a = !1) {
8892
8888
  var c, h, d, u;
@@ -9086,7 +9082,7 @@ function Td(i, t = "#095359", e = !1) {
9086
9082
  const c = l.createPattern(n, "repeat");
9087
9083
  return c ? (l.fillStyle = c, l.fillRect(0, 0, r.width, r.height), c) : new CanvasPattern();
9088
9084
  }
9089
- function $e() {
9085
+ function je() {
9090
9086
  return {
9091
9087
  patternsStandardList: [
9092
9088
  Cd,
@@ -9226,14 +9222,14 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9226
9222
  setup(i) {
9227
9223
  const t = i;
9228
9224
  Lt.register(
9229
- Ne,
9230
- Ve,
9231
9225
  He,
9226
+ Ne,
9227
+ We,
9232
9228
  ve,
9233
- Le,
9234
- Te
9229
+ De,
9230
+ Le
9235
9231
  );
9236
- const { colourSets: e, patternsStandardList: n } = $e(), s = X(null), o = X(!1), a = z(() => t.newPatternsOrder.length !== n.length ? e[t.colourSet] : t.newPatternsOrder.map((w) => e[t.colourSet][w])), r = z(() => t.newPatternsOrder.length !== n.length ? n : t.newPatternsOrder.map((w) => n[w])), l = z(() => t.disableAccessibility), {
9232
+ const { colourSets: e, patternsStandardList: n } = je(), s = X(null), o = X(!1), a = z(() => t.newPatternsOrder.length !== n.length ? e[t.colourSet] : t.newPatternsOrder.map((C) => e[t.colourSet][C])), r = z(() => t.newPatternsOrder.length !== n.length ? n : t.newPatternsOrder.map((C) => n[C])), l = z(() => t.disableAccessibility), {
9237
9233
  onHoverIndex: c,
9238
9234
  barChartRef: h,
9239
9235
  reloadChart: d,
@@ -9241,9 +9237,9 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9241
9237
  getStackedDatasets: f,
9242
9238
  privateGetHtmlLegendPlugin: m
9243
9239
  } = kd(), p = z(() => {
9244
- const w = M(x.value);
9240
+ const C = w(x.value);
9245
9241
  return y(), {
9246
- labels: w,
9242
+ labels: C,
9247
9243
  datasets: f(
9248
9244
  t.datasets.map((P, A) => ({
9249
9245
  data: v(A, x.value),
@@ -9261,24 +9257,24 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9261
9257
  const y = () => {
9262
9258
  g = t.tooltipFirstLineLabel, b = t.tooltipSecondLineLabel;
9263
9259
  }, x = z(() => {
9264
- const w = t.labels;
9265
- if (w.includes("other")) {
9266
- const P = w.indexOf("other");
9260
+ const C = t.labels;
9261
+ if (C.includes("other")) {
9262
+ const P = C.indexOf("other");
9267
9263
  if (t.datasets[0].data[P].rate + "" == "0" && t.datasets[1].data[P].rate + "" == "0")
9268
9264
  return P;
9269
9265
  }
9270
9266
  return null;
9271
- }), v = (w, P, A = !1) => {
9272
- const D = Object.assign([], t.datasets[w].data);
9267
+ }), v = (C, P, A = !1) => {
9268
+ const D = Object.assign([], t.datasets[C].data);
9273
9269
  return P && x.value && D.splice(x.value, 1), D.map(
9274
9270
  (E) => t.unit === "%" ? E.rate : E.amount
9275
9271
  );
9276
- }, _ = (w) => {
9277
- const P = w.tooltip.dataPoints[0].datasetIndex, A = w.tooltip.dataPoints[0].dataIndex, D = w.tooltip.body[0].lines[0].split(":")[1], E = t.datasets[P].data[A], G = E.rate ? parseFloat(D.replace(",", ".")).toFixed(2) + "% " : "", O = E.amountUnit ? E.amountUnit : "", R = E.amount ? rt(E.amount) : "";
9272
+ }, _ = (C) => {
9273
+ const P = C.tooltip.dataPoints[0].datasetIndex, A = C.tooltip.dataPoints[0].dataIndex, D = C.tooltip.body[0].lines[0].split(":")[1], E = t.datasets[P].data[A], G = E.rate ? parseFloat(D.replace(",", ".")).toFixed(2) + "% " : "", O = E.amountUnit ? E.amountUnit : "", R = E.amount ? rt(E.amount) : "";
9278
9274
  return G + (G && R ? "/ " : "") + R + O;
9279
- }, M = (w) => {
9275
+ }, w = (C) => {
9280
9276
  const P = Object.assign([], t.labels);
9281
- return w && P.splice(w, 1), P.map((A) => A);
9277
+ return C && P.splice(C, 1), P.map((A) => A);
9282
9278
  }, S = z(() => ({
9283
9279
  // eslint-disable-next-line
9284
9280
  onHover: u(),
@@ -9299,9 +9295,9 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9299
9295
  tooltip: {
9300
9296
  enabled: !1,
9301
9297
  position: "nearest",
9302
- external: function(w) {
9303
- new je().createTooltip(
9304
- w,
9298
+ external: function(C) {
9299
+ new Ve().createTooltip(
9300
+ C,
9305
9301
  _,
9306
9302
  {
9307
9303
  chartType: ee.BAR_CHART,
@@ -9322,13 +9318,13 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9322
9318
  y: {
9323
9319
  stacked: t.stacked,
9324
9320
  ticks: {
9325
- callback: function(w) {
9326
- return t.unit === "%" ? on(w, t.unit) : rt(w) + " " + t.unit;
9321
+ callback: function(C) {
9322
+ return t.unit === "%" ? on(C, t.unit) : rt(C) + " " + t.unit;
9327
9323
  }
9328
9324
  }
9329
9325
  }
9330
9326
  }
9331
- })), k = X(
9327
+ })), M = X(
9332
9328
  m(
9333
9329
  s,
9334
9330
  o,
@@ -9337,25 +9333,25 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9337
9333
  r
9338
9334
  )
9339
9335
  );
9340
- return Se(
9336
+ return di(
9341
9337
  c,
9342
9338
  () => {
9343
9339
  d();
9344
9340
  },
9345
9341
  { deep: !0 }
9346
- ), (w, P) => (ft(), Fe("div", Od, [
9342
+ ), (C, P) => (ft(), Ie("div", Od, [
9347
9343
  gt("div", Id, [
9348
- p.value ? (ft(), Re(Zt(ea), {
9344
+ p.value ? (ft(), Fe(Zt(ea), {
9349
9345
  key: 0,
9350
9346
  ref_key: "barChartRef",
9351
9347
  ref: h,
9352
9348
  id: i.chartId,
9353
9349
  data: p.value,
9354
9350
  options: S.value,
9355
- plugins: k.value,
9356
- class: Ee(i.cssClasses),
9351
+ plugins: M.value,
9352
+ class: Re(i.cssClasses),
9357
9353
  style: Qt([{ width: i.width, height: i.height, cursor: "pointer" }, i.styles])
9358
- }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Be("", !0)
9354
+ }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Ee("", !0)
9359
9355
  ]),
9360
9356
  gt("div", {
9361
9357
  ref_key: "legendContainer",
@@ -9364,12 +9360,12 @@ const Od = { class: "container" }, Id = { class: "main" }, Fd = /* @__PURE__ */
9364
9360
  ]));
9365
9361
  }
9366
9362
  });
9367
- const Ye = (i, t) => {
9363
+ const $e = (i, t) => {
9368
9364
  const e = i.__vccOpts || i;
9369
9365
  for (const [n, s] of t)
9370
9366
  e[n] = s;
9371
9367
  return e;
9372
- }, an = /* @__PURE__ */ Ye(Fd, [["__scopeId", "data-v-fae6dcc9"]]);
9368
+ }, an = /* @__PURE__ */ $e(Fd, [["__scopeId", "data-v-fae6dcc9"]]);
9373
9369
  an.install = (i) => {
9374
9370
  i.component("BarChart", an);
9375
9371
  };
@@ -9396,7 +9392,7 @@ function Rd() {
9396
9392
  }
9397
9393
  function o(h) {
9398
9394
  return t.value !== null ? h.map(
9399
- (d, u) => t.value === u ? d : Ie(d, 0.2)
9395
+ (d, u) => t.value === u ? d : Oe(d, 0.2)
9400
9396
  ) : h;
9401
9397
  }
9402
9398
  function a() {
@@ -9542,8 +9538,8 @@ const Ed = { class: "container" }, Bd = { class: "main" }, zd = /* @__PURE__ */
9542
9538
  },
9543
9539
  setup(i) {
9544
9540
  const t = i;
9545
- Lt.register(Ne, Ve, He, ge);
9546
- const { colourSets: e, patternsStandardList: n } = $e(), {
9541
+ Lt.register(He, Ne, We, ge);
9542
+ const { colourSets: e, patternsStandardList: n } = je(), {
9547
9543
  onHoverIndex: s,
9548
9544
  doughnutRef: o,
9549
9545
  getBackgroundColor: a,
@@ -9574,17 +9570,17 @@ const Ed = { class: "container" }, Bd = { class: "main" }, zd = /* @__PURE__ */
9574
9570
  }
9575
9571
  ]
9576
9572
  })), b = (S) => {
9577
- const k = S.tooltip.dataPoints[0].dataIndex, w = c(
9573
+ const M = S.tooltip.dataPoints[0].dataIndex, C = c(
9578
9574
  t.data,
9579
9575
  t.maxValues
9580
- )[k], P = rt(w.rate), A = rt(w.value), D = w.unit || "";
9576
+ )[M], P = rt(C.rate), A = rt(C.value), D = C.unit || "";
9581
9577
  return `${A}${D} (${P})%`;
9582
9578
  };
9583
9579
  function y() {
9584
9580
  return t.labels.length <= 1 ? 0 : 12;
9585
9581
  }
9586
9582
  const x = z(() => {
9587
- const S = m.value, k = p.value;
9583
+ const S = m.value, M = p.value;
9588
9584
  return {
9589
9585
  onHover: l(),
9590
9586
  plugins: {
@@ -9603,15 +9599,15 @@ const Ed = { class: "container" }, Bd = { class: "main" }, zd = /* @__PURE__ */
9603
9599
  },
9604
9600
  tooltip: {
9605
9601
  enabled: !1,
9606
- external: function(w) {
9607
- new je().createTooltip(
9608
- w,
9602
+ external: function(C) {
9603
+ new Ve().createTooltip(
9604
+ C,
9609
9605
  b,
9610
9606
  {
9611
9607
  chartType: ee.DOUGHNUT
9612
9608
  },
9613
9609
  S,
9614
- k,
9610
+ M,
9615
9611
  _.value
9616
9612
  );
9617
9613
  }
@@ -9626,7 +9622,7 @@ const Ed = { class: "container" }, Bd = { class: "main" }, zd = /* @__PURE__ */
9626
9622
  }), v = {
9627
9623
  data: t.data,
9628
9624
  labels: t.labels
9629
- }, _ = z(() => t.disableAccessibility), M = z(
9625
+ }, _ = z(() => t.disableAccessibility), w = z(
9630
9626
  () => r(
9631
9627
  f,
9632
9628
  u,
@@ -9643,32 +9639,32 @@ const Ed = { class: "container" }, Bd = { class: "main" }, zd = /* @__PURE__ */
9643
9639
  p.value,
9644
9640
  t.disableAccessibility
9645
9641
  );
9646
- }), Se(s, (S, k) => {
9647
- S !== k && a(
9642
+ }), di(s, (S, M) => {
9643
+ S !== M && a(
9648
9644
  m.value,
9649
9645
  p.value,
9650
9646
  t.disableAccessibility
9651
9647
  );
9652
- }), Se(_, () => {
9648
+ }), di(_, () => {
9653
9649
  a(
9654
9650
  m.value,
9655
9651
  p.value,
9656
9652
  t.disableAccessibility
9657
9653
  );
9658
- }), (S, k) => (ft(), Fe("div", Ed, [
9654
+ }), (S, M) => (ft(), Ie("div", Ed, [
9659
9655
  gt("div", Bd, [
9660
- g.value ? (ft(), Re(Zt(cd), {
9656
+ g.value ? (ft(), Fe(Zt(cd), {
9661
9657
  key: 0,
9662
9658
  ref_key: "doughnutRef",
9663
9659
  ref: o,
9664
9660
  id: i.chartId,
9665
9661
  data: g.value,
9666
9662
  options: x.value,
9667
- plugins: M.value,
9663
+ plugins: w.value,
9668
9664
  "max-values": i.maxValues,
9669
- class: Ee(i.cssClasses),
9665
+ class: Re(i.cssClasses),
9670
9666
  style: Qt([{ width: i.width, height: i.height, cursor: "pointer" }, i.styles])
9671
- }, null, 8, ["id", "data", "options", "plugins", "max-values", "class", "style"])) : Be("", !0)
9667
+ }, null, 8, ["id", "data", "options", "plugins", "max-values", "class", "style"])) : Ee("", !0)
9672
9668
  ]),
9673
9669
  gt("div", {
9674
9670
  ref_key: "legendContainer",
@@ -9677,7 +9673,7 @@ const Ed = { class: "container" }, Bd = { class: "main" }, zd = /* @__PURE__ */
9677
9673
  ]));
9678
9674
  }
9679
9675
  });
9680
- const rn = /* @__PURE__ */ Ye(zd, [["__scopeId", "data-v-9f73f105"]]);
9676
+ const rn = /* @__PURE__ */ $e(zd, [["__scopeId", "data-v-9f73f105"]]);
9681
9677
  rn.install = (i) => {
9682
9678
  i.component("DoughnutChart", rn);
9683
9679
  };
@@ -9787,15 +9783,15 @@ const Wd = { class: "container" }, Hd = { class: "main" }, Nd = /* @__PURE__ */
9787
9783
  setup(i) {
9788
9784
  const t = i;
9789
9785
  Lt.register(
9790
- Ne,
9791
- Ve,
9792
9786
  He,
9787
+ Ne,
9788
+ We,
9793
9789
  Kt,
9794
9790
  dt,
9795
- Le,
9796
- Te
9791
+ De,
9792
+ Le
9797
9793
  );
9798
- const { colourSets: e, patternsStandardList: n } = $e(), s = X(null), o = X(!1), a = z(
9794
+ const { colourSets: e, patternsStandardList: n } = je(), s = X(null), o = X(!1), a = z(
9799
9795
  () => t.newPatternsOrder.length !== 6 ? e[t.colourSet] : t.newPatternsOrder.map((g) => e[t.colourSet][g])
9800
9796
  ), r = t.newPatternsOrder.length !== 6 ? n : t.newPatternsOrder.map((g) => n[g]), l = (g) => {
9801
9797
  const b = g.tooltip.dataPoints[0].datasetIndex, y = g.tooltip.dataPoints[0].dataIndex, x = t.lines[b].data[y].toFixed(2);
@@ -9834,13 +9830,13 @@ const Wd = { class: "container" }, Hd = { class: "main" }, Nd = /* @__PURE__ */
9834
9830
  for (x.style.display = "flex", x.style.flexDirection = "row", x.style.margin = "1.375rem 1.0625rem"; x.firstChild; )
9835
9831
  x.firstChild.remove();
9836
9832
  y.options.plugins.legend.labels.generateLabels(y).forEach((_) => {
9837
- const M = Ti(
9833
+ const w = Ti(
9838
9834
  y,
9839
9835
  b,
9840
9836
  _.datasetIndex
9841
9837
  );
9842
9838
  let S;
9843
- b.value ? S = f(y, _) : S = Pn(_, null), S.style.boxSizing = "border-box", M.style.marginRight = "10px", M.appendChild(S), M.appendChild(Li(_)), x.appendChild(M);
9839
+ b.value ? S = f(y, _) : S = Pn(_), S.style.boxSizing = "border-box", w.style.marginRight = "10px", w.appendChild(S), w.appendChild(Li(_)), x.appendChild(w);
9844
9840
  });
9845
9841
  }
9846
9842
  }
@@ -9862,7 +9858,7 @@ const Wd = { class: "container" }, Hd = { class: "main" }, Nd = /* @__PURE__ */
9862
9858
  tooltip: {
9863
9859
  enabled: !1,
9864
9860
  external: function(g) {
9865
- new je().createTooltip(
9861
+ new Ve().createTooltip(
9866
9862
  g,
9867
9863
  l,
9868
9864
  {
@@ -9897,18 +9893,18 @@ const Wd = { class: "container" }, Hd = { class: "main" }, Nd = /* @__PURE__ */
9897
9893
  }
9898
9894
  }
9899
9895
  }));
9900
- return (g, b) => (ft(), Fe("div", Wd, [
9896
+ return (g, b) => (ft(), Ie("div", Wd, [
9901
9897
  gt("div", Hd, [
9902
- d.value ? (ft(), Re(Zt(hd), {
9898
+ d.value ? (ft(), Fe(Zt(hd), {
9903
9899
  key: 0,
9904
9900
  ref: "lineChartRef",
9905
9901
  id: i.chartId,
9906
9902
  data: d.value,
9907
9903
  options: p.value,
9908
9904
  plugins: Zt(m),
9909
- class: Ee(i.cssClasses),
9905
+ class: Re(i.cssClasses),
9910
9906
  style: Qt([{ width: i.width, height: i.height, cursor: "pointer" }, i.styles])
9911
- }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Be("", !0)
9907
+ }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Ee("", !0)
9912
9908
  ]),
9913
9909
  gt("div", {
9914
9910
  ref_key: "legendContainer",
@@ -9917,7 +9913,7 @@ const Wd = { class: "container" }, Hd = { class: "main" }, Nd = /* @__PURE__ */
9917
9913
  ]));
9918
9914
  }
9919
9915
  });
9920
- const ln = /* @__PURE__ */ Ye(Nd, [["__scopeId", "data-v-9a586c1a"]]);
9916
+ const ln = /* @__PURE__ */ $e(Nd, [["__scopeId", "data-v-d99146c4"]]);
9921
9917
  ln.install = (i) => {
9922
9918
  i.component("LineChart", ln);
9923
9919
  };
@@ -10030,15 +10026,15 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10030
10026
  setup(i) {
10031
10027
  const t = i;
10032
10028
  Lt.register(
10033
- Ne,
10034
- Ve,
10035
10029
  He,
10030
+ Ne,
10031
+ We,
10036
10032
  me,
10037
10033
  dt,
10038
10034
  Kt,
10039
10035
  vh
10040
10036
  );
10041
- const { colourSets: e, patternsStandardList: n } = $e(), s = z(
10037
+ const { colourSets: e, patternsStandardList: n } = je(), s = z(
10042
10038
  () => t.newPatternsOrder.length !== 6 ? e[t.colourSet] : t.newPatternsOrder.map((g) => e[t.colourSet][g])
10043
10039
  ), o = z(
10044
10040
  () => t.newPatternsOrder.length !== 6 ? n : t.newPatternsOrder.map((g) => n[g])
@@ -10047,7 +10043,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10047
10043
  datasets: [
10048
10044
  {
10049
10045
  label: t.datasets[0].label,
10050
- backgroundColor: Ie(s.value[0], 0.1),
10046
+ backgroundColor: Oe(s.value[0], 0.1),
10051
10047
  borderColor: s.value[0],
10052
10048
  pointBackgroundColor: "#FFFFFF",
10053
10049
  pointBorderColor: s.value[0],
@@ -10063,7 +10059,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10063
10059
  },
10064
10060
  {
10065
10061
  label: t.datasets[1].label,
10066
- backgroundColor: Ie(s.value[1], 0.1),
10062
+ backgroundColor: Oe(s.value[1], 0.1),
10067
10063
  borderColor: s.value[1],
10068
10064
  pointBackgroundColor: "#FFFFFF",
10069
10065
  pointBorderColor: s.value[1],
@@ -10097,7 +10093,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10097
10093
  enabled: !1,
10098
10094
  position: "nearest",
10099
10095
  external: function(g) {
10100
- new je().createTooltip(
10096
+ new Ve().createTooltip(
10101
10097
  g,
10102
10098
  p,
10103
10099
  { chartType: ee.RADAR },
@@ -10174,7 +10170,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10174
10170
  x.datasetIndex
10175
10171
  );
10176
10172
  let _;
10177
- v.style.marginRight = "0.625rem", c.value ? _ = f(g, x) : _ = Pn(x, null, !0), v.appendChild(_), v.appendChild(Li(x)), b.appendChild(v);
10173
+ v.style.marginRight = "0.625rem", c.value ? _ = f(g, x) : _ = Pn(x, !0), v.appendChild(_), v.appendChild(Li(x)), b.appendChild(v);
10178
10174
  });
10179
10175
  }
10180
10176
  },
@@ -10188,20 +10184,20 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10188
10184
  const b = g.tooltip.dataPoints[0].datasetIndex, y = g.tooltip.dataPoints[0].dataIndex, x = t.datasets[b];
10189
10185
  return x.areaData[y].value.toFixed(2) + " " + x.areaData[y].unit;
10190
10186
  };
10191
- return (g, b) => (ft(), Fe("div", $d, [
10187
+ return (g, b) => (ft(), Ie("div", $d, [
10192
10188
  gt("div", {
10193
10189
  class: "main",
10194
10190
  style: Qt({ height: i.height })
10195
10191
  }, [
10196
- a.value ? (ft(), Re(Zt(dd), {
10192
+ a.value ? (ft(), Fe(Zt(dd), {
10197
10193
  key: 0,
10198
10194
  id: i.chartId,
10199
10195
  data: a.value,
10200
10196
  options: r,
10201
10197
  plugins: m,
10202
- class: Ee(i.cssClasses),
10198
+ class: Re(i.cssClasses),
10203
10199
  style: Qt([{ height: i.height, cursor: "pointer" }, i.styles])
10204
- }, null, 8, ["id", "data", "class", "style"])) : Be("", !0)
10200
+ }, null, 8, ["id", "data", "class", "style"])) : Ee("", !0)
10205
10201
  ], 4),
10206
10202
  gt("div", {
10207
10203
  ref_key: "legendContainer",
@@ -10211,7 +10207,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10211
10207
  ]));
10212
10208
  }
10213
10209
  });
10214
- const cn = /* @__PURE__ */ Ye(Yd, [["__scopeId", "data-v-172f7940"]]);
10210
+ const cn = /* @__PURE__ */ $e(Yd, [["__scopeId", "data-v-e59323c3"]]);
10215
10211
  cn.install = (i) => {
10216
10212
  i.component("RadarChart", cn);
10217
10213
  };
@@ -10227,134 +10223,121 @@ function Ud() {
10227
10223
  dataSetIndex: -1,
10228
10224
  columnIndex: -1
10229
10225
  });
10230
- function e(m, p, g, b, y, x) {
10226
+ function e(d, u, f, m, p, g) {
10231
10227
  return [
10232
10228
  {
10233
10229
  id: "htmlLegend",
10234
- afterUpdate(v) {
10235
- const _ = Ii(
10236
- m,
10230
+ afterUpdate(b) {
10231
+ const y = Ii(
10232
+ d,
10237
10233
  "column"
10238
10234
  );
10239
- for (_.style.display = "flex", _.style.margin = "1.375rem 1.0625rem", _.style.flexDirection = "row-reverse", _.style.justifyContent = "flex-end"; _.firstChild; )
10240
- _.firstChild.remove();
10241
- v.options.plugins.legend.labels.generateLabels(v).forEach((S) => {
10242
- const k = Ti(
10243
- v,
10244
- p,
10245
- S.datasetIndex
10235
+ for (y.style.display = "flex", y.style.margin = "1.375rem 1.0625rem", y.style.flexDirection = "row-reverse", y.style.justifyContent = "flex-end"; y.firstChild; )
10236
+ y.firstChild.remove();
10237
+ b.options.plugins.legend.labels.generateLabels(b).forEach((v) => {
10238
+ const _ = Ti(
10239
+ b,
10240
+ u,
10241
+ v.datasetIndex
10246
10242
  );
10247
10243
  let w;
10248
- p.value ? w = oa(
10244
+ u.value ? w = oa(
10245
+ b,
10249
10246
  v,
10250
- S,
10251
- p,
10252
- g,
10253
- b.value
10254
- ) : S != null && S.lineCap ? w = Pn(S, g) : w = sa(
10255
- S,
10247
+ u,
10248
+ -1,
10249
+ m.value
10250
+ ) : v != null && v.lineCap ? w = Pn(v) : w = sa(
10256
10251
  v,
10257
- g,
10258
- b.value,
10259
- y.value,
10260
- x.value
10261
- ), w.style.boxSizing = "border-box", k.style.marginRight = "10px", k.appendChild(w), k.appendChild(Li(S)), _.appendChild(k);
10252
+ b,
10253
+ -1,
10254
+ m.value,
10255
+ p.value,
10256
+ g.value
10257
+ ), w.style.boxSizing = "border-box", _.style.marginRight = "10px", _.appendChild(w), _.appendChild(Li(v)), y.appendChild(_);
10262
10258
  });
10263
10259
  }
10264
10260
  }
10265
10261
  ];
10266
10262
  }
10267
- function n(m, p, g, b, y) {
10263
+ function n(d, u, f, m, p) {
10268
10264
  return e(
10269
- m,
10270
- p,
10265
+ d,
10266
+ u,
10271
10267
  t,
10272
- g,
10273
- b,
10274
- y
10268
+ f,
10269
+ m,
10270
+ p
10275
10271
  );
10276
10272
  }
10277
- function s() {
10278
- return (m, p) => {
10279
- p[0] !== void 0 ? (t.dataSetIndex = p[0].datasetIndex, t.columnIndex = p[0].index) : o();
10280
- };
10281
- }
10282
- function o() {
10283
- t.dataSetIndex = -1, t.columnIndex = -1;
10284
- }
10285
- function a() {
10286
- i.value = 3, i.value = 2;
10287
- }
10288
- function r(m, p, g, b, y) {
10289
- const x = i.value;
10290
- return m.map((v, _) => ({
10291
- type: v.type,
10292
- fill: v.type === "bar" ? null : !1,
10273
+ function s(d, u, f, m, p) {
10274
+ const g = i.value;
10275
+ return d.map((b, y) => ({
10276
+ type: b.type,
10277
+ fill: b.type === "bar" ? null : !1,
10293
10278
  borderWidth: function() {
10294
- return p ? 1 : x;
10279
+ return u ? 1 : g;
10295
10280
  },
10296
- borderColor: function(M) {
10297
- return p ? "#00000000" : l(
10298
- _,
10299
- M.index,
10300
- g,
10301
- y
10302
- );
10281
+ borderColor: function(x) {
10282
+ return u ? "#00000000" : b.type === "bar" ? o(
10283
+ y,
10284
+ x.index,
10285
+ f,
10286
+ p
10287
+ ) : f[y];
10303
10288
  },
10304
- backgroundColor: function(M) {
10305
- return c(
10306
- _,
10307
- M.index,
10308
- p,
10309
- g,
10310
- b,
10311
- y
10289
+ backgroundColor: function(x) {
10290
+ return a(
10291
+ y,
10292
+ x.index,
10293
+ u,
10294
+ f,
10295
+ m,
10296
+ p
10312
10297
  );
10313
10298
  },
10314
- yAxisID: v.type === "bar" ? "A" : "B",
10315
- pointStyle: _ % 2 === 0 ? "rectRot" : "circle",
10316
- data: v.data,
10317
- label: v.label,
10299
+ yAxisID: b.type === "bar" ? "A" : "B",
10300
+ pointStyle: y % 2 === 0 ? "rectRot" : "circle",
10301
+ data: b.data,
10302
+ label: b.label,
10318
10303
  pointBackgroundColor: "#FFFFFF",
10319
10304
  pointRadius: 5,
10320
- order: m.length - _
10305
+ order: d.length - y
10321
10306
  }));
10322
10307
  }
10323
- function l(m, p, g, b) {
10324
- const y = Qs(m, b);
10325
- return h(m, p) ? g[y] : Ie(g[y], 0.2);
10308
+ function o(d, u, f, m) {
10309
+ const p = Qs(d, m);
10310
+ return r(d, u) ? f[p] : Oe(f[p], 0.2);
10326
10311
  }
10327
- function c(m, p, g, b, y, x) {
10328
- const v = Qs(m, x);
10329
- return h(m, p) ? y[v](
10312
+ function a(d, u, f, m, p, g) {
10313
+ const b = Qs(d, g);
10314
+ return r(d, u) ? p[b](
10330
10315
  !1,
10331
- b[v],
10332
- g
10333
- ) : y[v](
10316
+ m[b],
10317
+ f
10318
+ ) : p[b](
10334
10319
  !0,
10335
- b[v],
10336
- g
10320
+ m[b],
10321
+ f
10337
10322
  );
10338
10323
  }
10339
- function h(m, p) {
10340
- return d() || u(m, p) || f(m);
10324
+ function r(d, u) {
10325
+ return l() || c(d, u) || h(d);
10341
10326
  }
10342
- function d() {
10327
+ function l() {
10343
10328
  return t.dataSetIndex < 0;
10344
10329
  }
10345
- function u(m, p) {
10346
- return t.dataSetIndex === m && t.columnIndex === p;
10330
+ function c(d, u) {
10331
+ return t.dataSetIndex === d && t.columnIndex === u;
10347
10332
  }
10348
- function f(m) {
10349
- return t.dataSetIndex === m && t.columnIndex < 0;
10333
+ function h(d) {
10334
+ return t.dataSetIndex === d && t.columnIndex < 0;
10350
10335
  }
10351
10336
  return {
10352
10337
  privateGetHtmlLegendPlugin: n,
10353
- getOnHoverOptions: s,
10354
- getMixedDatasets: r,
10355
- reloadChart: a,
10356
- getBorderColor: l,
10357
- getPattern: c,
10338
+ getMixedDatasets: s,
10339
+ getBorderColor: o,
10340
+ getPattern: a,
10358
10341
  onHoverIndex: t
10359
10342
  };
10360
10343
  }
@@ -10505,38 +10488,31 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10505
10488
  setup(i) {
10506
10489
  const t = i;
10507
10490
  Lt.register(
10508
- Ne,
10509
- Ve,
10510
10491
  He,
10492
+ Ne,
10493
+ We,
10511
10494
  ve,
10495
+ De,
10512
10496
  Le,
10513
- Te,
10514
10497
  dt,
10515
10498
  Kt
10516
10499
  );
10517
- const {
10518
- privateGetHtmlLegendPlugin: e,
10519
- getOnHoverOptions: n,
10520
- getMixedDatasets: s,
10521
- reloadChart: o,
10522
- onHoverIndex: a
10523
- } = Ud(), { colourSets: r, patternsStandardList: l } = $e(), c = X(null), h = X(!1), d = z(() => {
10524
- let v = [];
10525
- return t.barDatasets && (v = v.concat(t.barDatasets)), t.lineDatasets && (v = v.concat(t.lineDatasets)), v;
10526
- }), u = z(() => t.newPatternsOrder.length !== l.length ? r[t.colourSet] : t.newPatternsOrder.map((v) => r[t.colourSet][v])), f = z(() => t.newPatternsOrder.length !== l.length ? l : t.newPatternsOrder.map((v) => l[v])), m = z(() => t.disableAccessibility), p = z(() => ({
10527
- labels: b(),
10528
- datasets: s(
10500
+ const { privateGetHtmlLegendPlugin: e, getMixedDatasets: n } = Ud(), { colourSets: s, patternsStandardList: o } = je(), a = X(null), r = X(!1), l = z(() => {
10501
+ let b = [];
10502
+ return t.barDatasets && (b = b.concat(t.barDatasets)), t.lineDatasets && (b = b.concat(t.lineDatasets)), b;
10503
+ }), c = z(() => t.newPatternsOrder.length !== o.length ? s[t.colourSet] : t.newPatternsOrder.map((b) => s[t.colourSet][b])), h = z(() => t.newPatternsOrder.length !== o.length ? o : t.newPatternsOrder.map((b) => o[b])), d = z(() => t.disableAccessibility), u = z(() => ({
10504
+ labels: m(),
10505
+ datasets: n(
10506
+ l.value,
10529
10507
  d.value,
10530
- m.value,
10531
- u.value,
10532
- f.value,
10508
+ c.value,
10509
+ h.value,
10533
10510
  0
10534
10511
  )
10535
- })), g = (v) => {
10536
- const _ = v.tooltip.dataPoints[0].datasetIndex, M = v.tooltip.dataPoints[0].dataIndex, S = v.tooltip.body[0].lines[0].split(":")[1];
10537
- return d.value[_].data[M] ? parseFloat(S.replace(",", ".")).toFixed(2) + "%" : "";
10538
- }, b = () => Object.assign([], t.labels).map((_) => _), y = z(() => ({
10539
- onHover: n(),
10512
+ })), f = (b) => {
10513
+ const y = b.tooltip.dataPoints[0].datasetIndex, x = b.tooltip.dataPoints[0].dataIndex, v = b.tooltip.body[0].lines[0].split(":")[1];
10514
+ return l.value[y].data[x] ? parseFloat(v.replace(",", ".")).toFixed(2) + "%" : "";
10515
+ }, m = () => Object.assign([], t.labels).map((y) => y), p = z(() => ({
10540
10516
  type: "scatter",
10541
10517
  responsive: !0,
10542
10518
  maintainAspectRatio: !0,
@@ -10554,17 +10530,17 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10554
10530
  },
10555
10531
  tooltip: {
10556
10532
  enabled: !1,
10557
- external: function(v) {
10558
- new je().createTooltip(
10559
- v,
10560
- g,
10533
+ external: function(b) {
10534
+ new Ve().createTooltip(
10535
+ b,
10536
+ f,
10561
10537
  {
10562
10538
  chartType: ee.MIXED_BAR_LINE_CHART,
10563
10539
  firstLineLabel: t.tooltipFirstLineLabel,
10564
10540
  secondLineLabel: t.tooltipSecondLineLabel
10565
10541
  },
10566
- u.value,
10567
- f.value,
10542
+ c.value,
10543
+ h.value,
10568
10544
  t.disableAccessibility
10569
10545
  );
10570
10546
  }
@@ -10590,8 +10566,8 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10590
10566
  text: t.yLeftAxisTitle
10591
10567
  },
10592
10568
  ticks: {
10593
- callback: function(v) {
10594
- return t.unit === "%" ? on(v, t.unit) : rt(v) + " " + t.unit;
10569
+ callback: function(b) {
10570
+ return t.unit === "%" ? on(b, t.unit) : rt(b) + " " + t.unit;
10595
10571
  }
10596
10572
  }
10597
10573
  },
@@ -10607,48 +10583,42 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10607
10583
  text: t.yRightAxisTitle
10608
10584
  },
10609
10585
  ticks: {
10610
- callback: function(v) {
10611
- return t.yRightAxisTitle ? t.unit === "%" ? on(v, t.unit) : rt(v) + " " + t.unit : null;
10586
+ callback: function(b) {
10587
+ return t.yRightAxisTitle ? t.unit === "%" ? on(b, t.unit) : rt(b) + " " + t.unit : null;
10612
10588
  }
10613
10589
  }
10614
10590
  }
10615
10591
  }
10616
- })), x = X(
10592
+ })), g = X(
10617
10593
  e(
10594
+ a,
10595
+ r,
10596
+ d,
10618
10597
  c,
10619
- h,
10620
- m,
10621
- u,
10622
- f
10598
+ h
10623
10599
  )
10624
10600
  );
10625
- return Se(
10626
- a,
10627
- () => {
10628
- o();
10629
- },
10630
- { deep: !0 }
10631
- ), (v, _) => (ft(), Fe("div", Xd, [
10601
+ return (b, y) => (ft(), Ie("div", Xd, [
10632
10602
  gt("div", Gd, [
10633
- p.value ? (ft(), Re(Zt(ea), {
10603
+ u.value ? (ft(), Fe(Zt(ea), {
10634
10604
  key: 0,
10635
10605
  ref: "mixedBarLineChartRef",
10636
10606
  id: i.chartId,
10637
- data: p.value,
10638
- options: y.value,
10639
- plugins: x.value,
10640
- class: Ee(i.cssClasses),
10607
+ data: u.value,
10608
+ options: p.value,
10609
+ plugins: g.value,
10610
+ class: Re(i.cssClasses),
10641
10611
  style: Qt([{ width: i.width, height: i.height, cursor: "pointer" }, i.styles])
10642
- }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Be("", !0)
10612
+ }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Ee("", !0)
10643
10613
  ]),
10644
10614
  gt("div", {
10645
10615
  ref_key: "legendContainer",
10646
- ref: c
10616
+ ref: a
10647
10617
  }, null, 512)
10648
10618
  ]));
10649
10619
  }
10650
10620
  });
10651
- const Js = /* @__PURE__ */ Ye(qd, [["__scopeId", "data-v-0dd46b73"]]);
10621
+ const Js = /* @__PURE__ */ $e(qd, [["__scopeId", "data-v-86ba8aab"]]);
10652
10622
  Js.install = (i) => {
10653
10623
  i.component("MixedBarLineChart", Js);
10654
10624
  };