@kong-ui-public/entities-consumer-groups 3.2.3 → 3.2.5-pr.1431.0d025a4c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as X, computed as w, openBlock as m, createBlock as D, resolveDynamicComponent as xe, normalizeStyle as He, withCtx as v, createElementBlock as $, toDisplayString as F, createCommentVNode as J, pushScopeId as Je, popScopeId as We, createElementVNode as L, ref as E, watch as $e, renderSlot as ne, unref as g, onBeforeMount as gt, resolveComponent as R, createSlots as Be, createVNode as j, createTextVNode as Y, renderList as ve, withModifiers as xt, withDirectives as Ne, vShow as je, Fragment as be, normalizeClass as Me, withKeys as wr, useSlots as jt, useCssVars as bn, inject as _r, onMounted as Sr, onUnmounted as xr, normalizeProps as Ar, guardReactiveProps as Ir, mergeProps as $r, Teleport as Tr, reactive as zt } from "vue";
2
- import { useRouter as Ot } from "vue-router";
1
+ import { defineComponent as X, computed as w, openBlock as m, createBlock as D, resolveDynamicComponent as xe, normalizeStyle as He, withCtx as v, createElementBlock as $, toDisplayString as q, createCommentVNode as J, pushScopeId as Je, popScopeId as Ze, createElementVNode as L, ref as O, watch as $e, renderSlot as ne, unref as g, onBeforeMount as gt, resolveComponent as R, createSlots as Be, createVNode as j, createTextVNode as Y, renderList as ve, withModifiers as xt, withDirectives as Ne, vShow as je, Fragment as be, normalizeClass as Me, withKeys as wr, useSlots as jt, useCssVars as bn, inject as _r, onMounted as Ir, onUnmounted as xr, normalizeProps as Sr, guardReactiveProps as Ar, mergeProps as $r, Teleport as Tr, reactive as zt } from "vue";
2
+ import { useRouter as Et } from "vue-router";
3
3
  import { createI18n as Cn, i18nTComponent as kn } from "@kong-ui-public/i18n";
4
4
  import Gt from "axios";
5
5
  import { BadgeMethodAppearances as Nr } from "@kong/kongponents";
@@ -8,13 +8,13 @@ const Ht = "24px", jr = (e, t) => {
8
8
  for (const [r, a] of t)
9
9
  n[r] = a;
10
10
  return n;
11
- }, Or = (e) => (Je("data-v-f89f0eca"), e = e(), We(), e), Er = ["aria-hidden"], Mr = {
11
+ }, Er = (e) => (Je("data-v-f68c7837"), e = e(), Ze(), e), Or = ["aria-hidden"], Mr = {
12
12
  key: 0,
13
13
  "data-testid": "kui-icon-svg-title"
14
- }, qr = /* @__PURE__ */ Or(() => /* @__PURE__ */ L("path", {
14
+ }, Fr = /* @__PURE__ */ Er(() => /* @__PURE__ */ L("path", {
15
15
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
16
16
  fill: "currentColor"
17
- }, null, -1)), Fr = /* @__PURE__ */ X({
17
+ }, null, -1)), qr = /* @__PURE__ */ X({
18
18
  __name: "AddIcon",
19
19
  props: {
20
20
  /** The accessibility text provided to screen readers */
@@ -100,14 +100,14 @@ const Ht = "24px", jr = (e, t) => {
100
100
  width: "100%",
101
101
  xmlns: "http://www.w3.org/2000/svg"
102
102
  }, [
103
- e.title ? (m(), $("title", Mr, F(e.title), 1)) : J("", !0),
104
- qr
105
- ], 8, Er))
103
+ e.title ? (m(), $("title", Mr, q(e.title), 1)) : J("", !0),
104
+ Fr
105
+ ], 8, Or))
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["aria-hidden", "style"]));
109
109
  }
