@kong-ui-public/entities-consumer-groups 2.5.1 → 2.5.2-pr.1209.35538b2b.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,7 +1,7 @@
1
- import { defineComponent as te, ref as O, computed as $, watch as Ae, renderSlot as ee, createCommentVNode as W, unref as g, onBeforeMount as ut, resolveComponent as q, openBlock as f, createBlock as G, createSlots as Me, withCtx as y, createElementVNode as R, createVNode as E, createTextVNode as Q, toDisplayString as B, renderList as ye, createElementBlock as F, withModifiers as yt, withDirectives as qe, vShow as Le, Fragment as ve, useSlots as _t, normalizeClass as Re, useCssVars as dn, inject as vr, onMounted as br, onUnmounted as kr, resolveDynamicComponent as Ze, normalizeStyle as pn, normalizeProps as Cr, guardReactiveProps as wr, mergeProps as _r, pushScopeId as fn, popScopeId as mn, reactive as Lt } from "vue";
2
- import { useRouter as It } from "vue-router";
3
- import { createI18n as gn, i18nTComponent as hn } from "@kong-ui-public/i18n";
4
- import Pt from "axios";
1
+ import { defineComponent as ee, ref as M, computed as x, watch as Ae, renderSlot as te, createCommentVNode as W, unref as m, onBeforeMount as ut, resolveComponent as q, openBlock as f, createBlock as G, createSlots as Me, withCtx as y, createElementVNode as V, createVNode as T, createTextVNode as Q, toDisplayString as K, renderList as ye, createElementBlock as O, withModifiers as yt, withDirectives as qe, vShow as Le, Fragment as ve, useSlots as _t, normalizeClass as Ve, useCssVars as gn, inject as vr, onMounted as br, onUnmounted as kr, resolveDynamicComponent as Ge, normalizeStyle as It, normalizeProps as Cr, guardReactiveProps as wr, mergeProps as _r, pushScopeId as At, popScopeId as xt, reactive as Rt } from "vue";
2
+ import { useRouter as St } from "vue-router";
3
+ import { createI18n as hn, i18nTComponent as yn } from "@kong-ui-public/i18n";
4
+ import Dt from "axios";
5
5
  import { BadgeMethodAppearances as Ir } from "@kong/kongponents";
6
6
  const Ar = {
7
7
  list: {
@@ -95,20 +95,20 @@ const Ar = {
95
95
  name: "The name can be any string containing letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
96
96
  }
97
97
  }
98
- }, Sr = {
98
+ }, xr = {
99
99
  consumer_groups: Ar
100
100
  };
