@kong-ui-public/entities-key-sets 2.0.4 → 2.0.5

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,6 +1,6 @@
1
- import { defineComponent as Q, ref as O, computed as _, watch as be, renderSlot as V, createCommentVNode as U, unref as w, useSlots as Je, onBeforeMount as lt, resolveComponent as K, openBlock as y, createBlock as N, createSlots as we, withCtx as b, createElementVNode as L, createTextVNode as z, toDisplayString as E, createVNode as T, createElementBlock as x, renderList as ue, Fragment as pe, normalizeClass as Ae, withModifiers as Pe, withDirectives as Le, vShow as qe, useCssVars as Gn, resolveDynamicComponent as $e, normalizeProps as Zn, guardReactiveProps as Xn, mergeProps as et, onMounted as Qn, onUnmounted as ea, normalizeStyle as Jt, inject as ta, pushScopeId as Yt, popScopeId as Wt, reactive as Ct } from "vue";
1
+ import { defineComponent as te, ref as O, computed as x, watch as ke, renderSlot as U, createCommentVNode as D, unref as w, useSlots as Je, onBeforeMount as lt, resolveComponent as E, openBlock as y, createBlock as B, createSlots as we, withCtx as k, createElementVNode as L, createTextVNode as H, toDisplayString as K, createVNode as j, createElementBlock as I, renderList as ue, Fragment as pe, normalizeClass as Ae, withModifiers as Re, withDirectives as qe, vShow as Le, useCssVars as Zn, resolveDynamicComponent as je, normalizeProps as Gn, guardReactiveProps as Qn, mergeProps as et, onMounted as Xn, onUnmounted as ea, normalizeStyle as Jt, inject as ta, pushScopeId as Yt, popScopeId as Wt, reactive as Ct } from "vue";
2
2
  import { useRouter as st } from "vue-router";
3
- import { createI18n as ct, i18nTComponent as Gt } from "@kong-ui-public/i18n";
3
+ import { createI18n as ct, i18nTComponent as Zt } from "@kong-ui-public/i18n";
4
4
  import na from "axios";
5
5
  import { MethodsArray as aa } from "@kong/kongponents";
