@kong-ui-public/dashboard-renderer 10.6.2 → 10.7.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,17 +1,17 @@
1
- import { ref as te, readonly as Pe, hasInjectionContext as ai, inject as Ue, computed as R, defineComponent as ge, openBlock as I, createElementBlock as ae, renderSlot as Xe, createTextVNode as Ne, toDisplayString as ue, createVNode as de, withCtx as j, provide as Kr, toRaw as Bn, isRef as $n, isReactive as Fn, toRef as ze, onMounted as Ct, watch as Ee, onUnmounted as ft, getCurrentInstance as Wn, resolveComponent as be, withKeys as Yn, unref as w, createElementVNode as ce, createCommentVNode as fe, createBlock as ee, watchEffect as Mr, createSlots as Tt, normalizeStyle as mt, normalizeClass as qe, mergeProps as dt, normalizeProps as Xn, guardReactiveProps as jn, useSlots as Vn, shallowRef as ct, useTemplateRef as li, onBeforeUnmount as zr, shallowReadonly as Qn, nextTick as yi, resolveDynamicComponent as Ut, h as Pr, defineAsyncComponent as qr, renderList as $t, getCurrentScope as Hr, onScopeDispose as Gr, useCssVars as vi, render as Ki, Fragment as Ri, useModel as Br, toHandlers as Zn, mergeModels as Lt } from "vue";
2
- import { msToGranularity as kt, isPlatformDatasource as bi, TimePeriods as Oi, TIMEFRAME_LOOKUP as Ei, requestFilterTypeEmptyV2 as Jn, relativeTimeRangeValuesRequestV2 as es, fetchAllRequests as ts, restoreAfterCapture as Mi, prepareForCapture as is, unitFormatter as $r, formatTimestamp as Qt, EXPORT_RECORD_LIMIT as Fr, finestGranularityForDuration as rs, Granularities as ui, isMetricSupported as ns, formatTime as zi } from "@kong-ui-public/analytics-utilities";
3
- import { InfoIcon as ss, VisibilityOffIcon as Wr, WarningOutlineIcon as Ci, GrokIcon as os, VllmIcon as as, GoogleVertexIcon as ls, OpenAiIcon as us, OllamaIcon as cs, NvidiaIcon as ds, KimiIcon as hs, MistralIcon as fs, MetaLlamaIcon as ms, HuggingFaceIcon as ps, GeminiIcon as gs, DeepseekIcon as _s, DatabricksIcon as ys, CohereIcon as vs, CerebrasIcon as Rs, AmazonBedrockIcon as bs, AzureIcon as Os, AnthropicIcon as Es, WarningIcon as Pi, ProgressIcon as Cs, RefreshIcon as Ts, EditIcon as ws, MoreIcon as Ss } from "@kong/icons";
4
- import { OTHER_DIMENSION_ID as Ft, handleQueryError as Yr, LoadingOverlay as xs, SimpleChart as Is, AnalyticsChart as ci, requestsToScatterData as Ds, TopTalkersGrid as As, TopTalkersColumn as Ns, formatChartTicksByGranularity as Us } from "@kong-ui-public/analytics-chart";
5
- import { createI18n as Xr, i18nTComponent as jr } from "@kong-ui-public/i18n";
6
- import { useAnalyticsConfigStore as Ti, useDatasourceConfigStore as et } from "@kong-ui-public/analytics-config-store";
7
- import Vr from "swrv";
1
+ import { ref as te, readonly as Pe, hasInjectionContext as ai, inject as Ue, computed as R, defineComponent as ge, openBlock as I, createElementBlock as ae, renderSlot as Xe, createTextVNode as Ne, toDisplayString as ue, createVNode as de, withCtx as j, provide as Mr, toRaw as Bn, isRef as $n, isReactive as Fn, toRef as ze, onMounted as Ct, watch as Ee, onUnmounted as ft, getCurrentInstance as Wn, resolveComponent as be, withKeys as Yn, unref as w, createElementVNode as ce, createCommentVNode as fe, createBlock as ee, watchEffect as zr, createSlots as Tt, normalizeStyle as mt, normalizeClass as qe, mergeProps as dt, normalizeProps as Xn, guardReactiveProps as jn, useSlots as Vn, shallowRef as ct, useTemplateRef as li, onBeforeUnmount as Pr, shallowReadonly as Qn, nextTick as vi, resolveDynamicComponent as Ut, h as qr, defineAsyncComponent as Hr, renderList as $t, getCurrentScope as Gr, onScopeDispose as Br, useCssVars as Ri, render as Mi, Fragment as bi, useModel as $r, toHandlers as Zn, mergeModels as Lt } from "vue";
2
+ import { msToGranularity as kt, isPlatformDatasource as Oi, TimePeriods as Ei, TIMEFRAME_LOOKUP as Ci, requestFilterTypeEmptyV2 as Jn, relativeTimeRangeValuesRequestV2 as es, fetchAllRequests as ts, restoreAfterCapture as zi, prepareForCapture as is, unitFormatter as Fr, formatTimestamp as Qt, EXPORT_RECORD_LIMIT as Wr, finestGranularityForDuration as rs, Granularities as ui, isMetricSupported as ns, formatTime as Pi } from "@kong-ui-public/analytics-utilities";
3
+ import { InfoIcon as ss, VisibilityOffIcon as Yr, WarningOutlineIcon as Ti, GrokIcon as os, VllmIcon as as, GoogleVertexIcon as ls, OpenAiIcon as us, OllamaIcon as cs, NvidiaIcon as ds, KimiIcon as hs, MistralIcon as fs, MetaLlamaIcon as ms, HuggingFaceIcon as ps, GeminiIcon as gs, DeepseekIcon as _s, DatabricksIcon as ys, CohereIcon as vs, CerebrasIcon as Rs, AmazonBedrockIcon as bs, AzureIcon as Os, AnthropicIcon as Es, WarningIcon as qi, ProgressIcon as Cs, RefreshIcon as Ts, EditIcon as ws, MoreIcon as Ss } from "@kong/icons";
4
+ import { OTHER_DIMENSION_ID as Ft, handleQueryError as Xr, LoadingOverlay as xs, SimpleChart as Is, AnalyticsChart as ci, requestsToScatterData as Ds, TopTalkersGrid as As, TopTalkersColumn as Ns, formatChartTicksByGranularity as Us } from "@kong-ui-public/analytics-chart";
5
+ import { createI18n as jr, i18nTComponent as Vr } from "@kong-ui-public/i18n";
6
+ import { useAnalyticsConfigStore as wi, useDatasourceConfigStore as et } from "@kong-ui-public/analytics-config-store";
7
+ import Qr from "swrv";
8
8
  import "axios";
9
9
  import { MetricsProvider as Ls, MetricsConsumer as ks } from "@kong-ui-public/analytics-metric-provider";
10
10
  import { AgGridVue as Ks } from "ag-grid-vue3";
11
11
  import { ModuleRegistry as Ms, AllCommunityModule as zs, ClientSideRowModelModule as Ps, InfiniteRowModelModule as qs, themeQuartz as Hs } from "ag-grid-community";
12
12
  import { KTabs as Gs, KSegmentedControl as Bs } from "@kong/kongponents";
13
13
  import $s from "vue-echarts";
14
- import { use as wi } from "echarts/core";
14
+ import { use as Si } from "echarts/core";
15
15
  import { CanvasRenderer as Fs } from "echarts/renderers";
16
16
  import { VisualMapComponent as Ws, DataZoomSliderComponent as Ys, GridComponent as Xs, TooltipComponent as js } from "echarts/components";
17
17
  import { TreemapChart as Vs, HeatmapChart as Qs } from "echarts/charts";