101
- function xr() {
102
- const e = gn("en-us", Sr);
101
+ function Sr() {
102
+ const e = hn("en-us", xr);
103
103
  return {
104
104
  i18n: e,
105
- i18nT: hn(e)
105
+ i18nT: yn(e)
106
106
  // Translation component <i18n-t>
107
107
  };
108
108
  }
109
109
  const ct = {
110
- useI18n: xr
111
- }, _e = "/api/runtime_groups/{controlPlaneId}", Ie = "/{workspace}", xe = {
110
+ useI18n: Sr
111
+ }, _e = "/api/runtime_groups/{controlPlaneId}", Ie = "/{workspace}", Se = {
112
112
  list: {
113
113
  konnect: {
114
114
  all: `${_e}/consumer_groups`,
@@ -140,19 +140,19 @@ const ct = {
140
140
  }
141
141
  }
142
142
  };
143
- var yn = /* @__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))(yn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ee || {}), X = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(X || {}), he = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(he || {});
143
+ var vn = /* @__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))(vn || {}), rt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(rt || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ee || {}), X = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(X || {}), he = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(he || {});
144
144
  function $r() {
145
145
  return {
146
146
  getAxiosInstance: (e = {}) => {
147
147
  try {
148
148
  const n = vr("get-axios-instance", void 0);
149
- return typeof n == "function" ? n(e) : Pt.create({
149
+ return typeof n == "function" ? n(e) : Dt.create({
150
150
  withCredentials: !0,
151
151
  timeout: 3e4,
152
152
  ...e
153
153
  });
154
154
  } catch (n) {
155
- return console.warn("getAxiosInstance:", n.message || n), Pt.create({
155
+ return console.warn("getAxiosInstance:", n.message || n), Dt.create({
156
156
  withCredentials: !0,
157
157
  timeout: 3e4,
158
158
  ...e
@@ -213,7 +213,7 @@ function Er() {
213
213
  }
214
214
  };
215
215
  }
216
- function At(e = {}) {
216
+ function $t(e = {}) {
217
217
  const { getAxiosInstance: n } = $r();
218
218
  return {
219
219
  axiosInstance: n(e)
@@ -251,7 +251,7 @@ const Or = {
251
251
  noSearchResultsMessage: "Please adjust the criteria and try again.",
252
252
  noSearchResultsCtaText: "Clear"
253
253
  }
254
- }, Br = {
254
+ }, Nr = {
255
255
  title: "Configuration",
256
256
  actions: {
257
257
  copy: "Copy JSON"
@@ -286,7 +286,7 @@ const Or = {
286
286
  entryTitle: "Entry {index}",
287
287
  structuredFormat: "Structured"
288
288
  }
289
- }, Nr = {
289
+ }, Br = {
290
290
  filterButtonText: "Filter",
291
291
  fieldLabel: "Filter by:",
292
292
  inputPlaceholder: "Enter a value",
@@ -318,21 +318,21 @@ const Or = {
318
318
  deleteModal: Mr,
319
319
  baseForm: Fr,
320
320
  baseTable: Kr,
321
- baseConfigCard: Br,
322
- filter: Nr,
321
+ baseConfigCard: Nr,
322
+ filter: Br,
323
323
  debouncedFilter: qr,
324
324
  errors: Lr,
325
325
  toggleModal: Pr
326
326
  };
327
- function St() {
328
- const e = gn("en-us", Ur);
327
+ function jt() {
328
+ const e = hn("en-us", Ur);
329
329
  return {
330
330
  i18n: e,
331
- i18nT: hn(e)
331
+ i18nT: yn(e)
332
332
  // Translation component <i18n-t>
333
333
  };
334
334
  }
335
- function vn() {
335
+ function bn() {
336
336
  const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
337
337
  if (t.length !== r.length)
338
338
  return !1;
@@ -376,69 +376,69 @@ function vn() {
376
376
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
377
377
  };
378
378
  }
379
- function Rr(e, n, t, r = {
379
+ function Vr(e, n, t, r = {
380
380
  fetchedItemsKey: "data",
381
381
  searchKeys: ["id"]
382
382
  }) {
383
383
  t || (t = "100");
384
- const { axiosInstance: a } = At({
384
+ const { axiosInstance: a } = $t({
385
385
  headers: e.requestHeaders
386
- }), { i18n: { t: i } } = St(), { debounce: o } = jr(), s = o(async (v) => {
386
+ }), { i18n: { t: i } } = jt(), { debounce: o } = jr(), s = o(async (v) => {
387
387
  await U(v);
388
- }, 200), l = O(!1), u = O(""), d = O(""), c = O([]), m = O([]), p = O(void 0), S = g(n);
388
+ }, 200), l = M(!1), u = M(""), d = M(""), c = M([]), g = M([]), p = M(void 0), S = m(n);
389
389
  let C = `${e.apiBaseUrl}${S}`;
390
390
  e.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
391
- const { isValidUuid: I } = vn(), P = async () => {
391
+ const { isValidUuid: I } = bn(), P = async () => {
392
392
  try {
393
393
  l.value = !0;
394
394
  const { data: v } = await a.get(`${C}?size=${t}`);
395
- v != null && v.next || (p.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : [], c.value = m.value;
395
+ v != null && v.next || (p.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : []), g.value = r.fetchedItemsKey in v ? v[r.fetchedItemsKey] : [], c.value = g.value;
396
396
  } catch {
397
397
  c.value = [], u.value = i("debouncedFilter.errors.fetch");
398
398
  } finally {
399
399
  l.value = !1;
400
400
  }
401
- }, _ = O(""), U = async (v) => {
402
- var h, b, D;
401
+ }, _ = M(""), U = async (v) => {
402
+ var h, b, R;
403
403
  if (_.value !== v)
404
404
  if (_.value = v || "", p.value === void 0)
405
405
  try {
406
406
  if (l.value = !0, u.value = "", d.value = "", e.app === "konnect") {
407
- let N = C + "";
408
- v && (N += `/${v}`);
409
- const { data: x } = await a.get(`${N}?size=${t}`);
410
- r.fetchedItemsKey in x ? c.value = x[r.fetchedItemsKey] : x != null && x.id ? c.value = [x] : c.value = [];
407
+ let B = C + "";
408
+ v && (B += `/${v}`);
409
+ const { data: $ } = await a.get(`${B}?size=${t}`);
410
+ r.fetchedItemsKey in $ ? c.value = $[r.fetchedItemsKey] : $ != null && $.id ? c.value = [$] : c.value = [];
411
411
  } else if (v) {
412
- const N = [];
413
- I(v) && r.searchKeys.includes("id") ? N.push((async () => {
414
- const { data: M } = await a.get(`${C}/${v}`);
415
- return [M[r.fetchedItemsKey] ?? M];
416
- })()) : N.push(
417
- ...r.searchKeys.filter((M) => M !== "id").map(async (M) => {
418
- const { data: w } = await a.get(`${C}?${M}=${v}`);
412
+ const B = [];
413
+ I(v) && r.searchKeys.includes("id") ? B.push((async () => {
414
+ const { data: F } = await a.get(`${C}/${v}`);
415
+ return [F[r.fetchedItemsKey] ?? F];
416
+ })()) : B.push(
417
+ ...r.searchKeys.filter((F) => F !== "id").map(async (F) => {
418
+ const { data: w } = await a.get(`${C}?${F}=${v}`);
419
419
  return w[r.fetchedItemsKey];
420
420
  })
421
421
  );
422
- const x = await Promise.all(N), z = /* @__PURE__ */ new Set();
423
- c.value = [], (h = x == null ? void 0 : x.forEach) == null || h.call(x, (M) => {
422
+ const $ = await Promise.all(B), z = /* @__PURE__ */ new Set();
423
+ c.value = [], (h = $ == null ? void 0 : $.forEach) == null || h.call($, (F) => {
424
424
  var w;
425
- (w = M == null ? void 0 : M.forEach) == null || w.call(M, (A) => {
425
+ (w = F == null ? void 0 : F.forEach) == null || w.call(F, (A) => {
426
426
  z.has(A.id) || (z.add(A.id), c.value.push(A));
427
427
  });
428
428
  });
429
429
  } else
430
- c.value = m.value;
431
- } catch (N) {
432
- ((b = N == null ? void 0 : N.response) == null ? void 0 : b.status) === 404 ? d.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
430
+ c.value = g.value;
431
+ } catch (B) {
432
+ ((b = B == null ? void 0 : B.response) == null ? void 0 : b.status) === 404 ? d.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
433
433
  } finally {
434
434
  l.value = !1;
435
435
  }
436
436
  else
437
- l.value = !0, d.value = "", v ? (c.value = (D = p.value) == null ? void 0 : D.filter((N) => {
438
- var x;
437
+ l.value = !0, d.value = "", v ? (c.value = (R = p.value) == null ? void 0 : R.filter((B) => {
438
+ var $;
439
439
  let z = !1;
440
- for (const M of r.searchKeys) {
441
- const w = typeof N[M] == "string" ? (x = N[M]) == null ? void 0 : x.toLowerCase() : N[M];
440
+ for (const F of r.searchKeys) {
441
+ const w = typeof B[F] == "string" ? ($ = B[F]) == null ? void 0 : $.toLowerCase() : B[F];
442
442
  w != null && w.includes(v.toLowerCase()) && (z = !0);
443
443
  }
444
444
  return z;
@@ -454,14 +454,14 @@ function Rr(e, n, t, r = {
454
454
  debouncedQueryChange: s
455
455
  };
456
456
  }
457
- function Dr(e, n) {
458
- const t = g(n), r = $(
457
+ function Rr(e, n) {
458
+ const t = m(n), r = x(
459
459
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
460
460
  );
461
461
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
462
462
  }
463
- function Vr() {
464
- const { i18n: { t: e } } = St();
463
+ function Dr() {
464
+ const { i18n: { t: e } } = jt();
465
465
  return {
466
466
  getMessageFromError: (n) => {
467
467
  var t, r, a, i;
@@ -501,17 +501,17 @@ function Gr(e) {
501
501
  return console.warn("Failed to build valid URL:", r), "";
502
502
  }
503
503
  }
504
- function bn(e, n) {
505
- const t = O(g(e)), r = O(g(n)), a = $(
504
+ function kn(e, n) {
505
+ const t = M(m(e)), r = M(m(n)), a = x(
506
506
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
507
- ), i = $(
507
+ ), i = x(
508
508
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
509
509
  );
510
510
  return (o) => {
511
- const { page: s, pageSize: l, offset: u, sortColumnKey: d, sortColumnOrder: c, query: m } = o;
511
+ const { page: s, pageSize: l, offset: u, sortColumnKey: d, sortColumnOrder: c, query: g } = o;
512
512
  try {
513
513
  let p = new URL(i.value.href);
514
- return a.value && m ? (p.search = "", p = t.value.app === "konnect" ? new URL(`${p.href}?filter[name][contains]=${m}`) : new URL(`${p.href}/${m}/`)) : (a.value || new URLSearchParams(m).forEach((S, C) => {
514
+ return a.value && g ? (p.search = "", p = t.value.app === "konnect" ? new URL(`${p.href}?filter[name][contains]=${g}`) : new URL(`${p.href}/${g}/`)) : (a.value || new URLSearchParams(g).forEach((S, C) => {
515
515
  p.searchParams.append(C, S);
516
516
  }), d && p.searchParams.append("sort_by", d), c === "desc" && p.searchParams.append("sort_desc", "1"), p.searchParams.append("size", String(l))), u && s !== 1 && p.searchParams.append("offset", String(u)), p.href;
517
517
  } catch (p) {
@@ -520,9 +520,9 @@ function bn(e, n) {
520
520
  };
521
521
  }
522
522
  function zr(e, n, t = "data") {
523
- const r = g(n), { axiosInstance: a } = At({
523
+ const r = m(n), { axiosInstance: a } = $t({
524
524
  headers: e.requestHeaders
525
- }), i = bn(e, r), o = O({
525
+ }), i = kn(e, r), o = M({
526
526
  status: Ee.Idle
527
527
  });
528
528
  return { fetcher: async (s) => {
@@ -533,7 +533,7 @@ function zr(e, n, t = "data") {
533
533
  const { data: u } = await a.get(l), d = t && t.replace(/[^\w-_]/gi, "");
534
534
  let c;
535
535
  u[d] && Array.isArray(u[d]) ? c = u[d] : Array.isArray(u) ? c = u : c = Object.keys(u).length ? [u] : [];
536
- const m = {
536
+ const g = {
537
537
  data: c,
538
538
  total: c.length,
539
539
  ...u.offset ? {
@@ -544,8 +544,8 @@ function zr(e, n, t = "data") {
544
544
  };
545
545
  return o.value = {
546
546
  status: Ee.Idle,
547
- response: m
548
- }, m;
547
+ response: g
548
+ }, g;
549
549
  } catch (l) {
550
550
  const u = {
551
551
  data: [],
@@ -570,22 +570,22 @@ function Hr() {
570
570
  convertKeyToTitle: e
571
571
  };
572
572
  }
573
- const kn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Ut = (e) => {
573
+ const Cn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Gt = (e) => {
574
574
  if (typeof e != "string")
575
575
  throw new TypeError("Invalid argument expected string");
576
- const n = e.match(kn);
576
+ const n = e.match(Cn);
577
577
  if (!n)
578
578
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
579
579
  return n.shift(), n;
580
- }, Rt = (e) => e === "*" || e === "x" || e === "X", Dt = (e) => {
580
+ }, zt = (e) => e === "*" || e === "x" || e === "X", Ht = (e) => {
581
581
  const n = parseInt(e, 10);
582
582
  return isNaN(n) ? e : n;
583
583
  }, Jr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Yr = (e, n) => {
584
- if (Rt(e) || Rt(n))
584
+ if (zt(e) || zt(n))
585
585
  return 0;
586
- const [t, r] = Jr(Dt(e), Dt(n));
586
+ const [t, r] = Jr(Ht(e), Ht(n));
587
587
  return t > r ? 1 : t < r ? -1 : 0;
588
- }, Vt = (e, n) => {
588
+ }, Jt = (e, n) => {
589
589
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
590
590
  const r = Yr(e[t] || "0", n[t] || "0");
591
591
  if (r !== 0)
@@ -593,25 +593,25 @@ const kn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
593
593
  }
594
594
  return 0;
595
595
  }, Wr = (e, n) => {
596
- const t = Ut(e), r = Ut(n), a = t.pop(), i = r.pop(), o = Vt(t, r);
597
- return o !== 0 ? o : a && i ? Vt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
598
- }, Gt = (e, n, t) => {
596
+ const t = Gt(e), r = Gt(n), a = t.pop(), i = r.pop(), o = Jt(t, r);
597
+ return o !== 0 ? o : a && i ? Jt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
598
+ }, Yt = (e, n, t) => {
599
599
  Zr(t);
600
600
  const r = Wr(e, n);
601
- return Cn[t].includes(r);
602
- }, Cn = {
601
+ return wn[t].includes(r);
602
+ }, wn = {
603
603
  ">": [1],
604
604
  ">=": [0, 1],
605
605
  "=": [0],
606
606
  "<=": [-1, 0],
607
607
  "<": [-1],
608
608
  "!=": [-1, 1]
609
- }, zt = Object.keys(Cn), Zr = (e) => {
609
+ }, Wt = Object.keys(wn), Zr = (e) => {
610
610
  if (typeof e != "string")
611
611
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
612
- if (zt.indexOf(e) === -1)
613
- throw new Error(`Invalid operator, expected one of ${zt.join("|")}`);
614
- }, Qr = (e) => typeof e == "string" && /^[v\d]/.test(e) && kn.test(e);
612
+ if (Wt.indexOf(e) === -1)
613
+ throw new Error(`Invalid operator, expected one of ${Wt.join("|")}`);
614
+ }, Qr = (e) => typeof e == "string" && /^[v\d]/.test(e) && Cn.test(e);
615
615
  function Xr(e) {
616
616
  const { gatewayInfo: n, supportedRange: t } = e;
617
617
  if (!n)
@@ -623,33 +623,33 @@ function Xr(e) {
623
623
  if (!i)
624
624
  return !1;
625
625
  const [o, s] = i;
626
- return !(o && Gt(a, o, "<") || s && Gt(a, s, ">"));
626
+ return !(o && Yt(a, o, "<") || s && Yt(a, s, ">"));
627
627
  }
628
628
  function ea(e) {
629
- const n = O(0), t = O(0), r = O(!1);
629
+ const n = M(0), t = M(0), r = M(!1);
630
630
  return Ae(e, (a) => {
631
631
  a && !r.value && (n.value = a.offsetWidth, t.value = a.scrollWidth, r.value = !0);
632
632
  }), {
633
- isTruncated: $(() => n.value < t.value)
633
+ isTruncated: x(() => n.value < t.value)
634
634
  };
635
635
  }
636
636
  const se = {
637
- useAxios: At,
638
- useDebouncedFilter: Rr,
639
- useDeleteUrlBuilder: Dr,
640
- useErrors: Vr,
637
+ useAxios: $t,
638
+ useDebouncedFilter: Vr,
639
+ useDeleteUrlBuilder: Rr,
640
+ useErrors: Dr,
641
641
  useExternalLinkCreator: Gr,
642
642
  useFetcher: zr,
643
- useFetchUrlBuilder: bn,
644
- useHelpers: vn,
643
+ useFetchUrlBuilder: kn,
644
+ useHelpers: bn,
645
645
  useStringHelpers: Hr,
646
- useI18n: St,
646
+ useI18n: jt,
647
647
  useGatewayFeatureSupported: Xr,
648
648
  useTruncationDetector: ea
649
649
  }, ta = {
650
650
  key: 0,
651
651
  class: "config-card-fieldset-title"
652
- }, na = /* @__PURE__ */ te({
652
+ }, na = /* @__PURE__ */ ee({
653
653
  __name: "JsonCardItem",
654
654
  props: {
655
655
  item: {
@@ -666,25 +666,25 @@ const se = {
666
666
  }
667
667
  },
668
668
  setup(e) {
669
- const n = e, { i18n: { t } } = se.useI18n(), { convertKeyToTitle: r } = se.useStringHelpers(), a = $(() => n.item.key ?? "json-array-item"), i = $(() => n.item.value ?? n.item), o = $(() => {
669
+ const n = e, { i18n: { t } } = se.useI18n(), { convertKeyToTitle: r } = se.useStringHelpers(), a = x(() => n.item.key ?? "json-array-item"), i = x(() => n.item.value ?? n.item), o = x(() => {
670
670
  const l = JSON.parse(JSON.stringify(i.value));
671
671
  return n.isArrayItem && delete l.name, l;
672
- }), s = $(() => {
672
+ }), s = x(() => {
673
673
  var l;
674
674
  return n.isArrayItem ? (l = i.value) != null && l.name ? r(i.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
675
675
  });
676
- return (l, u) => (f(), G(Ze(e.isArrayItem ? "fieldset" : "div"), {
677
- class: Re(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
676
+ return (l, u) => (f(), G(Ge(e.isArrayItem ? "fieldset" : "div"), {
677
+ class: Ve(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
678
678
  }, {
679
679
  default: y(() => [
680
- e.isArrayItem ? (f(), F("legend", ta, [
681
- R("b", null, B(s.value), 1)
680
+ e.isArrayItem ? (f(), O("legend", ta, [
681
+ V("b", null, K(s.value), 1)
682
682
  ])) : W("", !0),
683
- (f(!0), F(ve, null, ye(Object.keys(o.value), (d, c) => (f(), G(_n, {
683
+ (f(!0), O(ve, null, ye(Object.keys(o.value), (d, c) => (f(), G(In, {
684
684
  key: `${a.value}-property-${c}`,
685
685
  item: {
686
686
  key: d,
687
- label: g(r)(d),
687
+ label: m(r)(d),
688
688
  value: o.value[d]
689
689
  }
690
690
  }, null, 8, ["item"]))), 128))
@@ -697,7 +697,7 @@ const se = {
697
697
  for (const [r, a] of n)
698
698
  t[r] = a;
699
699
  return t;
700
- }, wn = /* @__PURE__ */ be(na, [["__scopeId", "data-v-68ca83ec"]]), ra = /* @__PURE__ */ te({
700
+ }, _n = /* @__PURE__ */ be(na, [["__scopeId", "data-v-68ca83ec"]]), ra = /* @__PURE__ */ ee({
701
701
  __name: "InternalLinkItem",
702
702
  props: {
703
703
  item: {
@@ -710,21 +710,21 @@ const se = {
710
710
  const { i18n: { t: n } } = se.useI18n();
711
711
  return (t, r) => {
712
712
  const a = q("KButton");
713
- return f(), F("div", null, [
714
- E(a, {
713
+ return f(), O("div", null, [
714
+ T(a, {
715
715
  appearance: "tertiary",
716
716
  class: "navigation-button",
717
717
  onClick: r[0] || (r[0] = (i) => t.$emit("navigation-click", e.item))
718
718
  }, {
719
719
  default: y(() => [
720
- Q(B(e.item.value || g(n)("baseConfigCard.commonFields.link")), 1)
720
+ Q(K(e.item.value || m(n)("baseConfigCard.commonFields.link")), 1)
721
721
  ]),
722
722
  _: 1
723
723
  })
724
724
  ]);
725
725
  };
726
726
  }
727
- }), aa = /* @__PURE__ */ be(ra, [["__scopeId", "data-v-c96811e5"]]), oa = /* @__PURE__ */ te({
727
+ }), aa = /* @__PURE__ */ be(ra, [["__scopeId", "data-v-c96811e5"]]), oa = /* @__PURE__ */ ee({
728
728
  __name: "StatusBadge",
729
729
  props: {
730
730
  status: {
@@ -740,7 +740,7 @@ const se = {
740
740
  appearance: e.status ? "success" : "neutral"
741
741
  }, {
742
742
  default: y(() => [
743
- Q(B(e.status ? g(n)("baseConfigCard.statusBadge.enabledLabel") : g(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
743
+ Q(K(e.status ? m(n)("baseConfigCard.statusBadge.enabledLabel") : m(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
744
744
  ]),
745
745
  _: 1
746
746
  }, 8, ["appearance"]);
@@ -748,8 +748,8 @@ const se = {
748
748
  }
749
749
  }), ia = "#0044f4", sa = "#e0e4ea", la = "#3a3f51", ua = "1px", ca = "20px", da = { class: "config-card-details-row" }, pa = ["data-testid"], fa = ["data-testid"], ma = ["data-testid"], ga = ["data-testid"], ha = { key: 1 }, ya = ["data-testid"], va = ["data-testid"], ba = ["data-testid"], ka = ["data-testid"], Ca = {
750
750
  name: "ConfigCardItem",
751
- components: { JsonCardItem: wn, StatusBadge: oa, InternalLinkItem: aa }
752
- }, wa = /* @__PURE__ */ te({
751
+ components: { JsonCardItem: _n, StatusBadge: oa, InternalLinkItem: aa }
752
+ }, wa = /* @__PURE__ */ ee({
753
753
  ...Ca,
754
754
  props: {
755
755
  item: {
@@ -769,13 +769,13 @@ const se = {
769
769
  },
770
770
  emits: ["navigation-click"],
771
771
  setup(e, { emit: n }) {
772
- dn((S) => ({
773
- "07753575": d.value ? "none" : `solid ${g(ua)} ${g(sa)}`,
772
+ gn((S) => ({
773
+ "07753575": d.value ? "none" : `solid ${m(ua)} ${m(sa)}`,
774
774
  "32d44ea8": u.value && s.value ? "block" : "flex",
775
775
  "5036b738": u.value && s.value ? "100%" : t.slim ? "50%" : "25%",
776
776
  "5038fd13": u.value && s.value ? "100%" : t.slim ? "50%" : "75%"
777
777
  }));
778
- const t = e, r = n, a = _t(), { i18n: { t: i, formatUnixTimeStamp: o } } = se.useI18n(), s = $(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = $(() => !!(t.item.tooltip || a["label-tooltip"])), u = $(() => t.item.type === X.Json || t.item.type === X.JsonArray), d = $(() => t.item.type === X.JsonArray), c = $(() => {
778
+ const t = e, r = n, a = _t(), { i18n: { t: i, formatUnixTimeStamp: o } } = se.useI18n(), s = x(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = x(() => !!(t.item.tooltip || a["label-tooltip"])), u = x(() => t.item.type === X.Json || t.item.type === X.JsonArray), d = x(() => t.item.type === X.JsonArray), c = x(() => {
779
779
  switch (t.item.type) {
780
780
  case X.ID:
781
781
  return {
@@ -885,29 +885,29 @@ const se = {
885
885
  text: t.item.value
886
886
  };
887
887
  }
888
- }), m = O(), { isTruncated: p } = se.useTruncationDetector(m);
888
+ }), g = M(), { isTruncated: p } = se.useTruncationDetector(g);
889
889
  return (S, C) => {
890
890
  const I = q("KLabel"), P = q("KBadge"), _ = q("KCopy"), U = q("KTooltip");
891
- return f(), F("div", da, [
892
- R("div", {
891
+ return f(), O("div", da, [
892
+ V("div", {
893
893
  class: "config-card-details-label",
894
894
  "data-testid": `${e.item.key}-label`
895
895
  }, [
896
- ee(S.$slots, "label", { item: e.item }, () => [
897
- E(I, { "tooltip-attributes": { maxWidth: "500px" } }, Me({
896
+ te(S.$slots, "label", { item: e.item }, () => [
897
+ T(I, { "tooltip-attributes": { maxWidth: "500px" } }, Me({
898
898
  default: y(() => [
899
- Q(B(e.item.label) + " ", 1)
899
+ Q(K(e.item.label) + " ", 1)
900
900
  ]),
901
901
  _: 2
902
902
  }, [
903
903
  l.value ? {
904
904
  name: "tooltip",
905
905
  fn: y(() => [
906
- R("div", {
906
+ V("div", {
907
907
  "data-testid": `${e.item.key}-label-tooltip`
908
908
  }, [
909
- ee(S.$slots, "label-tooltip", {}, () => [
910
- Q(B(e.item.tooltip), 1)
909
+ te(S.$slots, "label-tooltip", {}, () => [
910
+ Q(K(e.item.tooltip), 1)
911
911
  ], !0)
912
912
  ], 8, fa)
913
913
  ]),
@@ -916,21 +916,21 @@ const se = {
916
916
  ]), 1024)
917
917
  ], !0)
918
918
  ], 8, pa),
919
- R("div", {
919
+ V("div", {
920
920
  class: "config-card-details-value",
921
921
  "data-testid": `${e.item.key}-property-value`
922
922
  }, [
923
- ee(S.$slots, e.item.key, {
923
+ te(S.$slots, e.item.key, {
924
924
  rowValue: e.item.value
925
925
  }, () => [
926
- s.value ? (f(), F("div", ha, [
927
- (f(), G(Ze(c.value.tag), Cr(wr(c.value.attrs)), {
926
+ s.value ? (f(), O("div", ha, [
927
+ (f(), G(Ge(c.value.tag), Cr(wr(c.value.attrs)), {
928
928
  default: y(() => [
929
- c.value.additionalComponent === "KBadge" ? (f(), F("div", {
929
+ c.value.additionalComponent === "KBadge" ? (f(), O("div", {
930
930
  key: 0,
931
931
  "data-testid": `${e.item.key}-badge-tags`
932
932
  }, [
933
- (f(!0), F(ve, null, ye(e.item.value, (v, h) => (f(), G(P, {
933
+ (f(!0), O(ve, null, ye(e.item.value, (v, h) => (f(), G(P, {
934
934
  key: `${e.item.key}-badge-tag-${h}`,
935
935
  class: "config-badge",
936
936
  "data-testid": `${e.item.key}-badge-tag-${h}`,
@@ -938,43 +938,43 @@ const se = {
938
938
  "truncation-tooltip": ""
939
939
  }, {
940
940
  default: y(() => [
941
- Q(B(v), 1)
941
+ Q(K(v), 1)
942
942
  ]),
943
943
  _: 2
944
944
  }, 1032, ["data-testid", "tooltip"]))), 128))
945
945
  ], 8, ya)) : W("", !0),
946
- c.value.additionalComponent === "KCopy" ? (f(), F("div", {
946
+ c.value.additionalComponent === "KCopy" ? (f(), O("div", {
947
947
  key: 1,
948
948
  class: "copy-uuid-array",
949
949
  "data-testid": `${e.item.key}-copy-uuid-array`
950
950
  }, [
951
- (f(!0), F(ve, null, ye(e.item.value, (v, h) => (f(), G(_, _r(c.value.childAttrs, {
951
+ (f(!0), O(ve, null, ye(e.item.value, (v, h) => (f(), G(_, _r(c.value.childAttrs, {
952
952
  key: `${e.item.key}-copy-uuid-${h}`,
953
953
  "data-testid": `${e.item.key}-copy-uuid-${h}`,
954
954
  text: v
955
955
  }), null, 16, ["data-testid", "text"]))), 128))
956
- ], 8, va)) : c.value.additionalComponent === "KMethodBadge" ? (f(), F("div", {
956
+ ], 8, va)) : c.value.additionalComponent === "KMethodBadge" ? (f(), O("div", {
957
957
  key: 2,
958
958
  class: "method-badge-array",
959
959
  "data-testid": `${e.item.key}-badge-methods`
960
960
  }, [
961
- (f(!0), F(ve, null, ye(e.item.value, (v, h) => (f(), G(P, {
961
+ (f(!0), O(ve, null, ye(e.item.value, (v, h) => (f(), G(P, {
962
962
  key: `${e.item.key}-badge-method-${h}`,
963
- appearance: Object.values(g(Ir)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
963
+ appearance: Object.values(m(Ir)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
964
964
  class: "config-badge",
965
965
  "data-testid": `${e.item.key}-badge-method-${h}`
966
966
  }, {
967
967
  default: y(() => [
968
- Q(B(v), 1)
968
+ Q(K(v), 1)
969
969
  ]),
970
970
  _: 2
971
971
  }, 1032, ["appearance", "data-testid"]))), 128))
972
972
  ], 8, ba)) : W("", !0),
973
- c.value.additionalComponent === "JsonCardItem" ? (f(), F("div", {
973
+ c.value.additionalComponent === "JsonCardItem" ? (f(), O("div", {
974
974
  key: 3,
975
975
  "data-testid": `${t.item.key}-json-array-content`
976
976
  }, [
977
- (f(!0), F(ve, null, ye(e.item.value, (v, h) => (f(), G(wn, {
977
+ (f(!0), O(ve, null, ye(e.item.value, (v, h) => (f(), G(_n, {
978
978
  key: `json-array-item-${h}`,
979
979
  index: h,
980
980
  "is-array-item": "",
@@ -982,21 +982,21 @@ const se = {
982
982
  }, null, 8, ["index", "item"]))), 128))
983
983
  ], 8, ka)) : (f(), G(U, {
984
984
  key: 4,
985
- text: g(p) ? e.item.value : ""
985
+ text: m(p) ? e.item.value : ""
986
986
  }, {
987
987
  default: y(() => [
988
- R("span", {
988
+ V("span", {
989
989
  ref_key: "textContent",
990
- ref: m,
991
- class: Re(["attrs-data-text", { truncated: e.truncated }])
992
- }, B(c.value.text), 3)
990
+ ref: g,
991
+ class: Ve(["attrs-data-text", { truncated: e.truncated }])
992
+ }, K(c.value.text), 3)
993
993
  ]),
994
994
  _: 1
995
995
  }, 8, ["text"]))
996
996
  ]),
997
997
  _: 1
998
998
  }, 16))
999
- ])) : (f(), F("div", {
999
+ ])) : (f(), O("div", {
1000
1000
  key: 0,
1001
1001
  "data-testid": `${e.item.key}-no-value`
1002
1002
  }, " – ", 8, ga))
@@ -1005,10 +1005,10 @@ const se = {
1005
1005
  ]);
1006
1006
  };
1007
1007
  }
1008
- }), _n = /* @__PURE__ */ be(wa, [["__scopeId", "data-v-d056663c"]]), _a = { class: "json-config" }, Ia = {
1008
+ }), In = /* @__PURE__ */ be(wa, [["__scopeId", "data-v-d056663c"]]), _a = { class: "json-config" }, Ia = {
1009
1009
  key: 0,
1010
1010
  class: "json-endpoint"
1011
- }, In = /* @__PURE__ */ te({
1011
+ }, An = /* @__PURE__ */ ee({
1012
1012
  __name: "JsonCodeBlock",
1013
1013
  props: {
1014
1014
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1036,10 +1036,10 @@ const se = {
1036
1036
  }
1037
1037
  },
1038
1038
  setup(e) {
1039
- dn((a) => ({
1039
+ gn((a) => ({
1040
1040
  "2d178975": `${r.value}ch`
1041
1041
  }));
1042
- const n = e, t = $(() => n.jsonRecord), r = $(() => {
1042
+ const n = e, t = x(() => n.jsonRecord), r = x(() => {
1043
1043
  var a;
1044
1044
  if (!n.fetcherUrl)
1045
1045
  return 0;
@@ -1049,17 +1049,17 @@ const se = {
1049
1049
  return (a, i) => {
1050
1050
  var o;
1051
1051
  const s = q("KBadge"), l = q("KCodeBlock");
1052
- return f(), F("div", _a, [
1053
- n.fetcherUrl && (o = n.config) != null && o.jsonYamlFormsEnabled ? (f(), F("div", Ia, [
1054
- E(s, {
1052
+ return f(), O("div", _a, [
1053
+ n.fetcherUrl && (o = n.config) != null && o.jsonYamlFormsEnabled ? (f(), O("div", Ia, [
1054
+ T(s, {
1055
1055
  appearance: n.requestMethod
1056
1056
  }, {
1057
1057
  default: y(() => [
1058
- Q(B(n.requestMethod), 1)
1058
+ Q(K(n.requestMethod), 1)
1059
1059
  ]),
1060
1060
  _: 1
1061
1061
  }, 8, ["appearance"]),
1062
- E(l, {
1062
+ T(l, {
1063
1063
  id: "json-endpoint-codeblock",
1064
1064
  code: n.fetcherUrl,
1065
1065
  "is-single-line": "",
@@ -1070,7 +1070,7 @@ const se = {
1070
1070
  n.jsonRecord ? (f(), G(l, {
1071
1071
  key: 1,
1072
1072
  id: "json-codeblock",
1073
- class: Re({ "json-content": n.fetcherUrl }),
1073
+ class: Ve({ "json-content": n.fetcherUrl }),
1074
1074
  code: JSON.stringify(t.value, null, 2),
1075
1075
  language: "json",
1076
1076
  theme: "dark"
@@ -1080,16 +1080,16 @@ const se = {
1080
1080
  }
1081
1081
  });
1082
1082
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1083
- function An(e) {
1083
+ function xn(e) {
1084
1084
  return typeof e > "u" || e === null;
1085
1085
  }
1086
1086
  function Aa(e) {
1087
1087
  return typeof e == "object" && e !== null;
1088
1088
  }
1089
- function Sa(e) {
1090
- return Array.isArray(e) ? e : An(e) ? [] : [e];
1089
+ function xa(e) {
1090
+ return Array.isArray(e) ? e : xn(e) ? [] : [e];
1091
1091
  }
1092
- function xa(e, n) {
1092
+ function Sa(e, n) {
1093
1093
  var t, r, a, i;
1094
1094
  if (n)
1095
1095
  for (i = Object.keys(n), t = 0, r = i.length; t < r; t += 1)
@@ -1105,7 +1105,7 @@ function $a(e, n) {
1105
1105
  function ja(e) {
1106
1106
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1107
1107
  }
1108
- var Ta = An, Ea = Aa, Oa = Sa, Ma = $a, Fa = ja, Ka = xa, ie = {
1108
+ var Ta = xn, Ea = Aa, Oa = xa, Ma = $a, Fa = ja, Ka = Sa, ie = {
1109
1109
  isNothing: Ta,
1110
1110
  isObject: Ea,
1111
1111
  toArray: Oa,
@@ -1119,15 +1119,15 @@ function Sn(e, n) {
1119
1119
 
1120
1120
  ` + e.mark.snippet), r + " " + t) : r;
1121
1121
  }
1122
- function He(e, n) {
1122
+ function Ye(e, n) {
1123
1123
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = Sn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1124
1124
  }
1125
- He.prototype = Object.create(Error.prototype);
1126
- He.prototype.constructor = He;
1127
- He.prototype.toString = function(e) {
1125
+ Ye.prototype = Object.create(Error.prototype);
1126
+ Ye.prototype.constructor = Ye;
1127
+ Ye.prototype.toString = function(e) {
1128
1128
  return this.name + ": " + Sn(this, e);
1129
1129
  };
1130
- var fe = He;
1130
+ var fe = Ye;
1131
1131
  function mt(e, n, t, r, a) {
1132
1132
  var i = "", o = "", s = Math.floor(a / 2) - 1;
1133
1133
  return r - n > s && (i = " ... ", n = r - s + i.length), t - r > s && (o = " ...", t = r + s - o.length), {
@@ -1139,7 +1139,7 @@ function mt(e, n, t, r, a) {
1139
1139
  function gt(e, n) {
1140
1140
  return ie.repeat(" ", n - e.length) + e;
1141
1141
  }
1142
- function Ba(e, n) {
1142
+ function Na(e, n) {
1143
1143
  if (n = Object.create(n || null), !e.buffer)
1144
1144
  return null;
1145
1145
  n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
@@ -1169,7 +1169,7 @@ function Ba(e, n) {
1169
1169
  `;
1170
1170
  return s.replace(/\n$/, "");
1171
1171
  }
1172
- var Na = Ba, qa = [
1172
+ var Ba = Na, qa = [
1173
1173
  "kind",
1174
1174
  "multi",
1175
1175
  "resolve",
@@ -1205,7 +1205,7 @@ function Ua(e, n) {
1205
1205
  throw new fe('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1206
1206
  }
1207
1207
  var le = Ua;
1208
- function Ht(e, n) {
1208
+ function Zt(e, n) {
1209
1209
  var t = [];
1210
1210
  return e[n].forEach(function(r) {
1211
1211
  var a = t.length;
@@ -1214,7 +1214,7 @@ function Ht(e, n) {
1214
1214
  }), t[a] = r;
1215
1215
  }), t;
1216
1216
  }
1217
- function Ra() {
1217
+ function Va() {
1218
1218
  var e = {
1219
1219
  scalar: {},
1220
1220
  sequence: {},
@@ -1259,46 +1259,46 @@ vt.prototype.extend = function(e) {
1259
1259
  throw new fe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1260
1260
  });
1261
1261
  var r = Object.create(vt.prototype);
1262
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Ht(r, "implicit"), r.compiledExplicit = Ht(r, "explicit"), r.compiledTypeMap = Ra(r.compiledImplicit, r.compiledExplicit), r;
1262
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Zt(r, "implicit"), r.compiledExplicit = Zt(r, "explicit"), r.compiledTypeMap = Va(r.compiledImplicit, r.compiledExplicit), r;
1263
1263
  };
1264
- var xn = vt, $n = new le("tag:yaml.org,2002:str", {
1264
+ var $n = vt, jn = new le("tag:yaml.org,2002:str", {
1265
1265
  kind: "scalar",
1266
1266
  construct: function(e) {
1267
1267
  return e !== null ? e : "";
1268
1268
  }
1269
- }), jn = new le("tag:yaml.org,2002:seq", {
1269
+ }), Tn = new le("tag:yaml.org,2002:seq", {
1270
1270
  kind: "sequence",
1271
1271
  construct: function(e) {
1272
1272
  return e !== null ? e : [];
1273
1273
  }
1274
- }), Tn = new le("tag:yaml.org,2002:map", {
1274
+ }), En = new le("tag:yaml.org,2002:map", {
1275
1275
  kind: "mapping",
1276
1276
  construct: function(e) {
1277
1277
  return e !== null ? e : {};
1278
1278
  }
1279
- }), En = new xn({
1279
+ }), On = new $n({
1280
1280
  explicit: [
1281
- $n,
1282
1281
  jn,
1283
- Tn
1282
+ Tn,
1283
+ En
1284
1284
  ]
1285
1285
  });
1286
- function Da(e) {
1286
+ function Ra(e) {
1287
1287
  if (e === null)
1288
1288
  return !0;
1289
1289
  var n = e.length;
1290
1290
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1291
1291
  }
1292
- function Va() {
1292
+ function Da() {
1293
1293
  return null;
1294
1294
  }
1295
1295
  function Ga(e) {
1296
1296
  return e === null;
1297
1297
  }
1298
- var On = new le("tag:yaml.org,2002:null", {
1298
+ var Mn = new le("tag:yaml.org,2002:null", {
1299
1299
  kind: "scalar",
1300
- resolve: Da,
1301
- construct: Va,
1300
+ resolve: Ra,
1301
+ construct: Da,
1302
1302
  predicate: Ga,
1303
1303
  represent: {
1304
1304
  canonical: function() {
@@ -1331,7 +1331,7 @@ function Ha(e) {
1331
1331
  function Ja(e) {
1332
1332
  return Object.prototype.toString.call(e) === "[object Boolean]";
1333
1333
  }
1334
- var Mn = new le("tag:yaml.org,2002:bool", {
1334
+ var Fn = new le("tag:yaml.org,2002:bool", {
1335
1335
  kind: "scalar",
1336
1336
  resolve: za,
1337
1337
  construct: Ha,
@@ -1422,7 +1422,7 @@ function Xa(e) {
1422
1422
  function eo(e) {
1423
1423
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ie.isNegativeZero(e);
1424
1424
  }
1425
- var Fn = new le("tag:yaml.org,2002:int", {
1425
+ var Kn = new le("tag:yaml.org,2002:int", {
1426
1426
  kind: "scalar",
1427
1427
  resolve: Qa,
1428
1428
  construct: Xa,
@@ -1499,31 +1499,31 @@ function oo(e, n) {
1499
1499
  function io(e) {
1500
1500
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ie.isNegativeZero(e));
1501
1501
  }
1502
- var Kn = new le("tag:yaml.org,2002:float", {
1502
+ var Nn = new le("tag:yaml.org,2002:float", {
1503
1503
  kind: "scalar",
1504
1504
  resolve: no,
1505
1505
  construct: ro,
1506
1506
  predicate: io,
1507
1507
  represent: oo,
1508
1508
  defaultStyle: "lowercase"
1509
- }), Bn = En.extend({
1509
+ }), Bn = On.extend({
1510
1510
  implicit: [
1511
- On,
1512
1511
  Mn,
1513
1512
  Fn,
1514
- Kn
1513
+ Kn,
1514
+ Nn
1515
1515
  ]
1516
- }), Nn = Bn, qn = new RegExp(
1516
+ }), qn = Bn, Ln = new RegExp(
1517
1517
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1518
- ), Ln = new RegExp(
1518
+ ), Pn = new RegExp(
1519
1519
  "^([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]))?))?$"
1520
1520
  );
1521
1521
  function so(e) {
1522
- return e === null ? !1 : qn.exec(e) !== null || Ln.exec(e) !== null;
1522
+ return e === null ? !1 : Ln.exec(e) !== null || Pn.exec(e) !== null;
1523
1523
  }
1524
1524
  function lo(e) {
1525
- var n, t, r, a, i, o, s, l = 0, u = null, d, c, m;
1526
- if (n = qn.exec(e), n === null && (n = Ln.exec(e)), n === null)
1525
+ var n, t, r, a, i, o, s, l = 0, u = null, d, c, g;
1526
+ if (n = Ln.exec(e), n === null && (n = Pn.exec(e)), n === null)
1527
1527
  throw new Error("Date resolve error");
1528
1528
  if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
1529
1529
  return new Date(Date.UTC(t, r, a));
@@ -1532,12 +1532,12 @@ function lo(e) {
1532
1532
  l += "0";
1533
1533
  l = +l;
1534
1534
  }
1535
- return n[9] && (d = +n[10], c = +(n[11] || 0), u = (d * 60 + c) * 6e4, n[9] === "-" && (u = -u)), m = new Date(Date.UTC(t, r, a, i, o, s, l)), u && m.setTime(m.getTime() - u), m;
1535
+ return n[9] && (d = +n[10], c = +(n[11] || 0), u = (d * 60 + c) * 6e4, n[9] === "-" && (u = -u)), g = new Date(Date.UTC(t, r, a, i, o, s, l)), u && g.setTime(g.getTime() - u), g;
1536
1536
  }
1537
1537
  function uo(e) {
1538
1538
  return e.toISOString();
1539
1539
  }
1540
- var Pn = new le("tag:yaml.org,2002:timestamp", {
1540
+ var Un = new le("tag:yaml.org,2002:timestamp", {
1541
1541
  kind: "scalar",
1542
1542
  resolve: so,
1543
1543
  construct: lo,
@@ -1547,15 +1547,15 @@ var Pn = new le("tag:yaml.org,2002:timestamp", {
1547
1547
  function co(e) {
1548
1548
  return e === "<<" || e === null;
1549
1549
  }
1550
- var Un = new le("tag:yaml.org,2002:merge", {
1550
+ var Vn = new le("tag:yaml.org,2002:merge", {
1551
1551
  kind: "scalar",
1552
1552
  resolve: co
1553
- }), xt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1553
+ }), Tt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1554
1554
  \r`;
1555
1555
  function po(e) {
1556
1556
  if (e === null)
1557
1557
  return !1;
1558
- var n, t, r = 0, a = e.length, i = xt;
1558
+ var n, t, r = 0, a = e.length, i = Tt;
1559
1559
  for (t = 0; t < a; t++)
1560
1560
  if (n = i.indexOf(e.charAt(t)), !(n > 64)) {
1561
1561
  if (n < 0)
@@ -1565,13 +1565,13 @@ function po(e) {
1565
1565
  return r % 8 === 0;
1566
1566
  }
1567
1567
  function fo(e) {
1568
- var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, i = xt, o = 0, s = [];
1568
+ var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, i = Tt, o = 0, s = [];
1569
1569
  for (n = 0; n < a; n++)
1570
1570
  n % 4 === 0 && n && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | i.indexOf(r.charAt(n));
1571
1571
  return t = a % 4 * 6, t === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : t === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : t === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
1572
1572
  }
1573
1573
  function mo(e) {
1574
- var n = "", t = 0, r, a, i = e.length, o = xt;
1574
+ var n = "", t = 0, r, a, i = e.length, o = Tt;
1575
1575
  for (r = 0; r < i; r++)
1576
1576
  r % 3 === 0 && r && (n += o[t >> 18 & 63], n += o[t >> 12 & 63], n += o[t >> 6 & 63], n += o[t & 63]), t = (t << 8) + e[r];
1577
1577
  return a = i % 3, a === 0 ? (n += o[t >> 18 & 63], n += o[t >> 12 & 63], n += o[t >> 6 & 63], n += o[t & 63]) : a === 2 ? (n += o[t >> 10 & 63], n += o[t >> 4 & 63], n += o[t << 2 & 63], n += o[64]) : a === 1 && (n += o[t >> 2 & 63], n += o[t << 4 & 63], n += o[64], n += o[64]), n;
@@ -1635,7 +1635,7 @@ function wo(e) {
1635
1635
  r = o[n], a = Object.keys(r), i[n] = [a[0], r[a[0]]];
1636
1636
  return i;
1637
1637
  }
1638
- var Vn = new le("tag:yaml.org,2002:pairs", {
1638
+ var Gn = new le("tag:yaml.org,2002:pairs", {
1639
1639
  kind: "sequence",
1640
1640
  resolve: Co,
1641
1641
  construct: wo
@@ -1652,23 +1652,23 @@ function Io(e) {
1652
1652
  function Ao(e) {
1653
1653
  return e !== null ? e : {};
1654
1654
  }
1655
- var Gn = new le("tag:yaml.org,2002:set", {
1655
+ var zn = new le("tag:yaml.org,2002:set", {
1656
1656
  kind: "mapping",
1657
1657
  resolve: Io,
1658
1658
  construct: Ao
1659
- }), $t = Nn.extend({
1659
+ }), Et = qn.extend({
1660
1660
  implicit: [
1661
- Pn,
1662
- Un
1661
+ Un,
1662
+ Vn
1663
1663
  ],
1664
1664
  explicit: [
1665
1665
  Rn,
1666
1666
  Dn,
1667
- Vn,
1668
- Gn
1667
+ Gn,
1668
+ zn
1669
1669
  ]
1670
- }), je = Object.prototype.hasOwnProperty, rt = 1, zn = 2, Hn = 3, at = 4, ht = 1, So = 2, Jt = 3, xo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, $o = /[\x85\u2028\u2029]/, jo = /[,\[\]\{\}]/, Jn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1671
- function Yt(e) {
1670
+ }), je = Object.prototype.hasOwnProperty, at = 1, Hn = 2, Jn = 3, ot = 4, ht = 1, xo = 2, Qt = 3, So = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, $o = /[\x85\u2028\u2029]/, jo = /[,\[\]\{\}]/, Yn = /^(?:!|!!|![a-z\-]+!)$/i, Wn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1671
+ function Xt(e) {
1672
1672
  return Object.prototype.toString.call(e);
1673
1673
  }
1674
1674
  function we(e) {
@@ -1693,7 +1693,7 @@ function Eo(e) {
1693
1693
  function Oo(e) {
1694
1694
  return 48 <= e && e <= 57 ? e - 48 : -1;
1695
1695
  }
1696
- function Wt(e) {
1696
+ function en(e) {
1697
1697
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1698
1698
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1699
1699
  }
@@ -1703,13 +1703,13 @@ function Mo(e) {
1703
1703
  (e - 65536 & 1023) + 56320
1704
1704
  );
1705
1705
  }
1706
- var Wn = new Array(256), Zn = new Array(256);
1707
- for (var Be = 0; Be < 256; Be++)
1708
- Wn[Be] = Wt(Be) ? 1 : 0, Zn[Be] = Wt(Be);
1706
+ var Zn = new Array(256), Qn = new Array(256);
1707
+ for (var Ne = 0; Ne < 256; Ne++)
1708
+ Zn[Ne] = en(Ne) ? 1 : 0, Qn[Ne] = en(Ne);
1709
1709
  function Fo(e, n) {
1710
- this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1710
+ this.input = e, this.filename = n.filename || null, this.schema = n.schema || Et, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1711
1711
  }
1712
- function Qn(e, n) {
1712
+ function Xn(e, n) {
1713
1713
  var t = {
1714
1714
  name: e.filename,
1715
1715
  buffer: e.input.slice(0, -1),
@@ -1718,26 +1718,26 @@ function Qn(e, n) {
1718
1718
  line: e.line,
1719
1719
  column: e.position - e.lineStart
1720
1720
  };
1721
- return t.snippet = Na(t), new fe(n, t);
1721
+ return t.snippet = Ba(t), new fe(n, t);
1722
1722
  }
1723
- function T(e, n) {
1724
- throw Qn(e, n);
1723
+ function E(e, n) {
1724
+ throw Xn(e, n);
1725
1725
  }
1726
- function ot(e, n) {
1727
- e.onWarning && e.onWarning.call(null, Qn(e, n));
1726
+ function it(e, n) {
1727
+ e.onWarning && e.onWarning.call(null, Xn(e, n));
1728
1728
  }
1729
- var Zt = {
1729
+ var tn = {
1730
1730
  YAML: function(e, n, t) {
1731
1731
  var r, a, i;
1732
- e.version !== null && T(e, "duplication of %YAML directive"), t.length !== 1 && T(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && T(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && T(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && ot(e, "unsupported YAML version of the document");
1732
+ e.version !== null && E(e, "duplication of %YAML directive"), t.length !== 1 && E(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && E(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && E(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && it(e, "unsupported YAML version of the document");
1733
1733
  },
1734
1734
  TAG: function(e, n, t) {
1735
1735
  var r, a;
1736
- t.length !== 2 && T(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Jn.test(r) || T(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && T(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Yn.test(a) || T(e, "ill-formed tag prefix (second argument) of the TAG directive");
1736
+ t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Yn.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Wn.test(a) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1737
1737
  try {
1738
1738
  a = decodeURIComponent(a);
1739
1739
  } catch {
1740
- T(e, "tag prefix is malformed: " + a);
1740
+ E(e, "tag prefix is malformed: " + a);
1741
1741
  }
1742
1742
  e.tagMap[r] = a;
1743
1743
  }
@@ -1747,30 +1747,30 @@ function $e(e, n, t, r) {
1747
1747
  if (n < t) {
1748
1748
  if (s = e.input.slice(n, t), r)
1749
1749
  for (a = 0, i = s.length; a < i; a += 1)
1750
- o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || T(e, "expected valid JSON character");
1750
+ o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || E(e, "expected valid JSON character");
1751
1751
  else
1752
- xo.test(s) && T(e, "the stream contains non-printable characters");
1752
+ So.test(s) && E(e, "the stream contains non-printable characters");
1753
1753
  e.result += s;
1754
1754
  }
1755
1755
  }
1756
- function Qt(e, n, t, r) {
1756
+ function nn(e, n, t, r) {
1757
1757
  var a, i, o, s;
1758
- for (ie.isObject(t) || T(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, s = a.length; o < s; o += 1)
1758
+ for (ie.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, s = a.length; o < s; o += 1)
1759
1759
  i = a[o], je.call(n, i) || (n[i] = t[i], r[i] = !0);
1760
1760
  }
1761
1761
  function Ue(e, n, t, r, a, i, o, s, l) {
1762
1762
  var u, d;
1763
1763
  if (Array.isArray(a))
1764
1764
  for (a = Array.prototype.slice.call(a), u = 0, d = a.length; u < d; u += 1)
1765
- Array.isArray(a[u]) && T(e, "nested arrays are not supported inside keys"), typeof a == "object" && Yt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1766
- if (typeof a == "object" && Yt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1765
+ Array.isArray(a[u]) && E(e, "nested arrays are not supported inside keys"), typeof a == "object" && Xt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1766
+ if (typeof a == "object" && Xt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1767
1767
  if (Array.isArray(i))
1768
1768
  for (u = 0, d = i.length; u < d; u += 1)
1769
- Qt(e, n, i[u], t);
1769
+ nn(e, n, i[u], t);
1770
1770
  else
1771
- Qt(e, n, i, t);
1771
+ nn(e, n, i, t);
1772
1772
  else
1773
- !e.json && !je.call(t, a) && je.call(n, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, T(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1773
+ !e.json && !je.call(t, a) && je.call(n, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1774
1774
  configurable: !0,
1775
1775
  enumerable: !0,
1776
1776
  writable: !0,
@@ -1778,9 +1778,9 @@ function Ue(e, n, t, r, a, i, o, s, l) {
1778
1778
  }) : n[a] = i, delete t[a];
1779
1779
  return n;
1780
1780
  }
1781
- function jt(e) {
1781
+ function Ot(e) {
1782
1782
  var n;
1783
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : T(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1783
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1784
1784
  }
1785
1785
  function oe(e, n, t) {
1786
1786
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
@@ -1791,23 +1791,23 @@ function oe(e, n, t) {
1791
1791
  a = e.input.charCodeAt(++e.position);
1792
1792
  while (a !== 10 && a !== 13 && a !== 0);
1793
1793
  if (we(a))
1794
- for (jt(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1794
+ for (Ot(e), a = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; a === 32; )
1795
1795
  e.lineIndent++, a = e.input.charCodeAt(++e.position);
1796
1796
  else
1797
1797
  break;
1798
1798
  }
1799
- return t !== -1 && r !== 0 && e.lineIndent < t && ot(e, "deficient indentation"), r;
1799
+ return t !== -1 && r !== 0 && e.lineIndent < t && it(e, "deficient indentation"), r;
1800
1800
  }
1801
1801
  function dt(e) {
1802
1802
  var n = e.position, t;
1803
1803
  return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || ge(t)));
1804
1804
  }
1805
- function Tt(e, n) {
1805
+ function Mt(e, n) {
1806
1806
  n === 1 ? e.result += " " : n > 1 && (e.result += ie.repeat(`
1807
1807
  `, n - 1));
1808
1808
  }
1809
1809
  function Ko(e, n, t) {
1810
- var r, a, i, o, s, l, u, d, c = e.kind, m = e.result, p;
1810
+ var r, a, i, o, s, l, u, d, c = e.kind, g = e.result, p;
1811
1811
  if (p = e.input.charCodeAt(e.position), ge(p) || Pe(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (a = e.input.charCodeAt(e.position + 1), ge(a) || t && Pe(a)))
1812
1812
  return !1;
1813
1813
  for (e.kind = "scalar", e.result = "", i = o = e.position, s = !1; p !== 0; ) {
@@ -1829,11 +1829,11 @@ function Ko(e, n, t) {
1829
1829
  break;
1830
1830
  }
1831
1831
  }
1832
- s && ($e(e, i, o, !1), Tt(e, e.line - l), i = o = e.position, s = !1), Oe(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
1832
+ s && ($e(e, i, o, !1), Mt(e, e.line - l), i = o = e.position, s = !1), Oe(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
1833
1833
  }
1834
- return $e(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = m, !1);
1834
+ return $e(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = g, !1);
1835
1835
  }
1836
- function Bo(e, n) {
1836
+ function No(e, n) {
1837
1837
  var t, r, a;
1838
1838
  if (t = e.input.charCodeAt(e.position), t !== 39)
1839
1839
  return !1;
@@ -1844,10 +1844,10 @@ function Bo(e, n) {
1844
1844
  else
1845
1845
  return !0;
1846
1846
  else
1847
- we(t) ? ($e(e, r, a, !0), Tt(e, oe(e, !1, n)), r = a = e.position) : e.position === e.lineStart && dt(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1848
- T(e, "unexpected end of the stream within a single quoted scalar");
1847
+ we(t) ? ($e(e, r, a, !0), Mt(e, oe(e, !1, n)), r = a = e.position) : e.position === e.lineStart && dt(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1848
+ E(e, "unexpected end of the stream within a single quoted scalar");
1849
1849
  }
1850
- function No(e, n) {
1850
+ function Bo(e, n) {
1851
1851
  var t, r, a, i, o, s;
1852
1852
  if (s = e.input.charCodeAt(e.position), s !== 34)
1853
1853
  return !1;
@@ -1857,22 +1857,22 @@ function No(e, n) {
1857
1857
  if (s === 92) {
1858
1858
  if ($e(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), we(s))
1859
1859
  oe(e, !1, n);
1860
- else if (s < 256 && Wn[s])
1861
- e.result += Zn[s], e.position++;
1860
+ else if (s < 256 && Zn[s])
1861
+ e.result += Qn[s], e.position++;
1862
1862
  else if ((o = Eo(s)) > 0) {
1863
1863
  for (a = o, i = 0; a > 0; a--)
1864
- s = e.input.charCodeAt(++e.position), (o = To(s)) >= 0 ? i = (i << 4) + o : T(e, "expected hexadecimal character");
1864
+ s = e.input.charCodeAt(++e.position), (o = To(s)) >= 0 ? i = (i << 4) + o : E(e, "expected hexadecimal character");
1865
1865
  e.result += Mo(i), e.position++;
1866
1866
  } else
1867
- T(e, "unknown escape sequence");
1867
+ E(e, "unknown escape sequence");
1868
1868
  t = r = e.position;
1869
1869
  } else
1870
- we(s) ? ($e(e, t, r, !0), Tt(e, oe(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1870
+ we(s) ? ($e(e, t, r, !0), Mt(e, oe(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1871
1871
  }
1872
- T(e, "unexpected end of the stream within a double quoted scalar");
1872
+ E(e, "unexpected end of the stream within a double quoted scalar");
1873
1873
  }
1874
1874
  function qo(e, n) {
1875
- var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, d, c, m, p, S = /* @__PURE__ */ Object.create(null), C, I, P, _;
1875
+ var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, d, c, g, p, S = /* @__PURE__ */ Object.create(null), C, I, P, _;
1876
1876
  if (_ = e.input.charCodeAt(e.position), _ === 91)
1877
1877
  d = 93, p = !1, s = [];
1878
1878
  else if (_ === 123)
@@ -1882,9 +1882,9 @@ function qo(e, n) {
1882
1882
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), _ = e.input.charCodeAt(++e.position); _ !== 0; ) {
1883
1883
  if (oe(e, !0, n), _ = e.input.charCodeAt(e.position), _ === d)
1884
1884
  return e.position++, e.tag = o, e.anchor = l, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
1885
- t ? _ === 44 && T(e, "expected the node content, but found ','") : T(e, "missed comma between flow collection entries"), I = C = P = null, c = m = !1, _ === 63 && (u = e.input.charCodeAt(e.position + 1), ge(u) && (c = m = !0, e.position++, oe(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, De(e, n, rt, !1, !0), I = e.tag, C = e.result, oe(e, !0, n), _ = e.input.charCodeAt(e.position), (m || e.line === r) && _ === 58 && (c = !0, _ = e.input.charCodeAt(++e.position), oe(e, !0, n), De(e, n, rt, !1, !0), P = e.result), p ? Ue(e, s, S, I, C, P, r, a, i) : c ? s.push(Ue(e, null, S, I, C, P, r, a, i)) : s.push(C), oe(e, !0, n), _ = e.input.charCodeAt(e.position), _ === 44 ? (t = !0, _ = e.input.charCodeAt(++e.position)) : t = !1;
1885
+ t ? _ === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), I = C = P = null, c = g = !1, _ === 63 && (u = e.input.charCodeAt(e.position + 1), ge(u) && (c = g = !0, e.position++, oe(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, Re(e, n, at, !1, !0), I = e.tag, C = e.result, oe(e, !0, n), _ = e.input.charCodeAt(e.position), (g || e.line === r) && _ === 58 && (c = !0, _ = e.input.charCodeAt(++e.position), oe(e, !0, n), Re(e, n, at, !1, !0), P = e.result), p ? Ue(e, s, S, I, C, P, r, a, i) : c ? s.push(Ue(e, null, S, I, C, P, r, a, i)) : s.push(C), oe(e, !0, n), _ = e.input.charCodeAt(e.position), _ === 44 ? (t = !0, _ = e.input.charCodeAt(++e.position)) : t = !1;
1886
1886
  }
1887
- T(e, "unexpected end of the stream within a flow collection");
1887
+ E(e, "unexpected end of the stream within a flow collection");
1888
1888
  }
1889
1889
  function Lo(e, n) {
1890
1890
  var t, r, a = ht, i = !1, o = !1, s = n, l = 0, u = !1, d, c;
@@ -1896,9 +1896,9 @@ function Lo(e, n) {
1896
1896
  return !1;
1897
1897
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1898
1898
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1899
- ht === a ? a = c === 43 ? Jt : So : T(e, "repeat of a chomping mode identifier");
1899
+ ht === a ? a = c === 43 ? Qt : xo : E(e, "repeat of a chomping mode identifier");
1900
1900
  else if ((d = Oo(c)) >= 0)
1901
- d === 0 ? T(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? T(e, "repeat of an indentation width identifier") : (s = n + d - 1, o = !0);
1901
+ d === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? E(e, "repeat of an indentation width identifier") : (s = n + d - 1, o = !0);
1902
1902
  else
1903
1903
  break;
1904
1904
  if (Oe(c)) {
@@ -1911,14 +1911,14 @@ function Lo(e, n) {
1911
1911
  while (!we(c) && c !== 0);
1912
1912
  }
1913
1913
  for (; c !== 0; ) {
1914
- for (jt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && c === 32; )
1914
+ for (Ot(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && c === 32; )
1915
1915
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
1916
1916
  if (!o && e.lineIndent > s && (s = e.lineIndent), we(c)) {
1917
1917
  l++;
1918
1918
  continue;
1919
1919
  }
1920
1920
  if (e.lineIndent < s) {
1921
- a === Jt ? e.result += ie.repeat(`
1921
+ a === Qt ? e.result += ie.repeat(`
1922
1922
  `, i ? 1 + l : l) : a === ht && i && (e.result += `
1923
1923
  `);
1924
1924
  break;
@@ -1933,100 +1933,100 @@ function Lo(e, n) {
1933
1933
  }
1934
1934
  return !0;
1935
1935
  }
1936
- function Xt(e, n) {
1936
+ function rn(e, n) {
1937
1937
  var t, r = e.tag, a = e.anchor, i = [], o, s = !1, l;
1938
1938
  if (e.firstTabInLine !== -1)
1939
1939
  return !1;
1940
- for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ge(o)))); ) {
1940
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ge(o)))); ) {
1941
1941
  if (s = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= n) {
1942
1942
  i.push(null), l = e.input.charCodeAt(e.position);
1943
1943
  continue;
1944
1944
  }
1945
- if (t = e.line, De(e, n, Hn, !1, !0), i.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1946
- T(e, "bad indentation of a sequence entry");
1945
+ if (t = e.line, Re(e, n, Jn, !1, !0), i.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1946
+ E(e, "bad indentation of a sequence entry");
1947
1947
  else if (e.lineIndent < n)
1948
1948
  break;
1949
1949
  }
1950
1950
  return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
1951
1951
  }
1952
1952
  function Po(e, n, t) {
1953
- var r, a, i, o, s, l, u = e.tag, d = e.anchor, c = {}, m = /* @__PURE__ */ Object.create(null), p = null, S = null, C = null, I = !1, P = !1, _;
1953
+ var r, a, i, o, s, l, u = e.tag, d = e.anchor, c = {}, g = /* @__PURE__ */ Object.create(null), p = null, S = null, C = null, I = !1, P = !1, _;
1954
1954
  if (e.firstTabInLine !== -1)
1955
1955
  return !1;
1956
1956
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
1957
- if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (_ === 63 || _ === 58) && ge(r))
1958
- _ === 63 ? (I && (Ue(e, c, m, p, S, null, o, s, l), p = S = C = null), P = !0, I = !0, a = !0) : I ? (I = !1, a = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
1957
+ if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (_ === 63 || _ === 58) && ge(r))
1958
+ _ === 63 ? (I && (Ue(e, c, g, p, S, null, o, s, l), p = S = C = null), P = !0, I = !0, a = !0) : I ? (I = !1, a = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
1959
1959
  else {
1960
- if (o = e.line, s = e.lineStart, l = e.position, !De(e, t, zn, !1, !0))
1960
+ if (o = e.line, s = e.lineStart, l = e.position, !Re(e, t, Hn, !1, !0))
1961
1961
  break;
1962
1962
  if (e.line === i) {
1963
1963
  for (_ = e.input.charCodeAt(e.position); Oe(_); )
1964
1964
  _ = e.input.charCodeAt(++e.position);
1965
1965
  if (_ === 58)
1966
- _ = e.input.charCodeAt(++e.position), ge(_) || T(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (Ue(e, c, m, p, S, null, o, s, l), p = S = C = null), P = !0, I = !1, a = !1, p = e.tag, S = e.result;
1966
+ _ = e.input.charCodeAt(++e.position), ge(_) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (Ue(e, c, g, p, S, null, o, s, l), p = S = C = null), P = !0, I = !1, a = !1, p = e.tag, S = e.result;
1967
1967
  else if (P)
1968
- T(e, "can not read an implicit mapping pair; a colon is missed");
1968
+ E(e, "can not read an implicit mapping pair; a colon is missed");
1969
1969
  else
1970
1970
  return e.tag = u, e.anchor = d, !0;
1971
1971
  } else if (P)
1972
- T(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1972
+ E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1973
1973
  else
1974
1974
  return e.tag = u, e.anchor = d, !0;
1975
1975
  }
1976
- if ((e.line === i || e.lineIndent > n) && (I && (o = e.line, s = e.lineStart, l = e.position), De(e, n, at, !0, a) && (I ? S = e.result : C = e.result), I || (Ue(e, c, m, p, S, C, o, s, l), p = S = C = null), oe(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && _ !== 0)
1977
- T(e, "bad indentation of a mapping entry");
1976
+ if ((e.line === i || e.lineIndent > n) && (I && (o = e.line, s = e.lineStart, l = e.position), Re(e, n, ot, !0, a) && (I ? S = e.result : C = e.result), I || (Ue(e, c, g, p, S, C, o, s, l), p = S = C = null), oe(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && _ !== 0)
1977
+ E(e, "bad indentation of a mapping entry");
1978
1978
  else if (e.lineIndent < n)
1979
1979
  break;
1980
1980
  }
1981
- return I && Ue(e, c, m, p, S, null, o, s, l), P && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), P;
1981
+ return I && Ue(e, c, g, p, S, null, o, s, l), P && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), P;
1982
1982
  }
1983
1983
  function Uo(e) {
1984
1984
  var n, t = !1, r = !1, a, i, o;
1985
1985
  if (o = e.input.charCodeAt(e.position), o !== 33)
1986
1986
  return !1;
1987
- if (e.tag !== null && T(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
1987
+ if (e.tag !== null && E(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", n = e.position, t) {
1988
1988
  do
1989
1989
  o = e.input.charCodeAt(++e.position);
1990
1990
  while (o !== 0 && o !== 62);
1991
- e.position < e.length ? (i = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : T(e, "unexpected end of the stream within a verbatim tag");
1991
+ e.position < e.length ? (i = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
1992
1992
  } else {
1993
1993
  for (; o !== 0 && !ge(o); )
1994
- o === 33 && (r ? T(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Jn.test(a) || T(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
1995
- i = e.input.slice(n, e.position), jo.test(i) && T(e, "tag suffix cannot contain flow indicator characters");
1994
+ o === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(n - 1, e.position + 1), Yn.test(a) || E(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
1995
+ i = e.input.slice(n, e.position), jo.test(i) && E(e, "tag suffix cannot contain flow indicator characters");
1996
1996
  }
1997
- i && !Yn.test(i) && T(e, "tag name cannot contain such characters: " + i);
1997
+ i && !Wn.test(i) && E(e, "tag name cannot contain such characters: " + i);
1998
1998
  try {
1999
1999
  i = decodeURIComponent(i);
2000
2000
  } catch {
2001
- T(e, "tag name is malformed: " + i);
2001
+ E(e, "tag name is malformed: " + i);
2002
2002
  }
2003
- return t ? e.tag = i : je.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : T(e, 'undeclared tag handle "' + a + '"'), !0;
2003
+ return t ? e.tag = i : je.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : E(e, 'undeclared tag handle "' + a + '"'), !0;
2004
2004
  }
2005
- function Ro(e) {
2005
+ function Vo(e) {
2006
2006
  var n, t;
2007
2007
  if (t = e.input.charCodeAt(e.position), t !== 38)
2008
2008
  return !1;
2009
- for (e.anchor !== null && T(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ge(t) && !Pe(t); )
2009
+ for (e.anchor !== null && E(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !ge(t) && !Pe(t); )
2010
2010
  t = e.input.charCodeAt(++e.position);
2011
- return e.position === n && T(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2011
+ return e.position === n && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2012
2012
  }
2013
- function Do(e) {
2013
+ function Ro(e) {
2014
2014
  var n, t, r;
2015
2015
  if (r = e.input.charCodeAt(e.position), r !== 42)
2016
2016
  return !1;
2017
2017
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !ge(r) && !Pe(r); )
2018
2018
  r = e.input.charCodeAt(++e.position);
2019
- return e.position === n && T(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || T(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2019
+ return e.position === n && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2020
2020
  }
2021
- function De(e, n, t, r, a) {
2022
- var i, o, s, l = 1, u = !1, d = !1, c, m, p, S, C, I;
2023
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = at === t || Hn === t, r && oe(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2024
- for (; Uo(e) || Ro(e); )
2021
+ function Re(e, n, t, r, a) {
2022
+ var i, o, s, l = 1, u = !1, d = !1, c, g, p, S, C, I;
2023
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = ot === t || Jn === t, r && oe(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2024
+ for (; Uo(e) || Vo(e); )
2025
2025
  oe(e, !0, -1) ? (u = !0, s = i, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2026
- if (s && (s = u || a), (l === 1 || at === t) && (rt === t || zn === t ? C = n : C = n + 1, I = e.position - e.lineStart, l === 1 ? s && (Xt(e, I) || Po(e, I, C)) || qo(e, C) ? d = !0 : (o && Lo(e, C) || Bo(e, C) || No(e, C) ? d = !0 : Do(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : Ko(e, C, rt === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Xt(e, I))), e.tag === null)
2026
+ if (s && (s = u || a), (l === 1 || ot === t) && (at === t || Hn === t ? C = n : C = n + 1, I = e.position - e.lineStart, l === 1 ? s && (rn(e, I) || Po(e, I, C)) || qo(e, C) ? d = !0 : (o && Lo(e, C) || No(e, C) || Bo(e, C) ? d = !0 : Ro(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Ko(e, C, at === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && rn(e, I))), e.tag === null)
2027
2027
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2028
2028
  else if (e.tag === "?") {
2029
- for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
2029
+ for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, g = e.implicitTypes.length; c < g; c += 1)
2030
2030
  if (S = e.implicitTypes[c], S.resolve(e.result)) {
2031
2031
  e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2032
2032
  break;
@@ -2035,21 +2035,21 @@ function De(e, n, t, r, a) {
2035
2035
  if (je.call(e.typeMap[e.kind || "fallback"], e.tag))
2036
2036
  S = e.typeMap[e.kind || "fallback"][e.tag];
2037
2037
  else
2038
- for (S = null, p = e.typeMap.multi[e.kind || "fallback"], c = 0, m = p.length; c < m; c += 1)
2038
+ for (S = null, p = e.typeMap.multi[e.kind || "fallback"], c = 0, g = p.length; c < g; c += 1)
2039
2039
  if (e.tag.slice(0, p[c].tag.length) === p[c].tag) {
2040
2040
  S = p[c];
2041
2041
  break;
2042
2042
  }
2043
- S || T(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && T(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : T(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2043
+ S || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2044
2044
  }
2045
2045
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2046
2046
  }
2047
- function Vo(e) {
2047
+ function Do(e) {
2048
2048
  var n = e.position, t, r, a, i = !1, o;
2049
2049
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2050
2050
  for (i = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ge(o); )
2051
2051
  o = e.input.charCodeAt(++e.position);
2052
- for (r = e.input.slice(t, e.position), a = [], r.length < 1 && T(e, "directive name must not be less than one character in length"); o !== 0; ) {
2052
+ for (r = e.input.slice(t, e.position), a = [], r.length < 1 && E(e, "directive name must not be less than one character in length"); o !== 0; ) {
2053
2053
  for (; Oe(o); )
2054
2054
  o = e.input.charCodeAt(++e.position);
2055
2055
  if (o === 35) {
@@ -2064,47 +2064,47 @@ function Vo(e) {
2064
2064
  o = e.input.charCodeAt(++e.position);
2065
2065
  a.push(e.input.slice(t, e.position));
2066
2066
  }
2067
- o !== 0 && jt(e), je.call(Zt, r) ? Zt[r](e, r, a) : ot(e, 'unknown document directive "' + r + '"');
2067
+ o !== 0 && Ot(e), je.call(tn, r) ? tn[r](e, r, a) : it(e, 'unknown document directive "' + r + '"');
2068
2068
  }
2069
- if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : i && T(e, "directives end mark is expected"), De(e, e.lineIndent - 1, at, !1, !0), oe(e, !0, -1), e.checkLineBreaks && $o.test(e.input.slice(n, e.position)) && ot(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2069
+ if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : i && E(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, ot, !1, !0), oe(e, !0, -1), e.checkLineBreaks && $o.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2070
2070
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2071
2071
  return;
2072
2072
  }
2073
2073
  if (e.position < e.length - 1)
2074
- T(e, "end of the stream or a document separator is expected");
2074
+ E(e, "end of the stream or a document separator is expected");
2075
2075
  else
2076
2076
  return;
2077
2077
  }
2078
- function Xn(e, n) {
2078
+ function er(e, n) {
2079
2079
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2080
2080
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2081
2081
  var t = new Fo(e, n), r = e.indexOf("\0");
2082
- for (r !== -1 && (t.position = r, T(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2082
+ for (r !== -1 && (t.position = r, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2083
2083
  t.lineIndent += 1, t.position += 1;
2084
2084
  for (; t.position < t.length - 1; )
2085
- Vo(t);
2085
+ Do(t);
2086
2086
  return t.documents;
2087
2087
  }
2088
2088
  function Go(e, n, t) {
2089
2089
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2090
- var r = Xn(e, t);
2090
+ var r = er(e, t);
2091
2091
  if (typeof n != "function")
2092
2092
  return r;
2093
2093
  for (var a = 0, i = r.length; a < i; a += 1)
2094
2094
  n(r[a]);
2095
2095
  }
2096
2096
  function zo(e, n) {
2097
- var t = Xn(e, n);
2097
+ var t = er(e, n);
2098
2098
  if (t.length !== 0) {
2099
2099
  if (t.length === 1)
2100
2100
  return t[0];
2101
2101
  throw new fe("expected a single document in the stream, but found more");
2102
2102
  }
2103
2103
  }
2104
- var Ho = Go, Jo = zo, er = {
2104
+ var Ho = Go, Jo = zo, tr = {
2105
2105
  loadAll: Ho,
2106
2106
  load: Jo
2107
- }, tr = Object.prototype.toString, nr = Object.prototype.hasOwnProperty, Et = 65279, Yo = 9, Je = 10, Wo = 13, Zo = 32, Qo = 33, Xo = 34, bt = 35, ei = 37, ti = 38, ni = 39, ri = 42, rr = 44, ai = 45, it = 58, oi = 61, ii = 62, si = 63, li = 64, ar = 91, or = 93, ui = 96, ir = 123, ci = 124, sr = 125, pe = {};
2107
+ }, nr = Object.prototype.toString, rr = Object.prototype.hasOwnProperty, Ft = 65279, Yo = 9, We = 10, Wo = 13, Zo = 32, Qo = 33, Xo = 34, bt = 35, ei = 37, ti = 38, ni = 39, ri = 42, ar = 44, ai = 45, st = 58, oi = 61, ii = 62, si = 63, li = 64, or = 91, ir = 93, ui = 96, sr = 123, ci = 124, lr = 125, pe = {};
2108
2108
  pe[0] = "\\0";
2109
2109
  pe[7] = "\\a";
2110
2110
  pe[8] = "\\b";
@@ -2143,7 +2143,7 @@ function fi(e, n) {
2143
2143
  if (n === null)
2144
2144
  return {};
2145
2145
  for (t = {}, r = Object.keys(n), a = 0, i = r.length; a < i; a += 1)
2146
- o = r[a], s = String(n[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), l = e.compiledTypeMap.fallback[o], l && nr.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[o] = s;
2146
+ o = r[a], s = String(n[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), l = e.compiledTypeMap.fallback[o], l && rr.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[o] = s;
2147
2147
  return t;
2148
2148
  }
2149
2149
  function mi(e) {
@@ -2158,11 +2158,11 @@ function mi(e) {
2158
2158
  throw new fe("code point within a string may not be greater than 0xFFFFFFFF");
2159
2159
  return "\\" + t + ie.repeat("0", r - n.length) + n;
2160
2160
  }
2161
- var gi = 1, Ye = 2;
2161
+ var gi = 1, Ze = 2;
2162
2162
  function hi(e) {
2163
- this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = fi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Ye : gi, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2163
+ this.schema = e.schema || Et, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = fi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Ze : gi, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2164
2164
  }
2165
- function en(e, n) {
2165
+ function an(e, n) {
2166
2166
  for (var t = ie.repeat(" ", n), r = 0, a = -1, i = "", o, s = e.length; r < s; )
2167
2167
  a = e.indexOf(`
2168
2168
  `, r), a === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, a + 1), r = a + 1), o.length && o !== `
@@ -2180,67 +2180,67 @@ function yi(e, n) {
2180
2180
  return !0;
2181
2181
  return !1;
2182
2182
  }
2183
- function st(e) {
2183
+ function lt(e) {
2184
2184
  return e === Zo || e === Yo;
2185
2185
  }
2186
- function We(e) {
2187
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Et || 65536 <= e && e <= 1114111;
2186
+ function Qe(e) {
2187
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Ft || 65536 <= e && e <= 1114111;
2188
2188
  }
2189
- function tn(e) {
2190
- return We(e) && e !== Et && e !== Wo && e !== Je;
2189
+ function on(e) {
2190
+ return Qe(e) && e !== Ft && e !== Wo && e !== We;
2191
2191
  }
2192
- function nn(e, n, t) {
2193
- var r = tn(e), a = r && !st(e);
2192
+ function sn(e, n, t) {
2193
+ var r = on(e), a = r && !lt(e);
2194
2194
  return (
2195
2195
  // ns-plain-safe
2196
2196
  (t ? (
2197
2197
  // c = flow-in
2198
2198
  r
2199
- ) : r && e !== rr && e !== ar && e !== or && e !== ir && e !== sr) && e !== bt && !(n === it && !a) || tn(n) && !st(n) && e === bt || n === it && a
2199
+ ) : r && e !== ar && e !== or && e !== ir && e !== sr && e !== lr) && e !== bt && !(n === st && !a) || on(n) && !lt(n) && e === bt || n === st && a
2200
2200
  );
2201
2201
  }
2202
2202
  function vi(e) {
2203
- return We(e) && e !== Et && !st(e) && e !== ai && e !== si && e !== it && e !== rr && e !== ar && e !== or && e !== ir && e !== sr && e !== bt && e !== ti && e !== ri && e !== Qo && e !== ci && e !== oi && e !== ii && e !== ni && e !== Xo && e !== ei && e !== li && e !== ui;
2203
+ return Qe(e) && e !== Ft && !lt(e) && e !== ai && e !== si && e !== st && e !== ar && e !== or && e !== ir && e !== sr && e !== lr && e !== bt && e !== ti && e !== ri && e !== Qo && e !== ci && e !== oi && e !== ii && e !== ni && e !== Xo && e !== ei && e !== li && e !== ui;
2204
2204
  }
2205
2205
  function bi(e) {
2206
- return !st(e) && e !== it;
2206
+ return !lt(e) && e !== st;
2207
2207
  }
2208
- function ze(e, n) {
2208
+ function Je(e, n) {
2209
2209
  var t = e.charCodeAt(n), r;
2210
2210
  return t >= 55296 && t <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (t - 55296) * 1024 + r - 56320 + 65536 : t;
2211
2211
  }
2212
- function lr(e) {
2212
+ function ur(e) {
2213
2213
  var n = /^\n* /;
2214
2214
  return n.test(e);
2215
2215
  }
2216
- var ur = 1, Ct = 2, cr = 3, dr = 4, Ne = 5;
2216
+ var cr = 1, Ct = 2, dr = 3, pr = 4, Be = 5;
2217
2217
  function ki(e, n, t, r, a, i, o, s) {
2218
- var l, u = 0, d = null, c = !1, m = !1, p = r !== -1, S = -1, C = vi(ze(e, 0)) && bi(ze(e, e.length - 1));
2218
+ var l, u = 0, d = null, c = !1, g = !1, p = r !== -1, S = -1, C = vi(Je(e, 0)) && bi(Je(e, e.length - 1));
2219
2219
  if (n || o)
2220
2220
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2221
- if (u = ze(e, l), !We(u))
2222
- return Ne;
2223
- C = C && nn(u, d, s), d = u;
2221
+ if (u = Je(e, l), !Qe(u))
2222
+ return Be;
2223
+ C = C && sn(u, d, s), d = u;
2224
2224
  }
2225
2225
  else {
2226
2226
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2227
- if (u = ze(e, l), u === Je)
2228
- c = !0, p && (m = m || // Foldable line = too long, and not more-indented.
2227
+ if (u = Je(e, l), u === We)
2228
+ c = !0, p && (g = g || // Foldable line = too long, and not more-indented.
2229
2229
  l - S - 1 > r && e[S + 1] !== " ", S = l);
2230
- else if (!We(u))
2231
- return Ne;
2232
- C = C && nn(u, d, s), d = u;
2230
+ else if (!Qe(u))
2231
+ return Be;
2232
+ C = C && sn(u, d, s), d = u;
2233
2233
  }
2234
- m = m || p && l - S - 1 > r && e[S + 1] !== " ";
2234
+ g = g || p && l - S - 1 > r && e[S + 1] !== " ";
2235
2235
  }
2236
- return !c && !m ? C && !o && !a(e) ? ur : i === Ye ? Ne : Ct : t > 9 && lr(e) ? Ne : o ? i === Ye ? Ne : Ct : m ? dr : cr;
2236
+ return !c && !g ? C && !o && !a(e) ? cr : i === Ze ? Be : Ct : t > 9 && ur(e) ? Be : o ? i === Ze ? Be : Ct : g ? pr : dr;
2237
2237
  }
2238
2238
  function Ci(e, n, t, r, a) {
2239
2239
  e.dump = function() {
2240
2240
  if (n.length === 0)
2241
- return e.quotingType === Ye ? '""' : "''";
2241
+ return e.quotingType === Ze ? '""' : "''";
2242
2242
  if (!e.noCompatMode && (di.indexOf(n) !== -1 || pi.test(n)))
2243
- return e.quotingType === Ye ? '"' + n + '"' : "'" + n + "'";
2243
+ return e.quotingType === Ze ? '"' + n + '"' : "'" + n + "'";
2244
2244
  var i = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2245
2245
  function l(u) {
2246
2246
  return yi(e, u);
@@ -2255,30 +2255,30 @@ function Ci(e, n, t, r, a) {
2255
2255
  e.forceQuotes && !r,
2256
2256
  a
2257
2257
  )) {
2258
- case ur:
2258
+ case cr:
2259
2259
  return n;
2260
2260
  case Ct:
2261
2261
  return "'" + n.replace(/'/g, "''") + "'";
2262
- case cr:
2263
- return "|" + rn(n, e.indent) + an(en(n, i));
2264
2262
  case dr:
2265
- return ">" + rn(n, e.indent) + an(en(wi(n, o), i));
2266
- case Ne:
2263
+ return "|" + ln(n, e.indent) + un(an(n, i));
2264
+ case pr:
2265
+ return ">" + ln(n, e.indent) + un(an(wi(n, o), i));
2266
+ case Be:
2267
2267
  return '"' + _i(n) + '"';
2268
2268
  default:
2269
2269
  throw new fe("impossible error: invalid scalar style");
2270
2270
  }
2271
2271
  }();
2272
2272
  }
2273
- function rn(e, n) {
2274
- var t = lr(e) ? String(n) : "", r = e[e.length - 1] === `
2273
+ function ln(e, n) {
2274
+ var t = ur(e) ? String(n) : "", r = e[e.length - 1] === `
2275
2275
  `, a = r && (e[e.length - 2] === `
2276
2276
  ` || e === `
2277
2277
  `), i = a ? "+" : r ? "" : "-";
2278
2278
  return t + i + `
2279
2279
  `;
2280
2280
  }
2281
- function an(e) {
2281
+ function un(e) {
2282
2282
  return e[e.length - 1] === `
2283
2283
  ` ? e.slice(0, -1) : e;
2284
2284
  }
@@ -2286,16 +2286,16 @@ function wi(e, n) {
2286
2286
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2287
2287
  var u = e.indexOf(`
2288
2288
  `);
2289
- return u = u !== -1 ? u : e.length, t.lastIndex = u, on(e.slice(0, u), n);
2289
+ return u = u !== -1 ? u : e.length, t.lastIndex = u, cn(e.slice(0, u), n);
2290
2290
  }(), a = e[0] === `
2291
2291
  ` || e[0] === " ", i, o; o = t.exec(e); ) {
2292
2292
  var s = o[1], l = o[2];
2293
2293
  i = l[0] === " ", r += s + (!a && !i && l !== "" ? `
2294
- ` : "") + on(l, n), a = i;
2294
+ ` : "") + cn(l, n), a = i;
2295
2295
  }
2296
2296
  return r;
2297
2297
  }
2298
- function on(e, n) {
2298
+ function cn(e, n) {
2299
2299
  if (e === "" || e[0] === " ")
2300
2300
  return e;
2301
2301
  for (var t = / [^ ]/g, r, a = 0, i, o = 0, s = 0, l = ""; r = t.exec(e); )
@@ -2307,29 +2307,29 @@ function on(e, n) {
2307
2307
  }
2308
2308
  function _i(e) {
2309
2309
  for (var n = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2310
- t = ze(e, a), r = pe[t], !r && We(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || mi(t);
2310
+ t = Je(e, a), r = pe[t], !r && Qe(t) ? (n += e[a], t >= 65536 && (n += e[a + 1])) : n += r || mi(t);
2311
2311
  return n;
2312
2312
  }
2313
2313
  function Ii(e, n, t) {
2314
2314
  var r = "", a = e.tag, i, o, s;
2315
2315
  for (i = 0, o = t.length; i < o; i += 1)
2316
- s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), (Se(e, n, s, !1, !1) || typeof s > "u" && Se(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2316
+ s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), (xe(e, n, s, !1, !1) || typeof s > "u" && xe(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2317
2317
  e.tag = a, e.dump = "[" + r + "]";
2318
2318
  }
2319
- function sn(e, n, t, r) {
2319
+ function dn(e, n, t, r) {
2320
2320
  var a = "", i = e.tag, o, s, l;
2321
2321
  for (o = 0, s = t.length; o < s; o += 1)
2322
- l = t[o], e.replacer && (l = e.replacer.call(t, String(o), l)), (Se(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += kt(e, n)), e.dump && Je === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2322
+ l = t[o], e.replacer && (l = e.replacer.call(t, String(o), l)), (xe(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && xe(e, n + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += kt(e, n)), e.dump && We === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2323
2323
  e.tag = i, e.dump = a || "[]";
2324
2324
  }
2325
2325
  function Ai(e, n, t) {
2326
2326
  var r = "", a = e.tag, i = Object.keys(t), o, s, l, u, d;
2327
2327
  for (o = 0, s = i.length; o < s; o += 1)
2328
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = i[o], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), Se(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Se(e, n, u, !1, !1) && (d += e.dump, r += d));
2328
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = i[o], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), xe(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), xe(e, n, u, !1, !1) && (d += e.dump, r += d));
2329
2329
  e.tag = a, e.dump = "{" + r + "}";
2330
2330
  }
2331
- function Si(e, n, t, r) {
2332
- var a = "", i = e.tag, o = Object.keys(t), s, l, u, d, c, m;
2331
+ function xi(e, n, t, r) {
2332
+ var a = "", i = e.tag, o = Object.keys(t), s, l, u, d, c, g;
2333
2333
  if (e.sortKeys === !0)
2334
2334
  o.sort();
2335
2335
  else if (typeof e.sortKeys == "function")
@@ -2337,17 +2337,17 @@ function Si(e, n, t, r) {
2337
2337
  else if (e.sortKeys)
2338
2338
  throw new fe("sortKeys must be a boolean or a function");
2339
2339
  for (s = 0, l = o.length; s < l; s += 1)
2340
- m = "", (!r || a !== "") && (m += kt(e, n)), u = o[s], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), Se(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Je === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += kt(e, n)), Se(e, n + 1, d, !0, c) && (e.dump && Je === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, a += m));
2340
+ g = "", (!r || a !== "") && (g += kt(e, n)), u = o[s], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), xe(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && We === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, c && (g += kt(e, n)), xe(e, n + 1, d, !0, c) && (e.dump && We === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, a += g));
2341
2341
  e.tag = i, e.dump = a || "{}";
2342
2342
  }
2343
- function ln(e, n, t) {
2343
+ function pn(e, n, t) {
2344
2344
  var r, a, i, o, s, l;
2345
2345
  for (a = t ? e.explicitTypes : e.implicitTypes, i = 0, o = a.length; i < o; i += 1)
2346
2346
  if (s = a[i], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2347
2347
  if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2348
- if (l = e.styleMap[s.tag] || s.defaultStyle, tr.call(s.represent) === "[object Function]")
2348
+ if (l = e.styleMap[s.tag] || s.defaultStyle, nr.call(s.represent) === "[object Function]")
2349
2349
  r = s.represent(n, l);
2350
- else if (nr.call(s.represent, l))
2350
+ else if (rr.call(s.represent, l))
2351
2351
  r = s.represent[l](n, l);
2352
2352
  else
2353
2353
  throw new fe("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
@@ -2357,18 +2357,18 @@ function ln(e, n, t) {
2357
2357
  }
2358
2358
  return !1;
2359
2359
  }
2360
- function Se(e, n, t, r, a, i, o) {
2361
- e.tag = null, e.dump = t, ln(e, t, !1) || ln(e, t, !0);
2362
- var s = tr.call(e.dump), l = r, u;
2360
+ function xe(e, n, t, r, a, i, o) {
2361
+ e.tag = null, e.dump = t, pn(e, t, !1) || pn(e, t, !0);
2362
+ var s = nr.call(e.dump), l = r, u;
2363
2363
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
2364
- var d = s === "[object Object]" || s === "[object Array]", c, m;
2365
- if (d && (c = e.duplicates.indexOf(t), m = c !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && n > 0) && (a = !1), m && e.usedDuplicates[c])
2364
+ var d = s === "[object Object]" || s === "[object Array]", c, g;
2365
+ if (d && (c = e.duplicates.indexOf(t), g = c !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (a = !1), g && e.usedDuplicates[c])
2366
2366
  e.dump = "*ref_" + c;
2367
2367
  else {
2368
- if (d && m && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2369
- r && Object.keys(e.dump).length !== 0 ? (Si(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (Ai(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2368
+ if (d && g && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2369
+ r && Object.keys(e.dump).length !== 0 ? (xi(e, n, e.dump, a), g && (e.dump = "&ref_" + c + e.dump)) : (Ai(e, n, e.dump), g && (e.dump = "&ref_" + c + " " + e.dump));
2370
2370
  else if (s === "[object Array]")
2371
- r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? sn(e, n - 1, e.dump, a) : sn(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (Ii(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2371
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? dn(e, n - 1, e.dump, a) : dn(e, n, e.dump, a), g && (e.dump = "&ref_" + c + e.dump)) : (Ii(e, n, e.dump), g && (e.dump = "&ref_" + c + " " + e.dump));
2372
2372
  else if (s === "[object String]")
2373
2373
  e.tag !== "?" && Ci(e, e.dump, n, i, l);
2374
2374
  else {
@@ -2382,7 +2382,7 @@ function Se(e, n, t, r, a, i, o) {
2382
2382
  }
2383
2383
  return !0;
2384
2384
  }
2385
- function xi(e, n) {
2385
+ function Si(e, n) {
2386
2386
  var t = [], r = [], a, i;
2387
2387
  for (wt(e, t, r), a = 0, i = r.length; a < i; a += 1)
2388
2388
  n.duplicates.push(t[r[a]]);
@@ -2403,50 +2403,50 @@ function wt(e, n, t) {
2403
2403
  function $i(e, n) {
2404
2404
  n = n || {};
2405
2405
  var t = new hi(n);
2406
- t.noRefs || xi(e, t);
2406
+ t.noRefs || Si(e, t);
2407
2407
  var r = e;
2408
- return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Se(t, 0, r, !0, !0) ? t.dump + `
2408
+ return t.replacer && (r = t.replacer.call({ "": r }, "", r)), xe(t, 0, r, !0, !0) ? t.dump + `
2409
2409
  ` : "";
2410
2410
  }
2411
2411
  var ji = $i, Ti = {
2412
2412
  dump: ji
2413
2413
  };
2414
- function Ot(e, n) {
2414
+ function Kt(e, n) {
2415
2415
  return function() {
2416
2416
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2417
2417
  };
2418
2418
  }
2419
- var Ei = le, Oi = xn, Mi = En, Fi = Bn, Ki = Nn, Bi = $t, Ni = er.load, qi = er.loadAll, Li = Ti.dump, Pi = fe, Ui = {
2419
+ var Ei = le, Oi = $n, Mi = On, Fi = Bn, Ki = qn, Ni = Et, Bi = tr.load, qi = tr.loadAll, Li = Ti.dump, Pi = fe, Ui = {
2420
2420
  binary: Rn,
2421
- float: Kn,
2422
- map: Tn,
2423
- null: On,
2424
- pairs: Vn,
2425
- set: Gn,
2426
- timestamp: Pn,
2427
- bool: Mn,
2428
- int: Fn,
2429
- merge: Un,
2421
+ float: Nn,
2422
+ map: En,
2423
+ null: Mn,
2424
+ pairs: Gn,
2425
+ set: zn,
2426
+ timestamp: Un,
2427
+ bool: Fn,
2428
+ int: Kn,
2429
+ merge: Vn,
2430
2430
  omap: Dn,
2431
- seq: jn,
2432
- str: $n
2433
- }, Ri = Ot("safeLoad", "load"), Di = Ot("safeLoadAll", "loadAll"), Vi = Ot("safeDump", "dump"), Gi = {
2431
+ seq: Tn,
2432
+ str: jn
2433
+ }, Vi = Kt("safeLoad", "load"), Ri = Kt("safeLoadAll", "loadAll"), Di = Kt("safeDump", "dump"), Gi = {
2434
2434
  Type: Ei,
2435
2435
  Schema: Oi,
2436
2436
  FAILSAFE_SCHEMA: Mi,
2437
2437
  JSON_SCHEMA: Fi,
2438
2438
  CORE_SCHEMA: Ki,
2439
- DEFAULT_SCHEMA: Bi,
2440
- load: Ni,
2439
+ DEFAULT_SCHEMA: Ni,
2440
+ load: Bi,
2441
2441
  loadAll: qi,
2442
2442
  dump: Li,
2443
2443
  YAMLException: Pi,
2444
2444
  types: Ui,
2445
- safeLoad: Ri,
2446
- safeLoadAll: Di,
2447
- safeDump: Vi
2445
+ safeLoad: Vi,
2446
+ safeLoadAll: Ri,
2447
+ safeDump: Di
2448
2448
  };
2449
- const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2449
+ const zi = { class: "yaml-config" }, fr = /* @__PURE__ */ ee({
2450
2450
  __name: "YamlCodeBlock",
2451
2451
  props: {
2452
2452
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2456,13 +2456,13 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2456
2456
  }
2457
2457
  },
2458
2458
  setup(e) {
2459
- const n = e, t = $(() => {
2459
+ const n = e, t = x(() => {
2460
2460
  const r = Object.fromEntries(Object.entries(n.yamlRecord).filter(([, a]) => a && (Array.isArray(a) ? a.length !== 0 : !0)));
2461
2461
  return Object.keys(r).length === 0 && r.constructor === Object ? "" : Gi.dump(r).trim();
2462
2462
  });
2463
2463
  return (r, a) => {
2464
2464
  const i = q("KCodeBlock");
2465
- return f(), F("div", zi, [
2465
+ return f(), O("div", zi, [
2466
2466
  n.yamlRecord ? (f(), G(i, {
2467
2467
  key: 0,
2468
2468
  id: "yaml-codeblock",
@@ -2479,7 +2479,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2479
2479
  }, Ji = ["data-testid"], Yi = {
2480
2480
  key: 0,
2481
2481
  class: "config-card-prop-section-title"
2482
- }, Wi = /* @__PURE__ */ te({
2482
+ }, Wi = /* @__PURE__ */ ee({
2483
2483
  __name: "ConfigCardDisplay",
2484
2484
  props: {
2485
2485
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2518,29 +2518,29 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2518
2518
  }
2519
2519
  },
2520
2520
  setup(e) {
2521
- const n = e, t = _t(), { i18n: { t: r } } = se.useI18n(), a = (o) => !!(o.tooltip || t[`${o.key}-label-tooltip`]), i = $(() => {
2521
+ const n = e, t = _t(), { i18n: { t: r } } = se.useI18n(), a = (o) => !!(o.tooltip || t[`${o.key}-label-tooltip`]), i = x(() => {
2522
2522
  if (!n.record)
2523
2523
  return n.record;
2524
2524
  const o = JSON.parse(JSON.stringify(n.record));
2525
2525
  return delete o.created_at, delete o.updated_at, o;
2526
2526
  });
2527
- return (o, s) => (f(), F(ve, null, [
2528
- e.format === "structured" ? (f(), F("div", Hi, [
2529
- (f(!0), F(ve, null, ye(e.propListTypes, (l) => (f(), F("div", {
2527
+ return (o, s) => (f(), O(ve, null, [
2528
+ e.format === "structured" ? (f(), O("div", Hi, [
2529
+ (f(!0), O(ve, null, ye(e.propListTypes, (l) => (f(), O("div", {
2530
2530
  key: `config-card-details-${l}-props`,
2531
- class: Re(`config-card-details-${l}-props`),
2531
+ class: Ve(`config-card-details-${l}-props`),
2532
2532
  "data-testid": `config-card-details-${l}-props`
2533
2533
  }, [
2534
- l !== "basic" ? (f(), F("div", Yi, B(l === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : W("", !0),
2535
- (f(!0), F(ve, null, ye(e.propertyCollections[l], (u) => (f(), G(_n, {
2534
+ l !== "basic" ? (f(), O("div", Yi, K(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : W("", !0),
2535
+ (f(!0), O(ve, null, ye(e.propertyCollections[l], (u) => (f(), G(In, {
2536
2536
  key: u.key,
2537
2537
  item: u
2538
2538
  }, Me({
2539
2539
  label: y(() => [
2540
- ee(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2540
+ te(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2541
2541
  ]),
2542
2542
  [u.key]: y(({ rowValue: d }) => [
2543
- ee(o.$slots, u.key, {
2543
+ te(o.$slots, u.key, {
2544
2544
  row: u,
2545
2545
  rowValue: d
2546
2546
  }, void 0, !0)
@@ -2550,38 +2550,137 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2550
2550
  a(u) ? {
2551
2551
  name: "label-tooltip",
2552
2552
  fn: y(() => [
2553
- ee(o.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2553
+ te(o.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2554
2554
  ]),
2555
2555
  key: "0"
2556
2556
  } : void 0
2557
2557
  ]), 1032, ["item"]))), 128))
2558
2558
  ], 10, Ji))), 128))
2559
2559
  ])) : W("", !0),
2560
- e.format === "json" && n.record ? (f(), G(In, {
2560
+ e.format === "json" && n.record ? (f(), G(An, {
2561
2561
  key: 1,
2562
2562
  config: n.config,
2563
2563
  "fetcher-url": n.fetcherUrl,
2564
2564
  "json-record": i.value,
2565
2565
  "request-method": "get"
2566
2566
  }, null, 8, ["config", "fetcher-url", "json-record"])) : W("", !0),
2567
- e.format === "yaml" && n.record ? (f(), G(pr, {
2567
+ e.format === "yaml" && n.record ? (f(), G(fr, {
2568
2568
  key: 2,
2569
2569
  "yaml-record": i.value
2570
2570
  }, null, 8, ["yaml-record"])) : W("", !0)
2571
2571
  ], 64));
2572
2572
  }
2573
- }), Zi = /* @__PURE__ */ be(Wi, [["__scopeId", "data-v-147a2f70"]]), lt = "24px", fr = (e, n) => {
2573
+ }), Zi = /* @__PURE__ */ be(Wi, [["__scopeId", "data-v-147a2f70"]]), De = "24px", Nt = (e, n) => {
2574
2574
  const t = e.__vccOpts || e;
2575
2575
  for (const [r, a] of n)
2576
2576
  t[r] = a;
2577
2577
  return t;
2578
- }, Qi = (e) => (fn("data-v-40a7f387"), e = e(), mn(), e), Xi = ["aria-hidden"], es = {
2578
+ }, Qi = (e) => (At("data-v-2295e0fb"), e = e(), xt(), e), Xi = ["aria-hidden"], es = {
2579
2579
  key: 0,
2580
2580
  "data-testid": "kui-icon-svg-title"
2581
- }, ts = /* @__PURE__ */ Qi(() => /* @__PURE__ */ R("path", {
2581
+ }, ts = /* @__PURE__ */ Qi(() => /* @__PURE__ */ V("path", {
2582
+ d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2583
+ fill: "currentColor"
2584
+ }, null, -1)), ns = /* @__PURE__ */ ee({
2585
+ __name: "AddIcon",
2586
+ props: {
2587
+ /** The accessibility text provided to screen readers */
2588
+ title: {
2589
+ type: String,
2590
+ required: !1,
2591
+ default: ""
2592
+ },
2593
+ /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
2594
+ color: {
2595
+ type: String,
2596
+ required: !1,
2597
+ default: "currentColor"
2598
+ },
2599
+ /** The CSS display property for the icon. Defaults to `block` */
2600
+ display: {
2601
+ type: String,
2602
+ required: !1,
2603
+ default: "block"
2604
+ },
2605
+ /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
2606
+ decorative: {
2607
+ type: Boolean,
2608
+ required: !1,
2609
+ default: !1
2610
+ },
2611
+ /** The icon size */
2612
+ size: {
2613
+ type: [Number, String],
2614
+ required: !1,
2615
+ default: De,
2616
+ // if setting to the imported const fails, just pass a number of 24 as the default.
2617
+ validator: (e) => {
2618
+ if (typeof e == "number" && e > 0)
2619
+ return !0;
2620
+ if (typeof e == "string") {
2621
+ const n = String(e).replace(/px/gi, ""), t = Number(n);
2622
+ if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
2623
+ return !0;
2624
+ }
2625
+ return !1;
2626
+ }
2627
+ },
2628
+ /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
2629
+ as: {
2630
+ type: String,
2631
+ required: !1,
2632
+ default: "span"
2633
+ }
2634
+ },
2635
+ setup(e) {
2636
+ const n = e, t = x(() => {
2637
+ if (typeof n.size == "number" && n.size > 0)
2638
+ return `${n.size}px`;
2639
+ if (typeof n.size == "string") {
2640
+ const a = String(n.size).replace(/px/gi, ""), i = Number(a);
2641
+ if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2642
+ return `${i}px`;
2643
+ }
2644
+ return De;
2645
+ }), r = x(() => ({
2646
+ boxSizing: "border-box",
2647
+ color: n.color,
2648
+ display: n.display,
2649
+ height: t.value,
2650
+ lineHeight: "0",
2651
+ width: t.value
2652
+ }));
2653
+ return (a, i) => (f(), G(Ge(e.as), {
2654
+ "aria-hidden": e.decorative ? "true" : void 0,
2655
+ class: "kui-icon add-icon",
2656
+ "data-testid": "kui-icon-wrapper-add-icon",
2657
+ style: It(r.value)
2658
+ }, {
2659
+ default: y(() => [
2660
+ (f(), O("svg", {
2661
+ "aria-hidden": e.decorative ? "true" : void 0,
2662
+ "data-testid": "kui-icon-svg-add-icon",
2663
+ fill: "none",
2664
+ height: "100%",
2665
+ role: "img",
2666
+ viewBox: "0 0 24 24",
2667
+ width: "100%",
2668
+ xmlns: "http://www.w3.org/2000/svg"
2669
+ }, [
2670
+ e.title ? (f(), O("title", es, K(e.title), 1)) : W("", !0),
2671
+ ts
2672
+ ], 8, Xi))
2673
+ ]),
2674
+ _: 1
2675
+ }, 8, ["aria-hidden", "style"]));
2676
+ }
2677
+ }), rs = /* @__PURE__ */ Nt(ns, [["__scopeId", "data-v-2295e0fb"]]), as = (e) => (At("data-v-40a7f387"), e = e(), xt(), e), os = ["aria-hidden"], is = {
2678
+ key: 0,
2679
+ "data-testid": "kui-icon-svg-title"
2680
+ }, ss = /* @__PURE__ */ as(() => /* @__PURE__ */ V("path", {
2582
2681
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2583
2682
  fill: "currentColor"
2584
- }, null, -1)), ns = /* @__PURE__ */ te({
2683
+ }, null, -1)), ls = /* @__PURE__ */ ee({
2585
2684
  __name: "BookIcon",
2586
2685
  props: {
2587
2686
  /** The accessibility text provided to screen readers */
@@ -2612,7 +2711,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2612
2711
  size: {
2613
2712
  type: [Number, String],
2614
2713
  required: !1,
2615
- default: lt,
2714
+ default: De,
2616
2715
  // if setting to the imported const fails, just pass a number of 24 as the default.
2617
2716
  validator: (e) => {
2618
2717
  if (typeof e == "number" && e > 0)
@@ -2633,7 +2732,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2633
2732
  }
2634
2733
  },
2635
2734
  setup(e) {
2636
- const n = e, t = $(() => {
2735
+ const n = e, t = x(() => {
2637
2736
  if (typeof n.size == "number" && n.size > 0)
2638
2737
  return `${n.size}px`;
2639
2738
  if (typeof n.size == "string") {
@@ -2641,8 +2740,8 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2641
2740
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2642
2741
  return `${i}px`;
2643
2742
  }
2644
- return lt;
2645
- }), r = $(() => ({
2743
+ return De;
2744
+ }), r = x(() => ({
2646
2745
  boxSizing: "border-box",
2647
2746
  color: n.color,
2648
2747
  display: n.display,
@@ -2650,14 +2749,14 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2650
2749
  lineHeight: "0",
2651
2750
  width: t.value
2652
2751
  }));
2653
- return (a, i) => (f(), G(Ze(e.as), {
2752
+ return (a, i) => (f(), G(Ge(e.as), {
2654
2753
  "aria-hidden": e.decorative ? "true" : void 0,
2655
2754
  class: "kui-icon book-icon",
2656
2755
  "data-testid": "kui-icon-wrapper-book-icon",
2657
- style: pn(r.value)
2756
+ style: It(r.value)
2658
2757
  }, {
2659
2758
  default: y(() => [
2660
- (f(), F("svg", {
2759
+ (f(), O("svg", {
2661
2760
  "aria-hidden": e.decorative ? "true" : void 0,
2662
2761
  "data-testid": "kui-icon-svg-book-icon",
2663
2762
  fill: "none",
@@ -2667,20 +2766,20 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2667
2766
  width: "100%",
2668
2767
  xmlns: "http://www.w3.org/2000/svg"
2669
2768
  }, [
2670
- e.title ? (f(), F("title", es, B(e.title), 1)) : W("", !0),
2671
- ts
2672
- ], 8, Xi))
2769
+ e.title ? (f(), O("title", is, K(e.title), 1)) : W("", !0),
2770
+ ss
2771
+ ], 8, os))
2673
2772
  ]),
2674
2773
  _: 1
2675
2774
  }, 8, ["aria-hidden", "style"]));
2676
2775
  }
2677
- }), rs = /* @__PURE__ */ fr(ns, [["__scopeId", "data-v-40a7f387"]]), as = (e) => (fn("data-v-19f4cbbe"), e = e(), mn(), e), os = ["aria-hidden"], is = {
2776
+ }), us = /* @__PURE__ */ Nt(ls, [["__scopeId", "data-v-40a7f387"]]), cs = (e) => (At("data-v-19f4cbbe"), e = e(), xt(), e), ds = ["aria-hidden"], ps = {
2678
2777
  key: 0,
2679
2778
  "data-testid": "kui-icon-svg-title"
2680
- }, ss = /* @__PURE__ */ as(() => /* @__PURE__ */ R("path", {
2779
+ }, fs = /* @__PURE__ */ cs(() => /* @__PURE__ */ V("path", {
2681
2780
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2682
2781
  fill: "currentColor"
2683
- }, null, -1)), ls = /* @__PURE__ */ te({
2782
+ }, null, -1)), ms = /* @__PURE__ */ ee({
2684
2783
  __name: "CloseIcon",
2685
2784
  props: {
2686
2785
  /** The accessibility text provided to screen readers */
@@ -2711,7 +2810,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2711
2810
  size: {
2712
2811
  type: [Number, String],
2713
2812
  required: !1,
2714
- default: lt,
2813
+ default: De,
2715
2814
  // if setting to the imported const fails, just pass a number of 24 as the default.
2716
2815
  validator: (e) => {
2717
2816
  if (typeof e == "number" && e > 0)
@@ -2732,7 +2831,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2732
2831
  }
2733
2832
  },
2734
2833
  setup(e) {
2735
- const n = e, t = $(() => {
2834
+ const n = e, t = x(() => {
2736
2835
  if (typeof n.size == "number" && n.size > 0)
2737
2836
  return `${n.size}px`;
2738
2837
  if (typeof n.size == "string") {
@@ -2740,8 +2839,8 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2740
2839
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2741
2840
  return `${i}px`;
2742
2841
  }
2743
- return lt;
2744
- }), r = $(() => ({
2842
+ return De;
2843
+ }), r = x(() => ({
2745
2844
  boxSizing: "border-box",
2746
2845
  color: n.color,
2747
2846
  display: n.display,
@@ -2749,14 +2848,14 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2749
2848
  lineHeight: "0",
2750
2849
  width: t.value
2751
2850
  }));
2752
- return (a, i) => (f(), G(Ze(e.as), {
2851
+ return (a, i) => (f(), G(Ge(e.as), {
2753
2852
  "aria-hidden": e.decorative ? "true" : void 0,
2754
2853
  class: "kui-icon close-icon",
2755
2854
  "data-testid": "kui-icon-wrapper-close-icon",
2756
- style: pn(r.value)
2855
+ style: It(r.value)
2757
2856
  }, {
2758
2857
  default: y(() => [
2759
- (f(), F("svg", {
2858
+ (f(), O("svg", {
2760
2859
  "aria-hidden": e.decorative ? "true" : void 0,
2761
2860
  "data-testid": "kui-icon-svg-close-icon",
2762
2861
  fill: "none",
@@ -2766,14 +2865,14 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2766
2865
  width: "100%",
2767
2866
  xmlns: "http://www.w3.org/2000/svg"
2768
2867
  }, [
2769
- e.title ? (f(), F("title", is, B(e.title), 1)) : W("", !0),
2770
- ss
2771
- ], 8, os))
2868
+ e.title ? (f(), O("title", ps, K(e.title), 1)) : W("", !0),
2869
+ fs
2870
+ ], 8, ds))
2772
2871
  ]),
2773
2872
  _: 1
2774
2873
  }, 8, ["aria-hidden", "style"]));
2775
2874
  }
2776
- }), us = /* @__PURE__ */ fr(ls, [["__scopeId", "data-v-19f4cbbe"]]), cs = { "data-testid": "config-card-title" }, ds = { class: "config-card-actions" }, ps = ["href"], fs = { class: "config-card-details-section" }, ms = /* @__PURE__ */ te({
2875
+ }), gs = /* @__PURE__ */ Nt(ms, [["__scopeId", "data-v-19f4cbbe"]]), hs = { "data-testid": "config-card-title" }, ys = { class: "config-card-actions" }, vs = ["href"], bs = { class: "config-card-details-section" }, ks = /* @__PURE__ */ ee({
2777
2876
  __name: "EntityBaseConfigCard",
2778
2877
  props: {
2779
2878
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2864,9 +2963,9 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2864
2963
  label: "YAML",
2865
2964
  value: "yaml"
2866
2965
  }
2867
- ], d = O("structured"), c = (b) => {
2966
+ ], d = M("structured"), c = (b) => {
2868
2967
  d.value = b == null ? void 0 : b.value;
2869
- }, m = {
2968
+ }, g = {
2870
2969
  id: {
2871
2970
  type: X.ID,
2872
2971
  label: i("baseConfigCard.commonFields.id_label"),
@@ -2900,70 +2999,70 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2900
2999
  // the last property displayed
2901
3000
  section: he.Basic
2902
3001
  }
2903
- }, p = O(!1), S = O(!1), C = O(""), I = O({}), P = $(() => {
2904
- var b, D, N;
3002
+ }, p = M(!1), S = M(!1), C = M(""), I = M({}), P = x(() => {
3003
+ var b, R, B;
2905
3004
  if (!I.value)
2906
3005
  return [];
2907
- const x = [], z = Object.keys(I.value).length;
2908
- for (const M in I.value) {
2909
- const w = (D = (b = a.configSchema) == null ? void 0 : b[M]) == null ? void 0 : D.order, A = (N = m[M]) == null ? void 0 : N.order;
2910
- let K = z;
2911
- (A || A === 0) && (K = A === -1 ? z + 1 : A), w && (K = w === -1 ? z + 1 : w), x.push([M, K]);
3006
+ const $ = [], z = Object.keys(I.value).length;
3007
+ for (const F in I.value) {
3008
+ const w = (R = (b = a.configSchema) == null ? void 0 : b[F]) == null ? void 0 : R.order, A = (B = g[F]) == null ? void 0 : B.order;
3009
+ let N = z;
3010
+ (A || A === 0) && (N = A === -1 ? z + 1 : A), w && (N = w === -1 ? z + 1 : w), $.push([F, N]);
2912
3011
  }
2913
- return x.sort(function(M, w) {
2914
- return M[1] - w[1];
2915
- }), x.map((M) => {
3012
+ return $.sort(function(F, w) {
3013
+ return F[1] - w[1];
3014
+ }), $.map((F) => {
2916
3015
  var w, A;
2917
- const K = M[0], H = (w = I.value) == null ? void 0 : w[K], ae = ((A = a.configSchema) == null ? void 0 : A[K]) || {}, ue = m[K];
3016
+ const N = F[0], H = (w = I.value) == null ? void 0 : w[N], ae = ((A = a.configSchema) == null ? void 0 : A[N]) || {}, ue = g[N];
2918
3017
  return {
2919
- key: K,
3018
+ key: N,
2920
3019
  value: H,
2921
3020
  hidden: ae.hidden || !1,
2922
3021
  type: ae.type ?? ((ue == null ? void 0 : ue.type) || X.Text),
2923
- label: ae.label ?? ((ue == null ? void 0 : ue.label) || s(K)),
3022
+ label: ae.label ?? ((ue == null ? void 0 : ue.label) || s(N)),
2924
3023
  tooltip: ae.tooltip ?? ((ue == null ? void 0 : ue.tooltip) || void 0),
2925
3024
  section: ae.section ?? ((ue == null ? void 0 : ue.section) || he.Advanced)
2926
3025
  };
2927
- }).filter((M) => !M.hidden && M.key !== a.pluginConfigKey);
2928
- }), _ = $(() => {
2929
- var b, D;
3026
+ }).filter((F) => !F.hidden && F.key !== a.pluginConfigKey);
3027
+ }), _ = x(() => {
3028
+ var b, R;
2930
3029
  if (!I.value || !a.pluginConfigKey)
2931
3030
  return [];
2932
- const N = I.value[a.pluginConfigKey] || {}, x = Object.keys(N).length, z = [];
2933
- for (const M in N) {
2934
- const w = (D = (b = a.pluginConfigSchema) == null ? void 0 : b[M]) == null ? void 0 : D.order, A = N[M];
2935
- let K = A != null && A !== "" ? x - 1 : x;
2936
- w && (K = w === -1 ? x + 1 : w), z.push([M, K]);
3031
+ const B = I.value[a.pluginConfigKey] || {}, $ = Object.keys(B).length, z = [];
3032
+ for (const F in B) {
3033
+ const w = (R = (b = a.pluginConfigSchema) == null ? void 0 : b[F]) == null ? void 0 : R.order, A = B[F];
3034
+ let N = A != null && A !== "" ? $ - 1 : $;
3035
+ w && (N = w === -1 ? $ + 1 : w), z.push([F, N]);
2937
3036
  }
2938
- return z.sort(function(M, w) {
2939
- return M[1] - w[1];
2940
- }), z.map((M) => {
3037
+ return z.sort(function(F, w) {
3038
+ return F[1] - w[1];
3039
+ }), z.map((F) => {
2941
3040
  var w;
2942
- const A = M[0], K = N[A], H = ((w = a.pluginConfigSchema) == null ? void 0 : w[A]) || {};
3041
+ const A = F[0], N = B[A], H = ((w = a.pluginConfigSchema) == null ? void 0 : w[A]) || {};
2943
3042
  return {
2944
3043
  key: A,
2945
- value: K,
3044
+ value: N,
2946
3045
  hidden: H.hidden || !1,
2947
3046
  type: H.type ?? X.Text,
2948
3047
  label: H.label ?? s(A),
2949
3048
  tooltip: H.tooltip ?? void 0,
2950
3049
  section: he.Plugin
2951
3050
  };
2952
- }).filter((M) => !M.hidden);
2953
- }), U = $(() => {
2954
- var b, D, N, x;
3051
+ }).filter((F) => !F.hidden);
3052
+ }), U = x(() => {
3053
+ var b, R, B, $;
2955
3054
  return {
2956
3055
  basic: (b = P.value) == null ? void 0 : b.filter((z) => z.section === he.Basic),
2957
- advanced: (D = P.value) == null ? void 0 : D.filter((z) => z.section === he.Advanced),
2958
- plugin: (x = _.value) == null ? void 0 : x.concat((N = P.value) == null ? void 0 : N.filter((z) => z.section === he.Plugin))
3056
+ advanced: (R = P.value) == null ? void 0 : R.filter((z) => z.section === he.Advanced),
3057
+ plugin: ($ = _.value) == null ? void 0 : $.concat((B = P.value) == null ? void 0 : B.filter((z) => z.section === he.Plugin))
2959
3058
  };
2960
- }), v = $(() => {
3059
+ }), v = x(() => {
2961
3060
  const b = [];
2962
3061
  return U.value.basic.length && b.push("basic"), U.value.advanced.length && b.push("advanced"), U.value.plugin.length && b.push("plugin"), b;
2963
- }), h = $(() => {
2964
- var b, D;
2965
- let N = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2966
- return a.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((b = a.config) == null ? void 0 : b.controlPlaneId) || "") : a.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (D = a.config) != null && D.workspace ? `/${a.config.workspace}` : "")), N = N.replace(/{id}/gi, a.config.entityId), N;
3062
+ }), h = x(() => {
3063
+ var b, R;
3064
+ let B = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3065
+ return a.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((b = a.config) == null ? void 0 : b.controlPlaneId) || "") : a.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (R = a.config) != null && R.workspace ? `/${a.config.workspace}` : "")), B = B.replace(/{id}/gi, a.config.entityId), B;
2967
3066
  });
2968
3067
  return Ae(p, (b) => {
2969
3068
  r("loading", b);
@@ -2978,31 +3077,31 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
2978
3077
  throw new Error(i("errors.dataKeyUndefined", { dataKey: a.dataKey }));
2979
3078
  else
2980
3079
  I.value = { ...b };
2981
- Object.keys(a.configSchema).filter((D) => a.configSchema[D].forceShow).forEach((D) => {
2982
- I.value && typeof I.value[D] > "u" && (I.value[D] = null);
3080
+ Object.keys(a.configSchema).filter((R) => a.configSchema[R].forceShow).forEach((R) => {
3081
+ I.value && typeof I.value[R] > "u" && (I.value[R] = null);
2983
3082
  }), r("fetch:success", b);
2984
3083
  } catch (b) {
2985
- const D = o(b);
2986
- C.value = D.startsWith("code") ? i("baseConfigCard.errors.load") : D, S.value = !0, r("fetch:error", b);
3084
+ const R = o(b);
3085
+ C.value = R.startsWith("code") ? i("baseConfigCard.errors.load") : R, S.value = !0, r("fetch:error", b);
2987
3086
  } finally {
2988
3087
  p.value = !1;
2989
3088
  }
2990
- }), (b, D) => {
2991
- const N = q("KLabel"), x = q("KSelect"), z = q("KButton"), M = q("KSkeleton"), w = q("KEmptyState"), A = q("KCard");
3089
+ }), (b, R) => {
3090
+ const B = q("KLabel"), $ = q("KSelect"), z = q("KButton"), F = q("KSkeleton"), w = q("KEmptyState"), A = q("KCard");
2992
3091
  return f(), G(A, { class: "kong-ui-entity-base-config-card" }, Me({
2993
3092
  actions: y(() => [
2994
- R("div", ds, [
2995
- ee(b.$slots, "actions", {}, void 0, !0),
2996
- E(N, {
3093
+ V("div", ys, [
3094
+ te(b.$slots, "actions", {}, void 0, !0),
3095
+ T(B, {
2997
3096
  class: "config-format-select-label",
2998
3097
  "data-testid": "config-format-select-label"
2999
3098
  }, {
3000
3099
  default: y(() => [
3001
- Q(B(e.label), 1)
3100
+ Q(K(e.label), 1)
3002
3101
  ]),
3003
3102
  _: 1
3004
3103
  }),
3005
- E(x, {
3104
+ T($, {
3006
3105
  "data-testid": "select-config-format",
3007
3106
  items: u,
3008
3107
  onChange: c
@@ -3014,20 +3113,20 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3014
3113
  "data-testid": "book-icon"
3015
3114
  }, {
3016
3115
  default: y(() => [
3017
- R("a", {
3116
+ V("a", {
3018
3117
  href: e.configCardDoc,
3019
3118
  rel: "noopener",
3020
3119
  target: "_blank"
3021
3120
  }, [
3022
- E(g(rs), { size: g(ca) }, null, 8, ["size"])
3023
- ], 8, ps)
3121
+ T(m(us), { size: m(ca) }, null, 8, ["size"])
3122
+ ], 8, vs)
3024
3123
  ]),
3025
3124
  _: 1
3026
3125
  })) : W("", !0)
3027
3126
  ])
3028
3127
  ]),
3029
3128
  default: y(() => [
3030
- p.value ? (f(), G(M, {
3129
+ p.value ? (f(), G(F, {
3031
3130
  key: 0,
3032
3131
  "data-testid": "config-card-loader",
3033
3132
  "table-columns": 2,
@@ -3035,15 +3134,15 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3035
3134
  })) : S.value ? (f(), G(w, {
3036
3135
  key: 1,
3037
3136
  "data-testid": "config-card-fetch-error",
3038
- "is-error": ""
3137
+ "icon-variant": "error"
3039
3138
  }, {
3040
- message: y(() => [
3041
- R("h3", null, B(C.value), 1)
3139
+ default: y(() => [
3140
+ V("h3", null, K(C.value), 1)
3042
3141
  ]),
3043
3142
  _: 1
3044
3143
  })) : W("", !0),
3045
- R("div", fs, [
3046
- E(Zi, {
3144
+ V("div", bs, [
3145
+ T(Zi, {
3047
3146
  config: e.config,
3048
3147
  "fetcher-url": h.value,
3049
3148
  format: d.value,
@@ -3051,10 +3150,10 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3051
3150
  "property-collections": U.value,
3052
3151
  record: I.value
3053
3152
  }, Me({ _: 2 }, [
3054
- ye(Object.keys(b.$slots), (K) => ({
3055
- name: K,
3153
+ ye(Object.keys(b.$slots), (N) => ({
3154
+ name: N,
3056
3155
  fn: y(({ row: H, rowValue: ae }) => [
3057
- ee(b.$slots, K, {
3156
+ te(b.$slots, N, {
3058
3157
  row: H,
3059
3158
  rowValue: ae
3060
3159
  }, void 0, !0)
@@ -3068,9 +3167,9 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3068
3167
  e.hideTitle ? void 0 : {
3069
3168
  name: "title",
3070
3169
  fn: y(() => [
3071
- R("div", cs, [
3072
- ee(b.$slots, "title", {}, () => [
3073
- Q(B(g(i)("baseConfigCard.title")), 1)
3170
+ V("div", hs, [
3171
+ te(b.$slots, "title", {}, () => [
3172
+ Q(K(m(i)("baseConfigCard.title")), 1)
3074
3173
  ], !0)
3075
3174
  ])
3076
3175
  ]),
@@ -3079,10 +3178,10 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3079
3178
  ]), 1024);
3080
3179
  };
3081
3180
  }
3082
- }), gs = /* @__PURE__ */ be(ms, [["__scopeId", "data-v-27ca6623"]]), hs = {
3181
+ }), Cs = /* @__PURE__ */ be(ks, [["__scopeId", "data-v-491f1797"]]), ws = {
3083
3182
  class: "form-actions",
3084
3183
  "data-testid": "form-actions"
3085
- }, ys = { key: 0 }, vs = /* @__PURE__ */ te({
3184
+ }, _s = { key: 0 }, Is = /* @__PURE__ */ ee({
3086
3185
  __name: "EntityBaseForm",
3087
3186
  props: {
3088
3187
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3137,9 +3236,9 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3137
3236
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3138
3237
  setup(e, { emit: n }) {
3139
3238
  var t;
3140
- const r = n, a = e, i = It(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3239
+ const r = n, a = e, i = St(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3141
3240
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3142
- }), u = O(!1), d = O(!1), c = O(""), m = $(() => a.canSubmit === !1 || a.isReadonly), p = O(!1), S = $(() => {
3241
+ }), u = M(!1), d = M(!1), c = M(""), g = x(() => a.canSubmit === !1 || a.isReadonly), p = M(!1), S = x(() => {
3143
3242
  var v, h;
3144
3243
  let b = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3145
3244
  return a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (h = a.config) != null && h.workspace ? `/${a.config.workspace}` : "")), a.editId ? (b = b.replace(/{id}/gi, a.editId), b) : (b = b.replace(/\/{id}/gi, ""), b);
@@ -3150,8 +3249,8 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3150
3249
  }, P = () => {
3151
3250
  r("cancel");
3152
3251
  }, _ = () => {
3153
- m.value || r("submit");
3154
- }, U = O([
3252
+ g.value || r("submit");
3253
+ }, U = M([
3155
3254
  {
3156
3255
  title: o("baseForm.configuration.yaml"),
3157
3256
  hash: "#yaml"
@@ -3176,92 +3275,92 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3176
3275
  u.value = !1;
3177
3276
  }
3178
3277
  }), (v, h) => {
3179
- const b = q("KSkeleton"), D = q("KEmptyState"), N = q("KAlert"), x = q("KButton"), z = q("KTabs"), M = q("KSlideout"), w = q("KCard");
3278
+ const b = q("KSkeleton"), R = q("KEmptyState"), B = q("KAlert"), $ = q("KButton"), z = q("KTabs"), F = q("KSlideout"), w = q("KCard");
3180
3279
  return f(), G(w, { class: "kong-ui-entity-base-form" }, {
3181
3280
  default: y(() => [
3182
3281
  u.value ? (f(), G(b, {
3183
3282
  key: 0,
3184
3283
  type: "form"
3185
- })) : d.value ? (f(), G(D, {
3284
+ })) : d.value ? (f(), G(R, {
3186
3285
  key: 1,
3187
- "cta-text": g(o)("baseForm.actions.back"),
3286
+ "action-button-text": m(o)("baseForm.actions.back"),
3188
3287
  "data-testid": "form-fetch-error",
3189
- "handle-click": I,
3190
- "is-error": !0
3288
+ "icon-variant": "error",
3289
+ onClickAction: I
3191
3290
  }, {
3192
- message: y(() => [
3193
- R("h3", null, B(c.value), 1)
3291
+ default: y(() => [
3292
+ V("h3", null, K(c.value), 1)
3194
3293
  ]),
3195
3294
  _: 1
3196
- }, 8, ["cta-text"])) : (f(), F("form", {
3295
+ }, 8, ["action-button-text"])) : (f(), O("form", {
3197
3296
  key: 2,
3198
3297
  "data-testid": "form-content",
3199
3298
  onReset: yt(P, ["prevent"]),
3200
3299
  onSubmit: yt(_, ["prevent"])
3201
3300
  }, [
3202
- ee(v.$slots, "default", {}, void 0, !0),
3203
- e.errorMessage ? (f(), G(N, {
3301
+ te(v.$slots, "default", {}, void 0, !0),
3302
+ e.errorMessage ? (f(), G(B, {
3204
3303
  key: 0,
3205
- "alert-message": e.errorMessage,
3206
3304
  appearance: "danger",
3207
- "data-testid": "form-error"
3208
- }, null, 8, ["alert-message"])) : W("", !0),
3209
- R("div", hs, [
3210
- ee(v.$slots, "form-actions", {}, () => [
3211
- e.config.jsonYamlFormsEnabled ? (f(), F("div", ys, [
3212
- E(x, {
3305
+ "data-testid": "form-error",
3306
+ message: e.errorMessage
3307
+ }, null, 8, ["message"])) : W("", !0),
3308
+ V("div", ws, [
3309
+ te(v.$slots, "form-actions", {}, () => [
3310
+ e.config.jsonYamlFormsEnabled ? (f(), O("div", _s, [
3311
+ T($, {
3213
3312
  appearance: "tertiary",
3214
3313
  "data-testid": "form-view-configuration",
3215
3314
  onClick: h[0] || (h[0] = (A) => C())
3216
3315
  }, {
3217
3316
  default: y(() => [
3218
- Q(B(g(o)("baseForm.actions.viewConfiguration")), 1)
3317
+ Q(K(m(o)("baseForm.actions.viewConfiguration")), 1)
3219
3318
  ]),
3220
3319
  _: 1
3221
3320
  })
3222
3321
  ])) : W("", !0),
3223
- E(x, {
3322
+ T($, {
3224
3323
  appearance: "secondary",
3225
3324
  "data-testid": "form-cancel",
3226
3325
  disabled: e.isReadonly,
3227
3326
  type: "reset"
3228
3327
  }, {
3229
3328
  default: y(() => [
3230
- Q(B(g(o)("baseForm.actions.cancel")), 1)
3329
+ Q(K(m(o)("baseForm.actions.cancel")), 1)
3231
3330
  ]),
3232
3331
  _: 1
3233
3332
  }, 8, ["disabled"]),
3234
- E(x, {
3333
+ T($, {
3235
3334
  appearance: "primary",
3236
3335
  "data-testid": "form-submit",
3237
- disabled: m.value,
3336
+ disabled: g.value,
3238
3337
  type: "submit"
3239
3338
  }, {
3240
3339
  default: y(() => [
3241
- Q(B(g(o)("baseForm.actions.save")), 1)
3340
+ Q(K(m(o)("baseForm.actions.save")), 1)
3242
3341
  ]),
3243
3342
  _: 1
3244
3343
  }, 8, ["disabled"])
3245
3344
  ], !0)
3246
3345
  ])
3247
3346
  ], 32)),
3248
- E(M, {
3347
+ T(F, {
3249
3348
  "close-on-blur": !1,
3250
3349
  "data-testid": "form-view-configuration-slideout",
3251
3350
  "has-overlay": !1,
3252
3351
  "offset-top": 60,
3253
- title: g(o)("baseForm.configuration.title"),
3352
+ title: m(o)("baseForm.configuration.title"),
3254
3353
  visible: p.value,
3255
3354
  onClose: h[1] || (h[1] = (A) => C())
3256
3355
  }, {
3257
3356
  default: y(() => [
3258
- R("div", null, B(g(o)("baseForm.configuration.message")), 1),
3259
- E(z, {
3357
+ V("div", null, K(m(o)("baseForm.configuration.message")), 1),
3358
+ T(z, {
3260
3359
  "data-testid": "form-view-configuration-slideout-tabs",
3261
3360
  tabs: U.value
3262
3361
  }, {
3263
3362
  json: y(() => [
3264
- E(In, {
3363
+ T(An, {
3265
3364
  config: e.config,
3266
3365
  "fetcher-url": S.value,
3267
3366
  "json-record": a.formFields,
@@ -3269,7 +3368,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3269
3368
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3270
3369
  ]),
3271
3370
  yaml: y(() => [
3272
- E(pr, {
3371
+ T(fr, {
3273
3372
  "yaml-record": a.formFields
3274
3373
  }, null, 8, ["yaml-record"])
3275
3374
  ]),
@@ -3283,10 +3382,10 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3283
3382
  });
3284
3383
  };
3285
3384
  }
3286
- }), bs = /* @__PURE__ */ be(vs, [["__scopeId", "data-v-2e2d1350"]]), ks = {
3385
+ }), As = /* @__PURE__ */ be(Is, [["__scopeId", "data-v-acb5a965"]]), xs = {
3287
3386
  key: 0,
3288
3387
  "data-testid": "first-col"
3289
- }, Cs = /* @__PURE__ */ te({
3388
+ }, Ss = /* @__PURE__ */ ee({
3290
3389
  __name: "EntityBaseTableCell",
3291
3390
  props: {
3292
3391
  keyName: {
@@ -3299,13 +3398,13 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3299
3398
  }
3300
3399
  },
3301
3400
  setup(e) {
3302
- const n = e, t = $(() => {
3401
+ const n = e, t = x(() => {
3303
3402
  var C;
3304
3403
  return ((C = n.rowEl) == null ? void 0 : C.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3305
- }), r = $(() => {
3404
+ }), r = x(() => {
3306
3405
  var C;
3307
3406
  return ((C = t.value) == null ? void 0 : C.querySelector('[data-testid="first-col"]')) || null;
3308
- }), a = $(() => {
3407
+ }), a = x(() => {
3309
3408
  var C, I;
3310
3409
  const P = (C = n.rowEl) == null ? void 0 : C.querySelectorAll("td");
3311
3410
  return P ? ((I = P[0]) == null ? void 0 : I.getAttribute("data-testid")) === n.keyName : !1;
@@ -3316,8 +3415,8 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3316
3415
  }, s = () => {
3317
3416
  var C, I, P;
3318
3417
  u.value = ((C = r.value) == null ? void 0 : C.getBoundingClientRect().width) || 0, d.value = ((I = t.value) == null ? void 0 : I.clientWidth) || 0, c.value = ((P = l.value) == null ? void 0 : P.innerText) || "";
3319
- }, l = O({}), u = O(0), d = O(0), c = O(""), m = $(() => [r.value, t.value]), p = Ae(
3320
- m,
3418
+ }, l = M({}), u = M(0), d = M(0), c = M(""), g = x(() => [r.value, t.value]), p = Ae(
3419
+ g,
3321
3420
  (C) => {
3322
3421
  if (a.value && (o(), "ResizeObserver" in window && window)) {
3323
3422
  i = new ResizeObserver((I) => {
@@ -3330,37 +3429,37 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3330
3429
  }
3331
3430
  },
3332
3431
  { immediate: !0, flush: "post", deep: !0 }
3333
- ), S = $(() => a.value ? u.value > d.value : !1);
3432
+ ), S = x(() => a.value ? u.value > d.value : !1);
3334
3433
  return br(() => {
3335
3434
  s();
3336
3435
  }), kr(() => {
3337
3436
  p();
3338
3437
  }), (C, I) => {
3339
3438
  const P = q("KTooltip");
3340
- return f(), F("span", {
3439
+ return f(), O("span", {
3341
3440
  ref_key: "contentRef",
3342
3441
  ref: l,
3343
3442
  class: "content-wrapper"
3344
3443
  }, [
3345
- a.value ? (f(), F("span", ks, [
3346
- E(P, {
3444
+ a.value ? (f(), O("span", xs, [
3445
+ T(P, {
3347
3446
  "max-width": "300",
3348
3447
  placement: "bottomStart",
3349
3448
  text: S.value ? c.value : ""
3350
3449
  }, {
3351
3450
  default: y(() => [
3352
- ee(C.$slots, "default", {}, void 0, !0)
3451
+ te(C.$slots, "default", {}, void 0, !0)
3353
3452
  ]),
3354
3453
  _: 3
3355
3454
  }, 8, ["text"])
3356
- ])) : ee(C.$slots, "default", { key: 1 }, void 0, !0)
3455
+ ])) : te(C.$slots, "default", { key: 1 }, void 0, !0)
3357
3456
  ], 512);
3358
3457
  };
3359
3458
  }
3360
- }), ws = /* @__PURE__ */ be(Cs, [["__scopeId", "data-v-c4379fd4"]]), _s = { class: "toolbar-container" }, Is = {
3459
+ }), $s = /* @__PURE__ */ be(Ss, [["__scopeId", "data-v-c4379fd4"]]), js = { class: "toolbar-container" }, Ts = {
3361
3460
  key: 0,
3362
3461
  class: "toolbar-button-container"
3363
- }, As = ["data-testid"], Ss = /* @__PURE__ */ te({
3462
+ }, Es = ["data-testid"], Os = /* @__PURE__ */ ee({
3364
3463
  __name: "EntityBaseTable",
3365
3464
  props: {
3366
3465
  // table header configuration
@@ -3470,7 +3569,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3470
3569
  },
3471
3570
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3472
3571
  setup(e, { emit: n }) {
3473
- const t = e, r = n, { i18n: { t: a } } = se.useI18n(), i = $(() => {
3572
+ const t = e, r = n, { i18n: { t: a } } = se.useI18n(), i = x(() => {
3474
3573
  var h, b;
3475
3574
  return typeof t.errorMessage == "string" ? {
3476
3575
  hasError: !!t.errorMessage,
@@ -3481,14 +3580,14 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3481
3580
  title: (h = t.errorMessage) == null ? void 0 : h.title,
3482
3581
  message: (b = t.errorMessage) == null ? void 0 : b.message
3483
3582
  };
3484
- }), o = $(() => t.cacheIdentifier || t.preferencesStorageKey), s = (h) => h.hasData || !!t.query, l = $(() => {
3583
+ }), o = x(() => t.cacheIdentifier || t.preferencesStorageKey), s = (h) => h.hasData || !!t.query, l = x(() => {
3485
3584
  const h = [];
3486
3585
  return Object.keys(t.tableHeaders).forEach((b) => {
3487
- const D = t.tableHeaders[b];
3586
+ const R = t.tableHeaders[b];
3488
3587
  h.push({
3489
- label: D.label ?? b,
3588
+ label: R.label ?? b,
3490
3589
  key: b,
3491
- sortable: D.sortable ?? !1
3590
+ sortable: R.sortable ?? !1
3492
3591
  });
3493
3592
  }), t.enableEntityActions && h.push({
3494
3593
  key: "actions",
@@ -3498,10 +3597,10 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3498
3597
  "data-rowid": h.id,
3499
3598
  "data-testid": h.name,
3500
3599
  ...t.rowAttributes(h)
3501
- }), d = O({}), c = (h) => {
3600
+ }), d = M({}), c = (h) => {
3502
3601
  var b;
3503
3602
  return (b = d.value) == null ? void 0 : b.$el.querySelector(`[data-rowid="${h.id}"]`);
3504
- }, m = (h) => {
3603
+ }, g = (h) => {
3505
3604
  const b = {
3506
3605
  "data-testid": h.headerKey,
3507
3606
  ...t.cellAttributes(h)
@@ -3515,11 +3614,11 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3515
3614
  r("empty-state-cta-clicked"), S();
3516
3615
  }, S = () => {
3517
3616
  r("clear-search-input");
3518
- }, C = $(() => t.disableRowClick ? void 0 : (h, b) => {
3617
+ }, C = x(() => t.disableRowClick ? void 0 : (h, b) => {
3519
3618
  r("click:row", b);
3520
3619
  }), I = (h) => {
3521
3620
  r("sort", h);
3522
- }, { setTablePreferences: P, getTablePreferences: _ } = Er(), U = $(() => {
3621
+ }, { setTablePreferences: P, getTablePreferences: _ } = Er(), U = x(() => {
3523
3622
  const h = _(t.preferencesStorageKey);
3524
3623
  return {
3525
3624
  ...t.initialFetcherParams,
@@ -3529,26 +3628,24 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3529
3628
  t.preferencesStorageKey && P(t.preferencesStorageKey, h);
3530
3629
  };
3531
3630
  return (h, b) => {
3532
- const D = q("KIcon"), N = q("KButton"), x = q("KDropdown"), z = q("KTable"), M = q("KCard");
3533
- return f(), G(M, {
3631
+ const R = q("KIcon"), B = q("KButton"), $ = q("KDropdown"), z = q("KTable"), F = q("KCard");
3632
+ return f(), G(F, {
3534
3633
  class: "kong-ui-entity-base-table",
3535
3634
  title: e.title
3536
3635
  }, {
3537
3636
  default: y(() => [
3538
- E(z, {
3637
+ T(z, {
3539
3638
  ref_key: "tableRefs",
3540
3639
  ref: d,
3541
3640
  "cache-identifier": o.value,
3542
- "cell-attrs": m,
3641
+ "cell-attrs": g,
3543
3642
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3544
3643
  "disable-sorting": e.disableSorting,
3545
- "empty-state-action-button-icon": e.query ? "" : "plus",
3546
- "empty-state-action-message": e.query ? g(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3547
- "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3548
- "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3549
- "empty-state-icon-size": "96",
3550
- "empty-state-message": e.query ? g(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3551
- "empty-state-title": e.query ? g(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3644
+ "empty-state-action-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3645
+ "empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
3646
+ "empty-state-icon-variant": e.query ? "search" : "kong",
3647
+ "empty-state-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3648
+ "empty-state-title": e.query ? m(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3552
3649
  "enable-client-sort": e.enableClientSort,
3553
3650
  "error-state-message": i.value.message,
3554
3651
  "error-state-title": i.value.title,
@@ -3568,40 +3665,40 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3568
3665
  "onUpdate:tablePreferences": v
3569
3666
  }, Me({
3570
3667
  toolbar: y(({ state: w }) => [
3571
- qe(R("div", _s, [
3572
- ee(h.$slots, "toolbar-filter", {}, void 0, !0),
3573
- h.$slots["toolbar-button"] ? (f(), F("div", Is, [
3574
- ee(h.$slots, "toolbar-button", {}, void 0, !0)
3668
+ qe(V("div", js, [
3669
+ te(h.$slots, "toolbar-filter", {}, void 0, !0),
3670
+ h.$slots["toolbar-button"] ? (f(), O("div", Ts, [
3671
+ te(h.$slots, "toolbar-button", {}, void 0, !0)
3575
3672
  ])) : W("", !0)
3576
3673
  ], 512), [
3577
3674
  [Le, s(w)]
3578
3675
  ])
3579
3676
  ]),
3580
- actions: y(({ row: w, rowKey: A, rowValue: K }) => [
3581
- R("div", {
3677
+ actions: y(({ row: w, rowKey: A, rowValue: N }) => [
3678
+ V("div", {
3582
3679
  class: "actions-container",
3583
3680
  "data-testid": w.name
3584
3681
  }, [
3585
- E(x, {
3682
+ T($, {
3586
3683
  "kpop-attributes": { placement: "bottomEnd" },
3587
3684
  width: e.dropdownMenuWidth
3588
3685
  }, {
3589
3686
  items: y(() => [
3590
- ee(h.$slots, "actions", {
3687
+ te(h.$slots, "actions", {
3591
3688
  row: w,
3592
3689
  rowKey: A,
3593
- rowValue: K
3690
+ rowValue: N
3594
3691
  }, void 0, !0)
3595
3692
  ]),
3596
3693
  default: y(() => [
3597
- E(N, {
3694
+ T(B, {
3598
3695
  class: "actions-trigger",
3599
3696
  "data-testid": "overflow-actions-button",
3600
3697
  size: "small"
3601
3698
  }, {
3602
3699
  icon: y(() => [
3603
- E(D, {
3604
- color: g(la),
3700
+ T(R, {
3701
+ color: m(la),
3605
3702
  icon: "more",
3606
3703
  size: "16"
3607
3704
  }, null, 8, ["color"])
@@ -3611,43 +3708,50 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3611
3708
  ]),
3612
3709
  _: 2
3613
3710
  }, 1032, ["width"])
3614
- ], 8, As)
3711
+ ], 8, Es)
3615
3712
  ]),
3616
3713
  _: 2
3617
3714
  }, [
3618
3715
  ye(e.tableHeaders, (w, A) => ({
3619
3716
  name: A,
3620
- fn: y(({ row: K, rowKey: H, rowValue: ae }) => [
3621
- E(ws, {
3717
+ fn: y(({ row: N, rowKey: H, rowValue: ae }) => [
3718
+ T($s, {
3622
3719
  "key-name": String(A),
3623
- "row-el": c(K)
3720
+ "row-el": c(N)
3624
3721
  }, {
3625
3722
  default: y(() => [
3626
- ee(h.$slots, A, {
3627
- row: K,
3723
+ te(h.$slots, A, {
3724
+ row: N,
3628
3725
  rowKey: H,
3629
3726
  rowValue: ae
3630
3727
  }, () => [
3631
- Q(B(ae), 1)
3728
+ Q(K(ae), 1)
3632
3729
  ], !0)
3633
3730
  ]),
3634
3731
  _: 2
3635
3732
  }, 1032, ["key-name", "row-el"])
3636
3733
  ])
3637
- }))
3638
- ]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-button-icon", "empty-state-action-message", "empty-state-action-route", "empty-state-icon", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
3734
+ })),
3735
+ e.query ? void 0 : {
3736
+ name: "empty-state-action-icon",
3737
+ fn: y(() => [
3738
+ T(m(rs))
3739
+ ]),
3740
+ key: "0"
3741
+ }
3742
+ ]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
3639
3743
  ]),
3640
3744
  _: 3
3641
3745
  }, 8, ["title"]);
3642
3746
  };
3643
3747
  }
3644
- }), xs = /* @__PURE__ */ be(Ss, [["__scopeId", "data-v-ecfaa7cf"]]), $s = {
3748
+ }), Ms = /* @__PURE__ */ be(Os, [["__scopeId", "data-v-273124cf"]]), Fs = {
3645
3749
  key: 0,
3646
3750
  class: "kong-ui-entity-delete-error"
3647
- }, js = {
3751
+ }, Ks = {
3648
3752
  key: 1,
3649
3753
  class: "description"
3650
- }, Ts = /* @__PURE__ */ te({
3754
+ }, Ns = /* @__PURE__ */ ee({
3651
3755
  __name: "EntityDeleteModal",
3652
3756
  props: {
3653
3757
  visible: {
@@ -3686,7 +3790,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3686
3790
  },
3687
3791
  emits: ["cancel", "proceed"],
3688
3792
  setup(e, { emit: n }) {
3689
- const { i18nT: t } = se.useI18n(), r = e, a = n, i = $(() => r.needConfirm ? r.entityName : ""), o = () => {
3793
+ const { i18nT: t } = se.useI18n(), r = e, a = n, i = x(() => r.needConfirm ? r.entityName : ""), o = () => {
3690
3794
  a("cancel");
3691
3795
  }, s = () => {
3692
3796
  a("proceed");
@@ -3705,35 +3809,35 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3705
3809
  onProceed: s
3706
3810
  }, {
3707
3811
  default: y(() => [
3708
- e.error ? (f(), F("div", $s, [
3709
- E(d, { appearance: "danger" }, {
3710
- alertMessage: y(() => [
3711
- Q(B(e.error), 1)
3812
+ e.error ? (f(), O("div", Fs, [
3813
+ T(d, { appearance: "danger" }, {
3814
+ default: y(() => [
3815
+ Q(K(e.error), 1)
3712
3816
  ]),
3713
3817
  _: 1
3714
3818
  })
3715
3819
  ])) : W("", !0),
3716
- E(g(t), {
3820
+ T(m(t), {
3717
3821
  class: "message",
3718
3822
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3719
3823
  tag: "p"
3720
3824
  }, Me({
3721
3825
  entityType: y(() => [
3722
- Q(B(r.entityType), 1)
3826
+ Q(K(r.entityType), 1)
3723
3827
  ]),
3724
3828
  _: 2
3725
3829
  }, [
3726
3830
  r.entityName ? {
3727
3831
  name: "entityName",
3728
3832
  fn: y(() => [
3729
- R("strong", null, B(r.entityName), 1)
3833
+ V("strong", null, K(r.entityName), 1)
3730
3834
  ]),
3731
3835
  key: "0"
3732
3836
  } : void 0
3733
3837
  ]), 1032, ["keypath"]),
3734
- r.description || l.$slots.description ? (f(), F("div", js, [
3735
- ee(l.$slots, "description", {}, () => [
3736
- R("p", null, B(r.description), 1)
3838
+ r.description || l.$slots.description ? (f(), O("div", Ks, [
3839
+ te(l.$slots, "description", {}, () => [
3840
+ V("p", null, K(r.description), 1)
3737
3841
  ], !0)
3738
3842
  ])) : W("", !0)
3739
3843
  ]),
@@ -3741,13 +3845,13 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3741
3845
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3742
3846
  };
3743
3847
  }
3744
- }), Es = /* @__PURE__ */ be(Ts, [["__scopeId", "data-v-efe8f34b"]]), Os = {
3848
+ }), Bs = /* @__PURE__ */ be(Ns, [["__scopeId", "data-v-4361d622"]]), qs = {
3745
3849
  fill: "none",
3746
3850
  height: "20",
3747
3851
  viewBox: "0 0 20 20",
3748
3852
  width: "20",
3749
3853
  xmlns: "http://www.w3.org/2000/svg"
3750
- }, Ms = {
3854
+ }, Ls = {
3751
3855
  id: "mask0_180_20349",
3752
3856
  height: "20",
3753
3857
  maskUnits: "userSpaceOnUse",
@@ -3755,7 +3859,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3755
3859
  width: "20",
3756
3860
  x: "0",
3757
3861
  y: "0"
3758
- }, Fs = ["fill"], Ks = { mask: "url(#mask0_180_20349)" }, Bs = ["fill"], un = /* @__PURE__ */ te({
3862
+ }, Ps = ["fill"], Us = { mask: "url(#mask0_180_20349)" }, Vs = ["fill"], fn = /* @__PURE__ */ ee({
3759
3863
  __name: "IconFilter",
3760
3864
  props: {
3761
3865
  color: {
@@ -3764,26 +3868,26 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3764
3868
  }
3765
3869
  },
3766
3870
  setup(e) {
3767
- return (n, t) => (f(), F("svg", Os, [
3768
- R("mask", Ms, [
3769
- R("rect", {
3871
+ return (n, t) => (f(), O("svg", qs, [
3872
+ V("mask", Ls, [
3873
+ V("rect", {
3770
3874
  fill: e.color,
3771
3875
  height: "20",
3772
3876
  width: "20"
3773
- }, null, 8, Fs)
3877
+ }, null, 8, Ps)
3774
3878
  ]),
3775
- R("g", Ks, [
3776
- R("path", {
3879
+ V("g", Us, [
3880
+ V("path", {
3777
3881
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3778
3882
  fill: e.color
3779
- }, null, 8, Bs)
3883
+ }, null, 8, Vs)
3780
3884
  ])
3781
3885
  ]));
3782
3886
  }
3783
- }), Ns = {
3887
+ }), Rs = {
3784
3888
  key: 1,
3785
3889
  class: "kong-ui-entity-filter"
3786
- }, qs = { class: "menu-item-title" }, Ls = { class: "menu-item-indicator" }, Ps = { class: "menu-item-body" }, Us = ["for"], Rs = { class: "menu-item-buttons" }, Ds = { class: "filter-clear-button-container" }, Vs = /* @__PURE__ */ te({
3890
+ }, Ds = { class: "menu-item-title" }, Gs = { class: "menu-item-indicator" }, zs = { class: "menu-item-body" }, Hs = ["for"], Js = { class: "menu-item-buttons" }, Ys = { class: "filter-clear-button-container" }, Ws = /* @__PURE__ */ ee({
3787
3891
  __name: "EntityFilter",
3788
3892
  props: {
3789
3893
  // filter config, either exact match or fuzzy match
@@ -3803,12 +3907,12 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3803
3907
  },
3804
3908
  emits: ["update:modelValue"],
3805
3909
  setup(e, { emit: n }) {
3806
- const { i18n: { t } } = se.useI18n(), r = e, a = n, i = O(!1), o = O({}), s = $(() => {
3910
+ const { i18n: { t } } = se.useI18n(), r = e, a = n, i = M(!1), o = M({}), s = x(() => {
3807
3911
  const _ = [];
3808
3912
  return new URLSearchParams(r.modelValue).forEach((U, v) => {
3809
3913
  U !== "" && _.push(v);
3810
3914
  }), _;
3811
- }), l = $(() => {
3915
+ }), l = x(() => {
3812
3916
  const _ = r.config.fields;
3813
3917
  return Object.keys(_).filter((U) => _[U].searchable).map((U) => ({
3814
3918
  label: _[U].label || U,
@@ -3826,7 +3930,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3826
3930
  a("update:modelValue", _);
3827
3931
  }, c = () => {
3828
3932
  d("");
3829
- }, m = (_) => `filter-${_}`, p = (_) => {
3933
+ }, g = (_) => `filter-${_}`, p = (_) => {
3830
3934
  var U, v;
3831
3935
  return (((v = (U = r.config.schema) == null ? void 0 : U[_]) == null ? void 0 : v.values) ?? []).map((h) => ({
3832
3936
  value: h,
@@ -3847,7 +3951,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3847
3951
  _ && (i.value = !1), a("update:modelValue", new URLSearchParams(U).toString());
3848
3952
  };
3849
3953
  return (_, U) => {
3850
- const v = q("KInput"), h = q("KButton"), b = q("KSelect"), D = q("KMenuItem"), N = q("KMenu");
3954
+ const v = q("KInput"), h = q("KButton"), b = q("KSelect"), R = q("KMenuItem"), B = q("KMenu");
3851
3955
  return e.config.isExactMatch ? (f(), G(v, {
3852
3956
  key: 0,
3853
3957
  autocomplete: "off",
@@ -3858,10 +3962,10 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3858
3962
  "onUpdate:modelValue": d
3859
3963
  }, {
3860
3964
  before: y(() => [
3861
- E(un)
3965
+ T(fn)
3862
3966
  ]),
3863
3967
  after: y(() => [
3864
- qe(E(g(us), {
3968
+ qe(T(m(gs), {
3865
3969
  class: "kong-ui-entity-filter-clear",
3866
3970
  onClick: c
3867
3971
  }, null, 512), [
@@ -3869,85 +3973,85 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3869
3973
  ])
3870
3974
  ]),
3871
3975
  _: 1
3872
- }, 8, ["model-value", "placeholder"])) : (f(), F("div", Ns, [
3873
- E(h, {
3976
+ }, 8, ["model-value", "placeholder"])) : (f(), O("div", Rs, [
3977
+ T(h, {
3874
3978
  appearance: "tertiary",
3875
3979
  "data-testid": "filter-button",
3876
3980
  onClick: u
3877
3981
  }, {
3878
3982
  default: y(() => [
3879
- E(un),
3880
- Q(" " + B(g(t)("filter.filterButtonText")) + " " + B(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3983
+ T(fn),
3984
+ Q(" " + K(m(t)("filter.filterButtonText")) + " " + K(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3881
3985
  ]),
3882
3986
  _: 1
3883
3987
  }),
3884
- qe(R("div", {
3988
+ qe(V("div", {
3885
3989
  class: "kong-ui-entity-filter-backdrop",
3886
3990
  onClick: u
3887
3991
  }, null, 512), [
3888
3992
  [Le, i.value]
3889
3993
  ]),
3890
- qe(E(N, { class: "kong-ui-entity-filter-menu" }, {
3994
+ qe(T(B, { class: "kong-ui-entity-filter-menu" }, {
3891
3995
  body: y(() => [
3892
- (f(!0), F(ve, null, ye(l.value, (x, z) => (f(), G(D, {
3893
- key: x.value,
3894
- "data-testid": x.value,
3996
+ (f(!0), O(ve, null, ye(l.value, ($, z) => (f(), G(R, {
3997
+ key: $.value,
3998
+ "data-testid": $.value,
3895
3999
  expandable: "",
3896
4000
  "last-menu-item": z === l.value.length - 1
3897
4001
  }, {
3898
4002
  itemTitle: y(() => [
3899
- R("span", qs, [
3900
- Q(B(x.label) + " ", 1),
3901
- qe(R("span", Ls, null, 512), [
3902
- [Le, s.value.includes(x.value)]
4003
+ V("span", Ds, [
4004
+ Q(K($.label) + " ", 1),
4005
+ qe(V("span", Gs, null, 512), [
4006
+ [Le, s.value.includes($.value)]
3903
4007
  ])
3904
4008
  ])
3905
4009
  ]),
3906
4010
  itemBody: y(() => {
3907
- var M, w;
4011
+ var F, w;
3908
4012
  return [
3909
- R("div", Ps, [
3910
- R("label", {
4013
+ V("div", zs, [
4014
+ V("label", {
3911
4015
  class: "menu-item-label",
3912
- for: m(x.value)
3913
- }, B(g(t)("filter.fieldLabel")), 9, Us),
3914
- ((w = (M = e.config.schema) == null ? void 0 : M[x.value]) == null ? void 0 : w.type) === "select" ? (f(), G(b, {
4016
+ for: g($.value)
4017
+ }, K(m(t)("filter.fieldLabel")), 9, Hs),
4018
+ ((w = (F = e.config.schema) == null ? void 0 : F[$.value]) == null ? void 0 : w.type) === "select" ? (f(), G(b, {
3915
4019
  key: 0,
3916
- id: m(x.value),
3917
- modelValue: o.value[x.value],
3918
- "onUpdate:modelValue": (A) => o.value[x.value] = A,
3919
- items: p(x.value),
3920
- placeholder: g(t)("filter.selectPlaceholder")
4020
+ id: g($.value),
4021
+ modelValue: o.value[$.value],
4022
+ "onUpdate:modelValue": (A) => o.value[$.value] = A,
4023
+ items: p($.value),
4024
+ placeholder: m(t)("filter.selectPlaceholder")
3921
4025
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (f(), G(v, {
3922
4026
  key: 1,
3923
- id: m(x.value),
3924
- modelValue: o.value[x.value],
3925
- "onUpdate:modelValue": (A) => o.value[x.value] = A,
4027
+ id: g($.value),
4028
+ modelValue: o.value[$.value],
4029
+ "onUpdate:modelValue": (A) => o.value[$.value] = A,
3926
4030
  autocomplete: "off",
3927
- placeholder: g(t)("filter.inputPlaceholder"),
3928
- type: S(x.value)
4031
+ placeholder: m(t)("filter.inputPlaceholder"),
4032
+ type: S($.value)
3929
4033
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3930
4034
  ]),
3931
- R("div", Rs, [
3932
- E(h, {
4035
+ V("div", Js, [
4036
+ T(h, {
3933
4037
  appearance: "tertiary",
3934
4038
  "data-testid": "apply-filter",
3935
4039
  size: "small",
3936
4040
  onClick: U[0] || (U[0] = (A) => P(!0))
3937
4041
  }, {
3938
4042
  default: y(() => [
3939
- Q(B(g(t)("filter.applyButtonText")), 1)
4043
+ Q(K(m(t)("filter.applyButtonText")), 1)
3940
4044
  ]),
3941
4045
  _: 1
3942
4046
  }),
3943
- E(h, {
4047
+ T(h, {
3944
4048
  appearance: "tertiary",
3945
4049
  "data-testid": "clear-filter",
3946
4050
  size: "small",
3947
- onClick: (A) => C(x.value)
4051
+ onClick: (A) => C($.value)
3948
4052
  }, {
3949
4053
  default: y(() => [
3950
- Q(B(g(t)("filter.clearButtonText")), 1)
4054
+ Q(K(m(t)("filter.clearButtonText")), 1)
3951
4055
  ]),
3952
4056
  _: 2
3953
4057
  }, 1032, ["onClick"])
@@ -3958,14 +4062,14 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3958
4062
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
3959
4063
  ]),
3960
4064
  actionButton: y(() => [
3961
- R("div", Ds, [
3962
- E(h, {
4065
+ V("div", Ys, [
4066
+ T(h, {
3963
4067
  appearance: "tertiary",
3964
4068
  size: "small",
3965
4069
  onClick: I
3966
4070
  }, {
3967
4071
  default: y(() => [
3968
- Q(B(g(t)("filter.clearAllButtonText")), 1)
4072
+ Q(K(m(t)("filter.clearAllButtonText")), 1)
3969
4073
  ]),
3970
4074
  _: 1
3971
4075
  })
@@ -3978,7 +4082,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
3978
4082
  ]));
3979
4083
  };
3980
4084
  }
3981
- }), Gs = /* @__PURE__ */ be(Vs, [["__scopeId", "data-v-206cc415"]]), tt = /* @__PURE__ */ te({
4085
+ }), Zs = /* @__PURE__ */ be(Ws, [["__scopeId", "data-v-206cc415"]]), nt = /* @__PURE__ */ ee({
3982
4086
  __name: "PermissionsWrapper",
3983
4087
  props: {
3984
4088
  /**
@@ -4000,24 +4104,24 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4000
4104
  }
4001
4105
  },
4002
4106
  setup(e) {
4003
- const n = e, t = O(void 0), r = $(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4107
+ const n = e, t = M(void 0), r = x(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4004
4108
  return Ae(() => n.authFunction, async () => {
4005
4109
  t.value = await n.authFunction();
4006
- }, { immediate: !0 }), (a, i) => r.value ? ee(a.$slots, "default", {
4110
+ }, { immediate: !0 }), (a, i) => r.value ? te(a.$slots, "default", {
4007
4111
  key: 0,
4008
4112
  isAllowed: t.value
4009
4113
  }) : W("", !0);
4010
4114
  }
4011
- }), zs = { class: "form-section-wrapper" }, Hs = {
4115
+ }), Qs = { class: "form-section-wrapper" }, Xs = {
4012
4116
  key: 0,
4013
4117
  class: "form-section-title"
4014
- }, Js = {
4118
+ }, el = {
4015
4119
  key: 1,
4016
4120
  class: "form-section-description"
4017
- }, Ys = {
4121
+ }, tl = {
4018
4122
  key: 2,
4019
4123
  class: "form-section-footer"
4020
- }, Ws = { class: "form-section-content" }, Zs = /* @__PURE__ */ te({
4124
+ }, nl = { class: "form-section-content" }, rl = /* @__PURE__ */ ee({
4021
4125
  __name: "EntityFormSection",
4022
4126
  props: {
4023
4127
  title: {
@@ -4043,34 +4147,34 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4043
4147
  },
4044
4148
  setup(e) {
4045
4149
  const n = _t();
4046
- return (t, r) => (f(), F("fieldset", {
4047
- class: Re(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4150
+ return (t, r) => (f(), O("fieldset", {
4151
+ class: Ve(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4048
4152
  }, [
4049
- R("div", zs, [
4050
- e.hideInfoHeader ? W("", !0) : (f(), F("div", {
4153
+ V("div", Qs, [
4154
+ e.hideInfoHeader ? W("", !0) : (f(), O("div", {
4051
4155
  key: 0,
4052
- class: Re(["form-section-info", { sticky: e.stickyInfoHeader }])
4156
+ class: Ve(["form-section-info", { sticky: e.stickyInfoHeader }])
4053
4157
  }, [
4054
- e.title ? (f(), F("h4", Hs, B(e.title), 1)) : W("", !0),
4055
- e.description || g(n).description ? (f(), F("div", Js, [
4056
- ee(t.$slots, "description", {}, () => [
4057
- R("p", null, B(e.description), 1)
4158
+ e.title ? (f(), O("h4", Xs, K(e.title), 1)) : W("", !0),
4159
+ e.description || m(n).description ? (f(), O("div", el, [
4160
+ te(t.$slots, "description", {}, () => [
4161
+ V("p", null, K(e.description), 1)
4058
4162
  ], !0)
4059
4163
  ])) : W("", !0),
4060
- g(n).footer ? (f(), F("div", Ys, [
4061
- ee(t.$slots, "footer", {}, void 0, !0)
4164
+ m(n).footer ? (f(), O("div", tl, [
4165
+ te(t.$slots, "footer", {}, void 0, !0)
4062
4166
  ])) : W("", !0)
4063
4167
  ], 2)),
4064
- R("div", Ws, [
4065
- ee(t.$slots, "default", {}, void 0, !0)
4168
+ V("div", nl, [
4169
+ te(t.$slots, "default", {}, void 0, !0)
4066
4170
  ])
4067
4171
  ])
4068
4172
  ], 2));
4069
4173
  }
4070
- }), cn = /* @__PURE__ */ be(Zs, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Mt, useDeleteUrlBuilder: Qs, useErrors: Xs, useExternalLinkCreator: Cl, useFetchUrlBuilder: wl, useFetcher: el, useDebouncedFilter: mr, useStringHelpers: _l, useHelpers: Il, useGatewayFeatureSupported: Al, useTruncationDetector: Sl } = se, tl = { class: "add-to-group-form-container" }, nl = { class: "add-to-group-cta-text" }, rl = {
4174
+ }), mn = /* @__PURE__ */ be(rl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Bt, useDeleteUrlBuilder: al, useErrors: ol, useExternalLinkCreator: Sl, useFetchUrlBuilder: $l, useFetcher: il, useDebouncedFilter: mr, useStringHelpers: jl, useHelpers: Tl, useGatewayFeatureSupported: El, useTruncationDetector: Ol } = se, sl = { class: "add-to-group-form-container" }, ll = { class: "add-to-group-cta-text" }, ul = {
4071
4175
  key: 0,
4072
4176
  class: "kong-ui-entity-add-to-groups-error"
4073
- }, al = { key: 0 }, ol = /* @__PURE__ */ te({
4177
+ }, cl = { key: 0 }, dl = /* @__PURE__ */ ee({
4074
4178
  __name: "AddToGroupModal",
4075
4179
  props: {
4076
4180
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4087,72 +4191,72 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4087
4191
  },
4088
4192
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4089
4193
  setup(e, { emit: n }) {
4090
- var M;
4091
- const { i18n: { t } } = ct.useI18n(), r = e, a = n, { axiosInstance: i } = Mt({
4092
- headers: (M = r.config) == null ? void 0 : M.requestHeaders
4093
- }), o = O([]), {
4194
+ var F;
4195
+ const { i18n: { t } } = ct.useI18n(), r = e, a = n, { axiosInstance: i } = Bt({
4196
+ headers: (F = r.config) == null ? void 0 : F.requestHeaders
4197
+ }), o = M([]), {
4094
4198
  debouncedQueryChange: s,
4095
4199
  loading: l,
4096
4200
  allRecords: u,
4097
4201
  error: d,
4098
4202
  loadItems: c,
4099
- results: m
4203
+ results: g
4100
4204
  } = mr(
4101
4205
  r.config,
4102
- xe.list[r.config.app].all,
4206
+ Se.list[r.config.app].all,
4103
4207
  "",
4104
4208
  {
4105
4209
  fetchedItemsKey: "data",
4106
4210
  searchKeys: ["name", "id"]
4107
4211
  }
4108
- ), p = $(() => d.value ? t("consumer_groups.errors.general") : ""), S = O(0), C = $(() => u.value === void 0), I = $(() => m.value.map((w) => ({
4212
+ ), p = x(() => d.value ? t("consumer_groups.errors.general") : ""), S = M(0), C = x(() => u.value === void 0), I = x(() => g.value.map((w) => ({
4109
4213
  label: w.name,
4110
4214
  value: w.id,
4111
4215
  selected: o.value.includes(w.id),
4112
4216
  data: w
4113
4217
  // we need this to determine whether or not to show the description text
4114
4218
  }))), P = (w) => {
4115
- var K;
4116
- const A = C.value ? m.value.find((H) => H.id === w) : (K = u.value) == null ? void 0 : K.find((H) => H.id === w);
4219
+ var N;
4220
+ const A = C.value ? g.value.find((H) => H.id === w) : (N = u.value) == null ? void 0 : N.find((H) => H.id === w);
4117
4221
  return A ? A.name : w;
4118
4222
  }, _ = () => {
4119
- h.value = "", U.value = [], x.value = [], a("cancel");
4120
- }, U = O([]), v = O(!1), h = O(""), b = async () => {
4223
+ h.value = "", U.value = [], $.value = [], a("cancel");
4224
+ }, U = M([]), v = M(!1), h = M(""), b = async () => {
4121
4225
  if (!o.value.length) {
4122
- h.value = "", x.value = [], a("cancel");
4226
+ h.value = "", $.value = [], a("cancel");
4123
4227
  return;
4124
4228
  }
4125
- v.value = !0, h.value = "", U.value = [], x.value = [];
4229
+ v.value = !0, h.value = "", U.value = [], $.value = [];
4126
4230
  try {
4127
- const w = o.value.map((H) => N(H)), A = await Promise.allSettled(w);
4128
- let K = !0;
4231
+ const w = o.value.map((H) => B(H)), A = await Promise.allSettled(w);
4232
+ let N = !0;
4129
4233
  A.forEach((H) => {
4130
- H.status !== "fulfilled" && (K = !1);
4131
- }), K ? (U.value = [], x.value = [], a("add:success", o.value), o.value = []) : (U.value.length && a("add:partial-success", U.value), o.value = [], z(A));
4234
+ H.status !== "fulfilled" && (N = !1);
4235
+ }), N ? (U.value = [], $.value = [], a("add:success", o.value), o.value = []) : (U.value.length && a("add:partial-success", U.value), o.value = [], z(A));
4132
4236
  } catch {
4133
4237
  h.value = t("consumer_groups.errors.add"), a("error", h.value);
4134
4238
  } finally {
4135
4239
  v.value = !1;
4136
4240
  }
4137
- }, D = $(() => {
4138
- var A, K, H, ae;
4139
- let w = `${r.config.apiBaseUrl}${xe.list[r.config.app].forConsumer}`;
4140
- return r.config.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, ((A = r.config) == null ? void 0 : A.controlPlaneId) || "").replace(/{consumerId}/gi, ((K = r.config) == null ? void 0 : K.consumerId) || "") : r.config.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, (H = r.config) != null && H.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((ae = r.config) == null ? void 0 : ae.consumerId) || "")), w;
4141
- }), N = async (w) => {
4241
+ }, R = x(() => {
4242
+ var A, N, H, ae;
4243
+ let w = `${r.config.apiBaseUrl}${Se.list[r.config.app].forConsumer}`;
4244
+ return r.config.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, ((A = r.config) == null ? void 0 : A.controlPlaneId) || "").replace(/{consumerId}/gi, ((N = r.config) == null ? void 0 : N.consumerId) || "") : r.config.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, (H = r.config) != null && H.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((ae = r.config) == null ? void 0 : ae.consumerId) || "")), w;
4245
+ }), B = async (w) => {
4142
4246
  const A = {
4143
4247
  group: w
4144
4248
  };
4145
4249
  try {
4146
- const K = await i.post(D.value, A);
4147
- return U.value.push(w), K;
4148
- } catch (K) {
4149
- let H = `${P(w)} - ${K.message}`;
4150
- return K.response.status === 409 && (H = `${P(w)} - ${t("consumer_groups.errors.already_added")}`), Promise.reject(Error(H));
4250
+ const N = await i.post(R.value, A);
4251
+ return U.value.push(w), N;
4252
+ } catch (N) {
4253
+ let H = `${P(w)} - ${N.message}`;
4254
+ return N.response.status === 409 && (H = `${P(w)} - ${t("consumer_groups.errors.already_added")}`), Promise.reject(Error(H));
4151
4255
  }
4152
- }, x = O([]), z = (w) => {
4153
- x.value = w.map((A) => {
4154
- var K;
4155
- return (K = A.reason) == null ? void 0 : K.message;
4256
+ }, $ = M([]), z = (w) => {
4257
+ $.value = w.map((A) => {
4258
+ var N;
4259
+ return (N = A.reason) == null ? void 0 : N.message;
4156
4260
  }).filter(Boolean);
4157
4261
  };
4158
4262
  return Ae(I, () => {
@@ -4160,42 +4264,42 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4160
4264
  }, { immediate: !0, deep: !0 }), Ae(() => r.visible, () => {
4161
4265
  r.visible && c();
4162
4266
  }, { immediate: !0 }), (w, A) => {
4163
- const K = q("KMultiselect"), H = q("KAlert"), ae = q("KPrompt");
4267
+ const N = q("KMultiselect"), H = q("KAlert"), ae = q("KPrompt");
4164
4268
  return f(), G(ae, {
4165
4269
  "action-button-disabled": v.value,
4166
4270
  class: "kong-ui-entities-add-to-groups-modal",
4167
4271
  "data-testid": "add-to-group-modal",
4168
- title: g(t)("consumer_groups.consumers.add.title"),
4272
+ title: m(t)("consumer_groups.consumers.add.title"),
4169
4273
  visible: e.visible,
4170
4274
  onCancel: _,
4171
4275
  onProceed: b
4172
4276
  }, {
4173
4277
  default: y(() => [
4174
- R("div", tl, [
4175
- R("p", nl, B(g(t)("consumer_groups.consumers.add.ctaText")), 1),
4176
- E(K, {
4278
+ V("div", sl, [
4279
+ V("p", ll, K(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4280
+ T(N, {
4177
4281
  modelValue: o.value,
4178
4282
  "onUpdate:modelValue": A[0] || (A[0] = (ue) => o.value = ue),
4179
4283
  autosuggest: "",
4180
4284
  "data-testid": "add-to-groups-multiselect",
4181
- "dropdown-footer-text": C.value ? g(t)("consumer_groups.consumers.add.footer") : void 0,
4285
+ "dropdown-footer-text": C.value ? m(t)("consumer_groups.consumers.add.footer") : void 0,
4182
4286
  items: I.value,
4183
- label: g(t)("consumer_groups.consumers.add.consumer_groups_label"),
4184
- loading: g(l),
4185
- placeholder: g(t)("consumer_groups.consumers.add.consumer_group_placeholder"),
4287
+ label: m(t)("consumer_groups.consumers.add.consumer_groups_label"),
4288
+ loading: m(l),
4289
+ placeholder: m(t)("consumer_groups.consumers.add.consumer_group_placeholder"),
4186
4290
  readonly: v.value,
4187
4291
  required: "",
4188
4292
  width: "100%",
4189
- onQueryChange: g(s)
4293
+ onQueryChange: m(s)
4190
4294
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4191
- h.value || p.value || x.value.length ? (f(), F("div", rl, [
4192
- E(H, { appearance: "danger" }, {
4193
- alertMessage: y(() => [
4194
- R("p", null, B(g(t)("consumer_groups.errors.add")), 1),
4195
- x.value.length ? (f(), F("ul", al, [
4196
- (f(!0), F(ve, null, ye(x.value, (ue, Ve) => (f(), F("li", { key: Ve }, B(ue), 1))), 128))
4295
+ h.value || p.value || $.value.length ? (f(), O("div", ul, [
4296
+ T(H, { appearance: "danger" }, {
4297
+ default: y(() => [
4298
+ V("p", null, K(m(t)("consumer_groups.errors.add")), 1),
4299
+ $.value.length ? (f(), O("ul", cl, [
4300
+ (f(!0), O(ve, null, ye($.value, (ue, ze) => (f(), O("li", { key: ze }, K(ue), 1))), 128))
4197
4301
  ])) : W("", !0),
4198
- R("div", null, B(h.value || p.value), 1)
4302
+ V("div", null, K(h.value || p.value), 1)
4199
4303
  ]),
4200
4304
  _: 1
4201
4305
  })
@@ -4206,12 +4310,12 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4206
4310
  }, 8, ["action-button-disabled", "title", "visible"]);
4207
4311
  };
4208
4312
  }
4209
- }), Ft = (e, n) => {
4313
+ }), qt = (e, n) => {
4210
4314
  const t = e.__vccOpts || e;
4211
4315
  for (const [r, a] of n)
4212
4316
  t[r] = a;
4213
4317
  return t;
4214
- }, il = /* @__PURE__ */ Ft(ol, [["__scopeId", "data-v-709789a9"]]), sl = { class: "kong-ui-entities-consumer-groups-list" }, ll = { key: 1 }, ul = /* @__PURE__ */ te({
4318
+ }, pl = /* @__PURE__ */ qt(dl, [["__scopeId", "data-v-303b382c"]]), fl = { class: "kong-ui-entities-consumer-groups-list" }, ml = { key: 1 }, gl = /* @__PURE__ */ ee({
4215
4319
  __name: "ConsumerGroupList",
4216
4320
  props: {
4217
4321
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4257,42 +4361,42 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4257
4361
  },
4258
4362
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4259
4363
  setup(e, { emit: n }) {
4260
- var Nt;
4261
- const t = n, r = e, { i18nT: a, i18n: { t: i } } = ct.useI18n(), o = It(), { axiosInstance: s } = Mt({
4262
- headers: (Nt = r.config) == null ? void 0 : Nt.requestHeaders
4263
- }), l = O(1), u = $(() => !!r.config.consumerId), d = $(
4364
+ var Ut;
4365
+ const t = n, r = e, { i18nT: a, i18n: { t: i } } = ct.useI18n(), o = St(), { axiosInstance: s } = Bt({
4366
+ headers: (Ut = r.config) == null ? void 0 : Ut.requestHeaders
4367
+ }), l = M(1), u = x(() => !!r.config.consumerId), d = x(
4264
4368
  () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
4265
- ), c = $(() => r.config.app !== "kongManager" || !!r.config.disableSorting), m = {
4369
+ ), c = x(() => r.config.app !== "kongManager" || !!r.config.disableSorting), g = {
4266
4370
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4267
4371
  };
4268
- r.config.app === "kongManager" && (m.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), m.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4269
- const p = m, S = (j) => ({
4372
+ r.config.app === "kongManager" && (g.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), g.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4373
+ const p = g, S = (j) => ({
4270
4374
  "data-testid": j.username ?? j.custom_id ?? j.id
4271
- }), C = $(() => {
4375
+ }), C = x(() => {
4272
4376
  var Y, re, me, Ce;
4273
- let j = `${r.config.apiBaseUrl}${xe.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4377
+ let j = `${r.config.apiBaseUrl}${Se.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4274
4378
  return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (me = r.config) != null && me.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ce = r.config) == null ? void 0 : Ce.consumerId) || "")), j;
4275
- }), I = O(""), P = $(() => {
4379
+ }), I = M(""), P = x(() => {
4276
4380
  const j = r.config.app === "konnect" || r.config.isExactMatch;
4277
4381
  return j ? {
4278
4382
  isExactMatch: j,
4279
4383
  fields: {
4280
- username: m.name,
4384
+ username: g.name,
4281
4385
  id: { label: i("consumer_groups.list.table_headers.id") }
4282
4386
  },
4283
4387
  placeholder: i("consumer_groups.search.placeholder")
4284
4388
  } : {
4285
4389
  isExactMatch: j,
4286
4390
  fields: {
4287
- name: m.name
4391
+ name: g.name
4288
4392
  },
4289
4393
  schema: r.config.filterSchema
4290
4394
  };
4291
- }), _ = $(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: U, fetcherState: v } = el(r.config, C.value, _.value), h = () => {
4395
+ }), _ = x(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: U, fetcherState: v } = il(r.config, C.value, _.value), h = () => {
4292
4396
  I.value = "";
4293
4397
  }, b = () => {
4294
4398
  l.value++;
4295
- }, D = O(null), N = (j, Y) => {
4399
+ }, R = M(null), B = (j, Y) => {
4296
4400
  const re = j.id;
4297
4401
  if (!Y(re)) {
4298
4402
  t("copy:error", {
@@ -4307,7 +4411,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4307
4411
  field: "id",
4308
4412
  message: i("consumer_groups.copy.success", { val: re })
4309
4413
  });
4310
- }, x = (j, Y) => {
4414
+ }, $ = (j, Y) => {
4311
4415
  const re = JSON.stringify(j);
4312
4416
  if (!Y(re)) {
4313
4417
  t("copy:error", {
@@ -4323,29 +4427,29 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4323
4427
  }, z = async (j) => {
4324
4428
  var re;
4325
4429
  await ((re = r.canRetrieve) == null ? void 0 : re.call(r, j)) && o.push(r.config.getViewRoute(j.id));
4326
- }, M = (j) => ({
4430
+ }, F = (j) => ({
4327
4431
  label: i("consumer_groups.actions.view"),
4328
4432
  to: r.config.getViewRoute(j)
4329
4433
  }), w = (j) => ({
4330
4434
  label: i("consumer_groups.actions.edit"),
4331
4435
  to: r.config.getEditRoute(j)
4332
- }), A = O(void 0), K = O(!1), H = O(!1), ae = O(""), ue = Qs(r.config, C.value), Ve = (j) => {
4333
- A.value = j, K.value = !0;
4334
- }, Qe = () => {
4335
- K.value = !1;
4336
- }, Xe = async () => {
4436
+ }), A = M(void 0), N = M(!1), H = M(!1), ae = M(""), ue = al(r.config, C.value), ze = (j) => {
4437
+ A.value = j, N.value = !0;
4438
+ }, Xe = () => {
4439
+ N.value = !1;
4440
+ }, et = async () => {
4337
4441
  var j, Y, re;
4338
4442
  if ((j = A.value) != null && j.id) {
4339
4443
  H.value = !0;
4340
4444
  try {
4341
- await s.delete(ue(A.value.id)), H.value = !1, K.value = !1, l.value++, t("delete:success", A.value);
4445
+ await s.delete(ue(A.value.id)), H.value = !1, N.value = !1, l.value++, t("delete:success", A.value);
4342
4446
  } catch (me) {
4343
4447
  ae.value = ((re = (Y = me.response) == null ? void 0 : Y.data) == null ? void 0 : re.message) || me.message || i("consumer_groups.errors.delete"), t("error", me);
4344
4448
  } finally {
4345
4449
  H.value = !1;
4346
4450
  }
4347
4451
  }
4348
- }, Fe = O(!1), k = () => {
4452
+ }, Fe = M(!1), k = () => {
4349
4453
  Fe.value = !0;
4350
4454
  }, L = () => {
4351
4455
  Fe.value = !1;
@@ -4353,38 +4457,38 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4353
4457
  Y || L(), l.value++, t("add:success", j);
4354
4458
  }, J = () => {
4355
4459
  u.value && k();
4356
- }, V = O(void 0), ce = O(!1), ke = O(""), de = (j) => {
4357
- V.value = j, ce.value = !0;
4460
+ }, D = M(void 0), ce = M(!1), ke = M(""), de = (j) => {
4461
+ D.value = j, ce.value = !0;
4358
4462
  }, Te = () => {
4359
- ce.value = !1, V.value = void 0;
4360
- }, et = $(() => {
4463
+ ce.value = !1, D.value = void 0;
4464
+ }, tt = x(() => {
4361
4465
  var Y, re, me, Ce;
4362
- let j = `${r.config.apiBaseUrl}${xe.list[r.config.app].oneForConsumer}`;
4466
+ let j = `${r.config.apiBaseUrl}${Se.list[r.config.app].oneForConsumer}`;
4363
4467
  return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (me = r.config) != null && me.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ce = r.config) == null ? void 0 : Ce.consumerId) || "")), j;
4364
- }), Kt = O(!1), gr = async () => {
4365
- if (V.value) {
4366
- Kt.value = !0;
4468
+ }), Lt = M(!1), gr = async () => {
4469
+ if (D.value) {
4470
+ Lt.value = !0;
4367
4471
  try {
4368
- const j = et.value.replace(/{consumerGroupId}/gi, V.value.id);
4369
- await s.delete(j), t("remove:success", V.value), Te(), l.value++;
4472
+ const j = tt.value.replace(/{consumerGroupId}/gi, D.value.id);
4473
+ await s.delete(j), t("remove:success", D.value), Te(), l.value++;
4370
4474
  } catch (j) {
4371
4475
  ke.value = j.message || i("consumer_groups.errors.delete"), t("error", j);
4372
4476
  } finally {
4373
- Kt.value = !1;
4477
+ Lt.value = !1;
4374
4478
  }
4375
4479
  }
4376
- }, Bt = O(!0);
4480
+ }, Pt = M(!0);
4377
4481
  Ae(v, (j) => {
4378
4482
  var Y, re, me, Ce;
4379
- if (Array.isArray((Y = j == null ? void 0 : j.response) == null ? void 0 : Y.data) && (Bt.value = j.response.data.length > 0), j.status === Ee.Error) {
4380
- D.value = {
4483
+ if (Array.isArray((Y = j == null ? void 0 : j.response) == null ? void 0 : Y.data) && (Pt.value = j.response.data.length > 0), j.status === Ee.Error) {
4484
+ R.value = {
4381
4485
  title: i("consumer_groups.errors.general")
4382
- }, (Ce = (me = (re = j.error) == null ? void 0 : re.response) == null ? void 0 : me.data) != null && Ce.message && (D.value.message = j.error.response.data.message), t("error", j.error);
4486
+ }, (Ce = (me = (re = j.error) == null ? void 0 : re.response) == null ? void 0 : me.data) != null && Ce.message && (R.value.message = j.error.response.data.message), t("error", j.error);
4383
4487
  return;
4384
4488
  }
4385
- D.value = null;
4489
+ R.value = null;
4386
4490
  });
4387
- const pt = O({
4491
+ const pt = M({
4388
4492
  ctaPath: u.value ? void 0 : r.config.createRoute,
4389
4493
  ctaText: void 0,
4390
4494
  message: `${i("consumer_groups.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
@@ -4393,23 +4497,23 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4393
4497
  return ut(async () => {
4394
4498
  await r.canCreate() && (pt.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), pt.value.ctaText = u.value ? i("consumer_groups.actions.add_to_group") : i("consumer_groups.actions.create"));
4395
4499
  }), (j, Y) => {
4396
- const re = q("KButton"), me = q("KBadge"), Ce = q("KTruncate"), Ge = q("KDropdownItem"), qt = q("KClipboardProvider"), hr = q("KPrompt");
4397
- return f(), F("div", sl, [
4398
- E(g(xs), {
4500
+ const re = q("KButton"), me = q("KBadge"), Ce = q("KTruncate"), He = q("KDropdownItem"), Vt = q("KClipboardProvider"), hr = q("KPrompt");
4501
+ return f(), O("div", fl, [
4502
+ T(m(Ms), {
4399
4503
  "cache-identifier": e.cacheIdentifier,
4400
4504
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4401
4505
  "disable-pagination-page-jump": "",
4402
4506
  "disable-sorting": c.value,
4403
4507
  "empty-state-options": pt.value,
4404
4508
  "enable-entity-actions": "",
4405
- "error-message": D.value,
4406
- fetcher: g(U),
4509
+ "error-message": R.value,
4510
+ fetcher: m(U),
4407
4511
  "fetcher-cache-key": l.value,
4408
4512
  "pagination-type": "offset",
4409
4513
  "preferences-storage-key": d.value,
4410
4514
  query: I.value,
4411
4515
  "row-attributes": S,
4412
- "table-headers": g(p),
4516
+ "table-headers": m(p),
4413
4517
  "use-action-outside": e.useActionOutside,
4414
4518
  onClearSearchInput: h,
4415
4519
  "onClick:row": Y[3] || (Y[3] = (Z) => z(Z)),
@@ -4417,7 +4521,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4417
4521
  onSort: b
4418
4522
  }, {
4419
4523
  "toolbar-filter": y(() => [
4420
- u.value ? W("", !0) : (f(), G(g(Gs), {
4524
+ u.value ? W("", !0) : (f(), G(m(Zs), {
4421
4525
  key: 0,
4422
4526
  modelValue: I.value,
4423
4527
  "onUpdate:modelValue": Y[0] || (Y[0] = (Z) => I.value = Z),
@@ -4425,15 +4529,15 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4425
4529
  }, null, 8, ["modelValue", "config"]))
4426
4530
  ]),
4427
4531
  "toolbar-button": y(() => [
4428
- (f(), G(Ze(e.useActionOutside ? "Teleport" : "div"), {
4532
+ (f(), G(Ge(e.useActionOutside ? "Teleport" : "div"), {
4429
4533
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4430
4534
  }, {
4431
4535
  default: y(() => [
4432
- E(g(tt), {
4536
+ T(m(nt), {
4433
4537
  "auth-function": () => e.canCreate()
4434
4538
  }, {
4435
4539
  default: y(() => [
4436
- qe(E(re, {
4540
+ qe(T(re, {
4437
4541
  appearance: "primary",
4438
4542
  "data-testid": "toolbar-add-consumer-group",
4439
4543
  icon: "plus",
@@ -4442,11 +4546,11 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4442
4546
  onClick: Y[1] || (Y[1] = () => e.config.consumerId ? k() : void 0)
4443
4547
  }, {
4444
4548
  default: y(() => [
4445
- Q(B(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4549
+ Q(K(e.config.consumerId ? m(i)("consumer_groups.actions.add_to_group") : m(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4446
4550
  ]),
4447
4551
  _: 1
4448
4552
  }, 8, ["to"]), [
4449
- [Le, Bt.value]
4553
+ [Le, Pt.value]
4450
4554
  ])
4451
4555
  ]),
4452
4556
  _: 1
@@ -4456,92 +4560,92 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4456
4560
  }, 8, ["to"]))
4457
4561
  ]),
4458
4562
  name: y(({ rowValue: Z }) => [
4459
- R("b", null, B(Z ?? "-"), 1)
4563
+ V("b", null, K(Z ?? "-"), 1)
4460
4564
  ]),
4461
4565
  consumers_count: y(({ rowValue: Z }) => [
4462
- Q(B(Z ?? "-"), 1)
4566
+ Q(K(Z ?? "-"), 1)
4463
4567
  ]),
4464
4568
  tags: y(({ rowValue: Z }) => [
4465
4569
  (Z == null ? void 0 : Z.length) > 0 ? (f(), G(Ce, { key: 0 }, {
4466
4570
  default: y(() => [
4467
- (f(!0), F(ve, null, ye(Z, (Ke) => (f(), G(me, {
4571
+ (f(!0), O(ve, null, ye(Z, (Ke) => (f(), G(me, {
4468
4572
  key: Ke,
4469
4573
  onClick: Y[2] || (Y[2] = yt(() => {
4470
4574
  }, ["stop"]))
4471
4575
  }, {
4472
4576
  default: y(() => [
4473
- Q(B(Ke), 1)
4577
+ Q(K(Ke), 1)
4474
4578
  ]),
4475
4579
  _: 2
4476
4580
  }, 1024))), 128))
4477
4581
  ]),
4478
4582
  _: 2
4479
- }, 1024)) : (f(), F("span", ll, "-"))
4583
+ }, 1024)) : (f(), O("span", ml, "-"))
4480
4584
  ]),
4481
4585
  actions: y(({ row: Z }) => [
4482
- E(qt, null, {
4586
+ T(Vt, null, {
4483
4587
  default: y(({ copyToClipboard: Ke }) => [
4484
- E(Ge, {
4588
+ T(He, {
4485
4589
  "data-testid": "action-entity-copy-id",
4486
- onClick: (yr) => N(Z, Ke)
4590
+ onClick: (yr) => B(Z, Ke)
4487
4591
  }, {
4488
4592
  default: y(() => [
4489
- Q(B(g(i)("consumer_groups.actions.copy_id")), 1)
4593
+ Q(K(m(i)("consumer_groups.actions.copy_id")), 1)
4490
4594
  ]),
4491
4595
  _: 2
4492
4596
  }, 1032, ["onClick"])
4493
4597
  ]),
4494
4598
  _: 2
4495
4599
  }, 1024),
4496
- E(qt, null, {
4600
+ T(Vt, null, {
4497
4601
  default: y(({ copyToClipboard: Ke }) => [
4498
- E(Ge, {
4602
+ T(He, {
4499
4603
  "data-testid": "action-entity-copy-json",
4500
- onClick: (yr) => x(Z, Ke)
4604
+ onClick: (yr) => $(Z, Ke)
4501
4605
  }, {
4502
4606
  default: y(() => [
4503
- Q(B(g(i)("consumer_groups.actions.copy_json")), 1)
4607
+ Q(K(m(i)("consumer_groups.actions.copy_json")), 1)
4504
4608
  ]),
4505
4609
  _: 2
4506
4610
  }, 1032, ["onClick"])
4507
4611
  ]),
4508
4612
  _: 2
4509
4613
  }, 1024),
4510
- E(g(tt), {
4614
+ T(m(nt), {
4511
4615
  "auth-function": () => e.canRetrieve(Z)
4512
4616
  }, {
4513
4617
  default: y(() => [
4514
- E(Ge, {
4618
+ T(He, {
4515
4619
  "data-testid": "action-entity-view",
4516
4620
  "has-divider": "",
4517
- item: M(Z.id)
4621
+ item: F(Z.id)
4518
4622
  }, null, 8, ["item"])
4519
4623
  ]),
4520
4624
  _: 2
4521
4625
  }, 1032, ["auth-function"]),
4522
- E(g(tt), {
4626
+ T(m(nt), {
4523
4627
  "auth-function": () => e.canEdit(Z)
4524
4628
  }, {
4525
4629
  default: y(() => [
4526
- E(Ge, {
4630
+ T(He, {
4527
4631
  "data-testid": "action-entity-edit",
4528
4632
  item: w(Z.id)
4529
4633
  }, null, 8, ["item"])
4530
4634
  ]),
4531
4635
  _: 2
4532
4636
  }, 1032, ["auth-function"]),
4533
- E(g(tt), {
4637
+ T(m(nt), {
4534
4638
  "auth-function": () => e.canDelete(Z)
4535
4639
  }, {
4536
4640
  default: y(() => [
4537
- E(Ge, {
4641
+ T(He, {
4538
4642
  danger: "",
4539
4643
  "data-testid": "action-entity-delete",
4540
4644
  "has-divider": "",
4541
- onClick: () => e.config.consumerId ? de(Z) : Ve(Z)
4645
+ onClick: () => e.config.consumerId ? de(Z) : ze(Z)
4542
4646
  }, {
4543
4647
  default: y(() => [
4544
- Q(B(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
4648
+ Q(K(e.config.consumerId ? m(i)("consumer_groups.actions.exit") : m(i)("consumer_groups.actions.delete")), 1)
4545
4649
  ]),
4546
4650
  _: 2
4547
4651
  }, 1032, ["onClick"])
@@ -4551,19 +4655,19 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4551
4655
  ]),
4552
4656
  _: 1
4553
4657
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
4554
- E(g(Es), {
4658
+ T(m(Bs), {
4555
4659
  "action-pending": H.value,
4556
4660
  "data-testid": "delete-consumer-group-modal",
4557
- description: g(i)("consumer_groups.delete.description"),
4661
+ description: m(i)("consumer_groups.delete.description"),
4558
4662
  "entity-name": A.value && (A.value.name || A.value.id),
4559
- "entity-type": g(yn).ConsumerGroup,
4663
+ "entity-type": m(vn).ConsumerGroup,
4560
4664
  error: ae.value,
4561
- title: g(i)("consumer_groups.delete.title"),
4562
- visible: K.value,
4563
- onCancel: Qe,
4564
- onProceed: Xe
4665
+ title: m(i)("consumer_groups.delete.title"),
4666
+ visible: N.value,
4667
+ onCancel: Xe,
4668
+ onProceed: et
4565
4669
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4566
- e.config.consumerId ? (f(), G(il, {
4670
+ e.config.consumerId ? (f(), G(pl, {
4567
4671
  key: 0,
4568
4672
  config: e.config,
4569
4673
  "data-testid": "add-to-group-modal",
@@ -4572,45 +4676,45 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4572
4676
  "onAdd:success": Y[5] || (Y[5] = (Z) => ne(Z)),
4573
4677
  onCancel: L
4574
4678
  }, null, 8, ["config", "visible"])) : W("", !0),
4575
- e.config.consumerId && V.value ? (f(), G(hr, {
4679
+ e.config.consumerId && D.value ? (f(), G(hr, {
4576
4680
  key: 1,
4577
4681
  "action-button-appearance": "danger",
4578
4682
  "data-testid": "exit-group-modal",
4579
- title: g(i)("consumer_groups.consumers.exit.title"),
4683
+ title: m(i)("consumer_groups.consumers.exit.title"),
4580
4684
  visible: ce.value,
4581
4685
  onCancel: Te,
4582
4686
  onProceed: gr
4583
4687
  }, {
4584
4688
  default: y(() => [
4585
- E(g(a), {
4689
+ T(m(a), {
4586
4690
  class: "exit-modal-message",
4587
4691
  keypath: e.config.consumerUsername ? "consumer_groups.consumers.exit.confirmation" : "consumer_groups.consumers.exit.confirmationNoUsername",
4588
4692
  tag: "p"
4589
4693
  }, Me({
4590
4694
  consumerGroup: y(() => [
4591
- R("strong", null, B(V.value.name || V.value.id), 1)
4695
+ V("strong", null, K(D.value.name || D.value.id), 1)
4592
4696
  ]),
4593
4697
  _: 2
4594
4698
  }, [
4595
4699
  e.config.consumerUsername ? {
4596
4700
  name: "consumer",
4597
4701
  fn: y(() => [
4598
- R("strong", null, B(e.config.consumerUsername), 1)
4702
+ V("strong", null, K(e.config.consumerUsername), 1)
4599
4703
  ]),
4600
4704
  key: "0"
4601
4705
  } : void 0
4602
4706
  ]), 1032, ["keypath"]),
4603
- R("p", null, B(g(i)("consumer_groups.consumers.exit.description")), 1)
4707
+ V("p", null, K(m(i)("consumer_groups.consumers.exit.description")), 1)
4604
4708
  ]),
4605
4709
  _: 1
4606
4710
  }, 8, ["title", "visible"])) : W("", !0)
4607
4711
  ]);
4608
4712
  };
4609
4713
  }
4610
- }), xl = /* @__PURE__ */ Ft(ul, [["__scopeId", "data-v-31674321"]]), cl = { class: "kong-ui-entities-consumer-group-form" }, dl = { class: "select-item-container" }, pl = { class: "select-item-label" }, fl = {
4714
+ }), Ml = /* @__PURE__ */ qt(gl, [["__scopeId", "data-v-31674321"]]), hl = { class: "kong-ui-entities-consumer-group-form" }, yl = { class: "select-item-container" }, vl = { class: "select-item-label" }, bl = {
4611
4715
  key: 0,
4612
4716
  class: "select-item-description"
4613
- }, ml = /* @__PURE__ */ te({
4717
+ }, kl = /* @__PURE__ */ ee({
4614
4718
  __name: "ConsumerGroupForm",
4615
4719
  props: {
4616
4720
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4628,8 +4732,8 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4628
4732
  },
4629
4733
  emits: ["update", "error", "loading"],
4630
4734
  setup(e, { emit: n }) {
4631
- var Qe, Xe, Fe;
4632
- const t = e, r = n, { i18n: { t: a } } = ct.useI18n(), i = It(), o = Lt({
4735
+ var Xe, et, Fe;
4736
+ const t = e, r = n, { i18n: { t: a } } = ct.useI18n(), i = St(), o = Rt({
4633
4737
  fields: {
4634
4738
  name: "",
4635
4739
  tags: "",
@@ -4637,7 +4741,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4637
4741
  },
4638
4742
  errorMessage: "",
4639
4743
  readonly: !1
4640
- }), s = Lt({
4744
+ }), s = Rt({
4641
4745
  name: "",
4642
4746
  tags: "",
4643
4747
  consumers: []
@@ -4646,36 +4750,36 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4646
4750
  loading: u,
4647
4751
  error: d,
4648
4752
  loadItems: c,
4649
- results: m
4650
- } = mr(t.config, (Xe = xe.form[(Qe = t.config) == null ? void 0 : Qe.app]) == null ? void 0 : Xe.consumersList, "", {
4753
+ results: g
4754
+ } = mr(t.config, (et = Se.form[(Xe = t.config) == null ? void 0 : Xe.app]) == null ? void 0 : et.consumersList, "", {
4651
4755
  fetchedItemsKey: "data",
4652
4756
  searchKeys: ["username", "custom_id", "id"]
4653
- }), { axiosInstance: p } = Mt({
4757
+ }), { axiosInstance: p } = Bt({
4654
4758
  headers: (Fe = t.config) == null ? void 0 : Fe.requestHeaders
4655
- }), { getMessageFromError: S } = Xs(), C = $(() => m.value.map((k) => ({
4759
+ }), { getMessageFromError: S } = ol(), C = x(() => g.value.map((k) => ({
4656
4760
  label: k.username || k.custom_id,
4657
4761
  value: k.id,
4658
4762
  selected: o.fields.consumers.includes(k.id),
4659
4763
  data: k
4660
4764
  // we need this to determine whether or not to show the description text
4661
- }))), I = $(() => {
4765
+ }))), I = x(() => {
4662
4766
  var k, L;
4663
- return (L = xe.form[(k = t.config) == null ? void 0 : k.app]) == null ? void 0 : L.edit;
4664
- }), P = $(() => t.consumerGroupId ? nt.Edit : nt.Create), _ = $(() => !!o.fields.name && !x.value), U = $(() => JSON.stringify(o.fields) !== JSON.stringify(s)), v = (k, L = "", ne = "") => {
4665
- var V, ce, ke, de, Te, et;
4666
- let J = `${(V = t.config) == null ? void 0 : V.apiBaseUrl}${xe.form[(ce = t.config) == null ? void 0 : ce.app][k]}`;
4667
- return ((ke = t.config) == null ? void 0 : ke.app) === "konnect" ? J = J.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Te = t.config) == null ? void 0 : Te.app) === "kongManager" && (J = J.replace(/\/{workspace}/gi, (et = t.config) != null && et.workspace ? `/${t.config.workspace}` : "")), J = J.replace(/{id}/gi, L || t.consumerGroupId), (k === "addConsumer" || k === "removeConsumer") && (J = J.replace(/{consumerId}/gi, ne)), J;
4767
+ return (L = Se.form[(k = t.config) == null ? void 0 : k.app]) == null ? void 0 : L.edit;
4768
+ }), P = x(() => t.consumerGroupId ? rt.Edit : rt.Create), _ = x(() => !!o.fields.name && !$.value), U = x(() => JSON.stringify(o.fields) !== JSON.stringify(s)), v = (k, L = "", ne = "") => {
4769
+ var D, ce, ke, de, Te, tt;
4770
+ let J = `${(D = t.config) == null ? void 0 : D.apiBaseUrl}${Se.form[(ce = t.config) == null ? void 0 : ce.app][k]}`;
4771
+ return ((ke = t.config) == null ? void 0 : ke.app) === "konnect" ? J = J.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Te = t.config) == null ? void 0 : Te.app) === "kongManager" && (J = J.replace(/\/{workspace}/gi, (tt = t.config) != null && tt.workspace ? `/${t.config.workspace}` : "")), J = J.replace(/{id}/gi, L || t.consumerGroupId), (k === "addConsumer" || k === "removeConsumer") && (J = J.replace(/{consumerId}/gi, ne)), J;
4668
4772
  }, h = () => {
4669
4773
  var k;
4670
4774
  i.push(((k = t.config) == null ? void 0 : k.cancelRoute) || { name: "consumer-group-list" });
4671
4775
  }, b = (k) => {
4672
4776
  r("error", k);
4673
- }, D = (k) => {
4777
+ }, R = (k) => {
4674
4778
  r("loading", k);
4675
- }, N = async (k) => {
4676
- var ne, J, V, ce, ke;
4779
+ }, B = async (k) => {
4780
+ var ne, J, D, ce, ke;
4677
4781
  o.fields.name = ((ne = k == null ? void 0 : k.item) == null ? void 0 : ne.name) || ((J = k == null ? void 0 : k.consumer_group) == null ? void 0 : J.name) || (k == null ? void 0 : k.name) || "";
4678
- const L = ((V = k == null ? void 0 : k.item) == null ? void 0 : V.tags) || (k == null ? void 0 : k.consumer_group.tags) || (k == null ? void 0 : k.tags) || [];
4782
+ const L = ((D = k == null ? void 0 : k.item) == null ? void 0 : D.tags) || (k == null ? void 0 : k.consumer_group.tags) || (k == null ? void 0 : k.tags) || [];
4679
4783
  if (o.fields.tags = (L == null ? void 0 : L.join(", ")) || "", "consumers" in k)
4680
4784
  o.fields.consumers = ((ce = k == null ? void 0 : k.consumers) == null ? void 0 : ce.map((de) => de.id)) || [];
4681
4785
  else
@@ -4686,22 +4790,22 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4686
4790
  A(de);
4687
4791
  }
4688
4792
  Object.assign(s, o.fields);
4689
- }, x = $(() => /^[0-9a-zA-Z.\-_~]*$/.test(o.fields.name) ? "" : a("consumer_groups.form.validation_errors.name")), z = $(() => {
4793
+ }, $ = x(() => /^[0-9a-zA-Z.\-_~]*$/.test(o.fields.name) ? "" : a("consumer_groups.form.validation_errors.name")), z = x(() => {
4690
4794
  var k, L;
4691
4795
  return {
4692
4796
  name: o.fields.name,
4693
4797
  tags: (L = (k = o.fields.tags.split(",")) == null ? void 0 : k.map((ne) => String(ne || "").trim())) == null ? void 0 : L.filter((ne) => ne !== "")
4694
4798
  };
4695
- }), M = async (k, L = "") => await p.post(v("addConsumer", L, k), { consumer: k }), w = async (k, L = "") => await p.delete(v("removeConsumer", L, k)), A = (k) => {
4799
+ }), F = async (k, L = "") => await p.post(v("addConsumer", L, k), { consumer: k }), w = async (k, L = "") => await p.delete(v("removeConsumer", L, k)), A = (k) => {
4696
4800
  o.errorMessage = S(k), r("error", k);
4697
- }, K = (k = t.consumerGroupId) => {
4801
+ }, N = (k = t.consumerGroupId) => {
4698
4802
  Object.assign(s, o.fields), r("update", { ...o.fields, id: k });
4699
4803
  }, H = (k, L, ne = t.consumerGroupId) => {
4700
- const J = k == null ? void 0 : k.find((V) => V.status !== "fulfilled");
4804
+ const J = k == null ? void 0 : k.find((D) => D.status !== "fulfilled");
4701
4805
  J ? A({
4702
4806
  code: J.status,
4703
4807
  message: L
4704
- }) : K(ne);
4808
+ }) : N(ne);
4705
4809
  }, ae = async () => {
4706
4810
  let k = "";
4707
4811
  try {
@@ -4712,13 +4816,13 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4712
4816
  }
4713
4817
  if (o.fields.consumers.length > 0 && k)
4714
4818
  try {
4715
- const L = o.fields.consumers.map((J) => M(J, k)), ne = await Promise.allSettled(L);
4819
+ const L = o.fields.consumers.map((J) => F(J, k)), ne = await Promise.allSettled(L);
4716
4820
  H(ne, a("consumer_groups.errors.add_consumer"), k);
4717
4821
  } catch (L) {
4718
4822
  A(L);
4719
4823
  }
4720
4824
  else
4721
- o.fields.consumers.length === 0 && k && K(k);
4825
+ o.fields.consumers.length === 0 && k && N(k);
4722
4826
  }, ue = async () => {
4723
4827
  var ne;
4724
4828
  try {
@@ -4728,26 +4832,26 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4728
4832
  }
4729
4833
  const k = o.fields.consumers.filter((J) => !s.consumers.includes(J)), L = s.consumers.filter((J) => !o.fields.consumers.includes(J));
4730
4834
  if (L.length === 0 && k.length === 0)
4731
- K();
4835
+ N();
4732
4836
  else {
4733
4837
  if (L.length > 0)
4734
4838
  try {
4735
- const J = L.map((ce) => w(ce)), V = await Promise.allSettled(J);
4736
- H(V, a("consumer_groups.errors.remove_consumer"));
4839
+ const J = L.map((ce) => w(ce)), D = await Promise.allSettled(J);
4840
+ H(D, a("consumer_groups.errors.remove_consumer"));
4737
4841
  } catch (J) {
4738
4842
  A(J);
4739
4843
  }
4740
4844
  if (k.length > 0)
4741
4845
  try {
4742
- const J = k.map((ce) => M(ce)), V = await Promise.allSettled(J);
4743
- H(V, a("consumer_groups.errors.add_consumer"));
4846
+ const J = k.map((ce) => F(ce)), D = await Promise.allSettled(J);
4847
+ H(D, a("consumer_groups.errors.add_consumer"));
4744
4848
  } catch (J) {
4745
4849
  A(J);
4746
4850
  }
4747
4851
  }
4748
- }, Ve = async () => {
4852
+ }, ze = async () => {
4749
4853
  try {
4750
- o.readonly = !0, P.value === nt.Create ? await ae() : await ue();
4854
+ o.readonly = !0, P.value === rt.Create ? await ae() : await ue();
4751
4855
  } finally {
4752
4856
  o.readonly = !1;
4753
4857
  }
@@ -4756,80 +4860,80 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4756
4860
  await c();
4757
4861
  }), (k, L) => {
4758
4862
  const ne = q("KInput"), J = q("KMultiselect");
4759
- return f(), F("div", cl, [
4760
- E(g(bs), {
4863
+ return f(), O("div", hl, [
4864
+ T(m(As), {
4761
4865
  "can-submit": _.value && U.value,
4762
4866
  config: e.config,
4763
4867
  "edit-id": e.consumerGroupId,
4764
- "error-message": o.errorMessage || g(d) || x.value,
4868
+ "error-message": o.errorMessage || m(d) || $.value,
4765
4869
  "fetch-url": I.value,
4766
4870
  "form-fields": z.value,
4767
4871
  "is-readonly": o.readonly,
4768
4872
  onCancel: h,
4769
- "onFetch:error": L[3] || (L[3] = (V) => b(V)),
4770
- "onFetch:success": N,
4771
- onLoading: L[4] || (L[4] = (V) => D(V)),
4772
- onSubmit: Ve
4873
+ "onFetch:error": L[3] || (L[3] = (D) => b(D)),
4874
+ "onFetch:success": B,
4875
+ onLoading: L[4] || (L[4] = (D) => R(D)),
4876
+ onSubmit: ze
4773
4877
  }, {
4774
4878
  default: y(() => [
4775
- E(g(cn), {
4776
- description: g(a)("consumer_groups.form.general_info.description"),
4777
- title: g(a)("consumer_groups.form.general_info.title")
4879
+ T(m(mn), {
4880
+ description: m(a)("consumer_groups.form.general_info.description"),
4881
+ title: m(a)("consumer_groups.form.general_info.title")
4778
4882
  }, {
4779
4883
  default: y(() => [
4780
- E(ne, {
4884
+ T(ne, {
4781
4885
  modelValue: o.fields.name,
4782
- "onUpdate:modelValue": L[0] || (L[0] = (V) => o.fields.name = V),
4886
+ "onUpdate:modelValue": L[0] || (L[0] = (D) => o.fields.name = D),
4783
4887
  modelModifiers: { trim: !0 },
4784
4888
  autocomplete: "off",
4785
4889
  "data-testid": "consumer-group-form-name",
4786
- label: g(a)("consumer_groups.form.fields.name.label"),
4787
- placeholder: g(a)("consumer_groups.form.fields.name.placeholder"),
4890
+ label: m(a)("consumer_groups.form.fields.name.label"),
4891
+ placeholder: m(a)("consumer_groups.form.fields.name.placeholder"),
4788
4892
  required: "",
4789
4893
  type: "text"
4790
4894
  }, null, 8, ["modelValue", "label", "placeholder"]),
4791
- E(ne, {
4895
+ T(ne, {
4792
4896
  modelValue: o.fields.tags,
4793
- "onUpdate:modelValue": L[1] || (L[1] = (V) => o.fields.tags = V),
4897
+ "onUpdate:modelValue": L[1] || (L[1] = (D) => o.fields.tags = D),
4794
4898
  modelModifiers: { trim: !0 },
4795
4899
  autocomplete: "off",
4796
4900
  "data-testid": "consumer-group-form-tags",
4797
- help: g(a)("consumer_groups.form.fields.tags.help"),
4798
- label: g(a)("consumer_groups.form.fields.tags.label"),
4901
+ help: m(a)("consumer_groups.form.fields.tags.help"),
4902
+ label: m(a)("consumer_groups.form.fields.tags.label"),
4799
4903
  "label-attributes": {
4800
- info: g(a)("consumer_groups.form.fields.tags.tooltip"),
4904
+ info: m(a)("consumer_groups.form.fields.tags.tooltip"),
4801
4905
  tooltipAttributes: { maxWidth: "300" }
4802
4906
  },
4803
- placeholder: g(a)("consumer_groups.form.fields.tags.placeholder"),
4907
+ placeholder: m(a)("consumer_groups.form.fields.tags.placeholder"),
4804
4908
  type: "text"
4805
4909
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder"])
4806
4910
  ]),
4807
4911
  _: 1
4808
4912
  }, 8, ["description", "title"]),
4809
- E(g(cn), {
4810
- description: g(a)("consumer_groups.form.consumers.description"),
4913
+ T(m(mn), {
4914
+ description: m(a)("consumer_groups.form.consumers.description"),
4811
4915
  "has-divider": "",
4812
- title: g(a)("consumer_groups.form.consumers.title")
4916
+ title: m(a)("consumer_groups.form.consumers.title")
4813
4917
  }, {
4814
4918
  default: y(() => [
4815
- E(J, {
4919
+ T(J, {
4816
4920
  modelValue: o.fields.consumers,
4817
- "onUpdate:modelValue": L[2] || (L[2] = (V) => o.fields.consumers = V),
4921
+ "onUpdate:modelValue": L[2] || (L[2] = (D) => o.fields.consumers = D),
4818
4922
  appearance: "select",
4819
4923
  autosuggest: "",
4820
4924
  items: C.value,
4821
- label: g(a)("consumer_groups.form.fields.consumers.label"),
4822
- loading: g(u),
4823
- placeholder: g(a)("consumer_groups.form.fields.consumers.placeholder"),
4925
+ label: m(a)("consumer_groups.form.fields.consumers.label"),
4926
+ loading: m(u),
4927
+ placeholder: m(a)("consumer_groups.form.fields.consumers.placeholder"),
4824
4928
  width: "auto",
4825
- onQueryChange: g(l)
4929
+ onQueryChange: m(l)
4826
4930
  }, {
4827
- "item-template": y(({ item: V }) => {
4931
+ "item-template": y(({ item: D }) => {
4828
4932
  var ce, ke, de;
4829
4933
  return [
4830
- R("div", dl, [
4831
- R("div", pl, B(V.label), 1),
4832
- (ce = V == null ? void 0 : V.data) != null && ce.username && ((ke = V == null ? void 0 : V.data) != null && ke.custom_id) ? (f(), F("div", fl, B((de = V == null ? void 0 : V.data) == null ? void 0 : de.custom_id), 1)) : W("", !0)
4934
+ V("div", yl, [
4935
+ V("div", vl, K(D.label), 1),
4936
+ (ce = D == null ? void 0 : D.data) != null && ce.username && ((ke = D == null ? void 0 : D.data) != null && ke.custom_id) ? (f(), O("div", bl, K((de = D == null ? void 0 : D.data) == null ? void 0 : de.custom_id), 1)) : W("", !0)
4833
4937
  ])
4834
4938
  ];
4835
4939
  }),
@@ -4844,7 +4948,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4844
4948
  ]);
4845
4949
  };
4846
4950
  }
4847
- }), $l = /* @__PURE__ */ Ft(ml, [["__scopeId", "data-v-89ee41dd"]]), gl = { class: "kong-ui-consumer-group-entity-config-card" }, jl = /* @__PURE__ */ te({
4951
+ }), Fl = /* @__PURE__ */ qt(kl, [["__scopeId", "data-v-89ee41dd"]]), Cl = { class: "kong-ui-consumer-group-entity-config-card" }, Kl = /* @__PURE__ */ ee({
4848
4952
  __name: "ConsumerGroupConfigCard",
4849
4953
  props: {
4850
4954
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4871,7 +4975,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4871
4975
  },
4872
4976
  emits: ["loading", "fetch:error", "fetch:success"],
4873
4977
  setup(e) {
4874
- const n = e, { i18n: { t } } = ct.useI18n(), r = $(() => xe.form[n.config.app].edit), a = O({
4978
+ const n = e, { i18n: { t } } = ct.useI18n(), r = x(() => Se.form[n.config.app].edit), a = M({
4875
4979
  id: {},
4876
4980
  name: {},
4877
4981
  created_at: {},
@@ -4880,8 +4984,8 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4880
4984
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
4881
4985
  }
4882
4986
  });
4883
- return (i, o) => (f(), F("div", gl, [
4884
- E(g(gs), {
4987
+ return (i, o) => (f(), O("div", Cl, [
4988
+ T(m(Cs), {
4885
4989
  config: e.config,
4886
4990
  "config-card-doc": e.configCardDoc,
4887
4991
  "config-schema": a.value,
@@ -4896,7 +5000,7 @@ const zi = { class: "yaml-config" }, pr = /* @__PURE__ */ te({
4896
5000
  }
4897
5001
  });
4898
5002
  export {
4899
- jl as ConsumerGroupConfigCard,
4900
- $l as ConsumerGroupForm,
4901
- xl as ConsumerGroupList
5003
+ Kl as ConsumerGroupConfigCard,
5004
+ Fl as ConsumerGroupForm,
5005
+ Ml as ConsumerGroupList
4902
5006
  };