@kong-ui-public/analytics-chart 8.1.6 → 8.1.7
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.
package/dist/vitals-chart.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Cg = Object.defineProperty;
|
|
2
2
|
var Og = (n, t, e) => t in n ? Cg(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var C = (n, t, e) => Og(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { computed as $, onUnmounted as Ki, shallowRef as kl, onMounted as Gs, onBeforeUnmount as Tl, watch as Le, inject as Ws, defineComponent as _e, ref as bt, openBlock as J, createElementBlock as pt, normalizeClass as Un, normalizeStyle as fi, createElementVNode as
|
|
5
|
-
import { createI18n as Ig, i18nTComponent as
|
|
6
|
-
import { DragIcon as
|
|
4
|
+
import { computed as $, onUnmounted as Ki, shallowRef as kl, onMounted as Gs, onBeforeUnmount as Tl, watch as Le, inject as Ws, defineComponent as _e, ref as bt, openBlock as J, createElementBlock as pt, normalizeClass as Un, normalizeStyle as fi, createElementVNode as _t, toDisplayString as ft, createBlock as fe, unref as nt, createCommentVNode as Ut, Fragment as Bs, renderList as Cl, useCssVars as Pg, resolveComponent as We, createVNode as ie, createSlots as uh, withCtx as Wt, toRef as Lt, reactive as Ol, version as Eg, toRaw as qo, nextTick as Ag, h as Vo, isProxy as dh, renderSlot as Pl, createTextVNode as en, withKeys as Rg, withModifiers as Lg, provide as xc } from "vue";
|
|
5
|
+
import { createI18n as Ig, i18nTComponent as Ng } from "@kong-ui-public/i18n";
|
|
6
|
+
import { DragIcon as Fg, WarningIcon as zg } from "@kong/icons";
|
|
7
7
|
const Hg = "No data in the current time frame", Wg = "Once there is traffic, it will display here", Bg = "Not all data is shown in the below report. Reports are currently limited to a maximum of {maxReturned} entities.", Yg = "no-name", jg = "debug", $g = "Total", Ug = "Open in Explorer", qg = "More actions", Vg = "Requests that do not have a value for the selected group", Xg = {
|
|
8
8
|
ms: "ms",
|
|
9
9
|
bytes: "Byte{plural}",
|
|
@@ -242,7 +242,7 @@ function ip() {
|
|
|
242
242
|
const n = Ig("en-us", np);
|
|
243
243
|
return {
|
|
244
244
|
i18n: n,
|
|
245
|
-
i18nT:
|
|
245
|
+
i18nT: Ng(n)
|
|
246
246
|
// Translation component <i18n-t>
|
|
247
247
|
};
|
|
248
248
|
}
|
|
@@ -814,7 +814,7 @@ function Gn(n, t) {
|
|
|
814
814
|
function Ll(n) {
|
|
815
815
|
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
816
816
|
}
|
|
817
|
-
const
|
|
817
|
+
const Ne = (n) => typeof n < "u", Ie = (n) => typeof n == "function", kc = (n, t) => {
|
|
818
818
|
if (n.size !== t.size)
|
|
819
819
|
return !1;
|
|
820
820
|
for (const e of n)
|
|
@@ -825,7 +825,7 @@ const Fe = (n) => typeof n < "u", Ie = (n) => typeof n == "function", kc = (n, t
|
|
|
825
825
|
function Ap(n) {
|
|
826
826
|
return n.type === "mouseup" || n.type === "click" || n.type === "contextmenu";
|
|
827
827
|
}
|
|
828
|
-
const mt = Math.PI, It = 2 * mt, Rp = It + mt, ia = Number.POSITIVE_INFINITY, Il = mt / 180,
|
|
828
|
+
const mt = Math.PI, It = 2 * mt, Rp = It + mt, ia = Number.POSITIVE_INFINITY, Il = mt / 180, Nt = mt / 2, qe = mt / 4, sa = mt * 2 / 3, Yn = Math.log10, un = Math.sign;
|
|
829
829
|
function Rs(n, t, e) {
|
|
830
830
|
return Math.abs(n - t) < e;
|
|
831
831
|
}
|
|
@@ -879,7 +879,7 @@ function ra(n, t) {
|
|
|
879
879
|
function ji(n, t) {
|
|
880
880
|
return Math.sqrt(Math.pow(t.x - n.x, 2) + Math.pow(t.y - n.y, 2));
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Np(n, t) {
|
|
883
883
|
return (n - t + Rp) % It - mt;
|
|
884
884
|
}
|
|
885
885
|
function He(n) {
|
|
@@ -892,13 +892,13 @@ function $s(n, t, e, i) {
|
|
|
892
892
|
function le(n, t, e) {
|
|
893
893
|
return Math.max(t, Math.min(e, n));
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function Fp(n) {
|
|
896
896
|
return le(n, -32768, 32767);
|
|
897
897
|
}
|
|
898
898
|
function wn(n, t, e, i = 1e-6) {
|
|
899
899
|
return n >= Math.min(t, e) - i && n <= Math.max(t, e) + i;
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function Nl(n, t, e) {
|
|
902
902
|
e = e || ((a) => n[a] < t);
|
|
903
903
|
let i = n.length - 1, s = 0, r;
|
|
904
904
|
for (; i - s > 1; )
|
|
@@ -908,10 +908,10 @@ function Fl(n, t, e) {
|
|
|
908
908
|
hi: i
|
|
909
909
|
};
|
|
910
910
|
}
|
|
911
|
-
const Mn = (n, t, e, i) =>
|
|
911
|
+
const Mn = (n, t, e, i) => Nl(n, e, i ? (s) => {
|
|
912
912
|
const r = n[s][t];
|
|
913
913
|
return r < e || r === e && n[s + 1][t] === e;
|
|
914
|
-
} : (s) => n[s][t] < e), zp = (n, t, e) =>
|
|
914
|
+
} : (s) => n[s][t] < e), zp = (n, t, e) => Nl(n, e, (i) => n[i][t] >= e);
|
|
915
915
|
function Hp(n, t, e) {
|
|
916
916
|
let i = 0, s = n.length;
|
|
917
917
|
for (; i < s && n[i] < t; )
|
|
@@ -986,7 +986,7 @@ function Bp(n, t) {
|
|
|
986
986
|
return t ? (clearTimeout(e), e = setTimeout(n, t, i)) : n.apply(this, i), t;
|
|
987
987
|
};
|
|
988
988
|
}
|
|
989
|
-
const
|
|
989
|
+
const Fl = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", ye = (n, t, e) => n === "start" ? t : n === "end" ? e : (t + e) / 2, Yp = (n, t, e, i) => n === (i ? "left" : "right") ? e : n === "center" ? (t + e) / 2 : t;
|
|
990
990
|
function wh(n, t, e) {
|
|
991
991
|
const i = t.length;
|
|
992
992
|
let s = 0, r = i;
|
|
@@ -1035,8 +1035,8 @@ const Ar = (n) => n === 0 || n === 1, Pc = (n, t, e) => -(Math.pow(2, 10 * (n -=
|
|
|
1035
1035
|
easeInQuint: (n) => n * n * n * n * n,
|
|
1036
1036
|
easeOutQuint: (n) => (n -= 1) * n * n * n * n + 1,
|
|
1037
1037
|
easeInOutQuint: (n) => (n /= 0.5) < 1 ? 0.5 * n * n * n * n * n : 0.5 * ((n -= 2) * n * n * n * n + 2),
|
|
1038
|
-
easeInSine: (n) => -Math.cos(n *
|
|
1039
|
-
easeOutSine: (n) => Math.sin(n *
|
|
1038
|
+
easeInSine: (n) => -Math.cos(n * Nt) + 1,
|
|
1039
|
+
easeOutSine: (n) => Math.sin(n * Nt),
|
|
1040
1040
|
easeInOutSine: (n) => -0.5 * (Math.cos(mt * n) - 1),
|
|
1041
1041
|
easeInExpo: (n) => n === 0 ? 0 : Math.pow(2, 10 * (n - 1)),
|
|
1042
1042
|
easeOutExpo: (n) => n === 1 ? 1 : -Math.pow(2, -10 * n) + 1,
|
|
@@ -1345,7 +1345,7 @@ class Kp {
|
|
|
1345
1345
|
t.forEach((e) => e(this));
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
|
-
var
|
|
1348
|
+
var Ft = /* @__PURE__ */ new Kp({
|
|
1349
1349
|
_scriptable: (n) => !n.startsWith("on"),
|
|
1350
1350
|
_indexable: (n) => n !== "events",
|
|
1351
1351
|
hover: {
|
|
@@ -1416,7 +1416,7 @@ function Dh(n, t, e, i, s) {
|
|
|
1416
1416
|
u = s ? s / 2 : y, n.moveTo(e + Math.sin(x) * u, i - Math.cos(x) * y), x += sa, n.lineTo(e + Math.sin(x) * u, i - Math.cos(x) * y), x += sa, n.lineTo(e + Math.sin(x) * u, i - Math.cos(x) * y), n.closePath();
|
|
1417
1417
|
break;
|
|
1418
1418
|
case "rectRounded":
|
|
1419
|
-
c = y * 0.516, l = y - c, a = Math.cos(x + qe) * l, d = Math.cos(x + qe) * (s ? s / 2 - c : l), o = Math.sin(x + qe) * l, h = Math.sin(x + qe) * (s ? s / 2 - c : l), n.arc(e - d, i - o, c, x - mt, x -
|
|
1419
|
+
c = y * 0.516, l = y - c, a = Math.cos(x + qe) * l, d = Math.cos(x + qe) * (s ? s / 2 - c : l), o = Math.sin(x + qe) * l, h = Math.sin(x + qe) * (s ? s / 2 - c : l), n.arc(e - d, i - o, c, x - mt, x - Nt), n.arc(e + h, i - a, c, x - Nt, x), n.arc(e + d, i + o, c, x, x + Nt), n.arc(e - h, i + a, c, x + Nt, x + mt), n.closePath();
|
|
1420
1420
|
break;
|
|
1421
1421
|
case "rect":
|
|
1422
1422
|
if (!g) {
|
|
@@ -1495,7 +1495,7 @@ function pi(n, t, e, i, s, r = {}) {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
function $i(n, t) {
|
|
1497
1497
|
const { x: e, y: i, w: s, h: r, radius: a } = t;
|
|
1498
|
-
n.arc(e + a.topLeft, i + a.topLeft, a.topLeft, 1.5 * mt, mt, !0), n.lineTo(e, i + r - a.bottomLeft), n.arc(e + a.bottomLeft, i + r - a.bottomLeft, a.bottomLeft, mt,
|
|
1498
|
+
n.arc(e + a.topLeft, i + a.topLeft, a.topLeft, 1.5 * mt, mt, !0), n.lineTo(e, i + r - a.bottomLeft), n.arc(e + a.bottomLeft, i + r - a.bottomLeft, a.bottomLeft, mt, Nt, !0), n.lineTo(e + s - a.bottomRight, i + r), n.arc(e + s - a.bottomRight, i + r - a.bottomRight, a.bottomRight, Nt, 0, !0), n.lineTo(e + s, i + a.topRight), n.arc(e + s - a.topRight, i + a.topRight, a.topRight, 0, -Nt, !0), n.lineTo(e + a.topLeft, i);
|
|
1499
1499
|
}
|
|
1500
1500
|
const sm = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, rm = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
|
|
1501
1501
|
function am(n, t) {
|
|
@@ -1539,7 +1539,7 @@ function te(n) {
|
|
|
1539
1539
|
return t.width = t.left + t.right, t.height = t.top + t.bottom, t;
|
|
1540
1540
|
}
|
|
1541
1541
|
function Ht(n, t) {
|
|
1542
|
-
n = n || {}, t = t ||
|
|
1542
|
+
n = n || {}, t = t || Ft.font;
|
|
1543
1543
|
let e = et(n.size, t.size);
|
|
1544
1544
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
1545
1545
|
let i = et(n.style, t.style);
|
|
@@ -1617,13 +1617,13 @@ function Wl(n, t = [
|
|
|
1617
1617
|
* A trap for the in operator.
|
|
1618
1618
|
*/
|
|
1619
1619
|
has(o, l) {
|
|
1620
|
-
return
|
|
1620
|
+
return Nc(o).includes(l);
|
|
1621
1621
|
},
|
|
1622
1622
|
/**
|
|
1623
1623
|
* A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
|
|
1624
1624
|
*/
|
|
1625
1625
|
ownKeys(o) {
|
|
1626
|
-
return
|
|
1626
|
+
return Nc(o);
|
|
1627
1627
|
},
|
|
1628
1628
|
/**
|
|
1629
1629
|
* A trap for setting property values.
|
|
@@ -1795,7 +1795,7 @@ function Ph(n, t) {
|
|
|
1795
1795
|
return i;
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1798
|
+
function Nc(n) {
|
|
1799
1799
|
let t = n._keys;
|
|
1800
1800
|
return t || (t = n._keys = ym(n._scopes)), t;
|
|
1801
1801
|
}
|
|
@@ -1973,7 +1973,7 @@ function Pm(n, t, e, i) {
|
|
|
1973
1973
|
height: u
|
|
1974
1974
|
};
|
|
1975
1975
|
}
|
|
1976
|
-
function
|
|
1976
|
+
function Fc(n, t, e) {
|
|
1977
1977
|
const i = t || 1, s = Math.floor(n.height * i), r = Math.floor(n.width * i);
|
|
1978
1978
|
n.height = Math.floor(n.height), n.width = Math.floor(n.width);
|
|
1979
1979
|
const a = n.canvas;
|
|
@@ -2070,7 +2070,7 @@ function Lh(n, t) {
|
|
|
2070
2070
|
function Ih(n) {
|
|
2071
2071
|
return n === "angle" ? {
|
|
2072
2072
|
between: $s,
|
|
2073
|
-
compare:
|
|
2073
|
+
compare: Np,
|
|
2074
2074
|
normalize: He
|
|
2075
2075
|
} : {
|
|
2076
2076
|
between: wn,
|
|
@@ -2086,7 +2086,7 @@ function Hc({ start: n, end: t, count: e, loop: i, style: s }) {
|
|
|
2086
2086
|
style: s
|
|
2087
2087
|
};
|
|
2088
2088
|
}
|
|
2089
|
-
function
|
|
2089
|
+
function Nm(n, t, e) {
|
|
2090
2090
|
const { property: i, start: s, end: r } = e, { between: a, normalize: o } = Ih(i), l = t.length;
|
|
2091
2091
|
let { start: c, end: u, loop: d } = n, h, f;
|
|
2092
2092
|
if (d) {
|
|
@@ -2101,12 +2101,12 @@ function Fm(n, t, e) {
|
|
|
2101
2101
|
style: n.style
|
|
2102
2102
|
};
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2104
|
+
function Nh(n, t, e) {
|
|
2105
2105
|
if (!e)
|
|
2106
2106
|
return [
|
|
2107
2107
|
n
|
|
2108
2108
|
];
|
|
2109
|
-
const { property: i, start: s, end: r } = e, a = t.length, { compare: o, between: l, normalize: c } = Ih(i), { start: u, end: d, loop: h, style: f } =
|
|
2109
|
+
const { property: i, start: s, end: r } = e, a = t.length, { compare: o, between: l, normalize: c } = Ih(i), { start: u, end: d, loop: h, style: f } = Nm(n, t, e), g = [];
|
|
2110
2110
|
let y = !1, x = null, v, M, D;
|
|
2111
2111
|
const S = () => l(s, D, v) && o(s, D) !== 0, k = () => o(r, v) === 0 || l(r, D, v), E = () => y || S(), A = () => !y || k();
|
|
2112
2112
|
for (let m = u, b = u; m <= d; ++m)
|
|
@@ -2125,15 +2125,15 @@ function Fh(n, t, e) {
|
|
|
2125
2125
|
style: f
|
|
2126
2126
|
})), g;
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2128
|
+
function Fh(n, t) {
|
|
2129
2129
|
const e = [], i = n.segments;
|
|
2130
2130
|
for (let s = 0; s < i.length; s++) {
|
|
2131
|
-
const r =
|
|
2131
|
+
const r = Nh(i[s], n.points, t);
|
|
2132
2132
|
r.length && e.push(...r);
|
|
2133
2133
|
}
|
|
2134
2134
|
return e;
|
|
2135
2135
|
}
|
|
2136
|
-
function
|
|
2136
|
+
function Fm(n, t, e, i) {
|
|
2137
2137
|
let s = 0, r = t - 1;
|
|
2138
2138
|
if (e && !i)
|
|
2139
2139
|
for (; s < t && !n[s].skip; )
|
|
@@ -2168,7 +2168,7 @@ function Hm(n, t) {
|
|
|
2168
2168
|
const e = n.points, i = n.options.spanGaps, s = e.length;
|
|
2169
2169
|
if (!s)
|
|
2170
2170
|
return [];
|
|
2171
|
-
const r = !!n._loop, { start: a, end: o } =
|
|
2171
|
+
const r = !!n._loop, { start: a, end: o } = Fm(e, s, r, i);
|
|
2172
2172
|
if (i === !0)
|
|
2173
2173
|
return Wc(n, [
|
|
2174
2174
|
{
|
|
@@ -2406,7 +2406,7 @@ class Ul {
|
|
|
2406
2406
|
configure(t) {
|
|
2407
2407
|
if (!lt(t))
|
|
2408
2408
|
return;
|
|
2409
|
-
const e = Object.keys(
|
|
2409
|
+
const e = Object.keys(Ft.animation), i = this._properties;
|
|
2410
2410
|
Object.getOwnPropertyNames(t).forEach((s) => {
|
|
2411
2411
|
const r = t[s];
|
|
2412
2412
|
if (!lt(r))
|
|
@@ -2833,7 +2833,7 @@ class nn {
|
|
|
2833
2833
|
return this._resolveElementOptions(this.dataElementType.id, e, t);
|
|
2834
2834
|
}
|
|
2835
2835
|
_resolveElementOptions(t, e = "default", i) {
|
|
2836
|
-
const s = e === "active", r = this._cachedDataOpts, a = t + "-" + e, o = r[a], l = this.enableOptionSharing &&
|
|
2836
|
+
const s = e === "active", r = this._cachedDataOpts, a = t + "-" + e, o = r[a], l = this.enableOptionSharing && Ne(i);
|
|
2837
2837
|
if (o)
|
|
2838
2838
|
return Vc(o, l);
|
|
2839
2839
|
const c = this.chart.config, u = c.datasetElementScopeKeys(this._type, t), d = s ? [
|
|
@@ -2844,7 +2844,7 @@ class nn {
|
|
|
2844
2844
|
] : [
|
|
2845
2845
|
t,
|
|
2846
2846
|
""
|
|
2847
|
-
], h = c.getOptionScopes(this.getDataset(), u), f = Object.keys(
|
|
2847
|
+
], h = c.getOptionScopes(this.getDataset(), u), f = Object.keys(Ft.elements[t]), g = () => this.getContext(i, s, e), y = c.resolveNamedOptions(h, f, g, d);
|
|
2848
2848
|
return y.$shared && (y.$shared = l, r[a] = Object.freeze(Vc(y, l))), y;
|
|
2849
2849
|
}
|
|
2850
2850
|
_resolveAnimations(t, e, i) {
|
|
@@ -2999,7 +2999,7 @@ function iy(n) {
|
|
|
2999
2999
|
const t = n.iScale, e = ny(t, n.type);
|
|
3000
3000
|
let i = t._length, s, r, a, o;
|
|
3001
3001
|
const l = () => {
|
|
3002
|
-
a === 32767 || a === -32768 || (
|
|
3002
|
+
a === 32767 || a === -32768 || (Ne(o) && (i = Math.min(i, Math.abs(a - o) || i)), o = a);
|
|
3003
3003
|
};
|
|
3004
3004
|
for (s = 0, r = e.length; s < r; ++s)
|
|
3005
3005
|
a = t.getPixelForValue(e[s]), l();
|
|
@@ -3097,7 +3097,7 @@ function Kc(n, t, e) {
|
|
|
3097
3097
|
function dy(n, { inflateAmount: t }, e) {
|
|
3098
3098
|
n.inflateAmount = t === "auto" ? e === 1 ? 0.33 : 0 : t;
|
|
3099
3099
|
}
|
|
3100
|
-
class
|
|
3100
|
+
class Ns extends nn {
|
|
3101
3101
|
parsePrimitiveData(t, e, i, s) {
|
|
3102
3102
|
return Xc(t, e, i, s);
|
|
3103
3103
|
}
|
|
@@ -3234,7 +3234,7 @@ class Fs extends nn {
|
|
|
3234
3234
|
this.getParsed(r)[e.axis] !== null && !i[r].hidden && i[r].draw(this._ctx);
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
|
-
C(
|
|
3237
|
+
C(Ns, "id", "bar"), C(Ns, "defaults", {
|
|
3238
3238
|
datasetElementType: !1,
|
|
3239
3239
|
dataElementType: "bar",
|
|
3240
3240
|
categoryPercentage: 0.8,
|
|
@@ -3252,7 +3252,7 @@ C(Fs, "id", "bar"), C(Fs, "defaults", {
|
|
|
3252
3252
|
]
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
|
-
}), C(
|
|
3255
|
+
}), C(Ns, "overrides", {
|
|
3256
3256
|
scales: {
|
|
3257
3257
|
_index_: {
|
|
3258
3258
|
type: "category",
|
|
@@ -3355,7 +3355,7 @@ C(qr, "id", "bubble"), C(qr, "defaults", {
|
|
|
3355
3355
|
function hy(n, t, e) {
|
|
3356
3356
|
let i = 1, s = 1, r = 0, a = 0;
|
|
3357
3357
|
if (t < It) {
|
|
3358
|
-
const o = n, l = o + t, c = Math.cos(o), u = Math.sin(o), d = Math.cos(l), h = Math.sin(l), f = (D, S, k) => $s(D, o, l, !0) ? 1 : Math.max(S, S * e, k, k * e), g = (D, S, k) => $s(D, o, l, !0) ? -1 : Math.min(S, S * e, k, k * e), y = f(0, c, d), x = f(
|
|
3358
|
+
const o = n, l = o + t, c = Math.cos(o), u = Math.sin(o), d = Math.cos(l), h = Math.sin(l), f = (D, S, k) => $s(D, o, l, !0) ? 1 : Math.max(S, S * e, k, k * e), g = (D, S, k) => $s(D, o, l, !0) ? -1 : Math.min(S, S * e, k, k * e), y = f(0, c, d), x = f(Nt, u, h), v = g(mt, c, d), M = g(mt + Nt, u, h);
|
|
3359
3359
|
i = (y - v) / 2, s = (x - M) / 2, r = -(y + v) / 2, a = -(x + M) / 2;
|
|
3360
3360
|
}
|
|
3361
3361
|
return {
|
|
@@ -3553,7 +3553,7 @@ C(Dn, "id", "doughnut"), C(Dn, "defaults", {
|
|
|
3553
3553
|
}
|
|
3554
3554
|
}
|
|
3555
3555
|
});
|
|
3556
|
-
class
|
|
3556
|
+
class Fs extends nn {
|
|
3557
3557
|
initialize() {
|
|
3558
3558
|
this.enableOptionSharing = !0, this.supportsDecimation = !0, super.initialize();
|
|
3559
3559
|
}
|
|
@@ -3592,12 +3592,12 @@ class Ns extends nn {
|
|
|
3592
3592
|
t.dataset.updateControlPoints(this.chart.chartArea, t.iScale.axis), super.draw();
|
|
3593
3593
|
}
|
|
3594
3594
|
}
|
|
3595
|
-
C(
|
|
3595
|
+
C(Fs, "id", "line"), C(Fs, "defaults", {
|
|
3596
3596
|
datasetElementType: "line",
|
|
3597
3597
|
dataElementType: "point",
|
|
3598
3598
|
showLine: !0,
|
|
3599
3599
|
spanGaps: !1
|
|
3600
|
-
}), C(
|
|
3600
|
+
}), C(Fs, "overrides", {
|
|
3601
3601
|
scales: {
|
|
3602
3602
|
_index_: {
|
|
3603
3603
|
type: "category"
|
|
@@ -3877,10 +3877,10 @@ C(Xr, "id", "scatter"), C(Xr, "defaults", {
|
|
|
3877
3877
|
});
|
|
3878
3878
|
var fy = /* @__PURE__ */ Object.freeze({
|
|
3879
3879
|
__proto__: null,
|
|
3880
|
-
BarController:
|
|
3880
|
+
BarController: Ns,
|
|
3881
3881
|
BubbleController: qr,
|
|
3882
3882
|
DoughnutController: Dn,
|
|
3883
|
-
LineController:
|
|
3883
|
+
LineController: Fs,
|
|
3884
3884
|
PieController: Zo,
|
|
3885
3885
|
PolarAreaController: zs,
|
|
3886
3886
|
RadarController: Vr,
|
|
@@ -4238,10 +4238,10 @@ function tu(n, t, e, i) {
|
|
|
4238
4238
|
}, u = o.stackWeight / c.weight || 1;
|
|
4239
4239
|
if (o.horizontal) {
|
|
4240
4240
|
const d = t.w * u, h = c.size || l.height;
|
|
4241
|
-
|
|
4241
|
+
Ne(c.start) && (a = c.start), l.fullSize ? Ir(l, s.left, a, e.outerWidth - s.right - s.left, h) : Ir(l, t.left + c.placed, a, d, h), c.start = a, c.placed += d, a = l.bottom;
|
|
4242
4242
|
} else {
|
|
4243
4243
|
const d = t.h * u, h = c.size || l.width;
|
|
4244
|
-
|
|
4244
|
+
Ne(c.start) && (r = c.start), l.fullSize ? Ir(l, r, s.top, h, e.outerHeight - s.bottom - s.top) : Ir(l, r, t.top + c.placed, h, d), c.start = r, c.placed += d, r = l.right;
|
|
4245
4245
|
}
|
|
4246
4246
|
}
|
|
4247
4247
|
t.x = r, t.y = a;
|
|
@@ -4455,13 +4455,13 @@ function Iy(n, t, e) {
|
|
|
4455
4455
|
function Mo(n, t, e) {
|
|
4456
4456
|
e && e.disconnect(), t === "resize" && Ly(n);
|
|
4457
4457
|
}
|
|
4458
|
-
function
|
|
4458
|
+
function Ny(n, t, e) {
|
|
4459
4459
|
const i = n.canvas, s = vh((r) => {
|
|
4460
4460
|
n.ctx !== null && e(Py(r, n));
|
|
4461
4461
|
}, n);
|
|
4462
4462
|
return Cy(i, t, s), s;
|
|
4463
4463
|
}
|
|
4464
|
-
class
|
|
4464
|
+
class Fy extends jh {
|
|
4465
4465
|
acquireContext(t, e) {
|
|
4466
4466
|
const i = t && t.getContext && t.getContext("2d");
|
|
4467
4467
|
return i && i.canvas === t ? (Ty(t, e), i) : null;
|
|
@@ -4489,7 +4489,7 @@ class Ny extends jh {
|
|
|
4489
4489
|
attach: Ey,
|
|
4490
4490
|
detach: Ay,
|
|
4491
4491
|
resize: Iy
|
|
4492
|
-
}[e] ||
|
|
4492
|
+
}[e] || Ny;
|
|
4493
4493
|
s[e] = a(t, e, i);
|
|
4494
4494
|
}
|
|
4495
4495
|
removeEventListener(t, e) {
|
|
@@ -4514,7 +4514,7 @@ class Ny extends jh {
|
|
|
4514
4514
|
}
|
|
4515
4515
|
}
|
|
4516
4516
|
function zy(n) {
|
|
4517
|
-
return !jl() || typeof OffscreenCanvas < "u" && n instanceof OffscreenCanvas ? Dy :
|
|
4517
|
+
return !jl() || typeof OffscreenCanvas < "u" && n instanceof OffscreenCanvas ? Dy : Fy;
|
|
4518
4518
|
}
|
|
4519
4519
|
class ce {
|
|
4520
4520
|
constructor() {
|
|
@@ -4556,11 +4556,11 @@ function Hy(n, t) {
|
|
|
4556
4556
|
if (a > 0) {
|
|
4557
4557
|
let d, h;
|
|
4558
4558
|
const f = a > 1 ? Math.round((l - o) / (a - 1)) : null;
|
|
4559
|
-
for (
|
|
4560
|
-
|
|
4561
|
-
return
|
|
4559
|
+
for (Nr(t, c, u, it(f) ? 0 : o - f, o), d = 0, h = a - 1; d < h; d++)
|
|
4560
|
+
Nr(t, c, u, r[d], r[d + 1]);
|
|
4561
|
+
return Nr(t, c, u, l, it(f) ? t.length : l + f), c;
|
|
4562
4562
|
}
|
|
4563
|
-
return
|
|
4563
|
+
return Nr(t, c, u), c;
|
|
4564
4564
|
}
|
|
4565
4565
|
function Wy(n) {
|
|
4566
4566
|
const t = n.options.offset, e = n._tickSize(), i = n._length / e + (t ? 0 : 1), s = n._maxLength / e;
|
|
@@ -4590,7 +4590,7 @@ function jy(n, t, e, i) {
|
|
|
4590
4590
|
for (i = Math.ceil(i), a = 0; a < n.length; a++)
|
|
4591
4591
|
a === r && (t.push(n[a]), s++, r = e[s * i]);
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4593
|
+
function Nr(n, t, e, i, s) {
|
|
4594
4594
|
const r = et(i, 0), a = Math.min(et(s, n.length), n.length);
|
|
4595
4595
|
let o = 0, l, c, u;
|
|
4596
4596
|
for (e = Math.ceil(e), s && (l = s - i, e = l / Math.floor(l / e)), u = r; u < 0; )
|
|
@@ -4656,7 +4656,7 @@ function Gy(n, t, e) {
|
|
|
4656
4656
|
});
|
|
4657
4657
|
}
|
|
4658
4658
|
function Ky(n, t, e) {
|
|
4659
|
-
let i =
|
|
4659
|
+
let i = Fl(n);
|
|
4660
4660
|
return (e && t !== "right" || !e && t === "right") && (i = Uy(i)), i;
|
|
4661
4661
|
}
|
|
4662
4662
|
function Zy(n, t, e, i) {
|
|
@@ -4674,7 +4674,7 @@ function Zy(n, t, e, i) {
|
|
|
4674
4674
|
const v = Object.keys(e)[0], M = e[v];
|
|
4675
4675
|
f = u[v].getPixelForValue(M) - x + t;
|
|
4676
4676
|
} else e === "center" ? f = (c.left + c.right) / 2 - x + t : f = iu(n, e, t);
|
|
4677
|
-
g = ye(i, a, s), d = e === "left" ? -
|
|
4677
|
+
g = ye(i, a, s), d = e === "left" ? -Nt : Nt;
|
|
4678
4678
|
}
|
|
4679
4679
|
return {
|
|
4680
4680
|
titleX: f,
|
|
@@ -4956,7 +4956,7 @@ class yi extends ce {
|
|
|
4956
4956
|
getPixelForDecimal(t) {
|
|
4957
4957
|
this._reversePixels && (t = 1 - t);
|
|
4958
4958
|
const e = this._startPixel + t * this._length;
|
|
4959
|
-
return
|
|
4959
|
+
return Fp(this._alignToPixels ? si(this.chart, e, 0) : e);
|
|
4960
4960
|
}
|
|
4961
4961
|
getDecimalForPixel(t) {
|
|
4962
4962
|
const e = (t - this._startPixel) / this._length;
|
|
@@ -5015,7 +5015,7 @@ class yi extends ce {
|
|
|
5015
5015
|
}
|
|
5016
5016
|
E = M - x, m = E - h, T = t.left, P = t.right;
|
|
5017
5017
|
}
|
|
5018
|
-
const
|
|
5018
|
+
const F = et(s.ticks.maxTicksLimit, d), X = Math.max(1, Math.ceil(d / F));
|
|
5019
5019
|
for (D = 0; D < d; D += X) {
|
|
5020
5020
|
const K = this.getContext(D), z = r.setContext(K), ht = o.setContext(K), Y = z.lineWidth, tt = z.color, At = ht.dash || [], j = ht.dashOffset, st = z.tickWidth, Mt = z.tickColor, yt = z.tickBorderDash || [], W = z.tickBorderDashOffset;
|
|
5021
5021
|
S = qy(this, D, l), S !== void 0 && (k = si(i, S, Y), c ? E = m = T = P = k : A = b = L = R = k, f.push({
|
|
@@ -5070,17 +5070,17 @@ class yi extends ce {
|
|
|
5070
5070
|
A = this._getYAxisLabelAlignment(h).textAlign;
|
|
5071
5071
|
}
|
|
5072
5072
|
e === "y" && (l === "start" ? R = "top" : l === "end" && (R = "bottom"));
|
|
5073
|
-
const
|
|
5073
|
+
const F = this._getLabelSizes();
|
|
5074
5074
|
for (v = 0, M = o.length; v < M; ++v) {
|
|
5075
5075
|
D = o[v], S = D.label;
|
|
5076
5076
|
const X = r.setContext(this.getContext(v));
|
|
5077
5077
|
m = this.getPixelForTick(v) + r.labelOffset, b = this._resolveTickFontOptions(v), T = b.lineHeight, L = Dt(S) ? S.length : 1;
|
|
5078
5078
|
const K = L / 2, z = X.color, ht = X.textStrokeColor, Y = X.textStrokeWidth;
|
|
5079
5079
|
let tt = A;
|
|
5080
|
-
a ? (k = m, A === "inner" && (v === M - 1 ? tt = this.options.reverse ? "left" : "right" : v === 0 ? tt = this.options.reverse ? "right" : "left" : tt = "center"), s === "top" ? c === "near" || y !== 0 ? P = -L * T + T / 2 : c === "center" ? P = -
|
|
5080
|
+
a ? (k = m, A === "inner" && (v === M - 1 ? tt = this.options.reverse ? "left" : "right" : v === 0 ? tt = this.options.reverse ? "right" : "left" : tt = "center"), s === "top" ? c === "near" || y !== 0 ? P = -L * T + T / 2 : c === "center" ? P = -F.highest.height / 2 - K * T + T : P = -F.highest.height + T / 2 : c === "near" || y !== 0 ? P = T / 2 : c === "center" ? P = F.highest.height / 2 - K * T : P = F.highest.height - L * T, d && (P *= -1), y !== 0 && !X.showLabelBackdrop && (k += T / 2 * Math.sin(y))) : (E = m, P = (1 - L) * T / 2);
|
|
5081
5081
|
let At;
|
|
5082
5082
|
if (X.showLabelBackdrop) {
|
|
5083
|
-
const j = te(X.backdropPadding), st =
|
|
5083
|
+
const j = te(X.backdropPadding), st = F.heights[v], Mt = F.widths[v];
|
|
5084
5084
|
let yt = P - j.top, W = 0 - j.left;
|
|
5085
5085
|
switch (R) {
|
|
5086
5086
|
case "middle":
|
|
@@ -5295,7 +5295,7 @@ class yi extends ce {
|
|
|
5295
5295
|
return (this.isHorizontal() ? this.width : this.height) / t;
|
|
5296
5296
|
}
|
|
5297
5297
|
}
|
|
5298
|
-
class
|
|
5298
|
+
class Fr {
|
|
5299
5299
|
constructor(t, e, i) {
|
|
5300
5300
|
this.type = t, this.scope = e, this.override = i, this.items = /* @__PURE__ */ Object.create(null);
|
|
5301
5301
|
}
|
|
@@ -5309,30 +5309,30 @@ class Nr {
|
|
|
5309
5309
|
const s = this.items, r = t.id, a = this.scope + "." + r;
|
|
5310
5310
|
if (!r)
|
|
5311
5311
|
throw new Error("class does not have id: " + t);
|
|
5312
|
-
return r in s || (s[r] = t, Qy(t, a, i), this.override &&
|
|
5312
|
+
return r in s || (s[r] = t, Qy(t, a, i), this.override && Ft.override(t.id, t.overrides)), a;
|
|
5313
5313
|
}
|
|
5314
5314
|
get(t) {
|
|
5315
5315
|
return this.items[t];
|
|
5316
5316
|
}
|
|
5317
5317
|
unregister(t) {
|
|
5318
5318
|
const e = this.items, i = t.id, s = this.scope;
|
|
5319
|
-
i in e && delete e[i], s && i in
|
|
5319
|
+
i in e && delete e[i], s && i in Ft[s] && (delete Ft[s][i], this.override && delete gi[i]);
|
|
5320
5320
|
}
|
|
5321
5321
|
}
|
|
5322
5322
|
function Qy(n, t, e) {
|
|
5323
5323
|
const i = js(/* @__PURE__ */ Object.create(null), [
|
|
5324
|
-
e ?
|
|
5325
|
-
|
|
5324
|
+
e ? Ft.get(e) : {},
|
|
5325
|
+
Ft.get(t),
|
|
5326
5326
|
n.defaults
|
|
5327
5327
|
]);
|
|
5328
|
-
|
|
5328
|
+
Ft.set(t, i), n.defaultRoutes && Jy(t, n.defaultRoutes), n.descriptors && Ft.describe(t, n.descriptors);
|
|
5329
5329
|
}
|
|
5330
5330
|
function Jy(n, t) {
|
|
5331
5331
|
Object.keys(t).forEach((e) => {
|
|
5332
5332
|
const i = e.split("."), s = i.pop(), r = [
|
|
5333
5333
|
n
|
|
5334
5334
|
].concat(i).join("."), a = t[e].split("."), o = a.pop(), l = a.join(".");
|
|
5335
|
-
|
|
5335
|
+
Ft.route(r, s, l, o);
|
|
5336
5336
|
});
|
|
5337
5337
|
}
|
|
5338
5338
|
function tb(n) {
|
|
@@ -5340,7 +5340,7 @@ function tb(n) {
|
|
|
5340
5340
|
}
|
|
5341
5341
|
class eb {
|
|
5342
5342
|
constructor() {
|
|
5343
|
-
this.controllers = new
|
|
5343
|
+
this.controllers = new Fr(nn, "datasets", !0), this.elements = new Fr(ce, "elements"), this.plugins = new Fr(Object, "plugins"), this.scales = new Fr(yi, "scales"), this._typedRegistries = [
|
|
5344
5344
|
this.controllers,
|
|
5345
5345
|
this.scales,
|
|
5346
5346
|
this.elements
|
|
@@ -5501,7 +5501,7 @@ function ab(n, { plugin: t, local: e }, i, s) {
|
|
|
5501
5501
|
});
|
|
5502
5502
|
}
|
|
5503
5503
|
function Jo(n, t) {
|
|
5504
|
-
const e =
|
|
5504
|
+
const e = Ft.datasets[n] || {};
|
|
5505
5505
|
return ((t.datasets || {})[n] || {}).indexAxis || t.indexAxis || e.indexAxis || "x";
|
|
5506
5506
|
}
|
|
5507
5507
|
function ob(n, t) {
|
|
@@ -5555,7 +5555,7 @@ function db(n, t) {
|
|
|
5555
5555
|
return console.error(`Invalid scale configuration for scale: ${a}`);
|
|
5556
5556
|
if (o._proxy)
|
|
5557
5557
|
return console.warn(`Ignoring resolver passed as options for scale: ${a}`);
|
|
5558
|
-
const l = tl(a, o, ub(a, n),
|
|
5558
|
+
const l = tl(a, o, ub(a, n), Ft.scales[o.type]), c = lb(l, s), u = e.scales || {};
|
|
5559
5559
|
r[a] = As(/* @__PURE__ */ Object.create(null), [
|
|
5560
5560
|
{
|
|
5561
5561
|
axis: l
|
|
@@ -5579,8 +5579,8 @@ function db(n, t) {
|
|
|
5579
5579
|
}), Object.keys(r).forEach((a) => {
|
|
5580
5580
|
const o = r[a];
|
|
5581
5581
|
As(o, [
|
|
5582
|
-
|
|
5583
|
-
|
|
5582
|
+
Ft.scales[o.type],
|
|
5583
|
+
Ft.scale
|
|
5584
5584
|
]);
|
|
5585
5585
|
}), r;
|
|
5586
5586
|
}
|
|
@@ -5688,7 +5688,7 @@ class fb {
|
|
|
5688
5688
|
return o;
|
|
5689
5689
|
const l = /* @__PURE__ */ new Set();
|
|
5690
5690
|
e.forEach((u) => {
|
|
5691
|
-
t && (l.add(t), u.forEach((d) => ms(l, t, d))), u.forEach((d) => ms(l, s, d)), u.forEach((d) => ms(l, gi[r] || {}, d)), u.forEach((d) => ms(l,
|
|
5691
|
+
t && (l.add(t), u.forEach((d) => ms(l, t, d))), u.forEach((d) => ms(l, s, d)), u.forEach((d) => ms(l, gi[r] || {}, d)), u.forEach((d) => ms(l, Ft, d)), u.forEach((d) => ms(l, Go, d));
|
|
5692
5692
|
});
|
|
5693
5693
|
const c = Array.from(l);
|
|
5694
5694
|
return c.length === 0 && c.push(/* @__PURE__ */ Object.create(null)), Xh.has(e) && a.set(e, c), c;
|
|
@@ -5698,11 +5698,11 @@ class fb {
|
|
|
5698
5698
|
return [
|
|
5699
5699
|
t,
|
|
5700
5700
|
gi[e] || {},
|
|
5701
|
-
|
|
5701
|
+
Ft.datasets[e] || {},
|
|
5702
5702
|
{
|
|
5703
5703
|
type: e
|
|
5704
5704
|
},
|
|
5705
|
-
|
|
5705
|
+
Ft,
|
|
5706
5706
|
Go
|
|
5707
5707
|
];
|
|
5708
5708
|
}
|
|
@@ -5810,7 +5810,7 @@ function vb(n, t) {
|
|
|
5810
5810
|
} : t;
|
|
5811
5811
|
}
|
|
5812
5812
|
var zn;
|
|
5813
|
-
let
|
|
5813
|
+
let Ve = (zn = class {
|
|
5814
5814
|
static register(...t) {
|
|
5815
5815
|
on.add(...t), pu();
|
|
5816
5816
|
}
|
|
@@ -5850,7 +5850,7 @@ let Xe = (zn = class {
|
|
|
5850
5850
|
return on;
|
|
5851
5851
|
}
|
|
5852
5852
|
_initialize() {
|
|
5853
|
-
return this.notifyPlugins("beforeInit"), this.options.responsive ? this.resize() :
|
|
5853
|
+
return this.notifyPlugins("beforeInit"), this.options.responsive ? this.resize() : Fc(this, this.options.devicePixelRatio), this.bindEvents(), this.notifyPlugins("afterInit"), this;
|
|
5854
5854
|
}
|
|
5855
5855
|
clear() {
|
|
5856
5856
|
return Lc(this.canvas, this.ctx), this;
|
|
@@ -5866,7 +5866,7 @@ let Xe = (zn = class {
|
|
|
5866
5866
|
}
|
|
5867
5867
|
_resize(t, e) {
|
|
5868
5868
|
const i = this.options, s = this.canvas, r = i.maintainAspectRatio && this.aspectRatio, a = this.platform.getMaximumSize(s, t, e, r), o = i.devicePixelRatio || this.platform.getDevicePixelRatio(), l = this.width ? "resize" : "attach";
|
|
5869
|
-
this.width = a.width, this.height = a.height, this._aspectRatio = this.aspectRatio,
|
|
5869
|
+
this.width = a.width, this.height = a.height, this._aspectRatio = this.aspectRatio, Fc(this, o, !0) && (this.notifyPlugins("resize", {
|
|
5870
5870
|
size: a
|
|
5871
5871
|
}), Ot(i.onResize, [
|
|
5872
5872
|
this,
|
|
@@ -5936,7 +5936,7 @@ let Xe = (zn = class {
|
|
|
5936
5936
|
if (a.type && a.type !== o && (this._destroyDatasetMeta(i), a = this.getDatasetMeta(i)), a.type = o, a.indexAxis = r.indexAxis || Jo(o, this.options), a.order = r.order || 0, a.index = i, a.label = "" + r.label, a.visible = this.isDatasetVisible(i), a.controller)
|
|
5937
5937
|
a.controller.updateIndex(i), a.controller.linkScales();
|
|
5938
5938
|
else {
|
|
5939
|
-
const l = on.getController(o), { datasetElementType: c, dataElementType: u } =
|
|
5939
|
+
const l = on.getController(o), { datasetElementType: c, dataElementType: u } = Ft.datasets[o];
|
|
5940
5940
|
Object.assign(l, {
|
|
5941
5941
|
dataElementType: on.getElement(u),
|
|
5942
5942
|
datasetElementType: c && on.getElement(c)
|
|
@@ -6158,7 +6158,7 @@ let Xe = (zn = class {
|
|
|
6158
6158
|
}
|
|
6159
6159
|
_updateVisibility(t, e, i) {
|
|
6160
6160
|
const s = i ? "show" : "hide", r = this.getDatasetMeta(t), a = r.controller._resolveAnimations(void 0, s);
|
|
6161
|
-
|
|
6161
|
+
Ne(e) ? (r.data[e].hidden = !i, this.update()) : (this.setDatasetVisibility(t, i), a.update(r, {
|
|
6162
6162
|
visible: i
|
|
6163
6163
|
}), this.update((o) => o.datasetIndex === t ? s : void 0));
|
|
6164
6164
|
}
|
|
@@ -6289,14 +6289,14 @@ let Xe = (zn = class {
|
|
|
6289
6289
|
const r = this.options.hover;
|
|
6290
6290
|
return this.getElementsAtEventForMode(t, r.mode, r, s);
|
|
6291
6291
|
}
|
|
6292
|
-
}, C(zn, "defaults",
|
|
6292
|
+
}, C(zn, "defaults", Ft), C(zn, "instances", Kr), C(zn, "overrides", gi), C(zn, "registry", on), C(zn, "version", mb), C(zn, "getChart", gu), zn);
|
|
6293
6293
|
function pu() {
|
|
6294
|
-
return Pt(
|
|
6294
|
+
return Pt(Ve.instances, (n) => n._plugins.invalidate());
|
|
6295
6295
|
}
|
|
6296
6296
|
function wb(n, t, e) {
|
|
6297
6297
|
const { startAngle: i, pixelMargin: s, x: r, y: a, outerRadius: o, innerRadius: l } = t;
|
|
6298
6298
|
let c = s / o;
|
|
6299
|
-
n.beginPath(), n.arc(r, a, o, i - c, e + c), l > s ? (c = s / l, n.arc(r, a, l, e + c, i - c, !0)) : n.arc(r, a, s, e +
|
|
6299
|
+
n.beginPath(), n.arc(r, a, o, i - c, e + c), l > s ? (c = s / l, n.arc(r, a, l, e + c, i - c, !0)) : n.arc(r, a, s, e + Nt, i - Nt), n.closePath(), n.clip();
|
|
6300
6300
|
}
|
|
6301
6301
|
function Mb(n) {
|
|
6302
6302
|
return Hl(n, [
|
|
@@ -6332,27 +6332,27 @@ function ca(n, t, e, i, s, r) {
|
|
|
6332
6332
|
const X = u > 0 ? u - i : 0, K = d > 0 ? d - i : 0, z = (X + K) / 2, ht = z !== 0 ? g * z / (z + i) : g;
|
|
6333
6333
|
f = (g - ht) / 2;
|
|
6334
6334
|
}
|
|
6335
|
-
const y = Math.max(1e-3, g * d - e / mt) / d, x = (g - y) / 2, v = l + x + f, M = s - x - f, { outerStart: D, outerEnd: S, innerStart: k, innerEnd: E } = Sb(t, h, d, M - v), A = d - D, m = d - S, b = v + D / A, T = M - S / m, L = h + k, P = h + E, R = v + k / L,
|
|
6335
|
+
const y = Math.max(1e-3, g * d - e / mt) / d, x = (g - y) / 2, v = l + x + f, M = s - x - f, { outerStart: D, outerEnd: S, innerStart: k, innerEnd: E } = Sb(t, h, d, M - v), A = d - D, m = d - S, b = v + D / A, T = M - S / m, L = h + k, P = h + E, R = v + k / L, F = M - E / P;
|
|
6336
6336
|
if (n.beginPath(), r) {
|
|
6337
6337
|
const X = (b + T) / 2;
|
|
6338
6338
|
if (n.arc(a, o, d, b, X), n.arc(a, o, d, X, T), S > 0) {
|
|
6339
6339
|
const Y = Li(m, T, a, o);
|
|
6340
|
-
n.arc(Y.x, Y.y, S, T, M +
|
|
6340
|
+
n.arc(Y.x, Y.y, S, T, M + Nt);
|
|
6341
6341
|
}
|
|
6342
6342
|
const K = Li(P, M, a, o);
|
|
6343
6343
|
if (n.lineTo(K.x, K.y), E > 0) {
|
|
6344
|
-
const Y = Li(P,
|
|
6345
|
-
n.arc(Y.x, Y.y, E, M +
|
|
6344
|
+
const Y = Li(P, F, a, o);
|
|
6345
|
+
n.arc(Y.x, Y.y, E, M + Nt, F + Math.PI);
|
|
6346
6346
|
}
|
|
6347
6347
|
const z = (M - E / h + (v + k / h)) / 2;
|
|
6348
6348
|
if (n.arc(a, o, h, M - E / h, z, !0), n.arc(a, o, h, z, v + k / h, !0), k > 0) {
|
|
6349
6349
|
const Y = Li(L, R, a, o);
|
|
6350
|
-
n.arc(Y.x, Y.y, k, R + Math.PI, v -
|
|
6350
|
+
n.arc(Y.x, Y.y, k, R + Math.PI, v - Nt);
|
|
6351
6351
|
}
|
|
6352
6352
|
const ht = Li(A, v, a, o);
|
|
6353
6353
|
if (n.lineTo(ht.x, ht.y), D > 0) {
|
|
6354
6354
|
const Y = Li(A, b, a, o);
|
|
6355
|
-
n.arc(Y.x, Y.y, D, v -
|
|
6355
|
+
n.arc(Y.x, Y.y, D, v - Nt, b);
|
|
6356
6356
|
}
|
|
6357
6357
|
} else {
|
|
6358
6358
|
n.moveTo(a, o);
|
|
@@ -6553,7 +6553,7 @@ class jn extends ce {
|
|
|
6553
6553
|
return i && e[t[i - 1].end];
|
|
6554
6554
|
}
|
|
6555
6555
|
interpolate(t, e) {
|
|
6556
|
-
const i = this.options, s = t[e], r = this.points, a =
|
|
6556
|
+
const i = this.options, s = t[e], r = this.points, a = Fh(this, {
|
|
6557
6557
|
property: e,
|
|
6558
6558
|
start: s,
|
|
6559
6559
|
end: s
|
|
@@ -6701,7 +6701,7 @@ function Qh(n, t) {
|
|
|
6701
6701
|
function $n(n, t, e, i) {
|
|
6702
6702
|
return n ? 0 : le(t, e, i);
|
|
6703
6703
|
}
|
|
6704
|
-
function
|
|
6704
|
+
function Nb(n, t, e) {
|
|
6705
6705
|
const i = n.options.borderWidth, s = n.borderSkipped, r = kh(i);
|
|
6706
6706
|
return {
|
|
6707
6707
|
t: $n(s.top, r.top, 0, e),
|
|
@@ -6710,7 +6710,7 @@ function Fb(n, t, e) {
|
|
|
6710
6710
|
l: $n(s.left, r.left, 0, t)
|
|
6711
6711
|
};
|
|
6712
6712
|
}
|
|
6713
|
-
function
|
|
6713
|
+
function Fb(n, t, e) {
|
|
6714
6714
|
const { enableBorderRadius: i } = n.getProps([
|
|
6715
6715
|
"enableBorderRadius"
|
|
6716
6716
|
]), s = n.options.borderRadius, r = Vn(s), a = Math.min(t, e), o = n.borderSkipped, l = i || lt(s);
|
|
@@ -6722,7 +6722,7 @@ function Nb(n, t, e) {
|
|
|
6722
6722
|
};
|
|
6723
6723
|
}
|
|
6724
6724
|
function zb(n) {
|
|
6725
|
-
const t = Qh(n), e = t.right - t.left, i = t.bottom - t.top, s =
|
|
6725
|
+
const t = Qh(n), e = t.right - t.left, i = t.bottom - t.top, s = Nb(n, e / 2, i / 2), r = Fb(n, e / 2, i / 2);
|
|
6726
6726
|
return {
|
|
6727
6727
|
outer: {
|
|
6728
6728
|
x: t.left,
|
|
@@ -6858,7 +6858,7 @@ function qb(n) {
|
|
|
6858
6858
|
return n && (n.borderColor || n.backgroundColor);
|
|
6859
6859
|
}
|
|
6860
6860
|
function Vb() {
|
|
6861
|
-
return
|
|
6861
|
+
return Ft.borderColor !== "rgba(0,0,0,0.1)" || Ft.backgroundColor !== "rgba(0,0,0,0.1)";
|
|
6862
6862
|
}
|
|
6863
6863
|
var Xb = {
|
|
6864
6864
|
id: "colors",
|
|
@@ -7018,9 +7018,9 @@ function Jb(n, t, e) {
|
|
|
7018
7018
|
});
|
|
7019
7019
|
continue;
|
|
7020
7020
|
}
|
|
7021
|
-
const d =
|
|
7021
|
+
const d = Fh(t, u);
|
|
7022
7022
|
for (const h of d) {
|
|
7023
|
-
const f = il(e, r[h.start], r[h.end], h.loop), g =
|
|
7023
|
+
const f = il(e, r[h.start], r[h.end], h.loop), g = Nh(o, s, f);
|
|
7024
7024
|
for (const y of g)
|
|
7025
7025
|
a.push({
|
|
7026
7026
|
source: y,
|
|
@@ -7466,7 +7466,7 @@ class ku extends ce {
|
|
|
7466
7466
|
}
|
|
7467
7467
|
}
|
|
7468
7468
|
_draw() {
|
|
7469
|
-
const { options: t, columnSizes: e, lineWidths: i, ctx: s } = this, { align: r, labels: a } = t, o =
|
|
7469
|
+
const { options: t, columnSizes: e, lineWidths: i, ctx: s } = this, { align: r, labels: a } = t, o = Ft.color, l = Bi(t.rtl, this.left, this.width), c = Ht(a.font), { padding: u } = a, d = c.size, h = d / 2;
|
|
7470
7470
|
let f;
|
|
7471
7471
|
this.drawTitle(), s.textAlign = l.textAlign("left"), s.textBaseline = "middle", s.lineWidth = 0.5, s.font = c.string;
|
|
7472
7472
|
const { boxWidth: g, boxHeight: y, itemHeight: x } = Du(a, d), v = function(E, A, m) {
|
|
@@ -7518,8 +7518,8 @@ class ku extends ce {
|
|
|
7518
7518
|
if (v(R, P, E), L = Yp(b, L + g + h, D ? L + T : this.right, t.rtl), M(l.x(L), P, E), D)
|
|
7519
7519
|
f.x += T + u;
|
|
7520
7520
|
else if (typeof E.text != "string") {
|
|
7521
|
-
const
|
|
7522
|
-
f.y += rf(E,
|
|
7521
|
+
const F = c.lineHeight;
|
|
7522
|
+
f.y += rf(E, F) + u;
|
|
7523
7523
|
} else
|
|
7524
7524
|
f.y += k;
|
|
7525
7525
|
}), Lh(this.ctx, t.textDirection);
|
|
@@ -7537,7 +7537,7 @@ class ku extends ce {
|
|
|
7537
7537
|
u = c + ye(t.align, this.top, this.bottom - g - t.labels.padding - this._computeTitleHeight());
|
|
7538
7538
|
}
|
|
7539
7539
|
const f = ye(o, d, d + h);
|
|
7540
|
-
a.textAlign = r.textAlign(
|
|
7540
|
+
a.textAlign = r.textAlign(Fl(o)), a.textBaseline = "middle", a.strokeStyle = e.color, a.fillStyle = e.color, a.font = i.string, pi(a, e.text, f, u, i);
|
|
7541
7541
|
}
|
|
7542
7542
|
_computeTitleHeight() {
|
|
7543
7543
|
const t = this.options.title, e = Ht(t.font), i = te(t.padding);
|
|
@@ -7720,7 +7720,7 @@ class Xl extends ce {
|
|
|
7720
7720
|
color: e.color,
|
|
7721
7721
|
maxWidth: l,
|
|
7722
7722
|
rotation: c,
|
|
7723
|
-
textAlign:
|
|
7723
|
+
textAlign: Fl(e.align),
|
|
7724
7724
|
textBaseline: "middle",
|
|
7725
7725
|
translation: [
|
|
7726
7726
|
a,
|
|
@@ -8360,14 +8360,14 @@ var dn = {
|
|
|
8360
8360
|
Title: k0,
|
|
8361
8361
|
Tooltip: dn
|
|
8362
8362
|
});
|
|
8363
|
-
const
|
|
8363
|
+
const N0 = (n, t, e, i) => (typeof t == "string" ? (e = n.push(t) - 1, i.unshift({
|
|
8364
8364
|
index: e,
|
|
8365
8365
|
label: t
|
|
8366
8366
|
})) : isNaN(t) && (e = null), e);
|
|
8367
|
-
function
|
|
8367
|
+
function F0(n, t, e, i) {
|
|
8368
8368
|
const s = n.indexOf(t);
|
|
8369
8369
|
if (s === -1)
|
|
8370
|
-
return
|
|
8370
|
+
return N0(n, t, e, i);
|
|
8371
8371
|
const r = n.lastIndexOf(t);
|
|
8372
8372
|
return s !== r ? e : s;
|
|
8373
8373
|
}
|
|
@@ -8394,7 +8394,7 @@ class rl extends yi {
|
|
|
8394
8394
|
if (it(t))
|
|
8395
8395
|
return null;
|
|
8396
8396
|
const i = this.getLabels();
|
|
8397
|
-
return e = isFinite(e) && i[e] === t ? e :
|
|
8397
|
+
return e = isFinite(e) && i[e] === t ? e : F0(i, t, et(e, t), this._addedLabels), z0(e, i.length - 1);
|
|
8398
8398
|
}
|
|
8399
8399
|
determineDataLimits() {
|
|
8400
8400
|
const { minDefined: t, maxDefined: e } = this.getUserBounds();
|
|
@@ -8649,7 +8649,7 @@ function ll(n) {
|
|
|
8649
8649
|
const t = n.ticks;
|
|
8650
8650
|
if (t.display && n.display) {
|
|
8651
8651
|
const e = te(t.backdropPadding);
|
|
8652
|
-
return et(t.font && t.font.size,
|
|
8652
|
+
return et(t.font && t.font.size, Ft.font.size) + e.height;
|
|
8653
8653
|
}
|
|
8654
8654
|
return 0;
|
|
8655
8655
|
}
|
|
@@ -8661,7 +8661,7 @@ function Y0(n, t, e) {
|
|
|
8661
8661
|
h: e.length * t.lineHeight
|
|
8662
8662
|
};
|
|
8663
8663
|
}
|
|
8664
|
-
function
|
|
8664
|
+
function Nu(n, t, e, i, s) {
|
|
8665
8665
|
return n === i || n === s ? {
|
|
8666
8666
|
start: t - e / 2,
|
|
8667
8667
|
end: t + e / 2
|
|
@@ -8685,7 +8685,7 @@ function j0(n) {
|
|
|
8685
8685
|
s[l] = c.padding;
|
|
8686
8686
|
const u = n.getPointPosition(l, n.drawingArea + s[l], o), d = Ht(c.font), h = Y0(n.ctx, d, n._pointLabels[l]);
|
|
8687
8687
|
i[l] = h;
|
|
8688
|
-
const f = He(n.getIndexAngle(l) + o), g = Math.round(va(f)), y =
|
|
8688
|
+
const f = He(n.getIndexAngle(l) + o), g = Math.round(va(f)), y = Nu(g, u.x, h.w, 0, 180), x = Nu(g, u.y, h.h, 90, 270);
|
|
8689
8689
|
$0(e, t, f, y, x);
|
|
8690
8690
|
}
|
|
8691
8691
|
n.setCenterPoint(t.l - e.l, e.r - t.r, t.t - e.t, e.b - t.b), n._pointLabelItems = V0(n, i, s);
|
|
@@ -8696,7 +8696,7 @@ function $0(n, t, e, i, s) {
|
|
|
8696
8696
|
i.start < t.l ? (o = (t.l - i.start) / r, n.l = Math.min(n.l, t.l - o)) : i.end > t.r && (o = (i.end - t.r) / r, n.r = Math.max(n.r, t.r + o)), s.start < t.t ? (l = (t.t - s.start) / a, n.t = Math.min(n.t, t.t - l)) : s.end > t.b && (l = (s.end - t.b) / a, n.b = Math.max(n.b, t.b + l));
|
|
8697
8697
|
}
|
|
8698
8698
|
function U0(n, t, e) {
|
|
8699
|
-
const i = n.drawingArea, { extra: s, additionalAngle: r, padding: a, size: o } = e, l = n.getPointPosition(t, i + s + a, r), c = Math.round(va(He(l.angle +
|
|
8699
|
+
const i = n.drawingArea, { extra: s, additionalAngle: r, padding: a, size: o } = e, l = n.getPointPosition(t, i + s + a, r), c = Math.round(va(He(l.angle + Nt))), u = K0(l.y, o.h, c), d = X0(c), h = G0(l.x, o.w, d);
|
|
8700
8700
|
return {
|
|
8701
8701
|
visible: !0,
|
|
8702
8702
|
x: l.x,
|
|
@@ -8856,7 +8856,7 @@ class Ps extends ua {
|
|
|
8856
8856
|
}
|
|
8857
8857
|
}
|
|
8858
8858
|
getPointPosition(t, e, i = 0) {
|
|
8859
|
-
const s = this.getIndexAngle(t) -
|
|
8859
|
+
const s = this.getIndexAngle(t) - Nt + i;
|
|
8860
8860
|
return {
|
|
8861
8861
|
x: Math.cos(s) * e + this.xCenter,
|
|
8862
8862
|
y: Math.sin(s) * e + this.yCenter,
|
|
@@ -9015,7 +9015,7 @@ const Sa = {
|
|
|
9015
9015
|
size: 3154e7
|
|
9016
9016
|
}
|
|
9017
9017
|
}, Ae = /* @__PURE__ */ Object.keys(Sa);
|
|
9018
|
-
function
|
|
9018
|
+
function Fu(n, t) {
|
|
9019
9019
|
return n - t;
|
|
9020
9020
|
}
|
|
9021
9021
|
function zu(n, t) {
|
|
@@ -9051,7 +9051,7 @@ function Wu(n, t, e) {
|
|
|
9051
9051
|
if (!e)
|
|
9052
9052
|
n[t] = !0;
|
|
9053
9053
|
else if (e.length) {
|
|
9054
|
-
const { lo: i, hi: s } =
|
|
9054
|
+
const { lo: i, hi: s } = Nl(e, t), r = e[i] >= t ? e[i] : e[s];
|
|
9055
9055
|
n[r] = !0;
|
|
9056
9056
|
}
|
|
9057
9057
|
}
|
|
@@ -9141,7 +9141,7 @@ class Vs extends yi {
|
|
|
9141
9141
|
const g = s.ticks.source === "data" && this.getDataTimestamps();
|
|
9142
9142
|
for (h = d, f = 0; h < i; h = +t.add(h, o, a), f++)
|
|
9143
9143
|
Wu(u, h, g);
|
|
9144
|
-
return (h === i || s.bounds === "ticks" || f === 1) && Wu(u, h, g), Object.keys(u).sort(
|
|
9144
|
+
return (h === i || s.bounds === "ticks" || f === 1) && Wu(u, h, g), Object.keys(u).sort(Fu).map((y) => +y);
|
|
9145
9145
|
}
|
|
9146
9146
|
getLabelForValue(t) {
|
|
9147
9147
|
const e = this._adapter, i = this.options.time;
|
|
@@ -9213,7 +9213,7 @@ class Vs extends yi {
|
|
|
9213
9213
|
return this._cache.labels = this._normalized ? t : this.normalize(t);
|
|
9214
9214
|
}
|
|
9215
9215
|
normalize(t) {
|
|
9216
|
-
return _h(t.sort(
|
|
9216
|
+
return _h(t.sort(Fu));
|
|
9217
9217
|
}
|
|
9218
9218
|
}
|
|
9219
9219
|
C(Vs, "id", "time"), C(Vs, "defaults", {
|
|
@@ -9621,11 +9621,11 @@ function I_(n, t) {
|
|
|
9621
9621
|
const e = rt(n, t == null ? void 0 : t.in);
|
|
9622
9622
|
return e.setSeconds(59, 999), e;
|
|
9623
9623
|
}
|
|
9624
|
-
function
|
|
9624
|
+
function N_(n, t) {
|
|
9625
9625
|
const e = rt(n, t == null ? void 0 : t.in), i = e.getMonth(), s = i - i % 3 + 3;
|
|
9626
9626
|
return e.setMonth(s, 0), e.setHours(23, 59, 59, 999), e;
|
|
9627
9627
|
}
|
|
9628
|
-
function
|
|
9628
|
+
function F_(n, t) {
|
|
9629
9629
|
const e = rt(n, t == null ? void 0 : t.in);
|
|
9630
9630
|
return e.setMilliseconds(999), e;
|
|
9631
9631
|
}
|
|
@@ -10090,7 +10090,7 @@ function Tt(n, t) {
|
|
|
10090
10090
|
const e = n < 0 ? "-" : "", i = Math.abs(n).toString().padStart(t, "0");
|
|
10091
10091
|
return e + i;
|
|
10092
10092
|
}
|
|
10093
|
-
const
|
|
10093
|
+
const Nn = {
|
|
10094
10094
|
// Year
|
|
10095
10095
|
y(n, t) {
|
|
10096
10096
|
const e = n.getFullYear(), i = e > 0 ? e : 1 - e;
|
|
@@ -10175,7 +10175,7 @@ const Fn = {
|
|
|
10175
10175
|
const i = n.getFullYear(), s = i > 0 ? i : 1 - i;
|
|
10176
10176
|
return e.ordinalNumber(s, { unit: "year" });
|
|
10177
10177
|
}
|
|
10178
|
-
return
|
|
10178
|
+
return Nn.y(n, t);
|
|
10179
10179
|
},
|
|
10180
10180
|
// Local week-numbering year
|
|
10181
10181
|
Y: function(n, t, e, i) {
|
|
@@ -10266,7 +10266,7 @@ const Fn = {
|
|
|
10266
10266
|
switch (t) {
|
|
10267
10267
|
case "M":
|
|
10268
10268
|
case "MM":
|
|
10269
|
-
return
|
|
10269
|
+
return Nn.M(n, t);
|
|
10270
10270
|
case "Mo":
|
|
10271
10271
|
return e.ordinalNumber(i + 1, { unit: "month" });
|
|
10272
10272
|
case "MMM":
|
|
@@ -10321,7 +10321,7 @@ const Fn = {
|
|
|
10321
10321
|
},
|
|
10322
10322
|
// Day of the month
|
|
10323
10323
|
d: function(n, t, e) {
|
|
10324
|
-
return t === "do" ? e.ordinalNumber(n.getDate(), { unit: "date" }) :
|
|
10324
|
+
return t === "do" ? e.ordinalNumber(n.getDate(), { unit: "date" }) : Nn.d(n, t);
|
|
10325
10325
|
},
|
|
10326
10326
|
// Day of year
|
|
10327
10327
|
D: function(n, t, e) {
|
|
@@ -10544,11 +10544,11 @@ const Fn = {
|
|
|
10544
10544
|
let i = n.getHours() % 12;
|
|
10545
10545
|
return i === 0 && (i = 12), e.ordinalNumber(i, { unit: "hour" });
|
|
10546
10546
|
}
|
|
10547
|
-
return
|
|
10547
|
+
return Nn.h(n, t);
|
|
10548
10548
|
},
|
|
10549
10549
|
// Hour [0-23]
|
|
10550
10550
|
H: function(n, t, e) {
|
|
10551
|
-
return t === "Ho" ? e.ordinalNumber(n.getHours(), { unit: "hour" }) :
|
|
10551
|
+
return t === "Ho" ? e.ordinalNumber(n.getHours(), { unit: "hour" }) : Nn.H(n, t);
|
|
10552
10552
|
},
|
|
10553
10553
|
// Hour [0-11]
|
|
10554
10554
|
K: function(n, t, e) {
|
|
@@ -10562,15 +10562,15 @@ const Fn = {
|
|
|
10562
10562
|
},
|
|
10563
10563
|
// Minute
|
|
10564
10564
|
m: function(n, t, e) {
|
|
10565
|
-
return t === "mo" ? e.ordinalNumber(n.getMinutes(), { unit: "minute" }) :
|
|
10565
|
+
return t === "mo" ? e.ordinalNumber(n.getMinutes(), { unit: "minute" }) : Nn.m(n, t);
|
|
10566
10566
|
},
|
|
10567
10567
|
// Second
|
|
10568
10568
|
s: function(n, t, e) {
|
|
10569
|
-
return t === "so" ? e.ordinalNumber(n.getSeconds(), { unit: "second" }) :
|
|
10569
|
+
return t === "so" ? e.ordinalNumber(n.getSeconds(), { unit: "second" }) : Nn.s(n, t);
|
|
10570
10570
|
},
|
|
10571
10571
|
// Fraction of second
|
|
10572
10572
|
S: function(n, t) {
|
|
10573
|
-
return
|
|
10573
|
+
return Nn.S(n, t);
|
|
10574
10574
|
},
|
|
10575
10575
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
10576
10576
|
X: function(n, t, e) {
|
|
@@ -10986,7 +10986,7 @@ function kf(n, t) {
|
|
|
10986
10986
|
function Tf(n) {
|
|
10987
10987
|
return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
|
|
10988
10988
|
}
|
|
10989
|
-
class
|
|
10989
|
+
class Nx extends St {
|
|
10990
10990
|
constructor() {
|
|
10991
10991
|
super(...arguments);
|
|
10992
10992
|
C(this, "priority", 130);
|
|
@@ -11027,7 +11027,7 @@ class Fx extends St {
|
|
|
11027
11027
|
return e.setFullYear(a, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
11028
11028
|
}
|
|
11029
11029
|
}
|
|
11030
|
-
class
|
|
11030
|
+
class Fx extends St {
|
|
11031
11031
|
constructor() {
|
|
11032
11032
|
super(...arguments);
|
|
11033
11033
|
C(this, "priority", 130);
|
|
@@ -12199,8 +12199,8 @@ class mv extends St {
|
|
|
12199
12199
|
}
|
|
12200
12200
|
const yv = {
|
|
12201
12201
|
G: new Ix(),
|
|
12202
|
-
y: new
|
|
12203
|
-
Y: new
|
|
12202
|
+
y: new Nx(),
|
|
12203
|
+
Y: new Fx(),
|
|
12204
12204
|
R: new zx(),
|
|
12205
12205
|
u: new Hx(),
|
|
12206
12206
|
Q: new Wx(),
|
|
@@ -12254,7 +12254,7 @@ function Sv(n, t, e, i) {
|
|
|
12254
12254
|
const { incompatibleTokens: L } = T;
|
|
12255
12255
|
if (Array.isArray(L)) {
|
|
12256
12256
|
const R = h.find(
|
|
12257
|
-
(
|
|
12257
|
+
(F) => L.includes(F.token) || F.token === b
|
|
12258
12258
|
);
|
|
12259
12259
|
if (R)
|
|
12260
12260
|
throw new RangeError(
|
|
@@ -12330,10 +12330,10 @@ function Cf(n, t) {
|
|
|
12330
12330
|
if (!r || isNaN(+r)) return e();
|
|
12331
12331
|
const a = +r;
|
|
12332
12332
|
let o = 0, l;
|
|
12333
|
-
if (s.time && (o =
|
|
12333
|
+
if (s.time && (o = Nv(s.time), isNaN(o)))
|
|
12334
12334
|
return e();
|
|
12335
12335
|
if (s.timezone) {
|
|
12336
|
-
if (l =
|
|
12336
|
+
if (l = Fv(s.timezone), isNaN(l)) return e();
|
|
12337
12337
|
} else {
|
|
12338
12338
|
const c = new Date(a + o), u = rt(0, t == null ? void 0 : t.in);
|
|
12339
12339
|
return u.setFullYear(
|
|
@@ -12394,7 +12394,7 @@ function Iv(n, t) {
|
|
|
12394
12394
|
function _s(n) {
|
|
12395
12395
|
return n ? parseInt(n) : 1;
|
|
12396
12396
|
}
|
|
12397
|
-
function
|
|
12397
|
+
function Nv(n) {
|
|
12398
12398
|
const t = n.match(Ev);
|
|
12399
12399
|
if (!t) return NaN;
|
|
12400
12400
|
const e = Co(t[1]), i = Co(t[2]), s = Co(t[3]);
|
|
@@ -12403,7 +12403,7 @@ function Fv(n) {
|
|
|
12403
12403
|
function Co(n) {
|
|
12404
12404
|
return n && parseFloat(n.replace(",", ".")) || 0;
|
|
12405
12405
|
}
|
|
12406
|
-
function
|
|
12406
|
+
function Fv(n) {
|
|
12407
12407
|
if (n === "Z") return 0;
|
|
12408
12408
|
const t = n.match(Av);
|
|
12409
12409
|
if (!t) return 0;
|
|
@@ -12526,21 +12526,21 @@ const fl = new Intl.NumberFormat(((ch = document == null ? void 0 : document.doc
|
|
|
12526
12526
|
300: { background: "#fff1d5", text: "#a06027" },
|
|
12527
12527
|
400: { background: "#fee3b6", text: "#944d19" },
|
|
12528
12528
|
500: { background: "#fedada", text: "#852021" }
|
|
12529
|
-
},
|
|
12529
|
+
}, oC = (n) => {
|
|
12530
12530
|
var e;
|
|
12531
12531
|
const t = Math.floor(parseInt(n, 10) / 100) * 100;
|
|
12532
12532
|
return ((e = nw[t]) == null ? void 0 : e.background) || "#fafafa";
|
|
12533
|
-
},
|
|
12533
|
+
}, lC = {
|
|
12534
12534
|
SUCCESS: "#6FCC83",
|
|
12535
12535
|
FAILURE: "#FF8484"
|
|
12536
|
-
},
|
|
12536
|
+
}, cC = {
|
|
12537
12537
|
"4XX": "#FFBA81",
|
|
12538
12538
|
"5XX": "#FF8484"
|
|
12539
|
-
},
|
|
12539
|
+
}, uC = {
|
|
12540
12540
|
LatencyP99: "#1356cb",
|
|
12541
12541
|
LatencyP95: "#1fbecd",
|
|
12542
12542
|
LatencyP50: "#1df97d"
|
|
12543
|
-
},
|
|
12543
|
+
}, dC = "#dad4c7", iw = "#afb7c5", hC = (n) => {
|
|
12544
12544
|
const t = Object.entries(Gu).find(([e]) => new RegExp(e).test(n));
|
|
12545
12545
|
return t && t[1] || Gu.standard;
|
|
12546
12546
|
}, Af = (n, t, e, i) => {
|
|
@@ -12615,7 +12615,7 @@ const fl = new Intl.NumberFormat(((ch = document == null ? void 0 : document.doc
|
|
|
12615
12615
|
]), Rf = (n) => {
|
|
12616
12616
|
const t = parseInt(n, 10), e = Math.floor(t / 100) * 100, i = uw.get(e);
|
|
12617
12617
|
return i === void 0 ? Ju : i.get(t) ?? i.get(-1) ?? Ju;
|
|
12618
|
-
},
|
|
12618
|
+
}, fC = (n) => {
|
|
12619
12619
|
const t = Rf(n);
|
|
12620
12620
|
return { solid: t, light: t };
|
|
12621
12621
|
}, dw = Array.from({ length: 500 }, (n, t) => 100 + t), Eo = {
|
|
@@ -12974,7 +12974,7 @@ function Aw(n, t) {
|
|
|
12974
12974
|
if (r = ve.DDD.exec(n), r) {
|
|
12975
12975
|
e = /* @__PURE__ */ new Date(0);
|
|
12976
12976
|
const a = parseInt(r[1], 10);
|
|
12977
|
-
return
|
|
12977
|
+
return Nw(t, a) ? (e.setUTCFullYear(t, 0, a), e) : /* @__PURE__ */ new Date(NaN);
|
|
12978
12978
|
}
|
|
12979
12979
|
if (r = ve.MMDD.exec(n), r) {
|
|
12980
12980
|
e = /* @__PURE__ */ new Date(0), i = parseInt(r[1], 10) - 1;
|
|
@@ -12993,13 +12993,13 @@ function Aw(n, t) {
|
|
|
12993
12993
|
function Rw(n) {
|
|
12994
12994
|
let t, e, i = ve.HH.exec(n);
|
|
12995
12995
|
if (i)
|
|
12996
|
-
return t = parseFloat(i[1].replace(",", ".")),
|
|
12996
|
+
return t = parseFloat(i[1].replace(",", ".")), No(t) ? t % 24 * Io : NaN;
|
|
12997
12997
|
if (i = ve.HHMM.exec(n), i)
|
|
12998
|
-
return t = parseInt(i[1], 10), e = parseFloat(i[2].replace(",", ".")),
|
|
12998
|
+
return t = parseInt(i[1], 10), e = parseFloat(i[2].replace(",", ".")), No(t, e) ? t % 24 * Io + e * od : NaN;
|
|
12999
12999
|
if (i = ve.HHMMSS.exec(n), i) {
|
|
13000
13000
|
t = parseInt(i[1], 10), e = parseInt(i[2], 10);
|
|
13001
13001
|
const s = parseFloat(i[3].replace(",", "."));
|
|
13002
|
-
return
|
|
13002
|
+
return No(t, e, s) ? t % 24 * Io + e * od + s * 1e3 : NaN;
|
|
13003
13003
|
}
|
|
13004
13004
|
return null;
|
|
13005
13005
|
}
|
|
@@ -13011,7 +13011,7 @@ function ld(n, t, e) {
|
|
|
13011
13011
|
return i.setUTCDate(i.getUTCDate() + r), i;
|
|
13012
13012
|
}
|
|
13013
13013
|
const Lw = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Iw = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
13014
|
-
function
|
|
13014
|
+
function Nf(n) {
|
|
13015
13015
|
return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
|
|
13016
13016
|
}
|
|
13017
13017
|
function cd(n, t, e) {
|
|
@@ -13020,28 +13020,28 @@ function cd(n, t, e) {
|
|
|
13020
13020
|
if (e != null) {
|
|
13021
13021
|
if (e < 1)
|
|
13022
13022
|
return !1;
|
|
13023
|
-
const i =
|
|
13023
|
+
const i = Nf(n);
|
|
13024
13024
|
if (i && e > Iw[t] || !i && e > Lw[t])
|
|
13025
13025
|
return !1;
|
|
13026
13026
|
}
|
|
13027
13027
|
return !0;
|
|
13028
13028
|
}
|
|
13029
|
-
function
|
|
13029
|
+
function Nw(n, t) {
|
|
13030
13030
|
if (t < 1)
|
|
13031
13031
|
return !1;
|
|
13032
|
-
const e =
|
|
13032
|
+
const e = Nf(n);
|
|
13033
13033
|
return !(e && t > 366 || !e && t > 365);
|
|
13034
13034
|
}
|
|
13035
13035
|
function ud(n, t) {
|
|
13036
13036
|
return !(n < 0 || n > 52 || t != null && (t < 0 || t > 6));
|
|
13037
13037
|
}
|
|
13038
|
-
function
|
|
13038
|
+
function No(n, t, e) {
|
|
13039
13039
|
return !(n < 0 || n >= 25 || t != null && (t < 0 || t >= 60) || e != null && (e < 0 || e >= 60));
|
|
13040
13040
|
}
|
|
13041
|
-
const
|
|
13041
|
+
const Fw = /([xXOz]+)|''|'(''|[^'])+('|$)/g;
|
|
13042
13042
|
function yl(n, t, e = {}) {
|
|
13043
13043
|
t = String(t);
|
|
13044
|
-
const i = t.match(
|
|
13044
|
+
const i = t.match(Fw);
|
|
13045
13045
|
if (i) {
|
|
13046
13046
|
const s = If(e.originalDate || n, e);
|
|
13047
13047
|
t = i.reduce(function(r, a) {
|
|
@@ -13065,7 +13065,7 @@ function oi(n, t, e, i) {
|
|
|
13065
13065
|
originalDate: n
|
|
13066
13066
|
}, yl(zw(n, t, { timeZone: i.timeZone }), e, i);
|
|
13067
13067
|
}
|
|
13068
|
-
const Hw = Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
13068
|
+
const Hw = Intl.DateTimeFormat().resolvedOptions().timeZone, Ff = (n, t, e, i = Hw) => ["secondly", "tenSecondly", "thirtySecondly"].includes(t) ? oi(n, i, e ? "yyyy-MM-dd h:mm:ss a" : "h:mm:ss a") : ["minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly", "twoHourly"].includes(t) ? oi(n, i, e ? "yyyy-MM-dd h:mm a" : "h:mm a") : t === "twelveHourly" ? oi(n, i, "yyyy-MM-dd h:mm a") : t === "daily" ? oi(n, i, "yyyy-MM-dd") : t === "weekly" ? `${oi(n, i, "yyyy")} W${oi(n, i, "II")}` : oi(n, i, "yyyy-MM-dd h:mm:ss a");
|
|
13069
13069
|
function Ww(n) {
|
|
13070
13070
|
const e = `barChartTooltipPosition-${n.tooltipState.chartID}`, i = {
|
|
13071
13071
|
enabled: !1,
|
|
@@ -13183,7 +13183,7 @@ function Ww(n) {
|
|
|
13183
13183
|
dn.positioners[e] && delete dn.positioners[e];
|
|
13184
13184
|
}), o;
|
|
13185
13185
|
}
|
|
13186
|
-
|
|
13186
|
+
Ve.register(...r_);
|
|
13187
13187
|
const Bw = (n, t) => {
|
|
13188
13188
|
const e = t.datasets.map((s) => s.label), i = n.datasets.map((s) => s.label);
|
|
13189
13189
|
return n.datasets.length === t.datasets.length && e.every((s, r) => s === i[r]);
|
|
@@ -13191,7 +13191,7 @@ const Bw = (n, t) => {
|
|
|
13191
13191
|
function Yw(n, t, e, i, s) {
|
|
13192
13192
|
const r = kl(null), a = (o, l) => {
|
|
13193
13193
|
if (t.value)
|
|
13194
|
-
return new
|
|
13194
|
+
return new Ve(t.value, {
|
|
13195
13195
|
type: n,
|
|
13196
13196
|
data: o,
|
|
13197
13197
|
plugins: i,
|
|
@@ -13382,20 +13382,20 @@ const t1 = [
|
|
|
13382
13382
|
ir(t1);
|
|
13383
13383
|
new Set(Xw), new Set(Kw), new Set(Qw);
|
|
13384
13384
|
const Wf = 6048e5, e1 = 864e5, n1 = 60, i1 = 3600, dd = Symbol.for("constructDateFrom");
|
|
13385
|
-
function
|
|
13385
|
+
function Xe(n, t) {
|
|
13386
13386
|
return typeof n == "function" ? n(t) : n && typeof n == "object" && dd in n ? n[dd](t) : n instanceof Date ? new n.constructor(t) : new Date(t);
|
|
13387
13387
|
}
|
|
13388
13388
|
function Me(n, t) {
|
|
13389
|
-
return
|
|
13389
|
+
return Xe(t || n, n);
|
|
13390
13390
|
}
|
|
13391
13391
|
function hd(n, t, e) {
|
|
13392
13392
|
const i = Me(n, void 0);
|
|
13393
|
-
return isNaN(t) ?
|
|
13393
|
+
return isNaN(t) ? Xe(n, NaN) : (i.setDate(i.getDate() + t), i);
|
|
13394
13394
|
}
|
|
13395
13395
|
function s1(n, t, e) {
|
|
13396
13396
|
const i = Me(n, void 0);
|
|
13397
|
-
if (isNaN(t)) return
|
|
13398
|
-
const s = i.getDate(), r =
|
|
13397
|
+
if (isNaN(t)) return Xe(n, NaN);
|
|
13398
|
+
const s = i.getDate(), r = Xe(n, i.getTime());
|
|
13399
13399
|
r.setMonth(i.getMonth() + t + 1, 0);
|
|
13400
13400
|
const a = r.getDate();
|
|
13401
13401
|
return s >= a ? r : (i.setFullYear(
|
|
@@ -13417,9 +13417,9 @@ function ga(n, t) {
|
|
|
13417
13417
|
return kn(n, { ...t, weekStartsOn: 1 });
|
|
13418
13418
|
}
|
|
13419
13419
|
function Bf(n, t) {
|
|
13420
|
-
const e = Me(n, void 0), i = e.getFullYear(), s =
|
|
13420
|
+
const e = Me(n, void 0), i = e.getFullYear(), s = Xe(e, 0);
|
|
13421
13421
|
s.setFullYear(i + 1, 0, 4), s.setHours(0, 0, 0, 0);
|
|
13422
|
-
const r = ga(s), a =
|
|
13422
|
+
const r = ga(s), a = Xe(e, 0);
|
|
13423
13423
|
a.setFullYear(i, 0, 4), a.setHours(0, 0, 0, 0);
|
|
13424
13424
|
const o = ga(a);
|
|
13425
13425
|
return e.getTime() >= r.getTime() ? i + 1 : e.getTime() >= o.getTime() ? i : i - 1;
|
|
@@ -13439,7 +13439,7 @@ function fd(n) {
|
|
|
13439
13439
|
return e.setUTCFullYear(t.getFullYear()), +n - +e;
|
|
13440
13440
|
}
|
|
13441
13441
|
function a1(n, ...t) {
|
|
13442
|
-
const e =
|
|
13442
|
+
const e = Xe.bind(
|
|
13443
13443
|
null,
|
|
13444
13444
|
t.find((i) => typeof i == "object")
|
|
13445
13445
|
);
|
|
@@ -13458,7 +13458,7 @@ function o1(n, t, e) {
|
|
|
13458
13458
|
return Math.round((o - l) / e1);
|
|
13459
13459
|
}
|
|
13460
13460
|
function l1(n, t) {
|
|
13461
|
-
const e = Bf(n), i =
|
|
13461
|
+
const e = Bf(n), i = Xe(n, 0);
|
|
13462
13462
|
return i.setFullYear(e, 0, 4), i.setHours(0, 0, 0, 0), ga(i);
|
|
13463
13463
|
}
|
|
13464
13464
|
function c1(n) {
|
|
@@ -13542,7 +13542,7 @@ const h1 = {
|
|
|
13542
13542
|
const s = h1[n];
|
|
13543
13543
|
return typeof s == "string" ? i = s : t === 1 ? i = s.one : i = s.other.replace("{{count}}", t.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "in " + i : i + " ago" : i;
|
|
13544
13544
|
};
|
|
13545
|
-
function
|
|
13545
|
+
function Fo(n) {
|
|
13546
13546
|
return (t = {}) => {
|
|
13547
13547
|
const e = t.width ? String(t.width) : n.defaultWidth;
|
|
13548
13548
|
return n.formats[e] || n.formats[n.defaultWidth];
|
|
@@ -13564,15 +13564,15 @@ const g1 = {
|
|
|
13564
13564
|
medium: "{{date}}, {{time}}",
|
|
13565
13565
|
short: "{{date}}, {{time}}"
|
|
13566
13566
|
}, y1 = {
|
|
13567
|
-
date:
|
|
13567
|
+
date: Fo({
|
|
13568
13568
|
formats: g1,
|
|
13569
13569
|
defaultWidth: "full"
|
|
13570
13570
|
}),
|
|
13571
|
-
time:
|
|
13571
|
+
time: Fo({
|
|
13572
13572
|
formats: p1,
|
|
13573
13573
|
defaultWidth: "full"
|
|
13574
13574
|
}),
|
|
13575
|
-
dateTime:
|
|
13575
|
+
dateTime: Fo({
|
|
13576
13576
|
formats: m1,
|
|
13577
13577
|
defaultWidth: "full"
|
|
13578
13578
|
})
|
|
@@ -13800,9 +13800,9 @@ const E1 = /^(\d+)(th|st|nd|rd)?/i, A1 = /\d+/i, R1 = {
|
|
|
13800
13800
|
narrow: /^[1234]/i,
|
|
13801
13801
|
abbreviated: /^q[1234]/i,
|
|
13802
13802
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
13803
|
-
}, F1 = {
|
|
13804
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
13805
13803
|
}, N1 = {
|
|
13804
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
13805
|
+
}, F1 = {
|
|
13806
13806
|
narrow: /^[jfmasond]/i,
|
|
13807
13807
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
13808
13808
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
@@ -13872,12 +13872,12 @@ const E1 = /^(\d+)(th|st|nd|rd)?/i, A1 = /\d+/i, R1 = {
|
|
|
13872
13872
|
quarter: ws({
|
|
13873
13873
|
matchPatterns: I1,
|
|
13874
13874
|
defaultMatchWidth: "wide",
|
|
13875
|
-
parsePatterns:
|
|
13875
|
+
parsePatterns: N1,
|
|
13876
13876
|
defaultParseWidth: "any",
|
|
13877
13877
|
valueCallback: (n) => n + 1
|
|
13878
13878
|
}),
|
|
13879
13879
|
month: ws({
|
|
13880
|
-
matchPatterns:
|
|
13880
|
+
matchPatterns: F1,
|
|
13881
13881
|
defaultMatchWidth: "wide",
|
|
13882
13882
|
parsePatterns: z1,
|
|
13883
13883
|
defaultParseWidth: "any"
|
|
@@ -13916,16 +13916,16 @@ function q1(n, t) {
|
|
|
13916
13916
|
}
|
|
13917
13917
|
function Yf(n, t) {
|
|
13918
13918
|
var e, i, s, r;
|
|
13919
|
-
const a = Me(n, t == null ? void 0 : t.in), o = a.getFullYear(), l = sr(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((r = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, u =
|
|
13919
|
+
const a = Me(n, t == null ? void 0 : t.in), o = a.getFullYear(), l = sr(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((r = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, u = Xe((t == null ? void 0 : t.in) || n, 0);
|
|
13920
13920
|
u.setFullYear(o + 1, 0, c), u.setHours(0, 0, 0, 0);
|
|
13921
|
-
const d = kn(u, t), h =
|
|
13921
|
+
const d = kn(u, t), h = Xe((t == null ? void 0 : t.in) || n, 0);
|
|
13922
13922
|
h.setFullYear(o, 0, c), h.setHours(0, 0, 0, 0);
|
|
13923
13923
|
const f = kn(h, t);
|
|
13924
13924
|
return +a >= +d ? o + 1 : +a >= +f ? o : o - 1;
|
|
13925
13925
|
}
|
|
13926
13926
|
function V1(n, t) {
|
|
13927
13927
|
var e, i, s, r;
|
|
13928
|
-
const a = sr(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((r = (s = a.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, l = Yf(n, t), c =
|
|
13928
|
+
const a = sr(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((r = (s = a.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, l = Yf(n, t), c = Xe((t == null ? void 0 : t.in) || n, 0);
|
|
13929
13929
|
return c.setFullYear(l, 0, o), c.setHours(0, 0, 0, 0), kn(c, t);
|
|
13930
13930
|
}
|
|
13931
13931
|
function X1(n, t) {
|
|
@@ -13936,7 +13936,7 @@ function Ct(n, t) {
|
|
|
13936
13936
|
const e = n < 0 ? "-" : "", i = Math.abs(n).toString().padStart(t, "0");
|
|
13937
13937
|
return e + i;
|
|
13938
13938
|
}
|
|
13939
|
-
const
|
|
13939
|
+
const Fn = {
|
|
13940
13940
|
// Year
|
|
13941
13941
|
y(n, t) {
|
|
13942
13942
|
const e = n.getFullYear(), i = e > 0 ? e : 1 - e;
|
|
@@ -13990,7 +13990,7 @@ const Nn = {
|
|
|
13990
13990
|
);
|
|
13991
13991
|
return Ct(s, t.length);
|
|
13992
13992
|
}
|
|
13993
|
-
},
|
|
13993
|
+
}, Ni = {
|
|
13994
13994
|
am: "am",
|
|
13995
13995
|
pm: "pm",
|
|
13996
13996
|
midnight: "midnight",
|
|
@@ -14021,7 +14021,7 @@ const Nn = {
|
|
|
14021
14021
|
const i = n.getFullYear(), s = i > 0 ? i : 1 - i;
|
|
14022
14022
|
return e.ordinalNumber(s, { unit: "year" });
|
|
14023
14023
|
}
|
|
14024
|
-
return
|
|
14024
|
+
return Fn.y(n, t);
|
|
14025
14025
|
},
|
|
14026
14026
|
// Local week-numbering year
|
|
14027
14027
|
Y: function(n, t, e, i) {
|
|
@@ -14112,7 +14112,7 @@ const Nn = {
|
|
|
14112
14112
|
switch (t) {
|
|
14113
14113
|
case "M":
|
|
14114
14114
|
case "MM":
|
|
14115
|
-
return
|
|
14115
|
+
return Fn.M(n, t);
|
|
14116
14116
|
case "Mo":
|
|
14117
14117
|
return e.ordinalNumber(i + 1, { unit: "month" });
|
|
14118
14118
|
case "MMM":
|
|
@@ -14167,7 +14167,7 @@ const Nn = {
|
|
|
14167
14167
|
},
|
|
14168
14168
|
// Day of the month
|
|
14169
14169
|
d: function(n, t, e) {
|
|
14170
|
-
return t === "do" ? e.ordinalNumber(n.getDate(), { unit: "date" }) :
|
|
14170
|
+
return t === "do" ? e.ordinalNumber(n.getDate(), { unit: "date" }) : Fn.d(n, t);
|
|
14171
14171
|
},
|
|
14172
14172
|
// Day of year
|
|
14173
14173
|
D: function(n, t, e) {
|
|
@@ -14334,7 +14334,7 @@ const Nn = {
|
|
|
14334
14334
|
b: function(n, t, e) {
|
|
14335
14335
|
const i = n.getHours();
|
|
14336
14336
|
let s;
|
|
14337
|
-
switch (i === 12 ? s =
|
|
14337
|
+
switch (i === 12 ? s = Ni.noon : i === 0 ? s = Ni.midnight : s = i / 12 >= 1 ? "pm" : "am", t) {
|
|
14338
14338
|
case "b":
|
|
14339
14339
|
case "bb":
|
|
14340
14340
|
return e.dayPeriod(s, {
|
|
@@ -14363,7 +14363,7 @@ const Nn = {
|
|
|
14363
14363
|
B: function(n, t, e) {
|
|
14364
14364
|
const i = n.getHours();
|
|
14365
14365
|
let s;
|
|
14366
|
-
switch (i >= 17 ? s =
|
|
14366
|
+
switch (i >= 17 ? s = Ni.evening : i >= 12 ? s = Ni.afternoon : i >= 4 ? s = Ni.morning : s = Ni.night, t) {
|
|
14367
14367
|
case "B":
|
|
14368
14368
|
case "BB":
|
|
14369
14369
|
case "BBB":
|
|
@@ -14390,11 +14390,11 @@ const Nn = {
|
|
|
14390
14390
|
let i = n.getHours() % 12;
|
|
14391
14391
|
return i === 0 && (i = 12), e.ordinalNumber(i, { unit: "hour" });
|
|
14392
14392
|
}
|
|
14393
|
-
return
|
|
14393
|
+
return Fn.h(n, t);
|
|
14394
14394
|
},
|
|
14395
14395
|
// Hour [0-23]
|
|
14396
14396
|
H: function(n, t, e) {
|
|
14397
|
-
return t === "Ho" ? e.ordinalNumber(n.getHours(), { unit: "hour" }) :
|
|
14397
|
+
return t === "Ho" ? e.ordinalNumber(n.getHours(), { unit: "hour" }) : Fn.H(n, t);
|
|
14398
14398
|
},
|
|
14399
14399
|
// Hour [0-11]
|
|
14400
14400
|
K: function(n, t, e) {
|
|
@@ -14408,15 +14408,15 @@ const Nn = {
|
|
|
14408
14408
|
},
|
|
14409
14409
|
// Minute
|
|
14410
14410
|
m: function(n, t, e) {
|
|
14411
|
-
return t === "mo" ? e.ordinalNumber(n.getMinutes(), { unit: "minute" }) :
|
|
14411
|
+
return t === "mo" ? e.ordinalNumber(n.getMinutes(), { unit: "minute" }) : Fn.m(n, t);
|
|
14412
14412
|
},
|
|
14413
14413
|
// Second
|
|
14414
14414
|
s: function(n, t, e) {
|
|
14415
|
-
return t === "so" ? e.ordinalNumber(n.getSeconds(), { unit: "second" }) :
|
|
14415
|
+
return t === "so" ? e.ordinalNumber(n.getSeconds(), { unit: "second" }) : Fn.s(n, t);
|
|
14416
14416
|
},
|
|
14417
14417
|
// Fraction of second
|
|
14418
14418
|
S: function(n, t) {
|
|
14419
|
-
return
|
|
14419
|
+
return Fn.S(n, t);
|
|
14420
14420
|
},
|
|
14421
14421
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
14422
14422
|
X: function(n, t, e) {
|
|
@@ -14606,7 +14606,7 @@ function uM(n) {
|
|
|
14606
14606
|
return t ? t[1].replace(oM, "'") : n;
|
|
14607
14607
|
}
|
|
14608
14608
|
function dM(n, t) {
|
|
14609
|
-
const e = Me(n, void 0), i = e.getFullYear(), s = e.getMonth(), r =
|
|
14609
|
+
const e = Me(n, void 0), i = e.getFullYear(), s = e.getMonth(), r = Xe(e, 0);
|
|
14610
14610
|
return r.setFullYear(i, s + 1, 0), r.setHours(0, 0, 0, 0), r.getDate();
|
|
14611
14611
|
}
|
|
14612
14612
|
function hM() {
|
|
@@ -15005,7 +15005,7 @@ function kd(n, t, e) {
|
|
|
15005
15005
|
const s = i.getUTCDay() || 7, r = t * 7 + e + 1 - s;
|
|
15006
15006
|
return i.setUTCDate(i.getUTCDate() + r), i;
|
|
15007
15007
|
}
|
|
15008
|
-
const
|
|
15008
|
+
const NM = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], FM = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
15009
15009
|
function qf(n) {
|
|
15010
15010
|
return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
|
|
15011
15011
|
}
|
|
@@ -15016,7 +15016,7 @@ function Td(n, t, e) {
|
|
|
15016
15016
|
if (e < 1)
|
|
15017
15017
|
return !1;
|
|
15018
15018
|
const i = qf(n);
|
|
15019
|
-
if (i && e >
|
|
15019
|
+
if (i && e > FM[t] || !i && e > NM[t])
|
|
15020
15020
|
return !1;
|
|
15021
15021
|
}
|
|
15022
15022
|
return !0;
|
|
@@ -15104,8 +15104,8 @@ function jo(n) {
|
|
|
15104
15104
|
var $r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ba = { exports: {} };
|
|
15105
15105
|
ba.exports;
|
|
15106
15106
|
(function(n, t) {
|
|
15107
|
-
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, r = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", l = "[object Date]", c = "[object Error]", u = "[object Function]", d = "[object GeneratorFunction]", h = "[object Map]", f = "[object Number]", g = "[object Object]", y = "[object Promise]", x = "[object RegExp]", v = "[object Set]", M = "[object String]", D = "[object Symbol]", S = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", A = "[object Float32Array]", m = "[object Float64Array]", b = "[object Int8Array]", T = "[object Int16Array]", L = "[object Int32Array]", P = "[object Uint8Array]", R = "[object Uint8ClampedArray]",
|
|
15108
|
-
tt[r] = tt[a] = tt[k] = tt[E] = tt[o] = tt[l] = tt[A] = tt[m] = tt[b] = tt[T] = tt[L] = tt[h] = tt[f] = tt[g] = tt[x] = tt[v] = tt[M] = tt[D] = tt[P] = tt[R] = tt[
|
|
15107
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, r = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", l = "[object Date]", c = "[object Error]", u = "[object Function]", d = "[object GeneratorFunction]", h = "[object Map]", f = "[object Number]", g = "[object Object]", y = "[object Promise]", x = "[object RegExp]", v = "[object Set]", M = "[object String]", D = "[object Symbol]", S = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", A = "[object Float32Array]", m = "[object Float64Array]", b = "[object Int8Array]", T = "[object Int16Array]", L = "[object Int32Array]", P = "[object Uint8Array]", R = "[object Uint8ClampedArray]", F = "[object Uint16Array]", X = "[object Uint32Array]", K = /[\\^$.*+?()[\]{}|]/g, z = /\w*$/, ht = /^\[object .+?Constructor\]$/, Y = /^(?:0|[1-9]\d*)$/, tt = {};
|
|
15108
|
+
tt[r] = tt[a] = tt[k] = tt[E] = tt[o] = tt[l] = tt[A] = tt[m] = tt[b] = tt[T] = tt[L] = tt[h] = tt[f] = tt[g] = tt[x] = tt[v] = tt[M] = tt[D] = tt[P] = tt[R] = tt[F] = tt[X] = !0, tt[c] = tt[u] = tt[S] = !1;
|
|
15109
15109
|
var At = typeof $r == "object" && $r && $r.Object === Object && $r, j = typeof self == "object" && self && self.Object === Object && self, st = At || j || Function("return this")(), Mt = t && !t.nodeType && t, yt = Mt && !0 && n && !n.nodeType && n, W = yt && yt.exports === Mt;
|
|
15110
15110
|
function q(_, O) {
|
|
15111
15111
|
return _.set(O[0], O[1]), _;
|
|
@@ -15114,23 +15114,23 @@ ba.exports;
|
|
|
15114
15114
|
return _.add(O), _;
|
|
15115
15115
|
}
|
|
15116
15116
|
function H(_, O) {
|
|
15117
|
-
for (var
|
|
15117
|
+
for (var N = -1, G = _ ? _.length : 0; ++N < G && O(_[N], N, _) !== !1; )
|
|
15118
15118
|
;
|
|
15119
15119
|
return _;
|
|
15120
15120
|
}
|
|
15121
15121
|
function V(_, O) {
|
|
15122
|
-
for (var
|
|
15123
|
-
_[Qt +
|
|
15122
|
+
for (var N = -1, G = O.length, Qt = _.length; ++N < G; )
|
|
15123
|
+
_[Qt + N] = O[N];
|
|
15124
15124
|
return _;
|
|
15125
15125
|
}
|
|
15126
|
-
function Q(_, O,
|
|
15126
|
+
function Q(_, O, N, G) {
|
|
15127
15127
|
for (var Qt = -1, oe = _ ? _.length : 0; ++Qt < oe; )
|
|
15128
|
-
|
|
15129
|
-
return
|
|
15128
|
+
N = O(N, _[Qt], Qt, _);
|
|
15129
|
+
return N;
|
|
15130
15130
|
}
|
|
15131
15131
|
function at(_, O) {
|
|
15132
|
-
for (var
|
|
15133
|
-
G[
|
|
15132
|
+
for (var N = -1, G = Array(_); ++N < _; )
|
|
15133
|
+
G[N] = O(N);
|
|
15134
15134
|
return G;
|
|
15135
15135
|
}
|
|
15136
15136
|
function ct(_, O) {
|
|
@@ -15146,90 +15146,90 @@ ba.exports;
|
|
|
15146
15146
|
return O;
|
|
15147
15147
|
}
|
|
15148
15148
|
function kt(_) {
|
|
15149
|
-
var O = -1,
|
|
15149
|
+
var O = -1, N = Array(_.size);
|
|
15150
15150
|
return _.forEach(function(G, Qt) {
|
|
15151
|
-
|
|
15152
|
-
}),
|
|
15151
|
+
N[++O] = [Qt, G];
|
|
15152
|
+
}), N;
|
|
15153
15153
|
}
|
|
15154
15154
|
function vt(_, O) {
|
|
15155
|
-
return function(
|
|
15156
|
-
return _(O(
|
|
15155
|
+
return function(N) {
|
|
15156
|
+
return _(O(N));
|
|
15157
15157
|
};
|
|
15158
15158
|
}
|
|
15159
15159
|
function Kt(_) {
|
|
15160
|
-
var O = -1,
|
|
15160
|
+
var O = -1, N = Array(_.size);
|
|
15161
15161
|
return _.forEach(function(G) {
|
|
15162
|
-
|
|
15163
|
-
}),
|
|
15162
|
+
N[++O] = G;
|
|
15163
|
+
}), N;
|
|
15164
15164
|
}
|
|
15165
15165
|
var Zt = Array.prototype, ue = Function.prototype, se = Object.prototype, re = st["__core-js_shared__"], Et = function() {
|
|
15166
15166
|
var _ = /[^.]+$/.exec(re && re.keys && re.keys.IE_PROTO || "");
|
|
15167
15167
|
return _ ? "Symbol(src)_1." + _ : "";
|
|
15168
|
-
}(), Rt = ue.toString, ae = se.hasOwnProperty,
|
|
15168
|
+
}(), Rt = ue.toString, ae = se.hasOwnProperty, xt = se.toString, sn = RegExp(
|
|
15169
15169
|
"^" + Rt.call(ae).replace(K, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
15170
|
-
), Se = W ? st.Buffer : void 0, Be = st.Symbol, ge = st.Uint8Array, De = vt(Object.getPrototypeOf, Object),
|
|
15170
|
+
), Se = W ? st.Buffer : void 0, Be = st.Symbol, ge = st.Uint8Array, De = vt(Object.getPrototypeOf, Object), Fe = Object.create, de = se.propertyIsEnumerable, pe = Zt.splice, Yt = Object.getOwnPropertySymbols, wi = Se ? Se.isBuffer : void 0, Cn = vt(Object.keys, Object), Mi = En(st, "DataView"), ti = En(st, "Map"), es = En(st, "Promise"), ns = En(st, "Set"), ei = En(st, "WeakMap"), Ge = En(Object, "create"), is = Te(Mi), ss = Te(ti), rs = Te(es), ni = Te(ns), La = Te(ei), cr = Be ? Be.prototype : void 0, ur = cr ? cr.valueOf : void 0;
|
|
15171
15171
|
function gn(_) {
|
|
15172
|
-
var O = -1,
|
|
15173
|
-
for (this.clear(); ++O <
|
|
15172
|
+
var O = -1, N = _ ? _.length : 0;
|
|
15173
|
+
for (this.clear(); ++O < N; ) {
|
|
15174
15174
|
var G = _[O];
|
|
15175
15175
|
this.set(G[0], G[1]);
|
|
15176
15176
|
}
|
|
15177
15177
|
}
|
|
15178
15178
|
function Ia() {
|
|
15179
|
-
this.__data__ =
|
|
15179
|
+
this.__data__ = Ge ? Ge(null) : {};
|
|
15180
15180
|
}
|
|
15181
15181
|
function Si(_) {
|
|
15182
15182
|
return this.has(_) && delete this.__data__[_];
|
|
15183
15183
|
}
|
|
15184
15184
|
function as(_) {
|
|
15185
15185
|
var O = this.__data__;
|
|
15186
|
-
if (
|
|
15187
|
-
var
|
|
15188
|
-
return
|
|
15186
|
+
if (Ge) {
|
|
15187
|
+
var N = O[_];
|
|
15188
|
+
return N === i ? void 0 : N;
|
|
15189
15189
|
}
|
|
15190
15190
|
return ae.call(O, _) ? O[_] : void 0;
|
|
15191
15191
|
}
|
|
15192
15192
|
function dr(_) {
|
|
15193
15193
|
var O = this.__data__;
|
|
15194
|
-
return
|
|
15194
|
+
return Ge ? O[_] !== void 0 : ae.call(O, _);
|
|
15195
15195
|
}
|
|
15196
15196
|
function pn(_, O) {
|
|
15197
|
-
var
|
|
15198
|
-
return
|
|
15197
|
+
var N = this.__data__;
|
|
15198
|
+
return N[_] = Ge && O === void 0 ? i : O, this;
|
|
15199
15199
|
}
|
|
15200
15200
|
gn.prototype.clear = Ia, gn.prototype.delete = Si, gn.prototype.get = as, gn.prototype.has = dr, gn.prototype.set = pn;
|
|
15201
|
-
function
|
|
15202
|
-
var O = -1,
|
|
15203
|
-
for (this.clear(); ++O <
|
|
15201
|
+
function Ke(_) {
|
|
15202
|
+
var O = -1, N = _ ? _.length : 0;
|
|
15203
|
+
for (this.clear(); ++O < N; ) {
|
|
15204
15204
|
var G = _[O];
|
|
15205
15205
|
this.set(G[0], G[1]);
|
|
15206
15206
|
}
|
|
15207
15207
|
}
|
|
15208
|
-
function
|
|
15208
|
+
function Na() {
|
|
15209
15209
|
this.__data__ = [];
|
|
15210
15210
|
}
|
|
15211
|
-
function
|
|
15212
|
-
var O = this.__data__,
|
|
15213
|
-
if (
|
|
15211
|
+
function Fa(_) {
|
|
15212
|
+
var O = this.__data__, N = ke(O, _);
|
|
15213
|
+
if (N < 0)
|
|
15214
15214
|
return !1;
|
|
15215
15215
|
var G = O.length - 1;
|
|
15216
|
-
return
|
|
15216
|
+
return N == G ? O.pop() : pe.call(O, N, 1), !0;
|
|
15217
15217
|
}
|
|
15218
15218
|
function za(_) {
|
|
15219
|
-
var O = this.__data__,
|
|
15220
|
-
return
|
|
15219
|
+
var O = this.__data__, N = ke(O, _);
|
|
15220
|
+
return N < 0 ? void 0 : O[N][1];
|
|
15221
15221
|
}
|
|
15222
15222
|
function Ha(_) {
|
|
15223
15223
|
return ke(this.__data__, _) > -1;
|
|
15224
15224
|
}
|
|
15225
|
-
function
|
|
15226
|
-
var
|
|
15227
|
-
return G < 0 ?
|
|
15225
|
+
function Ze(_, O) {
|
|
15226
|
+
var N = this.__data__, G = ke(N, _);
|
|
15227
|
+
return G < 0 ? N.push([_, O]) : N[G][1] = O, this;
|
|
15228
15228
|
}
|
|
15229
|
-
|
|
15229
|
+
Ke.prototype.clear = Na, Ke.prototype.delete = Fa, Ke.prototype.get = za, Ke.prototype.has = Ha, Ke.prototype.set = Ze;
|
|
15230
15230
|
function On(_) {
|
|
15231
|
-
var O = -1,
|
|
15232
|
-
for (this.clear(); ++O <
|
|
15231
|
+
var O = -1, N = _ ? _.length : 0;
|
|
15232
|
+
for (this.clear(); ++O < N; ) {
|
|
15233
15233
|
var G = _[O];
|
|
15234
15234
|
this.set(G[0], G[1]);
|
|
15235
15235
|
}
|
|
@@ -15237,7 +15237,7 @@ ba.exports;
|
|
|
15237
15237
|
function Wa() {
|
|
15238
15238
|
this.__data__ = {
|
|
15239
15239
|
hash: new gn(),
|
|
15240
|
-
map: new (ti ||
|
|
15240
|
+
map: new (ti || Ke)(),
|
|
15241
15241
|
string: new gn()
|
|
15242
15242
|
};
|
|
15243
15243
|
}
|
|
@@ -15250,15 +15250,15 @@ ba.exports;
|
|
|
15250
15250
|
function ja(_) {
|
|
15251
15251
|
return Ti(this, _).has(_);
|
|
15252
15252
|
}
|
|
15253
|
-
function
|
|
15253
|
+
function Qe(_, O) {
|
|
15254
15254
|
return Ti(this, _).set(_, O), this;
|
|
15255
15255
|
}
|
|
15256
|
-
On.prototype.clear = Wa, On.prototype.delete = Ba, On.prototype.get = Ya, On.prototype.has = ja, On.prototype.set =
|
|
15256
|
+
On.prototype.clear = Wa, On.prototype.delete = Ba, On.prototype.get = Ya, On.prototype.has = ja, On.prototype.set = Qe;
|
|
15257
15257
|
function Pn(_) {
|
|
15258
|
-
this.__data__ = new
|
|
15258
|
+
this.__data__ = new Ke(_);
|
|
15259
15259
|
}
|
|
15260
15260
|
function $a() {
|
|
15261
|
-
this.__data__ = new
|
|
15261
|
+
this.__data__ = new Ke();
|
|
15262
15262
|
}
|
|
15263
15263
|
function Ua(_) {
|
|
15264
15264
|
return this.__data__.delete(_);
|
|
@@ -15270,36 +15270,36 @@ ba.exports;
|
|
|
15270
15270
|
return this.__data__.has(_);
|
|
15271
15271
|
}
|
|
15272
15272
|
function Di(_, O) {
|
|
15273
|
-
var
|
|
15274
|
-
if (
|
|
15275
|
-
var G =
|
|
15273
|
+
var N = this.__data__;
|
|
15274
|
+
if (N instanceof Ke) {
|
|
15275
|
+
var G = N.__data__;
|
|
15276
15276
|
if (!ti || G.length < e - 1)
|
|
15277
15277
|
return G.push([_, O]), this;
|
|
15278
|
-
|
|
15278
|
+
N = this.__data__ = new On(G);
|
|
15279
15279
|
}
|
|
15280
|
-
return
|
|
15280
|
+
return N.set(_, O), this;
|
|
15281
15281
|
}
|
|
15282
15282
|
Pn.prototype.clear = $a, Pn.prototype.delete = Ua, Pn.prototype.get = qa, Pn.prototype.has = Va, Pn.prototype.set = Di;
|
|
15283
15283
|
function Xa(_, O) {
|
|
15284
|
-
var
|
|
15284
|
+
var N = An(_) || xr(_) ? at(_.length, String) : [], G = N.length, Qt = !!G;
|
|
15285
15285
|
for (var oe in _)
|
|
15286
|
-
ae.call(_, oe) && !(Qt && (oe == "length" || co(oe, G))) &&
|
|
15287
|
-
return
|
|
15286
|
+
ae.call(_, oe) && !(Qt && (oe == "length" || co(oe, G))) && N.push(oe);
|
|
15287
|
+
return N;
|
|
15288
15288
|
}
|
|
15289
|
-
function hr(_, O,
|
|
15289
|
+
function hr(_, O, N) {
|
|
15290
15290
|
var G = _[O];
|
|
15291
|
-
(!(ae.call(_, O) && _r(G,
|
|
15291
|
+
(!(ae.call(_, O) && _r(G, N)) || N === void 0 && !(O in _)) && (_[O] = N);
|
|
15292
15292
|
}
|
|
15293
15293
|
function ke(_, O) {
|
|
15294
|
-
for (var
|
|
15295
|
-
if (_r(_[
|
|
15296
|
-
return
|
|
15294
|
+
for (var N = _.length; N--; )
|
|
15295
|
+
if (_r(_[N][0], O))
|
|
15296
|
+
return N;
|
|
15297
15297
|
return -1;
|
|
15298
15298
|
}
|
|
15299
15299
|
function Ga(_, O) {
|
|
15300
|
-
return _ && gr(O,
|
|
15300
|
+
return _ && gr(O, Je(O), _);
|
|
15301
15301
|
}
|
|
15302
|
-
function os(_, O,
|
|
15302
|
+
function os(_, O, N, G, Qt, oe, Ce) {
|
|
15303
15303
|
var ee;
|
|
15304
15304
|
if (G && (ee = oe ? G(_, Qt, oe, Ce) : G(_)), ee !== void 0)
|
|
15305
15305
|
return ee;
|
|
@@ -15329,20 +15329,20 @@ ba.exports;
|
|
|
15329
15329
|
if (Dr)
|
|
15330
15330
|
return Dr;
|
|
15331
15331
|
if (Ce.set(_, ee), !Ei)
|
|
15332
|
-
var kr =
|
|
15332
|
+
var kr = N ? oo(_) : Je(_);
|
|
15333
15333
|
return H(kr || _, function(Ln, Ai) {
|
|
15334
|
-
kr && (Ai = Ln, Ln = _[Ai]), hr(ee, Ai, os(Ln, O,
|
|
15334
|
+
kr && (Ai = Ln, Ln = _[Ai]), hr(ee, Ai, os(Ln, O, N, G, Ai, _, Ce));
|
|
15335
15335
|
}), ee;
|
|
15336
15336
|
}
|
|
15337
15337
|
function Ka(_) {
|
|
15338
|
-
return Oi(_) ?
|
|
15338
|
+
return Oi(_) ? Fe(_) : {};
|
|
15339
15339
|
}
|
|
15340
|
-
function Za(_, O,
|
|
15340
|
+
function Za(_, O, N) {
|
|
15341
15341
|
var G = O(_);
|
|
15342
|
-
return An(_) ? G : V(G,
|
|
15342
|
+
return An(_) ? G : V(G, N(_));
|
|
15343
15343
|
}
|
|
15344
15344
|
function Qa(_) {
|
|
15345
|
-
return
|
|
15345
|
+
return xt.call(_);
|
|
15346
15346
|
}
|
|
15347
15347
|
function Ja(_) {
|
|
15348
15348
|
if (!Oi(_) || Ci(_))
|
|
@@ -15354,74 +15354,74 @@ ba.exports;
|
|
|
15354
15354
|
if (!br(_))
|
|
15355
15355
|
return Cn(_);
|
|
15356
15356
|
var O = [];
|
|
15357
|
-
for (var
|
|
15358
|
-
ae.call(_,
|
|
15357
|
+
for (var N in Object(_))
|
|
15358
|
+
ae.call(_, N) && N != "constructor" && O.push(N);
|
|
15359
15359
|
return O;
|
|
15360
15360
|
}
|
|
15361
15361
|
function to(_, O) {
|
|
15362
15362
|
if (O)
|
|
15363
15363
|
return _.slice();
|
|
15364
|
-
var
|
|
15365
|
-
return _.copy(
|
|
15364
|
+
var N = new _.constructor(_.length);
|
|
15365
|
+
return _.copy(N), N;
|
|
15366
15366
|
}
|
|
15367
15367
|
function ls(_) {
|
|
15368
15368
|
var O = new _.constructor(_.byteLength);
|
|
15369
15369
|
return new ge(O).set(new ge(_)), O;
|
|
15370
15370
|
}
|
|
15371
15371
|
function fr(_, O) {
|
|
15372
|
-
var
|
|
15373
|
-
return new _.constructor(
|
|
15372
|
+
var N = O ? ls(_.buffer) : _.buffer;
|
|
15373
|
+
return new _.constructor(N, _.byteOffset, _.byteLength);
|
|
15374
15374
|
}
|
|
15375
|
-
function eo(_, O,
|
|
15376
|
-
var G = O ?
|
|
15375
|
+
function eo(_, O, N) {
|
|
15376
|
+
var G = O ? N(kt(_), !0) : kt(_);
|
|
15377
15377
|
return Q(G, q, new _.constructor());
|
|
15378
15378
|
}
|
|
15379
15379
|
function no(_) {
|
|
15380
15380
|
var O = new _.constructor(_.source, z.exec(_));
|
|
15381
15381
|
return O.lastIndex = _.lastIndex, O;
|
|
15382
15382
|
}
|
|
15383
|
-
function cs(_, O,
|
|
15384
|
-
var G = O ?
|
|
15383
|
+
function cs(_, O, N) {
|
|
15384
|
+
var G = O ? N(Kt(_), !0) : Kt(_);
|
|
15385
15385
|
return Q(G, U, new _.constructor());
|
|
15386
15386
|
}
|
|
15387
15387
|
function io(_) {
|
|
15388
15388
|
return ur ? Object(ur.call(_)) : {};
|
|
15389
15389
|
}
|
|
15390
15390
|
function so(_, O) {
|
|
15391
|
-
var
|
|
15392
|
-
return new _.constructor(
|
|
15391
|
+
var N = O ? ls(_.buffer) : _.buffer;
|
|
15392
|
+
return new _.constructor(N, _.byteOffset, _.length);
|
|
15393
15393
|
}
|
|
15394
15394
|
function ro(_, O) {
|
|
15395
|
-
var
|
|
15396
|
-
for (O || (O = Array(G)); ++
|
|
15397
|
-
O[
|
|
15395
|
+
var N = -1, G = _.length;
|
|
15396
|
+
for (O || (O = Array(G)); ++N < G; )
|
|
15397
|
+
O[N] = _[N];
|
|
15398
15398
|
return O;
|
|
15399
15399
|
}
|
|
15400
|
-
function gr(_, O,
|
|
15401
|
-
|
|
15400
|
+
function gr(_, O, N, G) {
|
|
15401
|
+
N || (N = {});
|
|
15402
15402
|
for (var Qt = -1, oe = O.length; ++Qt < oe; ) {
|
|
15403
15403
|
var Ce = O[Qt], ee = void 0;
|
|
15404
|
-
hr(
|
|
15404
|
+
hr(N, Ce, ee === void 0 ? _[Ce] : ee);
|
|
15405
15405
|
}
|
|
15406
|
-
return
|
|
15406
|
+
return N;
|
|
15407
15407
|
}
|
|
15408
15408
|
function ao(_, O) {
|
|
15409
15409
|
return gr(_, pr(_), O);
|
|
15410
15410
|
}
|
|
15411
15411
|
function oo(_) {
|
|
15412
|
-
return Za(_,
|
|
15412
|
+
return Za(_, Je, pr);
|
|
15413
15413
|
}
|
|
15414
15414
|
function Ti(_, O) {
|
|
15415
|
-
var
|
|
15416
|
-
return uo(O) ?
|
|
15415
|
+
var N = _.__data__;
|
|
15416
|
+
return uo(O) ? N[typeof O == "string" ? "string" : "hash"] : N.map;
|
|
15417
15417
|
}
|
|
15418
15418
|
function En(_, O) {
|
|
15419
|
-
var
|
|
15420
|
-
return Ja(
|
|
15419
|
+
var N = ct(_, O);
|
|
15420
|
+
return Ja(N) ? N : void 0;
|
|
15421
15421
|
}
|
|
15422
15422
|
var pr = Yt ? vt(Yt, Object) : ds, mn = Qa;
|
|
15423
15423
|
(Mi && mn(new Mi(new ArrayBuffer(1))) != E || ti && mn(new ti()) != h || es && mn(es.resolve()) != y || ns && mn(new ns()) != v || ei && mn(new ei()) != S) && (mn = function(_) {
|
|
15424
|
-
var O =
|
|
15424
|
+
var O = xt.call(_), N = O == g ? _.constructor : void 0, G = N ? Te(N) : void 0;
|
|
15425
15425
|
if (G)
|
|
15426
15426
|
switch (G) {
|
|
15427
15427
|
case is:
|
|
@@ -15438,13 +15438,13 @@ ba.exports;
|
|
|
15438
15438
|
return O;
|
|
15439
15439
|
});
|
|
15440
15440
|
function mr(_) {
|
|
15441
|
-
var O = _.length,
|
|
15442
|
-
return O && typeof _[0] == "string" && ae.call(_, "index") && (
|
|
15441
|
+
var O = _.length, N = _.constructor(O);
|
|
15442
|
+
return O && typeof _[0] == "string" && ae.call(_, "index") && (N.index = _.index, N.input = _.input), N;
|
|
15443
15443
|
}
|
|
15444
15444
|
function lo(_) {
|
|
15445
15445
|
return typeof _.constructor == "function" && !br(_) ? Ka(De(_)) : {};
|
|
15446
15446
|
}
|
|
15447
|
-
function yr(_, O,
|
|
15447
|
+
function yr(_, O, N, G) {
|
|
15448
15448
|
var Qt = _.constructor;
|
|
15449
15449
|
switch (O) {
|
|
15450
15450
|
case k:
|
|
@@ -15461,18 +15461,18 @@ ba.exports;
|
|
|
15461
15461
|
case L:
|
|
15462
15462
|
case P:
|
|
15463
15463
|
case R:
|
|
15464
|
-
case
|
|
15464
|
+
case F:
|
|
15465
15465
|
case X:
|
|
15466
15466
|
return so(_, G);
|
|
15467
15467
|
case h:
|
|
15468
|
-
return eo(_, G,
|
|
15468
|
+
return eo(_, G, N);
|
|
15469
15469
|
case f:
|
|
15470
15470
|
case M:
|
|
15471
15471
|
return new Qt(_);
|
|
15472
15472
|
case x:
|
|
15473
15473
|
return no(_);
|
|
15474
15474
|
case v:
|
|
15475
|
-
return cs(_, G,
|
|
15475
|
+
return cs(_, G, N);
|
|
15476
15476
|
case D:
|
|
15477
15477
|
return io(_);
|
|
15478
15478
|
}
|
|
@@ -15488,8 +15488,8 @@ ba.exports;
|
|
|
15488
15488
|
return !!Et && Et in _;
|
|
15489
15489
|
}
|
|
15490
15490
|
function br(_) {
|
|
15491
|
-
var O = _ && _.constructor,
|
|
15492
|
-
return _ ===
|
|
15491
|
+
var O = _ && _.constructor, N = typeof O == "function" && O.prototype || se;
|
|
15492
|
+
return _ === N;
|
|
15493
15493
|
}
|
|
15494
15494
|
function Te(_) {
|
|
15495
15495
|
if (_ != null) {
|
|
@@ -15511,7 +15511,7 @@ ba.exports;
|
|
|
15511
15511
|
return _ === O || _ !== _ && O !== O;
|
|
15512
15512
|
}
|
|
15513
15513
|
function xr(_) {
|
|
15514
|
-
return ho(_) && ae.call(_, "callee") && (!de.call(_, "callee") ||
|
|
15514
|
+
return ho(_) && ae.call(_, "callee") && (!de.call(_, "callee") || xt.call(_) == r);
|
|
15515
15515
|
}
|
|
15516
15516
|
var An = Array.isArray;
|
|
15517
15517
|
function vr(_) {
|
|
@@ -15522,7 +15522,7 @@ ba.exports;
|
|
|
15522
15522
|
}
|
|
15523
15523
|
var fo = wi || Mr;
|
|
15524
15524
|
function us(_) {
|
|
15525
|
-
var O = Oi(_) ?
|
|
15525
|
+
var O = Oi(_) ? xt.call(_) : "";
|
|
15526
15526
|
return O == u || O == d;
|
|
15527
15527
|
}
|
|
15528
15528
|
function wr(_) {
|
|
@@ -15535,7 +15535,7 @@ ba.exports;
|
|
|
15535
15535
|
function Pi(_) {
|
|
15536
15536
|
return !!_ && typeof _ == "object";
|
|
15537
15537
|
}
|
|
15538
|
-
function
|
|
15538
|
+
function Je(_) {
|
|
15539
15539
|
return vr(_) ? Xa(_) : ki(_);
|
|
15540
15540
|
}
|
|
15541
15541
|
function ds() {
|
|
@@ -15548,7 +15548,7 @@ ba.exports;
|
|
|
15548
15548
|
})(ba, ba.exports);
|
|
15549
15549
|
ba.exports;
|
|
15550
15550
|
const Xi = (n, t) => new Date(n.getTime() - jM(t, n));
|
|
15551
|
-
class
|
|
15551
|
+
class tn {
|
|
15552
15552
|
constructor(t) {
|
|
15553
15553
|
Ue(this, "timeframeText"), Ue(this, "key"), Ue(this, "display"), Ue(this, "timeframeLength"), Ue(this, "allowedTiers"), Ue(this, "defaultResponseGranularity"), Ue(this, "dataGranularity"), Ue(this, "isRelative"), Ue(this, "fineGrainedDefaultGranularity"), Ue(this, "_startCustom"), Ue(this, "_endCustom"), Ue(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride, this.fineGrainedDefaultGranularity = t.fineGrainedDefaultGranularity;
|
|
15554
15554
|
}
|
|
@@ -15598,7 +15598,7 @@ class en {
|
|
|
15598
15598
|
return Vf(e, t);
|
|
15599
15599
|
}
|
|
15600
15600
|
}
|
|
15601
|
-
class UM extends
|
|
15601
|
+
class UM extends tn {
|
|
15602
15602
|
rawStart(t) {
|
|
15603
15603
|
let e = kn(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
15604
15604
|
return t && (e = Xi(e, t)), e;
|
|
@@ -15607,7 +15607,7 @@ class UM extends en {
|
|
|
15607
15607
|
return 60 * 60 * 24 * 7;
|
|
15608
15608
|
}
|
|
15609
15609
|
}
|
|
15610
|
-
class qM extends
|
|
15610
|
+
class qM extends tn {
|
|
15611
15611
|
rawStart(t) {
|
|
15612
15612
|
let e = Yi(this.tzAdjustedDate(t));
|
|
15613
15613
|
return t && (e = Xi(e, t)), e;
|
|
@@ -15616,7 +15616,7 @@ class qM extends en {
|
|
|
15616
15616
|
return 60 * 60 * 24 * 31;
|
|
15617
15617
|
}
|
|
15618
15618
|
}
|
|
15619
|
-
class VM extends
|
|
15619
|
+
class VM extends tn {
|
|
15620
15620
|
rawEnd(t) {
|
|
15621
15621
|
let e = kn(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
15622
15622
|
return t && (e = Xi(e, t)), e;
|
|
@@ -15629,7 +15629,7 @@ class VM extends en {
|
|
|
15629
15629
|
return t && (i = Xi(i, t)), i;
|
|
15630
15630
|
}
|
|
15631
15631
|
}
|
|
15632
|
-
class XM extends
|
|
15632
|
+
class XM extends tn {
|
|
15633
15633
|
rawEnd(t) {
|
|
15634
15634
|
let e = Yi(this.tzAdjustedDate(t));
|
|
15635
15635
|
return t && (e = Xi(e, t)), e;
|
|
@@ -15639,7 +15639,7 @@ class XM extends en {
|
|
|
15639
15639
|
return t && (e = Xi(e, t)), e;
|
|
15640
15640
|
}
|
|
15641
15641
|
}
|
|
15642
|
-
dt.FIFTEEN_MIN, new
|
|
15642
|
+
dt.FIFTEEN_MIN, new tn({
|
|
15643
15643
|
key: dt.FIFTEEN_MIN,
|
|
15644
15644
|
display: "Last 15 minutes",
|
|
15645
15645
|
timeframeText: "15 minutes",
|
|
@@ -15650,7 +15650,7 @@ dt.FIFTEEN_MIN, new en({
|
|
|
15650
15650
|
fineGrainedDefaultGranularity: "thirtySecondly",
|
|
15651
15651
|
allowedTiers: ["free", "trial", "plus", "enterprise"],
|
|
15652
15652
|
allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely"]
|
|
15653
|
-
}), dt.ONE_HOUR, new
|
|
15653
|
+
}), dt.ONE_HOUR, new tn({
|
|
15654
15654
|
key: dt.ONE_HOUR,
|
|
15655
15655
|
display: "Last hour",
|
|
15656
15656
|
timeframeText: "One hour",
|
|
@@ -15661,7 +15661,7 @@ dt.FIFTEEN_MIN, new en({
|
|
|
15661
15661
|
fineGrainedDefaultGranularity: "minutely",
|
|
15662
15662
|
allowedTiers: ["free", "trial", "plus", "enterprise"],
|
|
15663
15663
|
allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely"]
|
|
15664
|
-
}), dt.SIX_HOUR, new
|
|
15664
|
+
}), dt.SIX_HOUR, new tn({
|
|
15665
15665
|
key: dt.SIX_HOUR,
|
|
15666
15666
|
display: "Last 6 hours",
|
|
15667
15667
|
timeframeText: "6 hours",
|
|
@@ -15672,7 +15672,7 @@ dt.FIFTEEN_MIN, new en({
|
|
|
15672
15672
|
fineGrainedDefaultGranularity: "fiveMinutely",
|
|
15673
15673
|
allowedTiers: ["free", "trial", "plus", "enterprise"],
|
|
15674
15674
|
allowedGranularitiesOverride: ["thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
|
|
15675
|
-
}), dt.TWELVE_HOUR, new
|
|
15675
|
+
}), dt.TWELVE_HOUR, new tn({
|
|
15676
15676
|
key: dt.TWELVE_HOUR,
|
|
15677
15677
|
display: "Last 12 hours",
|
|
15678
15678
|
timeframeText: "12 hours",
|
|
@@ -15683,7 +15683,7 @@ dt.FIFTEEN_MIN, new en({
|
|
|
15683
15683
|
fineGrainedDefaultGranularity: "tenMinutely",
|
|
15684
15684
|
allowedTiers: ["free", "trial", "plus", "enterprise"],
|
|
15685
15685
|
allowedGranularitiesOverride: ["minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
|
|
15686
|
-
}), dt.ONE_DAY, new
|
|
15686
|
+
}), dt.ONE_DAY, new tn({
|
|
15687
15687
|
key: dt.ONE_DAY,
|
|
15688
15688
|
display: "Last 24 hours",
|
|
15689
15689
|
timeframeText: "24 hours",
|
|
@@ -15694,7 +15694,7 @@ dt.FIFTEEN_MIN, new en({
|
|
|
15694
15694
|
fineGrainedDefaultGranularity: "thirtyMinutely",
|
|
15695
15695
|
allowedTiers: ["free", "trial", "plus", "enterprise"],
|
|
15696
15696
|
allowedGranularitiesOverride: ["fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
|
|
15697
|
-
}), dt.SEVEN_DAY, new
|
|
15697
|
+
}), dt.SEVEN_DAY, new tn({
|
|
15698
15698
|
key: dt.SEVEN_DAY,
|
|
15699
15699
|
display: "Last 7 days",
|
|
15700
15700
|
timeframeText: "7 days",
|
|
@@ -15705,7 +15705,7 @@ dt.FIFTEEN_MIN, new en({
|
|
|
15705
15705
|
fineGrainedDefaultGranularity: "twoHourly",
|
|
15706
15706
|
allowedTiers: ["trial", "plus", "enterprise"],
|
|
15707
15707
|
allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
|
|
15708
|
-
}), dt.THIRTY_DAY, new
|
|
15708
|
+
}), dt.THIRTY_DAY, new tn({
|
|
15709
15709
|
key: dt.THIRTY_DAY,
|
|
15710
15710
|
display: "Last 30 days",
|
|
15711
15711
|
timeframeText: "30 days",
|
|
@@ -15845,7 +15845,7 @@ function QM(n) {
|
|
|
15845
15845
|
maxRotation: 0,
|
|
15846
15846
|
callback: (u) => {
|
|
15847
15847
|
const d = new Date(u);
|
|
15848
|
-
return
|
|
15848
|
+
return Ff(d, n.granularity.value, a.value);
|
|
15849
15849
|
}
|
|
15850
15850
|
},
|
|
15851
15851
|
title: {
|
|
@@ -16326,7 +16326,7 @@ function ng(n, t) {
|
|
|
16326
16326
|
}) : i.map((s) => Ht(s));
|
|
16327
16327
|
}
|
|
16328
16328
|
function ig(n) {
|
|
16329
|
-
return n && (
|
|
16329
|
+
return n && (Ne(n.xValue) || Ne(n.yValue));
|
|
16330
16330
|
}
|
|
16331
16331
|
function Rd(n, t, e = 0, i) {
|
|
16332
16332
|
return n - lc(t, i) + e;
|
|
@@ -16342,7 +16342,7 @@ function Qi(n, t, e) {
|
|
|
16342
16342
|
function sg(n, t, e) {
|
|
16343
16343
|
let i = !1;
|
|
16344
16344
|
return t.forEach((s) => {
|
|
16345
|
-
Ie(n[s]) ? (i = !0, e[s] = n[s]) :
|
|
16345
|
+
Ie(n[s]) ? (i = !0, e[s] = n[s]) : Ne(e[s]) && delete e[s];
|
|
16346
16346
|
}), i;
|
|
16347
16347
|
}
|
|
16348
16348
|
function rg(n, t) {
|
|
@@ -16429,7 +16429,7 @@ function OS(n, { x: t, y: e, radius: i, rotation: s, style: r, rad: a }) {
|
|
|
16429
16429
|
n.moveTo(t + Math.sin(a) * i, e - Math.cos(a) * i), a += sa, n.lineTo(t + Math.sin(a) * i, e - Math.cos(a) * i), a += sa, n.lineTo(t + Math.sin(a) * i, e - Math.cos(a) * i), n.closePath();
|
|
16430
16430
|
break;
|
|
16431
16431
|
case "rectRounded":
|
|
16432
|
-
u = i * 0.516, c = i - u, o = Math.cos(a + qe) * c, l = Math.sin(a + qe) * c, n.arc(t - o, e - l, u, a - mt, a -
|
|
16432
|
+
u = i * 0.516, c = i - u, o = Math.cos(a + qe) * c, l = Math.sin(a + qe) * c, n.arc(t - o, e - l, u, a - mt, a - Nt), n.arc(t + l, e - o, u, a - Nt, a), n.arc(t + o, e + l, u, a, a + Nt), n.arc(t - l, e + o, u, a + Nt, a + mt), n.closePath();
|
|
16433
16433
|
break;
|
|
16434
16434
|
case "rect":
|
|
16435
16435
|
if (!s) {
|
|
@@ -16495,21 +16495,21 @@ function LS(n, t) {
|
|
|
16495
16495
|
return;
|
|
16496
16496
|
if (n.save(), n.beginPath(), !Tn(n, r))
|
|
16497
16497
|
return n.restore();
|
|
16498
|
-
const { separatorStart: l, separatorEnd: c } = IS(t, a), { sideStart: u, sideEnd: d } =
|
|
16498
|
+
const { separatorStart: l, separatorEnd: c } = IS(t, a), { sideStart: u, sideEnd: d } = FS(t, a, l);
|
|
16499
16499
|
(r.margin > 0 || s.borderWidth === 0) && (n.moveTo(l.x, l.y), n.lineTo(c.x, c.y)), n.moveTo(u.x, u.y), n.lineTo(d.x, d.y);
|
|
16500
16500
|
const h = xi({ x: e, y: i }, t.getCenterPoint(), Jt(-t.rotation));
|
|
16501
16501
|
n.lineTo(h.x, h.y), n.stroke(), n.restore();
|
|
16502
16502
|
}
|
|
16503
16503
|
function IS(n, t) {
|
|
16504
|
-
const { x: e, y: i, x2: s, y2: r } = n, a =
|
|
16504
|
+
const { x: e, y: i, x2: s, y2: r } = n, a = NS(n, t);
|
|
16505
16505
|
let o, l;
|
|
16506
16506
|
return t === "left" || t === "right" ? (o = { x: e + a, y: i }, l = { x: o.x, y: r }) : (o = { x: e, y: i + a }, l = { x: s, y: o.y }), { separatorStart: o, separatorEnd: l };
|
|
16507
16507
|
}
|
|
16508
|
-
function
|
|
16508
|
+
function NS(n, t) {
|
|
16509
16509
|
const { width: e, height: i, options: s } = n, r = s.callout.margin + s.borderWidth / 2;
|
|
16510
16510
|
return t === "right" ? e + r : t === "bottom" ? i + r : -r;
|
|
16511
16511
|
}
|
|
16512
|
-
function
|
|
16512
|
+
function FS(n, t, e) {
|
|
16513
16513
|
const { y: i, width: s, height: r, options: a } = n, o = a.callout.start, l = zS(t, a.callout);
|
|
16514
16514
|
let c, u;
|
|
16515
16515
|
return t === "left" || t === "right" ? (c = { x: e.x, y: i + Qn(r, o) }, u = { x: c.x + l, y: c.y }) : (c = { x: e.x + Qn(s, o), y: e.y }, u = { x: c.x, y: c.y + l }), { sideStart: c, sideEnd: u };
|
|
@@ -16718,10 +16718,10 @@ function ZS(n, t, e) {
|
|
|
16718
16718
|
const s = n.hovered;
|
|
16719
16719
|
n.hovered = i;
|
|
16720
16720
|
const r = { state: n, event: t };
|
|
16721
|
-
let a =
|
|
16722
|
-
return
|
|
16721
|
+
let a = Nd(r, "leave", s, i);
|
|
16722
|
+
return Nd(r, "enter", i, s) || a;
|
|
16723
16723
|
}
|
|
16724
|
-
function
|
|
16724
|
+
function Nd({ state: n, event: t }, e, i, s) {
|
|
16725
16725
|
let r;
|
|
16726
16726
|
for (const a of i)
|
|
16727
16727
|
s.indexOf(a) < 0 && (r = gg(a.options[e] || n.listeners[e], a, t) || r);
|
|
@@ -16746,7 +16746,7 @@ function JS(n, t, e) {
|
|
|
16746
16746
|
});
|
|
16747
16747
|
});
|
|
16748
16748
|
}
|
|
16749
|
-
function
|
|
16749
|
+
function Fd(n, t, e) {
|
|
16750
16750
|
if (n.hooked) {
|
|
16751
16751
|
const i = t.options[e] || n.hooks[e];
|
|
16752
16752
|
return Ot(i, [t.$context]);
|
|
@@ -16768,7 +16768,7 @@ function zd(n, t, e, i) {
|
|
|
16768
16768
|
}
|
|
16769
16769
|
}
|
|
16770
16770
|
function nD(n, t, e) {
|
|
16771
|
-
return
|
|
16771
|
+
return Ne(n[t]) || Ne(n[e]);
|
|
16772
16772
|
}
|
|
16773
16773
|
function iD(n, t) {
|
|
16774
16774
|
for (const e of ["scaleID", "xScaleID", "yScaleID"]) {
|
|
@@ -16781,7 +16781,7 @@ function sD(n, t) {
|
|
|
16781
16781
|
return !0;
|
|
16782
16782
|
const e = t.charAt(0);
|
|
16783
16783
|
for (const i of ["Min", "Max", "Value"])
|
|
16784
|
-
if (
|
|
16784
|
+
if (Ne(n[e + i]))
|
|
16785
16785
|
return !0;
|
|
16786
16786
|
return !1;
|
|
16787
16787
|
}
|
|
@@ -16797,7 +16797,7 @@ function rD(n, t, e) {
|
|
|
16797
16797
|
function Hd(n, t, e, i) {
|
|
16798
16798
|
for (const s of e) {
|
|
16799
16799
|
const r = n[s];
|
|
16800
|
-
if (
|
|
16800
|
+
if (Ne(r)) {
|
|
16801
16801
|
const a = t.parse(r);
|
|
16802
16802
|
i.min = Math.min(i.min, a), i.max = Math.max(i.max, a);
|
|
16803
16803
|
}
|
|
@@ -17032,7 +17032,7 @@ class ar extends ce {
|
|
|
17032
17032
|
return vi(this, t);
|
|
17033
17033
|
}
|
|
17034
17034
|
draw(t) {
|
|
17035
|
-
const e = this.options, i = !
|
|
17035
|
+
const e = this.options, i = !Ne(this._visible) || this._visible;
|
|
17036
17036
|
!e.display || !e.content || !i || (t.save(), Oa(t, this.getCenterPoint(), this.rotation), LS(t, this), ag(t, this, e), og(t, hD(this), e), t.restore());
|
|
17037
17037
|
}
|
|
17038
17038
|
resolveElementProperties(t, e) {
|
|
@@ -17609,7 +17609,7 @@ const Xn = {
|
|
|
17609
17609
|
polygon: Ra
|
|
17610
17610
|
};
|
|
17611
17611
|
Object.keys(Xn).forEach((n) => {
|
|
17612
|
-
|
|
17612
|
+
Ft.describe(`elements.${Xn[n].id}`, {
|
|
17613
17613
|
_fallback: "plugins.annotation.common"
|
|
17614
17614
|
});
|
|
17615
17615
|
});
|
|
@@ -17620,10 +17620,10 @@ function fc(n = "line") {
|
|
|
17620
17620
|
return Xn[n] ? n : (console.warn(`Unknown annotation type: '${n}', defaulting to 'line'`), "line");
|
|
17621
17621
|
}
|
|
17622
17622
|
function ED(n, t, e, i) {
|
|
17623
|
-
const s = RD(n, e.animations, i), r = t.annotations, a =
|
|
17623
|
+
const s = RD(n, e.animations, i), r = t.annotations, a = ND(t.elements, r);
|
|
17624
17624
|
for (let o = 0; o < r.length; o++) {
|
|
17625
17625
|
const l = r[o], c = mg(a, o, l.type), u = l.setContext(ID(n, c, a, l)), d = c.resolveElementProperties(n, u);
|
|
17626
|
-
d.skip = AD(d), "elements" in d && (LD(c, d.elements, u, s), delete d.elements),
|
|
17626
|
+
d.skip = AD(d), "elements" in d && (LD(c, d.elements, u, s), delete d.elements), Ne(c.x) || Object.assign(c, d), Object.assign(c, d.initProperties), d.options = yg(u), s.update(c, d);
|
|
17627
17627
|
}
|
|
17628
17628
|
}
|
|
17629
17629
|
function AD(n) {
|
|
@@ -17674,7 +17674,7 @@ function ID(n, t, e, i) {
|
|
|
17674
17674
|
type: "annotation"
|
|
17675
17675
|
}));
|
|
17676
17676
|
}
|
|
17677
|
-
function
|
|
17677
|
+
function ND(n, t) {
|
|
17678
17678
|
const e = t.length, i = n.length;
|
|
17679
17679
|
if (i < e) {
|
|
17680
17680
|
const s = e - i;
|
|
@@ -17682,19 +17682,19 @@ function FD(n, t) {
|
|
|
17682
17682
|
} else i > e && n.splice(e, i - e);
|
|
17683
17683
|
return n;
|
|
17684
17684
|
}
|
|
17685
|
-
var
|
|
17685
|
+
var FD = "3.1.0";
|
|
17686
17686
|
const Hn = /* @__PURE__ */ new Map(), Zd = (n) => n.type !== "doughnutLabel", zD = dc.concat(_a);
|
|
17687
17687
|
var Qd = {
|
|
17688
17688
|
id: "annotation",
|
|
17689
|
-
version:
|
|
17689
|
+
version: FD,
|
|
17690
17690
|
beforeRegister() {
|
|
17691
|
-
vS("chart.js", "4.0",
|
|
17691
|
+
vS("chart.js", "4.0", Ve.version);
|
|
17692
17692
|
},
|
|
17693
17693
|
afterRegister() {
|
|
17694
|
-
|
|
17694
|
+
Ve.register(Xn);
|
|
17695
17695
|
},
|
|
17696
17696
|
afterUnregister() {
|
|
17697
|
-
|
|
17697
|
+
Ve.unregister(Xn);
|
|
17698
17698
|
},
|
|
17699
17699
|
beforeInit(n) {
|
|
17700
17700
|
Hn.set(n, {
|
|
@@ -17816,7 +17816,7 @@ function HD(n, t) {
|
|
|
17816
17816
|
}
|
|
17817
17817
|
function WD(n, t, e, i) {
|
|
17818
17818
|
const s = i.element;
|
|
17819
|
-
i.main ? (
|
|
17819
|
+
i.main ? (Fd(e, s, "beforeDraw"), s.draw(n, t), Fd(e, s, "afterDraw")) : s.draw(n, t);
|
|
17820
17820
|
}
|
|
17821
17821
|
const BD = { class: "tooltip-title" }, YD = { class: "title font-bold" }, jD = {
|
|
17822
17822
|
key: 1,
|
|
@@ -17920,26 +17920,26 @@ const BD = { class: "tooltip-title" }, YD = { class: "title font-bold" }, jD = {
|
|
|
17920
17920
|
}),
|
|
17921
17921
|
onMousedown: c
|
|
17922
17922
|
}, [
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
n.locked ? (J(), fe(nt(
|
|
17923
|
+
_t("div", BD, [
|
|
17924
|
+
_t("span", YD, ft(n.tooltipTitle), 1),
|
|
17925
|
+
n.locked ? (J(), fe(nt(Fg), {
|
|
17926
17926
|
key: 0,
|
|
17927
17927
|
class: "drag-icon",
|
|
17928
17928
|
color: nt(nS)
|
|
17929
17929
|
}, null, 8, ["color"])) : Ut("", !0),
|
|
17930
17930
|
n.context ? (J(), pt("span", jD, ft(n.context), 1)) : Ut("", !0)
|
|
17931
17931
|
]),
|
|
17932
|
-
|
|
17932
|
+
_t("ul", $D, [
|
|
17933
17933
|
(J(!0), pt(Bs, null, Cl(n.series, ({ backgroundColor: y, borderColor: x, label: v, value: M, isSegmentEmpty: D }) => (J(), pt(Bs, { key: v }, [
|
|
17934
17934
|
n.series.length ? (J(), pt("li", UD, [
|
|
17935
|
-
|
|
17935
|
+
_t("div", {
|
|
17936
17936
|
class: "square-marker",
|
|
17937
17937
|
style: fi({ background: y, "border-color": x })
|
|
17938
17938
|
}, null, 4),
|
|
17939
|
-
|
|
17939
|
+
_t("span", {
|
|
17940
17940
|
class: Un(["display-label", { empty: D }])
|
|
17941
17941
|
}, ft(v), 3),
|
|
17942
|
-
|
|
17942
|
+
_t("span", qD, ft(M), 1)
|
|
17943
17943
|
])) : Ut("", !0)
|
|
17944
17944
|
], 64))), 128))
|
|
17945
17945
|
])
|
|
@@ -18023,12 +18023,12 @@ const BD = { class: "tooltip-title" }, YD = { class: "title font-bold" }, jD = {
|
|
|
18023
18023
|
const v = (S = 0, k) => {
|
|
18024
18024
|
if (t.chartInstance === null)
|
|
18025
18025
|
return;
|
|
18026
|
-
const E = t.chartInstance instanceof
|
|
18026
|
+
const E = t.chartInstance instanceof Ve ? t.chartInstance : t.chartInstance.chart;
|
|
18027
18027
|
M(S, k) ? E.hide(S, k) : E.show(S, k), E.update();
|
|
18028
18028
|
}, M = (S = 0, k) => {
|
|
18029
18029
|
if (t.chartInstance === null || t.chartInstance.chart === null)
|
|
18030
18030
|
return !0;
|
|
18031
|
-
const E = t.chartInstance instanceof
|
|
18031
|
+
const E = t.chartInstance instanceof Ve ? t.chartInstance : t.chartInstance.chart, A = E.getDatasetMeta(S);
|
|
18032
18032
|
return A.dataset || k === void 0 ? E.isDatasetVisible(S) : !(A.data.length && A.data[k].hidden);
|
|
18033
18033
|
}, D = (S) => ({
|
|
18034
18034
|
[$t.Right]: "vertical",
|
|
@@ -18049,18 +18049,18 @@ const BD = { class: "tooltip-title" }, YD = { class: "title font-bold" }, jD = {
|
|
|
18049
18049
|
ref_for: !0,
|
|
18050
18050
|
ref_key: "legendItemsRef",
|
|
18051
18051
|
ref: s,
|
|
18052
|
-
onClick: (
|
|
18052
|
+
onClick: (F) => v(T, L)
|
|
18053
18053
|
}, [
|
|
18054
|
-
|
|
18054
|
+
_t("div", {
|
|
18055
18055
|
class: "square-marker",
|
|
18056
18056
|
style: fi({ background: A, "border-color": m })
|
|
18057
18057
|
}, null, 4),
|
|
18058
18058
|
ie(E, null, uh({
|
|
18059
18059
|
default: Wt(() => [
|
|
18060
|
-
|
|
18060
|
+
_t("div", {
|
|
18061
18061
|
class: Un(["label-container", { "strike-through": !M(T, L) }])
|
|
18062
18062
|
}, [
|
|
18063
|
-
|
|
18063
|
+
_t("div", {
|
|
18064
18064
|
class: Un(["label", { "truncate-label": u.value, empty: R }])
|
|
18065
18065
|
}, ft(b), 3),
|
|
18066
18066
|
P && nt(r) ? (J(), pt("div", GD, ft(P.formatted), 1)) : Ut("", !0)
|
|
@@ -18071,7 +18071,7 @@ const BD = { class: "tooltip-title" }, YD = { class: "title font-bold" }, jD = {
|
|
|
18071
18071
|
R ? {
|
|
18072
18072
|
name: "content",
|
|
18073
18073
|
fn: Wt(() => [
|
|
18074
|
-
|
|
18074
|
+
_t("div", KD, ft(nt(e).t("emptyEntityInfo")), 1)
|
|
18075
18075
|
]),
|
|
18076
18076
|
key: "0"
|
|
18077
18077
|
} : void 0
|
|
@@ -18295,8 +18295,8 @@ const nk = ["id"], ik = ["id"], sk = { class: "axis-tooltip-content" }, eh = 6,
|
|
|
18295
18295
|
},
|
|
18296
18296
|
a,
|
|
18297
18297
|
...t.annotations ? [m] : []
|
|
18298
|
-
], P = $(() => t.chartData.labels && t.chartData.labels.length || 0), R = bt(0),
|
|
18299
|
-
R.value = W[0].contentRect.width,
|
|
18298
|
+
], P = $(() => t.chartData.labels && t.chartData.labels.length || 0), R = bt(0), F = bt(0), X = new ResizeObserver(Pf((W) => {
|
|
18299
|
+
R.value = W[0].contentRect.width, F.value = W[0].contentRect.height;
|
|
18300
18300
|
}, 100)), K = $(() => {
|
|
18301
18301
|
var q, U;
|
|
18302
18302
|
const W = (U = (q = t.chartData) == null ? void 0 : q.labels) == null ? void 0 : U.length;
|
|
@@ -18304,10 +18304,10 @@ const nk = ["id"], ik = ["id"], sk = { class: "axis-tooltip-content" }, eh = 6,
|
|
|
18304
18304
|
}), z = $(() => {
|
|
18305
18305
|
var q, U;
|
|
18306
18306
|
const W = (U = (q = t.chartData) == null ? void 0 : q.labels) == null ? void 0 : U.length;
|
|
18307
|
-
return u.value && W && D.value ? `${Math.max(W * (lk + nh),
|
|
18307
|
+
return u.value && W && D.value ? `${Math.max(W * (lk + nh), F.value)}px` : ak;
|
|
18308
18308
|
});
|
|
18309
18309
|
wt.useReportChartDataForSynthetics(Lt(t, "chartData"), Lt(t, "syntheticsDataKey")), Gs(() => {
|
|
18310
|
-
t.annotations &&
|
|
18310
|
+
t.annotations && Ve.register(Qd), o.value && (R.value = o.value.offsetWidth, F.value = o.value.offsetHeight, X.observe(o.value));
|
|
18311
18311
|
}), Ki(() => {
|
|
18312
18312
|
o.value && X.unobserve(o.value);
|
|
18313
18313
|
});
|
|
@@ -18351,7 +18351,7 @@ const nk = ["id"], ik = ["id"], sk = { class: "axis-tooltip-content" }, eh = 6,
|
|
|
18351
18351
|
return U.map((Q) => Ku(Po(Q, M.value) + Qu(Q, H))).reduce((Q, at) => Math.max(Q, at), 0) + eh;
|
|
18352
18352
|
});
|
|
18353
18353
|
Tl(() => {
|
|
18354
|
-
|
|
18354
|
+
Ve.unregister(Qd);
|
|
18355
18355
|
});
|
|
18356
18356
|
const At = {
|
|
18357
18357
|
[$t.Right]: "legend-row",
|
|
@@ -18393,24 +18393,24 @@ const nk = ["id"], ik = ["id"], sk = { class: "axis-tooltip-content" }, eh = 6,
|
|
|
18393
18393
|
return (W, q) => (J(), pt("div", {
|
|
18394
18394
|
class: Un(["chart-parent", At[x.value]])
|
|
18395
18395
|
}, [
|
|
18396
|
-
|
|
18396
|
+
_t("canvas", {
|
|
18397
18397
|
id: nt(s),
|
|
18398
18398
|
ref_key: "axis",
|
|
18399
18399
|
ref: d,
|
|
18400
18400
|
class: "axis"
|
|
18401
18401
|
}, null, 8, nk),
|
|
18402
|
-
|
|
18402
|
+
_t("div", {
|
|
18403
18403
|
ref_key: "chartContainerRef",
|
|
18404
18404
|
ref: o,
|
|
18405
18405
|
class: "chart-container",
|
|
18406
18406
|
"on:scroll": st,
|
|
18407
18407
|
onClick: q[0] || (q[0] = (U) => yt())
|
|
18408
18408
|
}, [
|
|
18409
|
-
|
|
18409
|
+
_t("div", {
|
|
18410
18410
|
class: "chart-body",
|
|
18411
18411
|
style: fi({ width: K.value, height: z.value })
|
|
18412
18412
|
}, [
|
|
18413
|
-
|
|
18413
|
+
_t("canvas", {
|
|
18414
18414
|
id: nt(r),
|
|
18415
18415
|
ref_key: "canvas",
|
|
18416
18416
|
ref: u,
|
|
@@ -18424,7 +18424,7 @@ const nk = ["id"], ik = ["id"], sk = { class: "axis-tooltip-content" }, eh = 6,
|
|
|
18424
18424
|
style: fi({ top: v.value.top, left: v.value.left }),
|
|
18425
18425
|
width: "auto"
|
|
18426
18426
|
}, [
|
|
18427
|
-
|
|
18427
|
+
_t("div", sk, ft(v.value.text), 1)
|
|
18428
18428
|
], 4)) : Ut("", !0),
|
|
18429
18429
|
ie(gc, {
|
|
18430
18430
|
context: S.tooltipContext,
|
|
@@ -18552,7 +18552,7 @@ Wh._date.override({
|
|
|
18552
18552
|
endOf: function(n, t) {
|
|
18553
18553
|
switch (t) {
|
|
18554
18554
|
case "second":
|
|
18555
|
-
return
|
|
18555
|
+
return F_(n);
|
|
18556
18556
|
case "minute":
|
|
18557
18557
|
return I_(n);
|
|
18558
18558
|
case "hour":
|
|
@@ -18564,7 +18564,7 @@ Wh._date.override({
|
|
|
18564
18564
|
case "month":
|
|
18565
18565
|
return ff(n);
|
|
18566
18566
|
case "quarter":
|
|
18567
|
-
return
|
|
18567
|
+
return N_(n);
|
|
18568
18568
|
case "year":
|
|
18569
18569
|
return A_(n);
|
|
18570
18570
|
default:
|
|
@@ -18615,7 +18615,7 @@ const _g = {
|
|
|
18615
18615
|
}, bk = Eg[0] === "2" ? (n, t) => Object.assign(n, {
|
|
18616
18616
|
attrs: t
|
|
18617
18617
|
}) : (n, t) => Object.assign(n, t);
|
|
18618
|
-
function
|
|
18618
|
+
function Fi(n) {
|
|
18619
18619
|
return dh(n) ? qo(n) : n;
|
|
18620
18620
|
}
|
|
18621
18621
|
function _k(n) {
|
|
@@ -18656,7 +18656,7 @@ const wk = _e({
|
|
|
18656
18656
|
const a = () => {
|
|
18657
18657
|
if (!s.value) return;
|
|
18658
18658
|
const { type: c, data: u, options: d, plugins: h, datasetIdKey: f } = n, g = vk(u, f), y = _k(g, u);
|
|
18659
|
-
r.value = new
|
|
18659
|
+
r.value = new Ve(s.value, {
|
|
18660
18660
|
type: c,
|
|
18661
18661
|
data: y,
|
|
18662
18662
|
options: {
|
|
@@ -18682,11 +18682,11 @@ const wk = _e({
|
|
|
18682
18682
|
return;
|
|
18683
18683
|
let x = !1;
|
|
18684
18684
|
if (d) {
|
|
18685
|
-
const v =
|
|
18685
|
+
const v = Fi(d), M = Fi(f);
|
|
18686
18686
|
v && v !== M && (xk(y, v), x = !0);
|
|
18687
18687
|
}
|
|
18688
18688
|
if (h) {
|
|
18689
|
-
const v =
|
|
18689
|
+
const v = Fi(h.labels), M = Fi(g.labels), D = Fi(h.datasets), S = Fi(g.datasets);
|
|
18690
18690
|
v !== M && (xg(y.config.data, v), x = !0), D && D !== S && (vg(y.config.data, D, n.datasetIdKey), x = !0);
|
|
18691
18691
|
}
|
|
18692
18692
|
x && Ag(() => {
|
|
@@ -18707,7 +18707,7 @@ const wk = _e({
|
|
|
18707
18707
|
}
|
|
18708
18708
|
});
|
|
18709
18709
|
function mc(n, t) {
|
|
18710
|
-
return
|
|
18710
|
+
return Ve.register(t), _e({
|
|
18711
18711
|
props: _g,
|
|
18712
18712
|
setup(e, i) {
|
|
18713
18713
|
let { expose: s } = i;
|
|
@@ -18725,7 +18725,7 @@ function mc(n, t) {
|
|
|
18725
18725
|
}
|
|
18726
18726
|
});
|
|
18727
18727
|
}
|
|
18728
|
-
const Mk = /* @__PURE__ */ mc("bar",
|
|
18728
|
+
const Mk = /* @__PURE__ */ mc("bar", Ns), wg = /* @__PURE__ */ mc("doughnut", Dn), Sk = /* @__PURE__ */ mc("line", Fs), Dk = { class: "chart-container" }, kk = /* @__PURE__ */ _e({
|
|
18729
18729
|
__name: "DonutChart",
|
|
18730
18730
|
props: {
|
|
18731
18731
|
chartData: {
|
|
@@ -18802,7 +18802,7 @@ const Mk = /* @__PURE__ */ mc("bar", Fs), wg = /* @__PURE__ */ mc("doughnut", Dn
|
|
|
18802
18802
|
class: Un(["chart-parent", f(n.legendPosition)]),
|
|
18803
18803
|
"data-testid": "donut-chart-parent"
|
|
18804
18804
|
}, [
|
|
18805
|
-
|
|
18805
|
+
_t("div", Dk, [
|
|
18806
18806
|
ie(nt(wg), {
|
|
18807
18807
|
ref_key: "chartInstance",
|
|
18808
18808
|
ref: h,
|
|
@@ -19036,7 +19036,7 @@ const Ek = /* @__PURE__ */ _e({
|
|
|
19036
19036
|
pointsWithoutHover: S
|
|
19037
19037
|
});
|
|
19038
19038
|
wt.useReportChartDataForSynthetics(Lt(e, "chartData"), Lt(e, "syntheticsDataKey"));
|
|
19039
|
-
const E = (P) =>
|
|
19039
|
+
const E = (P) => Ff(new Date(P), e.granularity, !0), A = (P) => ({
|
|
19040
19040
|
[$t.Right]: "legend-row",
|
|
19041
19041
|
[$t.Bottom]: "column",
|
|
19042
19042
|
[$t.Hidden]: "hidden"
|
|
@@ -19050,8 +19050,8 @@ const Ek = /* @__PURE__ */ _e({
|
|
|
19050
19050
|
y.locked = !1, y.showTooltip = !1, s.destroyClickedSegment();
|
|
19051
19051
|
});
|
|
19052
19052
|
const T = (P) => {
|
|
19053
|
-
const { xStart: R, xEnd:
|
|
19054
|
-
R &&
|
|
19053
|
+
const { xStart: R, xEnd: F } = P.detail;
|
|
19054
|
+
R && F && i("zoom-time-range", { start: new Date(R), end: new Date(F), type: "absolute" }), g.value = !1, b(), s.resume();
|
|
19055
19055
|
}, L = () => {
|
|
19056
19056
|
g.value = !0, s.pause();
|
|
19057
19057
|
};
|
|
@@ -19068,9 +19068,9 @@ const Ek = /* @__PURE__ */ _e({
|
|
|
19068
19068
|
class: Un(["chart-parent", A(f.value)]),
|
|
19069
19069
|
"data-testid": "line-chart-parent"
|
|
19070
19070
|
}, [
|
|
19071
|
-
|
|
19071
|
+
_t("div", {
|
|
19072
19072
|
class: "chart-container",
|
|
19073
|
-
onClick: R[0] || (R[0] = (
|
|
19073
|
+
onClick: R[0] || (R[0] = (F) => b())
|
|
19074
19074
|
}, [
|
|
19075
19075
|
n.type === "timeseries_line" ? (J(), fe(nt(Sk), {
|
|
19076
19076
|
key: M.value,
|
|
@@ -19108,8 +19108,8 @@ const Ek = /* @__PURE__ */ _e({
|
|
|
19108
19108
|
top: y.top,
|
|
19109
19109
|
unit: n.metricUnit,
|
|
19110
19110
|
onDimensions: m,
|
|
19111
|
-
onLeft: R[1] || (R[1] = (
|
|
19112
|
-
onTop: R[2] || (R[2] = (
|
|
19111
|
+
onLeft: R[1] || (R[1] = (F) => y.left = F),
|
|
19112
|
+
onTop: R[2] || (R[2] = (F) => y.top = F)
|
|
19113
19113
|
}, null, 8, ["context", "left", "locked", "series", "show-tooltip", "tooltip-title", "top", "unit"])),
|
|
19114
19114
|
ie(pc, {
|
|
19115
19115
|
id: nt(c),
|
|
@@ -19119,15 +19119,15 @@ const Ek = /* @__PURE__ */ _e({
|
|
|
19119
19119
|
}, null, 8, ["id", "chart-instance", "items"])
|
|
19120
19120
|
], 2));
|
|
19121
19121
|
}
|
|
19122
|
-
}), Ak = /* @__PURE__ */ fn(Ek, [["__scopeId", "data-v-c10833c9"]]),
|
|
19122
|
+
}), Ak = /* @__PURE__ */ fn(Ek, [["__scopeId", "data-v-c10833c9"]]), gC = ["hidden", "single", "full"];
|
|
19123
19123
|
var Wi = /* @__PURE__ */ ((n) => (n.String = "string", n.Number = "number", n.Boolean = "boolean", n.Object = "object", n.Undefined = "undefined", n))(Wi || {});
|
|
19124
|
-
const
|
|
19124
|
+
const pC = [
|
|
19125
19125
|
"donut",
|
|
19126
19126
|
"horizontal_bar",
|
|
19127
19127
|
"vertical_bar",
|
|
19128
19128
|
"timeseries_line",
|
|
19129
19129
|
"timeseries_bar"
|
|
19130
|
-
],
|
|
19130
|
+
], mC = [
|
|
19131
19131
|
"gauge",
|
|
19132
19132
|
"top_n",
|
|
19133
19133
|
"single_value"
|
|
@@ -19135,8 +19135,8 @@ const gC = [
|
|
|
19135
19135
|
var xa = { exports: {} };
|
|
19136
19136
|
xa.exports;
|
|
19137
19137
|
(function(n, t) {
|
|
19138
|
-
var e = 200, i = "Expected a function", s = "__lodash_hash_undefined__", r = 1, a = 2, o = 1 / 0, l = 9007199254740991, c = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", g = "[object Function]", y = "[object GeneratorFunction]", x = "[object Map]", v = "[object Number]", M = "[object Object]", D = "[object Promise]", S = "[object RegExp]", k = "[object Set]", E = "[object String]", A = "[object Symbol]", m = "[object WeakMap]", b = "[object ArrayBuffer]", T = "[object DataView]", L = "[object Float32Array]", P = "[object Float64Array]", R = "[object Int8Array]",
|
|
19139
|
-
U[L] = U[P] = U[R] = U[
|
|
19138
|
+
var e = 200, i = "Expected a function", s = "__lodash_hash_undefined__", r = 1, a = 2, o = 1 / 0, l = 9007199254740991, c = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", g = "[object Function]", y = "[object GeneratorFunction]", x = "[object Map]", v = "[object Number]", M = "[object Object]", D = "[object Promise]", S = "[object RegExp]", k = "[object Set]", E = "[object String]", A = "[object Symbol]", m = "[object WeakMap]", b = "[object ArrayBuffer]", T = "[object DataView]", L = "[object Float32Array]", P = "[object Float64Array]", R = "[object Int8Array]", F = "[object Int16Array]", X = "[object Int32Array]", K = "[object Uint8Array]", z = "[object Uint8ClampedArray]", ht = "[object Uint16Array]", Y = "[object Uint32Array]", tt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, At = /^\w*$/, j = /^\./, st = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Mt = /[\\^$.*+?()[\]{}|]/g, yt = /\\(\\)?/g, W = /^\[object .+?Constructor\]$/, q = /^(?:0|[1-9]\d*)$/, U = {};
|
|
19139
|
+
U[L] = U[P] = U[R] = U[F] = U[X] = U[K] = U[z] = U[ht] = U[Y] = !0, U[c] = U[u] = U[b] = U[d] = U[T] = U[h] = U[f] = U[g] = U[x] = U[v] = U[M] = U[S] = U[k] = U[E] = U[m] = !1;
|
|
19140
19140
|
var H = typeof Re == "object" && Re && Re.Object === Object && Re, V = typeof self == "object" && self && self.Object === Object && self, Q = H || V || Function("return this")(), at = t && !t.nodeType && t, ct = at && !0 && n && !n.nodeType && n, ut = ct && ct.exports === at, kt = ut && H.process, vt = function() {
|
|
19141
19141
|
try {
|
|
19142
19142
|
return kt && kt.binding("util");
|
|
@@ -19182,7 +19182,7 @@ xa.exports;
|
|
|
19182
19182
|
I[++w] = [ot, B];
|
|
19183
19183
|
}), I;
|
|
19184
19184
|
}
|
|
19185
|
-
function
|
|
19185
|
+
function xt(p, w) {
|
|
19186
19186
|
return function(I) {
|
|
19187
19187
|
return p(w(I));
|
|
19188
19188
|
};
|
|
@@ -19193,12 +19193,12 @@ xa.exports;
|
|
|
19193
19193
|
I[++w] = B;
|
|
19194
19194
|
}), I;
|
|
19195
19195
|
}
|
|
19196
|
-
var Se = Array.prototype, Be = Function.prototype, ge = Object.prototype, De = Q["__core-js_shared__"],
|
|
19196
|
+
var Se = Array.prototype, Be = Function.prototype, ge = Object.prototype, De = Q["__core-js_shared__"], Fe = function() {
|
|
19197
19197
|
var p = /[^.]+$/.exec(De && De.keys && De.keys.IE_PROTO || "");
|
|
19198
19198
|
return p ? "Symbol(src)_1." + p : "";
|
|
19199
19199
|
}(), de = Be.toString, pe = ge.hasOwnProperty, Yt = ge.toString, wi = RegExp(
|
|
19200
19200
|
"^" + de.call(pe).replace(Mt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
19201
|
-
), Cn = Q.Symbol, Mi = Q.Uint8Array, ti = ge.propertyIsEnumerable, es = Se.splice, ns =
|
|
19201
|
+
), Cn = Q.Symbol, Mi = Q.Uint8Array, ti = ge.propertyIsEnumerable, es = Se.splice, ns = xt(Object.keys, Object), ei = Te(Q, "DataView"), Ge = Te(Q, "Map"), is = Te(Q, "Promise"), ss = Te(Q, "Set"), rs = Te(Q, "WeakMap"), ni = Te(Object, "create"), La = Je(ei), cr = Je(Ge), ur = Je(is), gn = Je(ss), Ia = Je(rs), Si = Cn ? Cn.prototype : void 0, as = Si ? Si.valueOf : void 0, dr = Si ? Si.toString : void 0;
|
|
19202
19202
|
function pn(p) {
|
|
19203
19203
|
var w = -1, I = p ? p.length : 0;
|
|
19204
19204
|
for (this.clear(); ++w < I; ) {
|
|
@@ -19206,13 +19206,13 @@ xa.exports;
|
|
|
19206
19206
|
this.set(B[0], B[1]);
|
|
19207
19207
|
}
|
|
19208
19208
|
}
|
|
19209
|
-
function
|
|
19209
|
+
function Ke() {
|
|
19210
19210
|
this.__data__ = ni ? ni(null) : {};
|
|
19211
19211
|
}
|
|
19212
|
-
function
|
|
19212
|
+
function Na(p) {
|
|
19213
19213
|
return this.has(p) && delete this.__data__[p];
|
|
19214
19214
|
}
|
|
19215
|
-
function
|
|
19215
|
+
function Fa(p) {
|
|
19216
19216
|
var w = this.__data__;
|
|
19217
19217
|
if (ni) {
|
|
19218
19218
|
var I = w[p];
|
|
@@ -19228,8 +19228,8 @@ xa.exports;
|
|
|
19228
19228
|
var I = this.__data__;
|
|
19229
19229
|
return I[p] = ni && w === void 0 ? s : w, this;
|
|
19230
19230
|
}
|
|
19231
|
-
pn.prototype.clear =
|
|
19232
|
-
function
|
|
19231
|
+
pn.prototype.clear = Ke, pn.prototype.delete = Na, pn.prototype.get = Fa, pn.prototype.has = za, pn.prototype.set = Ha;
|
|
19232
|
+
function Ze(p) {
|
|
19233
19233
|
var w = -1, I = p ? p.length : 0;
|
|
19234
19234
|
for (this.clear(); ++w < I; ) {
|
|
19235
19235
|
var B = p[w];
|
|
@@ -19257,8 +19257,8 @@ xa.exports;
|
|
|
19257
19257
|
var I = this.__data__, B = ki(I, p);
|
|
19258
19258
|
return B < 0 ? I.push([p, w]) : I[B][1] = w, this;
|
|
19259
19259
|
}
|
|
19260
|
-
|
|
19261
|
-
function
|
|
19260
|
+
Ze.prototype.clear = On, Ze.prototype.delete = Wa, Ze.prototype.get = Ba, Ze.prototype.has = Ya, Ze.prototype.set = ja;
|
|
19261
|
+
function Qe(p) {
|
|
19262
19262
|
var w = -1, I = p ? p.length : 0;
|
|
19263
19263
|
for (this.clear(); ++w < I; ) {
|
|
19264
19264
|
var B = p[w];
|
|
@@ -19268,7 +19268,7 @@ xa.exports;
|
|
|
19268
19268
|
function Pn() {
|
|
19269
19269
|
this.__data__ = {
|
|
19270
19270
|
hash: new pn(),
|
|
19271
|
-
map: new (
|
|
19271
|
+
map: new (Ge || Ze)(),
|
|
19272
19272
|
string: new pn()
|
|
19273
19273
|
};
|
|
19274
19274
|
}
|
|
@@ -19284,10 +19284,10 @@ xa.exports;
|
|
|
19284
19284
|
function Va(p, w) {
|
|
19285
19285
|
return Ci(this, p).set(p, w), this;
|
|
19286
19286
|
}
|
|
19287
|
-
|
|
19287
|
+
Qe.prototype.clear = Pn, Qe.prototype.delete = $a, Qe.prototype.get = Ua, Qe.prototype.has = qa, Qe.prototype.set = Va;
|
|
19288
19288
|
function Di(p) {
|
|
19289
19289
|
var w = -1, I = p ? p.length : 0;
|
|
19290
|
-
for (this.__data__ = new
|
|
19290
|
+
for (this.__data__ = new Qe(); ++w < I; )
|
|
19291
19291
|
this.add(p[w]);
|
|
19292
19292
|
}
|
|
19293
19293
|
function Xa(p) {
|
|
@@ -19298,10 +19298,10 @@ xa.exports;
|
|
|
19298
19298
|
}
|
|
19299
19299
|
Di.prototype.add = Di.prototype.push = Xa, Di.prototype.has = hr;
|
|
19300
19300
|
function ke(p) {
|
|
19301
|
-
this.__data__ = new
|
|
19301
|
+
this.__data__ = new Ze(p);
|
|
19302
19302
|
}
|
|
19303
19303
|
function Ga() {
|
|
19304
|
-
this.__data__ = new
|
|
19304
|
+
this.__data__ = new Ze();
|
|
19305
19305
|
}
|
|
19306
19306
|
function os(p) {
|
|
19307
19307
|
return this.__data__.delete(p);
|
|
@@ -19314,11 +19314,11 @@ xa.exports;
|
|
|
19314
19314
|
}
|
|
19315
19315
|
function Qa(p, w) {
|
|
19316
19316
|
var I = this.__data__;
|
|
19317
|
-
if (I instanceof
|
|
19317
|
+
if (I instanceof Ze) {
|
|
19318
19318
|
var B = I.__data__;
|
|
19319
|
-
if (!
|
|
19319
|
+
if (!Ge || B.length < e - 1)
|
|
19320
19320
|
return B.push([p, w]), this;
|
|
19321
|
-
I = this.__data__ = new
|
|
19321
|
+
I = this.__data__ = new Qe(B);
|
|
19322
19322
|
}
|
|
19323
19323
|
return I.set(p, w), this;
|
|
19324
19324
|
}
|
|
@@ -19396,7 +19396,7 @@ xa.exports;
|
|
|
19396
19396
|
if (!Ce(p) || ho(p))
|
|
19397
19397
|
return !1;
|
|
19398
19398
|
var w = Qt(p) || Rt(p) ? wi : W;
|
|
19399
|
-
return w.test(
|
|
19399
|
+
return w.test(Je(p));
|
|
19400
19400
|
}
|
|
19401
19401
|
function gr(p) {
|
|
19402
19402
|
return ee(p) && oe(p.length) && !!U[Yt.call(p)];
|
|
@@ -19565,8 +19565,8 @@ xa.exports;
|
|
|
19565
19565
|
return ro(I) ? I : void 0;
|
|
19566
19566
|
}
|
|
19567
19567
|
var rn = eo;
|
|
19568
|
-
(ei && rn(new ei(new ArrayBuffer(1))) != T ||
|
|
19569
|
-
var w = Yt.call(p), I = w == M ? p.constructor : void 0, B = I ?
|
|
19568
|
+
(ei && rn(new ei(new ArrayBuffer(1))) != T || Ge && rn(new Ge()) != x || is && rn(is.resolve()) != D || ss && rn(new ss()) != k || rs && rn(new rs()) != m) && (rn = function(p) {
|
|
19569
|
+
var w = Yt.call(p), I = w == M ? p.constructor : void 0, B = I ? Je(I) : void 0;
|
|
19570
19570
|
if (B)
|
|
19571
19571
|
switch (B) {
|
|
19572
19572
|
case La:
|
|
@@ -19609,7 +19609,7 @@ xa.exports;
|
|
|
19609
19609
|
return w == "string" || w == "number" || w == "symbol" || w == "boolean" ? p !== "__proto__" : p === null;
|
|
19610
19610
|
}
|
|
19611
19611
|
function ho(p) {
|
|
19612
|
-
return !!
|
|
19612
|
+
return !!Fe && Fe in p;
|
|
19613
19613
|
}
|
|
19614
19614
|
function fo(p) {
|
|
19615
19615
|
var w = p && p.constructor, I = typeof w == "function" && w.prototype || ge;
|
|
@@ -19636,7 +19636,7 @@ xa.exports;
|
|
|
19636
19636
|
var w = p + "";
|
|
19637
19637
|
return w == "0" && 1 / p == -o ? "-0" : w;
|
|
19638
19638
|
}
|
|
19639
|
-
function
|
|
19639
|
+
function Je(p) {
|
|
19640
19640
|
if (p != null) {
|
|
19641
19641
|
try {
|
|
19642
19642
|
return de.call(p);
|
|
@@ -19659,9 +19659,9 @@ xa.exports;
|
|
|
19659
19659
|
var gt = p.apply(this, B);
|
|
19660
19660
|
return I.cache = Z.set(ot, gt), gt;
|
|
19661
19661
|
};
|
|
19662
|
-
return I.cache = new (ds.Cache ||
|
|
19662
|
+
return I.cache = new (ds.Cache || Qe)(), I;
|
|
19663
19663
|
}
|
|
19664
|
-
ds.Cache =
|
|
19664
|
+
ds.Cache = Qe;
|
|
19665
19665
|
function Mr(p, w) {
|
|
19666
19666
|
return p === w || p !== p && w !== w;
|
|
19667
19667
|
}
|
|
@@ -19669,11 +19669,11 @@ xa.exports;
|
|
|
19669
19669
|
return G(p) && pe.call(p, "callee") && (!ti.call(p, "callee") || Yt.call(p) == c);
|
|
19670
19670
|
}
|
|
19671
19671
|
var O = Array.isArray;
|
|
19672
|
-
function
|
|
19672
|
+
function N(p) {
|
|
19673
19673
|
return p != null && oe(p.length) && !Qt(p);
|
|
19674
19674
|
}
|
|
19675
19675
|
function G(p) {
|
|
19676
|
-
return ee(p) &&
|
|
19676
|
+
return ee(p) && N(p);
|
|
19677
19677
|
}
|
|
19678
19678
|
function Qt(p) {
|
|
19679
19679
|
var w = Ce(p) ? Yt.call(p) : "";
|
|
@@ -19704,7 +19704,7 @@ xa.exports;
|
|
|
19704
19704
|
return p != null && _r(p, w, no);
|
|
19705
19705
|
}
|
|
19706
19706
|
function Ln(p) {
|
|
19707
|
-
return
|
|
19707
|
+
return N(p) ? Ja(p) : oo(p);
|
|
19708
19708
|
}
|
|
19709
19709
|
function Ai(p, w) {
|
|
19710
19710
|
var I = {};
|
|
@@ -19722,7 +19722,7 @@ xa.exports;
|
|
|
19722
19722
|
})(xa, xa.exports);
|
|
19723
19723
|
var Rk = xa.exports;
|
|
19724
19724
|
const Lk = /* @__PURE__ */ rc(Rk);
|
|
19725
|
-
var Ik = 1 / 0,
|
|
19725
|
+
var Ik = 1 / 0, Nk = 9007199254740991, Fk = "[object Arguments]", zk = "[object Function]", Hk = "[object GeneratorFunction]", Wk = "[object Symbol]", Bk = typeof Re == "object" && Re && Re.Object === Object && Re, Yk = typeof self == "object" && self && self.Object === Object && self, jk = Bk || Yk || Function("return this")();
|
|
19726
19726
|
function $k(n, t, e) {
|
|
19727
19727
|
switch (e.length) {
|
|
19728
19728
|
case 0:
|
|
@@ -19787,7 +19787,7 @@ function tT(n) {
|
|
|
19787
19787
|
return t == "0" && 1 / n == -Ik ? "-0" : t;
|
|
19788
19788
|
}
|
|
19789
19789
|
function eT(n) {
|
|
19790
|
-
return sT(n) && Vk.call(n, "callee") && (!Xk.call(n, "callee") || bc.call(n) ==
|
|
19790
|
+
return sT(n) && Vk.call(n, "callee") && (!Xk.call(n, "callee") || bc.call(n) == Fk);
|
|
19791
19791
|
}
|
|
19792
19792
|
var nT = Array.isArray;
|
|
19793
19793
|
function iT(n) {
|
|
@@ -19801,7 +19801,7 @@ function rT(n) {
|
|
|
19801
19801
|
return t == zk || t == Hk;
|
|
19802
19802
|
}
|
|
19803
19803
|
function aT(n) {
|
|
19804
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
19804
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Nk;
|
|
19805
19805
|
}
|
|
19806
19806
|
function oT(n) {
|
|
19807
19807
|
var t = typeof n;
|
|
@@ -19902,8 +19902,8 @@ License: MIT
|
|
|
19902
19902
|
if (A(T) && (b.dynamicTypingFunction = T, T = {}), b.dynamicTyping = T, b.transform = !!A(b.transform) && b.transform, b.worker && l.WORKERS_SUPPORTED) {
|
|
19903
19903
|
var L = function() {
|
|
19904
19904
|
if (!l.WORKERS_SUPPORTED) return !1;
|
|
19905
|
-
var R = (X = i.URL || i.webkitURL || null, K = e.toString(), l.BLOB_URL || (l.BLOB_URL = X.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", K, ")();"], { type: "text/javascript" })))),
|
|
19906
|
-
return
|
|
19905
|
+
var R = (X = i.URL || i.webkitURL || null, K = e.toString(), l.BLOB_URL || (l.BLOB_URL = X.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", K, ")();"], { type: "text/javascript" })))), F = new i.Worker(R), X, K;
|
|
19906
|
+
return F.onmessage = M, F.id = o++, a[F.id] = F;
|
|
19907
19907
|
}();
|
|
19908
19908
|
return L.userStep = b.step, L.userChunk = b.chunk, L.userComplete = b.complete, L.userError = b.error, b.step = A(b.step), b.chunk = A(b.chunk), b.complete = A(b.complete), b.error = A(b.error), delete b.worker, void L.postMessage({ input: m, config: b, workerId: L.id });
|
|
19909
19909
|
}
|
|
@@ -19913,19 +19913,19 @@ License: MIT
|
|
|
19913
19913
|
}(m), P = b.download ? new d(b) : new f(b)) : m.readable === !0 && A(m.read) && A(m.on) ? P = new g(b) : (i.File && m instanceof File || m instanceof Object) && (P = new h(b)), P.stream(m);
|
|
19914
19914
|
}, unparse: function(m, b) {
|
|
19915
19915
|
var T = !1, L = !0, P = ",", R = `\r
|
|
19916
|
-
`,
|
|
19916
|
+
`, F = '"', X = F + F, K = !1, z = null, ht = !1;
|
|
19917
19917
|
(function() {
|
|
19918
19918
|
if (typeof b == "object") {
|
|
19919
19919
|
if (typeof b.delimiter != "string" || l.BAD_DELIMITERS.filter(function(j) {
|
|
19920
19920
|
return b.delimiter.indexOf(j) !== -1;
|
|
19921
|
-
}).length || (P = b.delimiter), (typeof b.quotes == "boolean" || typeof b.quotes == "function" || Array.isArray(b.quotes)) && (T = b.quotes), typeof b.skipEmptyLines != "boolean" && typeof b.skipEmptyLines != "string" || (K = b.skipEmptyLines), typeof b.newline == "string" && (R = b.newline), typeof b.quoteChar == "string" && (
|
|
19921
|
+
}).length || (P = b.delimiter), (typeof b.quotes == "boolean" || typeof b.quotes == "function" || Array.isArray(b.quotes)) && (T = b.quotes), typeof b.skipEmptyLines != "boolean" && typeof b.skipEmptyLines != "string" || (K = b.skipEmptyLines), typeof b.newline == "string" && (R = b.newline), typeof b.quoteChar == "string" && (F = b.quoteChar), typeof b.header == "boolean" && (L = b.header), Array.isArray(b.columns)) {
|
|
19922
19922
|
if (b.columns.length === 0) throw new Error("Option columns is empty");
|
|
19923
19923
|
z = b.columns;
|
|
19924
19924
|
}
|
|
19925
|
-
b.escapeChar !== void 0 && (X = b.escapeChar +
|
|
19925
|
+
b.escapeChar !== void 0 && (X = b.escapeChar + F), (typeof b.escapeFormulae == "boolean" || b.escapeFormulae instanceof RegExp) && (ht = b.escapeFormulae instanceof RegExp ? b.escapeFormulae : /^[=+\-@\t\r].*$/);
|
|
19926
19926
|
}
|
|
19927
19927
|
})();
|
|
19928
|
-
var Y = new RegExp(x(
|
|
19928
|
+
var Y = new RegExp(x(F), "g");
|
|
19929
19929
|
if (typeof m == "string" && (m = JSON.parse(m)), Array.isArray(m)) {
|
|
19930
19930
|
if (!m.length || Array.isArray(m[0])) return tt(null, m, K);
|
|
19931
19931
|
if (typeof m[0] == "object") return tt(z || Object.keys(m[0]), m, K);
|
|
@@ -19968,7 +19968,7 @@ License: MIT
|
|
|
19968
19968
|
return (Mt = Mt || T === !0 || typeof T == "function" && T(j, st) || Array.isArray(T) && T[st] || function(W, q) {
|
|
19969
19969
|
for (var U = 0; U < q.length; U++) if (-1 < W.indexOf(q[U])) return !0;
|
|
19970
19970
|
return !1;
|
|
19971
|
-
}(yt, l.BAD_DELIMITERS) || -1 < yt.indexOf(P) || yt.charAt(0) === " " || yt.charAt(yt.length - 1) === " ") ?
|
|
19971
|
+
}(yt, l.BAD_DELIMITERS) || -1 < yt.indexOf(P) || yt.charAt(0) === " " || yt.charAt(yt.length - 1) === " ") ? F + yt + F : yt;
|
|
19972
19972
|
}
|
|
19973
19973
|
} };
|
|
19974
19974
|
if (l.RECORD_SEP = "", l.UNIT_SEP = "", l.BYTE_ORDER_MARK = "\uFEFF", l.BAD_DELIMITERS = ["\r", `
|
|
@@ -19978,15 +19978,15 @@ License: MIT
|
|
|
19978
19978
|
var b = m.config || {}, T = [];
|
|
19979
19979
|
return this.each(function(R) {
|
|
19980
19980
|
if (!(c(this).prop("tagName").toUpperCase() === "INPUT" && c(this).attr("type").toLowerCase() === "file" && i.FileReader) || !this.files || this.files.length === 0) return !0;
|
|
19981
|
-
for (var
|
|
19981
|
+
for (var F = 0; F < this.files.length; F++) T.push({ file: this.files[F], inputElem: this, instanceConfig: c.extend({}, b) });
|
|
19982
19982
|
}), L(), this;
|
|
19983
19983
|
function L() {
|
|
19984
19984
|
if (T.length !== 0) {
|
|
19985
|
-
var R,
|
|
19985
|
+
var R, F, X, K, z = T[0];
|
|
19986
19986
|
if (A(m.before)) {
|
|
19987
19987
|
var ht = m.before(z.file, z.inputElem);
|
|
19988
19988
|
if (typeof ht == "object") {
|
|
19989
|
-
if (ht.action === "abort") return R = "AbortError",
|
|
19989
|
+
if (ht.action === "abort") return R = "AbortError", F = z.file, X = z.inputElem, K = ht.reason, void (A(m.error) && m.error({ name: R }, F, X, K));
|
|
19990
19990
|
if (ht.action === "skip") return void P();
|
|
19991
19991
|
typeof ht.config == "object" && (z.instanceConfig = c.extend(z.instanceConfig, ht.config));
|
|
19992
19992
|
} else if (ht === "skip") return void P();
|
|
@@ -20016,8 +20016,8 @@ License: MIT
|
|
|
20016
20016
|
this._partialLine = "";
|
|
20017
20017
|
var R = this._handle.parse(P, this._baseIndex, !this._finished);
|
|
20018
20018
|
if (!this._handle.paused() && !this._handle.aborted()) {
|
|
20019
|
-
var
|
|
20020
|
-
this._finished || (this._partialLine = P.substring(
|
|
20019
|
+
var F = R.meta.cursor;
|
|
20020
|
+
this._finished || (this._partialLine = P.substring(F - this._baseIndex), this._baseIndex = F), R && R.data && (this._rowCount += R.data.length);
|
|
20021
20021
|
var X = this._finished || this._config.preview && this._rowCount >= this._config.preview;
|
|
20022
20022
|
if (r) i.postMessage({ results: R, workerId: l.WORKER_ID, finished: X });
|
|
20023
20023
|
else if (A(this._config.chunk) && !T) {
|
|
@@ -20081,8 +20081,8 @@ License: MIT
|
|
|
20081
20081
|
var R = Math.min(this._start + this._config.chunkSize, this._input.size);
|
|
20082
20082
|
P = T.call(P, this._start, R);
|
|
20083
20083
|
}
|
|
20084
|
-
var
|
|
20085
|
-
L || this._chunkLoaded({ target: { result:
|
|
20084
|
+
var F = b.readAsText(P, this._config.encoding);
|
|
20085
|
+
L || this._chunkLoaded({ target: { result: F } });
|
|
20086
20086
|
}, this._chunkLoaded = function(P) {
|
|
20087
20087
|
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(P.target.result);
|
|
20088
20088
|
}, this._chunkError = function() {
|
|
@@ -20128,7 +20128,7 @@ License: MIT
|
|
|
20128
20128
|
}, this);
|
|
20129
20129
|
}
|
|
20130
20130
|
function y(m) {
|
|
20131
|
-
var b, T, L, P = Math.pow(2, 53), R = -P,
|
|
20131
|
+
var b, T, L, P = Math.pow(2, 53), R = -P, F = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, X = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, K = this, z = 0, ht = 0, Y = !1, tt = !1, At = [], j = { data: [], errors: [], meta: {} };
|
|
20132
20132
|
if (A(m.step)) {
|
|
20133
20133
|
var st = m.step;
|
|
20134
20134
|
m.step = function(H) {
|
|
@@ -20173,7 +20173,7 @@ License: MIT
|
|
|
20173
20173
|
}
|
|
20174
20174
|
function q(H, V) {
|
|
20175
20175
|
return Q = H, m.dynamicTypingFunction && m.dynamicTyping[Q] === void 0 && (m.dynamicTyping[Q] = m.dynamicTypingFunction(Q)), (m.dynamicTyping[Q] || m.dynamicTyping) === !0 ? V === "true" || V === "TRUE" || V !== "false" && V !== "FALSE" && (function(at) {
|
|
20176
|
-
if (
|
|
20176
|
+
if (F.test(at)) {
|
|
20177
20177
|
var ct = parseFloat(at);
|
|
20178
20178
|
if (R < ct && ct < P) return !0;
|
|
20179
20179
|
}
|
|
@@ -20203,14 +20203,14 @@ License: MIT
|
|
|
20203
20203
|
var se, re, Et, Rt;
|
|
20204
20204
|
ue = ue || [",", " ", "|", ";", l.RECORD_SEP, l.UNIT_SEP];
|
|
20205
20205
|
for (var ae = 0; ae < ue.length; ae++) {
|
|
20206
|
-
var
|
|
20206
|
+
var xt = ue[ae], sn = 0, Se = 0, Be = 0;
|
|
20207
20207
|
Et = void 0;
|
|
20208
|
-
for (var ge = new v({ comments: Zt, delimiter:
|
|
20208
|
+
for (var ge = new v({ comments: Zt, delimiter: xt, newline: vt, preview: 10 }).parse(kt), De = 0; De < ge.data.length; De++) if (Kt && Mt(ge.data[De])) Be++;
|
|
20209
20209
|
else {
|
|
20210
|
-
var
|
|
20211
|
-
Se +=
|
|
20210
|
+
var Fe = ge.data[De].length;
|
|
20211
|
+
Se += Fe, Et !== void 0 ? 0 < Fe && (sn += Math.abs(Fe - Et), Et = Fe) : Et = Fe;
|
|
20212
20212
|
}
|
|
20213
|
-
0 < ge.data.length && (Se /= ge.data.length - Be), (re === void 0 || sn <= re) && (Rt === void 0 || Rt < Se) && 1.99 < Se && (re = sn, se =
|
|
20213
|
+
0 < ge.data.length && (Se /= ge.data.length - Be), (re === void 0 || sn <= re) && (Rt === void 0 || Rt < Se) && 1.99 < Se && (re = sn, se = xt, Rt = Se);
|
|
20214
20214
|
}
|
|
20215
20215
|
return { successful: !!(m.delimiter = se), bestDelimiter: se };
|
|
20216
20216
|
}(H, m.newline, m.skipEmptyLines, m.comments, m.delimitersToGuess);
|
|
@@ -20234,7 +20234,7 @@ License: MIT
|
|
|
20234
20234
|
return m.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
20235
20235
|
}
|
|
20236
20236
|
function v(m) {
|
|
20237
|
-
var b, T = (m = m || {}).delimiter, L = m.newline, P = m.comments, R = m.step,
|
|
20237
|
+
var b, T = (m = m || {}).delimiter, L = m.newline, P = m.comments, R = m.step, F = m.preview, X = m.fastMode, K = b = m.quoteChar === void 0 || m.quoteChar === null ? '"' : m.quoteChar;
|
|
20238
20238
|
if (m.escapeChar !== void 0 && (K = m.escapeChar), (typeof T != "string" || -1 < l.BAD_DELIMITERS.indexOf(T)) && (T = ","), P === T) throw new Error("Comment character same as delimiter");
|
|
20239
20239
|
P === !0 ? P = "#" : (typeof P != "string" || -1 < l.BAD_DELIMITERS.indexOf(P)) && (P = !1), L !== `
|
|
20240
20240
|
` && L !== "\r" && L !== `\r
|
|
@@ -20267,40 +20267,40 @@ License: MIT
|
|
|
20267
20267
|
if (W) {
|
|
20268
20268
|
if (q = [], Be(H.split(T)), pe(), ht) return de();
|
|
20269
20269
|
} else Be(H.split(T));
|
|
20270
|
-
if (
|
|
20270
|
+
if (F && F <= re) return q = q.slice(0, F), de(!0);
|
|
20271
20271
|
}
|
|
20272
20272
|
}
|
|
20273
20273
|
return de();
|
|
20274
20274
|
}
|
|
20275
|
-
for (var Et = Y.indexOf(T, z), Rt = Y.indexOf(L, z), ae = new RegExp(x(K) + x(b), "g"),
|
|
20275
|
+
for (var Et = Y.indexOf(T, z), Rt = Y.indexOf(L, z), ae = new RegExp(x(K) + x(b), "g"), xt = Y.indexOf(b, z); ; ) if (Y[z] !== b) if (P && H.length === 0 && Y.substring(z, z + yt) === P) {
|
|
20276
20276
|
if (Rt === -1) return de();
|
|
20277
20277
|
z = Rt + Mt, Rt = Y.indexOf(L, z), Et = Y.indexOf(T, z);
|
|
20278
20278
|
} else if (Et !== -1 && (Et < Rt || Rt === -1)) H.push(Y.substring(z, Et)), z = Et + st, Et = Y.indexOf(T, z);
|
|
20279
20279
|
else {
|
|
20280
20280
|
if (Rt === -1) break;
|
|
20281
|
-
if (H.push(Y.substring(z, Rt)),
|
|
20282
|
-
if (
|
|
20281
|
+
if (H.push(Y.substring(z, Rt)), Fe(Rt + Mt), W && (pe(), ht)) return de();
|
|
20282
|
+
if (F && q.length >= F) return de(!0);
|
|
20283
20283
|
}
|
|
20284
|
-
else for (
|
|
20285
|
-
if ((
|
|
20286
|
-
if (
|
|
20287
|
-
if (b !== K || Y[
|
|
20288
|
-
if (b === K ||
|
|
20289
|
-
Et !== -1 && Et <
|
|
20284
|
+
else for (xt = z, z++; ; ) {
|
|
20285
|
+
if ((xt = Y.indexOf(b, xt + 1)) === -1) return At || U.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: q.length, index: z }), De();
|
|
20286
|
+
if (xt === j - 1) return De(Y.substring(z, xt).replace(ae, b));
|
|
20287
|
+
if (b !== K || Y[xt + 1] !== K) {
|
|
20288
|
+
if (b === K || xt === 0 || Y[xt - 1] !== K) {
|
|
20289
|
+
Et !== -1 && Et < xt + 1 && (Et = Y.indexOf(T, xt + 1)), Rt !== -1 && Rt < xt + 1 && (Rt = Y.indexOf(L, xt + 1));
|
|
20290
20290
|
var sn = ge(Rt === -1 ? Et : Math.min(Et, Rt));
|
|
20291
|
-
if (Y.substr(
|
|
20292
|
-
H.push(Y.substring(z,
|
|
20291
|
+
if (Y.substr(xt + 1 + sn, st) === T) {
|
|
20292
|
+
H.push(Y.substring(z, xt).replace(ae, b)), Y[z = xt + 1 + sn + st] !== b && (xt = Y.indexOf(b, z)), Et = Y.indexOf(T, z), Rt = Y.indexOf(L, z);
|
|
20293
20293
|
break;
|
|
20294
20294
|
}
|
|
20295
20295
|
var Se = ge(Rt);
|
|
20296
|
-
if (Y.substring(
|
|
20297
|
-
if (H.push(Y.substring(z,
|
|
20298
|
-
if (
|
|
20296
|
+
if (Y.substring(xt + 1 + Se, xt + 1 + Se + Mt) === L) {
|
|
20297
|
+
if (H.push(Y.substring(z, xt).replace(ae, b)), Fe(xt + 1 + Se + Mt), Et = Y.indexOf(T, z), xt = Y.indexOf(b, z), W && (pe(), ht)) return de();
|
|
20298
|
+
if (F && q.length >= F) return de(!0);
|
|
20299
20299
|
break;
|
|
20300
20300
|
}
|
|
20301
|
-
U.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: q.length, index: z }),
|
|
20301
|
+
U.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: q.length, index: z }), xt++;
|
|
20302
20302
|
}
|
|
20303
|
-
} else
|
|
20303
|
+
} else xt++;
|
|
20304
20304
|
}
|
|
20305
20305
|
return De();
|
|
20306
20306
|
function Be(Yt) {
|
|
@@ -20309,7 +20309,7 @@ License: MIT
|
|
|
20309
20309
|
function ge(Yt) {
|
|
20310
20310
|
var wi = 0;
|
|
20311
20311
|
if (Yt !== -1) {
|
|
20312
|
-
var Cn = Y.substring(
|
|
20312
|
+
var Cn = Y.substring(xt + 1, Yt);
|
|
20313
20313
|
Cn && Cn.trim() === "" && (wi = Cn.length);
|
|
20314
20314
|
}
|
|
20315
20315
|
return wi;
|
|
@@ -20317,7 +20317,7 @@ License: MIT
|
|
|
20317
20317
|
function De(Yt) {
|
|
20318
20318
|
return At || (Yt === void 0 && (Yt = Y.substring(z)), H.push(Yt), z = j, Be(H), W && pe()), de();
|
|
20319
20319
|
}
|
|
20320
|
-
function
|
|
20320
|
+
function Fe(Yt) {
|
|
20321
20321
|
z = Yt, Be(H), H = [], Rt = Y.indexOf(L, z);
|
|
20322
20322
|
}
|
|
20323
20323
|
function de(Yt) {
|
|
@@ -20478,7 +20478,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20478
20478
|
onClick: c
|
|
20479
20479
|
}, [
|
|
20480
20480
|
Pl(u.$slots, "default", {}, () => [
|
|
20481
|
-
|
|
20481
|
+
en("Download " + ft(n.filename), 1)
|
|
20482
20482
|
])
|
|
20483
20483
|
], 8, gT));
|
|
20484
20484
|
}
|
|
@@ -20539,8 +20539,8 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20539
20539
|
return {
|
|
20540
20540
|
...Object.keys(m.event).reduce((L, P) => {
|
|
20541
20541
|
if (P in i.chartData.meta.display) {
|
|
20542
|
-
const R = m.event[P],
|
|
20543
|
-
L[P] = R &&
|
|
20542
|
+
const R = m.event[P], F = i.chartData.meta.display[P];
|
|
20543
|
+
L[P] = R && F && F[R].name || m.event[P];
|
|
20544
20544
|
} else
|
|
20545
20545
|
L[P] = m.event[P];
|
|
20546
20546
|
return L;
|
|
@@ -20600,10 +20600,10 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20600
20600
|
default: Wt(() => {
|
|
20601
20601
|
var k;
|
|
20602
20602
|
return [
|
|
20603
|
-
|
|
20603
|
+
_t("div", null, [
|
|
20604
20604
|
o.value ? (J(), pt("div", bT, [
|
|
20605
|
-
|
|
20606
|
-
|
|
20605
|
+
_t("p", null, ft(y.modalDescription ? y.modalDescription : nt(e).t("csvExport.exportDescription")), 1),
|
|
20606
|
+
_t("p", null, ft(nt(e).t("csvExport.exportTimeRange")) + ": " + ft(nt(u)), 1)
|
|
20607
20607
|
])) : Ut("", !0),
|
|
20608
20608
|
ie(M, {
|
|
20609
20609
|
class: "vitals-table",
|
|
@@ -20617,10 +20617,10 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20617
20617
|
"empty-state": Wt(() => [
|
|
20618
20618
|
ie(v, { "action-button-visible": !1 }, {
|
|
20619
20619
|
title: Wt(() => [
|
|
20620
|
-
|
|
20620
|
+
_t("h5", null, ft(nt(e).t("csvExport.noDataRange")), 1)
|
|
20621
20621
|
]),
|
|
20622
20622
|
default: Wt(() => [
|
|
20623
|
-
|
|
20623
|
+
_t("p", null, ft(nt(e).t("csvExport.noDataRetry")), 1)
|
|
20624
20624
|
]),
|
|
20625
20625
|
_: 1
|
|
20626
20626
|
})
|
|
@@ -20638,7 +20638,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20638
20638
|
onClick: h
|
|
20639
20639
|
}, {
|
|
20640
20640
|
default: Wt(() => [
|
|
20641
|
-
|
|
20641
|
+
en(ft(nt(e).t("csvExport.cancelButton")), 1)
|
|
20642
20642
|
]),
|
|
20643
20643
|
_: 1
|
|
20644
20644
|
}),
|
|
@@ -20655,7 +20655,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20655
20655
|
disabled: a.value || !o.value
|
|
20656
20656
|
}, {
|
|
20657
20657
|
default: Wt(() => [
|
|
20658
|
-
|
|
20658
|
+
en(ft(nt(e).t("csvExport.downloadButton")), 1)
|
|
20659
20659
|
]),
|
|
20660
20660
|
_: 1
|
|
20661
20661
|
}, 8, ["disabled"])
|
|
@@ -20707,7 +20707,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20707
20707
|
onClick: Lg(a, ["prevent"])
|
|
20708
20708
|
}, {
|
|
20709
20709
|
default: Wt(() => [
|
|
20710
|
-
|
|
20710
|
+
en(ft(n.text || nt(e).t("csvExport.exportButton")), 1)
|
|
20711
20711
|
]),
|
|
20712
20712
|
_: 1
|
|
20713
20713
|
}, 8, ["appearance"]),
|
|
@@ -20726,13 +20726,13 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20726
20726
|
}, ST = ["title"], DT = {
|
|
20727
20727
|
key: 1,
|
|
20728
20728
|
class: "chart-header-icons-wrapper"
|
|
20729
|
-
}, kT = {
|
|
20729
|
+
}, kT = { class: "tooltip-content" }, TT = {
|
|
20730
20730
|
key: 2,
|
|
20731
20731
|
class: "chart-export-button"
|
|
20732
|
-
},
|
|
20732
|
+
}, CT = {
|
|
20733
20733
|
key: 2,
|
|
20734
20734
|
class: "analytics-chart-parent"
|
|
20735
|
-
},
|
|
20735
|
+
}, OT = /* @__PURE__ */ _e({
|
|
20736
20736
|
__name: "AnalyticsChart",
|
|
20737
20737
|
props: {
|
|
20738
20738
|
allowCsvExport: {
|
|
@@ -20826,11 +20826,11 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20826
20826
|
var R;
|
|
20827
20827
|
return (R = e.chartData.meta) != null && R.metric_units ? Object.values(e.chartData.meta.metric_units)[0] : "";
|
|
20828
20828
|
}), d = $(() => e.showLegendValues && e.legendPosition !== $t.Bottom), { legendValues: h } = wt.useChartLegendValues(l, e.chartOptions.type, u), f = $(() => {
|
|
20829
|
-
var R,
|
|
20830
|
-
return ((X = (
|
|
20829
|
+
var R, F, X;
|
|
20830
|
+
return ((X = (F = (R = e.chartData) == null ? void 0 : R.meta) == null ? void 0 : F.limit) == null ? void 0 : X.toString()) || null;
|
|
20831
20831
|
}), g = $(() => {
|
|
20832
|
-
var R,
|
|
20833
|
-
return ((
|
|
20832
|
+
var R, F;
|
|
20833
|
+
return ((F = (R = e.chartData) == null ? void 0 : R.meta) == null ? void 0 : F.truncated) || !1;
|
|
20834
20834
|
}), y = s.t("limitedResultsShown", { maxReturned: f.value }), x = $(() => [
|
|
20835
20835
|
"vertical_bar",
|
|
20836
20836
|
"horizontal_bar"
|
|
@@ -20838,16 +20838,16 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20838
20838
|
var X, K, z;
|
|
20839
20839
|
if (!((X = e.chartData) != null && X.meta.metric_names) || !((K = e.chartData) != null && K.meta.metric_units))
|
|
20840
20840
|
return;
|
|
20841
|
-
const R = e.chartData.meta.metric_names[0],
|
|
20841
|
+
const R = e.chartData.meta.metric_names[0], F = e.chartData.meta.metric_units[R];
|
|
20842
20842
|
if (e.chartData.meta.metric_names.length > 1) {
|
|
20843
20843
|
if (R.includes("latency"))
|
|
20844
|
-
return s.t("metricAxisTitles.latency_in", { unit: s.t(`chartUnits.${
|
|
20844
|
+
return s.t("metricAxisTitles.latency_in", { unit: s.t(`chartUnits.${F}`, { plural: "s" }) });
|
|
20845
20845
|
if (R.includes("size"))
|
|
20846
|
-
return s.t("metricAxisTitles.size_in", { unit: s.t(`chartUnits.${
|
|
20846
|
+
return s.t("metricAxisTitles.size_in", { unit: s.t(`chartUnits.${F}`, { plural: "s" }) });
|
|
20847
20847
|
}
|
|
20848
|
-
return ((z = e.chartOptions) == null ? void 0 : z.metricAxesTitle) || s.te(`metricAxisTitles.${R}`) && s.te(`chartUnits.${
|
|
20848
|
+
return ((z = e.chartOptions) == null ? void 0 : z.metricAxesTitle) || s.te(`metricAxisTitles.${R}`) && s.te(`chartUnits.${F}`) && // @ts-ignore - dynamic i18n key
|
|
20849
20849
|
// Metric units are always pluralized on the axis.
|
|
20850
|
-
s.t(`metricAxisTitles.${R}`, { unit: s.t(`chartUnits.${
|
|
20850
|
+
s.t(`metricAxisTitles.${R}`, { unit: s.t(`chartUnits.${F}`, { plural: "s" }) }) || void 0;
|
|
20851
20851
|
}), k = $(() => {
|
|
20852
20852
|
const R = v.value ? "Time" : Object.keys(e.chartData.meta.display || e.chartData.meta.metric_names)[0];
|
|
20853
20853
|
return e.chartOptions.dimensionAxesTitle || s.te(`chartLabels.${R}`) && // @ts-ignore - dynamic i18n key
|
|
@@ -20857,8 +20857,8 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20857
20857
|
return s.t(`granularityAxisTitles.${R}`);
|
|
20858
20858
|
}), A = $(() => e.emptyStateTitle || s.t("noDataAvailableTitle")), m = $(() => e.emptyStateDescription || s.t("noDataAvailableDescription")), b = $(() => v.value ? Gv(l.value) : e.chartData && e.chartData.meta && e.chartData.data.length), T = $(() => e.chartData.meta.granularity_ms ? jo(e.chartData.meta.granularity_ms) || "hourly" : jo(
|
|
20859
20859
|
new Date(e.chartData.data[1].timestamp).getTime() - new Date(e.chartData.data[0].timestamp).getTime()
|
|
20860
|
-
) || "hourly"), L = $(() => e.chartOptions.chartLegendSortFn ? e.chartOptions.chartLegendSortFn : (R,
|
|
20861
|
-
return xc("showLegendValues", d), xc("legendPosition", Lt(e, "legendPosition")), (R,
|
|
20860
|
+
) || "hourly"), L = $(() => e.chartOptions.chartLegendSortFn ? e.chartOptions.chartLegendSortFn : (R, F) => R.text === s.t("chartLabels.____OTHER____") ? 1 : F.text === s.t("chartLabels.____OTHER____") ? -1 : !isNaN(parseInt(R.text, 10)) && !isNaN(parseInt(F.text, 10)) ? R.text < F.text ? -1 : 1 : R.value && F.value ? F.value.raw - R.value.raw : 0), P = $(() => e.chartOptions.chartTooltipSortFn ? e.chartOptions.chartTooltipSortFn : (R, F) => R.label === s.t("chartLabels.____OTHER____") ? 1 : F.label === s.t("chartLabels.____OTHER____") ? -1 : !isNaN(parseInt(R.label, 10)) && !isNaN(parseInt(F.label, 10)) ? R.label < F.label ? -1 : 1 : R.value && F.value ? F.rawValue - R.rawValue : 0);
|
|
20861
|
+
return xc("showLegendValues", d), xc("legendPosition", Lt(e, "legendPosition")), (R, F) => {
|
|
20862
20862
|
const X = We("KTooltip"), K = We("KEmptyState");
|
|
20863
20863
|
return J(), pt("div", wT, [
|
|
20864
20864
|
b.value && g.value && f.value || !nt(a) && (n.allowCsvExport || e.chartTitle) ? (J(), pt("div", MT, [
|
|
@@ -20874,26 +20874,25 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20874
20874
|
placement: "right"
|
|
20875
20875
|
}, {
|
|
20876
20876
|
content: Wt(() => [
|
|
20877
|
-
|
|
20877
|
+
_t("div", kT, ft(nt(y)), 1)
|
|
20878
20878
|
]),
|
|
20879
20879
|
default: Wt(() => [
|
|
20880
20880
|
ie(nt(zg), {
|
|
20881
20881
|
color: `var(--kui-color-text-warning, ${nt(iS)})`,
|
|
20882
|
-
decorative: "",
|
|
20883
20882
|
size: nt(sS)
|
|
20884
20883
|
}, null, 8, ["color", "size"])
|
|
20885
20884
|
]),
|
|
20886
20885
|
_: 1
|
|
20887
20886
|
})
|
|
20888
20887
|
])) : Ut("", !0),
|
|
20889
|
-
!nt(a) && n.allowCsvExport && b.value ? (J(), pt("div",
|
|
20888
|
+
!nt(a) && n.allowCsvExport && b.value ? (J(), pt("div", TT, [
|
|
20890
20889
|
ie(vT, {
|
|
20891
20890
|
data: o.value,
|
|
20892
20891
|
"filename-prefix": n.filenamePrefix
|
|
20893
20892
|
}, null, 8, ["data", "filename-prefix"])
|
|
20894
20893
|
])) : Ut("", !0)
|
|
20895
20894
|
])) : Ut("", !0),
|
|
20896
|
-
b.value ? (J(), pt("div",
|
|
20895
|
+
b.value ? (J(), pt("div", CT, [
|
|
20897
20896
|
v.value ? (J(), fe(Ak, {
|
|
20898
20897
|
key: 0,
|
|
20899
20898
|
"chart-data": l.value,
|
|
@@ -20912,7 +20911,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20912
20911
|
"tooltip-title": n.tooltipTitle,
|
|
20913
20912
|
type: n.chartOptions.type,
|
|
20914
20913
|
zoom: n.timeseriesZoom,
|
|
20915
|
-
onZoomTimeRange:
|
|
20914
|
+
onZoomTimeRange: F[0] || (F[0] = (z) => i("zoom-time-range", z))
|
|
20916
20915
|
}, null, 8, ["chart-data", "chart-legend-sort-fn", "chart-tooltip-sort-fn", "dimension-axes-title", "fill", "granularity", "legend-values", "metric-axes-title", "metric-unit", "stacked", "synthetics-data-key", "threshold", "time-range-ms", "tooltip-title", "type", "zoom"])) : x.value ? (J(), fe(gk, {
|
|
20917
20916
|
key: 1,
|
|
20918
20917
|
annotations: n.showAnnotations,
|
|
@@ -20945,24 +20944,24 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
20945
20944
|
"data-testid": "no-data-in-report"
|
|
20946
20945
|
}, {
|
|
20947
20946
|
title: Wt(() => [
|
|
20948
|
-
|
|
20947
|
+
en(ft(A.value), 1)
|
|
20949
20948
|
]),
|
|
20950
20949
|
default: Wt(() => [
|
|
20951
|
-
|
|
20950
|
+
en(ft(m.value), 1)
|
|
20952
20951
|
]),
|
|
20953
20952
|
_: 1
|
|
20954
20953
|
}))
|
|
20955
20954
|
]);
|
|
20956
20955
|
};
|
|
20957
20956
|
}
|
|
20958
|
-
}),
|
|
20957
|
+
}), yC = /* @__PURE__ */ fn(OT, [["__scopeId", "data-v-0361f315"]]), PT = {
|
|
20959
20958
|
class: "chart-parent",
|
|
20960
20959
|
"data-testid": "gauge-chart-parent"
|
|
20961
|
-
},
|
|
20960
|
+
}, ET = { class: "chart-totals-flex" }, AT = {
|
|
20962
20961
|
key: 1,
|
|
20963
20962
|
class: "metric-small",
|
|
20964
20963
|
"data-testid": "gauge-chart-total"
|
|
20965
|
-
},
|
|
20964
|
+
}, RT = /* @__PURE__ */ _e({
|
|
20966
20965
|
__name: "GaugeChart",
|
|
20967
20966
|
props: {
|
|
20968
20967
|
chartData: {
|
|
@@ -21032,17 +21031,17 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21032
21031
|
var f;
|
|
21033
21032
|
return `color: ${(f = s == null ? void 0 : s.value[0]) == null ? void 0 : f.backgroundColor[t.numerator]}`;
|
|
21034
21033
|
}), d = $(() => ["full", "single"].includes(t.metricDisplay)), h = $(() => t.metricDisplay === "full");
|
|
21035
|
-
return (f, g) => (J(), pt("div",
|
|
21036
|
-
|
|
21034
|
+
return (f, g) => (J(), pt("div", PT, [
|
|
21035
|
+
_t("div", ET, [
|
|
21037
21036
|
d.value ? (J(), pt("div", {
|
|
21038
21037
|
key: 0,
|
|
21039
21038
|
class: "metric-large",
|
|
21040
21039
|
"data-testid": "gauge-chart-metric",
|
|
21041
21040
|
style: fi(u.value)
|
|
21042
21041
|
}, ft(l.value), 5)) : Ut("", !0),
|
|
21043
|
-
h.value ? (J(), pt("div",
|
|
21042
|
+
h.value ? (J(), pt("div", AT, ft(nt(e).t("total")) + ": " + ft(c.value), 1)) : Ut("", !0)
|
|
21044
21043
|
]),
|
|
21045
|
-
|
|
21044
|
+
_t("div", {
|
|
21046
21045
|
class: "chart-container",
|
|
21047
21046
|
style: fi({ height: n.height, width: n.width })
|
|
21048
21047
|
}, [
|
|
@@ -21056,19 +21055,19 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21056
21055
|
], 4)
|
|
21057
21056
|
]));
|
|
21058
21057
|
}
|
|
21059
|
-
}),
|
|
21058
|
+
}), LT = /* @__PURE__ */ fn(RT, [["__scopeId", "data-v-4f4e5b76"]]), IT = {
|
|
21060
21059
|
class: "chart-parent",
|
|
21061
21060
|
"data-testid": "single-value-parent"
|
|
21062
|
-
},
|
|
21061
|
+
}, NT = {
|
|
21063
21062
|
key: 1,
|
|
21064
21063
|
class: "single-value-wrapper"
|
|
21065
21064
|
}, FT = {
|
|
21066
21065
|
class: "single-value",
|
|
21067
21066
|
"data-testid": "single-value-chart"
|
|
21068
|
-
},
|
|
21067
|
+
}, zT = {
|
|
21069
21068
|
key: 0,
|
|
21070
21069
|
class: "single-value-unit"
|
|
21071
|
-
},
|
|
21070
|
+
}, HT = /* @__PURE__ */ _e({
|
|
21072
21071
|
__name: "SingleValue",
|
|
21073
21072
|
props: {
|
|
21074
21073
|
data: {
|
|
@@ -21118,24 +21117,24 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21118
21117
|
((u = (c = e.data) == null ? void 0 : c.data) == null ? void 0 : u.length) > 1 && console.warn("SingleValue chart should only be used with a single data point. Data length:", e.data.data.length);
|
|
21119
21118
|
}), (c, u) => {
|
|
21120
21119
|
const d = We("KEmptyState");
|
|
21121
|
-
return J(), pt("div",
|
|
21120
|
+
return J(), pt("div", IT, [
|
|
21122
21121
|
o.value === null ? (J(), fe(d, {
|
|
21123
21122
|
key: 0,
|
|
21124
21123
|
class: "single-value-error",
|
|
21125
21124
|
"data-testid": "single-value-error",
|
|
21126
21125
|
"icon-variant": "error",
|
|
21127
21126
|
title: nt(t)("singleValue.valueError")
|
|
21128
|
-
}, null, 8, ["title"])) : (J(), pt("div",
|
|
21129
|
-
|
|
21130
|
-
a.value ? (J(), pt("span",
|
|
21127
|
+
}, null, 8, ["title"])) : (J(), pt("div", NT, [
|
|
21128
|
+
_t("span", FT, ft(l.value), 1),
|
|
21129
|
+
a.value ? (J(), pt("span", zT, " " + ft(r.value), 1)) : Ut("", !0)
|
|
21131
21130
|
]))
|
|
21132
21131
|
]);
|
|
21133
21132
|
};
|
|
21134
21133
|
}
|
|
21135
|
-
}),
|
|
21134
|
+
}), WT = /* @__PURE__ */ fn(HT, [["__scopeId", "data-v-89691310"]]), BT = { class: "simple-chart-shell" }, YT = {
|
|
21136
21135
|
key: 1,
|
|
21137
21136
|
class: "analytics-chart-parent"
|
|
21138
|
-
},
|
|
21137
|
+
}, jT = /* @__PURE__ */ _e({
|
|
21139
21138
|
__name: "SimpleChart",
|
|
21140
21139
|
props: {
|
|
21141
21140
|
chartData: {
|
|
@@ -21185,9 +21184,9 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21185
21184
|
}), r = $(() => t.chartOptions.type === "gauge"), a = $(() => t.chartOptions.type === "single_value"), o = $(() => t.emptyStateTitle || e.t("noDataAvailableTitle")), l = $(() => t.chartData && t.chartData.meta && t.chartData.data.length);
|
|
21186
21185
|
return (c, u) => {
|
|
21187
21186
|
const d = We("KEmptyState");
|
|
21188
|
-
return J(), pt("div",
|
|
21189
|
-
l.value ? (J(), pt("div",
|
|
21190
|
-
r.value ? (J(), fe(
|
|
21187
|
+
return J(), pt("div", BT, [
|
|
21188
|
+
l.value ? (J(), pt("div", YT, [
|
|
21189
|
+
r.value ? (J(), fe(LT, {
|
|
21191
21190
|
key: 0,
|
|
21192
21191
|
"chart-data": i.value,
|
|
21193
21192
|
"dataset-colors": n.chartOptions.chartDatasetColors,
|
|
@@ -21198,7 +21197,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21198
21197
|
"synthetics-data-key": n.syntheticsDataKey,
|
|
21199
21198
|
width: n.width
|
|
21200
21199
|
}, null, 8, ["chart-data", "dataset-colors", "metric-display", "metric-unit", "numerator", "synthetics-data-key", "width"])) : Ut("", !0),
|
|
21201
|
-
a.value ? (J(), fe(
|
|
21200
|
+
a.value ? (J(), fe(WT, {
|
|
21202
21201
|
key: 1,
|
|
21203
21202
|
data: n.chartData,
|
|
21204
21203
|
"decimal-points": n.chartOptions.decimalPoints
|
|
@@ -21210,27 +21209,27 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21210
21209
|
"data-testid": "no-data-in-report"
|
|
21211
21210
|
}, {
|
|
21212
21211
|
title: Wt(() => [
|
|
21213
|
-
|
|
21212
|
+
en(ft(o.value), 1)
|
|
21214
21213
|
]),
|
|
21215
21214
|
_: 1
|
|
21216
21215
|
}))
|
|
21217
21216
|
]);
|
|
21218
21217
|
};
|
|
21219
21218
|
}
|
|
21220
|
-
}),
|
|
21219
|
+
}), bC = /* @__PURE__ */ fn(jT, [["__scopeId", "data-v-150936bb"]]), $T = {
|
|
21221
21220
|
class: "top-n-card-title",
|
|
21222
21221
|
"data-testid": "top-n-card-title"
|
|
21223
|
-
},
|
|
21222
|
+
}, UT = {
|
|
21224
21223
|
class: "top-n-card-description",
|
|
21225
21224
|
"data-testid": "top-n-card-description"
|
|
21226
|
-
},
|
|
21225
|
+
}, qT = {
|
|
21227
21226
|
key: 3,
|
|
21228
21227
|
class: "top-n-table",
|
|
21229
21228
|
"data-testid": "top-n-table"
|
|
21230
|
-
},
|
|
21229
|
+
}, VT = { class: "table-headings" }, XT = { class: "table-row" }, GT = { class: "column-1" }, KT = { class: "column-2" }, ZT = {
|
|
21231
21230
|
class: "table-body",
|
|
21232
21231
|
"data-testid": "top-n-data"
|
|
21233
|
-
},
|
|
21232
|
+
}, QT = ["data-testid"], JT = { class: "column-1" }, tC = { class: "column-2" }, eC = /* @__PURE__ */ _e({
|
|
21234
21233
|
__name: "TopNTable",
|
|
21235
21234
|
props: {
|
|
21236
21235
|
title: {
|
|
@@ -21307,30 +21306,30 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21307
21306
|
"icon-variant": "error"
|
|
21308
21307
|
}, {
|
|
21309
21308
|
title: Wt(() => [
|
|
21310
|
-
|
|
21309
|
+
en(ft(nt(e).t("topNTable.defaultErrorStateTitle")), 1)
|
|
21311
21310
|
]),
|
|
21312
21311
|
default: Wt(() => [
|
|
21313
|
-
|
|
21312
|
+
en(ft(c.value), 1)
|
|
21314
21313
|
]),
|
|
21315
21314
|
_: 1
|
|
21316
21315
|
})) : n.isLoading ? (J(), fe(v, {
|
|
21317
21316
|
key: 1,
|
|
21318
21317
|
"table-columns": 2,
|
|
21319
21318
|
type: "table"
|
|
21320
|
-
})) : s.value ? (J(), pt("div",
|
|
21321
|
-
|
|
21322
|
-
|
|
21323
|
-
|
|
21324
|
-
|
|
21319
|
+
})) : s.value ? (J(), pt("div", qT, [
|
|
21320
|
+
_t("div", VT, [
|
|
21321
|
+
_t("div", XT, [
|
|
21322
|
+
_t("div", GT, ft(nt(e).t("topNTable.nameLabel")), 1),
|
|
21323
|
+
_t("div", KT, ft(l.value), 1)
|
|
21325
21324
|
])
|
|
21326
21325
|
]),
|
|
21327
|
-
|
|
21326
|
+
_t("div", ZT, [
|
|
21328
21327
|
(J(!0), pt(Bs, null, Cl(i.value, (D, S) => (J(), pt("div", {
|
|
21329
21328
|
key: `entry-${S}`,
|
|
21330
21329
|
class: "table-row",
|
|
21331
21330
|
"data-testid": `row-${u(D)}`
|
|
21332
21331
|
}, [
|
|
21333
|
-
|
|
21332
|
+
_t("div", JT, [
|
|
21334
21333
|
Pl(g.$slots, "name", {
|
|
21335
21334
|
record: {
|
|
21336
21335
|
id: u(D),
|
|
@@ -21339,11 +21338,11 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21339
21338
|
dimension: r.value
|
|
21340
21339
|
}
|
|
21341
21340
|
}, () => [
|
|
21342
|
-
|
|
21341
|
+
en(ft(d(D)), 1)
|
|
21343
21342
|
], !0)
|
|
21344
21343
|
]),
|
|
21345
|
-
|
|
21346
|
-
], 8,
|
|
21344
|
+
_t("div", tC, " " + ft(f(D)), 1)
|
|
21345
|
+
], 8, QT))), 128))
|
|
21347
21346
|
])
|
|
21348
21347
|
])) : (J(), fe(x, {
|
|
21349
21348
|
key: 2,
|
|
@@ -21351,7 +21350,7 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21351
21350
|
"data-testid": "top-n-empty-state"
|
|
21352
21351
|
}, {
|
|
21353
21352
|
title: Wt(() => [
|
|
21354
|
-
|
|
21353
|
+
en(ft(n.emptyStateTitle || nt(e).t("topNTable.defaultEmptyStateTitle")), 1)
|
|
21355
21354
|
]),
|
|
21356
21355
|
_: 1
|
|
21357
21356
|
}))
|
|
@@ -21361,23 +21360,23 @@ const gT = ["id"], pT = /* @__PURE__ */ _e({
|
|
|
21361
21360
|
n.title ? {
|
|
21362
21361
|
name: "title",
|
|
21363
21362
|
fn: Wt(() => [
|
|
21364
|
-
|
|
21363
|
+
_t("span", $T, ft(n.title), 1)
|
|
21365
21364
|
]),
|
|
21366
21365
|
key: "0"
|
|
21367
21366
|
} : void 0,
|
|
21368
21367
|
n.description ? {
|
|
21369
21368
|
name: "actions",
|
|
21370
21369
|
fn: Wt(() => [
|
|
21371
|
-
|
|
21370
|
+
_t("div", UT, ft(n.description), 1)
|
|
21372
21371
|
]),
|
|
21373
21372
|
key: "1"
|
|
21374
21373
|
} : void 0
|
|
21375
21374
|
]), 1032, ["title-tag"]);
|
|
21376
21375
|
};
|
|
21377
21376
|
}
|
|
21378
|
-
}),
|
|
21377
|
+
}), _C = /* @__PURE__ */ fn(eC, [["__scopeId", "data-v-5db48d63"]]);
|
|
21379
21378
|
export {
|
|
21380
|
-
|
|
21379
|
+
yC as AnalyticsChart,
|
|
21381
21380
|
$t as ChartLegendPosition,
|
|
21382
21381
|
vT as CsvExportButton,
|
|
21383
21382
|
xT as CsvExportModal,
|
|
@@ -21386,28 +21385,28 @@ export {
|
|
|
21386
21385
|
Jv as FONT_SIZE_REGULAR,
|
|
21387
21386
|
Qv as FONT_SIZE_SMALL,
|
|
21388
21387
|
gl as MAX_LABEL_LENGTH,
|
|
21389
|
-
|
|
21390
|
-
|
|
21391
|
-
|
|
21388
|
+
dC as OTHERS_COLOR,
|
|
21389
|
+
bC as SimpleChart,
|
|
21390
|
+
_C as TopNTable,
|
|
21392
21391
|
Wi as ValidType,
|
|
21393
21392
|
ew as accessibleGrey,
|
|
21394
21393
|
nw as apiRequestStatusCodeColors,
|
|
21395
|
-
|
|
21394
|
+
pC as chartTypes,
|
|
21396
21395
|
uw as codesInSpec,
|
|
21397
21396
|
tw as darkenColor,
|
|
21398
21397
|
Zn as datavisPalette,
|
|
21399
21398
|
Eo as defaultStatusCodeColors,
|
|
21400
21399
|
Af as determineBaseColor,
|
|
21401
|
-
|
|
21402
|
-
|
|
21400
|
+
cC as errorRateColors,
|
|
21401
|
+
uC as latencyColors,
|
|
21403
21402
|
Ju as lightGrey,
|
|
21404
|
-
|
|
21403
|
+
hC as lookupColor,
|
|
21405
21404
|
pl as lookupDatavisColor,
|
|
21406
|
-
|
|
21405
|
+
fC as lookupStatusCodeCategoryColor,
|
|
21407
21406
|
Rf as lookupStatusCodeColor,
|
|
21408
21407
|
fl as numberFormatter,
|
|
21409
|
-
|
|
21410
|
-
|
|
21411
|
-
|
|
21412
|
-
|
|
21408
|
+
gC as simpleChartMetricDisplay,
|
|
21409
|
+
mC as simpleChartTypes,
|
|
21410
|
+
oC as statusCodeBadgeBackgroundColor,
|
|
21411
|
+
lC as trafficColors
|
|
21413
21412
|
};
|