@kong-ui-public/entities-consumers 2.5.19 → 2.5.20

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 te, ref as K, computed as A, watch as be, renderSlot as Z, createCommentVNode as H, unref as f, useSlots as Ze, onBeforeMount as gt, resolveComponent as U, openBlock as d, createBlock as R, createSlots as ke, withCtx as g, createElementVNode as B, createTextVNode as Y, toDisplayString as M, createVNode as O, createElementBlock as $, renderList as pe, Fragment as me, normalizeClass as Ie, withModifiers as Ge, withDirectives as Be, vShow as Le, useCssVars as dn, inject as pn, resolveDynamicComponent as xe, normalizeProps as kr, guardReactiveProps as wr, mergeProps as lt, onMounted as Ir, onUnmounted as _r, normalizeStyle as fn, pushScopeId as mn, popScopeId as gn, reactive as qt } from "vue";
1
+ import { defineComponent as te, ref as K, computed as A, watch as be, renderSlot as Z, createCommentVNode as H, unref as m, useSlots as Ze, onBeforeMount as gt, resolveComponent as U, openBlock as d, createBlock as V, createSlots as ke, withCtx as g, createElementVNode as B, createTextVNode as Y, toDisplayString as M, createVNode as O, createElementBlock as $, renderList as pe, Fragment as me, normalizeClass as Ie, withModifiers as Ge, withDirectives as Be, vShow as Le, useCssVars as dn, inject as pn, resolveDynamicComponent as xe, normalizeProps as kr, guardReactiveProps as wr, mergeProps as lt, onMounted as Ir, onUnmounted as _r, normalizeStyle as fn, pushScopeId as mn, popScopeId as gn, reactive as qt } from "vue";
2
2
  import { useRouter as yt } from "vue-router";
3
3
  import { createI18n as ht, i18nTComponent as yn } from "@kong-ui-public/i18n";
4
4
  import Bt from "axios";
@@ -310,7 +310,7 @@ const Er = {
310
310
  message: "Are you sure you want to disable the {entityType} {entityName}?",
311
311
  confirmText: "Yes, disable"
312
312
  }
