@kong-ui-public/analytics-utilities 11.5.1-pr.2565.14833f801.0 → 11.5.1

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.
@@ -2,7 +2,7 @@ var zr = Object.defineProperty;
2
2
  var Br = (e, t, n) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var b = (e, t, n) => Br(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  const Oo = 3e4, vo = 250, Eo = "analytics-query-provider";
5
- var h = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.NINETY_DAY = "90d", e.ONE_HUNDRED_EIGHTY_DAY = "180d", e.THREE_HUNDRED_SIXTY_DAY = "360d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.CURRENT_YEAR = "current_year", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e.PREVIOUS_YEAR = "previous_year", e))(h || {});
5
+ var h = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e))(h || {});
6
6
  const Io = [
7
7
  "horizontal_bar",
8
8
  "vertical_bar",
@@ -11,7 +11,7 @@ const Io = [
11
11
  "timeseries_bar",
12
12
  "donut",
13
13
  "single_value"
14
- ], Vr = ["in", "not_in", "selector"], No = ["=", "!="], xo = ["=", "!=", "<", ">", "<=", ">="], Xr = ["empty", "not_empty"], Po = ["starts_with", "ends_with"], Co = ["absolute", "relative"], $r = [
14
+ ], Vr = ["in", "not_in", "selector"], xo = ["=", "!="], No = ["=", "!=", "<", ">", "<=", ">="], Xr = ["empty", "not_empty"], Po = ["starts_with", "ends_with"], Co = ["absolute", "relative"], $r = [
15
15
  "15m",
16
16
  "1h",
17
17
  "6h",
@@ -154,7 +154,6 @@ const Io = [
154
154
  ], Jr = ie(Kr), ea = [
155
155
  "auth_type",
156
156
  "client_ip",
157
- "country_code",
158
157
  "data_plane_node_version",
159
158
  "header_host",
160
159
  "header_user_agent",
@@ -1013,7 +1012,7 @@ function _e(e, t) {
1013
1012
  const n = D(e, t == null ? void 0 : t.in);
1014
1013
  return n.setHours(0, 0, 0, 0), n;
1015
1014
  }
1016
- function Na(e, t, n) {
1015
+ function xa(e, t, n) {
1017
1016
  const [r, i] = Ia(
1018
1017
  n == null ? void 0 : n.in,
1019
1018
  e,
@@ -1021,7 +1020,7 @@ function Na(e, t, n) {
1021
1020
  ), s = _e(r), u = _e(i), d = +s - Gt(s), f = +u - Gt(u);
1022
1021
  return Math.round((d - f) / Da);
1023
1022
  }
1024
- function xa(e, t) {
1023
+ function Na(e, t) {
1025
1024
  const n = un(e, t), r = C(e, 0);
1026
1025
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), pe(r);
1027
1026
  }
@@ -1163,11 +1162,11 @@ function re(e) {
1163
1162
  return i[s];
1164
1163
  };
1165
1164
  }
1166
- const Ua = {
1165
+ const qa = {
1167
1166
  narrow: ["B", "A"],
1168
1167
  abbreviated: ["BC", "AD"],
1169
1168
  wide: ["Before Christ", "Anno Domini"]
1170
- }, qa = {
1169
+ }, Ua = {
1171
1170
  narrow: ["1", "2", "3", "4"],
1172
1171
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1173
1172
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
@@ -1291,11 +1290,11 @@ const Ua = {
1291
1290
  }, $a = {
1292
1291
  ordinalNumber: Xa,
1293
1292
  era: re({
1294
- values: Ua,
1293
+ values: qa,
1295
1294
  defaultWidth: "wide"
1296
1295
  }),
1297
1296
  quarter: re({
1298
- values: qa,
1297
+ values: Ua,
1299
1298
  defaultWidth: "wide",
1300
1299
  argumentCallback: (e) => e - 1
1301
1300
  }),
@@ -1472,10 +1471,10 @@ const Ja = /^(\d+)(th|st|nd|rd)?/i, ei = /\d+/i, ti = {
1472
1471
  };
1473
1472
  function fi(e, t) {
1474
1473
  const n = D(e, t == null ? void 0 : t.in);
1475
- return Na(n, Ra(n)) + 1;
1474
+ return xa(n, Ra(n)) + 1;
1476
1475
  }
1477
1476
  function hi(e, t) {
1478
- const n = D(e, t == null ? void 0 : t.in), r = +pe(n) - +xa(n);
1477
+ const n = D(e, t == null ? void 0 : t.in), r = +pe(n) - +Na(n);
1479
1478
  return Math.round(r / cn) + 1;
1480
1479
  }
1481
1480
  function ln(e, t) {
@@ -2122,17 +2121,17 @@ function Oi(e, t, n) {
2122
2121
  const r = e[0] === "Y" ? "years" : "days of the month";
2123
2122
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
2124
2123
  }
2125
- const vi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ei = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ii = /^'([^]*?)'?$/, Ni = /''/g, xi = /[a-zA-Z]/;
2124
+ const vi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ei = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ii = /^'([^]*?)'?$/, xi = /''/g, Ni = /[a-zA-Z]/;
2126
2125
  function mn(e, t, n) {
2127
- var _, y, g, I, N, x, R, W;
2128
- const r = se(), i = (n == null ? void 0 : n.locale) ?? r.locale ?? mi, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((y = (_ = n == null ? void 0 : n.locale) == null ? void 0 : _.options) == null ? void 0 : y.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (g = r.locale) == null ? void 0 : g.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, u = (n == null ? void 0 : n.weekStartsOn) ?? ((x = (N = n == null ? void 0 : n.locale) == null ? void 0 : N.options) == null ? void 0 : x.weekStartsOn) ?? r.weekStartsOn ?? ((W = (R = r.locale) == null ? void 0 : R.options) == null ? void 0 : W.weekStartsOn) ?? 0, d = D(e, n == null ? void 0 : n.in);
2126
+ var _, y, g, I, x, N, R, W;
2127
+ const r = se(), i = (n == null ? void 0 : n.locale) ?? r.locale ?? mi, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((y = (_ = n == null ? void 0 : n.locale) == null ? void 0 : _.options) == null ? void 0 : y.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (g = r.locale) == null ? void 0 : g.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, u = (n == null ? void 0 : n.weekStartsOn) ?? ((N = (x = n == null ? void 0 : n.locale) == null ? void 0 : x.options) == null ? void 0 : N.weekStartsOn) ?? r.weekStartsOn ?? ((W = (R = r.locale) == null ? void 0 : R.options) == null ? void 0 : W.weekStartsOn) ?? 0, d = D(e, n == null ? void 0 : n.in);
2129
2128
  if (!Ca(d))
2130
2129
  throw new RangeError("Invalid time value");
2131
2130
  let f = t.match(Ei).map((S) => {
2132
2131
  const T = S[0];
2133
2132
  if (T === "p" || T === "P") {
2134
- const U = _i[T];
2135
- return U(S, i.formatLong);
2133
+ const q = _i[T];
2134
+ return q(S, i.formatLong);
2136
2135
  }
2137
2136
  return S;
2138
2137
  }).join("").match(vi).map((S) => {
@@ -2143,7 +2142,7 @@ function mn(e, t, n) {
2143
2142
  return { isToken: !1, value: Pi(S) };
2144
2143
  if (At[T])
2145
2144
  return { isToken: !0, value: S };
2146
- if (T.match(xi))
2145
+ if (T.match(Ni))
2147
2146
  throw new RangeError(
2148
2147
  "Format string contains an unescaped latin alphabet character `" + T + "`"
2149
2148
  );
@@ -2159,13 +2158,13 @@ function mn(e, t, n) {
2159
2158
  if (!S.isToken) return S.value;
2160
2159
  const T = S.value;
2161
2160
  (!(n != null && n.useAdditionalWeekYearTokens) && Di(T) || !(n != null && n.useAdditionalDayOfYearTokens) && Mi(T)) && Si(T, t, String(e));
2162
- const U = At[T[0]];
2163
- return U(d, T, i.localize, m);
2161
+ const q = At[T[0]];
2162
+ return q(d, T, i.localize, m);
2164
2163
  }).join("");
2165
2164
  }
2166
2165
  function Pi(e) {
2167
2166
  const t = e.match(Ii);
2168
- return t ? t[1].replace(Ni, "'") : e;
2167
+ return t ? t[1].replace(xi, "'") : e;
2169
2168
  }
2170
2169
  function Ci(e, t) {
2171
2170
  const n = D(e, t == null ? void 0 : t.in), r = n.getFullYear(), i = n.getMonth(), s = C(n, 0);
@@ -2190,7 +2189,7 @@ function Gi(e) {
2190
2189
  function fn(e, t, n) {
2191
2190
  return va(e, -1, n);
2192
2191
  }
2193
- function Ut(e, t, n) {
2192
+ function qt(e, t, n) {
2194
2193
  const r = Ri(), i = Hi(e, n.timeZone, n.locale ?? r.locale);
2195
2194
  return "formatToParts" in i ? Ai(i, t) : Yi(i, t);
2196
2195
  }
@@ -2212,7 +2211,7 @@ function Hi(e, t, n) {
2212
2211
  }
2213
2212
  function Fi(e, t) {
2214
2213
  const n = ji(t);
2215
- return "formatToParts" in n ? Wi(n, e) : Ui(n, e);
2214
+ return "formatToParts" in n ? Wi(n, e) : qi(n, e);
2216
2215
  }
2217
2216
  const Li = {
2218
2217
  year: 0,
@@ -2236,7 +2235,7 @@ function Wi(e, t) {
2236
2235
  throw n;
2237
2236
  }
2238
2237
  }
2239
- function Ui(e, t) {
2238
+ function qi(e, t) {
2240
2239
  const n = e.format(t), r = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);
2241
2240
  return [
2242
2241
  parseInt(r[3], 10),
@@ -2247,7 +2246,7 @@ function Ui(e, t) {
2247
2246
  parseInt(r[6], 10)
2248
2247
  ];
2249
2248
  }
2250
- const Le = {}, qt = new Intl.DateTimeFormat("en-US", {
2249
+ const Le = {}, Ut = new Intl.DateTimeFormat("en-US", {
2251
2250
  hourCycle: "h23",
2252
2251
  timeZone: "America/New_York",
2253
2252
  year: "numeric",
@@ -2256,9 +2255,9 @@ const Le = {}, qt = new Intl.DateTimeFormat("en-US", {
2256
2255
  hour: "2-digit",
2257
2256
  minute: "2-digit",
2258
2257
  second: "2-digit"
2259
- }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), qi = qt === "06/25/2014, 00:00:00" || qt === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2258
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ui = Ut === "06/25/2014, 00:00:00" || Ut === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2260
2259
  function ji(e) {
2261
- return Le[e] || (Le[e] = qi ? new Intl.DateTimeFormat("en-US", {
2260
+ return Le[e] || (Le[e] = Ui ? new Intl.DateTimeFormat("en-US", {
2262
2261
  hourCycle: "h23",
2263
2262
  timeZone: e,
2264
2263
  year: "numeric",
@@ -2342,7 +2341,7 @@ function Xi(e) {
2342
2341
  const $i = 60 * 1e3, Zi = {
2343
2342
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
2344
2343
  X: function(e, t, n) {
2345
- const r = Ue(n.timeZone, e);
2344
+ const r = qe(n.timeZone, e);
2346
2345
  if (r === 0)
2347
2346
  return "Z";
2348
2347
  switch (t) {
@@ -2359,7 +2358,7 @@ const $i = 60 * 1e3, Zi = {
2359
2358
  },
2360
2359
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
2361
2360
  x: function(e, t, n) {
2362
- const r = Ue(n.timeZone, e);
2361
+ const r = qe(n.timeZone, e);
2363
2362
  switch (t) {
2364
2363
  case "x":
2365
2364
  return Vt(r);
@@ -2374,7 +2373,7 @@ const $i = 60 * 1e3, Zi = {
2374
2373
  },
2375
2374
  // Timezone (GMT)
2376
2375
  O: function(e, t, n) {
2377
- const r = Ue(n.timeZone, e);
2376
+ const r = qe(n.timeZone, e);
2378
2377
  switch (t) {
2379
2378
  case "O":
2380
2379
  case "OO":
@@ -2391,14 +2390,14 @@ const $i = 60 * 1e3, Zi = {
2391
2390
  case "z":
2392
2391
  case "zz":
2393
2392
  case "zzz":
2394
- return Ut("short", e, n);
2393
+ return qt("short", e, n);
2395
2394
  case "zzzz":
2396
2395
  default:
2397
- return Ut("long", e, n);
2396
+ return qt("long", e, n);
2398
2397
  }
2399
2398
  }
2400
2399
  };
2401
- function Ue(e, t) {
2400
+ function qe(e, t) {
2402
2401
  const n = e ? ce(e, t, !0) / $i : (t == null ? void 0 : t.getTimezoneOffset()) ?? 0;
2403
2402
  if (Number.isNaN(n))
2404
2403
  throw new RangeError("Invalid time zone specified: " + e);
@@ -2426,7 +2425,7 @@ function Xt(e) {
2426
2425
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
2427
2426
  return t.setUTCFullYear(e.getFullYear()), +e - +t;
2428
2427
  }
2429
- const hn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, qe = 36e5, $t = 6e4, Ki = 2, O = {
2428
+ const hn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Ue = 36e5, $t = 6e4, Ki = 2, O = {
2430
2429
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
2431
2430
  datePattern: /^([0-9W+-]+)(.*)/,
2432
2431
  // year tokens
@@ -2554,13 +2553,13 @@ function to(e, t) {
2554
2553
  function no(e) {
2555
2554
  let t, n, r = O.HH.exec(e);
2556
2555
  if (r)
2557
- return t = parseFloat(r[1].replace(",", ".")), je(t) ? t % 24 * qe : NaN;
2556
+ return t = parseFloat(r[1].replace(",", ".")), je(t) ? t % 24 * Ue : NaN;
2558
2557
  if (r = O.HHMM.exec(e), r)
2559
- return t = parseInt(r[1], 10), n = parseFloat(r[2].replace(",", ".")), je(t, n) ? t % 24 * qe + n * $t : NaN;
2558
+ return t = parseInt(r[1], 10), n = parseFloat(r[2].replace(",", ".")), je(t, n) ? t % 24 * Ue + n * $t : NaN;
2560
2559
  if (r = O.HHMMSS.exec(e), r) {
2561
2560
  t = parseInt(r[1], 10), n = parseInt(r[2], 10);
2562
2561
  const i = parseFloat(r[3].replace(",", "."));
2563
- return je(t, n, i) ? t % 24 * qe + n * $t + i * 1e3 : NaN;
2562
+ return je(t, n, i) ? t % 24 * Ue + n * $t + i * 1e3 : NaN;
2564
2563
  }
2565
2564
  return null;
2566
2565
  }
@@ -2670,7 +2669,7 @@ const Te = {
2670
2669
  weekly: 60 * 60 * 24 * 7 * 1e3,
2671
2670
  trend: 0
2672
2671
  };
2673
- function Uo(e, t) {
2672
+ function qo(e, t) {
2674
2673
  return e.map((n) => ({
2675
2674
  value: n,
2676
2675
  label: t.t(`configuration.vitals.reports.granularity.${n}`)
@@ -2683,7 +2682,7 @@ function lo(e, t) {
2683
2682
  origin: t
2684
2683
  };
2685
2684
  }
2686
- function qo(e) {
2685
+ function Uo(e) {
2687
2686
  return e && en.find((n) => e <= Te[n]) || null;
2688
2687
  }
2689
2688
  function _n(e, t, n, r) {
@@ -2779,16 +2778,16 @@ function ho(e) {
2779
2778
  var Me = { exports: {} };
2780
2779
  Me.exports;
2781
2780
  (function(e, t) {
2782
- var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", f = "[object Date]", m = "[object Error]", _ = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", N = "[object Object]", x = "[object Promise]", R = "[object RegExp]", W = "[object Set]", S = "[object String]", T = "[object Symbol]", U = "[object WeakMap]", Ke = "[object ArrayBuffer]", ue = "[object DataView]", Je = "[object Float32Array]", et = "[object Float64Array]", tt = "[object Int8Array]", nt = "[object Int16Array]", rt = "[object Int32Array]", at = "[object Uint8Array]", it = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", st = "[object Uint32Array]", Tn = /[\\^$.*+?()[\]{}|]/g, Mn = /\w*$/, Dn = /^\[object .+?Constructor\]$/, Sn = /^(?:0|[1-9]\d*)$/, w = {};
2783
- w[s] = w[u] = w[Ke] = w[ue] = w[d] = w[f] = w[Je] = w[et] = w[tt] = w[nt] = w[rt] = w[g] = w[I] = w[N] = w[R] = w[W] = w[S] = w[T] = w[at] = w[it] = w[ot] = w[st] = !0, w[m] = w[_] = w[U] = !1;
2781
+ var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", f = "[object Date]", m = "[object Error]", _ = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", x = "[object Object]", N = "[object Promise]", R = "[object RegExp]", W = "[object Set]", S = "[object String]", T = "[object Symbol]", q = "[object WeakMap]", Ke = "[object ArrayBuffer]", ue = "[object DataView]", Je = "[object Float32Array]", et = "[object Float64Array]", tt = "[object Int8Array]", nt = "[object Int16Array]", rt = "[object Int32Array]", at = "[object Uint8Array]", it = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", st = "[object Uint32Array]", Tn = /[\\^$.*+?()[\]{}|]/g, Mn = /\w*$/, Dn = /^\[object .+?Constructor\]$/, Sn = /^(?:0|[1-9]\d*)$/, w = {};
2782
+ w[s] = w[u] = w[Ke] = w[ue] = w[d] = w[f] = w[Je] = w[et] = w[tt] = w[nt] = w[rt] = w[g] = w[I] = w[x] = w[R] = w[W] = w[S] = w[T] = w[at] = w[it] = w[ot] = w[st] = !0, w[m] = w[_] = w[q] = !1;
2784
2783
  var On = typeof ge == "object" && ge && ge.Object === Object && ge, vn = typeof self == "object" && self && self.Object === Object && self, k = On || vn || Function("return this")(), ct = t && !t.nodeType && t, ut = ct && !0 && e && !e.nodeType && e, En = ut && ut.exports === ct;
2785
2784
  function In(a, o) {
2786
2785
  return a.set(o[0], o[1]), a;
2787
2786
  }
2788
- function Nn(a, o) {
2787
+ function xn(a, o) {
2789
2788
  return a.add(o), a;
2790
2789
  }
2791
- function xn(a, o) {
2790
+ function Nn(a, o) {
2792
2791
  for (var c = -1, l = a ? a.length : 0; ++c < l && o(a[c], c, a) !== !1; )
2793
2792
  ;
2794
2793
  return a;
@@ -2837,13 +2836,13 @@ Me.exports;
2837
2836
  c[++o] = l;
2838
2837
  }), c;
2839
2838
  }
2840
- var kn = Array.prototype, Gn = Function.prototype, le = Object.prototype, Ne = k["__core-js_shared__"], ht = function() {
2841
- var a = /[^.]+$/.exec(Ne && Ne.keys && Ne.keys.IE_PROTO || "");
2839
+ var kn = Array.prototype, Gn = Function.prototype, le = Object.prototype, xe = k["__core-js_shared__"], ht = function() {
2840
+ var a = /[^.]+$/.exec(xe && xe.keys && xe.keys.IE_PROTO || "");
2842
2841
  return a ? "Symbol(src)_1." + a : "";
2843
2842
  }(), yt = Gn.toString, H = le.hasOwnProperty, de = le.toString, An = RegExp(
2844
2843
  "^" + yt.call(H).replace(Tn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2845
- ), gt = En ? k.Buffer : void 0, pt = k.Symbol, _t = k.Uint8Array, Yn = Ie(Object.getPrototypeOf, Object), Hn = Object.create, Fn = le.propertyIsEnumerable, Ln = kn.splice, wt = Object.getOwnPropertySymbols, Wn = gt ? gt.isBuffer : void 0, Un = Ie(Object.keys, Object), xe = $(k, "DataView"), te = $(k, "Map"), Pe = $(k, "Promise"), Ce = $(k, "Set"), Re = $(k, "WeakMap"), ne = $(Object, "create"), qn = z(xe), jn = z(te), zn = z(Pe), Bn = z(Ce), Vn = z(Re), bt = pt ? pt.prototype : void 0, Tt = bt ? bt.valueOf : void 0;
2846
- function q(a) {
2844
+ ), gt = En ? k.Buffer : void 0, pt = k.Symbol, _t = k.Uint8Array, Yn = Ie(Object.getPrototypeOf, Object), Hn = Object.create, Fn = le.propertyIsEnumerable, Ln = kn.splice, wt = Object.getOwnPropertySymbols, Wn = gt ? gt.isBuffer : void 0, qn = Ie(Object.keys, Object), Ne = $(k, "DataView"), te = $(k, "Map"), Pe = $(k, "Promise"), Ce = $(k, "Set"), Re = $(k, "WeakMap"), ne = $(Object, "create"), Un = z(Ne), jn = z(te), zn = z(Pe), Bn = z(Ce), Vn = z(Re), bt = pt ? pt.prototype : void 0, Tt = bt ? bt.valueOf : void 0;
2845
+ function U(a) {
2847
2846
  var o = -1, c = a ? a.length : 0;
2848
2847
  for (this.clear(); ++o < c; ) {
2849
2848
  var l = a[o];
@@ -2872,7 +2871,7 @@ Me.exports;
2872
2871
  var c = this.__data__;
2873
2872
  return c[a] = ne && o === void 0 ? r : o, this;
2874
2873
  }
2875
- q.prototype.clear = Xn, q.prototype.delete = $n, q.prototype.get = Zn, q.prototype.has = Qn, q.prototype.set = Kn;
2874
+ U.prototype.clear = Xn, U.prototype.delete = $n, U.prototype.get = Zn, U.prototype.has = Qn, U.prototype.set = Kn;
2876
2875
  function G(a) {
2877
2876
  var o = -1, c = a ? a.length : 0;
2878
2877
  for (this.clear(); ++o < c; ) {
@@ -2911,9 +2910,9 @@ Me.exports;
2911
2910
  }
2912
2911
  function ar() {
2913
2912
  this.__data__ = {
2914
- hash: new q(),
2913
+ hash: new U(),
2915
2914
  map: new (te || G)(),
2916
- string: new q()
2915
+ string: new U()
2917
2916
  };
2918
2917
  }
2919
2918
  function ir(a) {
@@ -2980,19 +2979,19 @@ Me.exports;
2980
2979
  return E;
2981
2980
  if (!he(a))
2982
2981
  return a;
2983
- var Nt = Ae(a);
2984
- if (Nt) {
2982
+ var xt = Ae(a);
2983
+ if (xt) {
2985
2984
  if (E = Pr(a), !o)
2986
2985
  return Ir(a, E);
2987
2986
  } else {
2988
- var Z = j(a), xt = Z == _ || Z == y;
2987
+ var Z = j(a), Nt = Z == _ || Z == y;
2989
2988
  if (Lr(a))
2990
2989
  return Tr(a, o);
2991
- if (Z == N || Z == s || xt && !v) {
2990
+ if (Z == x || Z == s || Nt && !v) {
2992
2991
  if (dt(a))
2993
2992
  return v ? a : {};
2994
- if (E = Cr(xt ? {} : a), !o)
2995
- return Nr(a, yr(E, a));
2993
+ if (E = Cr(Nt ? {} : a), !o)
2994
+ return xr(a, yr(E, a));
2996
2995
  } else {
2997
2996
  if (!w[Z])
2998
2997
  return v ? a : {};
@@ -3003,9 +3002,9 @@ Me.exports;
3003
3002
  var Pt = A.get(a);
3004
3003
  if (Pt)
3005
3004
  return Pt;
3006
- if (A.set(a, E), !Nt)
3007
- var Ct = c ? xr(a) : Ye(a);
3008
- return xn(Ct || a, function(He, ye) {
3005
+ if (A.set(a, E), !xt)
3006
+ var Ct = c ? Nr(a) : Ye(a);
3007
+ return Nn(Ct || a, function(He, ye) {
3009
3008
  Ct && (ye = He, He = a[ye]), Mt(E, ye, ke(He, o, c, l, ye, a, A));
3010
3009
  }), E;
3011
3010
  }
@@ -3027,7 +3026,7 @@ Me.exports;
3027
3026
  }
3028
3027
  function br(a) {
3029
3028
  if (!Ot(a))
3030
- return Un(a);
3029
+ return qn(a);
3031
3030
  var o = [];
3032
3031
  for (var c in Object(a))
3033
3032
  H.call(a, c) && c != "constructor" && o.push(c);
@@ -3057,7 +3056,7 @@ Me.exports;
3057
3056
  }
3058
3057
  function Or(a, o, c) {
3059
3058
  var l = o ? c(ft(a), !0) : ft(a);
3060
- return lt(l, Nn, new a.constructor());
3059
+ return lt(l, xn, new a.constructor());
3061
3060
  }
3062
3061
  function vr(a) {
3063
3062
  return Tt ? Object(Tt.call(a)) : {};
@@ -3080,10 +3079,10 @@ Me.exports;
3080
3079
  }
3081
3080
  return c;
3082
3081
  }
3083
- function Nr(a, o) {
3082
+ function xr(a, o) {
3084
3083
  return Dt(a, St(a), o);
3085
3084
  }
3086
- function xr(a) {
3085
+ function Nr(a) {
3087
3086
  return pr(a, Ye, St);
3088
3087
  }
3089
3088
  function fe(a, o) {
@@ -3094,21 +3093,21 @@ Me.exports;
3094
3093
  var c = Rn(a, o);
3095
3094
  return wr(c) ? c : void 0;
3096
3095
  }
3097
- var St = wt ? Ie(wt, Object) : qr, j = _r;
3098
- (xe && j(new xe(new ArrayBuffer(1))) != ue || te && j(new te()) != g || Pe && j(Pe.resolve()) != x || Ce && j(new Ce()) != W || Re && j(new Re()) != U) && (j = function(a) {
3099
- var o = de.call(a), c = o == N ? a.constructor : void 0, l = c ? z(c) : void 0;
3096
+ var St = wt ? Ie(wt, Object) : Ur, j = _r;
3097
+ (Ne && j(new Ne(new ArrayBuffer(1))) != ue || te && j(new te()) != g || Pe && j(Pe.resolve()) != N || Ce && j(new Ce()) != W || Re && j(new Re()) != q) && (j = function(a) {
3098
+ var o = de.call(a), c = o == x ? a.constructor : void 0, l = c ? z(c) : void 0;
3100
3099
  if (l)
3101
3100
  switch (l) {
3102
- case qn:
3101
+ case Un:
3103
3102
  return ue;
3104
3103
  case jn:
3105
3104
  return g;
3106
3105
  case zn:
3107
- return x;
3106
+ return N;
3108
3107
  case Bn:
3109
3108
  return W;
3110
3109
  case Vn:
3111
- return U;
3110
+ return q;
3112
3111
  }
3113
3112
  return o;
3114
3113
  });
@@ -3193,7 +3192,7 @@ Me.exports;
3193
3192
  return a != null && Wr(a.length) && !It(a);
3194
3193
  }
3195
3194
  function Fr(a) {
3196
- return Ur(a) && Et(a);
3195
+ return qr(a) && Et(a);
3197
3196
  }
3198
3197
  var Lr = Wn || jr;
3199
3198
  function It(a) {
@@ -3207,13 +3206,13 @@ Me.exports;
3207
3206
  var o = typeof a;
3208
3207
  return !!a && (o == "object" || o == "function");
3209
3208
  }
3210
- function Ur(a) {
3209
+ function qr(a) {
3211
3210
  return !!a && typeof a == "object";
3212
3211
  }
3213
3212
  function Ye(a) {
3214
3213
  return Et(a) ? hr(a) : br(a);
3215
3214
  }
3216
- function qr() {
3215
+ function Ur() {
3217
3216
  return [];
3218
3217
  }
3219
3218
  function jr() {
@@ -3582,15 +3581,15 @@ const Zo = (e, t, n) => {
3582
3581
  for (const g in t)
3583
3582
  t[g].forEach((I) => {
3584
3583
  f += i.next(50, 500);
3585
- const N = {
3584
+ const x = {
3586
3585
  [g]: I,
3587
3586
  [e.name]: f
3588
- }, x = {
3587
+ }, N = {
3589
3588
  version: "1.0",
3590
3589
  timestamp: new Date(y).toISOString(),
3591
- event: N
3590
+ event: x
3592
3591
  };
3593
- d.push(x);
3592
+ d.push(N);
3594
3593
  });
3595
3594
  else {
3596
3595
  f += i.next(50, 500);
@@ -3668,19 +3667,19 @@ const Zo = (e, t, n) => {
3668
3667
  }, Ko = (e, t, n) => {
3669
3668
  const r = Math.floor(Math.random() * 9991) + 10, i = new Qe(r), s = Date.now() - 6 * 60 * 60 * 1e3, u = Date.now(), d = new Date((s + u) / 2).toISOString(), f = [];
3670
3669
  if (t) {
3671
- const y = Object.keys(t), g = Object.values(t), I = (N, x) => {
3672
- if (x === y.length) {
3670
+ const y = Object.keys(t), g = Object.values(t), I = (x, N) => {
3671
+ if (N === y.length) {
3673
3672
  e.forEach((R) => {
3674
- N[R.name] = i.next(1e3, 5e7);
3673
+ x[R.name] = i.next(1e3, 5e7);
3675
3674
  }), f.push({
3676
3675
  version: "1.0",
3677
3676
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
3678
- event: { ...N }
3677
+ event: { ...x }
3679
3678
  });
3680
3679
  return;
3681
3680
  }
3682
- g[x].forEach((R) => {
3683
- I({ ...N, [y[x]]: R }, x + 1);
3681
+ g[N].forEach((R) => {
3682
+ I({ ...x, [y[N]]: R }, N + 1);
3684
3683
  });
3685
3684
  };
3686
3685
  I({}, 0);
@@ -3775,12 +3774,12 @@ export {
3775
3774
  Zo as generateSingleMetricTimeSeriesData,
3776
3775
  Jo as getCountryName,
3777
3776
  Fo as getFieldDataSources,
3778
- Uo as granularitiesToOptions,
3777
+ qo as granularitiesToOptions,
3779
3778
  lo as granularityMsToQuery,
3780
3779
  en as granularityValues,
3781
3780
  _a as llmUsageSchema,
3782
3781
  da as metricCardSchema,
3783
- qo as msToGranularity,
3782
+ Uo as msToGranularity,
3784
3783
  Go as queryDatasources,
3785
3784
  rn as queryableAiExploreDimensions,
3786
3785
  Be as queryableBasicExploreDimensions,
@@ -3793,8 +3792,8 @@ export {
3793
3792
  $r as relativeTimeRangeValuesV4,
3794
3793
  Io as reportChartTypes,
3795
3794
  Xr as requestFilterTypeEmptyV2,
3796
- No as requestFilterTypeEqualsV2,
3797
- xo as requestFilterTypeMetricV2,
3795
+ xo as requestFilterTypeEqualsV2,
3796
+ No as requestFilterTypeMetricV2,
3798
3797
  Po as requestFilterTypeWildcardV2,
3799
3798
  ma as singleValueSchema,
3800
3799
  aa as slottableSchema,