6
6
  const ia = {
@@ -71,13 +71,13 @@ function oa() {
71
71
  const e = ct("en-us", ra);
72
72
  return {
73
73
  i18n: e,
74
- i18nT: Gt(e)
74
+ i18nT: Zt(e)
75
75
  // Translation component <i18n-t>
76
76
  };
77
77
  }
78
78
  const ut = {
79
79
  useI18n: oa
80
- }, Re = {
80
+ }, Pe = {
81
81
  list: {
82
82
  konnect: "/api/runtime_groups/{controlPlaneId}/key-sets",
83
83
  kongManager: "/{workspace}/key-sets"
@@ -93,7 +93,7 @@ const ut = {
93
93
  }
94
94
  }
95
95
  };
96
- var Zt = /* @__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))(Zt || {}), tt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(tt || {}), Ce = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ce || {}), J = /* @__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))(J || {}), de = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(de || {});
96
+ var Gt = /* @__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))(Gt || {}), tt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(tt || {}), Ce = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ce || {}), W = /* @__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))(W || {}), de = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(de || {});
97
97
  function dt(e = {}) {
98
98
  return {
99
99
  axiosInstance: na.create({
@@ -115,7 +115,7 @@ function la() {
115
115
  }
116
116
  };
117
117
  }
118
- const Ge = "khcp-user-table-preferences", sa = {
118
+ const Ze = "khcp-user-table-preferences", sa = {
119
119
  pageSize: 30,
120
120
  sortColumnKey: void 0,
121
121
  sortColumnOrder: void 0
@@ -130,14 +130,14 @@ function ca() {
130
130
  return;
131
131
  }
132
132
  }, n = () => {
133
- const t = e(localStorage.getItem(Ge));
133
+ const t = e(localStorage.getItem(Ze));
134
134
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
135
135
  };
136
136
  return {
137
137
  setTablePreferences: (t, a) => {
138
138
  try {
139
139
  const i = n();
140
- i.set(t, a), localStorage.setItem(Ge, JSON.stringify(Object.fromEntries(i.entries())));
140
+ i.set(t, a), localStorage.setItem(Ze, JSON.stringify(Object.fromEntries(i.entries())));
141
141
  } catch (i) {
142
142
  console.error("useTablePreferences(setTablePreferences)", i);
143
143
  }
@@ -147,7 +147,7 @@ function ca() {
147
147
  return (a == null ? void 0 : a.get(t)) || void 0 || sa;
148
148
  },
149
149
  deleteAllTablePreferences: () => {
150
- localStorage.removeItem(Ge);
150
+ localStorage.removeItem(Ze);
151
151
  }
152
152
  };
153
153
  }
@@ -253,11 +253,11 @@ function pt() {
253
253
  const e = ct("en-us", ba);
254
254
  return {
255
255
  i18n: e,
256
- i18nT: Gt(e)
256
+ i18nT: Zt(e)
257
257
  // Translation component <i18n-t>
258
258
  };
259
259
  }
260
- function Xt() {
260
+ function Qt() {
261
261
  const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, n = (t, a) => {
262
262
  if (t.length !== a.length)
263
263
  return !1;
@@ -308,65 +308,65 @@ function ka(e, n, t, a = {
308
308
  t || (t = "100");
309
309
  const { axiosInstance: i } = dt({
310
310
  headers: e.requestHeaders
311
- }), { i18n: { t: r } } = pt(), { debounce: o } = la(), l = o(async (S) => {
312
- await k(S);
313
- }, 200), s = O(!1), c = O(""), d = O(""), u = O([]), g = O([]), f = O(void 0), A = w(n);
314
- let v = `${e.apiBaseUrl}${A}`;
315
- e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
316
- const { isValidUuid: p } = Xt(), h = async () => {
311
+ }), { i18n: { t: r } } = pt(), { debounce: o } = la(), l = o(async (v) => {
312
+ await _(v);
313
+ }, 200), s = O(!1), c = O(""), d = O(""), u = O([]), g = O([]), f = O(void 0), S = w(n);
314
+ let b = `${e.apiBaseUrl}${S}`;
315
+ e.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
316
+ const { isValidUuid: p } = Qt(), h = async () => {
317
317
  try {
318
318
  s.value = !0;
319
- const { data: S } = await i.get(`${v}?size=${t}`);
320
- S != null && S.next || (f.value = a.fetchedItemsKey in S ? S[a.fetchedItemsKey] : []), g.value = a.fetchedItemsKey in S ? S[a.fetchedItemsKey] : [], u.value = g.value;
319
+ const { data: v } = await i.get(`${b}?size=${t}`);
320
+ v != null && v.next || (f.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : []), g.value = a.fetchedItemsKey in v ? v[a.fetchedItemsKey] : [], u.value = g.value;
321
321
  } catch {
322
322
  u.value = [], c.value = r("debouncedFilter.errors.fetch");
323
323
  } finally {
324
324
  s.value = !1;
325
325
  }
326
- }, m = O(""), k = async (S) => {
327
- var W, G, q;
328
- if (m.value !== S)
329
- if (m.value = S || "", f.value === void 0)
326
+ }, m = O(""), _ = async (v) => {
327
+ var R, z, P;
328
+ if (m.value !== v)
329
+ if (m.value = v || "", f.value === void 0)
330
330
  try {
331
331
  if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
332
- let C = v + "";
333
- S && (C += `/${S}`);
334
- const { data: F } = await i.get(`${C}?size=${t}`);
335
- a.fetchedItemsKey in F ? u.value = F[a.fetchedItemsKey] : F != null && F.id ? u.value = [F] : u.value = [];
336
- } else if (S) {
332
+ let C = b + "";
333
+ v && (C += `/${v}`);
334
+ const { data: M } = await i.get(`${C}?size=${t}`);
335
+ a.fetchedItemsKey in M ? u.value = M[a.fetchedItemsKey] : M != null && M.id ? u.value = [M] : u.value = [];
336
+ } else if (v) {
337
337
  const C = [];
338
- p(S) && a.searchKeys.includes("id") ? C.push((async () => {
339
- const { data: j } = await i.get(`${v}/${S}`);
340
- return [j[a.fetchedItemsKey] ?? j];
338
+ p(v) && a.searchKeys.includes("id") ? C.push((async () => {
339
+ const { data: T } = await i.get(`${b}/${v}`);
340
+ return [T[a.fetchedItemsKey] ?? T];
341
341
  })()) : C.push(
342
- ...a.searchKeys.filter((j) => j !== "id").map(async (j) => {
343
- const { data: B } = await i.get(`${v}?${j}=${S}`);
344
- return B[a.fetchedItemsKey];
342
+ ...a.searchKeys.filter((T) => T !== "id").map(async (T) => {
343
+ const { data: N } = await i.get(`${b}?${T}=${v}`);
344
+ return N[a.fetchedItemsKey];
345
345
  })
346
346
  );
347
- const F = await Promise.all(C), $ = /* @__PURE__ */ new Set();
348
- u.value = [], (W = F == null ? void 0 : F.forEach) == null || W.call(F, (j) => {
349
- var B;
350
- (B = j == null ? void 0 : j.forEach) == null || B.call(j, (P) => {
351
- $.has(P.id) || ($.add(P.id), u.value.push(P));
347
+ const M = await Promise.all(C), F = /* @__PURE__ */ new Set();
348
+ u.value = [], (R = M == null ? void 0 : M.forEach) == null || R.call(M, (T) => {
349
+ var N;
350
+ (N = T == null ? void 0 : T.forEach) == null || N.call(T, (q) => {
351
+ F.has(q.id) || (F.add(q.id), u.value.push(q));
352
352
  });
353
353
  });
354
354
  } else
355
355
  u.value = g.value;
356
356
  } catch (C) {
357
- ((G = C == null ? void 0 : C.response) == null ? void 0 : G.status) === 404 ? d.value = r("debouncedFilter.errors.invalid") : (u.value = [], c.value = r("debouncedFilter.errors.fetch"));
357
+ ((z = C == null ? void 0 : C.response) == null ? void 0 : z.status) === 404 ? d.value = r("debouncedFilter.errors.invalid") : (u.value = [], c.value = r("debouncedFilter.errors.fetch"));
358
358
  } finally {
359
359
  s.value = !1;
360
360
  }
361
361
  else
362
- s.value = !0, d.value = "", S ? (u.value = (q = f.value) == null ? void 0 : q.filter((C) => {
363
- var F;
364
- let $ = !1;
365
- for (const j of a.searchKeys) {
366
- const B = typeof C[j] == "string" ? (F = C[j]) == null ? void 0 : F.toLowerCase() : C[j];
367
- B != null && B.includes(S.toLowerCase()) && ($ = !0);
362
+ s.value = !0, d.value = "", v ? (u.value = (P = f.value) == null ? void 0 : P.filter((C) => {
363
+ var M;
364
+ let F = !1;
365
+ for (const T of a.searchKeys) {
366
+ const N = typeof C[T] == "string" ? (M = C[T]) == null ? void 0 : M.toLowerCase() : C[T];
367
+ N != null && N.includes(v.toLowerCase()) && (F = !0);
368
368
  }
369
- return $;
369
+ return F;
370
370
  }), (!u.value || !u.value.length) && (d.value = r("debouncedFilter.errors.invalid"))) : u.value = f.value, s.value = !1;
371
371
  };
372
372
  return {
@@ -380,7 +380,7 @@ function ka(e, n, t, a = {
380
380
  };
381
381
  }
382
382
  function Ca(e, n) {
383
- const t = w(n), a = _(
383
+ const t = w(n), a = x(
384
384
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
385
385
  );
386
386
  return a.value.search = "", (i) => `${a.value.href}/${i}`;
@@ -424,18 +424,18 @@ function Sa(e) {
424
424
  return console.warn("Failed to build valid URL:", a), "";
425
425
  }
426
426
  }
427
- function Qt(e, n) {
428
- const t = O(w(e)), a = O(w(n)), i = _(
427
+ function Xt(e, n) {
428
+ const t = O(w(e)), a = O(w(n)), i = x(
429
429
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
430
- ), r = _(
430
+ ), r = x(
431
431
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
432
432
  );
433
433
  return (o) => {
434
434
  const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: g } = o;
435
435
  try {
436
436
  let f = new URL(r.value.href);
437
- return i.value && g ? (f.search = "", f = new URL(`${f.href}/${g}/`)) : (i.value || new URLSearchParams(g).forEach((A, v) => {
438
- f.searchParams.append(v, A);
437
+ return i.value && g ? (f.search = "", f = new URL(`${f.href}/${g}/`)) : (i.value || new URLSearchParams(g).forEach((S, b) => {
438
+ f.searchParams.append(b, S);
439
439
  }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), c && l !== 1 && f.searchParams.append("offset", String(c)), f.href;
440
440
  } catch (f) {
441
441
  return console.error("RouteList(fetcher)", f), a.value;
@@ -445,7 +445,7 @@ function Qt(e, n) {
445
445
  function Aa(e, n, t = "data") {
446
446
  const a = w(n), { axiosInstance: i } = dt({
447
447
  headers: e.requestHeaders
448
- }), r = Qt(e, a), o = O({
448
+ }), r = Xt(e, a), o = O({
449
449
  status: Ce.Idle
450
450
  });
451
451
  return { fetcher: async (l) => {
@@ -517,7 +517,7 @@ const en = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
517
517
  const t = wt(e), a = wt(n), i = t.pop(), r = a.pop(), o = It(t, a);
518
518
  return o !== 0 ? o : i && r ? It(i.split("."), r.split(".")) : i || r ? i ? -1 : 1 : 0;
519
519
  }, xt = (e, n, t) => {
520
- $a(t);
520
+ ja(t);
521
521
  const a = Ta(e, n);
522
522
  return tn[t].includes(a);
523
523
  }, tn = {
@@ -527,18 +527,18 @@ const en = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
527
527
  "<=": [-1, 0],
528
528
  "<": [-1],
529
529
  "!=": [-1, 1]
530
- }, _t = Object.keys(tn), $a = (e) => {
530
+ }, _t = Object.keys(tn), ja = (e) => {
531
531
  if (typeof e != "string")
532
532
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
533
533
  if (_t.indexOf(e) === -1)
534
534
  throw new Error(`Invalid operator, expected one of ${_t.join("|")}`);
535
- }, ja = (e) => typeof e == "string" && /^[v\d]/.test(e) && en.test(e);
535
+ }, $a = (e) => typeof e == "string" && /^[v\d]/.test(e) && en.test(e);
536
536
  function Oa(e) {
537
537
  const { gatewayInfo: n, supportedRange: t } = e;
538
538
  if (!n)
539
539
  return !0;
540
540
  const { edition: a, version: i } = n;
541
- if (!ja(i))
541
+ if (!$a(i))
542
542
  return console.error("Invalid version"), !1;
543
543
  const r = t[a];
544
544
  if (!r)
@@ -548,46 +548,46 @@ function Oa(e) {
548
548
  }
549
549
  function Ma(e) {
550
550
  const n = O(0), t = O(0), a = O(!1);
551
- return be(e, (i) => {
551
+ return ke(e, (i) => {
552
552
  i && !a.value && (n.value = i.offsetWidth, t.value = i.scrollWidth, a.value = !0);
553
553
  }), {
554
- isTruncated: _(() => n.value < t.value)
554
+ isTruncated: x(() => n.value < t.value)
555
555
  };
556
556
  }
557
- const ae = {
557
+ const ie = {
558
558
  useAxios: dt,
559
559
  useDebouncedFilter: ka,
560
560
  useDeleteUrlBuilder: Ca,
561
561
  useErrors: wa,
562
562
  useExternalLinkCreator: Sa,
563
563
  useFetcher: Aa,
564
- useFetchUrlBuilder: Qt,
565
- useHelpers: Xt,
564
+ useFetchUrlBuilder: Xt,
565
+ useHelpers: Qt,
566
566
  useStringHelpers: Ia,
567
567
  useI18n: pt,
568
568
  useGatewayFeatureSupported: Oa,
569
569
  useTruncationDetector: Ma
570
- }, Fa = {
570
+ }, Ea = {
571
571
  fail: "Failed to copy id to clipboard",
572
572
  success: {
573
573
  prefix: "Successfully",
574
574
  content: " copied to clipboard"
575
575
  }
576
- }, Ka = "Copy to clipboard", Ea = {
577
- message: Fa,
576
+ }, Ka = "Copy to clipboard", Fa = {
577
+ message: Ea,
578
578
  iconTitle: Ka
579
579
  }, Na = "kong-ui-copy-uuid-notify", Tt = "24px", Ba = (e, n) => {
580
580
  const t = e.__vccOpts || e;
581
581
  for (const [a, i] of n)
582
582
  t[a] = i;
583
583
  return t;
584
- }, La = (e) => (Yt("data-v-9971cc79"), e = e(), Wt(), e), qa = ["aria-hidden"], Pa = {
584
+ }, qa = (e) => (Yt("data-v-9971cc79"), e = e(), Wt(), e), La = ["aria-hidden"], Ra = {
585
585
  key: 0,
586
586
  "data-testid": "kui-icon-svg-title"
587
- }, Ra = /* @__PURE__ */ La(() => /* @__PURE__ */ L("path", {
587
+ }, Pa = /* @__PURE__ */ qa(() => /* @__PURE__ */ L("path", {
588
588
  d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
589
589
  fill: "currentColor"
590
- }, null, -1)), Ua = /* @__PURE__ */ Q({
590
+ }, null, -1)), Va = /* @__PURE__ */ te({
591
591
  __name: "CopyIcon",
592
592
  props: {
593
593
  /** The accessibility text provided to screen readers */
@@ -639,7 +639,7 @@ const ae = {
639
639
  }
640
640
  },
641
641
  setup(e) {
642
- const n = e, t = _(() => {
642
+ const n = e, t = x(() => {
643
643
  if (typeof n.size == "number" && n.size > 0)
644
644
  return `${n.size}px`;
645
645
  if (typeof n.size == "string") {
@@ -648,7 +648,7 @@ const ae = {
648
648
  return `${r}px`;
649
649
  }
650
650
  return Tt;
651
- }), a = _(() => ({
651
+ }), a = x(() => ({
652
652
  boxSizing: "border-box",
653
653
  color: n.color,
654
654
  display: n.display,
@@ -656,14 +656,14 @@ const ae = {
656
656
  lineHeight: "0",
657
657
  width: t.value
658
658
  }));
659
- return (i, r) => (y(), N($e(e.as), {
659
+ return (i, r) => (y(), B(je(e.as), {
660
660
  "aria-hidden": e.decorative ? "true" : void 0,
661
661
  class: "kui-icon copy-icon",
662
662
  "data-testid": "kui-icon-wrapper-copy-icon",
663
663
  style: Jt(a.value)
664
664
  }, {
665
- default: b(() => [
666
- (y(), x("svg", {
665
+ default: k(() => [
666
+ (y(), I("svg", {
667
667
  "aria-hidden": e.decorative ? "true" : void 0,
668
668
  "data-testid": "kui-icon-svg-copy-icon",
669
669
  fill: "none",
@@ -673,14 +673,14 @@ const ae = {
673
673
  width: "100%",
674
674
  xmlns: "http://www.w3.org/2000/svg"
675
675
  }, [
676
- e.title ? (y(), x("title", Pa, E(e.title), 1)) : U("", !0),
677
- Ra
678
- ], 8, qa))
676
+ e.title ? (y(), I("title", Ra, K(e.title), 1)) : D("", !0),
677
+ Pa
678
+ ], 8, La))
679
679
  ]),
680
680
  _: 1
681
681
  }, 8, ["aria-hidden", "style"]));
682
682
  }
683
- }), Va = /* @__PURE__ */ Ba(Ua, [["__scopeId", "data-v-9971cc79"]]), Da = "16px", za = { class: "kong-ui-copy-uuid" }, Ha = ["onClick"], $t = 15, Ja = /* @__PURE__ */ Q({
683
+ }), Da = /* @__PURE__ */ Ba(Va, [["__scopeId", "data-v-9971cc79"]]), Ua = "16px", Ha = { class: "kong-ui-copy-uuid" }, za = ["onClick"], jt = 15, Ja = /* @__PURE__ */ te({
684
684
  __name: "CopyUuid",
685
685
  props: {
686
686
  uuid: {
@@ -724,19 +724,19 @@ const ae = {
724
724
  },
725
725
  emits: ["success", "error"],
726
726
  setup(e, { emit: n }) {
727
- const t = e, { t: a } = ct("en-us", Ea), i = t.notify || ta(Na, () => {
728
- }), r = _(() => t.idTooltip ? {
727
+ const t = e, { t: a } = ct("en-us", Fa), i = t.notify || ta(Na, () => {
728
+ }), r = x(() => t.idTooltip ? {
729
729
  label: t.idTooltip,
730
730
  positionFixed: !0,
731
731
  placement: "bottomStart"
732
732
  } : {
733
733
  title: t.uuid
734
- }), o = _(() => !!(t.tooltip && t.successTooltip)), l = O(t.tooltip), s = _(() => t.tooltip ? {
734
+ }), o = x(() => !!(t.tooltip && t.successTooltip)), l = O(t.tooltip), s = x(() => t.tooltip ? {
735
735
  label: l.value,
736
736
  positionFixed: !0,
737
737
  maxWidth: "500px",
738
738
  placement: "bottomStart"
739
- } : {}), c = _(() => {
739
+ } : {}), c = x(() => {
740
740
  var g;
741
741
  return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(g = t.uuid) == null ? void 0 : g.substring(0, 5)}` : t.uuid;
742
742
  }), d = (g) => {
@@ -744,7 +744,7 @@ const ae = {
744
744
  l.value = t.tooltip;
745
745
  }, 1800);
746
746
  }, u = (g) => {
747
- var f, A;
747
+ var f, S;
748
748
  if (!g(t.uuid)) {
749
749
  typeof i == "function" && i({
750
750
  type: "error",
@@ -752,45 +752,45 @@ const ae = {
752
752
  }), o.value ? d(a("message.fail")) : n("error", t.uuid);
753
753
  return;
754
754
  }
755
- const v = ((f = t.uuid) == null ? void 0 : f.length) > $t, p = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((A = t.uuid) == null ? void 0 : A.substring(0, $t)) + (v ? "..." : "")}"`;
755
+ const b = ((f = t.uuid) == null ? void 0 : f.length) > jt, p = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((S = t.uuid) == null ? void 0 : S.substring(0, jt)) + (b ? "..." : "")}"`;
756
756
  typeof i == "function" && i({
757
757
  type: "success",
758
758
  message: `${p}${a("message.success.content")}`
759
759
  }), o.value ? d(t.successTooltip) : n("success", t.uuid);
760
760
  };
761
761
  return (g, f) => {
762
- const A = K("KClipboardProvider");
763
- return y(), x("div", za, [
764
- e.format !== "hidden" ? (y(), N($e(e.idTooltip ? "KTooltip" : "div"), et({ key: 0 }, r.value, { "data-testid": "copy-id" }), {
765
- default: b(() => [
762
+ const S = E("KClipboardProvider");
763
+ return y(), I("div", Ha, [
764
+ e.format !== "hidden" ? (y(), B(je(e.idTooltip ? "KTooltip" : "div"), et({ key: 0 }, r.value, { "data-testid": "copy-id" }), {
765
+ default: k(() => [
766
766
  L("div", {
767
767
  class: Ae([
768
768
  "uuid-container",
769
769
  e.truncated ? "truncated-uuid" : null,
770
770
  e.useMono ? "mono" : null
771
771
  ])
772
- }, E(c.value), 3)
772
+ }, K(c.value), 3)
773
773
  ]),
774
774
  _: 1
775
- }, 16)) : U("", !0),
776
- (y(), N($e(e.tooltip ? "KTooltip" : "div"), et(s.value, { class: "uuid-icon-wrapper" }), {
777
- default: b(() => [
778
- T(A, null, {
779
- default: b(({ copyToClipboard: v }) => [
775
+ }, 16)) : D("", !0),
776
+ (y(), B(je(e.tooltip ? "KTooltip" : "div"), et(s.value, { class: "uuid-icon-wrapper" }), {
777
+ default: k(() => [
778
+ j(S, null, {
779
+ default: k(({ copyToClipboard: b }) => [
780
780
  L("span", {
781
781
  "data-testid": "copy-to-clipboard",
782
782
  role: "button",
783
783
  tabindex: "0",
784
- onClick: Pe((p) => u(v), ["stop"])
784
+ onClick: Re((p) => u(b), ["stop"])
785
785
  }, [
786
- T(w(Va), {
786
+ j(w(Da), {
787
787
  class: "uuid-icon",
788
788
  color: e.iconColor,
789
789
  decorative: !!e.tooltip,
790
- size: w(Da),
790
+ size: w(Ua),
791
791
  title: w(a)("iconTitle")
792
792
  }, null, 8, ["color", "decorative", "size", "title"])
793
- ], 8, Ha)
793
+ ], 8, za)
794
794
  ]),
795
795
  _: 1
796
796
  })
@@ -808,7 +808,7 @@ const ae = {
808
808
  }, nn = /* @__PURE__ */ Ya(Ja, [["__scopeId", "data-v-0c07874b"]]), Wa = {
809
809
  key: 0,
810
810
  class: "config-card-fieldset-title"
811
- }, Ga = /* @__PURE__ */ Q({
811
+ }, Za = /* @__PURE__ */ te({
812
812
  __name: "JsonCardItem",
813
813
  props: {
814
814
  item: {
@@ -825,21 +825,21 @@ const ae = {
825
825
  }
826
826
  },
827
827
  setup(e) {
828
- const n = e, { i18n: { t } } = ae.useI18n(), { convertKeyToTitle: a } = ae.useStringHelpers(), i = _(() => n.item.key ?? "json-array-item"), r = _(() => n.item.value ?? n.item), o = _(() => {
828
+ const n = e, { i18n: { t } } = ie.useI18n(), { convertKeyToTitle: a } = ie.useStringHelpers(), i = x(() => n.item.key ?? "json-array-item"), r = x(() => n.item.value ?? n.item), o = x(() => {
829
829
  const s = JSON.parse(JSON.stringify(r.value));
830
830
  return n.isArrayItem && delete s.name, s;
831
- }), l = _(() => {
831
+ }), l = x(() => {
832
832
  var s;
833
833
  return n.isArrayItem ? (s = r.value) != null && s.name ? a(r.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
834
834
  });
835
- return (s, c) => (y(), N($e(e.isArrayItem ? "fieldset" : "div"), {
835
+ return (s, c) => (y(), B(je(e.isArrayItem ? "fieldset" : "div"), {
836
836
  class: Ae(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
837
837
  }, {
838
- default: b(() => [
839
- e.isArrayItem ? (y(), x("legend", Wa, [
840
- L("b", null, E(l.value), 1)
841
- ])) : U("", !0),
842
- (y(!0), x(pe, null, ue(Object.keys(o.value), (d, u) => (y(), N(ft, {
838
+ default: k(() => [
839
+ e.isArrayItem ? (y(), I("legend", Wa, [
840
+ L("b", null, K(l.value), 1)
841
+ ])) : D("", !0),
842
+ (y(!0), I(pe, null, ue(Object.keys(o.value), (d, u) => (y(), B(ft, {
843
843
  key: `${i.value}-property-${u}`,
844
844
  item: {
845
845
  key: d,
@@ -856,7 +856,7 @@ const ae = {
856
856
  for (const [a, i] of n)
857
857
  t[a] = i;
858
858
  return t;
859
- }, an = /* @__PURE__ */ fe(Ga, [["__scopeId", "data-v-68ca83ec"]]), Za = /* @__PURE__ */ Q({
859
+ }, an = /* @__PURE__ */ fe(Za, [["__scopeId", "data-v-68ca83ec"]]), Ga = /* @__PURE__ */ te({
860
860
  __name: "InternalLinkItem",
861
861
  props: {
862
862
  item: {
@@ -866,24 +866,24 @@ const ae = {
866
866
  },
867
867
  emits: ["navigation-click"],
868
868
  setup(e) {
869
- const { i18n: { t: n } } = ae.useI18n();
869
+ const { i18n: { t: n } } = ie.useI18n();
870
870
  return (t, a) => {
871
- const i = K("KButton");
872
- return y(), x("div", null, [
873
- T(i, {
871
+ const i = E("KButton");
872
+ return y(), I("div", null, [
873
+ j(i, {
874
874
  appearance: "tertiary",
875
875
  class: "navigation-button",
876
876
  onClick: a[0] || (a[0] = (r) => t.$emit("navigation-click", e.item))
877
877
  }, {
878
- default: b(() => [
879
- z(E(e.item.value || w(n)("baseConfigCard.commonFields.link")), 1)
878
+ default: k(() => [
879
+ H(K(e.item.value || w(n)("baseConfigCard.commonFields.link")), 1)
880
880
  ]),
881
881
  _: 1
882
882
  })
883
883
  ]);
884
884
  };
885
885
  }
886
- }), Xa = /* @__PURE__ */ fe(Za, [["__scopeId", "data-v-c96811e5"]]), Qa = /* @__PURE__ */ Q({
886
+ }), Qa = /* @__PURE__ */ fe(Ga, [["__scopeId", "data-v-c96811e5"]]), Xa = /* @__PURE__ */ te({
887
887
  __name: "StatusBadge",
888
888
  props: {
889
889
  status: {
@@ -892,14 +892,14 @@ const ae = {
892
892
  }
893
893
  },
894
894
  setup(e) {
895
- const { i18n: { t: n } } = ae.useI18n();
895
+ const { i18n: { t: n } } = ie.useI18n();
896
896
  return (t, a) => {
897
- const i = K("KBadge");
898
- return y(), N(i, {
897
+ const i = E("KBadge");
898
+ return y(), B(i, {
899
899
  appearance: e.status ? "success" : "neutral"
900
900
  }, {
901
- default: b(() => [
902
- z(E(e.status ? w(n)("baseConfigCard.statusBadge.enabledLabel") : w(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
901
+ default: k(() => [
902
+ H(K(e.status ? w(n)("baseConfigCard.statusBadge.enabledLabel") : w(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
903
903
  ]),
904
904
  _: 1
905
905
  }, 8, ["appearance"]);
@@ -907,8 +907,8 @@ const ae = {
907
907
  }
908
908
  }), ei = "#0044f4", ti = "#e0e4ea", ni = "#3a3f51", ai = "1px", ii = "20px", ri = { class: "config-card-details-row" }, oi = ["data-testid"], li = ["data-testid"], si = ["data-testid"], ci = ["data-testid"], ui = { key: 1 }, di = ["data-testid"], pi = ["data-testid"], fi = ["data-testid"], yi = ["data-testid"], gi = {
909
909
  name: "ConfigCardItem",
910
- components: { CopyUuid: nn, JsonCardItem: an, StatusBadge: Qa, InternalLinkItem: Xa }
911
- }, mi = /* @__PURE__ */ Q({
910
+ components: { CopyUuid: nn, JsonCardItem: an, StatusBadge: Xa, InternalLinkItem: Qa }
911
+ }, mi = /* @__PURE__ */ te({
912
912
  ...gi,
913
913
  props: {
914
914
  item: {
@@ -929,15 +929,15 @@ const ae = {
929
929
  emits: ["navigation-click"],
930
930
  setup(e, { emit: n }) {
931
931
  const t = e;
932
- Gn((f) => ({
932
+ Zn((f) => ({
933
933
  "1df60db4": c.value ? "none" : `solid ${w(ai)} ${w(ti)}`,
934
934
  "21d1d34e": s.value && o.value ? "block" : "flex",
935
935
  "4d3dc7e7": s.value && o.value ? "100%" : t.slim ? "50%" : "25%",
936
936
  "4d400dc2": s.value && o.value ? "100%" : t.slim ? "50%" : "75%"
937
937
  }));
938
- const a = Je(), { i18n: { t: i, formatUnixTimeStamp: r } } = ae.useI18n(), o = _(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = _(() => !!(t.item.tooltip || a["label-tooltip"])), s = _(() => t.item.type === J.Json || t.item.type === J.JsonArray), c = _(() => t.item.type === J.JsonArray), d = _(() => {
938
+ const a = Je(), { i18n: { t: i, formatUnixTimeStamp: r } } = ie.useI18n(), o = x(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = x(() => !!(t.item.tooltip || a["label-tooltip"])), s = x(() => t.item.type === W.Json || t.item.type === W.JsonArray), c = x(() => t.item.type === W.JsonArray), d = x(() => {
939
939
  switch (t.item.type) {
940
- case J.ID:
940
+ case W.ID:
941
941
  return {
942
942
  tag: "CopyUuid",
943
943
  attrs: {
@@ -950,7 +950,7 @@ const ae = {
950
950
  }
951
951
  }
952
952
  };
953
- case J.IdArray:
953
+ case W.IdArray:
954
954
  return {
955
955
  tag: "div",
956
956
  additionalComponent: "CopyUuid",
@@ -962,7 +962,7 @@ const ae = {
962
962
  }
963
963
  }
964
964
  };
965
- case J.Redacted:
965
+ case W.Redacted:
966
966
  return {
967
967
  tag: "CopyUuid",
968
968
  attrs: {
@@ -976,7 +976,7 @@ const ae = {
976
976
  }
977
977
  }
978
978
  };
979
- case J.RedactedArray:
979
+ case W.RedactedArray:
980
980
  return {
981
981
  tag: "div",
982
982
  additionalComponent: "CopyUuid",
@@ -989,7 +989,7 @@ const ae = {
989
989
  }
990
990
  }
991
991
  };
992
- case J.Date:
992
+ case W.Date:
993
993
  return {
994
994
  tag: "div",
995
995
  attrs: {
@@ -997,7 +997,7 @@ const ae = {
997
997
  },
998
998
  text: r(t.item.value)
999
999
  };
1000
- case J.BadgeStatus:
1000
+ case W.BadgeStatus:
1001
1001
  return {
1002
1002
  tag: "StatusBadge",
1003
1003
  attrs: {
@@ -1005,17 +1005,17 @@ const ae = {
1005
1005
  status: t.item.value
1006
1006
  }
1007
1007
  };
1008
- case J.BadgeTag:
1008
+ case W.BadgeTag:
1009
1009
  return {
1010
1010
  tag: "div",
1011
1011
  additionalComponent: "KBadge"
1012
1012
  };
1013
- case J.BadgeMethod:
1013
+ case W.BadgeMethod:
1014
1014
  return {
1015
1015
  tag: "div",
1016
1016
  additionalComponent: "KMethodBadge"
1017
1017
  };
1018
- case J.LinkInternal:
1018
+ case W.LinkInternal:
1019
1019
  return {
1020
1020
  tag: "InternalLinkItem",
1021
1021
  attrs: {
@@ -1026,7 +1026,7 @@ const ae = {
1026
1026
  }
1027
1027
  }
1028
1028
  };
1029
- case J.LinkExternal:
1029
+ case W.LinkExternal:
1030
1030
  return {
1031
1031
  tag: "KExternalLink",
1032
1032
  attrs: {
@@ -1035,7 +1035,7 @@ const ae = {
1035
1035
  },
1036
1036
  text: t.item.value
1037
1037
  };
1038
- case J.Json:
1038
+ case W.Json:
1039
1039
  return {
1040
1040
  tag: "JsonCardItem",
1041
1041
  attrs: {
@@ -1043,7 +1043,7 @@ const ae = {
1043
1043
  item: t.item
1044
1044
  }
1045
1045
  };
1046
- case J.JsonArray:
1046
+ case W.JsonArray:
1047
1047
  return {
1048
1048
  tag: "div",
1049
1049
  additionalComponent: "JsonCardItem",
@@ -1061,29 +1061,29 @@ const ae = {
1061
1061
  text: t.item.value
1062
1062
  };
1063
1063
  }
1064
- }), u = O(), { isTruncated: g } = ae.useTruncationDetector(u);
1065
- return (f, A) => {
1066
- const v = K("KLabel"), p = K("KBadge"), h = K("KMethodBadge"), m = K("KTooltip");
1067
- return y(), x("div", ri, [
1064
+ }), u = O(), { isTruncated: g } = ie.useTruncationDetector(u);
1065
+ return (f, S) => {
1066
+ const b = E("KLabel"), p = E("KBadge"), h = E("KMethodBadge"), m = E("KTooltip");
1067
+ return y(), I("div", ri, [
1068
1068
  L("div", {
1069
1069
  class: "config-card-details-label",
1070
1070
  "data-testid": `${e.item.key}-label`
1071
1071
  }, [
1072
- V(f.$slots, "label", { item: e.item }, () => [
1073
- T(v, { "tooltip-attributes": { maxWidth: "500px" } }, we({
1074
- default: b(() => [
1075
- z(E(e.item.label) + " ", 1)
1072
+ U(f.$slots, "label", { item: e.item }, () => [
1073
+ j(b, { "tooltip-attributes": { maxWidth: "500px" } }, we({
1074
+ default: k(() => [
1075
+ H(K(e.item.label) + " ", 1)
1076
1076
  ]),
1077
1077
  _: 2
1078
1078
  }, [
1079
1079
  l.value ? {
1080
1080
  name: "tooltip",
1081
- fn: b(() => [
1081
+ fn: k(() => [
1082
1082
  L("div", {
1083
1083
  "data-testid": `${e.item.key}-label-tooltip`
1084
1084
  }, [
1085
- V(f.$slots, "label-tooltip", {}, () => [
1086
- z(E(e.item.tooltip), 1)
1085
+ U(f.$slots, "label-tooltip", {}, () => [
1086
+ H(K(e.item.tooltip), 1)
1087
1087
  ], !0)
1088
1088
  ], 8, li)
1089
1089
  ]),
@@ -1096,84 +1096,84 @@ const ae = {
1096
1096
  class: "config-card-details-value",
1097
1097
  "data-testid": `${e.item.key}-property-value`
1098
1098
  }, [
1099
- V(f.$slots, e.item.key, {
1099
+ U(f.$slots, e.item.key, {
1100
1100
  rowValue: e.item.value
1101
1101
  }, () => [
1102
- o.value ? (y(), x("div", ui, [
1103
- (y(), N($e(d.value.tag), Zn(Xn(d.value.attrs)), {
1104
- default: b(() => [
1105
- d.value.additionalComponent === "KBadge" ? (y(), x("div", {
1102
+ o.value ? (y(), I("div", ui, [
1103
+ (y(), B(je(d.value.tag), Gn(Qn(d.value.attrs)), {
1104
+ default: k(() => [
1105
+ d.value.additionalComponent === "KBadge" ? (y(), I("div", {
1106
1106
  key: 0,
1107
1107
  "data-testid": `${e.item.key}-badge-tags`
1108
1108
  }, [
1109
- (y(!0), x(pe, null, ue(e.item.value, (k, S) => (y(), N(p, {
1110
- key: `${e.item.key}-badge-tag-${S}`,
1109
+ (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(p, {
1110
+ key: `${e.item.key}-badge-tag-${v}`,
1111
1111
  class: "config-badge",
1112
- "data-testid": `${e.item.key}-badge-tag-${S}`,
1113
- "truncation-tooltip": k
1112
+ "data-testid": `${e.item.key}-badge-tag-${v}`,
1113
+ "truncation-tooltip": _
1114
1114
  }, {
1115
- default: b(() => [
1116
- z(E(k), 1)
1115
+ default: k(() => [
1116
+ H(K(_), 1)
1117
1117
  ]),
1118
1118
  _: 2
1119
1119
  }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1120
- ], 8, di)) : U("", !0),
1121
- d.value.additionalComponent === "CopyUuid" ? (y(), x("div", {
1120
+ ], 8, di)) : D("", !0),
1121
+ d.value.additionalComponent === "CopyUuid" ? (y(), I("div", {
1122
1122
  key: 1,
1123
1123
  class: "copy-uuid-array",
1124
1124
  "data-testid": `${e.item.key}-copy-uuid-array`
1125
1125
  }, [
1126
- (y(!0), x(pe, null, ue(e.item.value, (k, S) => (y(), N(w(nn), et(d.value.childAttrs, {
1127
- key: `${e.item.key}-copy-uuid-${S}`,
1128
- "data-testid": `${e.item.key}-copy-uuid-${S}`,
1129
- uuid: k
1126
+ (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(w(nn), et(d.value.childAttrs, {
1127
+ key: `${e.item.key}-copy-uuid-${v}`,
1128
+ "data-testid": `${e.item.key}-copy-uuid-${v}`,
1129
+ uuid: _
1130
1130
  }), null, 16, ["data-testid", "uuid"]))), 128))
1131
- ], 8, pi)) : d.value.additionalComponent === "KMethodBadge" ? (y(), x("div", {
1131
+ ], 8, pi)) : d.value.additionalComponent === "KMethodBadge" ? (y(), I("div", {
1132
1132
  key: 2,
1133
1133
  class: "method-badge-array",
1134
1134
  "data-testid": `${e.item.key}-badge-methods`
1135
1135
  }, [
1136
- (y(!0), x(pe, null, ue(e.item.value, (k, S) => (y(), N(h, {
1137
- key: `${e.item.key}-badge-method-${S}`,
1136
+ (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(h, {
1137
+ key: `${e.item.key}-badge-method-${v}`,
1138
1138
  class: "config-badge",
1139
- "data-testid": `${e.item.key}-badge-method-${S}`,
1139
+ "data-testid": `${e.item.key}-badge-method-${v}`,
1140
1140
  "is-rounded": "",
1141
- label: k,
1142
- method: w(aa).includes(k.toLowerCase()) ? k.toLowerCase() : "custom"
1141
+ label: _,
1142
+ method: w(aa).includes(_.toLowerCase()) ? _.toLowerCase() : "custom"
1143
1143
  }, {
1144
- default: b(() => [
1145
- z(E(k), 1)
1144
+ default: k(() => [
1145
+ H(K(_), 1)
1146
1146
  ]),
1147
1147
  _: 2
1148
1148
  }, 1032, ["data-testid", "label", "method"]))), 128))
1149
- ], 8, fi)) : U("", !0),
1150
- d.value.additionalComponent === "JsonCardItem" ? (y(), x("div", {
1149
+ ], 8, fi)) : D("", !0),
1150
+ d.value.additionalComponent === "JsonCardItem" ? (y(), I("div", {
1151
1151
  key: 3,
1152
1152
  "data-testid": `${t.item.key}-json-array-content`
1153
1153
  }, [
1154
- (y(!0), x(pe, null, ue(e.item.value, (k, S) => (y(), N(an, {
1155
- key: `json-array-item-${S}`,
1156
- index: S,
1154
+ (y(!0), I(pe, null, ue(e.item.value, (_, v) => (y(), B(an, {
1155
+ key: `json-array-item-${v}`,
1156
+ index: v,
1157
1157
  "is-array-item": "",
1158
- item: k
1158
+ item: _
1159
1159
  }, null, 8, ["index", "item"]))), 128))
1160
- ], 8, yi)) : (y(), N(m, {
1160
+ ], 8, yi)) : (y(), B(m, {
1161
1161
  key: 4,
1162
1162
  label: w(g) ? e.item.value : ""
1163
1163
  }, {
1164
- default: b(() => [
1164
+ default: k(() => [
1165
1165
  L("span", {
1166
1166
  ref_key: "textContent",
1167
1167
  ref: u,
1168
1168
  class: Ae(["attrs-data-text", { truncated: e.truncated }])
1169
- }, E(d.value.text), 3)
1169
+ }, K(d.value.text), 3)
1170
1170
  ]),
1171
1171
  _: 1
1172
1172
  }, 8, ["label"]))
1173
1173
  ]),
1174
1174
  _: 1
1175
1175
  }, 16))
1176
- ])) : (y(), x("div", {
1176
+ ])) : (y(), I("div", {
1177
1177
  key: 0,
1178
1178
  "data-testid": `${e.item.key}-no-value`
1179
1179
  }, " – ", 8, ci))
@@ -1209,7 +1209,7 @@ function ki(e, n) {
1209
1209
  function Ci(e) {
1210
1210
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1211
1211
  }
1212
- var wi = rn, Si = hi, Ai = vi, Ii = ki, xi = Ci, _i = bi, te = {
1212
+ var wi = rn, Si = hi, Ai = vi, Ii = ki, xi = Ci, _i = bi, ne = {
1213
1213
  isNothing: wi,
1214
1214
  isObject: Si,
1215
1215
  toArray: Ai,
@@ -1223,16 +1223,16 @@ function on(e, n) {
1223
1223
 
1224
1224
  ` + e.mark.snippet), a + " " + t) : a;
1225
1225
  }
1226
- function Fe(e, n) {
1226
+ function Ee(e, n) {
1227
1227
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = on(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1228
1228
  }
1229
- Fe.prototype = Object.create(Error.prototype);
1230
- Fe.prototype.constructor = Fe;
1231
- Fe.prototype.toString = function(e) {
1229
+ Ee.prototype = Object.create(Error.prototype);
1230
+ Ee.prototype.constructor = Ee;
1231
+ Ee.prototype.toString = function(e) {
1232
1232
  return this.name + ": " + on(this, e);
1233
1233
  };
1234
- var se = Fe;
1235
- function Ze(e, n, t, a, i) {
1234
+ var se = Ee;
1235
+ function Ge(e, n, t, a, i) {
1236
1236
  var r = "", o = "", l = Math.floor(i / 2) - 1;
1237
1237
  return a - n > l && (r = " ... ", n = a - l + r.length), t - a > l && (o = " ...", t = a + l - o.length), {
1238
1238
  str: r + e.slice(n, t).replace(/\t/g, "→") + o,
@@ -1240,8 +1240,8 @@ function Ze(e, n, t, a, i) {
1240
1240
  // relative position
1241
1241
  };
1242
1242
  }
1243
- function Xe(e, n) {
1244
- return te.repeat(" ", n - e.length) + e;
1243
+ function Qe(e, n) {
1244
+ return ne.repeat(" ", n - e.length) + e;
1245
1245
  }
1246
1246
  function Ti(e, n) {
1247
1247
  if (n = Object.create(n || null), !e.buffer)
@@ -1252,28 +1252,28 @@ function Ti(e, n) {
1252
1252
  o < 0 && (o = a.length - 1);
1253
1253
  var l = "", s, c, d = Math.min(e.line + n.linesAfter, i.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1254
1254
  for (s = 1; s <= n.linesBefore && !(o - s < 0); s++)
1255
- c = Ze(
1255
+ c = Ge(
1256
1256
  e.buffer,
1257
1257
  a[o - s],
1258
1258
  i[o - s],
1259
1259
  e.position - (a[o] - a[o - s]),
1260
1260
  u
1261
- ), l = te.repeat(" ", n.indent) + Xe((e.line - s + 1).toString(), d) + " | " + c.str + `
1261
+ ), l = ne.repeat(" ", n.indent) + Qe((e.line - s + 1).toString(), d) + " | " + c.str + `
1262
1262
  ` + l;
1263
- for (c = Ze(e.buffer, a[o], i[o], e.position, u), l += te.repeat(" ", n.indent) + Xe((e.line + 1).toString(), d) + " | " + c.str + `
1264
- `, l += te.repeat("-", n.indent + d + 3 + c.pos) + `^
1263
+ for (c = Ge(e.buffer, a[o], i[o], e.position, u), l += ne.repeat(" ", n.indent) + Qe((e.line + 1).toString(), d) + " | " + c.str + `
1264
+ `, l += ne.repeat("-", n.indent + d + 3 + c.pos) + `^
1265
1265
  `, s = 1; s <= n.linesAfter && !(o + s >= i.length); s++)
1266
- c = Ze(
1266
+ c = Ge(
1267
1267
  e.buffer,
1268
1268
  a[o + s],
1269
1269
  i[o + s],
1270
1270
  e.position - (a[o] - a[o + s]),
1271
1271
  u
1272
- ), l += te.repeat(" ", n.indent) + Xe((e.line + s + 1).toString(), d) + " | " + c.str + `
1272
+ ), l += ne.repeat(" ", n.indent) + Qe((e.line + s + 1).toString(), d) + " | " + c.str + `
1273
1273
  `;
1274
1274
  return l.replace(/\n$/, "");
1275
1275
  }
1276
- var $i = Ti, ji = [
1276
+ var ji = Ti, $i = [
1277
1277
  "kind",
1278
1278
  "multi",
1279
1279
  "resolve",
@@ -1297,9 +1297,9 @@ function Mi(e) {
1297
1297
  });
1298
1298
  }), n;
1299
1299
  }
1300
- function Fi(e, n) {
1300
+ function Ei(e, n) {
1301
1301
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1302
- if (ji.indexOf(t) === -1)
1302
+ if ($i.indexOf(t) === -1)
1303
1303
  throw new se('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1304
1304
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1305
1305
  return !0;
@@ -1308,8 +1308,8 @@ function Fi(e, n) {
1308
1308
  }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Mi(n.styleAliases || null), Oi.indexOf(this.kind) === -1)
1309
1309
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1310
1310
  }
1311
- var re = Fi;
1312
- function jt(e, n) {
1311
+ var re = Ei;
1312
+ function $t(e, n) {
1313
1313
  var t = [];
1314
1314
  return e[n].forEach(function(a) {
1315
1315
  var i = t.length;
@@ -1363,7 +1363,7 @@ nt.prototype.extend = function(e) {
1363
1363
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1364
1364
  });
1365
1365
  var a = Object.create(nt.prototype);
1366
- return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = jt(a, "implicit"), a.compiledExplicit = jt(a, "explicit"), a.compiledTypeMap = Ki(a.compiledImplicit, a.compiledExplicit), a;
1366
+ return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = $t(a, "implicit"), a.compiledExplicit = $t(a, "explicit"), a.compiledTypeMap = Ki(a.compiledImplicit, a.compiledExplicit), a;
1367
1367
  };
1368
1368
  var ln = nt, sn = new re("tag:yaml.org,2002:str", {
1369
1369
  kind: "scalar",
@@ -1387,7 +1387,7 @@ var ln = nt, sn = new re("tag:yaml.org,2002:str", {
1387
1387
  un
1388
1388
  ]
1389
1389
  });
1390
- function Ei(e) {
1390
+ function Fi(e) {
1391
1391
  if (e === null)
1392
1392
  return !0;
1393
1393
  var n = e.length;
@@ -1401,7 +1401,7 @@ function Bi(e) {
1401
1401
  }
1402
1402
  var pn = new re("tag:yaml.org,2002:null", {
1403
1403
  kind: "scalar",
1404
- resolve: Ei,
1404
+ resolve: Fi,
1405
1405
  construct: Ni,
1406
1406
  predicate: Bi,
1407
1407
  represent: {
@@ -1423,23 +1423,23 @@ var pn = new re("tag:yaml.org,2002:null", {
1423
1423
  },
1424
1424
  defaultStyle: "lowercase"
1425
1425
  });
1426
- function Li(e) {
1426
+ function qi(e) {
1427
1427
  if (e === null)
1428
1428
  return !1;
1429
1429
  var n = e.length;
1430
1430
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1431
1431
  }
1432
- function qi(e) {
1432
+ function Li(e) {
1433
1433
  return e === "true" || e === "True" || e === "TRUE";
1434
1434
  }
1435
- function Pi(e) {
1435
+ function Ri(e) {
1436
1436
  return Object.prototype.toString.call(e) === "[object Boolean]";
1437
1437
  }
1438
1438
  var fn = new re("tag:yaml.org,2002:bool", {
1439
1439
  kind: "scalar",
1440
- resolve: Li,
1441
- construct: qi,
1442
- predicate: Pi,
1440
+ resolve: qi,
1441
+ construct: Li,
1442
+ predicate: Ri,
1443
1443
  represent: {
1444
1444
  lowercase: function(e) {
1445
1445
  return e ? "true" : "false";
@@ -1453,16 +1453,16 @@ var fn = new re("tag:yaml.org,2002:bool", {
1453
1453
  },
1454
1454
  defaultStyle: "lowercase"
1455
1455
  });
1456
- function Ri(e) {
1456
+ function Pi(e) {
1457
1457
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1458
1458
  }
1459
- function Ui(e) {
1459
+ function Vi(e) {
1460
1460
  return 48 <= e && e <= 55;
1461
1461
  }
1462
- function Vi(e) {
1462
+ function Di(e) {
1463
1463
  return 48 <= e && e <= 57;
1464
1464
  }
1465
- function Di(e) {
1465
+ function Ui(e) {
1466
1466
  if (e === null)
1467
1467
  return !1;
1468
1468
  var n = e.length, t = 0, a = !1, i;
@@ -1483,7 +1483,7 @@ function Di(e) {
1483
1483
  if (i === "x") {
1484
1484
  for (t++; t < n; t++)
1485
1485
  if (i = e[t], i !== "_") {
1486
- if (!Ri(e.charCodeAt(t)))
1486
+ if (!Pi(e.charCodeAt(t)))
1487
1487
  return !1;
1488
1488
  a = !0;
1489
1489
  }
@@ -1492,7 +1492,7 @@ function Di(e) {
1492
1492
  if (i === "o") {
1493
1493
  for (t++; t < n; t++)
1494
1494
  if (i = e[t], i !== "_") {
1495
- if (!Ui(e.charCodeAt(t)))
1495
+ if (!Vi(e.charCodeAt(t)))
1496
1496
  return !1;
1497
1497
  a = !0;
1498
1498
  }
@@ -1503,13 +1503,13 @@ function Di(e) {
1503
1503
  return !1;
1504
1504
  for (; t < n; t++)
1505
1505
  if (i = e[t], i !== "_") {
1506
- if (!Vi(e.charCodeAt(t)))
1506
+ if (!Di(e.charCodeAt(t)))
1507
1507
  return !1;
1508
1508
  a = !0;
1509
1509
  }
1510
1510
  return !(!a || i === "_");
1511
1511
  }
1512
- function zi(e) {
1512
+ function Hi(e) {
1513
1513
  var n = e, t = 1, a;
1514
1514
  if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), a = n[0], (a === "-" || a === "+") && (a === "-" && (t = -1), n = n.slice(1), a = n[0]), n === "0")
1515
1515
  return 0;
@@ -1523,14 +1523,14 @@ function zi(e) {
1523
1523
  }
1524
1524
  return t * parseInt(n, 10);
1525
1525
  }
1526
- function Hi(e) {
1527
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !te.isNegativeZero(e);
1526
+ function zi(e) {
1527
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ne.isNegativeZero(e);
1528
1528
  }
1529
1529
  var yn = new re("tag:yaml.org,2002:int", {
1530
1530
  kind: "scalar",
1531
- resolve: Di,
1532
- construct: zi,
1533
- predicate: Hi,
1531
+ resolve: Ui,
1532
+ construct: Hi,
1533
+ predicate: zi,
1534
1534
  represent: {
1535
1535
  binary: function(e) {
1536
1536
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1566,8 +1566,8 @@ function Wi(e) {
1566
1566
  var n, t;
1567
1567
  return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
1568
1568
  }
1569
- var Gi = /^[-+]?[0-9]+e/;
1570
- function Zi(e, n) {
1569
+ var Zi = /^[-+]?[0-9]+e/;
1570
+ function Gi(e, n) {
1571
1571
  var t;
1572
1572
  if (isNaN(e))
1573
1573
  switch (n) {
@@ -1596,19 +1596,19 @@ function Zi(e, n) {
1596
1596
  case "camelcase":
1597
1597
  return "-.Inf";
1598
1598
  }
1599
- else if (te.isNegativeZero(e))
1599
+ else if (ne.isNegativeZero(e))
1600
1600
  return "-0.0";
1601
- return t = e.toString(10), Gi.test(t) ? t.replace("e", ".e") : t;
1601
+ return t = e.toString(10), Zi.test(t) ? t.replace("e", ".e") : t;
1602
1602
  }
1603
- function Xi(e) {
1604
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || te.isNegativeZero(e));
1603
+ function Qi(e) {
1604
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ne.isNegativeZero(e));
1605
1605
  }
1606
1606
  var gn = new re("tag:yaml.org,2002:float", {
1607
1607
  kind: "scalar",
1608
1608
  resolve: Yi,
1609
1609
  construct: Wi,
1610
- predicate: Xi,
1611
- represent: Zi,
1610
+ predicate: Qi,
1611
+ represent: Gi,
1612
1612
  defaultStyle: "lowercase"
1613
1613
  }), mn = dn.extend({
1614
1614
  implicit: [
@@ -1622,7 +1622,7 @@ var gn = new re("tag:yaml.org,2002:float", {
1622
1622
  ), bn = new RegExp(
1623
1623
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1624
1624
  );
1625
- function Qi(e) {
1625
+ function Xi(e) {
1626
1626
  return e === null ? !1 : vn.exec(e) !== null || bn.exec(e) !== null;
1627
1627
  }
1628
1628
  function er(e) {
@@ -1643,7 +1643,7 @@ function tr(e) {
1643
1643
  }
1644
1644
  var kn = new re("tag:yaml.org,2002:timestamp", {
1645
1645
  kind: "scalar",
1646
- resolve: Qi,
1646
+ resolve: Xi,
1647
1647
  construct: er,
1648
1648
  instanceOf: Date,
1649
1649
  represent: tr
@@ -1771,11 +1771,11 @@ var In = new re("tag:yaml.org,2002:set", {
1771
1771
  An,
1772
1772
  In
1773
1773
  ]
1774
- }), ve = Object.prototype.hasOwnProperty, Ue = 1, xn = 2, _n = 3, Ve = 4, Qe = 1, hr = 2, Ot = 3, vr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, br = /[\x85\u2028\u2029]/, kr = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, $n = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1774
+ }), be = Object.prototype.hasOwnProperty, Ve = 1, xn = 2, _n = 3, De = 4, Xe = 1, hr = 2, Ot = 3, vr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, br = /[\x85\u2028\u2029]/, kr = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, jn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1775
1775
  function Mt(e) {
1776
1776
  return Object.prototype.toString.call(e);
1777
1777
  }
1778
- function ye(e) {
1778
+ function ge(e) {
1779
1779
  return e === 10 || e === 13;
1780
1780
  }
1781
1781
  function Se(e) {
@@ -1797,7 +1797,7 @@ function wr(e) {
1797
1797
  function Sr(e) {
1798
1798
  return 48 <= e && e <= 57 ? e - 48 : -1;
1799
1799
  }
1800
- function Ft(e) {
1800
+ function Et(e) {
1801
1801
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1802
1802
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1803
1803
  }
@@ -1807,9 +1807,9 @@ function Ar(e) {
1807
1807
  (e - 65536 & 1023) + 56320
1808
1808
  );
1809
1809
  }
1810
- var jn = new Array(256), On = new Array(256);
1810
+ var $n = new Array(256), On = new Array(256);
1811
1811
  for (var Ie = 0; Ie < 256; Ie++)
1812
- jn[Ie] = Ft(Ie) ? 1 : 0, On[Ie] = Ft(Ie);
1812
+ $n[Ie] = Et(Ie) ? 1 : 0, On[Ie] = Et(Ie);
1813
1813
  function Ir(e, n) {
1814
1814
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || gt, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1815
1815
  }
@@ -1822,59 +1822,59 @@ function Mn(e, n) {
1822
1822
  line: e.line,
1823
1823
  column: e.position - e.lineStart
1824
1824
  };
1825
- return t.snippet = $i(t), new se(n, t);
1825
+ return t.snippet = ji(t), new se(n, t);
1826
1826
  }
1827
- function I(e, n) {
1827
+ function A(e, n) {
1828
1828
  throw Mn(e, n);
1829
1829
  }
1830
- function De(e, n) {
1830
+ function Ue(e, n) {
1831
1831
  e.onWarning && e.onWarning.call(null, Mn(e, n));
1832
1832
  }
1833
1833
  var Kt = {
1834
1834
  YAML: function(e, n, t) {
1835
1835
  var a, i, r;
1836
- e.version !== null && I(e, "duplication of %YAML directive"), t.length !== 1 && I(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && I(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), r = parseInt(a[2], 10), i !== 1 && I(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = r < 2, r !== 1 && r !== 2 && De(e, "unsupported YAML version of the document");
1836
+ e.version !== null && A(e, "duplication of %YAML directive"), t.length !== 1 && A(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && A(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), r = parseInt(a[2], 10), i !== 1 && A(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = r < 2, r !== 1 && r !== 2 && Ue(e, "unsupported YAML version of the document");
1837
1837
  },
1838
1838
  TAG: function(e, n, t) {
1839
1839
  var a, i;
1840
- t.length !== 2 && I(e, "TAG directive accepts exactly two arguments"), a = t[0], i = t[1], Tn.test(a) || I(e, "ill-formed tag handle (first argument) of the TAG directive"), ve.call(e.tagMap, a) && I(e, 'there is a previously declared suffix for "' + a + '" tag handle'), $n.test(i) || I(e, "ill-formed tag prefix (second argument) of the TAG directive");
1840
+ t.length !== 2 && A(e, "TAG directive accepts exactly two arguments"), a = t[0], i = t[1], Tn.test(a) || A(e, "ill-formed tag handle (first argument) of the TAG directive"), be.call(e.tagMap, a) && A(e, 'there is a previously declared suffix for "' + a + '" tag handle'), jn.test(i) || A(e, "ill-formed tag prefix (second argument) of the TAG directive");
1841
1841
  try {
1842
1842
  i = decodeURIComponent(i);
1843
1843
  } catch {
1844
- I(e, "tag prefix is malformed: " + i);
1844
+ A(e, "tag prefix is malformed: " + i);
1845
1845
  }
1846
1846
  e.tagMap[a] = i;
1847
1847
  }
1848
1848
  };
1849
- function he(e, n, t, a) {
1849
+ function ve(e, n, t, a) {
1850
1850
  var i, r, o, l;
1851
1851
  if (n < t) {
1852
1852
  if (l = e.input.slice(n, t), a)
1853
1853
  for (i = 0, r = l.length; i < r; i += 1)
1854
- o = l.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || I(e, "expected valid JSON character");
1854
+ o = l.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || A(e, "expected valid JSON character");
1855
1855
  else
1856
- vr.test(l) && I(e, "the stream contains non-printable characters");
1856
+ vr.test(l) && A(e, "the stream contains non-printable characters");
1857
1857
  e.result += l;
1858
1858
  }
1859
1859
  }
1860
- function Et(e, n, t, a) {
1860
+ function Ft(e, n, t, a) {
1861
1861
  var i, r, o, l;
1862
- for (te.isObject(t) || I(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(t), o = 0, l = i.length; o < l; o += 1)
1863
- r = i[o], ve.call(n, r) || (n[r] = t[r], a[r] = !0);
1862
+ for (ne.isObject(t) || A(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(t), o = 0, l = i.length; o < l; o += 1)
1863
+ r = i[o], be.call(n, r) || (n[r] = t[r], a[r] = !0);
1864
1864
  }
1865
1865
  function Te(e, n, t, a, i, r, o, l, s) {
1866
1866
  var c, d;
1867
1867
  if (Array.isArray(i))
1868
1868
  for (i = Array.prototype.slice.call(i), c = 0, d = i.length; c < d; c += 1)
1869
- Array.isArray(i[c]) && I(e, "nested arrays are not supported inside keys"), typeof i == "object" && Mt(i[c]) === "[object Object]" && (i[c] = "[object Object]");
1869
+ Array.isArray(i[c]) && A(e, "nested arrays are not supported inside keys"), typeof i == "object" && Mt(i[c]) === "[object Object]" && (i[c] = "[object Object]");
1870
1870
  if (typeof i == "object" && Mt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), n === null && (n = {}), a === "tag:yaml.org,2002:merge")
1871
1871
  if (Array.isArray(r))
1872
1872
  for (c = 0, d = r.length; c < d; c += 1)
1873
- Et(e, n, r[c], t);
1873
+ Ft(e, n, r[c], t);
1874
1874
  else
1875
- Et(e, n, r, t);
1875
+ Ft(e, n, r, t);
1876
1876
  else
1877
- !e.json && !ve.call(t, i) && ve.call(n, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, I(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(n, i, {
1877
+ !e.json && !be.call(t, i) && be.call(n, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, A(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(n, i, {
1878
1878
  configurable: !0,
1879
1879
  enumerable: !0,
1880
1880
  writable: !0,
@@ -1884,9 +1884,9 @@ function Te(e, n, t, a, i, r, o, l, s) {
1884
1884
  }
1885
1885
  function mt(e) {
1886
1886
  var n;
1887
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : I(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1887
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : A(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1888
1888
  }
1889
- function X(e, n, t) {
1889
+ function ee(e, n, t) {
1890
1890
  for (var a = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1891
1891
  for (; Se(i); )
1892
1892
  i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
@@ -1894,20 +1894,20 @@ function X(e, n, t) {
1894
1894
  do
1895
1895
  i = e.input.charCodeAt(++e.position);
1896
1896
  while (i !== 10 && i !== 13 && i !== 0);
1897
- if (ye(i))
1897
+ if (ge(i))
1898
1898
  for (mt(e), i = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; i === 32; )
1899
1899
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1900
1900
  else
1901
1901
  break;
1902
1902
  }
1903
- return t !== -1 && a !== 0 && e.lineIndent < t && De(e, "deficient indentation"), a;
1903
+ return t !== -1 && a !== 0 && e.lineIndent < t && Ue(e, "deficient indentation"), a;
1904
1904
  }
1905
1905
  function Ye(e) {
1906
1906
  var n = e.position, t;
1907
1907
  return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || ce(t)));
1908
1908
  }
1909
1909
  function ht(e, n) {
1910
- n === 1 ? e.result += " " : n > 1 && (e.result += te.repeat(`
1910
+ n === 1 ? e.result += " " : n > 1 && (e.result += ne.repeat(`
1911
1911
  `, n - 1));
1912
1912
  }
1913
1913
  function xr(e, n, t) {
@@ -1924,8 +1924,8 @@ function xr(e, n, t) {
1924
1924
  } else {
1925
1925
  if (e.position === e.lineStart && Ye(e) || t && _e(f))
1926
1926
  break;
1927
- if (ye(f))
1928
- if (s = e.line, c = e.lineStart, d = e.lineIndent, X(e, !1, -1), e.lineIndent >= n) {
1927
+ if (ge(f))
1928
+ if (s = e.line, c = e.lineStart, d = e.lineIndent, ee(e, !1, -1), e.lineIndent >= n) {
1929
1929
  l = !0, f = e.input.charCodeAt(e.position);
1930
1930
  continue;
1931
1931
  } else {
@@ -1933,9 +1933,9 @@ function xr(e, n, t) {
1933
1933
  break;
1934
1934
  }
1935
1935
  }
1936
- l && (he(e, r, o, !1), ht(e, e.line - s), r = o = e.position, l = !1), Se(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1936
+ l && (ve(e, r, o, !1), ht(e, e.line - s), r = o = e.position, l = !1), Se(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1937
1937
  }
1938
- return he(e, r, o, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1938
+ return ve(e, r, o, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1939
1939
  }
1940
1940
  function _r(e, n) {
1941
1941
  var t, a, i;
@@ -1943,13 +1943,13 @@ function _r(e, n) {
1943
1943
  return !1;
1944
1944
  for (e.kind = "scalar", e.result = "", e.position++, a = i = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1945
1945
  if (t === 39)
1946
- if (he(e, a, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1946
+ if (ve(e, a, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1947
1947
  a = e.position, e.position++, i = e.position;
1948
1948
  else
1949
1949
  return !0;
1950
1950
  else
1951
- ye(t) ? (he(e, a, i, !0), ht(e, X(e, !1, n)), a = i = e.position) : e.position === e.lineStart && Ye(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1952
- I(e, "unexpected end of the stream within a single quoted scalar");
1951
+ ge(t) ? (ve(e, a, i, !0), ht(e, ee(e, !1, n)), a = i = e.position) : e.position === e.lineStart && Ye(e) ? A(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1952
+ A(e, "unexpected end of the stream within a single quoted scalar");
1953
1953
  }
1954
1954
  function Tr(e, n) {
1955
1955
  var t, a, i, r, o, l;
@@ -1957,26 +1957,26 @@ function Tr(e, n) {
1957
1957
  return !1;
1958
1958
  for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1959
1959
  if (l === 34)
1960
- return he(e, t, e.position, !0), e.position++, !0;
1960
+ return ve(e, t, e.position, !0), e.position++, !0;
1961
1961
  if (l === 92) {
1962
- if (he(e, t, e.position, !0), l = e.input.charCodeAt(++e.position), ye(l))
1963
- X(e, !1, n);
1964
- else if (l < 256 && jn[l])
1962
+ if (ve(e, t, e.position, !0), l = e.input.charCodeAt(++e.position), ge(l))
1963
+ ee(e, !1, n);
1964
+ else if (l < 256 && $n[l])
1965
1965
  e.result += On[l], e.position++;
1966
1966
  else if ((o = wr(l)) > 0) {
1967
1967
  for (i = o, r = 0; i > 0; i--)
1968
- l = e.input.charCodeAt(++e.position), (o = Cr(l)) >= 0 ? r = (r << 4) + o : I(e, "expected hexadecimal character");
1968
+ l = e.input.charCodeAt(++e.position), (o = Cr(l)) >= 0 ? r = (r << 4) + o : A(e, "expected hexadecimal character");
1969
1969
  e.result += Ar(r), e.position++;
1970
1970
  } else
1971
- I(e, "unknown escape sequence");
1971
+ A(e, "unknown escape sequence");
1972
1972
  t = a = e.position;
1973
1973
  } else
1974
- ye(l) ? (he(e, t, a, !0), ht(e, X(e, !1, n)), t = a = e.position) : e.position === e.lineStart && Ye(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1974
+ ge(l) ? (ve(e, t, a, !0), ht(e, ee(e, !1, n)), t = a = e.position) : e.position === e.lineStart && Ye(e) ? A(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1975
1975
  }
1976
- I(e, "unexpected end of the stream within a double quoted scalar");
1976
+ A(e, "unexpected end of the stream within a double quoted scalar");
1977
1977
  }
1978
- function $r(e, n) {
1979
- var t = !0, a, i, r, o = e.tag, l, s = e.anchor, c, d, u, g, f, A = /* @__PURE__ */ Object.create(null), v, p, h, m;
1978
+ function jr(e, n) {
1979
+ var t = !0, a, i, r, o = e.tag, l, s = e.anchor, c, d, u, g, f, S = /* @__PURE__ */ Object.create(null), b, p, h, m;
1980
1980
  if (m = e.input.charCodeAt(e.position), m === 91)
1981
1981
  d = 93, f = !1, l = [];
1982
1982
  else if (m === 123)
@@ -1984,14 +1984,14 @@ function $r(e, n) {
1984
1984
  else
1985
1985
  return !1;
1986
1986
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), m = e.input.charCodeAt(++e.position); m !== 0; ) {
1987
- if (X(e, !0, n), m = e.input.charCodeAt(e.position), m === d)
1987
+ if (ee(e, !0, n), m = e.input.charCodeAt(e.position), m === d)
1988
1988
  return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1989
- t ? m === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), p = v = h = null, u = g = !1, m === 63 && (c = e.input.charCodeAt(e.position + 1), ce(c) && (u = g = !0, e.position++, X(e, !0, n))), a = e.line, i = e.lineStart, r = e.position, je(e, n, Ue, !1, !0), p = e.tag, v = e.result, X(e, !0, n), m = e.input.charCodeAt(e.position), (g || e.line === a) && m === 58 && (u = !0, m = e.input.charCodeAt(++e.position), X(e, !0, n), je(e, n, Ue, !1, !0), h = e.result), f ? Te(e, l, A, p, v, h, a, i, r) : u ? l.push(Te(e, null, A, p, v, h, a, i, r)) : l.push(v), X(e, !0, n), m = e.input.charCodeAt(e.position), m === 44 ? (t = !0, m = e.input.charCodeAt(++e.position)) : t = !1;
1989
+ t ? m === 44 && A(e, "expected the node content, but found ','") : A(e, "missed comma between flow collection entries"), p = b = h = null, u = g = !1, m === 63 && (c = e.input.charCodeAt(e.position + 1), ce(c) && (u = g = !0, e.position++, ee(e, !0, n))), a = e.line, i = e.lineStart, r = e.position, $e(e, n, Ve, !1, !0), p = e.tag, b = e.result, ee(e, !0, n), m = e.input.charCodeAt(e.position), (g || e.line === a) && m === 58 && (u = !0, m = e.input.charCodeAt(++e.position), ee(e, !0, n), $e(e, n, Ve, !1, !0), h = e.result), f ? Te(e, l, S, p, b, h, a, i, r) : u ? l.push(Te(e, null, S, p, b, h, a, i, r)) : l.push(b), ee(e, !0, n), m = e.input.charCodeAt(e.position), m === 44 ? (t = !0, m = e.input.charCodeAt(++e.position)) : t = !1;
1990
1990
  }
1991
- I(e, "unexpected end of the stream within a flow collection");
1991
+ A(e, "unexpected end of the stream within a flow collection");
1992
1992
  }
1993
- function jr(e, n) {
1994
- var t, a, i = Qe, r = !1, o = !1, l = n, s = 0, c = !1, d, u;
1993
+ function $r(e, n) {
1994
+ var t, a, i = Xe, r = !1, o = !1, l = n, s = 0, c = !1, d, u;
1995
1995
  if (u = e.input.charCodeAt(e.position), u === 124)
1996
1996
  a = !1;
1997
1997
  else if (u === 62)
@@ -2000,9 +2000,9 @@ function jr(e, n) {
2000
2000
  return !1;
2001
2001
  for (e.kind = "scalar", e.result = ""; u !== 0; )
2002
2002
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
2003
- Qe === i ? i = u === 43 ? Ot : hr : I(e, "repeat of a chomping mode identifier");
2003
+ Xe === i ? i = u === 43 ? Ot : hr : A(e, "repeat of a chomping mode identifier");
2004
2004
  else if ((d = Sr(u)) >= 0)
2005
- d === 0 ? I(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? I(e, "repeat of an indentation width identifier") : (l = n + d - 1, o = !0);
2005
+ d === 0 ? A(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? A(e, "repeat of an indentation width identifier") : (l = n + d - 1, o = !0);
2006
2006
  else
2007
2007
  break;
2008
2008
  if (Se(u)) {
@@ -2012,28 +2012,28 @@ function jr(e, n) {
2012
2012
  if (u === 35)
2013
2013
  do
2014
2014
  u = e.input.charCodeAt(++e.position);
2015
- while (!ye(u) && u !== 0);
2015
+ while (!ge(u) && u !== 0);
2016
2016
  }
2017
2017
  for (; u !== 0; ) {
2018
2018
  for (mt(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && u === 32; )
2019
2019
  e.lineIndent++, u = e.input.charCodeAt(++e.position);
2020
- if (!o && e.lineIndent > l && (l = e.lineIndent), ye(u)) {
2020
+ if (!o && e.lineIndent > l && (l = e.lineIndent), ge(u)) {
2021
2021
  s++;
2022
2022
  continue;
2023
2023
  }
2024
2024
  if (e.lineIndent < l) {
2025
- i === Ot ? e.result += te.repeat(`
2026
- `, r ? 1 + s : s) : i === Qe && r && (e.result += `
2025
+ i === Ot ? e.result += ne.repeat(`
2026
+ `, r ? 1 + s : s) : i === Xe && r && (e.result += `
2027
2027
  `);
2028
2028
  break;
2029
2029
  }
2030
- for (a ? Se(u) ? (c = !0, e.result += te.repeat(`
2031
- `, r ? 1 + s : s)) : c ? (c = !1, e.result += te.repeat(`
2032
- `, s + 1)) : s === 0 ? r && (e.result += " ") : e.result += te.repeat(`
2033
- `, s) : e.result += te.repeat(`
2034
- `, r ? 1 + s : s), r = !0, o = !0, s = 0, t = e.position; !ye(u) && u !== 0; )
2030
+ for (a ? Se(u) ? (c = !0, e.result += ne.repeat(`
2031
+ `, r ? 1 + s : s)) : c ? (c = !1, e.result += ne.repeat(`
2032
+ `, s + 1)) : s === 0 ? r && (e.result += " ") : e.result += ne.repeat(`
2033
+ `, s) : e.result += ne.repeat(`
2034
+ `, r ? 1 + s : s), r = !0, o = !0, s = 0, t = e.position; !ge(u) && u !== 0; )
2035
2035
  u = e.input.charCodeAt(++e.position);
2036
- he(e, t, e.position, !1);
2036
+ ve(e, t, e.position, !1);
2037
2037
  }
2038
2038
  return !0;
2039
2039
  }
@@ -2041,78 +2041,78 @@ function Nt(e, n) {
2041
2041
  var t, a = e.tag, i = e.anchor, r = [], o, l = !1, s;
2042
2042
  if (e.firstTabInLine !== -1)
2043
2043
  return !1;
2044
- for (e.anchor !== null && (e.anchorMap[e.anchor] = r), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), !(s !== 45 || (o = e.input.charCodeAt(e.position + 1), !ce(o)))); ) {
2045
- if (l = !0, e.position++, X(e, !0, -1) && e.lineIndent <= n) {
2044
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = r), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), !(s !== 45 || (o = e.input.charCodeAt(e.position + 1), !ce(o)))); ) {
2045
+ if (l = !0, e.position++, ee(e, !0, -1) && e.lineIndent <= n) {
2046
2046
  r.push(null), s = e.input.charCodeAt(e.position);
2047
2047
  continue;
2048
2048
  }
2049
- if (t = e.line, je(e, n, _n, !1, !0), r.push(e.result), X(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
2050
- I(e, "bad indentation of a sequence entry");
2049
+ if (t = e.line, $e(e, n, _n, !1, !0), r.push(e.result), ee(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
2050
+ A(e, "bad indentation of a sequence entry");
2051
2051
  else if (e.lineIndent < n)
2052
2052
  break;
2053
2053
  }
2054
2054
  return l ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = r, !0) : !1;
2055
2055
  }
2056
2056
  function Or(e, n, t) {
2057
- var a, i, r, o, l, s, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, A = null, v = null, p = !1, h = !1, m;
2057
+ var a, i, r, o, l, s, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, S = null, b = null, p = !1, h = !1, m;
2058
2058
  if (e.firstTabInLine !== -1)
2059
2059
  return !1;
2060
2060
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), m = e.input.charCodeAt(e.position); m !== 0; ) {
2061
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (m === 63 || m === 58) && ce(a))
2062
- m === 63 ? (p && (Te(e, u, g, f, A, null, o, l, s), f = A = v = null), h = !0, p = !0, i = !0) : p ? (p = !1, i = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, m = a;
2061
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (m === 63 || m === 58) && ce(a))
2062
+ m === 63 ? (p && (Te(e, u, g, f, S, null, o, l, s), f = S = b = null), h = !0, p = !0, i = !0) : p ? (p = !1, i = !0) : A(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, m = a;
2063
2063
  else {
2064
- if (o = e.line, l = e.lineStart, s = e.position, !je(e, t, xn, !1, !0))
2064
+ if (o = e.line, l = e.lineStart, s = e.position, !$e(e, t, xn, !1, !0))
2065
2065
  break;
2066
2066
  if (e.line === r) {
2067
2067
  for (m = e.input.charCodeAt(e.position); Se(m); )
2068
2068
  m = e.input.charCodeAt(++e.position);
2069
2069
  if (m === 58)
2070
- m = e.input.charCodeAt(++e.position), ce(m) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Te(e, u, g, f, A, null, o, l, s), f = A = v = null), h = !0, p = !1, i = !1, f = e.tag, A = e.result;
2070
+ m = e.input.charCodeAt(++e.position), ce(m) || A(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Te(e, u, g, f, S, null, o, l, s), f = S = b = null), h = !0, p = !1, i = !1, f = e.tag, S = e.result;
2071
2071
  else if (h)
2072
- I(e, "can not read an implicit mapping pair; a colon is missed");
2072
+ A(e, "can not read an implicit mapping pair; a colon is missed");
2073
2073
  else
2074
2074
  return e.tag = c, e.anchor = d, !0;
2075
2075
  } else if (h)
2076
- I(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2076
+ A(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2077
2077
  else
2078
2078
  return e.tag = c, e.anchor = d, !0;
2079
2079
  }
2080
- if ((e.line === r || e.lineIndent > n) && (p && (o = e.line, l = e.lineStart, s = e.position), je(e, n, Ve, !0, i) && (p ? A = e.result : v = e.result), p || (Te(e, u, g, f, A, v, o, l, s), f = A = v = null), X(e, !0, -1), m = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && m !== 0)
2081
- I(e, "bad indentation of a mapping entry");
2080
+ if ((e.line === r || e.lineIndent > n) && (p && (o = e.line, l = e.lineStart, s = e.position), $e(e, n, De, !0, i) && (p ? S = e.result : b = e.result), p || (Te(e, u, g, f, S, b, o, l, s), f = S = b = null), ee(e, !0, -1), m = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && m !== 0)
2081
+ A(e, "bad indentation of a mapping entry");
2082
2082
  else if (e.lineIndent < n)
2083
2083
  break;
2084
2084
  }
2085
- return p && Te(e, u, g, f, A, null, o, l, s), h && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), h;
2085
+ return p && Te(e, u, g, f, S, null, o, l, s), h && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), h;
2086
2086
  }
2087
2087
  function Mr(e) {
2088
2088
  var n, t = !1, a = !1, i, r, o;
2089
2089
  if (o = e.input.charCodeAt(e.position), o !== 33)
2090
2090
  return !1;
2091
- if (e.tag !== null && I(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (a = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", n = e.position, t) {
2091
+ if (e.tag !== null && A(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (a = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", n = e.position, t) {
2092
2092
  do
2093
2093
  o = e.input.charCodeAt(++e.position);
2094
2094
  while (o !== 0 && o !== 62);
2095
- e.position < e.length ? (r = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : I(e, "unexpected end of the stream within a verbatim tag");
2095
+ e.position < e.length ? (r = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : A(e, "unexpected end of the stream within a verbatim tag");
2096
2096
  } else {
2097
2097
  for (; o !== 0 && !ce(o); )
2098
- o === 33 && (a ? I(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(n - 1, e.position + 1), Tn.test(i) || I(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2099
- r = e.input.slice(n, e.position), kr.test(r) && I(e, "tag suffix cannot contain flow indicator characters");
2098
+ o === 33 && (a ? A(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(n - 1, e.position + 1), Tn.test(i) || A(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2099
+ r = e.input.slice(n, e.position), kr.test(r) && A(e, "tag suffix cannot contain flow indicator characters");
2100
2100
  }
2101
- r && !$n.test(r) && I(e, "tag name cannot contain such characters: " + r);
2101
+ r && !jn.test(r) && A(e, "tag name cannot contain such characters: " + r);
2102
2102
  try {
2103
2103
  r = decodeURIComponent(r);
2104
2104
  } catch {
2105
- I(e, "tag name is malformed: " + r);
2105
+ A(e, "tag name is malformed: " + r);
2106
2106
  }
2107
- return t ? e.tag = r : ve.call(e.tagMap, i) ? e.tag = e.tagMap[i] + r : i === "!" ? e.tag = "!" + r : i === "!!" ? e.tag = "tag:yaml.org,2002:" + r : I(e, 'undeclared tag handle "' + i + '"'), !0;
2107
+ return t ? e.tag = r : be.call(e.tagMap, i) ? e.tag = e.tagMap[i] + r : i === "!" ? e.tag = "!" + r : i === "!!" ? e.tag = "tag:yaml.org,2002:" + r : A(e, 'undeclared tag handle "' + i + '"'), !0;
2108
2108
  }
2109
- function Fr(e) {
2109
+ function Er(e) {
2110
2110
  var n, t;
2111
2111
  if (t = e.input.charCodeAt(e.position), t !== 38)
2112
2112
  return !1;
2113
- for (e.anchor !== null && I(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ce(t) && !_e(t); )
2113
+ for (e.anchor !== null && A(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ce(t) && !_e(t); )
2114
2114
  t = e.input.charCodeAt(++e.position);
2115
- return e.position === n && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2115
+ return e.position === n && A(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2116
2116
  }
2117
2117
  function Kr(e) {
2118
2118
  var n, t, a;
@@ -2120,95 +2120,95 @@ function Kr(e) {
2120
2120
  return !1;
2121
2121
  for (a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !ce(a) && !_e(a); )
2122
2122
  a = e.input.charCodeAt(++e.position);
2123
- return e.position === n && I(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), ve.call(e.anchorMap, t) || I(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], X(e, !0, -1), !0;
2124
- }
2125
- function je(e, n, t, a, i) {
2126
- var r, o, l, s = 1, c = !1, d = !1, u, g, f, A, v, p;
2127
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = Ve === t || _n === t, a && X(e, !0, -1) && (c = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2128
- for (; Mr(e) || Fr(e); )
2129
- X(e, !0, -1) ? (c = !0, l = r, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)) : l = !1;
2130
- if (l && (l = c || i), (s === 1 || Ve === t) && (Ue === t || xn === t ? v = n : v = n + 1, p = e.position - e.lineStart, s === 1 ? l && (Nt(e, p) || Or(e, p, v)) || $r(e, v) ? d = !0 : (o && jr(e, v) || _r(e, v) || Tr(e, v) ? d = !0 : Kr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : xr(e, v, Ue === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Nt(e, p))), e.tag === null)
2123
+ return e.position === n && A(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), be.call(e.anchorMap, t) || A(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ee(e, !0, -1), !0;
2124
+ }
2125
+ function $e(e, n, t, a, i) {
2126
+ var r, o, l, s = 1, c = !1, d = !1, u, g, f, S, b, p;
2127
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = De === t || _n === t, a && ee(e, !0, -1) && (c = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2128
+ for (; Mr(e) || Er(e); )
2129
+ ee(e, !0, -1) ? (c = !0, l = r, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)) : l = !1;
2130
+ if (l && (l = c || i), (s === 1 || De === t) && (Ve === t || xn === t ? b = n : b = n + 1, p = e.position - e.lineStart, s === 1 ? l && (Nt(e, p) || Or(e, p, b)) || jr(e, b) ? d = !0 : (o && $r(e, b) || _r(e, b) || Tr(e, b) ? d = !0 : Kr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && A(e, "alias node should not have any properties")) : xr(e, b, Ve === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Nt(e, p))), e.tag === null)
2131
2131
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2132
2132
  else if (e.tag === "?") {
2133
- for (e.result !== null && e.kind !== "scalar" && I(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
2134
- if (A = e.implicitTypes[u], A.resolve(e.result)) {
2135
- e.result = A.construct(e.result), e.tag = A.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2133
+ for (e.result !== null && e.kind !== "scalar" && A(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
2134
+ if (S = e.implicitTypes[u], S.resolve(e.result)) {
2135
+ e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2136
2136
  break;
2137
2137
  }
2138
2138
  } else if (e.tag !== "!") {
2139
- if (ve.call(e.typeMap[e.kind || "fallback"], e.tag))
2140
- A = e.typeMap[e.kind || "fallback"][e.tag];
2139
+ if (be.call(e.typeMap[e.kind || "fallback"], e.tag))
2140
+ S = e.typeMap[e.kind || "fallback"][e.tag];
2141
2141
  else
2142
- for (A = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, g = f.length; u < g; u += 1)
2142
+ for (S = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, g = f.length; u < g; u += 1)
2143
2143
  if (e.tag.slice(0, f[u].tag.length) === f[u].tag) {
2144
- A = f[u];
2144
+ S = f[u];
2145
2145
  break;
2146
2146
  }
2147
- A || I(e, "unknown tag !<" + e.tag + ">"), e.result !== null && A.kind !== e.kind && I(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + A.kind + '", not "' + e.kind + '"'), A.resolve(e.result, e.tag) ? (e.result = A.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : I(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2147
+ S || A(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && A(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)) : A(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2148
2148
  }
2149
2149
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2150
2150
  }
2151
- function Er(e) {
2151
+ function Fr(e) {
2152
2152
  var n = e.position, t, a, i, r = !1, o;
2153
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (X(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2153
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2154
2154
  for (r = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ce(o); )
2155
2155
  o = e.input.charCodeAt(++e.position);
2156
- for (a = e.input.slice(t, e.position), i = [], a.length < 1 && I(e, "directive name must not be less than one character in length"); o !== 0; ) {
2156
+ for (a = e.input.slice(t, e.position), i = [], a.length < 1 && A(e, "directive name must not be less than one character in length"); o !== 0; ) {
2157
2157
  for (; Se(o); )
2158
2158
  o = e.input.charCodeAt(++e.position);
2159
2159
  if (o === 35) {
2160
2160
  do
2161
2161
  o = e.input.charCodeAt(++e.position);
2162
- while (o !== 0 && !ye(o));
2162
+ while (o !== 0 && !ge(o));
2163
2163
  break;
2164
2164
  }
2165
- if (ye(o))
2165
+ if (ge(o))
2166
2166
  break;
2167
2167
  for (t = e.position; o !== 0 && !ce(o); )
2168
2168
  o = e.input.charCodeAt(++e.position);
2169
2169
  i.push(e.input.slice(t, e.position));
2170
2170
  }
2171
- o !== 0 && mt(e), ve.call(Kt, a) ? Kt[a](e, a, i) : De(e, 'unknown document directive "' + a + '"');
2171
+ o !== 0 && mt(e), be.call(Kt, a) ? Kt[a](e, a, i) : Ue(e, 'unknown document directive "' + a + '"');
2172
2172
  }
2173
- if (X(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, X(e, !0, -1)) : r && I(e, "directives end mark is expected"), je(e, e.lineIndent - 1, Ve, !1, !0), X(e, !0, -1), e.checkLineBreaks && br.test(e.input.slice(n, e.position)) && De(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ye(e)) {
2174
- e.input.charCodeAt(e.position) === 46 && (e.position += 3, X(e, !0, -1));
2173
+ if (ee(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, ee(e, !0, -1)) : r && A(e, "directives end mark is expected"), $e(e, e.lineIndent - 1, De, !1, !0), ee(e, !0, -1), e.checkLineBreaks && br.test(e.input.slice(n, e.position)) && Ue(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ye(e)) {
2174
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
2175
2175
  return;
2176
2176
  }
2177
2177
  if (e.position < e.length - 1)
2178
- I(e, "end of the stream or a document separator is expected");
2178
+ A(e, "end of the stream or a document separator is expected");
2179
2179
  else
2180
2180
  return;
2181
2181
  }
2182
- function Fn(e, n) {
2182
+ function En(e, n) {
2183
2183
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2184
2184
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2185
2185
  var t = new Ir(e, n), a = e.indexOf("\0");
2186
- for (a !== -1 && (t.position = a, I(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2186
+ for (a !== -1 && (t.position = a, A(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2187
2187
  t.lineIndent += 1, t.position += 1;
2188
2188
  for (; t.position < t.length - 1; )
2189
- Er(t);
2189
+ Fr(t);
2190
2190
  return t.documents;
2191
2191
  }
2192
2192
  function Nr(e, n, t) {
2193
2193
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2194
- var a = Fn(e, t);
2194
+ var a = En(e, t);
2195
2195
  if (typeof n != "function")
2196
2196
  return a;
2197
2197
  for (var i = 0, r = a.length; i < r; i += 1)
2198
2198
  n(a[i]);
2199
2199
  }
2200
2200
  function Br(e, n) {
2201
- var t = Fn(e, n);
2201
+ var t = En(e, n);
2202
2202
  if (t.length !== 0) {
2203
2203
  if (t.length === 1)
2204
2204
  return t[0];
2205
2205
  throw new se("expected a single document in the stream, but found more");
2206
2206
  }
2207
2207
  }
2208
- var Lr = Nr, qr = Br, Kn = {
2209
- loadAll: Lr,
2210
- load: qr
2211
- }, En = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, vt = 65279, Pr = 9, Ke = 10, Rr = 13, Ur = 32, Vr = 33, Dr = 34, at = 35, zr = 37, Hr = 38, Jr = 39, Yr = 42, Bn = 44, Wr = 45, ze = 58, Gr = 61, Zr = 62, Xr = 63, Qr = 64, Ln = 91, qn = 93, eo = 96, Pn = 123, to = 124, Rn = 125, oe = {};
2208
+ var qr = Nr, Lr = Br, Kn = {
2209
+ loadAll: qr,
2210
+ load: Lr
2211
+ }, Fn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, vt = 65279, Rr = 9, Ke = 10, Pr = 13, Vr = 32, Dr = 33, Ur = 34, at = 35, Hr = 37, zr = 38, Jr = 39, Yr = 42, Bn = 44, Wr = 45, He = 58, Zr = 61, Gr = 62, Qr = 63, Xr = 64, qn = 91, Ln = 93, eo = 96, Rn = 123, to = 124, Pn = 125, oe = {};
2212
2212
  oe[0] = "\\0";
2213
2213
  oe[7] = "\\a";
2214
2214
  oe[8] = "\\b";
@@ -2260,14 +2260,14 @@ function ro(e) {
2260
2260
  t = "U", a = 8;
2261
2261
  else
2262
2262
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2263
- return "\\" + t + te.repeat("0", a - n.length) + n;
2263
+ return "\\" + t + ne.repeat("0", a - n.length) + n;
2264
2264
  }
2265
- var oo = 1, Ee = 2;
2265
+ var oo = 1, Fe = 2;
2266
2266
  function lo(e) {
2267
- this.schema = e.schema || gt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = io(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 === '"' ? Ee : oo, 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;
2267
+ this.schema = e.schema || gt, 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 = io(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 === '"' ? Fe : oo, 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;
2268
2268
  }
2269
2269
  function Bt(e, n) {
2270
- for (var t = te.repeat(" ", n), a = 0, i = -1, r = "", o, l = e.length; a < l; )
2270
+ for (var t = ne.repeat(" ", n), a = 0, i = -1, r = "", o, l = e.length; a < l; )
2271
2271
  i = e.indexOf(`
2272
2272
  `, a), i === -1 ? (o = e.slice(a), a = l) : (o = e.slice(a, i + 1), a = i + 1), o.length && o !== `
2273
2273
  ` && (r += t), r += o;
@@ -2275,7 +2275,7 @@ function Bt(e, n) {
2275
2275
  }
2276
2276
  function it(e, n) {
2277
2277
  return `
2278
- ` + te.repeat(" ", e.indent * n);
2278
+ ` + ne.repeat(" ", e.indent * n);
2279
2279
  }
2280
2280
  function so(e, n) {
2281
2281
  var t, a, i;
@@ -2284,67 +2284,67 @@ function so(e, n) {
2284
2284
  return !0;
2285
2285
  return !1;
2286
2286
  }
2287
- function He(e) {
2288
- return e === Ur || e === Pr;
2287
+ function ze(e) {
2288
+ return e === Vr || e === Rr;
2289
2289
  }
2290
2290
  function Ne(e) {
2291
2291
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== vt || 65536 <= e && e <= 1114111;
2292
2292
  }
2293
- function Lt(e) {
2294
- return Ne(e) && e !== vt && e !== Rr && e !== Ke;
2293
+ function qt(e) {
2294
+ return Ne(e) && e !== vt && e !== Pr && e !== Ke;
2295
2295
  }
2296
- function qt(e, n, t) {
2297
- var a = Lt(e), i = a && !He(e);
2296
+ function Lt(e, n, t) {
2297
+ var a = qt(e), i = a && !ze(e);
2298
2298
  return (
2299
2299
  // ns-plain-safe
2300
2300
  (t ? (
2301
2301
  // c = flow-in
2302
2302
  a
2303
- ) : a && e !== Bn && e !== Ln && e !== qn && e !== Pn && e !== Rn) && e !== at && !(n === ze && !i) || Lt(n) && !He(n) && e === at || n === ze && i
2303
+ ) : a && e !== Bn && e !== qn && e !== Ln && e !== Rn && e !== Pn) && e !== at && !(n === He && !i) || qt(n) && !ze(n) && e === at || n === He && i
2304
2304
  );
2305
2305
  }
2306
2306
  function co(e) {
2307
- return Ne(e) && e !== vt && !He(e) && e !== Wr && e !== Xr && e !== ze && e !== Bn && e !== Ln && e !== qn && e !== Pn && e !== Rn && e !== at && e !== Hr && e !== Yr && e !== Vr && e !== to && e !== Gr && e !== Zr && e !== Jr && e !== Dr && e !== zr && e !== Qr && e !== eo;
2307
+ return Ne(e) && e !== vt && !ze(e) && e !== Wr && e !== Qr && e !== He && e !== Bn && e !== qn && e !== Ln && e !== Rn && e !== Pn && e !== at && e !== zr && e !== Yr && e !== Dr && e !== to && e !== Zr && e !== Gr && e !== Jr && e !== Ur && e !== Hr && e !== Xr && e !== eo;
2308
2308
  }
2309
2309
  function uo(e) {
2310
- return !He(e) && e !== ze;
2310
+ return !ze(e) && e !== He;
2311
2311
  }
2312
2312
  function Me(e, n) {
2313
2313
  var t = e.charCodeAt(n), a;
2314
2314
  return t >= 55296 && t <= 56319 && n + 1 < e.length && (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343) ? (t - 55296) * 1024 + a - 56320 + 65536 : t;
2315
2315
  }
2316
- function Un(e) {
2316
+ function Vn(e) {
2317
2317
  var n = /^\n* /;
2318
2318
  return n.test(e);
2319
2319
  }
2320
- var Vn = 1, rt = 2, Dn = 3, zn = 4, xe = 5;
2320
+ var Dn = 1, rt = 2, Un = 3, Hn = 4, xe = 5;
2321
2321
  function po(e, n, t, a, i, r, o, l) {
2322
- var s, c = 0, d = null, u = !1, g = !1, f = a !== -1, A = -1, v = co(Me(e, 0)) && uo(Me(e, e.length - 1));
2322
+ var s, c = 0, d = null, u = !1, g = !1, f = a !== -1, S = -1, b = co(Me(e, 0)) && uo(Me(e, e.length - 1));
2323
2323
  if (n || o)
2324
2324
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2325
2325
  if (c = Me(e, s), !Ne(c))
2326
2326
  return xe;
2327
- v = v && qt(c, d, l), d = c;
2327
+ b = b && Lt(c, d, l), d = c;
2328
2328
  }
2329
2329
  else {
2330
2330
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2331
2331
  if (c = Me(e, s), c === Ke)
2332
2332
  u = !0, f && (g = g || // Foldable line = too long, and not more-indented.
2333
- s - A - 1 > a && e[A + 1] !== " ", A = s);
2333
+ s - S - 1 > a && e[S + 1] !== " ", S = s);
2334
2334
  else if (!Ne(c))
2335
2335
  return xe;
2336
- v = v && qt(c, d, l), d = c;
2336
+ b = b && Lt(c, d, l), d = c;
2337
2337
  }
2338
- g = g || f && s - A - 1 > a && e[A + 1] !== " ";
2338
+ g = g || f && s - S - 1 > a && e[S + 1] !== " ";
2339
2339
  }
2340
- return !u && !g ? v && !o && !i(e) ? Vn : r === Ee ? xe : rt : t > 9 && Un(e) ? xe : o ? r === Ee ? xe : rt : g ? zn : Dn;
2340
+ return !u && !g ? b && !o && !i(e) ? Dn : r === Fe ? xe : rt : t > 9 && Vn(e) ? xe : o ? r === Fe ? xe : rt : g ? Hn : Un;
2341
2341
  }
2342
2342
  function fo(e, n, t, a, i) {
2343
2343
  e.dump = function() {
2344
2344
  if (n.length === 0)
2345
- return e.quotingType === Ee ? '""' : "''";
2345
+ return e.quotingType === Fe ? '""' : "''";
2346
2346
  if (!e.noCompatMode && (no.indexOf(n) !== -1 || ao.test(n)))
2347
- return e.quotingType === Ee ? '"' + n + '"' : "'" + n + "'";
2347
+ return e.quotingType === Fe ? '"' + n + '"' : "'" + n + "'";
2348
2348
  var r = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - r), l = a || e.flowLevel > -1 && t >= e.flowLevel;
2349
2349
  function s(c) {
2350
2350
  return so(e, c);
@@ -2359,14 +2359,14 @@ function fo(e, n, t, a, i) {
2359
2359
  e.forceQuotes && !a,
2360
2360
  i
2361
2361
  )) {
2362
- case Vn:
2362
+ case Dn:
2363
2363
  return n;
2364
2364
  case rt:
2365
2365
  return "'" + n.replace(/'/g, "''") + "'";
2366
- case Dn:
2367
- return "|" + Pt(n, e.indent) + Rt(Bt(n, r));
2368
- case zn:
2369
- return ">" + Pt(n, e.indent) + Rt(Bt(yo(n, o), r));
2366
+ case Un:
2367
+ return "|" + Rt(n, e.indent) + Pt(Bt(n, r));
2368
+ case Hn:
2369
+ return ">" + Rt(n, e.indent) + Pt(Bt(yo(n, o), r));
2370
2370
  case xe:
2371
2371
  return '"' + go(n) + '"';
2372
2372
  default:
@@ -2374,15 +2374,15 @@ function fo(e, n, t, a, i) {
2374
2374
  }
2375
2375
  }();
2376
2376
  }
2377
- function Pt(e, n) {
2378
- var t = Un(e) ? String(n) : "", a = e[e.length - 1] === `
2377
+ function Rt(e, n) {
2378
+ var t = Vn(e) ? String(n) : "", a = e[e.length - 1] === `
2379
2379
  `, i = a && (e[e.length - 2] === `
2380
2380
  ` || e === `
2381
2381
  `), r = i ? "+" : a ? "" : "-";
2382
2382
  return t + r + `
2383
2383
  `;
2384
2384
  }
2385
- function Rt(e) {
2385
+ function Pt(e) {
2386
2386
  return e[e.length - 1] === `
2387
2387
  ` ? e.slice(0, -1) : e;
2388
2388
  }
@@ -2390,16 +2390,16 @@ function yo(e, n) {
2390
2390
  for (var t = /(\n+)([^\n]*)/g, a = function() {
2391
2391
  var c = e.indexOf(`
2392
2392
  `);
2393
- return c = c !== -1 ? c : e.length, t.lastIndex = c, Ut(e.slice(0, c), n);
2393
+ return c = c !== -1 ? c : e.length, t.lastIndex = c, Vt(e.slice(0, c), n);
2394
2394
  }(), i = e[0] === `
2395
2395
  ` || e[0] === " ", r, o; o = t.exec(e); ) {
2396
2396
  var l = o[1], s = o[2];
2397
2397
  r = s[0] === " ", a += l + (!i && !r && s !== "" ? `
2398
- ` : "") + Ut(s, n), i = r;
2398
+ ` : "") + Vt(s, n), i = r;
2399
2399
  }
2400
2400
  return a;
2401
2401
  }
2402
- function Ut(e, n) {
2402
+ function Vt(e, n) {
2403
2403
  if (e === "" || e[0] === " ")
2404
2404
  return e;
2405
2405
  for (var t = / [^ ]/g, a, i = 0, r, o = 0, l = 0, s = ""; a = t.exec(e); )
@@ -2417,19 +2417,19 @@ function go(e) {
2417
2417
  function mo(e, n, t) {
2418
2418
  var a = "", i = e.tag, r, o, l;
2419
2419
  for (r = 0, o = t.length; r < o; r += 1)
2420
- l = t[r], e.replacer && (l = e.replacer.call(t, String(r), l)), (me(e, n, l, !1, !1) || typeof l > "u" && me(e, n, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2420
+ l = t[r], e.replacer && (l = e.replacer.call(t, String(r), l)), (he(e, n, l, !1, !1) || typeof l > "u" && he(e, n, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2421
2421
  e.tag = i, e.dump = "[" + a + "]";
2422
2422
  }
2423
- function Vt(e, n, t, a) {
2423
+ function Dt(e, n, t, a) {
2424
2424
  var i = "", r = e.tag, o, l, s;
2425
2425
  for (o = 0, l = t.length; o < l; o += 1)
2426
- s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (me(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && me(e, n + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += it(e, n)), e.dump && Ke === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2426
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (he(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && he(e, n + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += it(e, n)), e.dump && Ke === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2427
2427
  e.tag = r, e.dump = i || "[]";
2428
2428
  }
2429
2429
  function ho(e, n, t) {
2430
2430
  var a = "", i = e.tag, r = Object.keys(t), o, l, s, c, d;
2431
2431
  for (o = 0, l = r.length; o < l; o += 1)
2432
- d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = r[o], c = t[s], e.replacer && (c = e.replacer.call(t, s, c)), me(e, n, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), me(e, n, c, !1, !1) && (d += e.dump, a += d));
2432
+ d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = r[o], c = t[s], e.replacer && (c = e.replacer.call(t, s, c)), he(e, n, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), he(e, n, c, !1, !1) && (d += e.dump, a += d));
2433
2433
  e.tag = i, e.dump = "{" + a + "}";
2434
2434
  }
2435
2435
  function vo(e, n, t, a) {
@@ -2441,15 +2441,15 @@ function vo(e, n, t, a) {
2441
2441
  else if (e.sortKeys)
2442
2442
  throw new se("sortKeys must be a boolean or a function");
2443
2443
  for (l = 0, s = o.length; l < s; l += 1)
2444
- g = "", (!a || i !== "") && (g += it(e, n)), c = o[l], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), me(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ke === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += it(e, n)), me(e, n + 1, d, !0, u) && (e.dump && Ke === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, i += g));
2444
+ g = "", (!a || i !== "") && (g += it(e, n)), c = o[l], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), he(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ke === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += it(e, n)), he(e, n + 1, d, !0, u) && (e.dump && Ke === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, i += g));
2445
2445
  e.tag = r, e.dump = i || "{}";
2446
2446
  }
2447
- function Dt(e, n, t) {
2447
+ function Ut(e, n, t) {
2448
2448
  var a, i, r, o, l, s;
2449
2449
  for (i = t ? e.explicitTypes : e.implicitTypes, r = 0, o = i.length; r < o; r += 1)
2450
2450
  if (l = i[r], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof n == "object" && n instanceof l.instanceOf) && (!l.predicate || l.predicate(n))) {
2451
2451
  if (t ? l.multi && l.representName ? e.tag = l.representName(n) : e.tag = l.tag : e.tag = "?", l.represent) {
2452
- if (s = e.styleMap[l.tag] || l.defaultStyle, En.call(l.represent) === "[object Function]")
2452
+ if (s = e.styleMap[l.tag] || l.defaultStyle, Fn.call(l.represent) === "[object Function]")
2453
2453
  a = l.represent(n, s);
2454
2454
  else if (Nn.call(l.represent, s))
2455
2455
  a = l.represent[s](n, s);
@@ -2461,9 +2461,9 @@ function Dt(e, n, t) {
2461
2461
  }
2462
2462
  return !1;
2463
2463
  }
2464
- function me(e, n, t, a, i, r, o) {
2465
- e.tag = null, e.dump = t, Dt(e, t, !1) || Dt(e, t, !0);
2466
- var l = En.call(e.dump), s = a, c;
2464
+ function he(e, n, t, a, i, r, o) {
2465
+ e.tag = null, e.dump = t, Ut(e, t, !1) || Ut(e, t, !0);
2466
+ var l = Fn.call(e.dump), s = a, c;
2467
2467
  a && (a = e.flowLevel < 0 || e.flowLevel > n);
2468
2468
  var d = l === "[object Object]" || l === "[object Array]", u, g;
2469
2469
  if (d && (u = e.duplicates.indexOf(t), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (i = !1), g && e.usedDuplicates[u])
@@ -2472,7 +2472,7 @@ function me(e, n, t, a, i, r, o) {
2472
2472
  if (d && g && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2473
2473
  a && Object.keys(e.dump).length !== 0 ? (vo(e, n, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (ho(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2474
2474
  else if (l === "[object Array]")
2475
- a && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? Vt(e, n - 1, e.dump, i) : Vt(e, n, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (mo(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2475
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? Dt(e, n - 1, e.dump, i) : Dt(e, n, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (mo(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2476
2476
  else if (l === "[object String]")
2477
2477
  e.tag !== "?" && fo(e, e.dump, n, r, s);
2478
2478
  else {
@@ -2509,7 +2509,7 @@ function ko(e, n) {
2509
2509
  var t = new lo(n);
2510
2510
  t.noRefs || bo(e, t);
2511
2511
  var a = e;
2512
- return t.replacer && (a = t.replacer.call({ "": a }, "", a)), me(t, 0, a, !0, !0) ? t.dump + `
2512
+ return t.replacer && (a = t.replacer.call({ "": a }, "", a)), he(t, 0, a, !0, !0) ? t.dump + `
2513
2513
  ` : "";
2514
2514
  }
2515
2515
  var Co = ko, wo = {
@@ -2520,7 +2520,7 @@ function bt(e, n) {
2520
2520
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2521
2521
  };
2522
2522
  }
2523
- var So = re, Ao = ln, Io = dn, xo = mn, _o = hn, To = gt, $o = Kn.load, jo = Kn.loadAll, Oo = wo.dump, Mo = se, Fo = {
2523
+ var So = re, Ao = ln, Io = dn, xo = mn, _o = hn, To = gt, jo = Kn.load, $o = Kn.loadAll, Oo = wo.dump, Mo = se, Eo = {
2524
2524
  binary: wn,
2525
2525
  float: gn,
2526
2526
  map: un,
@@ -2534,35 +2534,35 @@ var So = re, Ao = ln, Io = dn, xo = mn, _o = hn, To = gt, $o = Kn.load, jo = Kn.
2534
2534
  omap: Sn,
2535
2535
  seq: cn,
2536
2536
  str: sn
2537
- }, Ko = bt("safeLoad", "load"), Eo = bt("safeLoadAll", "loadAll"), No = bt("safeDump", "dump"), Bo = {
2537
+ }, Ko = bt("safeLoad", "load"), Fo = bt("safeLoadAll", "loadAll"), No = bt("safeDump", "dump"), Bo = {
2538
2538
  Type: So,
2539
2539
  Schema: Ao,
2540
2540
  FAILSAFE_SCHEMA: Io,
2541
2541
  JSON_SCHEMA: xo,
2542
2542
  CORE_SCHEMA: _o,
2543
2543
  DEFAULT_SCHEMA: To,
2544
- load: $o,
2545
- loadAll: jo,
2544
+ load: jo,
2545
+ loadAll: $o,
2546
2546
  dump: Oo,
2547
2547
  YAMLException: Mo,
2548
- types: Fo,
2548
+ types: Eo,
2549
2549
  safeLoad: Ko,
2550
- safeLoadAll: Eo,
2550
+ safeLoadAll: Fo,
2551
2551
  safeDump: No
2552
2552
  };
2553
- const Lo = {
2553
+ const qo = {
2554
2554
  key: 0,
2555
2555
  class: "config-card-display-form"
2556
- }, qo = ["data-testid"], Po = {
2556
+ }, Lo = ["data-testid"], Ro = {
2557
2557
  key: 0,
2558
2558
  class: "config-card-prop-section-title"
2559
- }, Ro = {
2559
+ }, Po = {
2560
2560
  key: 1,
2561
2561
  class: "config-card-display-json"
2562
- }, Uo = {
2562
+ }, Vo = {
2563
2563
  key: 2,
2564
2564
  class: "config-card-display-yaml"
2565
- }, Vo = /* @__PURE__ */ Q({
2565
+ }, Do = /* @__PURE__ */ te({
2566
2566
  __name: "ConfigCardDisplay",
2567
2567
  props: {
2568
2568
  propertyCollections: {
@@ -2588,28 +2588,28 @@ const Lo = {
2588
2588
  }
2589
2589
  },
2590
2590
  setup(e) {
2591
- const n = e, t = Je(), { i18n: { t: a } } = ae.useI18n(), i = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), r = O(""), o = O("");
2592
- return be(() => n.format, (l) => {
2591
+ const n = e, t = Je(), { i18n: { t: a } } = ie.useI18n(), i = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), r = O(""), o = O("");
2592
+ return ke(() => n.format, (l) => {
2593
2593
  l === "json" ? r.value = JSON.stringify(n.record, null, 2) : l === "yaml" && (o.value = Bo.dump(n.record));
2594
2594
  }, { immediate: !0 }), (l, s) => {
2595
- const c = K("KCodeBlock");
2596
- return y(), x(pe, null, [
2597
- e.format === "structured" ? (y(), x("div", Lo, [
2598
- (y(!0), x(pe, null, ue(e.propListTypes, (d) => (y(), x("div", {
2595
+ const c = E("KCodeBlock");
2596
+ return y(), I(pe, null, [
2597
+ e.format === "structured" ? (y(), I("div", qo, [
2598
+ (y(!0), I(pe, null, ue(e.propListTypes, (d) => (y(), I("div", {
2599
2599
  key: `config-card-details-${d}-props`,
2600
2600
  class: Ae(`config-card-details-${d}-props`),
2601
2601
  "data-testid": `config-card-details-${d}-props`
2602
2602
  }, [
2603
- d !== "basic" ? (y(), x("div", Po, E(d === "advanced" ? w(a)("baseConfigCard.sections.advanced") : w(a)("baseConfigCard.sections.plugin")), 1)) : U("", !0),
2604
- (y(!0), x(pe, null, ue(e.propertyCollections[d], (u) => (y(), N(ft, {
2603
+ d !== "basic" ? (y(), I("div", Ro, K(d === "advanced" ? w(a)("baseConfigCard.sections.advanced") : w(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2604
+ (y(!0), I(pe, null, ue(e.propertyCollections[d], (u) => (y(), B(ft, {
2605
2605
  key: u.key,
2606
2606
  item: u
2607
2607
  }, we({
2608
- label: b(() => [
2609
- V(l.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2608
+ label: k(() => [
2609
+ U(l.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2610
2610
  ]),
2611
- [u.key]: b(({ rowValue: g }) => [
2612
- V(l.$slots, u.key, {
2611
+ [u.key]: k(({ rowValue: g }) => [
2612
+ U(l.$slots, u.key, {
2613
2613
  row: u,
2614
2614
  rowValue: g
2615
2615
  }, void 0, !0)
@@ -2618,45 +2618,45 @@ const Lo = {
2618
2618
  }, [
2619
2619
  i(u) ? {
2620
2620
  name: "label-tooltip",
2621
- fn: b(() => [
2622
- V(l.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2621
+ fn: k(() => [
2622
+ U(l.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2623
2623
  ]),
2624
2624
  key: "0"
2625
2625
  } : void 0
2626
2626
  ]), 1032, ["item"]))), 128))
2627
- ], 10, qo))), 128))
2628
- ])) : U("", !0),
2629
- e.format === "json" ? (y(), x("div", Ro, [
2630
- T(c, {
2627
+ ], 10, Lo))), 128))
2628
+ ])) : D("", !0),
2629
+ e.format === "json" ? (y(), I("div", Po, [
2630
+ j(c, {
2631
2631
  id: "config-card-codeblock",
2632
2632
  code: r.value,
2633
2633
  language: "json",
2634
2634
  theme: "dark"
2635
2635
  }, null, 8, ["code"])
2636
- ])) : U("", !0),
2637
- e.format === "yaml" ? (y(), x("div", Uo, [
2638
- T(c, {
2636
+ ])) : D("", !0),
2637
+ e.format === "yaml" ? (y(), I("div", Vo, [
2638
+ j(c, {
2639
2639
  id: "config-card-codeblock",
2640
2640
  code: o.value,
2641
2641
  language: "yaml",
2642
2642
  theme: "dark"
2643
2643
  }, null, 8, ["code"])
2644
- ])) : U("", !0)
2644
+ ])) : D("", !0)
2645
2645
  ], 64);
2646
2646
  };
2647
2647
  }
2648
- }), Do = /* @__PURE__ */ fe(Vo, [["__scopeId", "data-v-6c45e9e4"]]), zt = "24px", zo = (e, n) => {
2648
+ }), Uo = /* @__PURE__ */ fe(Do, [["__scopeId", "data-v-6c45e9e4"]]), Ht = "24px", Ho = (e, n) => {
2649
2649
  const t = e.__vccOpts || e;
2650
2650
  for (const [a, i] of n)
2651
2651
  t[a] = i;
2652
2652
  return t;
2653
- }, Ho = (e) => (Yt("data-v-dd88a2bb"), e = e(), Wt(), e), Jo = ["aria-hidden"], Yo = {
2653
+ }, zo = (e) => (Yt("data-v-dd88a2bb"), e = e(), Wt(), e), Jo = ["aria-hidden"], Yo = {
2654
2654
  key: 0,
2655
2655
  "data-testid": "kui-icon-svg-title"
2656
- }, Wo = /* @__PURE__ */ Ho(() => /* @__PURE__ */ L("path", {
2656
+ }, Wo = /* @__PURE__ */ zo(() => /* @__PURE__ */ L("path", {
2657
2657
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2658
2658
  fill: "currentColor"
2659
- }, null, -1)), Go = /* @__PURE__ */ Q({
2659
+ }, null, -1)), Zo = /* @__PURE__ */ te({
2660
2660
  __name: "BookIcon",
2661
2661
  props: {
2662
2662
  /** The accessibility text provided to screen readers */
@@ -2687,7 +2687,7 @@ const Lo = {
2687
2687
  size: {
2688
2688
  type: [Number, String],
2689
2689
  required: !1,
2690
- default: zt,
2690
+ default: Ht,
2691
2691
  // if setting to the imported const fails, just pass a number of 24 as the default.
2692
2692
  validator: (e) => {
2693
2693
  if (typeof e == "number" && e > 0)
@@ -2708,7 +2708,7 @@ const Lo = {
2708
2708
  }
2709
2709
  },
2710
2710
  setup(e) {
2711
- const n = e, t = _(() => {
2711
+ const n = e, t = x(() => {
2712
2712
  if (typeof n.size == "number" && n.size > 0)
2713
2713
  return `${n.size}px`;
2714
2714
  if (typeof n.size == "string") {
@@ -2716,8 +2716,8 @@ const Lo = {
2716
2716
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
2717
2717
  return `${r}px`;
2718
2718
  }
2719
- return zt;
2720
- }), a = _(() => ({
2719
+ return Ht;
2720
+ }), a = x(() => ({
2721
2721
  boxSizing: "border-box",
2722
2722
  color: n.color,
2723
2723
  display: n.display,
@@ -2725,14 +2725,14 @@ const Lo = {
2725
2725
  lineHeight: "0",
2726
2726
  width: t.value
2727
2727
  }));
2728
- return (i, r) => (y(), N($e(e.as), {
2728
+ return (i, r) => (y(), B(je(e.as), {
2729
2729
  "aria-hidden": e.decorative ? "true" : void 0,
2730
2730
  class: "kui-icon book-icon",
2731
2731
  "data-testid": "kui-icon-wrapper-book-icon",
2732
2732
  style: Jt(a.value)
2733
2733
  }, {
2734
- default: b(() => [
2735
- (y(), x("svg", {
2734
+ default: k(() => [
2735
+ (y(), I("svg", {
2736
2736
  "aria-hidden": e.decorative ? "true" : void 0,
2737
2737
  "data-testid": "kui-icon-svg-book-icon",
2738
2738
  fill: "none",
@@ -2742,14 +2742,14 @@ const Lo = {
2742
2742
  width: "100%",
2743
2743
  xmlns: "http://www.w3.org/2000/svg"
2744
2744
  }, [
2745
- e.title ? (y(), x("title", Yo, E(e.title), 1)) : U("", !0),
2745
+ e.title ? (y(), I("title", Yo, K(e.title), 1)) : D("", !0),
2746
2746
  Wo
2747
2747
  ], 8, Jo))
2748
2748
  ]),
2749
2749
  _: 1
2750
2750
  }, 8, ["aria-hidden", "style"]));
2751
2751
  }
2752
- }), Zo = /* @__PURE__ */ zo(Go, [["__scopeId", "data-v-dd88a2bb"]]), Xo = { "data-testid": "config-card-title" }, Qo = { class: "config-card-actions" }, el = ["href"], tl = {
2752
+ }), Go = /* @__PURE__ */ Ho(Zo, [["__scopeId", "data-v-dd88a2bb"]]), Qo = { "data-testid": "config-card-title" }, Xo = { class: "config-card-actions" }, el = ["href"], tl = {
2753
2753
  key: 2,
2754
2754
  class: "config-card-details-section"
2755
2755
  }, nl = {
@@ -2758,7 +2758,7 @@ const Lo = {
2758
2758
  }, al = ["data-testid"], il = {
2759
2759
  key: 0,
2760
2760
  class: "config-card-prop-section-title"
2761
- }, rl = /* @__PURE__ */ Q({
2761
+ }, rl = /* @__PURE__ */ te({
2762
2762
  __name: "EntityBaseConfigCard",
2763
2763
  props: {
2764
2764
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2833,7 +2833,7 @@ const Lo = {
2833
2833
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2834
2834
  setup(e, { emit: n }) {
2835
2835
  var t;
2836
- const a = e, i = Je(), { i18n: { t: r } } = ae.useI18n(), { getMessageFromError: o } = ae.useErrors(), { convertKeyToTitle: l } = ae.useStringHelpers(), { axiosInstance: s } = ae.useAxios({
2836
+ const a = e, i = Je(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: o } = ie.useErrors(), { convertKeyToTitle: l } = ie.useStringHelpers(), { axiosInstance: s } = ie.useAxios({
2837
2837
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
2838
2838
  }), c = [
2839
2839
  {
@@ -2853,7 +2853,7 @@ const Lo = {
2853
2853
  d.value = C == null ? void 0 : C.value;
2854
2854
  }, g = {
2855
2855
  id: {
2856
- type: J.ID,
2856
+ type: W.ID,
2857
2857
  label: r("baseConfigCard.commonFields.id_label"),
2858
2858
  order: 0,
2859
2859
  section: de.Basic
@@ -2863,101 +2863,101 @@ const Lo = {
2863
2863
  section: de.Basic
2864
2864
  },
2865
2865
  enabled: {
2866
- type: J.BadgeStatus,
2866
+ type: W.BadgeStatus,
2867
2867
  order: 2,
2868
2868
  section: de.Basic
2869
2869
  },
2870
2870
  updated_at: {
2871
- type: J.Date,
2871
+ type: W.Date,
2872
2872
  label: r("baseConfigCard.commonFields.updated_at_label"),
2873
2873
  order: 3,
2874
2874
  section: de.Basic
2875
2875
  },
2876
2876
  created_at: {
2877
- type: J.Date,
2877
+ type: W.Date,
2878
2878
  label: r("baseConfigCard.commonFields.created_at_label"),
2879
2879
  order: 4,
2880
2880
  section: de.Basic
2881
2881
  },
2882
2882
  tags: {
2883
- type: J.BadgeTag,
2883
+ type: W.BadgeTag,
2884
2884
  order: -1,
2885
2885
  // the last property displayed
2886
2886
  section: de.Basic
2887
2887
  }
2888
- }, f = O(!1), A = O(!1), v = O(""), p = O(), h = _(() => {
2889
- var C, F, $;
2888
+ }, f = O(!1), S = O(!1), b = O(""), p = O(), h = x(() => {
2889
+ var C, M, F;
2890
2890
  if (!p.value)
2891
2891
  return [];
2892
- const j = [], B = Object.keys(p.value).length;
2893
- for (const P in p.value) {
2894
- const D = (F = (C = a.configSchema) == null ? void 0 : C[P]) == null ? void 0 : F.order, ee = ($ = g[P]) == null ? void 0 : $.order;
2895
- let ne = B;
2896
- (ee || ee === 0) && (ne = ee === -1 ? B + 1 : ee), D && (ne = D === -1 ? B + 1 : D), j.push([P, ne]);
2892
+ const T = [], N = Object.keys(p.value).length;
2893
+ for (const q in p.value) {
2894
+ const J = (M = (C = a.configSchema) == null ? void 0 : C[q]) == null ? void 0 : M.order, Z = (F = g[q]) == null ? void 0 : F.order;
2895
+ let ae = N;
2896
+ (Z || Z === 0) && (ae = Z === -1 ? N + 1 : Z), J && (ae = J === -1 ? N + 1 : J), T.push([q, ae]);
2897
2897
  }
2898
- return j.sort(function(P, D) {
2899
- return P[1] - D[1];
2900
- }), j.map((P) => {
2901
- var D, ee;
2902
- const ne = P[0], Z = (D = p.value) == null ? void 0 : D[ne], H = ((ee = a.configSchema) == null ? void 0 : ee[ne]) || {}, le = g[ne];
2898
+ return T.sort(function(q, J) {
2899
+ return q[1] - J[1];
2900
+ }), T.map((q) => {
2901
+ var J, Z;
2902
+ const ae = q[0], Q = (J = p.value) == null ? void 0 : J[ae], Y = ((Z = a.configSchema) == null ? void 0 : Z[ae]) || {}, le = g[ae];
2903
2903
  return {
2904
- key: ne,
2905
- value: Z,
2906
- hidden: H.hidden || !1,
2907
- type: H.type ?? ((le == null ? void 0 : le.type) || J.Text),
2908
- label: H.label ?? ((le == null ? void 0 : le.label) || l(ne)),
2909
- tooltip: H.tooltip ?? ((le == null ? void 0 : le.tooltip) || void 0),
2910
- section: H.section ?? ((le == null ? void 0 : le.section) || de.Advanced)
2904
+ key: ae,
2905
+ value: Q,
2906
+ hidden: Y.hidden || !1,
2907
+ type: Y.type ?? ((le == null ? void 0 : le.type) || W.Text),
2908
+ label: Y.label ?? ((le == null ? void 0 : le.label) || l(ae)),
2909
+ tooltip: Y.tooltip ?? ((le == null ? void 0 : le.tooltip) || void 0),
2910
+ section: Y.section ?? ((le == null ? void 0 : le.section) || de.Advanced)
2911
2911
  };
2912
- }).filter((P) => !P.hidden && P.key !== a.pluginConfigKey);
2913
- }), m = _(() => {
2914
- var C, F;
2912
+ }).filter((q) => !q.hidden && q.key !== a.pluginConfigKey);
2913
+ }), m = x(() => {
2914
+ var C, M;
2915
2915
  if (!p.value || !a.pluginConfigKey)
2916
2916
  return [];
2917
- const $ = p.value[a.pluginConfigKey] || {}, j = Object.keys($).length, B = [];
2918
- for (const P in $) {
2919
- const D = (F = (C = a.pluginConfigSchema) == null ? void 0 : C[P]) == null ? void 0 : F.order, ee = $[P];
2920
- let ne = ee != null && ee !== "" ? j - 1 : j;
2921
- D && (ne = D === -1 ? j + 1 : D), B.push([P, ne]);
2917
+ const F = p.value[a.pluginConfigKey] || {}, T = Object.keys(F).length, N = [];
2918
+ for (const q in F) {
2919
+ const J = (M = (C = a.pluginConfigSchema) == null ? void 0 : C[q]) == null ? void 0 : M.order, Z = F[q];
2920
+ let ae = Z != null && Z !== "" ? T - 1 : T;
2921
+ J && (ae = J === -1 ? T + 1 : J), N.push([q, ae]);
2922
2922
  }
2923
- return B.sort(function(P, D) {
2924
- return P[1] - D[1];
2925
- }), B.map((P) => {
2926
- var D;
2927
- const ee = P[0], ne = $[ee], Z = ((D = a.pluginConfigSchema) == null ? void 0 : D[ee]) || {};
2923
+ return N.sort(function(q, J) {
2924
+ return q[1] - J[1];
2925
+ }), N.map((q) => {
2926
+ var J;
2927
+ const Z = q[0], ae = F[Z], Q = ((J = a.pluginConfigSchema) == null ? void 0 : J[Z]) || {};
2928
2928
  return {
2929
- key: ee,
2930
- value: ne,
2931
- hidden: Z.hidden || !1,
2932
- type: Z.type ?? J.Text,
2933
- label: Z.label ?? l(ee),
2934
- tooltip: Z.tooltip ?? void 0,
2929
+ key: Z,
2930
+ value: ae,
2931
+ hidden: Q.hidden || !1,
2932
+ type: Q.type ?? W.Text,
2933
+ label: Q.label ?? l(Z),
2934
+ tooltip: Q.tooltip ?? void 0,
2935
2935
  section: de.Plugin
2936
2936
  };
2937
- }).filter((P) => !P.hidden);
2938
- }), k = _(() => {
2939
- var C, F, $, j;
2937
+ }).filter((q) => !q.hidden);
2938
+ }), _ = x(() => {
2939
+ var C, M, F, T;
2940
2940
  return {
2941
- basic: (C = h.value) == null ? void 0 : C.filter((B) => B.section === de.Basic),
2942
- advanced: (F = h.value) == null ? void 0 : F.filter((B) => B.section === de.Advanced),
2943
- plugin: (j = m.value) == null ? void 0 : j.concat(($ = h.value) == null ? void 0 : $.filter((B) => B.section === de.Plugin))
2941
+ basic: (C = h.value) == null ? void 0 : C.filter((N) => N.section === de.Basic),
2942
+ advanced: (M = h.value) == null ? void 0 : M.filter((N) => N.section === de.Advanced),
2943
+ plugin: (T = m.value) == null ? void 0 : T.concat((F = h.value) == null ? void 0 : F.filter((N) => N.section === de.Plugin))
2944
2944
  };
2945
- }), S = _(() => {
2945
+ }), v = x(() => {
2946
2946
  const C = [];
2947
- return k.value.basic.length && C.push("basic"), k.value.advanced.length && C.push("advanced"), k.value.plugin.length && C.push("plugin"), C;
2948
- }), W = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), G = _(() => {
2949
- var C, F;
2950
- let $ = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2951
- return a.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((C = a.config) == null ? void 0 : C.controlPlaneId) || "") : a.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (F = a.config) != null && F.workspace ? `/${a.config.workspace}` : "")), $ = $.replace(/{id}/gi, a.config.entityId), $;
2952
- }), q = (C) => {
2947
+ return _.value.basic.length && C.push("basic"), _.value.advanced.length && C.push("advanced"), _.value.plugin.length && C.push("plugin"), C;
2948
+ }), R = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), z = x(() => {
2949
+ var C, M;
2950
+ let F = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2951
+ return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((C = a.config) == null ? void 0 : C.controlPlaneId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (M = a.config) != null && M.workspace ? `/${a.config.workspace}` : "")), F = F.replace(/{id}/gi, a.config.entityId), F;
2952
+ }), P = (C) => {
2953
2953
  p.value && C(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2954
2954
  };
2955
- return be(f, (C) => {
2955
+ return ke(f, (C) => {
2956
2956
  n("loading", C);
2957
2957
  }, { immediate: !0 }), lt(async () => {
2958
- A.value = !1, f.value = !0;
2958
+ S.value = !1, f.value = !0;
2959
2959
  try {
2960
- const { data: C } = await s.get(G.value);
2960
+ const { data: C } = await s.get(z.value);
2961
2961
  if (a.dataKey)
2962
2962
  if (typeof C[a.dataKey] < "u")
2963
2963
  p.value = { ...C[a.dataKey] };
@@ -2965,132 +2965,132 @@ const Lo = {
2965
2965
  throw new Error(r("errors.dataKeyUndefined", { dataKey: a.dataKey }));
2966
2966
  else
2967
2967
  p.value = { ...C };
2968
- Object.keys(a.configSchema).filter((F) => a.configSchema[F].forceShow).forEach((F) => {
2969
- p.value && typeof p.value[F] > "u" && (p.value[F] = null);
2968
+ Object.keys(a.configSchema).filter((M) => a.configSchema[M].forceShow).forEach((M) => {
2969
+ p.value && typeof p.value[M] > "u" && (p.value[M] = null);
2970
2970
  }), n("fetch:success", C);
2971
2971
  } catch (C) {
2972
- const F = o(C);
2973
- v.value = F.startsWith("code") ? r("baseConfigCard.errors.load") : F, A.value = !0, n("fetch:error", C);
2972
+ const M = o(C);
2973
+ b.value = M.startsWith("code") ? r("baseConfigCard.errors.load") : M, S.value = !0, n("fetch:error", C);
2974
2974
  } finally {
2975
2975
  f.value = !1;
2976
2976
  }
2977
- }), (C, F) => {
2978
- const $ = K("KLabel"), j = K("KSelect"), B = K("KButton"), P = K("KClipboardProvider"), D = K("KSkeleton"), ee = K("KEmptyState"), ne = K("KCard");
2979
- return y(), N(ne, { class: "kong-ui-entity-base-config-card" }, we({
2980
- actions: b(() => [
2981
- L("div", Qo, [
2982
- V(C.$slots, "actions", {}, void 0, !0),
2983
- e.config.jsonYamlEnabled ? (y(), N($, {
2977
+ }), (C, M) => {
2978
+ const F = E("KLabel"), T = E("KSelect"), N = E("KButton"), q = E("KClipboardProvider"), J = E("KSkeleton"), Z = E("KEmptyState"), ae = E("KCard");
2979
+ return y(), B(ae, { class: "kong-ui-entity-base-config-card" }, we({
2980
+ actions: k(() => [
2981
+ L("div", Xo, [
2982
+ U(C.$slots, "actions", {}, void 0, !0),
2983
+ e.config.jsonYamlEnabled ? (y(), B(F, {
2984
2984
  key: 0,
2985
2985
  class: "config-format-select-label",
2986
2986
  "data-testid": "config-format-select-label"
2987
2987
  }, {
2988
- default: b(() => [
2989
- z(E(e.label), 1)
2988
+ default: k(() => [
2989
+ H(K(e.label), 1)
2990
2990
  ]),
2991
2991
  _: 1
2992
- })) : U("", !0),
2993
- e.config.jsonYamlEnabled ? (y(), N(j, {
2992
+ })) : D("", !0),
2993
+ e.config.jsonYamlEnabled ? (y(), B(T, {
2994
2994
  key: 1,
2995
2995
  appearance: "select",
2996
2996
  "data-testid": "select-config-format",
2997
2997
  items: c,
2998
2998
  onChange: u
2999
- })) : U("", !0),
3000
- a.config.jsonYamlEnabled && e.configCardDoc ? (y(), N(B, {
2999
+ })) : D("", !0),
3000
+ a.config.jsonYamlEnabled && e.configCardDoc ? (y(), B(N, {
3001
3001
  key: 2,
3002
3002
  appearance: "tertiary",
3003
3003
  class: "book-icon",
3004
3004
  "data-testid": "book-icon"
3005
3005
  }, {
3006
- default: b(() => [
3006
+ default: k(() => [
3007
3007
  L("a", {
3008
3008
  href: e.configCardDoc,
3009
3009
  rel: "noopener",
3010
3010
  target: "_blank"
3011
3011
  }, [
3012
- T(w(Zo), { size: w(ii) }, null, 8, ["size"])
3012
+ j(w(Go), { size: w(ii) }, null, 8, ["size"])
3013
3013
  ], 8, el)
3014
3014
  ]),
3015
3015
  _: 1
3016
- })) : U("", !0),
3017
- e.config.jsonYamlEnabled ? U("", !0) : (y(), N(P, { key: 3 }, {
3018
- default: b(({ copyToClipboard: Z }) => [
3019
- !f.value && !A.value ? (y(), N(B, {
3016
+ })) : D("", !0),
3017
+ e.config.jsonYamlEnabled ? D("", !0) : (y(), B(q, { key: 3 }, {
3018
+ default: k(({ copyToClipboard: Q }) => [
3019
+ !f.value && !S.value ? (y(), B(N, {
3020
3020
  key: 0,
3021
3021
  appearance: "tertiary",
3022
3022
  "data-testid": "json-copy-button",
3023
- onClick: (H) => q(Z)
3023
+ onClick: (Y) => P(Q)
3024
3024
  }, {
3025
- default: b(() => [
3026
- z(E(w(r)("baseConfigCard.actions.copy")), 1)
3025
+ default: k(() => [
3026
+ H(K(w(r)("baseConfigCard.actions.copy")), 1)
3027
3027
  ]),
3028
3028
  _: 2
3029
- }, 1032, ["onClick"])) : U("", !0)
3029
+ }, 1032, ["onClick"])) : D("", !0)
3030
3030
  ]),
3031
3031
  _: 1
3032
3032
  }))
3033
3033
  ])
3034
3034
  ]),
3035
- body: b(() => [
3036
- f.value ? (y(), N(D, {
3035
+ body: k(() => [
3036
+ f.value ? (y(), B(J, {
3037
3037
  key: 0,
3038
3038
  "data-testid": "config-card-loader",
3039
3039
  "table-columns": 2,
3040
3040
  type: "table"
3041
- })) : A.value ? (y(), N(ee, {
3041
+ })) : S.value ? (y(), B(Z, {
3042
3042
  key: 1,
3043
3043
  "data-testid": "config-card-fetch-error",
3044
3044
  "is-error": ""
3045
3045
  }, {
3046
- message: b(() => [
3047
- L("h3", null, E(v.value), 1)
3046
+ message: k(() => [
3047
+ L("h3", null, K(b.value), 1)
3048
3048
  ]),
3049
3049
  _: 1
3050
- })) : U("", !0),
3051
- e.config.jsonYamlEnabled ? (y(), x("div", tl, [
3052
- T(Do, {
3050
+ })) : D("", !0),
3051
+ e.config.jsonYamlEnabled ? (y(), I("div", tl, [
3052
+ j(Uo, {
3053
3053
  format: d.value,
3054
- "prop-list-types": S.value,
3055
- "property-collections": k.value,
3054
+ "prop-list-types": v.value,
3055
+ "property-collections": _.value,
3056
3056
  record: p.value
3057
3057
  }, we({ _: 2 }, [
3058
- ue(Object.keys(C.$slots), (Z) => ({
3059
- name: Z,
3060
- fn: b(({ row: H, rowValue: le }) => [
3061
- V(C.$slots, Z, {
3062
- row: H,
3058
+ ue(Object.keys(C.$slots), (Q) => ({
3059
+ name: Q,
3060
+ fn: k(({ row: Y, rowValue: le }) => [
3061
+ U(C.$slots, Q, {
3062
+ row: Y,
3063
3063
  rowValue: le
3064
3064
  }, void 0, !0)
3065
3065
  ])
3066
3066
  }))
3067
3067
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3068
- ])) : (y(), x("div", nl, [
3069
- (y(!0), x(pe, null, ue(S.value, (Z) => (y(), x("div", {
3070
- key: `config-card-details-${Z}-props`,
3071
- class: Ae(`config-card-details-${Z}-props`),
3072
- "data-testid": `config-card-details-${Z}-props`
3068
+ ])) : (y(), I("div", nl, [
3069
+ (y(!0), I(pe, null, ue(v.value, (Q) => (y(), I("div", {
3070
+ key: `config-card-details-${Q}-props`,
3071
+ class: Ae(`config-card-details-${Q}-props`),
3072
+ "data-testid": `config-card-details-${Q}-props`
3073
3073
  }, [
3074
- Z !== "basic" ? (y(), x("div", il, E(Z === "advanced" ? w(r)("baseConfigCard.sections.advanced") : w(r)("baseConfigCard.sections.plugin")), 1)) : U("", !0),
3075
- (y(!0), x(pe, null, ue(k.value[Z], (H) => (y(), N(ft, {
3076
- key: H.key,
3077
- item: H
3074
+ Q !== "basic" ? (y(), I("div", il, K(Q === "advanced" ? w(r)("baseConfigCard.sections.advanced") : w(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3075
+ (y(!0), I(pe, null, ue(_.value[Q], (Y) => (y(), B(ft, {
3076
+ key: Y.key,
3077
+ item: Y
3078
3078
  }, we({
3079
- label: b(() => [
3080
- V(C.$slots, `${H.key}-label`, { row: H }, void 0, !0)
3079
+ label: k(() => [
3080
+ U(C.$slots, `${Y.key}-label`, { row: Y }, void 0, !0)
3081
3081
  ]),
3082
- [H.key]: b(({ rowValue: le }) => [
3083
- V(C.$slots, H.key, {
3084
- row: H,
3082
+ [Y.key]: k(({ rowValue: le }) => [
3083
+ U(C.$slots, Y.key, {
3084
+ row: Y,
3085
3085
  rowValue: le
3086
3086
  }, void 0, !0)
3087
3087
  ]),
3088
3088
  _: 2
3089
3089
  }, [
3090
- W(H) ? {
3090
+ R(Y) ? {
3091
3091
  name: "label-tooltip",
3092
- fn: b(() => [
3093
- V(C.$slots, `${H.key}-label-tooltip`, { row: H }, void 0, !0)
3092
+ fn: k(() => [
3093
+ U(C.$slots, `${Y.key}-label-tooltip`, { row: Y }, void 0, !0)
3094
3094
  ]),
3095
3095
  key: "0"
3096
3096
  } : void 0
@@ -3102,10 +3102,10 @@ const Lo = {
3102
3102
  }, [
3103
3103
  e.hideTitle ? void 0 : {
3104
3104
  name: "title",
3105
- fn: b(() => [
3106
- L("div", Xo, [
3107
- V(C.$slots, "title", {}, () => [
3108
- z(E(w(r)("baseConfigCard.title")), 1)
3105
+ fn: k(() => [
3106
+ L("div", Qo, [
3107
+ U(C.$slots, "title", {}, () => [
3108
+ H(K(w(r)("baseConfigCard.title")), 1)
3109
3109
  ], !0)
3110
3110
  ])
3111
3111
  ]),
@@ -3117,7 +3117,7 @@ const Lo = {
3117
3117
  }), ol = /* @__PURE__ */ fe(rl, [["__scopeId", "data-v-24515123"]]), ll = ["onReset", "onSubmit"], sl = {
3118
3118
  class: "form-actions",
3119
3119
  "data-testid": "form-actions"
3120
- }, cl = /* @__PURE__ */ Q({
3120
+ }, cl = /* @__PURE__ */ te({
3121
3121
  __name: "EntityBaseForm",
3122
3122
  props: {
3123
3123
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3167,22 +3167,22 @@ const Lo = {
3167
3167
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3168
3168
  setup(e, { emit: n }) {
3169
3169
  var t;
3170
- const a = e, i = st(), { i18n: { t: r } } = ae.useI18n(), { getMessageFromError: o } = ae.useErrors(), { axiosInstance: l } = ae.useAxios({
3170
+ const a = e, i = st(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: o } = ie.useErrors(), { axiosInstance: l } = ie.useAxios({
3171
3171
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3172
- }), s = O(!1), c = O(!1), d = O(""), u = _(() => a.canSubmit === !1 || a.isReadonly), g = _(() => {
3172
+ }), s = O(!1), c = O(!1), d = O(""), u = x(() => a.canSubmit === !1 || a.isReadonly), g = x(() => {
3173
3173
  var p, h;
3174
3174
  if (!a.editId)
3175
3175
  return "";
3176
3176
  let m = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3177
3177
  return a.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (h = a.config) != null && h.workspace ? `/${a.config.workspace}` : "")), m = m.replace(/{id}/gi, a.editId), m;
3178
3178
  }), f = () => {
3179
- a.config.cancelRoute ? i.push(a.config.cancelRoute) : A();
3180
- }, A = () => {
3179
+ a.config.cancelRoute ? i.push(a.config.cancelRoute) : S();
3180
+ }, S = () => {
3181
3181
  n("cancel");
3182
- }, v = () => {
3182
+ }, b = () => {
3183
3183
  u.value || n("submit");
3184
3184
  };
3185
- return be(() => s.value, (p) => {
3185
+ return ke(() => s.value, (p) => {
3186
3186
  n("loading", p);
3187
3187
  }, { immediate: !0 }), lt(async () => {
3188
3188
  if (a.editId)
@@ -3197,57 +3197,57 @@ const Lo = {
3197
3197
  s.value = !1;
3198
3198
  }
3199
3199
  }), (p, h) => {
3200
- const m = K("KSkeleton"), k = K("KEmptyState"), S = K("KAlert"), W = K("KButton"), G = K("KCard");
3201
- return y(), N(G, { class: "kong-ui-entity-base-form" }, {
3202
- body: b(() => [
3203
- s.value ? (y(), N(m, {
3200
+ const m = E("KSkeleton"), _ = E("KEmptyState"), v = E("KAlert"), R = E("KButton"), z = E("KCard");
3201
+ return y(), B(z, { class: "kong-ui-entity-base-form" }, {
3202
+ body: k(() => [
3203
+ s.value ? (y(), B(m, {
3204
3204
  key: 0,
3205
3205
  type: "form"
3206
- })) : c.value ? (y(), N(k, {
3206
+ })) : c.value ? (y(), B(_, {
3207
3207
  key: 1,
3208
3208
  "cta-text": w(r)("baseForm.actions.back"),
3209
3209
  "data-testid": "form-fetch-error",
3210
3210
  "handle-click": f,
3211
3211
  "is-error": !0
3212
3212
  }, {
3213
- message: b(() => [
3214
- L("h3", null, E(d.value), 1)
3213
+ message: k(() => [
3214
+ L("h3", null, K(d.value), 1)
3215
3215
  ]),
3216
3216
  _: 1
3217
- }, 8, ["cta-text"])) : (y(), x("form", {
3217
+ }, 8, ["cta-text"])) : (y(), I("form", {
3218
3218
  key: 2,
3219
3219
  "data-testid": "form-content",
3220
- onReset: Pe(A, ["prevent"]),
3221
- onSubmit: Pe(v, ["prevent"])
3220
+ onReset: Re(S, ["prevent"]),
3221
+ onSubmit: Re(b, ["prevent"])
3222
3222
  }, [
3223
- V(p.$slots, "default", {}, void 0, !0),
3224
- e.errorMessage ? (y(), N(S, {
3223
+ U(p.$slots, "default", {}, void 0, !0),
3224
+ e.errorMessage ? (y(), B(v, {
3225
3225
  key: 0,
3226
3226
  "alert-message": e.errorMessage,
3227
3227
  appearance: "danger",
3228
3228
  "data-testid": "form-error"
3229
- }, null, 8, ["alert-message"])) : U("", !0),
3229
+ }, null, 8, ["alert-message"])) : D("", !0),
3230
3230
  L("div", sl, [
3231
- V(p.$slots, "form-actions", {}, () => [
3232
- T(W, {
3231
+ U(p.$slots, "form-actions", {}, () => [
3232
+ j(R, {
3233
3233
  appearance: "secondary",
3234
3234
  "data-testid": "form-cancel",
3235
3235
  disabled: e.isReadonly,
3236
3236
  type: "reset"
3237
3237
  }, {
3238
- default: b(() => [
3239
- z(E(w(r)("baseForm.actions.cancel")), 1)
3238
+ default: k(() => [
3239
+ H(K(w(r)("baseForm.actions.cancel")), 1)
3240
3240
  ]),
3241
3241
  _: 1
3242
3242
  }, 8, ["disabled"]),
3243
- T(W, {
3243
+ j(R, {
3244
3244
  appearance: "primary",
3245
3245
  "data-testid": "form-submit",
3246
3246
  disabled: u.value,
3247
3247
  type: "submit"
3248
3248
  }, {
3249
- default: b(() => [
3250
- z(E(w(r)("baseForm.actions.save")), 1)
3249
+ default: k(() => [
3250
+ H(K(w(r)("baseForm.actions.save")), 1)
3251
3251
  ]),
3252
3252
  _: 1
3253
3253
  }, 8, ["disabled"])
@@ -3262,7 +3262,7 @@ const Lo = {
3262
3262
  }), ul = /* @__PURE__ */ fe(cl, [["__scopeId", "data-v-81612aef"]]), dl = {
3263
3263
  key: 0,
3264
3264
  "data-testid": "first-col"
3265
- }, pl = /* @__PURE__ */ Q({
3265
+ }, pl = /* @__PURE__ */ te({
3266
3266
  __name: "EntityBaseTableCell",
3267
3267
  props: {
3268
3268
  keyName: {
@@ -3275,68 +3275,68 @@ const Lo = {
3275
3275
  }
3276
3276
  },
3277
3277
  setup(e) {
3278
- const n = e, t = _(() => {
3279
- var v;
3280
- return ((v = n.rowEl) == null ? void 0 : v.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3281
- }), a = _(() => {
3282
- var v;
3283
- return ((v = t.value) == null ? void 0 : v.querySelector('[data-testid="first-col"]')) || null;
3284
- }), i = _(() => {
3285
- var v, p;
3286
- const h = (v = n.rowEl) == null ? void 0 : v.querySelectorAll("td");
3278
+ const n = e, t = x(() => {
3279
+ var b;
3280
+ return ((b = n.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3281
+ }), a = x(() => {
3282
+ var b;
3283
+ return ((b = t.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3284
+ }), i = x(() => {
3285
+ var b, p;
3286
+ const h = (b = n.rowEl) == null ? void 0 : b.querySelectorAll("td");
3287
3287
  return h ? ((p = h[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
3288
3288
  });
3289
3289
  let r;
3290
3290
  const o = () => {
3291
3291
  r && (r.disconnect(), r = void 0);
3292
3292
  }, l = () => {
3293
- var v, p, h;
3294
- c.value = ((v = a.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((h = s.value) == null ? void 0 : h.innerText) || "";
3295
- }, s = O({}), c = O(0), d = O(0), u = O(""), g = _(() => [a.value, t.value]), f = be(
3293
+ var b, p, h;
3294
+ c.value = ((b = a.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((h = s.value) == null ? void 0 : h.innerText) || "";
3295
+ }, s = O({}), c = O(0), d = O(0), u = O(""), g = x(() => [a.value, t.value]), f = ke(
3296
3296
  g,
3297
- (v) => {
3297
+ (b) => {
3298
3298
  if (i.value && (o(), "ResizeObserver" in window && window)) {
3299
3299
  r = new ResizeObserver((p) => {
3300
3300
  window.requestAnimationFrame(() => {
3301
3301
  !Array.isArray(p) || !p.length || l();
3302
3302
  });
3303
3303
  });
3304
- for (const p of v)
3304
+ for (const p of b)
3305
3305
  p && r.observe(p);
3306
3306
  }
3307
3307
  },
3308
3308
  { immediate: !0, flush: "post", deep: !0 }
3309
- ), A = _(() => i.value ? c.value > d.value : !1);
3310
- return Qn(() => {
3309
+ ), S = x(() => i.value ? c.value > d.value : !1);
3310
+ return Xn(() => {
3311
3311
  l();
3312
3312
  }), ea(() => {
3313
3313
  f();
3314
- }), (v, p) => {
3315
- const h = K("KTooltip");
3316
- return y(), x("span", {
3314
+ }), (b, p) => {
3315
+ const h = E("KTooltip");
3316
+ return y(), I("span", {
3317
3317
  ref_key: "contentRef",
3318
3318
  ref: s,
3319
3319
  class: "content-wrapper"
3320
3320
  }, [
3321
- i.value ? (y(), x("span", dl, [
3322
- T(h, {
3323
- label: A.value ? u.value : "",
3321
+ i.value ? (y(), I("span", dl, [
3322
+ j(h, {
3323
+ label: S.value ? u.value : "",
3324
3324
  "max-width": "300",
3325
3325
  placement: "bottomStart"
3326
3326
  }, {
3327
- default: b(() => [
3328
- V(v.$slots, "default", {}, void 0, !0)
3327
+ default: k(() => [
3328
+ U(b.$slots, "default", {}, void 0, !0)
3329
3329
  ]),
3330
3330
  _: 3
3331
3331
  }, 8, ["label"])
3332
- ])) : V(v.$slots, "default", { key: 1 }, void 0, !0)
3332
+ ])) : U(b.$slots, "default", { key: 1 }, void 0, !0)
3333
3333
  ], 512);
3334
3334
  };
3335
3335
  }
3336
3336
  }), fl = /* @__PURE__ */ fe(pl, [["__scopeId", "data-v-e42a20c9"]]), yl = { class: "toolbar-container" }, gl = {
3337
3337
  key: 0,
3338
3338
  class: "toolbar-button-container"
3339
- }, ml = ["data-testid"], hl = /* @__PURE__ */ Q({
3339
+ }, ml = ["data-testid"], hl = /* @__PURE__ */ te({
3340
3340
  __name: "EntityBaseTable",
3341
3341
  props: {
3342
3342
  // table header configuration
@@ -3395,9 +3395,10 @@ const Lo = {
3395
3395
  },
3396
3396
  // error message to show in the error state
3397
3397
  // this prop being set (or empty) determines if the KTable is in an error state
3398
+ // please use `TableErrorMessage` since `string` is only for backwards compatibility
3398
3399
  errorMessage: {
3399
- type: String,
3400
- default: ""
3400
+ type: [String, Object],
3401
+ default: null
3401
3402
  },
3402
3403
  disablePaginationPageJump: {
3403
3404
  type: Boolean,
@@ -3445,65 +3446,76 @@ const Lo = {
3445
3446
  },
3446
3447
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3447
3448
  setup(e, { emit: n }) {
3448
- const t = e, { i18n: { t: a } } = ae.useI18n(), i = _(() => t.cacheIdentifier || t.preferencesStorageKey), r = (k) => k.hasData || !!t.query, o = _(() => {
3449
- const k = [];
3450
- return Object.keys(t.tableHeaders).forEach((S) => {
3451
- const W = t.tableHeaders[S];
3452
- k.push({
3453
- label: W.label ?? S,
3454
- key: S,
3455
- sortable: W.sortable ?? !1
3449
+ const t = e, { i18n: { t: a } } = ie.useI18n(), i = x(() => {
3450
+ var v, R;
3451
+ return typeof t.errorMessage == "string" ? {
3452
+ hasError: !!t.errorMessage,
3453
+ title: t.errorMessage,
3454
+ message: void 0
3455
+ } : {
3456
+ hasError: !!t.errorMessage,
3457
+ title: (v = t.errorMessage) == null ? void 0 : v.title,
3458
+ message: (R = t.errorMessage) == null ? void 0 : R.message
3459
+ };
3460
+ }), r = x(() => t.cacheIdentifier || t.preferencesStorageKey), o = (v) => v.hasData || !!t.query, l = x(() => {
3461
+ const v = [];
3462
+ return Object.keys(t.tableHeaders).forEach((R) => {
3463
+ const z = t.tableHeaders[R];
3464
+ v.push({
3465
+ label: z.label ?? R,
3466
+ key: R,
3467
+ sortable: z.sortable ?? !1
3456
3468
  });
3457
- }), t.enableEntityActions && k.push({
3469
+ }), t.enableEntityActions && v.push({
3458
3470
  key: "actions",
3459
3471
  hideLabel: !0
3460
- }), k;
3461
- }), l = (k) => ({
3462
- "data-rowid": k.id,
3463
- "data-testid": k.name,
3464
- ...t.rowAttributes(k)
3465
- }), s = O({}), c = (k) => {
3466
- var S;
3467
- return (S = s.value) == null ? void 0 : S.$el.querySelector(`[data-rowid="${k.id}"]`);
3468
- }, d = (k) => {
3469
- const S = {
3470
- "data-testid": k.headerKey,
3471
- ...t.cellAttributes(k)
3472
+ }), v;
3473
+ }), s = (v) => ({
3474
+ "data-rowid": v.id,
3475
+ "data-testid": v.name,
3476
+ ...t.rowAttributes(v)
3477
+ }), c = O({}), d = (v) => {
3478
+ var R;
3479
+ return (R = c.value) == null ? void 0 : R.$el.querySelector(`[data-rowid="${v.id}"]`);
3480
+ }, u = (v) => {
3481
+ const R = {
3482
+ "data-testid": v.headerKey,
3483
+ ...t.cellAttributes(v)
3472
3484
  };
3473
- return k.colIndex === 0 && (S.style = {
3485
+ return v.colIndex === 0 && (R.style = {
3474
3486
  maxWidth: "250px",
3475
3487
  overflowX: "hidden",
3476
3488
  textOverflow: "ellipsis"
3477
- }), S;
3478
- }, u = () => {
3479
- n("empty-state-cta-clicked"), g();
3489
+ }), R;
3480
3490
  }, g = () => {
3491
+ n("empty-state-cta-clicked"), f();
3492
+ }, f = () => {
3481
3493
  n("clear-search-input");
3482
- }, f = _(() => t.disableRowClick ? void 0 : (k, S) => {
3483
- n("click:row", S);
3484
- }), A = (k) => {
3485
- n("sort", k);
3486
- }, { setTablePreferences: v, getTablePreferences: p } = ca(), h = _(() => {
3487
- const k = p(t.preferencesStorageKey);
3494
+ }, S = x(() => t.disableRowClick ? void 0 : (v, R) => {
3495
+ n("click:row", R);
3496
+ }), b = (v) => {
3497
+ n("sort", v);
3498
+ }, { setTablePreferences: p, getTablePreferences: h } = ca(), m = x(() => {
3499
+ const v = h(t.preferencesStorageKey);
3488
3500
  return {
3489
3501
  ...t.initialFetcherParams,
3490
- ...k
3502
+ ...v
3491
3503
  };
3492
- }), m = (k) => {
3493
- t.preferencesStorageKey && v(t.preferencesStorageKey, k);
3504
+ }), _ = (v) => {
3505
+ t.preferencesStorageKey && p(t.preferencesStorageKey, v);
3494
3506
  };
3495
- return (k, S) => {
3496
- const W = K("KIcon"), G = K("KButton"), q = K("KDropdown"), C = K("KTable"), F = K("KCard");
3497
- return y(), N(F, {
3507
+ return (v, R) => {
3508
+ const z = E("KIcon"), P = E("KButton"), C = E("KDropdown"), M = E("KTable"), F = E("KCard");
3509
+ return y(), B(F, {
3498
3510
  class: "kong-ui-entity-base-table",
3499
3511
  title: e.title
3500
3512
  }, {
3501
- body: b(() => [
3502
- T(C, {
3513
+ body: k(() => [
3514
+ j(M, {
3503
3515
  ref_key: "tableRefs",
3504
- ref: s,
3505
- "cache-identifier": i.value,
3506
- "cell-attrs": d,
3516
+ ref: c,
3517
+ "cache-identifier": r.value,
3518
+ "cell-attrs": u,
3507
3519
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3508
3520
  "disable-sorting": e.disableSorting,
3509
3521
  "empty-state-action-button-icon": e.query ? "" : "plus",
@@ -3514,56 +3526,57 @@ const Lo = {
3514
3526
  "empty-state-message": e.query ? w(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3515
3527
  "empty-state-title": e.query ? w(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3516
3528
  "enable-client-sort": e.enableClientSort,
3517
- "error-state-title": e.errorMessage,
3529
+ "error-state-message": i.value.message,
3530
+ "error-state-title": i.value.title,
3518
3531
  fetcher: e.fetcher,
3519
3532
  "fetcher-cache-key": String(e.fetcherCacheKey),
3520
- "has-error": !!e.errorMessage,
3521
- headers: o.value,
3533
+ "has-error": i.value.hasError,
3534
+ headers: l.value,
3522
3535
  "hide-pagination-when-optional": "",
3523
- "initial-fetcher-params": h.value,
3536
+ "initial-fetcher-params": m.value,
3524
3537
  "is-loading": e.isLoading,
3525
3538
  "pagination-type": e.paginationType,
3526
- "row-attrs": l,
3539
+ "row-attrs": s,
3527
3540
  "search-input": e.query,
3528
- onKtableEmptyStateCtaClicked: u,
3529
- "onRow:click": f.value,
3530
- onSort: S[0] || (S[0] = ($) => A($)),
3531
- "onUpdate:tablePreferences": m
3541
+ onKtableEmptyStateCtaClicked: g,
3542
+ "onRow:click": S.value,
3543
+ onSort: R[0] || (R[0] = (T) => b(T)),
3544
+ "onUpdate:tablePreferences": _
3532
3545
  }, we({
3533
- toolbar: b(({ state: $ }) => [
3534
- Le(L("div", yl, [
3535
- V(k.$slots, "toolbar-filter", {}, void 0, !0),
3536
- k.$slots["toolbar-button"] ? (y(), x("div", gl, [
3537
- V(k.$slots, "toolbar-button", {}, void 0, !0)
3538
- ])) : U("", !0)
3546
+ toolbar: k(({ state: T }) => [
3547
+ qe(L("div", yl, [
3548
+ U(v.$slots, "toolbar-filter", {}, void 0, !0),
3549
+ v.$slots["toolbar-button"] ? (y(), I("div", gl, [
3550
+ U(v.$slots, "toolbar-button", {}, void 0, !0)
3551
+ ])) : D("", !0)
3539
3552
  ], 512), [
3540
- [qe, r($)]
3553
+ [Le, o(T)]
3541
3554
  ])
3542
3555
  ]),
3543
- actions: b(({ row: $, rowKey: j, rowValue: B }) => [
3556
+ actions: k(({ row: T, rowKey: N, rowValue: q }) => [
3544
3557
  L("div", {
3545
3558
  class: "actions-container",
3546
- "data-testid": $.name
3559
+ "data-testid": T.name
3547
3560
  }, [
3548
- T(q, {
3561
+ j(C, {
3549
3562
  "kpop-attributes": { placement: "bottomEnd" },
3550
3563
  width: e.dropdownMenuWidth
3551
3564
  }, {
3552
- items: b(() => [
3553
- V(k.$slots, "actions", {
3554
- row: $,
3555
- rowKey: j,
3556
- rowValue: B
3565
+ items: k(() => [
3566
+ U(v.$slots, "actions", {
3567
+ row: T,
3568
+ rowKey: N,
3569
+ rowValue: q
3557
3570
  }, void 0, !0)
3558
3571
  ]),
3559
- default: b(() => [
3560
- T(G, {
3572
+ default: k(() => [
3573
+ j(P, {
3561
3574
  class: "actions-trigger",
3562
3575
  "data-testid": "overflow-actions-button",
3563
3576
  size: "small"
3564
3577
  }, {
3565
- icon: b(() => [
3566
- T(W, {
3578
+ icon: k(() => [
3579
+ j(z, {
3567
3580
  color: w(ni),
3568
3581
  icon: "more",
3569
3582
  size: "16"
@@ -3578,39 +3591,39 @@ const Lo = {
3578
3591
  ]),
3579
3592
  _: 2
3580
3593
  }, [
3581
- ue(e.tableHeaders, ($, j) => ({
3582
- name: j,
3583
- fn: b(({ row: B, rowKey: P, rowValue: D }) => [
3584
- T(fl, {
3585
- "key-name": String(j),
3586
- "row-el": c(B)
3594
+ ue(e.tableHeaders, (T, N) => ({
3595
+ name: N,
3596
+ fn: k(({ row: q, rowKey: J, rowValue: Z }) => [
3597
+ j(fl, {
3598
+ "key-name": String(N),
3599
+ "row-el": d(q)
3587
3600
  }, {
3588
- default: b(() => [
3589
- V(k.$slots, j, {
3590
- row: B,
3591
- rowKey: P,
3592
- rowValue: D
3601
+ default: k(() => [
3602
+ U(v.$slots, N, {
3603
+ row: q,
3604
+ rowKey: J,
3605
+ rowValue: Z
3593
3606
  }, () => [
3594
- z(E(D), 1)
3607
+ H(K(Z), 1)
3595
3608
  ], !0)
3596
3609
  ]),
3597
3610
  _: 2
3598
3611
  }, 1032, ["key-name", "row-el"])
3599
3612
  ])
3600
3613
  }))
3601
- ]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-button-icon", "empty-state-action-message", "empty-state-action-route", "empty-state-icon", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
3614
+ ]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-button-icon", "empty-state-action-message", "empty-state-action-route", "empty-state-icon", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
3602
3615
  ]),
3603
3616
  _: 3
3604
3617
  }, 8, ["title"]);
3605
3618
  };
3606
3619
  }
3607
- }), vl = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-86d2d2a3"]]), bl = {
3620
+ }), vl = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-499a771c"]]), bl = {
3608
3621
  key: 0,
3609
3622
  class: "kong-ui-entity-delete-error"
3610
3623
  }, kl = {
3611
3624
  key: 1,
3612
3625
  class: "description"
3613
- }, Cl = /* @__PURE__ */ Q({
3626
+ }, Cl = /* @__PURE__ */ te({
3614
3627
  __name: "EntityDeleteModal",
3615
3628
  props: {
3616
3629
  visible: {
@@ -3649,14 +3662,14 @@ const Lo = {
3649
3662
  },
3650
3663
  emits: ["cancel", "proceed"],
3651
3664
  setup(e, { emit: n }) {
3652
- const t = e, { i18nT: a } = ae.useI18n(), i = _(() => t.needConfirm ? t.entityName : ""), r = () => {
3665
+ const t = e, { i18nT: a } = ie.useI18n(), i = x(() => t.needConfirm ? t.entityName : ""), r = () => {
3653
3666
  n("cancel");
3654
3667
  }, o = () => {
3655
3668
  n("proceed");
3656
3669
  };
3657
3670
  return (l, s) => {
3658
- const c = K("KAlert"), d = K("KPrompt");
3659
- return y(), N(d, {
3671
+ const c = E("KAlert"), d = E("KPrompt");
3672
+ return y(), B(d, {
3660
3673
  "action-button-text": "Yes, delete",
3661
3674
  "action-pending": e.actionPending,
3662
3675
  class: "kong-ui-entity-delete-modal",
@@ -3667,38 +3680,38 @@ const Lo = {
3667
3680
  onCanceled: r,
3668
3681
  onProceed: o
3669
3682
  }, {
3670
- "body-content": b(() => [
3671
- e.error ? (y(), x("div", bl, [
3672
- T(c, { appearance: "danger" }, {
3673
- alertMessage: b(() => [
3674
- z(E(e.error), 1)
3683
+ "body-content": k(() => [
3684
+ e.error ? (y(), I("div", bl, [
3685
+ j(c, { appearance: "danger" }, {
3686
+ alertMessage: k(() => [
3687
+ H(K(e.error), 1)
3675
3688
  ]),
3676
3689
  _: 1
3677
3690
  })
3678
- ])) : U("", !0),
3679
- T(w(a), {
3691
+ ])) : D("", !0),
3692
+ j(w(a), {
3680
3693
  class: "message",
3681
3694
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3682
3695
  tag: "p"
3683
3696
  }, we({
3684
- entityType: b(() => [
3685
- z(E(t.entityType), 1)
3697
+ entityType: k(() => [
3698
+ H(K(t.entityType), 1)
3686
3699
  ]),
3687
3700
  _: 2
3688
3701
  }, [
3689
3702
  t.entityName ? {
3690
3703
  name: "entityName",
3691
- fn: b(() => [
3692
- L("strong", null, E(t.entityName), 1)
3704
+ fn: k(() => [
3705
+ L("strong", null, K(t.entityName), 1)
3693
3706
  ]),
3694
3707
  key: "0"
3695
3708
  } : void 0
3696
3709
  ]), 1032, ["keypath"]),
3697
- t.description || l.$slots.description ? (y(), x("div", kl, [
3698
- V(l.$slots, "description", {}, () => [
3699
- L("p", null, E(t.description), 1)
3710
+ t.description || l.$slots.description ? (y(), I("div", kl, [
3711
+ U(l.$slots, "description", {}, () => [
3712
+ L("p", null, K(t.description), 1)
3700
3713
  ], !0)
3701
- ])) : U("", !0)
3714
+ ])) : D("", !0)
3702
3715
  ]),
3703
3716
  _: 3
3704
3717
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
@@ -3718,7 +3731,7 @@ const Lo = {
3718
3731
  width: "20",
3719
3732
  x: "0",
3720
3733
  y: "0"
3721
- }, Il = ["fill"], xl = { mask: "url(#mask0_180_20349)" }, _l = ["fill"], Ht = /* @__PURE__ */ Q({
3734
+ }, Il = ["fill"], xl = { mask: "url(#mask0_180_20349)" }, _l = ["fill"], zt = /* @__PURE__ */ te({
3722
3735
  __name: "IconFilter",
3723
3736
  props: {
3724
3737
  color: {
@@ -3727,7 +3740,7 @@ const Lo = {
3727
3740
  }
3728
3741
  },
3729
3742
  setup(e) {
3730
- return (n, t) => (y(), x("svg", Sl, [
3743
+ return (n, t) => (y(), I("svg", Sl, [
3731
3744
  L("mask", Al, [
3732
3745
  L("rect", {
3733
3746
  fill: e.color,
@@ -3746,7 +3759,7 @@ const Lo = {
3746
3759
  }), Tl = {
3747
3760
  key: 1,
3748
3761
  class: "kong-ui-entity-filter"
3749
- }, $l = { class: "menu-item-title" }, jl = { class: "menu-item-indicator" }, Ol = { class: "menu-item-body" }, Ml = ["for"], Fl = { class: "menu-item-buttons" }, Kl = { class: "filter-clear-button-container" }, El = /* @__PURE__ */ Q({
3762
+ }, jl = { class: "menu-item-title" }, $l = { class: "menu-item-indicator" }, Ol = { class: "menu-item-body" }, Ml = ["for"], El = { class: "menu-item-buttons" }, Kl = { class: "filter-clear-button-container" }, Fl = /* @__PURE__ */ te({
3750
3763
  __name: "EntityFilter",
3751
3764
  props: {
3752
3765
  // filter config, either exact match or fuzzy match
@@ -3766,19 +3779,19 @@ const Lo = {
3766
3779
  },
3767
3780
  emits: ["update:modelValue"],
3768
3781
  setup(e, { emit: n }) {
3769
- const t = e, { i18n: { t: a } } = ae.useI18n(), i = O(!1), r = O({}), o = _(() => {
3782
+ const t = e, { i18n: { t: a } } = ie.useI18n(), i = O(!1), r = O({}), o = x(() => {
3770
3783
  const p = [];
3771
3784
  return new URLSearchParams(t.modelValue).forEach((h, m) => {
3772
3785
  h !== "" && p.push(m);
3773
3786
  }), p;
3774
- }), l = _(() => {
3787
+ }), l = x(() => {
3775
3788
  const p = t.config.fields;
3776
3789
  return Object.keys(p).filter((h) => p[h].searchable).map((h) => ({
3777
3790
  label: p[h].label || h,
3778
3791
  value: h
3779
3792
  }));
3780
3793
  });
3781
- be(() => t.modelValue, (p) => {
3794
+ ke(() => t.modelValue, (p) => {
3782
3795
  r.value = {}, new URLSearchParams(p).forEach((h, m) => {
3783
3796
  r.value[m] = h;
3784
3797
  });
@@ -3789,9 +3802,9 @@ const Lo = {
3789
3802
  n("update:modelValue", p);
3790
3803
  }, d = (p) => `filter-${p}`, u = (p) => {
3791
3804
  var h, m;
3792
- return (((m = (h = t.config.schema) == null ? void 0 : h[p]) == null ? void 0 : m.values) ?? []).map((k) => ({
3793
- value: k,
3794
- label: k
3805
+ return (((m = (h = t.config.schema) == null ? void 0 : h[p]) == null ? void 0 : m.values) ?? []).map((_) => ({
3806
+ value: _,
3807
+ label: _
3795
3808
  }));
3796
3809
  }, g = (p) => {
3797
3810
  var h, m;
@@ -3800,16 +3813,16 @@ const Lo = {
3800
3813
  r.value = {
3801
3814
  ...r.value,
3802
3815
  [p]: ""
3803
- }, v();
3804
- }, A = () => {
3805
- r.value = {}, v(!0);
3806
- }, v = (p = !1) => {
3807
- const h = Object.keys(r.value).reduce((m, k) => (r.value[k] && (m[k] = `${r.value[k]}`), m), {});
3816
+ }, b();
3817
+ }, S = () => {
3818
+ r.value = {}, b(!0);
3819
+ }, b = (p = !1) => {
3820
+ const h = Object.keys(r.value).reduce((m, _) => (r.value[_] && (m[_] = `${r.value[_]}`), m), {});
3808
3821
  p && (i.value = !1), n("update:modelValue", new URLSearchParams(h).toString());
3809
3822
  };
3810
3823
  return (p, h) => {
3811
- const m = K("KInput"), k = K("KButton"), S = K("KSelect"), W = K("KMenuItem"), G = K("KMenu");
3812
- return e.config.isExactMatch ? (y(), N(m, {
3824
+ const m = E("KInput"), _ = E("KButton"), v = E("KSelect"), R = E("KMenuItem"), z = E("KMenu");
3825
+ return e.config.isExactMatch ? (y(), B(m, {
3813
3826
  key: 0,
3814
3827
  autocomplete: "off",
3815
3828
  class: "kong-ui-entity-filter-input",
@@ -3818,90 +3831,90 @@ const Lo = {
3818
3831
  placeholder: e.config.placeholder,
3819
3832
  "onUpdate:modelValue": c
3820
3833
  }, {
3821
- before: b(() => [
3822
- T(Ht)
3834
+ before: k(() => [
3835
+ j(zt)
3823
3836
  ]),
3824
3837
  _: 1
3825
- }, 8, ["model-value", "placeholder"])) : (y(), x("div", Tl, [
3826
- T(k, {
3838
+ }, 8, ["model-value", "placeholder"])) : (y(), I("div", Tl, [
3839
+ j(_, {
3827
3840
  appearance: "tertiary",
3828
3841
  "data-testid": "filter-button",
3829
3842
  onClick: s
3830
3843
  }, {
3831
- default: b(() => [
3832
- T(Ht),
3833
- z(" " + E(w(a)("filter.filterButtonText")) + " " + E(o.value.length > 0 ? `(${o.value.length})` : ""), 1)
3844
+ default: k(() => [
3845
+ j(zt),
3846
+ H(" " + K(w(a)("filter.filterButtonText")) + " " + K(o.value.length > 0 ? `(${o.value.length})` : ""), 1)
3834
3847
  ]),
3835
3848
  _: 1
3836
3849
  }),
3837
- Le(L("div", {
3850
+ qe(L("div", {
3838
3851
  class: "kong-ui-entity-filter-backdrop",
3839
3852
  onClick: s
3840
3853
  }, null, 512), [
3841
- [qe, i.value]
3854
+ [Le, i.value]
3842
3855
  ]),
3843
- Le(T(G, { class: "kong-ui-entity-filter-menu" }, {
3844
- body: b(() => [
3845
- (y(!0), x(pe, null, ue(l.value, (q, C) => (y(), N(W, {
3846
- key: q.value,
3847
- "data-testid": q.value,
3856
+ qe(j(z, { class: "kong-ui-entity-filter-menu" }, {
3857
+ body: k(() => [
3858
+ (y(!0), I(pe, null, ue(l.value, (P, C) => (y(), B(R, {
3859
+ key: P.value,
3860
+ "data-testid": P.value,
3848
3861
  expandable: "",
3849
3862
  "last-menu-item": C === l.value.length - 1
3850
3863
  }, {
3851
- itemTitle: b(() => [
3852
- L("span", $l, [
3853
- z(E(q.label) + " ", 1),
3854
- Le(L("span", jl, null, 512), [
3855
- [qe, o.value.includes(q.value)]
3864
+ itemTitle: k(() => [
3865
+ L("span", jl, [
3866
+ H(K(P.label) + " ", 1),
3867
+ qe(L("span", $l, null, 512), [
3868
+ [Le, o.value.includes(P.value)]
3856
3869
  ])
3857
3870
  ])
3858
3871
  ]),
3859
- itemBody: b(() => {
3860
- var F, $;
3872
+ itemBody: k(() => {
3873
+ var M, F;
3861
3874
  return [
3862
3875
  L("div", Ol, [
3863
3876
  L("label", {
3864
3877
  class: "menu-item-label",
3865
- for: d(q.value)
3866
- }, E(w(a)("filter.fieldLabel")), 9, Ml),
3867
- (($ = (F = e.config.schema) == null ? void 0 : F[q.value]) == null ? void 0 : $.type) === "select" ? (y(), N(S, {
3878
+ for: d(P.value)
3879
+ }, K(w(a)("filter.fieldLabel")), 9, Ml),
3880
+ ((F = (M = e.config.schema) == null ? void 0 : M[P.value]) == null ? void 0 : F.type) === "select" ? (y(), B(v, {
3868
3881
  key: 0,
3869
- id: d(q.value),
3870
- modelValue: r.value[q.value],
3871
- "onUpdate:modelValue": (j) => r.value[q.value] = j,
3882
+ id: d(P.value),
3883
+ modelValue: r.value[P.value],
3884
+ "onUpdate:modelValue": (T) => r.value[P.value] = T,
3872
3885
  appearance: "select",
3873
- items: u(q.value),
3886
+ items: u(P.value),
3874
3887
  placeholder: w(a)("filter.selectPlaceholder")
3875
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), N(m, {
3888
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), B(m, {
3876
3889
  key: 1,
3877
- id: d(q.value),
3878
- modelValue: r.value[q.value],
3879
- "onUpdate:modelValue": (j) => r.value[q.value] = j,
3890
+ id: d(P.value),
3891
+ modelValue: r.value[P.value],
3892
+ "onUpdate:modelValue": (T) => r.value[P.value] = T,
3880
3893
  autocomplete: "off",
3881
3894
  placeholder: w(a)("filter.inputPlaceholder"),
3882
- type: g(q.value)
3895
+ type: g(P.value)
3883
3896
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3884
3897
  ]),
3885
- L("div", Fl, [
3886
- T(k, {
3898
+ L("div", El, [
3899
+ j(_, {
3887
3900
  appearance: "tertiary",
3888
3901
  "data-testid": "apply-filter",
3889
3902
  size: "small",
3890
- onClick: h[0] || (h[0] = (j) => v(!0))
3903
+ onClick: h[0] || (h[0] = (T) => b(!0))
3891
3904
  }, {
3892
- default: b(() => [
3893
- z(E(w(a)("filter.applyButtonText")), 1)
3905
+ default: k(() => [
3906
+ H(K(w(a)("filter.applyButtonText")), 1)
3894
3907
  ]),
3895
3908
  _: 1
3896
3909
  }),
3897
- T(k, {
3910
+ j(_, {
3898
3911
  appearance: "tertiary",
3899
3912
  "data-testid": "clear-filter",
3900
3913
  size: "small",
3901
- onClick: (j) => f(q.value)
3914
+ onClick: (T) => f(P.value)
3902
3915
  }, {
3903
- default: b(() => [
3904
- z(E(w(a)("filter.clearButtonText")), 1)
3916
+ default: k(() => [
3917
+ H(K(w(a)("filter.clearButtonText")), 1)
3905
3918
  ]),
3906
3919
  _: 2
3907
3920
  }, 1032, ["onClick"])
@@ -3911,14 +3924,14 @@ const Lo = {
3911
3924
  _: 2
3912
3925
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
3913
3926
  ]),
3914
- actionButton: b(() => [
3927
+ actionButton: k(() => [
3915
3928
  L("div", Kl, [
3916
- T(k, {
3929
+ j(_, {
3917
3930
  size: "small",
3918
- onClick: A
3931
+ onClick: S
3919
3932
  }, {
3920
- default: b(() => [
3921
- z(E(w(a)("filter.clearAllButtonText")), 1)
3933
+ default: k(() => [
3934
+ H(K(w(a)("filter.clearAllButtonText")), 1)
3922
3935
  ]),
3923
3936
  _: 1
3924
3937
  })
@@ -3926,12 +3939,12 @@ const Lo = {
3926
3939
  ]),
3927
3940
  _: 1
3928
3941
  }, 512), [
3929
- [qe, i.value]
3942
+ [Le, i.value]
3930
3943
  ])
3931
3944
  ]));
3932
3945
  };
3933
3946
  }
3934
- }), Nl = /* @__PURE__ */ fe(El, [["__scopeId", "data-v-4ea260f0"]]), Be = /* @__PURE__ */ Q({
3947
+ }), Nl = /* @__PURE__ */ fe(Fl, [["__scopeId", "data-v-4ea260f0"]]), Be = /* @__PURE__ */ te({
3935
3948
  __name: "PermissionsWrapper",
3936
3949
  props: {
3937
3950
  /**
@@ -3953,24 +3966,24 @@ const Lo = {
3953
3966
  }
3954
3967
  },
3955
3968
  setup(e) {
3956
- const n = e, t = O(void 0), a = _(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3957
- return be(() => n.authFunction, async () => {
3969
+ const n = e, t = O(void 0), a = x(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3970
+ return ke(() => n.authFunction, async () => {
3958
3971
  t.value = await n.authFunction();
3959
- }, { immediate: !0 }), (i, r) => a.value ? V(i.$slots, "default", {
3972
+ }, { immediate: !0 }), (i, r) => a.value ? U(i.$slots, "default", {
3960
3973
  key: 0,
3961
3974
  isAllowed: t.value
3962
- }) : U("", !0);
3975
+ }) : D("", !0);
3963
3976
  }
3964
- }), Bl = { class: "form-section-wrapper" }, Ll = {
3977
+ }), Bl = { class: "form-section-wrapper" }, ql = {
3965
3978
  key: 0,
3966
3979
  class: "form-section-title"
3967
- }, ql = {
3980
+ }, Ll = {
3968
3981
  key: 1,
3969
3982
  class: "form-section-description"
3970
- }, Pl = {
3983
+ }, Rl = {
3971
3984
  key: 2,
3972
3985
  class: "form-section-footer"
3973
- }, Rl = { class: "form-section-content" }, Ul = /* @__PURE__ */ Q({
3986
+ }, Pl = { class: "form-section-content" }, Vl = /* @__PURE__ */ te({
3974
3987
  __name: "EntityFormSection",
3975
3988
  props: {
3976
3989
  title: {
@@ -3996,32 +4009,32 @@ const Lo = {
3996
4009
  },
3997
4010
  setup(e) {
3998
4011
  const n = Je();
3999
- return (t, a) => (y(), x("fieldset", {
4012
+ return (t, a) => (y(), I("fieldset", {
4000
4013
  class: Ae(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4001
4014
  }, [
4002
4015
  L("div", Bl, [
4003
- e.hideInfoHeader ? U("", !0) : (y(), x("div", {
4016
+ e.hideInfoHeader ? D("", !0) : (y(), I("div", {
4004
4017
  key: 0,
4005
4018
  class: Ae(["form-section-info", { sticky: e.stickyInfoHeader }])
4006
4019
  }, [
4007
- e.title ? (y(), x("h4", Ll, E(e.title), 1)) : U("", !0),
4008
- e.description || w(n).description ? (y(), x("div", ql, [
4009
- V(t.$slots, "description", {}, () => [
4010
- L("p", null, E(e.description), 1)
4020
+ e.title ? (y(), I("h4", ql, K(e.title), 1)) : D("", !0),
4021
+ e.description || w(n).description ? (y(), I("div", Ll, [
4022
+ U(t.$slots, "description", {}, () => [
4023
+ L("p", null, K(e.description), 1)
4011
4024
  ], !0)
4012
- ])) : U("", !0),
4013
- w(n).footer ? (y(), x("div", Pl, [
4014
- V(t.$slots, "footer", {}, void 0, !0)
4015
- ])) : U("", !0)
4025
+ ])) : D("", !0),
4026
+ w(n).footer ? (y(), I("div", Rl, [
4027
+ U(t.$slots, "footer", {}, void 0, !0)
4028
+ ])) : D("", !0)
4016
4029
  ], 2)),
4017
- L("div", Rl, [
4018
- V(t.$slots, "default", {}, void 0, !0)
4030
+ L("div", Pl, [
4031
+ U(t.$slots, "default", {}, void 0, !0)
4019
4032
  ])
4020
4033
  ])
4021
4034
  ], 2));
4022
4035
  }
4023
- }), Vl = /* @__PURE__ */ fe(Ul, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Hn, useDeleteUrlBuilder: Dl, useErrors: zl, useExternalLinkCreator: is, useFetchUrlBuilder: rs, useFetcher: Hl, useDebouncedFilter: os, useStringHelpers: ls, useHelpers: ss, useGatewayFeatureSupported: cs, useTruncationDetector: us } = ae;
4024
- const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /* @__PURE__ */ Q({
4036
+ }), Dl = /* @__PURE__ */ fe(Vl, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: zn, useDeleteUrlBuilder: Ul, useErrors: Hl, useExternalLinkCreator: is, useFetchUrlBuilder: rs, useFetcher: zl, useDebouncedFilter: os, useStringHelpers: ls, useHelpers: ss, useGatewayFeatureSupported: cs, useTruncationDetector: us } = ie;
4037
+ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /* @__PURE__ */ te({
4025
4038
  __name: "KeySetList",
4026
4039
  props: {
4027
4040
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4063,117 +4076,120 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4063
4076
  emits: ["error", "copy:success", "copy:error", "delete:success"],
4064
4077
  setup(e, { emit: n }) {
4065
4078
  var le;
4066
- const t = e, { i18n: { t: a } } = ut.useI18n(), i = st(), { axiosInstance: r } = Hn({
4079
+ const t = e, { i18n: { t: a } } = ut.useI18n(), i = st(), { axiosInstance: r } = zn({
4067
4080
  headers: (le = t.config) == null ? void 0 : le.requestHeaders
4068
- }), o = O(1), l = _(() => t.config.app !== "kongManager" || !!t.config.disableSorting), s = {
4081
+ }), o = O(1), l = x(() => t.config.app !== "kongManager" || !!t.config.disableSorting), s = {
4069
4082
  name: { label: a("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4070
4083
  tags: { label: a("keySets.list.table_headers.tags") },
4071
4084
  id: { label: a("keySets.list.table_headers.id"), sortable: !0 }
4072
- }, c = s, d = _(() => {
4073
- var R, ie;
4074
- let M = `${t.config.apiBaseUrl}${Re.list[t.config.app]}`;
4075
- return t.config.app === "konnect" ? M = M.replace(/{controlPlaneId}/gi, ((R = t.config) == null ? void 0 : R.controlPlaneId) || "") : t.config.app === "kongManager" && (M = M.replace(/\/{workspace}/gi, (ie = t.config) != null && ie.workspace ? `/${t.config.workspace}` : "")), M;
4076
- }), u = O(""), g = _(() => {
4077
- const M = t.config.app === "konnect" || t.config.isExactMatch;
4078
- if (M)
4085
+ }, c = s, d = x(() => {
4086
+ var V, X;
4087
+ let $ = `${t.config.apiBaseUrl}${Pe.list[t.config.app]}`;
4088
+ return t.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((V = t.config) == null ? void 0 : V.controlPlaneId) || "") : t.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (X = t.config) != null && X.workspace ? `/${t.config.workspace}` : "")), $;
4089
+ }), u = O(""), g = x(() => {
4090
+ const $ = t.config.app === "konnect" || t.config.isExactMatch;
4091
+ if ($)
4079
4092
  return {
4080
- isExactMatch: M,
4093
+ isExactMatch: $,
4081
4094
  placeholder: a("keySets.search.placeholder")
4082
4095
  };
4083
- const R = { name: s.name };
4096
+ const V = { name: s.name };
4084
4097
  return {
4085
- isExactMatch: M,
4086
- fields: R,
4098
+ isExactMatch: $,
4099
+ fields: V,
4087
4100
  schema: t.config.filterSchema
4088
4101
  };
4089
- }), { fetcher: f, fetcherState: A } = Hl(t.config, d.value), v = () => {
4102
+ }), { fetcher: f, fetcherState: S } = zl(t.config, d.value), b = () => {
4090
4103
  u.value = "";
4091
4104
  }, p = () => {
4092
4105
  o.value++;
4093
- }, h = O(""), m = (M, R) => {
4094
- const ie = M.id;
4095
- if (!R(ie)) {
4096
- G(M, "id");
4106
+ }, h = O(null), m = ($, V) => {
4107
+ const X = $.id;
4108
+ if (!V(X)) {
4109
+ z($, "id");
4097
4110
  return;
4098
4111
  }
4099
- W(M, "id");
4100
- }, k = (M, R) => {
4101
- const ie = JSON.stringify(M);
4102
- if (!R(ie)) {
4112
+ R($, "id");
4113
+ }, _ = ($, V) => {
4114
+ const X = JSON.stringify($);
4115
+ if (!V(X)) {
4103
4116
  n("copy:error", {
4104
- entity: M,
4117
+ entity: $,
4105
4118
  message: a("keySets.errors.copy")
4106
4119
  });
4107
4120
  return;
4108
4121
  }
4109
4122
  n("copy:success", {
4110
- entity: M,
4123
+ entity: $,
4111
4124
  message: a("keySets.copy.success_brief")
4112
4125
  });
4113
- }, S = (M, R, ie) => {
4114
- const { type: ke } = M;
4115
- ke === "success" ? W(R, ie) : G(R, ie);
4116
- }, W = (M, R) => {
4126
+ }, v = ($, V, X) => {
4127
+ const { type: ye } = $;
4128
+ ye === "success" ? R(V, X) : z(V, X);
4129
+ }, R = ($, V) => {
4117
4130
  n("copy:success", {
4118
- entity: M,
4119
- field: R,
4120
- message: a("keySets.copy.success", { val: M[R] })
4131
+ entity: $,
4132
+ field: V,
4133
+ message: a("keySets.copy.success", { val: $[V] })
4121
4134
  });
4122
- }, G = (M, R) => {
4135
+ }, z = ($, V) => {
4123
4136
  n("copy:error", {
4124
- entity: M,
4125
- field: R,
4137
+ entity: $,
4138
+ field: V,
4126
4139
  message: a("keySets.errors.copy")
4127
4140
  });
4128
- }, q = async (M) => {
4129
- var ie;
4130
- await ((ie = t.canRetrieve) == null ? void 0 : ie.call(t, M)) && i.push(t.config.getViewRoute(M.id));
4131
- }, C = (M) => ({
4141
+ }, P = async ($) => {
4142
+ var X;
4143
+ await ((X = t.canRetrieve) == null ? void 0 : X.call(t, $)) && i.push(t.config.getViewRoute($.id));
4144
+ }, C = ($) => ({
4132
4145
  label: a("keySets.actions.view"),
4133
- to: t.config.getViewRoute(M)
4134
- }), F = (M) => ({
4146
+ to: t.config.getViewRoute($)
4147
+ }), M = ($) => ({
4135
4148
  label: a("keySets.actions.edit"),
4136
- to: t.config.getEditRoute(M)
4137
- }), $ = O(void 0), j = O(!1), B = O(!1), P = O(""), D = Dl(t.config, d.value), ee = (M) => {
4138
- $.value = M, j.value = !0;
4139
- }, ne = () => {
4140
- j.value = !1;
4141
- }, Z = async () => {
4142
- var M, R, ie;
4143
- if ((M = $.value) != null && M.id) {
4144
- B.value = !0;
4149
+ to: t.config.getEditRoute($)
4150
+ }), F = O(void 0), T = O(!1), N = O(!1), q = O(""), J = Ul(t.config, d.value), Z = ($) => {
4151
+ F.value = $, T.value = !0;
4152
+ }, ae = () => {
4153
+ T.value = !1;
4154
+ }, Q = async () => {
4155
+ var $, V, X;
4156
+ if (($ = F.value) != null && $.id) {
4157
+ N.value = !0;
4145
4158
  try {
4146
- await r.delete(D($.value.id)), B.value = !1, j.value = !1, o.value++, n("delete:success", $.value);
4147
- } catch (ke) {
4148
- P.value = ((ie = (R = ke.response) == null ? void 0 : R.data) == null ? void 0 : ie.message) || ke.message || a("keySets.errors.delete"), n("error", ke);
4159
+ await r.delete(J(F.value.id)), N.value = !1, T.value = !1, o.value++, n("delete:success", F.value);
4160
+ } catch (ye) {
4161
+ q.value = ((X = (V = ye.response) == null ? void 0 : V.data) == null ? void 0 : X.message) || ye.message || a("keySets.errors.delete"), n("error", ye);
4149
4162
  } finally {
4150
- B.value = !1;
4163
+ N.value = !1;
4151
4164
  }
4152
4165
  }
4153
4166
  };
4154
- be(A, (M) => {
4155
- if (M.status === Ce.Error) {
4156
- h.value = a("keySets.errors.general"), n("error", M.error);
4167
+ ke(S, ($) => {
4168
+ var V, X, ye;
4169
+ if ($.status === Ce.Error) {
4170
+ h.value = {
4171
+ title: a("keySets.errors.general")
4172
+ }, (ye = (X = (V = $.error) == null ? void 0 : V.response) == null ? void 0 : X.data) != null && ye.message && (h.value.message = $.error.response.data.message), n("error", $.error);
4157
4173
  return;
4158
4174
  }
4159
- h.value = "";
4175
+ h.value = null;
4160
4176
  });
4161
- const H = O({
4177
+ const Y = O({
4162
4178
  ctaPath: t.config.createRoute,
4163
4179
  ctaText: void 0,
4164
4180
  message: a("keySets.list.empty_state.description"),
4165
4181
  title: a("keySets.title")
4166
4182
  });
4167
4183
  return lt(async () => {
4168
- await t.canCreate() && (H.value.title = a("keySets.list.empty_state.title"), H.value.ctaText = a("keySets.actions.create"));
4169
- }), (M, R) => {
4170
- const ie = K("KButton"), ke = K("KBadge"), Yn = K("KTruncate"), Wn = K("CopyUuid"), Oe = K("KDropdownItem"), kt = K("KClipboardProvider");
4171
- return y(), x("div", Jl, [
4172
- T(w(vl), {
4184
+ await t.canCreate() && (Y.value.title = a("keySets.list.empty_state.title"), Y.value.ctaText = a("keySets.actions.create"));
4185
+ }), ($, V) => {
4186
+ const X = E("KButton"), ye = E("KBadge"), Yn = E("KTruncate"), Wn = E("CopyUuid"), Oe = E("KDropdownItem"), kt = E("KClipboardProvider");
4187
+ return y(), I("div", Jl, [
4188
+ j(w(vl), {
4173
4189
  "cache-identifier": e.cacheIdentifier,
4174
4190
  "disable-pagination-page-jump": "",
4175
4191
  "disable-sorting": l.value,
4176
- "empty-state-options": H.value,
4192
+ "empty-state-options": Y.value,
4177
4193
  "enable-entity-actions": "",
4178
4194
  "error-message": h.value,
4179
4195
  fetcher: w(f),
@@ -4182,30 +4198,30 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4182
4198
  "preferences-storage-key": "kong-ui-entities-key-sets-list",
4183
4199
  query: u.value,
4184
4200
  "table-headers": w(c),
4185
- onClearSearchInput: v,
4186
- "onClick:row": R[2] || (R[2] = (Y) => q(Y)),
4201
+ onClearSearchInput: b,
4202
+ "onClick:row": V[2] || (V[2] = (G) => P(G)),
4187
4203
  onSort: p
4188
4204
  }, {
4189
- "toolbar-filter": b(() => [
4190
- T(w(Nl), {
4205
+ "toolbar-filter": k(() => [
4206
+ j(w(Nl), {
4191
4207
  modelValue: u.value,
4192
- "onUpdate:modelValue": R[0] || (R[0] = (Y) => u.value = Y),
4208
+ "onUpdate:modelValue": V[0] || (V[0] = (G) => u.value = G),
4193
4209
  config: g.value
4194
4210
  }, null, 8, ["modelValue", "config"])
4195
4211
  ]),
4196
- "toolbar-button": b(() => [
4197
- T(w(Be), {
4212
+ "toolbar-button": k(() => [
4213
+ j(w(Be), {
4198
4214
  "auth-function": () => e.canCreate()
4199
4215
  }, {
4200
- default: b(() => [
4201
- T(ie, {
4216
+ default: k(() => [
4217
+ j(X, {
4202
4218
  appearance: "primary",
4203
4219
  "data-testid": "toolbar-add-key-set",
4204
4220
  icon: "plus",
4205
4221
  to: e.config.createRoute
4206
4222
  }, {
4207
- default: b(() => [
4208
- z(E(w(a)("keySets.list.toolbar_actions.new_key_set")), 1)
4223
+ default: k(() => [
4224
+ H(K(w(a)("keySets.list.toolbar_actions.new_key_set")), 1)
4209
4225
  ]),
4210
4226
  _: 1
4211
4227
  }, 8, ["to"])
@@ -4213,97 +4229,97 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4213
4229
  _: 1
4214
4230
  }, 8, ["auth-function"])
4215
4231
  ]),
4216
- name: b(({ rowValue: Y }) => [
4217
- L("b", null, E(Y ?? "-"), 1)
4232
+ name: k(({ rowValue: G }) => [
4233
+ L("b", null, K(G ?? "-"), 1)
4218
4234
  ]),
4219
- tags: b(({ rowValue: Y }) => [
4220
- (Y == null ? void 0 : Y.length) > 0 ? (y(), N(Yn, { key: 0 }, {
4221
- default: b(() => [
4222
- (y(!0), x(pe, null, ue(Y, (ge) => (y(), N(ke, {
4223
- key: ge,
4224
- onClick: R[1] || (R[1] = Pe(() => {
4235
+ tags: k(({ rowValue: G }) => [
4236
+ (G == null ? void 0 : G.length) > 0 ? (y(), B(Yn, { key: 0 }, {
4237
+ default: k(() => [
4238
+ (y(!0), I(pe, null, ue(G, (me) => (y(), B(ye, {
4239
+ key: me,
4240
+ onClick: V[1] || (V[1] = Re(() => {
4225
4241
  }, ["stop"]))
4226
4242
  }, {
4227
- default: b(() => [
4228
- z(E(ge), 1)
4243
+ default: k(() => [
4244
+ H(K(me), 1)
4229
4245
  ]),
4230
4246
  _: 2
4231
4247
  }, 1024))), 128))
4232
4248
  ]),
4233
4249
  _: 2
4234
- }, 1024)) : (y(), x("span", Yl, "-"))
4250
+ }, 1024)) : (y(), I("span", Yl, "-"))
4235
4251
  ]),
4236
- id: b(({ row: Y, rowValue: ge }) => [
4237
- T(Wn, {
4238
- notify: (We) => S(We, Y, "id"),
4252
+ id: k(({ row: G, rowValue: me }) => [
4253
+ j(Wn, {
4254
+ notify: (We) => v(We, G, "id"),
4239
4255
  truncated: !1,
4240
- uuid: ge
4256
+ uuid: me
4241
4257
  }, null, 8, ["notify", "uuid"])
4242
4258
  ]),
4243
- actions: b(({ row: Y }) => [
4244
- T(kt, null, {
4245
- default: b(({ copyToClipboard: ge }) => [
4246
- T(Oe, {
4259
+ actions: k(({ row: G }) => [
4260
+ j(kt, null, {
4261
+ default: k(({ copyToClipboard: me }) => [
4262
+ j(Oe, {
4247
4263
  "data-testid": "action-entity-copy-id",
4248
- onClick: (We) => m(Y, ge)
4264
+ onClick: (We) => m(G, me)
4249
4265
  }, {
4250
- default: b(() => [
4251
- z(E(w(a)("keySets.actions.copy_id")), 1)
4266
+ default: k(() => [
4267
+ H(K(w(a)("keySets.actions.copy_id")), 1)
4252
4268
  ]),
4253
4269
  _: 2
4254
4270
  }, 1032, ["onClick"])
4255
4271
  ]),
4256
4272
  _: 2
4257
4273
  }, 1024),
4258
- T(kt, null, {
4259
- default: b(({ copyToClipboard: ge }) => [
4260
- T(Oe, {
4274
+ j(kt, null, {
4275
+ default: k(({ copyToClipboard: me }) => [
4276
+ j(Oe, {
4261
4277
  "data-testid": "action-entity-copy-json",
4262
- onClick: (We) => k(Y, ge)
4278
+ onClick: (We) => _(G, me)
4263
4279
  }, {
4264
- default: b(() => [
4265
- z(E(w(a)("keySets.actions.copy_json")), 1)
4280
+ default: k(() => [
4281
+ H(K(w(a)("keySets.actions.copy_json")), 1)
4266
4282
  ]),
4267
4283
  _: 2
4268
4284
  }, 1032, ["onClick"])
4269
4285
  ]),
4270
4286
  _: 2
4271
4287
  }, 1024),
4272
- T(w(Be), {
4273
- "auth-function": () => e.canRetrieve(Y)
4288
+ j(w(Be), {
4289
+ "auth-function": () => e.canRetrieve(G)
4274
4290
  }, {
4275
- default: b(() => [
4276
- T(Oe, {
4291
+ default: k(() => [
4292
+ j(Oe, {
4277
4293
  "data-testid": "action-entity-view",
4278
4294
  "has-divider": "",
4279
- item: C(Y.id)
4295
+ item: C(G.id)
4280
4296
  }, null, 8, ["item"])
4281
4297
  ]),
4282
4298
  _: 2
4283
4299
  }, 1032, ["auth-function"]),
4284
- T(w(Be), {
4285
- "auth-function": () => e.canEdit(Y)
4300
+ j(w(Be), {
4301
+ "auth-function": () => e.canEdit(G)
4286
4302
  }, {
4287
- default: b(() => [
4288
- T(Oe, {
4303
+ default: k(() => [
4304
+ j(Oe, {
4289
4305
  "data-testid": "action-entity-edit",
4290
- item: F(Y.id)
4306
+ item: M(G.id)
4291
4307
  }, null, 8, ["item"])
4292
4308
  ]),
4293
4309
  _: 2
4294
4310
  }, 1032, ["auth-function"]),
4295
- T(w(Be), {
4296
- "auth-function": () => e.canDelete(Y)
4311
+ j(w(Be), {
4312
+ "auth-function": () => e.canDelete(G)
4297
4313
  }, {
4298
- default: b(() => [
4299
- T(Oe, {
4314
+ default: k(() => [
4315
+ j(Oe, {
4300
4316
  danger: "",
4301
4317
  "data-testid": "action-entity-delete",
4302
4318
  "has-divider": "",
4303
- onClick: (ge) => ee(Y)
4319
+ onClick: (me) => Z(G)
4304
4320
  }, {
4305
- default: b(() => [
4306
- z(E(w(a)("keySets.actions.delete")), 1)
4321
+ default: k(() => [
4322
+ H(K(w(a)("keySets.actions.delete")), 1)
4307
4323
  ]),
4308
4324
  _: 2
4309
4325
  }, 1032, ["onClick"])
@@ -4313,16 +4329,16 @@ const Jl = { class: "kong-ui-entities-key-sets-list" }, Yl = { key: 1 }, Wl = /*
4313
4329
  ]),
4314
4330
  _: 1
4315
4331
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers"]),
4316
- T(w(wl), {
4317
- "action-pending": B.value,
4332
+ j(w(wl), {
4333
+ "action-pending": N.value,
4318
4334
  description: w(a)("keySets.delete.description"),
4319
- "entity-name": $.value && ($.value.name || $.value.id),
4320
- "entity-type": w(Zt).KeySet,
4321
- error: P.value,
4335
+ "entity-name": F.value && (F.value.name || F.value.id),
4336
+ "entity-type": w(Gt).KeySet,
4337
+ error: q.value,
4322
4338
  title: w(a)("keySets.delete.title"),
4323
- visible: j.value,
4324
- onCancel: ne,
4325
- onProceed: Z
4339
+ visible: T.value,
4340
+ onCancel: ae,
4341
+ onProceed: Q
4326
4342
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
4327
4343
  ]);
4328
4344
  };
@@ -4333,7 +4349,7 @@ const Jn = (e, n) => {
4333
4349
  for (const [a, i] of n)
4334
4350
  t[a] = i;
4335
4351
  return t;
4336
- }, ds = /* @__PURE__ */ Jn(Wl, [["__scopeId", "data-v-82f21705"]]), Gl = { class: "kong-ui-entities-key-sets-form" }, Zl = /* @__PURE__ */ Q({
4352
+ }, ds = /* @__PURE__ */ Jn(Wl, [["__scopeId", "data-v-aeec2847"]]), Zl = { class: "kong-ui-entities-key-sets-form" }, Gl = /* @__PURE__ */ te({
4337
4353
  __name: "KeySetForm",
4338
4354
  props: {
4339
4355
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4352,9 +4368,9 @@ const Jn = (e, n) => {
4352
4368
  emits: ["update", "error", "loading"],
4353
4369
  setup(e, { emit: n }) {
4354
4370
  var p;
4355
- const t = e, a = st(), { i18n: { t: i } } = ut.useI18n(), { getMessageFromError: r } = zl(), { axiosInstance: o } = Hn({
4371
+ const t = e, a = st(), { i18n: { t: i } } = ut.useI18n(), { getMessageFromError: r } = Hl(), { axiosInstance: o } = zn({
4356
4372
  headers: (p = t.config) == null ? void 0 : p.requestHeaders
4357
- }), l = _(() => Re.form[t.config.app].edit), s = _(() => t.keySetId ? tt.Edit : tt.Create), c = Ct({
4373
+ }), l = x(() => Pe.form[t.config.app].edit), s = x(() => t.keySetId ? tt.Edit : tt.Create), c = Ct({
4358
4374
  fields: {
4359
4375
  name: "",
4360
4376
  tags: ""
@@ -4364,38 +4380,38 @@ const Jn = (e, n) => {
4364
4380
  }), d = Ct({
4365
4381
  name: "",
4366
4382
  tags: ""
4367
- }), u = _(() => JSON.stringify(c.fields) !== JSON.stringify(d) && !!c.fields.name), g = (h) => {
4383
+ }), u = x(() => JSON.stringify(c.fields) !== JSON.stringify(d) && !!c.fields.name), g = (h) => {
4368
4384
  var m;
4369
4385
  c.fields.name = (h == null ? void 0 : h.name) || "", c.fields.tags = ((m = h == null ? void 0 : h.tags) == null ? void 0 : m.join(", ")) || "", Object.assign(d, c.fields);
4370
4386
  }, f = () => {
4371
4387
  a.push(t.config.cancelRoute);
4372
- }, A = _(() => {
4373
- var m, k;
4374
- let h = `${t.config.apiBaseUrl}${Re.form[t.config.app][s.value]}`;
4375
- return t.config.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((m = t.config) == null ? void 0 : m.controlPlaneId) || "") : t.config.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, (k = t.config) != null && k.workspace ? `/${t.config.workspace}` : "")), h = h.replace(/{id}/gi, t.keySetId), h;
4376
- }), v = async () => {
4377
- var h, m, k, S, W;
4388
+ }, S = x(() => {
4389
+ var m, _;
4390
+ let h = `${t.config.apiBaseUrl}${Pe.form[t.config.app][s.value]}`;
4391
+ return t.config.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((m = t.config) == null ? void 0 : m.controlPlaneId) || "") : t.config.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, (_ = t.config) != null && _.workspace ? `/${t.config.workspace}` : "")), h = h.replace(/{id}/gi, t.keySetId), h;
4392
+ }), b = async () => {
4393
+ var h, m, _, v, R;
4378
4394
  try {
4379
4395
  c.isReadonly = !0;
4380
- const G = {
4396
+ const z = {
4381
4397
  name: c.fields.name,
4382
- tags: ((k = (m = (h = c.fields.tags) == null ? void 0 : h.split(",")) == null ? void 0 : m.map((C) => String(C || "").trim())) == null ? void 0 : k.filter((C) => C !== "")) || ""
4398
+ tags: ((_ = (m = (h = c.fields.tags) == null ? void 0 : h.split(",")) == null ? void 0 : m.map((C) => String(C || "").trim())) == null ? void 0 : _.filter((C) => C !== "")) || ""
4383
4399
  };
4384
- let q;
4385
- if (s.value === "create" ? q = await o.post(A.value, G) : s.value === "edit" && (q = ((S = t.config) == null ? void 0 : S.app) === "konnect" ? await o.put(A.value, G) : await o.patch(A.value, G)), q) {
4386
- const { data: C } = q;
4387
- c.fields.name = (C == null ? void 0 : C.name) || "", c.fields.tags = ((W = C == null ? void 0 : C.tags) == null ? void 0 : W.join(", ")) || "", Object.assign(d, c.fields), n("update", q == null ? void 0 : q.data);
4400
+ let P;
4401
+ if (s.value === "create" ? P = await o.post(S.value, z) : s.value === "edit" && (P = ((v = t.config) == null ? void 0 : v.app) === "konnect" ? await o.put(S.value, z) : await o.patch(S.value, z)), P) {
4402
+ const { data: C } = P;
4403
+ c.fields.name = (C == null ? void 0 : C.name) || "", c.fields.tags = ((R = C == null ? void 0 : C.tags) == null ? void 0 : R.join(", ")) || "", Object.assign(d, c.fields), n("update", P == null ? void 0 : P.data);
4388
4404
  }
4389
- } catch (G) {
4390
- c.errorMessage = r(G), n("error", G);
4405
+ } catch (z) {
4406
+ c.errorMessage = r(z), n("error", z);
4391
4407
  } finally {
4392
4408
  c.isReadonly = !1;
4393
4409
  }
4394
4410
  };
4395
4411
  return (h, m) => {
4396
- const k = K("KInput");
4397
- return y(), x("div", Gl, [
4398
- T(w(ul), {
4412
+ const _ = E("KInput");
4413
+ return y(), I("div", Zl, [
4414
+ j(w(ul), {
4399
4415
  "can-submit": u.value,
4400
4416
  config: e.config,
4401
4417
  "edit-id": e.keySetId,
@@ -4403,21 +4419,21 @@ const Jn = (e, n) => {
4403
4419
  "fetch-url": l.value,
4404
4420
  "is-readonly": c.isReadonly,
4405
4421
  onCancel: f,
4406
- "onFetch:error": m[2] || (m[2] = (S) => h.$emit("error", S)),
4422
+ "onFetch:error": m[2] || (m[2] = (v) => h.$emit("error", v)),
4407
4423
  "onFetch:success": g,
4408
- onLoading: m[3] || (m[3] = (S) => h.$emit("loading", S)),
4409
- onSubmit: v
4424
+ onLoading: m[3] || (m[3] = (v) => h.$emit("loading", v)),
4425
+ onSubmit: b
4410
4426
  }, {
4411
- default: b(() => [
4412
- T(w(Vl), {
4427
+ default: k(() => [
4428
+ j(w(Dl), {
4413
4429
  description: w(i)("keySets.form.sections.general.description"),
4414
4430
  "has-divider": "",
4415
4431
  title: w(i)("keySets.form.sections.general.title")
4416
4432
  }, {
4417
- default: b(() => [
4418
- T(k, {
4433
+ default: k(() => [
4434
+ j(_, {
4419
4435
  modelValue: c.fields.name,
4420
- "onUpdate:modelValue": m[0] || (m[0] = (S) => c.fields.name = S),
4436
+ "onUpdate:modelValue": m[0] || (m[0] = (v) => c.fields.name = v),
4421
4437
  modelModifiers: { trim: !0 },
4422
4438
  autocomplete: "off",
4423
4439
  "data-testid": "key-set-form-name",
@@ -4426,9 +4442,9 @@ const Jn = (e, n) => {
4426
4442
  readonly: c.isReadonly,
4427
4443
  type: "text"
4428
4444
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
4429
- T(k, {
4445
+ j(_, {
4430
4446
  modelValue: c.fields.tags,
4431
- "onUpdate:modelValue": m[1] || (m[1] = (S) => c.fields.tags = S),
4447
+ "onUpdate:modelValue": m[1] || (m[1] = (v) => c.fields.tags = v),
4432
4448
  modelModifiers: { trim: !0 },
4433
4449
  autocomplete: "off",
4434
4450
  "data-testid": "key-set-form-tags",
@@ -4449,7 +4465,7 @@ const Jn = (e, n) => {
4449
4465
  };
4450
4466
  }
4451
4467
  });
4452
- const ps = /* @__PURE__ */ Jn(Zl, [["__scopeId", "data-v-29df09d7"]]), Xl = { class: "kong-ui-entities-keys-entity-config-card" }, fs = /* @__PURE__ */ Q({
4468
+ const ps = /* @__PURE__ */ Jn(Gl, [["__scopeId", "data-v-29df09d7"]]), Ql = { class: "kong-ui-entities-keys-entity-config-card" }, fs = /* @__PURE__ */ te({
4453
4469
  __name: "KeySetConfigCard",
4454
4470
  props: {
4455
4471
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4476,7 +4492,7 @@ const ps = /* @__PURE__ */ Jn(Zl, [["__scopeId", "data-v-29df09d7"]]), Xl = { cl
4476
4492
  },
4477
4493
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4478
4494
  setup(e) {
4479
- const n = e, { i18n: { t } } = ut.useI18n(), a = _(() => Re.form[n.config.app].edit), i = O({
4495
+ const n = e, { i18n: { t } } = ut.useI18n(), a = x(() => Pe.form[n.config.app].edit), i = O({
4480
4496
  id: {},
4481
4497
  name: {},
4482
4498
  last_updated: {},
@@ -4485,8 +4501,8 @@ const ps = /* @__PURE__ */ Jn(Zl, [["__scopeId", "data-v-29df09d7"]]), Xl = { cl
4485
4501
  tooltip: t("keySets.form.fields.tags.tooltip")
4486
4502
  }
4487
4503
  });
4488
- return (r, o) => (y(), x("div", Xl, [
4489
- T(w(ol), {
4504
+ return (r, o) => (y(), I("div", Ql, [
4505
+ j(w(ol), {
4490
4506
  config: e.config,
4491
4507
  "config-card-doc": e.configCardDoc,
4492
4508
  "config-schema": i.value,