@kong-ui-public/entities-shared 3.18.0 → 3.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { inject as Nt, ref as L, computed as T, unref as A, toValue as Ve, watch as Ae, provide as Mt, toRef as Un, defineComponent as J, openBlock as p, createBlock as M, resolveDynamicComponent as Ne, normalizeClass as se, withCtx as k, createElementBlock as w, createElementVNode as N, toDisplayString as E, createCommentVNode as j, Fragment as le, renderList as oe, resolveComponent as U, createVNode as D, createTextVNode as q, useCssVars as Dt, useSlots as Xe, renderSlot as P, createSlots as Ce, normalizeProps as Pn, guardReactiveProps as qn, mergeProps as Hn, onBeforeMount as et, withModifiers as Fe, Teleport as jt, onMounted as Yn, onUnmounted as Vn, withDirectives as he, vShow as ge, withKeys as Wn } from "vue";
1
+ import { inject as Nt, ref as L, computed as T, unref as A, toValue as Ve, watch as Ae, provide as Mt, toRef as Un, defineComponent as J, openBlock as p, createBlock as M, resolveDynamicComponent as Ne, normalizeClass as ce, withCtx as k, createElementBlock as w, createElementVNode as N, toDisplayString as E, createCommentVNode as j, Fragment as le, renderList as oe, resolveComponent as U, createVNode as D, createTextVNode as q, useCssVars as Dt, useSlots as Xe, renderSlot as P, createSlots as Ce, normalizeProps as Pn, guardReactiveProps as qn, mergeProps as Hn, onBeforeMount as et, withModifiers as Fe, Teleport as jt, onMounted as Yn, onUnmounted as Vn, withDirectives as he, vShow as ge, withKeys as Wn } from "vue";
2
2
  import ut from "axios";
3
3
  import { createI18n as Jn, i18nTComponent as Gn } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as zn, KButton as dt, KTruncate as Qn, KBadge as Zn } from "@kong/kongponents";
@@ -6,7 +6,7 @@ import { BookIcon as Ut, AddIcon as Pt, CloseIcon as Xn, ChevronDownIcon as er,
6
6
  import { useRouter as nr } from "vue-router";
7
7
  var rr = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(rr || {}), ir = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ir || {}), de = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(de || {}), tt = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.RedisConfiguration = "redis_configuration", e.Other = "other", e))(tt || {});
8
8
  const Me = Object.values(tt);
9
- var Y = /* @__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.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), ae = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ae || {});
9
+ var H = /* @__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.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(H || {}), ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ie || {});
10
10
  const ft = [
11
11
  "primary",
12
12
  "secondary"
@@ -53,7 +53,7 @@ const Ue = "khcp-user-table-preferences", lr = {
53
53
  sortColumnOrder: void 0,
54
54
  columnVisibility: {}
55
55
  };
56
- function cr() {
56
+ function sr() {
57
57
  const e = (n) => {
58
58
  if (typeof n == "string")
59
59
  try {
@@ -90,7 +90,7 @@ function nt(e = {}) {
90
90
  axiosInstance: t(e)
91
91
  };
92
92
  }
93
- const sr = {
93
+ const cr = {
94
94
  actions: {
95
95
  copyId: "Copy ID",
96
96
  copied_id: 'Copied "{id}" to the clipboard',
@@ -140,7 +140,8 @@ const sr = {
140
140
  updated_at_label: "Last Updated",
141
141
  created_at_label: "Created",
142
142
  tags_label: "Tags",
143
- link: "Link"
143
+ link: "Link",
144
+ partial_label: "Redis Configuration"
144
145
  },
145
146
  statusBadge: {
146
147
  enabledLabel: "Enabled",
@@ -191,7 +192,7 @@ const sr = {
191
192
  confirmText: "Yes, disable"
192
193
  }
193
194
  }, xr = {
194
- global: sr,
195
+ global: cr,
195
196
  deleteModal: ur,
196
197
  baseForm: dr,
197
198
  baseTable: fr,
@@ -215,9 +216,9 @@ function qt() {
215
216
  const e = (o, a) => (a == null ? void 0 : a[o]) ?? void 0, t = (o, a) => {
216
217
  if (o.length !== a.length) return !1;
217
218
  const l = /* @__PURE__ */ new Set([...o, ...a]);
218
- for (const c of l) {
219
- const s = o.filter((u) => u === c).length, d = a.filter((u) => u === c).length;
220
- if (s !== d) return !1;
219
+ for (const s of l) {
220
+ const c = o.filter((u) => u === s).length, d = a.filter((u) => u === s).length;
221
+ if (c !== d) return !1;
221
222
  }
222
223
  return !0;
223
224
  };
