@kong-ui-public/entities-gateway-services 2.2.3 → 2.2.4-pr.985.1feebfc7.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,8 +1,8 @@
1
- import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as h, createBlock as P, Teleport as ii, createVNode as S, withCtx as y, unref as m, createTextVNode as G, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Fe, withDirectives as Ue, vShow as Re, useCssVars as ra, resolveDynamicComponent as Ne, normalizeProps as oa, guardReactiveProps as na, mergeProps as ut, onMounted as ai, onUnmounted as la, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as ni, reactive as $t } from "vue";
1
+ import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as h, createBlock as P, Teleport as ii, createVNode as C, withCtx as y, unref as m, createTextVNode as G, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Fe, withDirectives as Ue, vShow as Re, useCssVars as ra, resolveDynamicComponent as Ne, normalizeProps as oa, guardReactiveProps as na, mergeProps as ut, onMounted as ai, onUnmounted as la, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as ni, reactive as $t } from "vue";
2
2
  import { useRouter as ht } from "vue-router";
3
3
  import { createI18n as bt, i18nTComponent as li } from "@kong-ui-public/i18n";
4
4
  import ca from "axios";
5
- import { MethodsArray as ua } from "@kong/kongponents";
5
+ import { BadgeMethodAppearances as ua } from "@kong/kongponents";
6
6
  const da = {
7
7
  create: "New Gateway Service",
8
8
  copy_id: "Copy ID",
@@ -235,7 +235,7 @@ const Ye = {
235
235
  }
236
236
  };
237
237
  var si = /* @__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))(si || {}), dt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(dt || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ae || {}), 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 || {}), de = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(de || {});
238
- function _t(e = {}) {
238
+ function wt(e = {}) {
239
239
  return {
240
240
  axiosInstance: ca.create({
241
241
  withCredentials: !0,
@@ -244,7 +244,7 @@ function _t(e = {}) {
244
244
  })
245
245
  };
246
246
  }
247
- function _a() {
247
+ function wa() {
248
248
  return {
249
249
  debounce: (e, i) => {
250
250
  let t;
@@ -256,7 +256,7 @@ function _a() {
256
256
  }
257
257
  };
258
258
  }
259
- const nt = "khcp-user-table-preferences", wa = {
259
+ const nt = "khcp-user-table-preferences", _a = {
260
260
  pageSize: 30,
261
261
  sortColumnKey: void 0,
262
262
  sortColumnOrder: void 0
@@ -285,7 +285,7 @@ function ka() {
285
285
  },
286
286
  getTablePreferences: (t) => {
287
287
  const a = i();
288
- return (a == null ? void 0 : a.get(t)) || void 0 || wa;
288
+ return (a == null ? void 0 : a.get(t)) || void 0 || _a;
289
289
  },
290
290
  deleteAllTablePreferences: () => {
291
291
  localStorage.removeItem(nt);
@@ -368,7 +368,7 @@ const Ca = {
368
368
  }, Ma = {
369
369
  unexpected: "An unexpected error has occurred",
370
370
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
371
- }, Ea = {
371
+ }, ja = {
372
372
  enable: {
373
373
  title: "Enable {entityType}",
374
374
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -379,7 +379,7 @@ const Ca = {
379
379
  message: "Are you sure you want to disable the {entityType} {entityName}?",
380
380
  confirmText: "Yes, disable"
381
381
  }
382
- }, ja = {
382
+ }, Ea = {
383
383
  global: Ca,
384
384
  deleteModal: Sa,
385
385
  baseForm: Ia,
@@ -388,10 +388,10 @@ const Ca = {
388
388
  filter: Ta,
389
389
  debouncedFilter: $a,
390
390
  errors: Ma,
391
- toggleModal: Ea
391
+ toggleModal: ja
392
392
  };
393
- function wt() {
394
- const e = bt("en-us", ja);
393
+ function _t() {
394
+ const e = bt("en-us", Ea);
395
395
  return {
396
396
  i18n: e,
397
397
  i18nT: li(e)
@@ -447,45 +447,45 @@ function Oa(e, i, t, a = {
447
447
  searchKeys: ["id"]
448
448
  }) {
449
449
  t || (t = "100");
450
- const { axiosInstance: r } = _t({
450
+ const { axiosInstance: r } = wt({
451
451
  headers: e.requestHeaders
452
- }), { i18n: { t: o } } = wt(), { debounce: l } = _a(), n = l(async (C) => {
453
- await j(C);
454
- }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), _ = N([]), b = N(void 0), I = m(i);
455
- let k = `${e.apiBaseUrl}${I}`;
452
+ }), { i18n: { t: o } } = _t(), { debounce: l } = wa(), n = l(async (x) => {
453
+ await E(x);
454
+ }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), b = N(void 0), S = m(i);
455
+ let k = `${e.apiBaseUrl}${S}`;
456
456
  e.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
457
457
  const { isValidUuid: v } = ci(), $ = async () => {
458
458
  try {
459
459
  u.value = !0;
460
- const { data: C } = await r.get(`${k}?size=${t}`);
461
- C != null && C.next || (b.value = a.fetchedItemsKey in C ? C[a.fetchedItemsKey] : []), _.value = a.fetchedItemsKey in C ? C[a.fetchedItemsKey] : [], p.value = _.value;
460
+ const { data: x } = await r.get(`${k}?size=${t}`);
461
+ x != null && x.next || (b.value = a.fetchedItemsKey in x ? x[a.fetchedItemsKey] : []), w.value = a.fetchedItemsKey in x ? x[a.fetchedItemsKey] : [], p.value = w.value;
462
462
  } catch {
463
463
  p.value = [], d.value = o("debouncedFilter.errors.fetch");
464
464
  } finally {
465
465
  u.value = !1;
466
466
  }
467
- }, s = N(""), j = async (C) => {
467
+ }, s = N(""), E = async (x) => {
468
468
  var B, re, W;
469
- if (s.value !== C)
470
- if (s.value = C || "", b.value === void 0)
469
+ if (s.value !== x)
470
+ if (s.value = x || "", b.value === void 0)
471
471
  try {
472
472
  if (u.value = !0, d.value = "", f.value = "", e.app === "konnect") {
473
- let x = k + "";
474
- C && (x += `/${C}`);
475
- const { data: q } = await r.get(`${x}?size=${t}`);
473
+ let A = k + "";
474
+ x && (A += `/${x}`);
475
+ const { data: q } = await r.get(`${A}?size=${t}`);
476
476
  a.fetchedItemsKey in q ? p.value = q[a.fetchedItemsKey] : q != null && q.id ? p.value = [q] : p.value = [];
477
- } else if (C) {
478
- const x = [];
479
- v(C) && a.searchKeys.includes("id") ? x.push((async () => {
480
- const { data: K } = await r.get(`${k}/${C}`);
477
+ } else if (x) {
478
+ const A = [];
479
+ v(x) && a.searchKeys.includes("id") ? A.push((async () => {
480
+ const { data: K } = await r.get(`${k}/${x}`);
481
481
  return [K[a.fetchedItemsKey] ?? K];
482
- })()) : x.push(
482
+ })()) : A.push(
483
483
  ...a.searchKeys.filter((K) => K !== "id").map(async (K) => {
484
- const { data: H } = await r.get(`${k}?${K}=${C}`);
484
+ const { data: H } = await r.get(`${k}?${K}=${x}`);
485
485
  return H[a.fetchedItemsKey];
486
486
  })
487
487
  );
488
- const q = await Promise.all(x), U = /* @__PURE__ */ new Set();
488
+ const q = await Promise.all(A), U = /* @__PURE__ */ new Set();
489
489
  p.value = [], (B = q == null ? void 0 : q.forEach) == null || B.call(q, (K) => {
490
490
  var H;
491
491
  (H = K == null ? void 0 : K.forEach) == null || H.call(K, (R) => {
@@ -493,19 +493,19 @@ function Oa(e, i, t, a = {
493
493
  });
494
494
  });
495
495
  } else
496
- p.value = _.value;
497
- } catch (x) {
498
- ((re = x == null ? void 0 : x.response) == null ? void 0 : re.status) === 404 ? f.value = o("debouncedFilter.errors.invalid") : (p.value = [], d.value = o("debouncedFilter.errors.fetch"));
496
+ p.value = w.value;
497
+ } catch (A) {
498
+ ((re = A == null ? void 0 : A.response) == null ? void 0 : re.status) === 404 ? f.value = o("debouncedFilter.errors.invalid") : (p.value = [], d.value = o("debouncedFilter.errors.fetch"));
499
499
  } finally {
500
500
  u.value = !1;
501
501
  }
502
502
  else
