@kong-ui-public/entities-consumer-groups 2.0.7 → 2.0.8-pr.942.1aa146be.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,4 +1,4 @@
1
- import { defineComponent as oe, ref as E, computed as T, watch as Ie, renderSlot as Z, createCommentVNode as H, unref as y, useSlots as lt, onBeforeMount as ut, resolveComponent as L, openBlock as m, createBlock as R, createSlots as Te, withCtx as v, createElementVNode as V, createTextVNode as Q, toDisplayString as O, createVNode as F, createElementBlock as $, renderList as he, Fragment as be, normalizeClass as Fe, withModifiers as nt, withDirectives as Xe, vShow as et, useCssVars as mr, resolveDynamicComponent as Ue, normalizeProps as gr, guardReactiveProps as yr, mergeProps as ht, onMounted as hr, onUnmounted as vr, normalizeStyle as pn, inject as br, pushScopeId as fn, popScopeId as mn, reactive as qt } from "vue";
1
+ import { defineComponent as ae, ref as E, computed as T, watch as Ie, renderSlot as Z, createCommentVNode as H, unref as y, useSlots as lt, onBeforeMount as ut, resolveComponent as L, openBlock as m, createBlock as R, createSlots as Te, withCtx as v, createElementVNode as V, createTextVNode as Q, toDisplayString as O, createVNode as F, createElementBlock as $, renderList as he, Fragment as be, normalizeClass as Fe, withModifiers as nt, withDirectives as Xe, vShow as et, useCssVars as mr, resolveDynamicComponent as Ue, normalizeProps as gr, guardReactiveProps as yr, mergeProps as ht, onMounted as hr, onUnmounted as vr, normalizeStyle as pn, inject as br, pushScopeId as fn, popScopeId as mn, reactive as qt } from "vue";
2
2
  import { useRouter as wt } from "vue-router";
3
3
  import { createI18n as It, i18nTComponent as gn } from "@kong-ui-public/i18n";
4
4
  import Cr from "axios";
