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

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], Ye = (i) => (i & 240) >> 4 === (i & 15), ma = (i) => Ye(i.r) && Ye(i.g) && Ye(i.b) && Ye(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],
@@ -326,17 +326,17 @@ function Oa(i) {
326
326
  function Ia(i) {
327
327
  return i && (i.a < 255 ? `rgba(${i.r}, ${i.g}, ${i.b}, ${yt(i.a)})` : `rgb(${i.r}, ${i.g}, ${i.b})`);
328
328
  }
329
- const Fi = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055, Ut = (i) => i <= 0.04045 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
329
+ const Fi = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055, Yt = (i) => i <= 0.04045 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
330
330
  function Fa(i, t, e) {
331
- const n = Ut(yt(i.r)), s = Ut(yt(i.g)), o = Ut(yt(i.b));
331
+ const n = Yt(yt(i.r)), s = Yt(yt(i.g)), o = Yt(yt(i.b));
332
332
  return {
333
- r: Mt(Fi(n + e * (Ut(yt(t.r)) - n))),
334
- g: Mt(Fi(s + e * (Ut(yt(t.g)) - s))),
335
- b: Mt(Fi(o + e * (Ut(yt(t.b)) - o))),
333
+ r: Mt(Fi(n + e * (Yt(yt(t.r)) - n))),
334
+ g: Mt(Fi(s + e * (Yt(yt(t.g)) - s))),
335
+ b: Mt(Fi(o + e * (Yt(yt(t.b)) - o))),
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)
@@ -585,7 +585,7 @@ const Me = (i) => typeof i < "u", At = (i) => typeof i == "function", In = (i, t
585
585
  function Va(i) {
586
586
  return i.type === "mouseup" || i.type === "click" || i.type === "contextmenu";
587
587
  }
588
- const N = Math.PI, H = 2 * N, ja = H + N, gi = Number.POSITIVE_INFINITY, $a = N / 180, Y = N / 2, Tt = N / 4, Fn = N * 2 / 3, wt = Math.log10, ut = Math.sign;
588
+ const N = Math.PI, H = 2 * N, ja = H + N, gi = Number.POSITIVE_INFINITY, $a = N / 180, U = N / 2, Tt = N / 4, Fn = N * 2 / 3, wt = Math.log10, ut = Math.sign;
589
589
  function ye(i, t, e) {
590
590
  return Math.abs(i - t) < e;
591
591
  }
@@ -595,17 +595,17 @@ function Rn(i) {
595
595
  const e = Math.pow(10, Math.floor(wt(i))), n = i / e;
596
596
  return (n <= 1 ? 1 : n <= 2 ? 2 : n <= 5 ? 5 : 10) * e;
597
597
  }
598
- function Ya(i) {
598
+ function Ua(i) {
599
599
  const t = [], e = Math.sqrt(i);
600
600
  let n;
601
601
  for (n = 1; n < e; n++)
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
- function Ua(i, t) {
608
+ function Ya(i, t) {
609
609
  const e = Math.round(i);
610
610
  return e - t <= i && e + t >= i;
611
611
  }
@@ -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),
@@ -795,19 +795,19 @@ const Ke = (i) => i === 0 || i === 1, zn = (i, t, e) => -(Math.pow(2, 10 * (i -=
795
795
  easeInQuint: (i) => i * i * i * i * i,
796
796
  easeOutQuint: (i) => (i -= 1) * i * i * i * i + 1,
797
797
  easeInOutQuint: (i) => (i /= 0.5) < 1 ? 0.5 * i * i * i * i * i : 0.5 * ((i -= 2) * i * i * i * i + 2),
798
- easeInSine: (i) => -Math.cos(i * Y) + 1,
799
- easeOutSine: (i) => Math.sin(i * Y),
798
+ easeInSine: (i) => -Math.cos(i * U) + 1,
799
+ easeOutSine: (i) => Math.sin(i * U),
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) {
@@ -1176,7 +1176,7 @@ function yo(i, t, e, n, s) {
1176
1176
  h = s ? s / 2 : p, i.moveTo(e + Math.sin(g) * h, n - Math.cos(g) * p), g += Fn, i.lineTo(e + Math.sin(g) * h, n - Math.cos(g) * p), g += Fn, i.lineTo(e + Math.sin(g) * h, n - Math.cos(g) * p), i.closePath();
1177
1177
  break;
1178
1178
  case "rectRounded":
1179
- c = p * 0.516, l = p - c, a = Math.cos(g + Tt) * l, d = Math.cos(g + Tt) * (s ? s / 2 - c : l), r = Math.sin(g + Tt) * l, u = Math.sin(g + Tt) * (s ? s / 2 - c : l), i.arc(e - d, n - r, c, g - N, g - Y), i.arc(e + u, n - a, c, g - Y, g), i.arc(e + d, n + r, c, g, g + Y), i.arc(e - u, n + a, c, g + Y, g + N), i.closePath();
1179
+ c = p * 0.516, l = p - c, a = Math.cos(g + Tt) * l, d = Math.cos(g + Tt) * (s ? s / 2 - c : l), r = Math.sin(g + Tt) * l, u = Math.sin(g + Tt) * (s ? s / 2 - c : l), i.arc(e - d, n - r, c, g - N, g - U), i.arc(e + u, n - a, c, g - U, g), i.arc(e + d, n + r, c, g, g + U), i.arc(e - u, n + a, c, g + U, g + N), i.closePath();
1180
1180
  break;
1181
1181
  case "rect":
1182
1182
  if (!m) {
@@ -1254,9 +1254,9 @@ 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
- 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);
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, U, !0), i.lineTo(e + s - a.bottomRight, n + o), i.arc(e + s - a.bottomRight, n + o - a.bottomRight, a.bottomRight, U, 0, !0), i.lineTo(e + s, n + a.topRight), i.arc(e + s - a.topRight, n + a.topRight, a.topRight, 0, -U, !0), i.lineTo(e + a.topLeft, n);
1260
1260
  }
1261
1261
  const br = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, yr = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
1262
1262
  function xr(i, t) {
@@ -1299,7 +1299,7 @@ function Q(i) {
1299
1299
  const t = xo(i);
1300
1300
  return t.width = t.left + t.right, t.height = t.top + t.bottom, t;
1301
1301
  }
1302
- function U(i, t) {
1302
+ function Y(i, t) {
1303
1303
  i = i || {}, t = t || j.font;
1304
1304
  let e = L(i.size, t.size);
1305
1305
  typeof e == "string" && (e = parseInt(e, 10));
@@ -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,18 +1729,18 @@ 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
  };
1736
1736
  }
1737
- function Yn(i, t, e) {
1737
+ function Un(i, t, e) {
1738
1738
  const n = t || 1, s = Math.floor(i.height * n), o = Math.floor(i.width * n);
1739
1739
  i.height = Math.floor(i.height), i.width = Math.floor(i.width);
1740
1740
  const a = i.canvas;
1741
1741
  return a.style && (e || !a.style.height && !a.style.width) && (a.style.height = `${i.height}px`, a.style.width = `${i.width}px`), i.currentDevicePixelRatio !== n || a.height !== s || a.width !== o ? (i.currentDevicePixelRatio = n, a.height = s, a.width = o, i.ctx.setTransform(n, 0, 0, n, 0, 0), !0) : !1;
1742
1742
  }
1743
- const Yr = function() {
1743
+ const Ur = function() {
1744
1744
  let i = !1;
1745
1745
  try {
1746
1746
  const t = {
@@ -1753,7 +1753,7 @@ const Yr = function() {
1753
1753
  }
1754
1754
  return i;
1755
1755
  }();
1756
- function Un(i, t) {
1756
+ function Yn(i, t) {
1757
1757
  const e = Wr(i, t), n = e && e.match(/^(\d+)(\.\d+)?px$/);
1758
1758
  return n ? +n[1] : void 0;
1759
1759
  }
@@ -1763,7 +1763,7 @@ function Et(i, t, e, n) {
1763
1763
  y: i.y + e * (t.y - i.y)
1764
1764
  };
1765
1765
  }
1766
- function Ur(i, t, e, n) {
1766
+ function Yr(i, t, e, n) {
1767
1767
  return {
1768
1768
  x: i.x + e * (t.x - i.x),
1769
1769
  y: n === "middle" ? e < 0.5 ? i.y : t.y : n === "after" ? e < 1 ? i.y : t.y : e > 0 ? t.y : i.y
@@ -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(U, h, u), b = m(N, c, d), y = m(N + U, 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,
@@ -3819,19 +3819,19 @@ function Vl(i, t) {
3819
3819
  }
3820
3820
  }
3821
3821
  }, e.display = e.display || "block", e.boxSizing = e.boxSizing || "border-box", hs(s)) {
3822
- const o = Un(i, "width");
3822
+ const o = Yn(i, "width");
3823
3823
  o !== void 0 && (i.width = o);
3824
3824
  }
3825
3825
  if (hs(n))
3826
3826
  if (i.style.height === "")
3827
3827
  i.height = i.width / (t || 2);
3828
3828
  else {
3829
- const o = Un(i, "height");
3829
+ const o = Yn(i, "height");
3830
3830
  o !== void 0 && (i.height = o);
3831
3831
  }
3832
3832
  return i;
3833
3833
  }
3834
- const Bo = Yr ? {
3834
+ const Bo = Ur ? {
3835
3835
  passive: !0
3836
3836
  } : !1;
3837
3837
  function jl(i, t, e) {
@@ -3840,7 +3840,7 @@ function jl(i, t, e) {
3840
3840
  function $l(i, t, e) {
3841
3841
  i.canvas.removeEventListener(t, e, Bo);
3842
3842
  }
3843
- function Yl(i, t) {
3843
+ function Ul(i, t) {
3844
3844
  const e = Nl[i.type] || i.type, { x: n, y: s } = Rt(i, t);
3845
3845
  return {
3846
3846
  type: e,
@@ -3855,7 +3855,7 @@ function bi(i, t) {
3855
3855
  if (e === t || e.contains(t))
3856
3856
  return !0;
3857
3857
  }
3858
- function Ul(i, t, e) {
3858
+ function Yl(i, t, e) {
3859
3859
  const n = i.canvas, s = new MutationObserver((o) => {
3860
3860
  let a = !1;
3861
3861
  for (const r of o)
@@ -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);
@@ -3911,7 +3911,7 @@ function Vi(i, t, e) {
3911
3911
  }
3912
3912
  function Zl(i, t, e) {
3913
3913
  const n = i.canvas, s = mo((o) => {
3914
- i.ctx !== null && e(Yl(o, i));
3914
+ i.ctx !== null && e(Ul(o, i));
3915
3915
  }, i);
3916
3916
  return jl(n, t, s), s;
3917
3917
  }
@@ -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,12 +3935,12 @@ 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);
3942
3942
  const s = t.$proxies || (t.$proxies = {}), a = {
3943
- attach: Ul,
3943
+ attach: Yl,
3944
3944
  detach: Xl,
3945
3945
  resize: Kl
3946
3946
  }[e] || Zl;
@@ -3970,13 +3970,13 @@ class Ql extends Eo {
3970
3970
  function Jl(i) {
3971
3971
  return !Mo() || typeof OffscreenCanvas < "u" && i instanceof OffscreenCanvas ? Hl : Ql;
3972
3972
  }
3973
- class at {
3973
+ class rt {
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(rt, "defaults", {}), k(rt, "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;
@@ -4024,7 +4024,7 @@ function ic(i, t, e) {
4024
4024
  const n = oc(i), s = t.length / e;
4025
4025
  if (!n)
4026
4026
  return Math.max(s, 1);
4027
- const o = Ya(n);
4027
+ const o = Ua(n);
4028
4028
  for (let a = 0, r = o.length - 1; a < r; a++) {
4029
4029
  const l = o[a];
4030
4030
  if (l > s)
@@ -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; )
@@ -4093,7 +4093,7 @@ function ce(i) {
4093
4093
  function ps(i, t) {
4094
4094
  if (!i.display)
4095
4095
  return 0;
4096
- const e = U(i.font, t), n = Q(i.padding);
4096
+ const e = Y(i.font, t), n = Q(i.padding);
4097
4097
  return (W(i.text) ? i.text.length : 1) * e.lineHeight + n.height;
4098
4098
  }
4099
4099
  function cc(i, t) {
@@ -4130,7 +4130,7 @@ function uc(i, t, e, n) {
4130
4130
  f = h[b].getPixelForValue(y) - g + t;
4131
4131
  } else
4132
4132
  e === "center" ? f = (c.left + c.right) / 2 - g + t : f = us(i, e, t);
4133
- m = K(n, a, s), d = e === "left" ? -Y : Y;
4133
+ m = K(n, a, s), d = e === "left" ? -U : U;
4134
4134
  }
4135
4135
  return {
4136
4136
  titleX: f,
@@ -4139,7 +4139,7 @@ function uc(i, t, e, n) {
4139
4139
  rotation: d
4140
4140
  };
4141
4141
  }
4142
- class jt extends at {
4142
+ class jt extends rt {
4143
4143
  constructor(t) {
4144
4144
  super(), this.id = t.id, this.type = t.type, this.options = void 0, this.ctx = t.ctx, this.chart = t.chart, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.width = void 0, this.height = void 0, this._margins = {
4145
4145
  left: 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,16 +4469,16 @@ 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), at = r.setContext(R), q = $.lineWidth, $t = $.color, Ue = at.dash || [], Ut = at.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,
@@ -4486,7 +4486,7 @@ class jt extends at {
4486
4486
  width: q,
4487
4487
  color: $t,
4488
4488
  borderDash: Ue,
4489
- borderDashOffset: Yt,
4489
+ borderDashOffset: Ut,
4490
4490
  tickWidth: ie,
4491
4491
  tickColor: ne,
4492
4492
  tickBorderDash: se,
@@ -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,14 +4530,14 @@ 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;
4534
- const R = A / 2, $ = O.color, ot = O.textStrokeColor, q = O.textStrokeWidth;
4533
+ M = this.getPixelForTick(b) + o.labelOffset, C = this._resolveTickFontOptions(b), P = C.lineHeight, A = W(v) ? v.length : 1;
4534
+ const R = A / 2, $ = O.color, at = 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);
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
4537
  let Ue;
4538
4538
  if (O.showLabelBackdrop) {
4539
- const Yt = Q(O.backdropPadding), ie = G.heights[b], ne = G.widths[b];
4540
- let se = D - Yt.top, oe = 0 - Yt.left;
4539
+ const Ut = Q(O.backdropPadding), ie = G.heights[b], ne = G.widths[b];
4540
+ let se = D - Ut.top, oe = 0 - Ut.left;
4541
4541
  switch (E) {
4542
4542
  case "middle":
4543
4543
  se -= ie / 2;
@@ -4557,25 +4557,25 @@ class jt extends at {
4557
4557
  Ue = {
4558
4558
  left: oe,
4559
4559
  top: se,
4560
- width: ne + Yt.width,
4561
- height: ie + Yt.height,
4560
+ width: ne + Ut.width,
4561
+ height: ie + Ut.height,
4562
4562
  color: O.backdropColor
4563
4563
  };
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,
4571
4571
  color: $,
4572
- strokeColor: ot,
4572
+ strokeColor: at,
4573
4573
  strokeWidth: q,
4574
4574
  textAlign: $t,
4575
4575
  textBaseline: E,
4576
4576
  translation: [
4577
4577
  _,
4578
- M
4578
+ w
4579
4579
  ],
4580
4580
  backdrop: Ue
4581
4581
  }
@@ -4681,7 +4681,7 @@ class jt extends at {
4681
4681
  const { ctx: t, options: { position: e, title: n, reverse: s } } = this;
4682
4682
  if (!n.display)
4683
4683
  return;
4684
- const o = U(n.font), a = Q(n.padding), r = n.align;
4684
+ const o = Y(n.font), a = Q(n.padding), r = n.align;
4685
4685
  let l = o.lineHeight / 2;
4686
4686
  e === "bottom" || e === "center" || T(e) ? (l += a.bottom, W(n.text) && (l += o.lineHeight * (n.text.length - 1))) : l += a.top;
4687
4687
  const { titleX: c, titleY: h, maxWidth: d, rotation: u } = uc(this, l, e, r);
@@ -4741,14 +4741,14 @@ class jt extends at {
4741
4741
  }
4742
4742
  _resolveTickFontOptions(t) {
4743
4743
  const e = this.options.ticks.setContext(this.getContext(t));
4744
- return U(e.font);
4744
+ return Y(e.font);
4745
4745
  }
4746
4746
  _maxDigits() {
4747
4747
  const t = this._resolveTickFontOptions(0).lineHeight;
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(rt, "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
  }
@@ -5303,7 +5303,7 @@ let Lt = (vt = class {
5303
5303
  return ct;
5304
5304
  }
5305
5305
  _initialize() {
5306
- return this.notifyPlugins("beforeInit"), this.options.responsive ? this.resize() : Yn(this, this.options.devicePixelRatio), this.bindEvents(), this.notifyPlugins("afterInit"), this;
5306
+ return this.notifyPlugins("beforeInit"), this.options.responsive ? this.resize() : Un(this, this.options.devicePixelRatio), this.bindEvents(), this.notifyPlugins("afterInit"), this;
5307
5307
  }
5308
5308
  clear() {
5309
5309
  return Vn(this.canvas, this.ctx), this;
@@ -5319,7 +5319,7 @@ let Lt = (vt = class {
5319
5319
  }
5320
5320
  _resize(t, e) {
5321
5321
  const n = this.options, s = this.canvas, o = n.maintainAspectRatio && this.aspectRatio, a = this.platform.getMaximumSize(s, t, e, o), r = n.devicePixelRatio || this.platform.getDevicePixelRatio(), l = this.width ? "resize" : "attach";
5322
- this.width = a.width, this.height = a.height, this._aspectRatio = this.aspectRatio, Yn(this, r, !0) && (this.notifyPlugins("resize", {
5322
+ this.width = a.width, this.height = a.height, this._aspectRatio = this.aspectRatio, Un(this, r, !0) && (this.notifyPlugins("resize", {
5323
5323
  size: a
5324
5324
  }), B(n.onResize, [
5325
5325
  this,
@@ -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,14 +5742,14 @@ 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
  }
5749
5749
  function Bc(i, t, e) {
5750
5750
  const { startAngle: n, pixelMargin: s, x: o, y: a, outerRadius: r, innerRadius: l } = t;
5751
5751
  let c = s / r;
5752
- i.beginPath(), i.arc(o, a, r, n - c, e + c), l > s ? (c = s / l, i.arc(o, a, l, e + c, n - c, !0)) : i.arc(o, a, s, e + Y, n - Y), i.closePath(), i.clip();
5752
+ i.beginPath(), i.arc(o, a, r, n - c, e + c), l > s ? (c = s / l, i.arc(o, a, l, e + c, n - c, !0)) : i.arc(o, a, s, e + U, n - U), i.closePath(), i.clip();
5753
5753
  }
5754
5754
  function zc(i) {
5755
5755
  return yn(i, [
@@ -5782,37 +5782,37 @@ function yi(i, t, e, n, s, o) {
5782
5782
  let f = 0;
5783
5783
  const m = s - l;
5784
5784
  if (n) {
5785
- const O = h > 0 ? h - n : 0, R = d > 0 ? d - n : 0, $ = (O + R) / 2, ot = $ !== 0 ? m * $ / ($ + n) : m;
5786
- f = (m - ot) / 2;
5785
+ const O = h > 0 ? h - n : 0, R = d > 0 ? d - n : 0, $ = (O + R) / 2, at = $ !== 0 ? m * $ / ($ + n) : m;
5786
+ f = (m - at) / 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);
5793
- i.arc(q.x, q.y, v, P, y + Y);
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
+ i.arc(q.x, q.y, v, P, y + U);
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 + U, 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
- i.arc(q.x, q.y, _, E + Math.PI, b - Y);
5803
+ i.arc(q.x, q.y, _, E + Math.PI, b - U);
5804
5804
  }
5805
- const ot = Xt(S, b, a, r);
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);
5805
+ const at = Xt(S, b, a, r);
5806
+ if (i.lineTo(at.x, at.y), x > 0) {
5807
+ const q = Xt(S, C, a, r);
5808
+ i.arc(q.x, q.y, x, b - U, 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
- const $ = Math.cos(P) * d + a, ot = Math.sin(P) * d + r;
5815
- i.lineTo($, ot);
5814
+ const $ = Math.cos(P) * d + a, at = Math.sin(P) * d + r;
5815
+ i.lineTo($, at);
5816
5816
  }
5817
5817
  i.closePath();
5818
5818
  }
@@ -5841,16 +5841,16 @@ function Nc(i, t, e, n, s) {
5841
5841
  }
5842
5842
  f && Bc(i, t, m), o || (yi(i, t, e, n, m, s), i.stroke());
5843
5843
  }
5844
- class ge extends at {
5844
+ class ge extends rt {
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
  });
@@ -5940,7 +5940,7 @@ function $c(i, t, e, n) {
5940
5940
  m = s[(r + (u ? c - f : f)) % a], !m.skip && (d ? (i.moveTo(m.x, m.y), d = !1) : h(i, p, m, u, o.stepped), p = m);
5941
5941
  return l && (m = s[(r + (u ? c : 0)) % a], h(i, p, m, u, o.stepped)), !!l;
5942
5942
  }
5943
- function Yc(i, t, e, n) {
5943
+ function Uc(i, t, e, n) {
5944
5944
  const s = t.points, { count: o, start: a, ilen: r } = $o(s, e, n), { move: l = !0, reverse: c } = n || {};
5945
5945
  let h = 0, d = 0, u, f, m, p, g, b;
5946
5946
  const y = (v) => (a + (c ? r - v : v)) % o, x = () => {
@@ -5949,17 +5949,17 @@ 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
  }
5957
5957
  function tn(i) {
5958
5958
  const t = i.options, e = t.borderDash && t.borderDash.length;
5959
- return !i._decimated && !i._loop && !t.tension && t.cubicInterpolationMode !== "monotone" && !t.stepped && !e ? Yc : $c;
5959
+ return !i._decimated && !i._loop && !t.tension && t.cubicInterpolationMode !== "monotone" && !t.stepped && !e ? Uc : $c;
5960
5960
  }
5961
- function Uc(i) {
5962
- return i.stepped ? Ur : i.tension || i.cubicInterpolationMode === "monotone" ? Xr : Et;
5961
+ function Yc(i) {
5962
+ return i.stepped ? Yr : i.tension || i.cubicInterpolationMode === "monotone" ? Xr : Et;
5963
5963
  }
5964
5964
  function Xc(i, t, e, n) {
5965
5965
  let s = t._path;
@@ -5977,7 +5977,7 @@ const qc = typeof Path2D == "function";
5977
5977
  function Kc(i, t, e, n) {
5978
5978
  qc && !t.options.segment ? Xc(i, t, e, n) : Gc(i, t, e, n);
5979
5979
  }
5980
- class dt extends at {
5980
+ class dt extends rt {
5981
5981
  constructor(t) {
5982
5982
  super(), this.animated = !0, this.options = void 0, this._chart = void 0, this._loop = void 0, this._fullLoop = void 0, this._path = void 0, this._points = void 0, this._segments = void 0, this._decimated = !1, this._pointsUpdated = !1, this._datasetIndex = void 0, t && Object.assign(this, t);
5983
5983
  }
@@ -6013,7 +6013,7 @@ class dt extends at {
6013
6013
  });
6014
6014
  if (!a.length)
6015
6015
  return;
6016
- const r = [], l = Uc(n);
6016
+ const r = [], l = Yc(n);
6017
6017
  let c, h;
6018
6018
  for (c = 0, h = a.length; c < h; ++c) {
6019
6019
  const { start: d, end: u } = a[c], f = o[d], m = o[u];
@@ -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
  });
@@ -6070,12 +6070,12 @@ function Ms(i, t, e, n) {
6070
6070
  ], n);
6071
6071
  return Math.abs(t - o) < s.radius + s.hitRadius;
6072
6072
  }
6073
- class Kt extends at {
6073
+ class Kt extends rt {
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,11 +6131,11 @@ 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
  });
6138
- function Yo(i, t) {
6138
+ function Uo(i, t) {
6139
6139
  const { x: e, y: n, base: s, width: o, height: a } = i.getProps([
6140
6140
  "x",
6141
6141
  "y",
@@ -6175,7 +6175,7 @@ function Qc(i, t, e) {
6175
6175
  };
6176
6176
  }
6177
6177
  function Jc(i) {
6178
- const t = Yo(i), e = t.right - t.left, n = t.bottom - t.top, s = Zc(i, e / 2, n / 2), o = Qc(i, e / 2, n / 2);
6178
+ const t = Uo(i), e = t.right - t.left, n = t.bottom - t.top, s = Zc(i, e / 2, n / 2), o = Qc(i, e / 2, n / 2);
6179
6179
  return {
6180
6180
  outer: {
6181
6181
  x: t.left,
@@ -6199,7 +6199,7 @@ function Jc(i) {
6199
6199
  };
6200
6200
  }
6201
6201
  function ji(i, t, e, n) {
6202
- const s = t === null, o = e === null, r = i && !(s && o) && Yo(i, n);
6202
+ const s = t === null, o = e === null, r = i && !(s && o) && Uo(i, n);
6203
6203
  return r && (s || xt(t, r.left, r.right)) && (o || xt(e, r.top, r.bottom));
6204
6204
  }
6205
6205
  function th(i) {
@@ -6218,12 +6218,12 @@ function $i(i, t, e = {}) {
6218
6218
  radius: i.radius
6219
6219
  };
6220
6220
  }
6221
- class ve extends at {
6221
+ class ve extends rt {
6222
6222
  constructor(t) {
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
  });
@@ -6335,7 +6335,7 @@ function kn(i, t, e) {
6335
6335
  function Cs(i, t, e, n) {
6336
6336
  return i && t ? n(i[e], t[e]) : i ? i[e] : t ? t[e] : 0;
6337
6337
  }
6338
- function Uo(i, t) {
6338
+ function Yo(i, t) {
6339
6339
  let e = [], n = !1;
6340
6340
  return W(i) ? (n = !0, e = i) : e = nh(i, t), e.length ? new dt({
6341
6341
  points: e,
@@ -6399,7 +6399,7 @@ function ch(i) {
6399
6399
  }
6400
6400
  function hh(i) {
6401
6401
  const { scale: t, index: e, line: n } = i, s = [], o = n.segments, a = n.points, r = dh(t, e);
6402
- r.push(Uo({
6402
+ r.push(Yo({
6403
6403
  x: null,
6404
6404
  y: t.bottom
6405
6405
  }, n));
@@ -6484,7 +6484,7 @@ function gh(i) {
6484
6484
  if (e === "shape")
6485
6485
  return !0;
6486
6486
  const s = mh(i);
6487
- return s instanceof Xo ? s : Uo(s, n);
6487
+ return s instanceof Xo ? s : Yo(s, n);
6488
6488
  }
6489
6489
  function ph(i, t) {
6490
6490
  const e = i.getDatasetMeta(t);
@@ -6518,7 +6518,7 @@ function yh(i) {
6518
6518
  r.push(t.getPointPositionForValue(l, a));
6519
6519
  return r;
6520
6520
  }
6521
- function Yi(i, t, e) {
6521
+ function Ui(i, t, e) {
6522
6522
  const n = gh(t), { line: s, scale: o, axis: a } = t, r = s.options, l = r.fill, c = r.backgroundColor, { above: h = c, below: d = c } = l || {};
6523
6523
  n && s.points.length && (ki(i, e), xh(i, {
6524
6524
  line: s,
@@ -6606,7 +6606,7 @@ var vh = {
6606
6606
  const n = e.drawTime === "beforeDraw", s = i.getSortedVisibleDatasetMetas(), o = i.chartArea;
6607
6607
  for (let a = s.length - 1; a >= 0; --a) {
6608
6608
  const r = s[a].$filler;
6609
- r && (r.line.updateControlPoints(o, r.axis), n && r.fill && Yi(i.ctx, r, o));
6609
+ r && (r.line.updateControlPoints(o, r.axis), n && r.fill && Ui(i.ctx, r, o));
6610
6610
  }
6611
6611
  },
6612
6612
  beforeDatasetsDraw(i, t, e) {
@@ -6615,12 +6615,12 @@ var vh = {
6615
6615
  const n = i.getSortedVisibleDatasetMetas();
6616
6616
  for (let s = n.length - 1; s >= 0; --s) {
6617
6617
  const o = n[s].$filler;
6618
- Ps(o) && Yi(i.ctx, o, i.chartArea);
6618
+ Ps(o) && Ui(i.ctx, o, i.chartArea);
6619
6619
  }
6620
6620
  },
6621
6621
  beforeDatasetDraw(i, t, e) {
6622
6622
  const n = t.meta.$filler;
6623
- !Ps(n) || e.drawTime !== "beforeDatasetDraw" || Yi(i.ctx, n, i.chartArea);
6623
+ !Ps(n) || e.drawTime !== "beforeDatasetDraw" || Ui(i.ctx, n, i.chartArea);
6624
6624
  },
6625
6625
  defaults: {
6626
6626
  propagate: !0,
@@ -6635,7 +6635,7 @@ const Ts = (i, t) => {
6635
6635
  itemHeight: Math.max(t, e)
6636
6636
  };
6637
6637
  }, Sh = (i, t) => i !== null && t !== null && i.datasetIndex === t.datasetIndex && i.index === t.index;
6638
- class Os extends at {
6638
+ class Os extends rt {
6639
6639
  constructor(t) {
6640
6640
  super(), this._added = !1, this.legendHitBoxes = [], this._hoveredItem = null, this.doughnutMode = !1, this.chart = t.chart, this.options = t.options, this.ctx = t.ctx, this.legendItems = void 0, this.columnSizes = void 0, this.lineWidths = void 0, this.maxHeight = void 0, this.maxWidth = void 0, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.height = void 0, this.width = void 0, this._margins = void 0, this.position = void 0, this.weight = void 0, this.fullSize = void 0;
6641
6641
  }
@@ -6658,7 +6658,7 @@ class Os extends at {
6658
6658
  this.width = this.height = 0;
6659
6659
  return;
6660
6660
  }
6661
- const n = t.labels, s = U(n.font), o = s.size, a = this._computeTitleHeight(), { boxWidth: r, itemHeight: l } = Ts(n, o);
6661
+ const n = t.labels, s = Y(n.font), o = s.size, a = this._computeTitleHeight(), { boxWidth: r, itemHeight: l } = Ts(n, o);
6662
6662
  let c, h;
6663
6663
  e.font = s.string, this.isHorizontal() ? (c = this.maxWidth, h = this._fitRows(a, o, r, l) + 10) : (h = this.maxHeight, c = this._fitCols(a, s, r, l) + 10), this.width = Math.min(c, t.maxWidth || this.maxWidth), this.height = Math.min(h, t.maxHeight || this.maxHeight);
6664
6664
  }
@@ -6724,37 +6724,37 @@ class Os extends at {
6724
6724
  }
6725
6725
  }
6726
6726
  _draw() {
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;
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 = Y(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,23 +6767,23 @@ 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);
6784
6784
  }
6785
6785
  drawTitle() {
6786
- const t = this.options, e = t.title, n = U(e.font), s = Q(e.padding);
6786
+ const t = this.options, e = t.title, n = Y(e.font), s = Q(e.padding);
6787
6787
  if (!e.display)
6788
6788
  return;
6789
6789
  const o = qt(t.rtl, this.left, this.width), a = this.ctx, r = e.position, l = n.size / 2, c = s.top + l;
@@ -6798,7 +6798,7 @@ class Os extends at {
6798
6798
  a.textAlign = o.textAlign(mn(r)), a.textBaseline = "middle", a.strokeStyle = e.color, a.fillStyle = e.color, a.font = n.string, Nt(a, e.text, f, h, n);
6799
6799
  }
6800
6800
  _computeTitleHeight() {
6801
- const t = this.options.title, e = U(t.font), n = Q(t.padding);
6801
+ const t = this.options.title, e = Y(t.font), n = Q(t.padding);
6802
6802
  return t.display ? e.lineHeight + n.height : 0;
6803
6803
  }
6804
6804
  _getLegendItemAt(t, e) {
@@ -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) {
@@ -6940,7 +6940,7 @@ var He = {
6940
6940
  }
6941
6941
  }
6942
6942
  };
6943
- class qo extends at {
6943
+ class qo extends rt {
6944
6944
  constructor(t) {
6945
6945
  super(), this.chart = t.chart, this.options = t.options, this.ctx = t.ctx, this._padding = void 0, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.width = void 0, this.height = void 0, this.position = void 0, this.weight = void 0, this.fullSize = void 0;
6946
6946
  }
@@ -6953,7 +6953,7 @@ class qo extends at {
6953
6953
  this.width = this.right = t, this.height = this.bottom = e;
6954
6954
  const s = W(n.text) ? n.text.length : 1;
6955
6955
  this._padding = Q(n.padding);
6956
- const o = s * U(n.font).lineHeight + this._padding.height;
6956
+ const o = s * Y(n.font).lineHeight + this._padding.height;
6957
6957
  this.isHorizontal() ? this.height = o : this.width = o;
6958
6958
  }
6959
6959
  isHorizontal() {
@@ -6974,7 +6974,7 @@ class qo extends at {
6974
6974
  const t = this.ctx, e = this.options;
6975
6975
  if (!e.display)
6976
6976
  return;
6977
- const n = U(e.font), o = n.lineHeight / 2 + this._padding.top, { titleX: a, titleY: r, maxWidth: l, rotation: c } = this._drawArgs(o);
6977
+ const n = Y(e.font), o = n.lineHeight / 2 + this._padding.top, { titleX: a, titleY: r, maxWidth: l, rotation: c } = this._drawArgs(o);
6978
6978
  Nt(t, e.text, 0, 0, n, {
6979
6979
  color: e.color,
6980
6980
  maxWidth: l,
@@ -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) {
@@ -7091,7 +7091,7 @@ function Ah(i, t) {
7091
7091
  };
7092
7092
  }
7093
7093
  function Is(i, t) {
7094
- const e = i.chart.ctx, { body: n, footer: s, title: o } = i, { boxWidth: a, boxHeight: r } = t, l = U(t.bodyFont), c = U(t.titleFont), h = U(t.footerFont), d = o.length, u = s.length, f = n.length, m = Q(t.padding);
7094
+ const e = i.chart.ctx, { body: n, footer: s, title: o } = i, { boxWidth: a, boxHeight: r } = t, l = Y(t.bodyFont), c = Y(t.titleFont), h = Y(t.footerFont), d = o.length, u = s.length, f = n.length, m = Q(t.padding);
7095
7095
  let p = m.height, g = 0, b = n.reduce((v, _) => v + _.before.length + _.lines.length + _.after.length, 0);
7096
7096
  if (b += i.beforeBody.length + i.afterBody.length, d && (p += d * c.lineHeight + (d - 1) * t.titleSpacing + t.titleMarginBottom), b) {
7097
7097
  const v = t.displayColors ? Math.max(r, l.lineHeight) : l.lineHeight;
@@ -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
  }
@@ -7221,7 +7221,7 @@ function J(i, t, e, n) {
7221
7221
  const s = i[t].call(e, n);
7222
7222
  return typeof s > "u" ? Ko[t].call(e, n) : s;
7223
7223
  }
7224
- class nn extends at {
7224
+ class nn extends rt {
7225
7225
  constructor(t) {
7226
7226
  super(), this.opacity = 0, this._active = [], this._eventPosition = void 0, this._size = void 0, this._cachedAnimations = void 0, this._tooltipItems = [], this.$animations = void 0, this.$context = void 0, this.chart = t.chart, this.options = t.options, this.dataPoints = void 0, this.title = void 0, this.beforeBody = void 0, this.body = void 0, this.afterBody = void 0, this.footer = void 0, this.xAlign = void 0, this.yAlign = void 0, this.x = void 0, this.y = void 0, this.height = void 0, this.width = void 0, this.caretX = void 0, this.caretY = void 0, this.labelColors = void 0, this.labelPointStyles = void 0, this.labelTextColors = void 0;
7227
7227
  }
@@ -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 = Y(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 = Y(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,
@@ -7357,13 +7357,13 @@ class nn extends at {
7357
7357
  t.fillStyle = this.labelTextColors[n];
7358
7358
  }
7359
7359
  drawBody(t, e, n) {
7360
- const { body: s } = this, { bodySpacing: o, bodyAlign: a, displayColors: r, boxHeight: l, boxWidth: c, boxPadding: h } = n, d = U(n.bodyFont);
7360
+ const { body: s } = this, { bodySpacing: o, bodyAlign: a, displayColors: r, boxHeight: l, boxWidth: c, boxPadding: h } = n, d = Y(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 = Y(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 && Ya((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: {
@@ -7893,12 +7893,12 @@ function Vh(i) {
7893
7893
  for (let l = 0; l < o; l++) {
7894
7894
  const c = a.setContext(i.getPointLabelContext(l));
7895
7895
  s[l] = c.padding;
7896
- const h = i.getPointPosition(l, i.drawingArea + s[l], r), d = U(c.font), u = Nh(i.ctx, d, i._pointLabels[l]);
7896
+ const h = i.getPointPosition(l, i.drawingArea + s[l], r), d = Y(c.font), u = Nh(i.ctx, d, i._pointLabels[l]);
7897
7897
  n[l] = u;
7898
7898
  const f = it(i.getIndexAngle(l) + r), m = Math.round(gn(f)), p = js(m, h.x, u.w, 0, 180), g = js(m, h.y, u.h, 90, 270);
7899
7899
  jh(e, t, f, p, g);
7900
7900
  }
7901
- i.setCenterPoint(t.l - e.l, e.r - t.r, t.t - e.t, e.b - t.b), i._pointLabelItems = Uh(i, n, s);
7901
+ i.setCenterPoint(t.l - e.l, e.r - t.r, t.t - e.t, e.b - t.b), i._pointLabelItems = Yh(i, n, s);
7902
7902
  }
7903
7903
  function jh(i, t, e, n, s) {
7904
7904
  const o = Math.abs(Math.sin(e)), a = Math.abs(Math.cos(e));
@@ -7906,7 +7906,7 @@ function jh(i, t, e, n, s) {
7906
7906
  n.start < t.l ? (r = (t.l - n.start) / o, i.l = Math.min(i.l, t.l - r)) : n.end > t.r && (r = (n.end - t.r) / o, i.r = Math.max(i.r, t.r + r)), s.start < t.t ? (l = (t.t - s.start) / a, i.t = Math.min(i.t, t.t - l)) : s.end > t.b && (l = (s.end - t.b) / a, i.b = Math.max(i.b, t.b + l));
7907
7907
  }
7908
7908
  function $h(i, t, e) {
7909
- const n = i.drawingArea, { extra: s, additionalAngle: o, padding: a, size: r } = e, l = i.getPointPosition(t, n + s + a, o), c = Math.round(gn(it(l.angle + Y))), h = qh(l.y, r.h, c), d = Xh(c), u = Gh(l.x, r.w, d);
7909
+ const n = i.drawingArea, { extra: s, additionalAngle: o, padding: a, size: r } = e, l = i.getPointPosition(t, n + s + a, o), c = Math.round(gn(it(l.angle + U))), h = qh(l.y, r.h, c), d = Xh(c), u = Gh(l.x, r.w, d);
7910
7910
  return {
7911
7911
  visible: !0,
7912
7912
  x: l.x,
@@ -7918,7 +7918,7 @@ function $h(i, t, e) {
7918
7918
  bottom: h + r.h
7919
7919
  };
7920
7920
  }
7921
- function Yh(i, t) {
7921
+ function Uh(i, t) {
7922
7922
  if (!t)
7923
7923
  return !0;
7924
7924
  const { left: e, top: n, right: s, bottom: o } = i;
@@ -7936,7 +7936,7 @@ function Yh(i, t) {
7936
7936
  y: o
7937
7937
  }, t));
7938
7938
  }
7939
- function Uh(i, t, e) {
7939
+ function Yh(i, t, e) {
7940
7940
  const n = [], s = i._pointLabels.length, o = i.options, { centerPointLabels: a, display: r } = o.pointLabels, l = {
7941
7941
  extra: sn(o) / 2,
7942
7942
  additionalAngle: a ? N / s : 0
@@ -7945,7 +7945,7 @@ function Uh(i, t, e) {
7945
7945
  for (let h = 0; h < s; h++) {
7946
7946
  l.padding = e[h], l.size = t[h];
7947
7947
  const d = $h(i, h, l);
7948
- n.push(d), r === "auto" && (d.visible = Yh(d, c), d.visible && (c = d));
7948
+ n.push(d), r === "auto" && (d.visible = Uh(d, c), d.visible && (c = d));
7949
7949
  }
7950
7950
  return n;
7951
7951
  }
@@ -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,
@@ -7981,7 +7981,7 @@ function Zh(i, t) {
7981
7981
  continue;
7982
7982
  const a = n.setContext(i.getPointLabelContext(s));
7983
7983
  Kh(e, a, o);
7984
- const r = U(a.font), { x: l, y: c, textAlign: h } = o;
7984
+ const r = Y(a.font), { x: l, y: c, textAlign: h } = o;
7985
7985
  Nt(e, i._pointLabels[s], l, c + r.lineHeight / 2, r, {
7986
7986
  color: a.color,
7987
7987
  textAlign: h,
@@ -8066,7 +8066,7 @@ class me extends xi {
8066
8066
  }
8067
8067
  }
8068
8068
  getPointPosition(t, e, n = 0) {
8069
- const s = this.getIndexAngle(t) - Y + n;
8069
+ const s = this.getIndexAngle(t) - U + n;
8070
8070
  return {
8071
8071
  x: Math.cos(s) * e + this.xCenter,
8072
8072
  y: Math.sin(s) * e + this.yCenter,
@@ -8123,7 +8123,7 @@ class me extends xi {
8123
8123
  t.save(), t.translate(this.xCenter, this.yCenter), t.rotate(s), t.textAlign = "center", t.textBaseline = "middle", this.ticks.forEach((r, l) => {
8124
8124
  if (l === 0 && !e.reverse)
8125
8125
  return;
8126
- const c = n.setContext(this.getContext(l)), h = U(c.font);
8126
+ const c = n.setContext(this.getContext(l)), h = Y(c.font);
8127
8127
  if (o = this.getDistanceFromCenterForValue(this.ticks[l].value), c.showLabelBackdrop) {
8128
8128
  t.font = h.string, a = t.measureText(r.label).width, t.fillStyle = c.backdropColor;
8129
8129
  const d = Q(c.backdropPadding);
@@ -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
  }
@@ -8228,14 +8228,14 @@ const Pi = {
8228
8228
  function $s(i, t) {
8229
8229
  return i - t;
8230
8230
  }
8231
- function Ys(i, t) {
8231
+ function Us(i, t) {
8232
8232
  if (F(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
- function Us(i, t, e, n) {
8238
+ function Ys(i, t, e, n) {
8239
8239
  const s = tt.length;
8240
8240
  for (let o = tt.indexOf(i); o < s - 1; ++o) {
8241
8241
  const a = Pi[tt[o]], r = a.steps ? a.steps : Number.MAX_SAFE_INTEGER;
@@ -8299,7 +8299,7 @@ class _i extends jt {
8299
8299
  }, super.init(t), this._normalized = e.normalized;
8300
8300
  }
8301
8301
  parse(t, e) {
8302
- return t === void 0 ? null : Ys(this, t);
8302
+ return t === void 0 ? null : Us(this, t);
8303
8303
  }
8304
8304
  beforeLayout() {
8305
8305
  super.beforeLayout(), this._cache = {
@@ -8328,7 +8328,7 @@ class _i extends jt {
8328
8328
  const t = this.options, e = t.time, n = t.ticks, s = n.source === "labels" ? this.getLabelTimestamps() : this._generate();
8329
8329
  t.bounds === "ticks" && s.length && (this.min = this._userMin || s[0], this.max = this._userMax || s[s.length - 1]);
8330
8330
  const o = this.min, a = this.max, r = Ka(s, o, a);
8331
- return this._unit = e.unit || (n.autoSkip ? Us(e.minUnit, this.min, this.max, this._getLabelCapacity(o)) : td(this, r.length, e.minUnit, this.min, this.max)), this._majorUnit = !n.major.enabled || this._unit === "year" ? void 0 : ed(this._unit), this.initOffsets(s), t.reverse && r.reverse(), Gs(this, r, this._majorUnit);
8331
+ return this._unit = e.unit || (n.autoSkip ? Ys(e.minUnit, this.min, this.max, this._getLabelCapacity(o)) : td(this, r.length, e.minUnit, this.min, this.max)), this._majorUnit = !n.major.enabled || this._unit === "year" ? void 0 : ed(this._unit), this.initOffsets(s), t.reverse && r.reverse(), Gs(this, r, this._majorUnit);
8332
8332
  }
8333
8333
  afterAutoSkip() {
8334
8334
  this.options.offsetAfterAutoskip && this.initOffsets(this.ticks.map((t) => +t.value));
@@ -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 || Ys(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);
@@ -8419,14 +8419,14 @@ class _i extends jt {
8419
8419
  return t;
8420
8420
  const s = this.getLabels();
8421
8421
  for (e = 0, n = s.length; e < n; ++e)
8422
- t.push(Ys(this, s[e]));
8422
+ t.push(Us(this, s[e]));
8423
8423
  return this._cache.labels = this._normalized ? t : this.normalize(t);
8424
8424
  }
8425
8425
  normalize(t) {
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");
@@ -8651,14 +8651,14 @@ function on(i, t) {
8651
8651
  const e = parseInt(i.toFixed());
8652
8652
  return `${new Intl.NumberFormat().format(e)}${t ? " " + t : ""}`;
8653
8653
  }
8654
- function rt(i) {
8654
+ function ot(i) {
8655
8655
  return Math.abs(Number(i)) >= 1e6 ? new Intl.NumberFormat().format(parseFloat((Number(i) / 1e6).toFixed(2))) + " M" : Math.abs(Number(i)) >= 1e3 ? new Intl.NumberFormat().format(parseFloat((Number(i) / 1e3).toFixed(2))) + " K" : new Intl.NumberFormat().format(parseFloat(Number(i).toFixed(2)));
8656
8656
  }
8657
8657
  function ud(i, t) {
8658
8658
  return t ? (i + t) % 6 : i;
8659
8659
  }
8660
8660
  function fd(i, t) {
8661
- return `${rt(i.data[t].value)} (${rt(i.data[t].rate)}%)`;
8661
+ return `${ot(i.data[t].value)} (${ot(i.data[t].rate)}%)`;
8662
8662
  }
8663
8663
  const gd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjc0IDEyLjAzaC4wMi0uMDJ6TTEyIDdhMyAzIDAgMDAtMyAzIC43NS43NSAwIDAwMS41IDBBMS41IDEuNSAwIDAxMTIgOC41MWExLjUgMS41IDAgMDEuNjYgMi44NSAyLjQxIDIuNDEgMCAwMC0xLjQxIDIuMTZ2LjI1YS43NS43NSAwIDAwMS41IDB2LS4yNWEuOTEuOTEgMCAwMS41Ny0uODFBMyAzIDAgMDAxMiA3eiIvPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTYuMjQiIHI9Ii43NSIvPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMTAxMCAxMEExMCAxMCAwIDAwMTIgMnptMCAxOGE4IDggMCAxMTgtOCA4IDggMCAwMS04IDh6Ii8+PC9zdmc+", { getPatternCanvas: pd } = Di(), md = 14, ia = "6px", vi = "22px", Ks = 6, Mn = "2px";
8664
8664
  function na(i, t, e, n, s, o, a, r) {
@@ -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,24 +8785,20 @@ 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
  }
8805
- const { getPatternIndexWithShift: Ui } = Di();
8801
+ const { getPatternIndexWithShift: Yi } = Di();
8806
8802
  function kd() {
8807
8803
  const i = X(3), t = X(null), e = so({
8808
8804
  dataSetIndex: -1,
@@ -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
  }
@@ -8835,11 +8831,11 @@ function kd() {
8835
8831
  return o([p, g], !1, x, b, y);
8836
8832
  }
8837
8833
  function r(p, g, b, y) {
8838
- const x = Ui(p, y);
8839
- return u(p, g) ? b[x] : Ie(b[x], 0.2);
8834
+ const x = Yi(p, y);
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
- const _ = Ui(p, v);
8838
+ const _ = Yi(p, v);
8843
8839
  return u(p, g) ? x[_](!1, y[_], b) : x[_](!0, y[_], b);
8844
8840
  }
8845
8841
  function c() {
@@ -8871,22 +8867,22 @@ function kd() {
8871
8867
  getBorderColor: r,
8872
8868
  getPattern: l,
8873
8869
  privateGetHtmlLegendPlugin: n,
8874
- getPatternIndexWithShift: Ui,
8870
+ getPatternIndexWithShift: Yi,
8875
8871
  barChartRef: t,
8876
8872
  borderWidth: i
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 ? ot(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) : ot(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() {
@@ -9408,7 +9404,7 @@ function Rd() {
9408
9404
  function l(h, d, u, f) {
9409
9405
  let m = h.slice(0), p = d.slice(0);
9410
9406
  return h.length > u && (p = c(d, u), m = m.slice(0, u - 1), m.push(f)), m.map(
9411
- (g, b) => `${r(g)} (${rt(
9407
+ (g, b) => `${r(g)} (${ot(
9412
9408
  p[b].rate
9413
9409
  )} %)`
9414
9410
  );
@@ -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 = ot(C.rate), A = ot(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
  {
@@ -9891,24 +9887,24 @@ const Wd = { class: "container" }, Hd = { class: "main" }, Nd = /* @__PURE__ */
9891
9887
  ticks: {
9892
9888
  callback: function(g) {
9893
9889
  const b = t.lines[0].unit;
9894
- return `${rt(g)} ${b || ""}`;
9890
+ return `${ot(g)} ${b || ""}`;
9895
9891
  }
9896
9892
  }
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
  };
@@ -9946,7 +9942,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
9946
9942
  default:
9947
9943
  return "#000000";
9948
9944
  }
9949
- }), $d = { class: "container" }, Yd = /* @__PURE__ */ Vt({
9945
+ }), $d = { class: "container" }, Ud = /* @__PURE__ */ Vt({
9950
9946
  __name: "RadarChart",
9951
9947
  props: {
9952
9948
  /**
@@ -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 },
@@ -10153,7 +10149,7 @@ const jd = (i) => i.datasets[0].areaData.map((t) => {
10153
10149
  t.datasets[0].areaData[b].value + ""
10154
10150
  )} ${t.datasets[0].areaData[b].unit}` : "No Data";
10155
10151
  return h(g, y);
10156
- }), u = (g) => rt(parseFloat(g));
10152
+ }), u = (g) => ot(parseFloat(g));
10157
10153
  function f(g, b) {
10158
10154
  const y = Cn(g, b);
10159
10155
  return y.onclick = (x) => {
@@ -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(Ud, [["__scopeId", "data-v-e59323c3"]]);
10215
10211
  cn.install = (i) => {
10216
10212
  i.component("RadarChart", cn);
10217
10213
  };
@@ -10222,139 +10218,126 @@ const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10222
10218
  LineChart: ln,
10223
10219
  RadarChart: cn
10224
10220
  }, Symbol.toStringTag, { value: "Module" })), { getPatternIndexWithShift: Qs } = Di();
10225
- function Ud() {
10221
+ function Yd() {
10226
10222
  const i = X(2), t = so({
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
  }
@@ -10409,6 +10392,13 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10409
10392
  type: Array,
10410
10393
  default: () => []
10411
10394
  },
10395
+ /**
10396
+ * Unit of the `bar datasets`
10397
+ */
10398
+ barUnit: {
10399
+ type: String,
10400
+ default: ""
10401
+ },
10412
10402
  /**
10413
10403
  * Value of the `line datasets` key present in the `data` object passed to the Chart config
10414
10404
  */
@@ -10416,6 +10406,13 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10416
10406
  type: Array,
10417
10407
  default: () => []
10418
10408
  },
10409
+ /**
10410
+ * Unit of the `line datasets`
10411
+ */
10412
+ lineUnit: {
10413
+ type: String,
10414
+ default: ""
10415
+ },
10419
10416
  /**
10420
10417
  * Value of the `width` css property used to define the width of the <canvas> element
10421
10418
  */
@@ -10505,38 +10502,31 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10505
10502
  setup(i) {
10506
10503
  const t = i;
10507
10504
  Lt.register(
10508
- Ne,
10509
- Ve,
10510
10505
  He,
10506
+ Ne,
10507
+ We,
10511
10508
  ve,
10509
+ De,
10512
10510
  Le,
10513
- Te,
10514
10511
  dt,
10515
10512
  Kt
10516
10513
  );
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(
10514
+ const { privateGetHtmlLegendPlugin: e, getMixedDatasets: n } = Yd(), { colourSets: s, patternsStandardList: o } = je(), a = X(null), r = X(!1), l = z(() => {
10515
+ let b = [];
10516
+ return t.barDatasets && (b = b.concat(t.barDatasets)), t.lineDatasets && (b = b.concat(t.lineDatasets)), b;
10517
+ }), 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(() => ({
10518
+ labels: m(),
10519
+ datasets: n(
10520
+ l.value,
10529
10521
  d.value,
10530
- m.value,
10531
- u.value,
10532
- f.value,
10522
+ c.value,
10523
+ h.value,
10533
10524
  0
10534
10525
  )
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(),
10526
+ })), f = (b) => {
10527
+ const y = b.tooltip.dataPoints[0].datasetIndex, x = b.tooltip.dataPoints[0].dataIndex, v = l.value[y].data[x], _ = l.value[y].type === "bar" ? t.barUnit : t.lineUnit;
10528
+ return (_ === "%" ? parseFloat(v.toString().replace(",", ".")).toFixed(2) : ot(v)) + _;
10529
+ }, m = () => Object.assign([], t.labels).map((y) => y), p = z(() => ({
10540
10530
  type: "scatter",
10541
10531
  responsive: !0,
10542
10532
  maintainAspectRatio: !0,
@@ -10554,17 +10544,17 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10554
10544
  },
10555
10545
  tooltip: {
10556
10546
  enabled: !1,
10557
- external: function(v) {
10558
- new je().createTooltip(
10559
- v,
10560
- g,
10547
+ external: function(b) {
10548
+ new Ve().createTooltip(
10549
+ b,
10550
+ f,
10561
10551
  {
10562
10552
  chartType: ee.MIXED_BAR_LINE_CHART,
10563
10553
  firstLineLabel: t.tooltipFirstLineLabel,
10564
10554
  secondLineLabel: t.tooltipSecondLineLabel
10565
10555
  },
10566
- u.value,
10567
- f.value,
10556
+ c.value,
10557
+ h.value,
10568
10558
  t.disableAccessibility
10569
10559
  );
10570
10560
  }
@@ -10590,8 +10580,8 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10590
10580
  text: t.yLeftAxisTitle
10591
10581
  },
10592
10582
  ticks: {
10593
- callback: function(v) {
10594
- return t.unit === "%" ? on(v, t.unit) : rt(v) + " " + t.unit;
10583
+ callback: function(b) {
10584
+ return t.barUnit === "%" ? on(b, t.unit) : ot(b) + " " + t.barUnit;
10595
10585
  }
10596
10586
  }
10597
10587
  },
@@ -10607,48 +10597,42 @@ const Xd = { class: "container" }, Gd = { class: "main" }, qd = /* @__PURE__ */
10607
10597
  text: t.yRightAxisTitle
10608
10598
  },
10609
10599
  ticks: {
10610
- callback: function(v) {
10611
- return t.yRightAxisTitle ? t.unit === "%" ? on(v, t.unit) : rt(v) + " " + t.unit : null;
10600
+ callback: function(b) {
10601
+ return (t.lineUnit === "%" ? on(b, t.unit) : ot(b)) + " " + t.lineUnit;
10612
10602
  }
10613
10603
  }
10614
10604
  }
10615
10605
  }
10616
- })), x = X(
10606
+ })), g = X(
10617
10607
  e(
10608
+ a,
10609
+ r,
10610
+ d,
10618
10611
  c,
10619
- h,
10620
- m,
10621
- u,
10622
- f
10612
+ h
10623
10613
  )
10624
10614
  );
10625
- return Se(
10626
- a,
10627
- () => {
10628
- o();
10629
- },
10630
- { deep: !0 }
10631
- ), (v, _) => (ft(), Fe("div", Xd, [
10615
+ return (b, y) => (ft(), Ie("div", Xd, [
10632
10616
  gt("div", Gd, [
10633
- p.value ? (ft(), Re(Zt(ea), {
10617
+ u.value ? (ft(), Fe(Zt(ea), {
10634
10618
  key: 0,
10635
10619
  ref: "mixedBarLineChartRef",
10636
10620
  id: i.chartId,
10637
- data: p.value,
10638
- options: y.value,
10639
- plugins: x.value,
10640
- class: Ee(i.cssClasses),
10621
+ data: u.value,
10622
+ options: p.value,
10623
+ plugins: g.value,
10624
+ class: Re(i.cssClasses),
10641
10625
  style: Qt([{ width: i.width, height: i.height, cursor: "pointer" }, i.styles])
10642
- }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Be("", !0)
10626
+ }, null, 8, ["id", "data", "options", "plugins", "class", "style"])) : Ee("", !0)
10643
10627
  ]),
10644
10628
  gt("div", {
10645
10629
  ref_key: "legendContainer",
10646
- ref: c
10630
+ ref: a
10647
10631
  }, null, 512)
10648
10632
  ]));
10649
10633
  }
10650
10634
  });
10651
- const Js = /* @__PURE__ */ Ye(qd, [["__scopeId", "data-v-0dd46b73"]]);
10635
+ const Js = /* @__PURE__ */ $e(qd, [["__scopeId", "data-v-758cd368"]]);
10652
10636
  Js.install = (i) => {
10653
10637
  i.component("MixedBarLineChart", Js);
10654
10638
  };