@voidzero-dev/vitepress-theme 0.1.34 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/index100.js +9 -0
  2. package/dist/index101.js +35 -0
  3. package/dist/index102.js +59 -0
  4. package/dist/index103.js +11 -0
  5. package/dist/index104.js +16 -0
  6. package/dist/index105.js +60 -0
  7. package/dist/index106.js +8 -0
  8. package/dist/index107.js +41 -0
  9. package/dist/index108.js +23 -0
  10. package/dist/index109.js +27 -0
  11. package/dist/index110.js +12 -0
  12. package/dist/index111.js +59 -0
  13. package/dist/index112.js +38 -0
  14. package/dist/index113.js +121 -0
  15. package/dist/index114.js +94 -0
  16. package/dist/index115.js +10 -0
  17. package/dist/index116.js +441 -0
  18. package/dist/index117.js +35 -0
  19. package/dist/index118.js +1204 -0
  20. package/dist/index119.js +6 -0
  21. package/dist/index120.js +1737 -0
  22. package/dist/index121.js +7 -0
  23. package/dist/index122.js +4 -0
  24. package/dist/index123.js +317 -0
  25. package/dist/index124.js +4 -0
  26. package/dist/index125.js +448 -0
  27. package/dist/index27.js +1 -1
  28. package/dist/index3.js +3 -3
  29. package/dist/index34.js +12 -12
  30. package/dist/index36.js +7 -7
  31. package/dist/index38.js +17 -16
  32. package/dist/index4.js +24 -21
  33. package/dist/index40.js +2 -26
  34. package/dist/index41.js +81 -27
  35. package/dist/index42.js +63 -23
  36. package/dist/index43.js +50 -23
  37. package/dist/index44.js +73 -23
  38. package/dist/index45.js +16 -16
  39. package/dist/index46.js +30 -2
  40. package/dist/index47.js +25 -24
  41. package/dist/index48.js +26 -2
  42. package/dist/index49.js +26 -2
  43. package/dist/index50.js +26 -2
  44. package/dist/index51.js +18 -49
  45. package/dist/index52.js +18 -7207
  46. package/dist/index53.js +18 -2
  47. package/dist/index6.js +1 -1
  48. package/dist/index62.js +2 -18
  49. package/dist/index63.js +2 -18
  50. package/dist/index64.js +2 -18
  51. package/dist/index65.js +2 -2
  52. package/dist/index66.js +49 -2
  53. package/dist/index67.js +44 -3
  54. package/dist/index68.js +2587 -2
  55. package/dist/index69.js +51 -2
  56. package/dist/index7.js +1 -1
  57. package/dist/index70.js +7205 -32
  58. package/dist/index71.js +14 -2
  59. package/dist/index72.js +22 -2
  60. package/dist/index73.js +124 -2
  61. package/dist/index74.js +2 -2
  62. package/dist/index75.js +2 -2
  63. package/dist/index76.js +2 -2
  64. package/dist/index77.js +2 -2
  65. package/dist/index78.js +2 -5324
  66. package/dist/index79.js +25 -2
  67. package/dist/index8.js +2 -2
  68. package/dist/index80.js +34 -2
  69. package/dist/index81.js +2 -2
  70. package/dist/index82.js +2 -2
  71. package/dist/index83.js +2 -2
  72. package/dist/index84.js +2 -2
  73. package/dist/index85.js +2 -2
  74. package/dist/index86.js +2 -4
  75. package/dist/index87.js +2 -1735
  76. package/dist/index88.js +2 -5
  77. package/dist/index89.js +1 -1
  78. package/dist/index90.js +2 -446
  79. package/dist/index91.js +2 -315
  80. package/dist/index92.js +2 -2
  81. package/dist/index93.js +4 -0
  82. package/dist/index94.js +5326 -0
  83. package/dist/index95.js +4 -0
  84. package/dist/index96.js +12 -0
  85. package/dist/index97.js +9 -0
  86. package/dist/index98.js +7 -0
  87. package/dist/index99.js +6 -0
  88. package/package.json +1 -1