@@ -21,7 +21,7 @@ const Zs = (r) => {
21
21
  for (let i = 0; i < e; i++)
22
22
  t = t * 33 ^ r.charCodeAt(i);
23
23
  return t >>> 0;
24
- }, Js = "#0044f4", Qr = "#6c7489", eo = "#d60027", to = "#ffc400", io = "#bee2ff", ro = "#8fc1ff", no = "#5f9aff", so = "#306fff", oo = "#b5ffee", ao = "#00fabe", lo = "#00d6a4", uo = "#00a17b", co = "#007d60", ho = "#005944", fo = "#b5ffee", mo = "#00fabe", po = "#b5ffee", go = "#00a17b", _o = "#fff296", yo = "#ffe04b", vo = "#ffc400", Ro = "#b37600", bo = "#995c00", Oo = "#804400", Eo = "#fff296", Co = "#ffe04b", To = "#ffc2b3", wo = "#ff9877", So = "#ff723c", xo = "#f75008", Io = "#d13500", Do = "#a31f00", Ao = "#ffc2b3", No = "#ff9877", Uo = "#ff723c", Lo = "#f75008", ko = "#d13500", Ko = "#a31f00", Mo = "#ffc2b3", zo = "#ff9877", Po = "#ff723c", qo = "#f75008", Ho = "#d13500", Go = "#a31f00", Bo = "#ffc2b3", $o = "#ff9877", Fo = "#ff723c", Wo = "#f75008", Yo = "#d13500", Xo = "#a31f00", jo = "#ffc2b3", Vo = "#ff9877", Qo = "#ff723c", Zo = "#f75008", Jo = "#d13500", ea = "#ffabab", ta = "#ff7272", ia = "#ff3954", ra = "#f50045", na = "#d60027", sa = "#ad000e", oa = "#ffabab", aa = "#ff7272", la = "#ff3954", ua = "#f50045", ca = "#d60027", da = "#eefaff", ha = "#ecfffb", fa = "#fffce0", ma = "#fff1ef", pa = "#ffe5e5", ga = "#5f9aff", _a = "#00d6a4", ya = "#ffc400", va = "#ff723c", Ra = "#ff3954", ba = {
24
+ }, Js = "#0044f4", Zr = "#6c7489", eo = "#d60027", to = "#ffc400", io = "#bee2ff", ro = "#8fc1ff", no = "#5f9aff", so = "#306fff", oo = "#b5ffee", ao = "#00fabe", lo = "#00d6a4", uo = "#00a17b", co = "#007d60", ho = "#005944", fo = "#b5ffee", mo = "#00fabe", po = "#b5ffee", go = "#00a17b", _o = "#fff296", yo = "#ffe04b", vo = "#ffc400", Ro = "#b37600", bo = "#995c00", Oo = "#804400", Eo = "#fff296", Co = "#ffe04b", To = "#ffc2b3", wo = "#ff9877", So = "#ff723c", xo = "#f75008", Io = "#d13500", Do = "#a31f00", Ao = "#ffc2b3", No = "#ff9877", Uo = "#ff723c", Lo = "#f75008", ko = "#d13500", Ko = "#a31f00", Mo = "#ffc2b3", zo = "#ff9877", Po = "#ff723c", qo = "#f75008", Ho = "#d13500", Go = "#a31f00", Bo = "#ffc2b3", $o = "#ff9877", Fo = "#ff723c", Wo = "#f75008", Yo = "#d13500", Xo = "#a31f00", jo = "#ffc2b3", Vo = "#ff9877", Qo = "#ff723c", Zo = "#f75008", Jo = "#d13500", ea = "#ffabab", ta = "#ff7272", ia = "#ff3954", ra = "#f50045", na = "#d60027", sa = "#ad000e", oa = "#ffabab", aa = "#ff7272", la = "#ff3954", ua = "#f50045", ca = "#d60027", da = "#eefaff", ha = "#ecfffb", fa = "#fffce0", ma = "#fff1ef", pa = "#ffe5e5", ga = "#5f9aff", _a = "#00d6a4", ya = "#ffc400", va = "#ff723c", Ra = "#ff3954", ba = {
25
25
  100: io,
26
26
  101: ro,
27
27
  102: no,
@@ -90,7 +90,7 @@ const Zs = (r) => {
90
90
  300: fa,
91
91
  400: ma,
92
92
  500: pa
93
- }, qi = {
93
+ }, Hi = {
94
94
  "1XX": ga,
95
95
  "2XX": _a,
96
96
  "3XX": ya,
@@ -101,7 +101,7 @@ const Zs = (r) => {
101
101
  warning: to,
102
102
  empty: "#9DA99D",
103
103
  // chart.series.9
104
- neutral: Qr,
104
+ neutral: Zr,
105
105
  ____OTHER____: Js
106
106
  }, di = [
107
107
  "#0076F4",
@@ -121,7 +121,7 @@ const Zs = (r) => {
121
121
  "#B5A72C"
122
122
  ], Ca = (r) => Zs(r), Ta = ({
123
123
  theme: r = "light"
124
- } = {}) => r === "dark" ? hi : di, Hi = ({
124
+ } = {}) => r === "dark" ? hi : di, Gi = ({
125
125
  discriminator: r,
126
126
  theme: e = "light"
127
127
  }) => {
@@ -129,14 +129,14 @@ const Zs = (r) => {
129
129
  return e === "dark" ? hi[t % hi.length] : di[t % di.length];
130
130
  }, yt = ({
131
131
  state: r
132
- }) => Ea[r] ?? Qr, wa = ({
132
+ }) => Ea[r] ?? Zr, wa = ({
133
133
  statusCode: r
134
134
  }) => {
135
135
  const e = typeof r == "number" ? r : Number.parseInt(r, 10), t = `${e}`, i = `${Math.floor(e / 100) * 100}`;
136
136
  return ba[t] ?? Oa[i] ?? yt({ state: "neutral" });
137
137
  }, Sa = ({
138
138
  group: r
139
- }) => qi[r] ? qi[r] : yt({ state: "neutral" }), xa = ({
139
+ }) => Hi[r] ? Hi[r] : yt({ state: "neutral" }), xa = ({
140
140
  discriminator: r = void 0,
141
141
  state: e = void 0,
142
142
  dimension: t = void 0,
@@ -161,13 +161,13 @@ const Zs = (r) => {
161
161
  return Sa({ group: i });
162
162
  }
163
163
  if (r !== void 0)
164
- return Hi({
164
+ return Gi({
165
165
  discriminator: r,
166
166
  theme: l
167
167
  });
168
168
  if (t || i || n) {
169
169
  const c = `${t ?? ""}${i ?? ""}${n ?? ""}`, d = s ? s.resolveDiscriminator({ name: c, order: o, chartUuid: a, theme: l }) : Ca(c);
170
- return Hi({
170
+ return Gi({
171
171
  discriminator: d,
172
172
  theme: l
173
173
  });
@@ -674,14 +674,14 @@ let dl = {};
674
674
  function wt() {
675
675
  return dl;
676
676
  }
677
- const Zr = 6048e5, hl = 864e5, Gi = /* @__PURE__ */ Symbol.for("constructDateFrom");
677
+ const Jr = 6048e5, hl = 864e5, Bi = /* @__PURE__ */ Symbol.for("constructDateFrom");
678
678
  function Je(r, e) {
679
- return typeof r == "function" ? r(e) : r && typeof r == "object" && Gi in r ? r[Gi](e) : r instanceof Date ? new r.constructor(e) : new Date(e);
679
+ return typeof r == "function" ? r(e) : r && typeof r == "object" && Bi in r ? r[Bi](e) : r instanceof Date ? new r.constructor(e) : new Date(e);
680
680
  }
681
681
  function Ge(r, e) {
682
682
  return Je(e || r, r);
683
683
  }
684
- function Bi(r) {
684
+ function $i(r) {
685
685
  const e = Ge(r), t = new Date(
686
686
  Date.UTC(
687
687
  e.getFullYear(),
@@ -702,7 +702,7 @@ function fl(r, ...e) {
702
702
  );
703
703
  return e.map(t);
704
704
  }
705
- function $i(r, e) {
705
+ function Fi(r, e) {
706
706
  const t = Ge(r, e?.in);
707
707
  return t.setHours(0, 0, 0, 0), t;
708
708
  }
@@ -711,7 +711,7 @@ function ml(r, e, t) {
711
711
  t?.in,
712
712
  r,
713
713
  e
714
- ), s = $i(i), o = $i(n), a = +s - Bi(s), u = +o - Bi(o);
714
+ ), s = Fi(i), o = Fi(n), a = +s - $i(s), u = +o - $i(o);
715
715
  return Math.round((a - u) / hl);
716
716
  }
717
717
  function pl(r, e) {
@@ -729,7 +729,7 @@ function Rt(r, e) {
729
729
  function Kt(r, e) {
730
730
  return Rt(r, { ...e, weekStartsOn: 1 });
731
731
  }
732
- function Jr(r, e) {
732
+ function en(r, e) {
733
733
  const t = Ge(r, e?.in), i = t.getFullYear(), n = Je(t, 0);
734
734
  n.setFullYear(i + 1, 0, 4), n.setHours(0, 0, 0, 0);
735
735
  const s = Kt(n), o = Je(t, 0);
@@ -738,14 +738,14 @@ function Jr(r, e) {
738
738
  return t.getTime() >= s.getTime() ? i + 1 : t.getTime() >= a.getTime() ? i : i - 1;
739
739
  }
740
740
  function _l(r, e) {
741
- const t = Jr(r, e), i = Je(r, 0);
741
+ const t = en(r, e), i = Je(r, 0);
742
742
  return i.setFullYear(t, 0, 4), i.setHours(0, 0, 0, 0), Kt(i);
743
743
  }
744
744
  function yl(r, e) {
745
745
  const t = Ge(r, e?.in), i = +Kt(t) - +_l(t);
746
- return Math.round(i / Zr) + 1;
746
+ return Math.round(i / Jr) + 1;
747
747
  }
748
- function en(r, e) {
748
+ function tn(r, e) {
749
749
  const t = Ge(r, e?.in), i = t.getFullYear(), n = wt(), s = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = Je(e?.in || r, 0);
750
750
  o.setFullYear(i + 1, 0, s), o.setHours(0, 0, 0, 0);
751
751
  const a = Rt(o, e), u = Je(e?.in || r, 0);
@@ -754,12 +754,12 @@ function en(r, e) {
754
754
  return +t >= +a ? i + 1 : +t >= +l ? i : i - 1;
755
755
  }
756
756
  function vl(r, e) {
757
- const t = wt(), i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? t.firstWeekContainsDate ?? t.locale?.options?.firstWeekContainsDate ?? 1, n = en(r, e), s = Je(e?.in || r, 0);
757
+ const t = wt(), i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? t.firstWeekContainsDate ?? t.locale?.options?.firstWeekContainsDate ?? 1, n = tn(r, e), s = Je(e?.in || r, 0);
758
758
  return s.setFullYear(n, 0, i), s.setHours(0, 0, 0, 0), Rt(s, e);
759
759
  }
760
760
  function Rl(r, e) {
761
761
  const t = Ge(r, e?.in), i = +Rt(t, e) - +vl(t, e);
762
- return Math.round(i / Zr) + 1;
762
+ return Math.round(i / Jr) + 1;
763
763
  }
764
764
  function pe(r, e) {
765
765
  const t = r < 0 ? "-" : "", i = Math.abs(r).toString().padStart(e, "0");
@@ -825,7 +825,7 @@ const Ze = {
825
825
  afternoon: "afternoon",
826
826
  evening: "evening",
827
827
  night: "night"
828
- }, Fi = {
828
+ }, Wi = {
829
829
  // Era
830
830
  G: function(r, e, t) {
831
831
  const i = r.getFullYear() > 0 ? 1 : 0;
@@ -852,7 +852,7 @@ const Ze = {
852
852
  },
853
853
  // Local week-numbering year
854
854
  Y: function(r, e, t, i) {
855
- const n = en(r, i), s = n > 0 ? n : 1 - n;
855
+ const n = tn(r, i), s = n > 0 ? n : 1 - n;
856
856
  if (e === "YY") {
857
857
  const o = s % 100;
858
858
  return pe(o, 2);
@@ -861,7 +861,7 @@ const Ze = {
861
861
  },
862
862
  // ISO week-numbering year
863
863
  R: function(r, e) {
864
- const t = Jr(r);
864
+ const t = en(r);
865
865
  return pe(t, e.length);
866
866
  },
867
867
  // Extended year. This is a single number designating the year of this calendar system.
@@ -1279,7 +1279,7 @@ const Ze = {
1279
1279
  switch (e) {
1280
1280
  // Hours and optional minutes
1281
1281
  case "X":
1282
- return Yi(i);
1282
+ return Xi(i);
1283
1283
  // Hours, minutes and optional seconds without `:` delimiter
1284
1284
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1285
1285
  // so this token always has the same output as `XX`
@@ -1297,7 +1297,7 @@ const Ze = {
1297
1297
  switch (e) {
1298
1298
  // Hours and optional minutes
1299
1299
  case "x":
1300
- return Yi(i);
1300
+ return Xi(i);
1301
1301
  // Hours, minutes and optional seconds without `:` delimiter
1302
1302
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1303
1303
  // so this token always has the same output as `xx`
@@ -1317,7 +1317,7 @@ const Ze = {
1317
1317
  case "O":
1318
1318
  case "OO":
1319
1319
  case "OOO":
1320
- return "GMT" + Wi(i, ":");
1320
+ return "GMT" + Yi(i, ":");
1321
1321
  default:
1322
1322
  return "GMT" + st(i, ":");
1323
1323
  }
@@ -1330,7 +1330,7 @@ const Ze = {
1330
1330
  case "z":
1331
1331
  case "zz":
1332
1332
  case "zzz":
1333
- return "GMT" + Wi(i, ":");
1333
+ return "GMT" + Yi(i, ":");
1334
1334
  default:
1335
1335
  return "GMT" + st(i, ":");
1336
1336
  }
@@ -1345,18 +1345,18 @@ const Ze = {
1345
1345
  return pe(+r, e.length);
1346
1346
  }
1347
1347
  };
1348
- function Wi(r, e = "") {
1348
+ function Yi(r, e = "") {
1349
1349
  const t = r > 0 ? "-" : "+", i = Math.abs(r), n = Math.trunc(i / 60), s = i % 60;
1350
1350
  return s === 0 ? t + String(n) : t + String(n) + e + pe(s, 2);
1351
1351
  }
1352
- function Yi(r, e) {
1352
+ function Xi(r, e) {
1353
1353
  return r % 60 === 0 ? (r > 0 ? "-" : "+") + pe(Math.abs(r) / 60, 2) : st(r, e);
1354
1354
  }
1355
1355
  function st(r, e = "") {
1356
1356
  const t = r > 0 ? "-" : "+", i = Math.abs(r), n = pe(Math.trunc(i / 60), 2), s = pe(i % 60, 2);
1357
1357
  return t + n + e + s;
1358
1358
  }
1359
- const Xi = (r, e) => {
1359
+ const ji = (r, e) => {
1360
1360
  switch (r) {
1361
1361
  case "P":
1362
1362
  return e.date({ width: "short" });
@@ -1367,7 +1367,7 @@ const Xi = (r, e) => {
1367
1367
  default:
1368
1368
  return e.date({ width: "full" });
1369
1369
  }
1370
- }, tn = (r, e) => {
1370
+ }, rn = (r, e) => {
1371
1371
  switch (r) {
1372
1372
  case "p":
1373
1373
  return e.time({ width: "short" });
@@ -1381,7 +1381,7 @@ const Xi = (r, e) => {
1381
1381
  }, bl = (r, e) => {
1382
1382
  const t = r.match(/(P+)(p+)?/) || [], i = t[1], n = t[2];
1383
1383
  if (!n)
1384
- return Xi(r, e);
1384
+ return ji(r, e);
1385
1385
  let s;
1386
1386
  switch (i) {
1387
1387
  case "P":
@@ -1397,9 +1397,9 @@ const Xi = (r, e) => {
1397
1397
  s = e.dateTime({ width: "full" });
1398
1398
  break;
1399
1399
  }
1400
- return s.replace("{{date}}", Xi(i, e)).replace("{{time}}", tn(n, e));
1400
+ return s.replace("{{date}}", ji(i, e)).replace("{{time}}", rn(n, e));
1401
1401
  }, Ol = {
1402
- p: tn,
1402
+ p: rn,
1403
1403
  P: bl
1404
1404
  }, El = /^D+$/, Cl = /^Y+$/, Tl = ["D", "DD", "YY", "YYYY"];
1405
1405
  function wl(r) {
@@ -1440,7 +1440,7 @@ function Ml(r, e, t) {
1440
1440
  const d = c[0];
1441
1441
  if (d === "'")
1442
1442
  return { isToken: !1, value: zl(c) };
1443
- if (Fi[d])
1443
+ if (Wi[d])
1444
1444
  return { isToken: !0, value: c };
1445
1445
  if (d.match(Kl))
1446
1446
  throw new RangeError(
@@ -1458,7 +1458,7 @@ function Ml(r, e, t) {
1458
1458
  if (!c.isToken) return c.value;
1459
1459
  const d = c.value;
1460
1460
  (!t?.useAdditionalWeekYearTokens && Sl(d) || !t?.useAdditionalDayOfYearTokens && wl(d)) && xl(d, e, String(r));
1461
- const h = Fi[d[0]];
1461
+ const h = Wi[d[0]];
1462
1462
  return h(a, d, n.localize, l);
1463
1463
  }).join("");
1464
1464
  }
@@ -1469,7 +1469,7 @@ function zl(r) {
1469
1469
  function Pl() {
1470
1470
  return Object.assign({}, wt());
1471
1471
  }
1472
- function ji(r, e, t) {
1472
+ function Vi(r, e, t) {
1473
1473
  const i = Pl(), n = Gl(r, t.timeZone, t.locale ?? i.locale);
1474
1474
  return "formatToParts" in n ? ql(n, e) : Hl(n, e);
1475
1475
  }
@@ -1526,7 +1526,7 @@ function Wl(r, e) {
1526
1526
  parseInt(i[6], 10)
1527
1527
  ];
1528
1528
  }
1529
- const Jt = {}, Vi = new Intl.DateTimeFormat("en-US", {
1529
+ const Jt = {}, Qi = new Intl.DateTimeFormat("en-US", {
1530
1530
  hourCycle: "h23",
1531
1531
  timeZone: "America/New_York",
1532
1532
  year: "numeric",
@@ -1535,7 +1535,7 @@ const Jt = {}, Vi = new Intl.DateTimeFormat("en-US", {
1535
1535
  hour: "2-digit",
1536
1536
  minute: "2-digit",
1537
1537
  second: "2-digit"
1538
- }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Yl = Vi === "06/25/2014, 00:00:00" || Vi === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
1538
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Yl = Qi === "06/25/2014, 00:00:00" || Qi === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
1539
1539
  function Xl(r) {
1540
1540
  return Jt[r] || (Jt[r] = Yl ? new Intl.DateTimeFormat("en-US", {
1541
1541
  hourCycle: "h23",
@@ -1557,16 +1557,16 @@ function Xl(r) {
1557
1557
  second: "2-digit"
1558
1558
  })), Jt[r];
1559
1559
  }
1560
- function rn(r, e, t, i, n, s, o) {
1560
+ function nn(r, e, t, i, n, s, o) {
1561
1561
  const a = /* @__PURE__ */ new Date(0);
1562
1562
  return a.setUTCFullYear(r, e, t), a.setUTCHours(i, n, s, o), a;
1563
1563
  }
1564
- const Qi = 36e5, jl = 6e4, ei = {
1564
+ const Zi = 36e5, jl = 6e4, ei = {
1565
1565
  timezoneZ: /^(Z)$/,
1566
1566
  timezoneHH: /^([+-]\d{2})$/,
1567
1567
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
1568
1568
  };
1569
- function Si(r, e, t) {
1569
+ function xi(r, e, t) {
1570
1570
  if (!r)
1571
1571
  return 0;
1572
1572
  let i = ei.timezoneZ.exec(r);
@@ -1574,11 +1574,11 @@ function Si(r, e, t) {
1574
1574
  return 0;
1575
1575
  let n, s;
1576
1576
  if (i = ei.timezoneHH.exec(r), i)
1577
- return n = parseInt(i[1], 10), Zi(n) ? -(n * Qi) : NaN;
1577
+ return n = parseInt(i[1], 10), Ji(n) ? -(n * Zi) : NaN;
1578
1578
  if (i = ei.timezoneHHMM.exec(r), i) {
1579
1579
  n = parseInt(i[2], 10);
1580
1580
  const o = parseInt(i[3], 10);
1581
- return Zi(n, o) ? (s = Math.abs(n) * Qi + o * jl, i[1] === "+" ? -s : s) : NaN;
1581
+ return Ji(n, o) ? (s = Math.abs(n) * Zi + o * jl, i[1] === "+" ? -s : s) : NaN;
1582
1582
  }
1583
1583
  if (Zl(r)) {
1584
1584
  e = new Date(e || Date.now());
@@ -1588,10 +1588,10 @@ function Si(r, e, t) {
1588
1588
  return NaN;
1589
1589
  }
1590
1590
  function Vl(r) {
1591
- return rn(r.getFullYear(), r.getMonth(), r.getDate(), r.getHours(), r.getMinutes(), r.getSeconds(), r.getMilliseconds());
1591
+ return nn(r.getFullYear(), r.getMonth(), r.getDate(), r.getHours(), r.getMinutes(), r.getSeconds(), r.getMilliseconds());
1592
1592
  }
1593
1593
  function fi(r, e) {
1594
- const t = Bl(r, e), i = rn(t[0], t[1] - 1, t[2], t[3] % 24, t[4], t[5], 0).getTime();
1594
+ const t = Bl(r, e), i = nn(t[0], t[1] - 1, t[2], t[3] % 24, t[4], t[5], 0).getTime();
1595
1595
  let n = r.getTime();
1596
1596
  const s = n % 1e3;
1597
1597
  return n -= s >= 0 ? s : 1e3 + s, i - n;
@@ -1605,15 +1605,15 @@ function Ql(r, e, t) {
1605
1605
  const o = fi(new Date(n), t);
1606
1606
  return s === o ? s : Math.max(s, o);
1607
1607
  }
1608
- function Zi(r, e) {
1608
+ function Ji(r, e) {
1609
1609
  return -23 <= r && r <= 23 && (e == null || 0 <= e && e <= 59);
1610
1610
  }
1611
- const Ji = {};
1611
+ const er = {};
1612
1612
  function Zl(r) {
1613
- if (Ji[r])
1613
+ if (er[r])
1614
1614
  return !0;
1615
1615
  try {
1616
- return new Intl.DateTimeFormat(void 0, { timeZone: r }), Ji[r] = !0, !0;
1616
+ return new Intl.DateTimeFormat(void 0, { timeZone: r }), er[r] = !0, !0;
1617
1617
  } catch {
1618
1618
  return !1;
1619
1619
  }
@@ -1627,7 +1627,7 @@ const Jl = 60 * 1e3, eu = {
1627
1627
  switch (e) {
1628
1628
  // Hours and optional minutes
1629
1629
  case "X":
1630
- return er(i);
1630
+ return tr(i);
1631
1631
  // Hours, minutes and optional seconds without `:` delimeter
1632
1632
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1633
1633
  // so this token always has the same output as `XX`
@@ -1645,7 +1645,7 @@ const Jl = 60 * 1e3, eu = {
1645
1645
  switch (e) {
1646
1646
  // Hours and optional minutes
1647
1647
  case "x":
1648
- return er(i);
1648
+ return tr(i);
1649
1649
  // Hours, minutes and optional seconds without `:` delimeter
1650
1650
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1651
1651
  // so this token always has the same output as `xx`
@@ -1677,14 +1677,14 @@ const Jl = 60 * 1e3, eu = {
1677
1677
  case "z":
1678
1678
  case "zz":
1679
1679
  case "zzz":
1680
- return ji("short", r, t);
1680
+ return Vi("short", r, t);
1681
1681
  default:
1682
- return ji("long", r, t);
1682
+ return Vi("long", r, t);
1683
1683
  }
1684
1684
  }
1685
1685
  };
1686
1686
  function ti(r, e) {
1687
- const t = r ? Si(r, e, !0) / Jl : e?.getTimezoneOffset() ?? 0;
1687
+ const t = r ? xi(r, e, !0) / Jl : e?.getTimezoneOffset() ?? 0;
1688
1688
  if (Number.isNaN(t))
1689
1689
  throw new RangeError("Invalid time zone specified: " + r);
1690
1690
  return t;
@@ -1700,18 +1700,18 @@ function lt(r, e = "") {
1700
1700
  const t = r > 0 ? "-" : "+", i = Math.abs(r), n = Mt(Math.floor(i / 60), 2), s = Mt(Math.floor(i % 60), 2);
1701
1701
  return t + n + e + s;
1702
1702
  }
1703
- function er(r, e) {
1703
+ function tr(r, e) {
1704
1704
  return r % 60 === 0 ? (r > 0 ? "-" : "+") + Mt(Math.abs(r) / 60, 2) : lt(r, e);
1705
1705
  }
1706
1706
  function tu(r, e = "") {
1707
1707
  const t = r > 0 ? "-" : "+", i = Math.abs(r), n = Math.floor(i / 60), s = i % 60;
1708
1708
  return s === 0 ? t + String(n) : t + String(n) + e + Mt(s, 2);
1709
1709
  }
1710
- function tr(r) {
1710
+ function ir(r) {
1711
1711
  const e = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate(), r.getHours(), r.getMinutes(), r.getSeconds(), r.getMilliseconds()));
1712
1712
  return e.setUTCFullYear(r.getFullYear()), +r - +e;
1713
1713
  }
1714
- const iu = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, ii = 36e5, ir = 6e4, ru = 2, De = {
1714
+ const iu = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, ii = 36e5, rr = 6e4, ru = 2, De = {
1715
1715
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
1716
1716
  datePattern: /^([0-9W+-]+)(.*)/,
1717
1717
  // year tokens
@@ -1745,7 +1745,7 @@ const iu = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
1745
1745
  // time zone tokens (to identify the presence of a tz)
1746
1746
  timeZone: iu
1747
1747
  };
1748
- function nn(r, e = {}) {
1748
+ function sn(r, e = {}) {
1749
1749
  if (arguments.length < 1)
1750
1750
  throw new TypeError("1 argument required, but only " + arguments.length + " present");
1751
1751
  if (r === null)
@@ -1768,10 +1768,10 @@ function nn(r, e = {}) {
1768
1768
  if (i.time && (u = au(i.time), u === null || isNaN(u)))
1769
1769
  return /* @__PURE__ */ new Date(NaN);
1770
1770
  if (i.timeZone || e.timeZone) {
1771
- if (l = Si(i.timeZone || e.timeZone, new Date(a + u)), isNaN(l))
1771
+ if (l = xi(i.timeZone || e.timeZone, new Date(a + u)), isNaN(l))
1772
1772
  return /* @__PURE__ */ new Date(NaN);
1773
1773
  } else
1774
- l = tr(new Date(a + u)), l = tr(new Date(a + u + l));
1774
+ l = ir(new Date(a + u)), l = ir(new Date(a + u + l));
1775
1775
  return new Date(a + u + l);
1776
1776
  } else
1777
1777
  return /* @__PURE__ */ new Date(NaN);
@@ -1816,7 +1816,7 @@ function ou(r, e) {
1816
1816
  return t = /* @__PURE__ */ new Date(0), t.setUTCFullYear(e), t;
1817
1817
  let s = De.MM.exec(r);
1818
1818
  if (s)
1819
- return t = /* @__PURE__ */ new Date(0), i = parseInt(s[1], 10) - 1, nr(e, i) ? (t.setUTCFullYear(e, i), t) : /* @__PURE__ */ new Date(NaN);
1819
+ return t = /* @__PURE__ */ new Date(0), i = parseInt(s[1], 10) - 1, sr(e, i) ? (t.setUTCFullYear(e, i), t) : /* @__PURE__ */ new Date(NaN);
1820
1820
  if (s = De.DDD.exec(r), s) {
1821
1821
  t = /* @__PURE__ */ new Date(0);
1822
1822
  const o = parseInt(s[1], 10);
@@ -1825,14 +1825,14 @@ function ou(r, e) {
1825
1825
  if (s = De.MMDD.exec(r), s) {
1826
1826
  t = /* @__PURE__ */ new Date(0), i = parseInt(s[1], 10) - 1;
1827
1827
  const o = parseInt(s[2], 10);
1828
- return nr(e, i, o) ? (t.setUTCFullYear(e, i, o), t) : /* @__PURE__ */ new Date(NaN);
1828
+ return sr(e, i, o) ? (t.setUTCFullYear(e, i, o), t) : /* @__PURE__ */ new Date(NaN);
1829
1829
  }
1830
1830
  if (s = De.Www.exec(r), s)
1831
- return n = parseInt(s[1], 10) - 1, sr(n) ? rr(e, n) : /* @__PURE__ */ new Date(NaN);
1831
+ return n = parseInt(s[1], 10) - 1, or(n) ? nr(e, n) : /* @__PURE__ */ new Date(NaN);
1832
1832
  if (s = De.WwwD.exec(r), s) {
1833
1833
  n = parseInt(s[1], 10) - 1;
1834
1834
  const o = parseInt(s[2], 10) - 1;
1835
- return sr(n, o) ? rr(e, n, o) : /* @__PURE__ */ new Date(NaN);
1835
+ return or(n, o) ? nr(e, n, o) : /* @__PURE__ */ new Date(NaN);
1836
1836
  }
1837
1837
  return null;
1838
1838
  }
@@ -1841,15 +1841,15 @@ function au(r) {
1841
1841
  if (i)
1842
1842
  return e = parseFloat(i[1].replace(",", ".")), ri(e) ? e % 24 * ii : NaN;
1843
1843
  if (i = De.HHMM.exec(r), i)
1844
- return e = parseInt(i[1], 10), t = parseFloat(i[2].replace(",", ".")), ri(e, t) ? e % 24 * ii + t * ir : NaN;
1844
+ return e = parseInt(i[1], 10), t = parseFloat(i[2].replace(",", ".")), ri(e, t) ? e % 24 * ii + t * rr : NaN;
1845
1845
  if (i = De.HHMMSS.exec(r), i) {
1846
1846
  e = parseInt(i[1], 10), t = parseInt(i[2], 10);
1847
1847
  const n = parseFloat(i[3].replace(",", "."));
1848
- return ri(e, t, n) ? e % 24 * ii + t * ir + n * 1e3 : NaN;
1848
+ return ri(e, t, n) ? e % 24 * ii + t * rr + n * 1e3 : NaN;
1849
1849
  }
1850
1850
  return null;
1851
1851
  }
1852
- function rr(r, e, t) {
1852
+ function nr(r, e, t) {
1853
1853
  e = e || 0, t = t || 0;
1854
1854
  const i = /* @__PURE__ */ new Date(0);
1855
1855
  i.setUTCFullYear(r, 0, 4);
@@ -1857,16 +1857,16 @@ function rr(r, e, t) {
1857
1857
  return i.setUTCDate(i.getUTCDate() + s), i;
1858
1858
  }
1859
1859
  const lu = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], uu = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
1860
- function sn(r) {
1860
+ function on(r) {
1861
1861
  return r % 400 === 0 || r % 4 === 0 && r % 100 !== 0;
1862
1862
  }
1863
- function nr(r, e, t) {
1863
+ function sr(r, e, t) {
1864
1864
  if (e < 0 || e > 11)
1865
1865
  return !1;
1866
1866
  if (t != null) {
1867
1867
  if (t < 1)
1868
1868
  return !1;
1869
- const i = sn(r);
1869
+ const i = on(r);
1870
1870
  if (i && t > uu[e] || !i && t > lu[e])
1871
1871
  return !1;
1872
1872
  }
@@ -1875,10 +1875,10 @@ function nr(r, e, t) {
1875
1875
  function cu(r, e) {
1876
1876
  if (e < 1)
1877
1877
  return !1;
1878
- const t = sn(r);
1878
+ const t = on(r);
1879
1879
  return !(t && e > 366 || !t && e > 365);
1880
1880
  }
1881
- function sr(r, e) {
1881
+ function or(r, e) {
1882
1882
  return !(r < 0 || r > 52 || e != null && (e < 0 || e > 6));
1883
1883
  }
1884
1884
  function ri(r, e, t) {
@@ -1889,7 +1889,7 @@ function mi(r, e, t = {}) {
1889
1889
  e = String(e);
1890
1890
  const i = e.match(du);
1891
1891
  if (i) {
1892
- const n = nn(t.originalDate || r, t);
1892
+ const n = sn(t.originalDate || r, t);
1893
1893
  e = i.reduce(function(s, o) {
1894
1894
  if (o[0] === "'")
1895
1895
  return s;
@@ -1900,8 +1900,8 @@ function mi(r, e, t = {}) {
1900
1900
  return Ml(r, e, t);
1901
1901
  }
1902
1902
  function hu(r, e, t) {
1903
- r = nn(r, t);
1904
- const i = Si(e, r, !0), n = new Date(r.getTime() - i), s = /* @__PURE__ */ new Date(0);
1903
+ r = sn(r, t);
1904
+ const i = xi(e, r, !0), n = new Date(r.getTime() - i), s = /* @__PURE__ */ new Date(0);
1905
1905
  return s.setFullYear(n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate()), s.setHours(n.getUTCHours(), n.getUTCMinutes(), n.getUTCSeconds(), n.getUTCMilliseconds()), s;
1906
1906
  }
1907
1907
  function fu(r, e, t, i) {
@@ -1911,14 +1911,14 @@ function fu(r, e, t, i) {
1911
1911
  originalDate: r
1912
1912
  }, mi(hu(r, e, { timeZone: i.timeZone }), t, i);
1913
1913
  }
1914
- const mu = "#6c7489", pu = "768px", or = "12px", gu = "16px", ar = "32px", _u = "12px", on = "20px";
1914
+ const mu = "#6c7489", pu = "768px", ar = "12px", gu = "16px", lr = "32px", _u = "12px", an = "20px";
1915
1915
  var It = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1916
1916
  function yu(r) {
1917
1917
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
1918
1918
  }
1919
- var At = { exports: {} }, vu = At.exports, lr;
1919
+ var At = { exports: {} }, vu = At.exports, ur;
1920
1920
  function Ru() {
1921
- return lr || (lr = 1, (function(r, e) {
1921
+ return ur || (ur = 1, (function(r, e) {
1922
1922
  (function(t, i) {
1923
1923
  i();
1924
1924
  })(vu, function() {
@@ -1988,9 +1988,9 @@ function Ru() {
1988
1988
  })(At)), At.exports;
1989
1989
  }
1990
1990
  var bu = Ru(), Nt = { exports: {} };
1991
- var Ou = Nt.exports, ur;
1991
+ var Ou = Nt.exports, cr;
1992
1992
  function Eu() {
1993
- return ur || (ur = 1, (function(r, e) {
1993
+ return cr || (cr = 1, (function(r, e) {
1994
1994
  ((t, i) => {
1995
1995
  r.exports = i();
1996
1996
  })(Ou, function t() {
@@ -2513,23 +2513,23 @@ const Tu = ["id"], wu = /* @__PURE__ */ ge({
2513
2513
  granularities: Pu
2514
2514
  };
2515
2515
  function Wt() {
2516
- const r = Xr("en-us", qu);
2516
+ const r = jr("en-us", qu);
2517
2517
  return {
2518
2518
  i18n: r,
2519
- i18nT: jr(r)
2519
+ i18nT: Vr(r)
2520
2520
  // Translation component <i18n-t>
2521
2521
  };
2522
2522
  }
2523
- const Yt = 170, an = 6, Dt = 20, je = "analytics-query-provider", Hu = "analytics-dashboard-coordinator", cr = "{entity-id}", Gu = "{cp-id}", Bu = "{timeframe}", $u = 30 * 1e3, Fu = 3e5, Wu = 36e5;
2523
+ const Yt = 170, ln = 6, Dt = 20, je = "analytics-query-provider", Hu = "analytics-dashboard-coordinator", dr = "{entity-id}", Gu = "{cp-id}", Bu = "{timeframe}", $u = 30 * 1e3, Fu = 3e5, Wu = 36e5;
2524
2524
  function Yu() {
2525
2525
  const r = Ue(je);
2526
2526
  return {
2527
2527
  evaluateFeatureFlag: (t, i) => typeof r?.evaluateFeatureFlagFn != "function" ? i : r.evaluateFeatureFlagFn(t, i)
2528
2528
  };
2529
2529
  }
2530
- var ni = { exports: {} }, dr;
2530
+ var ni = { exports: {} }, hr;
2531
2531
  function Xu() {
2532
- return dr || (dr = 1, (function(r) {
2532
+ return hr || (hr = 1, (function(r) {
2533
2533
  var e = Object.prototype.hasOwnProperty, t = "~";
2534
2534
  function i() {
2535
2535
  }
@@ -2636,13 +2636,13 @@ function Xu() {
2636
2636
  }
2637
2637
  var ju = Xu();
2638
2638
  const Vu = /* @__PURE__ */ yu(ju);
2639
- class xi extends Error {
2639
+ class Ii extends Error {
2640
2640
  name = "TimeoutError";
2641
2641
  constructor(e, t) {
2642
- super(e, t), Error.captureStackTrace?.(this, xi);
2642
+ super(e, t), Error.captureStackTrace?.(this, Ii);
2643
2643
  }
2644
2644
  }
2645
- const hr = (r) => r.reason ?? new DOMException("This operation was aborted.", "AbortError");
2645
+ const fr = (r) => r.reason ?? new DOMException("This operation was aborted.", "AbortError");
2646
2646
  function Qu(r, e) {
2647
2647
  const {
2648
2648
  milliseconds: t,
@@ -2656,14 +2656,14 @@ function Qu(r, e) {
2656
2656
  if (typeof t != "number" || Math.sign(t) !== 1)
2657
2657
  throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${t}\``);
2658
2658
  if (o?.aborted) {
2659
- h(hr(o));
2659
+ h(fr(o));
2660
2660
  return;
2661
2661
  }
2662
2662
  if (o && (u = () => {
2663
- h(hr(o));
2663
+ h(fr(o));
2664
2664
  }, o.addEventListener("abort", u, { once: !0 })), r.then(d, h), t === Number.POSITIVE_INFINITY)
2665
2665
  return;
2666
- const p = new xi();
2666
+ const p = new Ii();
2667
2667
  a = s.setTimeout.call(void 0, () => {
2668
2668
  if (i) {
2669
2669
  try {
@@ -2692,7 +2692,7 @@ function Zu(r, e, t) {
2692
2692
  return i;
2693
2693
  }
2694
2694
  const Ju = 100;
2695
- class fr {
2695
+ class mr {
2696
2696
  #t = [];
2697
2697
  // The queue is stored as a sorted array, but dequeued items are left before `#head` until compaction. Only items from `#head` onward are live, which keeps repeated dequeues amortized O(1).
2698
2698
  #e = 0;
@@ -2800,7 +2800,7 @@ class ec extends Vu {
2800
2800
  interval: 0,
2801
2801
  concurrency: Number.POSITIVE_INFINITY,
2802
2802
  autoStart: !0,
2803
- queueClass: fr,
2803
+ queueClass: mr,
2804
2804
  strict: !1,
2805
2805
  ...e
2806
2806
  }, !(typeof e.intervalCap == "number" && e.intervalCap >= 1))
@@ -3011,7 +3011,7 @@ class ec extends Vu {
3011
3011
  };
3012
3012
  this.#i.enqueue(a, t);
3013
3013
  const u = () => {
3014
- if (this.#i instanceof fr) {
3014
+ if (this.#i instanceof mr) {
3015
3015
  this.#i.remove(a);
3016
3016
  return;
3017
3017
  }
@@ -3283,7 +3283,7 @@ class ec extends Vu {
3283
3283
  }
3284
3284
  }
3285
3285
  const tc = () => {
3286
- const r = Ti(), e = Ue(je);
3286
+ const r = wi(), e = Ue(je);
3287
3287
  if (!e)
3288
3288
  return;
3289
3289
  if (e.queryFnOverride) {
@@ -3300,14 +3300,14 @@ const tc = () => {
3300
3300
  queryFnOverride: !0,
3301
3301
  queryFn: (n, s) => t.add(() => e.queryFn(n, s))
3302
3302
  };
3303
- Kr(je, i);
3303
+ Mr(je, i);
3304
3304
  };
3305
3305
  function ic(r) {
3306
3306
  const e = `[${r.name}] ${r.message}`, t = [];
3307
3307
  return r.fix && t.push(`fix: ${r.fix}`), r.sources?.length && t.push(`sources: ${r.sources.join(", ")}`), r.docs && t.push(`see: ${r.docs}`), t.length === 0 ? e : [e, ...t.map((i, n) => `${n < t.length - 1 ? "├▶" : "╰▶"} ${i}`)].join(`
3308
3308
  `);
3309
3309
  }
3310
- function mr(r, ...e) {
3310
+ function pr(r, ...e) {
3311
3311
  return typeof r == "function" ? r(...e) : r;
3312
3312
  }
3313
3313
  // @__NO_SIDE_EFFECTS__
@@ -3317,7 +3317,7 @@ function rc({ method: r = "warn", formatter: e = ic } = {}) {
3317
3317
  };
3318
3318
  }
3319
3319
  const nc = Error.captureStackTrace;
3320
- var sc = class ln extends Error {
3320
+ var sc = class un extends Error {
3321
3321
  name;
3322
3322
  /**
3323
3323
  * The diagnostic code, e.g. `MATH_E001`.
@@ -3353,7 +3353,7 @@ var sc = class ln extends Error {
3353
3353
  * `defineDiagnostics` passes its action method to strip its own frames too.
3354
3354
  * Ignored on engines without `Error.captureStackTrace`.
3355
3355
  */
3356
- constructor(e, t = ln) {
3356
+ constructor(e, t = un) {
3357
3357
  super(e.why, { cause: e.cause }), this.code = this.name = e.code, this.fix = e.fix, this.docs = e.docs, this.sources = e.sources, nc?.(this, t);
3358
3358
  }
3359
3359
  /**
@@ -3381,8 +3381,8 @@ function ac(r) {
3381
3381
  const s = r.codes[n], o = s.docs === !1 ? void 0 : s.docs || oc(i, n), a = (u = {}, l = {}) => {
3382
3382
  const c = new sc({
3383
3383
  code: n,
3384
- why: mr(s.why, u),
3385
- fix: mr(s.fix, u),
3384
+ why: pr(s.why, u),
3385
+ fix: pr(s.fix, u),
3386
3386
  docs: o,
3387
3387
  cause: u.cause,
3388
3388
  sources: u.sources
@@ -3438,9 +3438,9 @@ const lc = typeof window < "u", uc = /* @__PURE__ */ ac({
3438
3438
  }
3439
3439
  }
3440
3440
  });
3441
- let pr;
3441
+ let gr;
3442
3442
  process.env.NODE_ENV;
3443
- const gr = process.env.NODE_ENV !== "production" ? /* @__PURE__ */ Symbol("pinia") : (
3443
+ const _r = process.env.NODE_ENV !== "production" ? /* @__PURE__ */ Symbol("pinia") : (
3444
3444
  /* istanbul ignore next */
3445
3445
  /* @__PURE__ */ Symbol()
3446
3446
  );
@@ -3462,14 +3462,14 @@ const Ye = (r) => r?.chart.type === "table", zt = (r) => r?.query?.datasource ==
3462
3462
  const t = r.header_description ?? ("description" in r.chart ? r.chart.description : void 0);
3463
3463
  if (t)
3464
3464
  return t.replaceAll(Bu, e) || void 0;
3465
- }, dc = (r) => !r || r === "basic" ? "api_usage" : bi(r) ? "platform_usage" : r;
3465
+ }, dc = (r) => !r || r === "basic" ? "api_usage" : Oi(r) ? "platform_usage" : r;
3466
3466
  function hc({
3467
3467
  queryBridge: r,
3468
3468
  context: e,
3469
3469
  definition: t,
3470
3470
  chartData: i
3471
3471
  }) {
3472
- const n = te(""), s = te(""), o = te(void 0), a = te(void 0), u = Ti(), l = et(), {
3472
+ const n = te(""), s = te(""), o = te(void 0), a = te(void 0), u = wi(), l = et(), {
3473
3473
  stripUnknownFilters: c,
3474
3474
  datasourceConfigMap: d,
3475
3475
  datasourceConfigError: h,
@@ -3569,16 +3569,16 @@ function hc({
3569
3569
  buildRequestLink: f
3570
3570
  };
3571
3571
  }
3572
- const un = (r) => r.type === "relative" ? Oi.get(Ei[r.time_range])?.timeframeLengthMs() : new Date(r.end).getTime() - new Date(r.start).getTime(), fc = (r) => r.reduce((e, t) => {
3573
- const i = Oi.get(Ei[t])?.maximumTimeframeLength();
3572
+ const cn = (r) => r.type === "relative" ? Ei.get(Ci[r.time_range])?.timeframeLengthMs() : new Date(r.end).getTime() - new Date(r.start).getTime(), fc = (r) => r.reduce((e, t) => {
3573
+ const i = Ei.get(Ci[t])?.maximumTimeframeLength();
3574
3574
  return i === void 0 || e && i <= e.durationSeconds ? e : { durationSeconds: i, key: t };
3575
- }, void 0), cn = (r, e) => {
3575
+ }, void 0), dn = (r, e) => {
3576
3576
  if (!r || !e?.length)
3577
3577
  return;
3578
- const t = un(r), i = fc(e);
3578
+ const t = cn(r), i = fc(e);
3579
3579
  return t !== void 0 && i && t > i.durationSeconds * 1e3 ? i : void 0;
3580
- }, dn = (r, e) => {
3581
- const t = cn(r, e);
3580
+ }, hn = (r, e) => {
3581
+ const t = dn(r, e);
3582
3582
  return !t || !r ? r : r.type === "relative" ? {
3583
3583
  ...r,
3584
3584
  time_range: t.key
@@ -3602,7 +3602,7 @@ function mc() {
3602
3602
  datasource: c,
3603
3603
  limit: d,
3604
3604
  ...h
3605
- } = o, p = c || "basic", v = bi(p), E = i.value({
3605
+ } = o, p = c || "basic", v = Oi(p), E = i.value({
3606
3606
  datasource: p,
3607
3607
  filters: [
3608
3608
  ...o.filters ?? [],
@@ -3617,7 +3617,7 @@ function mc() {
3617
3617
  } : y && !y.tz && (y = {
3618
3618
  ...y,
3619
3619
  tz: a.tz
3620
- }), y = dn(y, t.value[p]?.timeRangeOptions);
3620
+ }), y = hn(y, t.value[p]?.timeRangeOptions);
3621
3621
  const C = {
3622
3622
  datasource: p,
3623
3623
  query: {
@@ -3653,9 +3653,9 @@ const pc = "24H", gc = {
3653
3653
  time_range: yc(t) ? t : pc,
3654
3654
  ...e
3655
3655
  };
3656
- }, _r = (r) => gc[r] ?? r, Rc = (r) => ({
3657
- metric: _r(r.metric),
3658
- dimension: r.dimension ? _r(r.dimension) : void 0,
3656
+ }, yr = (r) => gc[r] ?? r, Rc = (r) => ({
3657
+ metric: yr(r.metric),
3658
+ dimension: r.dimension ? yr(r.dimension) : void 0,
3659
3659
  unroll: r.unroll,
3660
3660
  metricUnit: _c[r.metric],
3661
3661
  extraFields: r.extra_fields
@@ -3668,7 +3668,7 @@ function bc() {
3668
3668
  });
3669
3669
  const s = (a, u) => {
3670
3670
  const l = a.time_range ?? u.timeSpec;
3671
- return dn(
3671
+ return hn(
3672
3672
  l && { ...l, tz: l.tz ?? u.tz },
3673
3673
  t.value[si]?.timeRangeOptions
3674
3674
  );
@@ -3699,7 +3699,7 @@ function Oc({
3699
3699
  isFullscreen: t = te(!1),
3700
3700
  preview: i = te(!1)
3701
3701
  }) {
3702
- const n = Ti(), s = et(), { loading: o } = ht(n), { loading: a } = ht(s), u = R(() => r.value.timeSpec ? r.value.timeSpec : {
3702
+ const n = wi(), s = et(), { loading: o } = ht(n), { loading: a } = ht(s), u = R(() => r.value.timeSpec ? r.value.timeSpec : {
3703
3703
  type: "relative",
3704
3704
  time_range: n.defaultQueryTimeForOrg
3705
3705
  }), l = R(() => {
@@ -3783,10 +3783,10 @@ function Oc({
3783
3783
  zoomConfiguration: O
3784
3784
  };
3785
3785
  }
3786
- const Ec = 6, hn = 6, fn = 4;
3786
+ const Ec = 6, fn = 6, mn = 4;
3787
3787
  function Cc(r, e) {
3788
- const { pageWidth: t, pageHeight: i, margin: n } = e, s = n + 1, o = n + e.headerHeight - 3, a = i - n - hn + 3, u = a + 4;
3789
- e.title && (r.setFont("helvetica", "bold"), r.setFontSize(11), r.setTextColor(60), r.text(e.title, n, s)), r.setFont("helvetica", "normal"), r.setFontSize(8), r.setTextColor(120), r.text(e.generatedAt, t - n, s, { align: "right" }), e.subtitle && r.text(e.subtitle, n, s + fn), r.setDrawColor(220), r.line(n, o, t - n, o), r.line(n, a, t - n, a), r.setFont("helvetica", "bold"), r.setTextColor(60), r.text(e.branding, n, u);
3788
+ const { pageWidth: t, pageHeight: i, margin: n } = e, s = n + 1, o = n + e.headerHeight - 3, a = i - n - fn + 3, u = a + 4;
3789
+ e.title && (r.setFont("helvetica", "bold"), r.setFontSize(11), r.setTextColor(60), r.text(e.title, n, s)), r.setFont("helvetica", "normal"), r.setFontSize(8), r.setTextColor(120), r.text(e.generatedAt, t - n, s, { align: "right" }), e.subtitle && r.text(e.subtitle, n, s + mn), r.setDrawColor(220), r.line(n, o, t - n, o), r.line(n, a, t - n, a), r.setFont("helvetica", "bold"), r.setTextColor(60), r.text(e.branding, n, u);
3790
3790
  const l = r.getTextWidth(e.branding);
3791
3791
  r.setFont("helvetica", "normal");
3792
3792
  const c = ` ${e.dashboardNote}`;
@@ -3853,7 +3853,7 @@ function Sc(r) {
3853
3853
  const b = {
3854
3854
  name: "kong-webgl-snapshot",
3855
3855
  beforeClone: () => is(),
3856
- afterClone: () => Mi()
3856
+ afterClone: () => zi()
3857
3857
  }, U = await M.toCanvas(C, {
3858
3858
  scale: h,
3859
3859
  exclude: p,
@@ -3862,7 +3862,7 @@ function Sc(r) {
3862
3862
  plugins: [b]
3863
3863
  }), A = Tc(C), q = C.getBoundingClientRect().width, m = q ? U.width / q : h;
3864
3864
  t.value = { status: "generating" };
3865
- const f = /* @__PURE__ */ new Date(), g = new O({ orientation: l, unit: "mm", format: c }), z = g.internal.pageSize.getWidth(), N = g.internal.pageSize.getHeight(), Y = Ec + (a ? fn : 0), S = z - d * 2, G = N - d * 2 - Y - hn, V = U.width / S, X = G * V, T = wc(A, U.height, X, m), D = {
3865
+ const f = /* @__PURE__ */ new Date(), g = new O({ orientation: l, unit: "mm", format: c }), z = g.internal.pageSize.getWidth(), N = g.internal.pageSize.getHeight(), Y = Ec + (a ? mn : 0), S = z - d * 2, G = N - d * 2 - Y - fn, V = U.width / S, X = G * V, T = wc(A, U.height, X, m), D = {
3866
3866
  title: o,
3867
3867
  subtitle: a,
3868
3868
  dashboardUrl: u,
@@ -3909,7 +3909,7 @@ function Sc(r) {
3909
3909
  } catch (M) {
3910
3910
  t.value = { status: "error", error: M };
3911
3911
  } finally {
3912
- Mi(), await y?.();
3912
+ zi(), await y?.();
3913
3913
  }
3914
3914
  }
3915
3915
  return {
@@ -3919,7 +3919,7 @@ function Sc(r) {
3919
3919
  }
3920
3920
  const xc = (r) => r.toLowerCase().endsWith("count") ? "" : r;
3921
3921
  function Ic() {
3922
- const { i18n: r } = Wt(), { formatUnit: e } = $r({ i18n: r }), t = Re.useFieldLabel();
3922
+ const { i18n: r } = Wt(), { formatUnit: e } = Fr({ i18n: r }), t = Re.useFieldLabel();
3923
3923
  return (i) => {
3924
3924
  const n = i.meta?.metric_names?.[0] ?? "", s = i.meta?.metric_units?.[n] ?? "";
3925
3925
  return {
@@ -3928,13 +3928,13 @@ function Ic() {
3928
3928
  };
3929
3929
  };
3930
3930
  }
3931
- const mn = (r, e, t, { prefix: i = "chartLabels", fallback: n = t } = {}) => {
3931
+ const gi = (r, e, t, { prefix: i = "chartLabels", fallback: n = t } = {}) => {
3932
3932
  const s = `${i}.${t}`;
3933
3933
  return e.get(t) || (r.te(s) ? r.t(s) : n);
3934
3934
  };
3935
3935
  function Dc() {
3936
3936
  const { i18n: r } = Wt(), e = et();
3937
- return (t, i) => mn(r, e.fieldTranslationMap, t, i);
3937
+ return (t, i) => gi(r, e.fieldTranslationMap, t, i);
3938
3938
  }
3939
3939
  const Re = {
3940
3940
  useContextLinks: hc,
@@ -3954,7 +3954,7 @@ const Re = {
3954
3954
  key: 4,
3955
3955
  class: "text-muted",
3956
3956
  tag: "span"
3957
- }, yr = 3, Lc = /* @__PURE__ */ ge({
3957
+ }, vr = 3, Lc = /* @__PURE__ */ ge({
3958
3958
  __name: "CsvExportModal",
3959
3959
  props: {
3960
3960
  exportState: {},
@@ -3969,7 +3969,7 @@ const Re = {
3969
3969
  const { start: E, end: y } = n.exportState.chartData.meta;
3970
3970
  return !E || !y ? "" : new Date(E).getTime() === new Date(y).getTime() ? t.t("csvExport.exportAsOf", { time: Qt(new Date(E), { includeTZ: !0 }) }) : `${t.t("csvExport.exportTimeRange")}: ${Qt(new Date(E))} - ${Qt(new Date(y), { includeTZ: !0 })}`;
3971
3971
  }), d = R(() => n.exportState.status !== "success" ? "" : t.t("csvExport.previewRows", {
3972
- rowsMax: Math.min(yr, u.value),
3972
+ rowsMax: Math.min(vr, u.value),
3973
3973
  rowsTotal: u.value,
3974
3974
  plural: u.value === 1 ? "" : "s"
3975
3975
  })), h = () => {
@@ -4017,7 +4017,7 @@ const Re = {
4017
4017
  const { rows: E } = p.value;
4018
4018
  return {
4019
4019
  total: Number(E.length) || 0,
4020
- data: E.slice(0, yr)
4020
+ data: E.slice(0, vr)
4021
4021
  };
4022
4022
  };
4023
4023
  return Ee(p, () => {
@@ -4080,7 +4080,7 @@ const Re = {
4080
4080
  de(b, {
4081
4081
  class: "preview-tooltip",
4082
4082
  placement: "right",
4083
- text: w(t).t("csvExport.maximumRecordAmount", { value: w(Fr) })
4083
+ text: w(t).t("csvExport.maximumRecordAmount", { value: w(Wr) })
4084
4084
  }, {
4085
4085
  default: j(() => [
4086
4086
  de(w(ss), {
@@ -4139,7 +4139,7 @@ function gn(r = te({}), e, t, i = kc) {
4139
4139
  "PENDING"
4140
4140
  /* PENDING */
4141
4141
  );
4142
- return Mr(() => {
4142
+ return zr(() => {
4143
4143
  const s = i(r.value);
4144
4144
  if (r.value && s && t.value) {
4145
4145
  n.value = "VALIDATING_HAS_DATA";
@@ -4182,14 +4182,14 @@ const ot = /* @__PURE__ */ ge({
4182
4182
  },
4183
4183
  emits: ["chart-data", "query-complete"],
4184
4184
  setup(r, { emit: e }) {
4185
- const t = r, i = e, { i18n: n } = Re.useI18n(), { issueQuery: s } = Re.useIssueQuery(), o = Ue(je), a = () => t.queryReady && o ? JSON.stringify([t.query, t.context, t.refreshCounter]) : null, { data: u, error: l, isValidating: c } = Vr(a, async (b) => {
4185
+ const t = r, i = e, { i18n: n } = Re.useI18n(), { issueQuery: s } = Re.useIssueQuery(), o = Ue(je), a = () => t.queryReady && o ? JSON.stringify([t.query, t.context, t.refreshCounter]) : null, { data: u, error: l, isValidating: c } = Qr(a, async (b) => {
4186
4186
  try {
4187
4187
  const U = await s(t.query, t.context, t.limitOverride);
4188
4188
  return a() !== b ? void 0 : (v.value = null, { key: b, result: U });
4189
4189
  } catch (U) {
4190
4190
  if (a() !== b)
4191
4191
  return;
4192
- throw v.value = Yr(U), U;
4192
+ throw v.value = Xr(U), U;
4193
4193
  } finally {
4194
4194
  a() === b && i("query-complete");
4195
4195
  }
@@ -4212,7 +4212,7 @@ const ot = /* @__PURE__ */ ge({
4212
4212
  "data-testid": "chart-empty-state"
4213
4213
  }, Tt({
4214
4214
  icon: j(() => [
4215
- v.value?.type === "forbidden" ? (I(), ee(w(Wr), { key: 0 })) : (I(), ee(w(Ci), { key: 1 }))
4215
+ v.value?.type === "forbidden" ? (I(), ee(w(Yr), { key: 0 })) : (I(), ee(w(Ti), { key: 1 }))
4216
4216
  ]),
4217
4217
  title: j(() => [
4218
4218
  ce("p", null, ue(v.value?.message || w(n).t("renderer.unexpectedError")), 1)
@@ -4288,7 +4288,7 @@ const ot = /* @__PURE__ */ ge({
4288
4288
  for (const [i, n] of e)
4289
4289
  t[i] = n;
4290
4290
  return t;
4291
- }, vr = /* @__PURE__ */ Be(Kc, [["__scopeId", "data-v-df5d87ad"]]), Mc = { class: "analytics-chart" }, zc = /* @__PURE__ */ ge({
4291
+ }, Rr = /* @__PURE__ */ Be(Kc, [["__scopeId", "data-v-df5d87ad"]]), Mc = { class: "analytics-chart" }, zc = /* @__PURE__ */ ge({
4292
4292
  __name: "BaseAnalyticsChartRenderer",
4293
4293
  props: {
4294
4294
  query: {},
@@ -4369,7 +4369,7 @@ const ot = /* @__PURE__ */ ge({
4369
4369
  }, 8, ["context", "query", "query-ready", "refresh-counter"]);
4370
4370
  };
4371
4371
  }
4372
- }), Ii = /* @__PURE__ */ Be(zc, [["__scopeId", "data-v-5e3d0a14"]]), Rr = /* @__PURE__ */ ge({
4372
+ }), Di = /* @__PURE__ */ Be(zc, [["__scopeId", "data-v-5e3d0a14"]]), br = /* @__PURE__ */ ge({
4373
4373
  __name: "BarChartRenderer",
4374
4374
  props: {
4375
4375
  query: {},
@@ -4385,7 +4385,7 @@ const ot = /* @__PURE__ */ ge({
4385
4385
  zoomConfiguration: {}
4386
4386
  },
4387
4387
  setup(r) {
4388
- return (e, t) => (I(), ee(Ii, {
4388
+ return (e, t) => (I(), ee(Di, {
4389
4389
  "chart-options": r.chartOptions,
4390
4390
  context: r.context,
4391
4391
  "extra-props": { showAnnotations: !1 },
@@ -4416,13 +4416,13 @@ const ot = /* @__PURE__ */ ge({
4416
4416
  emits: ["chart-data", "query-complete"],
4417
4417
  setup(r, { emit: e }) {
4418
4418
  const t = r, i = e, { i18n: n } = Re.useI18n(), { issueRequestsQuery: s } = Re.useIssueRequestsQuery(), o = R(() => t.query.datasource === "requests"), a = R(() => {
4419
- const A = t.query, q = A.time_range ?? t.context.timeSpec, m = q ? un(q) : void 0;
4419
+ const A = t.query, q = A.time_range ?? t.context.timeSpec, m = q ? cn(q) : void 0;
4420
4420
  if (!m)
4421
4421
  return A;
4422
4422
  const f = rs(m);
4423
4423
  let g;
4424
4424
  return A.granularity && ui[A.granularity] >= ui[f] ? g = A.granularity : g = f, { ...A, granularity: g };
4425
- }), u = () => o.value && t.queryReady ? JSON.stringify([t.query, t.context, t.refreshCounter]) : null, l = te(null), { data: c, error: d, isValidating: h } = Vr(u, async (A) => {
4425
+ }), u = () => o.value && t.queryReady ? JSON.stringify([t.query, t.context, t.refreshCounter]) : null, l = te(null), { data: c, error: d, isValidating: h } = Qr(u, async (A) => {
4426
4426
  const q = t.query;
4427
4427
  try {
4428
4428
  const m = await s(q, t.context);
@@ -4433,7 +4433,7 @@ const ot = /* @__PURE__ */ ge({
4433
4433
  } catch (m) {
4434
4434
  if (u() !== A)
4435
4435
  return;
4436
- throw l.value = Yr(m), m;
4436
+ throw l.value = Xr(m), m;
4437
4437
  } finally {
4438
4438
  u() === A && i("query-complete");
4439
4439
  }
@@ -4474,7 +4474,7 @@ const ot = /* @__PURE__ */ ge({
4474
4474
  "data-testid": "scatter-chart-empty-state"
4475
4475
  }, Tt({
4476
4476
  icon: j(() => [
4477
- l.value?.type === "forbidden" ? (I(), ee(w(Wr), { key: 0 })) : (I(), ee(w(Ci), { key: 1 }))
4477
+ l.value?.type === "forbidden" ? (I(), ee(w(Yr), { key: 0 })) : (I(), ee(w(Ti), { key: 1 }))
4478
4478
  ]),
4479
4479
  title: j(() => [
4480
4480
  ce("p", null, ue(l.value?.message || w(n).t("renderer.unexpectedError")), 1)
@@ -4521,7 +4521,7 @@ const ot = /* @__PURE__ */ ge({
4521
4521
  }, 8, ["context", "query", "query-ready", "refresh-counter"]));
4522
4522
  };
4523
4523
  }
4524
- }), Gc = /* @__PURE__ */ Be(Hc, [["__scopeId", "data-v-f6f628be"]]), br = /* @__PURE__ */ ge({
4524
+ }), Gc = /* @__PURE__ */ Be(Hc, [["__scopeId", "data-v-f6f628be"]]), Or = /* @__PURE__ */ ge({
4525
4525
  __name: "TimeseriesChartRenderer",
4526
4526
  props: {
4527
4527
  query: {},
@@ -4539,7 +4539,7 @@ const ot = /* @__PURE__ */ ge({
4539
4539
  emits: ["zoom-time-range", "select-chart-range"],
4540
4540
  setup(r, { emit: e }) {
4541
4541
  const t = e;
4542
- return (i, n) => (I(), ee(Ii, {
4542
+ return (i, n) => (I(), ee(Di, {
4543
4543
  "active-metric": r.activeMetric,
4544
4544
  "chart-options": r.chartOptions,
4545
4545
  context: r.context,
@@ -4638,7 +4638,7 @@ const ot = /* @__PURE__ */ ge({
4638
4638
  }, p = () => {
4639
4639
  d = null, c = 0, t?.deactivate({ chartUuid: i });
4640
4640
  };
4641
- return zr(() => {
4641
+ return Pr(() => {
4642
4642
  clearTimeout(l), p();
4643
4643
  }), { isHighlighted: u, onCellHover: h, onGridLeave: p };
4644
4644
  };
@@ -4865,10 +4865,10 @@ const jc = ({
4865
4865
  errorState: ed
4866
4866
  };
4867
4867
  function _n() {
4868
- const r = Xr("en-us", td);
4868
+ const r = jr("en-us", td);
4869
4869
  return {
4870
4870
  i18n: r,
4871
- i18nT: jr(r)
4871
+ i18nT: Vr(r)
4872
4872
  // Translation component <i18n-t>
4873
4873
  };
4874
4874
  }
@@ -4907,14 +4907,14 @@ const { i18n: id } = _n(), yn = (r, e) => {
4907
4907
  return;
4908
4908
  const i = r / e.sum * 100;
4909
4909
  return t.percentageFormatter?.(i) ?? od(i);
4910
- }, Or = (r, e) => e !== void 0 && e.length > (r?.length ?? -1) ? e : r, ad = ({
4910
+ }, Er = (r, e) => e !== void 0 && e.length > (r?.length ?? -1) ? e : r, ad = ({
4911
4911
  rows: r,
4912
4912
  header: e,
4913
4913
  stats: t
4914
4914
  }) => r.reduce(
4915
4915
  (i, n) => ({
4916
- value: Or(i.value, yn(e, n)) ?? "",
4917
- relative: e.showPercentage ? Or(i.relative, vn({
4916
+ value: Er(i.value, yn(e, n)) ?? "",
4917
+ relative: e.showPercentage ? Er(i.relative, vn({
4918
4918
  value: Xt(Reflect.get(n, e.key)),
4919
4919
  stats: t,
4920
4920
  header: e
@@ -4955,7 +4955,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
4955
4955
  selected: t.value.node?.isSelected() ?? !1
4956
4956
  })), M = (g, { slots: z }) => {
4957
4957
  const N = t.value.colDef?.colId, Y = t.value.context?.cells?.slots;
4958
- return !N || N === "cell-icon" || !Y?.[N] ? z.default?.() : Pr(
4958
+ return !N || N === "cell-icon" || !Y?.[N] ? z.default?.() : qr(
4959
4959
  "span",
4960
4960
  { class: "table-data-grid-cell-slot-content" },
4961
4961
  Xe(Y, N, C.value, () => z.default?.() ?? [])
@@ -4986,7 +4986,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
4986
4986
  A = !0, b?.disconnect(), U !== void 0 && cancelAnimationFrame(U);
4987
4987
  }), e({
4988
4988
  refresh(g) {
4989
- return t.value = g, yi(m), !0;
4989
+ return t.value = g, vi(m), !0;
4990
4990
  }
4991
4991
  }), (g, z) => {
4992
4992
  const N = be("KTooltip");
@@ -5136,7 +5136,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5136
5136
  pageSize: r?.pageSize ?? t,
5137
5137
  ...r?.fitToContent !== void 0 ? { fitToContent: r.fitToContent } : {}
5138
5138
  };
5139
- }, Er = (r, e) => r.sortColumnKey === e.sortColumnKey && r.sortColumnOrder === e.sortColumnOrder && r.pageSize === e.pageSize && r.fitToContent === e.fitToContent, yd = ({
5139
+ }, Cr = (r, e) => r.sortColumnKey === e.sortColumnKey && r.sortColumnOrder === e.sortColumnOrder && r.pageSize === e.pageSize && r.fitToContent === e.fitToContent, yd = ({
5140
5140
  headers: r,
5141
5141
  pageSize: e,
5142
5142
  tableConfig: t,
@@ -5148,7 +5148,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5148
5148
  o.value ?? oi({ config: void 0, headers: r.value, pageSize: e.value })
5149
5149
  );
5150
5150
  Ee(o, (d) => {
5151
- d && !Er(d, a.value) && (a.value = d, s?.(d));
5151
+ d && !Cr(d, a.value) && (a.value = d, s?.(d));
5152
5152
  });
5153
5153
  const u = (d) => {
5154
5154
  const h = oi({
@@ -5156,7 +5156,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5156
5156
  headers: r.value,
5157
5157
  pageSize: e.value
5158
5158
  });
5159
- Er(h, a.value) || ((h.sortColumnKey !== a.value.sortColumnKey || h.sortColumnOrder !== a.value.sortColumnOrder) && i({ sortColumnKey: h.sortColumnKey, sortColumnOrder: h.sortColumnOrder }), a.value = h, n(h));
5159
+ Cr(h, a.value) || ((h.sortColumnKey !== a.value.sortColumnKey || h.sortColumnOrder !== a.value.sortColumnOrder) && i({ sortColumnKey: h.sortColumnKey, sortColumnOrder: h.sortColumnOrder }), a.value = h, n(h));
5160
5160
  };
5161
5161
  Ee(r, () => {
5162
5162
  t.value || u({});
@@ -5241,7 +5241,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5241
5241
  };
5242
5242
  Ct(() => {
5243
5243
  c(), document.addEventListener("fullscreenchange", c);
5244
- }), zr(() => {
5244
+ }), Pr(() => {
5245
5245
  document.removeEventListener("fullscreenchange", c);
5246
5246
  });
5247
5247
  const { activeTableConfig: d, activeSort: h, activePageSize: p, patchTableConfig: v } = yd({
@@ -5384,7 +5384,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5384
5384
  vertex: ls,
5385
5385
  vllm: as,
5386
5386
  xai: os
5387
- }, gi = (r, e) => {
5387
+ }, _i = (r, e) => {
5388
5388
  if (!r || !e)
5389
5389
  return;
5390
5390
  const t = e.toLowerCase();
@@ -5396,7 +5396,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5396
5396
  columnKey: e,
5397
5397
  rawValue: t
5398
5398
  }) => {
5399
- if (!(gi(r, e)?.icon_set !== "ai_provider" || typeof t != "string"))
5399
+ if (!(_i(r, e)?.icon_set !== "ai_provider" || typeof t != "string"))
5400
5400
  return Td[t.toLowerCase()];
5401
5401
  }, Sd = (r) => {
5402
5402
  if (r == null || r === "")
@@ -5422,7 +5422,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5422
5422
  i18n: t,
5423
5423
  fieldTranslationMap: i
5424
5424
  }) => {
5425
- const { formatUnit: n } = $r({ i18n: t }), s = r?.data ?? [], o = r?.meta, a = o?.display ?? {}, u = Object.keys(a).slice(0, bn), l = o?.metric_names ?? [], c = l[0], d = u.length > 1, h = (b) => mn(t, i, b), p = (b, U) => gi(e, b)?.label || U, v = (b, U) => {
5425
+ const { formatUnit: n } = Fr({ i18n: t }), s = r?.data ?? [], o = r?.meta, a = o?.display ?? {}, u = Object.keys(a).slice(0, bn), l = o?.metric_names ?? [], c = l[0], d = u.length > 1, h = (b) => gi(t, i, b), p = (b, U) => _i(e, b)?.label || U, v = (b, U) => {
5426
5426
  if (xd(b) || b === "requests")
5427
5427
  return "";
5428
5428
  const A = U === 1 ? "" : "s", q = `chartUnits.${b}`;
@@ -5456,14 +5456,15 @@ const { i18n: id } = _n(), yn = (r, e) => {
5456
5456
  key: b,
5457
5457
  label: p(
5458
5458
  b,
5459
- d ? h(b) : t.t("topNTable.nameLabel")
5459
+ // A lone dimension still gets its field label; "Name" is only the fallback for fields with no translation.
5460
+ d ? h(b) : gi(t, i, b, { fallback: t.t("topNTable.nameLabel") })
5460
5461
  ),
5461
5462
  type: "dimension",
5462
5463
  valueFormatter: (U, A) => C(A, b).label,
5463
5464
  sortable: !1
5464
5465
  }));
5465
5466
  l.forEach((b) => {
5466
- const U = gi(e, b);
5467
+ const U = _i(e, b);
5467
5468
  M.push({
5468
5469
  key: b,
5469
5470
  label: U?.label || h(b),
@@ -5485,7 +5486,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5485
5486
  }, Ad = {
5486
5487
  class: "fallback-entity-link",
5487
5488
  "data-testid": "entity-link-parent"
5488
- }, Cr = /* @__PURE__ */ ge({
5489
+ }, Tr = /* @__PURE__ */ ge({
5489
5490
  __name: "FallbackEntityLink",
5490
5491
  props: {
5491
5492
  entityLinkData: {}
@@ -5514,14 +5515,14 @@ const { i18n: id } = _n(), yn = (r, e) => {
5514
5515
  columnOptions: r.chartOptions.column_options,
5515
5516
  columnKey: y,
5516
5517
  rawValue: C
5517
- }), d = qr(async () => {
5518
+ }), d = Hr(async () => {
5518
5519
  if (e?.fetchComponent)
5519
5520
  try {
5520
5521
  return await e.fetchComponent("EntityLink");
5521
5522
  } catch {
5522
- return Cr;
5523
+ return Tr;
5523
5524
  }
5524
- return Cr;
5525
+ return Tr;
5525
5526
  }), h = (y) => {
5526
5527
  const C = r.chartOptions.entity_links;
5527
5528
  return C && (C[y] || Object.entries(C).find(([M]) => M.toLowerCase() === y.toLowerCase())?.[1]) || "";
@@ -5529,9 +5530,9 @@ const { i18n: id } = _n(), yn = (r, e) => {
5529
5530
  const M = p(C), O = String(y[C]);
5530
5531
  if (O.includes(":")) {
5531
5532
  const [b, U] = O.split(":");
5532
- return M.replace(Gu, b).replace(cr, U);
5533
+ return M.replace(Gu, b).replace(dr, U);
5533
5534
  }
5534
- return M.replace(cr, O);
5535
+ return M.replace(dr, O);
5535
5536
  };
5536
5537
  return (y, C) => {
5537
5538
  const M = be("KEmptyState");
@@ -5553,7 +5554,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5553
5554
  "data-testid": "chart-empty-state"
5554
5555
  }, {
5555
5556
  icon: j(() => [
5556
- de(w(Ci))
5557
+ de(w(Ti))
5557
5558
  ]),
5558
5559
  title: j(() => [
5559
5560
  ce("p", null, ue(s.value.errorMessage), 1)
@@ -5691,7 +5692,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5691
5692
  const s = r.meta.display?.[i]?.[String(n)]?.name;
5692
5693
  s && (t[i] = s);
5693
5694
  }), t;
5694
- }), Tr = ({
5695
+ }), wr = ({
5695
5696
  columns: r,
5696
5697
  fieldLabel: e
5697
5698
  }) => r.map((t) => ({
@@ -5699,9 +5700,9 @@ const { i18n: id } = _n(), yn = (r, e) => {
5699
5700
  label: e(t)
5700
5701
  })), Pd = {
5701
5702
  /** @deprecated Use `platform_usage`. */
5702
- platform: Tr,
5703
- platform_usage: Tr
5704
- }, wr = async ({
5703
+ platform: wr,
5704
+ platform_usage: wr
5705
+ }, Sr = async ({
5705
5706
  abortController: r,
5706
5707
  context: e,
5707
5708
  cursor: t,
@@ -5737,8 +5738,8 @@ const { i18n: id } = _n(), yn = (r, e) => {
5737
5738
  };
5738
5739
  }, qd = {
5739
5740
  /** @deprecated Use `platform_usage`. */
5740
- platform: wr,
5741
- platform_usage: wr
5741
+ platform: Sr,
5742
+ platform_usage: Sr
5742
5743
  }, Hd = /* @__PURE__ */ ge({
5743
5744
  __name: "TableDataGridRenderer",
5744
5745
  props: {
@@ -5845,7 +5846,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5845
5846
  zoomConfiguration: {}
5846
5847
  },
5847
5848
  setup(r) {
5848
- return (e, t) => (I(), ee(Ii, {
5849
+ return (e, t) => (I(), ee(Di, {
5849
5850
  "chart-options": r.chartOptions,
5850
5851
  context: r.context,
5851
5852
  height: r.height,
@@ -5854,7 +5855,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
5854
5855
  "refresh-counter": r.refreshCounter
5855
5856
  }, null, 8, ["chart-options", "context", "height", "query", "query-ready", "refresh-counter"]));
5856
5857
  }
5857
- }), On = "#ffffff", $d = "#0044f4", Fd = "#d60027", Wd = "#ad000e", Yd = "#850000", Xd = "#5c0000", jd = "#ff3954", Vd = "#ffabab", Qd = "#ffe5e5", Zd = "#ecfcff", Jd = "#6f28ff", eh = "#f1f0ff", th = "#e0e4ea", ih = "#0044f4", rh = "#0030cc", nh = "#002099", sh = "#001466", oh = "#5f9aff", ah = "#bee2ff", lh = "#eefaff", uh = "#0d0e14", ch = "#6c7489", dh = "#52596e", hh = "#3a3f51", fh = "#232633", mh = "#afb7c5", ph = "#e0e4ea", gh = "#f9fafb", _h = "rgba(13, 14, 20, 0.6)", yh = "#0044f4", vh = "#0030cc", Rh = "#002099", bh = "#001466", Oh = "#5f9aff", Eh = "#bee2ff", Ch = "#eefaff", Th = "#007d60", wh = "#005944", Sh = "#004737", xh = "#003629", Ih = "#00d6a4", Dh = "#b5ffee", Ah = "#ecfffb", Nh = "rgba(0, 0, 0, 0)", Uh = "#995c00", Lh = "#804400", kh = "#662d00", Kh = "#4d1b00", Mh = "#ffc400", zh = "#fff296", Ph = "#fffce0", En = "#e0e4ea", qh = "#0044f4", Hh = "#d60027", Gh = "#ad000e", Bh = "#850000", $h = "#5c0000", Fh = "#ff3954", Wh = "#ffabab", Yh = "#ffe5e5", Xh = "#6f28ff", jh = "#e0e4ea", Vh = "rgba(255, 255, 255, 0.2)", Qh = "#6c7489", Zh = "#52596e", Jh = "#3a3f51", ef = "#232633", tf = "#afb7c5", rf = "#e0e4ea", nf = "#f9fafb", sf = "#0044f4", of = "#0030cc", af = "#002099", lf = "#001466", uf = "#5f9aff", cf = "#bee2ff", df = "#eefaff", hf = "rgba(0, 0, 0, 0)", ff = "#0044f4", mf = "#0d0e14", pf = "#0044f4", gf = "#d60027", _f = "#ad000e", yf = "#850000", vf = "#5c0000", Rf = "#ff3954", bf = "#ffabab", Of = "#ffe5e5", Ef = "#00abd2", Cf = "#d60067", Tf = "#6f28ff", wf = "#5e00f5", Sf = "#afb7c5", xf = "#0044f4", If = "#0030cc", Df = "#002099", Af = "#001466", Nf = "#5f9aff", Uf = "#bee2ff", Lf = "#eefaff", kf = "#ffffff", Kf = "#6c7489", Mf = "#52596e", zf = "#3a3f51", Pf = "#232633", qf = "#afb7c5", Hf = "#e0e4ea", Gf = "#f9fafb", Bf = "#0044f4", $f = "#0030cc", Ff = "#002099", Wf = "#001466", Yf = "#5f9aff", Xf = "#bee2ff", jf = "#eefaff", Vf = "#007d60", Qf = "#005944", Zf = "#004737", Jf = "#003629", em = "#00d6a4", tm = "#b5ffee", im = "#ecfffb", rm = "#995c00", nm = "#804400", sm = "#662d00", om = "#4d1b00", am = "#ffc400", lm = "#fff296", um = "#fffce0", cm = "0.2s", dm = "0px", hm = "2px", fm = "4px", Cn = "6px", mm = "8px", pm = "10px", gm = "12px", _m = "16px", ym = "20px", vm = "24px", Rm = "32px", bm = "50%", Om = "100px", Em = "0px", Tn = "1px", Cm = "2px", Tm = "4px", wm = "640px", Sm = "768px", xm = "1024px", Im = "1280px", Dm = "1536px", Am = "'JetBrains Mono', Consolas, monospace", Nm = "'Inter', Roboto, Helvetica, sans-serif", _i = "'Inter', Roboto, Helvetica, sans-serif", Um = "10px", Lm = "12px", km = "14px", Km = "16px", Mm = "18px", zm = "20px", Pm = "24px", qm = "32px", Hm = "40px", Gm = "48px", Bm = "700", $m = "500", Fm = "400", Wm = "600", Ym = "#f50045", Xm = "#828a9e", jm = "#306fff", Vm = "#00a17b", Qm = "#ffc400", Zm = "10px", Jm = "12px", ep = "16px", tp = "20px", ip = "24px", rp = "32px", np = "40px", sp = "48px", op = "normal", ap = "-0.12px", lp = "-0.24px", up = "-0.32px", cp = "-0.4px", dp = "-0.48px", hp = "normal", fp = "12px", mp = "16px", pp = "20px", gp = "24px", _p = "28px", yp = "32px", vp = "36px", Rp = "40px", bp = "48px", Op = "56px", Ep = "#f1f0ff", Cp = "#ffe5e5", Tp = "#eefaff", wp = "#52596e", Sp = "#e0e4ea", xp = "#ecfcff", Ip = "#ecfffb", Dp = "#fffce0", Ap = "#fff0f7", Np = "#6f28ff", Up = "#5e00f5", Lp = "#d60027", kp = "#ad000e", Kp = "#0044f4", Mp = "#0030cc", zp = "#e0e4ea", Pp = "#afb7c5", qp = "#52596e", Hp = "#3a3f51", Gp = "#00819d", Bp = "#00647a", $p = "#007d60", Fp = "#005944", Wp = "#995c00", Yp = "#804400", Xp = "#d60067", jp = "#ad0053", Vp = "#000933", Qp = "rgba(255, 255, 255, 0.12)", Zp = "rgba(255, 255, 255, 0.12)", Jp = "#00fabe", eg = "rgba(255, 255, 255, 0.24)", tg = "#bee2ff", ig = "#ffffff", rg = "#eefaff", ng = "#00fabe", sg = "0 0 0 1px rgba(255, 255, 255, 0.12) inset", og = "4px 0 0 0 #00fabe inset", ag = "0 0 0 1px rgba(255, 255, 255, 0.60) inset", wn = "0px 4px 20px 0px rgba(0, 0, 0, 0.08)", lg = "0px 0px 0px 1px #e0e4ea inset", ug = "0px 0px 0px 1px #d60027 inset", cg = "0px 0px 0px 1px #ad000e inset", dg = "0px 0px 0px 1px #e0e4ea inset", hg = "0px 0px 0px 1px #0044f4 inset", fg = "0px 0px 0px 1px #001466 inset", mg = "0px 0px 0px 1px #5f9aff inset", pg = "0px 0px 0px 4px rgba(0, 68, 244, 0.2)", gg = "0px", _g = "2px", yg = "4px", vg = "6px", Rg = "8px", bg = "12px", Og = "16px", Eg = "20px", Cg = "24px", Tg = "32px", wg = "40px", Sg = "48px", xg = "56px", Ig = "64px", Dg = "80px", Ag = "96px", Ng = "auto", Ug = "#bee2ff", Lg = "#8fc1ff", kg = "#5f9aff", Kg = "#306fff", Mg = "#b5ffee", zg = "#00fabe", Pg = "#00d6a4", qg = "#00a17b", Hg = "#007d60", Gg = "#005944", Bg = "#b5ffee", $g = "#00fabe", Fg = "#b5ffee", Wg = "#00a17b", Yg = "#fff296", Xg = "#ffe04b", jg = "#ffc400", Vg = "#b37600", Qg = "#995c00", Zg = "#804400", Jg = "#fff296", e_ = "#ffe04b", t_ = "#ffc2b3", i_ = "#ff9877", r_ = "#ff723c", n_ = "#f75008", s_ = "#d13500", o_ = "#a31f00", a_ = "#ffc2b3", l_ = "#ff9877", u_ = "#ff723c", c_ = "#f75008", d_ = "#d13500", h_ = "#a31f00", f_ = "#ffc2b3", m_ = "#ff9877", p_ = "#ff723c", g_ = "#f75008", __ = "#d13500", y_ = "#a31f00", v_ = "#ffc2b3", R_ = "#ff9877", b_ = "#ff723c", O_ = "#f75008", E_ = "#d13500", C_ = "#a31f00", T_ = "#ffc2b3", w_ = "#ff9877", S_ = "#ff723c", x_ = "#f75008", I_ = "#d13500", D_ = "#ffabab", A_ = "#ff7272", N_ = "#ff3954", U_ = "#f50045", L_ = "#d60027", k_ = "#ad000e", K_ = "#ffabab", M_ = "#ff7272", z_ = "#ff3954", P_ = "#f50045", q_ = "#d60027", H_ = "#eefaff", G_ = "#ecfffb", B_ = "#fffce0", $_ = "#fff1ef", F_ = "#ffe5e5", W_ = "#5f9aff", Y_ = "#00d6a4", X_ = "#ffc400", j_ = "#ff723c", V_ = "#ff3954", Q_ = "#eefaff", Z_ = "#ecfffb", J_ = "#fffce0", ey = "#fff1ef", ty = "#ffe5e5", iy = "#0044f4", ry = "#007d60", ny = "#995c00", sy = "#d13500", oy = "#d60027", Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5858
+ }), On = "#ffffff", $d = "#0044f4", Fd = "#d60027", Wd = "#ad000e", Yd = "#850000", Xd = "#5c0000", jd = "#ff3954", Vd = "#ffabab", Qd = "#ffe5e5", Zd = "#ecfcff", Jd = "#6f28ff", eh = "#f1f0ff", th = "#e0e4ea", ih = "#0044f4", rh = "#0030cc", nh = "#002099", sh = "#001466", oh = "#5f9aff", ah = "#bee2ff", lh = "#eefaff", uh = "#0d0e14", ch = "#6c7489", dh = "#52596e", hh = "#3a3f51", fh = "#232633", mh = "#afb7c5", ph = "#e0e4ea", gh = "#f9fafb", _h = "rgba(13, 14, 20, 0.6)", yh = "#0044f4", vh = "#0030cc", Rh = "#002099", bh = "#001466", Oh = "#5f9aff", Eh = "#bee2ff", Ch = "#eefaff", Th = "#007d60", wh = "#005944", Sh = "#004737", xh = "#003629", Ih = "#00d6a4", Dh = "#b5ffee", Ah = "#ecfffb", Nh = "rgba(0, 0, 0, 0)", Uh = "#995c00", Lh = "#804400", kh = "#662d00", Kh = "#4d1b00", Mh = "#ffc400", zh = "#fff296", Ph = "#fffce0", En = "#e0e4ea", qh = "#0044f4", Hh = "#d60027", Gh = "#ad000e", Bh = "#850000", $h = "#5c0000", Fh = "#ff3954", Wh = "#ffabab", Yh = "#ffe5e5", Xh = "#6f28ff", jh = "#e0e4ea", Vh = "rgba(255, 255, 255, 0.2)", Qh = "#6c7489", Zh = "#52596e", Jh = "#3a3f51", ef = "#232633", tf = "#afb7c5", rf = "#e0e4ea", nf = "#f9fafb", sf = "#0044f4", of = "#0030cc", af = "#002099", lf = "#001466", uf = "#5f9aff", cf = "#bee2ff", df = "#eefaff", hf = "rgba(0, 0, 0, 0)", ff = "#0044f4", mf = "#0d0e14", pf = "#0044f4", gf = "#d60027", _f = "#ad000e", yf = "#850000", vf = "#5c0000", Rf = "#ff3954", bf = "#ffabab", Of = "#ffe5e5", Ef = "#00abd2", Cf = "#d60067", Tf = "#6f28ff", wf = "#5e00f5", Sf = "#afb7c5", xf = "#0044f4", If = "#0030cc", Df = "#002099", Af = "#001466", Nf = "#5f9aff", Uf = "#bee2ff", Lf = "#eefaff", kf = "#ffffff", Kf = "#6c7489", Mf = "#52596e", zf = "#3a3f51", Pf = "#232633", qf = "#afb7c5", Hf = "#e0e4ea", Gf = "#f9fafb", Bf = "#0044f4", $f = "#0030cc", Ff = "#002099", Wf = "#001466", Yf = "#5f9aff", Xf = "#bee2ff", jf = "#eefaff", Vf = "#007d60", Qf = "#005944", Zf = "#004737", Jf = "#003629", em = "#00d6a4", tm = "#b5ffee", im = "#ecfffb", rm = "#995c00", nm = "#804400", sm = "#662d00", om = "#4d1b00", am = "#ffc400", lm = "#fff296", um = "#fffce0", cm = "0.2s", dm = "0px", hm = "2px", fm = "4px", Cn = "6px", mm = "8px", pm = "10px", gm = "12px", _m = "16px", ym = "20px", vm = "24px", Rm = "32px", bm = "50%", Om = "100px", Em = "0px", Tn = "1px", Cm = "2px", Tm = "4px", wm = "640px", Sm = "768px", xm = "1024px", Im = "1280px", Dm = "1536px", Am = "'JetBrains Mono', Consolas, monospace", Nm = "'Inter', Roboto, Helvetica, sans-serif", yi = "'Inter', Roboto, Helvetica, sans-serif", Um = "10px", Lm = "12px", km = "14px", Km = "16px", Mm = "18px", zm = "20px", Pm = "24px", qm = "32px", Hm = "40px", Gm = "48px", Bm = "700", $m = "500", Fm = "400", Wm = "600", Ym = "#f50045", Xm = "#828a9e", jm = "#306fff", Vm = "#00a17b", Qm = "#ffc400", Zm = "10px", Jm = "12px", ep = "16px", tp = "20px", ip = "24px", rp = "32px", np = "40px", sp = "48px", op = "normal", ap = "-0.12px", lp = "-0.24px", up = "-0.32px", cp = "-0.4px", dp = "-0.48px", hp = "normal", fp = "12px", mp = "16px", pp = "20px", gp = "24px", _p = "28px", yp = "32px", vp = "36px", Rp = "40px", bp = "48px", Op = "56px", Ep = "#f1f0ff", Cp = "#ffe5e5", Tp = "#eefaff", wp = "#52596e", Sp = "#e0e4ea", xp = "#ecfcff", Ip = "#ecfffb", Dp = "#fffce0", Ap = "#fff0f7", Np = "#6f28ff", Up = "#5e00f5", Lp = "#d60027", kp = "#ad000e", Kp = "#0044f4", Mp = "#0030cc", zp = "#e0e4ea", Pp = "#afb7c5", qp = "#52596e", Hp = "#3a3f51", Gp = "#00819d", Bp = "#00647a", $p = "#007d60", Fp = "#005944", Wp = "#995c00", Yp = "#804400", Xp = "#d60067", jp = "#ad0053", Vp = "#000933", Qp = "rgba(255, 255, 255, 0.12)", Zp = "rgba(255, 255, 255, 0.12)", Jp = "#00fabe", eg = "rgba(255, 255, 255, 0.24)", tg = "#bee2ff", ig = "#ffffff", rg = "#eefaff", ng = "#00fabe", sg = "0 0 0 1px rgba(255, 255, 255, 0.12) inset", og = "4px 0 0 0 #00fabe inset", ag = "0 0 0 1px rgba(255, 255, 255, 0.60) inset", wn = "0px 4px 20px 0px rgba(0, 0, 0, 0.08)", lg = "0px 0px 0px 1px #e0e4ea inset", ug = "0px 0px 0px 1px #d60027 inset", cg = "0px 0px 0px 1px #ad000e inset", dg = "0px 0px 0px 1px #e0e4ea inset", hg = "0px 0px 0px 1px #0044f4 inset", fg = "0px 0px 0px 1px #001466 inset", mg = "0px 0px 0px 1px #5f9aff inset", pg = "0px 0px 0px 4px rgba(0, 68, 244, 0.2)", gg = "0px", _g = "2px", yg = "4px", vg = "6px", Rg = "8px", bg = "12px", Og = "16px", Eg = "20px", Cg = "24px", Tg = "32px", wg = "40px", Sg = "48px", xg = "56px", Ig = "64px", Dg = "80px", Ag = "96px", Ng = "auto", Ug = "#bee2ff", Lg = "#8fc1ff", kg = "#5f9aff", Kg = "#306fff", Mg = "#b5ffee", zg = "#00fabe", Pg = "#00d6a4", qg = "#00a17b", Hg = "#007d60", Gg = "#005944", Bg = "#b5ffee", $g = "#00fabe", Fg = "#b5ffee", Wg = "#00a17b", Yg = "#fff296", Xg = "#ffe04b", jg = "#ffc400", Vg = "#b37600", Qg = "#995c00", Zg = "#804400", Jg = "#fff296", e_ = "#ffe04b", t_ = "#ffc2b3", i_ = "#ff9877", r_ = "#ff723c", n_ = "#f75008", s_ = "#d13500", o_ = "#a31f00", a_ = "#ffc2b3", l_ = "#ff9877", u_ = "#ff723c", c_ = "#f75008", d_ = "#d13500", h_ = "#a31f00", f_ = "#ffc2b3", m_ = "#ff9877", p_ = "#ff723c", g_ = "#f75008", __ = "#d13500", y_ = "#a31f00", v_ = "#ffc2b3", R_ = "#ff9877", b_ = "#ff723c", O_ = "#f75008", E_ = "#d13500", C_ = "#a31f00", T_ = "#ffc2b3", w_ = "#ff9877", S_ = "#ff723c", x_ = "#f75008", I_ = "#d13500", D_ = "#ffabab", A_ = "#ff7272", N_ = "#ff3954", U_ = "#f50045", L_ = "#d60027", k_ = "#ad000e", K_ = "#ffabab", M_ = "#ff7272", z_ = "#ff3954", P_ = "#f50045", q_ = "#d60027", H_ = "#eefaff", G_ = "#ecfffb", B_ = "#fffce0", $_ = "#fff1ef", F_ = "#ffe5e5", W_ = "#5f9aff", Y_ = "#00d6a4", X_ = "#ffc400", j_ = "#ff723c", V_ = "#ff3954", Q_ = "#eefaff", Z_ = "#ecfffb", J_ = "#fffce0", ey = "#fff1ef", ty = "#ffe5e5", iy = "#0044f4", ry = "#007d60", ny = "#995c00", sy = "#d13500", oy = "#d60027", Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5858
5859
  __proto__: null,
5859
5860
  KUI_ANIMATION_DURATION_20: cm,
5860
5861
  KUI_BORDER_RADIUS_0: dm,
@@ -6010,7 +6011,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
6010
6011
  KUI_COLOR_TEXT_WARNING_WEAKEST: um,
6011
6012
  KUI_FONT_FAMILY_CODE: Am,
6012
6013
  KUI_FONT_FAMILY_HEADING: Nm,
6013
- KUI_FONT_FAMILY_TEXT: _i,
6014
+ KUI_FONT_FAMILY_TEXT: yi,
6014
6015
  KUI_FONT_SIZE_10: Um,
6015
6016
  KUI_FONT_SIZE_100: Gm,
6016
6017
  KUI_FONT_SIZE_20: Lm,
@@ -6202,23 +6203,23 @@ const { i18n: id } = _n(), yn = (r, e) => {
6202
6203
  KUI_STATUS_COLOR_TEXT_300: ny,
6203
6204
  KUI_STATUS_COLOR_TEXT_400: sy,
6204
6205
  KUI_STATUS_COLOR_TEXT_500: oy
6205
- }, Symbol.toStringTag, { value: "Module" })), Sr = Object.keys(Sn).filter((r) => r.startsWith("KUI_COLOR")), xr = (r) => Sn[r], ay = (r) => `--${r.toLowerCase().replaceAll("_", "-")}`, Ir = () => {
6206
+ }, Symbol.toStringTag, { value: "Module" })), xr = Object.keys(Sn).filter((r) => r.startsWith("KUI_COLOR")), Ir = (r) => Sn[r], ay = (r) => `--${r.toLowerCase().replaceAll("_", "-")}`, Dr = () => {
6206
6207
  if (typeof window > "u")
6207
- return Object.fromEntries(Sr.map((t) => [t, xr(t)]));
6208
+ return Object.fromEntries(xr.map((t) => [t, Ir(t)]));
6208
6209
  const r = window.getComputedStyle(document.documentElement), e = (t, i) => r.getPropertyValue(t).trim() || i;
6209
6210
  return Object.fromEntries(
6210
- Sr.map((t) => [t, e(ay(t), xr(t))])
6211
+ xr.map((t) => [t, e(ay(t), Ir(t))])
6211
6212
  );
6212
- }, Di = (r) => {
6213
- const e = te(Ir());
6213
+ }, Ai = (r) => {
6214
+ const e = te(Dr());
6214
6215
  if (typeof window < "u" && typeof MutationObserver < "u") {
6215
6216
  const t = new MutationObserver(() => {
6216
- e.value = Ir();
6217
+ e.value = Dr();
6217
6218
  });
6218
- t.observe(document.documentElement, { attributes: !0, attributeFilter: ["data-kui-theme"] }), Hr() && Gr(() => t.disconnect());
6219
+ t.observe(document.documentElement, { attributes: !0, attributeFilter: ["data-kui-theme"] }), Gr() && Br(() => t.disconnect());
6219
6220
  }
6220
6221
  return e;
6221
- }, ly = () => typeof window > "u" ? _i : window.getComputedStyle(document.documentElement).getPropertyValue("--kui-font-family-text").trim() || _i, uy = [
6222
+ }, ly = () => typeof window > "u" ? yi : window.getComputedStyle(document.documentElement).getPropertyValue("--kui-font-family-text").trim() || yi, uy = [
6222
6223
  // Overrides `backgroundColor`: ECharts appends extraCssText after its inline styles.
6223
6224
  `background-color: var(--kui-pop-color-background, var(--kui-color-background, ${On}));`,
6224
6225
  `border: var(--kui-pop-border-width, var(--kui-border-width-10, ${Tn})) solid var(--kui-pop-color-border, var(--kui-color-border, ${En}));`,
@@ -6273,7 +6274,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
6273
6274
  ])) : fe("", !0)
6274
6275
  ]),
6275
6276
  ce("ul", yy, [
6276
- (I(!0), ae(Ri, null, $t(r.rows, (i, n) => (I(), ae("li", {
6277
+ (I(!0), ae(bi, null, $t(r.rows, (i, n) => (I(), ae("li", {
6277
6278
  key: `${i.label}-${n}`,
6278
6279
  class: qe({ "extra-row": i.isExtra })
6279
6280
  }, [
@@ -6294,23 +6295,23 @@ const { i18n: id } = _n(), yn = (r, e) => {
6294
6295
  for (const [i, n] of e)
6295
6296
  t[i] = n;
6296
6297
  return t;
6297
- }, by = /* @__PURE__ */ xn(Ry, [["__scopeId", "data-v-ca633353"]]), Ai = (r) => Array.isArray(r) ? r : [r], Dr = (r, e) => typeof r == "number" ? e?.[r] ?? String(r) : r, Ni = (r, e, t, i) => ({
6298
+ }, by = /* @__PURE__ */ xn(Ry, [["__scopeId", "data-v-ca633353"]]), Ni = (r) => Array.isArray(r) ? r : [r], Ar = (r, e) => typeof r == "number" ? e?.[r] ?? String(r) : r, Ui = (r, e, t, i) => ({
6298
6299
  color: typeof r.color == "string" ? r.color : void 0,
6299
6300
  label: e,
6300
6301
  value: i ? i(Number(t)) : String(t ?? "")
6301
6302
  }), Oy = (r) => Array.isArray(r) ? r[r.length - 1] : r, Ey = (r) => {
6302
- const e = Ai(r), t = e[0];
6303
+ const e = Ni(r), t = e[0];
6303
6304
  return {
6304
6305
  context: String(t?.axisValueLabel ?? t?.name ?? ""),
6305
- rows: e.map((i) => Ni(i, i.seriesName ?? "", Oy(i.value)))
6306
+ rows: e.map((i) => Ui(i, i.seriesName ?? "", Oy(i.value)))
6306
6307
  };
6307
6308
  }, Cy = (r) => {
6308
6309
  let e;
6309
- return Hr() && Gr(() => {
6310
- e && Ki(null, e);
6310
+ return Gr() && Br(() => {
6311
+ e && Mi(null, e);
6311
6312
  }), (t) => {
6312
6313
  const i = (r() ?? Ey)(t);
6313
- return i ? (e ??= document.createElement("div"), Ki(Pr(by, i), e), e) : "";
6314
+ return i ? (e ??= document.createElement("div"), Mi(qr(by, i), e), e) : "";
6314
6315
  };
6315
6316
  }, Ty = { class: "kong-ui-public-echarts" }, wy = /* @__PURE__ */ ge({
6316
6317
  name: "KongECharts",
@@ -6323,10 +6324,10 @@ const { i18n: id } = _n(), yn = (r, e) => {
6323
6324
  tooltipContent: { type: Function }
6324
6325
  },
6325
6326
  setup(r) {
6326
- vi((s) => ({
6327
+ Ri((s) => ({
6327
6328
  v1cecfeed: s.height
6328
- })), wi([Fs, Xs, js]);
6329
- const e = Di(), t = dy(e), i = Cy(() => r.tooltipContent), n = R(() => ({
6329
+ })), Si([Fs, Xs, js]);
6330
+ const e = Ai(), t = dy(e), i = Cy(() => r.tooltipContent), n = R(() => ({
6330
6331
  ...r.option,
6331
6332
  tooltip: { ...r.option?.tooltip, formatter: i }
6332
6333
  }));
@@ -6339,7 +6340,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
6339
6340
  }, s.$attrs), null, 16, ["option", "theme"])
6340
6341
  ]));
6341
6342
  }
6342
- }), In = /* @__PURE__ */ xn(wy, [["__scopeId", "data-v-68114d20"]]), Ar = (r) => typeof r == "object" && r !== null && !Array.isArray(r), bt = (r, ...e) => {
6343
+ }), In = /* @__PURE__ */ xn(wy, [["__scopeId", "data-v-68114d20"]]), Nr = (r) => typeof r == "object" && r !== null && !Array.isArray(r), bt = (r, ...e) => {
6343
6344
  const t = { ...r };
6344
6345
  for (const i of e)
6345
6346
  if (i)
@@ -6347,7 +6348,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
6347
6348
  if (s === void 0)
6348
6349
  continue;
6349
6350
  const o = t[n];
6350
- t[n] = Ar(o) && Ar(s) ? bt(o, s) : s;
6351
+ t[n] = Nr(o) && Nr(s) ? bt(o, s) : s;
6351
6352
  }
6352
6353
  return t;
6353
6354
  }, Sy = /* @__PURE__ */ ge({
@@ -6369,14 +6370,14 @@ const { i18n: id } = _n(), yn = (r, e) => {
6369
6370
  tooltipTitle: {}
6370
6371
  },
6371
6372
  setup(r) {
6372
- wi([Qs, Ws, Ys]);
6373
- const e = Di(), t = (o) => {
6374
- const [a] = Ai(o), [u, l, c] = a.value;
6373
+ Si([Qs, Ws, Ys]);
6374
+ const e = Ai(), t = (o) => {
6375
+ const [a] = Ni(o), [u, l, c] = a.value;
6375
6376
  return {
6376
6377
  title: r.tooltipTitle,
6377
- context: Dr(u, r.xAxisLabels),
6378
+ context: Ar(u, r.xAxisLabels),
6378
6379
  metric: r.seriesName,
6379
- rows: [Ni(a, Dr(l, r.yAxisLabels), c, r.valueFormatter)]
6380
+ rows: [Ui(a, Ar(l, r.yAxisLabels), c, r.valueFormatter)]
6380
6381
  };
6381
6382
  }, i = (o) => ({
6382
6383
  type: "slider",
@@ -6492,9 +6493,9 @@ const { i18n: id } = _n(), yn = (r, e) => {
6492
6493
  tooltipTitle: {}
6493
6494
  },
6494
6495
  setup(r) {
6495
- wi([Vs]);
6496
- const e = Di(), t = (a) => {
6497
- const [u] = Ai(a), l = u.treePathInfo ?? [];
6496
+ Si([Vs]);
6497
+ const e = Ai(), t = (a) => {
6498
+ const [u] = Ni(a), l = u.treePathInfo ?? [];
6498
6499
  if (l.length === 1)
6499
6500
  return;
6500
6501
  const c = l.slice(1, -1).map(({ name: d }) => d);
@@ -6502,7 +6503,7 @@ const { i18n: id } = _n(), yn = (r, e) => {
6502
6503
  title: r.tooltipTitle,
6503
6504
  context: c.length ? c.join(" / ") : void 0,
6504
6505
  metric: r.seriesName,
6505
- rows: [Ni(u, u.name, Number(u.value), r.valueFormatter)]
6506
+ rows: [Ui(u, u.name, Number(u.value), r.valueFormatter)]
6506
6507
  };
6507
6508
  }, i = () => [
6508
6509
  e.value.KUI_COLOR_BACKGROUND_PRIMARY_WEAK,
@@ -6709,10 +6710,10 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6709
6710
  }), Py = (r, e, t, i) => ({
6710
6711
  ...An(e, t, i),
6711
6712
  itemStyle: { color: xa({ dimension: r, dimensionValue: t }) }
6712
- }), Nr = (r, e, t) => {
6713
+ }), Ur = (r, e, t) => {
6713
6714
  const i = r.get(e) ?? t();
6714
6715
  return r.set(e, i), i;
6715
- }, Nn = (r, e) => !e.includes("time") && (!r || ns("treemap", r)), Ur = (r, e) => {
6716
+ }, Nn = (r, e) => !e.includes("time") && (!r || ns("treemap", r)), Lr = (r, e) => {
6716
6717
  r.value = Number(r.value ?? 0) + e;
6717
6718
  }, qy = (r, e, t, [i, n], s) => {
6718
6719
  const o = /* @__PURE__ */ new Map(), a = (u, l) => String(u[l]);
@@ -6720,7 +6721,7 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6720
6721
  const l = Dn(u[e]);
6721
6722
  if (l === void 0)
6722
6723
  continue;
6723
- const c = a(u, i), d = Nr(
6724
+ const c = a(u, i), d = Ur(
6724
6725
  o,
6725
6726
  c,
6726
6727
  () => ({
@@ -6729,11 +6730,11 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6729
6730
  })
6730
6731
  );
6731
6732
  if (!n) {
6732
- Ur(d.node, l);
6733
+ Lr(d.node, l);
6733
6734
  continue;
6734
6735
  }
6735
- const h = a(u, n), p = Nr(d.children, h, () => An(t[n], h, s));
6736
- Ur(p, l);
6736
+ const h = a(u, n), p = Ur(d.children, h, () => An(t[n], h, s));
6737
+ Lr(p, l);
6737
6738
  }
6738
6739
  return o;
6739
6740
  }, Hy = (r, e = {}) => {
@@ -6856,19 +6857,19 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6856
6857
  }),
6857
6858
  emits: /* @__PURE__ */ Lt(["chart-data", "tile-loaded", "edit-tile", "duplicate-tile", "remove-tile", "tile-time-range-zoom", "tile-bounds-change"], ["update:refreshCounter"]),
6858
6859
  setup(r, { expose: e, emit: t }) {
6859
- vi(($) => ({
6860
+ Ri(($) => ({
6860
6861
  v7f33ad9a: `${$.height}px`
6861
6862
  }));
6862
- const i = parseInt(on, 10), n = te(!1), s = te(), o = R(
6863
+ const i = parseInt(an, 10), n = te(!1), s = te(), o = R(
6863
6864
  () => r.groupTiles?.find(($) => $.id === s.value)?.id ?? r.groupTiles?.[0]?.id
6864
6865
  ), a = R(() => o.value ?? r.tileId.toString()), u = R(
6865
6866
  () => r.groupTiles?.find(($) => $.id === s.value)?.definition ?? r.groupTiles?.[0]?.definition ?? r.definition
6866
6867
  ), l = Re.useFieldLabel(), { zoomConfiguration: c } = Re.useDashboardContext({
6867
6868
  context: R(() => r.context),
6868
6869
  preview: R(() => r.preview)
6869
- }), d = Br(r, "refreshCounter"), h = () => {
6870
+ }), d = $r(r, "refreshCounter"), h = () => {
6870
6871
  f.value = !0, d.value++;
6871
- }, p = t, v = qr(() => import("./GeoMapRenderer-CCxncAHN.js")), E = Ue(je), y = et(), { datasourceConfigMap: C, stripUnknownFilters: M } = ht(y), { i18n: O } = Re.useI18n(), b = te(), U = te({ status: "loading" }), A = te(!1), q = te(), m = te(!1), f = te(!0), g = R(() => u.value.chart), z = R(() => g.value.type === "single_value"), N = R(() => ("chart_title" in g.value ? g.value.chart_title : void 0) || (z.value ? Ce.value : void 0)), Y = R(() => u.value.header_description), S = R(() => g.value.type === "slottable"), G = R(() => Ye(u.value) || zt(u.value) ? !1 : !("allow_csv_export" in g.value) || g.value.allow_csv_export !== !1), {
6872
+ }, p = t, v = Hr(() => import("./GeoMapRenderer-BvDo4VKO.js")), E = Ue(je), y = et(), { datasourceConfigMap: C, stripUnknownFilters: M } = ht(y), { i18n: O } = Re.useI18n(), b = te(), U = te({ status: "loading" }), A = te(!1), q = te(), m = te(!1), f = te(!0), g = R(() => u.value.chart), z = R(() => g.value.type === "single_value"), N = R(() => ("chart_title" in g.value ? g.value.chart_title : void 0) || (z.value ? Ce.value : void 0)), Y = R(() => u.value.header_description), S = R(() => g.value.type === "slottable"), G = R(() => Ye(u.value) || zt(u.value) ? !1 : !("allow_csv_export" in g.value) || g.value.allow_csv_export !== !1), {
6872
6873
  exploreLinkKebabMenu: V,
6873
6874
  requestsLinkKebabMenu: X,
6874
6875
  canShowKebabMenu: T,
@@ -6887,7 +6888,7 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6887
6888
  context: Pe(ze(() => r.context))
6888
6889
  }), { issueQuery: ie } = Re.useIssueQuery();
6889
6890
  Ee(u, async ($, le) => {
6890
- await yi(), q.value && (m.value = q.value.scrollWidth > q.value.clientWidth);
6891
+ await vi(), q.value && (m.value = q.value.scrollWidth > q.value.clientWidth);
6891
6892
  try {
6892
6893
  JSON.stringify($?.query) !== JSON.stringify(le?.query) && (f.value = !0);
6893
6894
  } catch {
@@ -6896,19 +6897,19 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6896
6897
  const ne = R(() => O.t("csvExport.defaultFilename")), x = R(() => !!V.value || G.value || !!r.context.editable), P = R(() => !r.hideActions && T.value && x.value), H = R(() => P.value && x.value && !r.isFullscreen), Q = {
6897
6898
  heatmap: zy,
6898
6899
  treemap: $y,
6899
- timeseries_line: br,
6900
- timeseries_bar: br,
6900
+ timeseries_line: Or,
6901
+ timeseries_bar: Or,
6901
6902
  scatter: Gc,
6902
- horizontal_bar: Rr,
6903
- vertical_bar: Rr,
6904
- gauge: vr,
6903
+ horizontal_bar: br,
6904
+ vertical_bar: br,
6905
+ gauge: Rr,
6905
6906
  donut: Bd,
6906
6907
  golden_signals: $c,
6907
6908
  top_n: Kd,
6908
6909
  top_talkers: Md,
6909
6910
  table: Gd,
6910
6911
  slottable: void 0,
6911
- single_value: vr,
6912
+ single_value: Rr,
6912
6913
  choropleth_map: v
6913
6914
  }, oe = R(() => ({
6914
6915
  ...k.value?.rendererEvents.supportsRequests ? { "select-chart-range": Gn } : {},
@@ -6948,19 +6949,19 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
6948
6949
  if (Ye(u.value))
6949
6950
  return null;
6950
6951
  const $ = u.value.query, le = $?.time_range;
6951
- if (bi($?.datasource) && !$.dimensions?.includes("time"))
6952
+ if (Oi($?.datasource) && !$.dimensions?.includes("time"))
6952
6953
  return O.t("renderer.as_of_today");
6953
6954
  if (le?.type === "relative") {
6954
- const we = Oi.get(Ei[le.time_range]);
6955
+ const we = Ei.get(Ci[le.time_range]);
6955
6956
  return we ? we.display : (console.warn("Did not recognize the given relative time range:", le.time_range), le.time_range);
6956
6957
  } else if (le?.type === "absolute") {
6957
6958
  const we = le.tz || "Etc/UTC";
6958
- return `${zi(le.start, { short: !0, tz: we })} - ${zi(le.end, { short: !0, tz: we })}`;
6959
+ return `${Pi(le.start, { short: !0, tz: we })} - ${Pi(le.end, { short: !0, tz: we })}`;
6959
6960
  }
6960
6961
  return null;
6961
6962
  }), Z = R(() => {
6962
6963
  const $ = u.value.query, le = $?.datasource, we = le ? C.value[le]?.timeRangeOptions : void 0, $e = ($ && "time_range" in $ ? $.time_range : void 0) ?? r.context.timeSpec;
6963
- return cn($e, we);
6964
+ return dn($e, we);
6964
6965
  }), ve = R(() => S.value ? !1 : [
6965
6966
  !!N.value,
6966
6967
  H.value,
@@ -7022,11 +7023,11 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
7022
7023
  f.value = $, $ || p("tile-loaded");
7023
7024
  }, zn = () => {
7024
7025
  A.value = !1;
7025
- }, ki = () => {
7026
+ }, Ki = () => {
7026
7027
  if (zt(u.value))
7027
7028
  throw new Error("Cannot export data for a tile backed by the api-requests endpoint");
7028
7029
  const $ = u.value.query.datasource?.startsWith("goap");
7029
- return E?.staticConfig?.increaseCsvExportLimit !== !1 && !$ ? ie(u.value.query, r.context, Fr) : b.value ? Promise.resolve(b.value) : new Promise((we) => {
7030
+ return E?.staticConfig?.increaseCsvExportLimit !== !1 && !$ ? ie(u.value.query, r.context, Wr) : b.value ? Promise.resolve(b.value) : new Promise((we) => {
7030
7031
  const it = Ee(b, ($e) => {
7031
7032
  $e && (we($e), it());
7032
7033
  });
@@ -7034,7 +7035,7 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
7034
7035
  }, Pn = async () => {
7035
7036
  A.value = !0, U.value = { status: "loading" };
7036
7037
  try {
7037
- const $ = await ki();
7038
+ const $ = await Ki();
7038
7039
  U.value = { status: "success", chartData: $ };
7039
7040
  } catch ($) {
7040
7041
  U.value = { status: "error", error: $ };
@@ -7055,7 +7056,7 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
7055
7056
  const le = St.value, we = L($, le);
7056
7057
  F.value = B.value ? { href: _e(we) } : void 0, K.value = D.value ? { href: me(ye($, le)) } : void 0;
7057
7058
  };
7058
- return e({ getExportData: ki }), ($, le) => {
7059
+ return e({ getExportData: Ki }), ($, le) => {
7059
7060
  const we = be("KTooltip"), it = be("KBadge"), $e = be("KButton"), rt = be("KDropdownItem"), Vt = be("KDropdown");
7060
7061
  return I(), ae("div", {
7061
7062
  class: qe(["tile-boundary", {
@@ -7100,8 +7101,8 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
7100
7101
  "tooltip-attributes": { maxWidth: "320px" }
7101
7102
  }, {
7102
7103
  icon: j(() => [
7103
- de(w(Pi), {
7104
- size: `var(--kui-icon-size-20, ${w(or)})`
7104
+ de(w(qi), {
7105
+ size: `var(--kui-icon-size-20, ${w(ar)})`
7105
7106
  }, null, 8, ["size"])
7106
7107
  ]),
7107
7108
  default: j(() => [
@@ -7123,8 +7124,8 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
7123
7124
  Ke.value ? {
7124
7125
  name: "icon",
7125
7126
  fn: j(() => [
7126
- de(w(Pi), {
7127
- size: `var(--kui-icon-size-20, ${w(or)})`
7127
+ de(w(qi), {
7128
+ size: `var(--kui-icon-size-20, ${w(ar)})`
7128
7129
  }, null, 8, ["size"])
7129
7130
  ]),
7130
7131
  key: "0"
@@ -7154,12 +7155,12 @@ ${r.valueFormatter ? r.valueFormatter(Number(u)) : String(u)}` : void 0
7154
7155
  f.value ? (I(), ee(w(Cs), {
7155
7156
  key: 0,
7156
7157
  role: "button",
7157
- size: `var(--kui-icon-size-60, ${w(ar)})`,
7158
+ size: `var(--kui-icon-size-60, ${w(lr)})`,
7158
7159
  tabindex: "0"
7159
7160
  }, null, 8, ["size"])) : (I(), ee(w(Ts), {
7160
7161
  key: 1,
7161
7162
  role: "button",
7162
- size: `var(--kui-icon-size-60, ${w(ar)})`,
7163
+ size: `var(--kui-icon-size-60, ${w(lr)})`,
7163
7164
  tabindex: "0"
7164
7165
  }, null, 8, ["size"]))
7165
7166
  ]),
@@ -8143,10 +8144,10 @@ function Gt(r) {
8143
8144
  function Bt(r) {
8144
8145
  r.pointerType !== "mouse" && r.target.releasePointerCapture(r.pointerId);
8145
8146
  }
8146
- function Lr(r) {
8147
+ function kr(r) {
8147
8148
  re.dragElement && r.pointerType !== "mouse" && Ln(r, "mouseenter");
8148
8149
  }
8149
- function kr(r) {
8150
+ function Kr(r) {
8150
8151
  re.dragElement && r.pointerType !== "mouse" && (We.pointerLeaveTimeout = window.setTimeout(() => {
8151
8152
  delete We.pointerLeaveTimeout, Ln(r, "mouseleave");
8152
8153
  }, 10));
@@ -8187,7 +8188,7 @@ class jt {
8187
8188
  }
8188
8189
  }
8189
8190
  jt.prefix = "ui-resizable-";
8190
- class Ui {
8191
+ class Li {
8191
8192
  constructor() {
8192
8193
  this._eventRegister = {};
8193
8194
  }
@@ -8215,7 +8216,7 @@ class Ui {
8215
8216
  return this._eventRegister[e](t);
8216
8217
  }
8217
8218
  }
8218
- class Ot extends Ui {
8219
+ class Ot extends Li {
8219
8220
  // have to be public else complains for HTMLElementExtendOpt ?
8220
8221
  constructor(e, t = {}) {
8221
8222
  super(), this.el = e, this.option = t, this.rectScale = { x: 1, y: 1 }, this._ui = () => {
@@ -8366,7 +8367,7 @@ class Ot extends Ui {
8366
8367
  }
8367
8368
  Ot._originStyleProp = ["width", "height", "position", "left", "top", "opacity", "zIndex"];
8368
8369
  const ov = 'input,textarea,button,select,option,[contenteditable="true"],.ui-resizable-handle';
8369
- class Et extends Ui {
8370
+ class Et extends Li {
8370
8371
  constructor(e, t = {}) {
8371
8372
  super(), this.el = e, this.option = t, this.dragTransform = {
8372
8373
  xScale: 1,
@@ -8509,7 +8510,7 @@ class Et extends Ui {
8509
8510
  }
8510
8511
  }
8511
8512
  Et.originStyleProp = ["width", "height", "transform", "transform-origin", "transition", "pointerEvents", "position", "left", "top", "minWidth", "willChange"];
8512
- class av extends Ui {
8513
+ class av extends Li {
8513
8514
  constructor(e, t = {}) {
8514
8515
  super(), this.el = e, this.option = t, this._mouseEnter = this._mouseEnter.bind(this), this._mouseLeave = this._mouseLeave.bind(this), this.enable(), this._setupAccept();
8515
8516
  }
@@ -8520,10 +8521,10 @@ class av extends Ui {
8520
8521
  super.off(e);
8521
8522
  }
8522
8523
  enable() {
8523
- this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), He && (this.el.addEventListener("pointerenter", Lr), this.el.addEventListener("pointerleave", kr)));
8524
+ this.disabled !== !1 && (super.enable(), this.el.classList.add("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), this.el.addEventListener("mouseenter", this._mouseEnter), this.el.addEventListener("mouseleave", this._mouseLeave), He && (this.el.addEventListener("pointerenter", kr), this.el.addEventListener("pointerleave", Kr)));
8524
8525
  }
8525
8526
  disable(e = !1) {
8526
- this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), He && (this.el.removeEventListener("pointerenter", Lr), this.el.removeEventListener("pointerleave", kr)));
8527
+ this.disabled !== !0 && (super.disable(), this.el.classList.remove("ui-droppable"), e || this.el.classList.add("ui-droppable-disabled"), this.el.removeEventListener("mouseenter", this._mouseEnter), this.el.removeEventListener("mouseleave", this._mouseLeave), He && (this.el.removeEventListener("pointerenter", kr), this.el.removeEventListener("pointerleave", Kr)));
8527
8528
  }
8528
8529
  destroy() {
8529
8530
  this.disable(!0), this.el.classList.remove("ui-droppable"), this.el.classList.remove("ui-droppable-disabled"), super.destroy();
@@ -8574,9 +8575,9 @@ class av extends Ui {
8574
8575
  };
8575
8576
  }
8576
8577
  }
8577
- class Li {
8578
+ class ki {
8578
8579
  static init(e) {
8579
- return e.ddElement || (e.ddElement = new Li(e)), e.ddElement;
8580
+ return e.ddElement || (e.ddElement = new ki(e)), e.ddElement;
8580
8581
  }
8581
8582
  constructor(e) {
8582
8583
  this.el = e;
@@ -8682,7 +8683,7 @@ class lv {
8682
8683
  /** @internal returns a list of DD elements, creating them on the fly by default unless option is to destroy or disable */
8683
8684
  _getDDElements(e, t) {
8684
8685
  const i = e.gridstack || t !== "destroy" && t !== "disable", n = _.getElements(e);
8685
- return n.length ? n.map((o) => o.ddElement || (i ? Li.init(o) : null)).filter((o) => o) : [];
8686
+ return n.length ? n.map((o) => o.ddElement || (i ? ki.init(o) : null)).filter((o) => o) : [];
8686
8687
  }
8687
8688
  }
8688
8689
  const Ie = new lv();
@@ -9944,7 +9945,7 @@ const uv = (r, e) => {
9944
9945
  props: {
9945
9946
  tiles: {},
9946
9947
  tileHeight: { default: Yt },
9947
- columns: { default: an },
9948
+ columns: { default: ln },
9948
9949
  editable: { type: Boolean, default: !1 },
9949
9950
  bottomTrim: { default: 0 }
9950
9951
  },
@@ -10037,7 +10038,7 @@ const uv = (r, e) => {
10037
10038
  D && a.removeWidget(D);
10038
10039
  }
10039
10040
  };
10040
- return Ee(y, (T) => a?.column(T ? 1 : i.columns, "none")), Ee(() => [i.tiles.map((T) => [T.id, T.layout]), M.value], V, { deep: !0, flush: "post" }), Mr(() => {
10041
+ return Ee(y, (T) => a?.column(T ? 1 : i.columns, "none")), Ee(() => [i.tiles.map((T) => [T.id, T.layout]), M.value], V, { deep: !0, flush: "post" }), zr(() => {
10041
10042
  i.tiles.forEach((T) => {
10042
10043
  o.value.set(`${T.id}`, T);
10043
10044
  });
@@ -10047,7 +10048,7 @@ const uv = (r, e) => {
10047
10048
  class: "grid-stack",
10048
10049
  style: mt({ marginBottom: `-${r.bottomTrim + O.value}px` })
10049
10050
  }, [
10050
- (I(!0), ae(Ri, null, $t(i.tiles, (B) => (I(), ae("div", {
10051
+ (I(!0), ae(bi, null, $t(i.tiles, (B) => (I(), ae("div", {
10051
10052
  key: B.id,
10052
10053
  "data-id": `${B.id}`,
10053
10054
  "data-testid": `grid-stack-item-${B.id}`
@@ -10108,13 +10109,13 @@ const uv = (r, e) => {
10108
10109
  }),
10109
10110
  emits: /* @__PURE__ */ Lt(["edit-tile", "tile-time-range-zoom", "tiles-loaded"], ["update:modelValue"]),
10110
10111
  setup(r, { expose: e, emit: t }) {
10111
- if (vi((x) => ({
10112
+ if (Ri((x) => ({
10112
10113
  v46ff5d3f: v.value
10113
10114
  })), r.context.disableCoordination !== !0) {
10114
10115
  const x = Aa();
10115
- Kr(Hu, x);
10116
+ Mr(Hu, x);
10116
10117
  }
10117
- const i = t, n = Br(r, "modelValue"), s = R(() => Array.isArray(n.value) ? n.value : [{ definition: n.value }]), o = (x) => s.value[x].definition, a = R(() => {
10118
+ const i = t, n = $r(r, "modelValue"), s = R(() => Array.isArray(n.value) ? n.value : [{ definition: n.value }]), o = (x) => s.value[x].definition, a = R(() => {
10118
10119
  const x = (P) => P.type === "slottable" || "definition" in P && P.definition?.chart?.type === "slottable";
10119
10120
  return s.value.reduce((P, H) => {
10120
10121
  const Q = A(H), oe = /* @__PURE__ */ new Set();
@@ -10220,7 +10221,7 @@ const uv = (r, e) => {
10220
10221
  }), oe = new Set(Q.map((W) => W.id)), k = H.tiles.filter((W) => W.id && !oe.has(W.id) && A(s.value[P])[W.id]);
10221
10222
  H.tiles = [...Q, ...k].sort(U);
10222
10223
  }, T = async () => {
10223
- if (v.value = "scale(1)", await yi(), p.value) {
10224
+ if (v.value = "scale(1)", await vi(), p.value) {
10224
10225
  const { availWidth: x, availHeight: P } = window.screen, { width: H, height: Q } = p.value.getBoundingClientRect(), oe = Math.min(P / Q, x / H);
10225
10226
  v.value = `scale(${oe})`;
10226
10227
  }
@@ -10267,7 +10268,7 @@ const uv = (r, e) => {
10267
10268
  w(y) && B.value ? (I(), ae("div", yv, [
10268
10269
  Xe(x.$slots, "fullscreenHeader", {}, void 0, !0)
10269
10270
  ])) : fe("", !0),
10270
- w(y) ? (I(!0), ae(Ri, { key: 2 }, $t(s.value, (Q, oe) => (I(), ae("div", {
10271
+ w(y) ? (I(!0), ae(bi, { key: 2 }, $t(s.value, (Q, oe) => (I(), ae("div", {
10271
10272
  key: `dash-${oe}`,
10272
10273
  class: qe(["dashboard-boundary", {
10273
10274
  multiple: s.value.length > 1
@@ -10307,7 +10308,7 @@ const uv = (r, e) => {
10307
10308
  definition: k.meta,
10308
10309
  "fit-to-content": W,
10309
10310
  "group-tiles": k.groupTiles,
10310
- height: k.layout.size.rows * (Q.definition.tile_height || w(Yt)) + parseInt(w(on), 10),
10311
+ height: k.layout.size.rows * (Q.definition.tile_height || w(Yt)) + parseInt(w(an), 10),
10311
10312
  "hide-actions": !w(ye),
10312
10313
  "is-fullscreen": B.value,
10313
10314
  preview: r.preview,
@@ -10441,7 +10442,7 @@ const uv = (r, e) => {
10441
10442
  query: t
10442
10443
  }
10443
10444
  };
10444
- }, wv = (r, e = an) => {
10445
+ }, wv = (r, e = ln) => {
10445
10446
  if (!r.length)
10446
10447
  return [];
10447
10448
  let t = 0, i = 0, n = 0;
@@ -10479,8 +10480,8 @@ const uv = (r, e) => {
10479
10480
  };
10480
10481
  export {
10481
10482
  Dt as C,
10482
- an as D,
10483
- cr as E,
10483
+ ln as D,
10484
+ dr as E,
10484
10485
  Wu as F,
10485
10486
  Hu as I,
10486
10487
  Bu as T,
@@ -10494,8 +10495,8 @@ export {
10494
10495
  Fu as g,
10495
10496
  je as h,
10496
10497
  Wv as i,
10497
- un as j,
10498
- cn as k,
10498
+ cn as j,
10499
+ dn as k,
10499
10500
  Nn as l,
10500
- dn as m
10501
+ hn as m
10501
10502
  };