313
- }, Dr = {
313
+ }, Rr = {
314
314
  global: Er,
315
315
  deleteModal: Fr,
316
316
  baseForm: Nr,
@@ -322,7 +322,7 @@ const Er = {
322
322
  toggleModal: Pr
323
323
  };
324
324
  function bt() {
325
- const e = ht("en-us", Dr);
325
+ const e = ht("en-us", Rr);
326
326
  return {
327
327
  i18n: e,
328
328
  i18nT: yn(e)
@@ -373,7 +373,7 @@ function vn() {
373
373
  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
374
374
  };
375
375
  }
376
- function Rr(e, n, t, r = {
376
+ function Vr(e, n, t, r = {
377
377
  fetchedItemsKey: "data",
378
378
  searchKeys: ["id"]
379
379
  }) {
@@ -382,14 +382,14 @@ function Rr(e, n, t, r = {
382
382
  headers: e.requestHeaders
383
383
  }), { i18n: { t: i } } = bt(), { debounce: o } = $r(), s = o(async (k) => {
384
384
  await G(k);
385
- }, 200), l = K(!1), u = K(""), p = K(""), c = K([]), y = K([]), m = K(void 0), I = f(n);
385
+ }, 200), l = K(!1), u = K(""), p = K(""), c = K([]), y = K([]), f = K(void 0), I = m(n);
386
386
  let b = `${e.apiBaseUrl}${I}`;
387
387
  e.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
388
388
  const { isValidUuid: _ } = vn(), C = async () => {
389
389
  try {
390
390
  l.value = !0;
391
391
  const { data: k } = await a.get(`${b}?size=${t}`);
392
- k != null && k.next || (m.value = r.fetchedItemsKey in k ? k[r.fetchedItemsKey] : []), y.value = r.fetchedItemsKey in k ? k[r.fetchedItemsKey] : [], c.value = y.value;
392
+ k != null && k.next || (f.value = r.fetchedItemsKey in k ? k[r.fetchedItemsKey] : []), y.value = r.fetchedItemsKey in k ? k[r.fetchedItemsKey] : [], c.value = y.value;
393
393
  } catch {
394
394
  c.value = [], u.value = i("debouncedFilter.errors.fetch");
395
395
  } finally {
@@ -398,7 +398,7 @@ function Rr(e, n, t, r = {
398
398
  }, w = K(""), G = async (k) => {
399
399
  var j, L, E;
400
400
  if (w.value !== k)
401
- if (w.value = k || "", m.value === void 0)
401
+ if (w.value = k || "", f.value === void 0)
402
402
  try {
403
403
  if (l.value = !0, u.value = "", p.value = "", e.app === "konnect") {
404
404
  let h = b + "";
@@ -412,14 +412,14 @@ function Rr(e, n, t, r = {
412
412
  return [S[r.fetchedItemsKey] ?? S];
413
413
  })()) : h.push(
414
414
  ...r.searchKeys.filter((S) => S !== "id").map(async (S) => {
415
- const { data: D } = await a.get(`${b}?${S}=${k}`);
416
- return D[r.fetchedItemsKey];
415
+ const { data: R } = await a.get(`${b}?${S}=${k}`);
416
+ return R[r.fetchedItemsKey];
417
417
  })
418
418
  );
419
419
  const v = await Promise.all(h), q = /* @__PURE__ */ new Set();
420
420
  c.value = [], (j = v == null ? void 0 : v.forEach) == null || j.call(v, (S) => {
421
- var D;
422
- (D = S == null ? void 0 : S.forEach) == null || D.call(S, (x) => {
421
+ var R;
422
+ (R = S == null ? void 0 : S.forEach) == null || R.call(S, (x) => {
423
423
  q.has(x.id) || (q.add(x.id), c.value.push(x));
424
424
  });
425
425
  });
@@ -431,28 +431,28 @@ function Rr(e, n, t, r = {
431
431
  l.value = !1;
432
432
  }
433
433
  else
434
- l.value = !0, p.value = "", k ? (c.value = (E = m.value) == null ? void 0 : E.filter((h) => {
434
+ l.value = !0, p.value = "", k ? (c.value = (E = f.value) == null ? void 0 : E.filter((h) => {
435
435
  var v;
436
436
  let q = !1;
437
437
  for (const S of r.searchKeys) {
438
- const D = typeof h[S] == "string" ? (v = h[S]) == null ? void 0 : v.toLowerCase() : h[S];
439
- D != null && D.includes(k.toLowerCase()) && (q = !0);
438
+ const R = typeof h[S] == "string" ? (v = h[S]) == null ? void 0 : v.toLowerCase() : h[S];
439
+ R != null && R.includes(k.toLowerCase()) && (q = !0);
440
440
  }
441
441
  return q;
442
- }), (!c.value || !c.value.length) && (p.value = i("debouncedFilter.errors.invalid"))) : c.value = m.value, l.value = !1;
442
+ }), (!c.value || !c.value.length) && (p.value = i("debouncedFilter.errors.invalid"))) : c.value = f.value, l.value = !1;
443
443
  };
444
444
  return {
445
445
  loading: l,
446
446
  error: u,
447
447
  validationError: p,
448
448
  results: c,
449
- allRecords: m,
449
+ allRecords: f,
450
450
  loadItems: C,
451
451
  debouncedQueryChange: s
452
452
  };
453
453
  }
454
- function Vr(e, n) {
455
- const t = f(n), r = A(
454
+ function Dr(e, n) {
455
+ const t = m(n), r = A(
456
456
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
457
457
  );
458
458
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
@@ -499,7 +499,7 @@ function Hr(e) {
499
499
  }
500
500
  }
501
501
  function bn(e, n) {
502
- const t = K(f(e)), r = K(f(n)), a = A(
502
+ const t = K(m(e)), r = K(m(n)), a = A(
503
503
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
504
504
  ), i = A(
505
505
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
@@ -507,17 +507,17 @@ function bn(e, n) {
507
507
  return (o) => {
508
508
  const { page: s, pageSize: l, offset: u, sortColumnKey: p, sortColumnOrder: c, query: y } = o;
509
509
  try {
510
- let m = new URL(i.value.href);
511
- return a.value && y ? (m.search = "", m = t.value.app === "konnect" ? new URL(`${m.href}?filter[name][contains]=${y}`) : new URL(`${m.href}/${y}/`)) : (a.value || new URLSearchParams(y).forEach((I, b) => {
512
- m.searchParams.append(b, I);
513
- }), p && m.searchParams.append("sort_by", p), c === "desc" && m.searchParams.append("sort_desc", "1"), m.searchParams.append("size", String(l))), u && s !== 1 && m.searchParams.append("offset", String(u)), m.href;
514
- } catch (m) {
515
- return console.error("RouteList(fetcher)", m), r.value;
510
+ let f = new URL(i.value.href);
511
+ return a.value && y ? (f.search = "", f = t.value.app === "konnect" ? new URL(`${f.href}?filter[name][contains]=${y}`) : new URL(`${f.href}/${y}/`)) : (a.value || new URLSearchParams(y).forEach((I, b) => {
512
+ f.searchParams.append(b, I);
513
+ }), p && f.searchParams.append("sort_by", p), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), u && s !== 1 && f.searchParams.append("offset", String(u)), f.href;
514
+ } catch (f) {
515
+ return console.error("RouteList(fetcher)", f), r.value;
516
516
  }
517
517
  };
518
518
  }
519
519
  function zr(e, n, t = "data") {
520
- const r = f(n), { axiosInstance: a } = vt({
520
+ const r = m(n), { axiosInstance: a } = vt({
521
521
  headers: e.requestHeaders
522
522
  }), i = bn(e, r), o = K({
523
523
  status: Ae.Idle
@@ -582,7 +582,7 @@ const Cn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
582
582
  return 0;
583
583
  const [t, r] = Yr(Pt(e), Pt(n));
584
584
  return t > r ? 1 : t < r ? -1 : 0;
585
- }, Dt = (e, n) => {
585
+ }, Rt = (e, n) => {
586
586
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
587
587
  const r = Wr(e[t] || "0", n[t] || "0");
588
588
  if (r !== 0)
@@ -590,9 +590,9 @@ const Cn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
590
590
  }
591
591
  return 0;
592
592
  }, Zr = (e, n) => {
593
- const t = Lt(e), r = Lt(n), a = t.pop(), i = r.pop(), o = Dt(t, r);
594
- return o !== 0 ? o : a && i ? Dt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
595
- }, Rt = (e, n, t) => {
593
+ const t = Lt(e), r = Lt(n), a = t.pop(), i = r.pop(), o = Rt(t, r);
594
+ return o !== 0 ? o : a && i ? Rt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
595
+ }, Vt = (e, n, t) => {
596
596
  Qr(t);
597
597
  const r = Zr(e, n);
598
598
  return kn[t].includes(r);
@@ -603,11 +603,11 @@ const Cn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
603
603
  "<=": [-1, 0],
604
604
  "<": [-1],
605
605
  "!=": [-1, 1]
606
- }, Vt = Object.keys(kn), Qr = (e) => {
606
+ }, Dt = Object.keys(kn), Qr = (e) => {
607
607
  if (typeof e != "string")
608
608
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
609
- if (Vt.indexOf(e) === -1)
610
- throw new Error(`Invalid operator, expected one of ${Vt.join("|")}`);
609
+ if (Dt.indexOf(e) === -1)
610
+ throw new Error(`Invalid operator, expected one of ${Dt.join("|")}`);
611
611
  }, Xr = (e) => typeof e == "string" && /^[v\d]/.test(e) && Cn.test(e);
612
612
  function ea(e) {
613
613
  const { gatewayInfo: n, supportedRange: t } = e;
@@ -620,7 +620,7 @@ function ea(e) {
620
620
  if (!i)
621
621
  return !1;
622
622
  const [o, s] = i;
623
- return !(o && Rt(a, o, "<") || s && Rt(a, s, ">"));
623
+ return !(o && Vt(a, o, "<") || s && Vt(a, s, ">"));
624
624
  }
625
625
  function ta(e) {
626
626
  const n = K(0), t = K(0), r = K(!1);
@@ -632,8 +632,8 @@ function ta(e) {
632
632
  }
633
633
  const oe = {
634
634
  useAxios: vt,
635
- useDebouncedFilter: Rr,
636
- useDeleteUrlBuilder: Vr,
635
+ useDebouncedFilter: Vr,
636
+ useDeleteUrlBuilder: Dr,
637
637
  useErrors: Gr,
638
638
  useExternalLinkCreator: Hr,
639
639
  useFetcher: zr,
@@ -732,7 +732,7 @@ const oe = {
732
732
  lineHeight: "0",
733
733
  width: t.value
734
734
  }));
735
- return (a, i) => (d(), R(xe(e.as), {
735
+ return (a, i) => (d(), V(xe(e.as), {
736
736
  "aria-hidden": e.decorative ? "true" : void 0,
737
737
  class: "kui-icon copy-icon",
738
738
  "data-testid": "kui-icon-wrapper-copy-icon",
@@ -813,15 +813,15 @@ const oe = {
813
813
  maxWidth: "500px",
814
814
  placement: "bottomStart"
815
815
  } : {}), p = A(() => {
816
- var m;
817
- return r.format === "redacted" ? "*****" : r.format === "deleted" ? `*${(m = r.uuid) == null ? void 0 : m.substring(0, 5)}` : r.uuid;
818
- }), c = (m) => {
819
- l.value = m, setTimeout(() => {
816
+ var f;
817
+ return r.format === "redacted" ? "*****" : r.format === "deleted" ? `*${(f = r.uuid) == null ? void 0 : f.substring(0, 5)}` : r.uuid;
818
+ }), c = (f) => {
819
+ l.value = f, setTimeout(() => {
820
820
  l.value = r.tooltip;
821
821
  }, 1800);
822
- }, y = (m) => {
822
+ }, y = (f) => {
823
823
  var I, b;
824
- if (!m(r.uuid)) {
824
+ if (!f(r.uuid)) {
825
825
  typeof i == "function" && i({
826
826
  type: "error",
827
827
  message: t("message.fail")
@@ -834,10 +834,10 @@ const oe = {
834
834
  message: `${C}${t("message.success.content")}`
835
835
  }), s.value ? c(r.successTooltip) : a("success", r.uuid);
836
836
  };
837
- return (m, I) => {
837
+ return (f, I) => {
838
838
  const b = U("KClipboardProvider");
839
839
  return d(), $("div", ma, [
840
- e.format !== "hidden" ? (d(), R(xe(e.idTooltip ? "KTooltip" : "div"), lt({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
840
+ e.format !== "hidden" ? (d(), V(xe(e.idTooltip ? "KTooltip" : "div"), lt({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
841
841
  default: g(() => [
842
842
  B("div", {
843
843
  class: Ie([
@@ -849,7 +849,7 @@ const oe = {
849
849
  ]),
850
850
  _: 1
851
851
  }, 16)) : H("", !0),
852
- (d(), R(xe(e.tooltip ? "KTooltip" : "div"), lt(u.value, { class: "uuid-icon-wrapper" }), {
852
+ (d(), V(xe(e.tooltip ? "KTooltip" : "div"), lt(u.value, { class: "uuid-icon-wrapper" }), {
853
853
  default: g(() => [
854
854
  O(b, null, {
855
855
  default: g(({ copyToClipboard: _ }) => [
@@ -859,12 +859,12 @@ const oe = {
859
859
  tabindex: "0",
860
860
  onClick: Ge((C) => y(_), ["stop"])
861
861
  }, [
862
- O(f(pa), {
862
+ O(m(pa), {
863
863
  class: "uuid-icon",
864
864
  color: e.iconColor,
865
865
  decorative: !!e.tooltip,
866
- size: f(fa),
867
- title: f(t)("iconTitle")
866
+ size: m(fa),
867
+ title: m(t)("iconTitle")
868
868
  }, null, 8, ["color", "decorative", "size", "title"])
869
869
  ], 8, ga)
870
870
  ]),
@@ -908,18 +908,18 @@ const oe = {
908
908
  var l;
909
909
  return n.isArrayItem ? (l = i.value) != null && l.name ? r(i.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
910
910
  });
911
- return (l, u) => (d(), R(xe(e.isArrayItem ? "fieldset" : "div"), {
911
+ return (l, u) => (d(), V(xe(e.isArrayItem ? "fieldset" : "div"), {
912
912
  class: Ie(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
913
913
  }, {
914
914
  default: g(() => [
915
915
  e.isArrayItem ? (d(), $("legend", va, [
916
916
  B("b", null, M(s.value), 1)
917
917
  ])) : H("", !0),
918
- (d(!0), $(me, null, pe(Object.keys(o.value), (p, c) => (d(), R(Ct, {
918
+ (d(!0), $(me, null, pe(Object.keys(o.value), (p, c) => (d(), V(Ct, {
919
919
  key: `${a.value}-property-${c}`,
920
920
  item: {
921
921
  key: p,
922
- label: f(r)(p),
922
+ label: m(r)(p),
923
923
  value: o.value[p]
924
924
  }
925
925
  }, null, 8, ["item"]))), 128))
@@ -952,7 +952,7 @@ const oe = {
952
952
  onClick: r[0] || (r[0] = (i) => t.$emit("navigation-click", e.item))
953
953
  }, {
954
954
  default: g(() => [
955
- Y(M(e.item.value || f(n)("baseConfigCard.commonFields.link")), 1)
955
+ Y(M(e.item.value || m(n)("baseConfigCard.commonFields.link")), 1)
956
956
  ]),
957
957
  _: 1
958
958
  })
@@ -971,11 +971,11 @@ const oe = {
971
971
  const { i18n: { t: n } } = oe.useI18n();
972
972
  return (t, r) => {
973
973
  const a = U("KBadge");
974
- return d(), R(a, {
974
+ return d(), V(a, {
975
975
  appearance: e.status ? "success" : "neutral"
976
976
  }, {
977
977
  default: g(() => [
978
- Y(M(e.status ? f(n)("baseConfigCard.statusBadge.enabledLabel") : f(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
978
+ Y(M(e.status ? m(n)("baseConfigCard.statusBadge.enabledLabel") : m(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
979
979
  ]),
980
980
  _: 1
981
981
  }, 8, ["appearance"]);
@@ -1005,7 +1005,7 @@ const oe = {
1005
1005
  emits: ["navigation-click"],
1006
1006
  setup(e, { emit: n }) {
1007
1007
  dn((I) => ({
1008
- "5ae2770e": p.value ? "none" : `solid ${f(Sa)} ${f(_a)}`,
1008
+ "5ae2770e": p.value ? "none" : `solid ${m(Sa)} ${m(_a)}`,
1009
1009
  "4db3977e": u.value && s.value ? "block" : "flex",
1010
1010
  "1a7c5e02": u.value && s.value ? "100%" : t.slim ? "50%" : "25%",
1011
1011
  "1a77d24c": u.value && s.value ? "100%" : t.slim ? "50%" : "75%"
@@ -1136,7 +1136,7 @@ const oe = {
1136
1136
  text: t.item.value
1137
1137
  };
1138
1138
  }
1139
- }), y = K(), { isTruncated: m } = oe.useTruncationDetector(y);
1139
+ }), y = K(), { isTruncated: f } = oe.useTruncationDetector(y);
1140
1140
  return (I, b) => {
1141
1141
  const _ = U("KLabel"), C = U("KBadge"), w = U("KTooltip");
1142
1142
  return d(), $("div", Ta, [
@@ -1175,13 +1175,13 @@ const oe = {
1175
1175
  rowValue: e.item.value
1176
1176
  }, () => [
1177
1177
  s.value ? (d(), $("div", Ea, [
1178
- (d(), R(xe(c.value.tag), kr(wr(c.value.attrs)), {
1178
+ (d(), V(xe(c.value.tag), kr(wr(c.value.attrs)), {
1179
1179
  default: g(() => [
1180
1180
  c.value.additionalComponent === "KBadge" ? (d(), $("div", {
1181
1181
  key: 0,
1182
1182
  "data-testid": `${e.item.key}-badge-tags`
1183
1183
  }, [
1184
- (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), R(C, {
1184
+ (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), V(C, {
1185
1185
  key: `${e.item.key}-badge-tag-${k}`,
1186
1186
  class: "config-badge",
1187
1187
  "data-testid": `${e.item.key}-badge-tag-${k}`,
@@ -1199,7 +1199,7 @@ const oe = {
1199
1199
  class: "copy-uuid-array",
1200
1200
  "data-testid": `${e.item.key}-copy-uuid-array`
1201
1201
  }, [
1202
- (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), R(f(wn), lt(c.value.childAttrs, {
1202
+ (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), V(m(wn), lt(c.value.childAttrs, {
1203
1203
  key: `${e.item.key}-copy-uuid-${k}`,
1204
1204
  "data-testid": `${e.item.key}-copy-uuid-${k}`,
1205
1205
  uuid: G
@@ -1209,9 +1209,9 @@ const oe = {
1209
1209
  class: "method-badge-array",
1210
1210
  "data-testid": `${e.item.key}-badge-methods`
1211
1211
  }, [
1212
- (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), R(C, {
1212
+ (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), V(C, {
1213
1213
  key: `${e.item.key}-badge-method-${k}`,
1214
- appearance: Object.values(f(Ar)).includes(G.toLowerCase()) ? G.toLowerCase() : "custom",
1214
+ appearance: Object.values(m(Ar)).includes(G.toLowerCase()) ? G.toLowerCase() : "custom",
1215
1215
  class: "config-badge",
1216
1216
  "data-testid": `${e.item.key}-badge-method-${k}`
1217
1217
  }, {
@@ -1225,15 +1225,15 @@ const oe = {
1225
1225
  key: 3,
1226
1226
  "data-testid": `${t.item.key}-json-array-content`
1227
1227
  }, [
1228
- (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), R(In, {
1228
+ (d(!0), $(me, null, pe(e.item.value, (G, k) => (d(), V(In, {
1229
1229
  key: `json-array-item-${k}`,
1230
1230
  index: k,
1231
1231
  "is-array-item": "",
1232
1232
  item: G
1233
1233
  }, null, 8, ["index", "item"]))), 128))
1234
- ], 8, qa)) : (d(), R(w, {
1234
+ ], 8, qa)) : (d(), V(w, {
1235
1235
  key: 4,
1236
- text: f(m) ? e.item.value : ""
1236
+ text: m(f) ? e.item.value : ""
1237
1237
  }, {
1238
1238
  default: g(() => [
1239
1239
  B("span", {
@@ -1318,7 +1318,7 @@ const oe = {
1318
1318
  theme: "dark"
1319
1319
  }, null, 8, ["code"])
1320
1320
  ])) : H("", !0),
1321
- n.jsonRecord ? (d(), R(l, {
1321
+ n.jsonRecord ? (d(), V(l, {
1322
1322
  key: 1,
1323
1323
  id: "json-codeblock",
1324
1324
  class: Ie({ "json-content": n.fetcherUrl }),
@@ -1334,13 +1334,13 @@ const oe = {
1334
1334
  function An(e) {
1335
1335
  return typeof e > "u" || e === null;
1336
1336
  }
1337
- function Da(e) {
1337
+ function Ra(e) {
1338
1338
  return typeof e == "object" && e !== null;
1339
1339
  }
1340
- function Ra(e) {
1340
+ function Va(e) {
1341
1341
  return Array.isArray(e) ? e : An(e) ? [] : [e];
1342
1342
  }
1343
- function Va(e, n) {
1343
+ function Da(e, n) {
1344
1344
  var t, r, a, i;
1345
1345
  if (n)
1346
1346
  for (i = Object.keys(n), t = 0, r = i.length; t < r; t += 1)
@@ -1356,7 +1356,7 @@ function Ga(e, n) {
1356
1356
  function Ha(e) {
1357
1357
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1358
1358
  }
1359
- var za = An, Ja = Da, Ya = Ra, Wa = Ga, Za = Ha, Qa = Va, ae = {
1359
+ var za = An, Ja = Ra, Ya = Va, Wa = Ga, Za = Ha, Qa = Da, ae = {
1360
1360
  isNothing: za,
1361
1361
  isObject: Ja,
1362
1362
  toArray: Ya,
@@ -1830,7 +1830,7 @@ function Mo(e) {
1830
1830
  function Oo(e) {
1831
1831
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1832
1832
  }
1833
- var Dn = new ie("tag:yaml.org,2002:binary", {
1833
+ var Rn = new ie("tag:yaml.org,2002:binary", {
1834
1834
  kind: "scalar",
1835
1835
  resolve: jo,
1836
1836
  construct: $o,
@@ -1862,7 +1862,7 @@ function No(e) {
1862
1862
  function Ko(e) {
1863
1863
  return e !== null ? e : [];
1864
1864
  }
1865
- var Rn = new ie("tag:yaml.org,2002:omap", {
1865
+ var Vn = new ie("tag:yaml.org,2002:omap", {
1866
1866
  kind: "sequence",
1867
1867
  resolve: No,
1868
1868
  construct: Ko
@@ -1886,7 +1886,7 @@ function Lo(e) {
1886
1886
  r = o[n], a = Object.keys(r), i[n] = [a[0], r[a[0]]];
1887
1887
  return i;
1888
1888
  }
1889
- var Vn = new ie("tag:yaml.org,2002:pairs", {
1889
+ var Dn = new ie("tag:yaml.org,2002:pairs", {
1890
1890
  kind: "sequence",
1891
1891
  resolve: Bo,
1892
1892
  construct: Lo
@@ -1900,25 +1900,25 @@ function Po(e) {
1900
1900
  return !1;
1901
1901
  return !0;
1902
1902
  }
1903
- function Do(e) {
1903
+ function Ro(e) {
1904
1904
  return e !== null ? e : {};
1905
1905
  }
1906
1906
  var Gn = new ie("tag:yaml.org,2002:set", {
1907
1907
  kind: "mapping",
1908
1908
  resolve: Po,
1909
- construct: Do
1909
+ construct: Ro
1910
1910
  }), wt = qn.extend({
1911
1911
  implicit: [
1912
1912
  Un,
1913
1913
  Pn
1914
1914
  ],
1915
1915
  explicit: [
1916
- Dn,
1917
1916
  Rn,
1918
1917
  Vn,
1918
+ Dn,
1919
1919
  Gn
1920
1920
  ]
1921
- }), _e = Object.prototype.hasOwnProperty, He = 1, Hn = 2, zn = 3, ze = 4, st = 1, Ro = 2, Jt = 3, Vo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Go = /[\x85\u2028\u2029]/, Ho = /[,\[\]\{\}]/, Jn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1921
+ }), _e = Object.prototype.hasOwnProperty, He = 1, Hn = 2, zn = 3, ze = 4, st = 1, Vo = 2, Jt = 3, Do = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Go = /[\x85\u2028\u2029]/, Ho = /[,\[\]\{\}]/, Jn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1922
1922
  function Yt(e) {
1923
1923
  return Object.prototype.toString.call(e);
1924
1924
  }
@@ -2000,7 +2000,7 @@ function we(e, n, t, r) {
2000
2000
  for (a = 0, i = s.length; a < i; a += 1)
2001
2001
  o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || N(e, "expected valid JSON character");
2002
2002
  else
2003
- Vo.test(s) && N(e, "the stream contains non-printable characters");
2003
+ Do.test(s) && N(e, "the stream contains non-printable characters");
2004
2004
  e.result += s;
2005
2005
  }
2006
2006
  }
@@ -2058,29 +2058,29 @@ function _t(e, n) {
2058
2058
  `, n - 1));
2059
2059
  }
2060
2060
  function Qo(e, n, t) {
2061
- var r, a, i, o, s, l, u, p, c = e.kind, y = e.result, m;
2062
- if (m = e.input.charCodeAt(e.position), fe(m) || Ee(m) || m === 35 || m === 38 || m === 42 || m === 33 || m === 124 || m === 62 || m === 39 || m === 34 || m === 37 || m === 64 || m === 96 || (m === 63 || m === 45) && (a = e.input.charCodeAt(e.position + 1), fe(a) || t && Ee(a)))
2061
+ var r, a, i, o, s, l, u, p, c = e.kind, y = e.result, f;
2062
+ if (f = e.input.charCodeAt(e.position), fe(f) || Ee(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), fe(a) || t && Ee(a)))
2063
2063
  return !1;
2064
- for (e.kind = "scalar", e.result = "", i = o = e.position, s = !1; m !== 0; ) {
2065
- if (m === 58) {
2064
+ for (e.kind = "scalar", e.result = "", i = o = e.position, s = !1; f !== 0; ) {
2065
+ if (f === 58) {
2066
2066
  if (a = e.input.charCodeAt(e.position + 1), fe(a) || t && Ee(a))
2067
2067
  break;
2068
- } else if (m === 35) {
2068
+ } else if (f === 35) {
2069
2069
  if (r = e.input.charCodeAt(e.position - 1), fe(r))
2070
2070
  break;
2071
2071
  } else {
2072
- if (e.position === e.lineStart && Xe(e) || t && Ee(m))
2072
+ if (e.position === e.lineStart && Xe(e) || t && Ee(f))
2073
2073
  break;
2074
- if (he(m))
2074
+ if (he(f))
2075
2075
  if (l = e.line, u = e.lineStart, p = e.lineIndent, re(e, !1, -1), e.lineIndent >= n) {
2076
- s = !0, m = e.input.charCodeAt(e.position);
2076
+ s = !0, f = e.input.charCodeAt(e.position);
2077
2077
  continue;
2078
2078
  } else {
2079
2079
  e.position = o, e.line = l, e.lineStart = u, e.lineIndent = p;
2080
2080
  break;
2081
2081
  }
2082
2082
  }
2083
- s && (we(e, i, o, !1), _t(e, e.line - l), i = o = e.position, s = !1), Se(m) || (o = e.position + 1), m = e.input.charCodeAt(++e.position);
2083
+ s && (we(e, i, o, !1), _t(e, e.line - l), i = o = e.position, s = !1), Se(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
2084
2084
  }
2085
2085
  return we(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
2086
2086
  }
@@ -2123,17 +2123,17 @@ function ei(e, n) {
2123
2123
  N(e, "unexpected end of the stream within a double quoted scalar");
2124
2124
  }
2125
2125
  function ti(e, n) {
2126
- var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, y, m, I = /* @__PURE__ */ Object.create(null), b, _, C, w;
2126
+ var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, y, f, I = /* @__PURE__ */ Object.create(null), b, _, C, w;
2127
2127
  if (w = e.input.charCodeAt(e.position), w === 91)
2128
- p = 93, m = !1, s = [];
2128
+ p = 93, f = !1, s = [];
2129
2129
  else if (w === 123)
2130
- p = 125, m = !0, s = {};
2130
+ p = 125, f = !0, s = {};
2131
2131
  else
2132
2132
  return !1;
2133
2133
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
2134
2134
  if (re(e, !0, n), w = e.input.charCodeAt(e.position), w === p)
2135
- return e.position++, e.tag = o, e.anchor = l, e.kind = m ? "mapping" : "sequence", e.result = s, !0;
2136
- t ? w === 44 && N(e, "expected the node content, but found ','") : N(e, "missed comma between flow collection entries"), _ = b = C = null, c = y = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), fe(u) && (c = y = !0, e.position++, re(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, Ne(e, n, He, !1, !0), _ = e.tag, b = e.result, re(e, !0, n), w = e.input.charCodeAt(e.position), (y || e.line === r) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), re(e, !0, n), Ne(e, n, He, !1, !0), C = e.result), m ? Fe(e, s, I, _, b, C, r, a, i) : c ? s.push(Fe(e, null, I, _, b, C, r, a, i)) : s.push(b), re(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2135
+ return e.position++, e.tag = o, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2136
+ t ? w === 44 && N(e, "expected the node content, but found ','") : N(e, "missed comma between flow collection entries"), _ = b = C = null, c = y = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), fe(u) && (c = y = !0, e.position++, re(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, Ne(e, n, He, !1, !0), _ = e.tag, b = e.result, re(e, !0, n), w = e.input.charCodeAt(e.position), (y || e.line === r) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), re(e, !0, n), Ne(e, n, He, !1, !0), C = e.result), f ? Fe(e, s, I, _, b, C, r, a, i) : c ? s.push(Fe(e, null, I, _, b, C, r, a, i)) : s.push(b), re(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2137
2137
  }
2138
2138
  N(e, "unexpected end of the stream within a flow collection");
2139
2139
  }
@@ -2147,7 +2147,7 @@ function ni(e, n) {
2147
2147
  return !1;
2148
2148
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2149
2149
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2150
- st === a ? a = c === 43 ? Jt : Ro : N(e, "repeat of a chomping mode identifier");
2150
+ st === a ? a = c === 43 ? Jt : Vo : N(e, "repeat of a chomping mode identifier");
2151
2151
  else if ((p = Yo(c)) >= 0)
2152
2152
  p === 0 ? N(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? N(e, "repeat of an indentation width identifier") : (s = n + p - 1, o = !0);
2153
2153
  else
@@ -2201,12 +2201,12 @@ function Xt(e, n) {
2201
2201
  return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
2202
2202
  }
2203
2203
  function ri(e, n, t) {
2204
- var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), m = null, I = null, b = null, _ = !1, C = !1, w;
2204
+ var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, I = null, b = null, _ = !1, C = !1, w;
2205
2205
  if (e.firstTabInLine !== -1)
2206
2206
  return !1;
2207
2207
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), w = e.input.charCodeAt(e.position); w !== 0; ) {
2208
2208
  if (!_ && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (w === 63 || w === 58) && fe(r))
2209
- w === 63 ? (_ && (Fe(e, c, y, m, I, null, o, s, l), m = I = b = null), C = !0, _ = !0, a = !0) : _ ? (_ = !1, a = !0) : N(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = r;
2209
+ w === 63 ? (_ && (Fe(e, c, y, f, I, null, o, s, l), f = I = b = null), C = !0, _ = !0, a = !0) : _ ? (_ = !1, a = !0) : N(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = r;
2210
2210
  else {
2211
2211
  if (o = e.line, s = e.lineStart, l = e.position, !Ne(e, t, Hn, !1, !0))
2212
2212
  break;
@@ -2214,7 +2214,7 @@ function ri(e, n, t) {
2214
2214
  for (w = e.input.charCodeAt(e.position); Se(w); )
2215
2215
  w = e.input.charCodeAt(++e.position);
2216
2216
  if (w === 58)
2217
- w = e.input.charCodeAt(++e.position), fe(w) || N(e, "a whitespace character is expected after the key-value separator within a block mapping"), _ && (Fe(e, c, y, m, I, null, o, s, l), m = I = b = null), C = !0, _ = !1, a = !1, m = e.tag, I = e.result;
2217
+ w = e.input.charCodeAt(++e.position), fe(w) || N(e, "a whitespace character is expected after the key-value separator within a block mapping"), _ && (Fe(e, c, y, f, I, null, o, s, l), f = I = b = null), C = !0, _ = !1, a = !1, f = e.tag, I = e.result;
2218
2218
  else if (C)
2219
2219
  N(e, "can not read an implicit mapping pair; a colon is missed");
2220
2220
  else
@@ -2224,12 +2224,12 @@ function ri(e, n, t) {
2224
2224
  else
2225
2225
  return e.tag = u, e.anchor = p, !0;
2226
2226
  }
2227
- if ((e.line === i || e.lineIndent > n) && (_ && (o = e.line, s = e.lineStart, l = e.position), Ne(e, n, ze, !0, a) && (_ ? I = e.result : b = e.result), _ || (Fe(e, c, y, m, I, b, o, s, l), m = I = b = null), re(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && w !== 0)
2227
+ if ((e.line === i || e.lineIndent > n) && (_ && (o = e.line, s = e.lineStart, l = e.position), Ne(e, n, ze, !0, a) && (_ ? I = e.result : b = e.result), _ || (Fe(e, c, y, f, I, b, o, s, l), f = I = b = null), re(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && w !== 0)
2228
2228
  N(e, "bad indentation of a mapping entry");
2229
2229
  else if (e.lineIndent < n)
2230
2230
  break;
2231
2231
  }
2232
- return _ && Fe(e, c, y, m, I, null, o, s, l), C && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), C;
2232
+ return _ && Fe(e, c, y, f, I, null, o, s, l), C && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), C;
2233
2233
  }
2234
2234
  function ai(e) {
2235
2235
  var n, t = !1, r = !1, a, i, o;
@@ -2270,7 +2270,7 @@ function ii(e) {
2270
2270
  return e.position === n && N(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), _e.call(e.anchorMap, t) || N(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], re(e, !0, -1), !0;
2271
2271
  }
2272
2272
  function Ne(e, n, t, r, a) {
2273
- var i, o, s, l = 1, u = !1, p = !1, c, y, m, I, b, _;
2273
+ var i, o, s, l = 1, u = !1, p = !1, c, y, f, I, b, _;
2274
2274
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = ze === t || zn === t, r && re(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2275
2275
  for (; ai(e) || oi(e); )
2276
2276
  re(e, !0, -1) ? (u = !0, s = i, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
@@ -2286,9 +2286,9 @@ function Ne(e, n, t, r, a) {
2286
2286
  if (_e.call(e.typeMap[e.kind || "fallback"], e.tag))
2287
2287
  I = e.typeMap[e.kind || "fallback"][e.tag];
2288
2288
  else
2289
- for (I = null, m = e.typeMap.multi[e.kind || "fallback"], c = 0, y = m.length; c < y; c += 1)
2290
- if (e.tag.slice(0, m[c].tag.length) === m[c].tag) {
2291
- I = m[c];
2289
+ for (I = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, y = f.length; c < y; c += 1)
2290
+ if (e.tag.slice(0, f[c].tag.length) === f[c].tag) {
2291
+ I = f[c];
2292
2292
  break;
2293
2293
  }
2294
2294
  I || N(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && N(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : N(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
@@ -2409,9 +2409,9 @@ function Mi(e) {
2409
2409
  throw new le("code point within a string may not be greater than 0xFFFFFFFF");
2410
2410
  return "\\" + t + ae.repeat("0", r - n.length) + n;
2411
2411
  }
2412
- var Oi = 1, De = 2;
2412
+ var Oi = 1, Re = 2;
2413
2413
  function Ei(e) {
2414
- this.schema = e.schema || wt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = $i(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 === '"' ? De : Oi, 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;
2414
+ this.schema = e.schema || wt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = $i(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 === '"' ? Re : Oi, 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;
2415
2415
  }
2416
2416
  function en(e, n) {
2417
2417
  for (var t = ae.repeat(" ", n), r = 0, a = -1, i = "", o, s = e.length; r < s; )
@@ -2434,11 +2434,11 @@ function Fi(e, n) {
2434
2434
  function We(e) {
2435
2435
  return e === mi || e === pi;
2436
2436
  }
2437
- function Re(e) {
2437
+ function Ve(e) {
2438
2438
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== At || 65536 <= e && e <= 1114111;
2439
2439
  }
2440
2440
  function tn(e) {
2441
- return Re(e) && e !== At && e !== fi && e !== Pe;
2441
+ return Ve(e) && e !== At && e !== fi && e !== Pe;
2442
2442
  }
2443
2443
  function nn(e, n, t) {
2444
2444
  var r = tn(e), a = r && !We(e);
@@ -2451,7 +2451,7 @@ function nn(e, n, t) {
2451
2451
  );
2452
2452
  }
2453
2453
  function Ni(e) {
2454
- return Re(e) && e !== At && !We(e) && e !== ki && e !== _i && e !== Ye && e !== rr && e !== ar && e !== or && e !== ir && e !== sr && e !== dt && e !== vi && e !== Ci && e !== gi && e !== xi && e !== wi && e !== Ii && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2454
+ return Ve(e) && e !== At && !We(e) && e !== ki && e !== _i && e !== Ye && e !== rr && e !== ar && e !== or && e !== ir && e !== sr && e !== dt && e !== vi && e !== Ci && e !== gi && e !== xi && e !== wi && e !== Ii && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2455
2455
  }
2456
2456
  function Ki(e) {
2457
2457
  return !We(e) && e !== Ye;
@@ -2466,32 +2466,32 @@ function lr(e) {
2466
2466
  }
2467
2467
  var ur = 1, ft = 2, cr = 3, dr = 4, Oe = 5;
2468
2468
  function qi(e, n, t, r, a, i, o, s) {
2469
- var l, u = 0, p = null, c = !1, y = !1, m = r !== -1, I = -1, b = Ni(qe(e, 0)) && Ki(qe(e, e.length - 1));
2469
+ var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, I = -1, b = Ni(qe(e, 0)) && Ki(qe(e, e.length - 1));
2470
2470
  if (n || o)
2471
2471
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2472
- if (u = qe(e, l), !Re(u))
2472
+ if (u = qe(e, l), !Ve(u))
2473
2473
  return Oe;
2474
2474
  b = b && nn(u, p, s), p = u;
2475
2475
  }
2476
2476
  else {
2477
2477
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2478
2478
  if (u = qe(e, l), u === Pe)
2479
- c = !0, m && (y = y || // Foldable line = too long, and not more-indented.
2479
+ c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2480
2480
  l - I - 1 > r && e[I + 1] !== " ", I = l);
2481
- else if (!Re(u))
2481
+ else if (!Ve(u))
2482
2482
  return Oe;
2483
2483
  b = b && nn(u, p, s), p = u;
2484
2484
  }
2485
- y = y || m && l - I - 1 > r && e[I + 1] !== " ";
2485
+ y = y || f && l - I - 1 > r && e[I + 1] !== " ";
2486
2486
  }
2487
- return !c && !y ? b && !o && !a(e) ? ur : i === De ? Oe : ft : t > 9 && lr(e) ? Oe : o ? i === De ? Oe : ft : y ? dr : cr;
2487
+ return !c && !y ? b && !o && !a(e) ? ur : i === Re ? Oe : ft : t > 9 && lr(e) ? Oe : o ? i === Re ? Oe : ft : y ? dr : cr;
2488
2488
  }
2489
2489
  function Bi(e, n, t, r, a) {
2490
2490
  e.dump = function() {
2491
2491
  if (n.length === 0)
2492
- return e.quotingType === De ? '""' : "''";
2492
+ return e.quotingType === Re ? '""' : "''";
2493
2493
  if (!e.noCompatMode && (Ti.indexOf(n) !== -1 || ji.test(n)))
2494
- return e.quotingType === De ? '"' + n + '"' : "'" + n + "'";
2494
+ return e.quotingType === Re ? '"' + n + '"' : "'" + n + "'";
2495
2495
  var i = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2496
2496
  function l(u) {
2497
2497
  return Fi(e, u);
@@ -2558,7 +2558,7 @@ function on(e, n) {
2558
2558
  }
2559
2559
  function Ui(e) {
2560
2560
  for (var n = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2561
- t = qe(e, a), r = se[t], !r && Re(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || Mi(t);
2561
+ t = qe(e, a), r = se[t], !r && Ve(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || Mi(t);
2562
2562
  return n;
2563
2563
  }
2564
2564
  function Pi(e, n, t) {
@@ -2573,13 +2573,13 @@ function sn(e, n, t, r) {
2573
2573
  l = t[o], e.replacer && (l = e.replacer.call(t, String(o), l)), (Ce(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Ce(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += pt(e, n)), e.dump && Pe === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2574
2574
  e.tag = i, e.dump = a || "[]";
2575
2575
  }
2576
- function Di(e, n, t) {
2576
+ function Ri(e, n, t) {
2577
2577
  var r = "", a = e.tag, i = Object.keys(t), o, s, l, u, p;
2578
2578
  for (o = 0, s = i.length; o < s; o += 1)
2579
2579
  p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), l = i[o], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), Ce(e, n, l, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ce(e, n, u, !1, !1) && (p += e.dump, r += p));
2580
2580
  e.tag = a, e.dump = "{" + r + "}";
2581
2581
  }
2582
- function Ri(e, n, t, r) {
2582
+ function Vi(e, n, t, r) {
2583
2583
  var a = "", i = e.tag, o = Object.keys(t), s, l, u, p, c, y;
2584
2584
  if (e.sortKeys === !0)
2585
2585
  o.sort();
@@ -2617,7 +2617,7 @@ function Ce(e, n, t, r, a, i, o) {
2617
2617
  e.dump = "*ref_" + c;
2618
2618
  else {
2619
2619
  if (p && y && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2620
- r && Object.keys(e.dump).length !== 0 ? (Ri(e, n, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Di(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2620
+ r && Object.keys(e.dump).length !== 0 ? (Vi(e, n, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Ri(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2621
2621
  else if (s === "[object Array]")
2622
2622
  r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? sn(e, n - 1, e.dump, a) : sn(e, n, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Pi(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2623
2623
  else if (s === "[object String]")
@@ -2633,7 +2633,7 @@ function Ce(e, n, t, r, a, i, o) {
2633
2633
  }
2634
2634
  return !0;
2635
2635
  }
2636
- function Vi(e, n) {
2636
+ function Di(e, n) {
2637
2637
  var t = [], r = [], a, i;
2638
2638
  for (mt(e, t, r), a = 0, i = r.length; a < i; a += 1)
2639
2639
  n.duplicates.push(t[r[a]]);
@@ -2654,7 +2654,7 @@ function mt(e, n, t) {
2654
2654
  function Gi(e, n) {
2655
2655
  n = n || {};
2656
2656
  var t = new Ei(n);
2657
- t.noRefs || Vi(e, t);
2657
+ t.noRefs || Di(e, t);
2658
2658
  var r = e;
2659
2659
  return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Ce(t, 0, r, !0, !0) ? t.dump + `
2660
2660
  ` : "";
@@ -2668,17 +2668,17 @@ function St(e, n) {
2668
2668
  };
2669
2669
  }
2670
2670
  var Ji = ie, Yi = xn, Wi = Mn, Zi = Kn, Qi = qn, Xi = wt, es = er.load, ts = er.loadAll, ns = zi.dump, rs = le, as = {
2671
- binary: Dn,
2671
+ binary: Rn,
2672
2672
  float: Nn,
2673
2673
  map: $n,
2674
2674
  null: On,
2675
- pairs: Vn,
2675
+ pairs: Dn,
2676
2676
  set: Gn,
2677
2677
  timestamp: Un,
2678
2678
  bool: En,
2679
2679
  int: Fn,
2680
2680
  merge: Pn,
2681
- omap: Rn,
2681
+ omap: Vn,
2682
2682
  seq: jn,
2683
2683
  str: Tn
2684
2684
  }, os = St("safeLoad", "load"), is = St("safeLoadAll", "loadAll"), ss = St("safeDump", "dump"), ls = {
@@ -2707,14 +2707,17 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2707
2707
  }
2708
2708
  },
2709
2709
  setup(e) {
2710
- const n = e, t = A(() => n.yamlRecord);
2710
+ const n = e, t = A(() => {
2711
+ const r = Object.fromEntries(Object.entries(n.yamlRecord).filter(([, a]) => a && (Array.isArray(a) ? a.length !== 0 : !0)));
2712
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : ls.dump(r).trim();
2713
+ });
2711
2714
  return (r, a) => {
2712
2715
  const i = U("KCodeBlock");
2713
2716
  return d(), $("div", us, [
2714
- n.yamlRecord ? (d(), R(i, {
2717
+ n.yamlRecord ? (d(), V(i, {
2715
2718
  key: 0,
2716
2719
  id: "yaml-codeblock",
2717
- code: f(ls).dump(t.value),
2720
+ code: t.value,
2718
2721
  language: "yaml",
2719
2722
  theme: "dark"
2720
2723
  }, null, 8, ["code"])) : H("", !0)
@@ -2779,8 +2782,8 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2779
2782
  class: Ie(`config-card-details-${l}-props`),
2780
2783
  "data-testid": `config-card-details-${l}-props`
2781
2784
  }, [
2782
- l !== "basic" ? (d(), $("div", ps, M(l === "advanced" ? f(r)("baseConfigCard.sections.advanced") : f(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2783
- (d(!0), $(me, null, pe(e.propertyCollections[l], (u) => (d(), R(Ct, {
2785
+ l !== "basic" ? (d(), $("div", ps, M(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2786
+ (d(!0), $(me, null, pe(e.propertyCollections[l], (u) => (d(), V(Ct, {
2784
2787
  key: u.key,
2785
2788
  item: u
2786
2789
  }, ke({
@@ -2805,14 +2808,14 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2805
2808
  ]), 1032, ["item"]))), 128))
2806
2809
  ], 10, ds))), 128))
2807
2810
  ])) : H("", !0),
2808
- e.format === "json" && n.record ? (d(), R(_n, {
2811
+ e.format === "json" && n.record ? (d(), V(_n, {
2809
2812
  key: 1,
2810
2813
  config: n.config,
2811
2814
  "fetcher-url": n.fetcherUrl,
2812
2815
  "json-record": i.value,
2813
2816
  "request-method": "get"
2814
2817
  }, null, 8, ["config", "fetcher-url", "json-record"])) : H("", !0),
2815
- e.format === "yaml" && n.record ? (d(), R(pr, {
2818
+ e.format === "yaml" && n.record ? (d(), V(pr, {
2816
2819
  key: 2,
2817
2820
  "yaml-record": i.value
2818
2821
  }, null, 8, ["yaml-record"])) : H("", !0)
@@ -2898,7 +2901,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2898
2901
  lineHeight: "0",
2899
2902
  width: t.value
2900
2903
  }));
2901
- return (a, i) => (d(), R(xe(e.as), {
2904
+ return (a, i) => (d(), V(xe(e.as), {
2902
2905
  "aria-hidden": e.decorative ? "true" : void 0,
2903
2906
  class: "kui-icon book-icon",
2904
2907
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -3024,7 +3027,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3024
3027
  }
3025
3028
  ], c = K("structured"), y = (v) => {
3026
3029
  c.value = v == null ? void 0 : v.value;
3027
- }, m = {
3030
+ }, f = {
3028
3031
  id: {
3029
3032
  type: ee.ID,
3030
3033
  label: o("baseConfigCard.commonFields.id_label"),
@@ -3062,17 +3065,17 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3062
3065
  var v, q, S;
3063
3066
  if (!C.value)
3064
3067
  return [];
3065
- const D = [], x = Object.keys(C.value).length;
3068
+ const R = [], x = Object.keys(C.value).length;
3066
3069
  for (const F in C.value) {
3067
- const P = (q = (v = a.configSchema) == null ? void 0 : v[F]) == null ? void 0 : q.order, V = (S = m[F]) == null ? void 0 : S.order;
3070
+ const P = (q = (v = a.configSchema) == null ? void 0 : v[F]) == null ? void 0 : q.order, D = (S = f[F]) == null ? void 0 : S.order;
3068
3071
  let Q = x;
3069
- (V || V === 0) && (Q = V === -1 ? x + 1 : V), P && (Q = P === -1 ? x + 1 : P), D.push([F, Q]);
3072
+ (D || D === 0) && (Q = D === -1 ? x + 1 : D), P && (Q = P === -1 ? x + 1 : P), R.push([F, Q]);
3070
3073
  }
3071
- return D.sort(function(F, P) {
3074
+ return R.sort(function(F, P) {
3072
3075
  return F[1] - P[1];
3073
- }), D.map((F) => {
3074
- var P, V;
3075
- const Q = F[0], J = (P = C.value) == null ? void 0 : P[Q], X = ((V = a.configSchema) == null ? void 0 : V[Q]) || {}, ue = m[Q];
3076
+ }), R.map((F) => {
3077
+ var P, D;
3078
+ const Q = F[0], J = (P = C.value) == null ? void 0 : P[Q], X = ((D = a.configSchema) == null ? void 0 : D[Q]) || {}, ue = f[Q];
3076
3079
  return {
3077
3080
  key: Q,
3078
3081
  value: J,
@@ -3087,33 +3090,33 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3087
3090
  var v, q;
3088
3091
  if (!C.value || !a.pluginConfigKey)
3089
3092
  return [];
3090
- const S = C.value[a.pluginConfigKey] || {}, D = Object.keys(S).length, x = [];
3093
+ const S = C.value[a.pluginConfigKey] || {}, R = Object.keys(S).length, x = [];
3091
3094
  for (const F in S) {
3092
- const P = (q = (v = a.pluginConfigSchema) == null ? void 0 : v[F]) == null ? void 0 : q.order, V = S[F];
3093
- let Q = V != null && V !== "" ? D - 1 : D;
3094
- P && (Q = P === -1 ? D + 1 : P), x.push([F, Q]);
3095
+ const P = (q = (v = a.pluginConfigSchema) == null ? void 0 : v[F]) == null ? void 0 : q.order, D = S[F];
3096
+ let Q = D != null && D !== "" ? R - 1 : R;
3097
+ P && (Q = P === -1 ? R + 1 : P), x.push([F, Q]);
3095
3098
  }
3096
3099
  return x.sort(function(F, P) {
3097
3100
  return F[1] - P[1];
3098
3101
  }), x.map((F) => {
3099
3102
  var P;
3100
- const V = F[0], Q = S[V], J = ((P = a.pluginConfigSchema) == null ? void 0 : P[V]) || {};
3103
+ const D = F[0], Q = S[D], J = ((P = a.pluginConfigSchema) == null ? void 0 : P[D]) || {};
3101
3104
  return {
3102
- key: V,
3105
+ key: D,
3103
3106
  value: Q,
3104
3107
  hidden: J.hidden || !1,
3105
3108
  type: J.type ?? ee.Text,
3106
- label: J.label ?? l(V),
3109
+ label: J.label ?? l(D),
3107
3110
  tooltip: J.tooltip ?? void 0,
3108
3111
  section: de.Plugin
3109
3112
  };
3110
3113
  }).filter((F) => !F.hidden);
3111
3114
  }), k = A(() => {
3112
- var v, q, S, D;
3115
+ var v, q, S, R;
3113
3116
  return {
3114
3117
  basic: (v = w.value) == null ? void 0 : v.filter((x) => x.section === de.Basic),
3115
3118
  advanced: (q = w.value) == null ? void 0 : q.filter((x) => x.section === de.Advanced),
3116
- plugin: (D = G.value) == null ? void 0 : D.concat((S = w.value) == null ? void 0 : S.filter((x) => x.section === de.Plugin))
3119
+ plugin: (R = G.value) == null ? void 0 : R.concat((S = w.value) == null ? void 0 : S.filter((x) => x.section === de.Plugin))
3117
3120
  };
3118
3121
  }), j = A(() => {
3119
3122
  const v = [];
@@ -3148,12 +3151,12 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3148
3151
  I.value = !1;
3149
3152
  }
3150
3153
  }), (v, q) => {
3151
- const S = U("KLabel"), D = U("KSelect"), x = U("KButton"), F = U("KClipboardProvider"), P = U("KSkeleton"), V = U("KEmptyState"), Q = U("KCard");
3152
- return d(), R(Q, { class: "kong-ui-entity-base-config-card" }, ke({
3154
+ const S = U("KLabel"), R = U("KSelect"), x = U("KButton"), F = U("KClipboardProvider"), P = U("KSkeleton"), D = U("KEmptyState"), Q = U("KCard");
3155
+ return d(), V(Q, { class: "kong-ui-entity-base-config-card" }, ke({
3153
3156
  actions: g(() => [
3154
3157
  B("div", Is, [
3155
3158
  Z(v.$slots, "actions", {}, void 0, !0),
3156
- e.config.jsonYamlEnabled ? (d(), R(S, {
3159
+ e.config.jsonYamlEnabled ? (d(), V(S, {
3157
3160
  key: 0,
3158
3161
  class: "config-format-select-label",
3159
3162
  "data-testid": "config-format-select-label"
@@ -3163,13 +3166,13 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3163
3166
  ]),
3164
3167
  _: 1
3165
3168
  })) : H("", !0),
3166
- e.config.jsonYamlEnabled ? (d(), R(D, {
3169
+ e.config.jsonYamlEnabled ? (d(), V(R, {
3167
3170
  key: 1,
3168
3171
  "data-testid": "select-config-format",
3169
3172
  items: p,
3170
3173
  onChange: y
3171
3174
  })) : H("", !0),
3172
- a.config.jsonYamlEnabled && e.configCardDoc ? (d(), R(x, {
3175
+ a.config.jsonYamlEnabled && e.configCardDoc ? (d(), V(x, {
3173
3176
  key: 2,
3174
3177
  appearance: "tertiary",
3175
3178
  class: "book-icon",
@@ -3181,21 +3184,21 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3181
3184
  rel: "noopener",
3182
3185
  target: "_blank"
3183
3186
  }, [
3184
- O(f(ks), { size: f(xa) }, null, 8, ["size"])
3187
+ O(m(ks), { size: m(xa) }, null, 8, ["size"])
3185
3188
  ], 8, _s)
3186
3189
  ]),
3187
3190
  _: 1
3188
3191
  })) : H("", !0),
3189
- e.config.jsonYamlEnabled ? H("", !0) : (d(), R(F, { key: 3 }, {
3192
+ e.config.jsonYamlEnabled ? H("", !0) : (d(), V(F, { key: 3 }, {
3190
3193
  default: g(({ copyToClipboard: J }) => [
3191
- !I.value && !b.value ? (d(), R(x, {
3194
+ !I.value && !b.value ? (d(), V(x, {
3192
3195
  key: 0,
3193
3196
  appearance: "tertiary",
3194
3197
  "data-testid": "json-copy-button",
3195
3198
  onClick: (X) => h(J)
3196
3199
  }, {
3197
3200
  default: g(() => [
3198
- Y(M(f(o)("baseConfigCard.actions.copy")), 1)
3201
+ Y(M(m(o)("baseConfigCard.actions.copy")), 1)
3199
3202
  ]),
3200
3203
  _: 2
3201
3204
  }, 1032, ["onClick"])) : H("", !0)
@@ -3205,12 +3208,12 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3205
3208
  ])
3206
3209
  ]),
3207
3210
  default: g(() => [
3208
- I.value ? (d(), R(P, {
3211
+ I.value ? (d(), V(P, {
3209
3212
  key: 0,
3210
3213
  "data-testid": "config-card-loader",
3211
3214
  "table-columns": 2,
3212
3215
  type: "table"
3213
- })) : b.value ? (d(), R(V, {
3216
+ })) : b.value ? (d(), V(D, {
3214
3217
  key: 1,
3215
3218
  "data-testid": "config-card-fetch-error",
3216
3219
  "is-error": ""
@@ -3245,8 +3248,8 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3245
3248
  class: Ie(`config-card-details-${J}-props`),
3246
3249
  "data-testid": `config-card-details-${J}-props`
3247
3250
  }, [
3248
- J !== "basic" ? (d(), $("div", Ts, M(J === "advanced" ? f(o)("baseConfigCard.sections.advanced") : f(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3249
- (d(!0), $(me, null, pe(k.value[J], (X) => (d(), R(Ct, {
3251
+ J !== "basic" ? (d(), $("div", Ts, M(J === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3252
+ (d(!0), $(me, null, pe(k.value[J], (X) => (d(), V(Ct, {
3250
3253
  key: X.key,
3251
3254
  item: X
3252
3255
  }, ke({
@@ -3279,7 +3282,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3279
3282
  fn: g(() => [
3280
3283
  B("div", ws, [
3281
3284
  Z(v.$slots, "title", {}, () => [
3282
- Y(M(f(o)("baseConfigCard.title")), 1)
3285
+ Y(M(m(o)("baseConfigCard.title")), 1)
3283
3286
  ], !0)
3284
3287
  ])
3285
3288
  ]),
@@ -3348,12 +3351,12 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3348
3351
  var t;
3349
3352
  const r = n, a = e, i = yt(), { i18n: { t: o } } = oe.useI18n(), { getMessageFromError: s } = oe.useErrors(), { axiosInstance: l } = oe.useAxios({
3350
3353
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3351
- }), u = K(!1), p = K(!1), c = K(""), y = A(() => a.canSubmit === !1 || a.isReadonly), m = K(!1), I = A(() => {
3354
+ }), u = K(!1), p = K(!1), c = K(""), y = A(() => a.canSubmit === !1 || a.isReadonly), f = K(!1), I = A(() => {
3352
3355
  var k, j;
3353
3356
  let L = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3354
3357
  return a.config.app === "konnect" ? L = L.replace(/{controlPlaneId}/gi, ((k = a.config) == null ? void 0 : k.controlPlaneId) || "") : a.config.app === "kongManager" && (L = L.replace(/\/{workspace}/gi, (j = a.config) != null && j.workspace ? `/${a.config.workspace}` : "")), a.editId ? (L = L.replace(/{id}/gi, a.editId), L) : (L = L.replace(/\/{id}/gi, ""), L);
3355
3358
  }), b = () => {
3356
- m.value = !m.value;
3359
+ f.value = !f.value;
3357
3360
  }, _ = () => {
3358
3361
  a.config.cancelRoute ? i.push(a.config.cancelRoute) : C();
3359
3362
  }, C = () => {
@@ -3385,15 +3388,15 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3385
3388
  u.value = !1;
3386
3389
  }
3387
3390
  }), (k, j) => {
3388
- const L = U("KSkeleton"), E = U("KEmptyState"), h = U("KAlert"), v = U("KButton"), q = U("KTabs"), S = U("KSlideout"), D = U("KCard");
3389
- return d(), R(D, { class: "kong-ui-entity-base-form" }, {
3391
+ const L = U("KSkeleton"), E = U("KEmptyState"), h = U("KAlert"), v = U("KButton"), q = U("KTabs"), S = U("KSlideout"), R = U("KCard");
3392
+ return d(), V(R, { class: "kong-ui-entity-base-form" }, {
3390
3393
  default: g(() => [
3391
- u.value ? (d(), R(L, {
3394
+ u.value ? (d(), V(L, {
3392
3395
  key: 0,
3393
3396
  type: "form"
3394
- })) : p.value ? (d(), R(E, {
3397
+ })) : p.value ? (d(), V(E, {
3395
3398
  key: 1,
3396
- "cta-text": f(o)("baseForm.actions.back"),
3399
+ "cta-text": m(o)("baseForm.actions.back"),
3397
3400
  "data-testid": "form-fetch-error",
3398
3401
  "handle-click": _,
3399
3402
  "is-error": !0
@@ -3409,7 +3412,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3409
3412
  onSubmit: Ge(w, ["prevent"])
3410
3413
  }, [
3411
3414
  Z(k.$slots, "default", {}, void 0, !0),
3412
- e.errorMessage ? (d(), R(h, {
3415
+ e.errorMessage ? (d(), V(h, {
3413
3416
  key: 0,
3414
3417
  "alert-message": e.errorMessage,
3415
3418
  appearance: "danger",
@@ -3424,7 +3427,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3424
3427
  onClick: j[0] || (j[0] = (x) => b())
3425
3428
  }, {
3426
3429
  default: g(() => [
3427
- Y(M(f(o)("baseForm.actions.viewConfiguration")), 1)
3430
+ Y(M(m(o)("baseForm.actions.viewConfiguration")), 1)
3428
3431
  ]),
3429
3432
  _: 1
3430
3433
  })
@@ -3436,7 +3439,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3436
3439
  type: "reset"
3437
3440
  }, {
3438
3441
  default: g(() => [
3439
- Y(M(f(o)("baseForm.actions.cancel")), 1)
3442
+ Y(M(m(o)("baseForm.actions.cancel")), 1)
3440
3443
  ]),
3441
3444
  _: 1
3442
3445
  }, 8, ["disabled"]),
@@ -3447,7 +3450,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3447
3450
  type: "submit"
3448
3451
  }, {
3449
3452
  default: g(() => [
3450
- Y(M(f(o)("baseForm.actions.save")), 1)
3453
+ Y(M(m(o)("baseForm.actions.save")), 1)
3451
3454
  ]),
3452
3455
  _: 1
3453
3456
  }, 8, ["disabled"])
@@ -3458,13 +3461,13 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3458
3461
  "close-button-alignment": "end",
3459
3462
  "data-testid": "form-view-configuration-slideout",
3460
3463
  "has-overlay": !1,
3461
- "is-visible": m.value,
3464
+ "is-visible": f.value,
3462
3465
  "prevent-close-on-blur": "",
3463
- title: f(o)("baseForm.configuration.title"),
3466
+ title: m(o)("baseForm.configuration.title"),
3464
3467
  onClose: j[1] || (j[1] = (x) => b())
3465
3468
  }, {
3466
3469
  default: g(() => [
3467
- B("div", null, M(f(o)("baseForm.configuration.message")), 1),
3470
+ B("div", null, M(m(o)("baseForm.configuration.message")), 1),
3468
3471
  O(q, {
3469
3472
  "data-testid": "form-view-configuration-slideout-tabs",
3470
3473
  tabs: G.value
@@ -3525,7 +3528,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3525
3528
  }, s = () => {
3526
3529
  var b, _, C;
3527
3530
  u.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, p.value = ((_ = t.value) == null ? void 0 : _.clientWidth) || 0, c.value = ((C = l.value) == null ? void 0 : C.innerText) || "";
3528
- }, l = K({}), u = K(0), p = K(0), c = K(""), y = A(() => [r.value, t.value]), m = be(
3531
+ }, l = K({}), u = K(0), p = K(0), c = K(""), y = A(() => [r.value, t.value]), f = be(
3529
3532
  y,
3530
3533
  (b) => {
3531
3534
  if (a.value && (o(), "ResizeObserver" in window && window)) {
@@ -3543,7 +3546,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3543
3546
  return Ir(() => {
3544
3547
  s();
3545
3548
  }), _r(() => {
3546
- m();
3549
+ f();
3547
3550
  }), (b, _) => {
3548
3551
  const C = U("KTooltip");
3549
3552
  return d(), $("span", {
@@ -3720,7 +3723,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3720
3723
  overflowX: "hidden",
3721
3724
  textOverflow: "ellipsis"
3722
3725
  }), L;
3723
- }, m = () => {
3726
+ }, f = () => {
3724
3727
  r("empty-state-cta-clicked"), I();
3725
3728
  }, I = () => {
3726
3729
  r("clear-search-input");
@@ -3739,7 +3742,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3739
3742
  };
3740
3743
  return (j, L) => {
3741
3744
  const E = U("KIcon"), h = U("KButton"), v = U("KDropdown"), q = U("KTable"), S = U("KCard");
3742
- return d(), R(S, {
3745
+ return d(), V(S, {
3743
3746
  class: "kong-ui-entity-base-table",
3744
3747
  title: e.title
3745
3748
  }, {
@@ -3752,12 +3755,12 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3752
3755
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3753
3756
  "disable-sorting": e.disableSorting,
3754
3757
  "empty-state-action-button-icon": e.query ? "" : "plus",
3755
- "empty-state-action-message": e.query ? f(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3758
+ "empty-state-action-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3756
3759
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3757
3760
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3758
3761
  "empty-state-icon-size": "96",
3759
- "empty-state-message": e.query ? f(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3760
- "empty-state-title": e.query ? f(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3762
+ "empty-state-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3763
+ "empty-state-title": e.query ? m(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3761
3764
  "enable-client-sort": e.enableClientSort,
3762
3765
  "error-state-message": i.value.message,
3763
3766
  "error-state-title": i.value.title,
@@ -3771,25 +3774,25 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3771
3774
  "pagination-type": e.paginationType,
3772
3775
  "row-attrs": u,
3773
3776
  "search-input": e.query,
3774
- onKtableEmptyStateCtaClicked: m,
3777
+ onKtableEmptyStateCtaClicked: f,
3775
3778
  "onRow:click": b.value,
3776
- onSort: L[0] || (L[0] = (D) => _(D)),
3779
+ onSort: L[0] || (L[0] = (R) => _(R)),
3777
3780
  "onUpdate:tablePreferences": k
3778
3781
  }, ke({
3779
- toolbar: g(({ state: D }) => [
3782
+ toolbar: g(({ state: R }) => [
3780
3783
  Be(B("div", Bs, [
3781
3784
  Z(j.$slots, "toolbar-filter", {}, void 0, !0),
3782
3785
  j.$slots["toolbar-button"] ? (d(), $("div", Ls, [
3783
3786
  Z(j.$slots, "toolbar-button", {}, void 0, !0)
3784
3787
  ])) : H("", !0)
3785
3788
  ], 512), [
3786
- [Le, s(D)]
3789
+ [Le, s(R)]
3787
3790
  ])
3788
3791
  ]),
3789
- actions: g(({ row: D, rowKey: x, rowValue: F }) => [
3792
+ actions: g(({ row: R, rowKey: x, rowValue: F }) => [
3790
3793
  B("div", {
3791
3794
  class: "actions-container",
3792
- "data-testid": D.name
3795
+ "data-testid": R.name
3793
3796
  }, [
3794
3797
  O(v, {
3795
3798
  "kpop-attributes": { placement: "bottomEnd" },
@@ -3797,7 +3800,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3797
3800
  }, {
3798
3801
  items: g(() => [
3799
3802
  Z(j.$slots, "actions", {
3800
- row: D,
3803
+ row: R,
3801
3804
  rowKey: x,
3802
3805
  rowValue: F
3803
3806
  }, void 0, !0)
@@ -3810,7 +3813,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3810
3813
  }, {
3811
3814
  icon: g(() => [
3812
3815
  O(E, {
3813
- color: f(Aa),
3816
+ color: m(Aa),
3814
3817
  icon: "more",
3815
3818
  size: "16"
3816
3819
  }, null, 8, ["color"])
@@ -3824,9 +3827,9 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3824
3827
  ]),
3825
3828
  _: 2
3826
3829
  }, [
3827
- pe(e.tableHeaders, (D, x) => ({
3830
+ pe(e.tableHeaders, (R, x) => ({
3828
3831
  name: x,
3829
- fn: g(({ row: F, rowKey: P, rowValue: V }) => [
3832
+ fn: g(({ row: F, rowKey: P, rowValue: D }) => [
3830
3833
  O(qs, {
3831
3834
  "key-name": String(x),
3832
3835
  "row-el": c(F)
@@ -3835,9 +3838,9 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3835
3838
  Z(j.$slots, x, {
3836
3839
  row: F,
3837
3840
  rowKey: P,
3838
- rowValue: V
3841
+ rowValue: D
3839
3842
  }, () => [
3840
- Y(M(V), 1)
3843
+ Y(M(D), 1)
3841
3844
  ], !0)
3842
3845
  ]),
3843
3846
  _: 2
@@ -3850,10 +3853,10 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3850
3853
  }, 8, ["title"]);
3851
3854
  };
3852
3855
  }
3853
- }), Ds = /* @__PURE__ */ ge(Ps, [["__scopeId", "data-v-ecfaa7cf"]]), Rs = {
3856
+ }), Rs = /* @__PURE__ */ ge(Ps, [["__scopeId", "data-v-ecfaa7cf"]]), Vs = {
3854
3857
  key: 0,
3855
3858
  class: "kong-ui-entity-delete-error"
3856
- }, Vs = {
3859
+ }, Ds = {
3857
3860
  key: 1,
3858
3861
  class: "description"
3859
3862
  }, Gs = /* @__PURE__ */ te({
@@ -3902,7 +3905,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3902
3905
  };
3903
3906
  return (l, u) => {
3904
3907
  const p = U("KAlert"), c = U("KPrompt");
3905
- return d(), R(c, {
3908
+ return d(), V(c, {
3906
3909
  "action-button-appearance": "danger",
3907
3910
  "action-button-disabled": e.actionPending,
3908
3911
  "action-button-text": "Yes, delete",
@@ -3914,7 +3917,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3914
3917
  onProceed: s
3915
3918
  }, {
3916
3919
  default: g(() => [
3917
- e.error ? (d(), $("div", Rs, [
3920
+ e.error ? (d(), $("div", Vs, [
3918
3921
  O(p, { appearance: "danger" }, {
3919
3922
  alertMessage: g(() => [
3920
3923
  Y(M(e.error), 1)
@@ -3922,7 +3925,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3922
3925
  _: 1
3923
3926
  })
3924
3927
  ])) : H("", !0),
3925
- O(f(t), {
3928
+ O(m(t), {
3926
3929
  class: "message",
3927
3930
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3928
3931
  tag: "p"
@@ -3940,7 +3943,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3940
3943
  key: "0"
3941
3944
  } : void 0
3942
3945
  ]), 1032, ["keypath"]),
3943
- r.description || l.$slots.description ? (d(), $("div", Vs, [
3946
+ r.description || l.$slots.description ? (d(), $("div", Ds, [
3944
3947
  Z(l.$slots, "description", {}, () => [
3945
3948
  B("p", null, M(r.description), 1)
3946
3949
  ], !0)
@@ -4039,7 +4042,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4039
4042
  value: k,
4040
4043
  label: k
4041
4044
  }));
4042
- }, m = (C) => {
4045
+ }, f = (C) => {
4043
4046
  var w, G;
4044
4047
  return ((G = (w = r.config.schema) == null ? void 0 : w[C]) == null ? void 0 : G.type) ?? "text";
4045
4048
  }, I = (C) => {
@@ -4055,7 +4058,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4055
4058
  };
4056
4059
  return (C, w) => {
4057
4060
  const G = U("KInput"), k = U("KButton"), j = U("KSelect"), L = U("KMenuItem"), E = U("KMenu");
4058
- return e.config.isExactMatch ? (d(), R(G, {
4061
+ return e.config.isExactMatch ? (d(), V(G, {
4059
4062
  key: 0,
4060
4063
  autocomplete: "off",
4061
4064
  class: "kong-ui-entity-filter-input",
@@ -4076,7 +4079,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4076
4079
  }, {
4077
4080
  default: g(() => [
4078
4081
  O(cn),
4079
- Y(" " + M(f(t)("filter.filterButtonText")) + " " + M(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4082
+ Y(" " + M(m(t)("filter.filterButtonText")) + " " + M(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4080
4083
  ]),
4081
4084
  _: 1
4082
4085
  }),
@@ -4088,7 +4091,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4088
4091
  ]),
4089
4092
  Be(O(E, { class: "kong-ui-entity-filter-menu" }, {
4090
4093
  body: g(() => [
4091
- (d(!0), $(me, null, pe(l.value, (h, v) => (d(), R(L, {
4094
+ (d(!0), $(me, null, pe(l.value, (h, v) => (d(), V(L, {
4092
4095
  key: h.value,
4093
4096
  "data-testid": h.value,
4094
4097
  expandable: "",
@@ -4109,22 +4112,22 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4109
4112
  B("label", {
4110
4113
  class: "menu-item-label",
4111
4114
  for: c(h.value)
4112
- }, M(f(t)("filter.fieldLabel")), 9, nl),
4113
- ((S = (q = e.config.schema) == null ? void 0 : q[h.value]) == null ? void 0 : S.type) === "select" ? (d(), R(j, {
4115
+ }, M(m(t)("filter.fieldLabel")), 9, nl),
4116
+ ((S = (q = e.config.schema) == null ? void 0 : q[h.value]) == null ? void 0 : S.type) === "select" ? (d(), V(j, {
4114
4117
  key: 0,
4115
4118
  id: c(h.value),
4116
4119
  modelValue: o.value[h.value],
4117
- "onUpdate:modelValue": (D) => o.value[h.value] = D,
4120
+ "onUpdate:modelValue": (R) => o.value[h.value] = R,
4118
4121
  items: y(h.value),
4119
- placeholder: f(t)("filter.selectPlaceholder")
4120
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (d(), R(G, {
4122
+ placeholder: m(t)("filter.selectPlaceholder")
4123
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (d(), V(G, {
4121
4124
  key: 1,
4122
4125
  id: c(h.value),
4123
4126
  modelValue: o.value[h.value],
4124
- "onUpdate:modelValue": (D) => o.value[h.value] = D,
4127
+ "onUpdate:modelValue": (R) => o.value[h.value] = R,
4125
4128
  autocomplete: "off",
4126
- placeholder: f(t)("filter.inputPlaceholder"),
4127
- type: m(h.value)
4129
+ placeholder: m(t)("filter.inputPlaceholder"),
4130
+ type: f(h.value)
4128
4131
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4129
4132
  ]),
4130
4133
  B("div", rl, [
@@ -4132,10 +4135,10 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4132
4135
  appearance: "tertiary",
4133
4136
  "data-testid": "apply-filter",
4134
4137
  size: "small",
4135
- onClick: w[0] || (w[0] = (D) => _(!0))
4138
+ onClick: w[0] || (w[0] = (R) => _(!0))
4136
4139
  }, {
4137
4140
  default: g(() => [
4138
- Y(M(f(t)("filter.applyButtonText")), 1)
4141
+ Y(M(m(t)("filter.applyButtonText")), 1)
4139
4142
  ]),
4140
4143
  _: 1
4141
4144
  }),
@@ -4143,10 +4146,10 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4143
4146
  appearance: "tertiary",
4144
4147
  "data-testid": "clear-filter",
4145
4148
  size: "small",
4146
- onClick: (D) => I(h.value)
4149
+ onClick: (R) => I(h.value)
4147
4150
  }, {
4148
4151
  default: g(() => [
4149
- Y(M(f(t)("filter.clearButtonText")), 1)
4152
+ Y(M(m(t)("filter.clearButtonText")), 1)
4150
4153
  ]),
4151
4154
  _: 2
4152
4155
  }, 1032, ["onClick"])
@@ -4164,7 +4167,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4164
4167
  onClick: b
4165
4168
  }, {
4166
4169
  default: g(() => [
4167
- Y(M(f(t)("filter.clearAllButtonText")), 1)
4170
+ Y(M(m(t)("filter.clearAllButtonText")), 1)
4168
4171
  ]),
4169
4172
  _: 1
4170
4173
  })
@@ -4177,7 +4180,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4177
4180
  ]));
4178
4181
  };
4179
4182
  }
4180
- }), il = /* @__PURE__ */ ge(ol, [["__scopeId", "data-v-e9512e8f"]]), Ve = /* @__PURE__ */ te({
4183
+ }), il = /* @__PURE__ */ ge(ol, [["__scopeId", "data-v-e9512e8f"]]), De = /* @__PURE__ */ te({
4181
4184
  __name: "PermissionsWrapper",
4182
4185
  props: {
4183
4186
  /**
@@ -4251,12 +4254,12 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4251
4254
  class: Ie(["form-section-info", { sticky: e.stickyInfoHeader }])
4252
4255
  }, [
4253
4256
  e.title ? (d(), $("h4", ll, M(e.title), 1)) : H("", !0),
4254
- e.description || f(n).description ? (d(), $("div", ul, [
4257
+ e.description || m(n).description ? (d(), $("div", ul, [
4255
4258
  Z(t.$slots, "description", {}, () => [
4256
4259
  B("p", null, M(e.description), 1)
4257
4260
  ], !0)
4258
4261
  ])) : H("", !0),
4259
- f(n).footer ? (d(), $("div", cl, [
4262
+ m(n).footer ? (d(), $("div", cl, [
4260
4263
  Z(t.$slots, "footer", {}, void 0, !0)
4261
4264
  ])) : H("", !0)
4262
4265
  ], 2)),
@@ -4266,7 +4269,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4266
4269
  ])
4267
4270
  ], 2));
4268
4271
  }
4269
- }), fl = /* @__PURE__ */ ge(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: xt, useDeleteUrlBuilder: ml, useErrors: gl, useExternalLinkCreator: Ll, useFetchUrlBuilder: Ul, useFetcher: yl, useDebouncedFilter: hl, useStringHelpers: Pl, useHelpers: Dl, useGatewayFeatureSupported: Rl, useTruncationDetector: Vl } = oe, vl = { class: "add-consumer-form-container" }, bl = { class: "add-consumer-form-cta" }, Cl = { class: "select-item-label" }, kl = {
4272
+ }), fl = /* @__PURE__ */ ge(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: xt, useDeleteUrlBuilder: ml, useErrors: gl, useExternalLinkCreator: Ll, useFetchUrlBuilder: Ul, useFetcher: yl, useDebouncedFilter: hl, useStringHelpers: Pl, useHelpers: Rl, useGatewayFeatureSupported: Vl, useTruncationDetector: Dl } = oe, vl = { class: "add-consumer-form-container" }, bl = { class: "add-consumer-form-cta" }, Cl = { class: "select-item-label" }, kl = {
4270
4273
  key: 0,
4271
4274
  class: "select-item-desc"
4272
4275
  }, wl = {
@@ -4289,9 +4292,9 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4289
4292
  },
4290
4293
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4291
4294
  setup(e, { emit: n }) {
4292
- var D;
4295
+ var R;
4293
4296
  const { i18n: { t } } = Qe.useI18n(), r = e, a = n, { axiosInstance: i } = xt({
4294
- headers: (D = r.config) == null ? void 0 : D.requestHeaders
4297
+ headers: (R = r.config) == null ? void 0 : R.requestHeaders
4295
4298
  }), o = K([]), {
4296
4299
  debouncedQueryChange: s,
4297
4300
  loading: l,
@@ -4307,7 +4310,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4307
4310
  fetchedItemsKey: "data",
4308
4311
  searchKeys: ["username", "id"]
4309
4312
  }
4310
- ), m = (x) => x, I = A(() => p.value ? t("consumers.errors.general") : ""), b = K(0), _ = A(() => u.value === void 0), C = A(() => y.value.map((x) => ({
4313
+ ), f = (x) => x, I = A(() => p.value ? t("consumers.errors.general") : ""), b = K(0), _ = A(() => u.value === void 0), C = A(() => y.value.map((x) => ({
4311
4314
  label: x.username || x.customId,
4312
4315
  value: x.id,
4313
4316
  selected: o.value.includes(x.id),
@@ -4315,7 +4318,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4315
4318
  // we need this to determine whether or not to show the description text
4316
4319
  }))), w = (x) => {
4317
4320
  var P;
4318
- const F = _.value ? y.value.find((V) => V.id === x) : (P = u.value) == null ? void 0 : P.find((V) => V.id === x);
4321
+ const F = _.value ? y.value.find((D) => D.id === x) : (P = u.value) == null ? void 0 : P.find((D) => D.id === x);
4319
4322
  return F ? F.username || F.custom_id : x;
4320
4323
  }, G = () => {
4321
4324
  L.value = "", k.value = [], q.value = [], a("cancel");
@@ -4326,10 +4329,10 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4326
4329
  }
4327
4330
  j.value = !0, L.value = "", k.value = [], q.value = [];
4328
4331
  try {
4329
- const x = o.value.map((V) => v(V)), F = await Promise.allSettled(x);
4332
+ const x = o.value.map((D) => v(D)), F = await Promise.allSettled(x);
4330
4333
  let P = !0;
4331
- F.forEach((V) => {
4332
- V.status !== "fulfilled" && (P = !1);
4334
+ F.forEach((D) => {
4335
+ D.status !== "fulfilled" && (P = !1);
4333
4336
  }), P ? (k.value = [], q.value = [], a("add:success", o.value), o.value = []) : (k.value.length && a("add:partial-success", k.value), o.value = [], S(F));
4334
4337
  } catch {
4335
4338
  L.value = t("consumers.errors.add"), a("error", L.value);
@@ -4337,9 +4340,9 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4337
4340
  j.value = !1;
4338
4341
  }
4339
4342
  }, h = A(() => {
4340
- var F, P, V, Q;
4343
+ var F, P, D, Q;
4341
4344
  let x = `${r.config.apiBaseUrl}${Te.list[r.config.app].forConsumerGroup}`;
4342
- return r.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((F = r.config) == null ? void 0 : F.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((P = r.config) == null ? void 0 : P.consumerGroupId) || "") : r.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (V = r.config) != null && V.workspace ? `/${r.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((Q = r.config) == null ? void 0 : Q.consumerGroupId) || "")), x;
4345
+ return r.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((F = r.config) == null ? void 0 : F.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((P = r.config) == null ? void 0 : P.consumerGroupId) || "") : r.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (D = r.config) != null && D.workspace ? `/${r.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((Q = r.config) == null ? void 0 : Q.consumerGroupId) || "")), x;
4343
4346
  }), v = async (x) => {
4344
4347
  const F = {
4345
4348
  consumer: x
@@ -4348,8 +4351,8 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4348
4351
  const P = await i.post(h.value, F);
4349
4352
  return k.value.push(x), P;
4350
4353
  } catch (P) {
4351
- let V = `${w(x)} - ${P.message}`;
4352
- return P.response.status === 409 && (V = `${w(x)} - ${t("consumers.errors.already_added")}`), Promise.reject(Error(V));
4354
+ let D = `${w(x)} - ${P.message}`;
4355
+ return P.response.status === 409 && (D = `${w(x)} - ${t("consumers.errors.already_added")}`), Promise.reject(Error(D));
4353
4356
  }
4354
4357
  }, q = K([]), S = (x) => {
4355
4358
  q.value = x.map((F) => {
@@ -4362,44 +4365,44 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4362
4365
  }, { immediate: !0, deep: !0 }), be(() => r.visible, () => {
4363
4366
  r.visible && c();
4364
4367
  }, { immediate: !0 }), (x, F) => {
4365
- const P = U("KMultiselect"), V = U("KAlert"), Q = U("KPrompt");
4366
- return d(), R(Q, {
4368
+ const P = U("KMultiselect"), D = U("KAlert"), Q = U("KPrompt");
4369
+ return d(), V(Q, {
4367
4370
  "action-button-disabled": j.value,
4368
4371
  class: "kong-ui-entities-add-consumers-modal",
4369
4372
  "data-testid": "add-consumer-modal",
4370
- title: f(t)("consumers.consumer_groups.add.title"),
4373
+ title: m(t)("consumers.consumer_groups.add.title"),
4371
4374
  visible: e.visible,
4372
4375
  onCancel: G,
4373
4376
  onProceed: E
4374
4377
  }, {
4375
4378
  default: g(() => [
4376
4379
  B("div", vl, [
4377
- B("p", bl, M(f(t)("consumers.consumer_groups.add.ctaText")), 1),
4380
+ B("p", bl, M(m(t)("consumers.consumer_groups.add.ctaText")), 1),
4378
4381
  O(P, {
4379
4382
  modelValue: o.value,
4380
4383
  "onUpdate:modelValue": F[0] || (F[0] = (J) => o.value = J),
4381
4384
  autosuggest: "",
4382
4385
  "data-testid": "add-consumers-multiselect",
4383
- "dropdown-footer-text": _.value ? f(t)("consumers.consumer_groups.add.footer") : void 0,
4386
+ "dropdown-footer-text": _.value ? m(t)("consumers.consumer_groups.add.footer") : void 0,
4384
4387
  items: C.value,
4385
- label: f(t)("consumers.consumer_groups.add.consumers_label"),
4386
- loading: f(l),
4387
- placeholder: f(t)("consumers.consumer_groups.add.consumer_placeholder"),
4388
+ label: m(t)("consumers.consumer_groups.add.consumers_label"),
4389
+ loading: m(l),
4390
+ placeholder: m(t)("consumers.consumer_groups.add.consumer_placeholder"),
4388
4391
  readonly: j.value,
4389
4392
  required: "",
4390
4393
  width: "100%",
4391
- onQueryChange: f(s)
4394
+ onQueryChange: m(s)
4392
4395
  }, {
4393
4396
  "item-template": g(({ item: J }) => [
4394
4397
  B("div", Cl, M(J.label), 1),
4395
- m(J).data.username && m(J).data.custom_id ? (d(), $("div", kl, M(m(J).data.custom_id), 1)) : H("", !0)
4398
+ f(J).data.username && f(J).data.custom_id ? (d(), $("div", kl, M(f(J).data.custom_id), 1)) : H("", !0)
4396
4399
  ]),
4397
4400
  _: 1
4398
4401
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4399
4402
  L.value || I.value || q.value.length ? (d(), $("div", wl, [
4400
- O(V, { appearance: "danger" }, {
4403
+ O(D, { appearance: "danger" }, {
4401
4404
  alertMessage: g(() => [
4402
- B("p", null, M(f(t)("consumers.errors.add")), 1),
4405
+ B("p", null, M(m(t)("consumers.errors.add")), 1),
4403
4406
  q.value.length ? (d(), $("ul", Il, [
4404
4407
  (d(!0), $(me, null, pe(q.value, (J, X) => (d(), $("li", { key: X }, M(J), 1))), 128))
4405
4408
  ])) : H("", !0),
@@ -4474,7 +4477,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4474
4477
  username: { label: i("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4475
4478
  custom_id: { label: i("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4476
4479
  tags: { label: i("consumers.list.table_headers.tags"), sortable: !1 }
4477
- }, m = y, I = (T) => ({
4480
+ }, f = y, I = (T) => ({
4478
4481
  "data-testid": T.username ?? T.custom_id ?? T.id
4479
4482
  }), b = A(() => {
4480
4483
  var z, ne, ce, ye;
@@ -4528,26 +4531,26 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4528
4531
  }, S = async (T) => {
4529
4532
  var ne;
4530
4533
  await ((ne = r.canRetrieve) == null ? void 0 : ne.call(r, T)) && o.push(r.config.getViewRoute(T.id));
4531
- }, D = (T) => ({
4534
+ }, R = (T) => ({
4532
4535
  label: i("consumers.actions.view"),
4533
4536
  to: r.config.getViewRoute(T)
4534
4537
  }), x = (T) => ({
4535
4538
  label: i("consumers.actions.edit"),
4536
4539
  to: r.config.getEditRoute(T)
4537
- }), F = K(void 0), P = K(!1), V = K(!1), Q = K(""), J = ml(r.config, b.value), X = (T) => {
4540
+ }), F = K(void 0), P = K(!1), D = K(!1), Q = K(""), J = ml(r.config, b.value), X = (T) => {
4538
4541
  F.value = T, P.value = !0;
4539
4542
  }, ue = () => {
4540
4543
  P.value = !1;
4541
4544
  }, fr = async () => {
4542
4545
  var T, z, ne;
4543
4546
  if ((T = F.value) != null && T.id) {
4544
- V.value = !0;
4547
+ D.value = !0;
4545
4548
  try {
4546
- await s.delete(J(F.value.id)), V.value = !1, P.value = !1, l.value++, t("delete:success", F.value);
4549
+ await s.delete(J(F.value.id)), D.value = !1, P.value = !1, l.value++, t("delete:success", F.value);
4547
4550
  } catch (ce) {
4548
4551
  Q.value = ((ne = (z = ce.response) == null ? void 0 : z.data) == null ? void 0 : ne.message) || ce.message || i("consumers.errors.delete"), t("error", ce);
4549
4552
  } finally {
4550
- V.value = !1;
4553
+ D.value = !1;
4551
4554
  }
4552
4555
  }
4553
4556
  }, et = K(!1), jt = () => {
@@ -4600,7 +4603,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4600
4603
  }), (T, z) => {
4601
4604
  const ne = U("KButton"), ce = U("KBadge"), ye = U("KTruncate"), Ke = U("KDropdownItem"), Kt = U("KClipboardProvider"), br = U("KPrompt");
4602
4605
  return d(), $("div", Sl, [
4603
- O(f(Ds), {
4606
+ O(m(Rs), {
4604
4607
  "cache-identifier": e.cacheIdentifier,
4605
4608
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4606
4609
  "disable-pagination-page-jump": "",
@@ -4608,13 +4611,13 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4608
4611
  "empty-state-options": nt.value,
4609
4612
  "enable-entity-actions": "",
4610
4613
  "error-message": h.value,
4611
- fetcher: f(G),
4614
+ fetcher: m(G),
4612
4615
  "fetcher-cache-key": l.value,
4613
4616
  "pagination-type": "offset",
4614
4617
  "preferences-storage-key": p.value,
4615
4618
  query: _.value,
4616
4619
  "row-attributes": I,
4617
- "table-headers": f(m),
4620
+ "table-headers": m(f),
4618
4621
  "use-action-outside": e.useActionOutside,
4619
4622
  onClearSearchInput: j,
4620
4623
  "onClick:row": z[3] || (z[3] = (W) => S(W)),
@@ -4622,7 +4625,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4622
4625
  onSort: L
4623
4626
  }, {
4624
4627
  "toolbar-filter": g(() => [
4625
- u.value ? H("", !0) : (d(), R(f(il), {
4628
+ u.value ? H("", !0) : (d(), V(m(il), {
4626
4629
  key: 0,
4627
4630
  modelValue: _.value,
4628
4631
  "onUpdate:modelValue": z[0] || (z[0] = (W) => _.value = W),
@@ -4630,11 +4633,11 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4630
4633
  }, null, 8, ["modelValue", "config"]))
4631
4634
  ]),
4632
4635
  "toolbar-button": g(() => [
4633
- (d(), R(xe(e.useActionOutside ? "Teleport" : "div"), {
4636
+ (d(), V(xe(e.useActionOutside ? "Teleport" : "div"), {
4634
4637
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4635
4638
  }, {
4636
4639
  default: g(() => [
4637
- O(f(Ve), {
4640
+ O(m(De), {
4638
4641
  "auth-function": () => e.canCreate()
4639
4642
  }, {
4640
4643
  default: g(() => [
@@ -4646,7 +4649,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4646
4649
  onClick: z[1] || (z[1] = () => e.config.consumerGroupId ? jt() : void 0)
4647
4650
  }, {
4648
4651
  default: g(() => [
4649
- Y(M(e.config.consumerGroupId ? f(i)("consumers.actions.add_consumer") : f(i)("consumers.list.toolbar_actions.new_consumer")), 1)
4652
+ Y(M(e.config.consumerGroupId ? m(i)("consumers.actions.add_consumer") : m(i)("consumers.list.toolbar_actions.new_consumer")), 1)
4650
4653
  ]),
4651
4654
  _: 1
4652
4655
  }, 8, ["to"]), [
@@ -4666,9 +4669,9 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4666
4669
  Y(M(E(W)), 1)
4667
4670
  ]),
4668
4671
  tags: g(({ rowValue: W }) => [
4669
- W && W.length > 0 ? (d(), R(ye, { key: 0 }, {
4672
+ W && W.length > 0 ? (d(), V(ye, { key: 0 }, {
4670
4673
  default: g(() => [
4671
- (d(!0), $(me, null, pe(W, (je) => (d(), R(ce, {
4674
+ (d(!0), $(me, null, pe(W, (je) => (d(), V(ce, {
4672
4675
  key: je,
4673
4676
  onClick: z[2] || (z[2] = Ge(() => {
4674
4677
  }, ["stop"]))
@@ -4690,7 +4693,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4690
4693
  onClick: (Cr) => v(W, je)
4691
4694
  }, {
4692
4695
  default: g(() => [
4693
- Y(M(f(i)("consumers.actions.copy_id")), 1)
4696
+ Y(M(m(i)("consumers.actions.copy_id")), 1)
4694
4697
  ]),
4695
4698
  _: 2
4696
4699
  }, 1032, ["onClick"])
@@ -4704,26 +4707,26 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4704
4707
  onClick: (Cr) => q(W, je)
4705
4708
  }, {
4706
4709
  default: g(() => [
4707
- Y(M(f(i)("consumers.actions.copy_json")), 1)
4710
+ Y(M(m(i)("consumers.actions.copy_json")), 1)
4708
4711
  ]),
4709
4712
  _: 2
4710
4713
  }, 1032, ["onClick"])
4711
4714
  ]),
4712
4715
  _: 2
4713
4716
  }, 1024),
4714
- O(f(Ve), {
4717
+ O(m(De), {
4715
4718
  "auth-function": () => e.canRetrieve(W)
4716
4719
  }, {
4717
4720
  default: g(() => [
4718
4721
  O(Ke, {
4719
4722
  "data-testid": "action-entity-view",
4720
4723
  "has-divider": "",
4721
- item: D(W.id)
4724
+ item: R(W.id)
4722
4725
  }, null, 8, ["item"])
4723
4726
  ]),
4724
4727
  _: 2
4725
4728
  }, 1032, ["auth-function"]),
4726
- O(f(Ve), {
4729
+ O(m(De), {
4727
4730
  "auth-function": () => e.canEdit(W)
4728
4731
  }, {
4729
4732
  default: g(() => [
@@ -4734,7 +4737,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4734
4737
  ]),
4735
4738
  _: 2
4736
4739
  }, 1032, ["auth-function"]),
4737
- O(f(Ve), {
4740
+ O(m(De), {
4738
4741
  "auth-function": () => e.canDelete(W)
4739
4742
  }, {
4740
4743
  default: g(() => [
@@ -4745,7 +4748,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4745
4748
  onClick: () => e.config.consumerGroupId ? yr(W) : X(W)
4746
4749
  }, {
4747
4750
  default: g(() => [
4748
- Y(M(e.config.consumerGroupId ? f(i)("consumers.actions.remove") : f(i)("consumers.actions.delete")), 1)
4751
+ Y(M(e.config.consumerGroupId ? m(i)("consumers.actions.remove") : m(i)("consumers.actions.delete")), 1)
4749
4752
  ]),
4750
4753
  _: 2
4751
4754
  }, 1032, ["onClick"])
@@ -4755,19 +4758,19 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4755
4758
  ]),
4756
4759
  _: 1
4757
4760
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
4758
- O(f(Hs), {
4759
- "action-button-disabled": V.value,
4761
+ O(m(Hs), {
4762
+ "action-button-disabled": D.value,
4760
4763
  "data-testid": "delete-consumer-modal",
4761
- description: f(i)("consumers.delete.description"),
4764
+ description: m(i)("consumers.delete.description"),
4762
4765
  "entity-name": F.value && (F.value.username || F.value.custom_id || F.value.id),
4763
- "entity-type": f(hn).Consumer,
4766
+ "entity-type": m(hn).Consumer,
4764
4767
  error: Q.value,
4765
- title: f(i)("consumers.delete.title"),
4768
+ title: m(i)("consumers.delete.title"),
4766
4769
  visible: P.value,
4767
4770
  onCancel: ue,
4768
4771
  onProceed: fr
4769
4772
  }, null, 8, ["action-button-disabled", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4770
- e.config.consumerGroupId ? (d(), R(Al, {
4773
+ e.config.consumerGroupId ? (d(), V(Al, {
4771
4774
  key: 0,
4772
4775
  config: e.config,
4773
4776
  "data-testid": "add-consumer-modal",
@@ -4776,17 +4779,17 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4776
4779
  "onAdd:success": z[5] || (z[5] = (W) => Mt(W)),
4777
4780
  onCancel: $t
4778
4781
  }, null, 8, ["config", "visible"])) : H("", !0),
4779
- e.config.consumerGroupId && ve.value ? (d(), R(br, {
4782
+ e.config.consumerGroupId && ve.value ? (d(), V(br, {
4780
4783
  key: 1,
4781
4784
  "action-button-appearance": "danger",
4782
4785
  "data-testid": "remove-consumer-modal",
4783
- title: f(i)("consumers.consumer_groups.remove.title"),
4786
+ title: m(i)("consumers.consumer_groups.remove.title"),
4784
4787
  visible: tt.value,
4785
4788
  onCancel: Ot,
4786
4789
  onProceed: vr
4787
4790
  }, {
4788
4791
  default: g(() => [
4789
- O(f(a), {
4792
+ O(m(a), {
4790
4793
  class: "message",
4791
4794
  keypath: e.config.consumerGroupName ? "consumers.consumer_groups.remove.confirmation" : "consumers.consumer_groups.remove.confirmationNoCG",
4792
4795
  tag: "p"
@@ -4804,7 +4807,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4804
4807
  key: "0"
4805
4808
  } : void 0
4806
4809
  ]), 1032, ["keypath"]),
4807
- B("p", null, M(f(i)("consumers.consumer_groups.remove.description")), 1)
4810
+ B("p", null, M(m(i)("consumers.consumer_groups.remove.description")), 1)
4808
4811
  ]),
4809
4812
  _: 1
4810
4813
  }, 8, ["title", "visible"])) : H("", !0)
@@ -4850,7 +4853,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4850
4853
  }), y = () => {
4851
4854
  var E;
4852
4855
  o.push(((E = t.config) == null ? void 0 : E.cancelRoute) || { name: "consumer-list" });
4853
- }, m = (E) => {
4856
+ }, f = (E) => {
4854
4857
  r("loading", E);
4855
4858
  }, I = (E) => {
4856
4859
  r("error", E);
@@ -4860,9 +4863,9 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4860
4863
  const h = ((S = E == null ? void 0 : E.item) == null ? void 0 : S.tags) || (E == null ? void 0 : E.tags) || [];
4861
4864
  u.fields.tags = (h == null ? void 0 : h.join(", ")) || "", Object.assign(p, u.fields);
4862
4865
  }, _ = A(() => t.consumerId ? ut.Edit : ut.Create), C = (E) => {
4863
- var v, q, S, D, x, F;
4866
+ var v, q, S, R, x, F;
4864
4867
  let h = `${(v = t.config) == null ? void 0 : v.apiBaseUrl}${Te.form[(q = t.config) == null ? void 0 : q.app][E]}`;
4865
- return ((S = t.config) == null ? void 0 : S.app) === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((D = t.config) == null ? void 0 : D.controlPlaneId) || "") : ((x = t.config) == null ? void 0 : x.app) === "kongManager" && (h = h.replace(/\/{workspace}/gi, (F = t.config) != null && F.workspace ? `/${t.config.workspace}` : "")), h = h.replace(/{id}/gi, t.consumerId), h;
4868
+ return ((S = t.config) == null ? void 0 : S.app) === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((R = t.config) == null ? void 0 : R.controlPlaneId) || "") : ((x = t.config) == null ? void 0 : x.app) === "kongManager" && (h = h.replace(/\/{workspace}/gi, (F = t.config) != null && F.workspace ? `/${t.config.workspace}` : "")), h = h.replace(/{id}/gi, t.consumerId), h;
4866
4869
  }, w = A(() => !!u.fields.username || !!u.fields.customId), G = A(() => JSON.stringify(u.fields) !== JSON.stringify(p)), k = A(() => {
4867
4870
  var E, h;
4868
4871
  return {
@@ -4885,7 +4888,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4885
4888
  return (E, h) => {
4886
4889
  const v = U("KInput"), q = U("KCard");
4887
4890
  return d(), $("div", jl, [
4888
- O(f(Fs), {
4891
+ O(m(Fs), {
4889
4892
  "can-submit": w.value && G.value,
4890
4893
  config: e.config,
4891
4894
  "edit-id": e.consumerId,
@@ -4896,20 +4899,20 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4896
4899
  onCancel: y,
4897
4900
  "onFetch:error": h[3] || (h[3] = (S) => I(S)),
4898
4901
  "onFetch:success": b,
4899
- onLoading: h[4] || (h[4] = (S) => m(S)),
4902
+ onLoading: h[4] || (h[4] = (S) => f(S)),
4900
4903
  onSubmit: j
4901
4904
  }, {
4902
4905
  default: g(() => [
4903
4906
  B("div", null, [
4904
- O(f(fl), {
4905
- description: f(i)("consumers.form.info.description"),
4907
+ O(m(fl), {
4908
+ description: m(i)("consumers.form.info.description"),
4906
4909
  "has-divider": "",
4907
- title: f(i)("consumers.form.info.title")
4910
+ title: m(i)("consumers.form.info.title")
4908
4911
  }, {
4909
4912
  default: g(() => [
4910
4913
  B("div", null, [
4911
- B("h5", $l, M(f(i)("consumers.form.consumer_identification.title")) + "* ", 1),
4912
- B("p", Ml, M(f(i)("consumers.form.consumer_identification.description")), 1)
4914
+ B("h5", $l, M(m(i)("consumers.form.consumer_identification.title")) + "* ", 1),
4915
+ B("p", Ml, M(m(i)("consumers.form.consumer_identification.description")), 1)
4913
4916
  ]),
4914
4917
  O(q, null, {
4915
4918
  default: g(() => [
@@ -4920,21 +4923,21 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4920
4923
  autocomplete: "off",
4921
4924
  class: "username-field",
4922
4925
  "data-testid": "consumer-form-username",
4923
- label: f(i)("consumers.fields.username.label"),
4926
+ label: m(i)("consumers.fields.username.label"),
4924
4927
  "label-attributes": {
4925
4928
  tooltipAttributes: { maxWidth: "250" }
4926
4929
  },
4927
- placeholder: f(i)("consumers.fields.username.placeholder"),
4930
+ placeholder: m(i)("consumers.fields.username.placeholder"),
4928
4931
  readonly: u.readonly,
4929
4932
  type: "text"
4930
4933
  }, {
4931
4934
  "label-tooltip": g(() => [
4932
- O(f(a), {
4935
+ O(m(a), {
4933
4936
  keypath: "consumers.fields.username.tooltip",
4934
4937
  scope: "global"
4935
4938
  }, {
4936
4939
  custom_id: g(() => [
4937
- B("code", null, M(f(i)("consumers.fields.username.custom_id")), 1)
4940
+ B("code", null, M(m(i)("consumers.fields.username.custom_id")), 1)
4938
4941
  ]),
4939
4942
  _: 1
4940
4943
  })
@@ -4947,21 +4950,21 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4947
4950
  modelModifiers: { trim: !0 },
4948
4951
  autocomplete: "off",
4949
4952
  "data-testid": "consumer-form-custom-id",
4950
- label: f(i)("consumers.fields.custom_id.label"),
4953
+ label: m(i)("consumers.fields.custom_id.label"),
4951
4954
  "label-attributes": {
4952
4955
  tooltipAttributes: { maxWidth: "250" }
4953
4956
  },
4954
- placeholder: f(i)("consumers.fields.custom_id.placeholder"),
4957
+ placeholder: m(i)("consumers.fields.custom_id.placeholder"),
4955
4958
  readonly: u.readonly,
4956
4959
  type: "text"
4957
4960
  }, {
4958
4961
  "label-tooltip": g(() => [
4959
- O(f(a), {
4962
+ O(m(a), {
4960
4963
  keypath: "consumers.fields.custom_id.tooltip",
4961
4964
  scope: "global"
4962
4965
  }, {
4963
4966
  username: g(() => [
4964
- B("code", null, M(f(i)("consumers.fields.custom_id.username")), 1)
4967
+ B("code", null, M(m(i)("consumers.fields.custom_id.username")), 1)
4965
4968
  ]),
4966
4969
  _: 1
4967
4970
  })
@@ -4977,13 +4980,13 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4977
4980
  modelModifiers: { trim: !0 },
4978
4981
  autocomplete: "off",
4979
4982
  "data-testid": "consumer-form-tags",
4980
- help: f(i)("consumers.fields.tags.help"),
4981
- label: f(i)("consumers.fields.tags.label"),
4983
+ help: m(i)("consumers.fields.tags.help"),
4984
+ label: m(i)("consumers.fields.tags.label"),
4982
4985
  "label-attributes": {
4983
- info: f(i)("consumers.fields.tags.tooltip"),
4986
+ info: m(i)("consumers.fields.tags.tooltip"),
4984
4987
  tooltipAttributes: { maxWidth: "250" }
4985
4988
  },
4986
- placeholder: f(i)("consumers.fields.tags.placeholder"),
4989
+ placeholder: m(i)("consumers.fields.tags.placeholder"),
4987
4990
  readonly: u.readonly,
4988
4991
  type: "text"
4989
4992
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -5050,7 +5053,7 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
5050
5053
  }
5051
5054
  });
5052
5055
  return (o, s) => (d(), $("div", El, [
5053
- O(f($s), {
5056
+ O(m($s), {
5054
5057
  config: e.config,
5055
5058
  "config-card-doc": e.configCardDoc,
5056
5059
  "config-schema": i.value,
@@ -5062,23 +5065,23 @@ const us = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
5062
5065
  onLoading: s[3] || (s[3] = (l) => o.$emit("loading", l))
5063
5066
  }, {
5064
5067
  "username-label-tooltip": g(() => [
5065
- O(f(r), {
5068
+ O(m(r), {
5066
5069
  keypath: "consumers.fields.username.tooltip",
5067
5070
  scope: "global"
5068
5071
  }, {
5069
5072
  custom_id: g(() => [
5070
- B("code", null, M(f(t)("consumers.fields.username.custom_id")), 1)
5073
+ B("code", null, M(m(t)("consumers.fields.username.custom_id")), 1)
5071
5074
  ]),
5072
5075
  _: 1
5073
5076
  })
5074
5077
  ]),
5075
5078
  "custom_id-label-tooltip": g(() => [
5076
- O(f(r), {
5079
+ O(m(r), {
5077
5080
  keypath: "consumers.fields.custom_id.tooltip",
5078
5081
  scope: "global"
5079
5082
  }, {
5080
5083
  username: g(() => [
5081
- B("code", null, M(f(t)("consumers.fields.custom_id.username")), 1)
5084
+ B("code", null, M(m(t)("consumers.fields.custom_id.username")), 1)
5082
5085
  ]),
5083
5086
  _: 1
5084
5087
  })