@kong-ui-public/analytics-chart 10.14.7 → 10.14.8-pr.3045.75be65007.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  var bm = Object.defineProperty;
2
2
  var _m = (n, t, e) => t in n ? bm(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var P = (n, t, e) => _m(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { computed as L, getCurrentInstance as ec, onUnmounted as ni, shallowRef as Xe, onMounted as ii, onBeforeUnmount as Rh, watch as ue, inject as sr, nextTick as Ih, isRef as vm, toRefs as xm, customRef as wm, toValue as Kt, getCurrentScope as Mm, onScopeDispose as Sm, ref as Vt, unref as q, watchEffect as jc, defineComponent as he, openBlock as j, createElementBlock as rt, createElementVNode as at, toDisplayString as ht, createVNode as Zt, Fragment as xi, renderList as Qi, normalizeClass as rn, normalizeStyle as Mi, createBlock as It, createCommentVNode as Yt, resolveComponent as Re, createSlots as Lh, withCtx as zt, useTemplateRef as Ki, reactive as rr, toRef as St, Teleport as Nh, h as vl, toRaw as xl, version as Tm, isProxy as Fh, provide as Uc, createTextVNode as Be, resolveDynamicComponent as Dm, renderSlot as ar, withKeys as km } from "vue";
4
+ import { computed as L, getCurrentInstance as ec, onUnmounted as ni, shallowRef as Ge, onMounted as ii, onBeforeUnmount as Rh, watch as ue, inject as sr, nextTick as Ih, isRef as vm, toRefs as xm, customRef as wm, toValue as Kt, getCurrentScope as Mm, onScopeDispose as Sm, ref as Vt, unref as q, watchEffect as jc, defineComponent as he, openBlock as j, createElementBlock as rt, createElementVNode as at, toDisplayString as ht, createVNode as Zt, Fragment as xi, renderList as Qi, normalizeClass as rn, normalizeStyle as Mi, createBlock as It, createCommentVNode as Yt, resolveComponent as Re, createSlots as Lh, withCtx as zt, useTemplateRef as Ki, reactive as rr, toRef as St, Teleport as Nh, h as vl, toRaw as xl, version as Tm, isProxy as Fh, provide as Uc, createTextVNode as Be, resolveDynamicComponent as Dm, renderSlot as ar, withKeys as km } from "vue";
5
5
  import { createI18n as Cm, i18nTComponent as Om } from "@kong-ui-public/i18n";
6
6
  import { CloseIcon as Pm, DragIcon as Em, WarningIcon as Am, EqualIcon as Rm, InfoIcon as Im } from "@kong/icons";
7
7
  import { calculateChange as Lm, changePolarity as Nm, defineIcon as Fm, metricChange as zm, useTrendRange as Hm } from "@kong-ui-public/analytics-metric-provider";
8
- const Bm = "No data in the current time frame", Wm = "Once there is traffic, it will display here", Ym = "Grouped value limit exceeded, showing the top {maxReturned}", $m = "no-name", jm = "debug", Um = "Total", Vm = "Open in explorer", qm = "More actions", Gm = "Requests that do not have a value for the selected group", Xm = {
8
+ const Bm = "No data in the current time frame", Wm = "Once there is traffic, it will display here", Ym = "Grouped value limit exceeded, showing the top {maxReturned}", $m = "no-name", jm = "debug", Um = "Total", Vm = "Open in explorer", qm = "More actions", Xm = "Requests that do not have a value for the selected group", Gm = {
9
9
  ms: "ms",
10
10
  bytes: "Byte{plural}",
11
11
  count: "request{plural}",
@@ -305,8 +305,8 @@ const Bm = "No data in the current time frame", Wm = "Once there is traffic, it
305
305
  total: Um,
306
306
  jumpToExplore: Vm,
307
307
  more_actions: qm,
308
- emptyEntityInfo: Gm,
309
- chartUnits: Xm,
308
+ emptyEntityInfo: Xm,
309
+ chartUnits: Gm,
310
310
  csvExport: Km,
311
311
  query_errors: Zm,
312
312
  legend: Qm,
@@ -341,7 +341,7 @@ const jn = (n, t, e) => Math.max(Math.min(n, e), t);
341
341
  function Hs(n) {
342
342
  return jn(gr(n * 2.55), 0, 255);
343
343
  }
344
- function Xn(n) {
344
+ function Gn(n) {
345
345
  return jn(gr(n * 255), 0, 255);
346
346
  }
347
347
  function Dn(n) {
@@ -395,7 +395,7 @@ function nc(n) {
395
395
  return r !== a && (u = r - a, c = o > 0.5 ? u / (2 - r - a) : u / (r + a), l = _p(e, i, s, u, r), l = l * 60 + 0.5), [l | 0, c || 0, o];
396
396
  }
397
397
  function ic(n, t, e, i) {
398
- return (Array.isArray(t) ? n(t[0], t[1], t[2]) : n(t, e, i)).map(Xn);
398
+ return (Array.isArray(t) ? n(t[0], t[1], t[2]) : n(t, e, i)).map(Gn);
399
399
  }
400
400
  function sc(n, t, e) {
401
401
  return ic(zh, n, t, e);
@@ -414,7 +414,7 @@ function wp(n) {
414
414
  let e = 255, i;
415
415
  if (!t)
416
416
  return;
417
- t[5] !== i && (e = t[6] ? Hs(+t[5]) : Xn(+t[5]));
417
+ t[5] !== i && (e = t[6] ? Hs(+t[5]) : Gn(+t[5]));
418
418
  const s = Hh(+t[2]), r = +t[3] / 100, a = +t[4] / 100;
419
419
  return t[1] === "hwb" ? i = vp(s, r, a) : t[1] === "hsv" ? i = xp(s, r, a) : i = sc(s, r, a), {
420
420
  r: i[0],
@@ -461,7 +461,7 @@ const qc = {
461
461
  H: "ea",
462
462
  I: "ightg",
463
463
  J: "wh"
464
- }, Gc = {
464
+ }, Xc = {
465
465
  OiceXe: "f0f8ff",
466
466
  antiquewEte: "faebd7",
467
467
  aqua: "ffff",
@@ -612,12 +612,12 @@ const qc = {
612
612
  LwgYF: "9acd32"
613
613
  };
614
614
  function Tp() {
615
- const n = {}, t = Object.keys(Gc), e = Object.keys(qc);
615
+ const n = {}, t = Object.keys(Xc), e = Object.keys(qc);
616
616
  let i, s, r, a, o;
617
617
  for (i = 0; i < t.length; i++) {
618
618
  for (a = o = t[i], s = 0; s < e.length; s++)
619
619
  r = e[s], o = o.replace(r, qc[r]);
620
- r = parseInt(Gc[a], 16), n[o] = [r >> 16 & 255, r >> 8 & 255, r & 255];
620
+ r = parseInt(Xc[a], 16), n[o] = [r >> 16 & 255, r >> 8 & 255, r & 255];
621
621
  }
622
622
  return n;
623
623
  }
@@ -656,9 +656,9 @@ const No = (n) => n <= 31308e-7 ? n * 12.92 : Math.pow(n, 1 / 2.4) * 1.055 - 0.0
656
656
  function Pp(n, t, e) {
657
657
  const i = Wi(Dn(n.r)), s = Wi(Dn(n.g)), r = Wi(Dn(n.b));
658
658
  return {
659
- r: Xn(No(i + e * (Wi(Dn(t.r)) - i))),
660
- g: Xn(No(s + e * (Wi(Dn(t.g)) - s))),
661
- b: Xn(No(r + e * (Wi(Dn(t.b)) - r))),
659
+ r: Gn(No(i + e * (Wi(Dn(t.r)) - i))),
660
+ g: Gn(No(s + e * (Wi(Dn(t.g)) - s))),
661
+ b: Gn(No(r + e * (Wi(Dn(t.b)) - r))),
662
662
  a: n.a + e * (t.a - n.a)
663
663
  };
664
664
  }
@@ -671,9 +671,9 @@ function Ur(n, t, e) {
671
671
  function Bh(n, t) {
672
672
  return n && Object.assign(t || {}, n);
673
673
  }
674
- function Xc(n) {
674
+ function Gc(n) {
675
675
  var t = { r: 0, g: 0, b: 0, a: 255 };
676
- return Array.isArray(n) ? n.length >= 3 && (t = { r: n[0], g: n[1], b: n[2], a: 255 }, n.length > 3 && (t.a = Xn(n[3]))) : (t = Bh(n, { r: 0, g: 0, b: 0, a: 1 }), t.a = Xn(t.a)), t;
676
+ return Array.isArray(n) ? n.length >= 3 && (t = { r: n[0], g: n[1], b: n[2], a: 255 }, n.length > 3 && (t.a = Gn(n[3]))) : (t = Bh(n, { r: 0, g: 0, b: 0, a: 1 }), t.a = Gn(t.a)), t;
677
677
  }
678
678
  function Ep(n) {
679
679
  return n.charAt(0) === "r" ? Cp(n) : wp(n);
@@ -684,7 +684,7 @@ class or {
684
684
  return t;
685
685
  const e = typeof t;
686
686
  let i;
687
- e === "object" ? i = Xc(t) : e === "string" && (i = fp(t) || Dp(t) || Ep(t)), this._rgb = i, this._valid = !!i;
687
+ e === "object" ? i = Gc(t) : e === "string" && (i = fp(t) || Dp(t) || Ep(t)), this._rgb = i, this._valid = !!i;
688
688
  }
689
689
  get valid() {
690
690
  return this._valid;
@@ -694,7 +694,7 @@ class or {
694
694
  return t && (t.a = Dn(t.a)), t;
695
695
  }
696
696
  set rgb(t) {
697
- this._rgb = Xc(t);
697
+ this._rgb = Gc(t);
698
698
  }
699
699
  rgbString() {
700
700
  return this._valid ? Op(this._rgb) : void 0;
@@ -721,7 +721,7 @@ class or {
721
721
  return new or(this.rgb);
722
722
  }
723
723
  alpha(t) {
724
- return this._rgb.a = Xn(t), this;
724
+ return this._rgb.a = Gn(t), this;
725
725
  }
726
726
  clearer(t) {
727
727
  const e = this._rgb;
@@ -908,12 +908,12 @@ function zp(n) {
908
908
  return n.type === "mouseup" || n.type === "click" || n.type === "contextmenu";
909
909
  }
910
910
  const pt = Math.PI, Lt = 2 * pt, Hp = Lt + pt, ya = Number.POSITIVE_INFINITY, ac = pt / 180, Nt = pt / 2, Ke = pt / 4, ba = pt * 2 / 3, Un = Math.log10, fn = Math.sign;
911
- function Gs(n, t, e) {
911
+ function Xs(n, t, e) {
912
912
  return Math.abs(n - t) < e;
913
913
  }
914
914
  function Qc(n) {
915
915
  const t = Math.round(n);
916
- n = Gs(n, t, n / 1e3) ? t : n;
916
+ n = Xs(n, t, n / 1e3) ? t : n;
917
917
  const e = Math.pow(10, Math.floor(Un(n))), i = n / e;
918
918
  return (i <= 1 ? 1 : i <= 2 ? 2 : i <= 5 ? 5 : 10) * e;
919
919
  }
@@ -1052,11 +1052,11 @@ function Uh(n) {
1052
1052
  const t = new Set(n);
1053
1053
  return t.size === n.length ? n : Array.from(t);
1054
1054
  }
1055
- const Vh = (function() {
1055
+ const Vh = function() {
1056
1056
  return typeof window > "u" ? function(n) {
1057
1057
  return n();
1058
1058
  } : window.requestAnimationFrame;
1059
- })();
1059
+ }();
1060
1060
  function qh(n, t) {
1061
1061
  let e = [], i = !1;
1062
1062
  return function(...s) {
@@ -1065,14 +1065,14 @@ function qh(n, t) {
1065
1065
  }));
1066
1066
  };
1067
1067
  }
1068
- function Gp(n, t) {
1068
+ function Xp(n, t) {
1069
1069
  let e;
1070
1070
  return function(...i) {
1071
1071
  return t ? (clearTimeout(e), e = setTimeout(n, t, i)) : n.apply(this, i), t;
1072
1072
  };
1073
1073
  }
1074
- const lc = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", ve = (n, t, e) => n === "start" ? t : n === "end" ? e : (t + e) / 2, Xp = (n, t, e, i) => n === (i ? "left" : "right") ? e : n === "center" ? (t + e) / 2 : t;
1075
- function Gh(n, t, e) {
1074
+ const lc = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", ve = (n, t, e) => n === "start" ? t : n === "end" ? e : (t + e) / 2, Gp = (n, t, e, i) => n === (i ? "left" : "right") ? e : n === "center" ? (t + e) / 2 : t;
1075
+ function Xh(n, t, e) {
1076
1076
  const i = t.length;
1077
1077
  let s = 0, r = i;
1078
1078
  if (n._sorted) {
@@ -1109,7 +1109,7 @@ function Gh(n, t, e) {
1109
1109
  count: r
1110
1110
  };
1111
1111
  }
1112
- function Xh(n) {
1112
+ function Gh(n) {
1113
1113
  const { xScale: t, yScale: e, _scaleRanges: i } = n, s = {
1114
1114
  xmin: t.min,
1115
1115
  xmax: t.max,
@@ -1121,7 +1121,7 @@ function Xh(n) {
1121
1121
  const r = i.xmin !== t.min || i.xmax !== t.max || i.ymin !== e.min || i.ymax !== e.max;
1122
1122
  return Object.assign(i, s), r;
1123
1123
  }
1124
- const Vr = (n) => n === 0 || n === 1, eu = (n, t, e) => -(Math.pow(2, 10 * (n -= 1)) * Math.sin((n - t) * Lt / e)), nu = (n, t, e) => Math.pow(2, -10 * n) * Math.sin((n - t) * Lt / e) + 1, Xs = {
1124
+ const Vr = (n) => n === 0 || n === 1, eu = (n, t, e) => -(Math.pow(2, 10 * (n -= 1)) * Math.sin((n - t) * Lt / e)), nu = (n, t, e) => Math.pow(2, -10 * n) * Math.sin((n - t) * Lt / e) + 1, Gs = {
1125
1125
  linear: (n) => n,
1126
1126
  easeInQuad: (n) => n * n,
1127
1127
  easeOutQuad: (n) => -n * (n - 2),
@@ -1159,11 +1159,11 @@ const Vr = (n) => n === 0 || n === 1, eu = (n, t, e) => -(Math.pow(2, 10 * (n -=
1159
1159
  let t = 1.70158;
1160
1160
  return (n /= 0.5) < 1 ? 0.5 * (n * n * (((t *= 1.525) + 1) * n - t)) : 0.5 * ((n -= 2) * n * (((t *= 1.525) + 1) * n + t) + 2);
1161
1161
  },
1162
- easeInBounce: (n) => 1 - Xs.easeOutBounce(1 - n),
1162
+ easeInBounce: (n) => 1 - Gs.easeOutBounce(1 - n),
1163
1163
  easeOutBounce(n) {
1164
1164
  return n < 1 / 2.75 ? 7.5625 * n * n : n < 2 / 2.75 ? 7.5625 * (n -= 1.5 / 2.75) * n + 0.75 : n < 2.5 / 2.75 ? 7.5625 * (n -= 2.25 / 2.75) * n + 0.9375 : 7.5625 * (n -= 2.625 / 2.75) * n + 0.984375;
1165
1165
  },
1166
- easeInOutBounce: (n) => n < 0.5 ? Xs.easeInBounce(n * 2) * 0.5 : Xs.easeOutBounce(n * 2 - 1) * 0.5 + 0.5
1166
+ easeInOutBounce: (n) => n < 0.5 ? Gs.easeInBounce(n * 2) * 0.5 : Gs.easeOutBounce(n * 2 - 1) * 0.5 + 0.5
1167
1167
  };
1168
1168
  function cc(n) {
1169
1169
  if (n && typeof n == "object") {
@@ -1509,7 +1509,6 @@ function Zh(n, t, e, i, s) {
1509
1509
  }
1510
1510
  if (!(isNaN(y) || y <= 0)) {
1511
1511
  switch (n.beginPath(), f) {
1512
- // Default includes circle
1513
1512
  default:
1514
1513
  s ? n.ellipse(e, i, s / 2, y, 0, 0, Lt) : n.arc(e, i, y, 0, Lt), n.closePath();
1515
1514
  break;
@@ -1525,13 +1524,11 @@ function Zh(n, t, e, i, s) {
1525
1524
  break;
1526
1525
  }
1527
1526
  _ += Ke;
1528
- /* falls through */
1529
1527
  case "rectRot":
1530
1528
  d = Math.cos(_) * (s ? s / 2 : y), a = Math.cos(_) * y, o = Math.sin(_) * y, h = Math.sin(_) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + h, i - a), n.lineTo(e + d, i + o), n.lineTo(e - h, i + a), n.closePath();
1531
1529
  break;
1532
1530
  case "crossRot":
1533
1531
  _ += Ke;
1534
- /* falls through */
1535
1532
  case "cross":
1536
1533
  d = Math.cos(_) * (s ? s / 2 : y), a = Math.cos(_) * y, o = Math.sin(_) * y, h = Math.sin(_) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + d, i + o), n.moveTo(e + h, i - a), n.lineTo(e - h, i + a);
1537
1534
  break;
@@ -1940,7 +1937,7 @@ function ky(n, t, e) {
1940
1937
  let s, r, a, o, l, c = rs(n, 0);
1941
1938
  for (let u = 0; u < i - 1; ++u)
1942
1939
  if (l = c, c = rs(n, u + 1), !(!l || !c)) {
1943
- if (Gs(t[u], 0, Ty)) {
1940
+ if (Xs(t[u], 0, Ty)) {
1944
1941
  e[u] = e[u + 1] = 0;
1945
1942
  continue;
1946
1943
  }
@@ -2082,7 +2079,7 @@ function lu(n, t, e) {
2082
2079
  const a = n.canvas;
2083
2080
  return a.style && (e || !a.style.height && !a.style.width) && (a.style.height = `${n.height}px`, a.style.width = `${n.width}px`), n.currentDevicePixelRatio !== i || a.height !== s || a.width !== r ? (n.currentDevicePixelRatio = i, a.height = s, a.width = r, n.ctx.setTransform(i, 0, 0, i, 0, 0), !0) : !1;
2084
2081
  }
2085
- const zy = (function() {
2082
+ const zy = function() {
2086
2083
  let n = !1;
2087
2084
  try {
2088
2085
  const t = {
@@ -2094,7 +2091,7 @@ const zy = (function() {
2094
2091
  } catch {
2095
2092
  }
2096
2093
  return n;
2097
- })();
2094
+ }();
2098
2095
  function cu(n, t) {
2099
2096
  const e = Ay(n, t), i = e && e.match(/^(\d+)(\.\d+)?px$/);
2100
2097
  return i ? +i[1] : void 0;
@@ -2316,7 +2313,7 @@ function qy(n, t, e, i) {
2316
2313
  p0DataIndex: (h - 1) % l,
2317
2314
  p1DataIndex: h % l,
2318
2315
  datasetIndex: a
2319
- }))), Gy(_, u) && f(d, h - 1, g.loop, u), y = x, u = _;
2316
+ }))), Xy(_, u) && f(d, h - 1, g.loop, u), y = x, u = _;
2320
2317
  }
2321
2318
  d < h - 1 && f(d, h - 1, g.loop, u);
2322
2319
  }
@@ -2333,7 +2330,7 @@ function hu(n) {
2333
2330
  borderColor: n.borderColor
2334
2331
  };
2335
2332
  }
2336
- function Gy(n, t) {
2333
+ function Xy(n, t) {
2337
2334
  if (!t)
2338
2335
  return !1;
2339
2336
  const e = [], i = function(s, r) {
@@ -2341,23 +2338,23 @@ function Gy(n, t) {
2341
2338
  };
2342
2339
  return JSON.stringify(n, i) !== JSON.stringify(t, i);
2343
2340
  }
2344
- function Gr(n, t, e) {
2341
+ function Xr(n, t, e) {
2345
2342
  return n.options.clip ? n[e] : t[e];
2346
2343
  }
2347
- function Xy(n, t) {
2344
+ function Gy(n, t) {
2348
2345
  const { xScale: e, yScale: i } = n;
2349
2346
  return e && i ? {
2350
- left: Gr(e, t, "left"),
2351
- right: Gr(e, t, "right"),
2352
- top: Gr(i, t, "top"),
2353
- bottom: Gr(i, t, "bottom")
2347
+ left: Xr(e, t, "left"),
2348
+ right: Xr(e, t, "right"),
2349
+ top: Xr(i, t, "top"),
2350
+ bottom: Xr(i, t, "bottom")
2354
2351
  } : t;
2355
2352
  }
2356
2353
  function df(n, t) {
2357
2354
  const e = t._clip;
2358
2355
  if (e.disabled)
2359
2356
  return !1;
2360
- const i = Xy(t, n.chartArea);
2357
+ const i = Gy(t, n.chartArea);
2361
2358
  return {
2362
2359
  left: e.left === !1 ? 0 : i.left - (e.left === !0 ? 0 : e.left),
2363
2360
  right: e.right === !1 ? n.width : i.right + (e.right === !0 ? 0 : e.right),
@@ -2474,7 +2471,7 @@ class Qy {
2474
2471
  r,
2475
2472
  s
2476
2473
  ]);
2477
- this._active = !0, this._fn = t.fn || Zy[t.type || typeof a], this._easing = Xs[t.easing] || Xs.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = e, this._prop = i, this._from = a, this._to = s, this._promises = void 0;
2474
+ this._active = !0, this._fn = t.fn || Zy[t.type || typeof a], this._easing = Gs[t.easing] || Gs.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = e, this._prop = i, this._from = a, this._to = s, this._promises = void 0;
2478
2475
  }
2479
2476
  active() {
2480
2477
  return this._active;
@@ -3702,8 +3699,8 @@ class Qs extends sn {
3702
3699
  }
3703
3700
  update(t) {
3704
3701
  const e = this._cachedMeta, { dataset: i, data: s = [], _dataset: r } = e, a = this.chart._animationsDisabled;
3705
- let { start: o, count: l } = Gh(e, s, a);
3706
- this._drawStart = o, this._drawCount = l, Xh(e) && (o = 0, l = s.length), i._chart = this.chart, i._datasetIndex = this.index, i._decimated = !!r._decimated, i.points = s;
3702
+ let { start: o, count: l } = Xh(e, s, a);
3703
+ this._drawStart = o, this._drawCount = l, Gh(e) && (o = 0, l = s.length), i._chart = this.chart, i._datasetIndex = this.index, i._decimated = !!r._decimated, i.points = s;
3707
3704
  const c = this.resolveDatasetElementOptions(t);
3708
3705
  this.options.showLine || (c.borderWidth = 0), c.segment = this.options.segment, this.updateElement(i, void 0, {
3709
3706
  animated: !a,
@@ -3959,8 +3956,8 @@ class oa extends sn {
3959
3956
  }
3960
3957
  update(t) {
3961
3958
  const e = this._cachedMeta, { data: i = [] } = e, s = this.chart._animationsDisabled;
3962
- let { start: r, count: a } = Gh(e, i, s);
3963
- if (this._drawStart = r, this._drawCount = a, Xh(e) && (r = 0, a = i.length), this.options.showLine) {
3959
+ let { start: r, count: a } = Xh(e, i, s);
3960
+ if (this._drawStart = r, this._drawCount = a, Gh(e) && (r = 0, a = i.length), this.options.showLine) {
3964
3961
  this.datasetElementType || this.addElements();
3965
3962
  const { dataset: o, _dataset: l } = e;
3966
3963
  o._chart = this.chart, o._datasetIndex = this.index, o._decimated = !!l._decimated, o.points = i;
@@ -4376,7 +4373,7 @@ function Ws(n, t, e, i) {
4376
4373
  }
4377
4374
  return c && Ws(s, t, e, i) || u;
4378
4375
  }
4379
- function Xr(n, t, e, i, s) {
4376
+ function Gr(n, t, e, i, s) {
4380
4377
  n.top = e, n.left = t, n.right = t + i, n.bottom = e + s, n.width = i, n.height = s;
4381
4378
  }
4382
4379
  function Tu(n, t, e, i) {
@@ -4389,10 +4386,10 @@ function Tu(n, t, e, i) {
4389
4386
  }, u = o.stackWeight / c.weight || 1;
4390
4387
  if (o.horizontal) {
4391
4388
  const d = t.w * u, h = c.size || l.height;
4392
- ze(c.start) && (a = c.start), l.fullSize ? Xr(l, s.left, a, e.outerWidth - s.right - s.left, h) : Xr(l, t.left + c.placed, a, d, h), c.start = a, c.placed += d, a = l.bottom;
4389
+ ze(c.start) && (a = c.start), l.fullSize ? Gr(l, s.left, a, e.outerWidth - s.right - s.left, h) : Gr(l, t.left + c.placed, a, d, h), c.start = a, c.placed += d, a = l.bottom;
4393
4390
  } else {
4394
4391
  const d = t.h * u, h = c.size || l.width;
4395
- ze(c.start) && (r = c.start), l.fullSize ? Xr(l, r, s.top, h, e.outerHeight - s.bottom - s.top) : Xr(l, r, t.top + c.placed, h, d), c.start = r, c.placed += d, r = l.right;
4392
+ ze(c.start) && (r = c.start), l.fullSize ? Gr(l, r, s.top, h, e.outerHeight - s.bottom - s.top) : Gr(l, r, t.top + c.placed, h, d), c.start = r, c.placed += d, r = l.right;
4396
4393
  }
4397
4394
  }
4398
4395
  t.x = r, t.y = a;
@@ -4700,10 +4697,10 @@ class de {
4700
4697
  }
4701
4698
  P(de, "defaults", {}), P(de, "defaultRoutes");
4702
4699
  function qb(n, t) {
4703
- const e = n.options.ticks, i = Gb(n), s = Math.min(e.maxTicksLimit || i, i), r = e.major.enabled ? Kb(t) : [], a = r.length, o = r[0], l = r[a - 1], c = [];
4700
+ const e = n.options.ticks, i = Xb(n), s = Math.min(e.maxTicksLimit || i, i), r = e.major.enabled ? Kb(t) : [], a = r.length, o = r[0], l = r[a - 1], c = [];
4704
4701
  if (a > s)
4705
4702
  return Zb(t, c, r, a / s), c;
4706
- const u = Xb(r, t, s);
4703
+ const u = Gb(r, t, s);
4707
4704
  if (a > 0) {
4708
4705
  let d, h;
4709
4706
  const f = a > 1 ? Math.round((l - o) / (a - 1)) : null;
@@ -4713,11 +4710,11 @@ function qb(n, t) {
4713
4710
  }
4714
4711
  return Kr(t, c, u), c;
4715
4712
  }
4716
- function Gb(n) {
4713
+ function Xb(n) {
4717
4714
  const t = n.options.offset, e = n._tickSize(), i = n._length / e + (t ? 0 : 1), s = n._maxLength / e;
4718
4715
  return Math.floor(Math.min(i, s));
4719
4716
  }
4720
- function Xb(n, t, e) {
4717
+ function Gb(n, t, e) {
4721
4718
  const i = Qb(n), s = t.length / e;
4722
4719
  if (!i)
4723
4720
  return Math.max(s, 1);
@@ -5168,8 +5165,8 @@ class ki extends de {
5168
5165
  }
5169
5166
  const z = lt(s.ticks.maxTicksLimit, d), U = Math.max(1, Math.ceil(d / z));
5170
5167
  for (S = 0; S < d; S += U) {
5171
- const tt = this.getContext(S), $ = r.setContext(tt), dt = o.setContext(tt), G = $.lineWidth, H = $.color, X = dt.dash || [], et = dt.dashOffset, V = $.tickWidth, xt = $.tickColor, Mt = $.tickBorderDash || [], Y = $.tickBorderDashOffset;
5172
- O = t0(this, S, l), O !== void 0 && (E = fi(i, O, G), c ? k = m = w = A = E : T = b = C = R = E, f.push({
5168
+ const tt = this.getContext(S), $ = r.setContext(tt), dt = o.setContext(tt), X = $.lineWidth, H = $.color, G = dt.dash || [], et = dt.dashOffset, V = $.tickWidth, xt = $.tickColor, Mt = $.tickBorderDash || [], Y = $.tickBorderDashOffset;
5169
+ O = t0(this, S, l), O !== void 0 && (E = fi(i, O, X), c ? k = m = w = A = E : T = b = C = R = E, f.push({
5173
5170
  tx1: k,
5174
5171
  ty1: T,
5175
5172
  tx2: m,
@@ -5178,9 +5175,9 @@ class ki extends de {
5178
5175
  y1: C,
5179
5176
  x2: A,
5180
5177
  y2: R,
5181
- width: G,
5178
+ width: X,
5182
5179
  color: H,
5183
- borderDash: X,
5180
+ borderDash: G,
5184
5181
  borderDashOffset: et,
5185
5182
  tickWidth: V,
5186
5183
  tickColor: xt,
@@ -5226,10 +5223,10 @@ class ki extends de {
5226
5223
  S = o[x], O = S.label;
5227
5224
  const U = r.setContext(this.getContext(x));
5228
5225
  m = this.getPixelForTick(x) + r.labelOffset, b = this._resolveTickFontOptions(x), w = b.lineHeight, C = Ct(O) ? O.length : 1;
5229
- const tt = C / 2, $ = U.color, dt = U.textStrokeColor, G = U.textStrokeWidth;
5226
+ const tt = C / 2, $ = U.color, dt = U.textStrokeColor, X = U.textStrokeWidth;
5230
5227
  let H = T;
5231
5228
  a ? (E = m, T === "inner" && (x === M - 1 ? H = this.options.reverse ? "left" : "right" : x === 0 ? H = this.options.reverse ? "right" : "left" : H = "center"), s === "top" ? c === "near" || y !== 0 ? A = -C * w + w / 2 : c === "center" ? A = -z.highest.height / 2 - tt * w + w : A = -z.highest.height + w / 2 : c === "near" || y !== 0 ? A = w / 2 : c === "center" ? A = z.highest.height / 2 - tt * w : A = z.highest.height - C * w, d && (A *= -1), y !== 0 && !U.showLabelBackdrop && (E += w / 2 * Math.sin(y))) : (k = m, A = (1 - C) * w / 2);
5232
- let X;
5229
+ let G;
5233
5230
  if (U.showLabelBackdrop) {
5234
5231
  const et = ee(U.backdropPadding), V = z.heights[x], xt = z.widths[x];
5235
5232
  let Mt = A - et.top, Y = 0 - et.left;
@@ -5252,7 +5249,7 @@ class ki extends de {
5252
5249
  x === M - 1 ? Y -= xt : x > 0 && (Y -= xt / 2);
5253
5250
  break;
5254
5251
  }
5255
- X = {
5252
+ G = {
5256
5253
  left: Y,
5257
5254
  top: Mt,
5258
5255
  width: xt + et.width,
@@ -5268,14 +5265,14 @@ class ki extends de {
5268
5265
  rotation: y,
5269
5266
  color: $,
5270
5267
  strokeColor: dt,
5271
- strokeWidth: G,
5268
+ strokeWidth: X,
5272
5269
  textAlign: H,
5273
5270
  textBaseline: R,
5274
5271
  translation: [
5275
5272
  E,
5276
5273
  k
5277
5274
  ],
5278
- backdrop: X
5275
+ backdrop: G
5279
5276
  }
5280
5277
  });
5281
5278
  }
@@ -5964,7 +5961,7 @@ let Fe = (Wn = class {
5964
5961
  const a = i.createResolver(i.chartOptionScopes(), this.getContext());
5965
5962
  this.platform = new (i.platform || Vb(s))(), this.platform.updateConfig(i);
5966
5963
  const o = this.platform.acquireContext(s, a.aspectRatio), l = o && o.canvas, c = l && l.height, u = l && l.width;
5967
- if (this.id = Ap(), this.ctx = o, this.canvas = l, this.width = u, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new u0(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Gp((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], ca[this.id] = this, !o || !l) {
5964
+ if (this.id = Ap(), this.ctx = o, this.canvas = l, this.width = u, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new u0(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Xp((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], ca[this.id] = this, !o || !l) {
5968
5965
  console.error("Failed to create chart: can't acquire context from the given item");
5969
5966
  return;
5970
5967
  }
@@ -6487,23 +6484,23 @@ function Ma(n, t, e, i, s, r) {
6487
6484
  if (n.beginPath(), r) {
6488
6485
  const U = (b + w) / 2;
6489
6486
  if (n.arc(a, o, d, b, U), n.arc(a, o, d, U, w), O > 0) {
6490
- const G = Yi(m, w, a, o);
6491
- n.arc(G.x, G.y, O, w, M + Nt);
6487
+ const X = Yi(m, w, a, o);
6488
+ n.arc(X.x, X.y, O, w, M + Nt);
6492
6489
  }
6493
6490
  const tt = Yi(A, M, a, o);
6494
6491
  if (n.lineTo(tt.x, tt.y), k > 0) {
6495
- const G = Yi(A, z, a, o);
6496
- n.arc(G.x, G.y, k, M + Nt, z + Math.PI);
6492
+ const X = Yi(A, z, a, o);
6493
+ n.arc(X.x, X.y, k, M + Nt, z + Math.PI);
6497
6494
  }
6498
6495
  const $ = (M - k / h + (x + E / h)) / 2;
6499
6496
  if (n.arc(a, o, h, M - k / h, $, !0), n.arc(a, o, h, $, x + E / h, !0), E > 0) {
6500
- const G = Yi(C, R, a, o);
6501
- n.arc(G.x, G.y, E, R + Math.PI, x - Nt);
6497
+ const X = Yi(C, R, a, o);
6498
+ n.arc(X.x, X.y, E, R + Math.PI, x - Nt);
6502
6499
  }
6503
6500
  const dt = Yi(T, x, a, o);
6504
6501
  if (n.lineTo(dt.x, dt.y), S > 0) {
6505
- const G = Yi(T, b, a, o);
6506
- n.arc(G.x, G.y, S, x - Nt, b);
6502
+ const X = Yi(T, b, a, o);
6503
+ n.arc(X.x, X.y, S, x - Nt, b);
6507
6504
  }
6508
6505
  } else {
6509
6506
  n.moveTo(a, o);
@@ -6850,16 +6847,16 @@ function Df(n, t) {
6850
6847
  bottom: u
6851
6848
  };
6852
6849
  }
6853
- function Gn(n, t, e, i) {
6850
+ function Xn(n, t, e, i) {
6854
6851
  return n ? 0 : ce(t, e, i);
6855
6852
  }
6856
6853
  function j0(n, t, e) {
6857
6854
  const i = n.options.borderWidth, s = n.borderSkipped, r = Qh(i);
6858
6855
  return {
6859
- t: Gn(s.top, r.top, 0, e),
6860
- r: Gn(s.right, r.right, 0, t),
6861
- b: Gn(s.bottom, r.bottom, 0, e),
6862
- l: Gn(s.left, r.left, 0, t)
6856
+ t: Xn(s.top, r.top, 0, e),
6857
+ r: Xn(s.right, r.right, 0, t),
6858
+ b: Xn(s.bottom, r.bottom, 0, e),
6859
+ l: Xn(s.left, r.left, 0, t)
6863
6860
  };
6864
6861
  }
6865
6862
  function U0(n, t, e) {
@@ -6867,10 +6864,10 @@ function U0(n, t, e) {
6867
6864
  "enableBorderRadius"
6868
6865
  ]), s = n.options.borderRadius, r = Kn(s), a = Math.min(t, e), o = n.borderSkipped, l = i || yt(s);
6869
6866
  return {
6870
- topLeft: Gn(!l || o.top || o.left, r.topLeft, 0, a),
6871
- topRight: Gn(!l || o.top || o.right, r.topRight, 0, a),
6872
- bottomLeft: Gn(!l || o.bottom || o.left, r.bottomLeft, 0, a),
6873
- bottomRight: Gn(!l || o.bottom || o.right, r.bottomRight, 0, a)
6867
+ topLeft: Xn(!l || o.top || o.left, r.topLeft, 0, a),
6868
+ topRight: Xn(!l || o.top || o.right, r.topRight, 0, a),
6869
+ bottomLeft: Xn(!l || o.bottom || o.left, r.bottomLeft, 0, a),
6870
+ bottomRight: Xn(!l || o.bottom || o.right, r.bottomRight, 0, a)
6874
6871
  };
6875
6872
  }
6876
6873
  function V0(n) {
@@ -6904,7 +6901,7 @@ function Vo(n, t, e, i) {
6904
6901
  function q0(n) {
6905
6902
  return n.topLeft || n.topRight || n.bottomLeft || n.bottomRight;
6906
6903
  }
6907
- function G0(n, t) {
6904
+ function X0(n, t) {
6908
6905
  n.rect(t.x, t.y, t.w, t.h);
6909
6906
  }
6910
6907
  function qo(n, t, e = {}) {
@@ -6922,7 +6919,7 @@ class da extends de {
6922
6919
  super(), this.options = void 0, this.horizontal = void 0, this.base = void 0, this.width = void 0, this.height = void 0, this.inflateAmount = void 0, t && Object.assign(this, t);
6923
6920
  }
6924
6921
  draw(t) {
6925
- const { inflateAmount: e, options: { borderColor: i, backgroundColor: s } } = this, { inner: r, outer: a } = V0(this), o = q0(a.radius) ? is : G0;
6922
+ const { inflateAmount: e, options: { borderColor: i, backgroundColor: s } } = this, { inner: r, outer: a } = V0(this), o = q0(a.radius) ? is : X0;
6926
6923
  t.save(), (a.w !== r.w || a.h !== r.h) && (t.beginPath(), o(t, qo(a, e, r)), t.clip(), o(t, qo(r, -e, a)), t.fillStyle = i, t.fill("evenodd")), t.beginPath(), o(t, qo(r, e)), t.fillStyle = s, t.fill(), t.restore();
6927
6924
  }
6928
6925
  inRange(t, e, i) {
@@ -6960,7 +6957,7 @@ P(da, "id", "bar"), P(da, "defaults", {
6960
6957
  backgroundColor: "backgroundColor",
6961
6958
  borderColor: "borderColor"
6962
6959
  });
6963
- var X0 = /* @__PURE__ */ Object.freeze({
6960
+ var G0 = /* @__PURE__ */ Object.freeze({
6964
6961
  __proto__: null,
6965
6962
  ArcElement: Ys,
6966
6963
  BarElement: da,
@@ -7412,7 +7409,7 @@ function M_(n) {
7412
7409
  o.push(t.getPointPositionForValue(l, a));
7413
7410
  return o;
7414
7411
  }
7415
- function Go(n, t, e) {
7412
+ function Xo(n, t, e) {
7416
7413
  const i = __(t), { chart: s, index: r, line: a, scale: o, axis: l } = t, c = a.options, u = c.fill, d = c.backgroundColor, { above: h = d, below: f = d } = u || {}, g = s.getDatasetMeta(r), y = df(s, g);
7417
7414
  i && a.points.length && (pr(n, e), S_(n, {
7418
7415
  line: a,
@@ -7429,21 +7426,21 @@ function S_(n, t) {
7429
7426
  const { line: e, target: i, above: s, below: r, area: a, scale: o, clip: l } = t, c = e._loop ? "angle" : t.axis;
7430
7427
  n.save();
7431
7428
  let u = r;
7432
- r !== s && (c === "x" ? (qu(n, i, a.top), Xo(n, {
7429
+ r !== s && (c === "x" ? (qu(n, i, a.top), Go(n, {
7433
7430
  line: e,
7434
7431
  target: i,
7435
7432
  color: s,
7436
7433
  scale: o,
7437
7434
  property: c,
7438
7435
  clip: l
7439
- }), n.restore(), n.save(), qu(n, i, a.bottom)) : c === "y" && (Gu(n, i, a.left), Xo(n, {
7436
+ }), n.restore(), n.save(), qu(n, i, a.bottom)) : c === "y" && (Xu(n, i, a.left), Go(n, {
7440
7437
  line: e,
7441
7438
  target: i,
7442
7439
  color: r,
7443
7440
  scale: o,
7444
7441
  property: c,
7445
7442
  clip: l
7446
- }), n.restore(), n.save(), Gu(n, i, a.right), u = s)), Xo(n, {
7443
+ }), n.restore(), n.save(), Xu(n, i, a.right), u = s)), Go(n, {
7447
7444
  line: e,
7448
7445
  target: i,
7449
7446
  color: u,
@@ -7464,7 +7461,7 @@ function qu(n, t, e) {
7464
7461
  }
7465
7462
  n.lineTo(t.first().x, e), n.closePath(), n.clip();
7466
7463
  }
7467
- function Gu(n, t, e) {
7464
+ function Xu(n, t, e) {
7468
7465
  const { segments: i, points: s } = t;
7469
7466
  let r = !0, a = !1;
7470
7467
  n.beginPath();
@@ -7476,7 +7473,7 @@ function Gu(n, t, e) {
7476
7473
  }
7477
7474
  n.lineTo(e, t.first().y), n.closePath(), n.clip();
7478
7475
  }
7479
- function Xo(n, t) {
7476
+ function Go(n, t) {
7480
7477
  const { line: e, target: i, property: s, color: r, scale: a, clip: o } = t, l = o_(e, i, s);
7481
7478
  for (const { source: c, target: u, start: d, end: h } of l) {
7482
7479
  const { style: { backgroundColor: f = r } = {} } = c, g = i !== !0;
@@ -7484,12 +7481,12 @@ function Xo(n, t) {
7484
7481
  const y = !!e.pathSegment(n, c);
7485
7482
  let _;
7486
7483
  if (g) {
7487
- y ? n.closePath() : Xu(n, i, h, s);
7484
+ y ? n.closePath() : Gu(n, i, h, s);
7488
7485
  const x = !!i.pathSegment(n, u, {
7489
7486
  move: y,
7490
7487
  reverse: !0
7491
7488
  });
7492
- _ = y && x, _ || Xu(n, i, d, s);
7489
+ _ = y && x, _ || Gu(n, i, d, s);
7493
7490
  }
7494
7491
  n.closePath(), n.fill(_ ? "evenodd" : "nonzero"), n.restore();
7495
7492
  }
@@ -7501,7 +7498,7 @@ function T_(n, t, e, i) {
7501
7498
  r === "x" ? (l = a, c = s.top, u = o, d = s.bottom) : (l = s.left, c = a, u = s.right, d = o), n.beginPath(), e && (l = Math.max(l, e.left), u = Math.min(u, e.right), c = Math.max(c, e.top), d = Math.min(d, e.bottom)), n.rect(l, c, u - l, d - c), n.clip();
7502
7499
  }
7503
7500
  }
7504
- function Xu(n, t, e, i) {
7501
+ function Gu(n, t, e, i) {
7505
7502
  const s = t.interpolate(e, i);
7506
7503
  s && n.lineTo(s.x, s.y);
7507
7504
  }
@@ -7527,7 +7524,7 @@ var D_ = {
7527
7524
  const i = e.drawTime === "beforeDraw", s = n.getSortedVisibleDatasetMetas(), r = n.chartArea;
7528
7525
  for (let a = s.length - 1; a >= 0; --a) {
7529
7526
  const o = s[a].$filler;
7530
- o && (o.line.updateControlPoints(r, o.axis), i && o.fill && Go(n.ctx, o, r));
7527
+ o && (o.line.updateControlPoints(r, o.axis), i && o.fill && Xo(n.ctx, o, r));
7531
7528
  }
7532
7529
  },
7533
7530
  beforeDatasetsDraw(n, t, e) {
@@ -7536,12 +7533,12 @@ var D_ = {
7536
7533
  const i = n.getSortedVisibleDatasetMetas();
7537
7534
  for (let s = i.length - 1; s >= 0; --s) {
7538
7535
  const r = i[s].$filler;
7539
- Vu(r) && Go(n.ctx, r, n.chartArea);
7536
+ Vu(r) && Xo(n.ctx, r, n.chartArea);
7540
7537
  }
7541
7538
  },
7542
7539
  beforeDatasetDraw(n, t, e) {
7543
7540
  const i = t.meta.$filler;
7544
- !Vu(i) || e.drawTime !== "beforeDatasetDraw" || Go(n.ctx, i, n.chartArea);
7541
+ !Vu(i) || e.drawTime !== "beforeDatasetDraw" || Xo(n.ctx, i, n.chartArea);
7545
7542
  },
7546
7543
  defaults: {
7547
7544
  propagate: !0,
@@ -7694,7 +7691,7 @@ class Zu extends de {
7694
7691
  let C = f.x, A = f.y;
7695
7692
  l.setWidth(this.width), S ? T > 0 && C + w + u > this.right && (A = f.y += E, f.line++, C = f.x = ve(r, this.left + u, this.right - i[f.line])) : T > 0 && A + E > this.bottom && (C = f.x = C + e[f.line].width + u, f.line++, A = f.y = ve(r, this.top + O + u, this.bottom - e[f.line].height));
7696
7693
  const R = l.x(C);
7697
- if (x(R, A, k), C = Xp(b, C + g + h, S ? C + w : this.right, t.rtl), M(l.x(C), A, k), S)
7694
+ if (x(R, A, k), C = Gp(b, C + g + h, S ? C + w : this.right, t.rtl), M(l.x(C), A, k), S)
7698
7695
  f.x += w + u;
7699
7696
  else if (typeof k.text != "string") {
7700
7697
  const z = c.lineHeight;
@@ -8627,13 +8624,13 @@ function q_(n, t) {
8627
8624
  value: _
8628
8625
  }
8629
8626
  ];
8630
- b = Math.ceil(_ / E) - Math.floor(y / E), b > g && (E = Qc(b * E / g / f) * f), ct(l) || (k = Math.pow(10, l), E = Math.ceil(E * k) / k), s === "ticks" ? (T = Math.floor(y / E) * E, m = Math.ceil(_ / E) * E) : (T = y, m = _), x && M && r && Yp((o - a) / r, E / 1e3) ? (b = Math.round(Math.min((o - a) / E, u)), E = (o - a) / b, T = a, m = o) : S ? (T = x ? a : T, m = M ? o : m, b = c - 1, E = (m - T) / b) : (b = (m - T) / E, Gs(b, Math.round(b), E / 1e3) ? b = Math.round(b) : b = Math.ceil(b));
8627
+ b = Math.ceil(_ / E) - Math.floor(y / E), b > g && (E = Qc(b * E / g / f) * f), ct(l) || (k = Math.pow(10, l), E = Math.ceil(E * k) / k), s === "ticks" ? (T = Math.floor(y / E) * E, m = Math.ceil(_ / E) * E) : (T = y, m = _), x && M && r && Yp((o - a) / r, E / 1e3) ? (b = Math.round(Math.min((o - a) / E, u)), E = (o - a) / b, T = a, m = o) : S ? (T = x ? a : T, m = M ? o : m, b = c - 1, E = (m - T) / b) : (b = (m - T) / E, Xs(b, Math.round(b), E / 1e3) ? b = Math.round(b) : b = Math.ceil(b));
8631
8628
  const w = Math.max(Jc(E), Jc(T));
8632
8629
  k = Math.pow(10, ct(l) ? w : l), T = Math.round(T * k) / k, m = Math.round(m * k) / k;
8633
8630
  let C = 0;
8634
8631
  for (x && (h && T !== a ? (e.push({
8635
8632
  value: a
8636
- }), T < a && C++, Gs(Math.round((T + C * E) * k) / k, a, sd(a, O, n)) && C++) : T < a && C++); C < b; ++C) {
8633
+ }), T < a && C++, Xs(Math.round((T + C * E) * k) / k, a, sd(a, O, n)) && C++) : T < a && C++); C < b; ++C) {
8637
8634
  const A = Math.round((T + C * E) * k) / k;
8638
8635
  if (M && A > o)
8639
8636
  break;
@@ -8641,7 +8638,7 @@ function q_(n, t) {
8641
8638
  value: A
8642
8639
  });
8643
8640
  }
8644
- return M && h && m !== o ? e.length && Gs(e[e.length - 1].value, o, sd(o, O, n)) ? e[e.length - 1].value = o : e.push({
8641
+ return M && h && m !== o ? e.length && Xs(e[e.length - 1].value, o, sd(o, O, n)) ? e[e.length - 1].value = o : e.push({
8645
8642
  value: o
8646
8643
  }) : (!M || m === o) && e.push({
8647
8644
  value: m
@@ -8741,7 +8738,7 @@ function ad(n, t, e) {
8741
8738
  const i = Math.pow(10, e), s = Math.floor(n / i);
8742
8739
  return Math.ceil(t / i) - s;
8743
8740
  }
8744
- function G_(n, t) {
8741
+ function X_(n, t) {
8745
8742
  const e = t - n;
8746
8743
  let i = dr(e);
8747
8744
  for (; ad(n, t, i) > 10; )
@@ -8750,10 +8747,10 @@ function G_(n, t) {
8750
8747
  i--;
8751
8748
  return Math.min(i, dr(n));
8752
8749
  }
8753
- function X_(n, { min: t, max: e }) {
8750
+ function G_(n, { min: t, max: e }) {
8754
8751
  t = He(n.min, t);
8755
8752
  const i = [], s = dr(t);
8756
- let r = G_(t, e), a = r < 0 ? Math.pow(10, Math.abs(r)) : 1;
8753
+ let r = X_(t, e), a = r < 0 ? Math.pow(10, Math.abs(r)) : 1;
8757
8754
  const o = Math.pow(10, r), l = s > r ? Math.pow(10, s) : 0, c = Math.round((t - l) * a) / a, u = Math.floor((t - l) / o / 10) * o * 10;
8758
8755
  let d = Math.floor((c - u) / Math.pow(10, r)), h = He(n.min, Math.round((l + u + d * Math.pow(10, r)) * a) / a);
8759
8756
  for (; h < e; )
@@ -8798,7 +8795,7 @@ class Ll extends ki {
8798
8795
  const t = this.options, e = {
8799
8796
  min: this._userMin,
8800
8797
  max: this._userMax
8801
- }, i = X_(e, this);
8798
+ }, i = G_(e, this);
8802
8799
  return t.bounds === "ticks" && $h(i, this, "value"), t.reverse ? (i.reverse(), this.start = this.max, this.end = this.min) : (this.start = this.min, this.end = this.max), i;
8803
8800
  }
8804
8801
  getLabelForValue(t) {
@@ -9483,10 +9480,10 @@ var hv = /* @__PURE__ */ Object.freeze({
9483
9480
  });
9484
9481
  const fv = [
9485
9482
  xb,
9486
- X0,
9483
+ G0,
9487
9484
  $_,
9488
9485
  hv
9489
- ], Lf = 6048e5, gv = 864e5, _r = 6e4, cs = 36e5, mv = 1e3, fd = /* @__PURE__ */ Symbol.for("constructDateFrom");
9486
+ ], Lf = 6048e5, gv = 864e5, _r = 6e4, cs = 36e5, mv = 1e3, fd = Symbol.for("constructDateFrom");
9490
9487
  function qt(n, t) {
9491
9488
  return typeof n == "function" ? n(t) : n && typeof n == "object" && fd in n ? n[fd](t) : n instanceof Date ? new n.constructor(t) : new Date(t);
9492
9489
  }
@@ -9841,14 +9838,14 @@ const jv = {
9841
9838
  formats: Vv,
9842
9839
  defaultWidth: "full"
9843
9840
  })
9844
- }, Gv = {
9841
+ }, Xv = {
9845
9842
  lastWeek: "'last' eeee 'at' p",
9846
9843
  yesterday: "'yesterday at' p",
9847
9844
  today: "'today at' p",
9848
9845
  tomorrow: "'tomorrow at' p",
9849
9846
  nextWeek: "eeee 'at' p",
9850
9847
  other: "P"
9851
- }, Xv = (n, t, e, i) => Gv[n];
9848
+ }, Gv = (n, t, e, i) => Xv[n];
9852
9849
  function Es(n) {
9853
9850
  return (t, e) => {
9854
9851
  const i = e != null && e.context ? String(e.context) : "standalone";
@@ -10163,7 +10160,7 @@ const ox = /^(\d+)(th|st|nd|rd)?/i, lx = /\d+/i, cx = {
10163
10160
  code: "en-US",
10164
10161
  formatDistance: $v,
10165
10162
  formatLong: qv,
10166
- formatRelative: Xv,
10163
+ formatRelative: Gv,
10167
10164
  localize: ix,
10168
10165
  match: _x,
10169
10166
  options: {
@@ -10227,6 +10224,7 @@ const zn = {
10227
10224
  return e;
10228
10225
  case "aaaaa":
10229
10226
  return e[0];
10227
+ case "aaaa":
10230
10228
  default:
10231
10229
  return e === "am" ? "a.m." : "p.m.";
10232
10230
  }
@@ -10266,14 +10264,13 @@ const zn = {
10266
10264
  G: function(n, t, e) {
10267
10265
  const i = n.getFullYear() > 0 ? 1 : 0;
10268
10266
  switch (t) {
10269
- // AD, BC
10270
10267
  case "G":
10271
10268
  case "GG":
10272
10269
  case "GGG":
10273
10270
  return e.era(i, { width: "abbreviated" });
10274
- // A, B
10275
10271
  case "GGGGG":
10276
10272
  return e.era(i, { width: "narrow" });
10273
+ case "GGGG":
10277
10274
  default:
10278
10275
  return e.era(i, { width: "wide" });
10279
10276
  }
@@ -10317,27 +10314,23 @@ const zn = {
10317
10314
  Q: function(n, t, e) {
10318
10315
  const i = Math.ceil((n.getMonth() + 1) / 3);
10319
10316
  switch (t) {
10320
- // 1, 2, 3, 4
10321
10317
  case "Q":
10322
10318
  return String(i);
10323
- // 01, 02, 03, 04
10324
10319
  case "QQ":
10325
10320
  return Ot(i, 2);
10326
- // 1st, 2nd, 3rd, 4th
10327
10321
  case "Qo":
10328
10322
  return e.ordinalNumber(i, { unit: "quarter" });
10329
- // Q1, Q2, Q3, Q4
10330
10323
  case "QQQ":
10331
10324
  return e.quarter(i, {
10332
10325
  width: "abbreviated",
10333
10326
  context: "formatting"
10334
10327
  });
10335
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
10336
10328
  case "QQQQQ":
10337
10329
  return e.quarter(i, {
10338
10330
  width: "narrow",
10339
10331
  context: "formatting"
10340
10332
  });
10333
+ case "QQQQ":
10341
10334
  default:
10342
10335
  return e.quarter(i, {
10343
10336
  width: "wide",
@@ -10349,27 +10342,23 @@ const zn = {
10349
10342
  q: function(n, t, e) {
10350
10343
  const i = Math.ceil((n.getMonth() + 1) / 3);
10351
10344
  switch (t) {
10352
- // 1, 2, 3, 4
10353
10345
  case "q":
10354
10346
  return String(i);
10355
- // 01, 02, 03, 04
10356
10347
  case "qq":
10357
10348
  return Ot(i, 2);
10358
- // 1st, 2nd, 3rd, 4th
10359
10349
  case "qo":
10360
10350
  return e.ordinalNumber(i, { unit: "quarter" });
10361
- // Q1, Q2, Q3, Q4
10362
10351
  case "qqq":
10363
10352
  return e.quarter(i, {
10364
10353
  width: "abbreviated",
10365
10354
  context: "standalone"
10366
10355
  });
10367
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
10368
10356
  case "qqqqq":
10369
10357
  return e.quarter(i, {
10370
10358
  width: "narrow",
10371
10359
  context: "standalone"
10372
10360
  });
10361
+ case "qqqq":
10373
10362
  default:
10374
10363
  return e.quarter(i, {
10375
10364
  width: "wide",
@@ -10384,21 +10373,19 @@ const zn = {
10384
10373
  case "M":
10385
10374
  case "MM":
10386
10375
  return zn.M(n, t);
10387
- // 1st, 2nd, ..., 12th
10388
10376
  case "Mo":
10389
10377
  return e.ordinalNumber(i + 1, { unit: "month" });
10390
- // Jan, Feb, ..., Dec
10391
10378
  case "MMM":
10392
10379
  return e.month(i, {
10393
10380
  width: "abbreviated",
10394
10381
  context: "formatting"
10395
10382
  });
10396
- // J, F, ..., D
10397
10383
  case "MMMMM":
10398
10384
  return e.month(i, {
10399
10385
  width: "narrow",
10400
10386
  context: "formatting"
10401
10387
  });
10388
+ case "MMMM":
10402
10389
  default:
10403
10390
  return e.month(i, { width: "wide", context: "formatting" });
10404
10391
  }
@@ -10407,27 +10394,23 @@ const zn = {
10407
10394
  L: function(n, t, e) {
10408
10395
  const i = n.getMonth();
10409
10396
  switch (t) {
10410
- // 1, 2, ..., 12
10411
10397
  case "L":
10412
10398
  return String(i + 1);
10413
- // 01, 02, ..., 12
10414
10399
  case "LL":
10415
10400
  return Ot(i + 1, 2);
10416
- // 1st, 2nd, ..., 12th
10417
10401
  case "Lo":
10418
10402
  return e.ordinalNumber(i + 1, { unit: "month" });
10419
- // Jan, Feb, ..., Dec
10420
10403
  case "LLL":
10421
10404
  return e.month(i, {
10422
10405
  width: "abbreviated",
10423
10406
  context: "standalone"
10424
10407
  });
10425
- // J, F, ..., D
10426
10408
  case "LLLLL":
10427
10409
  return e.month(i, {
10428
10410
  width: "narrow",
10429
10411
  context: "standalone"
10430
10412
  });
10413
+ case "LLLL":
10431
10414
  default:
10432
10415
  return e.month(i, { width: "wide", context: "standalone" });
10433
10416
  }
@@ -10455,7 +10438,6 @@ const zn = {
10455
10438
  E: function(n, t, e) {
10456
10439
  const i = n.getDay();
10457
10440
  switch (t) {
10458
- // Tue
10459
10441
  case "E":
10460
10442
  case "EE":
10461
10443
  case "EEE":
@@ -10463,18 +10445,17 @@ const zn = {
10463
10445
  width: "abbreviated",
10464
10446
  context: "formatting"
10465
10447
  });
10466
- // T
10467
10448
  case "EEEEE":
10468
10449
  return e.day(i, {
10469
10450
  width: "narrow",
10470
10451
  context: "formatting"
10471
10452
  });
10472
- // Tu
10473
10453
  case "EEEEEE":
10474
10454
  return e.day(i, {
10475
10455
  width: "short",
10476
10456
  context: "formatting"
10477
10457
  });
10458
+ case "EEEE":
10478
10459
  default:
10479
10460
  return e.day(i, {
10480
10461
  width: "wide",
@@ -10486,13 +10467,10 @@ const zn = {
10486
10467
  e: function(n, t, e, i) {
10487
10468
  const s = n.getDay(), r = (s - i.weekStartsOn + 8) % 7 || 7;
10488
10469
  switch (t) {
10489
- // Numerical value (Nth day of week with current locale or weekStartsOn)
10490
10470
  case "e":
10491
10471
  return String(r);
10492
- // Padded numerical value
10493
10472
  case "ee":
10494
10473
  return Ot(r, 2);
10495
- // 1st, 2nd, ..., 7th
10496
10474
  case "eo":
10497
10475
  return e.ordinalNumber(r, { unit: "day" });
10498
10476
  case "eee":
@@ -10500,18 +10478,17 @@ const zn = {
10500
10478
  width: "abbreviated",
10501
10479
  context: "formatting"
10502
10480
  });
10503
- // T
10504
10481
  case "eeeee":
10505
10482
  return e.day(s, {
10506
10483
  width: "narrow",
10507
10484
  context: "formatting"
10508
10485
  });
10509
- // Tu
10510
10486
  case "eeeeee":
10511
10487
  return e.day(s, {
10512
10488
  width: "short",
10513
10489
  context: "formatting"
10514
10490
  });
10491
+ case "eeee":
10515
10492
  default:
10516
10493
  return e.day(s, {
10517
10494
  width: "wide",
@@ -10523,13 +10500,10 @@ const zn = {
10523
10500
  c: function(n, t, e, i) {
10524
10501
  const s = n.getDay(), r = (s - i.weekStartsOn + 8) % 7 || 7;
10525
10502
  switch (t) {
10526
- // Numerical value (same as in `e`)
10527
10503
  case "c":
10528
10504
  return String(r);
10529
- // Padded numerical value
10530
10505
  case "cc":
10531
10506
  return Ot(r, t.length);
10532
- // 1st, 2nd, ..., 7th
10533
10507
  case "co":
10534
10508
  return e.ordinalNumber(r, { unit: "day" });
10535
10509
  case "ccc":
@@ -10537,18 +10511,17 @@ const zn = {
10537
10511
  width: "abbreviated",
10538
10512
  context: "standalone"
10539
10513
  });
10540
- // T
10541
10514
  case "ccccc":
10542
10515
  return e.day(s, {
10543
10516
  width: "narrow",
10544
10517
  context: "standalone"
10545
10518
  });
10546
- // Tu
10547
10519
  case "cccccc":
10548
10520
  return e.day(s, {
10549
10521
  width: "short",
10550
10522
  context: "standalone"
10551
10523
  });
10524
+ case "cccc":
10552
10525
  default:
10553
10526
  return e.day(s, {
10554
10527
  width: "wide",
@@ -10560,33 +10533,28 @@ const zn = {
10560
10533
  i: function(n, t, e) {
10561
10534
  const i = n.getDay(), s = i === 0 ? 7 : i;
10562
10535
  switch (t) {
10563
- // 2
10564
10536
  case "i":
10565
10537
  return String(s);
10566
- // 02
10567
10538
  case "ii":
10568
10539
  return Ot(s, t.length);
10569
- // 2nd
10570
10540
  case "io":
10571
10541
  return e.ordinalNumber(s, { unit: "day" });
10572
- // Tue
10573
10542
  case "iii":
10574
10543
  return e.day(i, {
10575
10544
  width: "abbreviated",
10576
10545
  context: "formatting"
10577
10546
  });
10578
- // T
10579
10547
  case "iiiii":
10580
10548
  return e.day(i, {
10581
10549
  width: "narrow",
10582
10550
  context: "formatting"
10583
10551
  });
10584
- // Tu
10585
10552
  case "iiiiii":
10586
10553
  return e.day(i, {
10587
10554
  width: "short",
10588
10555
  context: "formatting"
10589
10556
  });
10557
+ case "iiii":
10590
10558
  default:
10591
10559
  return e.day(i, {
10592
10560
  width: "wide",
@@ -10614,6 +10582,7 @@ const zn = {
10614
10582
  width: "narrow",
10615
10583
  context: "formatting"
10616
10584
  });
10585
+ case "aaaa":
10617
10586
  default:
10618
10587
  return e.dayPeriod(s, {
10619
10588
  width: "wide",
@@ -10642,6 +10611,7 @@ const zn = {
10642
10611
  width: "narrow",
10643
10612
  context: "formatting"
10644
10613
  });
10614
+ case "bbbb":
10645
10615
  default:
10646
10616
  return e.dayPeriod(s, {
10647
10617
  width: "wide",
@@ -10666,6 +10636,7 @@ const zn = {
10666
10636
  width: "narrow",
10667
10637
  context: "formatting"
10668
10638
  });
10639
+ case "BBBB":
10669
10640
  default:
10670
10641
  return e.dayPeriod(s, {
10671
10642
  width: "wide",
@@ -10713,16 +10684,13 @@ const zn = {
10713
10684
  if (i === 0)
10714
10685
  return "Z";
10715
10686
  switch (t) {
10716
- // Hours and optional minutes
10717
10687
  case "X":
10718
10688
  return yd(i);
10719
- // Hours, minutes and optional seconds without `:` delimiter
10720
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
10721
- // so this token always has the same output as `XX`
10722
10689
  case "XXXX":
10723
10690
  case "XX":
10724
10691
  return bi(i);
10725
- // Hours and minutes with `:` delimiter
10692
+ case "XXXXX":
10693
+ case "XXX":
10726
10694
  default:
10727
10695
  return bi(i, ":");
10728
10696
  }
@@ -10731,16 +10699,13 @@ const zn = {
10731
10699
  x: function(n, t, e) {
10732
10700
  const i = n.getTimezoneOffset();
10733
10701
  switch (t) {
10734
- // Hours and optional minutes
10735
10702
  case "x":
10736
10703
  return yd(i);
10737
- // Hours, minutes and optional seconds without `:` delimiter
10738
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
10739
- // so this token always has the same output as `xx`
10740
10704
  case "xxxx":
10741
10705
  case "xx":
10742
10706
  return bi(i);
10743
- // Hours and minutes with `:` delimiter
10707
+ case "xxxxx":
10708
+ case "xxx":
10744
10709
  default:
10745
10710
  return bi(i, ":");
10746
10711
  }
@@ -10749,11 +10714,11 @@ const zn = {
10749
10714
  O: function(n, t, e) {
10750
10715
  const i = n.getTimezoneOffset();
10751
10716
  switch (t) {
10752
- // Short
10753
10717
  case "O":
10754
10718
  case "OO":
10755
10719
  case "OOO":
10756
10720
  return "GMT" + pd(i, ":");
10721
+ case "OOOO":
10757
10722
  default:
10758
10723
  return "GMT" + bi(i, ":");
10759
10724
  }
@@ -10762,11 +10727,11 @@ const zn = {
10762
10727
  z: function(n, t, e) {
10763
10728
  const i = n.getTimezoneOffset();
10764
10729
  switch (t) {
10765
- // Short
10766
10730
  case "z":
10767
10731
  case "zz":
10768
10732
  case "zzz":
10769
10733
  return "GMT" + pd(i, ":");
10734
+ case "zzzz":
10770
10735
  default:
10771
10736
  return "GMT" + bi(i, ":");
10772
10737
  }
@@ -10800,6 +10765,7 @@ const bd = (n, t) => {
10800
10765
  return t.date({ width: "medium" });
10801
10766
  case "PPP":
10802
10767
  return t.date({ width: "long" });
10768
+ case "PPPP":
10803
10769
  default:
10804
10770
  return t.date({ width: "full" });
10805
10771
  }
@@ -10811,6 +10777,7 @@ const bd = (n, t) => {
10811
10777
  return t.time({ width: "medium" });
10812
10778
  case "ppp":
10813
10779
  return t.time({ width: "long" });
10780
+ case "pppp":
10814
10781
  default:
10815
10782
  return t.time({ width: "full" });
10816
10783
  }
@@ -10829,6 +10796,7 @@ const bd = (n, t) => {
10829
10796
  case "PPP":
10830
10797
  r = t.dateTime({ width: "long" });
10831
10798
  break;
10799
+ case "PPPP":
10832
10800
  default:
10833
10801
  r = t.dateTime({ width: "full" });
10834
10802
  break;
@@ -10841,7 +10809,7 @@ const bd = (n, t) => {
10841
10809
  function qf(n) {
10842
10810
  return Mx.test(n);
10843
10811
  }
10844
- function Gf(n) {
10812
+ function Xf(n) {
10845
10813
  return Sx.test(n);
10846
10814
  }
10847
10815
  function Bl(n, t, e) {
@@ -10888,7 +10856,7 @@ function Da(n, t, e) {
10888
10856
  return l.map((M) => {
10889
10857
  if (!M.isToken) return M.value;
10890
10858
  const S = M.value;
10891
- (!(e != null && e.useAdditionalWeekYearTokens) && Gf(S) || !(e != null && e.useAdditionalDayOfYearTokens) && qf(S)) && Bl(S, t, String(n));
10859
+ (!(e != null && e.useAdditionalWeekYearTokens) && Xf(S) || !(e != null && e.useAdditionalDayOfYearTokens) && qf(S)) && Bl(S, t, String(n));
10892
10860
  const O = md[S[0]];
10893
10861
  return O(o, S, s.localize, c);
10894
10862
  }).join("");
@@ -10897,7 +10865,7 @@ function Ax(n) {
10897
10865
  const t = n.match(Ox);
10898
10866
  return t ? t[1].replace(Px, "'") : n;
10899
10867
  }
10900
- function Xf() {
10868
+ function Gf() {
10901
10869
  return Object.assign({}, Ci());
10902
10870
  }
10903
10871
  function Rx(n, t) {
@@ -10974,14 +10942,13 @@ class Hx extends Tt {
10974
10942
  }
10975
10943
  parse(e, i, s) {
10976
10944
  switch (i) {
10977
- // AD, BC
10978
10945
  case "G":
10979
10946
  case "GG":
10980
10947
  case "GGG":
10981
10948
  return s.era(e, { width: "abbreviated" }) || s.era(e, { width: "narrow" });
10982
- // A, B
10983
10949
  case "GGGGG":
10984
10950
  return s.era(e, { width: "narrow" });
10951
+ case "GGGG":
10985
10952
  default:
10986
10953
  return s.era(e, { width: "wide" }) || s.era(e, { width: "abbreviated" }) || s.era(e, { width: "narrow" });
10987
10954
  }
@@ -11066,7 +11033,7 @@ function hn(n, t) {
11066
11033
  function Zf(n) {
11067
11034
  return Wt(Qt.anyDigitsSigned, n);
11068
11035
  }
11069
- function Gt(n, t) {
11036
+ function Xt(n, t) {
11070
11037
  switch (n) {
11071
11038
  case 1:
11072
11039
  return Wt(Qt.singleDigit, t);
@@ -11104,6 +11071,9 @@ function Sc(n) {
11104
11071
  case "noon":
11105
11072
  case "afternoon":
11106
11073
  return 12;
11074
+ case "am":
11075
+ case "midnight":
11076
+ case "night":
11107
11077
  default:
11108
11078
  return 0;
11109
11079
  }
@@ -11135,7 +11105,7 @@ class Bx extends Tt {
11135
11105
  });
11136
11106
  switch (i) {
11137
11107
  case "y":
11138
- return Jt(Gt(4, e), r);
11108
+ return Jt(Xt(4, e), r);
11139
11109
  case "yo":
11140
11110
  return Jt(
11141
11111
  s.ordinalNumber(e, {
@@ -11144,7 +11114,7 @@ class Bx extends Tt {
11144
11114
  r
11145
11115
  );
11146
11116
  default:
11147
- return Jt(Gt(i.length, e), r);
11117
+ return Jt(Xt(i.length, e), r);
11148
11118
  }
11149
11119
  }
11150
11120
  validate(e, i) {
@@ -11190,7 +11160,7 @@ class Wx extends Tt {
11190
11160
  });
11191
11161
  switch (i) {
11192
11162
  case "Y":
11193
- return Jt(Gt(4, e), r);
11163
+ return Jt(Xt(4, e), r);
11194
11164
  case "Yo":
11195
11165
  return Jt(
11196
11166
  s.ordinalNumber(e, {
@@ -11199,7 +11169,7 @@ class Wx extends Tt {
11199
11169
  r
11200
11170
  );
11201
11171
  default:
11202
- return Jt(Gt(i.length, e), r);
11172
+ return Jt(Xt(i.length, e), r);
11203
11173
  }
11204
11174
  }
11205
11175
  validate(e, i) {
@@ -11288,14 +11258,11 @@ class jx extends Tt {
11288
11258
  }
11289
11259
  parse(e, i, s) {
11290
11260
  switch (i) {
11291
- // 1, 2, 3, 4
11292
11261
  case "Q":
11293
11262
  case "QQ":
11294
- return Gt(i.length, e);
11295
- // 1st, 2nd, 3rd, 4th
11263
+ return Xt(i.length, e);
11296
11264
  case "Qo":
11297
11265
  return s.ordinalNumber(e, { unit: "quarter" });
11298
- // Q1, Q2, Q3, Q4
11299
11266
  case "QQQ":
11300
11267
  return s.quarter(e, {
11301
11268
  width: "abbreviated",
@@ -11304,12 +11271,12 @@ class jx extends Tt {
11304
11271
  width: "narrow",
11305
11272
  context: "formatting"
11306
11273
  });
11307
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
11308
11274
  case "QQQQQ":
11309
11275
  return s.quarter(e, {
11310
11276
  width: "narrow",
11311
11277
  context: "formatting"
11312
11278
  });
11279
+ case "QQQQ":
11313
11280
  default:
11314
11281
  return s.quarter(e, {
11315
11282
  width: "wide",
@@ -11353,14 +11320,11 @@ class Ux extends Tt {
11353
11320
  }
11354
11321
  parse(e, i, s) {
11355
11322
  switch (i) {
11356
- // 1, 2, 3, 4
11357
11323
  case "q":
11358
11324
  case "qq":
11359
- return Gt(i.length, e);
11360
- // 1st, 2nd, 3rd, 4th
11325
+ return Xt(i.length, e);
11361
11326
  case "qo":
11362
11327
  return s.ordinalNumber(e, { unit: "quarter" });
11363
- // Q1, Q2, Q3, Q4
11364
11328
  case "qqq":
11365
11329
  return s.quarter(e, {
11366
11330
  width: "abbreviated",
@@ -11369,12 +11333,12 @@ class Ux extends Tt {
11369
11333
  width: "narrow",
11370
11334
  context: "standalone"
11371
11335
  });
11372
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
11373
11336
  case "qqqqq":
11374
11337
  return s.quarter(e, {
11375
11338
  width: "narrow",
11376
11339
  context: "standalone"
11377
11340
  });
11341
+ case "qqqq":
11378
11342
  default:
11379
11343
  return s.quarter(e, {
11380
11344
  width: "wide",
@@ -11418,16 +11382,13 @@ class Vx extends Tt {
11418
11382
  parse(e, i, s) {
11419
11383
  const r = (a) => a - 1;
11420
11384
  switch (i) {
11421
- // 1, 2, ..., 12
11422
11385
  case "M":
11423
11386
  return Jt(
11424
11387
  Wt(Qt.month, e),
11425
11388
  r
11426
11389
  );
11427
- // 01, 02, ..., 12
11428
11390
  case "MM":
11429
- return Jt(Gt(2, e), r);
11430
- // 1st, 2nd, ..., 12th
11391
+ return Jt(Xt(2, e), r);
11431
11392
  case "Mo":
11432
11393
  return Jt(
11433
11394
  s.ordinalNumber(e, {
@@ -11435,18 +11396,17 @@ class Vx extends Tt {
11435
11396
  }),
11436
11397
  r
11437
11398
  );
11438
- // Jan, Feb, ..., Dec
11439
11399
  case "MMM":
11440
11400
  return s.month(e, {
11441
11401
  width: "abbreviated",
11442
11402
  context: "formatting"
11443
11403
  }) || s.month(e, { width: "narrow", context: "formatting" });
11444
- // J, F, ..., D
11445
11404
  case "MMMMM":
11446
11405
  return s.month(e, {
11447
11406
  width: "narrow",
11448
11407
  context: "formatting"
11449
11408
  });
11409
+ case "MMMM":
11450
11410
  default:
11451
11411
  return s.month(e, { width: "wide", context: "formatting" }) || s.month(e, {
11452
11412
  width: "abbreviated",
@@ -11484,16 +11444,13 @@ class qx extends Tt {
11484
11444
  parse(e, i, s) {
11485
11445
  const r = (a) => a - 1;
11486
11446
  switch (i) {
11487
- // 1, 2, ..., 12
11488
11447
  case "L":
11489
11448
  return Jt(
11490
11449
  Wt(Qt.month, e),
11491
11450
  r
11492
11451
  );
11493
- // 01, 02, ..., 12
11494
11452
  case "LL":
11495
- return Jt(Gt(2, e), r);
11496
- // 1st, 2nd, ..., 12th
11453
+ return Jt(Xt(2, e), r);
11497
11454
  case "Lo":
11498
11455
  return Jt(
11499
11456
  s.ordinalNumber(e, {
@@ -11501,18 +11458,17 @@ class qx extends Tt {
11501
11458
  }),
11502
11459
  r
11503
11460
  );
11504
- // Jan, Feb, ..., Dec
11505
11461
  case "LLL":
11506
11462
  return s.month(e, {
11507
11463
  width: "abbreviated",
11508
11464
  context: "standalone"
11509
11465
  }) || s.month(e, { width: "narrow", context: "standalone" });
11510
- // J, F, ..., D
11511
11466
  case "LLLLL":
11512
11467
  return s.month(e, {
11513
11468
  width: "narrow",
11514
11469
  context: "standalone"
11515
11470
  });
11471
+ case "LLLL":
11516
11472
  default:
11517
11473
  return s.month(e, { width: "wide", context: "standalone" }) || s.month(e, {
11518
11474
  width: "abbreviated",
@@ -11527,11 +11483,11 @@ class qx extends Tt {
11527
11483
  return e.setMonth(s, 1), e.setHours(0, 0, 0, 0), e;
11528
11484
  }
11529
11485
  }
11530
- function Gx(n, t, e) {
11486
+ function Xx(n, t, e) {
11531
11487
  const i = ft(n, e == null ? void 0 : e.in), s = Uf(i, e) - t;
11532
11488
  return i.setDate(i.getDate() - s * 7), ft(i, e == null ? void 0 : e.in);
11533
11489
  }
11534
- class Xx extends Tt {
11490
+ class Gx extends Tt {
11535
11491
  constructor() {
11536
11492
  super(...arguments);
11537
11493
  P(this, "priority", 100);
@@ -11558,14 +11514,14 @@ class Xx extends Tt {
11558
11514
  case "wo":
11559
11515
  return s.ordinalNumber(e, { unit: "week" });
11560
11516
  default:
11561
- return Gt(i.length, e);
11517
+ return Xt(i.length, e);
11562
11518
  }
11563
11519
  }
11564
11520
  validate(e, i) {
11565
11521
  return i >= 1 && i <= 53;
11566
11522
  }
11567
11523
  set(e, i, s, r) {
11568
- return gn(Gx(e, s, r), r);
11524
+ return gn(Xx(e, s, r), r);
11569
11525
  }
11570
11526
  }
11571
11527
  function Kx(n, t, e) {
@@ -11600,7 +11556,7 @@ class Zx extends Tt {
11600
11556
  case "Io":
11601
11557
  return s.ordinalNumber(e, { unit: "week" });
11602
11558
  default:
11603
- return Gt(i.length, e);
11559
+ return Xt(i.length, e);
11604
11560
  }
11605
11561
  }
11606
11562
  validate(e, i) {
@@ -11651,7 +11607,7 @@ class tw extends Tt {
11651
11607
  case "do":
11652
11608
  return s.ordinalNumber(e, { unit: "date" });
11653
11609
  default:
11654
- return Gt(i.length, e);
11610
+ return Xt(i.length, e);
11655
11611
  }
11656
11612
  }
11657
11613
  validate(e, i) {
@@ -11693,7 +11649,7 @@ class ew extends Tt {
11693
11649
  case "Do":
11694
11650
  return s.ordinalNumber(e, { unit: "date" });
11695
11651
  default:
11696
- return Gt(i.length, e);
11652
+ return Xt(i.length, e);
11697
11653
  }
11698
11654
  }
11699
11655
  validate(e, i) {
@@ -11717,7 +11673,6 @@ class nw extends Tt {
11717
11673
  }
11718
11674
  parse(e, i, s) {
11719
11675
  switch (i) {
11720
- // Tue
11721
11676
  case "E":
11722
11677
  case "EE":
11723
11678
  case "EEE":
@@ -11725,15 +11680,14 @@ class nw extends Tt {
11725
11680
  width: "abbreviated",
11726
11681
  context: "formatting"
11727
11682
  }) || s.day(e, { width: "short", context: "formatting" }) || s.day(e, { width: "narrow", context: "formatting" });
11728
- // T
11729
11683
  case "EEEEE":
11730
11684
  return s.day(e, {
11731
11685
  width: "narrow",
11732
11686
  context: "formatting"
11733
11687
  });
11734
- // Tu
11735
11688
  case "EEEEEE":
11736
11689
  return s.day(e, { width: "short", context: "formatting" }) || s.day(e, { width: "narrow", context: "formatting" });
11690
+ case "EEEE":
11737
11691
  default:
11738
11692
  return s.day(e, { width: "wide", context: "formatting" }) || s.day(e, {
11739
11693
  width: "abbreviated",
@@ -11776,11 +11730,9 @@ class iw extends Tt {
11776
11730
  return (o + r.weekStartsOn + 6) % 7 + l;
11777
11731
  };
11778
11732
  switch (i) {
11779
- // 3
11780
11733
  case "e":
11781
11734
  case "ee":
11782
- return Jt(Gt(i.length, e), a);
11783
- // 3rd
11735
+ return Jt(Xt(i.length, e), a);
11784
11736
  case "eo":
11785
11737
  return Jt(
11786
11738
  s.ordinalNumber(e, {
@@ -11788,21 +11740,19 @@ class iw extends Tt {
11788
11740
  }),
11789
11741
  a
11790
11742
  );
11791
- // Tue
11792
11743
  case "eee":
11793
11744
  return s.day(e, {
11794
11745
  width: "abbreviated",
11795
11746
  context: "formatting"
11796
11747
  }) || s.day(e, { width: "short", context: "formatting" }) || s.day(e, { width: "narrow", context: "formatting" });
11797
- // T
11798
11748
  case "eeeee":
11799
11749
  return s.day(e, {
11800
11750
  width: "narrow",
11801
11751
  context: "formatting"
11802
11752
  });
11803
- // Tu
11804
11753
  case "eeeeee":
11805
11754
  return s.day(e, { width: "short", context: "formatting" }) || s.day(e, { width: "narrow", context: "formatting" });
11755
+ case "eeee":
11806
11756
  default:
11807
11757
  return s.day(e, { width: "wide", context: "formatting" }) || s.day(e, {
11808
11758
  width: "abbreviated",
@@ -11845,11 +11795,9 @@ class sw extends Tt {
11845
11795
  return (o + r.weekStartsOn + 6) % 7 + l;
11846
11796
  };
11847
11797
  switch (i) {
11848
- // 3
11849
11798
  case "c":
11850
11799
  case "cc":
11851
- return Jt(Gt(i.length, e), a);
11852
- // 3rd
11800
+ return Jt(Xt(i.length, e), a);
11853
11801
  case "co":
11854
11802
  return Jt(
11855
11803
  s.ordinalNumber(e, {
@@ -11857,21 +11805,19 @@ class sw extends Tt {
11857
11805
  }),
11858
11806
  a
11859
11807
  );
11860
- // Tue
11861
11808
  case "ccc":
11862
11809
  return s.day(e, {
11863
11810
  width: "abbreviated",
11864
11811
  context: "standalone"
11865
11812
  }) || s.day(e, { width: "short", context: "standalone" }) || s.day(e, { width: "narrow", context: "standalone" });
11866
- // T
11867
11813
  case "ccccc":
11868
11814
  return s.day(e, {
11869
11815
  width: "narrow",
11870
11816
  context: "standalone"
11871
11817
  });
11872
- // Tu
11873
11818
  case "cccccc":
11874
11819
  return s.day(e, { width: "short", context: "standalone" }) || s.day(e, { width: "narrow", context: "standalone" });
11820
+ case "cccc":
11875
11821
  default:
11876
11822
  return s.day(e, { width: "wide", context: "standalone" }) || s.day(e, {
11877
11823
  width: "abbreviated",
@@ -11915,14 +11861,11 @@ class aw extends Tt {
11915
11861
  parse(e, i, s) {
11916
11862
  const r = (a) => a === 0 ? 7 : a;
11917
11863
  switch (i) {
11918
- // 2
11919
11864
  case "i":
11920
11865
  case "ii":
11921
- return Gt(i.length, e);
11922
- // 2nd
11866
+ return Xt(i.length, e);
11923
11867
  case "io":
11924
11868
  return s.ordinalNumber(e, { unit: "day" });
11925
- // Tue
11926
11869
  case "iii":
11927
11870
  return Jt(
11928
11871
  s.day(e, {
@@ -11937,7 +11880,6 @@ class aw extends Tt {
11937
11880
  }),
11938
11881
  r
11939
11882
  );
11940
- // T
11941
11883
  case "iiiii":
11942
11884
  return Jt(
11943
11885
  s.day(e, {
@@ -11946,7 +11888,6 @@ class aw extends Tt {
11946
11888
  }),
11947
11889
  r
11948
11890
  );
11949
- // Tu
11950
11891
  case "iiiiii":
11951
11892
  return Jt(
11952
11893
  s.day(e, {
@@ -11958,6 +11899,7 @@ class aw extends Tt {
11958
11899
  }),
11959
11900
  r
11960
11901
  );
11902
+ case "iiii":
11961
11903
  default:
11962
11904
  return Jt(
11963
11905
  s.day(e, {
@@ -12007,6 +11949,7 @@ class ow extends Tt {
12007
11949
  width: "narrow",
12008
11950
  context: "formatting"
12009
11951
  });
11952
+ case "aaaa":
12010
11953
  default:
12011
11954
  return s.dayPeriod(e, {
12012
11955
  width: "wide",
@@ -12047,6 +11990,7 @@ class lw extends Tt {
12047
11990
  width: "narrow",
12048
11991
  context: "formatting"
12049
11992
  });
11993
+ case "bbbb":
12050
11994
  default:
12051
11995
  return s.dayPeriod(e, {
12052
11996
  width: "wide",
@@ -12087,6 +12031,7 @@ class cw extends Tt {
12087
12031
  width: "narrow",
12088
12032
  context: "formatting"
12089
12033
  });
12034
+ case "BBBB":
12090
12035
  default:
12091
12036
  return s.dayPeriod(e, {
12092
12037
  width: "wide",
@@ -12117,7 +12062,7 @@ class uw extends Tt {
12117
12062
  case "ho":
12118
12063
  return s.ordinalNumber(e, { unit: "hour" });
12119
12064
  default:
12120
- return Gt(i.length, e);
12065
+ return Xt(i.length, e);
12121
12066
  }
12122
12067
  }
12123
12068
  validate(e, i) {
@@ -12141,7 +12086,7 @@ class dw extends Tt {
12141
12086
  case "Ho":
12142
12087
  return s.ordinalNumber(e, { unit: "hour" });
12143
12088
  default:
12144
- return Gt(i.length, e);
12089
+ return Xt(i.length, e);
12145
12090
  }
12146
12091
  }
12147
12092
  validate(e, i) {
@@ -12164,7 +12109,7 @@ class hw extends Tt {
12164
12109
  case "Ko":
12165
12110
  return s.ordinalNumber(e, { unit: "hour" });
12166
12111
  default:
12167
- return Gt(i.length, e);
12112
+ return Xt(i.length, e);
12168
12113
  }
12169
12114
  }
12170
12115
  validate(e, i) {
@@ -12187,7 +12132,7 @@ class fw extends Tt {
12187
12132
  case "ko":
12188
12133
  return s.ordinalNumber(e, { unit: "hour" });
12189
12134
  default:
12190
- return Gt(i.length, e);
12135
+ return Xt(i.length, e);
12191
12136
  }
12192
12137
  }
12193
12138
  validate(e, i) {
@@ -12211,7 +12156,7 @@ class gw extends Tt {
12211
12156
  case "mo":
12212
12157
  return s.ordinalNumber(e, { unit: "minute" });
12213
12158
  default:
12214
- return Gt(i.length, e);
12159
+ return Xt(i.length, e);
12215
12160
  }
12216
12161
  }
12217
12162
  validate(e, i) {
@@ -12234,7 +12179,7 @@ class mw extends Tt {
12234
12179
  case "so":
12235
12180
  return s.ordinalNumber(e, { unit: "second" });
12236
12181
  default:
12237
- return Gt(i.length, e);
12182
+ return Xt(i.length, e);
12238
12183
  }
12239
12184
  }
12240
12185
  validate(e, i) {
@@ -12252,7 +12197,7 @@ class pw extends Tt {
12252
12197
  }
12253
12198
  parse(e, i) {
12254
12199
  const s = (r) => Math.trunc(r * Math.pow(10, -i.length + 3));
12255
- return Jt(Gt(i.length, e), s);
12200
+ return Jt(Xt(i.length, e), s);
12256
12201
  }
12257
12202
  set(e, i, s) {
12258
12203
  return e.setMilliseconds(s), e;
@@ -12283,6 +12228,7 @@ class yw extends Tt {
12283
12228
  dn.extendedOptionalSeconds,
12284
12229
  e
12285
12230
  );
12231
+ case "XXX":
12286
12232
  default:
12287
12233
  return hn(dn.extended, e);
12288
12234
  }
@@ -12319,6 +12265,7 @@ class bw extends Tt {
12319
12265
  dn.extendedOptionalSeconds,
12320
12266
  e
12321
12267
  );
12268
+ case "xxx":
12322
12269
  default:
12323
12270
  return hn(dn.extended, e);
12324
12271
  }
@@ -12366,7 +12313,7 @@ const xw = {
12366
12313
  q: new Ux(),
12367
12314
  M: new Vx(),
12368
12315
  L: new qx(),
12369
- w: new Xx(),
12316
+ w: new Gx(),
12370
12317
  I: new Zx(),
12371
12318
  d: new tw(),
12372
12319
  D: new ew(),
@@ -12391,7 +12338,7 @@ const xw = {
12391
12338
  }, ww = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Mw = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Sw = /^'([^]*?)'?$/, Tw = /''/g, Dw = /\S/, kw = /[a-zA-Z]/;
12392
12339
  function Cw(n, t, e, i) {
12393
12340
  var _, x, M, S, O, E, k, T;
12394
- const s = () => qt((i == null ? void 0 : i.in) || e, NaN), r = Xf(), a = (i == null ? void 0 : i.locale) ?? r.locale ?? $f, o = (i == null ? void 0 : i.firstWeekContainsDate) ?? ((x = (_ = i == null ? void 0 : i.locale) == null ? void 0 : _.options) == null ? void 0 : x.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((S = (M = r.locale) == null ? void 0 : M.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, l = (i == null ? void 0 : i.weekStartsOn) ?? ((E = (O = i == null ? void 0 : i.locale) == null ? void 0 : O.options) == null ? void 0 : E.weekStartsOn) ?? r.weekStartsOn ?? ((T = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : T.weekStartsOn) ?? 0;
12341
+ const s = () => qt((i == null ? void 0 : i.in) || e, NaN), r = Gf(), a = (i == null ? void 0 : i.locale) ?? r.locale ?? $f, o = (i == null ? void 0 : i.firstWeekContainsDate) ?? ((x = (_ = i == null ? void 0 : i.locale) == null ? void 0 : _.options) == null ? void 0 : x.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((S = (M = r.locale) == null ? void 0 : M.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, l = (i == null ? void 0 : i.weekStartsOn) ?? ((E = (O = i == null ? void 0 : i.locale) == null ? void 0 : O.options) == null ? void 0 : E.weekStartsOn) ?? r.weekStartsOn ?? ((T = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : T.weekStartsOn) ?? 0;
12395
12342
  if (!t)
12396
12343
  return n ? s() : ft(e, i == null ? void 0 : i.in);
12397
12344
  const c = {
@@ -12407,7 +12354,7 @@ function Cw(n, t, e, i) {
12407
12354
  return m;
12408
12355
  }).join("").match(ww), h = [];
12409
12356
  for (let m of d) {
12410
- !(i != null && i.useAdditionalWeekYearTokens) && Gf(m) && Bl(m, t, n), !(i != null && i.useAdditionalDayOfYearTokens) && qf(m) && Bl(m, t, n);
12357
+ !(i != null && i.useAdditionalWeekYearTokens) && Xf(m) && Bl(m, t, n), !(i != null && i.useAdditionalDayOfYearTokens) && qf(m) && Bl(m, t, n);
12411
12358
  const b = m[0], w = xw[b];
12412
12359
  if (w) {
12413
12360
  const { incompatibleTokens: C } = w;
@@ -12567,7 +12514,7 @@ function Ww(n) {
12567
12514
  const t = n.match(Nw);
12568
12515
  if (!t) return 0;
12569
12516
  const e = t[1] === "+" ? -1 : 1, i = parseInt(t[2]), s = t[3] && parseInt(t[3]) || 0;
12570
- return Gw(i, s) ? e * (i * cs + s * _r) : NaN;
12517
+ return Xw(i, s) ? e * (i * cs + s * _r) : NaN;
12571
12518
  }
12572
12519
  function Yw(n, t, e) {
12573
12520
  const i = /* @__PURE__ */ new Date(0);
@@ -12591,10 +12538,10 @@ function Vw(n, t, e) {
12591
12538
  function qw(n, t, e) {
12592
12539
  return n === 24 ? t === 0 && e === 0 : e >= 0 && e < 60 && t >= 0 && t < 60 && n >= 0 && n < 25;
12593
12540
  }
12594
- function Gw(n, t) {
12541
+ function Xw(n, t) {
12595
12542
  return t >= 0 && t <= 59;
12596
12543
  }
12597
- var Xw = Object.defineProperty, Kw = (n, t, e) => t in n ? Xw(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, Ge = (n, t, e) => Kw(n, typeof t != "symbol" ? t + "" : t, e);
12544
+ var Gw = Object.defineProperty, Kw = (n, t, e) => t in n ? Gw(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, Xe = (n, t, e) => Kw(n, typeof t != "symbol" ? t + "" : t, e);
12598
12545
  const Zw = 1e3;
12599
12546
  var it = /* @__PURE__ */ ((n) => (n.FIFTEEN_MIN = "15m", n.ONE_HOUR = "1h", n.SIX_HOUR = "6h", n.TWELVE_HOUR = "12h", n.ONE_DAY = "24h", n.SEVEN_DAY = "7d", n.THIRTY_DAY = "30d", n.NINETY_DAY = "90d", n.ONE_HUNDRED_EIGHTY_DAY = "180d", n.ONE_YEAR = "365d", n.CURRENT_WEEK = "current_week", n.CURRENT_MONTH = "current_month", n.CURRENT_QUARTER = "current_quarter", n.CURRENT_YEAR = "current_year", n.PREVIOUS_WEEK = "previous_week", n.PREVIOUS_MONTH = "previous_month", n.PREVIOUS_QUARTER = "previous_quarter", n.PREVIOUS_YEAR = "previous_year", n))(it || {});
12600
12547
  const Qw = ["in", "not_in", "selector"], Jw = ["empty", "not_empty"], t1 = [
@@ -13460,7 +13407,7 @@ let H1 = {};
13460
13407
  function xr() {
13461
13408
  return H1;
13462
13409
  }
13463
- const cg = 6048e5, B1 = 864e5, W1 = 60, Y1 = 3600, _d = /* @__PURE__ */ Symbol.for("constructDateFrom");
13410
+ const cg = 6048e5, B1 = 864e5, W1 = 60, Y1 = 3600, _d = Symbol.for("constructDateFrom");
13464
13411
  function Ze(n, t) {
13465
13412
  return typeof n == "function" ? n(t) : n && typeof n == "object" && _d in n ? n[_d](t) : n instanceof Date ? new n.constructor(t) : new Date(t);
13466
13413
  }
@@ -13528,7 +13475,7 @@ function q1(n, t) {
13528
13475
  const e = ug(n), i = Ze(n, 0);
13529
13476
  return i.setFullYear(e, 0, 4), i.setHours(0, 0, 0, 0), Ca(i);
13530
13477
  }
13531
- function G1(n, t) {
13478
+ function X1(n, t) {
13532
13479
  const e = Me(n, void 0), i = +Ca(e) - +q1(e);
13533
13480
  return Math.round(i / cg) + 1;
13534
13481
  }
@@ -13541,13 +13488,13 @@ function dg(n, t) {
13541
13488
  const f = En(h, t);
13542
13489
  return +a >= +d ? o + 1 : +a >= +f ? o : o - 1;
13543
13490
  }
13544
- function X1(n, t) {
13491
+ function G1(n, t) {
13545
13492
  var e, i, s, r;
13546
13493
  const a = xr(), 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 = dg(n, t), c = Ze((t == null ? void 0 : t.in) || n, 0);
13547
13494
  return c.setFullYear(l, 0, o), c.setHours(0, 0, 0, 0), En(c, t);
13548
13495
  }
13549
13496
  function K1(n, t) {
13550
- const e = Me(n, t == null ? void 0 : t.in), i = +En(e, t) - +X1(e, t);
13497
+ const e = Me(n, t == null ? void 0 : t.in), i = +En(e, t) - +G1(e, t);
13551
13498
  return Math.round(i / cg) + 1;
13552
13499
  }
13553
13500
  function Pt(n, t) {
@@ -13580,6 +13527,7 @@ const Hn = {
13580
13527
  return e;
13581
13528
  case "aaaaa":
13582
13529
  return e[0];
13530
+ case "aaaa":
13583
13531
  default:
13584
13532
  return e === "am" ? "a.m." : "p.m.";
13585
13533
  }
@@ -13619,14 +13567,13 @@ const Hn = {
13619
13567
  G: function(n, t, e) {
13620
13568
  const i = n.getFullYear() > 0 ? 1 : 0;
13621
13569
  switch (t) {
13622
- // AD, BC
13623
13570
  case "G":
13624
13571
  case "GG":
13625
13572
  case "GGG":
13626
13573
  return e.era(i, { width: "abbreviated" });
13627
- // A, B
13628
13574
  case "GGGGG":
13629
13575
  return e.era(i, { width: "narrow" });
13576
+ case "GGGG":
13630
13577
  default:
13631
13578
  return e.era(i, { width: "wide" });
13632
13579
  }
@@ -13670,27 +13617,23 @@ const Hn = {
13670
13617
  Q: function(n, t, e) {
13671
13618
  const i = Math.ceil((n.getMonth() + 1) / 3);
13672
13619
  switch (t) {
13673
- // 1, 2, 3, 4
13674
13620
  case "Q":
13675
13621
  return String(i);
13676
- // 01, 02, 03, 04
13677
13622
  case "QQ":
13678
13623
  return Pt(i, 2);
13679
- // 1st, 2nd, 3rd, 4th
13680
13624
  case "Qo":
13681
13625
  return e.ordinalNumber(i, { unit: "quarter" });
13682
- // Q1, Q2, Q3, Q4
13683
13626
  case "QQQ":
13684
13627
  return e.quarter(i, {
13685
13628
  width: "abbreviated",
13686
13629
  context: "formatting"
13687
13630
  });
13688
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
13689
13631
  case "QQQQQ":
13690
13632
  return e.quarter(i, {
13691
13633
  width: "narrow",
13692
13634
  context: "formatting"
13693
13635
  });
13636
+ case "QQQQ":
13694
13637
  default:
13695
13638
  return e.quarter(i, {
13696
13639
  width: "wide",
@@ -13702,27 +13645,23 @@ const Hn = {
13702
13645
  q: function(n, t, e) {
13703
13646
  const i = Math.ceil((n.getMonth() + 1) / 3);
13704
13647
  switch (t) {
13705
- // 1, 2, 3, 4
13706
13648
  case "q":
13707
13649
  return String(i);
13708
- // 01, 02, 03, 04
13709
13650
  case "qq":
13710
13651
  return Pt(i, 2);
13711
- // 1st, 2nd, 3rd, 4th
13712
13652
  case "qo":
13713
13653
  return e.ordinalNumber(i, { unit: "quarter" });
13714
- // Q1, Q2, Q3, Q4
13715
13654
  case "qqq":
13716
13655
  return e.quarter(i, {
13717
13656
  width: "abbreviated",
13718
13657
  context: "standalone"
13719
13658
  });
13720
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
13721
13659
  case "qqqqq":
13722
13660
  return e.quarter(i, {
13723
13661
  width: "narrow",
13724
13662
  context: "standalone"
13725
13663
  });
13664
+ case "qqqq":
13726
13665
  default:
13727
13666
  return e.quarter(i, {
13728
13667
  width: "wide",
@@ -13737,21 +13676,19 @@ const Hn = {
13737
13676
  case "M":
13738
13677
  case "MM":
13739
13678
  return Hn.M(n, t);
13740
- // 1st, 2nd, ..., 12th
13741
13679
  case "Mo":
13742
13680
  return e.ordinalNumber(i + 1, { unit: "month" });
13743
- // Jan, Feb, ..., Dec
13744
13681
  case "MMM":
13745
13682
  return e.month(i, {
13746
13683
  width: "abbreviated",
13747
13684
  context: "formatting"
13748
13685
  });
13749
- // J, F, ..., D
13750
13686
  case "MMMMM":
13751
13687
  return e.month(i, {
13752
13688
  width: "narrow",
13753
13689
  context: "formatting"
13754
13690
  });
13691
+ case "MMMM":
13755
13692
  default:
13756
13693
  return e.month(i, { width: "wide", context: "formatting" });
13757
13694
  }
@@ -13760,27 +13697,23 @@ const Hn = {
13760
13697
  L: function(n, t, e) {
13761
13698
  const i = n.getMonth();
13762
13699
  switch (t) {
13763
- // 1, 2, ..., 12
13764
13700
  case "L":
13765
13701
  return String(i + 1);
13766
- // 01, 02, ..., 12
13767
13702
  case "LL":
13768
13703
  return Pt(i + 1, 2);
13769
- // 1st, 2nd, ..., 12th
13770
13704
  case "Lo":
13771
13705
  return e.ordinalNumber(i + 1, { unit: "month" });
13772
- // Jan, Feb, ..., Dec
13773
13706
  case "LLL":
13774
13707
  return e.month(i, {
13775
13708
  width: "abbreviated",
13776
13709
  context: "standalone"
13777
13710
  });
13778
- // J, F, ..., D
13779
13711
  case "LLLLL":
13780
13712
  return e.month(i, {
13781
13713
  width: "narrow",
13782
13714
  context: "standalone"
13783
13715
  });
13716
+ case "LLLL":
13784
13717
  default:
13785
13718
  return e.month(i, { width: "wide", context: "standalone" });
13786
13719
  }
@@ -13792,7 +13725,7 @@ const Hn = {
13792
13725
  },
13793
13726
  // ISO week of year
13794
13727
  I: function(n, t, e) {
13795
- const i = G1(n);
13728
+ const i = X1(n);
13796
13729
  return t === "Io" ? e.ordinalNumber(i, { unit: "week" }) : Pt(i, t.length);
13797
13730
  },
13798
13731
  // Day of the month
@@ -13808,7 +13741,6 @@ const Hn = {
13808
13741
  E: function(n, t, e) {
13809
13742
  const i = n.getDay();
13810
13743
  switch (t) {
13811
- // Tue
13812
13744
  case "E":
13813
13745
  case "EE":
13814
13746
  case "EEE":
@@ -13816,18 +13748,17 @@ const Hn = {
13816
13748
  width: "abbreviated",
13817
13749
  context: "formatting"
13818
13750
  });
13819
- // T
13820
13751
  case "EEEEE":
13821
13752
  return e.day(i, {
13822
13753
  width: "narrow",
13823
13754
  context: "formatting"
13824
13755
  });
13825
- // Tu
13826
13756
  case "EEEEEE":
13827
13757
  return e.day(i, {
13828
13758
  width: "short",
13829
13759
  context: "formatting"
13830
13760
  });
13761
+ case "EEEE":
13831
13762
  default:
13832
13763
  return e.day(i, {
13833
13764
  width: "wide",
@@ -13839,13 +13770,10 @@ const Hn = {
13839
13770
  e: function(n, t, e, i) {
13840
13771
  const s = n.getDay(), r = (s - i.weekStartsOn + 8) % 7 || 7;
13841
13772
  switch (t) {
13842
- // Numerical value (Nth day of week with current locale or weekStartsOn)
13843
13773
  case "e":
13844
13774
  return String(r);
13845
- // Padded numerical value
13846
13775
  case "ee":
13847
13776
  return Pt(r, 2);
13848
- // 1st, 2nd, ..., 7th
13849
13777
  case "eo":
13850
13778
  return e.ordinalNumber(r, { unit: "day" });
13851
13779
  case "eee":
@@ -13853,18 +13781,17 @@ const Hn = {
13853
13781
  width: "abbreviated",
13854
13782
  context: "formatting"
13855
13783
  });
13856
- // T
13857
13784
  case "eeeee":
13858
13785
  return e.day(s, {
13859
13786
  width: "narrow",
13860
13787
  context: "formatting"
13861
13788
  });
13862
- // Tu
13863
13789
  case "eeeeee":
13864
13790
  return e.day(s, {
13865
13791
  width: "short",
13866
13792
  context: "formatting"
13867
13793
  });
13794
+ case "eeee":
13868
13795
  default:
13869
13796
  return e.day(s, {
13870
13797
  width: "wide",
@@ -13876,13 +13803,10 @@ const Hn = {
13876
13803
  c: function(n, t, e, i) {
13877
13804
  const s = n.getDay(), r = (s - i.weekStartsOn + 8) % 7 || 7;
13878
13805
  switch (t) {
13879
- // Numerical value (same as in `e`)
13880
13806
  case "c":
13881
13807
  return String(r);
13882
- // Padded numerical value
13883
13808
  case "cc":
13884
13809
  return Pt(r, t.length);
13885
- // 1st, 2nd, ..., 7th
13886
13810
  case "co":
13887
13811
  return e.ordinalNumber(r, { unit: "day" });
13888
13812
  case "ccc":
@@ -13890,18 +13814,17 @@ const Hn = {
13890
13814
  width: "abbreviated",
13891
13815
  context: "standalone"
13892
13816
  });
13893
- // T
13894
13817
  case "ccccc":
13895
13818
  return e.day(s, {
13896
13819
  width: "narrow",
13897
13820
  context: "standalone"
13898
13821
  });
13899
- // Tu
13900
13822
  case "cccccc":
13901
13823
  return e.day(s, {
13902
13824
  width: "short",
13903
13825
  context: "standalone"
13904
13826
  });
13827
+ case "cccc":
13905
13828
  default:
13906
13829
  return e.day(s, {
13907
13830
  width: "wide",
@@ -13913,33 +13836,28 @@ const Hn = {
13913
13836
  i: function(n, t, e) {
13914
13837
  const i = n.getDay(), s = i === 0 ? 7 : i;
13915
13838
  switch (t) {
13916
- // 2
13917
13839
  case "i":
13918
13840
  return String(s);
13919
- // 02
13920
13841
  case "ii":
13921
13842
  return Pt(s, t.length);
13922
- // 2nd
13923
13843
  case "io":
13924
13844
  return e.ordinalNumber(s, { unit: "day" });
13925
- // Tue
13926
13845
  case "iii":
13927
13846
  return e.day(i, {
13928
13847
  width: "abbreviated",
13929
13848
  context: "formatting"
13930
13849
  });
13931
- // T
13932
13850
  case "iiiii":
13933
13851
  return e.day(i, {
13934
13852
  width: "narrow",
13935
13853
  context: "formatting"
13936
13854
  });
13937
- // Tu
13938
13855
  case "iiiiii":
13939
13856
  return e.day(i, {
13940
13857
  width: "short",
13941
13858
  context: "formatting"
13942
13859
  });
13860
+ case "iiii":
13943
13861
  default:
13944
13862
  return e.day(i, {
13945
13863
  width: "wide",
@@ -13967,6 +13885,7 @@ const Hn = {
13967
13885
  width: "narrow",
13968
13886
  context: "formatting"
13969
13887
  });
13888
+ case "aaaa":
13970
13889
  default:
13971
13890
  return e.dayPeriod(i, {
13972
13891
  width: "wide",
@@ -13995,6 +13914,7 @@ const Hn = {
13995
13914
  width: "narrow",
13996
13915
  context: "formatting"
13997
13916
  });
13917
+ case "bbbb":
13998
13918
  default:
13999
13919
  return e.dayPeriod(s, {
14000
13920
  width: "wide",
@@ -14019,6 +13939,7 @@ const Hn = {
14019
13939
  width: "narrow",
14020
13940
  context: "formatting"
14021
13941
  });
13942
+ case "BBBB":
14022
13943
  default:
14023
13944
  return e.dayPeriod(s, {
14024
13945
  width: "wide",
@@ -14066,16 +13987,13 @@ const Hn = {
14066
13987
  if (i === 0)
14067
13988
  return "Z";
14068
13989
  switch (t) {
14069
- // Hours and optional minutes
14070
13990
  case "X":
14071
13991
  return Md(i);
14072
- // Hours, minutes and optional seconds without `:` delimiter
14073
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
14074
- // so this token always has the same output as `XX`
14075
13992
  case "XXXX":
14076
13993
  case "XX":
14077
13994
  return _i(i);
14078
- // Hours and minutes with `:` delimiter
13995
+ case "XXXXX":
13996
+ case "XXX":
14079
13997
  default:
14080
13998
  return _i(i, ":");
14081
13999
  }
@@ -14084,16 +14002,13 @@ const Hn = {
14084
14002
  x: function(n, t, e) {
14085
14003
  const i = n.getTimezoneOffset();
14086
14004
  switch (t) {
14087
- // Hours and optional minutes
14088
14005
  case "x":
14089
14006
  return Md(i);
14090
- // Hours, minutes and optional seconds without `:` delimiter
14091
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
14092
- // so this token always has the same output as `xx`
14093
14007
  case "xxxx":
14094
14008
  case "xx":
14095
14009
  return _i(i);
14096
- // Hours and minutes with `:` delimiter
14010
+ case "xxxxx":
14011
+ case "xxx":
14097
14012
  default:
14098
14013
  return _i(i, ":");
14099
14014
  }
@@ -14102,11 +14017,11 @@ const Hn = {
14102
14017
  O: function(n, t, e) {
14103
14018
  const i = n.getTimezoneOffset();
14104
14019
  switch (t) {
14105
- // Short
14106
14020
  case "O":
14107
14021
  case "OO":
14108
14022
  case "OOO":
14109
14023
  return "GMT" + wd(i, ":");
14024
+ case "OOOO":
14110
14025
  default:
14111
14026
  return "GMT" + _i(i, ":");
14112
14027
  }
@@ -14115,11 +14030,11 @@ const Hn = {
14115
14030
  z: function(n, t, e) {
14116
14031
  const i = n.getTimezoneOffset();
14117
14032
  switch (t) {
14118
- // Short
14119
14033
  case "z":
14120
14034
  case "zz":
14121
14035
  case "zzz":
14122
14036
  return "GMT" + wd(i, ":");
14037
+ case "zzzz":
14123
14038
  default:
14124
14039
  return "GMT" + _i(i, ":");
14125
14040
  }
@@ -14153,6 +14068,7 @@ const Sd = (n, t) => {
14153
14068
  return t.date({ width: "medium" });
14154
14069
  case "PPP":
14155
14070
  return t.date({ width: "long" });
14071
+ case "PPPP":
14156
14072
  default:
14157
14073
  return t.date({ width: "full" });
14158
14074
  }
@@ -14164,6 +14080,7 @@ const Sd = (n, t) => {
14164
14080
  return t.time({ width: "medium" });
14165
14081
  case "ppp":
14166
14082
  return t.time({ width: "long" });
14083
+ case "pppp":
14167
14084
  default:
14168
14085
  return t.time({ width: "full" });
14169
14086
  }
@@ -14182,6 +14099,7 @@ const Sd = (n, t) => {
14182
14099
  case "PPP":
14183
14100
  r = t.dateTime({ width: "long" });
14184
14101
  break;
14102
+ case "PPPP":
14185
14103
  default:
14186
14104
  r = t.dateTime({ width: "full" });
14187
14105
  break;
@@ -14461,16 +14379,13 @@ const AM = 60 * 1e3, RM = {
14461
14379
  if (i === 0)
14462
14380
  return "Z";
14463
14381
  switch (t) {
14464
- // Hours and optional minutes
14465
14382
  case "X":
14466
14383
  return Ed(i);
14467
- // Hours, minutes and optional seconds without `:` delimeter
14468
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
14469
- // so this token always has the same output as `XX`
14470
14384
  case "XXXX":
14471
14385
  case "XX":
14472
14386
  return qi(i);
14473
- // Hours and minutes with `:` delimeter
14387
+ case "XXXXX":
14388
+ case "XXX":
14474
14389
  default:
14475
14390
  return qi(i, ":");
14476
14391
  }
@@ -14479,16 +14394,13 @@ const AM = 60 * 1e3, RM = {
14479
14394
  x: function(n, t, e) {
14480
14395
  const i = el(e.timeZone, n);
14481
14396
  switch (t) {
14482
- // Hours and optional minutes
14483
14397
  case "x":
14484
14398
  return Ed(i);
14485
- // Hours, minutes and optional seconds without `:` delimeter
14486
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
14487
- // so this token always has the same output as `xx`
14488
14399
  case "xxxx":
14489
14400
  case "xx":
14490
14401
  return qi(i);
14491
- // Hours and minutes with `:` delimeter
14402
+ case "xxxxx":
14403
+ case "xxx":
14492
14404
  default:
14493
14405
  return qi(i, ":");
14494
14406
  }
@@ -14497,11 +14409,11 @@ const AM = 60 * 1e3, RM = {
14497
14409
  O: function(n, t, e) {
14498
14410
  const i = el(e.timeZone, n);
14499
14411
  switch (t) {
14500
- // Short
14501
14412
  case "O":
14502
14413
  case "OO":
14503
14414
  case "OOO":
14504
14415
  return "GMT" + IM(i, ":");
14416
+ case "OOOO":
14505
14417
  default:
14506
14418
  return "GMT" + qi(i, ":");
14507
14419
  }
@@ -14509,11 +14421,11 @@ const AM = 60 * 1e3, RM = {
14509
14421
  // Timezone (specific non-location)
14510
14422
  z: function(n, t, e) {
14511
14423
  switch (t) {
14512
- // Short
14513
14424
  case "z":
14514
14425
  case "zz":
14515
14426
  case "zzz":
14516
14427
  return Dd("short", n, e);
14428
+ case "zzzz":
14517
14429
  default:
14518
14430
  return Dd("long", n, e);
14519
14431
  }
@@ -14786,34 +14698,34 @@ function qM(n, t = {}) {
14786
14698
  return console.error("Invalid value passed to formatTime", n), "(invalid date)";
14787
14699
  }
14788
14700
  }
14789
- const GM = {
14701
+ const XM = {
14790
14702
  secondly: 1e3,
14791
14703
  tenSecondly: 10 * 1e3,
14792
14704
  thirtySecondly: 30 * 1e3,
14793
14705
  minutely: 60 * 1e3,
14794
- fiveMinutely: 300 * 1e3,
14795
- tenMinutely: 600 * 1e3,
14796
- thirtyMinutely: 1800 * 1e3,
14797
- hourly: 3600 * 1e3,
14798
- twoHourly: 7200 * 1e3,
14799
- twelveHourly: 720 * 60 * 1e3,
14800
- daily: 3600 * 24 * 1e3,
14801
- weekly: 3600 * 24 * 7 * 1e3,
14706
+ fiveMinutely: 5 * 60 * 1e3,
14707
+ tenMinutely: 10 * 60 * 1e3,
14708
+ thirtyMinutely: 30 * 60 * 1e3,
14709
+ hourly: 60 * 60 * 1e3,
14710
+ twoHourly: 2 * 60 * 60 * 1e3,
14711
+ twelveHourly: 12 * 60 * 60 * 1e3,
14712
+ daily: 60 * 60 * 24 * 1e3,
14713
+ weekly: 60 * 60 * 24 * 7 * 1e3,
14802
14714
  trend: 0
14803
14715
  };
14804
14716
  function sl(n) {
14805
- return n && t1.find((t) => n <= GM[t]) || null;
14717
+ return n && t1.find((t) => n <= XM[t]) || null;
14806
14718
  }
14807
14719
  var sa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
14808
- function XM(n) {
14720
+ function GM(n) {
14809
14721
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
14810
14722
  }
14811
14723
  var Ea = { exports: {} };
14812
14724
  Ea.exports;
14813
14725
  (function(n, t) {
14814
- 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]", _ = "[object RegExp]", x = "[object Set]", M = "[object String]", S = "[object Symbol]", O = "[object WeakMap]", E = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", m = "[object Float64Array]", b = "[object Int8Array]", w = "[object Int16Array]", C = "[object Int32Array]", A = "[object Uint8Array]", R = "[object Uint8ClampedArray]", z = "[object Uint16Array]", U = "[object Uint32Array]", tt = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, dt = /^\[object .+?Constructor\]$/, G = /^(?:0|[1-9]\d*)$/, H = {};
14726
+ 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]", _ = "[object RegExp]", x = "[object Set]", M = "[object String]", S = "[object Symbol]", O = "[object WeakMap]", E = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", m = "[object Float64Array]", b = "[object Int8Array]", w = "[object Int16Array]", C = "[object Int32Array]", A = "[object Uint8Array]", R = "[object Uint8ClampedArray]", z = "[object Uint16Array]", U = "[object Uint32Array]", tt = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, dt = /^\[object .+?Constructor\]$/, X = /^(?:0|[1-9]\d*)$/, H = {};
14815
14727
  H[r] = H[a] = H[E] = H[k] = H[o] = H[l] = H[T] = H[m] = H[b] = H[w] = H[C] = H[h] = H[f] = H[g] = H[_] = H[x] = H[M] = H[S] = H[A] = H[R] = H[z] = H[U] = !0, H[c] = H[u] = H[O] = !1;
14816
- var X = typeof sa == "object" && sa && sa.Object === Object && sa, et = typeof self == "object" && self && self.Object === Object && self, V = X || et || Function("return this")(), xt = t && !t.nodeType && t, Mt = xt && !0 && n && !n.nodeType && n, Y = Mt && Mt.exports === xt;
14728
+ var G = typeof sa == "object" && sa && sa.Object === Object && sa, et = typeof self == "object" && self && self.Object === Object && self, V = G || et || Function("return this")(), xt = t && !t.nodeType && t, Mt = xt && !0 && n && !n.nodeType && n, Y = Mt && Mt.exports === xt;
14817
14729
  function B(v, I) {
14818
14730
  return v.set(I[0], I[1]), v;
14819
14731
  }
@@ -14826,13 +14738,13 @@ Ea.exports;
14826
14738
  return v;
14827
14739
  }
14828
14740
  function J(v, I) {
14829
- for (var F = -1, nt = I.length, Xt = v.length; ++F < nt; )
14830
- v[Xt + F] = I[F];
14741
+ for (var F = -1, nt = I.length, Gt = v.length; ++F < nt; )
14742
+ v[Gt + F] = I[F];
14831
14743
  return v;
14832
14744
  }
14833
14745
  function Z(v, I, F, nt) {
14834
- for (var Xt = -1, re = v ? v.length : 0; ++Xt < re; )
14835
- F = I(F, v[Xt], Xt, v);
14746
+ for (var Gt = -1, re = v ? v.length : 0; ++Gt < re; )
14747
+ F = I(F, v[Gt], Gt, v);
14836
14748
  return F;
14837
14749
  }
14838
14750
  function bt(v, I) {
@@ -14854,8 +14766,8 @@ Ea.exports;
14854
14766
  }
14855
14767
  function wt(v) {
14856
14768
  var I = -1, F = Array(v.size);
14857
- return v.forEach(function(nt, Xt) {
14858
- F[++I] = [Xt, nt];
14769
+ return v.forEach(function(nt, Gt) {
14770
+ F[++I] = [Gt, nt];
14859
14771
  }), F;
14860
14772
  }
14861
14773
  function gt(v, I) {
@@ -14869,10 +14781,10 @@ Ea.exports;
14869
14781
  F[++I] = nt;
14870
14782
  }), F;
14871
14783
  }
14872
- var ut = Array.prototype, kt = Function.prototype, fe = Object.prototype, ye = V["__core-js_shared__"], ie = (function() {
14784
+ var ut = Array.prototype, kt = Function.prototype, fe = Object.prototype, ye = V["__core-js_shared__"], ie = function() {
14873
14785
  var v = /[^.]+$/.exec(ye && ye.keys && ye.keys.IE_PROTO || "");
14874
14786
  return v ? "Symbol(src)_1." + v : "";
14875
- })(), an = kt.toString, Rt = fe.hasOwnProperty, ge = fe.toString, $t = RegExp(
14787
+ }(), an = kt.toString, Rt = fe.hasOwnProperty, ge = fe.toString, $t = RegExp(
14876
14788
  "^" + an.call(Rt).replace(tt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
14877
14789
  ), se = Y ? V.Buffer : void 0, me = V.Symbol, on = V.Uint8Array, ri = gt(Object.getPrototypeOf, Object), Je = Object.create, jt = fe.propertyIsEnumerable, Ce = ut.splice, ai = Object.getOwnPropertySymbols, Dr = se ? se.isBuffer : void 0, kr = gt(Object.keys, Object), ms = Ln(V, "DataView"), oi = Ln(V, "Map"), ps = Ln(V, "Promise"), li = Ln(V, "Set"), mn = Ln(V, "WeakMap"), pn = Ln(Object, "create"), ys = be(ms), bs = be(oi), ci = be(ps), Qa = be(li), Ja = be(mn), Cr = me ? me.prototype : void 0, Or = Cr ? Cr.valueOf : void 0;
14878
14790
  function yn(v) {
@@ -14988,9 +14900,9 @@ Ea.exports;
14988
14900
  }
14989
14901
  In.prototype.clear = co, In.prototype.delete = uo, In.prototype.get = ho, In.prototype.has = Ri, In.prototype.set = fo;
14990
14902
  function go(v, I) {
14991
- var F = Ms(v) || Hi(v) ? bt(v.length, String) : [], nt = F.length, Xt = !!nt;
14903
+ var F = Ms(v) || Hi(v) ? bt(v.length, String) : [], nt = F.length, Gt = !!nt;
14992
14904
  for (var re in v)
14993
- Rt.call(v, re) && !(Xt && (re == "length" || Eo(re, nt))) && F.push(re);
14905
+ Rt.call(v, re) && !(Gt && (re == "length" || Eo(re, nt))) && F.push(re);
14994
14906
  return F;
14995
14907
  }
14996
14908
  function je(v, I, F) {
@@ -15006,9 +14918,9 @@ Ea.exports;
15006
14918
  function mo(v, I) {
15007
14919
  return v && Er(I, ui(I), v);
15008
14920
  }
15009
- function vs(v, I, F, nt, Xt, re, Oe) {
14921
+ function vs(v, I, F, nt, Gt, re, Oe) {
15010
14922
  var oe;
15011
- if (nt && (oe = re ? nt(v, Xt, re, Oe) : nt(v)), oe !== void 0)
14923
+ if (nt && (oe = re ? nt(v, Gt, re, Oe) : nt(v)), oe !== void 0)
15012
14924
  return oe;
15013
14925
  if (!vn(v))
15014
14926
  return v;
@@ -15106,8 +15018,8 @@ Ea.exports;
15106
15018
  }
15107
15019
  function Er(v, I, F, nt) {
15108
15020
  F || (F = {});
15109
- for (var Xt = -1, re = I.length; ++Xt < re; ) {
15110
- var Oe = I[Xt], oe = void 0;
15021
+ for (var Gt = -1, re = I.length; ++Gt < re; ) {
15022
+ var Oe = I[Gt], oe = void 0;
15111
15023
  je(F, Oe, oe === void 0 ? v[Oe] : oe);
15112
15024
  }
15113
15025
  return F;
@@ -15152,13 +15064,13 @@ Ea.exports;
15152
15064
  return typeof v.constructor == "function" && !_n(v) ? po(ri(v)) : {};
15153
15065
  }
15154
15066
  function Po(v, I, F, nt) {
15155
- var Xt = v.constructor;
15067
+ var Gt = v.constructor;
15156
15068
  switch (I) {
15157
15069
  case E:
15158
15070
  return Ni(v);
15159
15071
  case o:
15160
15072
  case l:
15161
- return new Xt(+v);
15073
+ return new Gt(+v);
15162
15074
  case k:
15163
15075
  return xo(v, nt);
15164
15076
  case T:
@@ -15175,7 +15087,7 @@ Ea.exports;
15175
15087
  return wo(v, nt, F);
15176
15088
  case f:
15177
15089
  case M:
15178
- return new Xt(v);
15090
+ return new Gt(v);
15179
15091
  case _:
15180
15092
  return xs(v);
15181
15093
  case x:
@@ -15185,7 +15097,7 @@ Ea.exports;
15185
15097
  }
15186
15098
  }
15187
15099
  function Eo(v, I) {
15188
- return I = I ?? s, !!I && (typeof v == "number" || G.test(v)) && v > -1 && v % 1 == 0 && v < I;
15100
+ return I = I ?? s, !!I && (typeof v == "number" || X.test(v)) && v > -1 && v % 1 == 0 && v < I;
15189
15101
  }
15190
15102
  function zi(v) {
15191
15103
  var I = typeof v;
@@ -15257,7 +15169,7 @@ Ea.exports;
15257
15169
  const Qe = (n, t) => new Date(n.getTime() - VM(t, n));
15258
15170
  class le {
15259
15171
  constructor(t) {
15260
- Ge(this, "timeframeText"), Ge(this, "key"), Ge(this, "display"), Ge(this, "timeframeLength"), Ge(this, "allowedTiers"), Ge(this, "defaultResponseGranularity"), Ge(this, "dataGranularity"), Ge(this, "isRelative"), Ge(this, "fineGrainedDefaultGranularity"), Ge(this, "_startCustom"), Ge(this, "_endCustom"), Ge(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;
15172
+ Xe(this, "timeframeText"), Xe(this, "key"), Xe(this, "display"), Xe(this, "timeframeLength"), Xe(this, "allowedTiers"), Xe(this, "defaultResponseGranularity"), Xe(this, "dataGranularity"), Xe(this, "isRelative"), Xe(this, "fineGrainedDefaultGranularity"), Xe(this, "_startCustom"), Xe(this, "_endCustom"), Xe(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;
15261
15173
  }
15262
15174
  // rawEnd does not consider granularity and should not be used directly in queries.
15263
15175
  // Use `new QueryTime(timeframe, granularity?).queryEndSeconds()` instead.
@@ -15281,7 +15193,7 @@ class le {
15281
15193
  if (this._allowedGranularitiesOverride && t)
15282
15194
  return new Set(this._allowedGranularitiesOverride);
15283
15195
  const e = /* @__PURE__ */ new Set(), i = this.maximumTimeframeLength() / 3600;
15284
- return i <= 6 && e.add("minutely"), i >= 2 && i <= 168 && e.add("hourly"), i >= 48 && e.add("daily"), i >= 672 && e.add("weekly"), e;
15196
+ return i <= 6 && e.add("minutely"), i >= 2 && i <= 7 * 24 && e.add("hourly"), i >= 2 * 24 && e.add("daily"), i >= 2 * 24 * 14 && e.add("weekly"), e;
15285
15197
  }
15286
15198
  cacheKey() {
15287
15199
  return this.key !== "custom" ? this.key : `${this.rawStart().toISOString()}-${this.rawEnd().toISOString()}`;
@@ -15312,7 +15224,7 @@ class KM extends le {
15312
15224
  return t && (e = Qe(e, t)), e;
15313
15225
  }
15314
15226
  maximumTimeframeLength() {
15315
- return 3600 * 24 * 7;
15227
+ return 60 * 60 * 24 * 7;
15316
15228
  }
15317
15229
  }
15318
15230
  class ZM extends le {
@@ -15321,7 +15233,7 @@ class ZM extends le {
15321
15233
  return t && (e = Qe(e, t)), e;
15322
15234
  }
15323
15235
  maximumTimeframeLength() {
15324
- return 3600 * 24 * 31;
15236
+ return 60 * 60 * 24 * 31;
15325
15237
  }
15326
15238
  }
15327
15239
  class QM extends le {
@@ -15330,7 +15242,7 @@ class QM extends le {
15330
15242
  return t && (e = Qe(e, t)), e;
15331
15243
  }
15332
15244
  maximumTimeframeLength() {
15333
- return 3600 * 24 * 92;
15245
+ return 60 * 60 * 24 * 92;
15334
15246
  }
15335
15247
  }
15336
15248
  class JM extends le {
@@ -15339,7 +15251,7 @@ class JM extends le {
15339
15251
  return t && (e = Qe(e, t)), e;
15340
15252
  }
15341
15253
  maximumTimeframeLength() {
15342
- return 3600 * 24 * 366;
15254
+ return 60 * 60 * 24 * 366;
15343
15255
  }
15344
15256
  }
15345
15257
  class tS extends le {
@@ -15389,7 +15301,7 @@ it.FIFTEEN_MIN, new le({
15389
15301
  key: it.FIFTEEN_MIN,
15390
15302
  display: "Last 15 minutes",
15391
15303
  timeframeText: "15 minutes",
15392
- timeframeLength: () => 900,
15304
+ timeframeLength: () => 60 * 15,
15393
15305
  defaultResponseGranularity: "minutely",
15394
15306
  dataGranularity: "minutely",
15395
15307
  isRelative: !0,
@@ -15400,7 +15312,7 @@ it.FIFTEEN_MIN, new le({
15400
15312
  key: it.ONE_HOUR,
15401
15313
  display: "Last hour",
15402
15314
  timeframeText: "One hour",
15403
- timeframeLength: () => 3600 * 1,
15315
+ timeframeLength: () => 60 * 60 * 1,
15404
15316
  defaultResponseGranularity: "minutely",
15405
15317
  dataGranularity: "minutely",
15406
15318
  isRelative: !0,
@@ -15411,7 +15323,7 @@ it.FIFTEEN_MIN, new le({
15411
15323
  key: it.SIX_HOUR,
15412
15324
  display: "Last 6 hours",
15413
15325
  timeframeText: "6 hours",
15414
- timeframeLength: () => 3600 * 6,
15326
+ timeframeLength: () => 60 * 60 * 6,
15415
15327
  defaultResponseGranularity: "hourly",
15416
15328
  dataGranularity: "hourly",
15417
15329
  isRelative: !0,
@@ -15422,7 +15334,7 @@ it.FIFTEEN_MIN, new le({
15422
15334
  key: it.TWELVE_HOUR,
15423
15335
  display: "Last 12 hours",
15424
15336
  timeframeText: "12 hours",
15425
- timeframeLength: () => 3600 * 12,
15337
+ timeframeLength: () => 60 * 60 * 12,
15426
15338
  defaultResponseGranularity: "hourly",
15427
15339
  dataGranularity: "hourly",
15428
15340
  isRelative: !0,
@@ -15433,7 +15345,7 @@ it.FIFTEEN_MIN, new le({
15433
15345
  key: it.ONE_DAY,
15434
15346
  display: "Last 24 hours",
15435
15347
  timeframeText: "24 hours",
15436
- timeframeLength: () => 3600 * 24,
15348
+ timeframeLength: () => 60 * 60 * 24,
15437
15349
  defaultResponseGranularity: "hourly",
15438
15350
  dataGranularity: "hourly",
15439
15351
  isRelative: !0,
@@ -15444,7 +15356,7 @@ it.FIFTEEN_MIN, new le({
15444
15356
  key: it.SEVEN_DAY,
15445
15357
  display: "Last 7 days",
15446
15358
  timeframeText: "7 days",
15447
- timeframeLength: () => 3600 * 24 * 7,
15359
+ timeframeLength: () => 60 * 60 * 24 * 7,
15448
15360
  defaultResponseGranularity: "daily",
15449
15361
  dataGranularity: "daily",
15450
15362
  isRelative: !0,
@@ -15455,7 +15367,7 @@ it.FIFTEEN_MIN, new le({
15455
15367
  key: it.THIRTY_DAY,
15456
15368
  display: "Last 30 days",
15457
15369
  timeframeText: "30 days",
15458
- timeframeLength: () => 3600 * 24 * 30,
15370
+ timeframeLength: () => 60 * 60 * 24 * 30,
15459
15371
  defaultResponseGranularity: "daily",
15460
15372
  dataGranularity: "daily",
15461
15373
  isRelative: !0,
@@ -15466,7 +15378,7 @@ it.FIFTEEN_MIN, new le({
15466
15378
  key: it.NINETY_DAY,
15467
15379
  display: "Last 90 days",
15468
15380
  timeframeText: "90 days",
15469
- timeframeLength: () => 3600 * 24 * 90,
15381
+ timeframeLength: () => 60 * 60 * 24 * 90,
15470
15382
  defaultResponseGranularity: "daily",
15471
15383
  dataGranularity: "daily",
15472
15384
  isRelative: !0,
@@ -15477,7 +15389,7 @@ it.FIFTEEN_MIN, new le({
15477
15389
  key: it.ONE_HUNDRED_EIGHTY_DAY,
15478
15390
  display: "Last 180 days",
15479
15391
  timeframeText: "180 days",
15480
- timeframeLength: () => 3600 * 24 * 180,
15392
+ timeframeLength: () => 60 * 60 * 24 * 180,
15481
15393
  defaultResponseGranularity: "daily",
15482
15394
  dataGranularity: "daily",
15483
15395
  isRelative: !0,
@@ -15488,7 +15400,7 @@ it.FIFTEEN_MIN, new le({
15488
15400
  key: it.ONE_YEAR,
15489
15401
  display: "Last 365 days",
15490
15402
  timeframeText: "365 days",
15491
- timeframeLength: () => 3600 * 24 * 365,
15403
+ timeframeLength: () => 60 * 60 * 24 * 365,
15492
15404
  defaultResponseGranularity: "daily",
15493
15405
  dataGranularity: "daily",
15494
15406
  isRelative: !0,
@@ -15549,7 +15461,7 @@ it.FIFTEEN_MIN, new le({
15549
15461
  key: it.PREVIOUS_WEEK,
15550
15462
  display: "Previous week",
15551
15463
  timeframeText: "Week",
15552
- timeframeLength: () => 3600 * 24 * 7,
15464
+ timeframeLength: () => 60 * 60 * 24 * 7,
15553
15465
  defaultResponseGranularity: "daily",
15554
15466
  dataGranularity: "daily",
15555
15467
  isRelative: !1,
@@ -15563,7 +15475,7 @@ it.FIFTEEN_MIN, new le({
15563
15475
  timeframeLength: () => {
15564
15476
  let n = 0;
15565
15477
  const t = es(/* @__PURE__ */ new Date()), e = es(gg(/* @__PURE__ */ new Date()));
15566
- return t.getTimezoneOffset() !== e.getTimezoneOffset() && (n = zd(t, e)), 3600 * 24 * pM((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + Td(n);
15478
+ return t.getTimezoneOffset() !== e.getTimezoneOffset() && (n = zd(t, e)), 60 * 60 * 24 * pM((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + Td(n);
15567
15479
  },
15568
15480
  defaultResponseGranularity: "daily",
15569
15481
  dataGranularity: "daily",
@@ -15588,7 +15500,7 @@ it.FIFTEEN_MIN, new le({
15588
15500
  timeframeLength: () => {
15589
15501
  const n = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1), t = new Date((/* @__PURE__ */ new Date()).getFullYear() - 1, 0, 1);
15590
15502
  let e = 0;
15591
- return n.getTimezoneOffset() !== t.getTimezoneOffset() && (e = zd(n, t)), 3600 * 24 * (365 + (t.getFullYear() % 4 === 0 ? 1 : 0)) + Td(e);
15503
+ return n.getTimezoneOffset() !== t.getTimezoneOffset() && (e = zd(n, t)), 60 * 60 * 24 * (365 + (t.getFullYear() % 4 === 0 ? 1 : 0)) + Td(e);
15592
15504
  },
15593
15505
  defaultResponseGranularity: "daily",
15594
15506
  dataGranularity: "daily",
@@ -15631,7 +15543,7 @@ var vg = { exports: {} };
15631
15543
  })();
15632
15544
  })(vg);
15633
15545
  var rS = vg.exports;
15634
- const rl = /* @__PURE__ */ XM(rS);
15546
+ const rl = /* @__PURE__ */ GM(rS);
15635
15547
  var Hd;
15636
15548
  const aS = typeof document < "u" && ((Hd = document.documentElement) == null ? void 0 : Hd.lang) || "en-US", ha = new Intl.NumberFormat(aS);
15637
15549
  function ds({
@@ -15674,6 +15586,10 @@ function ds({
15674
15586
  return t(i, r);
15675
15587
  case "usd":
15676
15588
  return e(i, a);
15589
+ case "ms":
15590
+ case "count/minute":
15591
+ case "token count":
15592
+ case "count":
15677
15593
  default:
15678
15594
  return isNaN(i) ? `${i}` : o ? `${rl(i, { capital: !0 })} ${c}` : i >= 0.01 ? `${ha.format(Number.parseFloat(i.toFixed(2)))} ${c}` : `${Number.parseFloat(i.toPrecision(4))} ${c}`;
15679
15595
  }
@@ -15689,6 +15605,10 @@ function ds({
15689
15605
  return `${t(i, a)} - ${t(s, a)}`;
15690
15606
  case "usd":
15691
15607
  return `${e(i, o)} - ${e(s, o)}`;
15608
+ case "ms":
15609
+ case "count/minute":
15610
+ case "token count":
15611
+ case "count":
15692
15612
  default:
15693
15613
  if (isNaN(i) || isNaN(s))
15694
15614
  return `${i} - ${s}`;
@@ -15769,11 +15689,11 @@ const Sg = (n, t, e) => {
15769
15689
  return n.options.plugins.legend.labels.generateLabels(n).filter((s) => {
15770
15690
  var r;
15771
15691
  return !((r = t == null ? void 0 : t[s.text]) != null && r.isThreshold);
15772
- }).map(((s, r) => ({
15692
+ }).map((s, r) => ({
15773
15693
  ...s,
15774
15694
  value: t && t[s.text],
15775
15695
  isSegmentEmpty: i.datasets[r].isSegmentEmpty
15776
- }))).sort(e);
15696
+ })).sort(e);
15777
15697
  }, hP = 2, fS = 10, gS = 12, $l = 10, Bd = "#6c7489", mS = "#d60027", pS = "#ad000e", Cc = "#6c7489", Wd = "#52596e", yS = "#007d60", bS = "#995c00", _S = "#ffc400", fr = "16px", vS = "20px", xS = "'Inter', Roboto, Helvetica, sans-serif", Yd = {
15778
15698
  "1XXCount|1XX|1[0-9][0-9]": { solid: "#0072E5", light: "#4DA6FF", description: "Informational" },
15779
15699
  "SuccessfulRequests|2XXCount|2XX|2[0-9][0-9]|SUCCESS": { solid: "#0BB652", light: "#6FCC83", description: "Success" },
@@ -15922,7 +15842,7 @@ const Sg = (n, t, e) => {
15922
15842
  "5XX": "#FF8484"
15923
15843
  };
15924
15844
  function Ud(n, t, e) {
15925
- const i = Xf(), s = zS(n, e.timeZone, e.locale ?? i.locale);
15845
+ const i = Gf(), s = zS(n, e.timeZone, e.locale ?? i.locale);
15926
15846
  return "formatToParts" in s ? NS(s, t) : FS(s, t);
15927
15847
  }
15928
15848
  function NS(n, t) {
@@ -16026,13 +15946,13 @@ function Oc(n, t, e) {
16026
15946
  return 0;
16027
15947
  let s, r;
16028
15948
  if (i = ul.timezoneHH.exec(n), i)
16029
- return s = parseInt(i[1], 10), Gd(s) ? -(s * qd) : NaN;
15949
+ return s = parseInt(i[1], 10), Xd(s) ? -(s * qd) : NaN;
16030
15950
  if (i = ul.timezoneHHMM.exec(n), i) {
16031
15951
  s = parseInt(i[2], 10);
16032
15952
  const a = parseInt(i[3], 10);
16033
- return Gd(s, a) ? (r = Math.abs(s) * qd + a * US, i[1] === "+" ? -r : r) : NaN;
15953
+ return Xd(s, a) ? (r = Math.abs(s) * qd + a * US, i[1] === "+" ? -r : r) : NaN;
16034
15954
  }
16035
- if (GS(n)) {
15955
+ if (XS(n)) {
16036
15956
  t = new Date(t || Date.now());
16037
15957
  const a = e ? t : VS(t), o = Ul(a, n);
16038
15958
  return -(e ? o : qS(t, o, n));
@@ -16057,86 +15977,80 @@ function qS(n, t, e) {
16057
15977
  const a = Ul(new Date(s), e);
16058
15978
  return r === a ? r : Math.max(r, a);
16059
15979
  }
16060
- function Gd(n, t) {
15980
+ function Xd(n, t) {
16061
15981
  return -23 <= n && n <= 23 && (t == null || 0 <= t && t <= 59);
16062
15982
  }
16063
- const Xd = {};
16064
- function GS(n) {
16065
- if (Xd[n])
15983
+ const Gd = {};
15984
+ function XS(n) {
15985
+ if (Gd[n])
16066
15986
  return !0;
16067
15987
  try {
16068
- return new Intl.DateTimeFormat(void 0, { timeZone: n }), Xd[n] = !0, !0;
15988
+ return new Intl.DateTimeFormat(void 0, { timeZone: n }), Gd[n] = !0, !0;
16069
15989
  } catch {
16070
15990
  return !1;
16071
15991
  }
16072
15992
  }
16073
- const XS = 60 * 1e3, KS = {
15993
+ const GS = 60 * 1e3, KS = {
16074
15994
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
16075
15995
  X: function(n, t, e) {
16076
15996
  const i = dl(e.timeZone, n);
16077
15997
  if (i === 0)
16078
15998
  return "Z";
16079
15999
  switch (t) {
16080
- // Hours and optional minutes
16081
16000
  case "X":
16082
16001
  return Kd(i);
16083
- // Hours, minutes and optional seconds without `:` delimeter
16084
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
16085
- // so this token always has the same output as `XX`
16086
16002
  case "XXXX":
16087
16003
  case "XX":
16088
- return Gi(i);
16089
- // Hours and minutes with `:` delimeter
16004
+ return Xi(i);
16005
+ case "XXXXX":
16006
+ case "XXX":
16090
16007
  default:
16091
- return Gi(i, ":");
16008
+ return Xi(i, ":");
16092
16009
  }
16093
16010
  },
16094
16011
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
16095
16012
  x: function(n, t, e) {
16096
16013
  const i = dl(e.timeZone, n);
16097
16014
  switch (t) {
16098
- // Hours and optional minutes
16099
16015
  case "x":
16100
16016
  return Kd(i);
16101
- // Hours, minutes and optional seconds without `:` delimeter
16102
- // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
16103
- // so this token always has the same output as `xx`
16104
16017
  case "xxxx":
16105
16018
  case "xx":
16106
- return Gi(i);
16107
- // Hours and minutes with `:` delimeter
16019
+ return Xi(i);
16020
+ case "xxxxx":
16021
+ case "xxx":
16108
16022
  default:
16109
- return Gi(i, ":");
16023
+ return Xi(i, ":");
16110
16024
  }
16111
16025
  },
16112
16026
  // Timezone (GMT)
16113
16027
  O: function(n, t, e) {
16114
16028
  const i = dl(e.timeZone, n);
16115
16029
  switch (t) {
16116
- // Short
16117
16030
  case "O":
16118
16031
  case "OO":
16119
16032
  case "OOO":
16120
16033
  return "GMT" + ZS(i, ":");
16034
+ case "OOOO":
16121
16035
  default:
16122
- return "GMT" + Gi(i, ":");
16036
+ return "GMT" + Xi(i, ":");
16123
16037
  }
16124
16038
  },
16125
16039
  // Timezone (specific non-location)
16126
16040
  z: function(n, t, e) {
16127
16041
  switch (t) {
16128
- // Short
16129
16042
  case "z":
16130
16043
  case "zz":
16131
16044
  case "zzz":
16132
16045
  return Ud("short", n, e);
16046
+ case "zzzz":
16133
16047
  default:
16134
16048
  return Ud("long", n, e);
16135
16049
  }
16136
16050
  }
16137
16051
  };
16138
16052
  function dl(n, t) {
16139
- const e = n ? Oc(n, t, !0) / XS : (t == null ? void 0 : t.getTimezoneOffset()) ?? 0;
16053
+ const e = n ? Oc(n, t, !0) / GS : (t == null ? void 0 : t.getTimezoneOffset()) ?? 0;
16140
16054
  if (Number.isNaN(e))
16141
16055
  throw new RangeError("Invalid time zone specified: " + n);
16142
16056
  return e;
@@ -16148,12 +16062,12 @@ function Ra(n, t) {
16148
16062
  i = "0" + i;
16149
16063
  return e + i;
16150
16064
  }
16151
- function Gi(n, t = "") {
16065
+ function Xi(n, t = "") {
16152
16066
  const e = n > 0 ? "-" : "+", i = Math.abs(n), s = Ra(Math.floor(i / 60), 2), r = Ra(Math.floor(i % 60), 2);
16153
16067
  return e + s + t + r;
16154
16068
  }
16155
16069
  function Kd(n, t) {
16156
- return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ra(Math.abs(n) / 60, 2) : Gi(n, t);
16070
+ return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ra(Math.abs(n) / 60, 2) : Xi(n, t);
16157
16071
  }
16158
16072
  function ZS(n, t = "") {
16159
16073
  const e = n > 0 ? "-" : "+", i = Math.abs(n), s = Math.floor(i / 60), r = i % 60;
@@ -16587,7 +16501,7 @@ const mT = (n, t) => {
16587
16501
  return n.datasets.length === t.datasets.length && e.every((s, r) => s === i[r]);
16588
16502
  };
16589
16503
  function pT(n, t, e, i, s) {
16590
- const r = Xe(null), a = (o, l) => {
16504
+ const r = Ge(null), a = (o, l) => {
16591
16505
  if (t.value)
16592
16506
  return new Fe(t.value, {
16593
16507
  type: n,
@@ -17161,7 +17075,7 @@ function nr(...n) {
17161
17075
  }
17162
17076
  // @__NO_SIDE_EFFECTS__
17163
17077
  function HT() {
17164
- const n = Xe(!1), t = ec();
17078
+ const n = Ge(!1), t = ec();
17165
17079
  return t && ii(() => {
17166
17080
  n.value = !0;
17167
17081
  }, t), n;
@@ -17287,7 +17201,7 @@ function $T(n, t = {}) {
17287
17201
  windowScroll: s = !0,
17288
17202
  immediate: r = !0,
17289
17203
  updateTiming: a = "sync"
17290
- } = t, o = Xe(0), l = Xe(0), c = Xe(0), u = Xe(0), d = Xe(0), h = Xe(0), f = Xe(0), g = Xe(0);
17204
+ } = t, o = Ge(0), l = Ge(0), c = Ge(0), u = Ge(0), d = Ge(0), h = Ge(0), f = Ge(0), g = Ge(0);
17291
17205
  function y() {
17292
17206
  const x = os(n);
17293
17207
  if (!x) {
@@ -17354,7 +17268,7 @@ const UT = ({
17354
17268
  const i = e.minCounts[n] !== void 0 || e.maxCounts[n] !== void 0 || e.minStamps[n] !== void 0 || e.maxStamps[n] !== void 0 || e.renderPoints[n] !== void 0;
17355
17269
  e && i && (delete e.minCounts[n], delete e.maxCounts[n], delete e.minStamps[n], delete e.maxStamps[n], delete e.renderPoints[n], Object.keys(e.minCounts).length || Object.keys(e.maxCounts).length || Object.keys(e.minStamps).length || Object.keys(e.maxStamps).length || Object.keys(e.renderPoints).length || delete ir.value[t]);
17356
17270
  };
17357
- function GT({
17271
+ function XT({
17358
17272
  chartKey: n,
17359
17273
  datasets: t,
17360
17274
  groupKey: e,
@@ -17439,7 +17353,7 @@ const _t = {
17439
17353
  useTranslatedUnits: OT,
17440
17354
  useEvaluateFeatureFlag: ET,
17441
17355
  useTooltipAbsolutePosition: jT,
17442
- useSparklineSync: GT
17356
+ useSparklineSync: XT
17443
17357
  };
17444
17358
  var Ye = /* @__PURE__ */ ((n) => (n.Hidden = "hidden", n.Bottom = "bottom", n))(Ye || {});
17445
17359
  /*!
@@ -17494,14 +17408,14 @@ const ih = {
17494
17408
  function Ac(n, t, e) {
17495
17409
  return (ih.modes[e.mode] || ih.modes.nearest)(n, t, e);
17496
17410
  }
17497
- function XT(n, t, e) {
17411
+ function GT(n, t, e) {
17498
17412
  return e !== "x" && e !== "y" ? n.inRange(t.x, t.y, "x", !0) || n.inRange(t.x, t.y, "y", !0) : n.inRange(t.x, t.y, e, !0);
17499
17413
  }
17500
17414
  function KT(n, t, e) {
17501
17415
  return e === "x" ? { x: n.x, y: t.y } : e === "y" ? { x: t.x, y: n.y } : t;
17502
17416
  }
17503
17417
  function ga(n, t, e) {
17504
- return n.filter((i) => e.intersect ? i.inRange(t.x, t.y) : XT(i, t, e.axis));
17418
+ return n.filter((i) => e.intersect ? i.inRange(t.x, t.y) : GT(i, t, e.axis));
17505
17419
  }
17506
17420
  function ZT(n, t, e) {
17507
17421
  let i = Number.POSITIVE_INFINITY;
@@ -17674,7 +17588,7 @@ function qg(n, t, e) {
17674
17588
  radius: JT(Kn(e.borderRadius), 0, Math.min(r, a) / 2)
17675
17589
  }), n.closePath(), n.fill(), o && (n.shadowColor = e.borderShadowColor, n.stroke()), n.restore();
17676
17590
  }
17677
- function Gg(n, t, e, i) {
17591
+ function Xg(n, t, e, i) {
17678
17592
  const s = e.content;
17679
17593
  if (Ua(s)) {
17680
17594
  n.save(), n.globalAlpha = fD(e.opacity, s.style.opacity), n.drawImage(s, t.x, t.y, t.width, t.height), n.restore();
@@ -17699,7 +17613,6 @@ function lD(n, t, e, i) {
17699
17613
  function cD(n, { x: t, y: e, radius: i, rotation: s, style: r, rad: a }) {
17700
17614
  let o, l, c, u;
17701
17615
  switch (n.beginPath(), r) {
17702
- // Default includes circle
17703
17616
  default:
17704
17617
  n.arc(t, e, i, 0, Lt), n.closePath();
17705
17618
  break;
@@ -17715,13 +17628,11 @@ function cD(n, { x: t, y: e, radius: i, rotation: s, style: r, rad: a }) {
17715
17628
  break;
17716
17629
  }
17717
17630
  a += Ke;
17718
- /* falls through */
17719
17631
  case "rectRot":
17720
17632
  o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + l, e - o), n.lineTo(t + o, e + l), n.lineTo(t - l, e + o), n.closePath();
17721
17633
  break;
17722
17634
  case "crossRot":
17723
17635
  a += Ke;
17724
- /* falls through */
17725
17636
  case "cross":
17726
17637
  o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l), n.moveTo(t + l, e - o), n.lineTo(t - l, e + o);
17727
17638
  break;
@@ -17768,7 +17679,7 @@ function fD(n, t) {
17768
17679
  const e = Jn(n) ? n : t;
17769
17680
  return Jn(e) ? ja(e, 0, 1) : 1;
17770
17681
  }
17771
- const Xg = ["left", "bottom", "top", "right"];
17682
+ const Gg = ["left", "bottom", "top", "right"];
17772
17683
  function gD(n, t) {
17773
17684
  const { pointX: e, pointY: i, options: s } = t, r = s.callout, a = r && r.display && _D(t, r);
17774
17685
  if (!a || xD(t, r, a))
@@ -17800,14 +17711,14 @@ function bD(n, t) {
17800
17711
  }
17801
17712
  function _D(n, t) {
17802
17713
  const e = t.position;
17803
- return Xg.includes(e) ? e : vD(n, t);
17714
+ return Gg.includes(e) ? e : vD(n, t);
17804
17715
  }
17805
17716
  function vD(n, t) {
17806
17717
  const { x: e, y: i, x2: s, y2: r, width: a, height: o, pointX: l, pointY: c, centerX: u, centerY: d, rotation: h } = n, f = { x: u, y: d }, g = t.start, y = ei(a, g), _ = ei(o, g), x = [e, e + y, e + y, s], M = [i + _, r, i, r], S = [];
17807
17718
  for (let O = 0; O < 4; O++) {
17808
17719
  const E = Pi({ x: x[O], y: M[O] }, f, te(h));
17809
17720
  S.push({
17810
- position: Xg[O],
17721
+ position: Gg[O],
17811
17722
  distance: ns(E, { x: l, y: c })
17812
17723
  });
17813
17724
  }
@@ -18167,7 +18078,7 @@ gs.descriptors = {
18167
18078
  _fallback: !0
18168
18079
  }
18169
18080
  };
18170
- class Ga extends de {
18081
+ class Xa extends de {
18171
18082
  inRange(t, e, i, s) {
18172
18083
  return Fg(
18173
18084
  { x: t, y: e },
@@ -18181,7 +18092,7 @@ class Ga extends de {
18181
18092
  }
18182
18093
  draw(t) {
18183
18094
  const e = this.options;
18184
- !e.display || !e.content || (UD(t, this), t.save(), Va(t, this.getCenterPoint(), this.rotation), Gg(t, this, e, this._fitRatio), t.restore());
18095
+ !e.display || !e.content || (UD(t, this), t.save(), Va(t, this.getCenterPoint(), this.rotation), Xg(t, this, e, this._fitRatio), t.restore());
18185
18096
  }
18186
18097
  resolveElementProperties(t, e) {
18187
18098
  const i = BD(t, e);
@@ -18201,8 +18112,8 @@ class Ga extends de {
18201
18112
  };
18202
18113
  }
18203
18114
  }
18204
- Ga.id = "doughnutLabelAnnotation";
18205
- Ga.defaults = {
18115
+ Xa.id = "doughnutLabelAnnotation";
18116
+ Xa.defaults = {
18206
18117
  autoFit: !0,
18207
18118
  autoHide: !0,
18208
18119
  backgroundColor: "transparent",
@@ -18240,7 +18151,7 @@ Ga.defaults = {
18240
18151
  xAdjust: 0,
18241
18152
  yAdjust: 0
18242
18153
  };
18243
- Ga.defaultRoutes = {};
18154
+ Xa.defaultRoutes = {};
18244
18155
  function BD(n, t) {
18245
18156
  return n.getSortedVisibleDatasetMetas().reduce(function(e, i) {
18246
18157
  const s = i.controller;
@@ -18313,7 +18224,7 @@ class Mr extends de {
18313
18224
  }
18314
18225
  draw(t) {
18315
18226
  const e = this.options, i = !ze(this._visible) || this._visible;
18316
- !e.display || !e.content || !i || (t.save(), Va(t, this.getCenterPoint(), this.rotation), gD(t, this), qg(t, this, e), Gg(t, VD(this), e), t.restore());
18227
+ !e.display || !e.content || !i || (t.save(), Va(t, this.getCenterPoint(), this.rotation), gD(t, this), qg(t, this, e), Xg(t, VD(this), e), t.restore());
18317
18228
  }
18318
18229
  resolveElementProperties(t, e) {
18319
18230
  let i;
@@ -18406,7 +18317,7 @@ function VD({ x: n, y: t, width: e, height: i, options: s }) {
18406
18317
  height: i - a.top - a.bottom - s.borderWidth
18407
18318
  };
18408
18319
  }
18409
- const Fc = (n, t, e) => ({ x: n.x + e * (t.x - n.x), y: n.y + e * (t.y - n.y) }), Gl = (n, t, e) => Fc(t, e, Math.abs((n - t.y) / (e.y - t.y))).x, dh = (n, t, e) => Fc(t, e, Math.abs((n - t.x) / (e.x - t.x))).y, Vs = (n) => n * n, qD = (n, t, { x: e, y: i, x2: s, y2: r }, a) => a === "y" ? { start: Math.min(i, r), end: Math.max(i, r), value: t } : { start: Math.min(e, s), end: Math.max(e, s), value: n }, hh = (n, t, e, i) => (1 - i) * (1 - i) * n + 2 * (1 - i) * i * t + i * i * e, Xl = (n, t, e, i) => ({ x: hh(n.x, t.x, e.x, i), y: hh(n.y, t.y, e.y, i) }), fh = (n, t, e, i) => 2 * (1 - i) * (t - n) + 2 * i * (e - t), gh = (n, t, e, i) => -Math.atan2(fh(n.x, t.x, e.x, i), fh(n.y, t.y, e.y, i)) + 0.5 * pt;
18320
+ const Fc = (n, t, e) => ({ x: n.x + e * (t.x - n.x), y: n.y + e * (t.y - n.y) }), Xl = (n, t, e) => Fc(t, e, Math.abs((n - t.y) / (e.y - t.y))).x, dh = (n, t, e) => Fc(t, e, Math.abs((n - t.x) / (e.x - t.x))).y, Vs = (n) => n * n, qD = (n, t, { x: e, y: i, x2: s, y2: r }, a) => a === "y" ? { start: Math.min(i, r), end: Math.max(i, r), value: t } : { start: Math.min(e, s), end: Math.max(e, s), value: n }, hh = (n, t, e, i) => (1 - i) * (1 - i) * n + 2 * (1 - i) * i * t + i * i * e, Gl = (n, t, e, i) => ({ x: hh(n.x, t.x, e.x, i), y: hh(n.y, t.y, e.y, i) }), fh = (n, t, e, i) => 2 * (1 - i) * (t - n) + 2 * i * (e - t), gh = (n, t, e, i) => -Math.atan2(fh(n.x, t.x, e.x, i), fh(n.y, t.y, e.y, i)) + 0.5 * pt;
18410
18321
  class Sr extends de {
18411
18322
  inRange(t, e, i, s) {
18412
18323
  const r = (this.options.borderWidth + this.options.hitTolerance) / 2;
@@ -18420,7 +18331,7 @@ class Sr extends de {
18420
18331
  const c = Vs(r);
18421
18332
  return ZD(this, a, c, s) || Kl(this, a, s);
18422
18333
  }
18423
- return GD(this, { mouseX: t, mouseY: e }, i, { hitSize: r, useFinalPosition: s });
18334
+ return XD(this, { mouseX: t, mouseY: e }, i, { hitSize: r, useFinalPosition: s });
18424
18335
  }
18425
18336
  getCenterPoint(t) {
18426
18337
  return Ei(this, t);
@@ -18440,7 +18351,7 @@ class Sr extends de {
18440
18351
  return this.elements && this.elements[0];
18441
18352
  }
18442
18353
  resolveElementProperties(t, e) {
18443
- const i = wD(t, e), { x: s, y: r, x2: a, y2: o } = i, l = XD(i, t.chartArea), c = l ? KD({ x: s, y: r }, { x: a, y: o }, t.chartArea) : { x: s, y: r, x2: a, y2: o, width: Math.abs(a - s), height: Math.abs(o - r) };
18354
+ const i = wD(t, e), { x: s, y: r, x2: a, y2: o } = i, l = GD(i, t.chartArea), c = l ? KD({ x: s, y: r }, { x: a, y: o }, t.chartArea) : { x: s, y: r, x2: a, y2: o, width: Math.abs(a - s), height: Math.abs(o - r) };
18444
18355
  if (c.centerX = (a + s) / 2, c.centerY = (o + r) / 2, c.initProperties = hs(t, c, e), e.curve) {
18445
18356
  const d = { x: c.x, y: c.y }, h = { x: c.x2, y: c.y2 };
18446
18357
  c.cp = sk(c, e, ns(d, h));
@@ -18560,15 +18471,15 @@ Sr.descriptors = {
18560
18471
  Sr.defaultRoutes = {
18561
18472
  borderColor: "color"
18562
18473
  };
18563
- function GD(n, { mouseX: t, mouseY: e }, i, { hitSize: s, useFinalPosition: r }) {
18474
+ function XD(n, { mouseX: t, mouseY: e }, i, { hitSize: s, useFinalPosition: r }) {
18564
18475
  const a = qD(t, e, n.getProps(["x", "y", "x2", "y2"], r), i);
18565
18476
  return Lg(a, s) || Kl(n, { mouseX: t, mouseY: e }, r, i);
18566
18477
  }
18567
- function XD({ x: n, y: t, x2: e, y2: i }, { top: s, right: r, bottom: a, left: o }) {
18478
+ function GD({ x: n, y: t, x2: e, y2: i }, { top: s, right: r, bottom: a, left: o }) {
18568
18479
  return !(n < o && e < o || n > r && e > r || t < s && i < s || t > a && i > a);
18569
18480
  }
18570
18481
  function ph({ x: n, y: t }, e, { top: i, right: s, bottom: r, left: a }) {
18571
- return n < a && (t = dh(a, { x: n, y: t }, e), n = a), n > s && (t = dh(s, { x: n, y: t }, e), n = s), t < i && (n = Gl(i, { x: n, y: t }, e), t = i), t > r && (n = Gl(r, { x: n, y: t }, e), t = r), { x: n, y: t };
18482
+ return n < a && (t = dh(a, { x: n, y: t }, e), n = a), n > s && (t = dh(s, { x: n, y: t }, e), n = s), t < i && (n = Xl(i, { x: n, y: t }, e), t = i), t > r && (n = Xl(r, { x: n, y: t }, e), t = r), { x: n, y: t };
18572
18483
  }
18573
18484
  function KD(n, t, e) {
18574
18485
  const { x: i, y: s } = ph(n, t, e), { x: r, y: a } = ph(t, n, e);
@@ -18592,7 +18503,7 @@ function JD(n) {
18592
18503
  return r > pt / 2 ? r - pt : r < pt / -2 ? r + pt : r;
18593
18504
  }
18594
18505
  function tk(n, t, e, i) {
18595
- const { width: s, height: r, padding: a } = e, { xAdjust: o, yAdjust: l } = t, c = { x: n.x, y: n.y }, u = { x: n.x2, y: n.y2 }, d = t.rotation === "auto" ? JD(n) : te(t.rotation), h = ek(s, r, d), f = nk(n, t, { labelSize: h, padding: a }, i), g = n.cp ? Xl(c, n.cp, u, f) : Fc(c, u, f), y = { size: h.w, min: i.left, max: i.right, padding: a.left }, _ = { size: h.h, min: i.top, max: i.bottom, padding: a.top }, x = bh(g.x, y) + o, M = bh(g.y, _) + l;
18506
+ const { width: s, height: r, padding: a } = e, { xAdjust: o, yAdjust: l } = t, c = { x: n.x, y: n.y }, u = { x: n.x2, y: n.y2 }, d = t.rotation === "auto" ? JD(n) : te(t.rotation), h = ek(s, r, d), f = nk(n, t, { labelSize: h, padding: a }, i), g = n.cp ? Gl(c, n.cp, u, f) : Fc(c, u, f), y = { size: h.w, min: i.left, max: i.right, padding: a.left }, _ = { size: h.h, min: i.top, max: i.bottom, padding: a.top }, x = bh(g.x, y) + o, M = bh(g.y, _) + l;
18596
18507
  return {
18597
18508
  x: x - s / 2,
18598
18509
  y: M - r / 2,
@@ -18649,7 +18560,7 @@ function _h(n, t) {
18649
18560
  if (!t || !t.display)
18650
18561
  return 0;
18651
18562
  const { length: e, width: i } = t, s = n.options.borderWidth / 2, r = { x: e, y: i + s };
18652
- return Math.abs(Gl(0, r, { x: 0, y: s }));
18563
+ return Math.abs(Xl(0, r, { x: 0, y: s }));
18653
18564
  }
18654
18565
  function Zl(n, t, e, i) {
18655
18566
  if (!i || !i.display)
@@ -18668,7 +18579,7 @@ function vh(n, { x: t, y: e }, { angle: i, adjust: s }, r) {
18668
18579
  !r || !r.display || (n.save(), n.translate(t, e), n.rotate(i), Zl(n, 0, -s, r), n.restore());
18669
18580
  }
18670
18581
  function rk(n, t, e, i) {
18671
- const { x: s, y: r, x2: a, y2: o, options: l } = t, { startOpts: c, endOpts: u, startAdjust: d, endAdjust: h } = nm(t), f = { x: s, y: r }, g = { x: a, y: o }, y = gh(f, e, g, 0), _ = gh(f, e, g, 1) - pt, x = Xl(f, e, g, d / i), M = Xl(f, e, g, 1 - h / i), S = new Path2D();
18582
+ const { x: s, y: r, x2: a, y2: o, options: l } = t, { startOpts: c, endOpts: u, startAdjust: d, endAdjust: h } = nm(t), f = { x: s, y: r }, g = { x: a, y: o }, y = gh(f, e, g, 0), _ = gh(f, e, g, 1) - pt, x = Gl(f, e, g, d / i), M = Gl(f, e, g, 1 - h / i), S = new Path2D();
18672
18583
  n.beginPath(), S.moveTo(x.x, x.y), S.quadraticCurveTo(e.x, e.y, M.x, M.y), n.shadowColor = l.borderShadowColor, n.stroke(S), t.path = S, t.ctx = n, vh(n, x, { angle: y, adjust: d }, c), vh(n, M, { angle: _, adjust: h }, u);
18673
18584
  }
18674
18585
  class Tr extends de {
@@ -18735,7 +18646,7 @@ function ak(n, t, e, i) {
18735
18646
  const u = te(e || 0), d = Math.cos(u), h = Math.sin(u), f = Math.pow(d * (n.x - a) + h * (n.y - o), 2), g = Math.pow(h * (n.x - a) - d * (n.y - o), 2);
18736
18647
  return f / Math.pow(l + i, 2) + g / Math.pow(c + i, 2) <= 1.0001;
18737
18648
  }
18738
- class Xa extends de {
18649
+ class Ga extends de {
18739
18650
  inRange(t, e, i, s) {
18740
18651
  const { x: r, y: a, x2: o, y2: l, width: c } = this.getProps(["x", "y", "x2", "y2", "width"], s), u = (this.options.borderWidth + this.options.hitTolerance) / 2;
18741
18652
  return i !== "x" && i !== "y" ? tD({ x: t, y: e }, this.getCenterPoint(s), c / 2, u) : Lg(i === "y" ? { start: a, end: l, value: e } : { start: r, end: o, value: t }, u);
@@ -18756,8 +18667,8 @@ class Xa extends de {
18756
18667
  return i.initProperties = hs(t, i, e), i;
18757
18668
  }
18758
18669
  }
18759
- Xa.id = "pointAnnotation";
18760
- Xa.defaults = {
18670
+ Ga.id = "pointAnnotation";
18671
+ Ga.defaults = {
18761
18672
  adjustScaleRange: !0,
18762
18673
  backgroundShadowColor: "transparent",
18763
18674
  borderDash: [],
@@ -18785,7 +18696,7 @@ Xa.defaults = {
18785
18696
  yValue: void 0,
18786
18697
  z: 0
18787
18698
  };
18788
- Xa.defaultRoutes = {
18699
+ Ga.defaultRoutes = {
18789
18700
  borderColor: "color",
18790
18701
  backgroundColor: "color"
18791
18702
  };
@@ -18881,11 +18792,11 @@ function lk(n, t, e, i) {
18881
18792
  }
18882
18793
  const Zn = {
18883
18794
  box: gs,
18884
- doughnutLabel: Ga,
18795
+ doughnutLabel: Xa,
18885
18796
  ellipse: Tr,
18886
18797
  label: Mr,
18887
18798
  line: Sr,
18888
- point: Xa,
18799
+ point: Ga,
18889
18800
  polygon: Ka
18890
18801
  };
18891
18802
  Object.keys(Zn).forEach((n) => {
@@ -19288,10 +19199,10 @@ const xk = { class: "zoom-timerange-container" }, wk = { class: "zoom-timerange-
19288
19199
  key: 0,
19289
19200
  class: "legend-container",
19290
19201
  "data-testid": "legend"
19291
- }, Uk = ["onClick"], Vk = ["title"], qk = { class: "label truncate-label" }, Gk = {
19202
+ }, Uk = ["onClick"], Vk = ["title"], qk = { class: "label truncate-label" }, Xk = {
19292
19203
  key: 0,
19293
19204
  class: "sub-label"
19294
- }, Xk = { class: "tooltip-content" }, Kk = /* @__PURE__ */ he({
19205
+ }, Gk = { class: "tooltip-content" }, Kk = /* @__PURE__ */ he({
19295
19206
  __name: "ChartLegend",
19296
19207
  props: {
19297
19208
  id: {
@@ -19338,7 +19249,7 @@ const xk = { class: "zoom-timerange-container" }, wk = { class: "zoom-timerange-
19338
19249
  title: y && q(i) ? `${h}: ${y.formatted}` : h
19339
19250
  }, [
19340
19251
  at("div", qk, ht(h), 1),
19341
- y && q(i) ? (j(), rt("div", Gk, ht(y.formatted), 1)) : Yt("", !0)
19252
+ y && q(i) ? (j(), rt("div", Xk, ht(y.formatted), 1)) : Yt("", !0)
19342
19253
  ], 10, Vk)
19343
19254
  ]),
19344
19255
  _: 2
@@ -19346,7 +19257,7 @@ const xk = { class: "zoom-timerange-container" }, wk = { class: "zoom-timerange-
19346
19257
  _ ? {
19347
19258
  name: "content",
19348
19259
  fn: zt(() => [
19349
- at("div", Xk, ht(q(e).t("emptyEntityInfo")), 1)
19260
+ at("div", Gk, ht(q(e).t("emptyEntityInfo")), 1)
19350
19261
  ]),
19351
19262
  key: "0"
19352
19263
  } : void 0
@@ -19556,7 +19467,7 @@ const eC = ["id"], nC = ["id"], iC = { class: "axis-tooltip-content" }, sC = "10
19556
19467
  }), ni(() => {
19557
19468
  o.value && tt.unobserve(o.value);
19558
19469
  });
19559
- const G = L(() => {
19470
+ const X = L(() => {
19560
19471
  const Y = _t.useBarChartOptions({
19561
19472
  tooltipState: O,
19562
19473
  legendID: f,
@@ -19581,12 +19492,12 @@ const eC = ["id"], nC = ["id"], iC = { class: "axis-tooltip-content" }, sC = "10
19581
19492
  d,
19582
19493
  St(t, "chartData"),
19583
19494
  A,
19584
- G
19495
+ X
19585
19496
  );
19586
19497
  Rh(() => {
19587
19498
  Fe.unregister(Mh);
19588
19499
  });
19589
- const X = {
19500
+ const G = {
19590
19501
  [Ye.Bottom]: "column"
19591
19502
  }, et = L(() => {
19592
19503
  if (h.value && H.value) {
@@ -19624,7 +19535,7 @@ const eC = ["id"], nC = ["id"], iC = { class: "axis-tooltip-content" }, sC = "10
19624
19535
  };
19625
19536
  return (Y, B) => (j(), rt("div", {
19626
19537
  ref: "chartParent",
19627
- class: rn(["chart-parent", X[q(_)]])
19538
+ class: rn(["chart-parent", G[q(_)]])
19628
19539
  }, [
19629
19540
  at("canvas", {
19630
19541
  id: q(s),
@@ -19879,7 +19790,7 @@ const xC = he({
19879
19790
  props: pC,
19880
19791
  setup(n, t) {
19881
19792
  let { expose: e, slots: i } = t;
19882
- const s = Vt(null), r = Xe(null);
19793
+ const s = Vt(null), r = Ge(null);
19883
19794
  e({
19884
19795
  chart: r
19885
19796
  });
@@ -19941,7 +19852,7 @@ function Bc(n, t) {
19941
19852
  props: om,
19942
19853
  setup(e, i) {
19943
19854
  let { expose: s } = i;
19944
- const r = Xe(null), a = (o) => {
19855
+ const r = Ge(null), a = (o) => {
19945
19856
  r.value = o == null ? void 0 : o.chart;
19946
19857
  };
19947
19858
  return s({
@@ -20190,7 +20101,7 @@ class OC {
20190
20101
  }
20191
20102
  }
20192
20103
  const xP = ["hidden", "single", "full"];
20193
- var Xi = /* @__PURE__ */ ((n) => (n.String = "string", n.Number = "number", n.Boolean = "boolean", n.Object = "object", n.Undefined = "undefined", n))(Xi || {});
20104
+ var Gi = /* @__PURE__ */ ((n) => (n.String = "string", n.Number = "number", n.Boolean = "boolean", n.Object = "object", n.Undefined = "undefined", n))(Gi || {});
20194
20105
  const wP = [
20195
20106
  "donut",
20196
20107
  "horizontal_bar",
@@ -20391,15 +20302,15 @@ const NC = /* @__PURE__ */ he({
20391
20302
  const C = (H) => ({
20392
20303
  [Ye.Bottom]: "column",
20393
20304
  [Ye.Hidden]: "hidden"
20394
- })[H], A = ({ width: H, height: X }) => {
20395
- M.width = H, M.height = X;
20305
+ })[H], A = ({ width: H, height: G }) => {
20306
+ M.width = H, M.height = G;
20396
20307
  }, R = (H = !0) => {
20397
20308
  M.interactionMode = "idle", M.showTooltip = !1, o.clearSelectionArea(), a.isPaused && a.resume(H), r.isPaused && r.resume();
20398
20309
  }, z = () => {
20399
20310
  M.interactionMode = "interactive";
20400
20311
  }, U = () => {
20401
- var H, X;
20402
- !u.value || !((X = (H = u.value.chart.tooltip) == null ? void 0 : H.dataPoints) != null && X.length) || (M.interactionMode === "interactive" ? r.clickedSegment = u.value.chart.tooltip.dataPoints[0] : r.destroyClickedSegment());
20312
+ var H, G;
20313
+ !u.value || !((G = (H = u.value.chart.tooltip) == null ? void 0 : H.dataPoints) != null && G.length) || (M.interactionMode === "interactive" ? r.clickedSegment = u.value.chart.tooltip.dataPoints[0] : r.destroyClickedSegment());
20403
20314
  }, tt = () => {
20404
20315
  if (x.value) {
20405
20316
  x.value = !1;
@@ -20412,25 +20323,25 @@ const NC = /* @__PURE__ */ he({
20412
20323
  });
20413
20324
  const $ = (H) => {
20414
20325
  H.preventDefault(), H.stopPropagation();
20415
- const { xStart: X, xEnd: et } = H.detail;
20416
- X && et && (_.value = {
20417
- start: new Date(X),
20326
+ const { xStart: G, xEnd: et } = H.detail;
20327
+ G && et && (_.value = {
20328
+ start: new Date(G),
20418
20329
  end: new Date(et),
20419
20330
  type: "absolute"
20420
20331
  }, M.interactionMode = "zoom-interactive", i("select-chart-range", _.value));
20421
20332
  }, dt = (H) => {
20422
20333
  M.interactionMode = "selecting-chart-area", x.value = !0, r.pause(), a.pause();
20423
- const { xStart: X, xEnd: et } = H.detail;
20424
- X && et && (_.value = {
20425
- start: new Date(X),
20334
+ const { xStart: G, xEnd: et } = H.detail;
20335
+ G && et && (_.value = {
20336
+ start: new Date(G),
20426
20337
  end: new Date(et),
20427
20338
  type: "absolute"
20428
20339
  });
20429
- }, G = (H) => {
20340
+ }, X = (H) => {
20430
20341
  if (!y.value || M.interactionMode === "idle")
20431
20342
  return;
20432
- const X = H.target;
20433
- X && y.value.contains(X) || x.value || R(!1);
20343
+ const G = H.target;
20344
+ G && y.value.contains(G) || x.value || R(!1);
20434
20345
  };
20435
20346
  return ue(() => {
20436
20347
  var H;
@@ -20439,18 +20350,18 @@ const NC = /* @__PURE__ */ he({
20439
20350
  var H;
20440
20351
  (H = u.value) != null && H.chart && (u.value.chart.canvas.removeEventListener("dragSelect", $), u.value.chart.canvas.removeEventListener("dragSelectMove", dt), u.value.chart.canvas.addEventListener("dragSelect", $), u.value.chart.canvas.addEventListener("dragSelectMove", dt));
20441
20352
  }), ii(() => {
20442
- document.addEventListener("click", G, !0);
20353
+ document.addEventListener("click", X, !0);
20443
20354
  }), ni(() => {
20444
20355
  var H;
20445
- (H = u.value) != null && H.chart && (u.value.chart.canvas.removeEventListener("dragSelect", $), u.value.chart.canvas.removeEventListener("dragSelectMove", dt)), document.removeEventListener("click", G, !0);
20446
- }), (H, X) => (j(), rt("div", {
20356
+ (H = u.value) != null && H.chart && (u.value.chart.canvas.removeEventListener("dragSelect", $), u.value.chart.canvas.removeEventListener("dragSelectMove", dt)), document.removeEventListener("click", X, !0);
20357
+ }), (H, G) => (j(), rt("div", {
20447
20358
  ref: "chartParent",
20448
20359
  class: rn(["chart-parent", C(q(g))]),
20449
20360
  "data-testid": "line-chart-parent"
20450
20361
  }, [
20451
20362
  at("div", {
20452
20363
  class: "chart-container",
20453
- onClick: X[0] || (X[0] = (et) => tt())
20364
+ onClick: G[0] || (G[0] = (et) => tt())
20454
20365
  }, [
20455
20366
  n.type === "timeseries_line" ? (j(), It(q(hm), {
20456
20367
  key: T.value,
@@ -20484,7 +20395,7 @@ const NC = /* @__PURE__ */ he({
20484
20395
  "zoom-action-items": n.zoomActionItems,
20485
20396
  "zoom-time-range": _.value,
20486
20397
  onDimensions: A,
20487
- onOnAction: X[1] || (X[1] = () => R(!1))
20398
+ onOnAction: G[1] || (G[1] = () => R(!1))
20488
20399
  }, null, 8, ["absolute-left", "absolute-top", "granularity", "state", "tooltip-title", "zoom-action-items", "zoom-time-range"]),
20489
20400
  Zt(Hc, {
20490
20401
  id: q(d),
@@ -20803,7 +20714,7 @@ const NC = /* @__PURE__ */ he({
20803
20714
  }), VC = /* @__PURE__ */ $e(UC, [["__scopeId", "data-v-c461b83f"]]), qC = {
20804
20715
  key: 1,
20805
20716
  class: "single-value-wrapper"
20806
- }, GC = { class: "single-value-metric" }, XC = {
20717
+ }, XC = { class: "single-value-metric" }, GC = {
20807
20718
  class: "single-value",
20808
20719
  "data-testid": "single-value-chart"
20809
20720
  }, KC = {
@@ -20906,8 +20817,8 @@ const NC = /* @__PURE__ */ he({
20906
20817
  "icon-variant": "error",
20907
20818
  title: q(t).t("singleValue.valueError")
20908
20819
  }, null, 8, ["title"])) : (j(), rt("div", qC, [
20909
- at("div", GC, [
20910
- at("span", XC, ht(d.value), 1),
20820
+ at("div", XC, [
20821
+ at("span", GC, ht(d.value), 1),
20911
20822
  l.value ? (j(), rt("span", KC, "  " + ht(o.value), 1)) : Yt("", !0)
20912
20823
  ]),
20913
20824
  n.showTrend ? (j(), rt("div", ZC, [
@@ -21239,14 +21150,14 @@ const NC = /* @__PURE__ */ he({
21239
21150
  var Na = { exports: {} };
21240
21151
  Na.exports;
21241
21152
  (function(n, t) {
21242
- var e = 200, i = "Expected a function", s = "__lodash_hash_undefined__", r = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", c = "[object Array]", u = "[object Boolean]", d = "[object Date]", h = "[object Error]", f = "[object Function]", g = "[object GeneratorFunction]", y = "[object Map]", _ = "[object Number]", x = "[object Object]", M = "[object Promise]", S = "[object RegExp]", O = "[object Set]", E = "[object String]", k = "[object Symbol]", T = "[object WeakMap]", m = "[object ArrayBuffer]", b = "[object DataView]", w = "[object Float32Array]", C = "[object Float64Array]", A = "[object Int8Array]", R = "[object Int16Array]", z = "[object Int32Array]", U = "[object Uint8Array]", tt = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", dt = "[object Uint32Array]", G = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, H = /^\w*$/, X = /^\./, et = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, V = /[\\^$.*+?()[\]{}|]/g, xt = /\\(\\)?/g, Mt = /^\[object .+?Constructor\]$/, Y = /^(?:0|[1-9]\d*)$/, B = {};
21153
+ var e = 200, i = "Expected a function", s = "__lodash_hash_undefined__", r = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", c = "[object Array]", u = "[object Boolean]", d = "[object Date]", h = "[object Error]", f = "[object Function]", g = "[object GeneratorFunction]", y = "[object Map]", _ = "[object Number]", x = "[object Object]", M = "[object Promise]", S = "[object RegExp]", O = "[object Set]", E = "[object String]", k = "[object Symbol]", T = "[object WeakMap]", m = "[object ArrayBuffer]", b = "[object DataView]", w = "[object Float32Array]", C = "[object Float64Array]", A = "[object Int8Array]", R = "[object Int16Array]", z = "[object Int32Array]", U = "[object Uint8Array]", tt = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", dt = "[object Uint32Array]", X = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, H = /^\w*$/, G = /^\./, et = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, V = /[\\^$.*+?()[\]{}|]/g, xt = /\\(\\)?/g, Mt = /^\[object .+?Constructor\]$/, Y = /^(?:0|[1-9]\d*)$/, B = {};
21243
21154
  B[w] = B[C] = B[A] = B[R] = B[z] = B[U] = B[tt] = B[$] = B[dt] = !0, B[l] = B[c] = B[m] = B[u] = B[b] = B[d] = B[h] = B[f] = B[y] = B[_] = B[x] = B[S] = B[O] = B[E] = B[T] = !1;
21244
- var K = typeof Le == "object" && Le && Le.Object === Object && Le, Q = typeof self == "object" && self && self.Object === Object && self, J = K || Q || Function("return this")(), Z = t && !t.nodeType && t, bt = Z && !0 && n && !n.nodeType && n, Dt = bt && bt.exports === Z, ot = Dt && K.process, wt = (function() {
21155
+ var K = typeof Le == "object" && Le && Le.Object === Object && Le, Q = typeof self == "object" && self && self.Object === Object && self, J = K || Q || Function("return this")(), Z = t && !t.nodeType && t, bt = Z && !0 && n && !n.nodeType && n, Dt = bt && bt.exports === Z, ot = Dt && K.process, wt = function() {
21245
21156
  try {
21246
21157
  return ot && ot.binding("util");
21247
21158
  } catch {
21248
21159
  }
21249
- })(), gt = wt && wt.isTypedArray;
21160
+ }(), gt = wt && wt.isTypedArray;
21250
21161
  function ne(p, D) {
21251
21162
  for (var N = -1, W = p ? p.length : 0; ++N < W; )
21252
21163
  if (D(p[N], N, p))
@@ -21297,10 +21208,10 @@ Na.exports;
21297
21208
  N[++D] = W;
21298
21209
  }), N;
21299
21210
  }
21300
- var $t = Array.prototype, se = Function.prototype, me = Object.prototype, on = J["__core-js_shared__"], ri = (function() {
21211
+ var $t = Array.prototype, se = Function.prototype, me = Object.prototype, on = J["__core-js_shared__"], ri = function() {
21301
21212
  var p = /[^.]+$/.exec(on && on.keys && on.keys.IE_PROTO || "");
21302
21213
  return p ? "Symbol(src)_1." + p : "";
21303
- })(), Je = se.toString, jt = me.hasOwnProperty, Ce = me.toString, ai = RegExp(
21214
+ }(), Je = se.toString, jt = me.hasOwnProperty, Ce = me.toString, ai = RegExp(
21304
21215
  "^" + Je.call(jt).replace(V, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
21305
21216
  ), Dr = J.Symbol, kr = J.Uint8Array, ms = me.propertyIsEnumerable, oi = $t.splice, ps = Rt(Object.keys, Object), li = _n(J, "DataView"), mn = _n(J, "Map"), pn = _n(J, "Promise"), ys = _n(J, "Set"), bs = _n(J, "WeakMap"), ci = _n(Object, "create"), Qa = xn(li), Ja = xn(mn), Cr = xn(pn), Or = xn(ys), yn = xn(bs), Ai = Dr ? Dr.prototype : void 0, _s = Ai ? Ai.valueOf : void 0, Pr = Ai ? Ai.toString : void 0;
21306
21217
  function bn(p) {
@@ -21503,7 +21414,7 @@ Na.exports;
21503
21414
  return D.test(xn(p));
21504
21415
  }
21505
21416
  function Do(p) {
21506
- return Oe(p) && Xt(p.length) && !!B[Ce.call(p)];
21417
+ return Oe(p) && Gt(p.length) && !!B[Ce.call(p)];
21507
21418
  }
21508
21419
  function Er(p) {
21509
21420
  return typeof p == "function" ? p : p == null ? Bi : typeof p == "object" ? v(p) ? Fi(p[0], p[1]) : Co(p) : ym(p);
@@ -21697,7 +21608,7 @@ Na.exports;
21697
21608
  if (W)
21698
21609
  return W;
21699
21610
  var vt = p ? p.length : 0;
21700
- return !!vt && Xt(vt) && ws(st, vt) && (v(p) || Fr(p));
21611
+ return !!vt && Gt(vt) && ws(st, vt) && (v(p) || Fr(p));
21701
21612
  }
21702
21613
  function ws(p, D) {
21703
21614
  return D = D ?? o, !!D && (typeof p == "number" || Y.test(p)) && p > -1 && p % 1 == 0 && p < D;
@@ -21706,7 +21617,7 @@ Na.exports;
21706
21617
  if (v(p))
21707
21618
  return !1;
21708
21619
  var N = typeof p;
21709
- return N == "number" || N == "symbol" || N == "boolean" || p == null || oe(p) ? !0 : H.test(p) || !G.test(p) || D != null && p in Object(D);
21620
+ return N == "number" || N == "symbol" || N == "boolean" || p == null || oe(p) ? !0 : H.test(p) || !X.test(p) || D != null && p in Object(D);
21710
21621
  }
21711
21622
  function Ms(p) {
21712
21623
  var D = typeof p;
@@ -21730,7 +21641,7 @@ Na.exports;
21730
21641
  var Lo = ui(function(p) {
21731
21642
  p = Nn(p);
21732
21643
  var D = [];
21733
- return X.test(p) && D.push(""), p.replace(et, function(N, W, mt, st) {
21644
+ return G.test(p) && D.push(""), p.replace(et, function(N, W, mt, st) {
21734
21645
  D.push(mt ? st.replace(xt, "$1") : W || N);
21735
21646
  }), D;
21736
21647
  });
@@ -21774,7 +21685,7 @@ Na.exports;
21774
21685
  }
21775
21686
  var v = Array.isArray;
21776
21687
  function I(p) {
21777
- return p != null && Xt(p.length) && !nt(p);
21688
+ return p != null && Gt(p.length) && !nt(p);
21778
21689
  }
21779
21690
  function F(p) {
21780
21691
  return Oe(p) && I(p);
@@ -21783,7 +21694,7 @@ Na.exports;
21783
21694
  var D = re(p) ? Ce.call(p) : "";
21784
21695
  return D == f || D == g;
21785
21696
  }
21786
- function Xt(p) {
21697
+ function Gt(p) {
21787
21698
  return typeof p == "number" && p > -1 && p % 1 == 0 && p <= o;
21788
21699
  }
21789
21700
  function re(p) {
@@ -21990,7 +21901,7 @@ var mm = { exports: {} };
21990
21901
  a.saveAs = l.saveAs = l, n.exports = l;
21991
21902
  });
21992
21903
  })(mm);
21993
- var GO = mm.exports, pm = { exports: {} };
21904
+ var XO = mm.exports, pm = { exports: {} };
21994
21905
  /* @license
21995
21906
  Papa Parse
21996
21907
  v5.5.3
@@ -22110,7 +22021,7 @@ License: MIT
22110
22021
  }, this);
22111
22022
  }
22112
22023
  function y(m) {
22113
- var b, w, C, A, R = Math.pow(2, 53), z = -R, U = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, tt = /^((\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)))$/, $ = this, dt = 0, G = 0, H = !1, X = !1, et = [], V = { data: [], errors: [], meta: {} };
22024
+ var b, w, C, A, R = Math.pow(2, 53), z = -R, U = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, tt = /^((\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)))$/, $ = this, dt = 0, X = 0, H = !1, G = !1, et = [], V = { data: [], errors: [], meta: {} };
22114
22025
  function xt(K) {
22115
22026
  return m.skipEmptyLines === "greedy" ? K.join("").trim() === "" : K.length === 1 && K[0].length === 0;
22116
22027
  }
@@ -22134,10 +22045,10 @@ License: MIT
22134
22045
  })(ut) ? parseFloat(ut) : tt.test(ut) ? new Date(ut) : ut === "" ? null : ut) : ut)(wt = m.header ? ot >= et.length ? "__parsed_extra" : et[ot] : wt, gt = m.transform ? m.transform(gt, wt) : gt);
22135
22046
  wt === "__parsed_extra" ? (Dt[wt] = Dt[wt] || [], Dt[wt].push(gt)) : Dt[wt] = gt;
22136
22047
  }
22137
- return m.header && (ot > et.length ? B("FieldMismatch", "TooManyFields", "Too many fields: expected " + et.length + " fields but parsed " + ot, G + bt) : ot < et.length && B("FieldMismatch", "TooFewFields", "Too few fields: expected " + et.length + " fields but parsed " + ot, G + bt)), Dt;
22048
+ return m.header && (ot > et.length ? B("FieldMismatch", "TooManyFields", "Too many fields: expected " + et.length + " fields but parsed " + ot, X + bt) : ot < et.length && B("FieldMismatch", "TooFewFields", "Too few fields: expected " + et.length + " fields but parsed " + ot, X + bt)), Dt;
22138
22049
  }
22139
22050
  var J;
22140
- V && (m.header || m.dynamicTyping || m.transform) && (J = 1, !V.data.length || Array.isArray(V.data[0]) ? (V.data = V.data.map(Q), J = V.data.length) : V.data = Q(V.data, 0), m.header && V.meta && (V.meta.fields = et), G += J);
22051
+ V && (m.header || m.dynamicTyping || m.transform) && (J = 1, !V.data.length || Array.isArray(V.data[0]) ? (V.data = V.data.map(Q), J = V.data.length) : V.data = Q(V.data, 0), m.header && V.meta && (V.meta.fields = et), X += J);
22141
22052
  }
22142
22053
  function Y() {
22143
22054
  return m.header && et.length === 0;
@@ -22165,9 +22076,9 @@ License: MIT
22165
22076
  }, this.resume = function() {
22166
22077
  $.streamer._halted ? (H = !1, $.streamer.parseChunk(b, !0)) : setTimeout($.resume, 3);
22167
22078
  }, this.aborted = function() {
22168
- return X;
22079
+ return G;
22169
22080
  }, this.abort = function() {
22170
- X = !0, w.abort(), V.meta.aborted = !0, T(m.complete) && m.complete(V), b = "";
22081
+ G = !0, w.abort(), V.meta.aborted = !0, T(m.complete) && m.complete(V), b = "";
22171
22082
  }, this.guessLineEndings = function(bt, Z) {
22172
22083
  bt = bt.substring(0, 1048576);
22173
22084
  var Z = new RegExp(_(Z) + "([^]*?)" + _(Z), "gm"), J = (bt = bt.replace(Z, "")).split("\r"), Z = bt.split(`
@@ -22190,14 +22101,14 @@ License: MIT
22190
22101
  ` && w !== "\r" && w !== `\r
22191
22102
  ` && (w = `
22192
22103
  `);
22193
- var G = 0, H = !1;
22194
- this.parse = function(X, et, V) {
22195
- if (typeof X != "string") throw new Error("Input must be a string");
22196
- var xt = X.length, Mt = b.length, Y = w.length, B = C.length, K = T(A), Q = [], J = [], Z = [], bt = G = 0;
22197
- if (!X) return Rt();
22198
- if (z || z !== !1 && X.indexOf($) === -1) {
22199
- for (var Dt = X.split(w), ot = 0; ot < Dt.length; ot++) {
22200
- if (Z = Dt[ot], G += Z.length, ot !== Dt.length - 1) G += w.length;
22104
+ var X = 0, H = !1;
22105
+ this.parse = function(G, et, V) {
22106
+ if (typeof G != "string") throw new Error("Input must be a string");
22107
+ var xt = G.length, Mt = b.length, Y = w.length, B = C.length, K = T(A), Q = [], J = [], Z = [], bt = X = 0;
22108
+ if (!G) return Rt();
22109
+ if (z || z !== !1 && G.indexOf($) === -1) {
22110
+ for (var Dt = G.split(w), ot = 0; ot < Dt.length; ot++) {
22111
+ if (Z = Dt[ot], X += Z.length, ot !== Dt.length - 1) X += w.length;
22201
22112
  else if (V) return Rt();
22202
22113
  if (!C || Z.substring(0, B) !== C) {
22203
22114
  if (K) {
@@ -22208,47 +22119,47 @@ License: MIT
22208
22119
  }
22209
22120
  return Rt();
22210
22121
  }
22211
- for (var wt = X.indexOf(b, G), gt = X.indexOf(w, G), ne = new RegExp(_(dt) + _($), "g"), ut = X.indexOf($, G); ; ) if (X[G] === $) for (ut = G, G++; ; ) {
22212
- if ((ut = X.indexOf($, ut + 1)) === -1) return V || J.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: Q.length, index: G }), ie();
22213
- if (ut === xt - 1) return ie(X.substring(G, ut).replace(ne, $));
22214
- if ($ === dt && X[ut + 1] === dt) ut++;
22215
- else if ($ === dt || ut === 0 || X[ut - 1] !== dt) {
22216
- wt !== -1 && wt < ut + 1 && (wt = X.indexOf(b, ut + 1));
22217
- var kt = ye((gt = gt !== -1 && gt < ut + 1 ? X.indexOf(w, ut + 1) : gt) === -1 ? wt : Math.min(wt, gt));
22218
- if (X.substr(ut + 1 + kt, Mt) === b) {
22219
- Z.push(X.substring(G, ut).replace(ne, $)), X[G = ut + 1 + kt + Mt] !== $ && (ut = X.indexOf($, G)), wt = X.indexOf(b, G), gt = X.indexOf(w, G);
22122
+ for (var wt = G.indexOf(b, X), gt = G.indexOf(w, X), ne = new RegExp(_(dt) + _($), "g"), ut = G.indexOf($, X); ; ) if (G[X] === $) for (ut = X, X++; ; ) {
22123
+ if ((ut = G.indexOf($, ut + 1)) === -1) return V || J.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: Q.length, index: X }), ie();
22124
+ if (ut === xt - 1) return ie(G.substring(X, ut).replace(ne, $));
22125
+ if ($ === dt && G[ut + 1] === dt) ut++;
22126
+ else if ($ === dt || ut === 0 || G[ut - 1] !== dt) {
22127
+ wt !== -1 && wt < ut + 1 && (wt = G.indexOf(b, ut + 1));
22128
+ var kt = ye((gt = gt !== -1 && gt < ut + 1 ? G.indexOf(w, ut + 1) : gt) === -1 ? wt : Math.min(wt, gt));
22129
+ if (G.substr(ut + 1 + kt, Mt) === b) {
22130
+ Z.push(G.substring(X, ut).replace(ne, $)), G[X = ut + 1 + kt + Mt] !== $ && (ut = G.indexOf($, X)), wt = G.indexOf(b, X), gt = G.indexOf(w, X);
22220
22131
  break;
22221
22132
  }
22222
- if (kt = ye(gt), X.substring(ut + 1 + kt, ut + 1 + kt + Y) === w) {
22223
- if (Z.push(X.substring(G, ut).replace(ne, $)), an(ut + 1 + kt + Y), wt = X.indexOf(b, G), ut = X.indexOf($, G), K && (ge(), H)) return Rt();
22133
+ if (kt = ye(gt), G.substring(ut + 1 + kt, ut + 1 + kt + Y) === w) {
22134
+ if (Z.push(G.substring(X, ut).replace(ne, $)), an(ut + 1 + kt + Y), wt = G.indexOf(b, X), ut = G.indexOf($, X), K && (ge(), H)) return Rt();
22224
22135
  if (R && Q.length >= R) return Rt(!0);
22225
22136
  break;
22226
22137
  }
22227
- J.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: Q.length, index: G }), ut++;
22138
+ J.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: Q.length, index: X }), ut++;
22228
22139
  }
22229
22140
  }
22230
- else if (C && Z.length === 0 && X.substring(G, G + B) === C) {
22141
+ else if (C && Z.length === 0 && G.substring(X, X + B) === C) {
22231
22142
  if (gt === -1) return Rt();
22232
- G = gt + Y, gt = X.indexOf(w, G), wt = X.indexOf(b, G);
22233
- } else if (wt !== -1 && (wt < gt || gt === -1)) Z.push(X.substring(G, wt)), G = wt + Mt, wt = X.indexOf(b, G);
22143
+ X = gt + Y, gt = G.indexOf(w, X), wt = G.indexOf(b, X);
22144
+ } else if (wt !== -1 && (wt < gt || gt === -1)) Z.push(G.substring(X, wt)), X = wt + Mt, wt = G.indexOf(b, X);
22234
22145
  else {
22235
22146
  if (gt === -1) break;
22236
- if (Z.push(X.substring(G, gt)), an(gt + Y), K && (ge(), H)) return Rt();
22147
+ if (Z.push(G.substring(X, gt)), an(gt + Y), K && (ge(), H)) return Rt();
22237
22148
  if (R && Q.length >= R) return Rt(!0);
22238
22149
  }
22239
22150
  return ie();
22240
22151
  function fe($t) {
22241
- Q.push($t), bt = G;
22152
+ Q.push($t), bt = X;
22242
22153
  }
22243
22154
  function ye($t) {
22244
22155
  var se = 0;
22245
- return se = $t !== -1 && ($t = X.substring(ut + 1, $t)) && $t.trim() === "" ? $t.length : se;
22156
+ return se = $t !== -1 && ($t = G.substring(ut + 1, $t)) && $t.trim() === "" ? $t.length : se;
22246
22157
  }
22247
22158
  function ie($t) {
22248
- return V || ($t === void 0 && ($t = X.substring(G)), Z.push($t), G = xt, fe(Z), K && ge()), Rt();
22159
+ return V || ($t === void 0 && ($t = G.substring(X)), Z.push($t), X = xt, fe(Z), K && ge()), Rt();
22249
22160
  }
22250
22161
  function an($t) {
22251
- G = $t, fe(Z), Z = [], gt = X.indexOf(w, G);
22162
+ X = $t, fe(Z), Z = [], gt = G.indexOf(w, X);
22252
22163
  }
22253
22164
  function Rt($t) {
22254
22165
  if (m.header && !et && Q.length && !tt) {
@@ -22273,7 +22184,7 @@ License: MIT
22273
22184
  }, this.abort = function() {
22274
22185
  H = !0;
22275
22186
  }, this.getCharIndex = function() {
22276
- return G;
22187
+ return X;
22277
22188
  };
22278
22189
  }
22279
22190
  function M(m) {
@@ -22323,7 +22234,7 @@ License: MIT
22323
22234
  })()).userStep = b.step, w.userChunk = b.chunk, w.userComplete = b.complete, w.userError = b.error, b.step = T(b.step), b.chunk = T(b.chunk), b.complete = T(b.complete), b.error = T(b.error), delete b.worker, w.postMessage({ input: m, config: b, workerId: w.id });
22324
22235
  }, c.unparse = function(m, b) {
22325
22236
  var w = !1, C = !0, A = ",", R = `\r
22326
- `, z = '"', U = z + z, tt = !1, $ = null, dt = !1, G = ((() => {
22237
+ `, z = '"', U = z + z, tt = !1, $ = null, dt = !1, X = ((() => {
22327
22238
  if (typeof b == "object") {
22328
22239
  if (typeof b.delimiter != "string" || c.BAD_DELIMITERS.filter(function(et) {
22329
22240
  return b.delimiter.indexOf(et) !== -1;
@@ -22342,7 +22253,7 @@ License: MIT
22342
22253
  function H(et, V, xt) {
22343
22254
  var Mt = "", Y = (typeof et == "string" && (et = JSON.parse(et)), typeof V == "string" && (V = JSON.parse(V)), Array.isArray(et) && 0 < et.length), B = !Array.isArray(V[0]);
22344
22255
  if (Y && C) {
22345
- for (var K = 0; K < et.length; K++) 0 < K && (Mt += A), Mt += X(et[K], K);
22256
+ for (var K = 0; K < et.length; K++) 0 < K && (Mt += A), Mt += G(et[K], K);
22346
22257
  0 < V.length && (Mt += R);
22347
22258
  }
22348
22259
  for (var Q = 0; Q < V.length; Q++) {
@@ -22358,16 +22269,16 @@ License: MIT
22358
22269
  for (var gt = 0; gt < J; gt++) {
22359
22270
  0 < gt && !bt && (Mt += A);
22360
22271
  var ne = Y && B ? et[gt] : gt;
22361
- Mt += X(V[Q][ne], gt);
22272
+ Mt += G(V[Q][ne], gt);
22362
22273
  }
22363
22274
  Q < V.length - 1 && (!xt || 0 < J && !bt) && (Mt += R);
22364
22275
  }
22365
22276
  }
22366
22277
  return Mt;
22367
22278
  }
22368
- function X(et, V) {
22279
+ function G(et, V) {
22369
22280
  var xt, Mt;
22370
- return et == null ? "" : et.constructor === Date ? JSON.stringify(et).slice(1, 25) : (Mt = !1, dt && typeof et == "string" && dt.test(et) && (et = "'" + et, Mt = !0), xt = et.toString().replace(G, U), (Mt = Mt || w === !0 || typeof w == "function" && w(et, V) || Array.isArray(w) && w[V] || ((Y, B) => {
22281
+ return et == null ? "" : et.constructor === Date ? JSON.stringify(et).slice(1, 25) : (Mt = !1, dt && typeof et == "string" && dt.test(et) && (et = "'" + et, Mt = !0), xt = et.toString().replace(X, U), (Mt = Mt || w === !0 || typeof w == "function" && w(et, V) || Array.isArray(w) && w[V] || ((Y, B) => {
22371
22282
  for (var K = 0; K < B.length; K++) if (-1 < Y.indexOf(B[K])) return !0;
22372
22283
  return !1;
22373
22284
  })(xt, c.BAD_DELIMITERS) || -1 < xt.indexOf(A) || xt.charAt(0) === " " || xt.charAt(xt.length - 1) === " ") ? z + xt + z : xt);
@@ -22391,9 +22302,9 @@ License: MIT
22391
22302
  typeof dt.config == "object" && ($.instanceConfig = s.extend($.instanceConfig, dt.config));
22392
22303
  } else if (dt === "skip") return void A();
22393
22304
  }
22394
- var G = $.instanceConfig.complete;
22305
+ var X = $.instanceConfig.complete;
22395
22306
  $.instanceConfig.complete = function(H) {
22396
- T(G) && G(H, $.file, $.inputElem), A();
22307
+ T(X) && X(H, $.file, $.inputElem), A();
22397
22308
  }, c.parse($.file, $.instanceConfig);
22398
22309
  }
22399
22310
  }
@@ -22405,7 +22316,7 @@ License: MIT
22405
22316
  }), (d.prototype = Object.create(u.prototype)).constructor = d, (h.prototype = Object.create(u.prototype)).constructor = h, (f.prototype = Object.create(f.prototype)).constructor = f, (g.prototype = Object.create(u.prototype)).constructor = g, c;
22406
22317
  });
22407
22318
  })(pm);
22408
- var XO = pm.exports;
22319
+ var GO = pm.exports;
22409
22320
  const KO = ["id"], ZO = /* @__PURE__ */ he({
22410
22321
  __name: "VueJsonCsv",
22411
22322
  props: {
@@ -22469,16 +22380,16 @@ const KO = ["id"], ZO = /* @__PURE__ */ he({
22469
22380
  return u.length ? u : null;
22470
22381
  }), a = () => {
22471
22382
  const u = i.labels;
22472
- if (typeof i.fields !== Xi.Object)
22383
+ if (typeof i.fields !== Gi.Object)
22473
22384
  throw new Error("Labels needs to be a object containing key / value pairs.");
22474
- return typeof u === Xi.Object ? (d) => yO(d, (h, f) => u[f] || f) : (d) => d;
22385
+ return typeof u === Gi.Object ? (d) => yO(d, (h, f) => u[f] || f) : (d) => d;
22475
22386
  }, o = () => {
22476
22387
  const u = i.fields;
22477
- if (typeof i.fields !== Xi.Object && !Array.isArray(u))
22388
+ if (typeof i.fields !== Gi.Object && !Array.isArray(u))
22478
22389
  throw new Error("Fields needs to be an array of strings.");
22479
22390
  return Array.isArray(u) ? (d) => qO(d, u) : (d) => d;
22480
22391
  }, l = () => {
22481
- if (typeof i.fields === Xi.Undefined && typeof i.labels === Xi.Undefined)
22392
+ if (typeof i.fields === Gi.Undefined && typeof i.labels === Gi.Undefined)
22482
22393
  return i.data;
22483
22394
  const u = a(), d = o();
22484
22395
  return i.data.map((h) => u(d(h)));
@@ -22488,7 +22399,7 @@ const KO = ["id"], ZO = /* @__PURE__ */ he({
22488
22399
  return;
22489
22400
  }
22490
22401
  e("export-started", r.value);
22491
- let u = XO.unparse(r.value, Object.assign({
22402
+ let u = GO.unparse(r.value, Object.assign({
22492
22403
  delimiter: i.delimiter,
22493
22404
  encoding: i.encoding
22494
22405
  }));
@@ -22497,7 +22408,7 @@ const KO = ["id"], ZO = /* @__PURE__ */ he({
22497
22408
  const d = new Blob([u], {
22498
22409
  type: "text/csv;charset=" + i.encoding
22499
22410
  });
22500
- GO.saveAs(d, i.filename);
22411
+ XO.saveAs(d, i.filename);
22501
22412
  }
22502
22413
  };
22503
22414
  return (u, d) => (j(), rt("div", {
@@ -22848,7 +22759,7 @@ const KO = ["id"], ZO = /* @__PURE__ */ he({
22848
22759
  contextFormatter: (C) => {
22849
22760
  const A = C + i.value;
22850
22761
  let R = "";
22851
- return i.value > 1440 * 60 * 1e3 ? R = Da(new Date(A), "MMM dd, yyy hh:mm a") : R = Da(new Date(A), "hh:mm a"), `${qM(C)} - ${R}`;
22762
+ return i.value > 24 * 60 * 60 * 1e3 ? R = Da(new Date(A), "MMM dd, yyy hh:mm a") : R = Da(new Date(A), "hh:mm a"), `${qM(C)} - ${R}`;
22852
22763
  }
22853
22764
  });
22854
22765
  }
@@ -22950,7 +22861,7 @@ export {
22950
22861
  TP as SimpleChart,
22951
22862
  CP as SparklineChart,
22952
22863
  DP as TopNTable,
22953
- Xi as ValidType,
22864
+ Gi as ValidType,
22954
22865
  MS as accessibleGrey,
22955
22866
  SS as apiRequestStatusCodeColors,
22956
22867
  wP as chartTypes,