503
- u.value = !0, f.value = "", C ? (p.value = (W = b.value) == null ? void 0 : W.filter((x) => {
503
+ u.value = !0, f.value = "", x ? (p.value = (W = b.value) == null ? void 0 : W.filter((A) => {
504
504
  var q;
505
505
  let U = !1;
506
506
  for (const K of a.searchKeys) {
507
- const H = typeof x[K] == "string" ? (q = x[K]) == null ? void 0 : q.toLowerCase() : x[K];
508
- H != null && H.includes(C.toLowerCase()) && (U = !0);
507
+ const H = typeof A[K] == "string" ? (q = A[K]) == null ? void 0 : q.toLowerCase() : A[K];
508
+ H != null && H.includes(x.toLowerCase()) && (U = !0);
509
509
  }
510
510
  return U;
511
511
  }), (!p.value || !p.value.length) && (f.value = o("debouncedFilter.errors.invalid"))) : p.value = b.value, u.value = !1;
@@ -527,7 +527,7 @@ function Va(e, i) {
527
527
  return a.value.search = "", (r) => `${a.value.href}/${r}`;
528
528
  }
529
529
  function Fa() {
530
- const { i18n: { t: e } } = wt();
530
+ const { i18n: { t: e } } = _t();
531
531
  return {
532
532
  getMessageFromError: (i) => {
533
533
  var t, a, r;
@@ -572,11 +572,11 @@ function ui(e, i) {
572
572
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
573
573
  );
574
574
  return (l) => {
575
- const { page: n, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: _ } = l;
575
+ const { page: n, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: w } = l;
576
576
  try {
577
577
  let b = new URL(o.value.href);
578
- return r.value && _ ? (b.search = "", b = new URL(`${b.href}?filter[name][contains]=${_}`)) : (r.value || new URLSearchParams(_).forEach((I, k) => {
579
- b.searchParams.append(k, I);
578
+ return r.value && w ? (b.search = "", b = new URL(`${b.href}?filter[name][contains]=${w}`)) : (r.value || new URLSearchParams(w).forEach((S, k) => {
579
+ b.searchParams.append(k, S);
580
580
  }), f && b.searchParams.append("sort_by", f), p === "desc" && b.searchParams.append("sort_desc", "1"), b.searchParams.append("size", String(u))), d && n !== 1 && b.searchParams.append("offset", String(d)), b.href;
581
581
  } catch (b) {
582
582
  return console.error("RouteList(fetcher)", b), a.value;
@@ -584,7 +584,7 @@ function ui(e, i) {
584
584
  };
585
585
  }
586
586
  function Ka(e, i, t = "data") {
587
- const a = m(i), { axiosInstance: r } = _t({
587
+ const a = m(i), { axiosInstance: r } = wt({
588
588
  headers: e.requestHeaders
589
589
  }), o = ui(e, a), l = N({
590
590
  status: Ae.Idle
@@ -595,7 +595,7 @@ function Ka(e, i, t = "data") {
595
595
  const u = o(n), { data: d } = await r.get(u), f = t && t.replace(/[^\w-_]/gi, "");
596
596
  let p;
597
597
  d[f] && Array.isArray(d[f]) ? p = d[f] : Array.isArray(d) ? p = d : p = Object.keys(d).length ? [d] : [];
598
- const _ = {
598
+ const w = {
599
599
  data: p,
600
600
  total: p.length,
601
601
  ...d.offset ? {
@@ -606,8 +606,8 @@ function Ka(e, i, t = "data") {
606
606
  };
607
607
  return l.value = {
608
608
  status: Ae.Idle,
609
- response: _
610
- }, _;
609
+ response: w
610
+ }, w;
611
611
  } catch (u) {
612
612
  const d = {
613
613
  data: [],
@@ -639,13 +639,13 @@ const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
639
639
  if (!i)
640
640
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
641
641
  return i.shift(), i;
642
- }, Et = (e) => e === "*" || e === "x" || e === "X", jt = (e) => {
642
+ }, jt = (e) => e === "*" || e === "x" || e === "X", Et = (e) => {
643
643
  const i = parseInt(e, 10);
644
644
  return isNaN(i) ? e : i;
645
645
  }, qa = (e, i) => typeof e != typeof i ? [String(e), String(i)] : [e, i], Ba = (e, i) => {
646
- if (Et(e) || Et(i))
646
+ if (jt(e) || jt(i))
647
647
  return 0;
648
- const [t, a] = qa(jt(e), jt(i));
648
+ const [t, a] = qa(Et(e), Et(i));
649
649
  return t > a ? 1 : t < a ? -1 : 0;
650
650
  }, Ot = (e, i) => {
651
651
  for (let t = 0; t < Math.max(e.length, i.length); t++) {
@@ -696,7 +696,7 @@ function Ha(e) {
696
696
  };
697
697
  }
698
698
  const le = {
699
- useAxios: _t,
699
+ useAxios: wt,
700
700
  useDebouncedFilter: Oa,
701
701
  useDeleteUrlBuilder: Va,
702
702
  useErrors: Fa,
@@ -705,7 +705,7 @@ const le = {
705
705
  useFetchUrlBuilder: ui,
706
706
  useHelpers: ci,
707
707
  useStringHelpers: La,
708
- useI18n: wt,
708
+ useI18n: _t,
709
709
  useGatewayFeatureSupported: Da,
710
710
  useTruncationDetector: Ha
711
711
  }, za = {
@@ -878,29 +878,29 @@ const le = {
878
878
  maxWidth: "500px",
879
879
  placement: "bottomStart"
880
880
  } : {}), d = T(() => {
881
- var _;
882
- return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(_ = t.uuid) == null ? void 0 : _.substring(0, 5)}` : t.uuid;
883
- }), f = (_) => {
884
- n.value = _, setTimeout(() => {
881
+ var w;
882
+ return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(w = t.uuid) == null ? void 0 : w.substring(0, 5)}` : t.uuid;
883
+ }), f = (w) => {
884
+ n.value = w, setTimeout(() => {
885
885
  n.value = t.tooltip;
886
886
  }, 1800);
887
- }, p = (_) => {
888
- var b, I;
889
- if (!_(t.uuid)) {
887
+ }, p = (w) => {
888
+ var b, S;
889
+ if (!w(t.uuid)) {
890
890
  typeof r == "function" && r({
891
891
  type: "error",
892
892
  message: a("message.fail")
893
893
  }), l.value ? f(a("message.fail")) : i("error", t.uuid);
894
894
  return;
895
895
  }
896
- const k = ((b = t.uuid) == null ? void 0 : b.length) > Kt, v = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, Kt)) + (k ? "..." : "")}"`;
896
+ const k = ((b = t.uuid) == null ? void 0 : b.length) > Kt, v = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((S = t.uuid) == null ? void 0 : S.substring(0, Kt)) + (k ? "..." : "")}"`;
897
897
  typeof r == "function" && r({
898
898
  type: "success",
899
899
  message: `${v}${a("message.success.content")}`
900
900
  }), l.value ? f(t.successTooltip) : i("success", t.uuid);
901
901
  };
902
- return (_, b) => {
903
- const I = L("KClipboardProvider");
902
+ return (w, b) => {
903
+ const S = L("KClipboardProvider");
904
904
  return h(), M("div", rr, [
905
905
  e.format !== "hidden" ? (h(), P(Ne(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
906
906
  default: y(() => [
@@ -916,7 +916,7 @@ const le = {
916
916
  }, 16)) : D("", !0),
917
917
  (h(), P(Ne(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
918
918
  default: y(() => [
919
- S(I, null, {
919
+ C(S, null, {
920
920
  default: y(({ copyToClipboard: k }) => [
921
921
  F("span", {
922
922
  "data-testid": "copy-to-clipboard",
@@ -924,7 +924,7 @@ const le = {
924
924
  tabindex: "0",
925
925
  onClick: Fe((v) => p(k), ["stop"])
926
926
  }, [
927
- S(m(ir), {
927
+ C(m(ir), {
928
928
  class: "uuid-icon",
929
929
  color: e.iconColor,
930
930
  decorative: !!e.tooltip,
@@ -1011,7 +1011,7 @@ const le = {
1011
1011
  return (t, a) => {
1012
1012
  const r = L("KButton");
1013
1013
  return h(), M("div", null, [
1014
- S(r, {
1014
+ C(r, {
1015
1015
  appearance: "tertiary",
1016
1016
  class: "navigation-button",
1017
1017
  onClick: a[0] || (a[0] = (o) => t.$emit("navigation-click", e.item))
@@ -1046,7 +1046,7 @@ const le = {
1046
1046
  }, 8, ["appearance"]);
1047
1047
  };
1048
1048
  }
1049
- }), fr = "#0044f4", mr = "#e0e4ea", gr = "#3a3f51", yr = "1px", vr = "20px", hr = { class: "config-card-details-row" }, br = ["data-testid"], _r = ["data-testid"], wr = ["data-testid"], kr = ["data-testid"], Cr = { key: 1 }, Sr = ["data-testid"], Ir = ["data-testid"], Ar = ["data-testid"], xr = ["data-testid"], Tr = {
1049
+ }), fr = "#0044f4", mr = "#e0e4ea", gr = "#3a3f51", yr = "1px", vr = "20px", hr = { class: "config-card-details-row" }, br = ["data-testid"], wr = ["data-testid"], _r = ["data-testid"], kr = ["data-testid"], Cr = { key: 1 }, Sr = ["data-testid"], Ir = ["data-testid"], Ar = ["data-testid"], xr = ["data-testid"], Tr = {
1050
1050
  name: "ConfigCardItem",
1051
1051
  components: { CopyUuid: fi, JsonCardItem: mi, StatusBadge: pr, InternalLinkItem: dr }
1052
1052
  }, $r = /* @__PURE__ */ ae({
@@ -1071,10 +1071,10 @@ const le = {
1071
1071
  setup(e, { emit: i }) {
1072
1072
  const t = e;
1073
1073
  ra((b) => ({
1074
- "23f3018c": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
- "3815ec6d": u.value && l.value ? "block" : "flex",
1076
- "1957f153": u.value && l.value ? "100%" : t.slim ? "50%" : "25%",
1077
- "195a372e": u.value && l.value ? "100%" : t.slim ? "50%" : "75%"
1074
+ "0fea14db": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
+ "1cf0460e": u.value && l.value ? "block" : "flex",
1076
+ "328cca12": u.value && l.value ? "100%" : t.slim ? "50%" : "25%",
1077
+ "328f0fed": u.value && l.value ? "100%" : t.slim ? "50%" : "75%"
1078
1078
  }));
1079
1079
  const a = it(), { i18n: { t: r, formatUnixTimeStamp: o } } = le.useI18n(), l = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), n = T(() => !!(t.item.tooltip || a["label-tooltip"])), u = T(() => t.item.type === ee.Json || t.item.type === ee.JsonArray), d = T(() => t.item.type === ee.JsonArray), f = T(() => {
1080
1080
  switch (t.item.type) {
@@ -1202,16 +1202,16 @@ const le = {
1202
1202
  text: t.item.value
1203
1203
  };
1204
1204
  }
1205
- }), p = N(), { isTruncated: _ } = le.useTruncationDetector(p);
1206
- return (b, I) => {
1207
- const k = L("KLabel"), v = L("KBadge"), $ = L("KMethodBadge"), s = L("KTooltip");
1205
+ }), p = N(), { isTruncated: w } = le.useTruncationDetector(p);
1206
+ return (b, S) => {
1207
+ const k = L("KLabel"), v = L("KBadge"), $ = L("KTooltip");
1208
1208
  return h(), M("div", hr, [
1209
1209
  F("div", {
1210
1210
  class: "config-card-details-label",
1211
1211
  "data-testid": `${e.item.key}-label`
1212
1212
  }, [
1213
1213
  Z(b.$slots, "label", { item: e.item }, () => [
1214
- S(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1214
+ C(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1215
1215
  default: y(() => [
1216
1216
  G(V(e.item.label) + " ", 1)
1217
1217
  ]),
@@ -1226,7 +1226,7 @@ const le = {
1226
1226
  Z(b.$slots, "label-tooltip", {}, () => [
1227
1227
  G(V(e.item.tooltip), 1)
1228
1228
  ], !0)
1229
- ], 8, _r)
1229
+ ], 8, wr)
1230
1230
  ]),
1231
1231
  key: "0"
1232
1232
  } : void 0
@@ -1247,60 +1247,59 @@ const le = {
1247
1247
  key: 0,
1248
1248
  "data-testid": `${e.item.key}-badge-tags`
1249
1249
  }, [
1250
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(v, {
1251
- key: `${e.item.key}-badge-tag-${C}`,
1250
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1251
+ key: `${e.item.key}-badge-tag-${E}`,
1252
1252
  class: "config-badge",
1253
- "data-testid": `${e.item.key}-badge-tag-${C}`,
1254
- "truncation-tooltip": j
1253
+ "data-testid": `${e.item.key}-badge-tag-${E}`,
1254
+ tooltip: s,
1255
+ "truncation-tooltip": ""
1255
1256
  }, {
1256
1257
  default: y(() => [
1257
- G(V(j), 1)
1258
+ G(V(s), 1)
1258
1259
  ]),
1259
1260
  _: 2
1260
- }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1261
+ }, 1032, ["data-testid", "tooltip"]))), 128))
1261
1262
  ], 8, Sr)) : D("", !0),
1262
1263
  f.value.additionalComponent === "CopyUuid" ? (h(), M("div", {
1263
1264
  key: 1,
1264
1265
  class: "copy-uuid-array",
1265
1266
  "data-testid": `${e.item.key}-copy-uuid-array`
1266
1267
  }, [
1267
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(m(fi), ut(f.value.childAttrs, {
1268
- key: `${e.item.key}-copy-uuid-${C}`,
1269
- "data-testid": `${e.item.key}-copy-uuid-${C}`,
1270
- uuid: j
1268
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(m(fi), ut(f.value.childAttrs, {
1269
+ key: `${e.item.key}-copy-uuid-${E}`,
1270
+ "data-testid": `${e.item.key}-copy-uuid-${E}`,
1271
+ uuid: s
1271
1272
  }), null, 16, ["data-testid", "uuid"]))), 128))
1272
1273
  ], 8, Ir)) : f.value.additionalComponent === "KMethodBadge" ? (h(), M("div", {
1273
1274
  key: 2,
1274
1275
  class: "method-badge-array",
1275
1276
  "data-testid": `${e.item.key}-badge-methods`
1276
1277
  }, [
1277
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P($, {
1278
- key: `${e.item.key}-badge-method-${C}`,
1278
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1279
+ key: `${e.item.key}-badge-method-${E}`,
1280
+ appearance: Object.values(m(ua)).includes(s.toLowerCase()) ? s.toLowerCase() : "custom",
1279
1281
  class: "config-badge",
1280
- "data-testid": `${e.item.key}-badge-method-${C}`,
1281
- "is-rounded": "",
1282
- label: j,
1283
- method: m(ua).includes(j.toLowerCase()) ? j.toLowerCase() : "custom"
1282
+ "data-testid": `${e.item.key}-badge-method-${E}`
1284
1283
  }, {
1285
1284
  default: y(() => [
1286
- G(V(j), 1)
1285
+ G(V(s), 1)
1287
1286
  ]),
1288
1287
  _: 2
1289
- }, 1032, ["data-testid", "label", "method"]))), 128))
1288
+ }, 1032, ["appearance", "data-testid"]))), 128))
1290
1289
  ], 8, Ar)) : D("", !0),
1291
1290
  f.value.additionalComponent === "JsonCardItem" ? (h(), M("div", {
1292
1291
  key: 3,
1293
1292
  "data-testid": `${t.item.key}-json-array-content`
1294
1293
  }, [
1295
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(mi, {
1296
- key: `json-array-item-${C}`,
1297
- index: C,
1294
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(mi, {
1295
+ key: `json-array-item-${E}`,
1296
+ index: E,
1298
1297
  "is-array-item": "",
1299
- item: j
1298
+ item: s
1300
1299
  }, null, 8, ["index", "item"]))), 128))
1301
- ], 8, xr)) : (h(), P(s, {
1300
+ ], 8, xr)) : (h(), P($, {
1302
1301
  key: 4,
1303
- label: m(_) ? e.item.value : ""
1302
+ label: m(w) ? e.item.value : ""
1304
1303
  }, {
1305
1304
  default: y(() => [
1306
1305
  F("span", {
@@ -1319,11 +1318,11 @@ const le = {
1319
1318
  "data-testid": `${e.item.key}-no-value`
1320
1319
  }, " – ", 8, kr))
1321
1320
  ], !0)
1322
- ], 8, wr)
1321
+ ], 8, _r)
1323
1322
  ]);
1324
1323
  };
1325
1324
  }
1326
- }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-e851fc7c"]]);
1325
+ }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-4c7d8cc3"]]);
1327
1326
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1328
1327
  function gi(e) {
1329
1328
  return typeof e > "u" || e === null;
@@ -1331,10 +1330,10 @@ function gi(e) {
1331
1330
  function Mr(e) {
1332
1331
  return typeof e == "object" && e !== null;
1333
1332
  }
1334
- function Er(e) {
1333
+ function jr(e) {
1335
1334
  return Array.isArray(e) ? e : gi(e) ? [] : [e];
1336
1335
  }
1337
- function jr(e, i) {
1336
+ function Er(e, i) {
1338
1337
  var t, a, r, o;
1339
1338
  if (i)
1340
1339
  for (o = Object.keys(i), t = 0, a = o.length; t < a; t += 1)
@@ -1350,7 +1349,7 @@ function Or(e, i) {
1350
1349
  function Vr(e) {
1351
1350
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1352
1351
  }
1353
- var Fr = gi, Nr = Mr, Kr = Er, Lr = Or, qr = Vr, Br = jr, ne = {
1352
+ var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, ne = {
1354
1353
  isNothing: Fr,
1355
1354
  isObject: Nr,
1356
1355
  toArray: Kr,
@@ -1516,16 +1515,16 @@ var vi = pt, hi = new ue("tag:yaml.org,2002:str", {
1516
1515
  construct: function(e) {
1517
1516
  return e !== null ? e : [];
1518
1517
  }
1519
- }), _i = new ue("tag:yaml.org,2002:map", {
1518
+ }), wi = new ue("tag:yaml.org,2002:map", {
1520
1519
  kind: "mapping",
1521
1520
  construct: function(e) {
1522
1521
  return e !== null ? e : {};
1523
1522
  }
1524
- }), wi = new vi({
1523
+ }), _i = new vi({
1525
1524
  explicit: [
1526
1525
  hi,
1527
1526
  bi,
1528
- _i
1527
+ wi
1529
1528
  ]
1530
1529
  });
1531
1530
  function Jr(e) {
@@ -1751,7 +1750,7 @@ var Ii = new ue("tag:yaml.org,2002:float", {
1751
1750
  predicate: po,
1752
1751
  represent: uo,
1753
1752
  defaultStyle: "lowercase"
1754
- }), Ai = wi.extend({
1753
+ }), Ai = _i.extend({
1755
1754
  implicit: [
1756
1755
  ki,
1757
1756
  Ci,
@@ -1767,7 +1766,7 @@ function fo(e) {
1767
1766
  return e === null ? !1 : Ti.exec(e) !== null || $i.exec(e) !== null;
1768
1767
  }
1769
1768
  function mo(e) {
1770
- var i, t, a, r, o, l, n, u = 0, d = null, f, p, _;
1769
+ var i, t, a, r, o, l, n, u = 0, d = null, f, p, w;
1771
1770
  if (i = Ti.exec(e), i === null && (i = $i.exec(e)), i === null)
1772
1771
  throw new Error("Date resolve error");
1773
1772
  if (t = +i[1], a = +i[2] - 1, r = +i[3], !i[4])
@@ -1777,7 +1776,7 @@ function mo(e) {
1777
1776
  u += "0";
1778
1777
  u = +u;
1779
1778
  }
1780
- return i[9] && (f = +i[10], p = +(i[11] || 0), d = (f * 60 + p) * 6e4, i[9] === "-" && (d = -d)), _ = new Date(Date.UTC(t, a, r, o, l, n, u)), d && _.setTime(_.getTime() - d), _;
1779
+ return i[9] && (f = +i[10], p = +(i[11] || 0), d = (f * 60 + p) * 6e4, i[9] === "-" && (d = -d)), w = new Date(Date.UTC(t, a, r, o, l, n, u)), d && w.setTime(w.getTime() - d), w;
1781
1780
  }
1782
1781
  function go(e) {
1783
1782
  return e.toISOString();
@@ -1792,7 +1791,7 @@ var Mi = new ue("tag:yaml.org,2002:timestamp", {
1792
1791
  function yo(e) {
1793
1792
  return e === "<<" || e === null;
1794
1793
  }
1795
- var Ei = new ue("tag:yaml.org,2002:merge", {
1794
+ var ji = new ue("tag:yaml.org,2002:merge", {
1796
1795
  kind: "scalar",
1797
1796
  resolve: yo
1798
1797
  }), Ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1821,16 +1820,16 @@ function bo(e) {
1821
1820
  a % 3 === 0 && a && (i += l[t >> 18 & 63], i += l[t >> 12 & 63], i += l[t >> 6 & 63], i += l[t & 63]), t = (t << 8) + e[a];
1822
1821
  return r = o % 3, r === 0 ? (i += l[t >> 18 & 63], i += l[t >> 12 & 63], i += l[t >> 6 & 63], i += l[t & 63]) : r === 2 ? (i += l[t >> 10 & 63], i += l[t >> 4 & 63], i += l[t << 2 & 63], i += l[64]) : r === 1 && (i += l[t >> 2 & 63], i += l[t << 4 & 63], i += l[64], i += l[64]), i;
1823
1822
  }
1824
- function _o(e) {
1823
+ function wo(e) {
1825
1824
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1826
1825
  }
1827
- var ji = new ue("tag:yaml.org,2002:binary", {
1826
+ var Ei = new ue("tag:yaml.org,2002:binary", {
1828
1827
  kind: "scalar",
1829
1828
  resolve: vo,
1830
1829
  construct: ho,
1831
- predicate: _o,
1830
+ predicate: wo,
1832
1831
  represent: bo
1833
- }), wo = Object.prototype.hasOwnProperty, ko = Object.prototype.toString;
1832
+ }), _o = Object.prototype.hasOwnProperty, ko = Object.prototype.toString;
1834
1833
  function Co(e) {
1835
1834
  if (e === null)
1836
1835
  return !0;
@@ -1839,7 +1838,7 @@ function Co(e) {
1839
1838
  if (r = n[t], l = !1, ko.call(r) !== "[object Object]")
1840
1839
  return !1;
1841
1840
  for (o in r)
1842
- if (wo.call(r, o))
1841
+ if (_o.call(r, o))
1843
1842
  if (!l)
1844
1843
  l = !0;
1845
1844
  else
@@ -1904,15 +1903,15 @@ var Fi = new ue("tag:yaml.org,2002:set", {
1904
1903
  }), St = xi.extend({
1905
1904
  implicit: [
1906
1905
  Mi,
1907
- Ei
1906
+ ji
1908
1907
  ],
1909
1908
  explicit: [
1910
- ji,
1909
+ Ei,
1911
1910
  Oi,
1912
1911
  Vi,
1913
1912
  Fi
1914
1913
  ]
1915
- }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, Eo = 2, qt = 3, jo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1914
+ }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, jo = 2, qt = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1916
1915
  function Bt(e) {
1917
1916
  return Object.prototype.toString.call(e);
1918
1917
  }
@@ -1949,8 +1948,8 @@ function Lo(e) {
1949
1948
  );
1950
1949
  }
1951
1950
  var Bi = new Array(256), Pi = new Array(256);
1952
- for (var Ee = 0; Ee < 256; Ee++)
1953
- Bi[Ee] = Pt(Ee) ? 1 : 0, Pi[Ee] = Pt(Ee);
1951
+ for (var je = 0; je < 256; je++)
1952
+ Bi[je] = Pt(je) ? 1 : 0, Pi[je] = Pt(je);
1954
1953
  function qo(e, i) {
1955
1954
  this.input = e, this.filename = i.filename || null, this.schema = i.schema || St, this.onWarning = i.onWarning || null, this.legacy = i.legacy || !1, this.json = i.json || !1, this.listener = i.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 = [];
1956
1955
  }
@@ -1965,7 +1964,7 @@ function Ui(e, i) {
1965
1964
  };
1966
1965
  return t.snippet = Ur(t), new fe(i, t);
1967
1966
  }
1968
- function E(e, i) {
1967
+ function j(e, i) {
1969
1968
  throw Ui(e, i);
1970
1969
  }
1971
1970
  function Xe(e, i) {
@@ -1974,15 +1973,15 @@ function Xe(e, i) {
1974
1973
  var Ut = {
1975
1974
  YAML: function(e, i, t) {
1976
1975
  var a, r, o;
1977
- e.version !== null && E(e, "duplication of %YAML directive"), t.length !== 1 && E(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && E(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && E(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Xe(e, "unsupported YAML version of the document");
1976
+ e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && j(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Xe(e, "unsupported YAML version of the document");
1978
1977
  },
1979
1978
  TAG: function(e, i, t) {
1980
1979
  var a, r;
1981
- t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && E(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1980
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && j(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1982
1981
  try {
1983
1982
  r = decodeURIComponent(r);
1984
1983
  } catch {
1985
- E(e, "tag prefix is malformed: " + r);
1984
+ j(e, "tag prefix is malformed: " + r);
1986
1985
  }
1987
1986
  e.tagMap[a] = r;
1988
1987
  }
@@ -1992,22 +1991,22 @@ function ke(e, i, t, a) {
1992
1991
  if (i < t) {
1993
1992
  if (n = e.input.slice(i, t), a)
1994
1993
  for (r = 0, o = n.length; r < o; r += 1)
1995
- l = n.charCodeAt(r), l === 9 || 32 <= l && l <= 1114111 || E(e, "expected valid JSON character");
1994
+ l = n.charCodeAt(r), l === 9 || 32 <= l && l <= 1114111 || j(e, "expected valid JSON character");
1996
1995
  else
1997
- jo.test(n) && E(e, "the stream contains non-printable characters");
1996
+ Eo.test(n) && j(e, "the stream contains non-printable characters");
1998
1997
  e.result += n;
1999
1998
  }
2000
1999
  }
2001
2000
  function Rt(e, i, t, a) {
2002
2001
  var r, o, l, n;
2003
- for (ne.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), l = 0, n = r.length; l < n; l += 1)
2002
+ for (ne.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), l = 0, n = r.length; l < n; l += 1)
2004
2003
  o = r[l], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2005
2004
  }
2006
2005
  function Ve(e, i, t, a, r, o, l, n, u) {
2007
2006
  var d, f;
2008
2007
  if (Array.isArray(r))
2009
2008
  for (r = Array.prototype.slice.call(r), d = 0, f = r.length; d < f; d += 1)
2010
- Array.isArray(r[d]) && E(e, "nested arrays are not supported inside keys"), typeof r == "object" && Bt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2009
+ Array.isArray(r[d]) && j(e, "nested arrays are not supported inside keys"), typeof r == "object" && Bt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2011
2010
  if (typeof r == "object" && Bt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), i === null && (i = {}), a === "tag:yaml.org,2002:merge")
2012
2011
  if (Array.isArray(o))
2013
2012
  for (d = 0, f = o.length; d < f; d += 1)
@@ -2015,7 +2014,7 @@ function Ve(e, i, t, a, r, o, l, n, u) {
2015
2014
  else
2016
2015
  Rt(e, i, o, t);
2017
2016
  else
2018
- !e.json && !Ce.call(t, r) && Ce.call(i, r) && (e.line = l || e.line, e.lineStart = n || e.lineStart, e.position = u || e.position, E(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2017
+ !e.json && !Ce.call(t, r) && Ce.call(i, r) && (e.line = l || e.line, e.lineStart = n || e.lineStart, e.position = u || e.position, j(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2019
2018
  configurable: !0,
2020
2019
  enumerable: !0,
2021
2020
  writable: !0,
@@ -2025,7 +2024,7 @@ function Ve(e, i, t, a, r, o, l, n, u) {
2025
2024
  }
2026
2025
  function It(e) {
2027
2026
  var i;
2028
- i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 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;
2027
+ i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
2029
2028
  }
2030
2029
  function oe(e, i, t) {
2031
2030
  for (var a = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
@@ -2052,7 +2051,7 @@ function At(e, i) {
2052
2051
  `, i - 1));
2053
2052
  }
2054
2053
  function Bo(e, i, t) {
2055
- var a, r, o, l, n, u, d, f, p = e.kind, _ = e.result, b;
2054
+ var a, r, o, l, n, u, d, f, p = e.kind, w = e.result, b;
2056
2055
  if (b = e.input.charCodeAt(e.position), me(b) || Oe(b) || b === 35 || b === 38 || b === 42 || b === 33 || b === 124 || b === 62 || b === 39 || b === 34 || b === 37 || b === 64 || b === 96 || (b === 63 || b === 45) && (r = e.input.charCodeAt(e.position + 1), me(r) || t && Oe(r)))
2057
2056
  return !1;
2058
2057
  for (e.kind = "scalar", e.result = "", o = l = e.position, n = !1; b !== 0; ) {
@@ -2076,7 +2075,7 @@ function Bo(e, i, t) {
2076
2075
  }
2077
2076
  n && (ke(e, o, l, !1), At(e, e.line - u), o = l = e.position, n = !1), Te(b) || (l = e.position + 1), b = e.input.charCodeAt(++e.position);
2078
2077
  }
2079
- return ke(e, o, l, !1), e.result ? !0 : (e.kind = p, e.result = _, !1);
2078
+ return ke(e, o, l, !1), e.result ? !0 : (e.kind = p, e.result = w, !1);
2080
2079
  }
2081
2080
  function Po(e, i) {
2082
2081
  var t, a, r;
@@ -2089,8 +2088,8 @@ function Po(e, i) {
2089
2088
  else
2090
2089
  return !0;
2091
2090
  else
2092
- he(t) ? (ke(e, a, r, !0), At(e, oe(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2093
- E(e, "unexpected end of the stream within a single quoted scalar");
2091
+ he(t) ? (ke(e, a, r, !0), At(e, oe(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2092
+ j(e, "unexpected end of the stream within a single quoted scalar");
2094
2093
  }
2095
2094
  function Uo(e, i) {
2096
2095
  var t, a, r, o, l, n;
@@ -2106,18 +2105,18 @@ function Uo(e, i) {
2106
2105
  e.result += Pi[n], e.position++;
2107
2106
  else if ((l = No(n)) > 0) {
2108
2107
  for (r = l, o = 0; r > 0; r--)
2109
- n = e.input.charCodeAt(++e.position), (l = Fo(n)) >= 0 ? o = (o << 4) + l : E(e, "expected hexadecimal character");
2108
+ n = e.input.charCodeAt(++e.position), (l = Fo(n)) >= 0 ? o = (o << 4) + l : j(e, "expected hexadecimal character");
2110
2109
  e.result += Lo(o), e.position++;
2111
2110
  } else
2112
- E(e, "unknown escape sequence");
2111
+ j(e, "unknown escape sequence");
2113
2112
  t = a = e.position;
2114
2113
  } else
2115
- he(n) ? (ke(e, t, a, !0), At(e, oe(e, !1, i)), t = a = e.position) : e.position === e.lineStart && at(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2114
+ he(n) ? (ke(e, t, a, !0), At(e, oe(e, !1, i)), t = a = e.position) : e.position === e.lineStart && at(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2116
2115
  }
2117
- E(e, "unexpected end of the stream within a double quoted scalar");
2116
+ j(e, "unexpected end of the stream within a double quoted scalar");
2118
2117
  }
2119
2118
  function Ro(e, i) {
2120
- var t = !0, a, r, o, l = e.tag, n, u = e.anchor, d, f, p, _, b, I = /* @__PURE__ */ Object.create(null), k, v, $, s;
2119
+ var t = !0, a, r, o, l = e.tag, n, u = e.anchor, d, f, p, w, b, S = /* @__PURE__ */ Object.create(null), k, v, $, s;
2121
2120
  if (s = e.input.charCodeAt(e.position), s === 91)
2122
2121
  f = 93, b = !1, n = [];
2123
2122
  else if (s === 123)
@@ -2127,9 +2126,9 @@ function Ro(e, i) {
2127
2126
  for (e.anchor !== null && (e.anchorMap[e.anchor] = n), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2128
2127
  if (oe(e, !0, i), s = e.input.charCodeAt(e.position), s === f)
2129
2128
  return e.position++, e.tag = l, e.anchor = u, e.kind = b ? "mapping" : "sequence", e.result = n, !0;
2130
- t ? s === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), v = k = $ = null, p = _ = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = _ = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (_ || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), b ? Ve(e, n, I, v, k, $, a, r, o) : p ? n.push(Ve(e, null, I, v, k, $, a, r, o)) : n.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2129
+ t ? s === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), v = k = $ = null, p = w = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = w = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (w || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), b ? Ve(e, n, S, v, k, $, a, r, o) : p ? n.push(Ve(e, null, S, v, k, $, a, r, o)) : n.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2131
2130
  }
2132
- E(e, "unexpected end of the stream within a flow collection");
2131
+ j(e, "unexpected end of the stream within a flow collection");
2133
2132
  }
2134
2133
  function Do(e, i) {
2135
2134
  var t, a, r = ct, o = !1, l = !1, n = i, u = 0, d = !1, f, p;
@@ -2141,9 +2140,9 @@ function Do(e, i) {
2141
2140
  return !1;
2142
2141
  for (e.kind = "scalar", e.result = ""; p !== 0; )
2143
2142
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2144
- ct === r ? r = p === 43 ? qt : Eo : E(e, "repeat of a chomping mode identifier");
2143
+ ct === r ? r = p === 43 ? qt : jo : j(e, "repeat of a chomping mode identifier");
2145
2144
  else if ((f = Ko(p)) >= 0)
2146
- f === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : l ? E(e, "repeat of an indentation width identifier") : (n = i + f - 1, l = !0);
2145
+ f === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : l ? j(e, "repeat of an indentation width identifier") : (n = i + f - 1, l = !0);
2147
2146
  else
2148
2147
  break;
2149
2148
  if (Te(p)) {
@@ -2182,25 +2181,25 @@ function Dt(e, i) {
2182
2181
  var t, a = e.tag, r = e.anchor, o = [], l, n = !1, u;
2183
2182
  if (e.firstTabInLine !== -1)
2184
2183
  return !1;
2185
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(u !== 45 || (l = e.input.charCodeAt(e.position + 1), !me(l)))); ) {
2184
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(u !== 45 || (l = e.input.charCodeAt(e.position + 1), !me(l)))); ) {
2186
2185
  if (n = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= i) {
2187
2186
  o.push(null), u = e.input.charCodeAt(e.position);
2188
2187
  continue;
2189
2188
  }
2190
2189
  if (t = e.line, Ke(e, i, Ki, !1, !0), o.push(e.result), oe(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && u !== 0)
2191
- E(e, "bad indentation of a sequence entry");
2190
+ j(e, "bad indentation of a sequence entry");
2192
2191
  else if (e.lineIndent < i)
2193
2192
  break;
2194
2193
  }
2195
2194
  return n ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2196
2195
  }
2197
2196
  function Ho(e, i, t) {
2198
- var a, r, o, l, n, u, d = e.tag, f = e.anchor, p = {}, _ = /* @__PURE__ */ Object.create(null), b = null, I = null, k = null, v = !1, $ = !1, s;
2197
+ var a, r, o, l, n, u, d = e.tag, f = e.anchor, p = {}, w = /* @__PURE__ */ Object.create(null), b = null, S = null, k = null, v = !1, $ = !1, s;
2199
2198
  if (e.firstTabInLine !== -1)
2200
2199
  return !1;
2201
2200
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), s = e.input.charCodeAt(e.position); s !== 0; ) {
2202
- if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2203
- s === 63 ? (v && (Ve(e, p, _, b, I, null, l, n, u), b = I = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2201
+ if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2202
+ s === 63 ? (v && (Ve(e, p, w, b, S, null, l, n, u), b = S = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2204
2203
  else {
2205
2204
  if (l = e.line, n = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2206
2205
  break;
@@ -2208,52 +2207,52 @@ function Ho(e, i, t) {
2208
2207
  for (s = e.input.charCodeAt(e.position); Te(s); )
2209
2208
  s = e.input.charCodeAt(++e.position);
2210
2209
  if (s === 58)
2211
- s = e.input.charCodeAt(++e.position), me(s) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ve(e, p, _, b, I, null, l, n, u), b = I = k = null), $ = !0, v = !1, r = !1, b = e.tag, I = e.result;
2210
+ s = e.input.charCodeAt(++e.position), me(s) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ve(e, p, w, b, S, null, l, n, u), b = S = k = null), $ = !0, v = !1, r = !1, b = e.tag, S = e.result;
2212
2211
  else if ($)
2213
- E(e, "can not read an implicit mapping pair; a colon is missed");
2212
+ j(e, "can not read an implicit mapping pair; a colon is missed");
2214
2213
  else
2215
2214
  return e.tag = d, e.anchor = f, !0;
2216
2215
  } else if ($)
2217
- E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2216
+ j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2218
2217
  else
2219
2218
  return e.tag = d, e.anchor = f, !0;
2220
2219
  }
2221
- if ((e.line === o || e.lineIndent > i) && (v && (l = e.line, n = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? I = e.result : k = e.result), v || (Ve(e, p, _, b, I, k, l, n, u), b = I = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2222
- E(e, "bad indentation of a mapping entry");
2220
+ if ((e.line === o || e.lineIndent > i) && (v && (l = e.line, n = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? S = e.result : k = e.result), v || (Ve(e, p, w, b, S, k, l, n, u), b = S = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2221
+ j(e, "bad indentation of a mapping entry");
2223
2222
  else if (e.lineIndent < i)
2224
2223
  break;
2225
2224
  }
2226
- return v && Ve(e, p, _, b, I, null, l, n, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2225
+ return v && Ve(e, p, w, b, S, null, l, n, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2227
2226
  }
2228
2227
  function zo(e) {
2229
2228
  var i, t = !1, a = !1, r, o, l;
2230
2229
  if (l = e.input.charCodeAt(e.position), l !== 33)
2231
2230
  return !1;
2232
- if (e.tag !== null && E(e, "duplication of a tag property"), l = e.input.charCodeAt(++e.position), l === 60 ? (t = !0, l = e.input.charCodeAt(++e.position)) : l === 33 ? (a = !0, r = "!!", l = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2231
+ if (e.tag !== null && j(e, "duplication of a tag property"), l = e.input.charCodeAt(++e.position), l === 60 ? (t = !0, l = e.input.charCodeAt(++e.position)) : l === 33 ? (a = !0, r = "!!", l = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2233
2232
  do
2234
2233
  l = e.input.charCodeAt(++e.position);
2235
2234
  while (l !== 0 && l !== 62);
2236
- e.position < e.length ? (o = e.input.slice(i, e.position), l = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2235
+ e.position < e.length ? (o = e.input.slice(i, e.position), l = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2237
2236
  } else {
2238
2237
  for (; l !== 0 && !me(l); )
2239
- l === 33 && (a ? E(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Li.test(r) || E(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), l = e.input.charCodeAt(++e.position);
2240
- o = e.input.slice(i, e.position), Vo.test(o) && E(e, "tag suffix cannot contain flow indicator characters");
2238
+ l === 33 && (a ? j(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Li.test(r) || j(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), l = e.input.charCodeAt(++e.position);
2239
+ o = e.input.slice(i, e.position), Vo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2241
2240
  }
2242
- o && !qi.test(o) && E(e, "tag name cannot contain such characters: " + o);
2241
+ o && !qi.test(o) && j(e, "tag name cannot contain such characters: " + o);
2243
2242
  try {
2244
2243
  o = decodeURIComponent(o);
2245
2244
  } catch {
2246
- E(e, "tag name is malformed: " + o);
2245
+ j(e, "tag name is malformed: " + o);
2247
2246
  }
2248
- return t ? e.tag = o : Ce.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : E(e, 'undeclared tag handle "' + r + '"'), !0;
2247
+ return t ? e.tag = o : Ce.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : j(e, 'undeclared tag handle "' + r + '"'), !0;
2249
2248
  }
2250
2249
  function Go(e) {
2251
2250
  var i, t;
2252
2251
  if (t = e.input.charCodeAt(e.position), t !== 38)
2253
2252
  return !1;
2254
- for (e.anchor !== null && E(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2253
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2255
2254
  t = e.input.charCodeAt(++e.position);
2256
- return e.position === i && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2255
+ return e.position === i && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2257
2256
  }
2258
2257
  function Jo(e) {
2259
2258
  var i, t, a;
@@ -2261,31 +2260,31 @@ function Jo(e) {
2261
2260
  return !1;
2262
2261
  for (a = e.input.charCodeAt(++e.position), i = e.position; a !== 0 && !me(a) && !Oe(a); )
2263
2262
  a = e.input.charCodeAt(++e.position);
2264
- return e.position === i && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2263
+ return e.position === i && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2265
2264
  }
2266
2265
  function Ke(e, i, t, a, r) {
2267
- var o, l, n, u = 1, d = !1, f = !1, p, _, b, I, k, v;
2266
+ var o, l, n, u = 1, d = !1, f = !1, p, w, b, S, k, v;
2268
2267
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = l = n = Qe === t || Ki === t, a && oe(e, !0, -1) && (d = !0, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)), u === 1)
2269
2268
  for (; zo(e) || Go(e); )
2270
2269
  oe(e, !0, -1) ? (d = !0, n = o, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)) : n = !1;
2271
- if (n && (n = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? n && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (l && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Jo(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = n && Dt(e, v))), e.tag === null)
2270
+ if (n && (n = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? n && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (l && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Jo(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = n && Dt(e, v))), e.tag === null)
2272
2271
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2273
2272
  else if (e.tag === "?") {
2274
- for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, _ = e.implicitTypes.length; p < _; p += 1)
2275
- if (I = e.implicitTypes[p], I.resolve(e.result)) {
2276
- e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2273
+ for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, w = e.implicitTypes.length; p < w; p += 1)
2274
+ if (S = e.implicitTypes[p], S.resolve(e.result)) {
2275
+ e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2277
2276
  break;
2278
2277
  }
2279
2278
  } else if (e.tag !== "!") {
2280
2279
  if (Ce.call(e.typeMap[e.kind || "fallback"], e.tag))
2281
- I = e.typeMap[e.kind || "fallback"][e.tag];
2280
+ S = e.typeMap[e.kind || "fallback"][e.tag];
2282
2281
  else
2283
- for (I = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, _ = b.length; p < _; p += 1)
2282
+ for (S = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, w = b.length; p < w; p += 1)
2284
2283
  if (e.tag.slice(0, b[p].tag.length) === b[p].tag) {
2285
- I = b[p];
2284
+ S = b[p];
2286
2285
  break;
2287
2286
  }
2288
- 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");
2287
+ S || j(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && j(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)) : j(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2289
2288
  }
2290
2289
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || f;
2291
2290
  }
@@ -2294,7 +2293,7 @@ function Wo(e) {
2294
2293
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (l = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), l = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || l !== 37)); ) {
2295
2294
  for (o = !0, l = e.input.charCodeAt(++e.position), t = e.position; l !== 0 && !me(l); )
2296
2295
  l = e.input.charCodeAt(++e.position);
2297
- for (a = e.input.slice(t, e.position), r = [], a.length < 1 && E(e, "directive name must not be less than one character in length"); l !== 0; ) {
2296
+ for (a = e.input.slice(t, e.position), r = [], a.length < 1 && j(e, "directive name must not be less than one character in length"); l !== 0; ) {
2298
2297
  for (; Te(l); )
2299
2298
  l = e.input.charCodeAt(++e.position);
2300
2299
  if (l === 35) {
@@ -2311,12 +2310,12 @@ function Wo(e) {
2311
2310
  }
2312
2311
  l !== 0 && It(e), Ce.call(Ut, a) ? Ut[a](e, a, r) : Xe(e, 'unknown document directive "' + a + '"');
2313
2312
  }
2314
- 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)) : o && E(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, Qe, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Oo.test(e.input.slice(i, e.position)) && Xe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2313
+ 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)) : o && j(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, Qe, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Oo.test(e.input.slice(i, e.position)) && Xe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2315
2314
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2316
2315
  return;
2317
2316
  }
2318
2317
  if (e.position < e.length - 1)
2319
- E(e, "end of the stream or a document separator is expected");
2318
+ j(e, "end of the stream or a document separator is expected");
2320
2319
  else
2321
2320
  return;
2322
2321
  }
@@ -2324,7 +2323,7 @@ function Ri(e, i) {
2324
2323
  e = String(e), i = i || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2325
2324
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2326
2325
  var t = new qo(e, i), a = e.indexOf("\0");
2327
- for (a !== -1 && (t.position = a, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2326
+ for (a !== -1 && (t.position = a, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2328
2327
  t.lineIndent += 1, t.position += 1;
2329
2328
  for (; t.position < t.length - 1; )
2330
2329
  Wo(t);
@@ -2391,7 +2390,7 @@ function bn(e, i) {
2391
2390
  l = a[r], n = String(i[l]), l.slice(0, 2) === "!!" && (l = "tag:yaml.org,2002:" + l.slice(2)), u = e.compiledTypeMap.fallback[l], u && zi.call(u.styleAliases, n) && (n = u.styleAliases[n]), t[l] = n;
2392
2391
  return t;
2393
2392
  }
2394
- function _n(e) {
2393
+ function wn(e) {
2395
2394
  var i, t, a;
2396
2395
  if (i = e.toString(16).toUpperCase(), e <= 255)
2397
2396
  t = "x", a = 2;
@@ -2403,9 +2402,9 @@ function _n(e) {
2403
2402
  throw new fe("code point within a string may not be greater than 0xFFFFFFFF");
2404
2403
  return "\\" + t + ne.repeat("0", a - i.length) + i;
2405
2404
  }
2406
- var wn = 1, Ge = 2;
2405
+ var _n = 1, Ge = 2;
2407
2406
  function kn(e) {
2408
- this.schema = e.schema || St, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ne.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = bn(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 === '"' ? Ge : wn, 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;
2407
+ this.schema = e.schema || St, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ne.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = bn(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 === '"' ? Ge : _n, 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;
2409
2408
  }
2410
2409
  function Ht(e, i) {
2411
2410
  for (var t = ne.repeat(" ", i), a = 0, r = -1, o = "", l, n = e.length; a < n; )
@@ -2458,27 +2457,27 @@ function Qi(e) {
2458
2457
  var i = /^\n* /;
2459
2458
  return i.test(e);
2460
2459
  }
2461
- var Xi = 1, gt = 2, ea = 3, ta = 4, je = 5;
2460
+ var Xi = 1, gt = 2, ea = 3, ta = 4, Ee = 5;
2462
2461
  function An(e, i, t, a, r, o, l, n) {
2463
- var u, d = 0, f = null, p = !1, _ = !1, b = a !== -1, I = -1, k = Sn(Pe(e, 0)) && In(Pe(e, e.length - 1));
2462
+ var u, d = 0, f = null, p = !1, w = !1, b = a !== -1, S = -1, k = Sn(Pe(e, 0)) && In(Pe(e, e.length - 1));
2464
2463
  if (i || l)
2465
2464
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2466
2465
  if (d = Pe(e, u), !Je(d))
2467
- return je;
2466
+ return Ee;
2468
2467
  k = k && Gt(d, f, n), f = d;
2469
2468
  }
2470
2469
  else {
2471
2470
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2472
2471
  if (d = Pe(e, u), d === ze)
2473
- p = !0, b && (_ = _ || // Foldable line = too long, and not more-indented.
2474
- u - I - 1 > a && e[I + 1] !== " ", I = u);
2472
+ p = !0, b && (w = w || // Foldable line = too long, and not more-indented.
2473
+ u - S - 1 > a && e[S + 1] !== " ", S = u);
2475
2474
  else if (!Je(d))
2476
- return je;
2475
+ return Ee;
2477
2476
  k = k && Gt(d, f, n), f = d;
2478
2477
  }
2479
- _ = _ || b && u - I - 1 > a && e[I + 1] !== " ";
2478
+ w = w || b && u - S - 1 > a && e[S + 1] !== " ";
2480
2479
  }
2481
- return !p && !_ ? k && !l && !r(e) ? Xi : o === Ge ? je : gt : t > 9 && Qi(e) ? je : l ? o === Ge ? je : gt : _ ? ta : ea;
2480
+ return !p && !w ? k && !l && !r(e) ? Xi : o === Ge ? Ee : gt : t > 9 && Qi(e) ? Ee : l ? o === Ge ? Ee : gt : w ? ta : ea;
2482
2481
  }
2483
2482
  function xn(e, i, t, a, r) {
2484
2483
  e.dump = function() {
@@ -2508,7 +2507,7 @@ function xn(e, i, t, a, r) {
2508
2507
  return "|" + Jt(i, e.indent) + Wt(Ht(i, o));
2509
2508
  case ta:
2510
2509
  return ">" + Jt(i, e.indent) + Wt(Ht(Tn(i, l), o));
2511
- case je:
2510
+ case Ee:
2512
2511
  return '"' + $n(i) + '"';
2513
2512
  default:
2514
2513
  throw new fe("impossible error: invalid scalar style");
@@ -2552,29 +2551,29 @@ function Yt(e, i) {
2552
2551
  }
2553
2552
  function $n(e) {
2554
2553
  for (var i = "", t = 0, a, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2555
- t = Pe(e, r), a = pe[t], !a && Je(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || _n(t);
2554
+ t = Pe(e, r), a = pe[t], !a && Je(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || wn(t);
2556
2555
  return i;
2557
2556
  }
2558
2557
  function Mn(e, i, t) {
2559
2558
  var a = "", r = e.tag, o, l, n;
2560
2559
  for (o = 0, l = t.length; o < l; o += 1)
2561
- n = t[o], e.replacer && (n = e.replacer.call(t, String(o), n)), (we(e, i, n, !1, !1) || typeof n > "u" && we(e, i, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2560
+ n = t[o], e.replacer && (n = e.replacer.call(t, String(o), n)), (_e(e, i, n, !1, !1) || typeof n > "u" && _e(e, i, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2562
2561
  e.tag = r, e.dump = "[" + a + "]";
2563
2562
  }
2564
2563
  function Zt(e, i, t, a) {
2565
2564
  var r = "", o = e.tag, l, n, u;
2566
2565
  for (l = 0, n = t.length; l < n; l += 1)
2567
- u = t[l], e.replacer && (u = e.replacer.call(t, String(l), u)), (we(e, i + 1, u, !0, !0, !1, !0) || typeof u > "u" && we(e, i + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += mt(e, i)), e.dump && ze === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2566
+ u = t[l], e.replacer && (u = e.replacer.call(t, String(l), u)), (_e(e, i + 1, u, !0, !0, !1, !0) || typeof u > "u" && _e(e, i + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += mt(e, i)), e.dump && ze === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2568
2567
  e.tag = o, e.dump = r || "[]";
2569
2568
  }
2570
- function En(e, i, t) {
2569
+ function jn(e, i, t) {
2571
2570
  var a = "", r = e.tag, o = Object.keys(t), l, n, u, d, f;
2572
2571
  for (l = 0, n = o.length; l < n; l += 1)
2573
- f = "", a !== "" && (f += ", "), e.condenseFlow && (f += '"'), u = o[l], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), we(e, i, u, !1, !1) && (e.dump.length > 1024 && (f += "? "), f += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), we(e, i, d, !1, !1) && (f += e.dump, a += f));
2572
+ f = "", a !== "" && (f += ", "), e.condenseFlow && (f += '"'), u = o[l], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), _e(e, i, u, !1, !1) && (e.dump.length > 1024 && (f += "? "), f += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), _e(e, i, d, !1, !1) && (f += e.dump, a += f));
2574
2573
  e.tag = r, e.dump = "{" + a + "}";
2575
2574
  }
2576
- function jn(e, i, t, a) {
2577
- var r = "", o = e.tag, l = Object.keys(t), n, u, d, f, p, _;
2575
+ function En(e, i, t, a) {
2576
+ var r = "", o = e.tag, l = Object.keys(t), n, u, d, f, p, w;
2578
2577
  if (e.sortKeys === !0)
2579
2578
  l.sort();
2580
2579
  else if (typeof e.sortKeys == "function")
@@ -2582,7 +2581,7 @@ function jn(e, i, t, a) {
2582
2581
  else if (e.sortKeys)
2583
2582
  throw new fe("sortKeys must be a boolean or a function");
2584
2583
  for (n = 0, u = l.length; n < u; n += 1)
2585
- _ = "", (!a || r !== "") && (_ += mt(e, i)), d = l[n], f = t[d], e.replacer && (f = e.replacer.call(t, d, f)), we(e, i + 1, d, !0, !0, !0) && (p = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p && (e.dump && ze === e.dump.charCodeAt(0) ? _ += "?" : _ += "? "), _ += e.dump, p && (_ += mt(e, i)), we(e, i + 1, f, !0, p) && (e.dump && ze === e.dump.charCodeAt(0) ? _ += ":" : _ += ": ", _ += e.dump, r += _));
2584
+ w = "", (!a || r !== "") && (w += mt(e, i)), d = l[n], f = t[d], e.replacer && (f = e.replacer.call(t, d, f)), _e(e, i + 1, d, !0, !0, !0) && (p = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p && (e.dump && ze === e.dump.charCodeAt(0) ? w += "?" : w += "? "), w += e.dump, p && (w += mt(e, i)), _e(e, i + 1, f, !0, p) && (e.dump && ze === e.dump.charCodeAt(0) ? w += ":" : w += ": ", w += e.dump, r += w));
2586
2585
  e.tag = o, e.dump = r || "{}";
2587
2586
  }
2588
2587
  function Qt(e, i, t) {
@@ -2602,18 +2601,18 @@ function Qt(e, i, t) {
2602
2601
  }
2603
2602
  return !1;
2604
2603
  }
2605
- function we(e, i, t, a, r, o, l) {
2604
+ function _e(e, i, t, a, r, o, l) {
2606
2605
  e.tag = null, e.dump = t, Qt(e, t, !1) || Qt(e, t, !0);
2607
2606
  var n = Hi.call(e.dump), u = a, d;
2608
2607
  a && (a = e.flowLevel < 0 || e.flowLevel > i);
2609
- var f = n === "[object Object]" || n === "[object Array]", p, _;
2610
- if (f && (p = e.duplicates.indexOf(t), _ = p !== -1), (e.tag !== null && e.tag !== "?" || _ || e.indent !== 2 && i > 0) && (r = !1), _ && e.usedDuplicates[p])
2608
+ var f = n === "[object Object]" || n === "[object Array]", p, w;
2609
+ if (f && (p = e.duplicates.indexOf(t), w = p !== -1), (e.tag !== null && e.tag !== "?" || w || e.indent !== 2 && i > 0) && (r = !1), w && e.usedDuplicates[p])
2611
2610
  e.dump = "*ref_" + p;
2612
2611
  else {
2613
- if (f && _ && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), n === "[object Object]")
2614
- a && Object.keys(e.dump).length !== 0 ? (jn(e, i, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (En(e, i, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2612
+ if (f && w && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), n === "[object Object]")
2613
+ a && Object.keys(e.dump).length !== 0 ? (En(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (jn(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2615
2614
  else if (n === "[object Array]")
2616
- a && e.dump.length !== 0 ? (e.noArrayIndent && !l && i > 0 ? Zt(e, i - 1, e.dump, r) : Zt(e, i, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (Mn(e, i, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2615
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !l && i > 0 ? Zt(e, i - 1, e.dump, r) : Zt(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (Mn(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2617
2616
  else if (n === "[object String]")
2618
2617
  e.tag !== "?" && xn(e, e.dump, i, o, u);
2619
2618
  else {
@@ -2650,7 +2649,7 @@ function Vn(e, i) {
2650
2649
  var t = new kn(i);
2651
2650
  t.noRefs || On(e, t);
2652
2651
  var a = e;
2653
- return t.replacer && (a = t.replacer.call({ "": a }, "", a)), we(t, 0, a, !0, !0) ? t.dump + `
2652
+ return t.replacer && (a = t.replacer.call({ "": a }, "", a)), _e(t, 0, a, !0, !0) ? t.dump + `
2654
2653
  ` : "";
2655
2654
  }
2656
2655
  var Fn = Vn, Nn = {
@@ -2661,17 +2660,17 @@ function Tt(e, i) {
2661
2660
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + i + " instead, which is now safe by default.");
2662
2661
  };
2663
2662
  }
2664
- var Kn = ue, Ln = vi, qn = wi, Bn = Ai, Pn = xi, Un = St, Rn = Di.load, Dn = Di.loadAll, Hn = Nn.dump, zn = fe, Gn = {
2665
- binary: ji,
2663
+ var Kn = ue, Ln = vi, qn = _i, Bn = Ai, Pn = xi, Un = St, Rn = Di.load, Dn = Di.loadAll, Hn = Nn.dump, zn = fe, Gn = {
2664
+ binary: Ei,
2666
2665
  float: Ii,
2667
- map: _i,
2666
+ map: wi,
2668
2667
  null: ki,
2669
2668
  pairs: Vi,
2670
2669
  set: Fi,
2671
2670
  timestamp: Mi,
2672
2671
  bool: Ci,
2673
2672
  int: Si,
2674
- merge: Ei,
2673
+ merge: ji,
2675
2674
  omap: Oi,
2676
2675
  seq: bi,
2677
2676
  str: hi
@@ -2752,10 +2751,10 @@ const Qn = {
2752
2751
  label: y(() => [
2753
2752
  Z(n.$slots, `${p.key}-label`, { row: p }, void 0, !0)
2754
2753
  ]),
2755
- [p.key]: y(({ rowValue: _ }) => [
2754
+ [p.key]: y(({ rowValue: w }) => [
2756
2755
  Z(n.$slots, p.key, {
2757
2756
  row: p,
2758
- rowValue: _
2757
+ rowValue: w
2759
2758
  }, void 0, !0)
2760
2759
  ]),
2761
2760
  _: 2
@@ -2771,7 +2770,7 @@ const Qn = {
2771
2770
  ], 10, Xn))), 128))
2772
2771
  ])) : D("", !0),
2773
2772
  e.format === "json" ? (h(), M("div", tl, [
2774
- S(d, {
2773
+ C(d, {
2775
2774
  id: "config-card-codeblock",
2776
2775
  code: o.value,
2777
2776
  language: "json",
@@ -2779,7 +2778,7 @@ const Qn = {
2779
2778
  }, null, 8, ["code"])
2780
2779
  ])) : D("", !0),
2781
2780
  e.format === "yaml" ? (h(), M("div", il, [
2782
- S(d, {
2781
+ C(d, {
2783
2782
  id: "config-card-codeblock",
2784
2783
  code: l.value,
2785
2784
  language: "yaml",
@@ -2993,9 +2992,9 @@ const Qn = {
2993
2992
  label: "YAML",
2994
2993
  value: "yaml"
2995
2994
  }
2996
- ], f = N("structured"), p = (x) => {
2997
- f.value = x == null ? void 0 : x.value;
2998
- }, _ = {
2995
+ ], f = N("structured"), p = (A) => {
2996
+ f.value = A == null ? void 0 : A.value;
2997
+ }, w = {
2999
2998
  id: {
3000
2999
  type: ee.ID,
3001
3000
  label: o("baseConfigCard.commonFields.id_label"),
@@ -3029,13 +3028,13 @@ const Qn = {
3029
3028
  // the last property displayed
3030
3029
  section: de.Basic
3031
3030
  }
3032
- }, b = N(!1), I = N(!1), k = N(""), v = N(), $ = T(() => {
3033
- var x, q, U;
3031
+ }, b = N(!1), S = N(!1), k = N(""), v = N(), $ = T(() => {
3032
+ var A, q, U;
3034
3033
  if (!v.value)
3035
3034
  return [];
3036
3035
  const K = [], H = Object.keys(v.value).length;
3037
3036
  for (const R in v.value) {
3038
- const Q = (q = (x = a.configSchema) == null ? void 0 : x[R]) == null ? void 0 : q.order, z = (U = _[R]) == null ? void 0 : U.order;
3037
+ const Q = (q = (A = a.configSchema) == null ? void 0 : A[R]) == null ? void 0 : q.order, z = (U = w[R]) == null ? void 0 : U.order;
3039
3038
  let ie = H;
3040
3039
  (z || z === 0) && (ie = z === -1 ? H + 1 : z), Q && (ie = Q === -1 ? H + 1 : Q), K.push([R, ie]);
3041
3040
  }
@@ -3043,7 +3042,7 @@ const Qn = {
3043
3042
  return R[1] - Q[1];
3044
3043
  }), K.map((R) => {
3045
3044
  var Q, z;
3046
- const ie = R[0], Y = (Q = v.value) == null ? void 0 : Q[ie], X = ((z = a.configSchema) == null ? void 0 : z[ie]) || {}, ce = _[ie];
3045
+ const ie = R[0], Y = (Q = v.value) == null ? void 0 : Q[ie], X = ((z = a.configSchema) == null ? void 0 : z[ie]) || {}, ce = w[ie];
3047
3046
  return {
3048
3047
  key: ie,
3049
3048
  value: Y,
@@ -3055,12 +3054,12 @@ const Qn = {
3055
3054
  };
3056
3055
  }).filter((R) => !R.hidden && R.key !== a.pluginConfigKey);
3057
3056
  }), s = T(() => {
3058
- var x, q;
3057
+ var A, q;
3059
3058
  if (!v.value || !a.pluginConfigKey)
3060
3059
  return [];
3061
3060
  const U = v.value[a.pluginConfigKey] || {}, K = Object.keys(U).length, H = [];
3062
3061
  for (const R in U) {
3063
- const Q = (q = (x = a.pluginConfigSchema) == null ? void 0 : x[R]) == null ? void 0 : q.order, z = U[R];
3062
+ const Q = (q = (A = a.pluginConfigSchema) == null ? void 0 : A[R]) == null ? void 0 : q.order, z = U[R];
3064
3063
  let ie = z != null && z !== "" ? K - 1 : K;
3065
3064
  Q && (ie = Q === -1 ? K + 1 : Q), H.push([R, ie]);
3066
3065
  }
@@ -3079,51 +3078,51 @@ const Qn = {
3079
3078
  section: de.Plugin
3080
3079
  };
3081
3080
  }).filter((R) => !R.hidden);
3082
- }), j = T(() => {
3083
- var x, q, U, K;
3081
+ }), E = T(() => {
3082
+ var A, q, U, K;
3084
3083
  return {
3085
- basic: (x = $.value) == null ? void 0 : x.filter((H) => H.section === de.Basic),
3084
+ basic: (A = $.value) == null ? void 0 : A.filter((H) => H.section === de.Basic),
3086
3085
  advanced: (q = $.value) == null ? void 0 : q.filter((H) => H.section === de.Advanced),
3087
3086
  plugin: (K = s.value) == null ? void 0 : K.concat((U = $.value) == null ? void 0 : U.filter((H) => H.section === de.Plugin))
3088
3087
  };
3089
- }), C = T(() => {
3090
- const x = [];
3091
- return j.value.basic.length && x.push("basic"), j.value.advanced.length && x.push("advanced"), j.value.plugin.length && x.push("plugin"), x;
3092
- }), B = (x) => !!(x.tooltip || r[`${x.key}-label-tooltip`]), re = T(() => {
3093
- var x, q;
3088
+ }), x = T(() => {
3089
+ const A = [];
3090
+ return E.value.basic.length && A.push("basic"), E.value.advanced.length && A.push("advanced"), E.value.plugin.length && A.push("plugin"), A;
3091
+ }), B = (A) => !!(A.tooltip || r[`${A.key}-label-tooltip`]), re = T(() => {
3092
+ var A, q;
3094
3093
  let U = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3095
- return a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((x = a.config) == null ? void 0 : x.controlPlaneId) || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (q = a.config) != null && q.workspace ? `/${a.config.workspace}` : "")), U = U.replace(/{id}/gi, a.config.entityId), U;
3096
- }), W = (x) => {
3097
- v.value && x(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3094
+ return a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((A = a.config) == null ? void 0 : A.controlPlaneId) || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (q = a.config) != null && q.workspace ? `/${a.config.workspace}` : "")), U = U.replace(/{id}/gi, a.config.entityId), U;
3095
+ }), W = (A) => {
3096
+ v.value && A(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3098
3097
  };
3099
- return be(b, (x) => {
3100
- i("loading", x);
3098
+ return be(b, (A) => {
3099
+ i("loading", A);
3101
3100
  }, { immediate: !0 }), vt(async () => {
3102
- I.value = !1, b.value = !0;
3101
+ S.value = !1, b.value = !0;
3103
3102
  try {
3104
- const { data: x } = await u.get(re.value);
3103
+ const { data: A } = await u.get(re.value);
3105
3104
  if (a.dataKey)
3106
- if (typeof x[a.dataKey] < "u")
3107
- v.value = { ...x[a.dataKey] };
3105
+ if (typeof A[a.dataKey] < "u")
3106
+ v.value = { ...A[a.dataKey] };
3108
3107
  else
3109
3108
  throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3110
3109
  else
3111
- v.value = { ...x };
3110
+ v.value = { ...A };
3112
3111
  Object.keys(a.configSchema).filter((q) => a.configSchema[q].forceShow).forEach((q) => {
3113
3112
  v.value && typeof v.value[q] > "u" && (v.value[q] = null);
3114
- }), i("fetch:success", x);
3115
- } catch (x) {
3116
- const q = l(x);
3117
- k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, I.value = !0, i("fetch:error", x);
3113
+ }), i("fetch:success", A);
3114
+ } catch (A) {
3115
+ const q = l(A);
3116
+ k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, S.value = !0, i("fetch:error", A);
3118
3117
  } finally {
3119
3118
  b.value = !1;
3120
3119
  }
3121
- }), (x, q) => {
3120
+ }), (A, q) => {
3122
3121
  const U = L("KLabel"), K = L("KSelect"), H = L("KButton"), R = L("KClipboardProvider"), Q = L("KSkeleton"), z = L("KEmptyState"), ie = L("KCard");
3123
3122
  return h(), P(ie, { class: "kong-ui-entity-base-config-card" }, xe({
3124
3123
  actions: y(() => [
3125
3124
  F("div", fl, [
3126
- Z(x.$slots, "actions", {}, void 0, !0),
3125
+ Z(A.$slots, "actions", {}, void 0, !0),
3127
3126
  e.config.jsonYamlEnabled ? (h(), P(U, {
3128
3127
  key: 0,
3129
3128
  class: "config-format-select-label",
@@ -3153,14 +3152,14 @@ const Qn = {
3153
3152
  rel: "noopener",
3154
3153
  target: "_blank"
3155
3154
  }, [
3156
- S(m(dl), { size: m(vr) }, null, 8, ["size"])
3155
+ C(m(dl), { size: m(vr) }, null, 8, ["size"])
3157
3156
  ], 8, ml)
3158
3157
  ]),
3159
3158
  _: 1
3160
3159
  })) : D("", !0),
3161
3160
  e.config.jsonYamlEnabled ? D("", !0) : (h(), P(R, { key: 3 }, {
3162
3161
  default: y(({ copyToClipboard: Y }) => [
3163
- !b.value && !I.value ? (h(), P(H, {
3162
+ !b.value && !S.value ? (h(), P(H, {
3164
3163
  key: 0,
3165
3164
  appearance: "tertiary",
3166
3165
  "data-testid": "json-copy-button",
@@ -3182,7 +3181,7 @@ const Qn = {
3182
3181
  "data-testid": "config-card-loader",
3183
3182
  "table-columns": 2,
3184
3183
  type: "table"
3185
- })) : I.value ? (h(), P(z, {
3184
+ })) : S.value ? (h(), P(z, {
3186
3185
  key: 1,
3187
3186
  "data-testid": "config-card-fetch-error",
3188
3187
  "is-error": ""
@@ -3193,16 +3192,16 @@ const Qn = {
3193
3192
  _: 1
3194
3193
  })) : D("", !0),
3195
3194
  e.config.jsonYamlEnabled ? (h(), M("div", gl, [
3196
- S(rl, {
3195
+ C(rl, {
3197
3196
  format: f.value,
3198
- "prop-list-types": C.value,
3199
- "property-collections": j.value,
3197
+ "prop-list-types": x.value,
3198
+ "property-collections": E.value,
3200
3199
  record: v.value
3201
3200
  }, xe({ _: 2 }, [
3202
- ge(Object.keys(x.$slots), (Y) => ({
3201
+ ge(Object.keys(A.$slots), (Y) => ({
3203
3202
  name: Y,
3204
3203
  fn: y(({ row: X, rowValue: ce }) => [
3205
- Z(x.$slots, Y, {
3204
+ Z(A.$slots, Y, {
3206
3205
  row: X,
3207
3206
  rowValue: ce
3208
3207
  }, void 0, !0)
@@ -3210,21 +3209,21 @@ const Qn = {
3210
3209
  }))
3211
3210
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3212
3211
  ])) : (h(), M("div", yl, [
3213
- (h(!0), M(ye, null, ge(C.value, (Y) => (h(), M("div", {
3212
+ (h(!0), M(ye, null, ge(x.value, (Y) => (h(), M("div", {
3214
3213
  key: `config-card-details-${Y}-props`,
3215
3214
  class: $e(`config-card-details-${Y}-props`),
3216
3215
  "data-testid": `config-card-details-${Y}-props`
3217
3216
  }, [
3218
3217
  Y !== "basic" ? (h(), M("div", hl, V(Y === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3219
- (h(!0), M(ye, null, ge(j.value[Y], (X) => (h(), P(kt, {
3218
+ (h(!0), M(ye, null, ge(E.value[Y], (X) => (h(), P(kt, {
3220
3219
  key: X.key,
3221
3220
  item: X
3222
3221
  }, xe({
3223
3222
  label: y(() => [
3224
- Z(x.$slots, `${X.key}-label`, { row: X }, void 0, !0)
3223
+ Z(A.$slots, `${X.key}-label`, { row: X }, void 0, !0)
3225
3224
  ]),
3226
3225
  [X.key]: y(({ rowValue: ce }) => [
3227
- Z(x.$slots, X.key, {
3226
+ Z(A.$slots, X.key, {
3228
3227
  row: X,
3229
3228
  rowValue: ce
3230
3229
  }, void 0, !0)
@@ -3234,7 +3233,7 @@ const Qn = {
3234
3233
  B(X) ? {
3235
3234
  name: "label-tooltip",
3236
3235
  fn: y(() => [
3237
- Z(x.$slots, `${X.key}-label-tooltip`, { row: X }, void 0, !0)
3236
+ Z(A.$slots, `${X.key}-label-tooltip`, { row: X }, void 0, !0)
3238
3237
  ]),
3239
3238
  key: "0"
3240
3239
  } : void 0
@@ -3248,7 +3247,7 @@ const Qn = {
3248
3247
  name: "title",
3249
3248
  fn: y(() => [
3250
3249
  F("div", pl, [
3251
- Z(x.$slots, "title", {}, () => [
3250
+ Z(A.$slots, "title", {}, () => [
3252
3251
  G(V(m(o)("baseConfigCard.title")), 1)
3253
3252
  ], !0)
3254
3253
  ])
@@ -3258,7 +3257,7 @@ const Qn = {
3258
3257
  ]), 1024);
3259
3258
  };
3260
3259
  }
3261
- }), _l = /* @__PURE__ */ ve(bl, [["__scopeId", "data-v-bea4df63"]]), wl = ["onReset", "onSubmit"], kl = {
3260
+ }), wl = /* @__PURE__ */ ve(bl, [["__scopeId", "data-v-bea4df63"]]), _l = ["onReset", "onSubmit"], kl = {
3262
3261
  class: "form-actions",
3263
3262
  "data-testid": "form-actions"
3264
3263
  }, Cl = /* @__PURE__ */ ae({
@@ -3313,15 +3312,15 @@ const Qn = {
3313
3312
  var t;
3314
3313
  const a = e, r = ht(), { i18n: { t: o } } = le.useI18n(), { getMessageFromError: l } = le.useErrors(), { axiosInstance: n } = le.useAxios({
3315
3314
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3316
- }), u = N(!1), d = N(!1), f = N(""), p = T(() => a.canSubmit === !1 || a.isReadonly), _ = T(() => {
3315
+ }), u = N(!1), d = N(!1), f = N(""), p = T(() => a.canSubmit === !1 || a.isReadonly), w = T(() => {
3317
3316
  var v, $;
3318
3317
  if (!a.editId)
3319
3318
  return "";
3320
3319
  let s = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3321
3320
  return a.config.app === "konnect" ? s = s.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "") : a.config.app === "kongManager" && (s = s.replace(/\/{workspace}/gi, ($ = a.config) != null && $.workspace ? `/${a.config.workspace}` : "")), s = s.replace(/{id}/gi, a.editId), s;
3322
3321
  }), b = () => {
3323
- a.config.cancelRoute ? r.push(a.config.cancelRoute) : I();
3324
- }, I = () => {
3322
+ a.config.cancelRoute ? r.push(a.config.cancelRoute) : S();
3323
+ }, S = () => {
3325
3324
  i("cancel");
3326
3325
  }, k = () => {
3327
3326
  p.value || i("submit");
@@ -3332,7 +3331,7 @@ const Qn = {
3332
3331
  if (a.editId)
3333
3332
  try {
3334
3333
  d.value = !1, u.value = !0;
3335
- const { data: v } = await n.get(_.value);
3334
+ const { data: v } = await n.get(w.value);
3336
3335
  i("fetch:success", v);
3337
3336
  } catch (v) {
3338
3337
  const $ = l(v);
@@ -3341,13 +3340,13 @@ const Qn = {
3341
3340
  u.value = !1;
3342
3341
  }
3343
3342
  }), (v, $) => {
3344
- const s = L("KSkeleton"), j = L("KEmptyState"), C = L("KAlert"), B = L("KButton"), re = L("KCard");
3343
+ const s = L("KSkeleton"), E = L("KEmptyState"), x = L("KAlert"), B = L("KButton"), re = L("KCard");
3345
3344
  return h(), P(re, { class: "kong-ui-entity-base-form" }, {
3346
3345
  default: y(() => [
3347
3346
  u.value ? (h(), P(s, {
3348
3347
  key: 0,
3349
3348
  type: "form"
3350
- })) : d.value ? (h(), P(j, {
3349
+ })) : d.value ? (h(), P(E, {
3351
3350
  key: 1,
3352
3351
  "cta-text": m(o)("baseForm.actions.back"),
3353
3352
  "data-testid": "form-fetch-error",
@@ -3361,11 +3360,11 @@ const Qn = {
3361
3360
  }, 8, ["cta-text"])) : (h(), M("form", {
3362
3361
  key: 2,
3363
3362
  "data-testid": "form-content",
3364
- onReset: Fe(I, ["prevent"]),
3363
+ onReset: Fe(S, ["prevent"]),
3365
3364
  onSubmit: Fe(k, ["prevent"])
3366
3365
  }, [
3367
3366
  Z(v.$slots, "default", {}, void 0, !0),
3368
- e.errorMessage ? (h(), P(C, {
3367
+ e.errorMessage ? (h(), P(x, {
3369
3368
  key: 0,
3370
3369
  "alert-message": e.errorMessage,
3371
3370
  appearance: "danger",
@@ -3373,7 +3372,7 @@ const Qn = {
3373
3372
  }, null, 8, ["alert-message"])) : D("", !0),
3374
3373
  F("div", kl, [
3375
3374
  Z(v.$slots, "form-actions", {}, () => [
3376
- S(B, {
3375
+ C(B, {
3377
3376
  appearance: "secondary",
3378
3377
  "data-testid": "form-cancel",
3379
3378
  disabled: e.isReadonly,
@@ -3384,7 +3383,7 @@ const Qn = {
3384
3383
  ]),
3385
3384
  _: 1
3386
3385
  }, 8, ["disabled"]),
3387
- S(B, {
3386
+ C(B, {
3388
3387
  appearance: "primary",
3389
3388
  "data-testid": "form-submit",
3390
3389
  disabled: p.value,
@@ -3397,7 +3396,7 @@ const Qn = {
3397
3396
  }, 8, ["disabled"])
3398
3397
  ], !0)
3399
3398
  ])
3400
- ], 40, wl))
3399
+ ], 40, _l))
3401
3400
  ]),
3402
3401
  _: 3
3403
3402
  });
@@ -3436,8 +3435,8 @@ const Qn = {
3436
3435
  }, n = () => {
3437
3436
  var k, v, $;
3438
3437
  d.value = ((k = a.value) == null ? void 0 : k.getBoundingClientRect().width) || 0, f.value = ((v = t.value) == null ? void 0 : v.clientWidth) || 0, p.value = (($ = u.value) == null ? void 0 : $.innerText) || "";
3439
- }, u = N({}), d = N(0), f = N(0), p = N(""), _ = T(() => [a.value, t.value]), b = be(
3440
- _,
3438
+ }, u = N({}), d = N(0), f = N(0), p = N(""), w = T(() => [a.value, t.value]), b = be(
3439
+ w,
3441
3440
  (k) => {
3442
3441
  if (r.value && (l(), "ResizeObserver" in window && window)) {
3443
3442
  o = new ResizeObserver((v) => {
@@ -3450,7 +3449,7 @@ const Qn = {
3450
3449
  }
3451
3450
  },
3452
3451
  { immediate: !0, flush: "post", deep: !0 }
3453
- ), I = T(() => r.value ? d.value > f.value : !1);
3452
+ ), S = T(() => r.value ? d.value > f.value : !1);
3454
3453
  return ai(() => {
3455
3454
  n();
3456
3455
  }), la(() => {
@@ -3463,8 +3462,8 @@ const Qn = {
3463
3462
  class: "content-wrapper"
3464
3463
  }, [
3465
3464
  r.value ? (h(), M("span", Il, [
3466
- S($, {
3467
- label: I.value ? p.value : "",
3465
+ C($, {
3466
+ label: S.value ? p.value : "",
3468
3467
  "max-width": "300",
3469
3468
  placement: "bottomStart"
3470
3469
  }, {
@@ -3480,7 +3479,7 @@ const Qn = {
3480
3479
  }), xl = /* @__PURE__ */ ve(Al, [["__scopeId", "data-v-e42a20c9"]]), Tl = { class: "toolbar-container" }, $l = {
3481
3480
  key: 0,
3482
3481
  class: "toolbar-button-container"
3483
- }, Ml = ["data-testid"], El = /* @__PURE__ */ ae({
3482
+ }, Ml = ["data-testid"], jl = /* @__PURE__ */ ae({
3484
3483
  __name: "EntityBaseTable",
3485
3484
  props: {
3486
3485
  // table header configuration
@@ -3591,71 +3590,71 @@ const Qn = {
3591
3590
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3592
3591
  setup(e, { emit: i }) {
3593
3592
  const t = e, { i18n: { t: a } } = le.useI18n(), r = T(() => {
3594
- var C, B;
3593
+ var x, B;
3595
3594
  return typeof t.errorMessage == "string" ? {
3596
3595
  hasError: !!t.errorMessage,
3597
3596
  title: t.errorMessage,
3598
3597
  message: void 0
3599
3598
  } : {
3600
3599
  hasError: !!t.errorMessage,
3601
- title: (C = t.errorMessage) == null ? void 0 : C.title,
3600
+ title: (x = t.errorMessage) == null ? void 0 : x.title,
3602
3601
  message: (B = t.errorMessage) == null ? void 0 : B.message
3603
3602
  };
3604
- }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), l = (C) => C.hasData || !!t.query, n = T(() => {
3605
- const C = [];
3603
+ }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), l = (x) => x.hasData || !!t.query, n = T(() => {
3604
+ const x = [];
3606
3605
  return Object.keys(t.tableHeaders).forEach((B) => {
3607
3606
  const re = t.tableHeaders[B];
3608
- C.push({
3607
+ x.push({
3609
3608
  label: re.label ?? B,
3610
3609
  key: B,
3611
3610
  sortable: re.sortable ?? !1
3612
3611
  });
3613
- }), t.enableEntityActions && C.push({
3612
+ }), t.enableEntityActions && x.push({
3614
3613
  key: "actions",
3615
3614
  hideLabel: !0
3616
- }), C;
3617
- }), u = (C) => ({
3618
- "data-rowid": C.id,
3619
- "data-testid": C.name,
3620
- ...t.rowAttributes(C)
3621
- }), d = N({}), f = (C) => {
3615
+ }), x;
3616
+ }), u = (x) => ({
3617
+ "data-rowid": x.id,
3618
+ "data-testid": x.name,
3619
+ ...t.rowAttributes(x)
3620
+ }), d = N({}), f = (x) => {
3622
3621
  var B;
3623
- return (B = d.value) == null ? void 0 : B.$el.querySelector(`[data-rowid="${C.id}"]`);
3624
- }, p = (C) => {
3622
+ return (B = d.value) == null ? void 0 : B.$el.querySelector(`[data-rowid="${x.id}"]`);
3623
+ }, p = (x) => {
3625
3624
  const B = {
3626
- "data-testid": C.headerKey,
3627
- ...t.cellAttributes(C)
3625
+ "data-testid": x.headerKey,
3626
+ ...t.cellAttributes(x)
3628
3627
  };
3629
- return C.colIndex === 0 && (B.style = {
3628
+ return x.colIndex === 0 && (B.style = {
3630
3629
  maxWidth: "250px",
3631
3630
  overflowX: "hidden",
3632
3631
  textOverflow: "ellipsis"
3633
3632
  }), B;
3634
- }, _ = () => {
3633
+ }, w = () => {
3635
3634
  i("empty-state-cta-clicked"), b();
3636
3635
  }, b = () => {
3637
3636
  i("clear-search-input");
3638
- }, I = T(() => t.disableRowClick ? void 0 : (C, B) => {
3637
+ }, S = T(() => t.disableRowClick ? void 0 : (x, B) => {
3639
3638
  i("click:row", B);
3640
- }), k = (C) => {
3641
- i("sort", C);
3639
+ }), k = (x) => {
3640
+ i("sort", x);
3642
3641
  }, { setTablePreferences: v, getTablePreferences: $ } = ka(), s = T(() => {
3643
- const C = $(t.preferencesStorageKey);
3642
+ const x = $(t.preferencesStorageKey);
3644
3643
  return {
3645
3644
  ...t.initialFetcherParams,
3646
- ...C
3645
+ ...x
3647
3646
  };
3648
- }), j = (C) => {
3649
- t.preferencesStorageKey && v(t.preferencesStorageKey, C);
3647
+ }), E = (x) => {
3648
+ t.preferencesStorageKey && v(t.preferencesStorageKey, x);
3650
3649
  };
3651
- return (C, B) => {
3652
- const re = L("KIcon"), W = L("KButton"), x = L("KDropdown"), q = L("KTable"), U = L("KCard");
3650
+ return (x, B) => {
3651
+ const re = L("KIcon"), W = L("KButton"), A = L("KDropdown"), q = L("KTable"), U = L("KCard");
3653
3652
  return h(), P(U, {
3654
3653
  class: "kong-ui-entity-base-table",
3655
3654
  title: e.title
3656
3655
  }, {
3657
3656
  default: y(() => [
3658
- S(q, {
3657
+ C(q, {
3659
3658
  ref_key: "tableRefs",
3660
3659
  ref: d,
3661
3660
  "cache-identifier": o.value,
@@ -3682,16 +3681,16 @@ const Qn = {
3682
3681
  "pagination-type": e.paginationType,
3683
3682
  "row-attrs": u,
3684
3683
  "search-input": e.query,
3685
- onKtableEmptyStateCtaClicked: _,
3686
- "onRow:click": I.value,
3684
+ onKtableEmptyStateCtaClicked: w,
3685
+ "onRow:click": S.value,
3687
3686
  onSort: B[0] || (B[0] = (K) => k(K)),
3688
- "onUpdate:tablePreferences": j
3687
+ "onUpdate:tablePreferences": E
3689
3688
  }, xe({
3690
3689
  toolbar: y(({ state: K }) => [
3691
3690
  Ue(F("div", Tl, [
3692
- Z(C.$slots, "toolbar-filter", {}, void 0, !0),
3693
- C.$slots["toolbar-button"] ? (h(), M("div", $l, [
3694
- Z(C.$slots, "toolbar-button", {}, void 0, !0)
3691
+ Z(x.$slots, "toolbar-filter", {}, void 0, !0),
3692
+ x.$slots["toolbar-button"] ? (h(), M("div", $l, [
3693
+ Z(x.$slots, "toolbar-button", {}, void 0, !0)
3695
3694
  ])) : D("", !0)
3696
3695
  ], 512), [
3697
3696
  [Re, l(K)]
@@ -3702,25 +3701,25 @@ const Qn = {
3702
3701
  class: "actions-container",
3703
3702
  "data-testid": K.name
3704
3703
  }, [
3705
- S(x, {
3704
+ C(A, {
3706
3705
  "kpop-attributes": { placement: "bottomEnd" },
3707
3706
  width: e.dropdownMenuWidth
3708
3707
  }, {
3709
3708
  items: y(() => [
3710
- Z(C.$slots, "actions", {
3709
+ Z(x.$slots, "actions", {
3711
3710
  row: K,
3712
3711
  rowKey: H,
3713
3712
  rowValue: R
3714
3713
  }, void 0, !0)
3715
3714
  ]),
3716
3715
  default: y(() => [
3717
- S(W, {
3716
+ C(W, {
3718
3717
  class: "actions-trigger",
3719
3718
  "data-testid": "overflow-actions-button",
3720
3719
  size: "small"
3721
3720
  }, {
3722
3721
  icon: y(() => [
3723
- S(re, {
3722
+ C(re, {
3724
3723
  color: m(gr),
3725
3724
  icon: "more",
3726
3725
  size: "16"
@@ -3738,12 +3737,12 @@ const Qn = {
3738
3737
  ge(e.tableHeaders, (K, H) => ({
3739
3738
  name: H,
3740
3739
  fn: y(({ row: R, rowKey: Q, rowValue: z }) => [
3741
- S(xl, {
3740
+ C(xl, {
3742
3741
  "key-name": String(H),
3743
3742
  "row-el": f(R)
3744
3743
  }, {
3745
3744
  default: y(() => [
3746
- Z(C.$slots, H, {
3745
+ Z(x.$slots, H, {
3747
3746
  row: R,
3748
3747
  rowKey: Q,
3749
3748
  rowValue: z
@@ -3761,7 +3760,7 @@ const Qn = {
3761
3760
  }, 8, ["title"]);
3762
3761
  };
3763
3762
  }
3764
- }), jl = /* @__PURE__ */ ve(El, [["__scopeId", "data-v-57b5a97b"]]), Ol = {
3763
+ }), El = /* @__PURE__ */ ve(jl, [["__scopeId", "data-v-57b5a97b"]]), Ol = {
3765
3764
  key: 0,
3766
3765
  class: "kong-ui-entity-delete-error"
3767
3766
  }, Vl = {
@@ -3826,14 +3825,14 @@ const Qn = {
3826
3825
  }, {
3827
3826
  "body-content": y(() => [
3828
3827
  e.error ? (h(), M("div", Ol, [
3829
- S(d, { appearance: "danger" }, {
3828
+ C(d, { appearance: "danger" }, {
3830
3829
  alertMessage: y(() => [
3831
3830
  G(V(e.error), 1)
3832
3831
  ]),
3833
3832
  _: 1
3834
3833
  })
3835
3834
  ])) : D("", !0),
3836
- S(m(a), {
3835
+ C(m(a), {
3837
3836
  class: "message",
3838
3837
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3839
3838
  tag: "p"
@@ -3946,11 +3945,11 @@ const Qn = {
3946
3945
  i("update:modelValue", v);
3947
3946
  }, f = (v) => `filter-${v}`, p = (v) => {
3948
3947
  var $, s;
3949
- return (((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.values) ?? []).map((j) => ({
3950
- value: j,
3951
- label: j
3948
+ return (((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.values) ?? []).map((E) => ({
3949
+ value: E,
3950
+ label: E
3952
3951
  }));
3953
- }, _ = (v) => {
3952
+ }, w = (v) => {
3954
3953
  var $, s;
3955
3954
  return ((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.type) ?? "text";
3956
3955
  }, b = (v) => {
@@ -3958,14 +3957,14 @@ const Qn = {
3958
3957
  ...o.value,
3959
3958
  [v]: ""
3960
3959
  }, k();
3961
- }, I = () => {
3960
+ }, S = () => {
3962
3961
  o.value = {}, k(!0);
3963
3962
  }, k = (v = !1) => {
3964
- const $ = Object.keys(o.value).reduce((s, j) => (o.value[j] && (s[j] = `${o.value[j]}`), s), {});
3963
+ const $ = Object.keys(o.value).reduce((s, E) => (o.value[E] && (s[E] = `${o.value[E]}`), s), {});
3965
3964
  v && (r.value = !1), i("update:modelValue", new URLSearchParams($).toString());
3966
3965
  };
3967
3966
  return (v, $) => {
3968
- const s = L("KInput"), j = L("KButton"), C = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3967
+ const s = L("KInput"), E = L("KButton"), x = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3969
3968
  return e.config.isExactMatch ? (h(), P(s, {
3970
3969
  key: 0,
3971
3970
  autocomplete: "off",
@@ -3976,17 +3975,17 @@ const Qn = {
3976
3975
  "onUpdate:modelValue": d
3977
3976
  }, {
3978
3977
  before: y(() => [
3979
- S(ei)
3978
+ C(ei)
3980
3979
  ]),
3981
3980
  _: 1
3982
3981
  }, 8, ["model-value", "placeholder"])) : (h(), M("div", Ul, [
3983
- S(j, {
3982
+ C(E, {
3984
3983
  appearance: "tertiary",
3985
3984
  "data-testid": "filter-button",
3986
3985
  onClick: u
3987
3986
  }, {
3988
3987
  default: y(() => [
3989
- S(ei),
3988
+ C(ei),
3990
3989
  G(" " + V(m(a)("filter.filterButtonText")) + " " + V(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
3991
3990
  ]),
3992
3991
  _: 1
@@ -3997,13 +3996,13 @@ const Qn = {
3997
3996
  }, null, 512), [
3998
3997
  [Re, r.value]
3999
3998
  ]),
4000
- Ue(S(re, { class: "kong-ui-entity-filter-menu" }, {
3999
+ Ue(C(re, { class: "kong-ui-entity-filter-menu" }, {
4001
4000
  body: y(() => [
4002
- (h(!0), M(ye, null, ge(n.value, (W, x) => (h(), P(B, {
4001
+ (h(!0), M(ye, null, ge(n.value, (W, A) => (h(), P(B, {
4003
4002
  key: W.value,
4004
4003
  "data-testid": W.value,
4005
4004
  expandable: "",
4006
- "last-menu-item": x === n.value.length - 1
4005
+ "last-menu-item": A === n.value.length - 1
4007
4006
  }, {
4008
4007
  itemTitle: y(() => [
4009
4008
  F("span", Rl, [
@@ -4021,7 +4020,7 @@ const Qn = {
4021
4020
  class: "menu-item-label",
4022
4021
  for: f(W.value)
4023
4022
  }, V(m(a)("filter.fieldLabel")), 9, zl),
4024
- ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(C, {
4023
+ ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(x, {
4025
4024
  key: 0,
4026
4025
  id: f(W.value),
4027
4026
  modelValue: o.value[W.value],
@@ -4036,11 +4035,11 @@ const Qn = {
4036
4035
  "onUpdate:modelValue": (K) => o.value[W.value] = K,
4037
4036
  autocomplete: "off",
4038
4037
  placeholder: m(a)("filter.inputPlaceholder"),
4039
- type: _(W.value)
4038
+ type: w(W.value)
4040
4039
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4041
4040
  ]),
4042
4041
  F("div", Gl, [
4043
- S(j, {
4042
+ C(E, {
4044
4043
  appearance: "tertiary",
4045
4044
  "data-testid": "apply-filter",
4046
4045
  size: "small",
@@ -4051,7 +4050,7 @@ const Qn = {
4051
4050
  ]),
4052
4051
  _: 1
4053
4052
  }),
4054
- S(j, {
4053
+ C(E, {
4055
4054
  appearance: "tertiary",
4056
4055
  "data-testid": "clear-filter",
4057
4056
  size: "small",
@@ -4070,10 +4069,10 @@ const Qn = {
4070
4069
  ]),
4071
4070
  actionButton: y(() => [
4072
4071
  F("div", Jl, [
4073
- S(j, {
4072
+ C(E, {
4074
4073
  appearance: "tertiary",
4075
4074
  size: "small",
4076
- onClick: I
4075
+ onClick: S
4077
4076
  }, {
4078
4077
  default: y(() => [
4079
4078
  G(V(m(a)("filter.clearAllButtonText")), 1)
@@ -4138,9 +4137,9 @@ const Qn = {
4138
4137
  }
4139
4138
  };
4140
4139
  return (f, p) => {
4141
- const _ = L("KPrompt");
4140
+ const w = L("KPrompt");
4142
4141
  return h(), P(ii, { to: "body" }, [
4143
- S(_, {
4142
+ C(w, {
4144
4143
  "action-button-text": n.value,
4145
4144
  "action-pending": o.value,
4146
4145
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
@@ -4151,7 +4150,7 @@ const Qn = {
4151
4150
  onProceed: d
4152
4151
  }, {
4153
4152
  "body-content": y(() => [
4154
- S(m(r), {
4153
+ C(m(r), {
4155
4154
  keypath: `toggleModal.${t.action}.message`,
4156
4155
  scope: "global"
4157
4156
  }, {
@@ -4320,29 +4319,29 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4320
4319
  var g, O;
4321
4320
  let c = `${t.config.apiBaseUrl}${De.list[t.config.app].all}`;
4322
4321
  return t.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((g = t.config) == null ? void 0 : g.controlPlaneId) || "") : t.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (O = t.config) != null && O.workspace ? `/${t.config.workspace}` : "")), c;
4323
- }), p = T(() => t.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${f.value}`) : new URL(f.value)), _ = N(""), b = T(() => {
4322
+ }), p = T(() => t.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${f.value}`) : new URL(f.value)), w = N(""), b = T(() => {
4324
4323
  const c = t.config.app === "konnect" || t.config.isExactMatch;
4325
4324
  if (c)
4326
4325
  return {
4327
4326
  isExactMatch: c,
4328
4327
  placeholder: a("search.placeholder")
4329
4328
  };
4330
- const { name: g, enabled: O, protocol: J, host: te, port: se, path: w } = u;
4329
+ const { name: g, enabled: O, protocol: J, host: te, port: se, path: _ } = u;
4331
4330
  return {
4332
4331
  isExactMatch: c,
4333
- fields: { name: g, enabled: O, protocol: J, host: te, port: se, path: w },
4332
+ fields: { name: g, enabled: O, protocol: J, host: te, port: se, path: _ },
4334
4333
  schema: t.config.filterSchema
4335
4334
  };
4336
- }), { fetcher: I, fetcherState: k } = ns(t.config, f.value), v = () => {
4337
- _.value = "";
4335
+ }), { fetcher: S, fetcherState: k } = ns(t.config, f.value), v = () => {
4336
+ w.value = "";
4338
4337
  }, $ = () => {
4339
4338
  l.value++;
4340
- }, s = N(null), j = T(() => ({
4339
+ }, s = N(null), E = T(() => ({
4341
4340
  ctaPath: t.config.createRoute,
4342
4341
  ctaText: Ie.value ? a("actions.create") : void 0,
4343
4342
  message: a("gateway_services.list.empty_state.description"),
4344
4343
  title: Ie.value ? a("gateway_services.list.empty_state.title") : ""
4345
- })), C = N(!1), B = N(null), re = T(() => {
4344
+ })), x = N(!1), B = N(null), re = T(() => {
4346
4345
  const c = {
4347
4346
  action: "disable",
4348
4347
  id: "",
@@ -4354,9 +4353,9 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4354
4353
  }
4355
4354
  return c;
4356
4355
  }), W = (c) => {
4357
- C.value = !0, B.value = c;
4358
- }, x = () => {
4359
- C.value = !1, B.value = null;
4356
+ x.value = !0, B.value = c;
4357
+ }, A = () => {
4358
+ x.value = !1, B.value = null;
4360
4359
  }, q = async () => {
4361
4360
  var J, te;
4362
4361
  if (!await ((J = t.canEdit) == null ? void 0 : J.call(t, B.value)) || !B.value)
@@ -4437,30 +4436,30 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4437
4436
  return vt(async () => {
4438
4437
  Ie.value = await t.canCreate();
4439
4438
  }), (c, g) => {
4440
- const O = L("KButton"), J = L("KInputSwitch"), te = L("KBadge"), se = L("KTruncate"), w = L("KDropdownItem"), qe = L("KClipboardProvider");
4439
+ const O = L("KButton"), J = L("KInputSwitch"), te = L("KBadge"), se = L("KTruncate"), _ = L("KDropdownItem"), qe = L("KClipboardProvider");
4441
4440
  return h(), M("div", cs, [
4442
- S(m(jl), {
4441
+ C(m(El), {
4443
4442
  "cache-identifier": e.cacheIdentifier,
4444
4443
  "disable-pagination-page-jump": "",
4445
4444
  "disable-sorting": n.value,
4446
- "empty-state-options": j.value,
4445
+ "empty-state-options": E.value,
4447
4446
  "enable-entity-actions": "",
4448
4447
  "error-message": s.value,
4449
- fetcher: m(I),
4448
+ fetcher: m(S),
4450
4449
  "fetcher-cache-key": l.value,
4451
4450
  "pagination-type": "offset",
4452
4451
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
4453
- query: _.value,
4452
+ query: w.value,
4454
4453
  "table-headers": m(d),
4455
4454
  "use-action-outside": e.useActionOutside,
4456
4455
  onClearSearchInput: v,
4457
- "onClick:row": g[3] || (g[3] = (A) => H(A)),
4456
+ "onClick:row": g[3] || (g[3] = (I) => H(I)),
4458
4457
  onSort: $
4459
4458
  }, {
4460
4459
  "toolbar-filter": y(() => [
4461
- S(m(Yl), {
4462
- modelValue: _.value,
4463
- "onUpdate:modelValue": g[0] || (g[0] = (A) => _.value = A),
4460
+ C(m(Yl), {
4461
+ modelValue: w.value,
4462
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => w.value = I),
4464
4463
  config: b.value
4465
4464
  }, null, 8, ["modelValue", "config"])
4466
4465
  ]),
@@ -4469,11 +4468,11 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4469
4468
  disabled: !e.useActionOutside,
4470
4469
  to: "#kong-ui-app-page-header-action-button"
4471
4470
  }, [
4472
- S(m(Be), {
4471
+ C(m(Be), {
4473
4472
  "auth-function": () => e.canCreate()
4474
4473
  }, {
4475
4474
  default: y(() => [
4476
- Ue(S(O, {
4475
+ Ue(C(O, {
4477
4476
  appearance: "primary",
4478
4477
  "data-testid": "toolbar-add-gateway-service",
4479
4478
  icon: "plus",
@@ -4491,42 +4490,42 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4491
4490
  }, 8, ["auth-function"])
4492
4491
  ], 8, ["disabled"]))
4493
4492
  ]),
4494
- name: y(({ rowValue: A }) => [
4495
- F("b", null, V(A ?? "-"), 1)
4493
+ name: y(({ rowValue: I }) => [
4494
+ F("b", null, V(I ?? "-"), 1)
4496
4495
  ]),
4497
- enabled: y(({ row: A }) => [
4498
- S(m(Be), {
4499
- "auth-function": () => e.canEdit(A),
4496
+ enabled: y(({ row: I }) => [
4497
+ C(m(Be), {
4498
+ "auth-function": () => e.canEdit(I),
4500
4499
  "force-show": ""
4501
4500
  }, {
4502
- default: y(({ isAllowed: _e }) => [
4501
+ default: y(({ isAllowed: we }) => [
4503
4502
  F("div", {
4504
4503
  onClick: g[1] || (g[1] = Fe(() => {
4505
4504
  }, ["stop"]))
4506
4505
  }, [
4507
- S(J, {
4508
- modelValue: A.enabled,
4509
- "onUpdate:modelValue": (We) => A.enabled = We,
4510
- "data-testid": `row-${A.id}-toggle-input`,
4511
- disabled: !_e,
4512
- label: A.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4513
- onClick: Fe((We) => W(A), ["prevent"])
4506
+ C(J, {
4507
+ modelValue: I.enabled,
4508
+ "onUpdate:modelValue": (We) => I.enabled = We,
4509
+ "data-testid": `row-${I.id}-toggle-input`,
4510
+ disabled: !we,
4511
+ label: I.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4512
+ onClick: Fe((We) => W(I), ["prevent"])
4514
4513
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "disabled", "label", "onClick"])
4515
4514
  ])
4516
4515
  ]),
4517
4516
  _: 2
4518
4517
  }, 1032, ["auth-function"])
4519
4518
  ]),
4520
- tags: y(({ rowValue: A }) => [
4521
- (A == null ? void 0 : A.length) > 0 ? (h(), P(se, { key: 0 }, {
4519
+ tags: y(({ rowValue: I }) => [
4520
+ (I == null ? void 0 : I.length) > 0 ? (h(), P(se, { key: 0 }, {
4522
4521
  default: y(() => [
4523
- (h(!0), M(ye, null, ge(A, (_e) => (h(), P(te, {
4524
- key: _e,
4522
+ (h(!0), M(ye, null, ge(I, (we) => (h(), P(te, {
4523
+ key: we,
4525
4524
  onClick: g[2] || (g[2] = Fe(() => {
4526
4525
  }, ["stop"]))
4527
4526
  }, {
4528
4527
  default: y(() => [
4529
- G(V(_e), 1)
4528
+ G(V(we), 1)
4530
4529
  ]),
4531
4530
  _: 2
4532
4531
  }, 1024))), 128))
@@ -4534,12 +4533,12 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4534
4533
  _: 2
4535
4534
  }, 1024)) : (h(), M("span", us, "-"))
4536
4535
  ]),
4537
- actions: y(({ row: A }) => [
4538
- S(qe, null, {
4539
- default: y(({ copyToClipboard: _e }) => [
4540
- S(w, {
4536
+ actions: y(({ row: I }) => [
4537
+ C(qe, null, {
4538
+ default: y(({ copyToClipboard: we }) => [
4539
+ C(_, {
4541
4540
  "data-testid": "action-entity-copy-id",
4542
- onClick: (We) => U(A, _e)
4541
+ onClick: (We) => U(I, we)
4543
4542
  }, {
4544
4543
  default: y(() => [
4545
4544
  G(V(m(a)("actions.copy_id")), 1)
@@ -4549,11 +4548,11 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4549
4548
  ]),
4550
4549
  _: 2
4551
4550
  }, 1024),
4552
- S(qe, null, {
4553
- default: y(({ copyToClipboard: _e }) => [
4554
- S(w, {
4551
+ C(qe, null, {
4552
+ default: y(({ copyToClipboard: we }) => [
4553
+ C(_, {
4555
4554
  "data-testid": "action-entity-copy-json",
4556
- onClick: (We) => K(A, _e)
4555
+ onClick: (We) => K(I, we)
4557
4556
  }, {
4558
4557
  default: y(() => [
4559
4558
  G(V(m(a)("actions.copy_json")), 1)
@@ -4563,38 +4562,38 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4563
4562
  ]),
4564
4563
  _: 2
4565
4564
  }, 1024),
4566
- S(m(Be), {
4567
- "auth-function": () => e.canRetrieve(A)
4565
+ C(m(Be), {
4566
+ "auth-function": () => e.canRetrieve(I)
4568
4567
  }, {
4569
4568
  default: y(() => [
4570
- S(w, {
4569
+ C(_, {
4571
4570
  "data-testid": "action-entity-view",
4572
4571
  "has-divider": "",
4573
- item: R(A.id)
4572
+ item: R(I.id)
4574
4573
  }, null, 8, ["item"])
4575
4574
  ]),
4576
4575
  _: 2
4577
4576
  }, 1032, ["auth-function"]),
4578
- S(m(Be), {
4579
- "auth-function": () => e.canEdit(A)
4577
+ C(m(Be), {
4578
+ "auth-function": () => e.canEdit(I)
4580
4579
  }, {
4581
4580
  default: y(() => [
4582
- S(w, {
4581
+ C(_, {
4583
4582
  "data-testid": "action-entity-edit",
4584
- item: Q(A.id)
4583
+ item: Q(I.id)
4585
4584
  }, null, 8, ["item"])
4586
4585
  ]),
4587
4586
  _: 2
4588
4587
  }, 1032, ["auth-function"]),
4589
- S(m(Be), {
4590
- "auth-function": () => e.canDelete(A)
4588
+ C(m(Be), {
4589
+ "auth-function": () => e.canDelete(I)
4591
4590
  }, {
4592
4591
  default: y(() => [
4593
- S(w, {
4592
+ C(_, {
4594
4593
  danger: "",
4595
4594
  "data-testid": "action-entity-delete",
4596
4595
  "has-divider": "",
4597
- onClick: (_e) => rt(A)
4596
+ onClick: (we) => rt(I)
4598
4597
  }, {
4599
4598
  default: y(() => [
4600
4599
  G(V(m(a)("actions.delete.menu_label")), 1)
@@ -4607,17 +4606,17 @@ const cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 },
4607
4606
  ]),
4608
4607
  _: 1
4609
4608
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4610
- S(m(Zl), {
4609
+ C(m(Zl), {
4611
4610
  action: re.value.action,
4612
4611
  "entity-id": re.value.id,
4613
4612
  "entity-name": re.value.name,
4614
4613
  "entity-type": m(a)("glossary.gateway_services"),
4615
4614
  "on-confirm": q,
4616
- visible: C.value,
4617
- onCanceled: x,
4618
- onProceed: x
4615
+ visible: x.value,
4616
+ onCanceled: A,
4617
+ onProceed: A
4619
4618
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
4620
- S(m(Nl), {
4619
+ C(m(Nl), {
4621
4620
  "action-pending": Y.value,
4622
4621
  description: m(a)("actions.delete.description"),
4623
4622
  "entity-name": z.value && (z.value.name || z.value.id),
@@ -4643,7 +4642,7 @@ const aa = (e, i) => {
4643
4642
  }, vs = {
4644
4643
  key: 1,
4645
4644
  class: "gateway-service-form-group-fields"
4646
- }, hs = { key: 0 }, bs = { class: "gateway-service-form-margin-top" }, _s = { class: "gateway-service-form-margin-bottom" }, ws = { class: "gateway-service-form-margin-bottom" }, ks = { class: "gateway-service-form-margin-bottom" }, Cs = { class: "gateway-service-form-margin-bottom" }, Ss = {
4645
+ }, hs = { key: 0 }, bs = { class: "gateway-service-form-margin-top" }, ws = { class: "gateway-service-form-margin-bottom" }, _s = { class: "gateway-service-form-margin-bottom" }, ks = { class: "gateway-service-form-margin-bottom" }, Cs = { class: "gateway-service-form-margin-bottom" }, Ss = {
4647
4646
  key: 0,
4648
4647
  class: "gateway-service-form-margin-bottom"
4649
4648
  }, Is = {
@@ -4685,7 +4684,7 @@ const aa = (e, i) => {
4685
4684
  var Le;
4686
4685
  const a = e, r = N(!0), o = ht(), { i18nT: l, i18n: { t: n } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4687
4686
  headers: (Le = a.config) == null ? void 0 : Le.requestHeaders
4688
- }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), _ = N(!1), b = T(() => !!a.gatewayServiceId), I = N(b.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4687
+ }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), w = N(!1), b = T(() => !!a.gatewayServiceId), S = N(b.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4689
4688
  fields: {
4690
4689
  name: "",
4691
4690
  protocol: "http",
@@ -4705,7 +4704,7 @@ const aa = (e, i) => {
4705
4704
  },
4706
4705
  isReadonly: !1,
4707
4706
  errorMessage: ""
4708
- }), j = $t({
4707
+ }), E = $t({
4709
4708
  name: "",
4710
4709
  protocol: "http",
4711
4710
  host: "",
@@ -4721,7 +4720,7 @@ const aa = (e, i) => {
4721
4720
  tls_verify_enabled: !1,
4722
4721
  tls_verify_value: !1,
4723
4722
  tags: ""
4724
- }), C = a.config.app === "konnect" || ss({
4723
+ }), x = a.config.app === "konnect" || ss({
4725
4724
  gatewayInfo: a.config.gatewayInfo,
4726
4725
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
4727
4726
  supportedRange: {
@@ -4763,7 +4762,7 @@ const aa = (e, i) => {
4763
4762
  value: "grpcs",
4764
4763
  group: "grpc"
4765
4764
  },
4766
- ...C ? [
4765
+ ...x ? [
4767
4766
  {
4768
4767
  label: n("gateway_services.form.fields.protocol.options.ws"),
4769
4768
  value: "ws",
@@ -4782,40 +4781,40 @@ const aa = (e, i) => {
4782
4781
  }
4783
4782
  ], re = { url: "url", protocol: "protocol" }, W = (c, g) => {
4784
4783
  g.value;
4785
- }, x = (c) => c ? parseFloat(c) : 0, q = () => {
4786
- r.value = !0, s.errorMessage = "", s.fields.host = j.host, s.fields.path = j.path, s.fields.port = j.port, s.fields.protocol = j.protocol, s.fields.url = j.url, s.fields.retries = j.retries, s.fields.connect_timeout = j.connect_timeout, s.fields.write_timeout = j.write_timeout, s.fields.read_timeout = j.read_timeout, s.fields.client_certificate = j.client_certificate, s.fields.ca_certificates = j.ca_certificates, s.fields.tls_verify_enabled = j.tls_verify_enabled, s.fields.tls_verify_value = j.tls_verify_value;
4784
+ }, A = (c) => c ? parseFloat(c) : 0, q = () => {
4785
+ r.value = !0, s.errorMessage = "", s.fields.host = E.host, s.fields.path = E.path, s.fields.port = E.port, s.fields.protocol = E.protocol, s.fields.url = E.url, s.fields.retries = E.retries, s.fields.connect_timeout = E.connect_timeout, s.fields.write_timeout = E.write_timeout, s.fields.read_timeout = E.read_timeout, s.fields.client_certificate = E.client_certificate, s.fields.ca_certificates = E.ca_certificates, s.fields.tls_verify_enabled = E.tls_verify_enabled, s.fields.tls_verify_value = E.tls_verify_value;
4787
4786
  }, U = () => {
4788
- if (s.fields.url && I.value === "url")
4787
+ if (s.fields.url && S.value === "url")
4789
4788
  try {
4790
4789
  const c = new URL(s.fields.url);
4791
4790
  s.errorMessage = "", s.fields.protocol = c.protocol.slice(0, -1), s.fields.host = c.hostname, s.fields.path = c.pathname;
4792
4791
  const g = Number(c.port);
4793
- _.value = !!g, s.fields.port = g || k.getPortFromProtocol(s.fields.protocol), s.errorMessage = "", t("url-valid:success");
4792
+ w.value = !!g, s.fields.port = g || k.getPortFromProtocol(s.fields.protocol), s.errorMessage = "", t("url-valid:success");
4794
4793
  } catch (c) {
4795
4794
  s.errorMessage = n("errors.urlErrorMessage"), t("url-valid:error", u(c));
4796
4795
  }
4797
4796
  else
4798
4797
  t("url-valid:success"), s.errorMessage = "";
4799
4798
  }, K = T(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(s.fields.protocol)), H = T(() => {
4800
- if (I.value === "url")
4799
+ if (S.value === "url")
4801
4800
  return !0;
4802
4801
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4803
- return I.value === "protocol" && c;
4802
+ return S.value === "protocol" && c;
4804
4803
  }), R = T(() => {
4805
- if (I.value === "url")
4804
+ if (S.value === "url")
4806
4805
  return !0;
4807
4806
  const c = ["https", "tls"].includes(s.fields.protocol);
4808
- return I.value === "protocol" && c;
4807
+ return S.value === "protocol" && c;
4809
4808
  }), Q = T(() => {
4810
- if (I.value === "url")
4809
+ if (S.value === "url")
4811
4810
  return !0;
4812
4811
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4813
- return I.value === "protocol" && c;
4812
+ return S.value === "protocol" && c;
4814
4813
  }), z = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : n("errors.validationNameError"), ie = (c) => {
4815
4814
  v.value = z(c);
4816
- }, Y = T(() => b.value && JSON.stringify(s.fields) !== JSON.stringify(j) || I.value === "url" && !!s.fields.url || I.value === "protocol" && !!s.fields.host), X = (c) => {
4815
+ }, Y = T(() => b.value && JSON.stringify(s.fields) !== JSON.stringify(E) || S.value === "url" && !!s.fields.url || S.value === "protocol" && !!s.fields.host), X = (c) => {
4817
4816
  var g, O, J;
4818
- s.fields.name = (c == null ? void 0 : c.name) || "", s.fields.tags = ((g = c == null ? void 0 : c.tags) == null ? void 0 : g.join(",")) || "", s.fields.protocol = (c == null ? void 0 : c.protocol) || "http", s.fields.path = (c == null ? void 0 : c.path) || "", s.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, s.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, s.fields.host = (c == null ? void 0 : c.host) || "", s.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, s.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, s.fields.tls_verify_value = c != null && c.tls_verify ? c == null ? void 0 : c.tls_verify : !1, s.fields.ca_certificates = ((O = c == null ? void 0 : c.ca_certificates) == null ? void 0 : O.join(",")) || "", s.fields.client_certificate = ((J = c == null ? void 0 : c.client_certificate) == null ? void 0 : J.id) || "", s.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, s.fields.port = c != null && c.port || (c == null ? void 0 : c.port) === 0 ? c == null ? void 0 : c.port : 80, Object.assign(j, s.fields);
4817
+ s.fields.name = (c == null ? void 0 : c.name) || "", s.fields.tags = ((g = c == null ? void 0 : c.tags) == null ? void 0 : g.join(",")) || "", s.fields.protocol = (c == null ? void 0 : c.protocol) || "http", s.fields.path = (c == null ? void 0 : c.path) || "", s.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, s.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, s.fields.host = (c == null ? void 0 : c.host) || "", s.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, s.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, s.fields.tls_verify_value = c != null && c.tls_verify ? c == null ? void 0 : c.tls_verify : !1, s.fields.ca_certificates = ((O = c == null ? void 0 : c.ca_certificates) == null ? void 0 : O.join(",")) || "", s.fields.client_certificate = ((J = c == null ? void 0 : c.client_certificate) == null ? void 0 : J.id) || "", s.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, s.fields.port = c != null && c.port || (c == null ? void 0 : c.port) === 0 ? c == null ? void 0 : c.port : 80, Object.assign(E, s.fields);
4819
4818
  }, ce = () => {
4820
4819
  o.push(a.config.cancelRoute);
4821
4820
  }, rt = T(() => {
@@ -4848,7 +4847,7 @@ const aa = (e, i) => {
4848
4847
  port: s.fields.port,
4849
4848
  url: s.fields.url
4850
4849
  };
4851
- return s.fields.client_certificate && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.client_certificate = { id: s.fields.client_certificate }), s.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.tls_verify = s.fields.tls_verify_value), K.value || (c.path = null), p.value === "create" ? I.value === "url" ? (delete c.protocol, delete c.host, delete c.path, a.config.app === "konnect" && delete c.port) : delete c.url : p.value === "edit" && delete c.url, c;
4850
+ return s.fields.client_certificate && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.client_certificate = { id: s.fields.client_certificate }), s.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.tls_verify = s.fields.tls_verify_value), K.value || (c.path = null), p.value === "create" ? S.value === "url" ? (delete c.protocol, delete c.host, delete c.path, a.config.app === "konnect" && delete c.port) : delete c.url : p.value === "edit" && delete c.url, c;
4852
4851
  }, Ie = async () => {
4853
4852
  var c, g, O, J;
4854
4853
  try {
@@ -4856,8 +4855,8 @@ const aa = (e, i) => {
4856
4855
  const te = Se();
4857
4856
  let se;
4858
4857
  if (ot(te), await d.post(rt.value, te), p.value === "create" ? se = await d.post(Me.value, te) : p.value === "edit" && (se = ((c = a.config) == null ? void 0 : c.app) === "konnect" ? await d.put(Me.value, te) : await d.patch(Me.value, te)), se) {
4859
- const { data: w } = se;
4860
- s.fields.name = (w == null ? void 0 : w.name) || "", s.fields.port = w.port || k.getPortFromProtocol(w.protocol), s.fields.protocol = (w == null ? void 0 : w.protocol) || "http", s.fields.host = (w == null ? void 0 : w.host) || "", s.fields.path = (w == null ? void 0 : w.path) || "", s.fields.url = (w == null ? void 0 : w.url) || "", s.fields.retries = w != null && w.retries || (w == null ? void 0 : w.retries) === 0 ? w == null ? void 0 : w.retries : 5, s.fields.connect_timeout = w != null && w.connect_timeout || (w == null ? void 0 : w.connect_timeout) === 0 ? w == null ? void 0 : w.connect_timeout : 6e4, s.fields.write_timeout = w != null && w.write_timeout || (w == null ? void 0 : w.write_timeout) === 0 ? w == null ? void 0 : w.write_timeout : 6e4, s.fields.read_timeout = w != null && w.read_timeout || (w == null ? void 0 : w.read_timeout) === 0 ? w == null ? void 0 : w.read_timeout : 6e4, s.fields.client_certificate = ((g = w == null ? void 0 : w.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = w == null ? void 0 : w.ca_certificates) != null && O.length ? w == null ? void 0 : w.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (w == null ? void 0 : w.tls_verify) !== "" && (w == null ? void 0 : w.tls_verify) !== null && (w == null ? void 0 : w.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (w == null ? void 0 : w.tls_verify), s.fields.tags = (J = w == null ? void 0 : w.tags) != null && J.length ? w == null ? void 0 : w.tags.join(",") : "", Object.assign(j, s.fields), t("update", se == null ? void 0 : se.data);
4858
+ const { data: _ } = se;
4859
+ s.fields.name = (_ == null ? void 0 : _.name) || "", s.fields.port = _.port || k.getPortFromProtocol(_.protocol), s.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", s.fields.host = (_ == null ? void 0 : _.host) || "", s.fields.path = (_ == null ? void 0 : _.path) || "", s.fields.url = (_ == null ? void 0 : _.url) || "", s.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, s.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, s.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, s.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, s.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = _ == null ? void 0 : _.ca_certificates) != null && O.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), s.fields.tags = (J = _ == null ? void 0 : _.tags) != null && J.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(E, s.fields), t("update", se == null ? void 0 : se.data);
4861
4860
  }
4862
4861
  return se;
4863
4862
  } catch (te) {
@@ -4867,7 +4866,7 @@ const aa = (e, i) => {
4867
4866
  }
4868
4867
  };
4869
4868
  return be(() => a.gatewayServiceId, () => {
4870
- Object.assign(s.fields, j);
4869
+ Object.assign(s.fields, E);
4871
4870
  }), be(s.fields, (c) => {
4872
4871
  s.fields.port = k.getPortFromProtocol(c.protocol, String(c.port)), t("model-updated", Se());
4873
4872
  }), ai(() => {
@@ -4878,9 +4877,9 @@ const aa = (e, i) => {
4878
4877
  saveFormData: Ie,
4879
4878
  canSubmit: Y
4880
4879
  }), (c, g) => {
4881
- const O = L("KInput"), J = L("KLabel"), te = L("KRadio"), se = L("KSelect"), w = L("KCheckbox"), qe = L("KCollapse");
4880
+ const O = L("KInput"), J = L("KLabel"), te = L("KRadio"), se = L("KSelect"), _ = L("KCheckbox"), qe = L("KCollapse");
4882
4881
  return h(), M("div", ps, [
4883
- S(m(Sl), {
4882
+ C(m(Sl), {
4884
4883
  "can-submit": Y.value,
4885
4884
  config: e.config,
4886
4885
  "edit-id": e.gatewayServiceId,
@@ -4888,9 +4887,9 @@ const aa = (e, i) => {
4888
4887
  "fetch-url": f.value,
4889
4888
  "is-readonly": s.isReadonly,
4890
4889
  onCancel: ce,
4891
- "onFetch:error": g[25] || (g[25] = (A) => c.$emit("error", A)),
4890
+ "onFetch:error": g[25] || (g[25] = (I) => c.$emit("error", I)),
4892
4891
  "onFetch:success": X,
4893
- onLoading: g[26] || (g[26] = (A) => c.$emit("loading", A)),
4892
+ onLoading: g[26] || (g[26] = (I) => c.$emit("loading", I)),
4894
4893
  onSubmit: Ie
4895
4894
  }, {
4896
4895
  "form-actions": y(() => [
@@ -4901,15 +4900,15 @@ const aa = (e, i) => {
4901
4900
  }, void 0, !0)
4902
4901
  ]),
4903
4902
  default: y(() => [
4904
- S(m(ti), {
4903
+ C(m(ti), {
4905
4904
  description: m(n)("gateway_services.form.sections.general.description"),
4906
4905
  "hide-info-header": e.hideSectionsInfo,
4907
4906
  title: m(n)("gateway_services.form.sections.general.title")
4908
4907
  }, {
4909
4908
  default: y(() => [
4910
- S(O, {
4909
+ C(O, {
4911
4910
  modelValue: s.fields.name,
4912
- "onUpdate:modelValue": g[0] || (g[0] = (A) => s.fields.name = A),
4911
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => s.fields.name = I),
4913
4912
  modelModifiers: { trim: !0 },
4914
4913
  autocomplete: "off",
4915
4914
  "data-testid": "gateway-service-name-input",
@@ -4923,9 +4922,9 @@ const aa = (e, i) => {
4923
4922
  type: "text",
4924
4923
  onInput: ie
4925
4924
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
4926
- S(O, {
4925
+ C(O, {
4927
4926
  modelValue: s.fields.tags,
4928
- "onUpdate:modelValue": g[1] || (g[1] = (A) => s.fields.tags = A),
4927
+ "onUpdate:modelValue": g[1] || (g[1] = (I) => s.fields.tags = I),
4929
4928
  modelModifiers: { trim: !0 },
4930
4929
  autocomplete: "off",
4931
4930
  "data-testid": "gateway-service-tags-input",
@@ -4940,7 +4939,7 @@ const aa = (e, i) => {
4940
4939
  ]),
4941
4940
  _: 1
4942
4941
  }, 8, ["description", "hide-info-header", "title"]),
4943
- S(m(ti), {
4942
+ C(m(ti), {
4944
4943
  description: m(n)("gateway_services.form.sections.keys.description"),
4945
4944
  "hide-info-header": e.hideSectionsInfo,
4946
4945
  title: m(n)("gateway_services.form.sections.keys.title")
@@ -4948,7 +4947,7 @@ const aa = (e, i) => {
4948
4947
  default: y(() => [
4949
4948
  b.value ? D("", !0) : (h(), M("div", fs, [
4950
4949
  F("div", ms, [
4951
- S(J, { required: "" }, {
4950
+ C(J, { required: "" }, {
4952
4951
  default: y(() => [
4953
4952
  G(V(m(n)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4954
4953
  ]),
@@ -4956,15 +4955,15 @@ const aa = (e, i) => {
4956
4955
  })
4957
4956
  ]),
4958
4957
  F("div", gs, [
4959
- S(te, {
4960
- modelValue: I.value,
4961
- "onUpdate:modelValue": g[2] || (g[2] = (A) => I.value = A),
4958
+ C(te, {
4959
+ modelValue: S.value,
4960
+ "onUpdate:modelValue": g[2] || (g[2] = (I) => S.value = I),
4962
4961
  "data-testid": "gateway-service-url-radio",
4963
4962
  "selected-value": re.url,
4964
4963
  onChange: q
4965
4964
  }, {
4966
4965
  default: y(() => [
4967
- S(J, { class: "gateway-service-url-radio-label" }, {
4966
+ C(J, { class: "gateway-service-url-radio-label" }, {
4968
4967
  default: y(() => [
4969
4968
  G(V(m(n)("gateway_services.form.sections.keys.urlLabel")), 1)
4970
4969
  ]),
@@ -4974,10 +4973,10 @@ const aa = (e, i) => {
4974
4973
  _: 1
4975
4974
  }, 8, ["modelValue", "selected-value"])
4976
4975
  ]),
4977
- I.value === "url" ? (h(), M("div", ys, [
4978
- S(O, {
4976
+ S.value === "url" ? (h(), M("div", ys, [
4977
+ C(O, {
4979
4978
  modelValue: s.fields.url,
4980
- "onUpdate:modelValue": g[3] || (g[3] = (A) => s.fields.url = A),
4979
+ "onUpdate:modelValue": g[3] || (g[3] = (I) => s.fields.url = I),
4981
4980
  modelModifiers: { trim: !0 },
4982
4981
  class: "gateway-service-url-input gateway-service-form-margin-bottom",
4983
4982
  "data-testid": "gateway-service-url-input",
@@ -4990,16 +4989,16 @@ const aa = (e, i) => {
4990
4989
  required: ""
4991
4990
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
4992
4991
  ])) : D("", !0),
4993
- S(te, {
4994
- modelValue: I.value,
4995
- "onUpdate:modelValue": g[4] || (g[4] = (A) => I.value = A),
4992
+ C(te, {
4993
+ modelValue: S.value,
4994
+ "onUpdate:modelValue": g[4] || (g[4] = (I) => S.value = I),
4996
4995
  "checked-group": "protocol",
4997
4996
  "data-testid": "gateway-service-protocol-radio",
4998
4997
  "selected-value": re.protocol,
4999
4998
  onChange: q
5000
4999
  }, {
5001
5000
  default: y(() => [
5002
- S(J, { class: "gateway-service-protocol-radio-label" }, {
5001
+ C(J, { class: "gateway-service-protocol-radio-label" }, {
5003
5002
  default: y(() => [
5004
5003
  G(V(m(n)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5005
5004
  ]),
@@ -5009,10 +5008,10 @@ const aa = (e, i) => {
5009
5008
  _: 1
5010
5009
  }, 8, ["modelValue", "selected-value"])
5011
5010
  ])),
5012
- I.value === "protocol" || b.value ? (h(), M("div", vs, [
5013
- S(se, {
5011
+ S.value === "protocol" || b.value ? (h(), M("div", vs, [
5012
+ C(se, {
5014
5013
  modelValue: s.fields.protocol,
5015
- "onUpdate:modelValue": g[5] || (g[5] = (A) => s.fields.protocol = A),
5014
+ "onUpdate:modelValue": g[5] || (g[5] = (I) => s.fields.protocol = I),
5016
5015
  appearance: "select",
5017
5016
  "data-testid": "gateway-service-protocol-select",
5018
5017
  items: B,
@@ -5023,11 +5022,11 @@ const aa = (e, i) => {
5023
5022
  readonly: s.isReadonly,
5024
5023
  required: "",
5025
5024
  width: "100%",
5026
- onSelected: g[6] || (g[6] = (A) => W(s.fields.protocol, A))
5025
+ onSelected: g[6] || (g[6] = (I) => W(s.fields.protocol, I))
5027
5026
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
5028
- S(O, {
5027
+ C(O, {
5029
5028
  modelValue: s.fields.host,
5030
- "onUpdate:modelValue": g[7] || (g[7] = (A) => s.fields.host = A),
5029
+ "onUpdate:modelValue": g[7] || (g[7] = (I) => s.fields.host = I),
5031
5030
  modelModifiers: { trim: !0 },
5032
5031
  class: "gateway-service-form-margin-top",
5033
5032
  "data-testid": "gateway-service-host-input",
@@ -5040,9 +5039,9 @@ const aa = (e, i) => {
5040
5039
  required: ""
5041
5040
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
5042
5041
  K.value ? (h(), M("div", hs, [
5043
- S(O, {
5042
+ C(O, {
5044
5043
  modelValue: s.fields.path,
5045
- "onUpdate:modelValue": g[8] || (g[8] = (A) => s.fields.path = A),
5044
+ "onUpdate:modelValue": g[8] || (g[8] = (I) => s.fields.path = I),
5046
5045
  modelModifiers: { trim: !0 },
5047
5046
  class: "gateway-service-form-margin-top",
5048
5047
  "data-testid": "gateway-service-path-input",
@@ -5054,12 +5053,12 @@ const aa = (e, i) => {
5054
5053
  placeholder: m(n)("gateway_services.form.fields.path.placeholder")
5055
5054
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
5056
5055
  ])) : D("", !0),
5057
- S(O, {
5056
+ C(O, {
5058
5057
  modelValue: s.fields.port,
5059
5058
  "onUpdate:modelValue": [
5060
- g[9] || (g[9] = (A) => s.fields.port = A),
5059
+ g[9] || (g[9] = (I) => s.fields.port = I),
5061
5060
  g[10] || (g[10] = () => {
5062
- s.fields.port = x(s.fields.port + "");
5061
+ s.fields.port = A(s.fields.port + "");
5063
5062
  })
5064
5063
  ],
5065
5064
  class: "gateway-service-form-margin-top",
@@ -5072,22 +5071,22 @@ const aa = (e, i) => {
5072
5071
  type: "number"
5073
5072
  }, null, 8, ["modelValue", "label", "label-attributes"])
5074
5073
  ])) : D("", !0),
5075
- S(qe, {
5074
+ C(qe, {
5076
5075
  modelValue: r.value,
5077
- "onUpdate:modelValue": g[24] || (g[24] = (A) => r.value = A),
5076
+ "onUpdate:modelValue": g[24] || (g[24] = (I) => r.value = I),
5078
5077
  "data-testid": "advanced-fields-collapse",
5079
5078
  "trigger-alignment": "leading",
5080
5079
  "trigger-label": m(n)("gateway_services.form.sections.keys.viewAdvancedFields")
5081
5080
  }, {
5082
5081
  default: y(() => [
5083
5082
  F("div", bs, [
5084
- F("div", _s, [
5085
- S(O, {
5083
+ F("div", ws, [
5084
+ C(O, {
5086
5085
  modelValue: s.fields.retries,
5087
5086
  "onUpdate:modelValue": [
5088
- g[11] || (g[11] = (A) => s.fields.retries = A),
5087
+ g[11] || (g[11] = (I) => s.fields.retries = I),
5089
5088
  g[12] || (g[12] = () => {
5090
- s.fields.retries = x(s.fields.retries + "");
5089
+ s.fields.retries = A(s.fields.retries + "");
5091
5090
  })
5092
5091
  ],
5093
5092
  autocomplete: "off",
@@ -5099,13 +5098,13 @@ const aa = (e, i) => {
5099
5098
  type: "number"
5100
5099
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5101
5100
  ]),
5102
- F("div", ws, [
5103
- S(O, {
5101
+ F("div", _s, [
5102
+ C(O, {
5104
5103
  modelValue: s.fields.connect_timeout,
5105
5104
  "onUpdate:modelValue": [
5106
- g[13] || (g[13] = (A) => s.fields.connect_timeout = A),
5105
+ g[13] || (g[13] = (I) => s.fields.connect_timeout = I),
5107
5106
  g[14] || (g[14] = () => {
5108
- s.fields.connect_timeout = x(s.fields.connect_timeout + "");
5107
+ s.fields.connect_timeout = A(s.fields.connect_timeout + "");
5109
5108
  })
5110
5109
  ],
5111
5110
  autocomplete: "off",
@@ -5118,12 +5117,12 @@ const aa = (e, i) => {
5118
5117
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5119
5118
  ]),
5120
5119
  F("div", ks, [
5121
- S(O, {
5120
+ C(O, {
5122
5121
  modelValue: s.fields.write_timeout,
5123
5122
  "onUpdate:modelValue": [
5124
- g[15] || (g[15] = (A) => s.fields.write_timeout = A),
5123
+ g[15] || (g[15] = (I) => s.fields.write_timeout = I),
5125
5124
  g[16] || (g[16] = () => {
5126
- s.fields.write_timeout = x(s.fields.write_timeout + "");
5125
+ s.fields.write_timeout = A(s.fields.write_timeout + "");
5127
5126
  })
5128
5127
  ],
5129
5128
  autocomplete: "off",
@@ -5136,12 +5135,12 @@ const aa = (e, i) => {
5136
5135
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5137
5136
  ]),
5138
5137
  F("div", Cs, [
5139
- S(O, {
5138
+ C(O, {
5140
5139
  modelValue: s.fields.read_timeout,
5141
5140
  "onUpdate:modelValue": [
5142
- g[17] || (g[17] = (A) => s.fields.read_timeout = A),
5141
+ g[17] || (g[17] = (I) => s.fields.read_timeout = I),
5143
5142
  g[18] || (g[18] = () => {
5144
- s.fields.read_timeout = x(s.fields.read_timeout + "");
5143
+ s.fields.read_timeout = A(s.fields.read_timeout + "");
5145
5144
  })
5146
5145
  ],
5147
5146
  autocomplete: "off",
@@ -5154,9 +5153,9 @@ const aa = (e, i) => {
5154
5153
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5155
5154
  ]),
5156
5155
  H.value ? (h(), M("div", Ss, [
5157
- S(O, {
5156
+ C(O, {
5158
5157
  modelValue: s.fields.client_certificate,
5159
- "onUpdate:modelValue": g[19] || (g[19] = (A) => s.fields.client_certificate = A),
5158
+ "onUpdate:modelValue": g[19] || (g[19] = (I) => s.fields.client_certificate = I),
5160
5159
  modelModifiers: { trim: !0 },
5161
5160
  autocomplete: "off",
5162
5161
  "data-testid": "gateway-service-clientCert-input",
@@ -5169,9 +5168,9 @@ const aa = (e, i) => {
5169
5168
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
5170
5169
  ])) : D("", !0),
5171
5170
  R.value ? (h(), M("div", Is, [
5172
- S(O, {
5171
+ C(O, {
5173
5172
  modelValue: s.fields.ca_certificates,
5174
- "onUpdate:modelValue": g[20] || (g[20] = (A) => s.fields.ca_certificates = A),
5173
+ "onUpdate:modelValue": g[20] || (g[20] = (I) => s.fields.ca_certificates = I),
5175
5174
  modelModifiers: { trim: !0 },
5176
5175
  autocomplete: "off",
5177
5176
  "data-testid": "gateway-service-ca-certs-input",
@@ -5181,7 +5180,7 @@ const aa = (e, i) => {
5181
5180
  type: "text"
5182
5181
  }, {
5183
5182
  "label-tooltip": y(() => [
5184
- S(m(l), {
5183
+ C(m(l), {
5185
5184
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5186
5185
  scope: "global"
5187
5186
  }, {
@@ -5198,15 +5197,15 @@ const aa = (e, i) => {
5198
5197
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5199
5198
  ])) : D("", !0),
5200
5199
  Q.value ? (h(), M("div", As, [
5201
- S(w, {
5200
+ C(_, {
5202
5201
  modelValue: s.fields.tls_verify_enabled,
5203
- "onUpdate:modelValue": g[21] || (g[21] = (A) => s.fields.tls_verify_enabled = A),
5202
+ "onUpdate:modelValue": g[21] || (g[21] = (I) => s.fields.tls_verify_enabled = I),
5204
5203
  "data-testid": "gateway-service-tls-verify-checkbox",
5205
5204
  description: m(n)("gateway_services.form.fields.tls_verify_enabled.help"),
5206
5205
  label: m(n)("gateway_services.form.fields.tls_verify_enabled.label")
5207
5206
  }, {
5208
5207
  tooltip: y(() => [
5209
- S(m(l), {
5208
+ C(m(l), {
5210
5209
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5211
5210
  scope: "global"
5212
5211
  }, {
@@ -5219,18 +5218,18 @@ const aa = (e, i) => {
5219
5218
  _: 1
5220
5219
  }, 8, ["modelValue", "description", "label"]),
5221
5220
  s.fields.tls_verify_enabled ? (h(), M("div", xs, [
5222
- S(te, {
5221
+ C(te, {
5223
5222
  modelValue: s.fields.tls_verify_value,
5224
- "onUpdate:modelValue": g[22] || (g[22] = (A) => s.fields.tls_verify_value = A),
5223
+ "onUpdate:modelValue": g[22] || (g[22] = (I) => s.fields.tls_verify_value = I),
5225
5224
  "data-testid": "gateway-service-tls-verify-true-option",
5226
5225
  label: m(n)("gateway_services.form.fields.tls_verify_option.true.label"),
5227
5226
  "selected-value": !0
5228
5227
  }, null, 8, ["modelValue", "label"])
5229
5228
  ])) : D("", !0),
5230
5229
  s.fields.tls_verify_enabled ? (h(), M("div", Ts, [
5231
- S(te, {
5230
+ C(te, {
5232
5231
  modelValue: s.fields.tls_verify_value,
5233
- "onUpdate:modelValue": g[23] || (g[23] = (A) => s.fields.tls_verify_value = A),
5232
+ "onUpdate:modelValue": g[23] || (g[23] = (I) => s.fields.tls_verify_value = I),
5234
5233
  "data-testid": "gateway-service-tls-verify-false-option",
5235
5234
  label: m(n)("gateway_services.form.fields.tls_verify_option.false.label"),
5236
5235
  "selected-value": !1
@@ -5339,7 +5338,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5339
5338
  }
5340
5339
  });
5341
5340
  return (u, d) => (h(), M("div", Ms, [
5342
- S(m(_l), {
5341
+ C(m(wl), {
5343
5342
  config: e.config,
5344
5343
  "config-card-doc": e.configCardDoc,
5345
5344
  "config-schema": n.value,
@@ -5351,7 +5350,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5351
5350
  onLoading: d[3] || (d[3] = (f) => u.$emit("loading", f))
5352
5351
  }, {
5353
5352
  "enabled-label-tooltip": y(() => [
5354
- S(m(a), {
5353
+ C(m(a), {
5355
5354
  keypath: "gateway_services.form.fields.enabled.tooltip",
5356
5355
  scope: "global"
5357
5356
  }, {
@@ -5365,7 +5364,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5365
5364
  })
5366
5365
  ]),
5367
5366
  "ca_certificates-label-tooltip": y(() => [
5368
- S(m(a), {
5367
+ C(m(a), {
5369
5368
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5370
5369
  scope: "global"
5371
5370
  }, {
@@ -5379,7 +5378,7 @@ const Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { cl
5379
5378
  })
5380
5379
  ]),
5381
5380
  "tls_verify-label-tooltip": y(() => [
5382
- S(m(a), {
5381
+ C(m(a), {
5383
5382
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5384
5383
  scope: "global"
5385
5384
  }, {