110
- }), Kr = /* @__PURE__ */ jr(Fr, [["__scopeId", "data-v-f89f0eca"]]), Br = {
110
+ }), Kr = /* @__PURE__ */ jr(qr, [["__scopeId", "data-v-f68c7837"]]), Br = {
111
111
  list: {
112
112
  table_headers: {
113
113
  name: "Name",
@@ -209,39 +209,39 @@ function Ur() {
209
209
  }
210
210
  const yt = {
211
211
  useI18n: Ur
212
- }, Ae = "/v2/control-planes/{controlPlaneId}/core-entities", Ie = "/{workspace}", Oe = {
212
+ }, Se = "/v2/control-planes/{controlPlaneId}/core-entities", Ae = "/{workspace}", Ee = {
213
213
  list: {
214
214
  konnect: {
215
- all: `${Ae}/consumer_groups`,
216
- forConsumer: `${Ae}/consumers/{consumerId}/consumer_groups`,
217
- oneForConsumer: `${Ae}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
215
+ all: `${Se}/consumer_groups`,
216
+ forConsumer: `${Se}/consumers/{consumerId}/consumer_groups`,
217
+ oneForConsumer: `${Se}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
218
218
  },
219
219
  kongManager: {
220
- all: `${Ie}/consumer_groups?counter=true`,
221
- forConsumer: `${Ie}/consumers/{consumerId}/consumer_groups`,
222
- oneForConsumer: `${Ie}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
220
+ all: `${Ae}/consumer_groups?counter=true`,
221
+ forConsumer: `${Ae}/consumers/{consumerId}/consumer_groups`,
222
+ oneForConsumer: `${Ae}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
223
223
  }
224
224
  },
225
225
  form: {
226
226
  konnect: {
227
+ consumersList: `${Se}/consumers`,
228
+ create: `${Se}/consumer_groups`,
229
+ edit: `${Se}/consumer_groups/{id}`,
230
+ addConsumer: `${Se}/consumer_groups/{id}/consumers`,
231
+ removeConsumer: `${Se}/consumer_groups/{id}/consumers/{consumerId}`,
232
+ getConsumers: `${Se}/consumer_groups/{id}/consumers`
233
+ },
234
+ kongManager: {
227
235
  consumersList: `${Ae}/consumers`,
228
236
  create: `${Ae}/consumer_groups`,
229
237
  edit: `${Ae}/consumer_groups/{id}`,
230
238
  addConsumer: `${Ae}/consumer_groups/{id}/consumers`,
231
239
  removeConsumer: `${Ae}/consumer_groups/{id}/consumers/{consumerId}`,
232
240
  getConsumers: `${Ae}/consumer_groups/{id}/consumers`
233
- },
234
- kongManager: {
235
- consumersList: `${Ie}/consumers`,
236
- create: `${Ie}/consumer_groups`,
237
- edit: `${Ie}/consumer_groups/{id}`,
238
- addConsumer: `${Ie}/consumer_groups/{id}/consumers`,
239
- removeConsumer: `${Ie}/consumer_groups/{id}/consumers/{consumerId}`,
240
- getConsumers: `${Ie}/consumer_groups/{id}/consumers`
241
241
  }
242
242
  }
243
243
  };
244
- var wn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(wn || {}), ut = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ut || {}), Fe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Fe || {}), ee = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ee || {}), he = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(he || {});
244
+ var wn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(wn || {}), ut = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ut || {}), qe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(qe || {}), ee = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ee || {}), he = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(he || {});
245
245
  function Pr() {
246
246
  return {
247
247
  getAxiosInstance: (e = {}) => {
@@ -316,7 +316,7 @@ function Dr() {
316
316
  }
317
317
  };
318
318
  }
319
- function Et(e = {}) {
319
+ function Ot(e = {}) {
320
320
  const { getAxiosInstance: t } = Pr();
321
321
  return {
322
322
  axiosInstance: t(e)
@@ -354,7 +354,7 @@ const zr = {
354
354
  noSearchResultsMessage: "Please adjust the criteria and try again.",
355
355
  noSearchResultsCtaText: "Clear"
356
356
  }
357
- }, Wr = {
357
+ }, Zr = {
358
358
  title: "Configuration",
359
359
  actions: {
360
360
  copy: "Copy JSON"
@@ -389,7 +389,7 @@ const zr = {
389
389
  entryTitle: "Entry {index}",
390
390
  structuredFormat: "Structured"
391
391
  }
392
- }, Zr = {
392
+ }, Wr = {
393
393
  filterButtonText: "Filter",
394
394
  fieldLabel: "Filter by:",
395
395
  inputPlaceholder: "Enter a value",
@@ -423,8 +423,8 @@ const zr = {
423
423
  deleteModal: Gr,
424
424
  baseForm: Hr,
425
425
  baseTable: Jr,
426
- baseConfigCard: Wr,
427
- filter: Zr,
426
+ baseConfigCard: Zr,
427
+ filter: Wr,
428
428
  debouncedFilter: Yr,
429
429
  errors: Qr,
430
430
  validationErrors: Xr,
@@ -487,10 +487,10 @@ function na(e, t, n, r = {
487
487
  searchKeys: ["id"]
488
488
  }) {
489
489
  n || (n = "1000");
490
- const { axiosInstance: a } = Et(e.axiosRequestConfig), { i18n: { t: i } } = ht(), { debounce: o } = Vr(), s = o(async (h) => {
491
- await W(h);
492
- }, 200), l = E(!1), u = E(""), p = E(""), c = E([]), y = E([]), f = E(void 0), S = g(t);
493
- let T = `${e.apiBaseUrl}${S}`;
490
+ const { axiosInstance: a } = Ot(e.axiosRequestConfig), { i18n: { t: i } } = ht(), { debounce: o } = Vr(), s = o(async (h) => {
491
+ await Z(h);
492
+ }, 200), l = O(!1), u = O(""), p = O(""), c = O([]), y = O([]), f = O(void 0), I = g(t);
493
+ let T = `${e.apiBaseUrl}${I}`;
494
494
  e.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
495
495
  const { isValidUuid: k } = _n(), U = async () => {
496
496
  try {
@@ -502,8 +502,8 @@ function na(e, t, n, r = {
502
502
  } finally {
503
503
  l.value = !1;
504
504
  }
505
- }, N = E(""), W = async (h) => {
506
- var _, d, A;
505
+ }, N = O(""), Z = async (h) => {
506
+ var _, d, S;
507
507
  if (N.value !== h)
508
508
  if (N.value = h || "", f.value === void 0)
509
509
  try {
@@ -538,7 +538,7 @@ function na(e, t, n, r = {
538
538
  l.value = !1;
539
539
  }
540
540
  else
541
- l.value = !0, p.value = "", h ? (c.value = (A = f.value) == null ? void 0 : A.filter((B) => {
541
+ l.value = !0, p.value = "", h ? (c.value = (S = f.value) == null ? void 0 : S.filter((B) => {
542
542
  var x;
543
543
  let G = !1;
544
544
  for (const M of r.searchKeys) {
@@ -605,8 +605,8 @@ function oa(e) {
605
605
  return console.warn("Failed to build valid URL:", r), "";
606
606
  }
607
607
  }
608
- function Sn(e, t) {
609
- const n = E(g(e)), r = E(g(t)), a = w(
608
+ function In(e, t) {
609
+ const n = O(g(e)), r = O(g(t)), a = w(
610
610
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
611
611
  ), i = w(
612
612
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
@@ -615,8 +615,8 @@ function Sn(e, t) {
615
615
  const { page: s, pageSize: l, offset: u, sortColumnKey: p, sortColumnOrder: c, query: y } = o;
616
616
  try {
617
617
  let f = new URL(i.value.href);
618
- return a.value && y ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${y}/`) : new URL(`${f.href}?filter[name][contains]=${y}`)) : (a.value || new URLSearchParams(y).forEach((S, T) => {
619
- f.searchParams.append(T, S);
618
+ return a.value && y ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${y}/`) : new URL(`${f.href}?filter[name][contains]=${y}`)) : (a.value || new URLSearchParams(y).forEach((I, T) => {
619
+ f.searchParams.append(T, I);
620
620
  }), 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;
621
621
  } catch (f) {
622
622
  return console.error("RouteList(fetcher)", f), r.value;
@@ -624,13 +624,13 @@ function Sn(e, t) {
624
624
  };
625
625
  }
626
626
  function ia(e, t, n = "data") {
627
- const r = g(t), { axiosInstance: a } = Et(e.axiosRequestConfig), i = Sn(e, r), o = E({
628
- status: Fe.Idle
627
+ const r = g(t), { axiosInstance: a } = Ot(e.axiosRequestConfig), i = In(e, r), o = O({
628
+ status: qe.Idle
629
629
  });
630
630
  return { fetcher: async (s) => {
631
631
  var l;
632
632
  try {
633
- o.value = { status: Fe.Loading };
633
+ o.value = { status: qe.Loading };
634
634
  let u = i(s);
635
635
  u.includes("filter[name]") && (u = `${u}&page[size]=${s.pageSize}&page[number]=${s.page}`);
636
636
  const p = await a.get(u);
@@ -639,7 +639,7 @@ function ia(e, t, n = "data") {
639
639
  const c = p.data, y = n && n.replace(/[^\w-_]/gi, "");
640
640
  let f;
641
641
  c[y] && Array.isArray(c[y]) ? f = c[y] : Array.isArray(c) ? f = c : f = Object.keys(c).length ? [c] : [];
642
- const S = {
642
+ const I = {
643
643
  data: f,
644
644
  total: f.length,
645
645
  ...c.offset ? {
@@ -649,20 +649,20 @@ function ia(e, t, n = "data") {
649
649
  } : null
650
650
  };
651
651
  return o.value = {
652
- status: Fe.Idle,
653
- response: S
654
- }, S;
652
+ status: qe.Idle,
653
+ response: I
654
+ }, I;
655
655
  } catch (u) {
656
656
  const p = {
657
657
  data: [],
658
658
  total: 0
659
659
  };
660
660
  return s.query && (((l = u.response) == null ? void 0 : l.status) === 404 || u.status === 404) ? (o.value = {
661
- status: Fe.NoResults,
661
+ status: qe.NoResults,
662
662
  response: p,
663
663
  error: u.response ? u : { response: u }
664
664
  }, p) : (o.value = {
665
- status: Fe.Error,
665
+ status: qe.Error,
666
666
  response: p,
667
667
  error: u.response ? u : { response: u }
668
668
  }, p);
@@ -683,13 +683,13 @@ const xn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
683
683
  if (!t)
684
684
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
685
685
  return t.shift(), t;
686
- }, Wt = (e) => e === "*" || e === "x" || e === "X", Zt = (e) => {
686
+ }, Zt = (e) => e === "*" || e === "x" || e === "X", Wt = (e) => {
687
687
  const t = parseInt(e, 10);
688
688
  return isNaN(t) ? e : t;
689
689
  }, la = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], ua = (e, t) => {
690
- if (Wt(e) || Wt(t))
690
+ if (Zt(e) || Zt(t))
691
691
  return 0;
692
- const [n, r] = la(Zt(e), Zt(t));
692
+ const [n, r] = la(Wt(e), Wt(t));
693
693
  return n > r ? 1 : n < r ? -1 : 0;
694
694
  }, Yt = (e, t) => {
695
695
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
@@ -704,15 +704,15 @@ const xn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
704
704
  }, Qt = (e, t, n) => {
705
705
  da(n);
706
706
  const r = ca(e, t);
707
- return An[n].includes(r);
708
- }, An = {
707
+ return Sn[n].includes(r);
708
+ }, Sn = {
709
709
  ">": [1],
710
710
  ">=": [0, 1],
711
711
  "=": [0],
712
712
  "<=": [-1, 0],
713
713
  "<": [-1],
714
714
  "!=": [-1, 1]
715
- }, Xt = Object.keys(An), da = (e) => {
715
+ }, Xt = Object.keys(Sn), da = (e) => {
716
716
  if (typeof e != "string")
717
717
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
718
718
  if (Xt.indexOf(e) === -1)
@@ -732,7 +732,7 @@ function fa(e) {
732
732
  return !(o && Qt(a, o, "<") || s && Qt(a, s, ">"));
733
733
  }
734
734
  function ma(e) {
735
- const t = E(0), n = E(0), r = E(!1);
735
+ const t = O(0), n = O(0), r = O(!1);
736
736
  return $e(e, (a) => {
737
737
  a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
738
738
  }), {
@@ -746,13 +746,13 @@ function ga() {
746
746
  };
747
747
  }
748
748
  const se = {
749
- useAxios: Et,
749
+ useAxios: Ot,
750
750
  useDebouncedFilter: na,
751
751
  useDeleteUrlBuilder: ra,
752
752
  useErrors: aa,
753
753
  useExternalLinkCreator: oa,
754
754
  useFetcher: ia,
755
- useFetchUrlBuilder: Sn,
755
+ useFetchUrlBuilder: In,
756
756
  useHelpers: _n,
757
757
  useStringHelpers: sa,
758
758
  useI18n: ht,
@@ -791,7 +791,7 @@ const se = {
791
791
  }, {
792
792
  default: v(() => [
793
793
  e.isArrayItem ? (m(), $("legend", ya, [
794
- L("b", null, F(s.value), 1)
794
+ L("b", null, q(s.value), 1)
795
795
  ])) : J("", !0),
796
796
  (m(!0), $(be, null, ve(Object.keys(o.value), (p, c) => (m(), D($n, {
797
797
  key: `${a.value}-property-${c}`,
@@ -810,7 +810,7 @@ const se = {
810
810
  for (const [r, a] of t)
811
811
  n[r] = a;
812
812
  return n;
813
- }, In = /* @__PURE__ */ Ce(ha, [["__scopeId", "data-v-68ca83ec"]]), va = /* @__PURE__ */ X({
813
+ }, An = /* @__PURE__ */ Ce(ha, [["__scopeId", "data-v-68ca83ec"]]), va = /* @__PURE__ */ X({
814
814
  __name: "InternalLinkItem",
815
815
  props: {
816
816
  item: {
@@ -830,7 +830,7 @@ const se = {
830
830
  onClick: r[0] || (r[0] = (i) => n.$emit("navigation-click", e.item))
831
831
  }, {
832
832
  default: v(() => [
833
- Y(F(e.item.value || g(t)("baseConfigCard.commonFields.link")), 1)
833
+ Y(q(e.item.value || g(t)("baseConfigCard.commonFields.link")), 1)
834
834
  ]),
835
835
  _: 1
836
836
  })
@@ -853,17 +853,17 @@ const se = {
853
853
  appearance: e.status ? "success" : "neutral"
854
854
  }, {
855
855
  default: v(() => [
856
- Y(F(e.status ? g(t)("baseConfigCard.statusBadge.enabledLabel") : g(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
856
+ Y(q(e.status ? g(t)("baseConfigCard.statusBadge.enabledLabel") : g(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
857
857
  ]),
858
858
  _: 1
859
859
  }, 8, ["appearance"]);
860
860
  };
861
861
  }
862
- }), ka = "#0044f4", wa = "#e0e4ea", _a = "#afb7c5", Sa = "1px", xa = "20px", Aa = { class: "config-card-details-row" }, Ia = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], Na = ["data-testid"], ja = { key: 1 }, Oa = ["data-testid"], Ea = ["data-testid"], Ma = ["data-testid"], qa = ["data-testid"], Fa = {
862
+ }), ka = "#0044f4", wa = "#e0e4ea", _a = "#afb7c5", Ia = "1px", xa = "20px", Sa = { class: "config-card-details-row" }, Aa = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], Na = ["data-testid"], ja = { key: 1 }, Ea = ["data-testid"], Oa = ["data-testid"], Ma = ["data-testid"], Fa = ["data-testid"], qa = {
863
863
  name: "ConfigCardItem",
864
- components: { JsonCardItem: In, StatusBadge: Ca, InternalLinkItem: ba }
864
+ components: { JsonCardItem: An, StatusBadge: Ca, InternalLinkItem: ba }
865
865
  }, Ka = /* @__PURE__ */ X({
866
- ...Fa,
866
+ ...qa,
867
867
  props: {
868
868
  item: {
869
869
  type: Object,
@@ -882,8 +882,8 @@ const se = {
882
882
  },
883
883
  emits: ["navigation-click"],
884
884
  setup(e, { emit: t }) {
885
- bn((S) => ({
886
- dc1d91a8: p.value ? "none" : `solid ${g(Sa)} ${g(wa)}`,
885
+ bn((I) => ({
886
+ dc1d91a8: p.value ? "none" : `solid ${g(Ia)} ${g(wa)}`,
887
887
  "59ccec5f": u.value && s.value ? "block" : "flex",
888
888
  "29318fbe": u.value && s.value ? "100%" : n.slim ? "50%" : "25%",
889
889
  "292d0408": u.value && s.value ? "100%" : n.slim ? "50%" : "75%"
@@ -958,8 +958,8 @@ const se = {
958
958
  attrs: {
959
959
  "data-testid": `${n.item.key}-internal-link`,
960
960
  item: n.item,
961
- onNavigationClick: (S) => {
962
- r("navigation-click", S);
961
+ onNavigationClick: (I) => {
962
+ r("navigation-click", I);
963
963
  }
964
964
  }
965
965
  };
@@ -998,18 +998,18 @@ const se = {
998
998
  text: n.item.value
999
999
  };
1000
1000
  }
1001
- }), y = E(), { isTruncated: f } = se.useTruncationDetector(y);
1002
- return (S, T) => {
1003
- const k = R("KLabel"), U = R("KBadge"), N = R("KCopy"), W = R("KTooltip");
1004
- return m(), $("div", Aa, [
1001
+ }), y = O(), { isTruncated: f } = se.useTruncationDetector(y);
1002
+ return (I, T) => {
1003
+ const k = R("KLabel"), U = R("KBadge"), N = R("KCopy"), Z = R("KTooltip");
1004
+ return m(), $("div", Sa, [
1005
1005
  L("div", {
1006
1006
  class: "config-card-details-label",
1007
1007
  "data-testid": `${e.item.key}-label`
1008
1008
  }, [
1009
- ne(S.$slots, "label", { item: e.item }, () => [
1009
+ ne(I.$slots, "label", { item: e.item }, () => [
1010
1010
  j(k, { "tooltip-attributes": { maxWidth: "500px" } }, Be({
1011
1011
  default: v(() => [
1012
- Y(F(e.item.label) + " ", 1)
1012
+ Y(q(e.item.label) + " ", 1)
1013
1013
  ]),
1014
1014
  _: 2
1015
1015
  }, [
@@ -1019,8 +1019,8 @@ const se = {
1019
1019
  L("div", {
1020
1020
  "data-testid": `${e.item.key}-label-tooltip`
1021
1021
  }, [
1022
- ne(S.$slots, "label-tooltip", {}, () => [
1023
- Y(F(e.item.tooltip), 1)
1022
+ ne(I.$slots, "label-tooltip", {}, () => [
1023
+ Y(q(e.item.tooltip), 1)
1024
1024
  ], !0)
1025
1025
  ], 8, $a)
1026
1026
  ]),
@@ -1028,16 +1028,16 @@ const se = {
1028
1028
  } : void 0
1029
1029
  ]), 1024)
1030
1030
  ], !0)
1031
- ], 8, Ia),
1031
+ ], 8, Aa),
1032
1032
  L("div", {
1033
1033
  class: "config-card-details-value",
1034
1034
  "data-testid": `${e.item.key}-property-value`
1035
1035
  }, [
1036
- ne(S.$slots, e.item.key, {
1036
+ ne(I.$slots, e.item.key, {
1037
1037
  rowValue: e.item.value
1038
1038
  }, () => [
1039
1039
  s.value ? (m(), $("div", ja, [
1040
- (m(), D(xe(c.value.tag), Ar(Ir(c.value.attrs)), {
1040
+ (m(), D(xe(c.value.tag), Sr(Ar(c.value.attrs)), {
1041
1041
  default: v(() => [
1042
1042
  c.value.additionalComponent === "KBadge" ? (m(), $("div", {
1043
1043
  key: 0,
@@ -1051,11 +1051,11 @@ const se = {
1051
1051
  "truncation-tooltip": ""
1052
1052
  }, {
1053
1053
  default: v(() => [
1054
- Y(F(h), 1)
1054
+ Y(q(h), 1)
1055
1055
  ]),
1056
1056
  _: 2
1057
1057
  }, 1032, ["data-testid", "tooltip"]))), 128))
1058
- ], 8, Oa)) : J("", !0),
1058
+ ], 8, Ea)) : J("", !0),
1059
1059
  c.value.additionalComponent === "KCopy" ? (m(), $("div", {
1060
1060
  key: 1,
1061
1061
  class: "copy-uuid-array",
@@ -1066,7 +1066,7 @@ const se = {
1066
1066
  "data-testid": `${e.item.key}-copy-uuid-${_}`,
1067
1067
  text: h
1068
1068
  }), null, 16, ["data-testid", "text"]))), 128))
1069
- ], 8, Ea)) : c.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1069
+ ], 8, Oa)) : c.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1070
1070
  key: 2,
1071
1071
  class: "method-badge-array",
1072
1072
  "data-testid": `${e.item.key}-badge-methods`
@@ -1078,7 +1078,7 @@ const se = {
1078
1078
  "data-testid": `${e.item.key}-badge-method-${_}`
1079
1079
  }, {
1080
1080
  default: v(() => [
1081
- Y(F(h), 1)
1081
+ Y(q(h), 1)
1082
1082
  ]),
1083
1083
  _: 2
1084
1084
  }, 1032, ["appearance", "data-testid"]))), 128))
@@ -1087,13 +1087,13 @@ const se = {
1087
1087
  key: 3,
1088
1088
  "data-testid": `${n.item.key}-json-array-content`
1089
1089
  }, [
1090
- (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(In, {
1090
+ (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(An, {
1091
1091
  key: `json-array-item-${_}`,
1092
1092
  index: _,
1093
1093
  "is-array-item": "",
1094
1094
  item: h
1095
1095
  }, null, 8, ["index", "item"]))), 128))
1096
- ], 8, qa)) : (m(), D(W, {
1096
+ ], 8, Fa)) : (m(), D(Z, {
1097
1097
  key: 4,
1098
1098
  text: g(f) ? e.item.value : ""
1099
1099
  }, {
@@ -1102,7 +1102,7 @@ const se = {
1102
1102
  ref_key: "textContent",
1103
1103
  ref: y,
1104
1104
  class: Me(["attrs-data-text", { truncated: e.truncated }])
1105
- }, F(c.value.text), 3)
1105
+ }, q(c.value.text), 3)
1106
1106
  ]),
1107
1107
  _: 1
1108
1108
  }, 8, ["text"]))
@@ -1167,7 +1167,7 @@ const se = {
1167
1167
  appearance: t.requestMethod
1168
1168
  }, {
1169
1169
  default: v(() => [
1170
- Y(F(t.requestMethod), 1)
1170
+ Y(q(t.requestMethod), 1)
1171
1171
  ]),
1172
1172
  _: 1
1173
1173
  }, 8, ["appearance"]),
@@ -1217,13 +1217,13 @@ function Ra(e, t) {
1217
1217
  function Da(e) {
1218
1218
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1219
1219
  }
1220
- var za = Nn, Ga = Ua, Ha = Pa, Ja = Ra, Wa = Da, Za = Va, ie = {
1220
+ var za = Nn, Ga = Ua, Ha = Pa, Ja = Ra, Za = Da, Wa = Va, ie = {
1221
1221
  isNothing: za,
1222
1222
  isObject: Ga,
1223
1223
  toArray: Ha,
1224
1224
  repeat: Ja,
1225
- isNegativeZero: Wa,
1226
- extend: Za
1225
+ isNegativeZero: Za,
1226
+ extend: Wa
1227
1227
  };
1228
1228
  function jn(e, t) {
1229
1229
  var n = "", r = e.reason || "(unknown reason)";
@@ -1346,10 +1346,10 @@ function ro() {
1346
1346
  arguments[t].forEach(r);
1347
1347
  return e;
1348
1348
  }
1349
- function At(e) {
1349
+ function St(e) {
1350
1350
  return this.extend(e);
1351
1351
  }
1352
- At.prototype.extend = function(e) {
1352
+ St.prototype.extend = function(e) {
1353
1353
  var t = [], n = [];
1354
1354
  if (e instanceof ce)
1355
1355
  n.push(e);
@@ -1370,10 +1370,10 @@ At.prototype.extend = function(e) {
1370
1370
  if (!(a instanceof ce))
1371
1371
  throw new fe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1372
1372
  });
1373
- var r = Object.create(At.prototype);
1373
+ var r = Object.create(St.prototype);
1374
1374
  return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = en(r, "implicit"), r.compiledExplicit = en(r, "explicit"), r.compiledTypeMap = ro(r.compiledImplicit, r.compiledExplicit), r;
1375
1375
  };
1376
- var On = At, En = new ce("tag:yaml.org,2002:str", {
1376
+ var En = St, On = new ce("tag:yaml.org,2002:str", {
1377
1377
  kind: "scalar",
1378
1378
  construct: function(e) {
1379
1379
  return e !== null ? e : "";
@@ -1383,16 +1383,16 @@ var On = At, En = new ce("tag:yaml.org,2002:str", {
1383
1383
  construct: function(e) {
1384
1384
  return e !== null ? e : [];
1385
1385
  }
1386
- }), qn = new ce("tag:yaml.org,2002:map", {
1386
+ }), Fn = new ce("tag:yaml.org,2002:map", {
1387
1387
  kind: "mapping",
1388
1388
  construct: function(e) {
1389
1389
  return e !== null ? e : {};
1390
1390
  }
1391
- }), Fn = new On({
1391
+ }), qn = new En({
1392
1392
  explicit: [
1393
- En,
1393
+ On,
1394
1394
  Mn,
1395
- qn
1395
+ Fn
1396
1396
  ]
1397
1397
  });
1398
1398
  function ao(e) {
@@ -1618,7 +1618,7 @@ var Un = new ce("tag:yaml.org,2002:float", {
1618
1618
  predicate: wo,
1619
1619
  represent: ko,
1620
1620
  defaultStyle: "lowercase"
1621
- }), Pn = Fn.extend({
1621
+ }), Pn = qn.extend({
1622
1622
  implicit: [
1623
1623
  Kn,
1624
1624
  Bn,
@@ -1633,7 +1633,7 @@ var Un = new ce("tag:yaml.org,2002:float", {
1633
1633
  function _o(e) {
1634
1634
  return e === null ? !1 : Rn.exec(e) !== null || Dn.exec(e) !== null;
1635
1635
  }
1636
- function So(e) {
1636
+ function Io(e) {
1637
1637
  var t, n, r, a, i, o, s, l = 0, u = null, p, c, y;
1638
1638
  if (t = Rn.exec(e), t === null && (t = Dn.exec(e)), t === null)
1639
1639
  throw new Error("Date resolve error");
@@ -1652,19 +1652,19 @@ function xo(e) {
1652
1652
  var zn = new ce("tag:yaml.org,2002:timestamp", {
1653
1653
  kind: "scalar",
1654
1654
  resolve: _o,
1655
- construct: So,
1655
+ construct: Io,
1656
1656
  instanceOf: Date,
1657
1657
  represent: xo
1658
1658
  });
1659
- function Ao(e) {
1659
+ function So(e) {
1660
1660
  return e === "<<" || e === null;
1661
1661
  }
1662
1662
  var Gn = new ce("tag:yaml.org,2002:merge", {
1663
1663
  kind: "scalar",
1664
- resolve: Ao
1664
+ resolve: So
1665
1665
  }), Mt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1666
1666
  \r`;
1667
- function Io(e) {
1667
+ function Ao(e) {
1668
1668
  if (e === null)
1669
1669
  return !1;
1670
1670
  var t, n, r = 0, a = e.length, i = Mt;
@@ -1693,17 +1693,17 @@ function No(e) {
1693
1693
  }
1694
1694
  var Hn = new ce("tag:yaml.org,2002:binary", {
1695
1695
  kind: "scalar",
1696
- resolve: Io,
1696
+ resolve: Ao,
1697
1697
  construct: $o,
1698
1698
  predicate: No,
1699
1699
  represent: To
1700
- }), jo = Object.prototype.hasOwnProperty, Oo = Object.prototype.toString;
1701
- function Eo(e) {
1700
+ }), jo = Object.prototype.hasOwnProperty, Eo = Object.prototype.toString;
1701
+ function Oo(e) {
1702
1702
  if (e === null)
1703
1703
  return !0;
1704
1704
  var t = [], n, r, a, i, o, s = e;
1705
1705
  for (n = 0, r = s.length; n < r; n += 1) {
1706
- if (a = s[n], o = !1, Oo.call(a) !== "[object Object]")
1706
+ if (a = s[n], o = !1, Eo.call(a) !== "[object Object]")
1707
1707
  return !1;
1708
1708
  for (i in a)
1709
1709
  if (jo.call(a, i))
@@ -1725,15 +1725,15 @@ function Mo(e) {
1725
1725
  }
1726
1726
  var Jn = new ce("tag:yaml.org,2002:omap", {
1727
1727
  kind: "sequence",
1728
- resolve: Eo,
1728
+ resolve: Oo,
1729
1729
  construct: Mo
1730
- }), qo = Object.prototype.toString;
1731
- function Fo(e) {
1730
+ }), Fo = Object.prototype.toString;
1731
+ function qo(e) {
1732
1732
  if (e === null)
1733
1733
  return !0;
1734
1734
  var t, n, r, a, i, o = e;
1735
1735
  for (i = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
1736
- if (r = o[t], qo.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1736
+ if (r = o[t], Fo.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1737
1737
  return !1;
1738
1738
  i[t] = [a[0], r[a[0]]];
1739
1739
  }
@@ -1747,9 +1747,9 @@ function Ko(e) {
1747
1747
  r = o[t], a = Object.keys(r), i[t] = [a[0], r[a[0]]];
1748
1748
  return i;
1749
1749
  }
1750
- var Wn = new ce("tag:yaml.org,2002:pairs", {
1750
+ var Zn = new ce("tag:yaml.org,2002:pairs", {
1751
1751
  kind: "sequence",
1752
- resolve: Fo,
1752
+ resolve: qo,
1753
1753
  construct: Ko
1754
1754
  }), Bo = Object.prototype.hasOwnProperty;
1755
1755
  function Lo(e) {
@@ -1764,11 +1764,11 @@ function Lo(e) {
1764
1764
  function Uo(e) {
1765
1765
  return e !== null ? e : {};
1766
1766
  }
1767
- var Zn = new ce("tag:yaml.org,2002:set", {
1767
+ var Wn = new ce("tag:yaml.org,2002:set", {
1768
1768
  kind: "mapping",
1769
1769
  resolve: Lo,
1770
1770
  construct: Uo
1771
- }), qt = Vn.extend({
1771
+ }), Ft = Vn.extend({
1772
1772
  implicit: [
1773
1773
  zn,
1774
1774
  Gn
@@ -1776,10 +1776,10 @@ var Zn = new ce("tag:yaml.org,2002:set", {
1776
1776
  explicit: [
1777
1777
  Hn,
1778
1778
  Jn,
1779
- Wn,
1780
- Zn
1779
+ Zn,
1780
+ Wn
1781
1781
  ]
1782
- }), qe = Object.prototype.hasOwnProperty, ct = 1, Yn = 2, Qn = 3, dt = 4, St = 1, Po = 2, tn = 3, Vo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ro = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1782
+ }), Fe = Object.prototype.hasOwnProperty, ct = 1, Yn = 2, Qn = 3, dt = 4, It = 1, Po = 2, tn = 3, Vo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ro = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1783
1783
  function nn(e) {
1784
1784
  return Object.prototype.toString.call(e);
1785
1785
  }
@@ -1818,8 +1818,8 @@ function Jo(e) {
1818
1818
  var tr = new Array(256), nr = new Array(256);
1819
1819
  for (var Ve = 0; Ve < 256; Ve++)
1820
1820
  tr[Ve] = rn(Ve) ? 1 : 0, nr[Ve] = rn(Ve);
1821
- function Wo(e, t) {
1822
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || qt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1821
+ function Zo(e, t) {
1822
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || Ft, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1823
1823
  }
1824
1824
  function rr(e, t) {
1825
1825
  var n = {
@@ -1832,7 +1832,7 @@ function rr(e, t) {
1832
1832
  };
1833
1833
  return n.snippet = Qa(n), new fe(t, n);
1834
1834
  }
1835
- function O(e, t) {
1835
+ function E(e, t) {
1836
1836
  throw rr(e, t);
1837
1837
  }
1838
1838
  function pt(e, t) {
@@ -1841,40 +1841,40 @@ function pt(e, t) {
1841
1841
  var an = {
1842
1842
  YAML: function(e, t, n) {
1843
1843
  var r, a, i;
1844
- e.version !== null && O(e, "duplication of %YAML directive"), n.length !== 1 && O(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && O(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && O(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && pt(e, "unsupported YAML version of the document");
1844
+ e.version !== null && E(e, "duplication of %YAML directive"), n.length !== 1 && E(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && E(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && E(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && pt(e, "unsupported YAML version of the document");
1845
1845
  },
1846
1846
  TAG: function(e, t, n) {
1847
1847
  var r, a;
1848
- n.length !== 2 && O(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], Xn.test(r) || O(e, "ill-formed tag handle (first argument) of the TAG directive"), qe.call(e.tagMap, r) && O(e, 'there is a previously declared suffix for "' + r + '" tag handle'), er.test(a) || O(e, "ill-formed tag prefix (second argument) of the TAG directive");
1848
+ n.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], Xn.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Fe.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), er.test(a) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1849
1849
  try {
1850
1850
  a = decodeURIComponent(a);
1851
1851
  } catch {
1852
- O(e, "tag prefix is malformed: " + a);
1852
+ E(e, "tag prefix is malformed: " + a);
1853
1853
  }
1854
1854
  e.tagMap[r] = a;
1855
1855
  }
1856
1856
  };
1857
- function Ee(e, t, n, r) {
1857
+ function Oe(e, t, n, r) {
1858
1858
  var a, i, o, s;
1859
1859
  if (t < n) {
1860
1860
  if (s = e.input.slice(t, n), r)
1861
1861
  for (a = 0, i = s.length; a < i; a += 1)
1862
- o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || O(e, "expected valid JSON character");
1862
+ o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || E(e, "expected valid JSON character");
1863
1863
  else
1864
- Vo.test(s) && O(e, "the stream contains non-printable characters");
1864
+ Vo.test(s) && E(e, "the stream contains non-printable characters");
1865
1865
  e.result += s;
1866
1866
  }
1867
1867
  }
1868
1868
  function on(e, t, n, r) {
1869
1869
  var a, i, o, s;
1870
- for (ie.isObject(n) || O(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), o = 0, s = a.length; o < s; o += 1)
1871
- i = a[o], qe.call(t, i) || (t[i] = n[i], r[i] = !0);
1870
+ for (ie.isObject(n) || E(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), o = 0, s = a.length; o < s; o += 1)
1871
+ i = a[o], Fe.call(t, i) || (t[i] = n[i], r[i] = !0);
1872
1872
  }
1873
1873
  function ze(e, t, n, r, a, i, o, s, l) {
1874
1874
  var u, p;
1875
1875
  if (Array.isArray(a))
1876
1876
  for (a = Array.prototype.slice.call(a), u = 0, p = a.length; u < p; u += 1)
1877
- Array.isArray(a[u]) && O(e, "nested arrays are not supported inside keys"), typeof a == "object" && nn(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1877
+ Array.isArray(a[u]) && E(e, "nested arrays are not supported inside keys"), typeof a == "object" && nn(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1878
1878
  if (typeof a == "object" && nn(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1879
1879
  if (Array.isArray(i))
1880
1880
  for (u = 0, p = i.length; u < p; u += 1)
@@ -1882,7 +1882,7 @@ function ze(e, t, n, r, a, i, o, s, l) {
1882
1882
  else
1883
1883
  on(e, t, i, n);
1884
1884
  else
1885
- !e.json && !qe.call(n, a) && qe.call(t, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, O(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1885
+ !e.json && !Fe.call(n, a) && Fe.call(t, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1886
1886
  configurable: !0,
1887
1887
  enumerable: !0,
1888
1888
  writable: !0,
@@ -1890,9 +1890,9 @@ function ze(e, t, n, r, a, i, o, s, l) {
1890
1890
  }) : t[a] = i, delete n[a];
1891
1891
  return t;
1892
1892
  }
1893
- function Ft(e) {
1893
+ function qt(e) {
1894
1894
  var t;
1895
- t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : O(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1895
+ t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1896
1896
  }
1897
1897
  function oe(e, t, n) {
1898
1898
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
@@ -1903,7 +1903,7 @@ function oe(e, t, n) {
1903
1903
  a = e.input.charCodeAt(++e.position);
1904
1904
  while (a !== 10 && a !== 13 && a !== 0);
1905
1905
  if (_e(a))
1906
- for (Ft(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1906
+ for (qt(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1907
1907
  e.lineIndent++, a = e.input.charCodeAt(++e.position);
1908
1908
  else
1909
1909
  break;
@@ -1918,7 +1918,7 @@ function Kt(e, t) {
1918
1918
  t === 1 ? e.result += " " : t > 1 && (e.result += ie.repeat(`
1919
1919
  `, t - 1));
1920
1920
  }
1921
- function Zo(e, t, n) {
1921
+ function Wo(e, t, n) {
1922
1922
  var r, a, i, o, s, l, u, p, c = e.kind, y = e.result, f;
1923
1923
  if (f = e.input.charCodeAt(e.position), ye(f) || De(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), ye(a) || n && De(a)))
1924
1924
  return !1;
@@ -1941,9 +1941,9 @@ function Zo(e, t, n) {
1941
1941
  break;
1942
1942
  }
1943
1943
  }
1944
- s && (Ee(e, i, o, !1), Kt(e, e.line - l), i = o = e.position, s = !1), Ke(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1944
+ s && (Oe(e, i, o, !1), Kt(e, e.line - l), i = o = e.position, s = !1), Ke(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1945
1945
  }
1946
- return Ee(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
1946
+ return Oe(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
1947
1947
  }
1948
1948
  function Yo(e, t) {
1949
1949
  var n, r, a;
@@ -1951,13 +1951,13 @@ function Yo(e, t) {
1951
1951
  return !1;
1952
1952
  for (e.kind = "scalar", e.result = "", e.position++, r = a = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1953
1953
  if (n === 39)
1954
- if (Ee(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1954
+ if (Oe(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1955
1955
  r = e.position, e.position++, a = e.position;
1956
1956
  else
1957
1957
  return !0;
1958
1958
  else
1959
- _e(n) ? (Ee(e, r, a, !0), Kt(e, oe(e, !1, t)), r = a = e.position) : e.position === e.lineStart && vt(e) ? O(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1960
- O(e, "unexpected end of the stream within a single quoted scalar");
1959
+ _e(n) ? (Oe(e, r, a, !0), Kt(e, oe(e, !1, t)), r = a = e.position) : e.position === e.lineStart && vt(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1960
+ E(e, "unexpected end of the stream within a single quoted scalar");
1961
1961
  }
1962
1962
  function Qo(e, t) {
1963
1963
  var n, r, a, i, o, s;
@@ -1965,26 +1965,26 @@ function Qo(e, t) {
1965
1965
  return !1;
1966
1966
  for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
1967
1967
  if (s === 34)
1968
- return Ee(e, n, e.position, !0), e.position++, !0;
1968
+ return Oe(e, n, e.position, !0), e.position++, !0;
1969
1969
  if (s === 92) {
1970
- if (Ee(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), _e(s))
1970
+ if (Oe(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), _e(s))
1971
1971
  oe(e, !1, t);
1972
1972
  else if (s < 256 && tr[s])
1973
1973
  e.result += nr[s], e.position++;
1974
1974
  else if ((o = Go(s)) > 0) {
1975
1975
  for (a = o, i = 0; a > 0; a--)
1976
- s = e.input.charCodeAt(++e.position), (o = zo(s)) >= 0 ? i = (i << 4) + o : O(e, "expected hexadecimal character");
1976
+ s = e.input.charCodeAt(++e.position), (o = zo(s)) >= 0 ? i = (i << 4) + o : E(e, "expected hexadecimal character");
1977
1977
  e.result += Jo(i), e.position++;
1978
1978
  } else
1979
- O(e, "unknown escape sequence");
1979
+ E(e, "unknown escape sequence");
1980
1980
  n = r = e.position;
1981
1981
  } else
1982
- _e(s) ? (Ee(e, n, r, !0), Kt(e, oe(e, !1, t)), n = r = e.position) : e.position === e.lineStart && vt(e) ? O(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1982
+ _e(s) ? (Oe(e, n, r, !0), Kt(e, oe(e, !1, t)), n = r = e.position) : e.position === e.lineStart && vt(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1983
1983
  }
1984
- O(e, "unexpected end of the stream within a double quoted scalar");
1984
+ E(e, "unexpected end of the stream within a double quoted scalar");
1985
1985
  }
1986
1986
  function Xo(e, t) {
1987
- var n = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, y, f, S = /* @__PURE__ */ Object.create(null), T, k, U, N;
1987
+ var n = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, y, f, I = /* @__PURE__ */ Object.create(null), T, k, U, N;
1988
1988
  if (N = e.input.charCodeAt(e.position), N === 91)
1989
1989
  p = 93, f = !1, s = [];
1990
1990
  else if (N === 123)
@@ -1994,12 +1994,12 @@ function Xo(e, t) {
1994
1994
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), N = e.input.charCodeAt(++e.position); N !== 0; ) {
1995
1995
  if (oe(e, !0, t), N = e.input.charCodeAt(e.position), N === p)
1996
1996
  return e.position++, e.tag = o, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
1997
- n ? N === 44 && O(e, "expected the node content, but found ','") : O(e, "missed comma between flow collection entries"), k = T = U = null, c = y = !1, N === 63 && (u = e.input.charCodeAt(e.position + 1), ye(u) && (c = y = !0, e.position++, oe(e, !0, t))), r = e.line, a = e.lineStart, i = e.position, Ge(e, t, ct, !1, !0), k = e.tag, T = e.result, oe(e, !0, t), N = e.input.charCodeAt(e.position), (y || e.line === r) && N === 58 && (c = !0, N = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, ct, !1, !0), U = e.result), f ? ze(e, s, S, k, T, U, r, a, i) : c ? s.push(ze(e, null, S, k, T, U, r, a, i)) : s.push(T), oe(e, !0, t), N = e.input.charCodeAt(e.position), N === 44 ? (n = !0, N = e.input.charCodeAt(++e.position)) : n = !1;
1997
+ n ? N === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), k = T = U = null, c = y = !1, N === 63 && (u = e.input.charCodeAt(e.position + 1), ye(u) && (c = y = !0, e.position++, oe(e, !0, t))), r = e.line, a = e.lineStart, i = e.position, Ge(e, t, ct, !1, !0), k = e.tag, T = e.result, oe(e, !0, t), N = e.input.charCodeAt(e.position), (y || e.line === r) && N === 58 && (c = !0, N = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, ct, !1, !0), U = e.result), f ? ze(e, s, I, k, T, U, r, a, i) : c ? s.push(ze(e, null, I, k, T, U, r, a, i)) : s.push(T), oe(e, !0, t), N = e.input.charCodeAt(e.position), N === 44 ? (n = !0, N = e.input.charCodeAt(++e.position)) : n = !1;
1998
1998
  }
1999
- O(e, "unexpected end of the stream within a flow collection");
1999
+ E(e, "unexpected end of the stream within a flow collection");
2000
2000
  }
2001
2001
  function ei(e, t) {
2002
- var n, r, a = St, i = !1, o = !1, s = t, l = 0, u = !1, p, c;
2002
+ var n, r, a = It, i = !1, o = !1, s = t, l = 0, u = !1, p, c;
2003
2003
  if (c = e.input.charCodeAt(e.position), c === 124)
2004
2004
  r = !1;
2005
2005
  else if (c === 62)
@@ -2008,9 +2008,9 @@ function ei(e, t) {
2008
2008
  return !1;
2009
2009
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2010
2010
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2011
- St === a ? a = c === 43 ? tn : Po : O(e, "repeat of a chomping mode identifier");
2011
+ It === a ? a = c === 43 ? tn : Po : E(e, "repeat of a chomping mode identifier");
2012
2012
  else if ((p = Ho(c)) >= 0)
2013
- p === 0 ? O(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? O(e, "repeat of an indentation width identifier") : (s = t + p - 1, o = !0);
2013
+ p === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? E(e, "repeat of an indentation width identifier") : (s = t + p - 1, o = !0);
2014
2014
  else
2015
2015
  break;
2016
2016
  if (Ke(c)) {
@@ -2023,7 +2023,7 @@ function ei(e, t) {
2023
2023
  while (!_e(c) && c !== 0);
2024
2024
  }
2025
2025
  for (; c !== 0; ) {
2026
- for (Ft(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && c === 32; )
2026
+ for (qt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && c === 32; )
2027
2027
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
2028
2028
  if (!o && e.lineIndent > s && (s = e.lineIndent), _e(c)) {
2029
2029
  l++;
@@ -2031,7 +2031,7 @@ function ei(e, t) {
2031
2031
  }
2032
2032
  if (e.lineIndent < s) {
2033
2033
  a === tn ? e.result += ie.repeat(`
2034
- `, i ? 1 + l : l) : a === St && i && (e.result += `
2034
+ `, i ? 1 + l : l) : a === It && i && (e.result += `
2035
2035
  `);
2036
2036
  break;
2037
2037
  }
@@ -2041,7 +2041,7 @@ function ei(e, t) {
2041
2041
  `, l) : e.result += ie.repeat(`
2042
2042
  `, i ? 1 + l : l), i = !0, o = !0, l = 0, n = e.position; !_e(c) && c !== 0; )
2043
2043
  c = e.input.charCodeAt(++e.position);
2044
- Ee(e, n, e.position, !1);
2044
+ Oe(e, n, e.position, !1);
2045
2045
  }
2046
2046
  return !0;
2047
2047
  }
@@ -2049,25 +2049,25 @@ function sn(e, t) {
2049
2049
  var n, r = e.tag, a = e.anchor, i = [], o, s = !1, l;
2050
2050
  if (e.firstTabInLine !== -1)
2051
2051
  return !1;
2052
- for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ye(o)))); ) {
2052
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ye(o)))); ) {
2053
2053
  if (s = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= t) {
2054
2054
  i.push(null), l = e.input.charCodeAt(e.position);
2055
2055
  continue;
2056
2056
  }
2057
2057
  if (n = e.line, Ge(e, t, Qn, !1, !0), i.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && l !== 0)
2058
- O(e, "bad indentation of a sequence entry");
2058
+ E(e, "bad indentation of a sequence entry");
2059
2059
  else if (e.lineIndent < t)
2060
2060
  break;
2061
2061
  }
2062
2062
  return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
2063
2063
  }
2064
2064
  function ti(e, t, n) {
2065
- var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, S = null, T = null, k = !1, U = !1, N;
2065
+ var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, I = null, T = null, k = !1, U = !1, N;
2066
2066
  if (e.firstTabInLine !== -1)
2067
2067
  return !1;
2068
2068
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), N = e.input.charCodeAt(e.position); N !== 0; ) {
2069
- if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (N === 63 || N === 58) && ye(r))
2070
- N === 63 ? (k && (ze(e, c, y, f, S, null, o, s, l), f = S = T = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : O(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, N = r;
2069
+ if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (N === 63 || N === 58) && ye(r))
2070
+ N === 63 ? (k && (ze(e, c, y, f, I, null, o, s, l), f = I = T = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, N = r;
2071
2071
  else {
2072
2072
  if (o = e.line, s = e.lineStart, l = e.position, !Ge(e, n, Yn, !1, !0))
2073
2073
  break;
@@ -2075,52 +2075,52 @@ function ti(e, t, n) {
2075
2075
  for (N = e.input.charCodeAt(e.position); Ke(N); )
2076
2076
  N = e.input.charCodeAt(++e.position);
2077
2077
  if (N === 58)
2078
- N = e.input.charCodeAt(++e.position), ye(N) || O(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (ze(e, c, y, f, S, null, o, s, l), f = S = T = null), U = !0, k = !1, a = !1, f = e.tag, S = e.result;
2078
+ N = e.input.charCodeAt(++e.position), ye(N) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (ze(e, c, y, f, I, null, o, s, l), f = I = T = null), U = !0, k = !1, a = !1, f = e.tag, I = e.result;
2079
2079
  else if (U)
2080
- O(e, "can not read an implicit mapping pair; a colon is missed");
2080
+ E(e, "can not read an implicit mapping pair; a colon is missed");
2081
2081
  else
2082
2082
  return e.tag = u, e.anchor = p, !0;
2083
2083
  } else if (U)
2084
- O(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2084
+ E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2085
2085
  else
2086
2086
  return e.tag = u, e.anchor = p, !0;
2087
2087
  }
2088
- if ((e.line === i || e.lineIndent > t) && (k && (o = e.line, s = e.lineStart, l = e.position), Ge(e, t, dt, !0, a) && (k ? S = e.result : T = e.result), k || (ze(e, c, y, f, S, T, o, s, l), f = S = T = null), oe(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && N !== 0)
2089
- O(e, "bad indentation of a mapping entry");
2088
+ if ((e.line === i || e.lineIndent > t) && (k && (o = e.line, s = e.lineStart, l = e.position), Ge(e, t, dt, !0, a) && (k ? I = e.result : T = e.result), k || (ze(e, c, y, f, I, T, o, s, l), f = I = T = null), oe(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && N !== 0)
2089
+ E(e, "bad indentation of a mapping entry");
2090
2090
  else if (e.lineIndent < t)
2091
2091
  break;
2092
2092
  }
2093
- return k && ze(e, c, y, f, S, null, o, s, l), U && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), U;
2093
+ return k && ze(e, c, y, f, I, null, o, s, l), U && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), U;
2094
2094
  }
2095
2095
  function ni(e) {
2096
2096
  var t, n = !1, r = !1, a, i, o;
2097
2097
  if (o = e.input.charCodeAt(e.position), o !== 33)
2098
2098
  return !1;
2099
- if (e.tag !== null && O(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2099
+ if (e.tag !== null && E(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2100
2100
  do
2101
2101
  o = e.input.charCodeAt(++e.position);
2102
2102
  while (o !== 0 && o !== 62);
2103
- e.position < e.length ? (i = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : O(e, "unexpected end of the stream within a verbatim tag");
2103
+ e.position < e.length ? (i = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2104
2104
  } else {
2105
2105
  for (; o !== 0 && !ye(o); )
2106
- o === 33 && (r ? O(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Xn.test(a) || O(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2107
- i = e.input.slice(t, e.position), Do.test(i) && O(e, "tag suffix cannot contain flow indicator characters");
2106
+ o === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Xn.test(a) || E(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2107
+ i = e.input.slice(t, e.position), Do.test(i) && E(e, "tag suffix cannot contain flow indicator characters");
2108
2108
  }
2109
- i && !er.test(i) && O(e, "tag name cannot contain such characters: " + i);
2109
+ i && !er.test(i) && E(e, "tag name cannot contain such characters: " + i);
2110
2110
  try {
2111
2111
  i = decodeURIComponent(i);
2112
2112
  } catch {
2113
- O(e, "tag name is malformed: " + i);
2113
+ E(e, "tag name is malformed: " + i);
2114
2114
  }
2115
- return n ? e.tag = i : qe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : O(e, 'undeclared tag handle "' + a + '"'), !0;
2115
+ return n ? e.tag = i : Fe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : E(e, 'undeclared tag handle "' + a + '"'), !0;
2116
2116
  }
2117
2117
  function ri(e) {
2118
2118
  var t, n;
2119
2119
  if (n = e.input.charCodeAt(e.position), n !== 38)
2120
2120
  return !1;
2121
- for (e.anchor !== null && O(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ye(n) && !De(n); )
2121
+ for (e.anchor !== null && E(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ye(n) && !De(n); )
2122
2122
  n = e.input.charCodeAt(++e.position);
2123
- return e.position === t && O(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2123
+ return e.position === t && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2124
2124
  }
2125
2125
  function ai(e) {
2126
2126
  var t, n, r;
@@ -2128,31 +2128,31 @@ function ai(e) {
2128
2128
  return !1;
2129
2129
  for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !ye(r) && !De(r); )
2130
2130
  r = e.input.charCodeAt(++e.position);
2131
- return e.position === t && O(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), qe.call(e.anchorMap, n) || O(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], oe(e, !0, -1), !0;
2131
+ return e.position === t && E(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Fe.call(e.anchorMap, n) || E(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], oe(e, !0, -1), !0;
2132
2132
  }
2133
2133
  function Ge(e, t, n, r, a) {
2134
- var i, o, s, l = 1, u = !1, p = !1, c, y, f, S, T, k;
2134
+ var i, o, s, l = 1, u = !1, p = !1, c, y, f, I, T, k;
2135
2135
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = dt === n || Qn === n, r && oe(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
2136
2136
  for (; ni(e) || ri(e); )
2137
2137
  oe(e, !0, -1) ? (u = !0, s = i, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : s = !1;
2138
- if (s && (s = u || a), (l === 1 || dt === n) && (ct === n || Yn === n ? T = t : T = t + 1, k = e.position - e.lineStart, l === 1 ? s && (sn(e, k) || ti(e, k, T)) || Xo(e, T) ? p = !0 : (o && ei(e, T) || Yo(e, T) || Qo(e, T) ? p = !0 : ai(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && O(e, "alias node should not have any properties")) : Zo(e, T, ct === n) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (p = s && sn(e, k))), e.tag === null)
2138
+ if (s && (s = u || a), (l === 1 || dt === n) && (ct === n || Yn === n ? T = t : T = t + 1, k = e.position - e.lineStart, l === 1 ? s && (sn(e, k) || ti(e, k, T)) || Xo(e, T) ? p = !0 : (o && ei(e, T) || Yo(e, T) || Qo(e, T) ? p = !0 : ai(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Wo(e, T, ct === n) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (p = s && sn(e, k))), e.tag === null)
2139
2139
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2140
2140
  else if (e.tag === "?") {
2141
- for (e.result !== null && e.kind !== "scalar" && O(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
2142
- if (S = e.implicitTypes[c], S.resolve(e.result)) {
2143
- e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2141
+ for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
2142
+ if (I = e.implicitTypes[c], I.resolve(e.result)) {
2143
+ e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2144
2144
  break;
2145
2145
  }
2146
2146
  } else if (e.tag !== "!") {
2147
- if (qe.call(e.typeMap[e.kind || "fallback"], e.tag))
2148
- S = e.typeMap[e.kind || "fallback"][e.tag];
2147
+ if (Fe.call(e.typeMap[e.kind || "fallback"], e.tag))
2148
+ I = e.typeMap[e.kind || "fallback"][e.tag];
2149
2149
  else
2150
- for (S = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, y = f.length; c < y; c += 1)
2150
+ for (I = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, y = f.length; c < y; c += 1)
2151
2151
  if (e.tag.slice(0, f[c].tag.length) === f[c].tag) {
2152
- S = f[c];
2152
+ I = f[c];
2153
2153
  break;
2154
2154
  }
2155
- S || O(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && O(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : O(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2155
+ I || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && E(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)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2156
2156
  }
2157
2157
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || p;
2158
2158
  }
@@ -2161,7 +2161,7 @@ function oi(e) {
2161
2161
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2162
2162
  for (i = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !ye(o); )
2163
2163
  o = e.input.charCodeAt(++e.position);
2164
- for (r = e.input.slice(n, e.position), a = [], r.length < 1 && O(e, "directive name must not be less than one character in length"); o !== 0; ) {
2164
+ for (r = e.input.slice(n, e.position), a = [], r.length < 1 && E(e, "directive name must not be less than one character in length"); o !== 0; ) {
2165
2165
  for (; Ke(o); )
2166
2166
  o = e.input.charCodeAt(++e.position);
2167
2167
  if (o === 35) {
@@ -2176,22 +2176,22 @@ function oi(e) {
2176
2176
  o = e.input.charCodeAt(++e.position);
2177
2177
  a.push(e.input.slice(n, e.position));
2178
2178
  }
2179
- o !== 0 && Ft(e), qe.call(an, r) ? an[r](e, r, a) : pt(e, 'unknown document directive "' + r + '"');
2179
+ o !== 0 && qt(e), Fe.call(an, r) ? an[r](e, r, a) : pt(e, 'unknown document directive "' + r + '"');
2180
2180
  }
2181
- if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : i && O(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, dt, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Ro.test(e.input.slice(t, e.position)) && pt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && vt(e)) {
2181
+ if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : i && E(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, dt, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Ro.test(e.input.slice(t, e.position)) && pt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && vt(e)) {
2182
2182
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2183
2183
  return;
2184
2184
  }
2185
2185
  if (e.position < e.length - 1)
2186
- O(e, "end of the stream or a document separator is expected");
2186
+ E(e, "end of the stream or a document separator is expected");
2187
2187
  else
2188
2188
  return;
2189
2189
  }
2190
2190
  function ar(e, t) {
2191
2191
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2192
2192
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2193
- var n = new Wo(e, t), r = e.indexOf("\0");
2194
- for (r !== -1 && (n.position = r, O(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2193
+ var n = new Zo(e, t), r = e.indexOf("\0");
2194
+ for (r !== -1 && (n.position = r, E(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2195
2195
  n.lineIndent += 1, n.position += 1;
2196
2196
  for (; n.position < n.length - 1; )
2197
2197
  oi(n);
@@ -2216,7 +2216,7 @@ function si(e, t) {
2216
2216
  var li = ii, ui = si, or = {
2217
2217
  loadAll: li,
2218
2218
  load: ui
2219
- }, ir = Object.prototype.toString, sr = Object.prototype.hasOwnProperty, Bt = 65279, ci = 9, nt = 10, di = 13, pi = 32, fi = 33, mi = 34, It = 35, gi = 37, yi = 38, hi = 39, vi = 42, lr = 44, bi = 45, ft = 58, Ci = 61, ki = 62, wi = 63, _i = 64, ur = 91, cr = 93, Si = 96, dr = 123, xi = 124, pr = 125, pe = {};
2219
+ }, ir = Object.prototype.toString, sr = Object.prototype.hasOwnProperty, Bt = 65279, ci = 9, nt = 10, di = 13, pi = 32, fi = 33, mi = 34, At = 35, gi = 37, yi = 38, hi = 39, vi = 42, lr = 44, bi = 45, ft = 58, Ci = 61, ki = 62, wi = 63, _i = 64, ur = 91, cr = 93, Ii = 96, dr = 123, xi = 124, pr = 125, pe = {};
2220
2220
  pe[0] = "\\0";
2221
2221
  pe[7] = "\\a";
2222
2222
  pe[8] = "\\b";
@@ -2232,7 +2232,7 @@ pe[133] = "\\N";
2232
2232
  pe[160] = "\\_";
2233
2233
  pe[8232] = "\\L";
2234
2234
  pe[8233] = "\\P";
2235
- var Ai = [
2235
+ var Si = [
2236
2236
  "y",
2237
2237
  "Y",
2238
2238
  "yes",
@@ -2249,7 +2249,7 @@ var Ai = [
2249
2249
  "off",
2250
2250
  "Off",
2251
2251
  "OFF"
2252
- ], Ii = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2252
+ ], Ai = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2253
2253
  function $i(e, t) {
2254
2254
  var n, r, a, i, o, s, l;
2255
2255
  if (t === null)
@@ -2272,7 +2272,7 @@ function Ti(e) {
2272
2272
  }
2273
2273
  var Ni = 1, rt = 2;
2274
2274
  function ji(e) {
2275
- this.schema = e.schema || qt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.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 === '"' ? rt : Ni, 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;
2275
+ this.schema = e.schema || Ft, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.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 === '"' ? rt : Ni, 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;
2276
2276
  }
2277
2277
  function ln(e, t) {
2278
2278
  for (var n = ie.repeat(" ", t), r = 0, a = -1, i = "", o, s = e.length; r < s; )
@@ -2285,7 +2285,7 @@ function $t(e, t) {
2285
2285
  return `
2286
2286
  ` + ie.repeat(" ", e.indent * t);
2287
2287
  }
2288
- function Oi(e, t) {
2288
+ function Ei(e, t) {
2289
2289
  var n, r, a;
2290
2290
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2291
2291
  if (a = e.implicitTypes[n], a.resolve(t))
@@ -2308,11 +2308,11 @@ function cn(e, t, n) {
2308
2308
  (n ? (
2309
2309
  // c = flow-in
2310
2310
  r
2311
- ) : r && e !== lr && e !== ur && e !== cr && e !== dr && e !== pr) && e !== It && !(t === ft && !a) || un(t) && !mt(t) && e === It || t === ft && a
2311
+ ) : r && e !== lr && e !== ur && e !== cr && e !== dr && e !== pr) && e !== At && !(t === ft && !a) || un(t) && !mt(t) && e === At || t === ft && a
2312
2312
  );
2313
2313
  }
2314
- function Ei(e) {
2315
- return at(e) && e !== Bt && !mt(e) && e !== bi && e !== wi && e !== ft && e !== lr && e !== ur && e !== cr && e !== dr && e !== pr && e !== It && e !== yi && e !== vi && e !== fi && e !== xi && e !== Ci && e !== ki && e !== hi && e !== mi && e !== gi && e !== _i && e !== Si;
2314
+ function Oi(e) {
2315
+ return at(e) && e !== Bt && !mt(e) && e !== bi && e !== wi && e !== ft && e !== lr && e !== ur && e !== cr && e !== dr && e !== pr && e !== At && e !== yi && e !== vi && e !== fi && e !== xi && e !== Ci && e !== ki && e !== hi && e !== mi && e !== gi && e !== _i && e !== Ii;
2316
2316
  }
2317
2317
  function Mi(e) {
2318
2318
  return !mt(e) && e !== ft;
@@ -2326,8 +2326,8 @@ function fr(e) {
2326
2326
  return t.test(e);
2327
2327
  }
2328
2328
  var mr = 1, Tt = 2, gr = 3, yr = 4, Re = 5;
2329
- function qi(e, t, n, r, a, i, o, s) {
2330
- var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, S = -1, T = Ei(et(e, 0)) && Mi(et(e, e.length - 1));
2329
+ function Fi(e, t, n, r, a, i, o, s) {
2330
+ var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, I = -1, T = Oi(et(e, 0)) && Mi(et(e, e.length - 1));
2331
2331
  if (t || o)
2332
2332
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2333
2333
  if (u = et(e, l), !at(u))
@@ -2338,26 +2338,26 @@ function qi(e, t, n, r, a, i, o, s) {
2338
2338
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2339
2339
  if (u = et(e, l), u === nt)
2340
2340
  c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2341
- l - S - 1 > r && e[S + 1] !== " ", S = l);
2341
+ l - I - 1 > r && e[I + 1] !== " ", I = l);
2342
2342
  else if (!at(u))
2343
2343
  return Re;
2344
2344
  T = T && cn(u, p, s), p = u;
2345
2345
  }
2346
- y = y || f && l - S - 1 > r && e[S + 1] !== " ";
2346
+ y = y || f && l - I - 1 > r && e[I + 1] !== " ";
2347
2347
  }
2348
2348
  return !c && !y ? T && !o && !a(e) ? mr : i === rt ? Re : Tt : n > 9 && fr(e) ? Re : o ? i === rt ? Re : Tt : y ? yr : gr;
2349
2349
  }
2350
- function Fi(e, t, n, r, a) {
2350
+ function qi(e, t, n, r, a) {
2351
2351
  e.dump = function() {
2352
2352
  if (t.length === 0)
2353
2353
  return e.quotingType === rt ? '""' : "''";
2354
- if (!e.noCompatMode && (Ai.indexOf(t) !== -1 || Ii.test(t)))
2354
+ if (!e.noCompatMode && (Si.indexOf(t) !== -1 || Ai.test(t)))
2355
2355
  return e.quotingType === rt ? '"' + t + '"' : "'" + t + "'";
2356
2356
  var i = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), s = r || e.flowLevel > -1 && n >= e.flowLevel;
2357
2357
  function l(u) {
2358
- return Oi(e, u);
2358
+ return Ei(e, u);
2359
2359
  }
2360
- switch (qi(
2360
+ switch (Fi(
2361
2361
  t,
2362
2362
  s,
2363
2363
  e.indent,
@@ -2482,7 +2482,7 @@ function Te(e, t, n, r, a, i, o) {
2482
2482
  else if (s === "[object Array]")
2483
2483
  r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? mn(e, t - 1, e.dump, a) : mn(e, t, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Li(e, t, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2484
2484
  else if (s === "[object String]")
2485
- e.tag !== "?" && Fi(e, e.dump, t, i, l);
2485
+ e.tag !== "?" && qi(e, e.dump, t, i, l);
2486
2486
  else {
2487
2487
  if (s === "[object Undefined]" || e.skipInvalid)
2488
2488
  return !1;
@@ -2528,26 +2528,26 @@ function Lt(e, t) {
2528
2528
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2529
2529
  };
2530
2530
  }
2531
- var Gi = ce, Hi = On, Ji = Fn, Wi = Pn, Zi = Vn, Yi = qt, Qi = or.load, Xi = or.loadAll, es = zi.dump, ts = fe, ns = {
2531
+ var Gi = ce, Hi = En, Ji = qn, Zi = Pn, Wi = Vn, Yi = Ft, Qi = or.load, Xi = or.loadAll, es = zi.dump, ts = fe, ns = {
2532
2532
  binary: Hn,
2533
2533
  float: Un,
2534
- map: qn,
2534
+ map: Fn,
2535
2535
  null: Kn,
2536
- pairs: Wn,
2537
- set: Zn,
2536
+ pairs: Zn,
2537
+ set: Wn,
2538
2538
  timestamp: zn,
2539
2539
  bool: Bn,
2540
2540
  int: Ln,
2541
2541
  merge: Gn,
2542
2542
  omap: Jn,
2543
2543
  seq: Mn,
2544
- str: En
2544
+ str: On
2545
2545
  }, rs = Lt("safeLoad", "load"), as = Lt("safeLoadAll", "loadAll"), os = Lt("safeDump", "dump"), is = {
2546
2546
  Type: Gi,
2547
2547
  Schema: Hi,
2548
2548
  FAILSAFE_SCHEMA: Ji,
2549
- JSON_SCHEMA: Wi,
2550
- CORE_SCHEMA: Zi,
2549
+ JSON_SCHEMA: Zi,
2550
+ CORE_SCHEMA: Wi,
2551
2551
  DEFAULT_SCHEMA: Yi,
2552
2552
  load: Qi,
2553
2553
  loadAll: Xi,
@@ -2643,7 +2643,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2643
2643
  class: Me(`config-card-details-${l}-props`),
2644
2644
  "data-testid": `config-card-details-${l}-props`
2645
2645
  }, [
2646
- l !== "basic" ? (m(), $("div", cs, F(l === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2646
+ l !== "basic" ? (m(), $("div", cs, q(l === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2647
2647
  (m(!0), $(be, null, ve(e.propertyCollections[l], (u) => (m(), D($n, {
2648
2648
  key: u.key,
2649
2649
  item: u
@@ -2682,12 +2682,12 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2682
2682
  }, null, 8, ["yaml-record"])) : J("", !0)
2683
2683
  ], 64));
2684
2684
  }
2685
- }), ps = /* @__PURE__ */ Ce(ds, [["__scopeId", "data-v-2052238b"]]), Se = "24px", ot = (e, t) => {
2685
+ }), ps = /* @__PURE__ */ Ce(ds, [["__scopeId", "data-v-2052238b"]]), Ie = "24px", ot = (e, t) => {
2686
2686
  const n = e.__vccOpts || e;
2687
2687
  for (const [r, a] of t)
2688
2688
  n[r] = a;
2689
2689
  return n;
2690
- }, fs = (e) => (Je("data-v-f89f0eca"), e = e(), We(), e), ms = ["aria-hidden"], gs = {
2690
+ }, fs = (e) => (Je("data-v-f68c7837"), e = e(), Ze(), e), ms = ["aria-hidden"], gs = {
2691
2691
  key: 0,
2692
2692
  "data-testid": "kui-icon-svg-title"
2693
2693
  }, ys = /* @__PURE__ */ fs(() => /* @__PURE__ */ L("path", {
@@ -2724,7 +2724,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2724
2724
  size: {
2725
2725
  type: [Number, String],
2726
2726
  required: !1,
2727
- default: Se,
2727
+ default: Ie,
2728
2728
  // if setting to the imported const fails, just pass a number of 24 as the default.
2729
2729
  validator: (e) => {
2730
2730
  if (typeof e == "number" && e > 0)
@@ -2753,7 +2753,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2753
2753
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2754
2754
  return `${i}px`;
2755
2755
  }
2756
- return Se;
2756
+ return Ie;
2757
2757
  }), r = w(() => ({
2758
2758
  boxSizing: "border-box",
2759
2759
  color: t.color,
@@ -2779,14 +2779,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2779
2779
  width: "100%",
2780
2780
  xmlns: "http://www.w3.org/2000/svg"
2781
2781
  }, [
2782
- e.title ? (m(), $("title", gs, F(e.title), 1)) : J("", !0),
2782
+ e.title ? (m(), $("title", gs, q(e.title), 1)) : J("", !0),
2783
2783
  ys
2784
2784
  ], 8, ms))
2785
2785
  ]),
2786
2786
  _: 1
2787
2787
  }, 8, ["aria-hidden", "style"]));
2788
2788
  }
2789
- }), vs = /* @__PURE__ */ ot(hs, [["__scopeId", "data-v-f89f0eca"]]), bs = (e) => (Je("data-v-04be5bd5"), e = e(), We(), e), Cs = ["aria-hidden"], ks = {
2789
+ }), vs = /* @__PURE__ */ ot(hs, [["__scopeId", "data-v-f68c7837"]]), bs = (e) => (Je("data-v-9af646cc"), e = e(), Ze(), e), Cs = ["aria-hidden"], ks = {
2790
2790
  key: 0,
2791
2791
  "data-testid": "kui-icon-svg-title"
2792
2792
  }, ws = /* @__PURE__ */ bs(() => /* @__PURE__ */ L("path", {
@@ -2823,7 +2823,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2823
2823
  size: {
2824
2824
  type: [Number, String],
2825
2825
  required: !1,
2826
- default: Se,
2826
+ default: Ie,
2827
2827
  // if setting to the imported const fails, just pass a number of 24 as the default.
2828
2828
  validator: (e) => {
2829
2829
  if (typeof e == "number" && e > 0)
@@ -2852,7 +2852,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2852
2852
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2853
2853
  return `${i}px`;
2854
2854
  }
2855
- return Se;
2855
+ return Ie;
2856
2856
  }), r = w(() => ({
2857
2857
  boxSizing: "border-box",
2858
2858
  color: t.color,
@@ -2878,14 +2878,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2878
2878
  width: "100%",
2879
2879
  xmlns: "http://www.w3.org/2000/svg"
2880
2880
  }, [
2881
- e.title ? (m(), $("title", ks, F(e.title), 1)) : J("", !0),
2881
+ e.title ? (m(), $("title", ks, q(e.title), 1)) : J("", !0),
2882
2882
  ws
2883
2883
  ], 8, Cs))
2884
2884
  ]),
2885
2885
  _: 1
2886
2886
  }, 8, ["aria-hidden", "style"]));
2887
2887
  }
2888
- }), Ss = /* @__PURE__ */ ot(_s, [["__scopeId", "data-v-04be5bd5"]]), xs = (e) => (Je("data-v-5cdeb7d0"), e = e(), We(), e), As = ["aria-hidden"], Is = {
2888
+ }), Is = /* @__PURE__ */ ot(_s, [["__scopeId", "data-v-9af646cc"]]), xs = (e) => (Je("data-v-84c4811e"), e = e(), Ze(), e), Ss = ["aria-hidden"], As = {
2889
2889
  key: 0,
2890
2890
  "data-testid": "kui-icon-svg-title"
2891
2891
  }, $s = /* @__PURE__ */ xs(() => /* @__PURE__ */ L("path", {
@@ -2922,7 +2922,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2922
2922
  size: {
2923
2923
  type: [Number, String],
2924
2924
  required: !1,
2925
- default: Se,
2925
+ default: Ie,
2926
2926
  // if setting to the imported const fails, just pass a number of 24 as the default.
2927
2927
  validator: (e) => {
2928
2928
  if (typeof e == "number" && e > 0)
@@ -2951,7 +2951,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2951
2951
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2952
2952
  return `${i}px`;
2953
2953
  }
2954
- return Se;
2954
+ return Ie;
2955
2955
  }), r = w(() => ({
2956
2956
  boxSizing: "border-box",
2957
2957
  color: t.color,
@@ -2977,20 +2977,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2977
2977
  width: "100%",
2978
2978
  xmlns: "http://www.w3.org/2000/svg"
2979
2979
  }, [
2980
- e.title ? (m(), $("title", Is, F(e.title), 1)) : J("", !0),
2980
+ e.title ? (m(), $("title", As, q(e.title), 1)) : J("", !0),
2981
2981
  $s
2982
- ], 8, As))
2982
+ ], 8, Ss))
2983
2983
  ]),
2984
2984
  _: 1
2985
2985
  }, 8, ["aria-hidden", "style"]));
2986
2986
  }
2987
- }), Ns = /* @__PURE__ */ ot(Ts, [["__scopeId", "data-v-5cdeb7d0"]]), js = (e) => (Je("data-v-8d5fae6f"), e = e(), We(), e), Os = ["aria-hidden"], Es = {
2987
+ }), Ns = /* @__PURE__ */ ot(Ts, [["__scopeId", "data-v-84c4811e"]]), js = (e) => (Je("data-v-26ad8dc6"), e = e(), Ze(), e), Es = ["aria-hidden"], Os = {
2988
2988
  key: 0,
2989
2989
  "data-testid": "kui-icon-svg-title"
2990
2990
  }, Ms = /* @__PURE__ */ js(() => /* @__PURE__ */ L("path", {
2991
2991
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2992
2992
  fill: "currentColor"
2993
- }, null, -1)), qs = /* @__PURE__ */ X({
2993
+ }, null, -1)), Fs = /* @__PURE__ */ X({
2994
2994
  __name: "CloseIcon",
2995
2995
  props: {
2996
2996
  /** The accessibility text provided to screen readers */
@@ -3021,7 +3021,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3021
3021
  size: {
3022
3022
  type: [Number, String],
3023
3023
  required: !1,
3024
- default: Se,
3024
+ default: Ie,
3025
3025
  // if setting to the imported const fails, just pass a number of 24 as the default.
3026
3026
  validator: (e) => {
3027
3027
  if (typeof e == "number" && e > 0)
@@ -3050,7 +3050,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3050
3050
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
3051
3051
  return `${i}px`;
3052
3052
  }
3053
- return Se;
3053
+ return Ie;
3054
3054
  }), r = w(() => ({
3055
3055
  boxSizing: "border-box",
3056
3056
  color: t.color,
@@ -3076,14 +3076,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3076
3076
  width: "100%",
3077
3077
  xmlns: "http://www.w3.org/2000/svg"
3078
3078
  }, [
3079
- e.title ? (m(), $("title", Es, F(e.title), 1)) : J("", !0),
3079
+ e.title ? (m(), $("title", Os, q(e.title), 1)) : J("", !0),
3080
3080
  Ms
3081
- ], 8, Os))
3081
+ ], 8, Es))
3082
3082
  ]),
3083
3083
  _: 1
3084
3084
  }, 8, ["aria-hidden", "style"]));
3085
3085
  }
3086
- }), Fs = /* @__PURE__ */ ot(qs, [["__scopeId", "data-v-8d5fae6f"]]), Ks = (e) => (Je("data-v-032e3956"), e = e(), We(), e), Bs = ["aria-hidden"], Ls = {
3086
+ }), qs = /* @__PURE__ */ ot(Fs, [["__scopeId", "data-v-26ad8dc6"]]), Ks = (e) => (Je("data-v-d43c21f8"), e = e(), Ze(), e), Bs = ["aria-hidden"], Ls = {
3087
3087
  key: 0,
3088
3088
  "data-testid": "kui-icon-svg-title"
3089
3089
  }, Us = /* @__PURE__ */ Ks(() => /* @__PURE__ */ L("path", {
@@ -3120,7 +3120,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3120
3120
  size: {
3121
3121
  type: [Number, String],
3122
3122
  required: !1,
3123
- default: Se,
3123
+ default: Ie,
3124
3124
  // if setting to the imported const fails, just pass a number of 24 as the default.
3125
3125
  validator: (e) => {
3126
3126
  if (typeof e == "number" && e > 0)
@@ -3149,7 +3149,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3149
3149
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
3150
3150
  return `${i}px`;
3151
3151
  }
3152
- return Se;
3152
+ return Ie;
3153
3153
  }), r = w(() => ({
3154
3154
  boxSizing: "border-box",
3155
3155
  color: t.color,
@@ -3175,14 +3175,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3175
3175
  width: "100%",
3176
3176
  xmlns: "http://www.w3.org/2000/svg"
3177
3177
  }, [
3178
- e.title ? (m(), $("title", Ls, F(e.title), 1)) : J("", !0),
3178
+ e.title ? (m(), $("title", Ls, q(e.title), 1)) : J("", !0),
3179
3179
  Us
3180
3180
  ], 8, Bs))
3181
3181
  ]),
3182
3182
  _: 1
3183
3183
  }, 8, ["aria-hidden", "style"]));
3184
3184
  }
3185
- }), Vs = /* @__PURE__ */ ot(Ps, [["__scopeId", "data-v-032e3956"]]), Rs = {
3185
+ }), Vs = /* @__PURE__ */ ot(Ps, [["__scopeId", "data-v-d43c21f8"]]), Rs = {
3186
3186
  class: "config-card-title",
3187
3187
  "data-testid": "config-card-title"
3188
3188
  }, Ds = { class: "config-card-actions" }, zs = ["href"], Gs = { class: "config-card-details-section" }, Hs = /* @__PURE__ */ X({
@@ -3278,7 +3278,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3278
3278
  label: "YAML",
3279
3279
  value: "yaml"
3280
3280
  }
3281
- ], p = E("structured"), c = (d) => {
3281
+ ], p = O("structured"), c = (d) => {
3282
3282
  p.value = d == null ? void 0 : d.value;
3283
3283
  }, y = {
3284
3284
  id: {
@@ -3314,49 +3314,49 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3314
3314
  // the last property displayed
3315
3315
  section: he.Basic
3316
3316
  }
3317
- }, f = E(!1), S = E(!1), T = E(""), k = E({}), U = w(() => {
3318
- var d, A, B;
3317
+ }, f = O(!1), I = O(!1), T = O(""), k = O({}), U = w(() => {
3318
+ var d, S, B;
3319
3319
  if (!k.value)
3320
3320
  return [];
3321
3321
  const x = [], G = Object.keys(k.value).length;
3322
3322
  for (const M in k.value) {
3323
- const b = (A = (d = a.configSchema) == null ? void 0 : d[M]) == null ? void 0 : A.order, K = (B = y[M]) == null ? void 0 : B.order;
3324
- let q = G;
3325
- (K || K === 0) && (q = K === -1 ? G + 1 : K), b && (q = b === -1 ? G + 1 : b), x.push([M, q]);
3323
+ const b = (S = (d = a.configSchema) == null ? void 0 : d[M]) == null ? void 0 : S.order, K = (B = y[M]) == null ? void 0 : B.order;
3324
+ let F = G;
3325
+ (K || K === 0) && (F = K === -1 ? G + 1 : K), b && (F = b === -1 ? G + 1 : b), x.push([M, F]);
3326
3326
  }
3327
3327
  return x.sort(function(M, b) {
3328
3328
  return M[1] - b[1];
3329
3329
  }), x.map((M) => {
3330
3330
  var b, K;
3331
- const q = M[0], H = (b = k.value) == null ? void 0 : b[q], te = ((K = a.configSchema) == null ? void 0 : K[q]) || {}, de = y[q];
3331
+ const F = M[0], H = (b = k.value) == null ? void 0 : b[F], te = ((K = a.configSchema) == null ? void 0 : K[F]) || {}, de = y[F];
3332
3332
  return {
3333
- key: q,
3333
+ key: F,
3334
3334
  value: H,
3335
3335
  hidden: te.hidden || !1,
3336
3336
  type: te.type ?? ((de == null ? void 0 : de.type) || ee.Text),
3337
- label: te.label ?? ((de == null ? void 0 : de.label) || s(q)),
3337
+ label: te.label ?? ((de == null ? void 0 : de.label) || s(F)),
3338
3338
  tooltip: te.tooltip ?? ((de == null ? void 0 : de.tooltip) || void 0),
3339
3339
  section: te.section ?? ((de == null ? void 0 : de.section) || he.Advanced)
3340
3340
  };
3341
3341
  }).filter((M) => !M.hidden && M.key !== a.pluginConfigKey);
3342
3342
  }), N = w(() => {
3343
- var d, A;
3343
+ var d, S;
3344
3344
  if (!k.value || !a.pluginConfigKey)
3345
3345
  return [];
3346
3346
  const B = k.value[a.pluginConfigKey] || {}, x = Object.keys(B).length, G = [];
3347
3347
  for (const M in B) {
3348
- const b = (A = (d = a.pluginConfigSchema) == null ? void 0 : d[M]) == null ? void 0 : A.order, K = B[M];
3349
- let q = K != null && K !== "" ? x - 1 : x;
3350
- b && (q = b === -1 ? x + 1 : b), G.push([M, q]);
3348
+ const b = (S = (d = a.pluginConfigSchema) == null ? void 0 : d[M]) == null ? void 0 : S.order, K = B[M];
3349
+ let F = K != null && K !== "" ? x - 1 : x;
3350
+ b && (F = b === -1 ? x + 1 : b), G.push([M, F]);
3351
3351
  }
3352
3352
  return G.sort(function(M, b) {
3353
3353
  return M[1] - b[1];
3354
3354
  }), G.map((M) => {
3355
3355
  var b;
3356
- const K = M[0], q = B[K], H = ((b = a.pluginConfigSchema) == null ? void 0 : b[K]) || {};
3356
+ const K = M[0], F = B[K], H = ((b = a.pluginConfigSchema) == null ? void 0 : b[K]) || {};
3357
3357
  return {
3358
3358
  key: K,
3359
- value: q,
3359
+ value: F,
3360
3360
  hidden: H.hidden || !1,
3361
3361
  type: H.type ?? ee.Text,
3362
3362
  label: H.label ?? s(K),
@@ -3364,25 +3364,25 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3364
3364
  section: he.Plugin
3365
3365
  };
3366
3366
  }).filter((M) => !M.hidden);
3367
- }), W = w(() => {
3368
- var d, A, B, x;
3367
+ }), Z = w(() => {
3368
+ var d, S, B, x;
3369
3369
  return {
3370
3370
  basic: (d = U.value) == null ? void 0 : d.filter((G) => G.section === he.Basic),
3371
- advanced: (A = U.value) == null ? void 0 : A.filter((G) => G.section === he.Advanced),
3371
+ advanced: (S = U.value) == null ? void 0 : S.filter((G) => G.section === he.Advanced),
3372
3372
  plugin: (x = N.value) == null ? void 0 : x.concat((B = U.value) == null ? void 0 : B.filter((G) => G.section === he.Plugin))
3373
3373
  };
3374
3374
  }), h = w(() => {
3375
3375
  const d = [];
3376
- return W.value.basic.length && d.push("basic"), W.value.advanced.length && d.push("advanced"), W.value.plugin.length && d.push("plugin"), d;
3376
+ return Z.value.basic.length && d.push("basic"), Z.value.advanced.length && d.push("advanced"), Z.value.plugin.length && d.push("plugin"), d;
3377
3377
  }), _ = w(() => {
3378
- var d, A;
3378
+ var d, S;
3379
3379
  let B = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3380
- return a.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((d = a.config) == null ? void 0 : d.controlPlaneId) || "") : a.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (A = a.config) != null && A.workspace ? `/${a.config.workspace}` : "")), B = B.replace(/{id}/gi, a.config.entityId), B;
3380
+ return a.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((d = a.config) == null ? void 0 : d.controlPlaneId) || "") : a.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (S = a.config) != null && S.workspace ? `/${a.config.workspace}` : "")), B = B.replace(/{id}/gi, a.config.entityId), B;
3381
3381
  });
3382
3382
  return $e(f, (d) => {
3383
3383
  r("loading", d);
3384
3384
  }, { immediate: !0 }), gt(async () => {
3385
- S.value = !1, f.value = !0;
3385
+ I.value = !1, f.value = !0;
3386
3386
  try {
3387
3387
  const { data: d } = await l.get(_.value);
3388
3388
  if (a.dataKey)
@@ -3392,16 +3392,16 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3392
3392
  throw new Error(i("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3393
3393
  else
3394
3394
  k.value = { ...d };
3395
- Object.keys(a.configSchema).filter((A) => a.configSchema[A].forceShow).forEach((A) => {
3396
- k.value && typeof k.value[A] > "u" && (k.value[A] = null);
3395
+ Object.keys(a.configSchema).filter((S) => a.configSchema[S].forceShow).forEach((S) => {
3396
+ k.value && typeof k.value[S] > "u" && (k.value[S] = null);
3397
3397
  }), r("fetch:success", d);
3398
3398
  } catch (d) {
3399
- const A = o(d);
3400
- T.value = A.startsWith("code") ? i("baseConfigCard.errors.load") : A, S.value = !0, r("fetch:error", d);
3399
+ const S = o(d);
3400
+ T.value = S.startsWith("code") ? i("baseConfigCard.errors.load") : S, I.value = !0, r("fetch:error", d);
3401
3401
  } finally {
3402
3402
  f.value = !1;
3403
3403
  }
3404
- }), (d, A) => {
3404
+ }), (d, S) => {
3405
3405
  const B = R("KLabel"), x = R("KSelect"), G = R("KButton"), M = R("KSkeleton"), b = R("KEmptyState"), K = R("KCard");
3406
3406
  return m(), D(K, {
3407
3407
  class: "kong-ui-entity-base-config-card",
@@ -3415,7 +3415,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3415
3415
  "data-testid": "config-format-select-label"
3416
3416
  }, {
3417
3417
  default: v(() => [
3418
- Y(F(e.label), 1)
3418
+ Y(q(e.label), 1)
3419
3419
  ]),
3420
3420
  _: 1
3421
3421
  }),
@@ -3436,7 +3436,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3436
3436
  rel: "noopener",
3437
3437
  target: "_blank"
3438
3438
  }, [
3439
- j(g(Ss), { size: g(xa) }, null, 8, ["size"])
3439
+ j(g(Is), { size: g(xa) }, null, 8, ["size"])
3440
3440
  ], 8, zs)
3441
3441
  ]),
3442
3442
  _: 1
@@ -3449,13 +3449,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3449
3449
  "data-testid": "config-card-loader",
3450
3450
  "table-columns": 2,
3451
3451
  type: "table"
3452
- })) : S.value ? (m(), D(b, {
3452
+ })) : I.value ? (m(), D(b, {
3453
3453
  key: 1,
3454
3454
  "data-testid": "config-card-fetch-error",
3455
3455
  "icon-variant": "error"
3456
3456
  }, {
3457
3457
  default: v(() => [
3458
- L("h3", null, F(T.value), 1)
3458
+ L("h3", null, q(T.value), 1)
3459
3459
  ]),
3460
3460
  _: 1
3461
3461
  })) : J("", !0),
@@ -3465,13 +3465,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3465
3465
  "fetcher-url": _.value,
3466
3466
  format: p.value,
3467
3467
  "prop-list-types": h.value,
3468
- "property-collections": W.value,
3468
+ "property-collections": Z.value,
3469
3469
  record: k.value
3470
3470
  }, Be({ _: 2 }, [
3471
- ve(Object.keys(d.$slots), (q) => ({
3472
- name: q,
3471
+ ve(Object.keys(d.$slots), (F) => ({
3472
+ name: F,
3473
3473
  fn: v(({ row: H, rowValue: te }) => [
3474
- ne(d.$slots, q, {
3474
+ ne(d.$slots, F, {
3475
3475
  row: H,
3476
3476
  rowValue: te
3477
3477
  }, void 0, !0)
@@ -3487,7 +3487,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3487
3487
  fn: v(() => [
3488
3488
  L("span", Rs, [
3489
3489
  ne(d.$slots, "title", {}, () => [
3490
- Y(F(g(i)("baseConfigCard.title")), 1)
3490
+ Y(q(g(i)("baseConfigCard.title")), 1)
3491
3491
  ], !0)
3492
3492
  ])
3493
3493
  ]),
@@ -3496,7 +3496,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3496
3496
  ]), 1032, ["title-tag"]);
3497
3497
  };
3498
3498
  }
3499
- }), Js = /* @__PURE__ */ Ce(Hs, [["__scopeId", "data-v-f40a683b"]]), Ws = ["novalidate"], Zs = {
3499
+ }), Js = /* @__PURE__ */ Ce(Hs, [["__scopeId", "data-v-f40a683b"]]), Zs = ["novalidate"], Ws = {
3500
3500
  class: "form-actions",
3501
3501
  "data-testid": "form-actions"
3502
3502
  }, Ys = /* @__PURE__ */ X({
@@ -3568,7 +3568,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3568
3568
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3569
3569
  setup(e, { emit: t }) {
3570
3570
  var n;
3571
- const r = t, a = e, i = Ot(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = E(!1), p = E(!1), c = E(""), y = w(() => a.canSubmit === !1 || a.isReadonly), f = E(!1), S = w(() => {
3571
+ const r = t, a = e, i = Et(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = O(!1), p = O(!1), c = O(""), y = w(() => a.canSubmit === !1 || a.isReadonly), f = O(!1), I = w(() => {
3572
3572
  var h, _;
3573
3573
  let d = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3574
3574
  return a.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((h = a.config) == null ? void 0 : h.controlPlaneId) || "") : a.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (_ = a.config) != null && _.workspace ? `/${a.config.workspace}` : "")), a.editId ? (d = d.replace(/{id}/gi, a.editId), d) : (d = d.replace(/\/{id}/gi, ""), d);
@@ -3580,7 +3580,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3580
3580
  r("cancel");
3581
3581
  }, N = () => {
3582
3582
  y.value || r("submit");
3583
- }, W = E([
3583
+ }, Z = O([
3584
3584
  {
3585
3585
  title: o("baseForm.configuration.yaml"),
3586
3586
  hash: "#yaml"
@@ -3596,7 +3596,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3596
3596
  if (a.editId)
3597
3597
  try {
3598
3598
  p.value = !1, u.value = !0;
3599
- const { data: h } = await l.get(S.value);
3599
+ const { data: h } = await l.get(I.value);
3600
3600
  r("fetch:success", h);
3601
3601
  } catch (h) {
3602
3602
  const _ = s(h);
@@ -3605,13 +3605,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3605
3605
  u.value = !1;
3606
3606
  }
3607
3607
  }), (h, _) => {
3608
- const d = R("KSkeleton"), A = R("KEmptyState"), B = R("KAlert"), x = R("KButton"), G = R("KTabs"), M = R("KSlideout");
3608
+ const d = R("KSkeleton"), S = R("KEmptyState"), B = R("KAlert"), x = R("KButton"), G = R("KTabs"), M = R("KSlideout");
3609
3609
  return m(), D(xe(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3610
3610
  default: v(() => [
3611
3611
  u.value ? (m(), D(d, {
3612
3612
  key: 0,
3613
3613
  type: "form"
3614
- })) : p.value ? (m(), D(A, {
3614
+ })) : p.value ? (m(), D(S, {
3615
3615
  key: 1,
3616
3616
  "action-button-text": g(o)("baseForm.actions.back"),
3617
3617
  "data-testid": "form-fetch-error",
@@ -3619,7 +3619,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3619
3619
  onClickAction: k
3620
3620
  }, {
3621
3621
  default: v(() => [
3622
- L("h3", null, F(c.value), 1)
3622
+ L("h3", null, q(c.value), 1)
3623
3623
  ]),
3624
3624
  _: 1
3625
3625
  }, 8, ["action-button-text"])) : (m(), $("form", {
@@ -3636,7 +3636,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3636
3636
  "data-testid": "form-error",
3637
3637
  message: e.errorMessage
3638
3638
  }, null, 8, ["message"])) : J("", !0),
3639
- L("div", Zs, [
3639
+ L("div", Ws, [
3640
3640
  ne(h.$slots, "form-actions", {}, () => [
3641
3641
  j(x, {
3642
3642
  appearance: "tertiary",
@@ -3644,7 +3644,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3644
3644
  onClick: _[0] || (_[0] = (b) => T())
3645
3645
  }, {
3646
3646
  default: v(() => [
3647
- Y(F(g(o)("baseForm.actions.viewConfiguration")), 1)
3647
+ Y(q(g(o)("baseForm.actions.viewConfiguration")), 1)
3648
3648
  ]),
3649
3649
  _: 1
3650
3650
  }),
@@ -3655,7 +3655,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3655
3655
  type: "reset"
3656
3656
  }, {
3657
3657
  default: v(() => [
3658
- Y(F(g(o)("baseForm.actions.cancel")), 1)
3658
+ Y(q(g(o)("baseForm.actions.cancel")), 1)
3659
3659
  ]),
3660
3660
  _: 1
3661
3661
  }, 8, ["disabled"]),
@@ -3666,13 +3666,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3666
3666
  type: "submit"
3667
3667
  }, {
3668
3668
  default: v(() => [
3669
- Y(F(g(o)("baseForm.actions.save")), 1)
3669
+ Y(q(g(o)("baseForm.actions.save")), 1)
3670
3670
  ]),
3671
3671
  _: 1
3672
3672
  }, 8, ["disabled"])
3673
3673
  ], !0)
3674
3674
  ])
3675
- ], 40, Ws)),
3675
+ ], 40, Zs)),
3676
3676
  j(M, {
3677
3677
  "close-on-blur": !1,
3678
3678
  "data-testid": "form-view-configuration-slideout",
@@ -3683,15 +3683,15 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3683
3683
  onClose: _[1] || (_[1] = (b) => T())
3684
3684
  }, {
3685
3685
  default: v(() => [
3686
- L("div", null, F(g(o)("baseForm.configuration.message")), 1),
3686
+ L("div", null, q(g(o)("baseForm.configuration.message")), 1),
3687
3687
  j(G, {
3688
3688
  "data-testid": "form-view-configuration-slideout-tabs",
3689
- tabs: W.value
3689
+ tabs: Z.value
3690
3690
  }, {
3691
3691
  json: v(() => [
3692
3692
  j(Tn, {
3693
3693
  config: e.config,
3694
- "fetcher-url": S.value,
3694
+ "fetcher-url": I.value,
3695
3695
  "json-record": a.formFields,
3696
3696
  "request-method": a.editId ? "put" : "post"
3697
3697
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
@@ -3744,13 +3744,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3744
3744
  o && (o.disconnect(), o = void 0);
3745
3745
  }, l = () => {
3746
3746
  var k, U, N;
3747
- let W = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3747
+ let Z = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3748
3748
  if (n.value && "getComputedStyle" in window) {
3749
3749
  const h = window.getComputedStyle(n.value);
3750
- W -= (parseFloat(h.paddingLeft) || 0) + (parseFloat(h.paddingRight) || 0);
3750
+ Z -= (parseFloat(h.paddingLeft) || 0) + (parseFloat(h.paddingRight) || 0);
3751
3751
  }
3752
- p.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, c.value = W, y.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3753
- }, u = E({}), p = E(0), c = E(0), y = E(""), f = w(() => [r.value, n.value]), S = $e(
3752
+ p.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, c.value = Z, y.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3753
+ }, u = O({}), p = O(0), c = O(0), y = O(""), f = w(() => [r.value, n.value]), I = $e(
3754
3754
  f,
3755
3755
  (k) => {
3756
3756
  if (i.value && (s(), "ResizeObserver" in window && window)) {
@@ -3765,10 +3765,10 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3765
3765
  },
3766
3766
  { immediate: !0, flush: "post", deep: !0 }
3767
3767
  ), T = w(() => i.value ? p.value > c.value : !1);
3768
- return Sr(() => {
3768
+ return Ir(() => {
3769
3769
  l();
3770
3770
  }), xr(() => {
3771
- S();
3771
+ I();
3772
3772
  }), (k, U) => {
3773
3773
  const N = R("KTooltip");
3774
3774
  return m(), $("span", {
@@ -3782,7 +3782,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3782
3782
  }, [
3783
3783
  j(N, {
3784
3784
  "max-width": "300",
3785
- placement: "bottomStart",
3785
+ placement: "bottom-start",
3786
3786
  text: T.value ? y.value : ""
3787
3787
  }, {
3788
3788
  default: v(() => [
@@ -3794,7 +3794,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3794
3794
  ], 512);
3795
3795
  };
3796
3796
  }
3797
- }), tl = /* @__PURE__ */ Ce(el, [["__scopeId", "data-v-471ce76e"]]), nl = { class: "toolbar-container" }, rl = {
3797
+ }), tl = /* @__PURE__ */ Ce(el, [["__scopeId", "data-v-760084ce"]]), nl = { class: "toolbar-container" }, rl = {
3798
3798
  key: 0,
3799
3799
  class: "toolbar-button-container"
3800
3800
  }, al = ["data-testid"], ol = /* @__PURE__ */ X({
@@ -3916,7 +3916,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3916
3916
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3917
3917
  setup(e, { emit: t }) {
3918
3918
  const n = e, r = t, { i18n: { t: a } } = se.useI18n(), i = w(() => {
3919
- var d, A;
3919
+ var d, S;
3920
3920
  return typeof n.errorMessage == "string" ? {
3921
3921
  hasError: !!n.errorMessage,
3922
3922
  title: n.errorMessage,
@@ -3924,15 +3924,15 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3924
3924
  } : {
3925
3925
  hasError: !!n.errorMessage,
3926
3926
  title: (d = n.errorMessage) == null ? void 0 : d.title,
3927
- message: (A = n.errorMessage) == null ? void 0 : A.message
3927
+ message: (S = n.errorMessage) == null ? void 0 : S.message
3928
3928
  };
3929
3929
  }), o = w(() => n.cacheIdentifier || n.preferencesStorageKey), s = (d) => d.hasData || !!n.query, l = w(() => {
3930
3930
  const d = [];
3931
- return Object.keys(n.tableHeaders).forEach((A) => {
3932
- const B = n.tableHeaders[A];
3931
+ return Object.keys(n.tableHeaders).forEach((S) => {
3932
+ const B = n.tableHeaders[S];
3933
3933
  d.push({
3934
- label: B.label ?? A,
3935
- key: A,
3934
+ label: B.label ?? S,
3935
+ key: S,
3936
3936
  sortable: B.sortable ?? !1,
3937
3937
  hidable: !0
3938
3938
  });
@@ -3944,37 +3944,37 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3944
3944
  "data-rowid": d.id,
3945
3945
  "data-testid": d.name,
3946
3946
  ...n.rowAttributes(d)
3947
- }), p = E({}), c = (d) => {
3948
- var A;
3949
- return (A = p.value) == null ? void 0 : A.$el.querySelector(`[data-rowid="${d.id}"]`);
3947
+ }), p = O({}), c = (d) => {
3948
+ var S;
3949
+ return (S = p.value) == null ? void 0 : S.$el.querySelector(`[data-rowid="${d.id}"]`);
3950
3950
  }, y = (d) => {
3951
- const A = {
3951
+ const S = {
3952
3952
  "data-testid": d.headerKey,
3953
3953
  ...n.cellAttributes(d)
3954
3954
  };
3955
- return d.colIndex === 0 && (A.style = {
3955
+ return d.colIndex === 0 && (S.style = {
3956
3956
  maxWidth: "250px",
3957
3957
  overflowX: "hidden",
3958
3958
  textOverflow: "ellipsis"
3959
- }), A;
3959
+ }), S;
3960
3960
  }, f = () => {
3961
- r("empty-state-cta-clicked"), S();
3962
- }, S = () => {
3961
+ r("empty-state-cta-clicked"), I();
3962
+ }, I = () => {
3963
3963
  r("clear-search-input");
3964
- }, T = w(() => n.disableRowClick ? void 0 : (d, A) => {
3965
- r("click:row", A);
3964
+ }, T = w(() => n.disableRowClick ? void 0 : (d, S) => {
3965
+ r("click:row", S);
3966
3966
  }), k = (d) => {
3967
3967
  r("sort", d);
3968
- }, { setTablePreferences: U, getTablePreferences: N } = Dr(), W = E(N(o.value)), h = w(() => {
3968
+ }, { setTablePreferences: U, getTablePreferences: N } = Dr(), Z = O(N(o.value)), h = w(() => {
3969
3969
  const d = N(o.value);
3970
3970
  return {
3971
3971
  ...n.initialFetcherParams,
3972
3972
  ...d
3973
3973
  };
3974
3974
  }), _ = (d) => {
3975
- W.value = d, o.value && U(o.value, d);
3975
+ Z.value = d, o.value && U(o.value, d);
3976
3976
  };
3977
- return (d, A) => {
3977
+ return (d, S) => {
3978
3978
  const B = R("KButton"), x = R("KDropdown"), G = R("KTable"), M = R("KCard");
3979
3979
  return m(), D(M, {
3980
3980
  class: "kong-ui-entity-base-table",
@@ -4009,10 +4009,10 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4009
4009
  "search-input": e.query,
4010
4010
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
4011
4011
  sortable: !e.disableSorting,
4012
- "table-preferences": W.value,
4012
+ "table-preferences": Z.value,
4013
4013
  onEmptyStateActionClick: f,
4014
4014
  "onRow:click": T.value,
4015
- onSort: A[0] || (A[0] = (b) => k(b)),
4015
+ onSort: S[0] || (S[0] = (b) => k(b)),
4016
4016
  "onUpdate:tablePreferences": _
4017
4017
  }, Be({
4018
4018
  toolbar: v(({ state: b }) => [
@@ -4025,20 +4025,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4025
4025
  [je, s(b)]
4026
4026
  ])
4027
4027
  ]),
4028
- actions: v(({ row: b, rowKey: K, rowValue: q }) => [
4028
+ actions: v(({ row: b, rowKey: K, rowValue: F }) => [
4029
4029
  L("div", {
4030
4030
  class: "actions-container",
4031
4031
  "data-testid": b.name
4032
4032
  }, [
4033
4033
  j(x, {
4034
- "kpop-attributes": { placement: "bottomEnd" },
4034
+ "kpop-attributes": { placement: "bottom-end" },
4035
4035
  width: e.dropdownMenuWidth
4036
4036
  }, {
4037
4037
  items: v(() => [
4038
4038
  ne(d.$slots, "actions", {
4039
4039
  row: b,
4040
4040
  rowKey: K,
4041
- rowValue: q
4041
+ rowValue: F
4042
4042
  }, void 0, !0)
4043
4043
  ]),
4044
4044
  default: v(() => [
@@ -4063,19 +4063,19 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4063
4063
  }, [
4064
4064
  ve(e.tableHeaders, (b, K) => ({
4065
4065
  name: K,
4066
- fn: v(({ row: q, rowKey: H, rowValue: te }) => [
4066
+ fn: v(({ row: F, rowKey: H, rowValue: te }) => [
4067
4067
  j(tl, {
4068
4068
  "key-name": String(K),
4069
- "row-el": c(q),
4069
+ "row-el": c(F),
4070
4070
  tooltip: b.tooltip
4071
4071
  }, {
4072
4072
  default: v(() => [
4073
4073
  ne(d.$slots, K, {
4074
- row: q,
4074
+ row: F,
4075
4075
  rowKey: H,
4076
4076
  rowValue: te
4077
4077
  }, () => [
4078
- Y(F(te), 1)
4078
+ Y(q(te), 1)
4079
4079
  ], !0)
4080
4080
  ]),
4081
4081
  _: 2
@@ -4095,7 +4095,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4095
4095
  }, 8, ["title", "title-tag"]);
4096
4096
  };
4097
4097
  }
4098
- }), il = /* @__PURE__ */ Ce(ol, [["__scopeId", "data-v-67bd29c7"]]), sl = {
4098
+ }), il = /* @__PURE__ */ Ce(ol, [["__scopeId", "data-v-940ccab7"]]), sl = {
4099
4099
  key: 0,
4100
4100
  class: "kong-ui-entity-delete-error"
4101
4101
  }, ll = {
@@ -4162,7 +4162,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4162
4162
  e.error ? (m(), $("div", sl, [
4163
4163
  j(p, { appearance: "danger" }, {
4164
4164
  default: v(() => [
4165
- Y(F(e.error), 1)
4165
+ Y(q(e.error), 1)
4166
4166
  ]),
4167
4167
  _: 1
4168
4168
  })
@@ -4173,21 +4173,21 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4173
4173
  tag: "p"
4174
4174
  }, Be({
4175
4175
  entityType: v(() => [
4176
- Y(F(r.entityType), 1)
4176
+ Y(q(r.entityType), 1)
4177
4177
  ]),
4178
4178
  _: 2
4179
4179
  }, [
4180
4180
  r.entityName ? {
4181
4181
  name: "entityName",
4182
4182
  fn: v(() => [
4183
- L("strong", null, F(r.entityName), 1)
4183
+ L("strong", null, q(r.entityName), 1)
4184
4184
  ]),
4185
4185
  key: "0"
4186
4186
  } : void 0
4187
4187
  ]), 1032, ["keypath"]),
4188
4188
  r.description || l.$slots.description ? (m(), $("div", ll, [
4189
4189
  ne(l.$slots, "description", {}, () => [
4190
- L("p", null, F(r.description), 1)
4190
+ L("p", null, q(r.description), 1)
4191
4191
  ], !0)
4192
4192
  ])) : J("", !0)
4193
4193
  ]),
@@ -4237,7 +4237,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4237
4237
  }), yl = {
4238
4238
  key: 1,
4239
4239
  class: "kong-ui-entity-filter"
4240
- }, hl = { class: "kong-ui-entity-filter-menu" }, vl = ["data-testid"], bl = ["onClick", "onKeydown"], Cl = { class: "menu-item-indicator" }, kl = { class: "menu-item-body" }, wl = ["for"], _l = { class: "menu-item-buttons" }, Sl = { class: "filter-clear-button-container" }, xl = /* @__PURE__ */ X({
4240
+ }, hl = { class: "kong-ui-entity-filter-menu" }, vl = ["data-testid"], bl = ["onClick", "onKeydown"], Cl = { class: "menu-item-indicator" }, kl = { class: "menu-item-body" }, wl = ["for"], _l = { class: "menu-item-buttons" }, Il = { class: "filter-clear-button-container" }, xl = /* @__PURE__ */ X({
4241
4241
  __name: "EntityFilter",
4242
4242
  props: {
4243
4243
  // filter config, either exact match or fuzzy match
@@ -4257,7 +4257,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4257
4257
  },
4258
4258
  emits: ["update:modelValue"],
4259
4259
  setup(e, { emit: t }) {
4260
- const { i18n: { t: n } } = se.useI18n(), r = e, a = t, i = E(!1), o = E({}), s = E(/* @__PURE__ */ new Set()), l = w(() => {
4260
+ const { i18n: { t: n } } = se.useI18n(), r = e, a = t, i = O(!1), o = O({}), s = O(/* @__PURE__ */ new Set()), l = w(() => {
4261
4261
  const h = [];
4262
4262
  return new URLSearchParams(r.modelValue).forEach((_, d) => {
4263
4263
  _ !== "" && h.push(d);
@@ -4286,11 +4286,11 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4286
4286
  a("update:modelValue", h);
4287
4287
  }, f = () => {
4288
4288
  y("");
4289
- }, S = (h) => `filter-${h}`, T = (h) => {
4289
+ }, I = (h) => `filter-${h}`, T = (h) => {
4290
4290
  var _, d;
4291
- return (((d = (_ = r.config.schema) == null ? void 0 : _[h]) == null ? void 0 : d.values) ?? []).map((A) => ({
4292
- value: A,
4293
- label: A
4291
+ return (((d = (_ = r.config.schema) == null ? void 0 : _[h]) == null ? void 0 : d.values) ?? []).map((S) => ({
4292
+ value: S,
4293
+ label: S
4294
4294
  }));
4295
4295
  }, k = (h) => {
4296
4296
  var _, d;
@@ -4299,15 +4299,15 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4299
4299
  o.value = {
4300
4300
  ...o.value,
4301
4301
  [h]: ""
4302
- }, W();
4302
+ }, Z();
4303
4303
  }, N = () => {
4304
- o.value = {}, W(!0);
4305
- }, W = (h = !1) => {
4306
- const _ = Object.keys(o.value).reduce((d, A) => (o.value[A] && (d[A] = `${o.value[A]}`), d), {});
4304
+ o.value = {}, Z(!0);
4305
+ }, Z = (h = !1) => {
4306
+ const _ = Object.keys(o.value).reduce((d, S) => (o.value[S] && (d[S] = `${o.value[S]}`), d), {});
4307
4307
  h && (i.value = !1), a("update:modelValue", new URLSearchParams(_).toString());
4308
4308
  };
4309
4309
  return (h, _) => {
4310
- const d = R("KInput"), A = R("KButton"), B = R("KSelect");
4310
+ const d = R("KInput"), S = R("KButton"), B = R("KSelect");
4311
4311
  return e.config.isExactMatch ? (m(), D(d, {
4312
4312
  key: 0,
4313
4313
  autocomplete: "off",
@@ -4321,7 +4321,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4321
4321
  j(yn)
4322
4322
  ]),
4323
4323
  after: v(() => [
4324
- Ne(j(g(Fs), {
4324
+ Ne(j(g(qs), {
4325
4325
  class: "kong-ui-entity-filter-clear",
4326
4326
  onClick: f
4327
4327
  }, null, 512), [
@@ -4330,14 +4330,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4330
4330
  ]),
4331
4331
  _: 1
4332
4332
  }, 8, ["model-value", "placeholder"])) : (m(), $("div", yl, [
4333
- j(A, {
4333
+ j(S, {
4334
4334
  appearance: "tertiary",
4335
4335
  "data-testid": "filter-button",
4336
4336
  onClick: p
4337
4337
  }, {
4338
4338
  default: v(() => [
4339
4339
  j(yn),
4340
- Y(" " + F(g(n)("filter.filterButtonText")) + " " + F(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4340
+ Y(" " + q(g(n)("filter.filterButtonText")) + " " + q(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4341
4341
  ]),
4342
4342
  _: 1
4343
4343
  }),
@@ -4362,7 +4362,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4362
4362
  onClick: (b) => c(x.value),
4363
4363
  onKeydown: wr((b) => c(x.value), ["enter"])
4364
4364
  }, [
4365
- Y(F(x.label) + " ", 1),
4365
+ Y(q(x.label) + " ", 1),
4366
4366
  Ne(L("span", Cl, null, 512), [
4367
4367
  [je, l.value.includes(x.value)]
4368
4368
  ]),
@@ -4374,18 +4374,18 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4374
4374
  Ne(L("div", kl, [
4375
4375
  L("label", {
4376
4376
  class: "menu-item-label",
4377
- for: S(x.value)
4378
- }, F(g(n)("filter.fieldLabel")), 9, wl),
4377
+ for: I(x.value)
4378
+ }, q(g(n)("filter.fieldLabel")), 9, wl),
4379
4379
  ((M = (G = e.config.schema) == null ? void 0 : G[x.value]) == null ? void 0 : M.type) === "select" ? (m(), D(B, {
4380
4380
  key: 0,
4381
- id: S(x.value),
4381
+ id: I(x.value),
4382
4382
  modelValue: o.value[x.value],
4383
4383
  "onUpdate:modelValue": (b) => o.value[x.value] = b,
4384
4384
  items: T(x.value),
4385
4385
  placeholder: g(n)("filter.selectPlaceholder")
4386
4386
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), D(d, {
4387
4387
  key: 1,
4388
- id: S(x.value),
4388
+ id: I(x.value),
4389
4389
  modelValue: o.value[x.value],
4390
4390
  "onUpdate:modelValue": (b) => o.value[x.value] = b,
4391
4391
  autocomplete: "off",
@@ -4396,25 +4396,25 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4396
4396
  [je, s.value.has(x.value)]
4397
4397
  ]),
4398
4398
  Ne(L("div", _l, [
4399
- j(A, {
4399
+ j(S, {
4400
4400
  appearance: "tertiary",
4401
4401
  "data-testid": "apply-filter",
4402
4402
  size: "small",
4403
- onClick: _[0] || (_[0] = (b) => W(!0))
4403
+ onClick: _[0] || (_[0] = (b) => Z(!0))
4404
4404
  }, {
4405
4405
  default: v(() => [
4406
- Y(F(g(n)("filter.applyButtonText")), 1)
4406
+ Y(q(g(n)("filter.applyButtonText")), 1)
4407
4407
  ]),
4408
4408
  _: 1
4409
4409
  }),
4410
- j(A, {
4410
+ j(S, {
4411
4411
  appearance: "tertiary",
4412
4412
  "data-testid": "clear-filter",
4413
4413
  size: "small",
4414
4414
  onClick: (b) => U(x.value)
4415
4415
  }, {
4416
4416
  default: v(() => [
4417
- Y(F(g(n)("filter.clearButtonText")), 1)
4417
+ Y(q(g(n)("filter.clearButtonText")), 1)
4418
4418
  ]),
4419
4419
  _: 2
4420
4420
  }, 1032, ["onClick"])
@@ -4423,14 +4423,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4423
4423
  ])
4424
4424
  ], 8, vl);
4425
4425
  }), 128)),
4426
- L("div", Sl, [
4427
- j(A, {
4426
+ L("div", Il, [
4427
+ j(S, {
4428
4428
  appearance: "tertiary",
4429
4429
  size: "small",
4430
4430
  onClick: N
4431
4431
  }, {
4432
4432
  default: v(() => [
4433
- Y(F(g(n)("filter.clearAllButtonText")), 1)
4433
+ Y(q(g(n)("filter.clearAllButtonText")), 1)
4434
4434
  ]),
4435
4435
  _: 1
4436
4436
  })
@@ -4441,7 +4441,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4441
4441
  ]));
4442
4442
  };
4443
4443
  }
4444
- }), Al = /* @__PURE__ */ Ce(xl, [["__scopeId", "data-v-94990087"]]), st = /* @__PURE__ */ X({
4444
+ }), Sl = /* @__PURE__ */ Ce(xl, [["__scopeId", "data-v-94990087"]]), st = /* @__PURE__ */ X({
4445
4445
  __name: "PermissionsWrapper",
4446
4446
  props: {
4447
4447
  /**
@@ -4463,7 +4463,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4463
4463
  }
4464
4464
  },
4465
4465
  setup(e) {
4466
- const t = e, n = E(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4466
+ const t = e, n = O(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4467
4467
  return $e(() => t.authFunction, async () => {
4468
4468
  n.value = await t.authFunction();
4469
4469
  }, { immediate: !0 }), (a, i) => r.value ? ne(a.$slots, "default", {
@@ -4473,11 +4473,11 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4473
4473
  }
4474
4474
  });
4475
4475
  let lt;
4476
- const Il = new Uint8Array(16);
4476
+ const Al = new Uint8Array(16);
4477
4477
  function $l() {
4478
4478
  if (!lt && (lt = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !lt))
4479
4479
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4480
- return lt(Il);
4480
+ return lt(Al);
4481
4481
  }
4482
4482
  const ue = [];
4483
4483
  for (let e = 0; e < 256; ++e)
@@ -4501,13 +4501,13 @@ function jl(e, t, n) {
4501
4501
  }
4502
4502
  return Tl(r);
4503
4503
  }
4504
- const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4504
+ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4505
4505
  key: 1,
4506
4506
  class: "form-section-description"
4507
- }, ql = {
4507
+ }, Fl = {
4508
4508
  key: 2,
4509
4509
  class: "form-section-footer"
4510
- }, Fl = { class: "form-section-content" }, Kl = /* @__PURE__ */ X({
4510
+ }, ql = { class: "form-section-content" }, Kl = /* @__PURE__ */ X({
4511
4511
  __name: "EntityFormSection",
4512
4512
  props: {
4513
4513
  title: {
@@ -4542,7 +4542,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4542
4542
  class: Me(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4543
4543
  role: "group"
4544
4544
  }, [
4545
- L("div", El, [
4545
+ L("div", Ol, [
4546
4546
  e.hideInfoHeader ? J("", !0) : (m(), $("div", {
4547
4547
  key: 0,
4548
4548
  class: Me(["form-section-info", { sticky: e.stickyInfoHeader }])
@@ -4553,24 +4553,24 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4553
4553
  class: "form-section-title"
4554
4554
  }, {
4555
4555
  default: v(() => [
4556
- Y(F(e.title), 1)
4556
+ Y(q(e.title), 1)
4557
4557
  ]),
4558
4558
  _: 1
4559
4559
  }, 8, ["id"])) : J("", !0),
4560
4560
  e.description || g(t).description ? (m(), $("div", Ml, [
4561
4561
  ne(r.$slots, "description", {}, () => [
4562
- L("p", null, F(e.description), 1)
4562
+ L("p", null, q(e.description), 1)
4563
4563
  ], !0)
4564
4564
  ])) : J("", !0),
4565
- g(t).footer ? (m(), $("div", ql, [
4565
+ g(t).footer ? (m(), $("div", Fl, [
4566
4566
  ne(r.$slots, "footer", {}, void 0, !0)
4567
4567
  ])) : J("", !0)
4568
4568
  ], 2)),
4569
- L("div", Fl, [
4569
+ L("div", ql, [
4570
4570
  ne(r.$slots, "default", {}, void 0, !0)
4571
4571
  ])
4572
4572
  ])
4573
- ], 10, Ol));
4573
+ ], 10, El));
4574
4574
  }
4575
4575
  }), vn = /* @__PURE__ */ Ce(Kl, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Ut, useDeleteUrlBuilder: Bl, useErrors: Ll, useExternalLinkCreator: lu, useFetchUrlBuilder: uu, useFetcher: Ul, useDebouncedFilter: vr, useStringHelpers: cu, useHelpers: du, useGatewayFeatureSupported: pu, useTruncationDetector: fu, useValidators: Pl } = se, Vl = { class: "add-to-group-form-container" }, Rl = { class: "add-to-group-cta-text" }, Dl = {
4576
4576
  key: 0,
@@ -4593,7 +4593,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4593
4593
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4594
4594
  setup(e, { emit: t }) {
4595
4595
  var M;
4596
- const { i18n: { t: n } } = yt.useI18n(), r = e, a = t, { axiosInstance: i } = Ut((M = r.config) == null ? void 0 : M.axiosRequestConfig), o = E([]), {
4596
+ const { i18n: { t: n } } = yt.useI18n(), r = e, a = t, { axiosInstance: i } = Ut((M = r.config) == null ? void 0 : M.axiosRequestConfig), o = O([]), {
4597
4597
  debouncedQueryChange: s,
4598
4598
  loading: l,
4599
4599
  allRecords: u,
@@ -4602,68 +4602,68 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4602
4602
  results: y
4603
4603
  } = vr(
4604
4604
  r.config,
4605
- Oe.list[r.config.app].all,
4605
+ Ee.list[r.config.app].all,
4606
4606
  "",
4607
4607
  {
4608
4608
  fetchedItemsKey: "data",
4609
4609
  searchKeys: ["name", "id"]
4610
4610
  }
4611
- ), f = w(() => p.value ? n("consumer_groups.errors.general") : ""), S = E(0), T = w(() => u.value === void 0), k = w(() => y.value.map((b) => ({
4611
+ ), f = w(() => p.value ? n("consumer_groups.errors.general") : ""), I = O(0), T = w(() => u.value === void 0), k = w(() => y.value.map((b) => ({
4612
4612
  label: b.name,
4613
4613
  value: b.id,
4614
4614
  selected: o.value.includes(b.id),
4615
4615
  data: b
4616
4616
  // we need this to determine whether or not to show the description text
4617
4617
  }))), U = (b) => {
4618
- var q;
4619
- const K = T.value ? y.value.find((H) => H.id === b) : (q = u.value) == null ? void 0 : q.find((H) => H.id === b);
4618
+ var F;
4619
+ const K = T.value ? y.value.find((H) => H.id === b) : (F = u.value) == null ? void 0 : F.find((H) => H.id === b);
4620
4620
  return K ? K.name : b;
4621
4621
  }, N = () => {
4622
- _.value = "", W.value = [], x.value = [], a("cancel");
4623
- }, W = E([]), h = E(!1), _ = E(""), d = async () => {
4622
+ _.value = "", Z.value = [], x.value = [], a("cancel");
4623
+ }, Z = O([]), h = O(!1), _ = O(""), d = async () => {
4624
4624
  if (!o.value.length) {
4625
4625
  _.value = "", x.value = [], a("cancel");
4626
4626
  return;
4627
4627
  }
4628
- h.value = !0, _.value = "", W.value = [], x.value = [];
4628
+ h.value = !0, _.value = "", Z.value = [], x.value = [];
4629
4629
  try {
4630
4630
  const b = o.value.map((H) => B(H)), K = await Promise.allSettled(b);
4631
- let q = !0;
4631
+ let F = !0;
4632
4632
  K.forEach((H) => {
4633
- H.status !== "fulfilled" && (q = !1);
4634
- }), q ? (W.value = [], x.value = [], a("add:success", o.value), o.value = []) : (W.value.length && a("add:partial-success", W.value), o.value = [], G(K));
4633
+ H.status !== "fulfilled" && (F = !1);
4634
+ }), F ? (Z.value = [], x.value = [], a("add:success", o.value), o.value = []) : (Z.value.length && a("add:partial-success", Z.value), o.value = [], G(K));
4635
4635
  } catch {
4636
4636
  _.value = n("consumer_groups.errors.add"), a("error", _.value);
4637
4637
  } finally {
4638
4638
  h.value = !1;
4639
4639
  }
4640
- }, A = w(() => {
4641
- var K, q, H, te;
4642
- let b = `${r.config.apiBaseUrl}${Oe.list[r.config.app].forConsumer}`;
4643
- return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((K = r.config) == null ? void 0 : K.controlPlaneId) || "").replace(/{consumerId}/gi, ((q = r.config) == null ? void 0 : q.consumerId) || "") : r.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (H = r.config) != null && H.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((te = r.config) == null ? void 0 : te.consumerId) || "")), b;
4640
+ }, S = w(() => {
4641
+ var K, F, H, te;
4642
+ let b = `${r.config.apiBaseUrl}${Ee.list[r.config.app].forConsumer}`;
4643
+ return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((K = r.config) == null ? void 0 : K.controlPlaneId) || "").replace(/{consumerId}/gi, ((F = r.config) == null ? void 0 : F.consumerId) || "") : r.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (H = r.config) != null && H.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((te = r.config) == null ? void 0 : te.consumerId) || "")), b;
4644
4644
  }), B = async (b) => {
4645
4645
  const K = {
4646
4646
  group: b
4647
4647
  };
4648
4648
  try {
4649
- const q = await i.post(A.value, K);
4650
- return W.value.push(b), q;
4651
- } catch (q) {
4652
- let H = `${U(b)} - ${q.message}`;
4653
- return q.response.status === 409 && (H = `${U(b)} - ${n("consumer_groups.errors.already_added")}`), Promise.reject(Error(H));
4649
+ const F = await i.post(S.value, K);
4650
+ return Z.value.push(b), F;
4651
+ } catch (F) {
4652
+ let H = `${U(b)} - ${F.message}`;
4653
+ return F.response.status === 409 && (H = `${U(b)} - ${n("consumer_groups.errors.already_added")}`), Promise.reject(Error(H));
4654
4654
  }
4655
- }, x = E([]), G = (b) => {
4655
+ }, x = O([]), G = (b) => {
4656
4656
  x.value = b.map((K) => {
4657
- var q;
4658
- return (q = K.reason) == null ? void 0 : q.message;
4657
+ var F;
4658
+ return (F = K.reason) == null ? void 0 : F.message;
4659
4659
  }).filter(Boolean);
4660
4660
  };
4661
4661
  return $e(k, () => {
4662
- S.value++;
4662
+ I.value++;
4663
4663
  }, { immediate: !0, deep: !0 }), $e(() => r.visible, () => {
4664
4664
  r.visible && c();
4665
4665
  }, { immediate: !0 }), (b, K) => {
4666
- const q = R("KMultiselect"), H = R("KAlert"), te = R("KPrompt");
4666
+ const F = R("KMultiselect"), H = R("KAlert"), te = R("KPrompt");
4667
4667
  return m(), D(te, {
4668
4668
  "action-button-disabled": h.value,
4669
4669
  class: "kong-ui-entities-add-to-groups-modal",
@@ -4675,8 +4675,8 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4675
4675
  }, {
4676
4676
  default: v(() => [
4677
4677
  L("div", Vl, [
4678
- L("p", Rl, F(g(n)("consumer_groups.consumers.add.ctaText")), 1),
4679
- j(q, {
4678
+ L("p", Rl, q(g(n)("consumer_groups.consumers.add.ctaText")), 1),
4679
+ j(F, {
4680
4680
  modelValue: o.value,
4681
4681
  "onUpdate:modelValue": K[0] || (K[0] = (de) => o.value = de),
4682
4682
  autosuggest: "",
@@ -4694,11 +4694,11 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4694
4694
  _.value || f.value || x.value.length ? (m(), $("div", Dl, [
4695
4695
  j(H, { appearance: "danger" }, {
4696
4696
  default: v(() => [
4697
- L("p", null, F(g(n)("consumer_groups.errors.add")), 1),
4697
+ L("p", null, q(g(n)("consumer_groups.errors.add")), 1),
4698
4698
  x.value.length ? (m(), $("ul", zl, [
4699
- (m(!0), $(be, null, ve(x.value, (de, Ze) => (m(), $("li", { key: Ze }, F(de), 1))), 128))
4699
+ (m(!0), $(be, null, ve(x.value, (de, We) => (m(), $("li", { key: We }, q(de), 1))), 128))
4700
4700
  ])) : J("", !0),
4701
- L("div", null, F(_.value || f.value), 1)
4701
+ L("div", null, q(_.value || f.value), 1)
4702
4702
  ]),
4703
4703
  _: 1
4704
4704
  })
@@ -4714,7 +4714,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4714
4714
  for (const [r, a] of t)
4715
4715
  n[r] = a;
4716
4716
  return n;
4717
- }, Hl = /* @__PURE__ */ Pt(Gl, [["__scopeId", "data-v-bb0a8037"]]), Jl = { class: "kong-ui-entities-consumer-groups-list" }, Wl = { key: 1 }, Zl = /* @__PURE__ */ X({
4717
+ }, Hl = /* @__PURE__ */ Pt(Gl, [["__scopeId", "data-v-bb0a8037"]]), Jl = { class: "kong-ui-entities-consumer-groups-list" }, Zl = { key: 1 }, Wl = /* @__PURE__ */ X({
4718
4718
  __name: "ConsumerGroupList",
4719
4719
  props: {
4720
4720
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4761,131 +4761,131 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4761
4761
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4762
4762
  setup(e, { emit: t }) {
4763
4763
  var Rt;
4764
- const n = t, r = e, { i18nT: a, i18n: { t: i } } = yt.useI18n(), o = Ot(), { axiosInstance: s } = Ut((Rt = r.config) == null ? void 0 : Rt.axiosRequestConfig), l = E(1), u = w(() => !!r.config.consumerId), p = w(
4764
+ const n = t, r = e, { i18nT: a, i18n: { t: i } } = yt.useI18n(), o = Et(), { axiosInstance: s } = Ut((Rt = r.config) == null ? void 0 : Rt.axiosRequestConfig), l = O(1), u = w(() => !!r.config.consumerId), p = w(
4765
4765
  () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
4766
4766
  ), c = w(() => r.config.app !== "kongManager" || !!r.config.disableSorting), y = {
4767
4767
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4768
4768
  };
4769
4769
  r.config.app === "kongManager" && (y.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), y.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4770
- const f = y, S = (I) => ({
4771
- "data-testid": I.username ?? I.custom_id ?? I.id
4770
+ const f = y, I = (A) => ({
4771
+ "data-testid": A.username ?? A.custom_id ?? A.id
4772
4772
  }), T = w(() => {
4773
- var Z, re, ge, we;
4774
- let I = `${r.config.apiBaseUrl}${Oe.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4775
- return r.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((Z = r.config) == null ? void 0 : Z.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), I;
4776
- }), k = E(""), U = w(() => {
4777
- const I = r.config.app === "konnect" || r.config.isExactMatch;
4778
- return I ? {
4779
- isExactMatch: I,
4773
+ var W, re, ge, we;
4774
+ let A = `${r.config.apiBaseUrl}${Ee.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4775
+ return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((W = r.config) == null ? void 0 : W.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), A;
4776
+ }), k = O(""), U = w(() => {
4777
+ const A = r.config.app === "konnect" || r.config.isExactMatch;
4778
+ return A ? {
4779
+ isExactMatch: A,
4780
4780
  fields: {
4781
4781
  username: y.name,
4782
4782
  id: { label: i("consumer_groups.list.table_headers.id") }
4783
4783
  },
4784
4784
  placeholder: i("consumer_groups.search.placeholder")
4785
4785
  } : {
4786
- isExactMatch: I,
4786
+ isExactMatch: A,
4787
4787
  fields: {
4788
4788
  name: y.name
4789
4789
  },
4790
4790
  schema: r.config.filterSchema
4791
4791
  };
4792
- }), N = w(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: W, fetcherState: h } = Ul(r.config, T.value, N.value), _ = () => {
4792
+ }), N = w(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: Z, fetcherState: h } = Ul(r.config, T.value, N.value), _ = () => {
4793
4793
  k.value = "";
4794
4794
  }, d = () => {
4795
4795
  l.value++;
4796
- }, A = E(null), B = (I, Z) => {
4797
- const re = I.id;
4798
- if (!Z(re)) {
4796
+ }, S = O(null), B = (A, W) => {
4797
+ const re = A.id;
4798
+ if (!W(re)) {
4799
4799
  n("copy:error", {
4800
- entity: I,
4800
+ entity: A,
4801
4801
  field: "id",
4802
4802
  message: i("consumer_groups.errors.copy")
4803
4803
  });
4804
4804
  return;
4805
4805
  }
4806
4806
  n("copy:success", {
4807
- entity: I,
4807
+ entity: A,
4808
4808
  field: "id",
4809
4809
  message: i("consumer_groups.copy.success", { val: re })
4810
4810
  });
4811
- }, x = (I, Z) => {
4812
- const re = JSON.stringify(I);
4813
- if (!Z(re)) {
4811
+ }, x = (A, W) => {
4812
+ const re = JSON.stringify(A);
4813
+ if (!W(re)) {
4814
4814
  n("copy:error", {
4815
- entity: I,
4815
+ entity: A,
4816
4816
  message: i("consumer_groups.errors.copy")
4817
4817
  });
4818
4818
  return;
4819
4819
  }
4820
4820
  n("copy:success", {
4821
- entity: I,
4821
+ entity: A,
4822
4822
  message: i("consumer_groups.copy.success_brief")
4823
4823
  });
4824
- }, G = async (I) => {
4824
+ }, G = async (A) => {
4825
4825
  var re;
4826
- await ((re = r.canRetrieve) == null ? void 0 : re.call(r, I)) && o.push(r.config.getViewRoute(I.id));
4827
- }, M = (I) => ({
4826
+ await ((re = r.canRetrieve) == null ? void 0 : re.call(r, A)) && o.push(r.config.getViewRoute(A.id));
4827
+ }, M = (A) => ({
4828
4828
  label: i("consumer_groups.actions.view"),
4829
- to: r.config.getViewRoute(I)
4830
- }), b = (I) => ({
4829
+ to: r.config.getViewRoute(A)
4830
+ }), b = (A) => ({
4831
4831
  label: i("consumer_groups.actions.edit"),
4832
- to: r.config.getEditRoute(I)
4833
- }), K = E(void 0), q = E(!1), H = E(!1), te = E(""), de = Bl(r.config, T.value), Ze = (I) => {
4834
- K.value = I, q.value = !0;
4832
+ to: r.config.getEditRoute(A)
4833
+ }), K = O(void 0), F = O(!1), H = O(!1), te = O(""), de = Bl(r.config, T.value), We = (A) => {
4834
+ K.value = A, F.value = !0;
4835
4835
  }, bt = () => {
4836
- q.value = !1;
4836
+ F.value = !1;
4837
4837
  }, it = async () => {
4838
- var I, Z, re;
4839
- if ((I = K.value) != null && I.id) {
4838
+ var A, W, re;
4839
+ if ((A = K.value) != null && A.id) {
4840
4840
  H.value = !0;
4841
4841
  try {
4842
- await s.delete(de(K.value.id)), H.value = !1, q.value = !1, l.value++, n("delete:success", K.value);
4842
+ await s.delete(de(K.value.id)), H.value = !1, F.value = !1, l.value++, n("delete:success", K.value);
4843
4843
  } catch (ge) {
4844
- te.value = ((re = (Z = ge.response) == null ? void 0 : Z.data) == null ? void 0 : re.message) || ge.message || i("consumer_groups.errors.delete"), n("error", ge);
4844
+ te.value = ((re = (W = ge.response) == null ? void 0 : W.data) == null ? void 0 : re.message) || ge.message || i("consumer_groups.errors.delete"), n("error", ge);
4845
4845
  } finally {
4846
4846
  H.value = !1;
4847
4847
  }
4848
4848
  }
4849
- }, Le = E(!1), Ye = () => {
4849
+ }, Le = O(!1), Ye = () => {
4850
4850
  Le.value = !0;
4851
4851
  }, C = () => {
4852
4852
  Le.value = !1;
4853
- }, P = (I, Z) => {
4854
- Z || C(), l.value++, n("add:success", I);
4853
+ }, P = (A, W) => {
4854
+ W || C(), l.value++, n("add:success", A);
4855
4855
  }, ae = () => {
4856
4856
  u.value && Ye();
4857
- }, V = E(void 0), z = E(!1), me = E(""), ke = (I) => {
4858
- V.value = I, z.value = !0;
4857
+ }, V = O(void 0), z = O(!1), me = O(""), ke = (A) => {
4858
+ V.value = A, z.value = !0;
4859
4859
  }, le = () => {
4860
4860
  z.value = !1, V.value = void 0;
4861
4861
  }, Ue = w(() => {
4862
- var Z, re, ge, we;
4863
- let I = `${r.config.apiBaseUrl}${Oe.list[r.config.app].oneForConsumer}`;
4864
- return r.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((Z = r.config) == null ? void 0 : Z.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), I;
4865
- }), Qe = E(!1), br = async () => {
4862
+ var W, re, ge, we;
4863
+ let A = `${r.config.apiBaseUrl}${Ee.list[r.config.app].oneForConsumer}`;
4864
+ return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((W = r.config) == null ? void 0 : W.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), A;
4865
+ }), Qe = O(!1), br = async () => {
4866
4866
  if (V.value) {
4867
4867
  Qe.value = !0;
4868
4868
  try {
4869
- const I = Ue.value.replace(/{consumerGroupId}/gi, V.value.id);
4870
- await s.delete(I), n("remove:success", V.value), le(), l.value++;
4871
- } catch (I) {
4872
- me.value = I.message || i("consumer_groups.errors.delete"), n("error", I);
4869
+ const A = Ue.value.replace(/{consumerGroupId}/gi, V.value.id);
4870
+ await s.delete(A), n("remove:success", V.value), le(), l.value++;
4871
+ } catch (A) {
4872
+ me.value = A.message || i("consumer_groups.errors.delete"), n("error", A);
4873
4873
  } finally {
4874
4874
  Qe.value = !1;
4875
4875
  }
4876
4876
  }
4877
- }, Vt = E(!0);
4878
- $e(h, (I) => {
4879
- var Z, re, ge, we;
4880
- if (Array.isArray((Z = I == null ? void 0 : I.response) == null ? void 0 : Z.data) && (Vt.value = I.response.data.length > 0), I.status === Fe.Error) {
4881
- A.value = {
4877
+ }, Vt = O(!0);
4878
+ $e(h, (A) => {
4879
+ var W, re, ge, we;
4880
+ if (Array.isArray((W = A == null ? void 0 : A.response) == null ? void 0 : W.data) && (Vt.value = A.response.data.length > 0), A.status === qe.Error) {
4881
+ S.value = {
4882
4882
  title: i("consumer_groups.errors.general")
4883
- }, (we = (ge = (re = I.error) == null ? void 0 : re.response) == null ? void 0 : ge.data) != null && we.message && (A.value.message = I.error.response.data.message), n("error", I.error);
4883
+ }, (we = (ge = (re = A.error) == null ? void 0 : re.response) == null ? void 0 : ge.data) != null && we.message && (S.value.message = A.error.response.data.message), n("error", A.error);
4884
4884
  return;
4885
4885
  }
4886
- A.value = null;
4886
+ S.value = null;
4887
4887
  });
4888
- const Ct = E({
4888
+ const Ct = O({
4889
4889
  ctaPath: u.value ? void 0 : r.config.createRoute,
4890
4890
  ctaText: void 0,
4891
4891
  message: `${i("consumer_groups.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
@@ -4893,7 +4893,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4893
4893
  });
4894
4894
  return gt(async () => {
4895
4895
  await r.canCreate() && (Ct.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), Ct.value.ctaText = u.value ? i("consumer_groups.actions.add_to_group") : i("consumer_groups.actions.create"));
4896
- }), (I, Z) => {
4896
+ }), (A, W) => {
4897
4897
  const re = R("KButton"), ge = R("KBadge"), we = R("KTruncate"), Xe = R("KDropdownItem"), Dt = R("KClipboardProvider"), Cr = R("KPrompt");
4898
4898
  return m(), $("div", Jl, [
4899
4899
  j(g(il), {
@@ -4903,25 +4903,25 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4903
4903
  "disable-sorting": c.value,
4904
4904
  "empty-state-options": Ct.value,
4905
4905
  "enable-entity-actions": "",
4906
- "error-message": A.value,
4907
- fetcher: g(W),
4906
+ "error-message": S.value,
4907
+ fetcher: g(Z),
4908
4908
  "fetcher-cache-key": l.value,
4909
4909
  "pagination-type": "offset",
4910
4910
  "preferences-storage-key": p.value,
4911
4911
  query: k.value,
4912
- "row-attributes": S,
4912
+ "row-attributes": I,
4913
4913
  "table-headers": g(f),
4914
4914
  "use-action-outside": e.useActionOutside,
4915
4915
  onClearSearchInput: _,
4916
- "onClick:row": Z[3] || (Z[3] = (Q) => G(Q)),
4916
+ "onClick:row": W[3] || (W[3] = (Q) => G(Q)),
4917
4917
  onEmptyStateCtaClicked: ae,
4918
4918
  onSort: d
4919
4919
  }, {
4920
4920
  "toolbar-filter": v(() => [
4921
- u.value ? J("", !0) : (m(), D(g(Al), {
4921
+ u.value ? J("", !0) : (m(), D(g(Sl), {
4922
4922
  key: 0,
4923
4923
  modelValue: k.value,
4924
- "onUpdate:modelValue": Z[0] || (Z[0] = (Q) => k.value = Q),
4924
+ "onUpdate:modelValue": W[0] || (W[0] = (Q) => k.value = Q),
4925
4925
  config: U.value
4926
4926
  }, null, 8, ["modelValue", "config"]))
4927
4927
  ]),
@@ -4939,11 +4939,11 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4939
4939
  "data-testid": "toolbar-add-consumer-group",
4940
4940
  size: "large",
4941
4941
  to: e.config.consumerId ? void 0 : e.config.createRoute,
4942
- onClick: Z[1] || (Z[1] = () => e.config.consumerId ? Ye() : void 0)
4942
+ onClick: W[1] || (W[1] = () => e.config.consumerId ? Ye() : void 0)
4943
4943
  }, {
4944
4944
  default: v(() => [
4945
4945
  j(g(Kr)),
4946
- Y(" " + F(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4946
+ Y(" " + q(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4947
4947
  ]),
4948
4948
  _: 1
4949
4949
  }, 8, ["to"]), [
@@ -4955,27 +4955,27 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4955
4955
  ], 8, ["disabled"]))
4956
4956
  ]),
4957
4957
  name: v(({ rowValue: Q }) => [
4958
- L("b", null, F(Q ?? "-"), 1)
4958
+ L("b", null, q(Q ?? "-"), 1)
4959
4959
  ]),
4960
4960
  consumers_count: v(({ rowValue: Q }) => [
4961
- Y(F(Q ?? "-"), 1)
4961
+ Y(q(Q ?? "-"), 1)
4962
4962
  ]),
4963
4963
  tags: v(({ rowValue: Q }) => [
4964
4964
  (Q == null ? void 0 : Q.length) > 0 ? (m(), D(we, { key: 0 }, {
4965
4965
  default: v(() => [
4966
4966
  (m(!0), $(be, null, ve(Q, (Pe) => (m(), D(ge, {
4967
4967
  key: Pe,
4968
- onClick: Z[2] || (Z[2] = xt(() => {
4968
+ onClick: W[2] || (W[2] = xt(() => {
4969
4969
  }, ["stop"]))
4970
4970
  }, {
4971
4971
  default: v(() => [
4972
- Y(F(Pe), 1)
4972
+ Y(q(Pe), 1)
4973
4973
  ]),
4974
4974
  _: 2
4975
4975
  }, 1024))), 128))
4976
4976
  ]),
4977
4977
  _: 2
4978
- }, 1024)) : (m(), $("span", Wl, "-"))
4978
+ }, 1024)) : (m(), $("span", Zl, "-"))
4979
4979
  ]),
4980
4980
  actions: v(({ row: Q }) => [
4981
4981
  j(Dt, null, {
@@ -4985,7 +4985,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4985
4985
  onClick: (kr) => B(Q, Pe)
4986
4986
  }, {
4987
4987
  default: v(() => [
4988
- Y(F(g(i)("consumer_groups.actions.copy_id")), 1)
4988
+ Y(q(g(i)("consumer_groups.actions.copy_id")), 1)
4989
4989
  ]),
4990
4990
  _: 2
4991
4991
  }, 1032, ["onClick"])
@@ -4999,7 +4999,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4999
4999
  onClick: (kr) => x(Q, Pe)
5000
5000
  }, {
5001
5001
  default: v(() => [
5002
- Y(F(g(i)("consumer_groups.actions.copy_json")), 1)
5002
+ Y(q(g(i)("consumer_groups.actions.copy_json")), 1)
5003
5003
  ]),
5004
5004
  _: 2
5005
5005
  }, 1032, ["onClick"])
@@ -5037,10 +5037,10 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5037
5037
  danger: "",
5038
5038
  "data-testid": "action-entity-delete",
5039
5039
  "has-divider": "",
5040
- onClick: () => e.config.consumerId ? ke(Q) : Ze(Q)
5040
+ onClick: () => e.config.consumerId ? ke(Q) : We(Q)
5041
5041
  }, {
5042
5042
  default: v(() => [
5043
- Y(F(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
5043
+ Y(q(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
5044
5044
  ]),
5045
5045
  _: 2
5046
5046
  }, 1032, ["onClick"])
@@ -5058,7 +5058,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5058
5058
  "entity-type": g(wn).ConsumerGroup,
5059
5059
  error: te.value,
5060
5060
  title: g(i)("consumer_groups.delete.title"),
5061
- visible: q.value,
5061
+ visible: F.value,
5062
5062
  onCancel: bt,
5063
5063
  onProceed: it
5064
5064
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
@@ -5067,8 +5067,8 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5067
5067
  config: e.config,
5068
5068
  "data-testid": "add-to-group-modal",
5069
5069
  visible: Le.value,
5070
- "onAdd:partialSuccess": Z[4] || (Z[4] = (Q) => P(Q, !0)),
5071
- "onAdd:success": Z[5] || (Z[5] = (Q) => P(Q)),
5070
+ "onAdd:partialSuccess": W[4] || (W[4] = (Q) => P(Q, !0)),
5071
+ "onAdd:success": W[5] || (W[5] = (Q) => P(Q)),
5072
5072
  onCancel: C
5073
5073
  }, null, 8, ["config", "visible"])) : J("", !0),
5074
5074
  e.config.consumerId && V.value ? (m(), D(Cr, {
@@ -5087,26 +5087,26 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5087
5087
  tag: "p"
5088
5088
  }, Be({
5089
5089
  consumerGroup: v(() => [
5090
- L("strong", null, F(V.value.name || V.value.id), 1)
5090
+ L("strong", null, q(V.value.name || V.value.id), 1)
5091
5091
  ]),
5092
5092
  _: 2
5093
5093
  }, [
5094
5094
  e.config.consumerUsername ? {
5095
5095
  name: "consumer",
5096
5096
  fn: v(() => [
5097
- L("strong", null, F(e.config.consumerUsername), 1)
5097
+ L("strong", null, q(e.config.consumerUsername), 1)
5098
5098
  ]),
5099
5099
  key: "0"
5100
5100
  } : void 0
5101
5101
  ]), 1032, ["keypath"]),
5102
- L("p", null, F(g(i)("consumer_groups.consumers.exit.description")), 1)
5102
+ L("p", null, q(g(i)("consumer_groups.consumers.exit.description")), 1)
5103
5103
  ]),
5104
5104
  _: 1
5105
5105
  }, 8, ["title", "visible"])) : J("", !0)
5106
5106
  ]);
5107
5107
  };
5108
5108
  }
5109
- }), mu = /* @__PURE__ */ Pt(Zl, [["__scopeId", "data-v-a183d2c6"]]), Yl = { class: "kong-ui-entities-consumer-group-form" }, Ql = { class: "select-item-container" }, Xl = { class: "select-item-label" }, eu = {
5109
+ }), mu = /* @__PURE__ */ Pt(Wl, [["__scopeId", "data-v-a183d2c6"]]), Yl = { class: "kong-ui-entities-consumer-group-form" }, Ql = { class: "select-item-container" }, Xl = { class: "select-item-label" }, eu = {
5110
5110
  key: 0,
5111
5111
  class: "select-item-description"
5112
5112
  }, tu = /* @__PURE__ */ X({
@@ -5128,7 +5128,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5128
5128
  emits: ["update", "error", "loading"],
5129
5129
  setup(e, { emit: t }) {
5130
5130
  var it, Le, Ye;
5131
- const n = e, r = t, { i18n: { t: a } } = yt.useI18n(), i = Ot(), o = zt({
5131
+ const n = e, r = t, { i18n: { t: a } } = yt.useI18n(), i = Et(), o = zt({
5132
5132
  fields: {
5133
5133
  name: "",
5134
5134
  tags: "",
@@ -5146,10 +5146,10 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5146
5146
  error: p,
5147
5147
  loadItems: c,
5148
5148
  results: y
5149
- } = vr(n.config, (Le = Oe.form[(it = n.config) == null ? void 0 : it.app]) == null ? void 0 : Le.consumersList, "", {
5149
+ } = vr(n.config, (Le = Ee.form[(it = n.config) == null ? void 0 : it.app]) == null ? void 0 : Le.consumersList, "", {
5150
5150
  fetchedItemsKey: "data",
5151
5151
  searchKeys: ["username", "custom_id", "id"]
5152
- }), { axiosInstance: f } = Ut((Ye = n.config) == null ? void 0 : Ye.axiosRequestConfig), { getMessageFromError: S } = Ll(), T = Pl(), k = w(() => y.value.map((C) => ({
5152
+ }), { axiosInstance: f } = Ut((Ye = n.config) == null ? void 0 : Ye.axiosRequestConfig), { getMessageFromError: I } = Ll(), T = Pl(), k = w(() => y.value.map((C) => ({
5153
5153
  label: C.username || C.custom_id,
5154
5154
  value: C.id,
5155
5155
  selected: o.fields.consumers.includes(C.id),
@@ -5157,15 +5157,15 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5157
5157
  // we need this to determine whether or not to show the description text
5158
5158
  }))), U = w(() => {
5159
5159
  var C, P;
5160
- return (P = Oe.form[(C = n.config) == null ? void 0 : C.app]) == null ? void 0 : P.edit;
5161
- }), N = w(() => n.consumerGroupId ? ut.Edit : ut.Create), W = w(() => !!o.fields.name && !G.value), h = w(() => JSON.stringify(o.fields) !== JSON.stringify(s)), _ = (C, P = "", ae = "") => {
5160
+ return (P = Ee.form[(C = n.config) == null ? void 0 : C.app]) == null ? void 0 : P.edit;
5161
+ }), N = w(() => n.consumerGroupId ? ut.Edit : ut.Create), Z = w(() => !!o.fields.name && !G.value), h = w(() => JSON.stringify(o.fields) !== JSON.stringify(s)), _ = (C, P = "", ae = "") => {
5162
5162
  var z, me, ke, le, Ue, Qe;
5163
- let V = `${(z = n.config) == null ? void 0 : z.apiBaseUrl}${Oe.form[(me = n.config) == null ? void 0 : me.app][C]}`;
5163
+ let V = `${(z = n.config) == null ? void 0 : z.apiBaseUrl}${Ee.form[(me = n.config) == null ? void 0 : me.app][C]}`;
5164
5164
  return ((ke = n.config) == null ? void 0 : ke.app) === "konnect" ? V = V.replace(/{controlPlaneId}/gi, ((le = n.config) == null ? void 0 : le.controlPlaneId) || "") : ((Ue = n.config) == null ? void 0 : Ue.app) === "kongManager" && (V = V.replace(/\/{workspace}/gi, (Qe = n.config) != null && Qe.workspace ? `/${n.config.workspace}` : "")), V = V.replace(/{id}/gi, P || n.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (V = V.replace(/{consumerId}/gi, ae)), V;
5165
5165
  }, d = () => {
5166
5166
  var C;
5167
5167
  i.push(((C = n.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-group-list" });
5168
- }, A = (C) => {
5168
+ }, S = (C) => {
5169
5169
  r("error", C);
5170
5170
  }, B = (C) => {
5171
5171
  r("loading", C);
@@ -5180,7 +5180,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5180
5180
  const { data: le } = await f.get(_("getConsumers"));
5181
5181
  o.fields.consumers = "consumers" in le ? (ke = le == null ? void 0 : le.consumers) == null ? void 0 : ke.map((Ue) => Ue.id) : [];
5182
5182
  } catch (le) {
5183
- q(le);
5183
+ F(le);
5184
5184
  }
5185
5185
  Object.assign(s, o.fields);
5186
5186
  }, G = w(() => T.utf8Name(o.fields.name)), M = w(() => {
@@ -5189,13 +5189,13 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5189
5189
  name: o.fields.name,
5190
5190
  tags: (P = (C = o.fields.tags.split(",")) == null ? void 0 : C.map((ae) => String(ae || "").trim())) == null ? void 0 : P.filter((ae) => ae !== "")
5191
5191
  };
5192
- }), b = async (C, P = "") => await f.post(_("addConsumer", P, C), { consumer: C }), K = async (C, P = "") => await f.delete(_("removeConsumer", P, C)), q = (C) => {
5193
- o.errorMessage = S(C), r("error", C);
5192
+ }), b = async (C, P = "") => await f.post(_("addConsumer", P, C), { consumer: C }), K = async (C, P = "") => await f.delete(_("removeConsumer", P, C)), F = (C) => {
5193
+ o.errorMessage = I(C), r("error", C);
5194
5194
  }, H = (C = n.consumerGroupId) => {
5195
5195
  Object.assign(s, o.fields), r("update", { ...o.fields, id: C });
5196
5196
  }, te = (C, P, ae = n.consumerGroupId) => {
5197
5197
  const V = C == null ? void 0 : C.find((z) => z.status !== "fulfilled");
5198
- V ? q({
5198
+ V ? F({
5199
5199
  code: V.status,
5200
5200
  message: P
5201
5201
  }) : H(ae);
@@ -5205,23 +5205,23 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5205
5205
  const { data: P } = await f.post(_("create"), M.value);
5206
5206
  C = "item" in P ? P.item.id : P.id;
5207
5207
  } catch (P) {
5208
- q(P);
5208
+ F(P);
5209
5209
  }
5210
5210
  if (o.fields.consumers.length > 0 && C)
5211
5211
  try {
5212
5212
  const P = o.fields.consumers.map((V) => b(V, C)), ae = await Promise.allSettled(P);
5213
5213
  te(ae, a("consumer_groups.errors.add_consumer"), C);
5214
5214
  } catch (P) {
5215
- q(P);
5215
+ F(P);
5216
5216
  }
5217
5217
  else
5218
5218
  o.fields.consumers.length === 0 && C && H(C);
5219
- }, Ze = async () => {
5219
+ }, We = async () => {
5220
5220
  var ae;
5221
5221
  try {
5222
5222
  ((ae = n.config) == null ? void 0 : ae.app) === "konnect" ? await f.put(_("edit"), M.value) : await f.patch(_("edit"), M.value);
5223
5223
  } catch (V) {
5224
- q(V);
5224
+ F(V);
5225
5225
  }
5226
5226
  const C = o.fields.consumers.filter((V) => !s.consumers.includes(V)), P = s.consumers.filter((V) => !o.fields.consumers.includes(V));
5227
5227
  if (P.length === 0 && C.length === 0)
@@ -5232,19 +5232,19 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5232
5232
  const V = P.map((me) => K(me)), z = await Promise.allSettled(V);
5233
5233
  te(z, a("consumer_groups.errors.remove_consumer"));
5234
5234
  } catch (V) {
5235
- q(V);
5235
+ F(V);
5236
5236
  }
5237
5237
  if (C.length > 0)
5238
5238
  try {
5239
5239
  const V = C.map((me) => b(me)), z = await Promise.allSettled(V);
5240
5240
  te(z, a("consumer_groups.errors.add_consumer"));
5241
5241
  } catch (V) {
5242
- q(V);
5242
+ F(V);
5243
5243
  }
5244
5244
  }
5245
5245
  }, bt = async () => {
5246
5246
  try {
5247
- o.readonly = !0, N.value === ut.Create ? await de() : await Ze();
5247
+ o.readonly = !0, N.value === ut.Create ? await de() : await We();
5248
5248
  } finally {
5249
5249
  o.readonly = !1;
5250
5250
  }
@@ -5255,7 +5255,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5255
5255
  const ae = R("KInput"), V = R("KMultiselect");
5256
5256
  return m(), $("div", Yl, [
5257
5257
  j(g(Qs), {
5258
- "can-submit": W.value && h.value,
5258
+ "can-submit": Z.value && h.value,
5259
5259
  config: e.config,
5260
5260
  "edit-id": e.consumerGroupId,
5261
5261
  "error-message": o.errorMessage || g(p) || G.value,
@@ -5263,7 +5263,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5263
5263
  "form-fields": M.value,
5264
5264
  "is-readonly": o.readonly,
5265
5265
  onCancel: d,
5266
- "onFetch:error": P[3] || (P[3] = (z) => A(z)),
5266
+ "onFetch:error": P[3] || (P[3] = (z) => S(z)),
5267
5267
  "onFetch:success": x,
5268
5268
  onLoading: P[4] || (P[4] = (z) => B(z)),
5269
5269
  onSubmit: bt
@@ -5325,8 +5325,8 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5325
5325
  var me, ke, le;
5326
5326
  return [
5327
5327
  L("div", Ql, [
5328
- L("div", Xl, F(z.label), 1),
5329
- (me = z == null ? void 0 : z.data) != null && me.username && ((ke = z == null ? void 0 : z.data) != null && ke.custom_id) ? (m(), $("div", eu, F((le = z == null ? void 0 : z.data) == null ? void 0 : le.custom_id), 1)) : J("", !0)
5328
+ L("div", Xl, q(z.label), 1),
5329
+ (me = z == null ? void 0 : z.data) != null && me.username && ((ke = z == null ? void 0 : z.data) != null && ke.custom_id) ? (m(), $("div", eu, q((le = z == null ? void 0 : z.data) == null ? void 0 : le.custom_id), 1)) : J("", !0)
5330
5330
  ])
5331
5331
  ];
5332
5332
  }),
@@ -5368,7 +5368,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5368
5368
  },
5369
5369
  emits: ["loading", "fetch:error", "fetch:success"],
5370
5370
  setup(e) {
5371
- const t = e, { i18n: { t: n } } = yt.useI18n(), r = w(() => Oe.form[t.config.app].edit), a = E({
5371
+ const t = e, { i18n: { t: n } } = yt.useI18n(), r = w(() => Ee.form[t.config.app].edit), a = O({
5372
5372
  id: {},
5373
5373
  name: {},
5374
5374
  created_at: {},