@@ -183,10 +183,10 @@ function Sr() {
183
183
  return {
184
184
  setTablePreferences: (t, r) => {
185
185
  try {
186
- const o = n();
187
- o.set(t, r), localStorage.setItem(ft, JSON.stringify(Object.fromEntries(o.entries())));
188
- } catch (o) {
189
- console.error("useTablePreferences(setTablePreferences)", o);
186
+ const a = n();
187
+ a.set(t, r), localStorage.setItem(ft, JSON.stringify(Object.fromEntries(a.entries())));
188
+ } catch (a) {
189
+ console.error("useTablePreferences(setTablePreferences)", a);
190
190
  }
191
191
  },
192
192
  getTablePreferences: (t) => {
@@ -308,9 +308,9 @@ function hn() {
308
308
  const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
309
309
  if (t.length !== r.length)
310
310
  return !1;
311
- const o = /* @__PURE__ */ new Set([...t, ...r]);
312
- for (const a of o) {
313
- const i = t.filter((l) => l === a).length, s = r.filter((l) => l === a).length;
311
+ const a = /* @__PURE__ */ new Set([...t, ...r]);
312
+ for (const o of a) {
313
+ const i = t.filter((l) => l === o).length, s = r.filter((l) => l === o).length;
314
314
  if (i !== s)
315
315
  return !1;
316
316
  }
@@ -318,16 +318,16 @@ function hn() {
318
318
  };
319
319
  return {
320
320
  getPropValue: e,
321
- objectsAreEqual: (t, r, o) => {
322
- if (o) {
321
+ objectsAreEqual: (t, r, a) => {
322
+ if (a) {
323
323
  if (Object.keys(t).length === Object.keys(r).length)
324
- for (const a in t)
325
- if (Array.isArray(t[a]) && Array.isArray(r[a])) {
326
- if (n(t[a], r[a]))
324
+ for (const o in t)
325
+ if (Array.isArray(t[o]) && Array.isArray(r[o])) {
326
+ if (n(t[o], r[o]))
327
327
  continue;
328
328
  return !1;
329
329
  } else {
330
- if (t[a] === r[a])
330
+ if (t[o] === r[o])
331
331
  continue;
332
332
  return !1;
333
333
  }
@@ -341,9 +341,9 @@ function hn() {
341
341
  return !1;
342
342
  }
343
343
  },
344
- sortAlpha: (t) => (r, o) => {
345
- let a = r[t] === void 0 || r[t] === null ? "" : r[t], i = o[t] === void 0 || o[t] === null ? "" : o[t];
346
- return Array.isArray(r[t]) && (a = r[t][0]), Array.isArray(o[t]) && (i = o[t][0]), a.localeCompare(i);
344
+ sortAlpha: (t) => (r, a) => {
345
+ let o = r[t] === void 0 || r[t] === null ? "" : r[t], i = a[t] === void 0 || a[t] === null ? "" : a[t];
346
+ return Array.isArray(r[t]) && (o = r[t][0]), Array.isArray(a[t]) && (i = a[t][0]), o.localeCompare(i);
347
347
  },
348
348
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
349
349
  };
@@ -353,9 +353,9 @@ function qr(e, n, t, r = {
353
353
  searchKeys: ["id"]
354
354
  }) {
355
355
  t || (t = "100");
356
- const { axiosInstance: o } = At({
356
+ const { axiosInstance: a } = At({
357
357
  headers: e.requestHeaders
358
- }), { i18n: { t: a } } = xt(), { debounce: i } = Ar(), s = i(async (h) => {
358
+ }), { i18n: { t: o } } = xt(), { debounce: i } = Ar(), s = i(async (h) => {
359
359
  await K(h);
360
360
  }, 200), l = E(!1), c = E(""), d = E(""), u = E([]), g = E([]), f = E(void 0), I = y(n);
361
361
  let b = `${e.apiBaseUrl}${I}`;
@@ -363,10 +363,10 @@ function qr(e, n, t, r = {
363
363
  const { isValidUuid: p } = hn(), A = async () => {
364
364
  try {
365
365
  l.value = !0;
366
- const { data: h } = await o.get(`${b}?size=${t}`);
366
+ const { data: h } = await a.get(`${b}?size=${t}`);
367
367
  h != null && h.next || (f.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : []), g.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : [], u.value = g.value;
368
368
  } catch {
369
- u.value = [], c.value = a("debouncedFilter.errors.fetch");
369
+ u.value = [], c.value = o("debouncedFilter.errors.fetch");
370
370
  } finally {
371
371
  l.value = !1;
372
372
  }
@@ -378,16 +378,16 @@ function qr(e, n, t, r = {
378
378
  if (l.value = !0, c.value = "", d.value = "", e.app === "konnect") {
379
379
  let w = b + "";
380
380
  h && (w += `/${h}`);
381
- const { data: N } = await o.get(`${w}?size=${t}`);
381
+ const { data: N } = await a.get(`${w}?size=${t}`);
382
382
  r.fetchedItemsKey in N ? u.value = N[r.fetchedItemsKey] : N != null && N.id ? u.value = [N] : u.value = [];
383
383
  } else if (h) {
384
384
  const w = [];
385
385
  p(h) && r.searchKeys.includes("id") ? w.push((async () => {
386
- const { data: C } = await o.get(`${b}/${h}`);
386
+ const { data: C } = await a.get(`${b}/${h}`);
387
387
  return [C[r.fetchedItemsKey] ?? C];
388
388
  })()) : w.push(
389
389
  ...r.searchKeys.filter((C) => C !== "id").map(async (C) => {
390
- const { data: x } = await o.get(`${b}?${C}=${h}`);
390
+ const { data: x } = await a.get(`${b}?${C}=${h}`);
391
391
  return x[r.fetchedItemsKey];
392
392
  })
393
393
  );
@@ -401,7 +401,7 @@ function qr(e, n, t, r = {
401
401
  } else
402
402
  u.value = g.value;
403
403
  } catch (w) {
404
- ((se = w == null ? void 0 : w.response) == null ? void 0 : se.status) === 404 ? d.value = a("debouncedFilter.errors.invalid") : (u.value = [], c.value = a("debouncedFilter.errors.fetch"));
404
+ ((se = w == null ? void 0 : w.response) == null ? void 0 : se.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
405
405
  } finally {
406
406
  l.value = !1;
407
407
  }
@@ -414,7 +414,7 @@ function qr(e, n, t, r = {
414
414
  x != null && x.includes(h.toLowerCase()) && (U = !0);
415
415
  }
416
416
  return U;
417
- }), (!u.value || !u.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : u.value = f.value, l.value = !1;
417
+ }), (!u.value || !u.value.length) && (d.value = o("debouncedFilter.errors.invalid"))) : u.value = f.value, l.value = !1;
418
418
  };
419
419
  return {
420
420
  loading: l,
@@ -430,31 +430,31 @@ function Lr(e, n) {
430
430
  const t = y(n), r = T(
431
431
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
432
432
  );
433
- return r.value.search = "", (o) => `${r.value.href}/${o}`;
433
+ return r.value.search = "", (a) => `${r.value.href}/${a}`;
434
434
  }
435
435
  function Pr() {
436
436
  const { i18n: { t: e } } = xt();
437
437
  return {
438
438
  getMessageFromError: (n) => {
439
- var t, r, o;
439
+ var t, r, a;
440
440
  if (!n)
441
441
  return e("errors.unexpected");
442
442
  if ((t = n == null ? void 0 : n.response) != null && t.data) {
443
443
  if (n.response.data.detail)
444
444
  return n.response.data.detail;
445
445
  if ((r = n.response.data.details) != null && r.length)
446
- return n.response.data.details.map((a) => {
446
+ return n.response.data.details.map((o) => {
447
447
  let i = e("errors.unexpected");
448
- return a.messages && typeof a.messages == "object" && a.messages.length && (i = a.messages.join(", ")), a.field ? `${a.field} - ${i}` : i;
448
+ return o.messages && typeof o.messages == "object" && o.messages.length && (i = o.messages.join(", ")), o.field ? `${o.field} - ${i}` : i;
449
449
  }).join("; ");
450
450
  if (n.response.data.message) {
451
- const { message: a } = n.response.data;
452
- return Array.isArray(a) ? (o = a[0]) != null && o.constraints ? Object.values(a[0].constraints)[0] : a[0] : a;
451
+ const { message: o } = n.response.data;
452
+ return Array.isArray(o) ? (a = o[0]) != null && a.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
453
453
  }
454
454
  if (typeof n.response.data == "string")
455
455
  return n.response.data;
456
456
  if (typeof n.response.data == "object")
457
- return Object.keys(n.response.data).map((a) => `${a} ${n.response.data[a]}`).join(", ");
457
+ return Object.keys(n.response.data).map((o) => `${o} ${n.response.data[o]}`).join(", ");
458
458
  }
459
459
  return n.message || e("errors.unexpected");
460
460
  }
@@ -463,8 +463,8 @@ function Pr() {
463
463
  function Vr(e) {
464
464
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
465
465
  try {
466
- const r = e.join("/"), o = `${t}${r}`, a = e.some((i) => i.trim() === "");
467
- if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(o) && !a && new URL(o))
466
+ const r = e.join("/"), a = `${t}${r}`, o = e.some((i) => i.trim() === "");
467
+ if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a) && !o && new URL(a))
468
468
  return `${t}${r}`;
469
469
  throw new Error("Invalid url");
470
470
  } catch (r) {
@@ -472,16 +472,16 @@ function Vr(e) {
472
472
  }
473
473
  }
474
474
  function vn(e, n) {
475
- const t = E(y(e)), r = E(y(n)), o = T(
475
+ const t = E(y(e)), r = E(y(n)), a = T(
476
476
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
477
- ), a = T(
477
+ ), o = T(
478
478
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
479
479
  );
480
480
  return (i) => {
481
481
  const { page: s, pageSize: l, offset: c, sortColumnKey: d, sortColumnOrder: u, query: g } = i;
482
482
  try {
483
- let f = new URL(a.value.href);
484
- return o.value && g ? (f.search = "", f = new URL(`${f.href}/${g}/`)) : (o.value || new URLSearchParams(g).forEach((I, b) => {
483
+ let f = new URL(o.value.href);
484
+ return a.value && g ? (f.search = "", f = new URL(`${f.href}/${g}/`)) : (a.value || new URLSearchParams(g).forEach((I, b) => {
485
485
  f.searchParams.append(b, I);
486
486
  }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), c && s !== 1 && f.searchParams.append("offset", String(c)), f.href;
487
487
  } catch (f) {
@@ -490,15 +490,15 @@ function vn(e, n) {
490
490
  };
491
491
  }
492
492
  function Ur(e, n, t = "data") {
493
- const r = y(n), { axiosInstance: o } = At({
493
+ const r = y(n), { axiosInstance: a } = At({
494
494
  headers: e.requestHeaders
495
- }), a = vn(e, r), i = E({
495
+ }), o = vn(e, r), i = E({
496
496
  status: Oe.Idle
497
497
  });
498
498
  return { fetcher: async (s) => {
499
499
  try {
500
500
  i.value = { status: Oe.Loading };
501
- const l = a(s), { data: c } = await o.get(l), d = t && t.replace(/[^\w-_]/gi, "");
501
+ const l = o(s), { data: c } = await a.get(l), d = t && t.replace(/[^\w-_]/gi, "");
502
502
  let u;
503
503
  c[d] && Array.isArray(c[d]) ? u = c[d] : u = Object.keys(c).length ? [c] : [];
504
504
  const g = {
@@ -532,7 +532,7 @@ function Ur(e, n, t = "data") {
532
532
  }, fetcherState: i };
533
533
  }
534
534
  function Rr() {
535
- const e = (t, r = "_") => t ? t.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
535
+ const e = (t, r = "_") => t ? t.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
536
536
  return {
537
537
  capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
538
538
  convertKeyToTitle: e
@@ -561,8 +561,8 @@ const bn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
561
561
  }
562
562
  return 0;
563
563
  }, Hr = (e, n) => {
564
- const t = Lt(e), r = Lt(n), o = t.pop(), a = r.pop(), i = Ut(t, r);
565
- return i !== 0 ? i : o && a ? Ut(o.split("."), a.split(".")) : o || a ? o ? -1 : 1 : 0;
564
+ const t = Lt(e), r = Lt(n), a = t.pop(), o = r.pop(), i = Ut(t, r);
565
+ return i !== 0 ? i : a && o ? Ut(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
566
566
  }, Rt = (e, n, t) => {
567
567
  zr(t);
568
568
  const r = Hr(e, n);
@@ -584,19 +584,19 @@ function Yr(e) {
584
584
  const { gatewayInfo: n, supportedRange: t } = e;
585
585
  if (!n)
586
586
  return !0;
587
- const { edition: r, version: o } = n;
588
- if (!Jr(o))
587
+ const { edition: r, version: a } = n;
588
+ if (!Jr(a))
589
589
  return console.error("Invalid version"), !1;
590
- const a = t[r];
591
- if (!a)
590
+ const o = t[r];
591
+ if (!o)
592
592
  return !1;
593
- const [i, s] = a;
594
- return !(i && Rt(o, i, "<") || s && Rt(o, s, ">"));
593
+ const [i, s] = o;
594
+ return !(i && Rt(a, i, "<") || s && Rt(a, s, ">"));
595
595
  }
596
596
  function Wr(e) {
597
597
  const n = E(0), t = E(0), r = E(!1);
598
- return Ie(e, (o) => {
599
- o && !r.value && (n.value = o.offsetWidth, t.value = o.scrollWidth, r.value = !0);
598
+ return Ie(e, (a) => {
599
+ a && !r.value && (n.value = a.offsetWidth, t.value = a.scrollWidth, r.value = !0);
600
600
  }), {
601
601
  isTruncated: T(() => n.value < t.value)
602
602
  };
@@ -623,18 +623,18 @@ const ce = {
623
623
  }, Qr = "Copy to clipboard", Xr = {
624
624
  message: Zr,
625
625
  iconTitle: Qr
626
- }, eo = "kong-ui-copy-uuid-notify", Gt = "24px", to = (e, n) => {
626
+ }, ea = "kong-ui-copy-uuid-notify", Gt = "24px", ta = (e, n) => {
627
627
  const t = e.__vccOpts || e;
628
- for (const [r, o] of n)
629
- t[r] = o;
628
+ for (const [r, a] of n)
629
+ t[r] = a;
630
630
  return t;
631
- }, no = (e) => (fn("data-v-9971cc79"), e = e(), mn(), e), ro = ["aria-hidden"], oo = {
631
+ }, na = (e) => (fn("data-v-9971cc79"), e = e(), mn(), e), ra = ["aria-hidden"], aa = {
632
632
  key: 0,
633
633
  "data-testid": "kui-icon-svg-title"
634
- }, ao = /* @__PURE__ */ no(() => /* @__PURE__ */ V("path", {
634
+ }, oa = /* @__PURE__ */ na(() => /* @__PURE__ */ V("path", {
635
635
  d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
636
636
  fill: "currentColor"
637
- }, null, -1)), io = /* @__PURE__ */ oe({
637
+ }, null, -1)), ia = /* @__PURE__ */ ae({
638
638
  __name: "CopyIcon",
639
639
  props: {
640
640
  /** The accessibility text provided to screen readers */
@@ -690,9 +690,9 @@ const ce = {
690
690
  if (typeof n.size == "number" && n.size > 0)
691
691
  return `${n.size}px`;
692
692
  if (typeof n.size == "string") {
693
- const o = String(n.size).replace(/px/gi, ""), a = Number(o);
694
- if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
695
- return `${a}px`;
693
+ const a = String(n.size).replace(/px/gi, ""), o = Number(a);
694
+ if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
695
+ return `${o}px`;
696
696
  }
697
697
  return Gt;
698
698
  }), r = T(() => ({
@@ -703,7 +703,7 @@ const ce = {
703
703
  lineHeight: "0",
704
704
  width: t.value
705
705
  }));
706
- return (o, a) => (m(), R(Ue(e.as), {
706
+ return (a, o) => (m(), R(Ue(e.as), {
707
707
  "aria-hidden": e.decorative ? "true" : void 0,
708
708
  class: "kui-icon copy-icon",
709
709
  "data-testid": "kui-icon-wrapper-copy-icon",
@@ -720,14 +720,14 @@ const ce = {
720
720
  width: "100%",
721
721
  xmlns: "http://www.w3.org/2000/svg"
722
722
  }, [
723
- e.title ? (m(), $("title", oo, O(e.title), 1)) : H("", !0),
724
- ao
725
- ], 8, ro))
723
+ e.title ? (m(), $("title", aa, O(e.title), 1)) : H("", !0),
724
+ oa
725
+ ], 8, ra))
726
726
  ]),
727
727
  _: 1
728
728
  }, 8, ["aria-hidden", "style"]));
729
729
  }
730
- }), so = /* @__PURE__ */ to(io, [["__scopeId", "data-v-9971cc79"]]), lo = "16px", uo = { class: "kong-ui-copy-uuid" }, co = ["onClick"], Ht = 15, po = /* @__PURE__ */ oe({
730
+ }), sa = /* @__PURE__ */ ta(ia, [["__scopeId", "data-v-9971cc79"]]), la = "16px", ua = { class: "kong-ui-copy-uuid" }, ca = ["onClick"], Ht = 15, da = /* @__PURE__ */ ae({
731
731
  __name: "CopyUuid",
732
732
  props: {
733
733
  uuid: {
@@ -771,8 +771,8 @@ const ce = {
771
771
  },
772
772
  emits: ["success", "error"],
773
773
  setup(e, { emit: n }) {
774
- const t = e, { t: r } = It("en-us", Xr), o = t.notify || br(eo, () => {
775
- }), a = T(() => t.idTooltip ? {
774
+ const t = e, { t: r } = It("en-us", Xr), a = t.notify || br(ea, () => {
775
+ }), o = T(() => t.idTooltip ? {
776
776
  label: t.idTooltip,
777
777
  positionFixed: !0,
778
778
  placement: "bottomStart"
@@ -793,22 +793,22 @@ const ce = {
793
793
  }, u = (g) => {
794
794
  var f, I;
795
795
  if (!g(t.uuid)) {
796
- typeof o == "function" && o({
796
+ typeof a == "function" && a({
797
797
  type: "error",
798
798
  message: r("message.fail")
799
799
  }), i.value ? d(r("message.fail")) : n("error", t.uuid);
800
800
  return;
801
801
  }
802
802
  const b = ((f = t.uuid) == null ? void 0 : f.length) > Ht, p = t.format === "hidden" || t.format === "redacted" ? r("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, Ht)) + (b ? "..." : "")}"`;
803
- typeof o == "function" && o({
803
+ typeof a == "function" && a({
804
804
  type: "success",
805
805
  message: `${p}${r("message.success.content")}`
806
806
  }), i.value ? d(t.successTooltip) : n("success", t.uuid);
807
807
  };
808
808
  return (g, f) => {
809
809
  const I = L("KClipboardProvider");
810
- return m(), $("div", uo, [
811
- e.format !== "hidden" ? (m(), R(Ue(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
810
+ return m(), $("div", ua, [
811
+ e.format !== "hidden" ? (m(), R(Ue(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
812
812
  default: v(() => [
813
813
  V("div", {
814
814
  class: Fe([
@@ -830,14 +830,14 @@ const ce = {
830
830
  tabindex: "0",
831
831
  onClick: nt((p) => u(b), ["stop"])
832
832
  }, [
833
- F(y(so), {
833
+ F(y(sa), {
834
834
  class: "uuid-icon",
835
835
  color: e.iconColor,
836
836
  decorative: !!e.tooltip,
837
- size: y(lo),
837
+ size: y(la),
838
838
  title: y(r)("iconTitle")
839
839
  }, null, 8, ["color", "decorative", "size", "title"])
840
- ], 8, co)
840
+ ], 8, ca)
841
841
  ]),
842
842
  _: 1
843
843
  })
@@ -847,15 +847,15 @@ const ce = {
847
847
  ]);
848
848
  };
849
849
  }
850
- }), fo = (e, n) => {
850
+ }), pa = (e, n) => {
851
851
  const t = e.__vccOpts || e;
852
- for (const [r, o] of n)
853
- t[r] = o;
852
+ for (const [r, a] of n)
853
+ t[r] = a;
854
854
  return t;
855
- }, kn = /* @__PURE__ */ fo(po, [["__scopeId", "data-v-0c07874b"]]), mo = {
855
+ }, kn = /* @__PURE__ */ pa(da, [["__scopeId", "data-v-0c07874b"]]), fa = {
856
856
  key: 0,
857
857
  class: "config-card-fieldset-title"
858
- }, go = /* @__PURE__ */ oe({
858
+ }, ma = /* @__PURE__ */ ae({
859
859
  __name: "JsonCardItem",
860
860
  props: {
861
861
  item: {
@@ -872,22 +872,22 @@ const ce = {
872
872
  }
873
873
  },
874
874
  setup(e) {
875
- const n = e, { i18n: { t } } = ce.useI18n(), { convertKeyToTitle: r } = ce.useStringHelpers(), o = T(() => n.item.key ?? "json-array-item"), a = T(() => n.item.value ?? n.item), i = T(() => {
876
- const l = JSON.parse(JSON.stringify(a.value));
875
+ const n = e, { i18n: { t } } = ce.useI18n(), { convertKeyToTitle: r } = ce.useStringHelpers(), a = T(() => n.item.key ?? "json-array-item"), o = T(() => n.item.value ?? n.item), i = T(() => {
876
+ const l = JSON.parse(JSON.stringify(o.value));
877
877
  return n.isArrayItem && delete l.name, l;
878
878
  }), s = T(() => {
879
879
  var l;
880
- return n.isArrayItem ? (l = a.value) != null && l.name ? r(a.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
880
+ return n.isArrayItem ? (l = o.value) != null && l.name ? r(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
881
881
  });
882
882
  return (l, c) => (m(), R(Ue(e.isArrayItem ? "fieldset" : "div"), {
883
883
  class: Fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
884
884
  }, {
885
885
  default: v(() => [
886
- e.isArrayItem ? (m(), $("legend", mo, [
886
+ e.isArrayItem ? (m(), $("legend", fa, [
887
887
  V("b", null, O(s.value), 1)
888
888
  ])) : H("", !0),
889
889
  (m(!0), $(be, null, he(Object.keys(i.value), (d, u) => (m(), R(St, {
890
- key: `${o.value}-property-${u}`,
890
+ key: `${a.value}-property-${u}`,
891
891
  item: {
892
892
  key: d,
893
893
  label: y(r)(d),
@@ -900,10 +900,10 @@ const ce = {
900
900
  }
901
901
  }), ke = (e, n) => {
902
902
  const t = e.__vccOpts || e;
903
- for (const [r, o] of n)
904
- t[r] = o;
903
+ for (const [r, a] of n)
904
+ t[r] = a;
905
905
  return t;
906
- }, _n = /* @__PURE__ */ ke(go, [["__scopeId", "data-v-68ca83ec"]]), yo = /* @__PURE__ */ oe({
906
+ }, _n = /* @__PURE__ */ ke(ma, [["__scopeId", "data-v-68ca83ec"]]), ga = /* @__PURE__ */ ae({
907
907
  __name: "InternalLinkItem",
908
908
  props: {
909
909
  item: {
@@ -915,12 +915,12 @@ const ce = {
915
915
  setup(e) {
916
916
  const { i18n: { t: n } } = ce.useI18n();
917
917
  return (t, r) => {
918
- const o = L("KButton");
918
+ const a = L("KButton");
919
919
  return m(), $("div", null, [
920
- F(o, {
920
+ F(a, {
921
921
  appearance: "tertiary",
922
922
  class: "navigation-button",
923
- onClick: r[0] || (r[0] = (a) => t.$emit("navigation-click", e.item))
923
+ onClick: r[0] || (r[0] = (o) => t.$emit("navigation-click", e.item))
924
924
  }, {
925
925
  default: v(() => [
926
926
  Q(O(e.item.value || y(n)("baseConfigCard.commonFields.link")), 1)
@@ -930,7 +930,7 @@ const ce = {
930
930
  ]);
931
931
  };
932
932
  }
933
- }), ho = /* @__PURE__ */ ke(yo, [["__scopeId", "data-v-c96811e5"]]), vo = /* @__PURE__ */ oe({
933
+ }), ya = /* @__PURE__ */ ke(ga, [["__scopeId", "data-v-c96811e5"]]), ha = /* @__PURE__ */ ae({
934
934
  __name: "StatusBadge",
935
935
  props: {
936
936
  status: {
@@ -941,8 +941,8 @@ const ce = {
941
941
  setup(e) {
942
942
  const { i18n: { t: n } } = ce.useI18n();
943
943
  return (t, r) => {
944
- const o = L("KBadge");
945
- return m(), R(o, {
944
+ const a = L("KBadge");
945
+ return m(), R(a, {
946
946
  appearance: e.status ? "success" : "neutral"
947
947
  }, {
948
948
  default: v(() => [
@@ -952,11 +952,11 @@ const ce = {
952
952
  }, 8, ["appearance"]);
953
953
  };
954
954
  }
955
- }), bo = "#0044f4", Co = "#e0e4ea", ko = "#3a3f51", _o = "1px", wo = "20px", Io = { class: "config-card-details-row" }, Ao = ["data-testid"], xo = ["data-testid"], So = ["data-testid"], To = ["data-testid"], $o = { key: 1 }, Mo = ["data-testid"], jo = ["data-testid"], Eo = ["data-testid"], Oo = ["data-testid"], Ko = {
955
+ }), va = "#0044f4", ba = "#e0e4ea", Ca = "#3a3f51", ka = "1px", _a = "20px", wa = { class: "config-card-details-row" }, Ia = ["data-testid"], Aa = ["data-testid"], xa = ["data-testid"], Sa = ["data-testid"], Ta = { key: 1 }, $a = ["data-testid"], Ma = ["data-testid"], ja = ["data-testid"], Ea = ["data-testid"], Oa = {
956
956
  name: "ConfigCardItem",
957
- components: { CopyUuid: kn, JsonCardItem: _n, StatusBadge: vo, InternalLinkItem: ho }
958
- }, Fo = /* @__PURE__ */ oe({
959
- ...Ko,
957
+ components: { CopyUuid: kn, JsonCardItem: _n, StatusBadge: ha, InternalLinkItem: ya }
958
+ }, Ka = /* @__PURE__ */ ae({
959
+ ...Oa,
960
960
  props: {
961
961
  item: {
962
962
  type: Object,
@@ -977,20 +977,20 @@ const ce = {
977
977
  setup(e, { emit: n }) {
978
978
  const t = e;
979
979
  mr((f) => ({
980
- "1df60db4": c.value ? "none" : `solid ${y(_o)} ${y(Co)}`,
980
+ "1df60db4": c.value ? "none" : `solid ${y(ka)} ${y(ba)}`,
981
981
  "21d1d34e": l.value && i.value ? "block" : "flex",
982
982
  "4d3dc7e7": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
983
983
  "4d400dc2": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
984
984
  }));
985
- const r = lt(), { i18n: { t: o, formatUnixTimeStamp: a } } = ce.useI18n(), i = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = T(() => !!(t.item.tooltip || r["label-tooltip"])), l = T(() => t.item.type === ne.Json || t.item.type === ne.JsonArray), c = T(() => t.item.type === ne.JsonArray), d = T(() => {
985
+ const r = lt(), { i18n: { t: a, formatUnixTimeStamp: o } } = ce.useI18n(), i = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = T(() => !!(t.item.tooltip || r["label-tooltip"])), l = T(() => t.item.type === ne.Json || t.item.type === ne.JsonArray), c = T(() => t.item.type === ne.JsonArray), d = T(() => {
986
986
  switch (t.item.type) {
987
987
  case ne.ID:
988
988
  return {
989
989
  tag: "CopyUuid",
990
990
  attrs: {
991
991
  "data-testid": `${t.item.key}-copy-uuid`,
992
- "success-tooltip": o("baseConfigCard.copy.success"),
993
- tooltip: o("baseConfigCard.copy.tooltip", { label: t.item.label }),
992
+ "success-tooltip": a("baseConfigCard.copy.success"),
993
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
994
994
  truncated: !1,
995
995
  uuid: t.item.value,
996
996
  notify: () => {
@@ -1002,8 +1002,8 @@ const ce = {
1002
1002
  tag: "div",
1003
1003
  additionalComponent: "CopyUuid",
1004
1004
  childAttrs: {
1005
- "success-tooltip": o("baseConfigCard.copy.success"),
1006
- tooltip: o("baseConfigCard.copy.tooltip", { label: t.item.label }),
1005
+ "success-tooltip": a("baseConfigCard.copy.success"),
1006
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
1007
1007
  truncated: !1,
1008
1008
  notify: () => {
1009
1009
  }
@@ -1015,8 +1015,8 @@ const ce = {
1015
1015
  attrs: {
1016
1016
  "data-testid": `${t.item.key}-copy-uuid-redacted`,
1017
1017
  format: "redacted",
1018
- "success-tooltip": o("baseConfigCard.copy.success"),
1019
- tooltip: o("baseConfigCard.copy.tooltip", { label: t.item.label }),
1018
+ "success-tooltip": a("baseConfigCard.copy.success"),
1019
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
1020
1020
  truncated: !1,
1021
1021
  uuid: t.item.value,
1022
1022
  notify: () => {
@@ -1029,8 +1029,8 @@ const ce = {
1029
1029
  additionalComponent: "CopyUuid",
1030
1030
  childAttrs: {
1031
1031
  format: "redacted",
1032
- "success-tooltip": o("baseConfigCard.copy.success"),
1033
- tooltip: o("baseConfigCard.copy.tooltip", { label: t.item.label }),
1032
+ "success-tooltip": a("baseConfigCard.copy.success"),
1033
+ tooltip: a("baseConfigCard.copy.tooltip", { label: t.item.label }),
1034
1034
  truncated: !1,
1035
1035
  notify: () => {
1036
1036
  }
@@ -1042,7 +1042,7 @@ const ce = {
1042
1042
  attrs: {
1043
1043
  "data-testid": `${t.item.key}-date`
1044
1044
  },
1045
- text: a(t.item.value)
1045
+ text: o(t.item.value)
1046
1046
  };
1047
1047
  case ne.BadgeStatus:
1048
1048
  return {
@@ -1111,7 +1111,7 @@ const ce = {
1111
1111
  }), u = E(), { isTruncated: g } = ce.useTruncationDetector(u);
1112
1112
  return (f, I) => {
1113
1113
  const b = L("KLabel"), p = L("KBadge"), A = L("KMethodBadge"), k = L("KTooltip");
1114
- return m(), $("div", Io, [
1114
+ return m(), $("div", wa, [
1115
1115
  V("div", {
1116
1116
  class: "config-card-details-label",
1117
1117
  "data-testid": `${e.item.key}-label`
@@ -1132,13 +1132,13 @@ const ce = {
1132
1132
  Z(f.$slots, "label-tooltip", {}, () => [
1133
1133
  Q(O(e.item.tooltip), 1)
1134
1134
  ], !0)
1135
- ], 8, xo)
1135
+ ], 8, Aa)
1136
1136
  ]),
1137
1137
  key: "0"
1138
1138
  } : void 0
1139
1139
  ]), 1024)
1140
1140
  ], !0)
1141
- ], 8, Ao),
1141
+ ], 8, Ia),
1142
1142
  V("div", {
1143
1143
  class: "config-card-details-value",
1144
1144
  "data-testid": `${e.item.key}-property-value`
@@ -1146,7 +1146,7 @@ const ce = {
1146
1146
  Z(f.$slots, e.item.key, {
1147
1147
  rowValue: e.item.value
1148
1148
  }, () => [
1149
- i.value ? (m(), $("div", $o, [
1149
+ i.value ? (m(), $("div", Ta, [
1150
1150
  (m(), R(Ue(d.value.tag), gr(yr(d.value.attrs)), {
1151
1151
  default: v(() => [
1152
1152
  d.value.additionalComponent === "KBadge" ? (m(), $("div", {
@@ -1164,7 +1164,7 @@ const ce = {
1164
1164
  ]),
1165
1165
  _: 2
1166
1166
  }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1167
- ], 8, Mo)) : H("", !0),
1167
+ ], 8, $a)) : H("", !0),
1168
1168
  d.value.additionalComponent === "CopyUuid" ? (m(), $("div", {
1169
1169
  key: 1,
1170
1170
  class: "copy-uuid-array",
@@ -1175,7 +1175,7 @@ const ce = {
1175
1175
  "data-testid": `${e.item.key}-copy-uuid-${h}`,
1176
1176
  uuid: K
1177
1177
  }), null, 16, ["data-testid", "uuid"]))), 128))
1178
- ], 8, jo)) : d.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1178
+ ], 8, Ma)) : d.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1179
1179
  key: 2,
1180
1180
  class: "method-badge-array",
1181
1181
  "data-testid": `${e.item.key}-badge-methods`
@@ -1193,7 +1193,7 @@ const ce = {
1193
1193
  ]),
1194
1194
  _: 2
1195
1195
  }, 1032, ["data-testid", "label", "method"]))), 128))
1196
- ], 8, Eo)) : H("", !0),
1196
+ ], 8, ja)) : H("", !0),
1197
1197
  d.value.additionalComponent === "JsonCardItem" ? (m(), $("div", {
1198
1198
  key: 3,
1199
1199
  "data-testid": `${t.item.key}-json-array-content`
@@ -1204,7 +1204,7 @@ const ce = {
1204
1204
  "is-array-item": "",
1205
1205
  item: K
1206
1206
  }, null, 8, ["index", "item"]))), 128))
1207
- ], 8, Oo)) : (m(), R(k, {
1207
+ ], 8, Ea)) : (m(), R(k, {
1208
1208
  key: 4,
1209
1209
  label: y(g) ? e.item.value : ""
1210
1210
  }, {
@@ -1223,46 +1223,46 @@ const ce = {
1223
1223
  ])) : (m(), $("div", {
1224
1224
  key: 0,
1225
1225
  "data-testid": `${e.item.key}-no-value`
1226
- }, " – ", 8, To))
1226
+ }, " – ", 8, Sa))
1227
1227
  ], !0)
1228
- ], 8, So)
1228
+ ], 8, xa)
1229
1229
  ]);
1230
1230
  };
1231
1231
  }
1232
- }), St = /* @__PURE__ */ ke(Fo, [["__scopeId", "data-v-307ab96d"]]);
1232
+ }), St = /* @__PURE__ */ ke(Ka, [["__scopeId", "data-v-307ab96d"]]);
1233
1233
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1234
1234
  function wn(e) {
1235
1235
  return typeof e > "u" || e === null;
1236
1236
  }
1237
- function No(e) {
1237
+ function Fa(e) {
1238
1238
  return typeof e == "object" && e !== null;
1239
1239
  }
1240
- function Bo(e) {
1240
+ function Na(e) {
1241
1241
  return Array.isArray(e) ? e : wn(e) ? [] : [e];
1242
1242
  }
1243
- function qo(e, n) {
1244
- var t, r, o, a;
1243
+ function Ba(e, n) {
1244
+ var t, r, a, o;
1245
1245
  if (n)
1246
- for (a = Object.keys(n), t = 0, r = a.length; t < r; t += 1)
1247
- o = a[t], e[o] = n[o];
1246
+ for (o = Object.keys(n), t = 0, r = o.length; t < r; t += 1)
1247
+ a = o[t], e[a] = n[a];
1248
1248
  return e;
1249
1249
  }
1250
- function Lo(e, n) {
1250
+ function qa(e, n) {
1251
1251
  var t = "", r;
1252
1252
  for (r = 0; r < n; r += 1)
1253
1253
  t += e;
1254
1254
  return t;
1255
1255
  }
1256
- function Po(e) {
1256
+ function La(e) {
1257
1257
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1258
1258
  }
1259
- var Vo = wn, Uo = No, Ro = Bo, Do = Lo, Go = Po, Ho = qo, ue = {
1260
- isNothing: Vo,
1261
- isObject: Uo,
1262
- toArray: Ro,
1263
- repeat: Do,
1264
- isNegativeZero: Go,
1265
- extend: Ho
1259
+ var Pa = wn, Va = Fa, Ua = Na, Ra = qa, Da = La, Ga = Ba, ue = {
1260
+ isNothing: Pa,
1261
+ isObject: Va,
1262
+ toArray: Ua,
1263
+ repeat: Ra,
1264
+ isNegativeZero: Da,
1265
+ extend: Ga
1266
1266
  };
1267
1267
  function In(e, n) {
1268
1268
  var t = "", r = e.reason || "(unknown reason)";
@@ -1279,48 +1279,48 @@ Je.prototype.toString = function(e) {
1279
1279
  return this.name + ": " + In(this, e);
1280
1280
  };
1281
1281
  var me = Je;
1282
- function mt(e, n, t, r, o) {
1283
- var a = "", i = "", s = Math.floor(o / 2) - 1;
1284
- return r - n > s && (a = " ... ", n = r - s + a.length), t - r > s && (i = " ...", t = r + s - i.length), {
1285
- str: a + e.slice(n, t).replace(/\t/g, "→") + i,
1286
- pos: r - n + a.length
1282
+ function mt(e, n, t, r, a) {
1283
+ var o = "", i = "", s = Math.floor(a / 2) - 1;
1284
+ return r - n > s && (o = " ... ", n = r - s + o.length), t - r > s && (i = " ...", t = r + s - i.length), {
1285
+ str: o + e.slice(n, t).replace(/\t/g, "→") + i,
1286
+ pos: r - n + o.length
1287
1287
  // relative position
1288
1288
  };
1289
1289
  }
1290
1290
  function gt(e, n) {
1291
1291
  return ue.repeat(" ", n - e.length) + e;
1292
1292
  }
1293
- function zo(e, n) {
1293
+ function Ha(e, n) {
1294
1294
  if (n = Object.create(n || null), !e.buffer)
1295
1295
  return null;
1296
1296
  n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
1297
- for (var t = /\r?\n|\r|\0/g, r = [0], o = [], a, i = -1; a = t.exec(e.buffer); )
1298
- o.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && i < 0 && (i = r.length - 2);
1297
+ for (var t = /\r?\n|\r|\0/g, r = [0], a = [], o, i = -1; o = t.exec(e.buffer); )
1298
+ a.push(o.index), r.push(o.index + o[0].length), e.position <= o.index && i < 0 && (i = r.length - 2);
1299
1299
  i < 0 && (i = r.length - 1);
1300
- var s = "", l, c, d = Math.min(e.line + n.linesAfter, o.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1300
+ var s = "", l, c, d = Math.min(e.line + n.linesAfter, a.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1301
1301
  for (l = 1; l <= n.linesBefore && !(i - l < 0); l++)
1302
1302
  c = mt(
1303
1303
  e.buffer,
1304
1304
  r[i - l],
1305
- o[i - l],
1305
+ a[i - l],
1306
1306
  e.position - (r[i] - r[i - l]),
1307
1307
  u
1308
1308
  ), s = ue.repeat(" ", n.indent) + gt((e.line - l + 1).toString(), d) + " | " + c.str + `
1309
1309
  ` + s;
1310
- for (c = mt(e.buffer, r[i], o[i], e.position, u), s += ue.repeat(" ", n.indent) + gt((e.line + 1).toString(), d) + " | " + c.str + `
1310
+ for (c = mt(e.buffer, r[i], a[i], e.position, u), s += ue.repeat(" ", n.indent) + gt((e.line + 1).toString(), d) + " | " + c.str + `
1311
1311
  `, s += ue.repeat("-", n.indent + d + 3 + c.pos) + `^
1312
- `, l = 1; l <= n.linesAfter && !(i + l >= o.length); l++)
1312
+ `, l = 1; l <= n.linesAfter && !(i + l >= a.length); l++)
1313
1313
  c = mt(
1314
1314
  e.buffer,
1315
1315
  r[i + l],
1316
- o[i + l],
1316
+ a[i + l],
1317
1317
  e.position - (r[i] - r[i + l]),
1318
1318
  u
1319
1319
  ), s += ue.repeat(" ", n.indent) + gt((e.line + l + 1).toString(), d) + " | " + c.str + `
1320
1320
  `;
1321
1321
  return s.replace(/\n$/, "");
1322
1322
  }
1323
- var Jo = zo, Yo = [
1323
+ var za = Ha, Ja = [
1324
1324
  "kind",
1325
1325
  "multi",
1326
1326
  "resolve",
@@ -1331,12 +1331,12 @@ var Jo = zo, Yo = [
1331
1331
  "representName",
1332
1332
  "defaultStyle",
1333
1333
  "styleAliases"
1334
- ], Wo = [
1334
+ ], Ya = [
1335
1335
  "scalar",
1336
1336
  "sequence",
1337
1337
  "mapping"
1338
1338
  ];
1339
- function Zo(e) {
1339
+ function Wa(e) {
1340
1340
  var n = {};
1341
1341
  return e !== null && Object.keys(e).forEach(function(t) {
1342
1342
  e[t].forEach(function(r) {
@@ -1344,28 +1344,28 @@ function Zo(e) {
1344
1344
  });
1345
1345
  }), n;
1346
1346
  }
1347
- function Qo(e, n) {
1347
+ function Za(e, n) {
1348
1348
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1349
- if (Yo.indexOf(t) === -1)
1349
+ if (Ja.indexOf(t) === -1)
1350
1350
  throw new me('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1351
1351
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1352
1352
  return !0;
1353
1353
  }, this.construct = n.construct || function(t) {
1354
1354
  return t;
1355
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Zo(n.styleAliases || null), Wo.indexOf(this.kind) === -1)
1355
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Wa(n.styleAliases || null), Ya.indexOf(this.kind) === -1)
1356
1356
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1357
1357
  }
1358
- var pe = Qo;
1358
+ var pe = Za;
1359
1359
  function zt(e, n) {
1360
1360
  var t = [];
1361
1361
  return e[n].forEach(function(r) {
1362
- var o = t.length;
1363
- t.forEach(function(a, i) {
1364
- a.tag === r.tag && a.kind === r.kind && a.multi === r.multi && (o = i);
1365
- }), t[o] = r;
1362
+ var a = t.length;
1363
+ t.forEach(function(o, i) {
1364
+ o.tag === r.tag && o.kind === r.kind && o.multi === r.multi && (a = i);
1365
+ }), t[a] = r;
1366
1366
  }), t;
1367
1367
  }
1368
- function Xo() {
1368
+ function Qa() {
1369
1369
  var e = {
1370
1370
  scalar: {},
1371
1371
  sequence: {},
@@ -1378,8 +1378,8 @@ function Xo() {
1378
1378
  fallback: []
1379
1379
  }
1380
1380
  }, n, t;
1381
- function r(o) {
1382
- o.multi ? (e.multi[o.kind].push(o), e.multi.fallback.push(o)) : e[o.kind][o.tag] = e.fallback[o.tag] = o;
1381
+ function r(a) {
1382
+ a.multi ? (e.multi[a.kind].push(a), e.multi.fallback.push(a)) : e[a.kind][a.tag] = e.fallback[a.tag] = a;
1383
1383
  }
1384
1384
  for (n = 0, t = arguments.length; n < t; n += 1)
1385
1385
  arguments[n].forEach(r);
@@ -1398,19 +1398,19 @@ vt.prototype.extend = function(e) {
1398
1398
  e.implicit && (n = n.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1399
1399
  else
1400
1400
  throw new me("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1401
- n.forEach(function(o) {
1402
- if (!(o instanceof pe))
1401
+ n.forEach(function(a) {
1402
+ if (!(a instanceof pe))
1403
1403
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1404
- if (o.loadKind && o.loadKind !== "scalar")
1404
+ if (a.loadKind && a.loadKind !== "scalar")
1405
1405
  throw new me("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1406
- if (o.multi)
1406
+ if (a.multi)
1407
1407
  throw new me("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1408
- }), t.forEach(function(o) {
1409
- if (!(o instanceof pe))
1408
+ }), t.forEach(function(a) {
1409
+ if (!(a instanceof pe))
1410
1410
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1411
1411
  });
1412
1412
  var r = Object.create(vt.prototype);
1413
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = zt(r, "implicit"), r.compiledExplicit = zt(r, "explicit"), r.compiledTypeMap = Xo(r.compiledImplicit, r.compiledExplicit), r;
1413
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = zt(r, "implicit"), r.compiledExplicit = zt(r, "explicit"), r.compiledTypeMap = Qa(r.compiledImplicit, r.compiledExplicit), r;
1414
1414
  };
1415
1415
  var An = vt, xn = new pe("tag:yaml.org,2002:str", {
1416
1416
  kind: "scalar",
@@ -1434,23 +1434,23 @@ var An = vt, xn = new pe("tag:yaml.org,2002:str", {
1434
1434
  Tn
1435
1435
  ]
1436
1436
  });
1437
- function ea(e) {
1437
+ function Xa(e) {
1438
1438
  if (e === null)
1439
1439
  return !0;
1440
1440
  var n = e.length;
1441
1441
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1442
1442
  }
1443
- function ta() {
1443
+ function eo() {
1444
1444
  return null;
1445
1445
  }
1446
- function na(e) {
1446
+ function to(e) {
1447
1447
  return e === null;
1448
1448
  }
1449
1449
  var Mn = new pe("tag:yaml.org,2002:null", {
1450
1450
  kind: "scalar",
1451
- resolve: ea,
1452
- construct: ta,
1453
- predicate: na,
1451
+ resolve: Xa,
1452
+ construct: eo,
1453
+ predicate: to,
1454
1454
  represent: {
1455
1455
  canonical: function() {
1456
1456
  return "~";
@@ -1470,23 +1470,23 @@ var Mn = new pe("tag:yaml.org,2002:null", {
1470
1470
  },
1471
1471
  defaultStyle: "lowercase"
1472
1472
  });
1473
- function ra(e) {
1473
+ function no(e) {
1474
1474
  if (e === null)
1475
1475
  return !1;
1476
1476
  var n = e.length;
1477
1477
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1478
1478
  }
1479
- function oa(e) {
1479
+ function ro(e) {
1480
1480
  return e === "true" || e === "True" || e === "TRUE";
1481
1481
  }
1482
- function aa(e) {
1482
+ function ao(e) {
1483
1483
  return Object.prototype.toString.call(e) === "[object Boolean]";
1484
1484
  }
1485
1485
  var jn = new pe("tag:yaml.org,2002:bool", {
1486
1486
  kind: "scalar",
1487
- resolve: ra,
1488
- construct: oa,
1489
- predicate: aa,
1487
+ resolve: no,
1488
+ construct: ro,
1489
+ predicate: ao,
1490
1490
  represent: {
1491
1491
  lowercase: function(e) {
1492
1492
  return e ? "true" : "false";
@@ -1500,63 +1500,63 @@ var jn = new pe("tag:yaml.org,2002:bool", {
1500
1500
  },
1501
1501
  defaultStyle: "lowercase"
1502
1502
  });
1503
- function ia(e) {
1503
+ function oo(e) {
1504
1504
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1505
1505
  }
1506
- function sa(e) {
1506
+ function io(e) {
1507
1507
  return 48 <= e && e <= 55;
1508
1508
  }
1509
- function la(e) {
1509
+ function so(e) {
1510
1510
  return 48 <= e && e <= 57;
1511
1511
  }
1512
- function ua(e) {
1512
+ function lo(e) {
1513
1513
  if (e === null)
1514
1514
  return !1;
1515
- var n = e.length, t = 0, r = !1, o;
1515
+ var n = e.length, t = 0, r = !1, a;
1516
1516
  if (!n)
1517
1517
  return !1;
1518
- if (o = e[t], (o === "-" || o === "+") && (o = e[++t]), o === "0") {
1518
+ if (a = e[t], (a === "-" || a === "+") && (a = e[++t]), a === "0") {
1519
1519
  if (t + 1 === n)
1520
1520
  return !0;
1521
- if (o = e[++t], o === "b") {
1521
+ if (a = e[++t], a === "b") {
1522
1522
  for (t++; t < n; t++)
1523
- if (o = e[t], o !== "_") {
1524
- if (o !== "0" && o !== "1")
1523
+ if (a = e[t], a !== "_") {
1524
+ if (a !== "0" && a !== "1")
1525
1525
  return !1;
1526
1526
  r = !0;
1527
1527
  }
1528
- return r && o !== "_";
1528
+ return r && a !== "_";
1529
1529
  }
1530
- if (o === "x") {
1530
+ if (a === "x") {
1531
1531
  for (t++; t < n; t++)
1532
- if (o = e[t], o !== "_") {
1533
- if (!ia(e.charCodeAt(t)))
1532
+ if (a = e[t], a !== "_") {
1533
+ if (!oo(e.charCodeAt(t)))
1534
1534
  return !1;
1535
1535
  r = !0;
1536
1536
  }
1537
- return r && o !== "_";
1537
+ return r && a !== "_";
1538
1538
  }
1539
- if (o === "o") {
1539
+ if (a === "o") {
1540
1540
  for (t++; t < n; t++)
1541
- if (o = e[t], o !== "_") {
1542
- if (!sa(e.charCodeAt(t)))
1541
+ if (a = e[t], a !== "_") {
1542
+ if (!io(e.charCodeAt(t)))
1543
1543
  return !1;
1544
1544
  r = !0;
1545
1545
  }
1546
- return r && o !== "_";
1546
+ return r && a !== "_";
1547
1547
  }
1548
1548
  }
1549
- if (o === "_")
1549
+ if (a === "_")
1550
1550
  return !1;
1551
1551
  for (; t < n; t++)
1552
- if (o = e[t], o !== "_") {
1553
- if (!la(e.charCodeAt(t)))
1552
+ if (a = e[t], a !== "_") {
1553
+ if (!so(e.charCodeAt(t)))
1554
1554
  return !1;
1555
1555
  r = !0;
1556
1556
  }
1557
- return !(!r || o === "_");
1557
+ return !(!r || a === "_");
1558
1558
  }
1559
- function ca(e) {
1559
+ function uo(e) {
1560
1560
  var n = e, t = 1, r;
1561
1561
  if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (t = -1), n = n.slice(1), r = n[0]), n === "0")
1562
1562
  return 0;
@@ -1570,14 +1570,14 @@ function ca(e) {
1570
1570
  }
1571
1571
  return t * parseInt(n, 10);
1572
1572
  }
1573
- function da(e) {
1573
+ function co(e) {
1574
1574
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ue.isNegativeZero(e);
1575
1575
  }
1576
1576
  var En = new pe("tag:yaml.org,2002:int", {
1577
1577
  kind: "scalar",
1578
- resolve: ua,
1579
- construct: ca,
1580
- predicate: da,
1578
+ resolve: lo,
1579
+ construct: uo,
1580
+ predicate: co,
1581
1581
  represent: {
1582
1582
  binary: function(e) {
1583
1583
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1600,21 +1600,21 @@ var En = new pe("tag:yaml.org,2002:int", {
1600
1600
  decimal: [10, "dec"],
1601
1601
  hexadecimal: [16, "hex"]
1602
1602
  }
1603
- }), pa = new RegExp(
1603
+ }), po = new RegExp(
1604
1604
  // 2.5e4, 2.5 and integers
1605
1605
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1606
1606
  );
1607
- function fa(e) {
1608
- return !(e === null || !pa.test(e) || // Quick hack to not allow integers end with `_`
1607
+ function fo(e) {
1608
+ return !(e === null || !po.test(e) || // Quick hack to not allow integers end with `_`
1609
1609
  // Probably should update regexp & check speed
1610
1610
  e[e.length - 1] === "_");
1611
1611
  }
1612
- function ma(e) {
1612
+ function mo(e) {
1613
1613
  var n, t;
1614
1614
  return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
1615
1615
  }
1616
- var ga = /^[-+]?[0-9]+e/;
1617
- function ya(e, n) {
1616
+ var go = /^[-+]?[0-9]+e/;
1617
+ function yo(e, n) {
1618
1618
  var t;
1619
1619
  if (isNaN(e))
1620
1620
  switch (n) {
@@ -1645,17 +1645,17 @@ function ya(e, n) {
1645
1645
  }
1646
1646
  else if (ue.isNegativeZero(e))
1647
1647
  return "-0.0";
1648
- return t = e.toString(10), ga.test(t) ? t.replace("e", ".e") : t;
1648
+ return t = e.toString(10), go.test(t) ? t.replace("e", ".e") : t;
1649
1649
  }
1650
- function ha(e) {
1650
+ function ho(e) {
1651
1651
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ue.isNegativeZero(e));
1652
1652
  }
1653
1653
  var On = new pe("tag:yaml.org,2002:float", {
1654
1654
  kind: "scalar",
1655
- resolve: fa,
1656
- construct: ma,
1657
- predicate: ha,
1658
- represent: ya,
1655
+ resolve: fo,
1656
+ construct: mo,
1657
+ predicate: ho,
1658
+ represent: yo,
1659
1659
  defaultStyle: "lowercase"
1660
1660
  }), Kn = $n.extend({
1661
1661
  implicit: [
@@ -1669,144 +1669,144 @@ var On = new pe("tag:yaml.org,2002:float", {
1669
1669
  ), Bn = new RegExp(
1670
1670
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1671
1671
  );
1672
- function va(e) {
1672
+ function vo(e) {
1673
1673
  return e === null ? !1 : Nn.exec(e) !== null || Bn.exec(e) !== null;
1674
1674
  }
1675
- function ba(e) {
1676
- var n, t, r, o, a, i, s, l = 0, c = null, d, u, g;
1675
+ function bo(e) {
1676
+ var n, t, r, a, o, i, s, l = 0, c = null, d, u, g;
1677
1677
  if (n = Nn.exec(e), n === null && (n = Bn.exec(e)), n === null)
1678
1678
  throw new Error("Date resolve error");
1679
- if (t = +n[1], r = +n[2] - 1, o = +n[3], !n[4])
1680
- return new Date(Date.UTC(t, r, o));
1681
- if (a = +n[4], i = +n[5], s = +n[6], n[7]) {
1679
+ if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
1680
+ return new Date(Date.UTC(t, r, a));
1681
+ if (o = +n[4], i = +n[5], s = +n[6], n[7]) {
1682
1682
  for (l = n[7].slice(0, 3); l.length < 3; )
1683
1683
  l += "0";
1684
1684
  l = +l;
1685
1685
  }
1686
- return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), g = new Date(Date.UTC(t, r, o, a, i, s, l)), c && g.setTime(g.getTime() - c), g;
1686
+ return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), g = new Date(Date.UTC(t, r, a, o, i, s, l)), c && g.setTime(g.getTime() - c), g;
1687
1687
  }
1688
- function Ca(e) {
1688
+ function Co(e) {
1689
1689
  return e.toISOString();
1690
1690
  }
1691
1691
  var qn = new pe("tag:yaml.org,2002:timestamp", {
1692
1692
  kind: "scalar",
1693
- resolve: va,
1694
- construct: ba,
1693
+ resolve: vo,
1694
+ construct: bo,
1695
1695
  instanceOf: Date,
1696
- represent: Ca
1696
+ represent: Co
1697
1697
  });
1698
- function ka(e) {
1698
+ function ko(e) {
1699
1699
  return e === "<<" || e === null;
1700
1700
  }
1701
1701
  var Ln = new pe("tag:yaml.org,2002:merge", {
1702
1702
  kind: "scalar",
1703
- resolve: ka
1703
+ resolve: ko
1704
1704
  }), Tt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1705
1705
  \r`;
1706
- function _a(e) {
1706
+ function _o(e) {
1707
1707
  if (e === null)
1708
1708
  return !1;
1709
- var n, t, r = 0, o = e.length, a = Tt;
1710
- for (t = 0; t < o; t++)
1711
- if (n = a.indexOf(e.charAt(t)), !(n > 64)) {
1709
+ var n, t, r = 0, a = e.length, o = Tt;
1710
+ for (t = 0; t < a; t++)
1711
+ if (n = o.indexOf(e.charAt(t)), !(n > 64)) {
1712
1712
  if (n < 0)
1713
1713
  return !1;
1714
1714
  r += 6;
1715
1715
  }
1716
1716
  return r % 8 === 0;
1717
1717
  }
1718
- function wa(e) {
1719
- var n, t, r = e.replace(/[\r\n=]/g, ""), o = r.length, a = Tt, i = 0, s = [];
1720
- for (n = 0; n < o; n++)
1721
- n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | a.indexOf(r.charAt(n));
1722
- return t = o % 4 * 6, t === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : t === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : t === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1718
+ function wo(e) {
1719
+ var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, o = Tt, i = 0, s = [];
1720
+ for (n = 0; n < a; n++)
1721
+ n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | o.indexOf(r.charAt(n));
1722
+ return t = a % 4 * 6, t === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : t === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : t === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1723
1723
  }
1724
- function Ia(e) {
1725
- var n = "", t = 0, r, o, a = e.length, i = Tt;
1726
- for (r = 0; r < a; r++)
1724
+ function Io(e) {
1725
+ var n = "", t = 0, r, a, o = e.length, i = Tt;
1726
+ for (r = 0; r < o; r++)
1727
1727
  r % 3 === 0 && r && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[r];
1728
- return o = a % 3, o === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : o === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : o === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1728
+ return a = o % 3, a === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : a === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : a === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1729
1729
  }
1730
- function Aa(e) {
1730
+ function Ao(e) {
1731
1731
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1732
1732
  }
1733
1733
  var Pn = new pe("tag:yaml.org,2002:binary", {
1734
1734
  kind: "scalar",
1735
- resolve: _a,
1736
- construct: wa,
1737
- predicate: Aa,
1738
- represent: Ia
1739
- }), xa = Object.prototype.hasOwnProperty, Sa = Object.prototype.toString;
1740
- function Ta(e) {
1735
+ resolve: _o,
1736
+ construct: wo,
1737
+ predicate: Ao,
1738
+ represent: Io
1739
+ }), xo = Object.prototype.hasOwnProperty, So = Object.prototype.toString;
1740
+ function To(e) {
1741
1741
  if (e === null)
1742
1742
  return !0;
1743
- var n = [], t, r, o, a, i, s = e;
1743
+ var n = [], t, r, a, o, i, s = e;
1744
1744
  for (t = 0, r = s.length; t < r; t += 1) {
1745
- if (o = s[t], i = !1, Sa.call(o) !== "[object Object]")
1745
+ if (a = s[t], i = !1, So.call(a) !== "[object Object]")
1746
1746
  return !1;
1747
- for (a in o)
1748
- if (xa.call(o, a))
1747
+ for (o in a)
1748
+ if (xo.call(a, o))
1749
1749
  if (!i)
1750
1750
  i = !0;
1751
1751
  else
1752
1752
  return !1;
1753
1753
  if (!i)
1754
1754
  return !1;
1755
- if (n.indexOf(a) === -1)
1756
- n.push(a);
1755
+ if (n.indexOf(o) === -1)
1756
+ n.push(o);
1757
1757
  else
1758
1758
  return !1;
1759
1759
  }
1760
1760
  return !0;
1761
1761
  }
1762
- function $a(e) {
1762
+ function $o(e) {
1763
1763
  return e !== null ? e : [];
1764
1764
  }
1765
1765
  var Vn = new pe("tag:yaml.org,2002:omap", {
1766
1766
  kind: "sequence",
1767
- resolve: Ta,
1768
- construct: $a
1769
- }), Ma = Object.prototype.toString;
1770
- function ja(e) {
1767
+ resolve: To,
1768
+ construct: $o
1769
+ }), Mo = Object.prototype.toString;
1770
+ function jo(e) {
1771
1771
  if (e === null)
1772
1772
  return !0;
1773
- var n, t, r, o, a, i = e;
1774
- for (a = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1775
- if (r = i[n], Ma.call(r) !== "[object Object]" || (o = Object.keys(r), o.length !== 1))
1773
+ var n, t, r, a, o, i = e;
1774
+ for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1775
+ if (r = i[n], Mo.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1776
1776
  return !1;
1777
- a[n] = [o[0], r[o[0]]];
1777
+ o[n] = [a[0], r[a[0]]];
1778
1778
  }
1779
1779
  return !0;
1780
1780
  }
1781
- function Ea(e) {
1781
+ function Eo(e) {
1782
1782
  if (e === null)
1783
1783
  return [];
1784
- var n, t, r, o, a, i = e;
1785
- for (a = new Array(i.length), n = 0, t = i.length; n < t; n += 1)
1786
- r = i[n], o = Object.keys(r), a[n] = [o[0], r[o[0]]];
1787
- return a;
1784
+ var n, t, r, a, o, i = e;
1785
+ for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1)
1786
+ r = i[n], a = Object.keys(r), o[n] = [a[0], r[a[0]]];
1787
+ return o;
1788
1788
  }
1789
1789
  var Un = new pe("tag:yaml.org,2002:pairs", {
1790
1790
  kind: "sequence",
1791
- resolve: ja,
1792
- construct: Ea
1793
- }), Oa = Object.prototype.hasOwnProperty;
1794
- function Ka(e) {
1791
+ resolve: jo,
1792
+ construct: Eo
1793
+ }), Oo = Object.prototype.hasOwnProperty;
1794
+ function Ko(e) {
1795
1795
  if (e === null)
1796
1796
  return !0;
1797
1797
  var n, t = e;
1798
1798
  for (n in t)
1799
- if (Oa.call(t, n) && t[n] !== null)
1799
+ if (Oo.call(t, n) && t[n] !== null)
1800
1800
  return !1;
1801
1801
  return !0;
1802
1802
  }
1803
- function Fa(e) {
1803
+ function Fo(e) {
1804
1804
  return e !== null ? e : {};
1805
1805
  }
1806
1806
  var Rn = new pe("tag:yaml.org,2002:set", {
1807
1807
  kind: "mapping",
1808
- resolve: Ka,
1809
- construct: Fa
1808
+ resolve: Ko,
1809
+ construct: Fo
1810
1810
  }), $t = Fn.extend({
1811
1811
  implicit: [
1812
1812
  qn,
@@ -1818,7 +1818,7 @@ var Rn = new pe("tag:yaml.org,2002:set", {
1818
1818
  Un,
1819
1819
  Rn
1820
1820
  ]
1821
- }), je = Object.prototype.hasOwnProperty, rt = 1, Dn = 2, Gn = 3, ot = 4, yt = 1, Na = 2, Jt = 3, Ba = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, qa = /[\x85\u2028\u2029]/, La = /[,\[\]\{\}]/, Hn = /^(?:!|!!|![a-z\-]+!)$/i, zn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1821
+ }), je = Object.prototype.hasOwnProperty, rt = 1, Dn = 2, Gn = 3, at = 4, yt = 1, No = 2, Jt = 3, Bo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, qo = /[\x85\u2028\u2029]/, Lo = /[,\[\]\{\}]/, Hn = /^(?:!|!!|![a-z\-]+!)$/i, zn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1822
1822
  function Yt(e) {
1823
1823
  return Object.prototype.toString.call(e);
1824
1824
  }
@@ -1834,21 +1834,21 @@ function ve(e) {
1834
1834
  function Pe(e) {
1835
1835
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1836
1836
  }
1837
- function Pa(e) {
1837
+ function Po(e) {
1838
1838
  var n;
1839
1839
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1840
1840
  }
1841
- function Va(e) {
1841
+ function Vo(e) {
1842
1842
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1843
1843
  }
1844
- function Ua(e) {
1844
+ function Uo(e) {
1845
1845
  return 48 <= e && e <= 57 ? e - 48 : -1;
1846
1846
  }
1847
1847
  function Wt(e) {
1848
1848
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1849
1849
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1850
1850
  }
1851
- function Ra(e) {
1851
+ function Ro(e) {
1852
1852
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1853
1853
  (e - 65536 >> 10) + 55296,
1854
1854
  (e - 65536 & 1023) + 56320
@@ -1857,7 +1857,7 @@ function Ra(e) {
1857
1857
  var Jn = new Array(256), Yn = new Array(256);
1858
1858
  for (var qe = 0; qe < 256; qe++)
1859
1859
  Jn[qe] = Wt(qe) ? 1 : 0, Yn[qe] = Wt(qe);
1860
- function Da(e, n) {
1860
+ function Do(e, n) {
1861
1861
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1862
1862
  }
1863
1863
  function Wn(e, n) {
@@ -1869,64 +1869,64 @@ function Wn(e, n) {
1869
1869
  line: e.line,
1870
1870
  column: e.position - e.lineStart
1871
1871
  };
1872
- return t.snippet = Jo(t), new me(n, t);
1872
+ return t.snippet = za(t), new me(n, t);
1873
1873
  }
1874
1874
  function M(e, n) {
1875
1875
  throw Wn(e, n);
1876
1876
  }
1877
- function at(e, n) {
1877
+ function ot(e, n) {
1878
1878
  e.onWarning && e.onWarning.call(null, Wn(e, n));
1879
1879
  }
1880
1880
  var Zt = {
1881
1881
  YAML: function(e, n, t) {
1882
- var r, o, a;
1883
- e.version !== null && M(e, "duplication of %YAML directive"), t.length !== 1 && M(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && M(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && M(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && at(e, "unsupported YAML version of the document");
1882
+ var r, a, o;
1883
+ e.version !== null && M(e, "duplication of %YAML directive"), t.length !== 1 && M(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && M(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), o = parseInt(r[2], 10), a !== 1 && M(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && ot(e, "unsupported YAML version of the document");
1884
1884
  },
1885
1885
  TAG: function(e, n, t) {
1886
- var r, o;
1887
- t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], Hn.test(r) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && M(e, 'there is a previously declared suffix for "' + r + '" tag handle'), zn.test(o) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1886
+ var r, a;
1887
+ t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Hn.test(r) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && M(e, 'there is a previously declared suffix for "' + r + '" tag handle'), zn.test(a) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1888
1888
  try {
1889
- o = decodeURIComponent(o);
1889
+ a = decodeURIComponent(a);
1890
1890
  } catch {
1891
- M(e, "tag prefix is malformed: " + o);
1891
+ M(e, "tag prefix is malformed: " + a);
1892
1892
  }
1893
- e.tagMap[r] = o;
1893
+ e.tagMap[r] = a;
1894
1894
  }
1895
1895
  };
1896
1896
  function Me(e, n, t, r) {
1897
- var o, a, i, s;
1897
+ var a, o, i, s;
1898
1898
  if (n < t) {
1899
1899
  if (s = e.input.slice(n, t), r)
1900
- for (o = 0, a = s.length; o < a; o += 1)
1901
- i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || M(e, "expected valid JSON character");
1900
+ for (a = 0, o = s.length; a < o; a += 1)
1901
+ i = s.charCodeAt(a), i === 9 || 32 <= i && i <= 1114111 || M(e, "expected valid JSON character");
1902
1902
  else
1903
- Ba.test(s) && M(e, "the stream contains non-printable characters");
1903
+ Bo.test(s) && M(e, "the stream contains non-printable characters");
1904
1904
  e.result += s;
1905
1905
  }
1906
1906
  }
1907
1907
  function Qt(e, n, t, r) {
1908
- var o, a, i, s;
1909
- for (ue.isObject(t) || M(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1910
- a = o[i], je.call(n, a) || (n[a] = t[a], r[a] = !0);
1908
+ var a, o, i, s;
1909
+ for (ue.isObject(t) || M(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), i = 0, s = a.length; i < s; i += 1)
1910
+ o = a[i], je.call(n, o) || (n[o] = t[o], r[o] = !0);
1911
1911
  }
1912
- function Ve(e, n, t, r, o, a, i, s, l) {
1912
+ function Ve(e, n, t, r, a, o, i, s, l) {
1913
1913
  var c, d;
1914
- if (Array.isArray(o))
1915
- for (o = Array.prototype.slice.call(o), c = 0, d = o.length; c < d; c += 1)
1916
- Array.isArray(o[c]) && M(e, "nested arrays are not supported inside keys"), typeof o == "object" && Yt(o[c]) === "[object Object]" && (o[c] = "[object Object]");
1917
- if (typeof o == "object" && Yt(o) === "[object Object]" && (o = "[object Object]"), o = String(o), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1918
- if (Array.isArray(a))
1919
- for (c = 0, d = a.length; c < d; c += 1)
1920
- Qt(e, n, a[c], t);
1914
+ if (Array.isArray(a))
1915
+ for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
1916
+ Array.isArray(a[c]) && M(e, "nested arrays are not supported inside keys"), typeof a == "object" && Yt(a[c]) === "[object Object]" && (a[c] = "[object Object]");
1917
+ if (typeof a == "object" && Yt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1918
+ if (Array.isArray(o))
1919
+ for (c = 0, d = o.length; c < d; c += 1)
1920
+ Qt(e, n, o[c], t);
1921
1921
  else
1922
- Qt(e, n, a, t);
1922
+ Qt(e, n, o, t);
1923
1923
  else
1924
- !e.json && !je.call(t, o) && je.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, M(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1924
+ !e.json && !je.call(t, a) && je.call(n, a) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, M(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1925
1925
  configurable: !0,
1926
1926
  enumerable: !0,
1927
1927
  writable: !0,
1928
- value: a
1929
- }) : n[o] = a, delete t[o];
1928
+ value: o
1929
+ }) : n[a] = o, delete t[a];
1930
1930
  return n;
1931
1931
  }
1932
1932
  function Mt(e) {
@@ -1934,20 +1934,20 @@ function Mt(e) {
1934
1934
  n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : M(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1935
1935
  }
1936
1936
  function ie(e, n, t) {
1937
- for (var r = 0, o = e.input.charCodeAt(e.position); o !== 0; ) {
1938
- for (; Ke(o); )
1939
- o === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), o = e.input.charCodeAt(++e.position);
1940
- if (n && o === 35)
1937
+ for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1938
+ for (; Ke(a); )
1939
+ a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1940
+ if (n && a === 35)
1941
1941
  do
1942
- o = e.input.charCodeAt(++e.position);
1943
- while (o !== 10 && o !== 13 && o !== 0);
1944
- if (we(o))
1945
- for (Mt(e), o = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; o === 32; )
1946
- e.lineIndent++, o = e.input.charCodeAt(++e.position);
1942
+ a = e.input.charCodeAt(++e.position);
1943
+ while (a !== 10 && a !== 13 && a !== 0);
1944
+ if (we(a))
1945
+ for (Mt(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1946
+ e.lineIndent++, a = e.input.charCodeAt(++e.position);
1947
1947
  else
1948
1948
  break;
1949
1949
  }
1950
- return t !== -1 && r !== 0 && e.lineIndent < t && at(e, "deficient indentation"), r;
1950
+ return t !== -1 && r !== 0 && e.lineIndent < t && ot(e, "deficient indentation"), r;
1951
1951
  }
1952
1952
  function dt(e) {
1953
1953
  var n = e.position, t;
@@ -1957,13 +1957,13 @@ function jt(e, n) {
1957
1957
  n === 1 ? e.result += " " : n > 1 && (e.result += ue.repeat(`
1958
1958
  `, n - 1));
1959
1959
  }
1960
- function Ga(e, n, t) {
1961
- var r, o, a, i, s, l, c, d, u = e.kind, g = e.result, f;
1962
- if (f = e.input.charCodeAt(e.position), ve(f) || Pe(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (o = e.input.charCodeAt(e.position + 1), ve(o) || t && Pe(o)))
1960
+ function Go(e, n, t) {
1961
+ var r, a, o, i, s, l, c, d, u = e.kind, g = e.result, f;
1962
+ if (f = e.input.charCodeAt(e.position), ve(f) || Pe(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (a = e.input.charCodeAt(e.position + 1), ve(a) || t && Pe(a)))
1963
1963
  return !1;
1964
- for (e.kind = "scalar", e.result = "", a = i = e.position, s = !1; f !== 0; ) {
1964
+ for (e.kind = "scalar", e.result = "", o = i = e.position, s = !1; f !== 0; ) {
1965
1965
  if (f === 58) {
1966
- if (o = e.input.charCodeAt(e.position + 1), ve(o) || t && Pe(o))
1966
+ if (a = e.input.charCodeAt(e.position + 1), ve(a) || t && Pe(a))
1967
1967
  break;
1968
1968
  } else if (f === 35) {
1969
1969
  if (r = e.input.charCodeAt(e.position - 1), ve(r))
@@ -1980,26 +1980,26 @@ function Ga(e, n, t) {
1980
1980
  break;
1981
1981
  }
1982
1982
  }
1983
- s && (Me(e, a, i, !1), jt(e, e.line - l), a = i = e.position, s = !1), Ke(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1983
+ s && (Me(e, o, i, !1), jt(e, e.line - l), o = i = e.position, s = !1), Ke(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1984
1984
  }
1985
- return Me(e, a, i, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1985
+ return Me(e, o, i, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1986
1986
  }
1987
- function Ha(e, n) {
1988
- var t, r, o;
1987
+ function Ho(e, n) {
1988
+ var t, r, a;
1989
1989
  if (t = e.input.charCodeAt(e.position), t !== 39)
1990
1990
  return !1;
1991
- for (e.kind = "scalar", e.result = "", e.position++, r = o = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1991
+ for (e.kind = "scalar", e.result = "", e.position++, r = a = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1992
1992
  if (t === 39)
1993
1993
  if (Me(e, r, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1994
- r = e.position, e.position++, o = e.position;
1994
+ r = e.position, e.position++, a = e.position;
1995
1995
  else
1996
1996
  return !0;
1997
1997
  else
1998
- we(t) ? (Me(e, r, o, !0), jt(e, ie(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? M(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1998
+ we(t) ? (Me(e, r, a, !0), jt(e, ie(e, !1, n)), r = a = e.position) : e.position === e.lineStart && dt(e) ? M(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1999
1999
  M(e, "unexpected end of the stream within a single quoted scalar");
2000
2000
  }
2001
- function za(e, n) {
2002
- var t, r, o, a, i, s;
2001
+ function zo(e, n) {
2002
+ var t, r, a, o, i, s;
2003
2003
  if (s = e.input.charCodeAt(e.position), s !== 34)
2004
2004
  return !1;
2005
2005
  for (e.kind = "scalar", e.result = "", e.position++, t = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
@@ -2010,10 +2010,10 @@ function za(e, n) {
2010
2010
  ie(e, !1, n);
2011
2011
  else if (s < 256 && Jn[s])
2012
2012
  e.result += Yn[s], e.position++;
2013
- else if ((i = Va(s)) > 0) {
2014
- for (o = i, a = 0; o > 0; o--)
2015
- s = e.input.charCodeAt(++e.position), (i = Pa(s)) >= 0 ? a = (a << 4) + i : M(e, "expected hexadecimal character");
2016
- e.result += Ra(a), e.position++;
2013
+ else if ((i = Vo(s)) > 0) {
2014
+ for (a = i, o = 0; a > 0; a--)
2015
+ s = e.input.charCodeAt(++e.position), (i = Po(s)) >= 0 ? o = (o << 4) + i : M(e, "expected hexadecimal character");
2016
+ e.result += Ro(o), e.position++;
2017
2017
  } else
2018
2018
  M(e, "unknown escape sequence");
2019
2019
  t = r = e.position;
@@ -2022,8 +2022,8 @@ function za(e, n) {
2022
2022
  }
2023
2023
  M(e, "unexpected end of the stream within a double quoted scalar");
2024
2024
  }
2025
- function Ja(e, n) {
2026
- var t = !0, r, o, a, i = e.tag, s, l = e.anchor, c, d, u, g, f, I = /* @__PURE__ */ Object.create(null), b, p, A, k;
2025
+ function Jo(e, n) {
2026
+ var t = !0, r, a, o, i = e.tag, s, l = e.anchor, c, d, u, g, f, I = /* @__PURE__ */ Object.create(null), b, p, A, k;
2027
2027
  if (k = e.input.charCodeAt(e.position), k === 91)
2028
2028
  d = 93, f = !1, s = [];
2029
2029
  else if (k === 123)
@@ -2033,12 +2033,12 @@ function Ja(e, n) {
2033
2033
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), k = e.input.charCodeAt(++e.position); k !== 0; ) {
2034
2034
  if (ie(e, !0, n), k = e.input.charCodeAt(e.position), k === d)
2035
2035
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2036
- t ? k === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), p = b = A = null, u = g = !1, k === 63 && (c = e.input.charCodeAt(e.position + 1), ve(c) && (u = g = !0, e.position++, ie(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Re(e, n, rt, !1, !0), p = e.tag, b = e.result, ie(e, !0, n), k = e.input.charCodeAt(e.position), (g || e.line === r) && k === 58 && (u = !0, k = e.input.charCodeAt(++e.position), ie(e, !0, n), Re(e, n, rt, !1, !0), A = e.result), f ? Ve(e, s, I, p, b, A, r, o, a) : u ? s.push(Ve(e, null, I, p, b, A, r, o, a)) : s.push(b), ie(e, !0, n), k = e.input.charCodeAt(e.position), k === 44 ? (t = !0, k = e.input.charCodeAt(++e.position)) : t = !1;
2036
+ t ? k === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), p = b = A = null, u = g = !1, k === 63 && (c = e.input.charCodeAt(e.position + 1), ve(c) && (u = g = !0, e.position++, ie(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, Re(e, n, rt, !1, !0), p = e.tag, b = e.result, ie(e, !0, n), k = e.input.charCodeAt(e.position), (g || e.line === r) && k === 58 && (u = !0, k = e.input.charCodeAt(++e.position), ie(e, !0, n), Re(e, n, rt, !1, !0), A = e.result), f ? Ve(e, s, I, p, b, A, r, a, o) : u ? s.push(Ve(e, null, I, p, b, A, r, a, o)) : s.push(b), ie(e, !0, n), k = e.input.charCodeAt(e.position), k === 44 ? (t = !0, k = e.input.charCodeAt(++e.position)) : t = !1;
2037
2037
  }
2038
2038
  M(e, "unexpected end of the stream within a flow collection");
2039
2039
  }
2040
- function Ya(e, n) {
2041
- var t, r, o = yt, a = !1, i = !1, s = n, l = 0, c = !1, d, u;
2040
+ function Yo(e, n) {
2041
+ var t, r, a = yt, o = !1, i = !1, s = n, l = 0, c = !1, d, u;
2042
2042
  if (u = e.input.charCodeAt(e.position), u === 124)
2043
2043
  r = !1;
2044
2044
  else if (u === 62)
@@ -2047,8 +2047,8 @@ function Ya(e, n) {
2047
2047
  return !1;
2048
2048
  for (e.kind = "scalar", e.result = ""; u !== 0; )
2049
2049
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
2050
- yt === o ? o = u === 43 ? Jt : Na : M(e, "repeat of a chomping mode identifier");
2051
- else if ((d = Ua(u)) >= 0)
2050
+ yt === a ? a = u === 43 ? Jt : No : M(e, "repeat of a chomping mode identifier");
2051
+ else if ((d = Uo(u)) >= 0)
2052
2052
  d === 0 ? M(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? M(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2053
2053
  else
2054
2054
  break;
@@ -2069,52 +2069,52 @@ function Ya(e, n) {
2069
2069
  continue;
2070
2070
  }
2071
2071
  if (e.lineIndent < s) {
2072
- o === Jt ? e.result += ue.repeat(`
2073
- `, a ? 1 + l : l) : o === yt && a && (e.result += `
2072
+ a === Jt ? e.result += ue.repeat(`
2073
+ `, o ? 1 + l : l) : a === yt && o && (e.result += `
2074
2074
  `);
2075
2075
  break;
2076
2076
  }
2077
2077
  for (r ? Ke(u) ? (c = !0, e.result += ue.repeat(`
2078
- `, a ? 1 + l : l)) : c ? (c = !1, e.result += ue.repeat(`
2079
- `, l + 1)) : l === 0 ? a && (e.result += " ") : e.result += ue.repeat(`
2078
+ `, o ? 1 + l : l)) : c ? (c = !1, e.result += ue.repeat(`
2079
+ `, l + 1)) : l === 0 ? o && (e.result += " ") : e.result += ue.repeat(`
2080
2080
  `, l) : e.result += ue.repeat(`
2081
- `, a ? 1 + l : l), a = !0, i = !0, l = 0, t = e.position; !we(u) && u !== 0; )
2081
+ `, o ? 1 + l : l), o = !0, i = !0, l = 0, t = e.position; !we(u) && u !== 0; )
2082
2082
  u = e.input.charCodeAt(++e.position);
2083
2083
  Me(e, t, e.position, !1);
2084
2084
  }
2085
2085
  return !0;
2086
2086
  }
2087
2087
  function Xt(e, n) {
2088
- var t, r = e.tag, o = e.anchor, a = [], i, s = !1, l;
2088
+ var t, r = e.tag, a = e.anchor, o = [], i, s = !1, l;
2089
2089
  if (e.firstTabInLine !== -1)
2090
2090
  return !1;
2091
- for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !ve(i)))); ) {
2091
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !ve(i)))); ) {
2092
2092
  if (s = !0, e.position++, ie(e, !0, -1) && e.lineIndent <= n) {
2093
- a.push(null), l = e.input.charCodeAt(e.position);
2093
+ o.push(null), l = e.input.charCodeAt(e.position);
2094
2094
  continue;
2095
2095
  }
2096
- if (t = e.line, Re(e, n, Gn, !1, !0), a.push(e.result), ie(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2096
+ if (t = e.line, Re(e, n, Gn, !1, !0), o.push(e.result), ie(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2097
2097
  M(e, "bad indentation of a sequence entry");
2098
2098
  else if (e.lineIndent < n)
2099
2099
  break;
2100
2100
  }
2101
- return s ? (e.tag = r, e.anchor = o, e.kind = "sequence", e.result = a, !0) : !1;
2101
+ return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = o, !0) : !1;
2102
2102
  }
2103
- function Wa(e, n, t) {
2104
- var r, o, a, i, s, l, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, I = null, b = null, p = !1, A = !1, k;
2103
+ function Wo(e, n, t) {
2104
+ var r, a, o, i, s, l, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, I = null, b = null, p = !1, A = !1, k;
2105
2105
  if (e.firstTabInLine !== -1)
2106
2106
  return !1;
2107
2107
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), k = e.input.charCodeAt(e.position); k !== 0; ) {
2108
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (k === 63 || k === 58) && ve(r))
2109
- k === 63 ? (p && (Ve(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, k = r;
2108
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (k === 63 || k === 58) && ve(r))
2109
+ k === 63 ? (p && (Ve(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !0, a = !0) : p ? (p = !1, a = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, k = r;
2110
2110
  else {
2111
2111
  if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Dn, !1, !0))
2112
2112
  break;
2113
- if (e.line === a) {
2113
+ if (e.line === o) {
2114
2114
  for (k = e.input.charCodeAt(e.position); Ke(k); )
2115
2115
  k = e.input.charCodeAt(++e.position);
2116
2116
  if (k === 58)
2117
- k = e.input.charCodeAt(++e.position), ve(k) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ve(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !1, o = !1, f = e.tag, I = e.result;
2117
+ k = e.input.charCodeAt(++e.position), ve(k) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ve(e, u, g, f, I, null, i, s, l), f = I = b = null), A = !0, p = !1, a = !1, f = e.tag, I = e.result;
2118
2118
  else if (A)
2119
2119
  M(e, "can not read an implicit mapping pair; a colon is missed");
2120
2120
  else
@@ -2124,36 +2124,36 @@ function Wa(e, n, t) {
2124
2124
  else
2125
2125
  return e.tag = c, e.anchor = d, !0;
2126
2126
  }
2127
- if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, ot, !0, o) && (p ? I = e.result : b = e.result), p || (Ve(e, u, g, f, I, b, i, s, l), f = I = b = null), ie(e, !0, -1), k = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && k !== 0)
2127
+ if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, a) && (p ? I = e.result : b = e.result), p || (Ve(e, u, g, f, I, b, i, s, l), f = I = b = null), ie(e, !0, -1), k = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && k !== 0)
2128
2128
  M(e, "bad indentation of a mapping entry");
2129
2129
  else if (e.lineIndent < n)
2130
2130
  break;
2131
2131
  }
2132
2132
  return p && Ve(e, u, g, f, I, null, i, s, l), A && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), A;
2133
2133
  }
2134
- function Za(e) {
2135
- var n, t = !1, r = !1, o, a, i;
2134
+ function Zo(e) {
2135
+ var n, t = !1, r = !1, a, o, i;
2136
2136
  if (i = e.input.charCodeAt(e.position), i !== 33)
2137
2137
  return !1;
2138
- if (e.tag !== null && M(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, o = "!!", i = e.input.charCodeAt(++e.position)) : o = "!", n = e.position, t) {
2138
+ if (e.tag !== null && M(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, a = "!!", i = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
2139
2139
  do
2140
2140
  i = e.input.charCodeAt(++e.position);
2141
2141
  while (i !== 0 && i !== 62);
2142
- e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : M(e, "unexpected end of the stream within a verbatim tag");
2142
+ e.position < e.length ? (o = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : M(e, "unexpected end of the stream within a verbatim tag");
2143
2143
  } else {
2144
2144
  for (; i !== 0 && !ve(i); )
2145
- i === 33 && (r ? M(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), Hn.test(o) || M(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2146
- a = e.input.slice(n, e.position), La.test(a) && M(e, "tag suffix cannot contain flow indicator characters");
2145
+ i === 33 && (r ? M(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Hn.test(a) || M(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2146
+ o = e.input.slice(n, e.position), Lo.test(o) && M(e, "tag suffix cannot contain flow indicator characters");
2147
2147
  }
2148
- a && !zn.test(a) && M(e, "tag name cannot contain such characters: " + a);
2148
+ o && !zn.test(o) && M(e, "tag name cannot contain such characters: " + o);
2149
2149
  try {
2150
- a = decodeURIComponent(a);
2150
+ o = decodeURIComponent(o);
2151
2151
  } catch {
2152
- M(e, "tag name is malformed: " + a);
2152
+ M(e, "tag name is malformed: " + o);
2153
2153
  }
2154
- return t ? e.tag = a : je.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : M(e, 'undeclared tag handle "' + o + '"'), !0;
2154
+ return t ? e.tag = o : je.call(e.tagMap, a) ? e.tag = e.tagMap[a] + o : a === "!" ? e.tag = "!" + o : a === "!!" ? e.tag = "tag:yaml.org,2002:" + o : M(e, 'undeclared tag handle "' + a + '"'), !0;
2155
2155
  }
2156
- function Qa(e) {
2156
+ function Qo(e) {
2157
2157
  var n, t;
2158
2158
  if (t = e.input.charCodeAt(e.position), t !== 38)
2159
2159
  return !1;
@@ -2161,7 +2161,7 @@ function Qa(e) {
2161
2161
  t = e.input.charCodeAt(++e.position);
2162
2162
  return e.position === n && M(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2163
2163
  }
2164
- function Xa(e) {
2164
+ function Xo(e) {
2165
2165
  var n, t, r;
2166
2166
  if (r = e.input.charCodeAt(e.position), r !== 42)
2167
2167
  return !1;
@@ -2169,12 +2169,12 @@ function Xa(e) {
2169
2169
  r = e.input.charCodeAt(++e.position);
2170
2170
  return e.position === n && M(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || M(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ie(e, !0, -1), !0;
2171
2171
  }
2172
- function Re(e, n, t, r, o) {
2173
- var a, i, s, l = 1, c = !1, d = !1, u, g, f, I, b, p;
2174
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = i = s = ot === t || Gn === t, r && ie(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2175
- for (; Za(e) || Qa(e); )
2176
- ie(e, !0, -1) ? (c = !0, s = a, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2177
- if (s && (s = c || o), (l === 1 || ot === t) && (rt === t || Dn === t ? b = n : b = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Xt(e, p) || Wa(e, p, b)) || Ja(e, b) ? d = !0 : (i && Ya(e, b) || Ha(e, b) || za(e, b) ? d = !0 : Xa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Ga(e, b, rt === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Xt(e, p))), e.tag === null)
2172
+ function Re(e, n, t, r, a) {
2173
+ var o, i, s, l = 1, c = !1, d = !1, u, g, f, I, b, p;
2174
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = at === t || Gn === t, r && ie(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2175
+ for (; Zo(e) || Qo(e); )
2176
+ ie(e, !0, -1) ? (c = !0, s = o, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2177
+ if (s && (s = c || a), (l === 1 || at === t) && (rt === t || Dn === t ? b = n : b = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Xt(e, p) || Wo(e, p, b)) || Jo(e, b) ? d = !0 : (i && Yo(e, b) || Ho(e, b) || zo(e, b) ? d = !0 : Xo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Go(e, b, rt === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Xt(e, p))), e.tag === null)
2178
2178
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2179
2179
  else if (e.tag === "?") {
2180
2180
  for (e.result !== null && e.kind !== "scalar" && M(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
@@ -2196,11 +2196,11 @@ function Re(e, n, t, r, o) {
2196
2196
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2197
2197
  }
2198
2198
  function ei(e) {
2199
- var n = e.position, t, r, o, a = !1, i;
2199
+ var n = e.position, t, r, a, o = !1, i;
2200
2200
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (ie(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2201
- for (a = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !ve(i); )
2201
+ for (o = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !ve(i); )
2202
2202
  i = e.input.charCodeAt(++e.position);
2203
- for (r = e.input.slice(t, e.position), o = [], r.length < 1 && M(e, "directive name must not be less than one character in length"); i !== 0; ) {
2203
+ for (r = e.input.slice(t, e.position), a = [], r.length < 1 && M(e, "directive name must not be less than one character in length"); i !== 0; ) {
2204
2204
  for (; Ke(i); )
2205
2205
  i = e.input.charCodeAt(++e.position);
2206
2206
  if (i === 35) {
@@ -2213,11 +2213,11 @@ function ei(e) {
2213
2213
  break;
2214
2214
  for (t = e.position; i !== 0 && !ve(i); )
2215
2215
  i = e.input.charCodeAt(++e.position);
2216
- o.push(e.input.slice(t, e.position));
2216
+ a.push(e.input.slice(t, e.position));
2217
2217
  }
2218
- i !== 0 && Mt(e), je.call(Zt, r) ? Zt[r](e, r, o) : at(e, 'unknown document directive "' + r + '"');
2218
+ i !== 0 && Mt(e), je.call(Zt, r) ? Zt[r](e, r, a) : ot(e, 'unknown document directive "' + r + '"');
2219
2219
  }
2220
- if (ie(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ie(e, !0, -1)) : a && M(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, ot, !1, !0), ie(e, !0, -1), e.checkLineBreaks && qa.test(e.input.slice(n, e.position)) && at(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2220
+ if (ie(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ie(e, !0, -1)) : o && M(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ie(e, !0, -1), e.checkLineBreaks && qo.test(e.input.slice(n, e.position)) && ot(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2221
2221
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ie(e, !0, -1));
2222
2222
  return;
2223
2223
  }
@@ -2229,7 +2229,7 @@ function ei(e) {
2229
2229
  function Zn(e, n) {
2230
2230
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2231
2231
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2232
- var t = new Da(e, n), r = e.indexOf("\0");
2232
+ var t = new Do(e, n), r = e.indexOf("\0");
2233
2233
  for (r !== -1 && (t.position = r, M(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2234
2234
  t.lineIndent += 1, t.position += 1;
2235
2235
  for (; t.position < t.length - 1; )
@@ -2241,8 +2241,8 @@ function ti(e, n, t) {
2241
2241
  var r = Zn(e, t);
2242
2242
  if (typeof n != "function")
2243
2243
  return r;
2244
- for (var o = 0, a = r.length; o < a; o += 1)
2245
- n(r[o]);
2244
+ for (var a = 0, o = r.length; a < o; a += 1)
2245
+ n(r[a]);
2246
2246
  }
2247
2247
  function ni(e, n) {
2248
2248
  var t = Zn(e, n);
@@ -2252,10 +2252,10 @@ function ni(e, n) {
2252
2252
  throw new me("expected a single document in the stream, but found more");
2253
2253
  }
2254
2254
  }
2255
- var ri = ti, oi = ni, Qn = {
2255
+ var ri = ti, ai = ni, Qn = {
2256
2256
  loadAll: ri,
2257
- load: oi
2258
- }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, Et = 65279, ai = 9, Ye = 10, ii = 13, si = 32, li = 33, ui = 34, bt = 35, ci = 37, di = 38, pi = 39, fi = 42, tr = 44, mi = 45, it = 58, gi = 61, yi = 62, hi = 63, vi = 64, nr = 91, rr = 93, bi = 96, or = 123, Ci = 124, ar = 125, fe = {};
2257
+ load: ai
2258
+ }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, Et = 65279, oi = 9, Ye = 10, ii = 13, si = 32, li = 33, ui = 34, bt = 35, ci = 37, di = 38, pi = 39, fi = 42, tr = 44, mi = 45, it = 58, gi = 61, yi = 62, hi = 63, vi = 64, nr = 91, rr = 93, bi = 96, ar = 123, Ci = 124, or = 125, fe = {};
2259
2259
  fe[0] = "\\0";
2260
2260
  fe[7] = "\\a";
2261
2261
  fe[8] = "\\b";
@@ -2290,11 +2290,11 @@ var ki = [
2290
2290
  "OFF"
2291
2291
  ], _i = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2292
2292
  function wi(e, n) {
2293
- var t, r, o, a, i, s, l;
2293
+ var t, r, a, o, i, s, l;
2294
2294
  if (n === null)
2295
2295
  return {};
2296
- for (t = {}, r = Object.keys(n), o = 0, a = r.length; o < a; o += 1)
2297
- i = r[o], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && er.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2296
+ for (t = {}, r = Object.keys(n), a = 0, o = r.length; a < o; a += 1)
2297
+ i = r[a], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && er.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2298
2298
  return t;
2299
2299
  }
2300
2300
  function Ii(e) {
@@ -2314,25 +2314,25 @@ function xi(e) {
2314
2314
  this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ue.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = wi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? We : Ai, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2315
2315
  }
2316
2316
  function en(e, n) {
2317
- for (var t = ue.repeat(" ", n), r = 0, o = -1, a = "", i, s = e.length; r < s; )
2318
- o = e.indexOf(`
2319
- `, r), o === -1 ? (i = e.slice(r), r = s) : (i = e.slice(r, o + 1), r = o + 1), i.length && i !== `
2320
- ` && (a += t), a += i;
2321
- return a;
2317
+ for (var t = ue.repeat(" ", n), r = 0, a = -1, o = "", i, s = e.length; r < s; )
2318
+ a = e.indexOf(`
2319
+ `, r), a === -1 ? (i = e.slice(r), r = s) : (i = e.slice(r, a + 1), r = a + 1), i.length && i !== `
2320
+ ` && (o += t), o += i;
2321
+ return o;
2322
2322
  }
2323
2323
  function Ct(e, n) {
2324
2324
  return `
2325
2325
  ` + ue.repeat(" ", e.indent * n);
2326
2326
  }
2327
2327
  function Si(e, n) {
2328
- var t, r, o;
2328
+ var t, r, a;
2329
2329
  for (t = 0, r = e.implicitTypes.length; t < r; t += 1)
2330
- if (o = e.implicitTypes[t], o.resolve(n))
2330
+ if (a = e.implicitTypes[t], a.resolve(n))
2331
2331
  return !0;
2332
2332
  return !1;
2333
2333
  }
2334
2334
  function st(e) {
2335
- return e === si || e === ai;
2335
+ return e === si || e === oi;
2336
2336
  }
2337
2337
  function Ze(e) {
2338
2338
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Et || 65536 <= e && e <= 1114111;
@@ -2341,17 +2341,17 @@ function tn(e) {
2341
2341
  return Ze(e) && e !== Et && e !== ii && e !== Ye;
2342
2342
  }
2343
2343
  function nn(e, n, t) {
2344
- var r = tn(e), o = r && !st(e);
2344
+ var r = tn(e), a = r && !st(e);
2345
2345
  return (
2346
2346
  // ns-plain-safe
2347
2347
  (t ? (
2348
2348
  // c = flow-in
2349
2349
  r
2350
- ) : r && e !== tr && e !== nr && e !== rr && e !== or && e !== ar) && e !== bt && !(n === it && !o) || tn(n) && !st(n) && e === bt || n === it && o
2350
+ ) : r && e !== tr && e !== nr && e !== rr && e !== ar && e !== or) && e !== bt && !(n === it && !a) || tn(n) && !st(n) && e === bt || n === it && a
2351
2351
  );
2352
2352
  }
2353
2353
  function Ti(e) {
2354
- return Ze(e) && e !== Et && !st(e) && e !== mi && e !== hi && e !== it && e !== tr && e !== nr && e !== rr && e !== or && e !== ar && e !== bt && e !== di && e !== fi && e !== li && e !== Ci && e !== gi && e !== yi && e !== pi && e !== ui && e !== ci && e !== vi && e !== bi;
2354
+ return Ze(e) && e !== Et && !st(e) && e !== mi && e !== hi && e !== it && e !== tr && e !== nr && e !== rr && e !== ar && e !== or && e !== bt && e !== di && e !== fi && e !== li && e !== Ci && e !== gi && e !== yi && e !== pi && e !== ui && e !== ci && e !== vi && e !== bi;
2355
2355
  }
2356
2356
  function $i(e) {
2357
2357
  return !st(e) && e !== it;
@@ -2365,7 +2365,7 @@ function ir(e) {
2365
2365
  return n.test(e);
2366
2366
  }
2367
2367
  var sr = 1, kt = 2, lr = 3, ur = 4, Le = 5;
2368
- function Mi(e, n, t, r, o, a, i, s) {
2368
+ function Mi(e, n, t, r, a, o, i, s) {
2369
2369
  var l, c = 0, d = null, u = !1, g = !1, f = r !== -1, I = -1, b = Ti(ze(e, 0)) && $i(ze(e, e.length - 1));
2370
2370
  if (n || i)
2371
2371
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
@@ -2384,15 +2384,15 @@ function Mi(e, n, t, r, o, a, i, s) {
2384
2384
  }
2385
2385
  g = g || f && l - I - 1 > r && e[I + 1] !== " ";
2386
2386
  }
2387
- return !u && !g ? b && !i && !o(e) ? sr : a === We ? Le : kt : t > 9 && ir(e) ? Le : i ? a === We ? Le : kt : g ? ur : lr;
2387
+ return !u && !g ? b && !i && !a(e) ? sr : o === We ? Le : kt : t > 9 && ir(e) ? Le : i ? o === We ? Le : kt : g ? ur : lr;
2388
2388
  }
2389
- function ji(e, n, t, r, o) {
2389
+ function ji(e, n, t, r, a) {
2390
2390
  e.dump = function() {
2391
2391
  if (n.length === 0)
2392
2392
  return e.quotingType === We ? '""' : "''";
2393
2393
  if (!e.noCompatMode && (ki.indexOf(n) !== -1 || _i.test(n)))
2394
2394
  return e.quotingType === We ? '"' + n + '"' : "'" + n + "'";
2395
- var a = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - a), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2395
+ var o = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2396
2396
  function l(c) {
2397
2397
  return Si(e, c);
2398
2398
  }
@@ -2404,16 +2404,16 @@ function ji(e, n, t, r, o) {
2404
2404
  l,
2405
2405
  e.quotingType,
2406
2406
  e.forceQuotes && !r,
2407
- o
2407
+ a
2408
2408
  )) {
2409
2409
  case sr:
2410
2410
  return n;
2411
2411
  case kt:
2412
2412
  return "'" + n.replace(/'/g, "''") + "'";
2413
2413
  case lr:
2414
- return "|" + rn(n, e.indent) + on(en(n, a));
2414
+ return "|" + rn(n, e.indent) + an(en(n, o));
2415
2415
  case ur:
2416
- return ">" + rn(n, e.indent) + on(en(Ei(n, i), a));
2416
+ return ">" + rn(n, e.indent) + an(en(Ei(n, i), o));
2417
2417
  case Le:
2418
2418
  return '"' + Oi(n) + '"';
2419
2419
  default:
@@ -2423,13 +2423,13 @@ function ji(e, n, t, r, o) {
2423
2423
  }
2424
2424
  function rn(e, n) {
2425
2425
  var t = ir(e) ? String(n) : "", r = e[e.length - 1] === `
2426
- `, o = r && (e[e.length - 2] === `
2426
+ `, a = r && (e[e.length - 2] === `
2427
2427
  ` || e === `
2428
- `), a = o ? "+" : r ? "" : "-";
2429
- return t + a + `
2428
+ `), o = a ? "+" : r ? "" : "-";
2429
+ return t + o + `
2430
2430
  `;
2431
2431
  }
2432
- function on(e) {
2432
+ function an(e) {
2433
2433
  return e[e.length - 1] === `
2434
2434
  ` ? e.slice(0, -1) : e;
2435
2435
  }
@@ -2437,50 +2437,50 @@ function Ei(e, n) {
2437
2437
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2438
2438
  var c = e.indexOf(`
2439
2439
  `);
2440
- return c = c !== -1 ? c : e.length, t.lastIndex = c, an(e.slice(0, c), n);
2441
- }(), o = e[0] === `
2442
- ` || e[0] === " ", a, i; i = t.exec(e); ) {
2440
+ return c = c !== -1 ? c : e.length, t.lastIndex = c, on(e.slice(0, c), n);
2441
+ }(), a = e[0] === `
2442
+ ` || e[0] === " ", o, i; i = t.exec(e); ) {
2443
2443
  var s = i[1], l = i[2];
2444
- a = l[0] === " ", r += s + (!o && !a && l !== "" ? `
2445
- ` : "") + an(l, n), o = a;
2444
+ o = l[0] === " ", r += s + (!a && !o && l !== "" ? `
2445
+ ` : "") + on(l, n), a = o;
2446
2446
  }
2447
2447
  return r;
2448
2448
  }
2449
- function an(e, n) {
2449
+ function on(e, n) {
2450
2450
  if (e === "" || e[0] === " ")
2451
2451
  return e;
2452
- for (var t = / [^ ]/g, r, o = 0, a, i = 0, s = 0, l = ""; r = t.exec(e); )
2453
- s = r.index, s - o > n && (a = i > o ? i : s, l += `
2454
- ` + e.slice(o, a), o = a + 1), i = s;
2452
+ for (var t = / [^ ]/g, r, a = 0, o, i = 0, s = 0, l = ""; r = t.exec(e); )
2453
+ s = r.index, s - a > n && (o = i > a ? i : s, l += `
2454
+ ` + e.slice(a, o), a = o + 1), i = s;
2455
2455
  return l += `
2456
- `, e.length - o > n && i > o ? l += e.slice(o, i) + `
2457
- ` + e.slice(i + 1) : l += e.slice(o), l.slice(1);
2456
+ `, e.length - a > n && i > a ? l += e.slice(a, i) + `
2457
+ ` + e.slice(i + 1) : l += e.slice(a), l.slice(1);
2458
2458
  }
2459
2459
  function Oi(e) {
2460
- for (var n = "", t = 0, r, o = 0; o < e.length; t >= 65536 ? o += 2 : o++)
2461
- t = ze(e, o), r = fe[t], !r && Ze(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || Ii(t);
2460
+ for (var n = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2461
+ t = ze(e, a), r = fe[t], !r && Ze(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || Ii(t);
2462
2462
  return n;
2463
2463
  }
2464
2464
  function Ki(e, n, t) {
2465
- var r = "", o = e.tag, a, i, s;
2466
- for (a = 0, i = t.length; a < i; a += 1)
2467
- s = t[a], e.replacer && (s = e.replacer.call(t, String(a), s)), (Se(e, n, s, !1, !1) || typeof s > "u" && Se(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2468
- e.tag = o, e.dump = "[" + r + "]";
2465
+ var r = "", a = e.tag, o, i, s;
2466
+ for (o = 0, i = t.length; o < i; o += 1)
2467
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (Se(e, n, s, !1, !1) || typeof s > "u" && Se(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2468
+ e.tag = a, e.dump = "[" + r + "]";
2469
2469
  }
2470
2470
  function sn(e, n, t, r) {
2471
- var o = "", a = e.tag, i, s, l;
2471
+ var a = "", o = e.tag, i, s, l;
2472
2472
  for (i = 0, s = t.length; i < s; i += 1)
2473
- l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Se(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += Ct(e, n)), e.dump && Ye === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2474
- e.tag = a, e.dump = o || "[]";
2473
+ l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Se(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += Ct(e, n)), e.dump && Ye === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2474
+ e.tag = o, e.dump = a || "[]";
2475
2475
  }
2476
2476
  function Fi(e, n, t) {
2477
- var r = "", o = e.tag, a = Object.keys(t), i, s, l, c, d;
2478
- for (i = 0, s = a.length; i < s; i += 1)
2479
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = a[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), Se(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Se(e, n, c, !1, !1) && (d += e.dump, r += d));
2480
- e.tag = o, e.dump = "{" + r + "}";
2477
+ var r = "", a = e.tag, o = Object.keys(t), i, s, l, c, d;
2478
+ for (i = 0, s = o.length; i < s; i += 1)
2479
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = o[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), Se(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Se(e, n, c, !1, !1) && (d += e.dump, r += d));
2480
+ e.tag = a, e.dump = "{" + r + "}";
2481
2481
  }
2482
2482
  function Ni(e, n, t, r) {
2483
- var o = "", a = e.tag, i = Object.keys(t), s, l, c, d, u, g;
2483
+ var a = "", o = e.tag, i = Object.keys(t), s, l, c, d, u, g;
2484
2484
  if (e.sortKeys === !0)
2485
2485
  i.sort();
2486
2486
  else if (typeof e.sortKeys == "function")
@@ -2488,13 +2488,13 @@ function Ni(e, n, t, r) {
2488
2488
  else if (e.sortKeys)
2489
2489
  throw new me("sortKeys must be a boolean or a function");
2490
2490
  for (s = 0, l = i.length; s < l; s += 1)
2491
- g = "", (!r || o !== "") && (g += Ct(e, n)), c = i[s], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), Se(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ye === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += Ct(e, n)), Se(e, n + 1, d, !0, u) && (e.dump && Ye === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, o += g));
2492
- e.tag = a, e.dump = o || "{}";
2491
+ g = "", (!r || a !== "") && (g += Ct(e, n)), c = i[s], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), Se(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ye === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += Ct(e, n)), Se(e, n + 1, d, !0, u) && (e.dump && Ye === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, a += g));
2492
+ e.tag = o, e.dump = a || "{}";
2493
2493
  }
2494
2494
  function ln(e, n, t) {
2495
- var r, o, a, i, s, l;
2496
- for (o = t ? e.explicitTypes : e.implicitTypes, a = 0, i = o.length; a < i; a += 1)
2497
- if (s = o[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2495
+ var r, a, o, i, s, l;
2496
+ for (a = t ? e.explicitTypes : e.implicitTypes, o = 0, i = a.length; o < i; o += 1)
2497
+ if (s = a[o], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2498
2498
  if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2499
2499
  if (l = e.styleMap[s.tag] || s.defaultStyle, Xn.call(s.represent) === "[object Function]")
2500
2500
  r = s.represent(n, l);
@@ -2508,20 +2508,20 @@ function ln(e, n, t) {
2508
2508
  }
2509
2509
  return !1;
2510
2510
  }
2511
- function Se(e, n, t, r, o, a, i) {
2511
+ function Se(e, n, t, r, a, o, i) {
2512
2512
  e.tag = null, e.dump = t, ln(e, t, !1) || ln(e, t, !0);
2513
2513
  var s = Xn.call(e.dump), l = r, c;
2514
2514
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
2515
2515
  var d = s === "[object Object]" || s === "[object Array]", u, g;
2516
- if (d && (u = e.duplicates.indexOf(t), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (o = !1), g && e.usedDuplicates[u])
2516
+ if (d && (u = e.duplicates.indexOf(t), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (a = !1), g && e.usedDuplicates[u])
2517
2517
  e.dump = "*ref_" + u;
2518
2518
  else {
2519
2519
  if (d && g && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), s === "[object Object]")
2520
- r && Object.keys(e.dump).length !== 0 ? (Ni(e, n, e.dump, o), g && (e.dump = "&ref_" + u + e.dump)) : (Fi(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2520
+ r && Object.keys(e.dump).length !== 0 ? (Ni(e, n, e.dump, a), g && (e.dump = "&ref_" + u + e.dump)) : (Fi(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2521
2521
  else if (s === "[object Array]")
2522
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? sn(e, n - 1, e.dump, o) : sn(e, n, e.dump, o), g && (e.dump = "&ref_" + u + e.dump)) : (Ki(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2522
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? sn(e, n - 1, e.dump, a) : sn(e, n, e.dump, a), g && (e.dump = "&ref_" + u + e.dump)) : (Ki(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2523
2523
  else if (s === "[object String]")
2524
- e.tag !== "?" && ji(e, e.dump, n, a, l);
2524
+ e.tag !== "?" && ji(e, e.dump, n, o, l);
2525
2525
  else {
2526
2526
  if (s === "[object Undefined]" || e.skipInvalid)
2527
2527
  return !1;
@@ -2534,22 +2534,22 @@ function Se(e, n, t, r, o, a, i) {
2534
2534
  return !0;
2535
2535
  }
2536
2536
  function Bi(e, n) {
2537
- var t = [], r = [], o, a;
2538
- for (_t(e, t, r), o = 0, a = r.length; o < a; o += 1)
2539
- n.duplicates.push(t[r[o]]);
2540
- n.usedDuplicates = new Array(a);
2537
+ var t = [], r = [], a, o;
2538
+ for (_t(e, t, r), a = 0, o = r.length; a < o; a += 1)
2539
+ n.duplicates.push(t[r[a]]);
2540
+ n.usedDuplicates = new Array(o);
2541
2541
  }
2542
2542
  function _t(e, n, t) {
2543
- var r, o, a;
2543
+ var r, a, o;
2544
2544
  if (e !== null && typeof e == "object")
2545
- if (o = n.indexOf(e), o !== -1)
2546
- t.indexOf(o) === -1 && t.push(o);
2545
+ if (a = n.indexOf(e), a !== -1)
2546
+ t.indexOf(a) === -1 && t.push(a);
2547
2547
  else if (n.push(e), Array.isArray(e))
2548
- for (o = 0, a = e.length; o < a; o += 1)
2549
- _t(e[o], n, t);
2548
+ for (a = 0, o = e.length; a < o; a += 1)
2549
+ _t(e[a], n, t);
2550
2550
  else
2551
- for (r = Object.keys(e), o = 0, a = r.length; o < a; o += 1)
2552
- _t(e[r[o]], n, t);
2551
+ for (r = Object.keys(e), a = 0, o = r.length; a < o; a += 1)
2552
+ _t(e[r[a]], n, t);
2553
2553
  }
2554
2554
  function qi(e, n) {
2555
2555
  n = n || {};
@@ -2600,16 +2600,16 @@ var Vi = pe, Ui = An, Ri = $n, Di = Kn, Gi = Fn, Hi = $t, zi = Qn.load, Ji = Qn.
2600
2600
  const ns = {
2601
2601
  key: 0,
2602
2602
  class: "config-card-display-form"
2603
- }, rs = ["data-testid"], os = {
2603
+ }, rs = ["data-testid"], as = {
2604
2604
  key: 0,
2605
2605
  class: "config-card-prop-section-title"
2606
- }, as = {
2606
+ }, os = {
2607
2607
  key: 1,
2608
2608
  class: "config-card-display-json"
2609
2609
  }, is = {
2610
2610
  key: 2,
2611
2611
  class: "config-card-display-yaml"
2612
- }, ss = /* @__PURE__ */ oe({
2612
+ }, ss = /* @__PURE__ */ ae({
2613
2613
  __name: "ConfigCardDisplay",
2614
2614
  props: {
2615
2615
  propertyCollections: {
@@ -2635,9 +2635,9 @@ const ns = {
2635
2635
  }
2636
2636
  },
2637
2637
  setup(e) {
2638
- const n = e, t = lt(), { i18n: { t: r } } = ce.useI18n(), o = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), a = E(""), i = E("");
2638
+ const n = e, t = lt(), { i18n: { t: r } } = ce.useI18n(), a = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), o = E(""), i = E("");
2639
2639
  return Ie(() => n.format, (s) => {
2640
- s === "json" ? a.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = ts.dump(n.record));
2640
+ s === "json" ? o.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = ts.dump(n.record));
2641
2641
  }, { immediate: !0 }), (s, l) => {
2642
2642
  const c = L("KCodeBlock");
2643
2643
  return m(), $(be, null, [
@@ -2647,7 +2647,7 @@ const ns = {
2647
2647
  class: Fe(`config-card-details-${d}-props`),
2648
2648
  "data-testid": `config-card-details-${d}-props`
2649
2649
  }, [
2650
- d !== "basic" ? (m(), $("div", os, O(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2650
+ d !== "basic" ? (m(), $("div", as, O(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2651
2651
  (m(!0), $(be, null, he(e.propertyCollections[d], (u) => (m(), R(St, {
2652
2652
  key: u.key,
2653
2653
  item: u
@@ -2663,7 +2663,7 @@ const ns = {
2663
2663
  ]),
2664
2664
  _: 2
2665
2665
  }, [
2666
- o(u) ? {
2666
+ a(u) ? {
2667
2667
  name: "label-tooltip",
2668
2668
  fn: v(() => [
2669
2669
  Z(s.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
@@ -2673,10 +2673,10 @@ const ns = {
2673
2673
  ]), 1032, ["item"]))), 128))
2674
2674
  ], 10, rs))), 128))
2675
2675
  ])) : H("", !0),
2676
- e.format === "json" ? (m(), $("div", as, [
2676
+ e.format === "json" ? (m(), $("div", os, [
2677
2677
  F(c, {
2678
2678
  id: "config-card-codeblock",
2679
- code: a.value,
2679
+ code: o.value,
2680
2680
  language: "json",
2681
2681
  theme: "dark"
2682
2682
  }, null, 8, ["code"])
@@ -2694,8 +2694,8 @@ const ns = {
2694
2694
  }
2695
2695
  }), ls = /* @__PURE__ */ ke(ss, [["__scopeId", "data-v-6c45e9e4"]]), un = "24px", us = (e, n) => {
2696
2696
  const t = e.__vccOpts || e;
2697
- for (const [r, o] of n)
2698
- t[r] = o;
2697
+ for (const [r, a] of n)
2698
+ t[r] = a;
2699
2699
  return t;
2700
2700
  }, cs = (e) => (fn("data-v-dd88a2bb"), e = e(), mn(), e), ds = ["aria-hidden"], ps = {
2701
2701
  key: 0,
@@ -2703,7 +2703,7 @@ const ns = {
2703
2703
  }, fs = /* @__PURE__ */ cs(() => /* @__PURE__ */ V("path", {
2704
2704
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2705
2705
  fill: "currentColor"
2706
- }, null, -1)), ms = /* @__PURE__ */ oe({
2706
+ }, null, -1)), ms = /* @__PURE__ */ ae({
2707
2707
  __name: "BookIcon",
2708
2708
  props: {
2709
2709
  /** The accessibility text provided to screen readers */
@@ -2759,9 +2759,9 @@ const ns = {
2759
2759
  if (typeof n.size == "number" && n.size > 0)
2760
2760
  return `${n.size}px`;
2761
2761
  if (typeof n.size == "string") {
2762
- const o = String(n.size).replace(/px/gi, ""), a = Number(o);
2763
- if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
2764
- return `${a}px`;
2762
+ const a = String(n.size).replace(/px/gi, ""), o = Number(a);
2763
+ if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2764
+ return `${o}px`;
2765
2765
  }
2766
2766
  return un;
2767
2767
  }), r = T(() => ({
@@ -2772,7 +2772,7 @@ const ns = {
2772
2772
  lineHeight: "0",
2773
2773
  width: t.value
2774
2774
  }));
2775
- return (o, a) => (m(), R(Ue(e.as), {
2775
+ return (a, o) => (m(), R(Ue(e.as), {
2776
2776
  "aria-hidden": e.decorative ? "true" : void 0,
2777
2777
  class: "kui-icon book-icon",
2778
2778
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2805,7 +2805,7 @@ const ns = {
2805
2805
  }, ks = ["data-testid"], _s = {
2806
2806
  key: 0,
2807
2807
  class: "config-card-prop-section-title"
2808
- }, ws = /* @__PURE__ */ oe({
2808
+ }, ws = /* @__PURE__ */ ae({
2809
2809
  __name: "EntityBaseConfigCard",
2810
2810
  props: {
2811
2811
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2880,11 +2880,11 @@ const ns = {
2880
2880
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2881
2881
  setup(e, { emit: n }) {
2882
2882
  var t;
2883
- const r = e, o = lt(), { i18n: { t: a } } = ce.useI18n(), { getMessageFromError: i } = ce.useErrors(), { convertKeyToTitle: s } = ce.useStringHelpers(), { axiosInstance: l } = ce.useAxios({
2883
+ const r = e, a = lt(), { i18n: { t: o } } = ce.useI18n(), { getMessageFromError: i } = ce.useErrors(), { convertKeyToTitle: s } = ce.useStringHelpers(), { axiosInstance: l } = ce.useAxios({
2884
2884
  headers: (t = r.config) == null ? void 0 : t.requestHeaders
2885
2885
  }), c = [
2886
2886
  {
2887
- label: a("baseConfigCard.general.structuredFormat"),
2887
+ label: o("baseConfigCard.general.structuredFormat"),
2888
2888
  value: "structured",
2889
2889
  selected: !0
2890
2890
  },
@@ -2901,7 +2901,7 @@ const ns = {
2901
2901
  }, g = {
2902
2902
  id: {
2903
2903
  type: ne.ID,
2904
- label: a("baseConfigCard.commonFields.id_label"),
2904
+ label: o("baseConfigCard.commonFields.id_label"),
2905
2905
  order: 0,
2906
2906
  section: Ce.Basic
2907
2907
  },
@@ -2916,13 +2916,13 @@ const ns = {
2916
2916
  },
2917
2917
  updated_at: {
2918
2918
  type: ne.Date,
2919
- label: a("baseConfigCard.commonFields.updated_at_label"),
2919
+ label: o("baseConfigCard.commonFields.updated_at_label"),
2920
2920
  order: 3,
2921
2921
  section: Ce.Basic
2922
2922
  },
2923
2923
  created_at: {
2924
2924
  type: ne.Date,
2925
- label: a("baseConfigCard.commonFields.created_at_label"),
2925
+ label: o("baseConfigCard.commonFields.created_at_label"),
2926
2926
  order: 4,
2927
2927
  section: Ce.Basic
2928
2928
  },
@@ -2992,7 +2992,7 @@ const ns = {
2992
2992
  }), h = T(() => {
2993
2993
  const w = [];
2994
2994
  return K.value.basic.length && w.push("basic"), K.value.advanced.length && w.push("advanced"), K.value.plugin.length && w.push("plugin"), w;
2995
- }), D = (w) => !!(w.tooltip || o[`${w.key}-label-tooltip`]), se = T(() => {
2995
+ }), D = (w) => !!(w.tooltip || a[`${w.key}-label-tooltip`]), se = T(() => {
2996
2996
  var w, N;
2997
2997
  let U = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2998
2998
  return r.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (N = r.config) != null && N.workspace ? `/${r.config.workspace}` : "")), U = U.replace(/{id}/gi, r.config.entityId), U;
@@ -3009,7 +3009,7 @@ const ns = {
3009
3009
  if (typeof w[r.dataKey] < "u")
3010
3010
  p.value = { ...w[r.dataKey] };
3011
3011
  else
3012
- throw new Error(a("errors.dataKeyUndefined", { dataKey: r.dataKey }));
3012
+ throw new Error(o("errors.dataKeyUndefined", { dataKey: r.dataKey }));
3013
3013
  else
3014
3014
  p.value = { ...w };
3015
3015
  Object.keys(r.configSchema).filter((N) => r.configSchema[N].forceShow).forEach((N) => {
@@ -3017,7 +3017,7 @@ const ns = {
3017
3017
  }), n("fetch:success", w);
3018
3018
  } catch (w) {
3019
3019
  const N = i(w);
3020
- b.value = N.startsWith("code") ? a("baseConfigCard.errors.load") : N, I.value = !0, n("fetch:error", w);
3020
+ b.value = N.startsWith("code") ? o("baseConfigCard.errors.load") : N, I.value = !0, n("fetch:error", w);
3021
3021
  } finally {
3022
3022
  f.value = !1;
3023
3023
  }
@@ -3056,7 +3056,7 @@ const ns = {
3056
3056
  rel: "noopener",
3057
3057
  target: "_blank"
3058
3058
  }, [
3059
- F(y(gs), { size: y(wo) }, null, 8, ["size"])
3059
+ F(y(gs), { size: y(_a) }, null, 8, ["size"])
3060
3060
  ], 8, vs)
3061
3061
  ]),
3062
3062
  _: 1
@@ -3070,7 +3070,7 @@ const ns = {
3070
3070
  onClick: (te) => Y(ee)
3071
3071
  }, {
3072
3072
  default: v(() => [
3073
- Q(O(y(a)("baseConfigCard.actions.copy")), 1)
3073
+ Q(O(y(o)("baseConfigCard.actions.copy")), 1)
3074
3074
  ]),
3075
3075
  _: 2
3076
3076
  }, 1032, ["onClick"])) : H("", !0)
@@ -3118,7 +3118,7 @@ const ns = {
3118
3118
  class: Fe(`config-card-details-${ee}-props`),
3119
3119
  "data-testid": `config-card-details-${ee}-props`
3120
3120
  }, [
3121
- ee !== "basic" ? (m(), $("div", _s, O(ee === "advanced" ? y(a)("baseConfigCard.sections.advanced") : y(a)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3121
+ ee !== "basic" ? (m(), $("div", _s, O(ee === "advanced" ? y(o)("baseConfigCard.sections.advanced") : y(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3122
3122
  (m(!0), $(be, null, he(K.value[ee], (te) => (m(), R(St, {
3123
3123
  key: te.key,
3124
3124
  item: te
@@ -3152,7 +3152,7 @@ const ns = {
3152
3152
  fn: v(() => [
3153
3153
  V("div", ys, [
3154
3154
  Z(w.$slots, "title", {}, () => [
3155
- Q(O(y(a)("baseConfigCard.title")), 1)
3155
+ Q(O(y(o)("baseConfigCard.title")), 1)
3156
3156
  ], !0)
3157
3157
  ])
3158
3158
  ]),
@@ -3164,7 +3164,7 @@ const ns = {
3164
3164
  }), Is = /* @__PURE__ */ ke(ws, [["__scopeId", "data-v-24515123"]]), As = ["onReset", "onSubmit"], xs = {
3165
3165
  class: "form-actions",
3166
3166
  "data-testid": "form-actions"
3167
- }, Ss = /* @__PURE__ */ oe({
3167
+ }, Ss = /* @__PURE__ */ ae({
3168
3168
  __name: "EntityBaseForm",
3169
3169
  props: {
3170
3170
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3214,7 +3214,7 @@ const ns = {
3214
3214
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3215
3215
  setup(e, { emit: n }) {
3216
3216
  var t;
3217
- const r = e, o = wt(), { i18n: { t: a } } = ce.useI18n(), { getMessageFromError: i } = ce.useErrors(), { axiosInstance: s } = ce.useAxios({
3217
+ const r = e, a = wt(), { i18n: { t: o } } = ce.useI18n(), { getMessageFromError: i } = ce.useErrors(), { axiosInstance: s } = ce.useAxios({
3218
3218
  headers: (t = r.config) == null ? void 0 : t.requestHeaders
3219
3219
  }), l = E(!1), c = E(!1), d = E(""), u = T(() => r.canSubmit === !1 || r.isReadonly), g = T(() => {
3220
3220
  var p, A;
@@ -3223,7 +3223,7 @@ const ns = {
3223
3223
  let k = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3224
3224
  return r.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((p = r.config) == null ? void 0 : p.controlPlaneId) || "") : r.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (A = r.config) != null && A.workspace ? `/${r.config.workspace}` : "")), k = k.replace(/{id}/gi, r.editId), k;
3225
3225
  }), f = () => {
3226
- r.config.cancelRoute ? o.push(r.config.cancelRoute) : I();
3226
+ r.config.cancelRoute ? a.push(r.config.cancelRoute) : I();
3227
3227
  }, I = () => {
3228
3228
  n("cancel");
3229
3229
  }, b = () => {
@@ -3239,7 +3239,7 @@ const ns = {
3239
3239
  n("fetch:success", p);
3240
3240
  } catch (p) {
3241
3241
  const A = i(p);
3242
- d.value = A.startsWith("code") ? a("baseForm.errors.edit") : A, c.value = !0, n("fetch:error", p);
3242
+ d.value = A.startsWith("code") ? o("baseForm.errors.edit") : A, c.value = !0, n("fetch:error", p);
3243
3243
  } finally {
3244
3244
  l.value = !1;
3245
3245
  }
@@ -3252,7 +3252,7 @@ const ns = {
3252
3252
  type: "form"
3253
3253
  })) : c.value ? (m(), R(K, {
3254
3254
  key: 1,
3255
- "cta-text": y(a)("baseForm.actions.back"),
3255
+ "cta-text": y(o)("baseForm.actions.back"),
3256
3256
  "data-testid": "form-fetch-error",
3257
3257
  "handle-click": f,
3258
3258
  "is-error": !0
@@ -3283,7 +3283,7 @@ const ns = {
3283
3283
  type: "reset"
3284
3284
  }, {
3285
3285
  default: v(() => [
3286
- Q(O(y(a)("baseForm.actions.cancel")), 1)
3286
+ Q(O(y(o)("baseForm.actions.cancel")), 1)
3287
3287
  ]),
3288
3288
  _: 1
3289
3289
  }, 8, ["disabled"]),
@@ -3294,7 +3294,7 @@ const ns = {
3294
3294
  type: "submit"
3295
3295
  }, {
3296
3296
  default: v(() => [
3297
- Q(O(y(a)("baseForm.actions.save")), 1)
3297
+ Q(O(y(o)("baseForm.actions.save")), 1)
3298
3298
  ]),
3299
3299
  _: 1
3300
3300
  }, 8, ["disabled"])
@@ -3309,7 +3309,7 @@ const ns = {
3309
3309
  }), Ts = /* @__PURE__ */ ke(Ss, [["__scopeId", "data-v-81612aef"]]), $s = {
3310
3310
  key: 0,
3311
3311
  "data-testid": "first-col"
3312
- }, Ms = /* @__PURE__ */ oe({
3312
+ }, Ms = /* @__PURE__ */ ae({
3313
3313
  __name: "EntityBaseTableCell",
3314
3314
  props: {
3315
3315
  keyName: {
@@ -3328,32 +3328,32 @@ const ns = {
3328
3328
  }), r = T(() => {
3329
3329
  var b;
3330
3330
  return ((b = t.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3331
- }), o = T(() => {
3331
+ }), a = T(() => {
3332
3332
  var b, p;
3333
3333
  const A = (b = n.rowEl) == null ? void 0 : b.querySelectorAll("td");
3334
3334
  return A ? ((p = A[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
3335
3335
  });
3336
- let a;
3336
+ let o;
3337
3337
  const i = () => {
3338
- a && (a.disconnect(), a = void 0);
3338
+ o && (o.disconnect(), o = void 0);
3339
3339
  }, s = () => {
3340
3340
  var b, p, A;
3341
3341
  c.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((A = l.value) == null ? void 0 : A.innerText) || "";
3342
3342
  }, l = E({}), c = E(0), d = E(0), u = E(""), g = T(() => [r.value, t.value]), f = Ie(
3343
3343
  g,
3344
3344
  (b) => {
3345
- if (o.value && (i(), "ResizeObserver" in window && window)) {
3346
- a = new ResizeObserver((p) => {
3345
+ if (a.value && (i(), "ResizeObserver" in window && window)) {
3346
+ o = new ResizeObserver((p) => {
3347
3347
  window.requestAnimationFrame(() => {
3348
3348
  !Array.isArray(p) || !p.length || s();
3349
3349
  });
3350
3350
  });
3351
3351
  for (const p of b)
3352
- p && a.observe(p);
3352
+ p && o.observe(p);
3353
3353
  }
3354
3354
  },
3355
3355
  { immediate: !0, flush: "post", deep: !0 }
3356
- ), I = T(() => o.value ? c.value > d.value : !1);
3356
+ ), I = T(() => a.value ? c.value > d.value : !1);
3357
3357
  return hr(() => {
3358
3358
  s();
3359
3359
  }), vr(() => {
@@ -3365,7 +3365,7 @@ const ns = {
3365
3365
  ref: l,
3366
3366
  class: "content-wrapper"
3367
3367
  }, [
3368
- o.value ? (m(), $("span", $s, [
3368
+ a.value ? (m(), $("span", $s, [
3369
3369
  F(A, {
3370
3370
  label: I.value ? u.value : "",
3371
3371
  "max-width": "300",
@@ -3383,7 +3383,7 @@ const ns = {
3383
3383
  }), js = /* @__PURE__ */ ke(Ms, [["__scopeId", "data-v-e42a20c9"]]), Es = { class: "toolbar-container" }, Os = {
3384
3384
  key: 0,
3385
3385
  class: "toolbar-button-container"
3386
- }, Ks = ["data-testid"], Fs = /* @__PURE__ */ oe({
3386
+ }, Ks = ["data-testid"], Fs = /* @__PURE__ */ ae({
3387
3387
  __name: "EntityBaseTable",
3388
3388
  props: {
3389
3389
  // table header configuration
@@ -3493,7 +3493,7 @@ const ns = {
3493
3493
  },
3494
3494
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3495
3495
  setup(e, { emit: n }) {
3496
- const t = e, { i18n: { t: r } } = ce.useI18n(), o = T(() => {
3496
+ const t = e, { i18n: { t: r } } = ce.useI18n(), a = T(() => {
3497
3497
  var h, D;
3498
3498
  return typeof t.errorMessage == "string" ? {
3499
3499
  hasError: !!t.errorMessage,
@@ -3504,7 +3504,7 @@ const ns = {
3504
3504
  title: (h = t.errorMessage) == null ? void 0 : h.title,
3505
3505
  message: (D = t.errorMessage) == null ? void 0 : D.message
3506
3506
  };
3507
- }), a = T(() => t.cacheIdentifier || t.preferencesStorageKey), i = (h) => h.hasData || !!t.query, s = T(() => {
3507
+ }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), i = (h) => h.hasData || !!t.query, s = T(() => {
3508
3508
  const h = [];
3509
3509
  return Object.keys(t.tableHeaders).forEach((D) => {
3510
3510
  const se = t.tableHeaders[D];
@@ -3561,7 +3561,7 @@ const ns = {
3561
3561
  F(N, {
3562
3562
  ref_key: "tableRefs",
3563
3563
  ref: c,
3564
- "cache-identifier": a.value,
3564
+ "cache-identifier": o.value,
3565
3565
  "cell-attrs": u,
3566
3566
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3567
3567
  "disable-sorting": e.disableSorting,
@@ -3573,11 +3573,11 @@ const ns = {
3573
3573
  "empty-state-message": e.query ? y(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3574
3574
  "empty-state-title": e.query ? y(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3575
3575
  "enable-client-sort": e.enableClientSort,
3576
- "error-state-message": o.value.message,
3577
- "error-state-title": o.value.title,
3576
+ "error-state-message": a.value.message,
3577
+ "error-state-title": a.value.title,
3578
3578
  fetcher: e.fetcher,
3579
3579
  "fetcher-cache-key": String(e.fetcherCacheKey),
3580
- "has-error": o.value.hasError,
3580
+ "has-error": a.value.hasError,
3581
3581
  headers: s.value,
3582
3582
  "hide-pagination-when-optional": "",
3583
3583
  "initial-fetcher-params": k.value,
@@ -3624,7 +3624,7 @@ const ns = {
3624
3624
  }, {
3625
3625
  icon: v(() => [
3626
3626
  F(se, {
3627
- color: y(ko),
3627
+ color: y(Ca),
3628
3628
  icon: "more",
3629
3629
  size: "16"
3630
3630
  }, null, 8, ["color"])
@@ -3670,7 +3670,7 @@ const ns = {
3670
3670
  }, qs = {
3671
3671
  key: 1,
3672
3672
  class: "description"
3673
- }, Ls = /* @__PURE__ */ oe({
3673
+ }, Ls = /* @__PURE__ */ ae({
3674
3674
  __name: "EntityDeleteModal",
3675
3675
  props: {
3676
3676
  visible: {
@@ -3709,7 +3709,7 @@ const ns = {
3709
3709
  },
3710
3710
  emits: ["cancel", "proceed"],
3711
3711
  setup(e, { emit: n }) {
3712
- const t = e, { i18nT: r } = ce.useI18n(), o = T(() => t.needConfirm ? t.entityName : ""), a = () => {
3712
+ const t = e, { i18nT: r } = ce.useI18n(), a = T(() => t.needConfirm ? t.entityName : ""), o = () => {
3713
3713
  n("cancel");
3714
3714
  }, i = () => {
3715
3715
  n("proceed");
@@ -3720,11 +3720,11 @@ const ns = {
3720
3720
  "action-button-text": "Yes, delete",
3721
3721
  "action-pending": e.actionPending,
3722
3722
  class: "kong-ui-entity-delete-modal",
3723
- "confirmation-text": o.value,
3723
+ "confirmation-text": a.value,
3724
3724
  "is-visible": e.visible,
3725
3725
  title: e.title,
3726
3726
  type: "danger",
3727
- onCanceled: a,
3727
+ onCanceled: o,
3728
3728
  onProceed: i
3729
3729
  }, {
3730
3730
  "body-content": v(() => [
@@ -3778,12 +3778,12 @@ const ns = {
3778
3778
  width: "20",
3779
3779
  x: "0",
3780
3780
  y: "0"
3781
- }, Rs = ["fill"], Ds = { mask: "url(#mask0_180_20349)" }, Gs = ["fill"], cn = /* @__PURE__ */ oe({
3781
+ }, Rs = ["fill"], Ds = { mask: "url(#mask0_180_20349)" }, Gs = ["fill"], cn = /* @__PURE__ */ ae({
3782
3782
  __name: "IconFilter",
3783
3783
  props: {
3784
3784
  color: {
3785
3785
  type: String,
3786
- default: `var(--kong-ui-entity-filter-color, ${bo})`
3786
+ default: `var(--kong-ui-entity-filter-color, ${va})`
3787
3787
  }
3788
3788
  },
3789
3789
  setup(e) {
@@ -3806,7 +3806,7 @@ const ns = {
3806
3806
  }), Hs = {
3807
3807
  key: 1,
3808
3808
  class: "kong-ui-entity-filter"
3809
- }, zs = { class: "menu-item-title" }, Js = { class: "menu-item-indicator" }, Ys = { class: "menu-item-body" }, Ws = ["for"], Zs = { class: "menu-item-buttons" }, Qs = { class: "filter-clear-button-container" }, Xs = /* @__PURE__ */ oe({
3809
+ }, zs = { class: "menu-item-title" }, Js = { class: "menu-item-indicator" }, Ys = { class: "menu-item-body" }, Ws = ["for"], Zs = { class: "menu-item-buttons" }, Qs = { class: "filter-clear-button-container" }, Xs = /* @__PURE__ */ ae({
3810
3810
  __name: "EntityFilter",
3811
3811
  props: {
3812
3812
  // filter config, either exact match or fuzzy match
@@ -3826,7 +3826,7 @@ const ns = {
3826
3826
  },
3827
3827
  emits: ["update:modelValue"],
3828
3828
  setup(e, { emit: n }) {
3829
- const t = e, { i18n: { t: r } } = ce.useI18n(), o = E(!1), a = E({}), i = T(() => {
3829
+ const t = e, { i18n: { t: r } } = ce.useI18n(), a = E(!1), o = E({}), i = T(() => {
3830
3830
  const p = [];
3831
3831
  return new URLSearchParams(t.modelValue).forEach((A, k) => {
3832
3832
  A !== "" && p.push(k);
@@ -3839,12 +3839,12 @@ const ns = {
3839
3839
  }));
3840
3840
  });
3841
3841
  Ie(() => t.modelValue, (p) => {
3842
- a.value = {}, new URLSearchParams(p).forEach((A, k) => {
3843
- a.value[k] = A;
3842
+ o.value = {}, new URLSearchParams(p).forEach((A, k) => {
3843
+ o.value[k] = A;
3844
3844
  });
3845
3845
  });
3846
3846
  const l = () => {
3847
- o.value = !o.value;
3847
+ a.value = !a.value;
3848
3848
  }, c = (p) => {
3849
3849
  n("update:modelValue", p);
3850
3850
  }, d = (p) => `filter-${p}`, u = (p) => {
@@ -3857,15 +3857,15 @@ const ns = {
3857
3857
  var A, k;
3858
3858
  return ((k = (A = t.config.schema) == null ? void 0 : A[p]) == null ? void 0 : k.type) ?? "text";
3859
3859
  }, f = (p) => {
3860
- a.value = {
3861
- ...a.value,
3860
+ o.value = {
3861
+ ...o.value,
3862
3862
  [p]: ""
3863
3863
  }, b();
3864
3864
  }, I = () => {
3865
- a.value = {}, b(!0);
3865
+ o.value = {}, b(!0);
3866
3866
  }, b = (p = !1) => {
3867
- const A = Object.keys(a.value).reduce((k, K) => (a.value[K] && (k[K] = `${a.value[K]}`), k), {});
3868
- p && (o.value = !1), n("update:modelValue", new URLSearchParams(A).toString());
3867
+ const A = Object.keys(o.value).reduce((k, K) => (o.value[K] && (k[K] = `${o.value[K]}`), k), {});
3868
+ p && (a.value = !1), n("update:modelValue", new URLSearchParams(A).toString());
3869
3869
  };
3870
3870
  return (p, A) => {
3871
3871
  const k = L("KInput"), K = L("KButton"), h = L("KSelect"), D = L("KMenuItem"), se = L("KMenu");
@@ -3898,7 +3898,7 @@ const ns = {
3898
3898
  class: "kong-ui-entity-filter-backdrop",
3899
3899
  onClick: l
3900
3900
  }, null, 512), [
3901
- [et, o.value]
3901
+ [et, a.value]
3902
3902
  ]),
3903
3903
  Xe(F(se, { class: "kong-ui-entity-filter-menu" }, {
3904
3904
  body: v(() => [
@@ -3927,16 +3927,16 @@ const ns = {
3927
3927
  ((U = (N = e.config.schema) == null ? void 0 : N[Y.value]) == null ? void 0 : U.type) === "select" ? (m(), R(h, {
3928
3928
  key: 0,
3929
3929
  id: d(Y.value),
3930
- modelValue: a.value[Y.value],
3931
- "onUpdate:modelValue": (C) => a.value[Y.value] = C,
3930
+ modelValue: o.value[Y.value],
3931
+ "onUpdate:modelValue": (C) => o.value[Y.value] = C,
3932
3932
  appearance: "select",
3933
3933
  items: u(Y.value),
3934
3934
  placeholder: y(r)("filter.selectPlaceholder")
3935
3935
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), R(k, {
3936
3936
  key: 1,
3937
3937
  id: d(Y.value),
3938
- modelValue: a.value[Y.value],
3939
- "onUpdate:modelValue": (C) => a.value[Y.value] = C,
3938
+ modelValue: o.value[Y.value],
3939
+ "onUpdate:modelValue": (C) => o.value[Y.value] = C,
3940
3940
  autocomplete: "off",
3941
3941
  placeholder: y(r)("filter.inputPlaceholder"),
3942
3942
  type: g(Y.value)
@@ -3974,6 +3974,7 @@ const ns = {
3974
3974
  actionButton: v(() => [
3975
3975
  V("div", Qs, [
3976
3976
  F(K, {
3977
+ appearance: "tertiary",
3977
3978
  size: "small",
3978
3979
  onClick: I
3979
3980
  }, {
@@ -3986,12 +3987,12 @@ const ns = {
3986
3987
  ]),
3987
3988
  _: 1
3988
3989
  }, 512), [
3989
- [et, o.value]
3990
+ [et, a.value]
3990
3991
  ])
3991
3992
  ]));
3992
3993
  };
3993
3994
  }
3994
- }), el = /* @__PURE__ */ ke(Xs, [["__scopeId", "data-v-4ea260f0"]]), Qe = /* @__PURE__ */ oe({
3995
+ }), el = /* @__PURE__ */ ke(Xs, [["__scopeId", "data-v-5dbd1737"]]), Qe = /* @__PURE__ */ ae({
3995
3996
  __name: "PermissionsWrapper",
3996
3997
  props: {
3997
3998
  /**
@@ -4016,7 +4017,7 @@ const ns = {
4016
4017
  const n = e, t = E(void 0), r = T(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4017
4018
  return Ie(() => n.authFunction, async () => {
4018
4019
  t.value = await n.authFunction();
4019
- }, { immediate: !0 }), (o, a) => r.value ? Z(o.$slots, "default", {
4020
+ }, { immediate: !0 }), (a, o) => r.value ? Z(a.$slots, "default", {
4020
4021
  key: 0,
4021
4022
  isAllowed: t.value
4022
4023
  }) : H("", !0);
@@ -4027,10 +4028,10 @@ const ns = {
4027
4028
  }, rl = {
4028
4029
  key: 1,
4029
4030
  class: "form-section-description"
4030
- }, ol = {
4031
+ }, al = {
4031
4032
  key: 2,
4032
4033
  class: "form-section-footer"
4033
- }, al = { class: "form-section-content" }, il = /* @__PURE__ */ oe({
4034
+ }, ol = { class: "form-section-content" }, il = /* @__PURE__ */ ae({
4034
4035
  __name: "EntityFormSection",
4035
4036
  props: {
4036
4037
  title: {
@@ -4070,11 +4071,11 @@ const ns = {
4070
4071
  V("p", null, O(e.description), 1)
4071
4072
  ], !0)
4072
4073
  ])) : H("", !0),
4073
- y(n).footer ? (m(), $("div", ol, [
4074
+ y(n).footer ? (m(), $("div", al, [
4074
4075
  Z(t.$slots, "footer", {}, void 0, !0)
4075
4076
  ])) : H("", !0)
4076
4077
  ], 2)),
4077
- V("div", al, [
4078
+ V("div", ol, [
4078
4079
  Z(t.$slots, "default", {}, void 0, !0)
4079
4080
  ])
4080
4081
  ])
@@ -4084,7 +4085,7 @@ const ns = {
4084
4085
  const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group-cta-text" }, pl = {
4085
4086
  key: 0,
4086
4087
  class: "kong-ui-entity-add-to-groups-error"
4087
- }, fl = { key: 0 }, ml = /* @__PURE__ */ oe({
4088
+ }, fl = { key: 0 }, ml = /* @__PURE__ */ ae({
4088
4089
  __name: "AddToGroupModal",
4089
4090
  props: {
4090
4091
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4102,9 +4103,9 @@ const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group
4102
4103
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4103
4104
  setup(e, { emit: n }) {
4104
4105
  var U;
4105
- const t = e, { i18n: { t: r } } = ct.useI18n(), { axiosInstance: o } = Kt({
4106
+ const t = e, { i18n: { t: r } } = ct.useI18n(), { axiosInstance: a } = Kt({
4106
4107
  headers: (U = t.config) == null ? void 0 : U.requestHeaders
4107
- }), a = E([]), {
4108
+ }), o = E([]), {
4108
4109
  debouncedQueryChange: i,
4109
4110
  loading: s,
4110
4111
  allRecords: l,
@@ -4122,7 +4123,7 @@ const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group
4122
4123
  ), g = T(() => c.value ? r("consumer_groups.errors.general") : ""), f = E(0), I = T(() => l.value === void 0), b = T(() => u.value.map((C) => ({
4123
4124
  label: C.name,
4124
4125
  value: C.id,
4125
- selected: a.value.includes(C.id),
4126
+ selected: o.value.includes(C.id),
4126
4127
  data: C
4127
4128
  // we need this to determine whether or not to show the description text
4128
4129
  }))), p = (C) => {
@@ -4132,17 +4133,17 @@ const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group
4132
4133
  }, A = () => {
4133
4134
  h.value = "", k.value = [], w.value = [], n("cancel");
4134
4135
  }, k = E([]), K = E(!1), h = E(""), D = async () => {
4135
- if (!a.value.length) {
4136
+ if (!o.value.length) {
4136
4137
  h.value = "", w.value = [], n("cancel");
4137
4138
  return;
4138
4139
  }
4139
4140
  K.value = !0, h.value = "", k.value = [], w.value = [];
4140
4141
  try {
4141
- const C = a.value.map((q) => Y(q)), x = await Promise.allSettled(C);
4142
+ const C = o.value.map((q) => Y(q)), x = await Promise.allSettled(C);
4142
4143
  let S = !0;
4143
4144
  x.forEach((q) => {
4144
4145
  q.status !== "fulfilled" && (S = !1);
4145
- }), S ? (k.value = [], w.value = [], n("add:success", a.value), a.value = []) : (k.value.length && n("add:partial-success", k.value), a.value = [], N(x));
4146
+ }), S ? (k.value = [], w.value = [], n("add:success", o.value), o.value = []) : (k.value.length && n("add:partial-success", k.value), o.value = [], N(x));
4146
4147
  } catch {
4147
4148
  h.value = r("consumer_groups.errors.add"), n("error", h.value);
4148
4149
  } finally {
@@ -4157,7 +4158,7 @@ const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group
4157
4158
  group: C
4158
4159
  };
4159
4160
  try {
4160
- const S = await o.post(se.value, x);
4161
+ const S = await a.post(se.value, x);
4161
4162
  return k.value.push(C), S;
4162
4163
  } catch (S) {
4163
4164
  let q = `${p(C)} - ${S.message}`;
@@ -4188,8 +4189,8 @@ const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group
4188
4189
  V("div", cl, [
4189
4190
  V("p", dl, O(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4190
4191
  F(S, {
4191
- modelValue: a.value,
4192
- "onUpdate:modelValue": x[0] || (x[0] = (X) => a.value = X),
4192
+ modelValue: o.value,
4193
+ "onUpdate:modelValue": x[0] || (x[0] = (X) => o.value = X),
4193
4194
  autosuggest: "",
4194
4195
  "data-testid": "add-to-groups-multiselect",
4195
4196
  "dropdown-footer-text": I.value ? y(r)("consumer_groups.consumers.add.footer") : void 0,
@@ -4223,10 +4224,10 @@ const cl = { class: "add-to-group-form-container" }, dl = { class: "add-to-group
4223
4224
  });
4224
4225
  const Ft = (e, n) => {
4225
4226
  const t = e.__vccOpts || e;
4226
- for (const [r, o] of n)
4227
- t[r] = o;
4227
+ for (const [r, a] of n)
4228
+ t[r] = a;
4228
4229
  return t;
4229
- }, gl = /* @__PURE__ */ Ft(ml, [["__scopeId", "data-v-3808b4c0"]]), yl = { class: "kong-ui-entities-consumer-groups-list" }, hl = { key: 1 }, vl = /* @__PURE__ */ oe({
4230
+ }, gl = /* @__PURE__ */ Ft(ml, [["__scopeId", "data-v-3808b4c0"]]), yl = { class: "kong-ui-entities-consumer-groups-list" }, hl = { key: 1 }, vl = /* @__PURE__ */ ae({
4230
4231
  __name: "ConsumerGroupList",
4231
4232
  props: {
4232
4233
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4268,12 +4269,12 @@ const Ft = (e, n) => {
4268
4269
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4269
4270
  setup(e, { emit: n }) {
4270
4271
  var Nt;
4271
- const t = e, { i18nT: r, i18n: { t: o } } = ct.useI18n(), a = wt(), { axiosInstance: i } = Kt({
4272
+ const t = e, { i18nT: r, i18n: { t: a } } = ct.useI18n(), o = wt(), { axiosInstance: i } = Kt({
4272
4273
  headers: (Nt = t.config) == null ? void 0 : Nt.requestHeaders
4273
4274
  }), s = E(1), l = T(() => !!t.config.consumerId), c = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), d = {
4274
- name: { label: o("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4275
+ name: { label: a("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4275
4276
  };
4276
- t.config.app === "kongManager" && (d.consumers_count = { label: o("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), d.tags = { label: o("consumer_groups.list.table_headers.tags"), sortable: !1 };
4277
+ t.config.app === "kongManager" && (d.consumers_count = { label: a("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), d.tags = { label: a("consumer_groups.list.table_headers.tags"), sortable: !1 };
4277
4278
  const u = d, g = (j) => ({
4278
4279
  "data-testid": j.username ?? j.custom_id ?? j.id
4279
4280
  }), f = T(() => {
@@ -4286,9 +4287,9 @@ const Ft = (e, n) => {
4286
4287
  isExactMatch: j,
4287
4288
  fields: {
4288
4289
  username: d.name,
4289
- id: { label: o("consumer_groups.list.table_headers.id") }
4290
+ id: { label: a("consumer_groups.list.table_headers.id") }
4290
4291
  },
4291
- placeholder: o("consumer_groups.search.placeholder")
4292
+ placeholder: a("consumer_groups.search.placeholder")
4292
4293
  } : {
4293
4294
  isExactMatch: j,
4294
4295
  fields: {
@@ -4306,36 +4307,36 @@ const Ft = (e, n) => {
4306
4307
  n("copy:error", {
4307
4308
  entity: j,
4308
4309
  field: "id",
4309
- message: o("consumer_groups.errors.copy")
4310
+ message: a("consumer_groups.errors.copy")
4310
4311
  });
4311
4312
  return;
4312
4313
  }
4313
4314
  n("copy:success", {
4314
4315
  entity: j,
4315
4316
  field: "id",
4316
- message: o("consumer_groups.copy.success", { val: re })
4317
+ message: a("consumer_groups.copy.success", { val: re })
4317
4318
  });
4318
4319
  }, Y = (j, z) => {
4319
4320
  const re = JSON.stringify(j);
4320
4321
  if (!z(re)) {
4321
4322
  n("copy:error", {
4322
4323
  entity: j,
4323
- message: o("consumer_groups.errors.copy")
4324
+ message: a("consumer_groups.errors.copy")
4324
4325
  });
4325
4326
  return;
4326
4327
  }
4327
4328
  n("copy:success", {
4328
4329
  entity: j,
4329
- message: o("consumer_groups.copy.success_brief")
4330
+ message: a("consumer_groups.copy.success_brief")
4330
4331
  });
4331
4332
  }, w = async (j) => {
4332
4333
  var re;
4333
- await ((re = t.canRetrieve) == null ? void 0 : re.call(t, j)) && a.push(t.config.getViewRoute(j.id));
4334
+ await ((re = t.canRetrieve) == null ? void 0 : re.call(t, j)) && o.push(t.config.getViewRoute(j.id));
4334
4335
  }, N = (j) => ({
4335
- label: o("consumer_groups.actions.view"),
4336
+ label: a("consumer_groups.actions.view"),
4336
4337
  to: t.config.getViewRoute(j)
4337
4338
  }), U = (j) => ({
4338
- label: o("consumer_groups.actions.edit"),
4339
+ label: a("consumer_groups.actions.edit"),
4339
4340
  to: t.config.getEditRoute(j)
4340
4341
  }), C = E(void 0), x = E(!1), S = E(!1), q = E(""), J = sl(t.config, f.value), X = (j) => {
4341
4342
  C.value = j, x.value = !0;
@@ -4348,7 +4349,7 @@ const Ft = (e, n) => {
4348
4349
  try {
4349
4350
  await i.delete(J(C.value.id)), S.value = !1, x.value = !1, s.value++, n("delete:success", C.value);
4350
4351
  } catch (ye) {
4351
- q.value = ((re = (z = ye.response) == null ? void 0 : z.data) == null ? void 0 : re.message) || ye.message || o("consumer_groups.errors.delete"), n("error", ye);
4352
+ q.value = ((re = (z = ye.response) == null ? void 0 : z.data) == null ? void 0 : re.message) || ye.message || a("consumer_groups.errors.delete"), n("error", ye);
4352
4353
  } finally {
4353
4354
  S.value = !1;
4354
4355
  }
@@ -4359,7 +4360,7 @@ const Ft = (e, n) => {
4359
4360
  le.value = !1;
4360
4361
  }, B = (j, z) => {
4361
4362
  z || _(), s.value++, n("add:success", j);
4362
- }, ae = () => {
4363
+ }, oe = () => {
4363
4364
  l.value && De();
4364
4365
  }, P = E(void 0), G = E(!1), ge = E(""), _e = (j) => {
4365
4366
  P.value = j, G.value = !0;
@@ -4376,7 +4377,7 @@ const Ft = (e, n) => {
4376
4377
  const j = Ne.value.replace(/{consumerGroupId}/gi, P.value.id);
4377
4378
  await i.delete(j), n("remove:success", P.value), de(), s.value++;
4378
4379
  } catch (j) {
4379
- ge.value = j.message || o("consumer_groups.errors.delete"), n("error", j);
4380
+ ge.value = j.message || a("consumer_groups.errors.delete"), n("error", j);
4380
4381
  } finally {
4381
4382
  Ge.value = !1;
4382
4383
  }
@@ -4386,7 +4387,7 @@ const Ft = (e, n) => {
4386
4387
  var z, re, ye;
4387
4388
  if (j.status === Oe.Error) {
4388
4389
  D.value = {
4389
- title: o("consumer_groups.errors.general")
4390
+ title: a("consumer_groups.errors.general")
4390
4391
  }, (ye = (re = (z = j.error) == null ? void 0 : z.response) == null ? void 0 : re.data) != null && ye.message && (D.value.message = j.error.response.data.message), n("error", j.error);
4391
4392
  return;
4392
4393
  }
@@ -4395,11 +4396,11 @@ const Ft = (e, n) => {
4395
4396
  const pt = E({
4396
4397
  ctaPath: l.value ? void 0 : t.config.createRoute,
4397
4398
  ctaText: void 0,
4398
- message: o("consumer_groups.list.empty_state.description"),
4399
- title: o("consumer_groups.title")
4399
+ message: a("consumer_groups.list.empty_state.description"),
4400
+ title: a("consumer_groups.title")
4400
4401
  });
4401
4402
  return ut(async () => {
4402
- await t.canCreate() && (pt.value.title = l.value ? o("consumer_groups.list.empty_state.title_for_consumer") : o("consumer_groups.list.empty_state.title"), pt.value.ctaText = l.value ? o("consumer_groups.actions.add_to_group") : o("consumer_groups.actions.create"));
4403
+ await t.canCreate() && (pt.value.title = l.value ? a("consumer_groups.list.empty_state.title_for_consumer") : a("consumer_groups.list.empty_state.title"), pt.value.ctaText = l.value ? a("consumer_groups.actions.add_to_group") : a("consumer_groups.actions.create"));
4403
4404
  }), (j, z) => {
4404
4405
  const re = L("KButton"), ye = L("KBadge"), Ee = L("KTruncate"), He = L("KDropdownItem"), Bt = L("KClipboardProvider"), pr = L("KPrompt");
4405
4406
  return m(), $("div", yl, [
@@ -4420,7 +4421,7 @@ const Ft = (e, n) => {
4420
4421
  "table-headers": y(u),
4421
4422
  onClearSearchInput: K,
4422
4423
  "onClick:row": z[3] || (z[3] = (W) => w(W)),
4423
- onEmptyStateCtaClicked: ae,
4424
+ onEmptyStateCtaClicked: oe,
4424
4425
  onSort: h
4425
4426
  }, {
4426
4427
  "toolbar-filter": v(() => [
@@ -4444,7 +4445,7 @@ const Ft = (e, n) => {
4444
4445
  onClick: z[1] || (z[1] = () => e.config.consumerId ? De() : void 0)
4445
4446
  }, {
4446
4447
  default: v(() => [
4447
- Q(O(e.config.consumerId ? y(o)("consumer_groups.actions.add_to_group") : y(o)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4448
+ Q(O(e.config.consumerId ? y(a)("consumer_groups.actions.add_to_group") : y(a)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4448
4449
  ]),
4449
4450
  _: 1
4450
4451
  }, 8, ["to"])
@@ -4483,7 +4484,7 @@ const Ft = (e, n) => {
4483
4484
  onClick: (fr) => se(W, Be)
4484
4485
  }, {
4485
4486
  default: v(() => [
4486
- Q(O(y(o)("consumer_groups.actions.copy_id")), 1)
4487
+ Q(O(y(a)("consumer_groups.actions.copy_id")), 1)
4487
4488
  ]),
4488
4489
  _: 2
4489
4490
  }, 1032, ["onClick"])
@@ -4497,7 +4498,7 @@ const Ft = (e, n) => {
4497
4498
  onClick: (fr) => Y(W, Be)
4498
4499
  }, {
4499
4500
  default: v(() => [
4500
- Q(O(y(o)("consumer_groups.actions.copy_json")), 1)
4501
+ Q(O(y(a)("consumer_groups.actions.copy_json")), 1)
4501
4502
  ]),
4502
4503
  _: 2
4503
4504
  }, 1032, ["onClick"])
@@ -4538,7 +4539,7 @@ const Ft = (e, n) => {
4538
4539
  onClick: () => e.config.consumerId ? _e(W) : X(W)
4539
4540
  }, {
4540
4541
  default: v(() => [
4541
- Q(O(e.config.consumerId ? y(o)("consumer_groups.actions.exit") : y(o)("consumer_groups.actions.delete")), 1)
4542
+ Q(O(e.config.consumerId ? y(a)("consumer_groups.actions.exit") : y(a)("consumer_groups.actions.delete")), 1)
4542
4543
  ]),
4543
4544
  _: 2
4544
4545
  }, 1032, ["onClick"])
@@ -4551,11 +4552,11 @@ const Ft = (e, n) => {
4551
4552
  F(y(Ps), {
4552
4553
  "action-pending": S.value,
4553
4554
  "data-testid": "delete-consumer-group-modal",
4554
- description: y(o)("consumer_groups.delete.description"),
4555
+ description: y(a)("consumer_groups.delete.description"),
4555
4556
  "entity-name": C.value && (C.value.name || C.value.id),
4556
4557
  "entity-type": y(yn).ConsumerGroup,
4557
4558
  error: q.value,
4558
- title: y(o)("consumer_groups.delete.title"),
4559
+ title: y(a)("consumer_groups.delete.title"),
4559
4560
  visible: x.value,
4560
4561
  onCancel: ee,
4561
4562
  onProceed: te
@@ -4573,7 +4574,7 @@ const Ft = (e, n) => {
4573
4574
  key: 1,
4574
4575
  "data-testid": "exit-group-modal",
4575
4576
  "is-visible": G.value,
4576
- title: y(o)("consumer_groups.consumers.exit.title"),
4577
+ title: y(a)("consumer_groups.consumers.exit.title"),
4577
4578
  type: "danger",
4578
4579
  onCanceled: de,
4579
4580
  onProceed: dr
@@ -4597,7 +4598,7 @@ const Ft = (e, n) => {
4597
4598
  key: "0"
4598
4599
  } : void 0
4599
4600
  ]), 1032, ["keypath"]),
4600
- V("p", null, O(y(o)("consumer_groups.consumers.exit.description")), 1)
4601
+ V("p", null, O(y(a)("consumer_groups.consumers.exit.description")), 1)
4601
4602
  ]),
4602
4603
  _: 1
4603
4604
  }, 8, ["is-visible", "title"])) : H("", !0)
@@ -4608,7 +4609,7 @@ const Ft = (e, n) => {
4608
4609
  const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { class: "kong-ui-entities-consumer-group-form" }, Cl = { class: "select-item-label" }, kl = {
4609
4610
  key: 0,
4610
4611
  class: "select-item-desc"
4611
- }, _l = /* @__PURE__ */ oe({
4612
+ }, _l = /* @__PURE__ */ ae({
4612
4613
  __name: "ConsumerGroupForm",
4613
4614
  props: {
4614
4615
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4627,7 +4628,7 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4627
4628
  emits: ["update", "error", "loading"],
4628
4629
  setup(e, { emit: n }) {
4629
4630
  var te, le, De;
4630
- const t = e, { i18n: { t: r } } = ct.useI18n(), o = wt(), a = qt({
4631
+ const t = e, { i18n: { t: r } } = ct.useI18n(), a = wt(), o = qt({
4631
4632
  fields: {
4632
4633
  name: "",
4633
4634
  tags: "",
@@ -4653,53 +4654,53 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4653
4654
  }), { getMessageFromError: f } = ll(), I = T(() => u.value.map((_) => ({
4654
4655
  label: _.username || _.custom_id,
4655
4656
  value: _.id,
4656
- selected: a.fields.consumers.includes(_.id),
4657
+ selected: o.fields.consumers.includes(_.id),
4657
4658
  data: _
4658
4659
  // we need this to determine whether or not to show the description text
4659
4660
  }))), b = T(() => {
4660
4661
  var _, B;
4661
4662
  return (B = $e.form[(_ = t.config) == null ? void 0 : _.app]) == null ? void 0 : B.edit;
4662
- }), p = T(() => t.consumerGroupId ? tt.Edit : tt.Create), A = T(() => !!a.fields.name && !w.value), k = T(() => JSON.stringify(a.fields) !== JSON.stringify(i)), K = (_, B = "", ae = "") => {
4663
+ }), p = T(() => t.consumerGroupId ? tt.Edit : tt.Create), A = T(() => !!o.fields.name && !w.value), k = T(() => JSON.stringify(o.fields) !== JSON.stringify(i)), K = (_, B = "", oe = "") => {
4663
4664
  var G, ge, _e, de, Ne, Ge;
4664
4665
  let P = `${(G = t.config) == null ? void 0 : G.apiBaseUrl}${$e.form[(ge = t.config) == null ? void 0 : ge.app][_]}`;
4665
- return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (Ge = t.config) != null && Ge.workspace ? `/${t.config.workspace}` : "")), P = P.replace(/{id}/gi, B || t.consumerGroupId), (_ === "addConsumer" || _ === "removeConsumer") && (P = P.replace(/{consumerId}/gi, ae)), P;
4666
+ return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (Ge = t.config) != null && Ge.workspace ? `/${t.config.workspace}` : "")), P = P.replace(/{id}/gi, B || t.consumerGroupId), (_ === "addConsumer" || _ === "removeConsumer") && (P = P.replace(/{consumerId}/gi, oe)), P;
4666
4667
  }, h = () => {
4667
4668
  var _;
4668
- o.push(((_ = t.config) == null ? void 0 : _.cancelRoute) || { name: "consumer-group-list" });
4669
+ a.push(((_ = t.config) == null ? void 0 : _.cancelRoute) || { name: "consumer-group-list" });
4669
4670
  }, D = (_) => {
4670
4671
  n("error", _);
4671
4672
  }, se = (_) => {
4672
4673
  n("loading", _);
4673
4674
  }, Y = async (_) => {
4674
- var ae, P, G, ge, _e;
4675
- a.fields.name = ((ae = _ == null ? void 0 : _.item) == null ? void 0 : ae.name) || ((P = _ == null ? void 0 : _.consumer_group) == null ? void 0 : P.name) || (_ == null ? void 0 : _.name) || "";
4675
+ var oe, P, G, ge, _e;
4676
+ o.fields.name = ((oe = _ == null ? void 0 : _.item) == null ? void 0 : oe.name) || ((P = _ == null ? void 0 : _.consumer_group) == null ? void 0 : P.name) || (_ == null ? void 0 : _.name) || "";
4676
4677
  const B = ((G = _ == null ? void 0 : _.item) == null ? void 0 : G.tags) || (_ == null ? void 0 : _.consumer_group.tags) || (_ == null ? void 0 : _.tags) || [];
4677
- if (a.fields.tags = (B == null ? void 0 : B.join(", ")) || "", "consumers" in _)
4678
- a.fields.consumers = ((ge = _ == null ? void 0 : _.consumers) == null ? void 0 : ge.map((de) => de.id)) || [];
4678
+ if (o.fields.tags = (B == null ? void 0 : B.join(", ")) || "", "consumers" in _)
4679
+ o.fields.consumers = ((ge = _ == null ? void 0 : _.consumers) == null ? void 0 : ge.map((de) => de.id)) || [];
4679
4680
  else
4680
4681
  try {
4681
4682
  const { data: de } = await g.get(K("getConsumers"));
4682
- a.fields.consumers = "consumers" in de ? (_e = de == null ? void 0 : de.consumers) == null ? void 0 : _e.map((Ne) => Ne.id) : [];
4683
+ o.fields.consumers = "consumers" in de ? (_e = de == null ? void 0 : de.consumers) == null ? void 0 : _e.map((Ne) => Ne.id) : [];
4683
4684
  } catch (de) {
4684
4685
  x(de);
4685
4686
  }
4686
- Object.assign(i, a.fields);
4687
- }, w = T(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : r("consumer_groups.form.validation_errors.name")), N = () => {
4687
+ Object.assign(i, o.fields);
4688
+ }, w = T(() => /^[0-9a-zA-Z.\-_~]*$/.test(o.fields.name) ? "" : r("consumer_groups.form.validation_errors.name")), N = () => {
4688
4689
  var _, B;
4689
4690
  return {
4690
- name: a.fields.name,
4691
- tags: (B = (_ = a.fields.tags.split(",")) == null ? void 0 : _.map((ae) => String(ae || "").trim())) == null ? void 0 : B.filter((ae) => ae !== "")
4691
+ name: o.fields.name,
4692
+ tags: (B = (_ = o.fields.tags.split(",")) == null ? void 0 : _.map((oe) => String(oe || "").trim())) == null ? void 0 : B.filter((oe) => oe !== "")
4692
4693
  };
4693
4694
  }, U = async (_, B = "") => await g.post(K("addConsumer", B, _), { consumer: _ }), C = async (_, B = "") => await g.delete(K("removeConsumer", B, _)), x = (_) => {
4694
- a.errorMessage = f(_), n("error", _);
4695
+ o.errorMessage = f(_), n("error", _);
4695
4696
  }, S = (_ = t.consumerGroupId) => {
4696
- Object.assign(i, a.fields), n("update", { ...a.fields, id: _ });
4697
- }, q = (_, B, ae = t.consumerGroupId) => {
4697
+ Object.assign(i, o.fields), n("update", { ...o.fields, id: _ });
4698
+ }, q = (_, B, oe = t.consumerGroupId) => {
4698
4699
  const P = _ == null ? void 0 : _.find((G) => G.status !== "fulfilled");
4699
4700
  P ? x({
4700
4701
  code: P.status,
4701
4702
  message: B
4702
- }) : S(ae);
4703
+ }) : S(oe);
4703
4704
  }, J = async () => {
4704
4705
  let _ = "";
4705
4706
  try {
@@ -4708,23 +4709,23 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4708
4709
  } catch (B) {
4709
4710
  x(B);
4710
4711
  }
4711
- if (a.fields.consumers.length > 0 && _)
4712
+ if (o.fields.consumers.length > 0 && _)
4712
4713
  try {
4713
- const B = a.fields.consumers.map((P) => U(P, _)), ae = await Promise.allSettled(B);
4714
- q(ae, r("consumer_groups.errors.add_consumer"), _);
4714
+ const B = o.fields.consumers.map((P) => U(P, _)), oe = await Promise.allSettled(B);
4715
+ q(oe, r("consumer_groups.errors.add_consumer"), _);
4715
4716
  } catch (B) {
4716
4717
  x(B);
4717
4718
  }
4718
4719
  else
4719
- a.fields.consumers.length === 0 && _ && S(_);
4720
+ o.fields.consumers.length === 0 && _ && S(_);
4720
4721
  }, X = async () => {
4721
- var ae;
4722
+ var oe;
4722
4723
  try {
4723
- ((ae = t.config) == null ? void 0 : ae.app) === "konnect" ? await g.put(K("edit"), N()) : await g.patch(K("edit"), N());
4724
+ ((oe = t.config) == null ? void 0 : oe.app) === "konnect" ? await g.put(K("edit"), N()) : await g.patch(K("edit"), N());
4724
4725
  } catch (P) {
4725
4726
  x(P);
4726
4727
  }
4727
- const _ = a.fields.consumers.filter((P) => !i.consumers.includes(P)), B = i.consumers.filter((P) => !a.fields.consumers.includes(P));
4728
+ const _ = o.fields.consumers.filter((P) => !i.consumers.includes(P)), B = i.consumers.filter((P) => !o.fields.consumers.includes(P));
4728
4729
  if (B.length === 0 && _.length === 0)
4729
4730
  S();
4730
4731
  else {
@@ -4745,23 +4746,23 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4745
4746
  }
4746
4747
  }, ee = async () => {
4747
4748
  try {
4748
- a.readonly = !0, p.value === tt.Create ? await J() : await X();
4749
+ o.readonly = !0, p.value === tt.Create ? await J() : await X();
4749
4750
  } finally {
4750
- a.readonly = !1;
4751
+ o.readonly = !1;
4751
4752
  }
4752
4753
  };
4753
4754
  return ut(async () => {
4754
4755
  await d();
4755
4756
  }), (_, B) => {
4756
- const ae = L("KInput"), P = L("KMultiselect");
4757
+ const oe = L("KInput"), P = L("KMultiselect");
4757
4758
  return m(), $("div", bl, [
4758
4759
  F(y(Ts), {
4759
4760
  "can-submit": A.value && k.value,
4760
4761
  config: e.config,
4761
4762
  "edit-id": e.consumerGroupId,
4762
- "error-message": a.errorMessage || y(c) || w.value,
4763
+ "error-message": o.errorMessage || y(c) || w.value,
4763
4764
  "fetch-url": b.value,
4764
- "is-readonly": a.readonly,
4765
+ "is-readonly": o.readonly,
4765
4766
  onCancel: h,
4766
4767
  "onFetch:error": B[3] || (B[3] = (G) => D(G)),
4767
4768
  "onFetch:success": Y,
@@ -4774,9 +4775,9 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4774
4775
  title: y(r)("consumer_groups.form.general_info.title")
4775
4776
  }, {
4776
4777
  default: v(() => [
4777
- F(ae, {
4778
- modelValue: a.fields.name,
4779
- "onUpdate:modelValue": B[0] || (B[0] = (G) => a.fields.name = G),
4778
+ F(oe, {
4779
+ modelValue: o.fields.name,
4780
+ "onUpdate:modelValue": B[0] || (B[0] = (G) => o.fields.name = G),
4780
4781
  modelModifiers: { trim: !0 },
4781
4782
  autocomplete: "off",
4782
4783
  "data-testid": "consumer-group-form-name",
@@ -4785,9 +4786,9 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4785
4786
  required: "",
4786
4787
  type: "text"
4787
4788
  }, null, 8, ["modelValue", "label", "placeholder"]),
4788
- F(ae, {
4789
- modelValue: a.fields.tags,
4790
- "onUpdate:modelValue": B[1] || (B[1] = (G) => a.fields.tags = G),
4789
+ F(oe, {
4790
+ modelValue: o.fields.tags,
4791
+ "onUpdate:modelValue": B[1] || (B[1] = (G) => o.fields.tags = G),
4791
4792
  modelModifiers: { trim: !0 },
4792
4793
  autocomplete: "off",
4793
4794
  "data-testid": "consumer-group-form-tags",
@@ -4810,8 +4811,8 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4810
4811
  }, {
4811
4812
  default: v(() => [
4812
4813
  F(P, {
4813
- modelValue: a.fields.consumers,
4814
- "onUpdate:modelValue": B[2] || (B[2] = (G) => a.fields.consumers = G),
4814
+ modelValue: o.fields.consumers,
4815
+ "onUpdate:modelValue": B[2] || (B[2] = (G) => o.fields.consumers = G),
4815
4816
  appearance: "select",
4816
4817
  autosuggest: "",
4817
4818
  "expand-selected": "",
@@ -4841,7 +4842,7 @@ const Fl = /* @__PURE__ */ Ft(vl, [["__scopeId", "data-v-69c5dd3a"]]), bl = { cl
4841
4842
  };
4842
4843
  }
4843
4844
  });
4844
- const Nl = /* @__PURE__ */ Ft(_l, [["__scopeId", "data-v-102d40d2"]]), wl = { class: "kong-ui-consumer-group-entity-config-card" }, Bl = /* @__PURE__ */ oe({
4845
+ const Nl = /* @__PURE__ */ Ft(_l, [["__scopeId", "data-v-102d40d2"]]), wl = { class: "kong-ui-consumer-group-entity-config-card" }, Bl = /* @__PURE__ */ ae({
4845
4846
  __name: "ConsumerGroupConfigCard",
4846
4847
  props: {
4847
4848
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4868,7 +4869,7 @@ const Nl = /* @__PURE__ */ Ft(_l, [["__scopeId", "data-v-102d40d2"]]), wl = { cl
4868
4869
  },
4869
4870
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4870
4871
  setup(e) {
4871
- const n = e, { i18n: { t } } = ct.useI18n(), r = T(() => $e.form[n.config.app].edit), o = E({
4872
+ const n = e, { i18n: { t } } = ct.useI18n(), r = T(() => $e.form[n.config.app].edit), a = E({
4872
4873
  id: {},
4873
4874
  name: {},
4874
4875
  created_at: {},
@@ -4877,18 +4878,18 @@ const Nl = /* @__PURE__ */ Ft(_l, [["__scopeId", "data-v-102d40d2"]]), wl = { cl
4877
4878
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
4878
4879
  }
4879
4880
  });
4880
- return (a, i) => (m(), $("div", wl, [
4881
+ return (o, i) => (m(), $("div", wl, [
4881
4882
  F(y(Is), {
4882
4883
  config: e.config,
4883
4884
  "config-card-doc": e.configCardDoc,
4884
- "config-schema": o.value,
4885
+ "config-schema": a.value,
4885
4886
  "data-key": "consumer_group",
4886
4887
  "fetch-url": r.value,
4887
4888
  "hide-title": e.hideTitle,
4888
- "onCopy:success": i[0] || (i[0] = (s) => a.$emit("copy:success", s)),
4889
- "onFetch:error": i[1] || (i[1] = (s) => a.$emit("fetch:error", s)),
4890
- "onFetch:success": i[2] || (i[2] = (s) => a.$emit("fetch:success", s)),
4891
- onLoading: i[3] || (i[3] = (s) => a.$emit("loading", s))
4889
+ "onCopy:success": i[0] || (i[0] = (s) => o.$emit("copy:success", s)),
4890
+ "onFetch:error": i[1] || (i[1] = (s) => o.$emit("fetch:error", s)),
4891
+ "onFetch:success": i[2] || (i[2] = (s) => o.$emit("fetch:success", s)),
4892
+ onLoading: i[3] || (i[3] = (s) => o.$emit("loading", s))
4892
4893
  }, null, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])
4893
4894
  ]));
4894
4895
  }