@@ -226,13 +227,13 @@ function qt() {
226
227
  objectsAreEqual: (o, a, l) => {
227
228
  if (l) {
228
229
  if (Object.keys(o).length === Object.keys(a).length)
229
- for (const c in o)
230
- if (Array.isArray(o[c]) && Array.isArray(a[c])) {
231
- if (t(o[c], a[c]))
230
+ for (const s in o)
231
+ if (Array.isArray(o[s]) && Array.isArray(a[s])) {
232
+ if (t(o[s], a[s]))
232
233
  continue;
233
234
  return !1;
234
235
  } else {
235
- if (o[c] === a[c])
236
+ if (o[s] === a[s])
236
237
  continue;
237
238
  return !1;
238
239
  }
@@ -247,8 +248,8 @@ function qt() {
247
248
  }
248
249
  },
249
250
  sortAlpha: (o) => (a, l) => {
250
- let c = a[o] === void 0 || a[o] === null ? "" : a[o], s = l[o] === void 0 || l[o] === null ? "" : l[o];
251
- return Array.isArray(a[o]) && (c = a[o][0]), Array.isArray(l[o]) && (s = l[o][0]), c.localeCompare(s);
251
+ let s = a[o] === void 0 || a[o] === null ? "" : a[o], c = l[o] === void 0 || l[o] === null ? "" : l[o];
252
+ return Array.isArray(a[o]) && (s = a[o][0]), Array.isArray(l[o]) && (c = l[o][0]), s.localeCompare(c);
252
253
  },
253
254
  isValidUuid: (o) => o ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o) : !1
254
255
  };
@@ -260,18 +261,18 @@ function Cr(e, t, n, r = {
260
261
  n || (n = "1000");
261
262
  const { axiosInstance: i } = nt(e.axiosRequestConfig), { i18n: { t: o } } = De(), { debounce: a } = or(), l = a(async (R) => {
262
263
  await b(R);
263
- }, 200), c = L(!1), s = L(""), d = L(""), u = L([]), m = L([]), f = L(void 0), v = T(() => {
264
+ }, 200), s = L(!1), c = L(""), d = L(""), u = L([]), m = L([]), f = L(void 0), v = T(() => {
264
265
  const R = `${e.apiBaseUrl}${A(t)}`;
265
266
  return e.app === "konnect" ? R.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? R.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : R;
266
267
  }), { isValidUuid: y } = qt(), C = async () => {
267
268
  try {
268
- c.value = !0;
269
+ s.value = !0;
269
270
  const { data: R } = await i.get(`${v.value}?size=${n}`);
270
271
  R != null && R.next || (f.value = r.fetchedItemsKey in R ? R[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in R ? R[r.fetchedItemsKey] : [], u.value = m.value;
271
272
  } catch {
272
- u.value = [], s.value = o("debouncedFilter.errors.fetch");
273
+ u.value = [], c.value = o("debouncedFilter.errors.fetch");
273
274
  } finally {
274
- c.value = !1;
275
+ s.value = !1;
275
276
  }
276
277
  }, I = L(""), b = async (R) => {
277
278
  var F, S, g;
@@ -282,7 +283,7 @@ function Cr(e, t, n, r = {
282
283
  }
283
284
  if (f.value === void 0)
284
285
  try {
285
- if (c.value = !0, s.value = "", d.value = "", e.app === "konnect") {
286
+ if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
286
287
  const $ = `${v.value}/${R}`, { data: h } = await i.get(`${$}?size=${n}`);
287
288
  r.fetchedItemsKey in h ? u.value = h[r.fetchedItemsKey] : h != null && h[r.exactMatchKey ?? "id"] ? u.value = [h] : u.value = [];
288
289
  } else {
@@ -305,12 +306,12 @@ function Cr(e, t, n, r = {
305
306
  });
306
307
  }
307
308
  } catch ($) {
308
- ((S = $ == null ? void 0 : $.response) == null ? void 0 : S.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], s.value = o("debouncedFilter.errors.fetch"));
309
+ ((S = $ == null ? void 0 : $.response) == null ? void 0 : S.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], c.value = o("debouncedFilter.errors.fetch"));
309
310
  } finally {
310
- c.value = !1;
311
+ s.value = !1;
311
312
  }
312
313
  else
313
- c.value = !0, d.value = "", u.value = (g = f.value) == null ? void 0 : g.filter(($) => {
314
+ s.value = !0, d.value = "", u.value = (g = f.value) == null ? void 0 : g.filter(($) => {
314
315
  var x;
315
316
  let h = !1;
316
317
  for (const B of r.searchKeys) {
@@ -318,12 +319,12 @@ function Cr(e, t, n, r = {
318
319
  K != null && K.includes(R.toLowerCase()) && (h = !0);
319
320
  }
320
321
  return h;
321
- }), (!u.value || !u.value.length) && (d.value = o("debouncedFilter.errors.invalid")), c.value = !1;
322
+ }), (!u.value || !u.value.length) && (d.value = o("debouncedFilter.errors.invalid")), s.value = !1;
322
323
  }
323
324
  };
324
325
  return {
325
- loading: c,
326
- error: s,
326
+ loading: s,
327
+ error: c,
327
328
  validationError: d,
328
329
  results: u,
329
330
  allRecords: f,
@@ -351,8 +352,8 @@ function Ar() {
351
352
  return n.response.data.detail;
352
353
  if ((o = n.response.data.details) != null && o.length)
353
354
  return n.response.data.details.map((l) => {
354
- let c = e("errors.unexpected");
355
- return l.messages && typeof l.messages == "object" && l.messages.length && (c = l.messages.join(", ")), l.field ? `${l.field} - ${c}` : c;
355
+ let s = e("errors.unexpected");
356
+ return l.messages && typeof l.messages == "object" && l.messages.length && (s = l.messages.join(", ")), l.field ? `${l.field} - ${s}` : s;
356
357
  }).join("; ");
357
358
  if (n.response.data.message) {
358
359
  const { message: l } = n.response.data;
@@ -385,12 +386,12 @@ function Ht(e, t) {
385
386
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
386
387
  );
387
388
  return (a) => {
388
- const { page: l, pageSize: c, offset: s, sortColumnKey: d, sortColumnOrder: u, query: m } = a;
389
+ const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: m } = a;
389
390
  try {
390
391
  let f = new URL(o.value.href);
391
392
  return i.value && m ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${m}`) : new URL(`${f.href}?filter[name][contains]=${m}`)) : (i.value || new URLSearchParams(m).forEach((v, y) => {
392
393
  f.searchParams.append(y, v);
393
- }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(c))), s && l !== 1 && f.searchParams.append("offset", String(s)), f.href;
394
+ }), 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;
394
395
  } catch (f) {
395
396
  return console.error("RouteList(fetcher)", f), r.value;
396
397
  }
@@ -400,7 +401,7 @@ const pt = /* @__PURE__ */ new Map();
400
401
  function wr(e, t, n) {
401
402
  const r = L(!0), i = A(t), { axiosInstance: o } = nt(e.axiosRequestConfig), a = Ht(e, i), l = L({
402
403
  status: de.Idle
403
- }), c = async (u) => {
404
+ }), s = async (u) => {
404
405
  var f;
405
406
  const m = Ve(n) || "data";
406
407
  try {
@@ -444,8 +445,8 @@ function wr(e, t, n) {
444
445
  error: v.response ? v : { response: v }
445
446
  }, y);
446
447
  }
447
- }, s = e.cacheIdentifier, d = Yt(s);
448
- return { fetcher: c, fetcherState: l, fetcherCacheKey: d };
448
+ }, c = e.cacheIdentifier, d = Yt(c);
449
+ return { fetcher: s, fetcherState: l, fetcherCacheKey: d };
449
450
  }
450
451
  function Yt(e) {
451
452
  if (e) {
@@ -552,7 +553,7 @@ function Nr(e) {
552
553
  }
553
554
  };
554
555
  }
555
- const H = {
556
+ const Y = {
556
557
  useAxios: nt,
557
558
  useDebouncedFilter: Cr,
558
559
  useDeleteUrlBuilder: kr,
@@ -590,15 +591,15 @@ const H = {
590
591
  }
591
592
  },
592
593
  setup(e) {
593
- const t = e, { i18n: { t: n } } = H.useI18n(), { convertKeyToTitle: r } = H.useStringHelpers(), i = T(() => t.item.key ?? "json-array-item"), o = T(() => t.item.value ?? t.item), a = T(() => {
594
- const c = JSON.parse(JSON.stringify(o.value));
595
- return t.isArrayItem && delete c.name, c;
594
+ const t = e, { i18n: { t: n } } = Y.useI18n(), { convertKeyToTitle: r } = Y.useStringHelpers(), i = T(() => t.item.key ?? "json-array-item"), o = T(() => t.item.value ?? t.item), a = T(() => {
595
+ const s = JSON.parse(JSON.stringify(o.value));
596
+ return t.isArrayItem && delete s.name, s;
596
597
  }), l = T(() => {
597
- var c;
598
- return t.isArrayItem ? (c = o.value) != null && c.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
598
+ var s;
599
+ return t.isArrayItem ? (s = o.value) != null && s.name ? r(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
599
600
  });
600
- return (c, s) => (p(), M(Ne(e.isArrayItem ? "fieldset" : "div"), {
601
- class: se(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
601
+ return (s, c) => (p(), M(Ne(e.isArrayItem ? "fieldset" : "div"), {
602
+ class: ce(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
602
603
  }, {
603
604
  default: k(() => [
604
605
  e.isArrayItem ? (p(), w("legend", Mr, [
@@ -616,12 +617,12 @@ const H = {
616
617
  _: 1
617
618
  }, 8, ["class"]));
618
619
  }
619
- }), ie = (e, t) => {
620
+ }), ae = (e, t) => {
620
621
  const n = e.__vccOpts || e;
621
622
  for (const [r, i] of t)
622
623
  n[r] = i;
623
624
  return n;
624
- }, Jt = /* @__PURE__ */ ie(Dr, [["__scopeId", "data-v-f7096c33"]]), jr = /* @__PURE__ */ J({
625
+ }, Jt = /* @__PURE__ */ ae(Dr, [["__scopeId", "data-v-f7096c33"]]), jr = /* @__PURE__ */ J({
625
626
  __name: "InternalLinkItem",
626
627
  props: {
627
628
  item: {
@@ -631,7 +632,7 @@ const H = {
631
632
  },
632
633
  emits: ["navigation-click"],
633
634
  setup(e) {
634
- const { i18n: { t } } = H.useI18n();
635
+ const { i18n: { t } } = Y.useI18n();
635
636
  return (n, r) => {
636
637
  const i = U("KButton");
637
638
  return p(), w("div", null, [
@@ -648,7 +649,7 @@ const H = {
648
649
  ]);
649
650
  };
650
651
  }
651
- }), Ur = /* @__PURE__ */ ie(jr, [["__scopeId", "data-v-c96811e5"]]), Pr = /* @__PURE__ */ J({
652
+ }), Ur = /* @__PURE__ */ ae(jr, [["__scopeId", "data-v-c96811e5"]]), Pr = /* @__PURE__ */ J({
652
653
  __name: "StatusBadge",
653
654
  props: {
654
655
  status: {
@@ -657,7 +658,7 @@ const H = {
657
658
  }
658
659
  },
659
660
  setup(e) {
660
- const { i18n: { t } } = H.useI18n();
661
+ const { i18n: { t } } = Y.useI18n();
661
662
  return (n, r) => {
662
663
  const i = U("KBadge");
663
664
  return p(), M(i, {
@@ -695,16 +696,16 @@ const H = {
695
696
  setup(e, { emit: t }) {
696
697
  Dt((b) => ({
697
698
  "3ccdd5d2": d.value ? "none" : `solid ${A(Wr)} ${A(Hr)}`,
698
- "4b1da305": s.value && l.value ? "block" : "flex",
699
- cd20788a: s.value && l.value ? "100%" : n.slim ? "50%" : "25%",
700
- cd1becd4: s.value && l.value ? "100%" : n.slim ? "50%" : "75%"
699
+ "4b1da305": c.value && l.value ? "block" : "flex",
700
+ cd20788a: c.value && l.value ? "100%" : n.slim ? "50%" : "25%",
701
+ cd1becd4: c.value && l.value ? "100%" : n.slim ? "50%" : "75%"
701
702
  }));
702
- const n = e, r = t, i = Xe(), { i18n: { t: o, formatUnixTimeStamp: a } } = H.useI18n(), l = T(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = T(() => !!(n.item.tooltip || i["label-tooltip"])), s = T(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = T(() => n.item.type === Y.JsonArray), u = H.useSubSchema(n.item.key), m = T(() => {
703
+ const n = e, r = t, i = Xe(), { i18n: { t: o, formatUnixTimeStamp: a } } = Y.useI18n(), l = T(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = T(() => !!(n.item.tooltip || i["label-tooltip"])), c = T(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = T(() => n.item.type === H.JsonArray), u = Y.useSubSchema(n.item.key), m = T(() => {
703
704
  var b;
704
- return n.item.type ? n.item.type : (b = u == null ? void 0 : u.value) != null && b.encrypted ? Y.Redacted : void 0;
705
+ return n.item.type ? n.item.type : (b = u == null ? void 0 : u.value) != null && b.encrypted ? H.Redacted : void 0;
705
706
  }), f = T(() => {
706
707
  switch (m.value) {
707
- case Y.ID:
708
+ case H.ID:
708
709
  return {
709
710
  tag: "KCopy",
710
711
  attrs: {
@@ -713,7 +714,7 @@ const H = {
713
714
  text: n.item.value
714
715
  }
715
716
  };
716
- case Y.IdArray:
717
+ case H.IdArray:
717
718
  return {
718
719
  tag: "div",
719
720
  additionalComponent: "KCopy",
@@ -721,7 +722,7 @@ const H = {
721
722
  "copy-tooltip": o("baseConfigCard.copy.tooltip", { label: n.item.label })
722
723
  }
723
724
  };
724
- case Y.Redacted:
725
+ case H.Redacted:
725
726
  return {
726
727
  tag: "KCopy",
727
728
  attrs: {
@@ -731,7 +732,7 @@ const H = {
731
732
  text: n.item.value
732
733
  }
733
734
  };
734
- case Y.RedactedArray:
735
+ case H.RedactedArray:
735
736
  return {
736
737
  tag: "div",
737
738
  additionalComponent: "KCopy",
@@ -740,7 +741,7 @@ const H = {
740
741
  "copy-tooltip": o("baseConfigCard.copy.tooltip", { label: n.item.label })
741
742
  }
742
743
  };
743
- case Y.Date:
744
+ case H.Date:
744
745
  return {
745
746
  tag: "div",
746
747
  attrs: {
@@ -748,7 +749,7 @@ const H = {
748
749
  },
749
750
  text: a(n.item.value)
750
751
  };
751
- case Y.BadgeStatus:
752
+ case H.BadgeStatus:
752
753
  return {
753
754
  tag: "StatusBadge",
754
755
  attrs: {
@@ -756,12 +757,12 @@ const H = {
756
757
  status: n.item.value
757
758
  }
758
759
  };
759
- case Y.BadgeTag:
760
+ case H.BadgeTag:
760
761
  return {
761
762
  tag: "div",
762
763
  additionalComponent: "KBadge"
763
764
  };
764
- case Y.CopyBadge:
765
+ case H.CopyBadge:
765
766
  return {
766
767
  tag: "div",
767
768
  additionalComponent: "KCopy",
@@ -772,12 +773,12 @@ const H = {
772
773
  text: n.item.value
773
774
  }
774
775
  };
775
- case Y.BadgeMethod:
776
+ case H.BadgeMethod:
776
777
  return {
777
778
  tag: "div",
778
779
  additionalComponent: "KMethodBadge"
779
780
  };
780
- case Y.LinkInternal:
781
+ case H.LinkInternal:
781
782
  return {
782
783
  tag: "InternalLinkItem",
783
784
  attrs: {
@@ -788,7 +789,7 @@ const H = {
788
789
  }
789
790
  }
790
791
  };
791
- case Y.LinkExternal:
792
+ case H.LinkExternal:
792
793
  return {
793
794
  tag: "KExternalLink",
794
795
  attrs: {
@@ -797,7 +798,7 @@ const H = {
797
798
  },
798
799
  text: n.item.value
799
800
  };
800
- case Y.Json:
801
+ case H.Json:
801
802
  return {
802
803
  tag: "JsonCardItem",
803
804
  attrs: {
@@ -805,7 +806,7 @@ const H = {
805
806
  item: n.item
806
807
  }
807
808
  };
808
- case Y.JsonArray:
809
+ case H.JsonArray:
809
810
  return {
810
811
  tag: "div",
811
812
  additionalComponent: "JsonCardItem",
@@ -823,7 +824,7 @@ const H = {
823
824
  text: n.item.value
824
825
  };
825
826
  }
826
- }), v = L(), y = L(), { isTruncated: C } = H.useTruncationDetector(v), { isTruncated: I } = H.useTruncationDetector(y);
827
+ }), v = L(), y = L(), { isTruncated: C } = Y.useTruncationDetector(v), { isTruncated: I } = Y.useTruncationDetector(y);
827
828
  return (b, R) => {
828
829
  const F = U("KTooltip"), S = U("KLabel"), g = U("KBadge"), $ = U("KCopy");
829
830
  return p(), w("div", zr, [
@@ -849,7 +850,7 @@ const H = {
849
850
  ]),
850
851
  _: 2
851
852
  }, [
852
- c.value ? {
853
+ s.value ? {
853
854
  name: "tooltip",
854
855
  fn: k(() => [
855
856
  N("div", {
@@ -937,7 +938,7 @@ const H = {
937
938
  N("span", {
938
939
  ref_key: "textContent",
939
940
  ref: y,
940
- class: se(["attrs-data-text", { truncated: e.truncated }])
941
+ class: ce(["attrs-data-text", { truncated: e.truncated }])
941
942
  }, E(f.value.text), 3)
942
943
  ]),
943
944
  _: 1
@@ -954,7 +955,7 @@ const H = {
954
955
  ]);
955
956
  };
956
957
  }
957
- }), Gt = /* @__PURE__ */ ie(li, [["__scopeId", "data-v-761f7e64"]]), ci = { class: "json-config config-card-code-block" }, si = {
958
+ }), Gt = /* @__PURE__ */ ae(li, [["__scopeId", "data-v-761f7e64"]]), si = { class: "json-config config-card-code-block" }, ci = {
958
959
  key: 0,
959
960
  class: "json-endpoint"
960
961
  }, zt = /* @__PURE__ */ J({
@@ -997,8 +998,8 @@ const H = {
997
998
  });
998
999
  return (i, o) => {
999
1000
  const a = U("KBadge"), l = U("KCodeBlock");
1000
- return p(), w("div", ci, [
1001
- t.fetcherUrl ? (p(), w("div", si, [
1001
+ return p(), w("div", si, [
1002
+ t.fetcherUrl ? (p(), w("div", ci, [
1002
1003
  D(a, {
1003
1004
  appearance: t.requestMethod
1004
1005
  }, {
@@ -1018,7 +1019,7 @@ const H = {
1018
1019
  t.entityRecord ? (p(), M(l, {
1019
1020
  key: 1,
1020
1021
  id: "json-codeblock",
1021
- class: se({ "json-content": t.fetcherUrl }),
1022
+ class: ce({ "json-content": t.fetcherUrl }),
1022
1023
  code: JSON.stringify(n.value, null, 2),
1023
1024
  language: "json",
1024
1025
  theme: "dark"
@@ -1093,26 +1094,26 @@ function Ci(e, t) {
1093
1094
  for (var n = /\r?\n|\r|\0/g, r = [0], i = [], o, a = -1; o = n.exec(e.buffer); )
1094
1095
  i.push(o.index), r.push(o.index + o[0].length), e.position <= o.index && a < 0 && (a = r.length - 2);
1095
1096
  a < 0 && (a = r.length - 1);
1096
- var l = "", c, s, d = Math.min(e.line + t.linesAfter, i.length).toString().length, u = t.maxLength - (t.indent + d + 3);
1097
- for (c = 1; c <= t.linesBefore && !(a - c < 0); c++)
1098
- s = Pe(
1097
+ var l = "", s, c, d = Math.min(e.line + t.linesAfter, i.length).toString().length, u = t.maxLength - (t.indent + d + 3);
1098
+ for (s = 1; s <= t.linesBefore && !(a - s < 0); s++)
1099
+ c = Pe(
1099
1100
  e.buffer,
1100
- r[a - c],
1101
- i[a - c],
1102
- e.position - (r[a] - r[a - c]),
1101
+ r[a - s],
1102
+ i[a - s],
1103
+ e.position - (r[a] - r[a - s]),
1103
1104
  u
1104
- ), l = Q.repeat(" ", t.indent) + qe((e.line - c + 1).toString(), d) + " | " + s.str + `
1105
+ ), l = Q.repeat(" ", t.indent) + qe((e.line - s + 1).toString(), d) + " | " + c.str + `
1105
1106
  ` + l;
1106
- for (s = Pe(e.buffer, r[a], i[a], e.position, u), l += Q.repeat(" ", t.indent) + qe((e.line + 1).toString(), d) + " | " + s.str + `
1107
- `, l += Q.repeat("-", t.indent + d + 3 + s.pos) + `^
1108
- `, c = 1; c <= t.linesAfter && !(a + c >= i.length); c++)
1109
- s = Pe(
1107
+ for (c = Pe(e.buffer, r[a], i[a], e.position, u), l += Q.repeat(" ", t.indent) + qe((e.line + 1).toString(), d) + " | " + c.str + `
1108
+ `, l += Q.repeat("-", t.indent + d + 3 + c.pos) + `^
1109
+ `, s = 1; s <= t.linesAfter && !(a + s >= i.length); s++)
1110
+ c = Pe(
1110
1111
  e.buffer,
1111
- r[a + c],
1112
- i[a + c],
1113
- e.position - (r[a] - r[a + c]),
1112
+ r[a + s],
1113
+ i[a + s],
1114
+ e.position - (r[a] - r[a + s]),
1114
1115
  u
1115
- ), l += Q.repeat(" ", t.indent) + qe((e.line + c + 1).toString(), d) + " | " + s.str + `
1116
+ ), l += Q.repeat(" ", t.indent) + qe((e.line + s + 1).toString(), d) + " | " + c.str + `
1116
1117
  `;
1117
1118
  return l.replace(/\n$/, "");
1118
1119
  }
@@ -1433,21 +1434,21 @@ function Hi(e, t) {
1433
1434
  function Yi(e) {
1434
1435
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || Q.isNegativeZero(e));
1435
1436
  }
1436
- var cn = new X("tag:yaml.org,2002:float", {
1437
+ var sn = new X("tag:yaml.org,2002:float", {
1437
1438
  kind: "scalar",
1438
1439
  resolve: Ui,
1439
1440
  construct: Pi,
1440
1441
  predicate: Yi,
1441
1442
  represent: Hi,
1442
1443
  defaultStyle: "lowercase"
1443
- }), sn = rn.extend({
1444
+ }), cn = rn.extend({
1444
1445
  implicit: [
1445
1446
  an,
1446
1447
  on,
1447
1448
  ln,
1448
- cn
1449
+ sn
1449
1450
  ]
1450
- }), un = sn, dn = new RegExp(
1451
+ }), un = cn, dn = new RegExp(
1451
1452
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1452
1453
  ), fn = new RegExp(
1453
1454
  "^([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]))?))?$"
@@ -1456,16 +1457,16 @@ function Vi(e) {
1456
1457
  return e === null ? !1 : dn.exec(e) !== null || fn.exec(e) !== null;
1457
1458
  }
1458
1459
  function Wi(e) {
1459
- var t, n, r, i, o, a, l, c = 0, s = null, d, u, m;
1460
+ var t, n, r, i, o, a, l, s = 0, c = null, d, u, m;
1460
1461
  if (t = dn.exec(e), t === null && (t = fn.exec(e)), t === null) throw new Error("Date resolve error");
1461
1462
  if (n = +t[1], r = +t[2] - 1, i = +t[3], !t[4])
1462
1463
  return new Date(Date.UTC(n, r, i));
1463
1464
  if (o = +t[4], a = +t[5], l = +t[6], t[7]) {
1464
- for (c = t[7].slice(0, 3); c.length < 3; )
1465
- c += "0";
1466
- c = +c;
1465
+ for (s = t[7].slice(0, 3); s.length < 3; )
1466
+ s += "0";
1467
+ s = +s;
1467
1468
  }
1468
- return t[9] && (d = +t[10], u = +(t[11] || 0), s = (d * 60 + u) * 6e4, t[9] === "-" && (s = -s)), m = new Date(Date.UTC(n, r, i, o, a, l, c)), s && m.setTime(m.getTime() - s), m;
1469
+ return t[9] && (d = +t[10], u = +(t[11] || 0), c = (d * 60 + u) * 6e4, t[9] === "-" && (c = -c)), m = new Date(Date.UTC(n, r, i, o, a, l, s)), c && m.setTime(m.getTime() - c), m;
1469
1470
  }
1470
1471
  function Ji(e) {
1471
1472
  return e.toISOString();
@@ -1561,7 +1562,7 @@ var yn = new X("tag:yaml.org,2002:pairs", {
1561
1562
  resolve: aa,
1562
1563
  construct: oa
1563
1564
  }), la = Object.prototype.hasOwnProperty;
1564
- function ca(e) {
1565
+ function sa(e) {
1565
1566
  if (e === null) return !0;
1566
1567
  var t, n = e;
1567
1568
  for (t in n)
@@ -1569,13 +1570,13 @@ function ca(e) {
1569
1570
  return !1;
1570
1571
  return !0;
1571
1572
  }
1572
- function sa(e) {
1573
+ function ca(e) {
1573
1574
  return e !== null ? e : {};
1574
1575
  }
1575
1576
  var vn = new X("tag:yaml.org,2002:set", {
1576
1577
  kind: "mapping",
1577
- resolve: ca,
1578
- construct: sa
1578
+ resolve: sa,
1579
+ construct: ca
1579
1580
  }), it = un.extend({
1580
1581
  implicit: [
1581
1582
  pn,
@@ -1591,7 +1592,7 @@ var vn = new X("tag:yaml.org,2002:set", {
1591
1592
  function kt(e) {
1592
1593
  return Object.prototype.toString.call(e);
1593
1594
  }
1594
- function ce(e) {
1595
+ function se(e) {
1595
1596
  return e === 10 || e === 13;
1596
1597
  }
1597
1598
  function me(e) {
@@ -1677,19 +1678,19 @@ function wt(e, t, n, r) {
1677
1678
  for (Q.isObject(n) || _(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), a = 0, l = i.length; a < l; a += 1)
1678
1679
  o = i[a], pe.call(t, o) || (t[o] = n[o], r[o] = !0);
1679
1680
  }
1680
- function xe(e, t, n, r, i, o, a, l, c) {
1681
- var s, d;
1681
+ function xe(e, t, n, r, i, o, a, l, s) {
1682
+ var c, d;
1682
1683
  if (Array.isArray(i))
1683
- for (i = Array.prototype.slice.call(i), s = 0, d = i.length; s < d; s += 1)
1684
- Array.isArray(i[s]) && _(e, "nested arrays are not supported inside keys"), typeof i == "object" && kt(i[s]) === "[object Object]" && (i[s] = "[object Object]");
1684
+ for (i = Array.prototype.slice.call(i), c = 0, d = i.length; c < d; c += 1)
1685
+ Array.isArray(i[c]) && _(e, "nested arrays are not supported inside keys"), typeof i == "object" && kt(i[c]) === "[object Object]" && (i[c] = "[object Object]");
1685
1686
  if (typeof i == "object" && kt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1686
1687
  if (Array.isArray(o))
1687
- for (s = 0, d = o.length; s < d; s += 1)
1688
- wt(e, t, o[s], n);
1688
+ for (c = 0, d = o.length; c < d; c += 1)
1689
+ wt(e, t, o[c], n);
1689
1690
  else
1690
1691
  wt(e, t, o, n);
1691
1692
  else
1692
- !e.json && !pe.call(n, i) && pe.call(t, i) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = c || e.position, _(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1693
+ !e.json && !pe.call(n, i) && pe.call(t, i) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, _(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1693
1694
  configurable: !0,
1694
1695
  enumerable: !0,
1695
1696
  writable: !0,
@@ -1709,7 +1710,7 @@ function z(e, t, n) {
1709
1710
  do
1710
1711
  i = e.input.charCodeAt(++e.position);
1711
1712
  while (i !== 10 && i !== 13 && i !== 0);
1712
- if (ce(i))
1713
+ if (se(i))
1713
1714
  for (at(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
1714
1715
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1715
1716
  else
@@ -1726,7 +1727,7 @@ function ot(e, t) {
1726
1727
  `, t - 1));
1727
1728
  }
1728
1729
  function ba(e, t, n) {
1729
- var r, i, o, a, l, c, s, d, u = e.kind, m = e.result, f;
1730
+ var r, i, o, a, l, s, c, d, u = e.kind, m = e.result, f;
1730
1731
  if (f = e.input.charCodeAt(e.position), re(f) || be(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), re(i) || n && be(i)))
1731
1732
  return !1;
1732
1733
  for (e.kind = "scalar", e.result = "", o = a = e.position, l = !1; f !== 0; ) {
@@ -1739,16 +1740,16 @@ function ba(e, t, n) {
1739
1740
  } else {
1740
1741
  if (e.position === e.lineStart && je(e) || n && be(f))
1741
1742
  break;
1742
- if (ce(f))
1743
- if (c = e.line, s = e.lineStart, d = e.lineIndent, z(e, !1, -1), e.lineIndent >= t) {
1743
+ if (se(f))
1744
+ if (s = e.line, c = e.lineStart, d = e.lineIndent, z(e, !1, -1), e.lineIndent >= t) {
1744
1745
  l = !0, f = e.input.charCodeAt(e.position);
1745
1746
  continue;
1746
1747
  } else {
1747
- e.position = a, e.line = c, e.lineStart = s, e.lineIndent = d;
1748
+ e.position = a, e.line = s, e.lineStart = c, e.lineIndent = d;
1748
1749
  break;
1749
1750
  }
1750
1751
  }
1751
- l && (fe(e, o, a, !1), ot(e, e.line - c), o = a = e.position, l = !1), me(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1752
+ l && (fe(e, o, a, !1), ot(e, e.line - s), o = a = e.position, l = !1), me(f) || (a = e.position + 1), f = e.input.charCodeAt(++e.position);
1752
1753
  }
1753
1754
  return fe(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = m, !1);
1754
1755
  }
@@ -1762,7 +1763,7 @@ function xa(e, t) {
1762
1763
  r = e.position, e.position++, i = e.position;
1763
1764
  else
1764
1765
  return !0;
1765
- else ce(n) ? (fe(e, r, i, !0), ot(e, z(e, !1, t)), r = i = e.position) : e.position === e.lineStart && je(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1766
+ else se(n) ? (fe(e, r, i, !0), ot(e, z(e, !1, t)), r = i = e.position) : e.position === e.lineStart && je(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1766
1767
  _(e, "unexpected end of the stream within a single quoted scalar");
1767
1768
  }
1768
1769
  function Ca(e, t) {
@@ -1773,7 +1774,7 @@ function Ca(e, t) {
1773
1774
  if (l === 34)
1774
1775
  return fe(e, n, e.position, !0), e.position++, !0;
1775
1776
  if (l === 92) {
1776
- if (fe(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), ce(l))
1777
+ if (fe(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), se(l))
1777
1778
  z(e, !1, t);
1778
1779
  else if (l < 256 && An[l])
1779
1780
  e.result += _n[l], e.position++;
@@ -1784,12 +1785,12 @@ function Ca(e, t) {
1784
1785
  } else
1785
1786
  _(e, "unknown escape sequence");
1786
1787
  n = r = e.position;
1787
- } else ce(l) ? (fe(e, n, r, !0), ot(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && je(e) ? _(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1788
+ } else se(l) ? (fe(e, n, r, !0), ot(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && je(e) ? _(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1788
1789
  }
1789
1790
  _(e, "unexpected end of the stream within a double quoted scalar");
1790
1791
  }
1791
1792
  function ka(e, t) {
1792
- var n = !0, r, i, o, a = e.tag, l, c = e.anchor, s, d, u, m, f, v = /* @__PURE__ */ Object.create(null), y, C, I, b;
1793
+ var n = !0, r, i, o, a = e.tag, l, s = e.anchor, c, d, u, m, f, v = /* @__PURE__ */ Object.create(null), y, C, I, b;
1793
1794
  if (b = e.input.charCodeAt(e.position), b === 91)
1794
1795
  d = 93, f = !1, l = [];
1795
1796
  else if (b === 123)
@@ -1798,13 +1799,13 @@ function ka(e, t) {
1798
1799
  return !1;
1799
1800
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), b = e.input.charCodeAt(++e.position); b !== 0; ) {
1800
1801
  if (z(e, !0, t), b = e.input.charCodeAt(e.position), b === d)
1801
- return e.position++, e.tag = a, e.anchor = c, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1802
- n ? b === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), C = y = I = null, u = m = !1, b === 63 && (s = e.input.charCodeAt(e.position + 1), re(s) && (u = m = !0, e.position++, z(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, ke(e, t, Oe, !1, !0), C = e.tag, y = e.result, z(e, !0, t), b = e.input.charCodeAt(e.position), (m || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), z(e, !0, t), ke(e, t, Oe, !1, !0), I = e.result), f ? xe(e, l, v, C, y, I, r, i, o) : u ? l.push(xe(e, null, v, C, y, I, r, i, o)) : l.push(y), z(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
1802
+ return e.position++, e.tag = a, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1803
+ n ? b === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), C = y = I = null, u = m = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), re(c) && (u = m = !0, e.position++, z(e, !0, t))), r = e.line, i = e.lineStart, o = e.position, ke(e, t, Oe, !1, !0), C = e.tag, y = e.result, z(e, !0, t), b = e.input.charCodeAt(e.position), (m || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), z(e, !0, t), ke(e, t, Oe, !1, !0), I = e.result), f ? xe(e, l, v, C, y, I, r, i, o) : u ? l.push(xe(e, null, v, C, y, I, r, i, o)) : l.push(y), z(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
1803
1804
  }
1804
1805
  _(e, "unexpected end of the stream within a flow collection");
1805
1806
  }
1806
1807
  function Aa(e, t) {
1807
- var n, r, i = He, o = !1, a = !1, l = t, c = 0, s = !1, d, u;
1808
+ var n, r, i = He, o = !1, a = !1, l = t, s = 0, c = !1, d, u;
1808
1809
  if (u = e.input.charCodeAt(e.position), u === 124)
1809
1810
  r = !1;
1810
1811
  else if (u === 62)
@@ -1825,40 +1826,40 @@ function Aa(e, t) {
1825
1826
  if (u === 35)
1826
1827
  do
1827
1828
  u = e.input.charCodeAt(++e.position);
1828
- while (!ce(u) && u !== 0);
1829
+ while (!se(u) && u !== 0);
1829
1830
  }
1830
1831
  for (; u !== 0; ) {
1831
1832
  for (at(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && u === 32; )
1832
1833
  e.lineIndent++, u = e.input.charCodeAt(++e.position);
1833
- if (!a && e.lineIndent > l && (l = e.lineIndent), ce(u)) {
1834
- c++;
1834
+ if (!a && e.lineIndent > l && (l = e.lineIndent), se(u)) {
1835
+ s++;
1835
1836
  continue;
1836
1837
  }
1837
1838
  if (e.lineIndent < l) {
1838
1839
  i === Ct ? e.result += Q.repeat(`
1839
- `, o ? 1 + c : c) : i === He && o && (e.result += `
1840
+ `, o ? 1 + s : s) : i === He && o && (e.result += `
1840
1841
  `);
1841
1842
  break;
1842
1843
  }
1843
- for (r ? me(u) ? (s = !0, e.result += Q.repeat(`
1844
- `, o ? 1 + c : c)) : s ? (s = !1, e.result += Q.repeat(`
1845
- `, c + 1)) : c === 0 ? o && (e.result += " ") : e.result += Q.repeat(`
1846
- `, c) : e.result += Q.repeat(`
1847
- `, o ? 1 + c : c), o = !0, a = !0, c = 0, n = e.position; !ce(u) && u !== 0; )
1844
+ for (r ? me(u) ? (c = !0, e.result += Q.repeat(`
1845
+ `, o ? 1 + s : s)) : c ? (c = !1, e.result += Q.repeat(`
1846
+ `, s + 1)) : s === 0 ? o && (e.result += " ") : e.result += Q.repeat(`
1847
+ `, s) : e.result += Q.repeat(`
1848
+ `, o ? 1 + s : s), o = !0, a = !0, s = 0, n = e.position; !se(u) && u !== 0; )
1848
1849
  u = e.input.charCodeAt(++e.position);
1849
1850
  fe(e, n, e.position, !1);
1850
1851
  }
1851
1852
  return !0;
1852
1853
  }
1853
1854
  function St(e, t) {
1854
- var n, r = e.tag, i = e.anchor, o = [], a, l = !1, c;
1855
+ var n, r = e.tag, i = e.anchor, o = [], a, l = !1, s;
1855
1856
  if (e.firstTabInLine !== -1) return !1;
1856
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), !(c !== 45 || (a = e.input.charCodeAt(e.position + 1), !re(a)))); ) {
1857
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !re(a)))); ) {
1857
1858
  if (l = !0, e.position++, z(e, !0, -1) && e.lineIndent <= t) {
1858
- o.push(null), c = e.input.charCodeAt(e.position);
1859
+ o.push(null), s = e.input.charCodeAt(e.position);
1859
1860
  continue;
1860
1861
  }
1861
- if (n = e.line, ke(e, t, xn, !1, !0), o.push(e.result), z(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1862
+ if (n = e.line, ke(e, t, xn, !1, !0), o.push(e.result), z(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1862
1863
  _(e, "bad indentation of a sequence entry");
1863
1864
  else if (e.lineIndent < t)
1864
1865
  break;
@@ -1866,34 +1867,34 @@ function St(e, t) {
1866
1867
  return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1867
1868
  }
1868
1869
  function _a(e, t, n) {
1869
- var r, i, o, a, l, c, s = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, v = null, y = null, C = !1, I = !1, b;
1870
+ var r, i, o, a, l, s, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, v = null, y = null, C = !1, I = !1, b;
1870
1871
  if (e.firstTabInLine !== -1) return !1;
1871
1872
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
1872
1873
  if (!C && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), o = e.line, (b === 63 || b === 58) && re(r))
1873
- b === 63 ? (C && (xe(e, u, m, f, v, null, a, l, c), f = v = y = null), I = !0, C = !0, i = !0) : C ? (C = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
1874
+ b === 63 ? (C && (xe(e, u, m, f, v, null, a, l, s), f = v = y = null), I = !0, C = !0, i = !0) : C ? (C = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
1874
1875
  else {
1875
- if (a = e.line, l = e.lineStart, c = e.position, !ke(e, n, bn, !1, !0))
1876
+ if (a = e.line, l = e.lineStart, s = e.position, !ke(e, n, bn, !1, !0))
1876
1877
  break;
1877
1878
  if (e.line === o) {
1878
1879
  for (b = e.input.charCodeAt(e.position); me(b); )
1879
1880
  b = e.input.charCodeAt(++e.position);
1880
1881
  if (b === 58)
1881
- b = e.input.charCodeAt(++e.position), re(b) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), C && (xe(e, u, m, f, v, null, a, l, c), f = v = y = null), I = !0, C = !1, i = !1, f = e.tag, v = e.result;
1882
+ b = e.input.charCodeAt(++e.position), re(b) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), C && (xe(e, u, m, f, v, null, a, l, s), f = v = y = null), I = !0, C = !1, i = !1, f = e.tag, v = e.result;
1882
1883
  else if (I)
1883
1884
  _(e, "can not read an implicit mapping pair; a colon is missed");
1884
1885
  else
1885
- return e.tag = s, e.anchor = d, !0;
1886
+ return e.tag = c, e.anchor = d, !0;
1886
1887
  } else if (I)
1887
1888
  _(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1888
1889
  else
1889
- return e.tag = s, e.anchor = d, !0;
1890
+ return e.tag = c, e.anchor = d, !0;
1890
1891
  }
1891
- if ((e.line === o || e.lineIndent > t) && (C && (a = e.line, l = e.lineStart, c = e.position), ke(e, t, Le, !0, i) && (C ? v = e.result : y = e.result), C || (xe(e, u, m, f, v, y, a, l, c), f = v = y = null), z(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && b !== 0)
1892
+ if ((e.line === o || e.lineIndent > t) && (C && (a = e.line, l = e.lineStart, s = e.position), ke(e, t, Le, !0, i) && (C ? v = e.result : y = e.result), C || (xe(e, u, m, f, v, y, a, l, s), f = v = y = null), z(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && b !== 0)
1892
1893
  _(e, "bad indentation of a mapping entry");
1893
1894
  else if (e.lineIndent < t)
1894
1895
  break;
1895
1896
  }
1896
- return C && xe(e, u, m, f, v, null, a, l, c), I && (e.tag = s, e.anchor = d, e.kind = "mapping", e.result = u), I;
1897
+ return C && xe(e, u, m, f, v, null, a, l, s), I && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), I;
1897
1898
  }
1898
1899
  function wa(e) {
1899
1900
  var t, n = !1, r = !1, i, o, a;
@@ -1931,11 +1932,11 @@ function $a(e) {
1931
1932
  return e.position === t && _(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), pe.call(e.anchorMap, n) || _(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], z(e, !0, -1), !0;
1932
1933
  }
1933
1934
  function ke(e, t, n, r, i) {
1934
- var o, a, l, c = 1, s = !1, d = !1, u, m, f, v, y, C;
1935
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Le === n || xn === n, r && z(e, !0, -1) && (s = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
1935
+ var o, a, l, s = 1, c = !1, d = !1, u, m, f, v, y, C;
1936
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Le === n || xn === n, r && z(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1936
1937
  for (; wa(e) || Sa(e); )
1937
- z(e, !0, -1) ? (s = !0, l = o, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : l = !1;
1938
- if (l && (l = s || i), (c === 1 || Le === n) && (Oe === n || bn === n ? y = t : y = t + 1, C = e.position - e.lineStart, c === 1 ? l && (St(e, C) || _a(e, C, y)) || ka(e, y) ? d = !0 : (a && Aa(e, y) || xa(e, y) || Ca(e, y) ? d = !0 : $a(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : ba(e, y, Oe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = l && St(e, C))), e.tag === null)
1938
+ z(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1939
+ if (l && (l = c || i), (s === 1 || Le === n) && (Oe === n || bn === n ? y = t : y = t + 1, C = e.position - e.lineStart, s === 1 ? l && (St(e, C) || _a(e, C, y)) || ka(e, y) ? d = !0 : (a && Aa(e, y) || xa(e, y) || Ca(e, y) ? d = !0 : $a(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : ba(e, y, Oe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && St(e, C))), e.tag === null)
1939
1940
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1940
1941
  else if (e.tag === "?") {
1941
1942
  for (e.result !== null && e.kind !== "scalar" && _(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, m = e.implicitTypes.length; u < m; u += 1)
@@ -1967,10 +1968,10 @@ function Ta(e) {
1967
1968
  if (a === 35) {
1968
1969
  do
1969
1970
  a = e.input.charCodeAt(++e.position);
1970
- while (a !== 0 && !ce(a));
1971
+ while (a !== 0 && !se(a));
1971
1972
  break;
1972
1973
  }
1973
- if (ce(a)) break;
1974
+ if (se(a)) break;
1974
1975
  for (n = e.position; a !== 0 && !re(a); )
1975
1976
  a = e.input.charCodeAt(++e.position);
1976
1977
  i.push(e.input.slice(n, e.position));
@@ -2050,10 +2051,10 @@ var Ga = [
2050
2051
  "OFF"
2051
2052
  ], za = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2052
2053
  function Qa(e, t) {
2053
- var n, r, i, o, a, l, c;
2054
+ var n, r, i, o, a, l, s;
2054
2055
  if (t === null) return {};
2055
2056
  for (n = {}, r = Object.keys(t), i = 0, o = r.length; i < o; i += 1)
2056
- a = r[i], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), c = e.compiledTypeMap.fallback[a], c && In.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[a] = l;
2057
+ a = r[i], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && In.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
2057
2058
  return n;
2058
2059
  }
2059
2060
  function Za(e) {
@@ -2125,23 +2126,23 @@ function Bn(e) {
2125
2126
  }
2126
2127
  var Kn = 1, Qe = 2, Nn = 3, Mn = 4, ve = 5;
2127
2128
  function io(e, t, n, r, i, o, a, l) {
2128
- var c, s = 0, d = null, u = !1, m = !1, f = r !== -1, v = -1, y = no(_e(e, 0)) && ro(_e(e, e.length - 1));
2129
+ var s, c = 0, d = null, u = !1, m = !1, f = r !== -1, v = -1, y = no(_e(e, 0)) && ro(_e(e, e.length - 1));
2129
2130
  if (t || a)
2130
- for (c = 0; c < e.length; s >= 65536 ? c += 2 : c++) {
2131
- if (s = _e(e, c), !Te(s))
2131
+ for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2132
+ if (c = _e(e, s), !Te(c))
2132
2133
  return ve;
2133
- y = y && It(s, d, l), d = s;
2134
+ y = y && It(c, d, l), d = c;
2134
2135
  }
2135
2136
  else {
2136
- for (c = 0; c < e.length; s >= 65536 ? c += 2 : c++) {
2137
- if (s = _e(e, c), s === Se)
2137
+ for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2138
+ if (c = _e(e, s), c === Se)
2138
2139
  u = !0, f && (m = m || // Foldable line = too long, and not more-indented.
2139
- c - v - 1 > r && e[v + 1] !== " ", v = c);
2140
- else if (!Te(s))
2140
+ s - v - 1 > r && e[v + 1] !== " ", v = s);
2141
+ else if (!Te(c))
2141
2142
  return ve;
2142
- y = y && It(s, d, l), d = s;
2143
+ y = y && It(c, d, l), d = c;
2143
2144
  }
2144
- m = m || f && c - v - 1 > r && e[v + 1] !== " ";
2145
+ m = m || f && s - v - 1 > r && e[v + 1] !== " ";
2145
2146
  }
2146
2147
  return !u && !m ? y && !a && !i(e) ? Kn : o === $e ? ve : Qe : n > 9 && Bn(e) ? ve : a ? o === $e ? ve : Qe : m ? Mn : Nn;
2147
2148
  }
@@ -2152,15 +2153,15 @@ function ao(e, t, n, r, i) {
2152
2153
  if (!e.noCompatMode && (Ga.indexOf(t) !== -1 || za.test(t)))
2153
2154
  return e.quotingType === $e ? '"' + t + '"' : "'" + t + "'";
2154
2155
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2155
- function c(s) {
2156
- return to(e, s);
2156
+ function s(c) {
2157
+ return to(e, c);
2157
2158
  }
2158
2159
  switch (io(
2159
2160
  t,
2160
2161
  l,
2161
2162
  e.indent,
2162
2163
  a,
2163
- c,
2164
+ s,
2164
2165
  e.quotingType,
2165
2166
  e.forceQuotes && !r,
2166
2167
  i
@@ -2194,72 +2195,72 @@ function Ft(e) {
2194
2195
  }
2195
2196
  function oo(e, t) {
2196
2197
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2197
- var s = e.indexOf(`
2198
+ var c = e.indexOf(`
2198
2199
  `);
2199
- return s = s !== -1 ? s : e.length, n.lastIndex = s, Ot(e.slice(0, s), t);
2200
+ return c = c !== -1 ? c : e.length, n.lastIndex = c, Ot(e.slice(0, c), t);
2200
2201
  }(), i = e[0] === `
2201
2202
  ` || e[0] === " ", o, a; a = n.exec(e); ) {
2202
- var l = a[1], c = a[2];
2203
- o = c[0] === " ", r += l + (!i && !o && c !== "" ? `
2204
- ` : "") + Ot(c, t), i = o;
2203
+ var l = a[1], s = a[2];
2204
+ o = s[0] === " ", r += l + (!i && !o && s !== "" ? `
2205
+ ` : "") + Ot(s, t), i = o;
2205
2206
  }
2206
2207
  return r;
2207
2208
  }
2208
2209
  function Ot(e, t) {
2209
2210
  if (e === "" || e[0] === " ") return e;
2210
- for (var n = / [^ ]/g, r, i = 0, o, a = 0, l = 0, c = ""; r = n.exec(e); )
2211
- l = r.index, l - i > t && (o = a > i ? a : l, c += `
2211
+ for (var n = / [^ ]/g, r, i = 0, o, a = 0, l = 0, s = ""; r = n.exec(e); )
2212
+ l = r.index, l - i > t && (o = a > i ? a : l, s += `
2212
2213
  ` + e.slice(i, o), i = o + 1), a = l;
2213
- return c += `
2214
- `, e.length - i > t && a > i ? c += e.slice(i, a) + `
2215
- ` + e.slice(a + 1) : c += e.slice(i), c.slice(1);
2214
+ return s += `
2215
+ `, e.length - i > t && a > i ? s += e.slice(i, a) + `
2216
+ ` + e.slice(a + 1) : s += e.slice(i), s.slice(1);
2216
2217
  }
2217
2218
  function lo(e) {
2218
2219
  for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
2219
2220
  n = _e(e, i), r = ee[n], !r && Te(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Za(n);
2220
2221
  return t;
2221
2222
  }
2222
- function co(e, t, n) {
2223
+ function so(e, t, n) {
2223
2224
  var r = "", i = e.tag, o, a, l;
2224
2225
  for (o = 0, a = n.length; o < a; o += 1)
2225
2226
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (ue(e, t, l, !1, !1) || typeof l > "u" && ue(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2226
2227
  e.tag = i, e.dump = "[" + r + "]";
2227
2228
  }
2228
2229
  function Lt(e, t, n, r) {
2229
- var i = "", o = e.tag, a, l, c;
2230
+ var i = "", o = e.tag, a, l, s;
2230
2231
  for (a = 0, l = n.length; a < l; a += 1)
2231
- c = n[a], e.replacer && (c = e.replacer.call(n, String(a), c)), (ue(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && ue(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += ze(e, t)), e.dump && Se === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2232
+ s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ue(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ue(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += ze(e, t)), e.dump && Se === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2232
2233
  e.tag = o, e.dump = i || "[]";
2233
2234
  }
2234
- function so(e, t, n) {
2235
- var r = "", i = e.tag, o = Object.keys(n), a, l, c, s, d;
2235
+ function co(e, t, n) {
2236
+ var r = "", i = e.tag, o = Object.keys(n), a, l, s, c, d;
2236
2237
  for (a = 0, l = o.length; a < l; a += 1)
2237
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), c = o[a], s = n[c], e.replacer && (s = e.replacer.call(n, c, s)), ue(e, t, c, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ue(e, t, s, !1, !1) && (d += e.dump, r += d));
2238
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[a], c = n[s], e.replacer && (c = e.replacer.call(n, s, c)), ue(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ue(e, t, c, !1, !1) && (d += e.dump, r += d));
2238
2239
  e.tag = i, e.dump = "{" + r + "}";
2239
2240
  }
2240
2241
  function uo(e, t, n, r) {
2241
- var i = "", o = e.tag, a = Object.keys(n), l, c, s, d, u, m;
2242
+ var i = "", o = e.tag, a = Object.keys(n), l, s, c, d, u, m;
2242
2243
  if (e.sortKeys === !0)
2243
2244
  a.sort();
2244
2245
  else if (typeof e.sortKeys == "function")
2245
2246
  a.sort(e.sortKeys);
2246
2247
  else if (e.sortKeys)
2247
2248
  throw new ne("sortKeys must be a boolean or a function");
2248
- for (l = 0, c = a.length; l < c; l += 1)
2249
- m = "", (!r || i !== "") && (m += ze(e, t)), s = a[l], d = n[s], e.replacer && (d = e.replacer.call(n, s, d)), ue(e, t + 1, s, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Se === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, u && (m += ze(e, t)), ue(e, t + 1, d, !0, u) && (e.dump && Se === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, i += m));
2249
+ for (l = 0, s = a.length; l < s; l += 1)
2250
+ m = "", (!r || i !== "") && (m += ze(e, t)), c = a[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), ue(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Se === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, u && (m += ze(e, t)), ue(e, t + 1, d, !0, u) && (e.dump && Se === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, i += m));
2250
2251
  e.tag = o, e.dump = i || "{}";
2251
2252
  }
2252
2253
  function Rt(e, t, n) {
2253
- var r, i, o, a, l, c;
2254
+ var r, i, o, a, l, s;
2254
2255
  for (i = n ? e.explicitTypes : e.implicitTypes, o = 0, a = i.length; o < a; o += 1)
2255
2256
  if (l = i[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2256
2257
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2257
- if (c = e.styleMap[l.tag] || l.defaultStyle, Tn.call(l.represent) === "[object Function]")
2258
- r = l.represent(t, c);
2259
- else if (In.call(l.represent, c))
2260
- r = l.represent[c](t, c);
2258
+ if (s = e.styleMap[l.tag] || l.defaultStyle, Tn.call(l.represent) === "[object Function]")
2259
+ r = l.represent(t, s);
2260
+ else if (In.call(l.represent, s))
2261
+ r = l.represent[s](t, s);
2261
2262
  else
2262
- throw new ne("!<" + l.tag + '> tag resolver accepts not "' + c + '" style');
2263
+ throw new ne("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2263
2264
  e.dump = r;
2264
2265
  }
2265
2266
  return !0;
@@ -2268,27 +2269,27 @@ function Rt(e, t, n) {
2268
2269
  }
2269
2270
  function ue(e, t, n, r, i, o, a) {
2270
2271
  e.tag = null, e.dump = n, Rt(e, n, !1) || Rt(e, n, !0);
2271
- var l = Tn.call(e.dump), c = r, s;
2272
+ var l = Tn.call(e.dump), s = r, c;
2272
2273
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2273
2274
  var d = l === "[object Object]" || l === "[object Array]", u, m;
2274
2275
  if (d && (u = e.duplicates.indexOf(n), m = u !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && t > 0) && (i = !1), m && e.usedDuplicates[u])
2275
2276
  e.dump = "*ref_" + u;
2276
2277
  else {
2277
2278
  if (d && m && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2278
- r && Object.keys(e.dump).length !== 0 ? (uo(e, t, e.dump, i), m && (e.dump = "&ref_" + u + e.dump)) : (so(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2279
+ r && Object.keys(e.dump).length !== 0 ? (uo(e, t, e.dump, i), m && (e.dump = "&ref_" + u + e.dump)) : (co(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2279
2280
  else if (l === "[object Array]")
2280
- r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Lt(e, t - 1, e.dump, i) : Lt(e, t, e.dump, i), m && (e.dump = "&ref_" + u + e.dump)) : (co(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2281
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Lt(e, t - 1, e.dump, i) : Lt(e, t, e.dump, i), m && (e.dump = "&ref_" + u + e.dump)) : (so(e, t, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2281
2282
  else if (l === "[object String]")
2282
- e.tag !== "?" && ao(e, e.dump, t, o, c);
2283
+ e.tag !== "?" && ao(e, e.dump, t, o, s);
2283
2284
  else {
2284
2285
  if (l === "[object Undefined]")
2285
2286
  return !1;
2286
2287
  if (e.skipInvalid) return !1;
2287
2288
  throw new ne("unacceptable kind of an object to dump " + l);
2288
2289
  }
2289
- e.tag !== null && e.tag !== "?" && (s = encodeURI(
2290
+ e.tag !== null && e.tag !== "?" && (c = encodeURI(
2290
2291
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
2291
- ).replace(/!/g, "%21"), e.tag[0] === "!" ? s = "!" + s : s.slice(0, 18) === "tag:yaml.org,2002:" ? s = "!!" + s.slice(18) : s = "!<" + s + ">", e.dump = s + " " + e.dump);
2292
+ ).replace(/!/g, "%21"), e.tag[0] === "!" ? c = "!" + c : c.slice(0, 18) === "tag:yaml.org,2002:" ? c = "!!" + c.slice(18) : c = "!<" + c + ">", e.dump = c + " " + e.dump);
2292
2293
  }
2293
2294
  return !0;
2294
2295
  }
@@ -2321,14 +2322,14 @@ function po(e, t) {
2321
2322
  var mo = po, ho = {
2322
2323
  dump: mo
2323
2324
  };
2324
- function ct(e, t) {
2325
+ function st(e, t) {
2325
2326
  return function() {
2326
2327
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2327
2328
  };
2328
2329
  }
2329
- var go = X, yo = Xt, vo = rn, bo = sn, xo = un, Co = it, ko = $n.load, Ao = $n.loadAll, _o = ho.dump, wo = ne, So = {
2330
+ var go = X, yo = Xt, vo = rn, bo = cn, xo = un, Co = it, ko = $n.load, Ao = $n.loadAll, _o = ho.dump, wo = ne, So = {
2330
2331
  binary: hn,
2331
- float: cn,
2332
+ float: sn,
2332
2333
  map: nn,
2333
2334
  null: an,
2334
2335
  pairs: yn,
@@ -2340,7 +2341,7 @@ var go = X, yo = Xt, vo = rn, bo = sn, xo = un, Co = it, ko = $n.load, Ao = $n.l
2340
2341
  omap: gn,
2341
2342
  seq: tn,
2342
2343
  str: en
2343
- }, $o = ct("safeLoad", "load"), To = ct("safeLoadAll", "loadAll"), Io = ct("safeDump", "dump"), Eo = {
2344
+ }, $o = st("safeLoad", "load"), To = st("safeLoadAll", "loadAll"), Io = st("safeDump", "dump"), Eo = {
2344
2345
  Type: go,
2345
2346
  Schema: yo,
2346
2347
  FAILSAFE_SCHEMA: vo,
@@ -2402,20 +2403,20 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2402
2403
  }
2403
2404
  },
2404
2405
  setup(e) {
2405
- const t = e, n = (l, c) => {
2406
- const s = te;
2406
+ const t = e, n = (l, s) => {
2407
+ const c = te;
2407
2408
  let d = "";
2408
- return typeof l == "string" ? d += `${s}${c} = "${l}"
2409
- ` : d += `${s}${c} = ${String(l ?? "")}
2409
+ return typeof l == "string" ? d += `${c}${s} = "${l}"
2410
+ ` : d += `${c}${s} = ${String(l ?? "")}
2410
2411
  `, d;
2411
- }, r = (l, c, s = "") => {
2412
+ }, r = (l, s, c = "") => {
2412
2413
  if (typeof l != "object")
2413
2414
  return "Invalid object";
2414
- const d = te + s;
2415
+ const d = te + c;
2415
2416
  let u = "";
2416
- if (c && (u += `${d}${c} = {
2417
+ if (s && (u += `${d}${s} = {
2417
2418
  `), l === null)
2418
- return c ? u += `${d}}` : u = "{}", u;
2419
+ return s ? u += `${d}}` : u = "{}", u;
2419
2420
  const m = Object.fromEntries(Object.entries(l).filter(([, v]) => v !== null));
2420
2421
  let f = "";
2421
2422
  for (const [v, y] of Object.entries(m))
@@ -2423,14 +2424,14 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2423
2424
  `, f += i(y, void 0, d), f += `${d}${te}]`) : y && typeof y == "object" ? (f = `{
2424
2425
  `, f += r(y, void 0, d), f += `${d}${te}}`) : f = String(y ?? ""), typeof y == "string" && (f = `"${f}"`), u += `${d}${te}${v} = ${f}
2425
2426
  `;
2426
- return c ? u += `${d}}
2427
+ return s ? u += `${d}}
2427
2428
  ` : u;
2428
- }, i = (l, c, s = "") => {
2429
+ }, i = (l, s, c = "") => {
2429
2430
  if (!Array.isArray(l))
2430
2431
  return "Invalid array";
2431
- const d = te + s;
2432
+ const d = te + c;
2432
2433
  let u = "";
2433
- c && (l.length === 0 ? u += `${d}${c} = [` : u += `${d}${c} = [
2434
+ s && (l.length === 0 ? u += `${d}${s} = [` : u += `${d}${s} = [
2434
2435
  `);
2435
2436
  for (let m = 0; m < l.length; m++) {
2436
2437
  const f = l[m];
@@ -2438,39 +2439,39 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2438
2439
  `, u += r(f, void 0, d), u += `${d}${te}}`) : typeof f == "string" ? u += `${d}${te}"${f}"` : u += `${d}${te}${String(f ?? "")}`, m < l.length - 1 && (u += ","), u += `
2439
2440
  `;
2440
2441
  }
2441
- return c && (l.length === 0 ? u += `]
2442
+ return s && (l.length === 0 ? u += `]
2442
2443
  ` : u += `${d}]
2443
2444
  `), u;
2444
2445
  }, o = (l) => {
2445
- let c = "";
2446
- for (const [s, d] of Object.entries(l))
2447
- Array.isArray(d) ? c += i(d, s) : typeof d == "object" ? c += r(d, s) : c += n(d, s);
2448
- return c;
2446
+ let s = "";
2447
+ for (const [c, d] of Object.entries(l))
2448
+ Array.isArray(d) ? s += i(d, c) : typeof d == "object" ? s += r(d, c) : s += n(d, c);
2449
+ return s;
2449
2450
  }, a = T(() => {
2450
2451
  var u, m, f, v, y, C, I;
2451
- const l = Object.fromEntries(Object.entries(t.entityRecord).filter(([, b]) => b != null)), c = t.entityRecord.config ? Object.fromEntries(Object.entries((u = t.entityRecord) == null ? void 0 : u.config).filter(([, b]) => b != null)) : void 0;
2452
- if (c && (l.config = c), Object.keys(l).length === 0)
2452
+ const l = Object.fromEntries(Object.entries(t.entityRecord).filter(([, b]) => b != null)), s = t.entityRecord.config ? Object.fromEntries(Object.entries((u = t.entityRecord) == null ? void 0 : u.config).filter(([, b]) => b != null)) : void 0;
2453
+ if (s && (l.config = s), Object.keys(l).length === 0)
2453
2454
  return "";
2454
2455
  delete l.id;
2455
- let s = "", d = "";
2456
+ let c = "", d = "";
2456
2457
  if ((m = l.service) != null && m.id ? (d = "service", delete l.service) : (f = l.route) != null && f.id ? (d = "route", delete l.route) : (v = l.consumer) != null && v.id ? (d = "consumer", delete l.consumer) : (y = l.consumer_group) != null && y.id ? (d = "consumer_group", delete l.consumer_group) : (C = l.certificate) != null && C.id ? (d = "certificate", delete l.certificate) : (I = l.set) != null && I.id && (d = "set", delete l.set), t.entityType === "plugin") {
2457
2458
  const b = t.credentialType.replace(/-/g, "_") || (l.name + "").replace(/-/g, "_");
2458
- delete l.name, s += `resource "konnect_gateway_plugin_${b}" "my_${b}" {
2459
+ delete l.name, c += `resource "konnect_gateway_plugin_${b}" "my_${b}" {
2459
2460
  `;
2460
2461
  } else
2461
- s += `resource "konnect_gateway_${t.entityType}" "my_${t.entityType}" {
2462
+ c += `resource "konnect_gateway_${t.entityType}" "my_${t.entityType}" {
2462
2463
  `;
2463
- return s += o(l), s += `${te}control_plane_id = konnect_gateway_control_plane.my_konnect_cp.id
2464
- `, d && (s += `${te}${d} = {
2465
- `, s += `${te}${te}id = konnect_gateway_${d}.my_${d}.id
2466
- `, s += `${te}}
2467
- `), s += `}
2468
- `, s;
2464
+ return c += o(l), c += `${te}control_plane_id = konnect_gateway_control_plane.my_konnect_cp.id
2465
+ `, d && (c += `${te}${d} = {
2466
+ `, c += `${te}${te}id = konnect_gateway_${d}.my_${d}.id
2467
+ `, c += `${te}}
2468
+ `), c += `}
2469
+ `, c;
2469
2470
  });
2470
- return (l, c) => {
2471
- const s = U("KCodeBlock");
2471
+ return (l, s) => {
2472
+ const c = U("KCodeBlock");
2472
2473
  return p(), w("div", Oo, [
2473
- t.entityRecord ? (p(), M(s, {
2474
+ t.entityRecord ? (p(), M(c, {
2474
2475
  key: 0,
2475
2476
  id: "terraform-codeblock",
2476
2477
  code: a.value,
@@ -2538,7 +2539,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2538
2539
  }
2539
2540
  },
2540
2541
  setup(e) {
2541
- const t = e, n = Xe(), { i18n: { t: r } } = H.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = T(() => {
2542
+ const t = e, n = Xe(), { i18n: { t: r } } = Y.useI18n(), i = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = T(() => {
2542
2543
  if (!t.record)
2543
2544
  return t.record;
2544
2545
  let a = t.record;
@@ -2548,31 +2549,31 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2548
2549
  });
2549
2550
  return (a, l) => (p(), w(le, null, [
2550
2551
  e.format === "structured" ? (p(), w("div", Lo, [
2551
- (p(!0), w(le, null, oe(e.propListTypes, (c) => (p(), w("div", {
2552
- key: `config-card-details-${c}-props`,
2553
- class: se(`config-card-details-${c}-props`),
2554
- "data-testid": `config-card-details-${c}-props`
2552
+ (p(!0), w(le, null, oe(e.propListTypes, (s) => (p(), w("div", {
2553
+ key: `config-card-details-${s}-props`,
2554
+ class: ce(`config-card-details-${s}-props`),
2555
+ "data-testid": `config-card-details-${s}-props`
2555
2556
  }, [
2556
- c !== "basic" ? (p(), w("div", Bo, E(c === "advanced" ? A(r)("baseConfigCard.sections.advanced") : A(r)("baseConfigCard.sections.plugin")), 1)) : j("", !0),
2557
- (p(!0), w(le, null, oe(e.propertyCollections[c], (s) => (p(), M(Gt, {
2558
- key: s.key,
2559
- item: s
2557
+ s !== "basic" ? (p(), w("div", Bo, E(s === "advanced" ? A(r)("baseConfigCard.sections.advanced") : A(r)("baseConfigCard.sections.plugin")), 1)) : j("", !0),
2558
+ (p(!0), w(le, null, oe(e.propertyCollections[s], (c) => (p(), M(Gt, {
2559
+ key: c.key,
2560
+ item: c
2560
2561
  }, Ce({
2561
2562
  label: k(() => [
2562
- P(a.$slots, `${s.key}-label`, { row: s }, void 0, !0)
2563
+ P(a.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2563
2564
  ]),
2564
- [s.key]: k(({ rowValue: d }) => [
2565
- P(a.$slots, s.key, {
2566
- row: s,
2565
+ [c.key]: k(({ rowValue: d }) => [
2566
+ P(a.$slots, c.key, {
2567
+ row: c,
2567
2568
  rowValue: d
2568
2569
  }, void 0, !0)
2569
2570
  ]),
2570
2571
  _: 2
2571
2572
  }, [
2572
- i(s) ? {
2573
+ i(c) ? {
2573
2574
  name: "label-tooltip",
2574
2575
  fn: k(() => [
2575
- P(a.$slots, `${s.key}-label-tooltip`, { row: s }, void 0, !0)
2576
+ P(a.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2576
2577
  ]),
2577
2578
  key: "0"
2578
2579
  } : void 0
@@ -2597,7 +2598,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2597
2598
  }, null, 8, ["entity-record", "entity-type"])) : j("", !0)
2598
2599
  ], 64));
2599
2600
  }
2600
- }), No = /* @__PURE__ */ ie(Ko, [["__scopeId", "data-v-d67757a9"]]), Mo = {
2601
+ }), No = /* @__PURE__ */ ae(Ko, [["__scopeId", "data-v-d67757a9"]]), Mo = {
2601
2602
  class: "config-card-title",
2602
2603
  "data-testid": "config-card-title"
2603
2604
  }, Do = { class: "config-card-actions" }, jo = ["href"], Uo = { class: "config-card-details-section" }, Po = /* @__PURE__ */ J({
@@ -2704,9 +2705,9 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2704
2705
  emits: ["loading", "fetch:success", "fetch:error"],
2705
2706
  setup(e, { emit: t }) {
2706
2707
  var S;
2707
- const n = t, r = e, { i18n: { t: i } } = H.useI18n(), { getMessageFromError: o } = H.useErrors(), { convertKeyToTitle: a } = H.useStringHelpers();
2708
- H.useSubSchema(r.pluginConfigKey);
2709
- const { axiosInstance: l } = H.useAxios((S = r.config) == null ? void 0 : S.axiosRequestConfig), c = [
2708
+ const n = t, r = e, { i18n: { t: i } } = Y.useI18n(), { getMessageFromError: o } = Y.useErrors(), { convertKeyToTitle: a } = Y.useStringHelpers();
2709
+ Y.useSubSchema(r.pluginConfigKey);
2710
+ const { axiosInstance: l } = Y.useAxios((S = r.config) == null ? void 0 : S.axiosRequestConfig), s = [
2710
2711
  {
2711
2712
  label: i("baseConfigCard.general.structuredFormat"),
2712
2713
  value: "structured",
@@ -2721,45 +2722,52 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2721
2722
  value: "yaml"
2722
2723
  }
2723
2724
  ];
2724
- r.config.app === "konnect" && c.splice(2, 0, {
2725
+ r.config.app === "konnect" && s.splice(2, 0, {
2725
2726
  label: i("baseForm.configuration.terraform"),
2726
2727
  value: "terraform"
2727
2728
  });
2728
- const s = L("structured"), d = (g) => {
2729
- s.value = g == null ? void 0 : g.value;
2729
+ const c = L("structured"), d = (g) => {
2730
+ c.value = g == null ? void 0 : g.value;
2730
2731
  }, u = {
2731
2732
  id: {
2732
- type: Y.ID,
2733
+ type: H.ID,
2733
2734
  label: i("baseConfigCard.commonFields.id_label"),
2734
2735
  order: 0,
2735
- section: ae.Basic
2736
+ section: ie.Basic
2736
2737
  },
2737
2738
  name: {
2738
2739
  order: 1,
2739
- section: ae.Basic
2740
+ section: ie.Basic
2740
2741
  },
2741
2742
  enabled: {
2742
- type: Y.BadgeStatus,
2743
+ type: H.BadgeStatus,
2743
2744
  order: 2,
2744
- section: ae.Basic
2745
+ section: ie.Basic
2745
2746
  },
2746
2747
  updated_at: {
2747
- type: Y.Date,
2748
+ type: H.Date,
2748
2749
  label: i("baseConfigCard.commonFields.updated_at_label"),
2749
2750
  order: 3,
2750
- section: ae.Basic
2751
+ section: ie.Basic
2751
2752
  },
2752
2753
  created_at: {
2753
- type: Y.Date,
2754
+ type: H.Date,
2754
2755
  label: i("baseConfigCard.commonFields.created_at_label"),
2755
2756
  order: 4,
2756
- section: ae.Basic
2757
+ section: ie.Basic
2757
2758
  },
2758
2759
  tags: {
2759
- type: Y.BadgeTag,
2760
+ type: H.BadgeTag,
2761
+ order: -1,
2762
+ // the last property displayed
2763
+ section: ie.Basic
2764
+ },
2765
+ partials: {
2766
+ type: H.LinkInternal,
2767
+ label: i("baseConfigCard.commonFields.partial_label"),
2760
2768
  order: -1,
2761
2769
  // the last property displayed
2762
- section: ae.Basic
2770
+ section: ie.Basic
2763
2771
  }
2764
2772
  }, m = L(!1), f = L(!1), v = L(""), y = L({}), C = T(() => {
2765
2773
  var h, x, B;
@@ -2774,16 +2782,16 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2774
2782
  return g.sort(function(K, O) {
2775
2783
  return K[1] - O[1];
2776
2784
  }), g.map((K) => {
2777
- var Ie, st;
2778
- const O = K[0], W = (Ie = y.value) == null ? void 0 : Ie[O], V = ((st = r.configSchema) == null ? void 0 : st[O]) || {}, G = u[O];
2785
+ var Ie, ct;
2786
+ const O = K[0], W = (Ie = y.value) == null ? void 0 : Ie[O], V = ((ct = r.configSchema) == null ? void 0 : ct[O]) || {}, G = u[O];
2779
2787
  return {
2780
2788
  key: O,
2781
2789
  value: W,
2782
2790
  hidden: V.hidden || !1,
2783
- type: V.type ?? ((G == null ? void 0 : G.type) || Y.Text),
2791
+ type: V.type ?? ((G == null ? void 0 : G.type) || H.Text),
2784
2792
  label: V.label ?? ((G == null ? void 0 : G.label) || a(O)),
2785
2793
  tooltip: V.tooltip ?? ((G == null ? void 0 : G.tooltip) || void 0),
2786
- section: V.section ?? ((G == null ? void 0 : G.section) || ae.Advanced)
2794
+ section: V.section ?? ((G == null ? void 0 : G.section) || ie.Advanced)
2787
2795
  };
2788
2796
  }).filter((K) => !K.hidden && K.key !== r.pluginConfigKey);
2789
2797
  }), I = T(() => {
@@ -2805,18 +2813,18 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2805
2813
  key: O,
2806
2814
  value: W,
2807
2815
  hidden: V.hidden || !1,
2808
- type: V.type ?? Y.Text,
2816
+ type: V.type ?? H.Text,
2809
2817
  label: V.label ?? a(O),
2810
2818
  tooltip: V.tooltip ?? void 0,
2811
- section: ae.Plugin
2819
+ section: ie.Plugin
2812
2820
  };
2813
2821
  }).filter((K) => !K.hidden);
2814
2822
  }), b = T(() => {
2815
2823
  var g, $, h, x;
2816
2824
  return {
2817
- basic: (g = C.value) == null ? void 0 : g.filter((B) => B.section === ae.Basic),
2818
- advanced: ($ = C.value) == null ? void 0 : $.filter((B) => B.section === ae.Advanced),
2819
- plugin: (x = I.value) == null ? void 0 : x.concat((h = C.value) == null ? void 0 : h.filter((B) => B.section === ae.Plugin))
2825
+ basic: (g = C.value) == null ? void 0 : g.filter((B) => B.section === ie.Basic),
2826
+ advanced: ($ = C.value) == null ? void 0 : $.filter((B) => B.section === ie.Advanced),
2827
+ plugin: (x = I.value) == null ? void 0 : x.concat((h = C.value) == null ? void 0 : h.filter((B) => B.section === ie.Plugin))
2820
2828
  };
2821
2829
  }), R = T(() => {
2822
2830
  const g = [];
@@ -2867,7 +2875,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2867
2875
  }),
2868
2876
  D(x, {
2869
2877
  "data-testid": "select-config-format",
2870
- items: c,
2878
+ items: s,
2871
2879
  onChange: d
2872
2880
  }),
2873
2881
  e.configCardDoc ? (p(), M(B, {
@@ -2911,7 +2919,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2911
2919
  config: e.config,
2912
2920
  "entity-type": e.entityType,
2913
2921
  "fetcher-url": F.value,
2914
- format: s.value,
2922
+ format: c.value,
2915
2923
  "prop-list-types": R.value,
2916
2924
  "property-collections": b.value,
2917
2925
  record: y.value
@@ -2944,7 +2952,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
2944
2952
  ]), 1032, ["title-tag"]);
2945
2953
  };
2946
2954
  }
2947
- }), ec = /* @__PURE__ */ ie(Po, [["__scopeId", "data-v-643de0a5"]]), qo = ["novalidate"], Ho = {
2955
+ }), es = /* @__PURE__ */ ae(Po, [["__scopeId", "data-v-be491a0e"]]), qo = ["novalidate"], Ho = {
2948
2956
  class: "form-actions",
2949
2957
  "data-testid": "form-actions"
2950
2958
  }, Yo = /* @__PURE__ */ J({
@@ -3037,7 +3045,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3037
3045
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3038
3046
  setup(e, { emit: t }) {
3039
3047
  var F;
3040
- const n = t, r = e, i = nr(), { i18n: { t: o } } = H.useI18n(), { getMessageFromError: a } = H.useErrors(), { axiosInstance: l } = H.useAxios((F = r.config) == null ? void 0 : F.axiosRequestConfig), c = L(!1), s = T(() => !!r.editId), d = L(!1), u = L(""), m = T(() => r.canSubmit === !1 || r.isReadonly), f = L(!1), v = T(() => {
3048
+ const n = t, r = e, i = nr(), { i18n: { t: o } } = Y.useI18n(), { getMessageFromError: a } = Y.useErrors(), { axiosInstance: l } = Y.useAxios((F = r.config) == null ? void 0 : F.axiosRequestConfig), s = L(!1), c = T(() => !!r.editId), d = L(!1), u = L(""), m = T(() => r.canSubmit === !1 || r.isReadonly), f = L(!1), v = T(() => {
3041
3049
  var g, $;
3042
3050
  let S = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3043
3051
  return r.config.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, ($ = r.config) != null && $.workspace ? `/${r.config.workspace}` : "")), r.editId ? (S = S.replace(/{id}/gi, r.editId), S) : (S = S.replace(/\/{id}/gi, ""), S);
@@ -3062,25 +3070,25 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3062
3070
  return r.config.app === "konnect" && r.entityType !== tt.Other && R.value.splice(1, 0, {
3063
3071
  title: o("baseForm.configuration.terraform"),
3064
3072
  hash: "#terraform"
3065
- }), Ae(() => c.value, (S) => {
3073
+ }), Ae(() => s.value, (S) => {
3066
3074
  n("loading", S);
3067
3075
  }, { immediate: !0 }), et(async () => {
3068
3076
  if (r.editId)
3069
3077
  try {
3070
- d.value = !1, c.value = !0;
3078
+ d.value = !1, s.value = !0;
3071
3079
  const { data: S } = await l.get(v.value);
3072
3080
  n("fetch:success", S);
3073
3081
  } catch (S) {
3074
3082
  const g = a(S);
3075
3083
  u.value = g.startsWith("code") ? o("baseForm.errors.edit") : g, d.value = !0, n("fetch:error", S);
3076
3084
  } finally {
3077
- c.value = !1;
3085
+ s.value = !1;
3078
3086
  }
3079
3087
  }), (S, g) => {
3080
3088
  const $ = U("KSkeleton"), h = U("KEmptyState"), x = U("KAlert"), B = U("KButton"), K = U("KTabs"), O = U("KSlideout");
3081
3089
  return p(), M(Ne(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3082
3090
  default: k(() => [
3083
- c.value ? (p(), M($, {
3091
+ s.value ? (p(), M($, {
3084
3092
  key: 0,
3085
3093
  type: "form"
3086
3094
  })) : d.value ? (p(), M(h, {
@@ -3116,7 +3124,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3116
3124
  P(S.$slots, "form-actions", {}, () => [
3117
3125
  D(B, {
3118
3126
  appearance: "tertiary",
3119
- "data-testid": `${e.entityType}-${s.value ? "edit" : "create"}-form-view-configuration`,
3127
+ "data-testid": `${e.entityType}-${c.value ? "edit" : "create"}-form-view-configuration`,
3120
3128
  onClick: g[0] || (g[0] = (W) => y())
3121
3129
  }, {
3122
3130
  default: k(() => [
@@ -3126,7 +3134,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3126
3134
  }, 8, ["data-testid"]),
3127
3135
  D(B, {
3128
3136
  appearance: "secondary",
3129
- "data-testid": `${e.entityType}-${s.value ? "edit" : "create"}-form-cancel`,
3137
+ "data-testid": `${e.entityType}-${c.value ? "edit" : "create"}-form-cancel`,
3130
3138
  disabled: e.isReadonly,
3131
3139
  type: "reset",
3132
3140
  onClick: g[1] || (g[1] = (W) => !!e.actionTeleportTarget && I())
@@ -3138,7 +3146,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3138
3146
  }, 8, ["data-testid", "disabled"]),
3139
3147
  D(B, {
3140
3148
  appearance: "primary",
3141
- "data-testid": `${e.entityType}-${s.value ? "edit" : "create"}-form-submit`,
3149
+ "data-testid": `${e.entityType}-${c.value ? "edit" : "create"}-form-submit`,
3142
3150
  disabled: m.value,
3143
3151
  type: "submit",
3144
3152
  onClick: g[2] || (g[2] = (W) => !!e.actionTeleportTarget && b())
@@ -3196,7 +3204,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3196
3204
  });
3197
3205
  };
3198
3206
  }
3199
- }), tc = /* @__PURE__ */ ie(Yo, [["__scopeId", "data-v-18af080f"]]), Vo = ["data-truncate"], Wo = /* @__PURE__ */ J({
3207
+ }), ts = /* @__PURE__ */ ae(Yo, [["__scopeId", "data-v-18af080f"]]), Vo = ["data-truncate"], Wo = /* @__PURE__ */ J({
3200
3208
  __name: "EntityBaseTableCell",
3201
3209
  props: {
3202
3210
  keyName: {
@@ -3227,21 +3235,21 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3227
3235
  let a;
3228
3236
  const l = () => {
3229
3237
  a && (a.disconnect(), a = void 0);
3230
- }, c = () => {
3238
+ }, s = () => {
3231
3239
  var I, b, R;
3232
3240
  let C = ((I = n.value) == null ? void 0 : I.clientWidth) || 0;
3233
3241
  if (n.value && "getComputedStyle" in window) {
3234
3242
  const F = window.getComputedStyle(n.value);
3235
3243
  C -= (parseFloat(F.paddingLeft) || 0) + (parseFloat(F.paddingRight) || 0);
3236
3244
  }
3237
- d.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, u.value = C, m.value = ((R = s.value) == null ? void 0 : R.innerText) || "";
3238
- }, s = L({}), d = L(0), u = L(0), m = L(""), f = T(() => [r.value, n.value]), v = Ae(
3245
+ d.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, u.value = C, m.value = ((R = c.value) == null ? void 0 : R.innerText) || "";
3246
+ }, c = L({}), d = L(0), u = L(0), m = L(""), f = T(() => [r.value, n.value]), v = Ae(
3239
3247
  f,
3240
3248
  (C) => {
3241
3249
  if (o.value && (l(), "ResizeObserver" in window && window)) {
3242
3250
  a = new ResizeObserver((I) => {
3243
3251
  window.requestAnimationFrame(() => {
3244
- !Array.isArray(I) || !I.length || c();
3252
+ !Array.isArray(I) || !I.length || s();
3245
3253
  });
3246
3254
  });
3247
3255
  for (const I of C)
@@ -3251,14 +3259,14 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3251
3259
  { immediate: !0, flush: "post", deep: !0 }
3252
3260
  ), y = T(() => o.value ? d.value > u.value : !1);
3253
3261
  return Yn(() => {
3254
- c();
3262
+ s();
3255
3263
  }), Vn(() => {
3256
3264
  v();
3257
3265
  }), (C, I) => {
3258
3266
  const b = U("KTooltip");
3259
3267
  return p(), w("span", {
3260
3268
  ref_key: "contentRef",
3261
- ref: s,
3269
+ ref: c,
3262
3270
  class: "content-wrapper"
3263
3271
  }, [
3264
3272
  o.value ? (p(), w("span", {
@@ -3279,7 +3287,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3279
3287
  ], 512);
3280
3288
  };
3281
3289
  }
3282
- }), Jo = /* @__PURE__ */ ie(Wo, [["__scopeId", "data-v-b252463e"]]), Go = { class: "toolbar-container" }, zo = {
3290
+ }), Jo = /* @__PURE__ */ ae(Wo, [["__scopeId", "data-v-b252463e"]]), Go = { class: "toolbar-container" }, zo = {
3283
3291
  key: 0,
3284
3292
  class: "toolbar-button-container"
3285
3293
  }, Qo = {
@@ -3414,7 +3422,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3414
3422
  },
3415
3423
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked", "state"],
3416
3424
  setup(e, { emit: t }) {
3417
- const n = e, r = t, { i18n: { t: i } } = H.useI18n(), o = T(() => {
3425
+ const n = e, r = t, { i18n: { t: i } } = Y.useI18n(), o = T(() => {
3418
3426
  var h, x;
3419
3427
  return typeof n.errorMessage == "string" ? {
3420
3428
  hasError: !!n.errorMessage,
@@ -3439,13 +3447,13 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3439
3447
  key: "actions",
3440
3448
  hideLabel: !0
3441
3449
  }), h;
3442
- }), c = (h) => ({
3450
+ }), s = (h) => ({
3443
3451
  "data-rowid": h.id,
3444
3452
  "data-testid": h.name,
3445
3453
  ...n.rowAttributes(h)
3446
- }), s = L({}), d = (h) => {
3454
+ }), c = L({}), d = (h) => {
3447
3455
  var x;
3448
- return (x = s.value) == null ? void 0 : x.$el.querySelector(`[data-rowid="${h.id}"]`);
3456
+ return (x = c.value) == null ? void 0 : x.$el.querySelector(`[data-rowid="${h.id}"]`);
3449
3457
  }, u = (h) => {
3450
3458
  const x = {
3451
3459
  "data-testid": h.headerKey,
@@ -3466,7 +3474,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3466
3474
  r("click:row", x);
3467
3475
  }), C = (h) => {
3468
3476
  r("sort", h);
3469
- }, { hideTableToolbar: I, handleStateChange: b } = H.useTableState(() => n.query), { setTablePreferences: R, getTablePreferences: F } = cr(), S = L(F(a.value, n.defaultTablePreferences)), g = T(() => {
3477
+ }, { hideTableToolbar: I, handleStateChange: b } = Y.useTableState(() => n.query), { setTablePreferences: R, getTablePreferences: F } = sr(), S = L(F(a.value, n.defaultTablePreferences)), g = T(() => {
3470
3478
  const h = F(a.value);
3471
3479
  return {
3472
3480
  ...n.initialFetcherParams,
@@ -3487,7 +3495,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3487
3495
  default: k(() => [
3488
3496
  D(B, {
3489
3497
  ref_key: "tableRefs",
3490
- ref: s,
3498
+ ref: c,
3491
3499
  "cache-identifier": a.value,
3492
3500
  "cell-attrs": u,
3493
3501
  "client-sort": e.enableClientSort,
@@ -3509,7 +3517,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3509
3517
  loading: e.isLoading,
3510
3518
  "pagination-attributes": { disablePageJump: e.disablePaginationPageJump, offset: e.paginationType === "offset" },
3511
3519
  "resize-columns": "",
3512
- "row-attrs": c,
3520
+ "row-attrs": s,
3513
3521
  "row-key": e.rowKey,
3514
3522
  "search-input": e.query,
3515
3523
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
@@ -3578,7 +3586,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3578
3586
  }, 8, ["title", "title-tag"]);
3579
3587
  };
3580
3588
  }
3581
- }), nc = /* @__PURE__ */ ie(Zo, [["__scopeId", "data-v-d58db70c"]]), Xo = {
3589
+ }), ns = /* @__PURE__ */ ae(Zo, [["__scopeId", "data-v-d58db70c"]]), Xo = {
3582
3590
  key: 0,
3583
3591
  class: "kong-ui-entity-delete-error"
3584
3592
  }, el = {
@@ -3623,12 +3631,12 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3623
3631
  },
3624
3632
  emits: ["cancel", "proceed"],
3625
3633
  setup(e, { emit: t }) {
3626
- const { i18nT: n } = H.useI18n(), r = e, i = t, o = T(() => r.needConfirm ? r.entityName : ""), a = () => {
3634
+ const { i18nT: n } = Y.useI18n(), r = e, i = t, o = T(() => r.needConfirm ? r.entityName : ""), a = () => {
3627
3635
  i("cancel");
3628
3636
  }, l = () => {
3629
3637
  i("proceed");
3630
3638
  };
3631
- return (c, s) => {
3639
+ return (s, c) => {
3632
3640
  const d = U("KAlert"), u = U("KPrompt");
3633
3641
  return p(), M(u, {
3634
3642
  "action-button-appearance": "danger",
@@ -3668,8 +3676,8 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3668
3676
  key: "0"
3669
3677
  } : void 0
3670
3678
  ]), 1032, ["keypath"]),
3671
- r.description || c.$slots.description ? (p(), w("div", el, [
3672
- P(c.$slots, "description", {}, () => [
3679
+ r.description || s.$slots.description ? (p(), w("div", el, [
3680
+ P(s.$slots, "description", {}, () => [
3673
3681
  N("p", null, E(r.description), 1)
3674
3682
  ], !0)
3675
3683
  ])) : j("", !0)
@@ -3678,7 +3686,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3678
3686
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3679
3687
  };
3680
3688
  }
3681
- }), rc = /* @__PURE__ */ ie(tl, [["__scopeId", "data-v-4361d622"]]), nl = {
3689
+ }), rs = /* @__PURE__ */ ae(tl, [["__scopeId", "data-v-4361d622"]]), nl = {
3682
3690
  fill: "none",
3683
3691
  height: "20",
3684
3692
  viewBox: "0 0 20 20",
@@ -3720,7 +3728,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3720
3728
  }), ll = {
3721
3729
  key: 1,
3722
3730
  class: "kong-ui-entity-filter"
3723
- }, cl = { class: "kong-ui-entity-filter-menu" }, sl = ["data-testid"], ul = ["onClick", "onKeydown"], dl = { class: "menu-item-indicator" }, fl = { class: "menu-item-body" }, pl = ["for"], ml = { class: "menu-item-buttons" }, hl = { class: "filter-clear-button-container" }, gl = /* @__PURE__ */ J({
3731
+ }, sl = { class: "kong-ui-entity-filter-menu" }, cl = ["data-testid"], ul = ["onClick", "onKeydown"], dl = { class: "menu-item-indicator" }, fl = { class: "menu-item-body" }, pl = ["for"], ml = { class: "menu-item-buttons" }, hl = { class: "filter-clear-button-container" }, gl = /* @__PURE__ */ J({
3724
3732
  __name: "EntityFilter",
3725
3733
  props: {
3726
3734
  // filter config, either exact match or fuzzy match
@@ -3740,12 +3748,12 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3740
3748
  },
3741
3749
  emits: ["update:modelValue"],
3742
3750
  setup(e, { emit: t }) {
3743
- const { i18n: { t: n } } = H.useI18n(), r = e, i = t, o = L(!1), a = L({}), l = L(/* @__PURE__ */ new Set()), c = T(() => {
3751
+ const { i18n: { t: n } } = Y.useI18n(), r = e, i = t, o = L(!1), a = L({}), l = L(/* @__PURE__ */ new Set()), s = T(() => {
3744
3752
  const F = [];
3745
3753
  return new URLSearchParams(r.modelValue).forEach((S, g) => {
3746
3754
  S !== "" && F.push(g);
3747
3755
  }), F;
3748
- }), s = T(() => {
3756
+ }), c = T(() => {
3749
3757
  const F = r.config.fields;
3750
3758
  return Object.keys(F).filter((S) => {
3751
3759
  var g;
@@ -3822,7 +3830,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3822
3830
  }, {
3823
3831
  default: k(() => [
3824
3832
  D(Bt),
3825
- q(" " + E(A(n)("filter.filterButtonText")) + " " + E(c.value.length > 0 ? `(${c.value.length})` : ""), 1)
3833
+ q(" " + E(A(n)("filter.filterButtonText")) + " " + E(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3826
3834
  ]),
3827
3835
  _: 1
3828
3836
  }),
@@ -3832,8 +3840,8 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3832
3840
  }, null, 512), [
3833
3841
  [ge, o.value]
3834
3842
  ]),
3835
- he(N("div", cl, [
3836
- (p(!0), w(le, null, oe(s.value, (x) => {
3843
+ he(N("div", sl, [
3844
+ (p(!0), w(le, null, oe(c.value, (x) => {
3837
3845
  var B, K;
3838
3846
  return p(), w("div", {
3839
3847
  key: x.value,
@@ -3841,7 +3849,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3841
3849
  "data-testid": x.value
3842
3850
  }, [
3843
3851
  N("span", {
3844
- class: se(["menu-item-title", { expanded: l.value.has(x.value) }]),
3852
+ class: ce(["menu-item-title", { expanded: l.value.has(x.value) }]),
3845
3853
  role: "button",
3846
3854
  tabindex: "0",
3847
3855
  onClick: (O) => u(x.value),
@@ -3849,10 +3857,10 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3849
3857
  }, [
3850
3858
  q(E(x.label) + " ", 1),
3851
3859
  he(N("span", dl, null, 512), [
3852
- [ge, c.value.includes(x.value)]
3860
+ [ge, s.value.includes(x.value)]
3853
3861
  ]),
3854
3862
  D(A(er), {
3855
- class: se(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
3863
+ class: ce(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
3856
3864
  color: A(Yr)
3857
3865
  }, null, 8, ["class", "color"])
3858
3866
  ], 42, ul),
@@ -3906,7 +3914,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3906
3914
  ], 512), [
3907
3915
  [ge, l.value.has(x.value)]
3908
3916
  ])
3909
- ], 8, sl);
3917
+ ], 8, cl);
3910
3918
  }), 128)),
3911
3919
  N("div", hl, [
3912
3920
  D($, {
@@ -3926,7 +3934,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3926
3934
  ]));
3927
3935
  };
3928
3936
  }
3929
- }), ic = /* @__PURE__ */ ie(gl, [["__scopeId", "data-v-10fa27a5"]]), ac = /* @__PURE__ */ J({
3937
+ }), is = /* @__PURE__ */ ae(gl, [["__scopeId", "data-v-10fa27a5"]]), as = /* @__PURE__ */ J({
3930
3938
  __name: "EntityToggleModal",
3931
3939
  props: {
3932
3940
  visible: {
@@ -3958,11 +3966,11 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3958
3966
  },
3959
3967
  emits: ["cancel", "proceed"],
3960
3968
  setup(e, { emit: t }) {
3961
- const { i18n: { t: n }, i18nT: r } = H.useI18n(), i = e, o = t, a = L(!1), l = T(
3969
+ const { i18n: { t: n }, i18nT: r } = Y.useI18n(), i = e, o = t, a = L(!1), l = T(
3962
3970
  () => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
3963
- ), c = T(
3971
+ ), s = T(
3964
3972
  () => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
3965
- ), s = () => o("cancel"), d = async () => {
3973
+ ), c = () => o("cancel"), d = async () => {
3966
3974
  if (i.onConfirm) {
3967
3975
  a.value = !0;
3968
3976
  try {
@@ -3979,11 +3987,11 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
3979
3987
  return p(), M(jt, { to: "body" }, [
3980
3988
  D(f, {
3981
3989
  "action-button-disabled": a.value,
3982
- "action-button-text": c.value,
3990
+ "action-button-text": s.value,
3983
3991
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
3984
3992
  title: l.value,
3985
3993
  visible: e.visible,
3986
- onCancel: s,
3994
+ onCancel: c,
3987
3995
  onProceed: d
3988
3996
  }, {
3989
3997
  default: k(() => [
@@ -4005,7 +4013,7 @@ const Fo = { class: "yaml-config config-card-code-block" }, Dn = /* @__PURE__ */
4005
4013
  ]);
4006
4014
  };
4007
4015
  }
4008
- }), oc = /* @__PURE__ */ J({
4016
+ }), os = /* @__PURE__ */ J({
4009
4017
  __name: "PermissionsWrapper",
4010
4018
  props: {
4011
4019
  /**
@@ -4097,13 +4105,13 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4097
4105
  const t = Xe(), n = Cl();
4098
4106
  return (r, i) => (p(), w("div", {
4099
4107
  "aria-labelledby": e.title ? A(n) : void 0,
4100
- class: se(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4108
+ class: ce(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4101
4109
  role: "group"
4102
4110
  }, [
4103
4111
  N("div", Al, [
4104
4112
  e.hideInfoHeader ? j("", !0) : (p(), w("div", {
4105
4113
  key: 0,
4106
- class: se(["form-section-info", { sticky: e.stickyInfoHeader }])
4114
+ class: ce(["form-section-info", { sticky: e.stickyInfoHeader }])
4107
4115
  }, [
4108
4116
  e.title ? (p(), M(Ne(e.titleTag), {
4109
4117
  key: 0,
@@ -4130,7 +4138,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4130
4138
  ])
4131
4139
  ], 10, kl));
4132
4140
  }
4133
- }), lc = /* @__PURE__ */ ie($l, [["__scopeId", "data-v-b1f74200"]]), Tl = {
4141
+ }), ls = /* @__PURE__ */ ae($l, [["__scopeId", "data-v-b1f74200"]]), Tl = {
4134
4142
  class: "kong-ui-public-entity-link",
4135
4143
  "data-testid": "entity-link-parent"
4136
4144
  }, Il = {
@@ -4160,21 +4168,21 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4160
4168
  }
4161
4169
  },
4162
4170
  setup(e) {
4163
- const t = e, n = L(), { isTruncated: r } = H.useTruncationDetector(n), { i18n: { t: i } } = H.useI18n(), o = i("global.actions.copyId"), a = L(o), l = T(() => t.entityLinkData.deleted ?? !1), c = T(() => {
4171
+ const t = e, n = L(), { isTruncated: r } = Y.useTruncationDetector(n), { i18n: { t: i } } = Y.useI18n(), o = i("global.actions.copyId"), a = L(o), l = T(() => t.entityLinkData.deleted ?? !1), s = T(() => {
4164
4172
  var u;
4165
4173
  return (u = t.entityLinkData.id) != null && u.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
4166
- }), s = T(() => {
4174
+ }), c = T(() => {
4167
4175
  var u;
4168
- return `${(u = c.value) == null ? void 0 : u.toString().slice(0, 5)} (deleted)`;
4176
+ return `${(u = s.value) == null ? void 0 : u.toString().slice(0, 5)} (deleted)`;
4169
4177
  }), d = async (u) => {
4170
- await u(c.value || "") && (a.value = i("global.actions.copyToClipboard"), setTimeout(() => {
4178
+ await u(s.value || "") && (a.value = i("global.actions.copyToClipboard"), setTimeout(() => {
4171
4179
  a.value = o;
4172
4180
  }, 1800));
4173
4181
  };
4174
4182
  return (u, m) => {
4175
4183
  const f = U("KTooltip"), v = U("KExternalLink"), y = U("KClipboardProvider");
4176
4184
  return p(), w("div", Tl, [
4177
- l.value ? (p(), w("div", Il, E(s.value), 1)) : c.value ? c.value ? (p(), M(v, {
4185
+ l.value ? (p(), w("div", Il, E(c.value), 1)) : s.value ? s.value ? (p(), M(v, {
4178
4186
  key: 2,
4179
4187
  class: "entity-link",
4180
4188
  "hide-icon": !e.newWindow,
@@ -4197,7 +4205,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4197
4205
  ]),
4198
4206
  _: 1
4199
4207
  }, 8, ["hide-icon", "href", "target"])) : j("", !0) : (p(), w("div", El, E(" – "))),
4200
- c.value && e.allowCopy ? (p(), M(f, {
4208
+ s.value && e.allowCopy ? (p(), M(f, {
4201
4209
  key: a.value,
4202
4210
  class: "copy-uuid-tooltip",
4203
4211
  "max-width": "160",
@@ -4227,7 +4235,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4227
4235
  ]);
4228
4236
  };
4229
4237
  }
4230
- }), cc = /* @__PURE__ */ ie(Ol, [["__scopeId", "data-v-2e2c07e5"]]), Ll = { class: "kong-ui-public-entity-empty-state" }, Rl = { class: "entity-empty-state-content" }, Bl = {
4238
+ }), ss = /* @__PURE__ */ ae(Ol, [["__scopeId", "data-v-2e2c07e5"]]), Ll = { class: "kong-ui-public-entity-empty-state" }, Rl = { class: "entity-empty-state-content" }, Bl = {
4231
4239
  key: 0,
4232
4240
  class: "empty-state-image"
4233
4241
  }, Kl = {
@@ -4295,11 +4303,11 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4295
4303
  },
4296
4304
  emits: ["click:create", "click:learn-more"],
4297
4305
  setup(e) {
4298
- const t = e, { i18n: { t: n } } = H.useI18n(), r = L(!1), i = T(() => r.value && !!t.actionButtonText), o = T(() => ft.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4306
+ const t = e, { i18n: { t: n } } = Y.useI18n(), r = L(!1), i = T(() => r.value && !!t.actionButtonText), o = T(() => ft.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4299
4307
  return et(async () => {
4300
4308
  r.value = await t.canCreate();
4301
4309
  }), (a, l) => {
4302
- const c = U("KCard");
4310
+ const s = U("KCard");
4303
4311
  return p(), w("div", Ll, [
4304
4312
  N("div", Rl, [
4305
4313
  a.$slots.image ? (p(), w("div", Bl, [
@@ -4307,7 +4315,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4307
4315
  ])) : j("", !0),
4308
4316
  e.title || a.$slots.title ? (p(), w("div", Kl, [
4309
4317
  N("h1", {
4310
- class: se(o.value)
4318
+ class: ce(o.value)
4311
4319
  }, [
4312
4320
  P(a.$slots, "title", {}, () => [
4313
4321
  q(E(e.title), 1)
@@ -4339,7 +4347,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4339
4347
  appearance: "primary",
4340
4348
  "data-testid": "entity-create-button",
4341
4349
  size: "large",
4342
- onClick: l[0] || (l[0] = (s) => a.$emit("click:create"))
4350
+ onClick: l[0] || (l[0] = (c) => a.$emit("click:create"))
4343
4351
  }, {
4344
4352
  default: k(() => [
4345
4353
  D(A(Pt)),
@@ -4352,7 +4360,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4352
4360
  appearance: "secondary",
4353
4361
  "data-testid": "entity-learn-more-button",
4354
4362
  size: "large",
4355
- onClick: l[1] || (l[1] = (s) => a.$emit("click:learn-more"))
4363
+ onClick: l[1] || (l[1] = (c) => a.$emit("click:learn-more"))
4356
4364
  }, {
4357
4365
  default: k(() => [
4358
4366
  D(A(Ut), { decorative: "" }),
@@ -4363,20 +4371,20 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4363
4371
  ], !0)
4364
4372
  ])) : j("", !0),
4365
4373
  e.features.length ? (p(), w("div", Ul, [
4366
- (p(!0), w(le, null, oe(e.features, (s, d) => (p(), M(c, {
4367
- key: s,
4374
+ (p(!0), w(le, null, oe(e.features, (c, d) => (p(), M(s, {
4375
+ key: c,
4368
4376
  class: "entity-empty-state-card"
4369
4377
  }, {
4370
4378
  title: k(() => [
4371
4379
  a.$slots[`feature-${d}-icon`] ? (p(), w("div", Pl, [
4372
4380
  P(a.$slots, `feature-${d}-icon`, {}, void 0, !0)
4373
4381
  ])) : j("", !0),
4374
- N("div", ql, E(s.title), 1)
4382
+ N("div", ql, E(c.title), 1)
4375
4383
  ]),
4376
4384
  default: k(() => [
4377
4385
  N("div", {
4378
- title: s.description
4379
- }, E(s.description), 9, Hl)
4386
+ title: c.description
4387
+ }, E(c.description), 9, Hl)
4380
4388
  ]),
4381
4389
  _: 2
4382
4390
  }, 1024))), 128))
@@ -4387,7 +4395,7 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4387
4395
  ]);
4388
4396
  };
4389
4397
  }
4390
- }), sc = /* @__PURE__ */ ie(Vl, [["__scopeId", "data-v-775534d4"]]), Wl = { key: 1 }, uc = /* @__PURE__ */ J({
4398
+ }), cs = /* @__PURE__ */ ae(Vl, [["__scopeId", "data-v-775534d4"]]), Wl = { key: 1 }, us = /* @__PURE__ */ J({
4391
4399
  __name: "TableTags",
4392
4400
  props: {
4393
4401
  /** The tags to display in the table */
@@ -4433,46 +4441,46 @@ const kl = ["aria-labelledby"], Al = { class: "form-section-wrapper" }, _l = {
4433
4441
  })) : (p(), w("span", Wl, "-"));
4434
4442
  };
4435
4443
  }
4436
- }), { useAxios: dc, useDeleteUrlBuilder: fc, useErrors: pc, useExternalLinkCreator: mc, useFetchUrlBuilder: hc, useFetcher: gc, useFetcherCacheKey: yc, useDebouncedFilter: vc, useStringHelpers: bc, useHelpers: xc, useGatewayFeatureSupported: Cc, useTruncationDetector: kc, useValidators: Ac, useSchemaProvider: _c, useTableState: wc } = H;
4444
+ }), { useAxios: ds, useDeleteUrlBuilder: fs, useErrors: ps, useExternalLinkCreator: ms, useFetchUrlBuilder: hs, useFetcher: gs, useFetcherCacheKey: ys, useDebouncedFilter: vs, useStringHelpers: bs, useHelpers: xs, useGatewayFeatureSupported: Cs, useTruncationDetector: ks, useValidators: As, useSchemaProvider: _s, useTableState: ws } = Y;
4437
4445
  export {
4438
4446
  ft as Appearances,
4439
4447
  No as ConfigCardDisplay,
4440
4448
  Gt as ConfigCardItem,
4441
- ae as ConfigurationSchemaSection,
4442
- Y as ConfigurationSchemaType,
4443
- ec as EntityBaseConfigCard,
4444
- tc as EntityBaseForm,
4449
+ ie as ConfigurationSchemaSection,
4450
+ H as ConfigurationSchemaType,
4451
+ es as EntityBaseConfigCard,
4452
+ ts as EntityBaseForm,
4445
4453
  ir as EntityBaseFormType,
4446
- nc as EntityBaseTable,
4447
- rc as EntityDeleteModal,
4448
- sc as EntityEmptyState,
4449
- ic as EntityFilter,
4450
- lc as EntityFormSection,
4451
- cc as EntityLink,
4452
- ac as EntityToggleModal,
4454
+ ns as EntityBaseTable,
4455
+ rs as EntityDeleteModal,
4456
+ cs as EntityEmptyState,
4457
+ is as EntityFilter,
4458
+ ls as EntityFormSection,
4459
+ ss as EntityLink,
4460
+ as as EntityToggleModal,
4453
4461
  rr as EntityTypes,
4454
4462
  de as FetcherStatus,
4455
4463
  Ur as InternalLinkItem,
4456
4464
  zt as JsonCodeBlock,
4457
- oc as PermissionsWrapper,
4465
+ os as PermissionsWrapper,
4458
4466
  tt as SupportedEntityType,
4459
4467
  Me as SupportedEntityTypesArray,
4460
- uc as TableTags,
4468
+ us as TableTags,
4461
4469
  jn as TerraformCodeBlock,
4462
4470
  Dn as YamlCodeBlock,
4463
- dc as useAxios,
4464
- vc as useDebouncedFilter,
4465
- fc as useDeleteUrlBuilder,
4466
- pc as useErrors,
4467
- mc as useExternalLinkCreator,
4468
- hc as useFetchUrlBuilder,
4469
- gc as useFetcher,
4470
- yc as useFetcherCacheKey,
4471
- Cc as useGatewayFeatureSupported,
4472
- xc as useHelpers,
4473
- _c as useSchemaProvider,
4474
- bc as useStringHelpers,
4475
- wc as useTableState,
4476
- kc as useTruncationDetector,
4477
- Ac as useValidators
4471
+ ds as useAxios,
4472
+ vs as useDebouncedFilter,
4473
+ fs as useDeleteUrlBuilder,
4474
+ ps as useErrors,
4475
+ ms as useExternalLinkCreator,
4476
+ hs as useFetchUrlBuilder,
4477
+ gs as useFetcher,
4478
+ ys as useFetcherCacheKey,
4479
+ Cs as useGatewayFeatureSupported,
4480
+ xs as useHelpers,
4481
+ _s as useSchemaProvider,
4482
+ bs as useStringHelpers,
4483
+ ws as useTableState,
4484
+ ks as useTruncationDetector,
4485
+ As as useValidators
4478
4486
  };