@@ -0,0 +1,1737 @@
1
+ import { Color as me } from "./index125.js";
2
+ /*!
3
+ * Chart.js v4.5.1
4
+ * https://www.chartjs.org
5
+ * (c) 2025 Chart.js Contributors
6
+ * Released under the MIT License
7
+ */
8
+ function Xt() {
9
+ }
10
+ const Zt = /* @__PURE__ */ (() => {
11
+ let e = 0;
12
+ return () => e++;
13
+ })();
14
+ function v(e) {
15
+ return e == null;
16
+ }
17
+ function M(e) {
18
+ if (Array.isArray && Array.isArray(e))
19
+ return !0;
20
+ const t = Object.prototype.toString.call(e);
21
+ return t.slice(0, 7) === "[object" && t.slice(-6) === "Array]";
22
+ }
23
+ function _(e) {
24
+ return e !== null && Object.prototype.toString.call(e) === "[object Object]";
25
+ }
26
+ function pe(e) {
27
+ return (typeof e == "number" || e instanceof Number) && isFinite(+e);
28
+ }
29
+ function Vt(e, t) {
30
+ return pe(e) ? e : t;
31
+ }
32
+ function T(e, t) {
33
+ return typeof e > "u" ? t : e;
34
+ }
35
+ const en = (e, t) => typeof e == "string" && e.endsWith("%") ? parseFloat(e) / 100 : +e / t, De = (e, t) => typeof e == "string" && e.endsWith("%") ? parseFloat(e) / 100 * t : +e;
36
+ function tn(e, t, n) {
37
+ if (e && typeof e.call == "function")
38
+ return e.apply(n, t);
39
+ }
40
+ function nn(e, t, n, o) {
41
+ let r, i, s;
42
+ if (M(e))
43
+ for (i = e.length, r = 0; r < i; r++)
44
+ t.call(n, e[r], r);
45
+ else if (_(e))
46
+ for (s = Object.keys(e), i = s.length, r = 0; r < i; r++)
47
+ t.call(n, e[s[r]], s[r]);
48
+ }
49
+ function on(e, t) {
50
+ let n, o, r, i;
51
+ if (!e || !t || e.length !== t.length)
52
+ return !1;
53
+ for (n = 0, o = e.length; n < o; ++n)
54
+ if (r = e[n], i = t[n], r.datasetIndex !== i.datasetIndex || r.index !== i.index)
55
+ return !1;
56
+ return !0;
57
+ }
58
+ function E(e) {
59
+ if (M(e))
60
+ return e.map(E);
61
+ if (_(e)) {
62
+ const t = /* @__PURE__ */ Object.create(null), n = Object.keys(e), o = n.length;
63
+ let r = 0;
64
+ for (; r < o; ++r)
65
+ t[n[r]] = E(e[n[r]]);
66
+ return t;
67
+ }
68
+ return e;
69
+ }
70
+ function be(e) {
71
+ return [
72
+ "__proto__",
73
+ "prototype",
74
+ "constructor"
75
+ ].indexOf(e) === -1;
76
+ }
77
+ function Le(e, t, n, o) {
78
+ if (!be(e))
79
+ return;
80
+ const r = t[e], i = n[e];
81
+ _(r) && _(i) ? F(r, i, o) : t[e] = E(i);
82
+ }
83
+ function F(e, t, n) {
84
+ const o = M(t) ? t : [
85
+ t
86
+ ], r = o.length;
87
+ if (!_(e))
88
+ return e;
89
+ n = n || {};
90
+ const i = n.merger || Le;
91
+ let s;
92
+ for (let a = 0; a < r; ++a) {
93
+ if (s = o[a], !_(s))
94
+ continue;
95
+ const c = Object.keys(s);
96
+ for (let l = 0, u = c.length; l < u; ++l)
97
+ i(c[l], e, s, n);
98
+ }
99
+ return e;
100
+ }
101
+ function We(e, t) {
102
+ return F(e, t, {
103
+ merger: Ne
104
+ });
105
+ }
106
+ function Ne(e, t, n) {
107
+ if (!be(e))
108
+ return;
109
+ const o = t[e], r = n[e];
110
+ _(o) && _(r) ? We(o, r) : Object.prototype.hasOwnProperty.call(t, e) || (t[e] = E(r));
111
+ }
112
+ const te = {
113
+ // Chart.helpers.core resolveObjectKey should resolve empty key to root object
114
+ "": (e) => e,
115
+ // default resolvers
116
+ x: (e) => e.x,
117
+ y: (e) => e.y
118
+ };
119
+ function Ee(e) {
120
+ const t = e.split("."), n = [];
121
+ let o = "";
122
+ for (const r of t)
123
+ o += r, o.endsWith("\\") ? o = o.slice(0, -1) + "." : (n.push(o), o = "");
124
+ return n;
125
+ }
126
+ function Fe(e) {
127
+ const t = Ee(e);
128
+ return (n) => {
129
+ for (const o of t) {
130
+ if (o === "")
131
+ break;
132
+ n = n && n[o];
133
+ }
134
+ return n;
135
+ };
136
+ }
137
+ function ye(e, t) {
138
+ return (te[t] || (te[t] = Fe(t)))(e);
139
+ }
140
+ function _e(e) {
141
+ return e.charAt(0).toUpperCase() + e.slice(1);
142
+ }
143
+ const rn = (e) => typeof e < "u", z = (e) => typeof e == "function", sn = (e, t) => {
144
+ if (e.size !== t.size)
145
+ return !1;
146
+ for (const n of e)
147
+ if (!t.has(n))
148
+ return !1;
149
+ return !0;
150
+ };
151
+ function an(e) {
152
+ return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
153
+ }
154
+ const y = Math.PI, S = 2 * y, ze = S + y, H = Number.POSITIVE_INFINITY, He = y / 180, O = y / 2, P = y / 4, ne = y * 2 / 3, Y = Math.log10, oe = Math.sign;
155
+ function Me(e, t, n) {
156
+ return Math.abs(e - t) < n;
157
+ }
158
+ function cn(e) {
159
+ const t = Math.round(e);
160
+ e = Me(e, t, e / 1e3) ? t : e;
161
+ const n = Math.pow(10, Math.floor(Y(e))), o = e / n;
162
+ return (o <= 1 ? 1 : o <= 2 ? 2 : o <= 5 ? 5 : 10) * n;
163
+ }
164
+ function ln(e) {
165
+ const t = [], n = Math.sqrt(e);
166
+ let o;
167
+ for (o = 1; o < n; o++)
168
+ e % o === 0 && (t.push(o), t.push(e / o));
169
+ return n === (n | 0) && t.push(n), t.sort((r, i) => r - i).pop(), t;
170
+ }
171
+ function qe(e) {
172
+ return typeof e == "symbol" || typeof e == "object" && e !== null && !(Symbol.toPrimitive in e || "toString" in e || "valueOf" in e);
173
+ }
174
+ function un(e) {
175
+ return !qe(e) && !isNaN(parseFloat(e)) && isFinite(e);
176
+ }
177
+ function fn(e, t) {
178
+ const n = Math.round(e);
179
+ return n - t <= e && n + t >= e;
180
+ }
181
+ function dn(e, t, n) {
182
+ let o, r, i;
183
+ for (o = 0, r = e.length; o < r; o++)
184
+ i = e[o][n], isNaN(i) || (t.min = Math.min(t.min, i), t.max = Math.max(t.max, i));
185
+ }
186
+ function hn(e) {
187
+ return e * (y / 180);
188
+ }
189
+ function gn(e) {
190
+ return e * (180 / y);
191
+ }
192
+ function mn(e) {
193
+ if (!pe(e))
194
+ return;
195
+ let t = 1, n = 0;
196
+ for (; Math.round(e * t) / t !== e; )
197
+ t *= 10, n++;
198
+ return n;
199
+ }
200
+ function pn(e, t) {
201
+ const n = t.x - e.x, o = t.y - e.y, r = Math.sqrt(n * n + o * o);
202
+ let i = Math.atan2(o, n);
203
+ return i < -0.5 * y && (i += S), {
204
+ angle: i,
205
+ distance: r
206
+ };
207
+ }
208
+ function re(e, t) {
209
+ return Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2));
210
+ }
211
+ function Ke(e, t) {
212
+ return (e - t + ze) % S - y;
213
+ }
214
+ function x(e) {
215
+ return (e % S + S) % S;
216
+ }
217
+ function Ge(e, t, n, o) {
218
+ const r = x(e), i = x(t), s = x(n), a = x(i - r), c = x(s - r), l = x(r - i), u = x(r - s);
219
+ return r === i || r === s || o && i === s || a > c && l < u;
220
+ }
221
+ function J(e, t, n) {
222
+ return Math.max(t, Math.min(n, e));
223
+ }
224
+ function bn(e) {
225
+ return J(e, -32768, 32767);
226
+ }
227
+ function Qe(e, t, n, o = 1e-6) {
228
+ return e >= Math.min(t, n) - o && e <= Math.max(t, n) + o;
229
+ }
230
+ function Se(e, t, n) {
231
+ n = n || ((s) => e[s] < t);
232
+ let o = e.length - 1, r = 0, i;
233
+ for (; o - r > 1; )
234
+ i = r + o >> 1, n(i) ? r = i : o = i;
235
+ return {
236
+ lo: r,
237
+ hi: o
238
+ };
239
+ }
240
+ const D = (e, t, n, o) => Se(e, n, o ? (r) => {
241
+ const i = e[r][t];
242
+ return i < n || i === n && e[r + 1][t] === n;
243
+ } : (r) => e[r][t] < n), yn = (e, t, n) => Se(e, n, (o) => e[o][t] >= n);
244
+ function _n(e, t, n) {
245
+ let o = 0, r = e.length;
246
+ for (; o < r && e[o] < t; )
247
+ o++;
248
+ for (; r > o && e[r - 1] > n; )
249
+ r--;
250
+ return o > 0 || r < e.length ? e.slice(o, r) : e;
251
+ }
252
+ const Oe = [
253
+ "push",
254
+ "pop",
255
+ "shift",
256
+ "splice",
257
+ "unshift"
258
+ ];
259
+ function Mn(e, t) {
260
+ if (e._chartjs) {
261
+ e._chartjs.listeners.push(t);
262
+ return;
263
+ }
264
+ Object.defineProperty(e, "_chartjs", {
265
+ configurable: !0,
266
+ enumerable: !1,
267
+ value: {
268
+ listeners: [
269
+ t
270
+ ]
271
+ }
272
+ }), Oe.forEach((n) => {
273
+ const o = "_onData" + _e(n), r = e[n];
274
+ Object.defineProperty(e, n, {
275
+ configurable: !0,
276
+ enumerable: !1,
277
+ value(...i) {
278
+ const s = r.apply(this, i);
279
+ return e._chartjs.listeners.forEach((a) => {
280
+ typeof a[o] == "function" && a[o](...i);
281
+ }), s;
282
+ }
283
+ });
284
+ });
285
+ }
286
+ function Sn(e, t) {
287
+ const n = e._chartjs;
288
+ if (!n)
289
+ return;
290
+ const o = n.listeners, r = o.indexOf(t);
291
+ r !== -1 && o.splice(r, 1), !(o.length > 0) && (Oe.forEach((i) => {
292
+ delete e[i];
293
+ }), delete e._chartjs);
294
+ }
295
+ function On(e) {
296
+ const t = new Set(e);
297
+ return t.size === e.length ? e : Array.from(t);
298
+ }
299
+ const $e = (function() {
300
+ return typeof window > "u" ? function(e) {
301
+ return e();
302
+ } : window.requestAnimationFrame;
303
+ })();
304
+ function xn(e, t) {
305
+ let n = [], o = !1;
306
+ return function(...r) {
307
+ n = r, o || (o = !0, $e.call(window, () => {
308
+ o = !1, e.apply(t, n);
309
+ }));
310
+ };
311
+ }
312
+ function wn(e, t) {
313
+ let n;
314
+ return function(...o) {
315
+ return t ? (clearTimeout(n), n = setTimeout(e, t, o)) : e.apply(this, o), t;
316
+ };
317
+ }
318
+ const Pn = (e) => e === "start" ? "left" : e === "end" ? "right" : "center", Tn = (e, t, n) => e === "start" ? t : e === "end" ? n : (t + n) / 2, Cn = (e, t, n, o) => e === (o ? "left" : "right") ? n : e === "center" ? (t + n) / 2 : t;
319
+ function kn(e, t, n) {
320
+ const o = t.length;
321
+ let r = 0, i = o;
322
+ if (e._sorted) {
323
+ const { iScale: s, vScale: a, _parsed: c } = e, l = e.dataset && e.dataset.options ? e.dataset.options.spanGaps : null, u = s.axis, { min: d, max: g, minDefined: m, maxDefined: p } = s.getUserBounds();
324
+ if (m) {
325
+ if (r = Math.min(
326
+ // @ts-expect-error Need to type _parsed
327
+ D(c, u, d).lo,
328
+ // @ts-expect-error Need to fix types on _lookupByKey
329
+ n ? o : D(t, u, s.getPixelForValue(d)).lo
330
+ ), l) {
331
+ const h = c.slice(0, r + 1).reverse().findIndex((f) => !v(f[a.axis]));
332
+ r -= Math.max(0, h);
333
+ }
334
+ r = J(r, 0, o - 1);
335
+ }
336
+ if (p) {
337
+ let h = Math.max(
338
+ // @ts-expect-error Need to type _parsed
339
+ D(c, s.axis, g, !0).hi + 1,
340
+ // @ts-expect-error Need to fix types on _lookupByKey
341
+ n ? 0 : D(t, u, s.getPixelForValue(g), !0).hi + 1
342
+ );
343
+ if (l) {
344
+ const f = c.slice(h - 1).findIndex((b) => !v(b[a.axis]));
345
+ h += Math.max(0, f);
346
+ }
347
+ i = J(h, r, o) - r;
348
+ } else
349
+ i = o - r;
350
+ }
351
+ return {
352
+ start: r,
353
+ count: i
354
+ };
355
+ }
356
+ function In(e) {
357
+ const { xScale: t, yScale: n, _scaleRanges: o } = e, r = {
358
+ xmin: t.min,
359
+ xmax: t.max,
360
+ ymin: n.min,
361
+ ymax: n.max
362
+ };
363
+ if (!o)
364
+ return e._scaleRanges = r, !0;
365
+ const i = o.xmin !== t.min || o.xmax !== t.max || o.ymin !== n.min || o.ymax !== n.max;
366
+ return Object.assign(o, r), i;
367
+ }
368
+ const L = (e) => e === 0 || e === 1, ie = (e, t, n) => -(Math.pow(2, 10 * (e -= 1)) * Math.sin((e - t) * S / n)), se = (e, t, n) => Math.pow(2, -10 * e) * Math.sin((e - t) * S / n) + 1, Q = {
369
+ linear: (e) => e,
370
+ easeInQuad: (e) => e * e,
371
+ easeOutQuad: (e) => -e * (e - 2),
372
+ easeInOutQuad: (e) => (e /= 0.5) < 1 ? 0.5 * e * e : -0.5 * (--e * (e - 2) - 1),
373
+ easeInCubic: (e) => e * e * e,
374
+ easeOutCubic: (e) => (e -= 1) * e * e + 1,
375
+ easeInOutCubic: (e) => (e /= 0.5) < 1 ? 0.5 * e * e * e : 0.5 * ((e -= 2) * e * e + 2),
376
+ easeInQuart: (e) => e * e * e * e,
377
+ easeOutQuart: (e) => -((e -= 1) * e * e * e - 1),
378
+ easeInOutQuart: (e) => (e /= 0.5) < 1 ? 0.5 * e * e * e * e : -0.5 * ((e -= 2) * e * e * e - 2),
379
+ easeInQuint: (e) => e * e * e * e * e,
380
+ easeOutQuint: (e) => (e -= 1) * e * e * e * e + 1,
381
+ easeInOutQuint: (e) => (e /= 0.5) < 1 ? 0.5 * e * e * e * e * e : 0.5 * ((e -= 2) * e * e * e * e + 2),
382
+ easeInSine: (e) => -Math.cos(e * O) + 1,
383
+ easeOutSine: (e) => Math.sin(e * O),
384
+ easeInOutSine: (e) => -0.5 * (Math.cos(y * e) - 1),
385
+ easeInExpo: (e) => e === 0 ? 0 : Math.pow(2, 10 * (e - 1)),
386
+ easeOutExpo: (e) => e === 1 ? 1 : -Math.pow(2, -10 * e) + 1,
387
+ easeInOutExpo: (e) => L(e) ? e : e < 0.5 ? 0.5 * Math.pow(2, 10 * (e * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (e * 2 - 1)) + 2),
388
+ easeInCirc: (e) => e >= 1 ? e : -(Math.sqrt(1 - e * e) - 1),
389
+ easeOutCirc: (e) => Math.sqrt(1 - (e -= 1) * e),
390
+ easeInOutCirc: (e) => (e /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - e * e) - 1) : 0.5 * (Math.sqrt(1 - (e -= 2) * e) + 1),
391
+ easeInElastic: (e) => L(e) ? e : ie(e, 0.075, 0.3),
392
+ easeOutElastic: (e) => L(e) ? e : se(e, 0.075, 0.3),
393
+ easeInOutElastic(e) {
394
+ return L(e) ? e : e < 0.5 ? 0.5 * ie(e * 2, 0.1125, 0.45) : 0.5 + 0.5 * se(e * 2 - 1, 0.1125, 0.45);
395
+ },
396
+ easeInBack(e) {
397
+ return e * e * ((1.70158 + 1) * e - 1.70158);
398
+ },
399
+ easeOutBack(e) {
400
+ return (e -= 1) * e * ((1.70158 + 1) * e + 1.70158) + 1;
401
+ },
402
+ easeInOutBack(e) {
403
+ let t = 1.70158;
404
+ return (e /= 0.5) < 1 ? 0.5 * (e * e * (((t *= 1.525) + 1) * e - t)) : 0.5 * ((e -= 2) * e * (((t *= 1.525) + 1) * e + t) + 2);
405
+ },
406
+ easeInBounce: (e) => 1 - Q.easeOutBounce(1 - e),
407
+ easeOutBounce(e) {
408
+ return e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375;
409
+ },
410
+ easeInOutBounce: (e) => e < 0.5 ? Q.easeInBounce(e * 2) * 0.5 : Q.easeOutBounce(e * 2 - 1) * 0.5 + 0.5
411
+ };
412
+ function X(e) {
413
+ if (e && typeof e == "object") {
414
+ const t = e.toString();
415
+ return t === "[object CanvasPattern]" || t === "[object CanvasGradient]";
416
+ }
417
+ return !1;
418
+ }
419
+ function Rn(e) {
420
+ return X(e) ? e : new me(e);
421
+ }
422
+ function $(e) {
423
+ return X(e) ? e : new me(e).saturate(0.5).darken(0.1).hexString();
424
+ }
425
+ const Ue = [
426
+ "x",
427
+ "y",
428
+ "borderWidth",
429
+ "radius",
430
+ "tension"
431
+ ], Ye = [
432
+ "color",
433
+ "borderColor",
434
+ "backgroundColor"
435
+ ];
436
+ function Je(e) {
437
+ e.set("animation", {
438
+ delay: void 0,
439
+ duration: 1e3,
440
+ easing: "easeOutQuart",
441
+ fn: void 0,
442
+ from: void 0,
443
+ loop: void 0,
444
+ to: void 0,
445
+ type: void 0
446
+ }), e.describe("animation", {
447
+ _fallback: !1,
448
+ _indexable: !1,
449
+ _scriptable: (t) => t !== "onProgress" && t !== "onComplete" && t !== "fn"
450
+ }), e.set("animations", {
451
+ colors: {
452
+ type: "color",
453
+ properties: Ye
454
+ },
455
+ numbers: {
456
+ type: "number",
457
+ properties: Ue
458
+ }
459
+ }), e.describe("animations", {
460
+ _fallback: "animation"
461
+ }), e.set("transitions", {
462
+ active: {
463
+ animation: {
464
+ duration: 400
465
+ }
466
+ },
467
+ resize: {
468
+ animation: {
469
+ duration: 0
470
+ }
471
+ },
472
+ show: {
473
+ animations: {
474
+ colors: {
475
+ from: "transparent"
476
+ },
477
+ visible: {
478
+ type: "boolean",
479
+ duration: 0
480
+ }
481
+ }
482
+ },
483
+ hide: {
484
+ animations: {
485
+ colors: {
486
+ to: "transparent"
487
+ },
488
+ visible: {
489
+ type: "boolean",
490
+ easing: "linear",
491
+ fn: (t) => t | 0
492
+ }
493
+ }
494
+ }
495
+ });
496
+ }
497
+ function Xe(e) {
498
+ e.set("layout", {
499
+ autoPadding: !0,
500
+ padding: {
501
+ top: 0,
502
+ right: 0,
503
+ bottom: 0,
504
+ left: 0
505
+ }
506
+ });
507
+ }
508
+ const ae = /* @__PURE__ */ new Map();
509
+ function Ze(e, t) {
510
+ t = t || {};
511
+ const n = e + JSON.stringify(t);
512
+ let o = ae.get(n);
513
+ return o || (o = new Intl.NumberFormat(e, t), ae.set(n, o)), o;
514
+ }
515
+ function Ve(e, t, n) {
516
+ return Ze(t, n).format(e);
517
+ }
518
+ const xe = {
519
+ values(e) {
520
+ return M(e) ? e : "" + e;
521
+ },
522
+ numeric(e, t, n) {
523
+ if (e === 0)
524
+ return "0";
525
+ const o = this.chart.options.locale;
526
+ let r, i = e;
527
+ if (n.length > 1) {
528
+ const l = Math.max(Math.abs(n[0].value), Math.abs(n[n.length - 1].value));
529
+ (l < 1e-4 || l > 1e15) && (r = "scientific"), i = et(e, n);
530
+ }
531
+ const s = Y(Math.abs(i)), a = isNaN(s) ? 1 : Math.max(Math.min(-1 * Math.floor(s), 20), 0), c = {
532
+ notation: r,
533
+ minimumFractionDigits: a,
534
+ maximumFractionDigits: a
535
+ };
536
+ return Object.assign(c, this.options.ticks.format), Ve(e, o, c);
537
+ },
538
+ logarithmic(e, t, n) {
539
+ if (e === 0)
540
+ return "0";
541
+ const o = n[t].significand || e / Math.pow(10, Math.floor(Y(e)));
542
+ return [
543
+ 1,
544
+ 2,
545
+ 3,
546
+ 5,
547
+ 10,
548
+ 15
549
+ ].includes(o) || t > 0.8 * n.length ? xe.numeric.call(this, e, t, n) : "";
550
+ }
551
+ };
552
+ function et(e, t) {
553
+ let n = t.length > 3 ? t[2].value - t[1].value : t[1].value - t[0].value;
554
+ return Math.abs(n) >= 1 && e !== Math.floor(e) && (n = e - Math.floor(e)), n;
555
+ }
556
+ var tt = {
557
+ formatters: xe
558
+ };
559
+ function nt(e) {
560
+ e.set("scale", {
561
+ display: !0,
562
+ offset: !1,
563
+ reverse: !1,
564
+ beginAtZero: !1,
565
+ bounds: "ticks",
566
+ clip: !0,
567
+ grace: 0,
568
+ grid: {
569
+ display: !0,
570
+ lineWidth: 1,
571
+ drawOnChartArea: !0,
572
+ drawTicks: !0,
573
+ tickLength: 8,
574
+ tickWidth: (t, n) => n.lineWidth,
575
+ tickColor: (t, n) => n.color,
576
+ offset: !1
577
+ },
578
+ border: {
579
+ display: !0,
580
+ dash: [],
581
+ dashOffset: 0,
582
+ width: 1
583
+ },
584
+ title: {
585
+ display: !1,
586
+ text: "",
587
+ padding: {
588
+ top: 4,
589
+ bottom: 4
590
+ }
591
+ },
592
+ ticks: {
593
+ minRotation: 0,
594
+ maxRotation: 50,
595
+ mirror: !1,
596
+ textStrokeWidth: 0,
597
+ textStrokeColor: "",
598
+ padding: 3,
599
+ display: !0,
600
+ autoSkip: !0,
601
+ autoSkipPadding: 3,
602
+ labelOffset: 0,
603
+ callback: tt.formatters.values,
604
+ minor: {},
605
+ major: {},
606
+ align: "center",
607
+ crossAlign: "near",
608
+ showLabelBackdrop: !1,
609
+ backdropColor: "rgba(255, 255, 255, 0.75)",
610
+ backdropPadding: 2
611
+ }
612
+ }), e.route("scale.ticks", "color", "", "color"), e.route("scale.grid", "color", "", "borderColor"), e.route("scale.border", "color", "", "borderColor"), e.route("scale.title", "color", "", "color"), e.describe("scale", {
613
+ _fallback: !1,
614
+ _scriptable: (t) => !t.startsWith("before") && !t.startsWith("after") && t !== "callback" && t !== "parser",
615
+ _indexable: (t) => t !== "borderDash" && t !== "tickBorderDash" && t !== "dash"
616
+ }), e.describe("scales", {
617
+ _fallback: "scale"
618
+ }), e.describe("scale.ticks", {
619
+ _scriptable: (t) => t !== "backdropPadding" && t !== "callback",
620
+ _indexable: (t) => t !== "backdropPadding"
621
+ });
622
+ }
623
+ const ot = /* @__PURE__ */ Object.create(null), rt = /* @__PURE__ */ Object.create(null);
624
+ function j(e, t) {
625
+ if (!t)
626
+ return e;
627
+ const n = t.split(".");
628
+ for (let o = 0, r = n.length; o < r; ++o) {
629
+ const i = n[o];
630
+ e = e[i] || (e[i] = /* @__PURE__ */ Object.create(null));
631
+ }
632
+ return e;
633
+ }
634
+ function U(e, t, n) {
635
+ return typeof t == "string" ? F(j(e, t), n) : F(j(e, ""), t);
636
+ }
637
+ class it {
638
+ constructor(t, n) {
639
+ this.animation = void 0, this.backgroundColor = "rgba(0,0,0,0.1)", this.borderColor = "rgba(0,0,0,0.1)", this.color = "#666", this.datasets = {}, this.devicePixelRatio = (o) => o.chart.platform.getDevicePixelRatio(), this.elements = {}, this.events = [
640
+ "mousemove",
641
+ "mouseout",
642
+ "click",
643
+ "touchstart",
644
+ "touchmove"
645
+ ], this.font = {
646
+ family: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
647
+ size: 12,
648
+ style: "normal",
649
+ lineHeight: 1.2,
650
+ weight: null
651
+ }, this.hover = {}, this.hoverBackgroundColor = (o, r) => $(r.backgroundColor), this.hoverBorderColor = (o, r) => $(r.borderColor), this.hoverColor = (o, r) => $(r.color), this.indexAxis = "x", this.interaction = {
652
+ mode: "nearest",
653
+ intersect: !0,
654
+ includeInvisible: !1
655
+ }, this.maintainAspectRatio = !0, this.onHover = null, this.onClick = null, this.parsing = !0, this.plugins = {}, this.responsive = !0, this.scale = void 0, this.scales = {}, this.showLine = !0, this.drawActiveElementsOnTop = !0, this.describe(t), this.apply(n);
656
+ }
657
+ set(t, n) {
658
+ return U(this, t, n);
659
+ }
660
+ get(t) {
661
+ return j(this, t);
662
+ }
663
+ describe(t, n) {
664
+ return U(rt, t, n);
665
+ }
666
+ override(t, n) {
667
+ return U(ot, t, n);
668
+ }
669
+ route(t, n, o, r) {
670
+ const i = j(this, t), s = j(this, o), a = "_" + n;
671
+ Object.defineProperties(i, {
672
+ [a]: {
673
+ value: i[n],
674
+ writable: !0
675
+ },
676
+ [n]: {
677
+ enumerable: !0,
678
+ get() {
679
+ const c = this[a], l = s[r];
680
+ return _(c) ? Object.assign({}, l, c) : T(c, l);
681
+ },
682
+ set(c) {
683
+ this[a] = c;
684
+ }
685
+ }
686
+ });
687
+ }
688
+ apply(t) {
689
+ t.forEach((n) => n(this));
690
+ }
691
+ }
692
+ var st = /* @__PURE__ */ new it({
693
+ _scriptable: (e) => !e.startsWith("on"),
694
+ _indexable: (e) => e !== "events",
695
+ hover: {
696
+ _fallback: "interaction"
697
+ },
698
+ interaction: {
699
+ _scriptable: !1,
700
+ _indexable: !1
701
+ }
702
+ }, [
703
+ Je,
704
+ Xe,
705
+ nt
706
+ ]);
707
+ function at(e) {
708
+ return !e || v(e.size) || v(e.family) ? null : (e.style ? e.style + " " : "") + (e.weight ? e.weight + " " : "") + e.size + "px " + e.family;
709
+ }
710
+ function ce(e, t, n, o, r) {
711
+ let i = t[r];
712
+ return i || (i = t[r] = e.measureText(r).width, n.push(r)), i > o && (o = i), o;
713
+ }
714
+ function vn(e, t, n, o) {
715
+ o = o || {};
716
+ let r = o.data = o.data || {}, i = o.garbageCollect = o.garbageCollect || [];
717
+ o.font !== t && (r = o.data = {}, i = o.garbageCollect = [], o.font = t), e.save(), e.font = t;
718
+ let s = 0;
719
+ const a = n.length;
720
+ let c, l, u, d, g;
721
+ for (c = 0; c < a; c++)
722
+ if (d = n[c], d != null && !M(d))
723
+ s = ce(e, r, i, s, d);
724
+ else if (M(d))
725
+ for (l = 0, u = d.length; l < u; l++)
726
+ g = d[l], g != null && !M(g) && (s = ce(e, r, i, s, g));
727
+ e.restore();
728
+ const m = i.length / 2;
729
+ if (m > n.length) {
730
+ for (c = 0; c < m; c++)
731
+ delete r[i[c]];
732
+ i.splice(0, m);
733
+ }
734
+ return s;
735
+ }
736
+ function An(e, t, n) {
737
+ const o = e.currentDevicePixelRatio, r = n !== 0 ? Math.max(n / 2, 0.5) : 0;
738
+ return Math.round((t - r) * o) / o + r;
739
+ }
740
+ function Bn(e, t) {
741
+ !t && !e || (t = t || e.getContext("2d"), t.save(), t.resetTransform(), t.clearRect(0, 0, e.width, e.height), t.restore());
742
+ }
743
+ function jn(e, t, n, o) {
744
+ ct(e, t, n, o, null);
745
+ }
746
+ function ct(e, t, n, o, r) {
747
+ let i, s, a, c, l, u, d, g;
748
+ const m = t.pointStyle, p = t.rotation, h = t.radius;
749
+ let f = (p || 0) * He;
750
+ if (m && typeof m == "object" && (i = m.toString(), i === "[object HTMLImageElement]" || i === "[object HTMLCanvasElement]")) {
751
+ e.save(), e.translate(n, o), e.rotate(f), e.drawImage(m, -m.width / 2, -m.height / 2, m.width, m.height), e.restore();
752
+ return;
753
+ }
754
+ if (!(isNaN(h) || h <= 0)) {
755
+ switch (e.beginPath(), m) {
756
+ // Default includes circle
757
+ default:
758
+ r ? e.ellipse(n, o, r / 2, h, 0, 0, S) : e.arc(n, o, h, 0, S), e.closePath();
759
+ break;
760
+ case "triangle":
761
+ u = r ? r / 2 : h, e.moveTo(n + Math.sin(f) * u, o - Math.cos(f) * h), f += ne, e.lineTo(n + Math.sin(f) * u, o - Math.cos(f) * h), f += ne, e.lineTo(n + Math.sin(f) * u, o - Math.cos(f) * h), e.closePath();
762
+ break;
763
+ case "rectRounded":
764
+ l = h * 0.516, c = h - l, s = Math.cos(f + P) * c, d = Math.cos(f + P) * (r ? r / 2 - l : c), a = Math.sin(f + P) * c, g = Math.sin(f + P) * (r ? r / 2 - l : c), e.arc(n - d, o - a, l, f - y, f - O), e.arc(n + g, o - s, l, f - O, f), e.arc(n + d, o + a, l, f, f + O), e.arc(n - g, o + s, l, f + O, f + y), e.closePath();
765
+ break;
766
+ case "rect":
767
+ if (!p) {
768
+ c = Math.SQRT1_2 * h, u = r ? r / 2 : c, e.rect(n - u, o - c, 2 * u, 2 * c);
769
+ break;
770
+ }
771
+ f += P;
772
+ /* falls through */
773
+ case "rectRot":
774
+ d = Math.cos(f) * (r ? r / 2 : h), s = Math.cos(f) * h, a = Math.sin(f) * h, g = Math.sin(f) * (r ? r / 2 : h), e.moveTo(n - d, o - a), e.lineTo(n + g, o - s), e.lineTo(n + d, o + a), e.lineTo(n - g, o + s), e.closePath();
775
+ break;
776
+ case "crossRot":
777
+ f += P;
778
+ /* falls through */
779
+ case "cross":
780
+ d = Math.cos(f) * (r ? r / 2 : h), s = Math.cos(f) * h, a = Math.sin(f) * h, g = Math.sin(f) * (r ? r / 2 : h), e.moveTo(n - d, o - a), e.lineTo(n + d, o + a), e.moveTo(n + g, o - s), e.lineTo(n - g, o + s);
781
+ break;
782
+ case "star":
783
+ d = Math.cos(f) * (r ? r / 2 : h), s = Math.cos(f) * h, a = Math.sin(f) * h, g = Math.sin(f) * (r ? r / 2 : h), e.moveTo(n - d, o - a), e.lineTo(n + d, o + a), e.moveTo(n + g, o - s), e.lineTo(n - g, o + s), f += P, d = Math.cos(f) * (r ? r / 2 : h), s = Math.cos(f) * h, a = Math.sin(f) * h, g = Math.sin(f) * (r ? r / 2 : h), e.moveTo(n - d, o - a), e.lineTo(n + d, o + a), e.moveTo(n + g, o - s), e.lineTo(n - g, o + s);
784
+ break;
785
+ case "line":
786
+ s = r ? r / 2 : Math.cos(f) * h, a = Math.sin(f) * h, e.moveTo(n - s, o - a), e.lineTo(n + s, o + a);
787
+ break;
788
+ case "dash":
789
+ e.moveTo(n, o), e.lineTo(n + Math.cos(f) * (r ? r / 2 : h), o + Math.sin(f) * h);
790
+ break;
791
+ case !1:
792
+ e.closePath();
793
+ break;
794
+ }
795
+ e.fill(), t.borderWidth > 0 && e.stroke();
796
+ }
797
+ }
798
+ function le(e, t, n) {
799
+ return n = n || 0.5, !t || e && e.x > t.left - n && e.x < t.right + n && e.y > t.top - n && e.y < t.bottom + n;
800
+ }
801
+ function Dn(e, t) {
802
+ e.save(), e.beginPath(), e.rect(t.left, t.top, t.right - t.left, t.bottom - t.top), e.clip();
803
+ }
804
+ function Ln(e) {
805
+ e.restore();
806
+ }
807
+ function Wn(e, t, n, o, r) {
808
+ if (!t)
809
+ return e.lineTo(n.x, n.y);
810
+ if (r === "middle") {
811
+ const i = (t.x + n.x) / 2;
812
+ e.lineTo(i, t.y), e.lineTo(i, n.y);
813
+ } else r === "after" != !!o ? e.lineTo(t.x, n.y) : e.lineTo(n.x, t.y);
814
+ e.lineTo(n.x, n.y);
815
+ }
816
+ function Nn(e, t, n, o) {
817
+ if (!t)
818
+ return e.lineTo(n.x, n.y);
819
+ e.bezierCurveTo(o ? t.cp1x : t.cp2x, o ? t.cp1y : t.cp2y, o ? n.cp2x : n.cp1x, o ? n.cp2y : n.cp1y, n.x, n.y);
820
+ }
821
+ function lt(e, t) {
822
+ t.translation && e.translate(t.translation[0], t.translation[1]), v(t.rotation) || e.rotate(t.rotation), t.color && (e.fillStyle = t.color), t.textAlign && (e.textAlign = t.textAlign), t.textBaseline && (e.textBaseline = t.textBaseline);
823
+ }
824
+ function ut(e, t, n, o, r) {
825
+ if (r.strikethrough || r.underline) {
826
+ const i = e.measureText(o), s = t - i.actualBoundingBoxLeft, a = t + i.actualBoundingBoxRight, c = n - i.actualBoundingBoxAscent, l = n + i.actualBoundingBoxDescent, u = r.strikethrough ? (c + l) / 2 : l;
827
+ e.strokeStyle = e.fillStyle, e.beginPath(), e.lineWidth = r.decorationWidth || 2, e.moveTo(s, u), e.lineTo(a, u), e.stroke();
828
+ }
829
+ }
830
+ function ft(e, t) {
831
+ const n = e.fillStyle;
832
+ e.fillStyle = t.color, e.fillRect(t.left, t.top, t.width, t.height), e.fillStyle = n;
833
+ }
834
+ function En(e, t, n, o, r, i = {}) {
835
+ const s = M(t) ? t : [
836
+ t
837
+ ], a = i.strokeWidth > 0 && i.strokeColor !== "";
838
+ let c, l;
839
+ for (e.save(), e.font = r.string, lt(e, i), c = 0; c < s.length; ++c)
840
+ l = s[c], i.backdrop && ft(e, i.backdrop), a && (i.strokeColor && (e.strokeStyle = i.strokeColor), v(i.strokeWidth) || (e.lineWidth = i.strokeWidth), e.strokeText(l, n, o, i.maxWidth)), e.fillText(l, n, o, i.maxWidth), ut(e, n, o, l, i), o += Number(r.lineHeight);
841
+ e.restore();
842
+ }
843
+ function Fn(e, t) {
844
+ const { x: n, y: o, w: r, h: i, radius: s } = t;
845
+ e.arc(n + s.topLeft, o + s.topLeft, s.topLeft, 1.5 * y, y, !0), e.lineTo(n, o + i - s.bottomLeft), e.arc(n + s.bottomLeft, o + i - s.bottomLeft, s.bottomLeft, y, O, !0), e.lineTo(n + r - s.bottomRight, o + i), e.arc(n + r - s.bottomRight, o + i - s.bottomRight, s.bottomRight, O, 0, !0), e.lineTo(n + r, o + s.topRight), e.arc(n + r - s.topRight, o + s.topRight, s.topRight, 0, -O, !0), e.lineTo(n + s.topLeft, o);
846
+ }
847
+ const dt = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, ht = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
848
+ function gt(e, t) {
849
+ const n = ("" + e).match(dt);
850
+ if (!n || n[1] === "normal")
851
+ return t * 1.2;
852
+ switch (e = +n[2], n[3]) {
853
+ case "px":
854
+ return e;
855
+ case "%":
856
+ e /= 100;
857
+ break;
858
+ }
859
+ return t * e;
860
+ }
861
+ const mt = (e) => +e || 0;
862
+ function we(e, t) {
863
+ const n = {}, o = _(t), r = o ? Object.keys(t) : t, i = _(e) ? o ? (s) => T(e[s], e[t[s]]) : (s) => e[s] : () => e;
864
+ for (const s of r)
865
+ n[s] = mt(i(s));
866
+ return n;
867
+ }
868
+ function pt(e) {
869
+ return we(e, {
870
+ top: "y",
871
+ right: "x",
872
+ bottom: "y",
873
+ left: "x"
874
+ });
875
+ }
876
+ function zn(e) {
877
+ return we(e, [
878
+ "topLeft",
879
+ "topRight",
880
+ "bottomLeft",
881
+ "bottomRight"
882
+ ]);
883
+ }
884
+ function Hn(e) {
885
+ const t = pt(e);
886
+ return t.width = t.left + t.right, t.height = t.top + t.bottom, t;
887
+ }
888
+ function qn(e, t) {
889
+ e = e || {}, t = t || st.font;
890
+ let n = T(e.size, t.size);
891
+ typeof n == "string" && (n = parseInt(n, 10));
892
+ let o = T(e.style, t.style);
893
+ o && !("" + o).match(ht) && (console.warn('Invalid font style specified: "' + o + '"'), o = void 0);
894
+ const r = {
895
+ family: T(e.family, t.family),
896
+ lineHeight: gt(T(e.lineHeight, t.lineHeight), n),
897
+ size: n,
898
+ style: o,
899
+ weight: T(e.weight, t.weight),
900
+ string: ""
901
+ };
902
+ return r.string = at(r), r;
903
+ }
904
+ function Kn(e, t, n, o) {
905
+ let r, i, s;
906
+ for (r = 0, i = e.length; r < i; ++r)
907
+ if (s = e[r], s !== void 0 && s !== void 0)
908
+ return s;
909
+ }
910
+ function Gn(e, t, n) {
911
+ const { min: o, max: r } = e, i = De(t, (r - o) / 2), s = (a, c) => n && a === 0 ? 0 : a + c;
912
+ return {
913
+ min: s(o, -Math.abs(i)),
914
+ max: s(r, i)
915
+ };
916
+ }
917
+ function bt(e, t) {
918
+ return Object.assign(Object.create(e), t);
919
+ }
920
+ function Pe(e, t = [
921
+ ""
922
+ ], n, o, r = () => e[0]) {
923
+ const i = n || e;
924
+ typeof o > "u" && (o = ke("_fallback", e));
925
+ const s = {
926
+ [Symbol.toStringTag]: "Object",
927
+ _cacheable: !0,
928
+ _scopes: e,
929
+ _rootScopes: i,
930
+ _fallback: o,
931
+ _getTarget: r,
932
+ override: (a) => Pe([
933
+ a,
934
+ ...e
935
+ ], t, i, o)
936
+ };
937
+ return new Proxy(s, {
938
+ /**
939
+ * A trap for the delete operator.
940
+ */
941
+ deleteProperty(a, c) {
942
+ return delete a[c], delete a._keys, delete e[0][c], !0;
943
+ },
944
+ /**
945
+ * A trap for getting property values.
946
+ */
947
+ get(a, c) {
948
+ return Te(a, c, () => Tt(c, t, e, a));
949
+ },
950
+ /**
951
+ * A trap for Object.getOwnPropertyDescriptor.
952
+ * Also used by Object.hasOwnProperty.
953
+ */
954
+ getOwnPropertyDescriptor(a, c) {
955
+ return Reflect.getOwnPropertyDescriptor(a._scopes[0], c);
956
+ },
957
+ /**
958
+ * A trap for Object.getPrototypeOf.
959
+ */
960
+ getPrototypeOf() {
961
+ return Reflect.getPrototypeOf(e[0]);
962
+ },
963
+ /**
964
+ * A trap for the in operator.
965
+ */
966
+ has(a, c) {
967
+ return fe(a).includes(c);
968
+ },
969
+ /**
970
+ * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
971
+ */
972
+ ownKeys(a) {
973
+ return fe(a);
974
+ },
975
+ /**
976
+ * A trap for setting property values.
977
+ */
978
+ set(a, c, l) {
979
+ const u = a._storage || (a._storage = r());
980
+ return a[c] = u[c] = l, delete a._keys, !0;
981
+ }
982
+ });
983
+ }
984
+ function q(e, t, n, o) {
985
+ const r = {
986
+ _cacheable: !1,
987
+ _proxy: e,
988
+ _context: t,
989
+ _subProxy: n,
990
+ _stack: /* @__PURE__ */ new Set(),
991
+ _descriptors: yt(e, o),
992
+ setContext: (i) => q(e, i, n, o),
993
+ override: (i) => q(e.override(i), t, n, o)
994
+ };
995
+ return new Proxy(r, {
996
+ /**
997
+ * A trap for the delete operator.
998
+ */
999
+ deleteProperty(i, s) {
1000
+ return delete i[s], delete e[s], !0;
1001
+ },
1002
+ /**
1003
+ * A trap for getting property values.
1004
+ */
1005
+ get(i, s, a) {
1006
+ return Te(i, s, () => Mt(i, s, a));
1007
+ },
1008
+ /**
1009
+ * A trap for Object.getOwnPropertyDescriptor.
1010
+ * Also used by Object.hasOwnProperty.
1011
+ */
1012
+ getOwnPropertyDescriptor(i, s) {
1013
+ return i._descriptors.allKeys ? Reflect.has(e, s) ? {
1014
+ enumerable: !0,
1015
+ configurable: !0
1016
+ } : void 0 : Reflect.getOwnPropertyDescriptor(e, s);
1017
+ },
1018
+ /**
1019
+ * A trap for Object.getPrototypeOf.
1020
+ */
1021
+ getPrototypeOf() {
1022
+ return Reflect.getPrototypeOf(e);
1023
+ },
1024
+ /**
1025
+ * A trap for the in operator.
1026
+ */
1027
+ has(i, s) {
1028
+ return Reflect.has(e, s);
1029
+ },
1030
+ /**
1031
+ * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
1032
+ */
1033
+ ownKeys() {
1034
+ return Reflect.ownKeys(e);
1035
+ },
1036
+ /**
1037
+ * A trap for setting property values.
1038
+ */
1039
+ set(i, s, a) {
1040
+ return e[s] = a, delete i[s], !0;
1041
+ }
1042
+ });
1043
+ }
1044
+ function yt(e, t = {
1045
+ scriptable: !0,
1046
+ indexable: !0
1047
+ }) {
1048
+ const { _scriptable: n = t.scriptable, _indexable: o = t.indexable, _allKeys: r = t.allKeys } = e;
1049
+ return {
1050
+ allKeys: r,
1051
+ scriptable: n,
1052
+ indexable: o,
1053
+ isScriptable: z(n) ? n : () => n,
1054
+ isIndexable: z(o) ? o : () => o
1055
+ };
1056
+ }
1057
+ const _t = (e, t) => e ? e + _e(t) : t, Z = (e, t) => _(t) && e !== "adapters" && (Object.getPrototypeOf(t) === null || t.constructor === Object);
1058
+ function Te(e, t, n) {
1059
+ if (Object.prototype.hasOwnProperty.call(e, t) || t === "constructor")
1060
+ return e[t];
1061
+ const o = n();
1062
+ return e[t] = o, o;
1063
+ }
1064
+ function Mt(e, t, n) {
1065
+ const { _proxy: o, _context: r, _subProxy: i, _descriptors: s } = e;
1066
+ let a = o[t];
1067
+ return z(a) && s.isScriptable(t) && (a = St(t, a, e, n)), M(a) && a.length && (a = Ot(t, a, e, s.isIndexable)), Z(t, a) && (a = q(a, r, i && i[t], s)), a;
1068
+ }
1069
+ function St(e, t, n, o) {
1070
+ const { _proxy: r, _context: i, _subProxy: s, _stack: a } = n;
1071
+ if (a.has(e))
1072
+ throw new Error("Recursion detected: " + Array.from(a).join("->") + "->" + e);
1073
+ a.add(e);
1074
+ let c = t(i, s || o);
1075
+ return a.delete(e), Z(e, c) && (c = V(r._scopes, r, e, c)), c;
1076
+ }
1077
+ function Ot(e, t, n, o) {
1078
+ const { _proxy: r, _context: i, _subProxy: s, _descriptors: a } = n;
1079
+ if (typeof i.index < "u" && o(e))
1080
+ return t[i.index % t.length];
1081
+ if (_(t[0])) {
1082
+ const c = t, l = r._scopes.filter((u) => u !== c);
1083
+ t = [];
1084
+ for (const u of c) {
1085
+ const d = V(l, r, e, u);
1086
+ t.push(q(d, i, s && s[e], a));
1087
+ }
1088
+ }
1089
+ return t;
1090
+ }
1091
+ function Ce(e, t, n) {
1092
+ return z(e) ? e(t, n) : e;
1093
+ }
1094
+ const xt = (e, t) => e === !0 ? t : typeof e == "string" ? ye(t, e) : void 0;
1095
+ function wt(e, t, n, o, r) {
1096
+ for (const i of t) {
1097
+ const s = xt(n, i);
1098
+ if (s) {
1099
+ e.add(s);
1100
+ const a = Ce(s._fallback, n, r);
1101
+ if (typeof a < "u" && a !== n && a !== o)
1102
+ return a;
1103
+ } else if (s === !1 && typeof o < "u" && n !== o)
1104
+ return null;
1105
+ }
1106
+ return !1;
1107
+ }
1108
+ function V(e, t, n, o) {
1109
+ const r = t._rootScopes, i = Ce(t._fallback, n, o), s = [
1110
+ ...e,
1111
+ ...r
1112
+ ], a = /* @__PURE__ */ new Set();
1113
+ a.add(o);
1114
+ let c = ue(a, s, n, i || n, o);
1115
+ return c === null || typeof i < "u" && i !== n && (c = ue(a, s, i, c, o), c === null) ? !1 : Pe(Array.from(a), [
1116
+ ""
1117
+ ], r, i, () => Pt(t, n, o));
1118
+ }
1119
+ function ue(e, t, n, o, r) {
1120
+ for (; n; )
1121
+ n = wt(e, t, n, o, r);
1122
+ return n;
1123
+ }
1124
+ function Pt(e, t, n) {
1125
+ const o = e._getTarget();
1126
+ t in o || (o[t] = {});
1127
+ const r = o[t];
1128
+ return M(r) && _(n) ? n : r || {};
1129
+ }
1130
+ function Tt(e, t, n, o) {
1131
+ let r;
1132
+ for (const i of t)
1133
+ if (r = ke(_t(i, e), n), typeof r < "u")
1134
+ return Z(e, r) ? V(n, o, e, r) : r;
1135
+ }
1136
+ function ke(e, t) {
1137
+ for (const n of t) {
1138
+ if (!n)
1139
+ continue;
1140
+ const o = n[e];
1141
+ if (typeof o < "u")
1142
+ return o;
1143
+ }
1144
+ }
1145
+ function fe(e) {
1146
+ let t = e._keys;
1147
+ return t || (t = e._keys = Ct(e._scopes)), t;
1148
+ }
1149
+ function Ct(e) {
1150
+ const t = /* @__PURE__ */ new Set();
1151
+ for (const n of e)
1152
+ for (const o of Object.keys(n).filter((r) => !r.startsWith("_")))
1153
+ t.add(o);
1154
+ return Array.from(t);
1155
+ }
1156
+ function Qn(e, t, n, o) {
1157
+ const { iScale: r } = e, { key: i = "r" } = this._parsing, s = new Array(o);
1158
+ let a, c, l, u;
1159
+ for (a = 0, c = o; a < c; ++a)
1160
+ l = a + n, u = t[l], s[a] = {
1161
+ r: r.parse(ye(u, i), l)
1162
+ };
1163
+ return s;
1164
+ }
1165
+ const kt = Number.EPSILON || 1e-14, A = (e, t) => t < e.length && !e[t].skip && e[t], Ie = (e) => e === "x" ? "y" : "x";
1166
+ function It(e, t, n, o) {
1167
+ const r = e.skip ? t : e, i = t, s = n.skip ? t : n, a = re(i, r), c = re(s, i);
1168
+ let l = a / (a + c), u = c / (a + c);
1169
+ l = isNaN(l) ? 0 : l, u = isNaN(u) ? 0 : u;
1170
+ const d = o * l, g = o * u;
1171
+ return {
1172
+ previous: {
1173
+ x: i.x - d * (s.x - r.x),
1174
+ y: i.y - d * (s.y - r.y)
1175
+ },
1176
+ next: {
1177
+ x: i.x + g * (s.x - r.x),
1178
+ y: i.y + g * (s.y - r.y)
1179
+ }
1180
+ };
1181
+ }
1182
+ function Rt(e, t, n) {
1183
+ const o = e.length;
1184
+ let r, i, s, a, c, l = A(e, 0);
1185
+ for (let u = 0; u < o - 1; ++u)
1186
+ if (c = l, l = A(e, u + 1), !(!c || !l)) {
1187
+ if (Me(t[u], 0, kt)) {
1188
+ n[u] = n[u + 1] = 0;
1189
+ continue;
1190
+ }
1191
+ r = n[u] / t[u], i = n[u + 1] / t[u], a = Math.pow(r, 2) + Math.pow(i, 2), !(a <= 9) && (s = 3 / Math.sqrt(a), n[u] = r * s * t[u], n[u + 1] = i * s * t[u]);
1192
+ }
1193
+ }
1194
+ function vt(e, t, n = "x") {
1195
+ const o = Ie(n), r = e.length;
1196
+ let i, s, a, c = A(e, 0);
1197
+ for (let l = 0; l < r; ++l) {
1198
+ if (s = a, a = c, c = A(e, l + 1), !a)
1199
+ continue;
1200
+ const u = a[n], d = a[o];
1201
+ s && (i = (u - s[n]) / 3, a[`cp1${n}`] = u - i, a[`cp1${o}`] = d - i * t[l]), c && (i = (c[n] - u) / 3, a[`cp2${n}`] = u + i, a[`cp2${o}`] = d + i * t[l]);
1202
+ }
1203
+ }
1204
+ function At(e, t = "x") {
1205
+ const n = Ie(t), o = e.length, r = Array(o).fill(0), i = Array(o);
1206
+ let s, a, c, l = A(e, 0);
1207
+ for (s = 0; s < o; ++s)
1208
+ if (a = c, c = l, l = A(e, s + 1), !!c) {
1209
+ if (l) {
1210
+ const u = l[t] - c[t];
1211
+ r[s] = u !== 0 ? (l[n] - c[n]) / u : 0;
1212
+ }
1213
+ i[s] = a ? l ? oe(r[s - 1]) !== oe(r[s]) ? 0 : (r[s - 1] + r[s]) / 2 : r[s - 1] : r[s];
1214
+ }
1215
+ Rt(e, r, i), vt(e, i, t);
1216
+ }
1217
+ function W(e, t, n) {
1218
+ return Math.max(Math.min(e, n), t);
1219
+ }
1220
+ function Bt(e, t) {
1221
+ let n, o, r, i, s, a = le(e[0], t);
1222
+ for (n = 0, o = e.length; n < o; ++n)
1223
+ s = i, i = a, a = n < o - 1 && le(e[n + 1], t), i && (r = e[n], s && (r.cp1x = W(r.cp1x, t.left, t.right), r.cp1y = W(r.cp1y, t.top, t.bottom)), a && (r.cp2x = W(r.cp2x, t.left, t.right), r.cp2y = W(r.cp2y, t.top, t.bottom)));
1224
+ }
1225
+ function $n(e, t, n, o, r) {
1226
+ let i, s, a, c;
1227
+ if (t.spanGaps && (e = e.filter((l) => !l.skip)), t.cubicInterpolationMode === "monotone")
1228
+ At(e, r);
1229
+ else {
1230
+ let l = o ? e[e.length - 1] : e[0];
1231
+ for (i = 0, s = e.length; i < s; ++i)
1232
+ a = e[i], c = It(l, a, e[Math.min(i + 1, s - (o ? 0 : 1)) % s], t.tension), a.cp1x = c.previous.x, a.cp1y = c.previous.y, a.cp2x = c.next.x, a.cp2y = c.next.y, l = a;
1233
+ }
1234
+ t.capBezierPoints && Bt(e, n);
1235
+ }
1236
+ function jt() {
1237
+ return typeof window < "u" && typeof document < "u";
1238
+ }
1239
+ function Dt(e) {
1240
+ let t = e.parentNode;
1241
+ return t && t.toString() === "[object ShadowRoot]" && (t = t.host), t;
1242
+ }
1243
+ function K(e, t, n) {
1244
+ let o;
1245
+ return typeof e == "string" ? (o = parseInt(e, 10), e.indexOf("%") !== -1 && (o = o / 100 * t.parentNode[n])) : o = e, o;
1246
+ }
1247
+ const G = (e) => e.ownerDocument.defaultView.getComputedStyle(e, null);
1248
+ function Lt(e, t) {
1249
+ return G(e).getPropertyValue(t);
1250
+ }
1251
+ const Wt = [
1252
+ "top",
1253
+ "right",
1254
+ "bottom",
1255
+ "left"
1256
+ ];
1257
+ function C(e, t, n) {
1258
+ const o = {};
1259
+ n = n ? "-" + n : "";
1260
+ for (let r = 0; r < 4; r++) {
1261
+ const i = Wt[r];
1262
+ o[i] = parseFloat(e[t + "-" + i + n]) || 0;
1263
+ }
1264
+ return o.width = o.left + o.right, o.height = o.top + o.bottom, o;
1265
+ }
1266
+ const Nt = (e, t, n) => (e > 0 || t > 0) && (!n || !n.shadowRoot);
1267
+ function Et(e, t) {
1268
+ const n = e.touches, o = n && n.length ? n[0] : e, { offsetX: r, offsetY: i } = o;
1269
+ let s = !1, a, c;
1270
+ if (Nt(r, i, e.target))
1271
+ a = r, c = i;
1272
+ else {
1273
+ const l = t.getBoundingClientRect();
1274
+ a = o.clientX - l.left, c = o.clientY - l.top, s = !0;
1275
+ }
1276
+ return {
1277
+ x: a,
1278
+ y: c,
1279
+ box: s
1280
+ };
1281
+ }
1282
+ function Un(e, t) {
1283
+ if ("native" in e)
1284
+ return e;
1285
+ const { canvas: n, currentDevicePixelRatio: o } = t, r = G(n), i = r.boxSizing === "border-box", s = C(r, "padding"), a = C(r, "border", "width"), { x: c, y: l, box: u } = Et(e, n), d = s.left + (u && a.left), g = s.top + (u && a.top);
1286
+ let { width: m, height: p } = t;
1287
+ return i && (m -= s.width + a.width, p -= s.height + a.height), {
1288
+ x: Math.round((c - d) / m * n.width / o),
1289
+ y: Math.round((l - g) / p * n.height / o)
1290
+ };
1291
+ }
1292
+ function Ft(e, t, n) {
1293
+ let o, r;
1294
+ if (t === void 0 || n === void 0) {
1295
+ const i = e && Dt(e);
1296
+ if (!i)
1297
+ t = e.clientWidth, n = e.clientHeight;
1298
+ else {
1299
+ const s = i.getBoundingClientRect(), a = G(i), c = C(a, "border", "width"), l = C(a, "padding");
1300
+ t = s.width - l.width - c.width, n = s.height - l.height - c.height, o = K(a.maxWidth, i, "clientWidth"), r = K(a.maxHeight, i, "clientHeight");
1301
+ }
1302
+ }
1303
+ return {
1304
+ width: t,
1305
+ height: n,
1306
+ maxWidth: o || H,
1307
+ maxHeight: r || H
1308
+ };
1309
+ }
1310
+ const w = (e) => Math.round(e * 10) / 10;
1311
+ function Yn(e, t, n, o) {
1312
+ const r = G(e), i = C(r, "margin"), s = K(r.maxWidth, e, "clientWidth") || H, a = K(r.maxHeight, e, "clientHeight") || H, c = Ft(e, t, n);
1313
+ let { width: l, height: u } = c;
1314
+ if (r.boxSizing === "content-box") {
1315
+ const g = C(r, "border", "width"), m = C(r, "padding");
1316
+ l -= m.width + g.width, u -= m.height + g.height;
1317
+ }
1318
+ return l = Math.max(0, l - i.width), u = Math.max(0, o ? l / o : u - i.height), l = w(Math.min(l, s, c.maxWidth)), u = w(Math.min(u, a, c.maxHeight)), l && !u && (u = w(l / 2)), (t !== void 0 || n !== void 0) && o && c.height && u > c.height && (u = c.height, l = w(Math.floor(u * o))), {
1319
+ width: l,
1320
+ height: u
1321
+ };
1322
+ }
1323
+ function Jn(e, t, n) {
1324
+ const o = t || 1, r = w(e.height * o), i = w(e.width * o);
1325
+ e.height = w(e.height), e.width = w(e.width);
1326
+ const s = e.canvas;
1327
+ return s.style && (n || !s.style.height && !s.style.width) && (s.style.height = `${e.height}px`, s.style.width = `${e.width}px`), e.currentDevicePixelRatio !== o || s.height !== r || s.width !== i ? (e.currentDevicePixelRatio = o, s.height = r, s.width = i, e.ctx.setTransform(o, 0, 0, o, 0, 0), !0) : !1;
1328
+ }
1329
+ const Xn = (function() {
1330
+ let e = !1;
1331
+ try {
1332
+ const t = {
1333
+ get passive() {
1334
+ return e = !0, !1;
1335
+ }
1336
+ };
1337
+ jt() && (window.addEventListener("test", null, t), window.removeEventListener("test", null, t));
1338
+ } catch {
1339
+ }
1340
+ return e;
1341
+ })();
1342
+ function Zn(e, t) {
1343
+ const n = Lt(e, t), o = n && n.match(/^(\d+)(\.\d+)?px$/);
1344
+ return o ? +o[1] : void 0;
1345
+ }
1346
+ function R(e, t, n, o) {
1347
+ return {
1348
+ x: e.x + n * (t.x - e.x),
1349
+ y: e.y + n * (t.y - e.y)
1350
+ };
1351
+ }
1352
+ function Vn(e, t, n, o) {
1353
+ return {
1354
+ x: e.x + n * (t.x - e.x),
1355
+ y: o === "middle" ? n < 0.5 ? e.y : t.y : o === "after" ? n < 1 ? e.y : t.y : n > 0 ? t.y : e.y
1356
+ };
1357
+ }
1358
+ function eo(e, t, n, o) {
1359
+ const r = {
1360
+ x: e.cp2x,
1361
+ y: e.cp2y
1362
+ }, i = {
1363
+ x: t.cp1x,
1364
+ y: t.cp1y
1365
+ }, s = R(e, r, n), a = R(r, i, n), c = R(i, t, n), l = R(s, a, n), u = R(a, c, n);
1366
+ return R(l, u, n);
1367
+ }
1368
+ const zt = function(e, t) {
1369
+ return {
1370
+ x(n) {
1371
+ return e + e + t - n;
1372
+ },
1373
+ setWidth(n) {
1374
+ t = n;
1375
+ },
1376
+ textAlign(n) {
1377
+ return n === "center" ? n : n === "right" ? "left" : "right";
1378
+ },
1379
+ xPlus(n, o) {
1380
+ return n - o;
1381
+ },
1382
+ leftForLtr(n, o) {
1383
+ return n - o;
1384
+ }
1385
+ };
1386
+ }, Ht = function() {
1387
+ return {
1388
+ x(e) {
1389
+ return e;
1390
+ },
1391
+ setWidth(e) {
1392
+ },
1393
+ textAlign(e) {
1394
+ return e;
1395
+ },
1396
+ xPlus(e, t) {
1397
+ return e + t;
1398
+ },
1399
+ leftForLtr(e, t) {
1400
+ return e;
1401
+ }
1402
+ };
1403
+ };
1404
+ function to(e, t, n) {
1405
+ return e ? zt(t, n) : Ht();
1406
+ }
1407
+ function no(e, t) {
1408
+ let n, o;
1409
+ (t === "ltr" || t === "rtl") && (n = e.canvas.style, o = [
1410
+ n.getPropertyValue("direction"),
1411
+ n.getPropertyPriority("direction")
1412
+ ], n.setProperty("direction", t, "important"), e.prevTextDirection = o);
1413
+ }
1414
+ function oo(e, t) {
1415
+ t !== void 0 && (delete e.prevTextDirection, e.canvas.style.setProperty("direction", t[0], t[1]));
1416
+ }
1417
+ function Re(e) {
1418
+ return e === "angle" ? {
1419
+ between: Ge,
1420
+ compare: Ke,
1421
+ normalize: x
1422
+ } : {
1423
+ between: Qe,
1424
+ compare: (t, n) => t - n,
1425
+ normalize: (t) => t
1426
+ };
1427
+ }
1428
+ function de({ start: e, end: t, count: n, loop: o, style: r }) {
1429
+ return {
1430
+ start: e % n,
1431
+ end: t % n,
1432
+ loop: o && (t - e + 1) % n === 0,
1433
+ style: r
1434
+ };
1435
+ }
1436
+ function qt(e, t, n) {
1437
+ const { property: o, start: r, end: i } = n, { between: s, normalize: a } = Re(o), c = t.length;
1438
+ let { start: l, end: u, loop: d } = e, g, m;
1439
+ if (d) {
1440
+ for (l += c, u += c, g = 0, m = c; g < m && s(a(t[l % c][o]), r, i); ++g)
1441
+ l--, u--;
1442
+ l %= c, u %= c;
1443
+ }
1444
+ return u < l && (u += c), {
1445
+ start: l,
1446
+ end: u,
1447
+ loop: d,
1448
+ style: e.style
1449
+ };
1450
+ }
1451
+ function Kt(e, t, n) {
1452
+ if (!n)
1453
+ return [
1454
+ e
1455
+ ];
1456
+ const { property: o, start: r, end: i } = n, s = t.length, { compare: a, between: c, normalize: l } = Re(o), { start: u, end: d, loop: g, style: m } = qt(e, t, n), p = [];
1457
+ let h = !1, f = null, b, k, B;
1458
+ const ve = () => c(r, B, b) && a(r, B) !== 0, Ae = () => a(i, b) === 0 || c(i, B, b), Be = () => h || ve(), je = () => !h || Ae();
1459
+ for (let I = u, ee = u; I <= d; ++I)
1460
+ k = t[I % s], !k.skip && (b = l(k[o]), b !== B && (h = c(b, r, i), f === null && Be() && (f = a(b, r) === 0 ? I : ee), f !== null && je() && (p.push(de({
1461
+ start: f,
1462
+ end: I,
1463
+ loop: g,
1464
+ count: s,
1465
+ style: m
1466
+ })), f = null), ee = I, B = b));
1467
+ return f !== null && p.push(de({
1468
+ start: f,
1469
+ end: d,
1470
+ loop: g,
1471
+ count: s,
1472
+ style: m
1473
+ })), p;
1474
+ }
1475
+ function ro(e, t) {
1476
+ const n = [], o = e.segments;
1477
+ for (let r = 0; r < o.length; r++) {
1478
+ const i = Kt(o[r], e.points, t);
1479
+ i.length && n.push(...i);
1480
+ }
1481
+ return n;
1482
+ }
1483
+ function Gt(e, t, n, o) {
1484
+ let r = 0, i = t - 1;
1485
+ if (n && !o)
1486
+ for (; r < t && !e[r].skip; )
1487
+ r++;
1488
+ for (; r < t && e[r].skip; )
1489
+ r++;
1490
+ for (r %= t, n && (i += r); i > r && e[i % t].skip; )
1491
+ i--;
1492
+ return i %= t, {
1493
+ start: r,
1494
+ end: i
1495
+ };
1496
+ }
1497
+ function Qt(e, t, n, o) {
1498
+ const r = e.length, i = [];
1499
+ let s = t, a = e[t], c;
1500
+ for (c = t + 1; c <= n; ++c) {
1501
+ const l = e[c % r];
1502
+ l.skip || l.stop ? a.skip || (o = !1, i.push({
1503
+ start: t % r,
1504
+ end: (c - 1) % r,
1505
+ loop: o
1506
+ }), t = s = l.stop ? c : null) : (s = c, a.skip && (t = c)), a = l;
1507
+ }
1508
+ return s !== null && i.push({
1509
+ start: t % r,
1510
+ end: s % r,
1511
+ loop: o
1512
+ }), i;
1513
+ }
1514
+ function io(e, t) {
1515
+ const n = e.points, o = e.options.spanGaps, r = n.length;
1516
+ if (!r)
1517
+ return [];
1518
+ const i = !!e._loop, { start: s, end: a } = Gt(n, r, i, o);
1519
+ if (o === !0)
1520
+ return he(e, [
1521
+ {
1522
+ start: s,
1523
+ end: a,
1524
+ loop: i
1525
+ }
1526
+ ], n, t);
1527
+ const c = a < s ? a + r : a, l = !!e._fullLoop && s === 0 && a === r - 1;
1528
+ return he(e, Qt(n, s, c, l), n, t);
1529
+ }
1530
+ function he(e, t, n, o) {
1531
+ return !o || !o.setContext || !n ? t : $t(e, t, n, o);
1532
+ }
1533
+ function $t(e, t, n, o) {
1534
+ const r = e._chart.getContext(), i = ge(e.options), { _datasetIndex: s, options: { spanGaps: a } } = e, c = n.length, l = [];
1535
+ let u = i, d = t[0].start, g = d;
1536
+ function m(p, h, f, b) {
1537
+ const k = a ? -1 : 1;
1538
+ if (p !== h) {
1539
+ for (p += c; n[p % c].skip; )
1540
+ p -= k;
1541
+ for (; n[h % c].skip; )
1542
+ h += k;
1543
+ p % c !== h % c && (l.push({
1544
+ start: p % c,
1545
+ end: h % c,
1546
+ loop: f,
1547
+ style: b
1548
+ }), u = b, d = h % c);
1549
+ }
1550
+ }
1551
+ for (const p of t) {
1552
+ d = a ? d : p.start;
1553
+ let h = n[d % c], f;
1554
+ for (g = d + 1; g <= p.end; g++) {
1555
+ const b = n[g % c];
1556
+ f = ge(o.setContext(bt(r, {
1557
+ type: "segment",
1558
+ p0: h,
1559
+ p1: b,
1560
+ p0DataIndex: (g - 1) % c,
1561
+ p1DataIndex: g % c,
1562
+ datasetIndex: s
1563
+ }))), Ut(f, u) && m(d, g - 1, p.loop, u), h = b, u = f;
1564
+ }
1565
+ d < g - 1 && m(d, g - 1, p.loop, u);
1566
+ }
1567
+ return l;
1568
+ }
1569
+ function ge(e) {
1570
+ return {
1571
+ backgroundColor: e.backgroundColor,
1572
+ borderCapStyle: e.borderCapStyle,
1573
+ borderDash: e.borderDash,
1574
+ borderDashOffset: e.borderDashOffset,
1575
+ borderJoinStyle: e.borderJoinStyle,
1576
+ borderWidth: e.borderWidth,
1577
+ borderColor: e.borderColor
1578
+ };
1579
+ }
1580
+ function Ut(e, t) {
1581
+ if (!t)
1582
+ return !1;
1583
+ const n = [], o = function(r, i) {
1584
+ return X(i) ? (n.includes(i) || n.push(i), n.indexOf(i)) : i;
1585
+ };
1586
+ return JSON.stringify(e, o) !== JSON.stringify(t, o);
1587
+ }
1588
+ function N(e, t, n) {
1589
+ return e.options.clip ? e[n] : t[n];
1590
+ }
1591
+ function Yt(e, t) {
1592
+ const { xScale: n, yScale: o } = e;
1593
+ return n && o ? {
1594
+ left: N(n, t, "left"),
1595
+ right: N(n, t, "right"),
1596
+ top: N(o, t, "top"),
1597
+ bottom: N(o, t, "bottom")
1598
+ } : t;
1599
+ }
1600
+ function so(e, t) {
1601
+ const n = t._clip;
1602
+ if (n.disabled)
1603
+ return !1;
1604
+ const o = Yt(t, e.chartArea);
1605
+ return {
1606
+ left: n.left === !1 ? 0 : o.left - (n.left === !0 ? 0 : n.left),
1607
+ right: n.right === !1 ? e.width : o.right + (n.right === !0 ? 0 : n.right),
1608
+ top: n.top === !1 ? 0 : o.top - (n.top === !0 ? 0 : n.top),
1609
+ bottom: n.bottom === !1 ? e.height : o.bottom + (n.bottom === !0 ? 0 : n.bottom)
1610
+ };
1611
+ }
1612
+ export {
1613
+ Ln as $,
1614
+ yn as A,
1615
+ D as B,
1616
+ le as C,
1617
+ pn as D,
1618
+ Hn as E,
1619
+ nn as F,
1620
+ Yn as G,
1621
+ O as H,
1622
+ Dt as I,
1623
+ Zn as J,
1624
+ Xn as K,
1625
+ xn as L,
1626
+ jt as M,
1627
+ ln as N,
1628
+ Vt as O,
1629
+ y as P,
1630
+ tn as Q,
1631
+ Gn as R,
1632
+ J as S,
1633
+ S as T,
1634
+ gn as U,
1635
+ ce as V,
1636
+ bn as W,
1637
+ An as X,
1638
+ Dn as Y,
1639
+ En as Z,
1640
+ On as _,
1641
+ Kn as a,
1642
+ Lt as a$,
1643
+ qn as a0,
1644
+ Pn as a1,
1645
+ Tn as a2,
1646
+ ot as a3,
1647
+ F as a4,
1648
+ _e as a5,
1649
+ rt as a6,
1650
+ z as a7,
1651
+ q as a8,
1652
+ Pe as a9,
1653
+ to as aA,
1654
+ no as aB,
1655
+ Cn as aC,
1656
+ oo as aD,
1657
+ ct as aE,
1658
+ re as aF,
1659
+ Xt as aG,
1660
+ dn as aH,
1661
+ cn as aI,
1662
+ fn as aJ,
1663
+ Me as aK,
1664
+ mn as aL,
1665
+ tt as aM,
1666
+ Y as aN,
1667
+ vn as aO,
1668
+ _n as aP,
1669
+ Se as aQ,
1670
+ X as aR,
1671
+ $ as aS,
1672
+ E as aT,
1673
+ Le as aU,
1674
+ Ne as aV,
1675
+ Ee as aX,
1676
+ at as aY,
1677
+ It as aZ,
1678
+ At as a_,
1679
+ yt as aa,
1680
+ We as ab,
1681
+ Zt as ac,
1682
+ wn as ad,
1683
+ Jn as ae,
1684
+ Bn as af,
1685
+ sn as ag,
1686
+ so as ah,
1687
+ on as ai,
1688
+ an as aj,
1689
+ Qe as ak,
1690
+ x as al,
1691
+ we as am,
1692
+ $n as an,
1693
+ io as ao,
1694
+ ro as ap,
1695
+ Vn as aq,
1696
+ eo as ar,
1697
+ R as as,
1698
+ Wn as at,
1699
+ Nn as au,
1700
+ jn as av,
1701
+ Fn as aw,
1702
+ pt as ax,
1703
+ zn as ay,
1704
+ Kt as az,
1705
+ M as b,
1706
+ gt as b1,
1707
+ ze as b2,
1708
+ H as b3,
1709
+ He as b4,
1710
+ P as b5,
1711
+ ne as b6,
1712
+ Ke as b7,
1713
+ Rn as c,
1714
+ st as d,
1715
+ Q as e,
1716
+ ye as f,
1717
+ pe as g,
1718
+ rn as h,
1719
+ _ as i,
1720
+ bt as j,
1721
+ v as k,
1722
+ Mn as l,
1723
+ en as m,
1724
+ De as n,
1725
+ Ve as o,
1726
+ Ge as p,
1727
+ kn as q,
1728
+ $e as r,
1729
+ oe as s,
1730
+ hn as t,
1731
+ Sn as u,
1732
+ T as v,
1733
+ In as w,
1734
+ un as x,
1735
+ Qn as y,
1736
+ Un as z
1737
+ };