@kong-ui-public/entities-consumers 3.1.11 → 3.1.12

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,20 +1,20 @@
1
- import { defineComponent as W, computed as w, openBlock as f, createBlock as V, resolveDynamicComponent as be, normalizeStyle as Ue, withCtx as h, createElementBlock as O, toDisplayString as j, createCommentVNode as P, pushScopeId as Re, popScopeId as Ve, createElementVNode as F, ref as B, watch as ke, renderSlot as Q, unref as m, onBeforeMount as wt, resolveComponent as R, createSlots as Te, createVNode as T, createTextVNode as H, renderList as pe, withModifiers as gt, withDirectives as Ie, vShow as _e, Fragment as fe, normalizeClass as Ae, withKeys as _r, useSlots as It, useCssVars as yn, inject as Sr, onMounted as Ar, onUnmounted as xr, normalizeProps as $r, guardReactiveProps as Nr, mergeProps as Tr, reactive as Vt } from "vue";
2
- import { useRouter as _t } from "vue-router";
1
+ import { defineComponent as W, computed as w, openBlock as f, createBlock as V, resolveDynamicComponent as we, normalizeStyle as Ue, withCtx as h, createElementBlock as O, toDisplayString as j, createCommentVNode as P, pushScopeId as Re, popScopeId as Ve, createElementVNode as F, ref as B, watch as Ce, renderSlot as Q, unref as m, onBeforeMount as wt, resolveComponent as R, createSlots as Te, createVNode as T, createTextVNode as H, renderList as pe, withModifiers as gt, withDirectives as _e, vShow as Ie, Fragment as fe, normalizeClass as Ae, withKeys as Ir, useSlots as _t, useCssVars as yn, inject as Sr, onMounted as Ar, onUnmounted as xr, normalizeProps as $r, guardReactiveProps as Nr, mergeProps as Tr, Teleport as jr, reactive as Vt } from "vue";
2
+ import { useRouter as It } from "vue-router";
3
3
  import { createI18n as hn, i18nTComponent as vn } from "@kong-ui-public/i18n";
4
4
  import Dt from "axios";
5
- import { BadgeMethodAppearances as jr } from "@kong/kongponents";
6
- const Pt = "24px", Or = (e, t) => {
5
+ import { BadgeMethodAppearances as Or } from "@kong/kongponents";
6
+ const Pt = "24px", Mr = (e, t) => {
7
7
  const n = e.__vccOpts || e;
8
8
  for (const [r, a] of t)
9
9
  n[r] = a;
10
10
  return n;
11
- }, Mr = (e) => (Re("data-v-1d2a8d30"), e = e(), Ve(), e), Er = ["aria-hidden"], qr = {
11
+ }, Er = (e) => (Re("data-v-1d2a8d30"), e = e(), Ve(), e), qr = ["aria-hidden"], Fr = {
12
12
  key: 0,
13
13
  "data-testid": "kui-icon-svg-title"
14
- }, Fr = /* @__PURE__ */ Mr(() => /* @__PURE__ */ F("path", {
14
+ }, Br = /* @__PURE__ */ Er(() => /* @__PURE__ */ F("path", {
15
15
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
16
16
  fill: "currentColor"
17
- }, null, -1)), Br = /* @__PURE__ */ W({
17
+ }, null, -1)), Kr = /* @__PURE__ */ W({
18
18
  __name: "AddIcon",
19
19
  props: {
20
20
  /** The accessibility text provided to screen readers */
@@ -83,7 +83,7 @@ const Pt = "24px", Or = (e, t) => {
83
83
  lineHeight: "0",
84
84
  width: n.value
85
85
  }));
86
- return (a, i) => (f(), V(be(e.as), {
86
+ return (a, i) => (f(), V(we(e.as), {
87
87
  "aria-hidden": e.decorative ? "true" : void 0,
88
88
  class: "kui-icon add-icon",
89
89
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -100,14 +100,14 @@ const Pt = "24px", Or = (e, t) => {
100
100
  width: "100%",
101
101
  xmlns: "http://www.w3.org/2000/svg"
102
102
  }, [
103
- e.title ? (f(), O("title", qr, j(e.title), 1)) : P("", !0),
104
- Fr
105
- ], 8, Er))
103
+ e.title ? (f(), O("title", Fr, j(e.title), 1)) : P("", !0),
104
+ Br
105
+ ], 8, qr))
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["aria-hidden", "style"]));
109
109
  }
110
- }), Kr = /* @__PURE__ */ Or(Br, [["__scopeId", "data-v-1d2a8d30"]]), Lr = {
110
+ }), Lr = /* @__PURE__ */ Mr(Kr, [["__scopeId", "data-v-1d2a8d30"]]), Ur = {
111
111
  list: {
112
112
  table_headers: {
113
113
  username: "Username",
@@ -202,11 +202,11 @@ const Pt = "24px", Or = (e, t) => {
202
202
  tooltip: "An optional set of strings associated with the Consumer for grouping and filtering."
203
203
  }
204
204
  }
205
- }, Ur = {
206
- consumers: Lr
205
+ }, Rr = {
206
+ consumers: Ur
207
207
  };
208
- function Rr() {
209
- const e = hn("en-us", Ur);
208
+ function Vr() {
209
+ const e = hn("en-us", Rr);
210
210
  return {
211
211
  i18n: e,
212
212
  i18nT: vn(e)
@@ -214,7 +214,7 @@ function Rr() {
214
214
  };
215
215
  }
216
216
  const at = {
217
- useI18n: Rr
217
+ useI18n: Vr
218
218
  }, Me = "/v2/control-planes/{controlPlaneId}/core-entities", Ee = "/{workspace}", je = {
219
219
  list: {
220
220
  konnect: {
@@ -242,7 +242,7 @@ const at = {
242
242
  }
243
243
  };
244
244
  var bn = /* @__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))(bn || {}), yt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(yt || {}), $e = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))($e || {}), Y = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), ce = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ce || {});
245
- function Vr() {
245
+ function Dr() {
246
246
  return {
247
247
  getAxiosInstance: (e = {}) => {
248
248
  try {
@@ -266,7 +266,7 @@ function Vr() {
266
266
  }
267
267
  };
268
268
  }
269
- function Dr() {
269
+ function Pr() {
270
270
  return {
271
271
  debounce: (e, t) => {
272
272
  let n;
@@ -278,14 +278,14 @@ function Dr() {
278
278
  }
279
279
  };
280
280
  }
281
- const dt = "khcp-user-table-preferences", Pr = {
281
+ const dt = "khcp-user-table-preferences", zr = {
282
282
  pageSize: 30,
283
283
  sortColumnKey: void 0,
284
284
  sortColumnOrder: void 0,
285
285
  columnWidths: {},
286
286
  columnVisibility: {}
287
287
  };
288
- function zr() {
288
+ function Gr() {
289
289
  const e = (n) => {
290
290
  if (typeof n == "string")
291
291
  try {
@@ -309,7 +309,7 @@ function zr() {
309
309
  },
310
310
  getTablePreferences: (n) => {
311
311
  const r = t();
312
- return (r == null ? void 0 : r.get(n)) || void 0 || Pr;
312
+ return (r == null ? void 0 : r.get(n)) || void 0 || zr;
313
313
  },
314
314
  deleteAllTablePreferences: () => {
315
315
  localStorage.removeItem(dt);
@@ -317,22 +317,22 @@ function zr() {
317
317
  };
318
318
  }
319
319
  function St(e = {}) {
320
- const { getAxiosInstance: t } = Vr();
320
+ const { getAxiosInstance: t } = Dr();
321
321
  return {
322
322
  axiosInstance: t(e)
323
323
  };
324
324
  }
325
- const Gr = {
325
+ const Hr = {
326
326
  actions: {
327
327
  copyId: "Copy ID",
328
328
  copied_id: 'Copied "{id}" to the clipboard',
329
329
  copyToClipboard: "Copied successfully!",
330
330
  copyToClipboardFailed: "Failed to copy to the clipboard"
331
331
  }
332
- }, Hr = {
332
+ }, Jr = {
333
333
  message: "Are you sure you want to delete this {entityType}?",
334
334
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
335
- }, Jr = {
335
+ }, Wr = {
336
336
  actions: {
337
337
  viewConfiguration: "View Configuration",
338
338
  save: "Save",
@@ -348,13 +348,13 @@ const Gr = {
348
348
  errors: {
349
349
  edit: "The entity could not be edited at this time."
350
350
  }
351
- }, Wr = {
351
+ }, Zr = {
352
352
  emptyState: {
353
353
  noSearchResultsTitle: "No results found",
354
354
  noSearchResultsMessage: "Please adjust the criteria and try again.",
355
355
  noSearchResultsCtaText: "Clear"
356
356
  }
357
- }, Zr = {
357
+ }, Yr = {
358
358
  title: "Configuration",
359
359
  actions: {
360
360
  copy: "Copy JSON"
@@ -389,7 +389,7 @@ const Gr = {
389
389
  entryTitle: "Entry {index}",
390
390
  structuredFormat: "Structured"
391
391
  }
392
- }, Yr = {
392
+ }, Qr = {
393
393
  filterButtonText: "Filter",
394
394
  fieldLabel: "Filter by:",
395
395
  inputPlaceholder: "Enter a value",
@@ -397,17 +397,17 @@ const Gr = {
397
397
  applyButtonText: "Apply",
398
398
  clearButtonText: "Clear",
399
399
  clearAllButtonText: "Clear all filters"
400
- }, Qr = {
400
+ }, Xr = {
401
401
  errors: {
402
402
  fetch: "Could not fetch available items",
403
403
  invalid: "Please select a valid value"
404
404
  }
405
- }, Xr = {
405
+ }, ea = {
406
406
  unexpected: "An unexpected error has occurred",
407
407
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
408
- }, ea = {
409
- utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
410
408
  }, ta = {
409
+ utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
410
+ }, na = {
411
411
  enable: {
412
412
  title: "Enable {entityType}",
413
413
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -418,20 +418,20 @@ const Gr = {
418
418
  message: "Are you sure you want to disable the {entityType} {entityName}?",
419
419
  confirmText: "Yes, disable"
420
420
  }
421
- }, na = {
422
- global: Gr,
423
- deleteModal: Hr,
424
- baseForm: Jr,
425
- baseTable: Wr,
426
- baseConfigCard: Zr,
427
- filter: Yr,
428
- debouncedFilter: Qr,
429
- errors: Xr,
430
- validationErrors: ea,
431
- toggleModal: ta
421
+ }, ra = {
422
+ global: Hr,
423
+ deleteModal: Jr,
424
+ baseForm: Wr,
425
+ baseTable: Zr,
426
+ baseConfigCard: Yr,
427
+ filter: Qr,
428
+ debouncedFilter: Xr,
429
+ errors: ea,
430
+ validationErrors: ta,
431
+ toggleModal: na
432
432
  };
433
433
  function it() {
434
- const e = hn("en-us", na);
434
+ const e = hn("en-us", ra);
435
435
  return {
436
436
  i18n: e,
437
437
  i18nT: vn(e)
@@ -482,15 +482,15 @@ function Cn() {
482
482
  isValidUuid: (n) => n ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(n) : !1
483
483
  };
484
484
  }
485
- function ra(e, t, n, r = {
485
+ function aa(e, t, n, r = {
486
486
  fetchedItemsKey: "data",
487
487
  searchKeys: ["id"]
488
488
  }) {
489
489
  n || (n = "1000");
490
- const { axiosInstance: a } = St(e.axiosRequestConfig), { i18n: { t: i } } = it(), { debounce: o } = Dr(), l = o(async (v) => {
490
+ const { axiosInstance: a } = St(e.axiosRequestConfig), { i18n: { t: i } } = it(), { debounce: o } = Pr(), l = o(async (v) => {
491
491
  await J(v);
492
- }, 200), s = B(!1), u = B(""), d = B(""), c = B([]), C = B([]), y = B(void 0), I = m(t);
493
- let M = `${e.apiBaseUrl}${I}`;
492
+ }, 200), s = B(!1), u = B(""), d = B(""), c = B([]), C = B([]), y = B(void 0), _ = m(t);
493
+ let M = `${e.apiBaseUrl}${_}`;
494
494
  e.app === "konnect" ? M = M.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (M = M.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
495
495
  const { isValidUuid: k } = Cn(), U = async () => {
496
496
  try {
@@ -519,14 +519,14 @@ function ra(e, t, n, r = {
519
519
  return [E[r.fetchedItemsKey] ?? E];
520
520
  })()) : b.push(
521
521
  ...r.searchKeys.filter((E) => E !== "id").map(async (E) => {
522
- const { data: _ } = await a.get(`${M}?${E}=${v}`);
523
- return _[r.fetchedItemsKey];
522
+ const { data: I } = await a.get(`${M}?${E}=${v}`);
523
+ return I[r.fetchedItemsKey];
524
524
  })
525
525
  );
526
526
  const g = await Promise.all(b), K = /* @__PURE__ */ new Set();
527
527
  c.value = [], (S = g == null ? void 0 : g.forEach) == null || S.call(g, (E) => {
528
- var _;
529
- (_ = E == null ? void 0 : E.forEach) == null || _.call(E, (x) => {
528
+ var I;
529
+ (I = E == null ? void 0 : E.forEach) == null || I.call(E, (x) => {
530
530
  K.has(x.id) || (K.add(x.id), c.value.push(x));
531
531
  });
532
532
  });
@@ -542,8 +542,8 @@ function ra(e, t, n, r = {
542
542
  var g;
543
543
  let K = !1;
544
544
  for (const E of r.searchKeys) {
545
- const _ = typeof b[E] == "string" ? (g = b[E]) == null ? void 0 : g.toLowerCase() : b[E];
546
- _ != null && _.includes(v.toLowerCase()) && (K = !0);
545
+ const I = typeof b[E] == "string" ? (g = b[E]) == null ? void 0 : g.toLowerCase() : b[E];
546
+ I != null && I.includes(v.toLowerCase()) && (K = !0);
547
547
  }
548
548
  return K;
549
549
  }), (!c.value || !c.value.length) && (d.value = i("debouncedFilter.errors.invalid"))) : c.value = y.value, s.value = !1;
@@ -558,13 +558,13 @@ function ra(e, t, n, r = {
558
558
  debouncedQueryChange: l
559
559
  };
560
560
  }
561
- function aa(e, t) {
561
+ function ia(e, t) {
562
562
  const n = m(t), r = w(
563
563
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
564
564
  );
565
565
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
566
566
  }
567
- function ia() {
567
+ function oa() {
568
568
  const { i18n: { t: e } } = it();
569
569
  return {
570
570
  getMessageFromError: (t) => {
@@ -594,7 +594,7 @@ function ia() {
594
594
  }
595
595
  };
596
596
  }
597
- function oa(e) {
597
+ function la(e) {
598
598
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
599
599
  try {
600
600
  const r = e.join("/"), a = `${n}${r}`, i = e.some((o) => o.trim() === "");
@@ -615,15 +615,15 @@ function kn(e, t) {
615
615
  const { page: l, pageSize: s, offset: u, sortColumnKey: d, sortColumnOrder: c, query: C } = o;
616
616
  try {
617
617
  let y = new URL(i.value.href);
618
- return a.value && C ? (y.search = "", y = n.value.isExactMatch ? new URL(`${y.href}/${C}/`) : new URL(`${y.href}?filter[name][contains]=${C}`)) : (a.value || new URLSearchParams(C).forEach((I, M) => {
619
- y.searchParams.append(M, I);
618
+ return a.value && C ? (y.search = "", y = n.value.isExactMatch ? new URL(`${y.href}/${C}/`) : new URL(`${y.href}?filter[name][contains]=${C}`)) : (a.value || new URLSearchParams(C).forEach((_, M) => {
619
+ y.searchParams.append(M, _);
620
620
  }), d && y.searchParams.append("sort_by", d), c === "desc" && y.searchParams.append("sort_desc", "1"), y.searchParams.append("size", String(s))), u && l !== 1 && y.searchParams.append("offset", String(u)), y.href;
621
621
  } catch (y) {
622
622
  return console.error("RouteList(fetcher)", y), r.value;
623
623
  }
624
624
  };
625
625
  }
626
- function la(e, t, n = "data") {
626
+ function sa(e, t, n = "data") {
627
627
  const r = m(t), { axiosInstance: a } = St(e.axiosRequestConfig), i = kn(e, r), o = B({
628
628
  status: $e.Idle
629
629
  });
@@ -639,7 +639,7 @@ function la(e, t, n = "data") {
639
639
  const c = d.data, C = n && n.replace(/[^\w-_]/gi, "");
640
640
  let y;
641
641
  c[C] && Array.isArray(c[C]) ? y = c[C] : Array.isArray(c) ? y = c : y = Object.keys(c).length ? [c] : [];
642
- const I = {
642
+ const _ = {
643
643
  data: y,
644
644
  total: y.length,
645
645
  ...c.offset ? {
@@ -650,8 +650,8 @@ function la(e, t, n = "data") {
650
650
  };
651
651
  return o.value = {
652
652
  status: $e.Idle,
653
- response: I
654
- }, I;
653
+ response: _
654
+ }, _;
655
655
  } catch (u) {
656
656
  const d = {
657
657
  data: [],
@@ -669,7 +669,7 @@ function la(e, t, n = "data") {
669
669
  }
670
670
  }, fetcherState: o };
671
671
  }
672
- function sa() {
672
+ function ua() {
673
673
  const e = (n, r = "_") => n ? n.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
674
674
  return {
675
675
  capitalize: (n) => n ? n.replace(t, (r) => r.toUpperCase()) : "",
@@ -686,44 +686,44 @@ const wn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
686
686
  }, Gt = (e) => e === "*" || e === "x" || e === "X", Ht = (e) => {
687
687
  const t = parseInt(e, 10);
688
688
  return isNaN(t) ? e : t;
689
- }, ua = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], ca = (e, t) => {
689
+ }, ca = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], da = (e, t) => {
690
690
  if (Gt(e) || Gt(t))
691
691
  return 0;
692
- const [n, r] = ua(Ht(e), Ht(t));
692
+ const [n, r] = ca(Ht(e), Ht(t));
693
693
  return n > r ? 1 : n < r ? -1 : 0;
694
694
  }, Jt = (e, t) => {
695
695
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
696
- const r = ca(e[n] || "0", t[n] || "0");
696
+ const r = da(e[n] || "0", t[n] || "0");
697
697
  if (r !== 0)
698
698
  return r;
699
699
  }
700
700
  return 0;
701
- }, da = (e, t) => {
701
+ }, pa = (e, t) => {
702
702
  const n = zt(e), r = zt(t), a = n.pop(), i = r.pop(), o = Jt(n, r);
703
703
  return o !== 0 ? o : a && i ? Jt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
704
704
  }, Wt = (e, t, n) => {
705
- pa(n);
706
- const r = da(e, t);
707
- return In[n].includes(r);
708
- }, In = {
705
+ fa(n);
706
+ const r = pa(e, t);
707
+ return _n[n].includes(r);
708
+ }, _n = {
709
709
  ">": [1],
710
710
  ">=": [0, 1],
711
711
  "=": [0],
712
712
  "<=": [-1, 0],
713
713
  "<": [-1],
714
714
  "!=": [-1, 1]
715
- }, Zt = Object.keys(In), pa = (e) => {
715
+ }, Zt = Object.keys(_n), fa = (e) => {
716
716
  if (typeof e != "string")
717
717
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
718
718
  if (Zt.indexOf(e) === -1)
719
719
  throw new Error(`Invalid operator, expected one of ${Zt.join("|")}`);
720
- }, fa = (e) => typeof e == "string" && /^[v\d]/.test(e) && wn.test(e);
721
- function ma(e) {
720
+ }, ma = (e) => typeof e == "string" && /^[v\d]/.test(e) && wn.test(e);
721
+ function ga(e) {
722
722
  const { gatewayInfo: t, supportedRange: n } = e;
723
723
  if (!t)
724
724
  return !0;
725
725
  const { edition: r, version: a } = t;
726
- if (!fa(a))
726
+ if (!ma(a))
727
727
  return console.error("Invalid version"), !1;
728
728
  const i = n[r];
729
729
  if (!i)
@@ -731,15 +731,15 @@ function ma(e) {
731
731
  const [o, l] = i;
732
732
  return !(o && Wt(a, o, "<") || l && Wt(a, l, ">"));
733
733
  }
734
- function ga(e) {
734
+ function ya(e) {
735
735
  const t = B(0), n = B(0), r = B(!1);
736
- return ke(e, (a) => {
736
+ return Ce(e, (a) => {
737
737
  a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
738
738
  }), {
739
739
  isTruncated: w(() => t.value < n.value)
740
740
  };
741
741
  }
742
- function ya() {
742
+ function ha() {
743
743
  const { i18n: { t: e } } = it();
744
744
  return {
745
745
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
@@ -747,22 +747,22 @@ function ya() {
747
747
  }
748
748
  const ne = {
749
749
  useAxios: St,
750
- useDebouncedFilter: ra,
751
- useDeleteUrlBuilder: aa,
752
- useErrors: ia,
753
- useExternalLinkCreator: oa,
754
- useFetcher: la,
750
+ useDebouncedFilter: aa,
751
+ useDeleteUrlBuilder: ia,
752
+ useErrors: oa,
753
+ useExternalLinkCreator: la,
754
+ useFetcher: sa,
755
755
  useFetchUrlBuilder: kn,
756
756
  useHelpers: Cn,
757
- useStringHelpers: sa,
757
+ useStringHelpers: ua,
758
758
  useI18n: it,
759
- useGatewayFeatureSupported: ma,
760
- useTruncationDetector: ga,
761
- useValidators: ya
762
- }, ha = {
759
+ useGatewayFeatureSupported: ga,
760
+ useTruncationDetector: ya,
761
+ useValidators: ha
762
+ }, va = {
763
763
  key: 0,
764
764
  class: "config-card-fieldset-title"
765
- }, va = /* @__PURE__ */ W({
765
+ }, ba = /* @__PURE__ */ W({
766
766
  __name: "JsonCardItem",
767
767
  props: {
768
768
  item: {
@@ -786,11 +786,11 @@ const ne = {
786
786
  var s;
787
787
  return t.isArrayItem ? (s = i.value) != null && s.name ? r(i.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
788
788
  });
789
- return (s, u) => (f(), V(be(e.isArrayItem ? "fieldset" : "div"), {
789
+ return (s, u) => (f(), V(we(e.isArrayItem ? "fieldset" : "div"), {
790
790
  class: Ae(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
791
791
  }, {
792
792
  default: h(() => [
793
- e.isArrayItem ? (f(), O("legend", ha, [
793
+ e.isArrayItem ? (f(), O("legend", va, [
794
794
  F("b", null, j(l.value), 1)
795
795
  ])) : P("", !0),
796
796
  (f(!0), O(fe, null, pe(Object.keys(o.value), (d, c) => (f(), V(Sn, {
@@ -810,7 +810,7 @@ const ne = {
810
810
  for (const [r, a] of t)
811
811
  n[r] = a;
812
812
  return n;
813
- }, _n = /* @__PURE__ */ me(va, [["__scopeId", "data-v-68ca83ec"]]), ba = /* @__PURE__ */ W({
813
+ }, In = /* @__PURE__ */ me(ba, [["__scopeId", "data-v-68ca83ec"]]), Ca = /* @__PURE__ */ W({
814
814
  __name: "InternalLinkItem",
815
815
  props: {
816
816
  item: {
@@ -837,7 +837,7 @@ const ne = {
837
837
  ]);
838
838
  };
839
839
  }
840
- }), Ca = /* @__PURE__ */ me(ba, [["__scopeId", "data-v-c96811e5"]]), ka = /* @__PURE__ */ W({
840
+ }), ka = /* @__PURE__ */ me(Ca, [["__scopeId", "data-v-c96811e5"]]), wa = /* @__PURE__ */ W({
841
841
  __name: "StatusBadge",
842
842
  props: {
843
843
  status: {
@@ -859,11 +859,11 @@ const ne = {
859
859
  }, 8, ["appearance"]);
860
860
  };
861
861
  }
862
- }), wa = "#0044f4", Ia = "#e0e4ea", _a = "#afb7c5", Sa = "1px", Aa = "20px", xa = { class: "config-card-details-row" }, $a = ["data-testid"], Na = ["data-testid"], Ta = ["data-testid"], ja = ["data-testid"], Oa = { key: 1 }, Ma = ["data-testid"], Ea = ["data-testid"], qa = ["data-testid"], Fa = ["data-testid"], Ba = {
862
+ }), _a = "#0044f4", Ia = "#e0e4ea", Sa = "#afb7c5", Aa = "1px", xa = "20px", $a = { class: "config-card-details-row" }, Na = ["data-testid"], Ta = ["data-testid"], ja = ["data-testid"], Oa = ["data-testid"], Ma = { key: 1 }, Ea = ["data-testid"], qa = ["data-testid"], Fa = ["data-testid"], Ba = ["data-testid"], Ka = {
863
863
  name: "ConfigCardItem",
864
- components: { JsonCardItem: _n, StatusBadge: ka, InternalLinkItem: Ca }
865
- }, Ka = /* @__PURE__ */ W({
866
- ...Ba,
864
+ components: { JsonCardItem: In, StatusBadge: wa, InternalLinkItem: ka }
865
+ }, La = /* @__PURE__ */ W({
866
+ ...Ka,
867
867
  props: {
868
868
  item: {
869
869
  type: Object,
@@ -882,13 +882,13 @@ const ne = {
882
882
  },
883
883
  emits: ["navigation-click"],
884
884
  setup(e, { emit: t }) {
885
- yn((I) => ({
886
- "07753575": d.value ? "none" : `solid ${m(Sa)} ${m(Ia)}`,
885
+ yn((_) => ({
886
+ "07753575": d.value ? "none" : `solid ${m(Aa)} ${m(Ia)}`,
887
887
  "32d44ea8": u.value && l.value ? "block" : "flex",
888
888
  "5036b738": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
889
889
  "5038fd13": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
890
890
  }));
891
- const n = e, r = t, a = It(), { i18n: { t: i, formatUnixTimeStamp: o } } = ne.useI18n(), l = w(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = w(() => !!(n.item.tooltip || a["label-tooltip"])), u = w(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = w(() => n.item.type === Y.JsonArray), c = w(() => {
891
+ const n = e, r = t, a = _t(), { i18n: { t: i, formatUnixTimeStamp: o } } = ne.useI18n(), l = w(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = w(() => !!(n.item.tooltip || a["label-tooltip"])), u = w(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = w(() => n.item.type === Y.JsonArray), c = w(() => {
892
892
  switch (n.item.type) {
893
893
  case Y.ID:
894
894
  return {
@@ -958,8 +958,8 @@ const ne = {
958
958
  attrs: {
959
959
  "data-testid": `${n.item.key}-internal-link`,
960
960
  item: n.item,
961
- onNavigationClick: (I) => {
962
- r("navigation-click", I);
961
+ onNavigationClick: (_) => {
962
+ r("navigation-click", _);
963
963
  }
964
964
  }
965
965
  };
@@ -999,14 +999,14 @@ const ne = {
999
999
  };
1000
1000
  }
1001
1001
  }), C = B(), { isTruncated: y } = ne.useTruncationDetector(C);
1002
- return (I, M) => {
1002
+ return (_, M) => {
1003
1003
  const k = R("KLabel"), U = R("KBadge"), $ = R("KCopy"), J = R("KTooltip");
1004
- return f(), O("div", xa, [
1004
+ return f(), O("div", $a, [
1005
1005
  F("div", {
1006
1006
  class: "config-card-details-label",
1007
1007
  "data-testid": `${e.item.key}-label`
1008
1008
  }, [
1009
- Q(I.$slots, "label", { item: e.item }, () => [
1009
+ Q(_.$slots, "label", { item: e.item }, () => [
1010
1010
  T(k, { "tooltip-attributes": { maxWidth: "500px" } }, Te({
1011
1011
  default: h(() => [
1012
1012
  H(j(e.item.label) + " ", 1)
@@ -1019,25 +1019,25 @@ const ne = {
1019
1019
  F("div", {
1020
1020
  "data-testid": `${e.item.key}-label-tooltip`
1021
1021
  }, [
1022
- Q(I.$slots, "label-tooltip", {}, () => [
1022
+ Q(_.$slots, "label-tooltip", {}, () => [
1023
1023
  H(j(e.item.tooltip), 1)
1024
1024
  ], !0)
1025
- ], 8, Na)
1025
+ ], 8, Ta)
1026
1026
  ]),
1027
1027
  key: "0"
1028
1028
  } : void 0
1029
1029
  ]), 1024)
1030
1030
  ], !0)
1031
- ], 8, $a),
1031
+ ], 8, Na),
1032
1032
  F("div", {
1033
1033
  class: "config-card-details-value",
1034
1034
  "data-testid": `${e.item.key}-property-value`
1035
1035
  }, [
1036
- Q(I.$slots, e.item.key, {
1036
+ Q(_.$slots, e.item.key, {
1037
1037
  rowValue: e.item.value
1038
1038
  }, () => [
1039
- l.value ? (f(), O("div", Oa, [
1040
- (f(), V(be(c.value.tag), $r(Nr(c.value.attrs)), {
1039
+ l.value ? (f(), O("div", Ma, [
1040
+ (f(), V(we(c.value.tag), $r(Nr(c.value.attrs)), {
1041
1041
  default: h(() => [
1042
1042
  c.value.additionalComponent === "KBadge" ? (f(), O("div", {
1043
1043
  key: 0,
@@ -1055,7 +1055,7 @@ const ne = {
1055
1055
  ]),
1056
1056
  _: 2
1057
1057
  }, 1032, ["data-testid", "tooltip"]))), 128))
1058
- ], 8, Ma)) : P("", !0),
1058
+ ], 8, Ea)) : P("", !0),
1059
1059
  c.value.additionalComponent === "KCopy" ? (f(), O("div", {
1060
1060
  key: 1,
1061
1061
  class: "copy-uuid-array",
@@ -1066,14 +1066,14 @@ const ne = {
1066
1066
  "data-testid": `${e.item.key}-copy-uuid-${S}`,
1067
1067
  text: v
1068
1068
  }), null, 16, ["data-testid", "text"]))), 128))
1069
- ], 8, Ea)) : c.value.additionalComponent === "KMethodBadge" ? (f(), O("div", {
1069
+ ], 8, qa)) : c.value.additionalComponent === "KMethodBadge" ? (f(), O("div", {
1070
1070
  key: 2,
1071
1071
  class: "method-badge-array",
1072
1072
  "data-testid": `${e.item.key}-badge-methods`
1073
1073
  }, [
1074
1074
  (f(!0), O(fe, null, pe(e.item.value, (v, S) => (f(), V(U, {
1075
1075
  key: `${e.item.key}-badge-method-${S}`,
1076
- appearance: Object.values(m(jr)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1076
+ appearance: Object.values(m(Or)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1077
1077
  class: "config-badge",
1078
1078
  "data-testid": `${e.item.key}-badge-method-${S}`
1079
1079
  }, {
@@ -1082,18 +1082,18 @@ const ne = {
1082
1082
  ]),
1083
1083
  _: 2
1084
1084
  }, 1032, ["appearance", "data-testid"]))), 128))
1085
- ], 8, qa)) : P("", !0),
1085
+ ], 8, Fa)) : P("", !0),
1086
1086
  c.value.additionalComponent === "JsonCardItem" ? (f(), O("div", {
1087
1087
  key: 3,
1088
1088
  "data-testid": `${n.item.key}-json-array-content`
1089
1089
  }, [
1090
- (f(!0), O(fe, null, pe(e.item.value, (v, S) => (f(), V(_n, {
1090
+ (f(!0), O(fe, null, pe(e.item.value, (v, S) => (f(), V(In, {
1091
1091
  key: `json-array-item-${S}`,
1092
1092
  index: S,
1093
1093
  "is-array-item": "",
1094
1094
  item: v
1095
1095
  }, null, 8, ["index", "item"]))), 128))
1096
- ], 8, Fa)) : (f(), V(J, {
1096
+ ], 8, Ba)) : (f(), V(J, {
1097
1097
  key: 4,
1098
1098
  text: m(y) ? e.item.value : ""
1099
1099
  }, {
@@ -1112,13 +1112,13 @@ const ne = {
1112
1112
  ])) : (f(), O("div", {
1113
1113
  key: 0,
1114
1114
  "data-testid": `${e.item.key}-no-value`
1115
- }, " – ", 8, ja))
1115
+ }, " – ", 8, Oa))
1116
1116
  ], !0)
1117
- ], 8, Ta)
1117
+ ], 8, ja)
1118
1118
  ]);
1119
1119
  };
1120
1120
  }
1121
- }), Sn = /* @__PURE__ */ me(Ka, [["__scopeId", "data-v-d056663c"]]), La = { class: "json-config" }, Ua = {
1121
+ }), Sn = /* @__PURE__ */ me(La, [["__scopeId", "data-v-d056663c"]]), Ua = { class: "json-config" }, Ra = {
1122
1122
  key: 0,
1123
1123
  class: "json-endpoint"
1124
1124
  }, An = /* @__PURE__ */ W({
@@ -1161,8 +1161,8 @@ const ne = {
1161
1161
  });
1162
1162
  return (a, i) => {
1163
1163
  const o = R("KBadge"), l = R("KCodeBlock");
1164
- return f(), O("div", La, [
1165
- t.fetcherUrl ? (f(), O("div", Ua, [
1164
+ return f(), O("div", Ua, [
1165
+ t.fetcherUrl ? (f(), O("div", Ra, [
1166
1166
  T(o, {
1167
1167
  appearance: t.requestMethod
1168
1168
  }, {
@@ -1195,35 +1195,35 @@ const ne = {
1195
1195
  function xn(e) {
1196
1196
  return typeof e > "u" || e === null;
1197
1197
  }
1198
- function Ra(e) {
1198
+ function Va(e) {
1199
1199
  return typeof e == "object" && e !== null;
1200
1200
  }
1201
- function Va(e) {
1201
+ function Da(e) {
1202
1202
  return Array.isArray(e) ? e : xn(e) ? [] : [e];
1203
1203
  }
1204
- function Da(e, t) {
1204
+ function Pa(e, t) {
1205
1205
  var n, r, a, i;
1206
1206
  if (t)
1207
1207
  for (i = Object.keys(t), n = 0, r = i.length; n < r; n += 1)
1208
1208
  a = i[n], e[a] = t[a];
1209
1209
  return e;
1210
1210
  }
1211
- function Pa(e, t) {
1211
+ function za(e, t) {
1212
1212
  var n = "", r;
1213
1213
  for (r = 0; r < t; r += 1)
1214
1214
  n += e;
1215
1215
  return n;
1216
1216
  }
1217
- function za(e) {
1217
+ function Ga(e) {
1218
1218
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1219
1219
  }
1220
- var Ga = xn, Ha = Ra, Ja = Va, Wa = Pa, Za = za, Ya = Da, te = {
1221
- isNothing: Ga,
1222
- isObject: Ha,
1223
- toArray: Ja,
1224
- repeat: Wa,
1225
- isNegativeZero: Za,
1226
- extend: Ya
1220
+ var Ha = xn, Ja = Va, Wa = Da, Za = za, Ya = Ga, Qa = Pa, te = {
1221
+ isNothing: Ha,
1222
+ isObject: Ja,
1223
+ toArray: Wa,
1224
+ repeat: Za,
1225
+ isNegativeZero: Ya,
1226
+ extend: Qa
1227
1227
  };
1228
1228
  function $n(e, t) {
1229
1229
  var n = "", r = e.reason || "(unknown reason)";
@@ -1251,7 +1251,7 @@ function pt(e, t, n, r, a) {
1251
1251
  function ft(e, t) {
1252
1252
  return te.repeat(" ", t - e.length) + e;
1253
1253
  }
1254
- function Qa(e, t) {
1254
+ function Xa(e, t) {
1255
1255
  if (t = Object.create(t || null), !e.buffer)
1256
1256
  return null;
1257
1257
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
@@ -1281,7 +1281,7 @@ function Qa(e, t) {
1281
1281
  `;
1282
1282
  return l.replace(/\n$/, "");
1283
1283
  }
1284
- var Xa = Qa, ei = [
1284
+ var ei = Xa, ti = [
1285
1285
  "kind",
1286
1286
  "multi",
1287
1287
  "resolve",
@@ -1292,12 +1292,12 @@ var Xa = Qa, ei = [
1292
1292
  "representName",
1293
1293
  "defaultStyle",
1294
1294
  "styleAliases"
1295
- ], ti = [
1295
+ ], ni = [
1296
1296
  "scalar",
1297
1297
  "sequence",
1298
1298
  "mapping"
1299
1299
  ];
1300
- function ni(e) {
1300
+ function ri(e) {
1301
1301
  var t = {};
1302
1302
  return e !== null && Object.keys(e).forEach(function(n) {
1303
1303
  e[n].forEach(function(r) {
@@ -1305,18 +1305,18 @@ function ni(e) {
1305
1305
  });
1306
1306
  }), t;
1307
1307
  }
1308
- function ri(e, t) {
1308
+ function ai(e, t) {
1309
1309
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1310
- if (ei.indexOf(n) === -1)
1310
+ if (ti.indexOf(n) === -1)
1311
1311
  throw new se('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1312
1312
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1313
1313
  return !0;
1314
1314
  }, this.construct = t.construct || function(n) {
1315
1315
  return n;
1316
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = ni(t.styleAliases || null), ti.indexOf(this.kind) === -1)
1316
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = ri(t.styleAliases || null), ni.indexOf(this.kind) === -1)
1317
1317
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1318
1318
  }
1319
- var ie = ri;
1319
+ var ie = ai;
1320
1320
  function Yt(e, t) {
1321
1321
  var n = [];
1322
1322
  return e[t].forEach(function(r) {
@@ -1326,7 +1326,7 @@ function Yt(e, t) {
1326
1326
  }), n[a] = r;
1327
1327
  }), n;
1328
1328
  }
1329
- function ai() {
1329
+ function ii() {
1330
1330
  var e = {
1331
1331
  scalar: {},
1332
1332
  sequence: {},
@@ -1371,7 +1371,7 @@ ht.prototype.extend = function(e) {
1371
1371
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1372
1372
  });
1373
1373
  var r = Object.create(ht.prototype);
1374
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Yt(r, "implicit"), r.compiledExplicit = Yt(r, "explicit"), r.compiledTypeMap = ai(r.compiledImplicit, r.compiledExplicit), r;
1374
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Yt(r, "implicit"), r.compiledExplicit = Yt(r, "explicit"), r.compiledTypeMap = ii(r.compiledImplicit, r.compiledExplicit), r;
1375
1375
  };
1376
1376
  var Nn = ht, Tn = new ie("tag:yaml.org,2002:str", {
1377
1377
  kind: "scalar",
@@ -1395,23 +1395,23 @@ var Nn = ht, Tn = new ie("tag:yaml.org,2002:str", {
1395
1395
  On
1396
1396
  ]
1397
1397
  });
1398
- function ii(e) {
1398
+ function oi(e) {
1399
1399
  if (e === null)
1400
1400
  return !0;
1401
1401
  var t = e.length;
1402
1402
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1403
1403
  }
1404
- function oi() {
1404
+ function li() {
1405
1405
  return null;
1406
1406
  }
1407
- function li(e) {
1407
+ function si(e) {
1408
1408
  return e === null;
1409
1409
  }
1410
1410
  var En = new ie("tag:yaml.org,2002:null", {
1411
1411
  kind: "scalar",
1412
- resolve: ii,
1413
- construct: oi,
1414
- predicate: li,
1412
+ resolve: oi,
1413
+ construct: li,
1414
+ predicate: si,
1415
1415
  represent: {
1416
1416
  canonical: function() {
1417
1417
  return "~";
@@ -1431,23 +1431,23 @@ var En = new ie("tag:yaml.org,2002:null", {
1431
1431
  },
1432
1432
  defaultStyle: "lowercase"
1433
1433
  });
1434
- function si(e) {
1434
+ function ui(e) {
1435
1435
  if (e === null)
1436
1436
  return !1;
1437
1437
  var t = e.length;
1438
1438
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1439
1439
  }
1440
- function ui(e) {
1440
+ function ci(e) {
1441
1441
  return e === "true" || e === "True" || e === "TRUE";
1442
1442
  }
1443
- function ci(e) {
1443
+ function di(e) {
1444
1444
  return Object.prototype.toString.call(e) === "[object Boolean]";
1445
1445
  }
1446
1446
  var qn = new ie("tag:yaml.org,2002:bool", {
1447
1447
  kind: "scalar",
1448
- resolve: si,
1449
- construct: ui,
1450
- predicate: ci,
1448
+ resolve: ui,
1449
+ construct: ci,
1450
+ predicate: di,
1451
1451
  represent: {
1452
1452
  lowercase: function(e) {
1453
1453
  return e ? "true" : "false";
@@ -1461,16 +1461,16 @@ var qn = new ie("tag:yaml.org,2002:bool", {
1461
1461
  },
1462
1462
  defaultStyle: "lowercase"
1463
1463
  });
1464
- function di(e) {
1464
+ function pi(e) {
1465
1465
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1466
1466
  }
1467
- function pi(e) {
1467
+ function fi(e) {
1468
1468
  return 48 <= e && e <= 55;
1469
1469
  }
1470
- function fi(e) {
1470
+ function mi(e) {
1471
1471
  return 48 <= e && e <= 57;
1472
1472
  }
1473
- function mi(e) {
1473
+ function gi(e) {
1474
1474
  if (e === null)
1475
1475
  return !1;
1476
1476
  var t = e.length, n = 0, r = !1, a;
@@ -1491,7 +1491,7 @@ function mi(e) {
1491
1491
  if (a === "x") {
1492
1492
  for (n++; n < t; n++)
1493
1493
  if (a = e[n], a !== "_") {
1494
- if (!di(e.charCodeAt(n)))
1494
+ if (!pi(e.charCodeAt(n)))
1495
1495
  return !1;
1496
1496
  r = !0;
1497
1497
  }
@@ -1500,7 +1500,7 @@ function mi(e) {
1500
1500
  if (a === "o") {
1501
1501
  for (n++; n < t; n++)
1502
1502
  if (a = e[n], a !== "_") {
1503
- if (!pi(e.charCodeAt(n)))
1503
+ if (!fi(e.charCodeAt(n)))
1504
1504
  return !1;
1505
1505
  r = !0;
1506
1506
  }
@@ -1511,13 +1511,13 @@ function mi(e) {
1511
1511
  return !1;
1512
1512
  for (; n < t; n++)
1513
1513
  if (a = e[n], a !== "_") {
1514
- if (!fi(e.charCodeAt(n)))
1514
+ if (!mi(e.charCodeAt(n)))
1515
1515
  return !1;
1516
1516
  r = !0;
1517
1517
  }
1518
1518
  return !(!r || a === "_");
1519
1519
  }
1520
- function gi(e) {
1520
+ function yi(e) {
1521
1521
  var t = e, n = 1, r;
1522
1522
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0")
1523
1523
  return 0;
@@ -1531,14 +1531,14 @@ function gi(e) {
1531
1531
  }
1532
1532
  return n * parseInt(t, 10);
1533
1533
  }
1534
- function yi(e) {
1534
+ function hi(e) {
1535
1535
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !te.isNegativeZero(e);
1536
1536
  }
1537
1537
  var Fn = new ie("tag:yaml.org,2002:int", {
1538
1538
  kind: "scalar",
1539
- resolve: mi,
1540
- construct: gi,
1541
- predicate: yi,
1539
+ resolve: gi,
1540
+ construct: yi,
1541
+ predicate: hi,
1542
1542
  represent: {
1543
1543
  binary: function(e) {
1544
1544
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1561,21 +1561,21 @@ var Fn = new ie("tag:yaml.org,2002:int", {
1561
1561
  decimal: [10, "dec"],
1562
1562
  hexadecimal: [16, "hex"]
1563
1563
  }
1564
- }), hi = new RegExp(
1564
+ }), vi = new RegExp(
1565
1565
  // 2.5e4, 2.5 and integers
1566
1566
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1567
1567
  );
1568
- function vi(e) {
1569
- return !(e === null || !hi.test(e) || // Quick hack to not allow integers end with `_`
1568
+ function bi(e) {
1569
+ return !(e === null || !vi.test(e) || // Quick hack to not allow integers end with `_`
1570
1570
  // Probably should update regexp & check speed
1571
1571
  e[e.length - 1] === "_");
1572
1572
  }
1573
- function bi(e) {
1573
+ function Ci(e) {
1574
1574
  var t, n;
1575
1575
  return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
1576
1576
  }
1577
- var Ci = /^[-+]?[0-9]+e/;
1578
- function ki(e, t) {
1577
+ var ki = /^[-+]?[0-9]+e/;
1578
+ function wi(e, t) {
1579
1579
  var n;
1580
1580
  if (isNaN(e))
1581
1581
  switch (t) {
@@ -1606,17 +1606,17 @@ function ki(e, t) {
1606
1606
  }
1607
1607
  else if (te.isNegativeZero(e))
1608
1608
  return "-0.0";
1609
- return n = e.toString(10), Ci.test(n) ? n.replace("e", ".e") : n;
1609
+ return n = e.toString(10), ki.test(n) ? n.replace("e", ".e") : n;
1610
1610
  }
1611
- function wi(e) {
1611
+ function _i(e) {
1612
1612
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || te.isNegativeZero(e));
1613
1613
  }
1614
1614
  var Bn = new ie("tag:yaml.org,2002:float", {
1615
1615
  kind: "scalar",
1616
- resolve: vi,
1617
- construct: bi,
1618
- predicate: wi,
1619
- represent: ki,
1616
+ resolve: bi,
1617
+ construct: Ci,
1618
+ predicate: _i,
1619
+ represent: wi,
1620
1620
  defaultStyle: "lowercase"
1621
1621
  }), Kn = Mn.extend({
1622
1622
  implicit: [
@@ -1633,7 +1633,7 @@ var Bn = new ie("tag:yaml.org,2002:float", {
1633
1633
  function Ii(e) {
1634
1634
  return e === null ? !1 : Un.exec(e) !== null || Rn.exec(e) !== null;
1635
1635
  }
1636
- function _i(e) {
1636
+ function Si(e) {
1637
1637
  var t, n, r, a, i, o, l, s = 0, u = null, d, c, C;
1638
1638
  if (t = Un.exec(e), t === null && (t = Rn.exec(e)), t === null)
1639
1639
  throw new Error("Date resolve error");
@@ -1646,25 +1646,25 @@ function _i(e) {
1646
1646
  }
1647
1647
  return t[9] && (d = +t[10], c = +(t[11] || 0), u = (d * 60 + c) * 6e4, t[9] === "-" && (u = -u)), C = new Date(Date.UTC(n, r, a, i, o, l, s)), u && C.setTime(C.getTime() - u), C;
1648
1648
  }
1649
- function Si(e) {
1649
+ function Ai(e) {
1650
1650
  return e.toISOString();
1651
1651
  }
1652
1652
  var Vn = new ie("tag:yaml.org,2002:timestamp", {
1653
1653
  kind: "scalar",
1654
1654
  resolve: Ii,
1655
- construct: _i,
1655
+ construct: Si,
1656
1656
  instanceOf: Date,
1657
- represent: Si
1657
+ represent: Ai
1658
1658
  });
1659
- function Ai(e) {
1659
+ function xi(e) {
1660
1660
  return e === "<<" || e === null;
1661
1661
  }
1662
1662
  var Dn = new ie("tag:yaml.org,2002:merge", {
1663
1663
  kind: "scalar",
1664
- resolve: Ai
1664
+ resolve: xi
1665
1665
  }), At = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1666
1666
  \r`;
1667
- function xi(e) {
1667
+ function $i(e) {
1668
1668
  if (e === null)
1669
1669
  return !1;
1670
1670
  var t, n, r = 0, a = e.length, i = At;
@@ -1676,37 +1676,37 @@ function xi(e) {
1676
1676
  }
1677
1677
  return r % 8 === 0;
1678
1678
  }
1679
- function $i(e) {
1679
+ function Ni(e) {
1680
1680
  var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, i = At, o = 0, l = [];
1681
1681
  for (t = 0; t < a; t++)
1682
1682
  t % 4 === 0 && t && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | i.indexOf(r.charAt(t));
1683
1683
  return n = a % 4 * 6, n === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : n === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : n === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
1684
1684
  }
1685
- function Ni(e) {
1685
+ function Ti(e) {
1686
1686
  var t = "", n = 0, r, a, i = e.length, o = At;
1687
1687
  for (r = 0; r < i; r++)
1688
1688
  r % 3 === 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
1689
1689
  return a = i % 3, a === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : a === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : a === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
1690
1690
  }
1691
- function Ti(e) {
1691
+ function ji(e) {
1692
1692
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1693
1693
  }
1694
1694
  var Pn = new ie("tag:yaml.org,2002:binary", {
1695
1695
  kind: "scalar",
1696
- resolve: xi,
1697
- construct: $i,
1698
- predicate: Ti,
1699
- represent: Ni
1700
- }), ji = Object.prototype.hasOwnProperty, Oi = Object.prototype.toString;
1701
- function Mi(e) {
1696
+ resolve: $i,
1697
+ construct: Ni,
1698
+ predicate: ji,
1699
+ represent: Ti
1700
+ }), Oi = Object.prototype.hasOwnProperty, Mi = Object.prototype.toString;
1701
+ function Ei(e) {
1702
1702
  if (e === null)
1703
1703
  return !0;
1704
1704
  var t = [], n, r, a, i, o, l = e;
1705
1705
  for (n = 0, r = l.length; n < r; n += 1) {
1706
- if (a = l[n], o = !1, Oi.call(a) !== "[object Object]")
1706
+ if (a = l[n], o = !1, Mi.call(a) !== "[object Object]")
1707
1707
  return !1;
1708
1708
  for (i in a)
1709
- if (ji.call(a, i))
1709
+ if (Oi.call(a, i))
1710
1710
  if (!o)
1711
1711
  o = !0;
1712
1712
  else
@@ -1720,26 +1720,26 @@ function Mi(e) {
1720
1720
  }
1721
1721
  return !0;
1722
1722
  }
1723
- function Ei(e) {
1723
+ function qi(e) {
1724
1724
  return e !== null ? e : [];
1725
1725
  }
1726
1726
  var zn = new ie("tag:yaml.org,2002:omap", {
1727
1727
  kind: "sequence",
1728
- resolve: Mi,
1729
- construct: Ei
1730
- }), qi = Object.prototype.toString;
1731
- function Fi(e) {
1728
+ resolve: Ei,
1729
+ construct: qi
1730
+ }), Fi = Object.prototype.toString;
1731
+ function Bi(e) {
1732
1732
  if (e === null)
1733
1733
  return !0;
1734
1734
  var t, n, r, a, i, o = e;
1735
1735
  for (i = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
1736
- if (r = o[t], qi.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1736
+ if (r = o[t], Fi.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1737
1737
  return !1;
1738
1738
  i[t] = [a[0], r[a[0]]];
1739
1739
  }
1740
1740
  return !0;
1741
1741
  }
1742
- function Bi(e) {
1742
+ function Ki(e) {
1743
1743
  if (e === null)
1744
1744
  return [];
1745
1745
  var t, n, r, a, i, o = e;
@@ -1749,25 +1749,25 @@ function Bi(e) {
1749
1749
  }
1750
1750
  var Gn = new ie("tag:yaml.org,2002:pairs", {
1751
1751
  kind: "sequence",
1752
- resolve: Fi,
1753
- construct: Bi
1754
- }), Ki = Object.prototype.hasOwnProperty;
1755
- function Li(e) {
1752
+ resolve: Bi,
1753
+ construct: Ki
1754
+ }), Li = Object.prototype.hasOwnProperty;
1755
+ function Ui(e) {
1756
1756
  if (e === null)
1757
1757
  return !0;
1758
1758
  var t, n = e;
1759
1759
  for (t in n)
1760
- if (Ki.call(n, t) && n[t] !== null)
1760
+ if (Li.call(n, t) && n[t] !== null)
1761
1761
  return !1;
1762
1762
  return !0;
1763
1763
  }
1764
- function Ui(e) {
1764
+ function Ri(e) {
1765
1765
  return e !== null ? e : {};
1766
1766
  }
1767
1767
  var Hn = new ie("tag:yaml.org,2002:set", {
1768
1768
  kind: "mapping",
1769
- resolve: Li,
1770
- construct: Ui
1769
+ resolve: Ui,
1770
+ construct: Ri
1771
1771
  }), xt = Ln.extend({
1772
1772
  implicit: [
1773
1773
  Vn,
@@ -1779,7 +1779,7 @@ var Hn = new ie("tag:yaml.org,2002:set", {
1779
1779
  Gn,
1780
1780
  Hn
1781
1781
  ]
1782
- }), xe = Object.prototype.hasOwnProperty, Xe = 1, Jn = 2, Wn = 3, et = 4, mt = 1, Ri = 2, Qt = 3, Vi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Di = /[\x85\u2028\u2029]/, Pi = /[,\[\]\{\}]/, Zn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1782
+ }), xe = Object.prototype.hasOwnProperty, Xe = 1, Jn = 2, Wn = 3, et = 4, mt = 1, Vi = 2, Qt = 3, Di = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Pi = /[\x85\u2028\u2029]/, zi = /[,\[\]\{\}]/, Zn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1783
1783
  function Xt(e) {
1784
1784
  return Object.prototype.toString.call(e);
1785
1785
  }
@@ -1795,21 +1795,21 @@ function de(e) {
1795
1795
  function Be(e) {
1796
1796
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1797
1797
  }
1798
- function zi(e) {
1798
+ function Gi(e) {
1799
1799
  var t;
1800
1800
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1801
1801
  }
1802
- function Gi(e) {
1802
+ function Hi(e) {
1803
1803
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1804
1804
  }
1805
- function Hi(e) {
1805
+ function Ji(e) {
1806
1806
  return 48 <= e && e <= 57 ? e - 48 : -1;
1807
1807
  }
1808
1808
  function en(e) {
1809
1809
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1810
1810
  ` : 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" : "";
1811
1811
  }
1812
- function Ji(e) {
1812
+ function Wi(e) {
1813
1813
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1814
1814
  (e - 65536 >> 10) + 55296,
1815
1815
  (e - 65536 & 1023) + 56320
@@ -1818,7 +1818,7 @@ function Ji(e) {
1818
1818
  var Qn = new Array(256), Xn = new Array(256);
1819
1819
  for (var qe = 0; qe < 256; qe++)
1820
1820
  Qn[qe] = en(qe) ? 1 : 0, Xn[qe] = en(qe);
1821
- function Wi(e, t) {
1821
+ function Zi(e, t) {
1822
1822
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || xt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1823
1823
  }
1824
1824
  function er(e, t) {
@@ -1830,7 +1830,7 @@ function er(e, t) {
1830
1830
  line: e.line,
1831
1831
  column: e.position - e.lineStart
1832
1832
  };
1833
- return n.snippet = Xa(n), new se(t, n);
1833
+ return n.snippet = ei(n), new se(t, n);
1834
1834
  }
1835
1835
  function q(e, t) {
1836
1836
  throw er(e, t);
@@ -1861,7 +1861,7 @@ function Se(e, t, n, r) {
1861
1861
  for (a = 0, i = l.length; a < i; a += 1)
1862
1862
  o = l.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || q(e, "expected valid JSON character");
1863
1863
  else
1864
- Vi.test(l) && q(e, "the stream contains non-printable characters");
1864
+ Di.test(l) && q(e, "the stream contains non-printable characters");
1865
1865
  e.result += l;
1866
1866
  }
1867
1867
  }
@@ -1918,7 +1918,7 @@ function Nt(e, t) {
1918
1918
  t === 1 ? e.result += " " : t > 1 && (e.result += te.repeat(`
1919
1919
  `, t - 1));
1920
1920
  }
1921
- function Zi(e, t, n) {
1921
+ function Yi(e, t, n) {
1922
1922
  var r, a, i, o, l, s, u, d, c = e.kind, C = e.result, y;
1923
1923
  if (y = e.input.charCodeAt(e.position), de(y) || Be(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (a = e.input.charCodeAt(e.position + 1), de(a) || n && Be(a)))
1924
1924
  return !1;
@@ -1945,7 +1945,7 @@ function Zi(e, t, n) {
1945
1945
  }
1946
1946
  return Se(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = C, !1);
1947
1947
  }
1948
- function Yi(e, t) {
1948
+ function Qi(e, t) {
1949
1949
  var n, r, a;
1950
1950
  if (n = e.input.charCodeAt(e.position), n !== 39)
1951
1951
  return !1;
@@ -1959,7 +1959,7 @@ function Yi(e, t) {
1959
1959
  he(n) ? (Se(e, r, a, !0), Nt(e, ee(e, !1, t)), r = a = e.position) : e.position === e.lineStart && ot(e) ? q(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1960
1960
  q(e, "unexpected end of the stream within a single quoted scalar");
1961
1961
  }
1962
- function Qi(e, t) {
1962
+ function Xi(e, t) {
1963
1963
  var n, r, a, i, o, l;
1964
1964
  if (l = e.input.charCodeAt(e.position), l !== 34)
1965
1965
  return !1;
@@ -1971,10 +1971,10 @@ function Qi(e, t) {
1971
1971
  ee(e, !1, t);
1972
1972
  else if (l < 256 && Qn[l])
1973
1973
  e.result += Xn[l], e.position++;
1974
- else if ((o = Gi(l)) > 0) {
1974
+ else if ((o = Hi(l)) > 0) {
1975
1975
  for (a = o, i = 0; a > 0; a--)
1976
- l = e.input.charCodeAt(++e.position), (o = zi(l)) >= 0 ? i = (i << 4) + o : q(e, "expected hexadecimal character");
1977
- e.result += Ji(i), e.position++;
1976
+ l = e.input.charCodeAt(++e.position), (o = Gi(l)) >= 0 ? i = (i << 4) + o : q(e, "expected hexadecimal character");
1977
+ e.result += Wi(i), e.position++;
1978
1978
  } else
1979
1979
  q(e, "unknown escape sequence");
1980
1980
  n = r = e.position;
@@ -1983,8 +1983,8 @@ function Qi(e, t) {
1983
1983
  }
1984
1984
  q(e, "unexpected end of the stream within a double quoted scalar");
1985
1985
  }
1986
- function Xi(e, t) {
1987
- var n = !0, r, a, i, o = e.tag, l, s = e.anchor, u, d, c, C, y, I = /* @__PURE__ */ Object.create(null), M, k, U, $;
1986
+ function eo(e, t) {
1987
+ var n = !0, r, a, i, o = e.tag, l, s = e.anchor, u, d, c, C, y, _ = /* @__PURE__ */ Object.create(null), M, k, U, $;
1988
1988
  if ($ = e.input.charCodeAt(e.position), $ === 91)
1989
1989
  d = 93, y = !1, l = [];
1990
1990
  else if ($ === 123)
@@ -1994,11 +1994,11 @@ function Xi(e, t) {
1994
1994
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), $ = e.input.charCodeAt(++e.position); $ !== 0; ) {
1995
1995
  if (ee(e, !0, t), $ = e.input.charCodeAt(e.position), $ === d)
1996
1996
  return e.position++, e.tag = o, e.anchor = s, e.kind = y ? "mapping" : "sequence", e.result = l, !0;
1997
- n ? $ === 44 && q(e, "expected the node content, but found ','") : q(e, "missed comma between flow collection entries"), k = M = U = null, c = C = !1, $ === 63 && (u = e.input.charCodeAt(e.position + 1), de(u) && (c = C = !0, e.position++, ee(e, !0, t))), r = e.line, a = e.lineStart, i = e.position, Le(e, t, Xe, !1, !0), k = e.tag, M = e.result, ee(e, !0, t), $ = e.input.charCodeAt(e.position), (C || e.line === r) && $ === 58 && (c = !0, $ = e.input.charCodeAt(++e.position), ee(e, !0, t), Le(e, t, Xe, !1, !0), U = e.result), y ? Ke(e, l, I, k, M, U, r, a, i) : c ? l.push(Ke(e, null, I, k, M, U, r, a, i)) : l.push(M), ee(e, !0, t), $ = e.input.charCodeAt(e.position), $ === 44 ? (n = !0, $ = e.input.charCodeAt(++e.position)) : n = !1;
1997
+ n ? $ === 44 && q(e, "expected the node content, but found ','") : q(e, "missed comma between flow collection entries"), k = M = U = null, c = C = !1, $ === 63 && (u = e.input.charCodeAt(e.position + 1), de(u) && (c = C = !0, e.position++, ee(e, !0, t))), r = e.line, a = e.lineStart, i = e.position, Le(e, t, Xe, !1, !0), k = e.tag, M = e.result, ee(e, !0, t), $ = e.input.charCodeAt(e.position), (C || e.line === r) && $ === 58 && (c = !0, $ = e.input.charCodeAt(++e.position), ee(e, !0, t), Le(e, t, Xe, !1, !0), U = e.result), y ? Ke(e, l, _, k, M, U, r, a, i) : c ? l.push(Ke(e, null, _, k, M, U, r, a, i)) : l.push(M), ee(e, !0, t), $ = e.input.charCodeAt(e.position), $ === 44 ? (n = !0, $ = e.input.charCodeAt(++e.position)) : n = !1;
1998
1998
  }
1999
1999
  q(e, "unexpected end of the stream within a flow collection");
2000
2000
  }
2001
- function eo(e, t) {
2001
+ function to(e, t) {
2002
2002
  var n, r, a = mt, i = !1, o = !1, l = t, s = 0, u = !1, d, c;
2003
2003
  if (c = e.input.charCodeAt(e.position), c === 124)
2004
2004
  r = !1;
@@ -2008,8 +2008,8 @@ function eo(e, t) {
2008
2008
  return !1;
2009
2009
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2010
2010
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2011
- mt === a ? a = c === 43 ? Qt : Ri : q(e, "repeat of a chomping mode identifier");
2012
- else if ((d = Hi(c)) >= 0)
2011
+ mt === a ? a = c === 43 ? Qt : Vi : q(e, "repeat of a chomping mode identifier");
2012
+ else if ((d = Ji(c)) >= 0)
2013
2013
  d === 0 ? q(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? q(e, "repeat of an indentation width identifier") : (l = t + d - 1, o = !0);
2014
2014
  else
2015
2015
  break;
@@ -2061,13 +2061,13 @@ function rn(e, t) {
2061
2061
  }
2062
2062
  return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
2063
2063
  }
2064
- function to(e, t, n) {
2065
- var r, a, i, o, l, s, u = e.tag, d = e.anchor, c = {}, C = /* @__PURE__ */ Object.create(null), y = null, I = null, M = null, k = !1, U = !1, $;
2064
+ function no(e, t, n) {
2065
+ var r, a, i, o, l, s, u = e.tag, d = e.anchor, c = {}, C = /* @__PURE__ */ Object.create(null), y = null, _ = null, M = null, k = !1, U = !1, $;
2066
2066
  if (e.firstTabInLine !== -1)
2067
2067
  return !1;
2068
2068
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), $ = e.input.charCodeAt(e.position); $ !== 0; ) {
2069
2069
  if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, q(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, ($ === 63 || $ === 58) && de(r))
2070
- $ === 63 ? (k && (Ke(e, c, C, y, I, null, o, l, s), y = I = M = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : q(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, $ = r;
2070
+ $ === 63 ? (k && (Ke(e, c, C, y, _, null, o, l, s), y = _ = M = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : q(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, $ = r;
2071
2071
  else {
2072
2072
  if (o = e.line, l = e.lineStart, s = e.position, !Le(e, n, Jn, !1, !0))
2073
2073
  break;
@@ -2075,7 +2075,7 @@ function to(e, t, n) {
2075
2075
  for ($ = e.input.charCodeAt(e.position); Ne($); )
2076
2076
  $ = e.input.charCodeAt(++e.position);
2077
2077
  if ($ === 58)
2078
- $ = e.input.charCodeAt(++e.position), de($) || q(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (Ke(e, c, C, y, I, null, o, l, s), y = I = M = null), U = !0, k = !1, a = !1, y = e.tag, I = e.result;
2078
+ $ = e.input.charCodeAt(++e.position), de($) || q(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (Ke(e, c, C, y, _, null, o, l, s), y = _ = M = null), U = !0, k = !1, a = !1, y = e.tag, _ = e.result;
2079
2079
  else if (U)
2080
2080
  q(e, "can not read an implicit mapping pair; a colon is missed");
2081
2081
  else
@@ -2085,14 +2085,14 @@ function to(e, t, n) {
2085
2085
  else
2086
2086
  return e.tag = u, e.anchor = d, !0;
2087
2087
  }
2088
- if ((e.line === i || e.lineIndent > t) && (k && (o = e.line, l = e.lineStart, s = e.position), Le(e, t, et, !0, a) && (k ? I = e.result : M = e.result), k || (Ke(e, c, C, y, I, M, o, l, s), y = I = M = null), ee(e, !0, -1), $ = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && $ !== 0)
2088
+ if ((e.line === i || e.lineIndent > t) && (k && (o = e.line, l = e.lineStart, s = e.position), Le(e, t, et, !0, a) && (k ? _ = e.result : M = e.result), k || (Ke(e, c, C, y, _, M, o, l, s), y = _ = M = null), ee(e, !0, -1), $ = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && $ !== 0)
2089
2089
  q(e, "bad indentation of a mapping entry");
2090
2090
  else if (e.lineIndent < t)
2091
2091
  break;
2092
2092
  }
2093
- return k && Ke(e, c, C, y, I, null, o, l, s), U && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), U;
2093
+ return k && Ke(e, c, C, y, _, null, o, l, s), U && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), U;
2094
2094
  }
2095
- function no(e) {
2095
+ function ro(e) {
2096
2096
  var t, n = !1, r = !1, a, i, o;
2097
2097
  if (o = e.input.charCodeAt(e.position), o !== 33)
2098
2098
  return !1;
@@ -2104,7 +2104,7 @@ function no(e) {
2104
2104
  } else {
2105
2105
  for (; o !== 0 && !de(o); )
2106
2106
  o === 33 && (r ? q(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Zn.test(a) || q(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2107
- i = e.input.slice(t, e.position), Pi.test(i) && q(e, "tag suffix cannot contain flow indicator characters");
2107
+ i = e.input.slice(t, e.position), zi.test(i) && q(e, "tag suffix cannot contain flow indicator characters");
2108
2108
  }
2109
2109
  i && !Yn.test(i) && q(e, "tag name cannot contain such characters: " + i);
2110
2110
  try {
@@ -2114,7 +2114,7 @@ function no(e) {
2114
2114
  }
2115
2115
  return n ? e.tag = i : xe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : q(e, 'undeclared tag handle "' + a + '"'), !0;
2116
2116
  }
2117
- function ro(e) {
2117
+ function ao(e) {
2118
2118
  var t, n;
2119
2119
  if (n = e.input.charCodeAt(e.position), n !== 38)
2120
2120
  return !1;
@@ -2122,7 +2122,7 @@ function ro(e) {
2122
2122
  n = e.input.charCodeAt(++e.position);
2123
2123
  return e.position === t && q(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2124
2124
  }
2125
- function ao(e) {
2125
+ function io(e) {
2126
2126
  var t, n, r;
2127
2127
  if (r = e.input.charCodeAt(e.position), r !== 42)
2128
2128
  return !1;
@@ -2131,32 +2131,32 @@ function ao(e) {
2131
2131
  return e.position === t && q(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), xe.call(e.anchorMap, n) || q(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], ee(e, !0, -1), !0;
2132
2132
  }
2133
2133
  function Le(e, t, n, r, a) {
2134
- var i, o, l, s = 1, u = !1, d = !1, c, C, y, I, M, k;
2134
+ var i, o, l, s = 1, u = !1, d = !1, c, C, y, _, M, k;
2135
2135
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = l = et === n || Wn === n, r && ee(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2136
- for (; no(e) || ro(e); )
2136
+ for (; ro(e) || ao(e); )
2137
2137
  ee(e, !0, -1) ? (u = !0, l = i, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2138
- if (l && (l = u || a), (s === 1 || et === n) && (Xe === n || Jn === n ? M = t : M = t + 1, k = e.position - e.lineStart, s === 1 ? l && (rn(e, k) || to(e, k, M)) || Xi(e, M) ? d = !0 : (o && eo(e, M) || Yi(e, M) || Qi(e, M) ? d = !0 : ao(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && q(e, "alias node should not have any properties")) : Zi(e, M, Xe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && rn(e, k))), e.tag === null)
2138
+ if (l && (l = u || a), (s === 1 || et === n) && (Xe === n || Jn === n ? M = t : M = t + 1, k = e.position - e.lineStart, s === 1 ? l && (rn(e, k) || no(e, k, M)) || eo(e, M) ? d = !0 : (o && to(e, M) || Qi(e, M) || Xi(e, M) ? d = !0 : io(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && q(e, "alias node should not have any properties")) : Yi(e, M, Xe === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && rn(e, k))), e.tag === null)
2139
2139
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2140
2140
  else if (e.tag === "?") {
2141
2141
  for (e.result !== null && e.kind !== "scalar" && q(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, C = e.implicitTypes.length; c < C; c += 1)
2142
- if (I = e.implicitTypes[c], I.resolve(e.result)) {
2143
- e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2142
+ if (_ = e.implicitTypes[c], _.resolve(e.result)) {
2143
+ e.result = _.construct(e.result), e.tag = _.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2144
2144
  break;
2145
2145
  }
2146
2146
  } else if (e.tag !== "!") {
2147
2147
  if (xe.call(e.typeMap[e.kind || "fallback"], e.tag))
2148
- I = e.typeMap[e.kind || "fallback"][e.tag];
2148
+ _ = e.typeMap[e.kind || "fallback"][e.tag];
2149
2149
  else
2150
- for (I = null, y = e.typeMap.multi[e.kind || "fallback"], c = 0, C = y.length; c < C; c += 1)
2150
+ for (_ = null, y = e.typeMap.multi[e.kind || "fallback"], c = 0, C = y.length; c < C; c += 1)
2151
2151
  if (e.tag.slice(0, y[c].tag.length) === y[c].tag) {
2152
- I = y[c];
2152
+ _ = y[c];
2153
2153
  break;
2154
2154
  }
2155
- I || q(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && q(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : q(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2155
+ _ || q(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && q(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : q(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2156
2156
  }
2157
2157
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2158
2158
  }
2159
- function io(e) {
2159
+ function oo(e) {
2160
2160
  var t = e.position, n, r, a, i = !1, o;
2161
2161
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2162
2162
  for (i = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !de(o); )
@@ -2178,7 +2178,7 @@ function io(e) {
2178
2178
  }
2179
2179
  o !== 0 && $t(e), xe.call(tn, r) ? tn[r](e, r, a) : tt(e, 'unknown document directive "' + r + '"');
2180
2180
  }
2181
- if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : i && q(e, "directives end mark is expected"), Le(e, e.lineIndent - 1, et, !1, !0), ee(e, !0, -1), e.checkLineBreaks && Di.test(e.input.slice(t, e.position)) && tt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && ot(e)) {
2181
+ if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : i && q(e, "directives end mark is expected"), Le(e, e.lineIndent - 1, et, !1, !0), ee(e, !0, -1), e.checkLineBreaks && Pi.test(e.input.slice(t, e.position)) && tt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && ot(e)) {
2182
2182
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
2183
2183
  return;
2184
2184
  }
@@ -2190,14 +2190,14 @@ function io(e) {
2190
2190
  function tr(e, t) {
2191
2191
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2192
2192
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2193
- var n = new Wi(e, t), r = e.indexOf("\0");
2193
+ var n = new Zi(e, t), r = e.indexOf("\0");
2194
2194
  for (r !== -1 && (n.position = r, q(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2195
2195
  n.lineIndent += 1, n.position += 1;
2196
2196
  for (; n.position < n.length - 1; )
2197
- io(n);
2197
+ oo(n);
2198
2198
  return n.documents;
2199
2199
  }
2200
- function oo(e, t, n) {
2200
+ function lo(e, t, n) {
2201
2201
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2202
2202
  var r = tr(e, n);
2203
2203
  if (typeof t != "function")
@@ -2205,7 +2205,7 @@ function oo(e, t, n) {
2205
2205
  for (var a = 0, i = r.length; a < i; a += 1)
2206
2206
  t(r[a]);
2207
2207
  }
2208
- function lo(e, t) {
2208
+ function so(e, t) {
2209
2209
  var n = tr(e, t);
2210
2210
  if (n.length !== 0) {
2211
2211
  if (n.length === 1)
@@ -2213,10 +2213,10 @@ function lo(e, t) {
2213
2213
  throw new se("expected a single document in the stream, but found more");
2214
2214
  }
2215
2215
  }
2216
- var so = oo, uo = lo, nr = {
2217
- loadAll: so,
2218
- load: uo
2219
- }, rr = Object.prototype.toString, ar = Object.prototype.hasOwnProperty, Tt = 65279, co = 9, Ge = 10, po = 13, fo = 32, mo = 33, go = 34, vt = 35, yo = 37, ho = 38, vo = 39, bo = 42, ir = 44, Co = 45, nt = 58, ko = 61, wo = 62, Io = 63, _o = 64, or = 91, lr = 93, So = 96, sr = 123, Ao = 124, ur = 125, le = {};
2216
+ var uo = lo, co = so, nr = {
2217
+ loadAll: uo,
2218
+ load: co
2219
+ }, rr = Object.prototype.toString, ar = Object.prototype.hasOwnProperty, Tt = 65279, po = 9, Ge = 10, fo = 13, mo = 32, go = 33, yo = 34, vt = 35, ho = 37, vo = 38, bo = 39, Co = 42, ir = 44, ko = 45, nt = 58, wo = 61, _o = 62, Io = 63, So = 64, or = 91, lr = 93, Ao = 96, sr = 123, xo = 124, ur = 125, le = {};
2220
2220
  le[0] = "\\0";
2221
2221
  le[7] = "\\a";
2222
2222
  le[8] = "\\b";
@@ -2232,7 +2232,7 @@ le[133] = "\\N";
2232
2232
  le[160] = "\\_";
2233
2233
  le[8232] = "\\L";
2234
2234
  le[8233] = "\\P";
2235
- var xo = [
2235
+ var $o = [
2236
2236
  "y",
2237
2237
  "Y",
2238
2238
  "yes",
@@ -2249,8 +2249,8 @@ var xo = [
2249
2249
  "off",
2250
2250
  "Off",
2251
2251
  "OFF"
2252
- ], $o = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2253
- function No(e, t) {
2252
+ ], No = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2253
+ function To(e, t) {
2254
2254
  var n, r, a, i, o, l, s;
2255
2255
  if (t === null)
2256
2256
  return {};
@@ -2258,7 +2258,7 @@ function No(e, t) {
2258
2258
  o = r[a], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && ar.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[o] = l;
2259
2259
  return n;
2260
2260
  }
2261
- function To(e) {
2261
+ function jo(e) {
2262
2262
  var t, n, r;
2263
2263
  if (t = e.toString(16).toUpperCase(), e <= 255)
2264
2264
  n = "x", r = 2;
@@ -2270,9 +2270,9 @@ function To(e) {
2270
2270
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2271
2271
  return "\\" + n + te.repeat("0", r - t.length) + t;
2272
2272
  }
2273
- var jo = 1, He = 2;
2274
- function Oo(e) {
2275
- this.schema = e.schema || xt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = No(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 === '"' ? He : jo, 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;
2273
+ var Oo = 1, He = 2;
2274
+ function Mo(e) {
2275
+ this.schema = e.schema || xt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = te.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = To(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 === '"' ? He : Oo, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2276
2276
  }
2277
2277
  function an(e, t) {
2278
2278
  for (var n = te.repeat(" ", t), r = 0, a = -1, i = "", o, l = e.length; r < l; )
@@ -2285,7 +2285,7 @@ function bt(e, t) {
2285
2285
  return `
2286
2286
  ` + te.repeat(" ", e.indent * t);
2287
2287
  }
2288
- function Mo(e, t) {
2288
+ function Eo(e, t) {
2289
2289
  var n, r, a;
2290
2290
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2291
2291
  if (a = e.implicitTypes[n], a.resolve(t))
@@ -2293,13 +2293,13 @@ function Mo(e, t) {
2293
2293
  return !1;
2294
2294
  }
2295
2295
  function rt(e) {
2296
- return e === fo || e === co;
2296
+ return e === mo || e === po;
2297
2297
  }
2298
2298
  function Je(e) {
2299
2299
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Tt || 65536 <= e && e <= 1114111;
2300
2300
  }
2301
2301
  function on(e) {
2302
- return Je(e) && e !== Tt && e !== po && e !== Ge;
2302
+ return Je(e) && e !== Tt && e !== fo && e !== Ge;
2303
2303
  }
2304
2304
  function ln(e, t, n) {
2305
2305
  var r = on(e), a = r && !rt(e);
@@ -2311,10 +2311,10 @@ function ln(e, t, n) {
2311
2311
  ) : r && e !== ir && e !== or && e !== lr && e !== sr && e !== ur) && e !== vt && !(t === nt && !a) || on(t) && !rt(t) && e === vt || t === nt && a
2312
2312
  );
2313
2313
  }
2314
- function Eo(e) {
2315
- return Je(e) && e !== Tt && !rt(e) && e !== Co && e !== Io && e !== nt && e !== ir && e !== or && e !== lr && e !== sr && e !== ur && e !== vt && e !== ho && e !== bo && e !== mo && e !== Ao && e !== ko && e !== wo && e !== vo && e !== go && e !== yo && e !== _o && e !== So;
2316
- }
2317
2314
  function qo(e) {
2315
+ return Je(e) && e !== Tt && !rt(e) && e !== ko && e !== Io && e !== nt && e !== ir && e !== or && e !== lr && e !== sr && e !== ur && e !== vt && e !== vo && e !== Co && e !== go && e !== xo && e !== wo && e !== _o && e !== bo && e !== yo && e !== ho && e !== So && e !== Ao;
2316
+ }
2317
+ function Fo(e) {
2318
2318
  return !rt(e) && e !== nt;
2319
2319
  }
2320
2320
  function Pe(e, t) {
@@ -2326,8 +2326,8 @@ function cr(e) {
2326
2326
  return t.test(e);
2327
2327
  }
2328
2328
  var dr = 1, Ct = 2, pr = 3, fr = 4, Fe = 5;
2329
- function Fo(e, t, n, r, a, i, o, l) {
2330
- var s, u = 0, d = null, c = !1, C = !1, y = r !== -1, I = -1, M = Eo(Pe(e, 0)) && qo(Pe(e, e.length - 1));
2329
+ function Bo(e, t, n, r, a, i, o, l) {
2330
+ var s, u = 0, d = null, c = !1, C = !1, y = r !== -1, _ = -1, M = qo(Pe(e, 0)) && Fo(Pe(e, e.length - 1));
2331
2331
  if (t || o)
2332
2332
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2333
2333
  if (u = Pe(e, s), !Je(u))
@@ -2338,26 +2338,26 @@ function Fo(e, t, n, r, a, i, o, l) {
2338
2338
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2339
2339
  if (u = Pe(e, s), u === Ge)
2340
2340
  c = !0, y && (C = C || // Foldable line = too long, and not more-indented.
2341
- s - I - 1 > r && e[I + 1] !== " ", I = s);
2341
+ s - _ - 1 > r && e[_ + 1] !== " ", _ = s);
2342
2342
  else if (!Je(u))
2343
2343
  return Fe;
2344
2344
  M = M && ln(u, d, l), d = u;
2345
2345
  }
2346
- C = C || y && s - I - 1 > r && e[I + 1] !== " ";
2346
+ C = C || y && s - _ - 1 > r && e[_ + 1] !== " ";
2347
2347
  }
2348
2348
  return !c && !C ? M && !o && !a(e) ? dr : i === He ? Fe : Ct : n > 9 && cr(e) ? Fe : o ? i === He ? Fe : Ct : C ? fr : pr;
2349
2349
  }
2350
- function Bo(e, t, n, r, a) {
2350
+ function Ko(e, t, n, r, a) {
2351
2351
  e.dump = function() {
2352
2352
  if (t.length === 0)
2353
2353
  return e.quotingType === He ? '""' : "''";
2354
- if (!e.noCompatMode && (xo.indexOf(t) !== -1 || $o.test(t)))
2354
+ if (!e.noCompatMode && ($o.indexOf(t) !== -1 || No.test(t)))
2355
2355
  return e.quotingType === He ? '"' + t + '"' : "'" + t + "'";
2356
2356
  var i = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2357
2357
  function s(u) {
2358
- return Mo(e, u);
2358
+ return Eo(e, u);
2359
2359
  }
2360
- switch (Fo(
2360
+ switch (Bo(
2361
2361
  t,
2362
2362
  l,
2363
2363
  e.indent,
@@ -2374,9 +2374,9 @@ function Bo(e, t, n, r, a) {
2374
2374
  case pr:
2375
2375
  return "|" + sn(t, e.indent) + un(an(t, i));
2376
2376
  case fr:
2377
- return ">" + sn(t, e.indent) + un(an(Ko(t, o), i));
2377
+ return ">" + sn(t, e.indent) + un(an(Lo(t, o), i));
2378
2378
  case Fe:
2379
- return '"' + Lo(t) + '"';
2379
+ return '"' + Uo(t) + '"';
2380
2380
  default:
2381
2381
  throw new se("impossible error: invalid scalar style");
2382
2382
  }
@@ -2394,7 +2394,7 @@ function un(e) {
2394
2394
  return e[e.length - 1] === `
2395
2395
  ` ? e.slice(0, -1) : e;
2396
2396
  }
2397
- function Ko(e, t) {
2397
+ function Lo(e, t) {
2398
2398
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2399
2399
  var u = e.indexOf(`
2400
2400
  `);
@@ -2417,30 +2417,30 @@ function cn(e, t) {
2417
2417
  `, e.length - a > t && o > a ? s += e.slice(a, o) + `
2418
2418
  ` + e.slice(o + 1) : s += e.slice(a), s.slice(1);
2419
2419
  }
2420
- function Lo(e) {
2420
+ function Uo(e) {
2421
2421
  for (var t = "", n = 0, r, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
2422
- n = Pe(e, a), r = le[n], !r && Je(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || To(n);
2422
+ n = Pe(e, a), r = le[n], !r && Je(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || jo(n);
2423
2423
  return t;
2424
2424
  }
2425
- function Uo(e, t, n) {
2425
+ function Ro(e, t, n) {
2426
2426
  var r = "", a = e.tag, i, o, l;
2427
2427
  for (i = 0, o = n.length; i < o; i += 1)
2428
- l = n[i], e.replacer && (l = e.replacer.call(n, String(i), l)), (we(e, t, l, !1, !1) || typeof l > "u" && we(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2428
+ l = n[i], e.replacer && (l = e.replacer.call(n, String(i), l)), (ke(e, t, l, !1, !1) || typeof l > "u" && ke(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2429
2429
  e.tag = a, e.dump = "[" + r + "]";
2430
2430
  }
2431
2431
  function dn(e, t, n, r) {
2432
2432
  var a = "", i = e.tag, o, l, s;
2433
2433
  for (o = 0, l = n.length; o < l; o += 1)
2434
- s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (we(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && we(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += bt(e, t)), e.dump && Ge === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2434
+ s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (ke(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ke(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += bt(e, t)), e.dump && Ge === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2435
2435
  e.tag = i, e.dump = a || "[]";
2436
2436
  }
2437
- function Ro(e, t, n) {
2437
+ function Vo(e, t, n) {
2438
2438
  var r = "", a = e.tag, i = Object.keys(n), o, l, s, u, d;
2439
2439
  for (o = 0, l = i.length; o < l; o += 1)
2440
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = i[o], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), we(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), we(e, t, u, !1, !1) && (d += e.dump, r += d));
2440
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = i[o], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), ke(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ke(e, t, u, !1, !1) && (d += e.dump, r += d));
2441
2441
  e.tag = a, e.dump = "{" + r + "}";
2442
2442
  }
2443
- function Vo(e, t, n, r) {
2443
+ function Do(e, t, n, r) {
2444
2444
  var a = "", i = e.tag, o = Object.keys(n), l, s, u, d, c, C;
2445
2445
  if (e.sortKeys === !0)
2446
2446
  o.sort();
@@ -2449,7 +2449,7 @@ function Vo(e, t, n, r) {
2449
2449
  else if (e.sortKeys)
2450
2450
  throw new se("sortKeys must be a boolean or a function");
2451
2451
  for (l = 0, s = o.length; l < s; l += 1)
2452
- C = "", (!r || a !== "") && (C += bt(e, t)), u = o[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), we(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ge === e.dump.charCodeAt(0) ? C += "?" : C += "? "), C += e.dump, c && (C += bt(e, t)), we(e, t + 1, d, !0, c) && (e.dump && Ge === e.dump.charCodeAt(0) ? C += ":" : C += ": ", C += e.dump, a += C));
2452
+ C = "", (!r || a !== "") && (C += bt(e, t)), u = o[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), ke(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ge === e.dump.charCodeAt(0) ? C += "?" : C += "? "), C += e.dump, c && (C += bt(e, t)), ke(e, t + 1, d, !0, c) && (e.dump && Ge === e.dump.charCodeAt(0) ? C += ":" : C += ": ", C += e.dump, a += C));
2453
2453
  e.tag = i, e.dump = a || "{}";
2454
2454
  }
2455
2455
  function pn(e, t, n) {
@@ -2469,7 +2469,7 @@ function pn(e, t, n) {
2469
2469
  }
2470
2470
  return !1;
2471
2471
  }
2472
- function we(e, t, n, r, a, i, o) {
2472
+ function ke(e, t, n, r, a, i, o) {
2473
2473
  e.tag = null, e.dump = n, pn(e, n, !1) || pn(e, n, !0);
2474
2474
  var l = rr.call(e.dump), s = r, u;
2475
2475
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
@@ -2478,11 +2478,11 @@ function we(e, t, n, r, a, i, o) {
2478
2478
  e.dump = "*ref_" + c;
2479
2479
  else {
2480
2480
  if (d && C && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
2481
- r && Object.keys(e.dump).length !== 0 ? (Vo(e, t, e.dump, a), C && (e.dump = "&ref_" + c + e.dump)) : (Ro(e, t, e.dump), C && (e.dump = "&ref_" + c + " " + e.dump));
2481
+ r && Object.keys(e.dump).length !== 0 ? (Do(e, t, e.dump, a), C && (e.dump = "&ref_" + c + e.dump)) : (Vo(e, t, e.dump), C && (e.dump = "&ref_" + c + " " + e.dump));
2482
2482
  else if (l === "[object Array]")
2483
- r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? dn(e, t - 1, e.dump, a) : dn(e, t, e.dump, a), C && (e.dump = "&ref_" + c + e.dump)) : (Uo(e, t, e.dump), C && (e.dump = "&ref_" + c + " " + e.dump));
2483
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? dn(e, t - 1, e.dump, a) : dn(e, t, e.dump, a), C && (e.dump = "&ref_" + c + e.dump)) : (Ro(e, t, e.dump), C && (e.dump = "&ref_" + c + " " + e.dump));
2484
2484
  else if (l === "[object String]")
2485
- e.tag !== "?" && Bo(e, e.dump, t, i, s);
2485
+ e.tag !== "?" && Ko(e, e.dump, t, i, s);
2486
2486
  else {
2487
2487
  if (l === "[object Undefined]" || e.skipInvalid)
2488
2488
  return !1;
@@ -2494,7 +2494,7 @@ function we(e, t, n, r, a, i, o) {
2494
2494
  }
2495
2495
  return !0;
2496
2496
  }
2497
- function Do(e, t) {
2497
+ function Po(e, t) {
2498
2498
  var n = [], r = [], a, i;
2499
2499
  for (kt(e, n, r), a = 0, i = r.length; a < i; a += 1)
2500
2500
  t.duplicates.push(n[r[a]]);
@@ -2512,23 +2512,23 @@ function kt(e, t, n) {
2512
2512
  for (r = Object.keys(e), a = 0, i = r.length; a < i; a += 1)
2513
2513
  kt(e[r[a]], t, n);
2514
2514
  }
2515
- function Po(e, t) {
2515
+ function zo(e, t) {
2516
2516
  t = t || {};
2517
- var n = new Oo(t);
2518
- n.noRefs || Do(e, n);
2517
+ var n = new Mo(t);
2518
+ n.noRefs || Po(e, n);
2519
2519
  var r = e;
2520
- return n.replacer && (r = n.replacer.call({ "": r }, "", r)), we(n, 0, r, !0, !0) ? n.dump + `
2520
+ return n.replacer && (r = n.replacer.call({ "": r }, "", r)), ke(n, 0, r, !0, !0) ? n.dump + `
2521
2521
  ` : "";
2522
2522
  }
2523
- var zo = Po, Go = {
2524
- dump: zo
2523
+ var Go = zo, Ho = {
2524
+ dump: Go
2525
2525
  };
2526
2526
  function jt(e, t) {
2527
2527
  return function() {
2528
2528
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2529
2529
  };
2530
2530
  }
2531
- var Ho = ie, Jo = Nn, Wo = Mn, Zo = Kn, Yo = Ln, Qo = xt, Xo = nr.load, el = nr.loadAll, tl = Go.dump, nl = se, rl = {
2531
+ var Jo = ie, Wo = Nn, Zo = Mn, Yo = Kn, Qo = Ln, Xo = xt, el = nr.load, tl = nr.loadAll, nl = Ho.dump, rl = se, al = {
2532
2532
  binary: Pn,
2533
2533
  float: Bn,
2534
2534
  map: On,
@@ -2542,23 +2542,23 @@ var Ho = ie, Jo = Nn, Wo = Mn, Zo = Kn, Yo = Ln, Qo = xt, Xo = nr.load, el = nr.
2542
2542
  omap: zn,
2543
2543
  seq: jn,
2544
2544
  str: Tn
2545
- }, al = jt("safeLoad", "load"), il = jt("safeLoadAll", "loadAll"), ol = jt("safeDump", "dump"), ll = {
2546
- Type: Ho,
2547
- Schema: Jo,
2548
- FAILSAFE_SCHEMA: Wo,
2549
- JSON_SCHEMA: Zo,
2550
- CORE_SCHEMA: Yo,
2551
- DEFAULT_SCHEMA: Qo,
2552
- load: Xo,
2553
- loadAll: el,
2554
- dump: tl,
2555
- YAMLException: nl,
2556
- types: rl,
2557
- safeLoad: al,
2558
- safeLoadAll: il,
2559
- safeDump: ol
2545
+ }, il = jt("safeLoad", "load"), ol = jt("safeLoadAll", "loadAll"), ll = jt("safeDump", "dump"), sl = {
2546
+ Type: Jo,
2547
+ Schema: Wo,
2548
+ FAILSAFE_SCHEMA: Zo,
2549
+ JSON_SCHEMA: Yo,
2550
+ CORE_SCHEMA: Qo,
2551
+ DEFAULT_SCHEMA: Xo,
2552
+ load: el,
2553
+ loadAll: tl,
2554
+ dump: nl,
2555
+ YAMLException: rl,
2556
+ types: al,
2557
+ safeLoad: il,
2558
+ safeLoadAll: ol,
2559
+ safeDump: ll
2560
2560
  };
2561
- const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2561
+ const ul = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2562
2562
  __name: "YamlCodeBlock",
2563
2563
  props: {
2564
2564
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2570,11 +2570,11 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2570
2570
  setup(e) {
2571
2571
  const t = e, n = w(() => {
2572
2572
  const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, a]) => a !== null && a !== "" && (Array.isArray(a) ? a.length !== 0 : !0)));
2573
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : ll.dump(r).trim();
2573
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : sl.dump(r).trim();
2574
2574
  });
2575
2575
  return (r, a) => {
2576
2576
  const i = R("KCodeBlock");
2577
- return f(), O("div", sl, [
2577
+ return f(), O("div", ul, [
2578
2578
  t.yamlRecord ? (f(), V(i, {
2579
2579
  key: 0,
2580
2580
  id: "yaml-codeblock",
@@ -2585,13 +2585,13 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2585
2585
  ]);
2586
2586
  };
2587
2587
  }
2588
- }), ul = {
2588
+ }), cl = {
2589
2589
  key: 0,
2590
2590
  class: "config-card-display-form"
2591
- }, cl = ["data-testid"], dl = {
2591
+ }, dl = ["data-testid"], pl = {
2592
2592
  key: 0,
2593
2593
  class: "config-card-prop-section-title"
2594
- }, pl = /* @__PURE__ */ W({
2594
+ }, fl = /* @__PURE__ */ W({
2595
2595
  __name: "ConfigCardDisplay",
2596
2596
  props: {
2597
2597
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2630,20 +2630,20 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2630
2630
  }
2631
2631
  },
2632
2632
  setup(e) {
2633
- const t = e, n = It(), { i18n: { t: r } } = ne.useI18n(), a = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), i = w(() => {
2633
+ const t = e, n = _t(), { i18n: { t: r } } = ne.useI18n(), a = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), i = w(() => {
2634
2634
  if (!t.record)
2635
2635
  return t.record;
2636
2636
  const o = JSON.parse(JSON.stringify(t.record));
2637
2637
  return delete o.created_at, delete o.updated_at, o;
2638
2638
  });
2639
2639
  return (o, l) => (f(), O(fe, null, [
2640
- e.format === "structured" ? (f(), O("div", ul, [
2640
+ e.format === "structured" ? (f(), O("div", cl, [
2641
2641
  (f(!0), O(fe, null, pe(e.propListTypes, (s) => (f(), O("div", {
2642
2642
  key: `config-card-details-${s}-props`,
2643
2643
  class: Ae(`config-card-details-${s}-props`),
2644
2644
  "data-testid": `config-card-details-${s}-props`
2645
2645
  }, [
2646
- s !== "basic" ? (f(), O("div", dl, j(s === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : P("", !0),
2646
+ s !== "basic" ? (f(), O("div", pl, j(s === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : P("", !0),
2647
2647
  (f(!0), O(fe, null, pe(e.propertyCollections[s], (u) => (f(), V(Sn, {
2648
2648
  key: u.key,
2649
2649
  item: u
@@ -2667,7 +2667,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2667
2667
  key: "0"
2668
2668
  } : void 0
2669
2669
  ]), 1032, ["item"]))), 128))
2670
- ], 10, cl))), 128))
2670
+ ], 10, dl))), 128))
2671
2671
  ])) : P("", !0),
2672
2672
  e.format === "json" && t.record ? (f(), V(An, {
2673
2673
  key: 1,
@@ -2682,18 +2682,18 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2682
2682
  }, null, 8, ["yaml-record"])) : P("", !0)
2683
2683
  ], 64));
2684
2684
  }
2685
- }), fl = /* @__PURE__ */ me(pl, [["__scopeId", "data-v-147a2f70"]]), ve = "24px", We = (e, t) => {
2685
+ }), ml = /* @__PURE__ */ me(fl, [["__scopeId", "data-v-147a2f70"]]), ve = "24px", We = (e, t) => {
2686
2686
  const n = e.__vccOpts || e;
2687
2687
  for (const [r, a] of t)
2688
2688
  n[r] = a;
2689
2689
  return n;
2690
- }, ml = (e) => (Re("data-v-1d2a8d30"), e = e(), Ve(), e), gl = ["aria-hidden"], yl = {
2690
+ }, gl = (e) => (Re("data-v-1d2a8d30"), e = e(), Ve(), e), yl = ["aria-hidden"], hl = {
2691
2691
  key: 0,
2692
2692
  "data-testid": "kui-icon-svg-title"
2693
- }, hl = /* @__PURE__ */ ml(() => /* @__PURE__ */ F("path", {
2693
+ }, vl = /* @__PURE__ */ gl(() => /* @__PURE__ */ F("path", {
2694
2694
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2695
2695
  fill: "currentColor"
2696
- }, null, -1)), vl = /* @__PURE__ */ W({
2696
+ }, null, -1)), bl = /* @__PURE__ */ W({
2697
2697
  __name: "AddIcon",
2698
2698
  props: {
2699
2699
  /** The accessibility text provided to screen readers */
@@ -2762,7 +2762,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2762
2762
  lineHeight: "0",
2763
2763
  width: n.value
2764
2764
  }));
2765
- return (a, i) => (f(), V(be(e.as), {
2765
+ return (a, i) => (f(), V(we(e.as), {
2766
2766
  "aria-hidden": e.decorative ? "true" : void 0,
2767
2767
  class: "kui-icon add-icon",
2768
2768
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -2779,20 +2779,20 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2779
2779
  width: "100%",
2780
2780
  xmlns: "http://www.w3.org/2000/svg"
2781
2781
  }, [
2782
- e.title ? (f(), O("title", yl, j(e.title), 1)) : P("", !0),
2783
- hl
2784
- ], 8, gl))
2782
+ e.title ? (f(), O("title", hl, j(e.title), 1)) : P("", !0),
2783
+ vl
2784
+ ], 8, yl))
2785
2785
  ]),
2786
2786
  _: 1
2787
2787
  }, 8, ["aria-hidden", "style"]));
2788
2788
  }
2789
- }), bl = /* @__PURE__ */ We(vl, [["__scopeId", "data-v-1d2a8d30"]]), Cl = (e) => (Re("data-v-929b4762"), e = e(), Ve(), e), kl = ["aria-hidden"], wl = {
2789
+ }), Cl = /* @__PURE__ */ We(bl, [["__scopeId", "data-v-1d2a8d30"]]), kl = (e) => (Re("data-v-929b4762"), e = e(), Ve(), e), wl = ["aria-hidden"], _l = {
2790
2790
  key: 0,
2791
2791
  "data-testid": "kui-icon-svg-title"
2792
- }, Il = /* @__PURE__ */ Cl(() => /* @__PURE__ */ F("path", {
2792
+ }, Il = /* @__PURE__ */ kl(() => /* @__PURE__ */ F("path", {
2793
2793
  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",
2794
2794
  fill: "currentColor"
2795
- }, null, -1)), _l = /* @__PURE__ */ W({
2795
+ }, null, -1)), Sl = /* @__PURE__ */ W({
2796
2796
  __name: "BookIcon",
2797
2797
  props: {
2798
2798
  /** The accessibility text provided to screen readers */
@@ -2861,7 +2861,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2861
2861
  lineHeight: "0",
2862
2862
  width: n.value
2863
2863
  }));
2864
- return (a, i) => (f(), V(be(e.as), {
2864
+ return (a, i) => (f(), V(we(e.as), {
2865
2865
  "aria-hidden": e.decorative ? "true" : void 0,
2866
2866
  class: "kui-icon book-icon",
2867
2867
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2878,20 +2878,20 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2878
2878
  width: "100%",
2879
2879
  xmlns: "http://www.w3.org/2000/svg"
2880
2880
  }, [
2881
- e.title ? (f(), O("title", wl, j(e.title), 1)) : P("", !0),
2881
+ e.title ? (f(), O("title", _l, j(e.title), 1)) : P("", !0),
2882
2882
  Il
2883
- ], 8, kl))
2883
+ ], 8, wl))
2884
2884
  ]),
2885
2885
  _: 1
2886
2886
  }, 8, ["aria-hidden", "style"]));
2887
2887
  }
2888
- }), Sl = /* @__PURE__ */ We(_l, [["__scopeId", "data-v-929b4762"]]), Al = (e) => (Re("data-v-219f8484"), e = e(), Ve(), e), xl = ["aria-hidden"], $l = {
2888
+ }), Al = /* @__PURE__ */ We(Sl, [["__scopeId", "data-v-929b4762"]]), xl = (e) => (Re("data-v-219f8484"), e = e(), Ve(), e), $l = ["aria-hidden"], Nl = {
2889
2889
  key: 0,
2890
2890
  "data-testid": "kui-icon-svg-title"
2891
- }, Nl = /* @__PURE__ */ Al(() => /* @__PURE__ */ F("path", {
2891
+ }, Tl = /* @__PURE__ */ xl(() => /* @__PURE__ */ F("path", {
2892
2892
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2893
2893
  fill: "currentColor"
2894
- }, null, -1)), Tl = /* @__PURE__ */ W({
2894
+ }, null, -1)), jl = /* @__PURE__ */ W({
2895
2895
  __name: "ChevronDownIcon",
2896
2896
  props: {
2897
2897
  /** The accessibility text provided to screen readers */
@@ -2960,7 +2960,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2960
2960
  lineHeight: "0",
2961
2961
  width: n.value
2962
2962
  }));
2963
- return (a, i) => (f(), V(be(e.as), {
2963
+ return (a, i) => (f(), V(we(e.as), {
2964
2964
  "aria-hidden": e.decorative ? "true" : void 0,
2965
2965
  class: "kui-icon chevron-down-icon",
2966
2966
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
@@ -2977,20 +2977,20 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
2977
2977
  width: "100%",
2978
2978
  xmlns: "http://www.w3.org/2000/svg"
2979
2979
  }, [
2980
- e.title ? (f(), O("title", $l, j(e.title), 1)) : P("", !0),
2981
- Nl
2982
- ], 8, xl))
2980
+ e.title ? (f(), O("title", Nl, j(e.title), 1)) : P("", !0),
2981
+ Tl
2982
+ ], 8, $l))
2983
2983
  ]),
2984
2984
  _: 1
2985
2985
  }, 8, ["aria-hidden", "style"]));
2986
2986
  }
2987
- }), jl = /* @__PURE__ */ We(Tl, [["__scopeId", "data-v-219f8484"]]), Ol = (e) => (Re("data-v-ed11facd"), e = e(), Ve(), e), Ml = ["aria-hidden"], El = {
2987
+ }), Ol = /* @__PURE__ */ We(jl, [["__scopeId", "data-v-219f8484"]]), Ml = (e) => (Re("data-v-ed11facd"), e = e(), Ve(), e), El = ["aria-hidden"], ql = {
2988
2988
  key: 0,
2989
2989
  "data-testid": "kui-icon-svg-title"
2990
- }, ql = /* @__PURE__ */ Ol(() => /* @__PURE__ */ F("path", {
2990
+ }, Fl = /* @__PURE__ */ Ml(() => /* @__PURE__ */ F("path", {
2991
2991
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2992
2992
  fill: "currentColor"
2993
- }, null, -1)), Fl = /* @__PURE__ */ W({
2993
+ }, null, -1)), Bl = /* @__PURE__ */ W({
2994
2994
  __name: "CloseIcon",
2995
2995
  props: {
2996
2996
  /** The accessibility text provided to screen readers */
@@ -3059,7 +3059,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3059
3059
  lineHeight: "0",
3060
3060
  width: n.value
3061
3061
  }));
3062
- return (a, i) => (f(), V(be(e.as), {
3062
+ return (a, i) => (f(), V(we(e.as), {
3063
3063
  "aria-hidden": e.decorative ? "true" : void 0,
3064
3064
  class: "kui-icon close-icon",
3065
3065
  "data-testid": "kui-icon-wrapper-close-icon",
@@ -3076,20 +3076,20 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3076
3076
  width: "100%",
3077
3077
  xmlns: "http://www.w3.org/2000/svg"
3078
3078
  }, [
3079
- e.title ? (f(), O("title", El, j(e.title), 1)) : P("", !0),
3080
- ql
3081
- ], 8, Ml))
3079
+ e.title ? (f(), O("title", ql, j(e.title), 1)) : P("", !0),
3080
+ Fl
3081
+ ], 8, El))
3082
3082
  ]),
3083
3083
  _: 1
3084
3084
  }, 8, ["aria-hidden", "style"]));
3085
3085
  }
3086
- }), Bl = /* @__PURE__ */ We(Fl, [["__scopeId", "data-v-ed11facd"]]), Kl = (e) => (Re("data-v-cf4e7d0b"), e = e(), Ve(), e), Ll = ["aria-hidden"], Ul = {
3086
+ }), Kl = /* @__PURE__ */ We(Bl, [["__scopeId", "data-v-ed11facd"]]), Ll = (e) => (Re("data-v-cf4e7d0b"), e = e(), Ve(), e), Ul = ["aria-hidden"], Rl = {
3087
3087
  key: 0,
3088
3088
  "data-testid": "kui-icon-svg-title"
3089
- }, Rl = /* @__PURE__ */ Kl(() => /* @__PURE__ */ F("path", {
3089
+ }, Vl = /* @__PURE__ */ Ll(() => /* @__PURE__ */ F("path", {
3090
3090
  d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
3091
3091
  fill: "currentColor"
3092
- }, null, -1)), Vl = /* @__PURE__ */ W({
3092
+ }, null, -1)), Dl = /* @__PURE__ */ W({
3093
3093
  __name: "MoreIcon",
3094
3094
  props: {
3095
3095
  /** The accessibility text provided to screen readers */
@@ -3158,7 +3158,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3158
3158
  lineHeight: "0",
3159
3159
  width: n.value
3160
3160
  }));
3161
- return (a, i) => (f(), V(be(e.as), {
3161
+ return (a, i) => (f(), V(we(e.as), {
3162
3162
  "aria-hidden": e.decorative ? "true" : void 0,
3163
3163
  class: "kui-icon more-icon",
3164
3164
  "data-testid": "kui-icon-wrapper-more-icon",
@@ -3175,17 +3175,17 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3175
3175
  width: "100%",
3176
3176
  xmlns: "http://www.w3.org/2000/svg"
3177
3177
  }, [
3178
- e.title ? (f(), O("title", Ul, j(e.title), 1)) : P("", !0),
3179
- Rl
3180
- ], 8, Ll))
3178
+ e.title ? (f(), O("title", Rl, j(e.title), 1)) : P("", !0),
3179
+ Vl
3180
+ ], 8, Ul))
3181
3181
  ]),
3182
3182
  _: 1
3183
3183
  }, 8, ["aria-hidden", "style"]));
3184
3184
  }
3185
- }), Dl = /* @__PURE__ */ We(Vl, [["__scopeId", "data-v-cf4e7d0b"]]), Pl = {
3185
+ }), Pl = /* @__PURE__ */ We(Dl, [["__scopeId", "data-v-cf4e7d0b"]]), zl = {
3186
3186
  class: "config-card-title",
3187
3187
  "data-testid": "config-card-title"
3188
- }, zl = { class: "config-card-actions" }, Gl = ["href"], Hl = { class: "config-card-details-section" }, Jl = /* @__PURE__ */ W({
3188
+ }, Gl = { class: "config-card-actions" }, Hl = ["href"], Jl = { class: "config-card-details-section" }, Wl = /* @__PURE__ */ W({
3189
3189
  __name: "EntityBaseConfigCard",
3190
3190
  props: {
3191
3191
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3314,21 +3314,21 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3314
3314
  // the last property displayed
3315
3315
  section: ce.Basic
3316
3316
  }
3317
- }, y = B(!1), I = B(!1), M = B(""), k = B({}), U = w(() => {
3317
+ }, y = B(!1), _ = B(!1), M = B(""), k = B({}), U = w(() => {
3318
3318
  var p, A, b;
3319
3319
  if (!k.value)
3320
3320
  return [];
3321
3321
  const g = [], K = Object.keys(k.value).length;
3322
3322
  for (const E in k.value) {
3323
- const _ = (A = (p = a.configSchema) == null ? void 0 : p[E]) == null ? void 0 : A.order, x = (b = C[E]) == null ? void 0 : b.order;
3323
+ const I = (A = (p = a.configSchema) == null ? void 0 : p[E]) == null ? void 0 : A.order, x = (b = C[E]) == null ? void 0 : b.order;
3324
3324
  let L = K;
3325
- (x || x === 0) && (L = x === -1 ? K + 1 : x), _ && (L = _ === -1 ? K + 1 : _), g.push([E, L]);
3325
+ (x || x === 0) && (L = x === -1 ? K + 1 : x), I && (L = I === -1 ? K + 1 : I), g.push([E, L]);
3326
3326
  }
3327
- return g.sort(function(E, _) {
3328
- return E[1] - _[1];
3327
+ return g.sort(function(E, I) {
3328
+ return E[1] - I[1];
3329
3329
  }), g.map((E) => {
3330
- var _, x;
3331
- const L = E[0], D = (_ = k.value) == null ? void 0 : _[L], z = ((x = a.configSchema) == null ? void 0 : x[L]) || {}, oe = C[L];
3330
+ var I, x;
3331
+ const L = E[0], D = (I = k.value) == null ? void 0 : I[L], z = ((x = a.configSchema) == null ? void 0 : x[L]) || {}, oe = C[L];
3332
3332
  return {
3333
3333
  key: L,
3334
3334
  value: D,
@@ -3345,15 +3345,15 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3345
3345
  return [];
3346
3346
  const b = k.value[a.pluginConfigKey] || {}, g = Object.keys(b).length, K = [];
3347
3347
  for (const E in b) {
3348
- const _ = (A = (p = a.pluginConfigSchema) == null ? void 0 : p[E]) == null ? void 0 : A.order, x = b[E];
3348
+ const I = (A = (p = a.pluginConfigSchema) == null ? void 0 : p[E]) == null ? void 0 : A.order, x = b[E];
3349
3349
  let L = x != null && x !== "" ? g - 1 : g;
3350
- _ && (L = _ === -1 ? g + 1 : _), K.push([E, L]);
3350
+ I && (L = I === -1 ? g + 1 : I), K.push([E, L]);
3351
3351
  }
3352
- return K.sort(function(E, _) {
3353
- return E[1] - _[1];
3352
+ return K.sort(function(E, I) {
3353
+ return E[1] - I[1];
3354
3354
  }), K.map((E) => {
3355
- var _;
3356
- const x = E[0], L = b[x], D = ((_ = a.pluginConfigSchema) == null ? void 0 : _[x]) || {};
3355
+ var I;
3356
+ const x = E[0], L = b[x], D = ((I = a.pluginConfigSchema) == null ? void 0 : I[x]) || {};
3357
3357
  return {
3358
3358
  key: x,
3359
3359
  value: L,
@@ -3379,10 +3379,10 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3379
3379
  let b = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3380
3380
  return a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (A = a.config) != null && A.workspace ? `/${a.config.workspace}` : "")), b = b.replace(/{id}/gi, a.config.entityId), b;
3381
3381
  });
3382
- return ke(y, (p) => {
3382
+ return Ce(y, (p) => {
3383
3383
  r("loading", p);
3384
3384
  }, { immediate: !0 }), wt(async () => {
3385
- I.value = !1, y.value = !0;
3385
+ _.value = !1, y.value = !0;
3386
3386
  try {
3387
3387
  const { data: p } = await s.get(S.value);
3388
3388
  if (a.dataKey)
@@ -3397,18 +3397,18 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3397
3397
  }), r("fetch:success", p);
3398
3398
  } catch (p) {
3399
3399
  const A = o(p);
3400
- M.value = A.startsWith("code") ? i("baseConfigCard.errors.load") : A, I.value = !0, r("fetch:error", p);
3400
+ M.value = A.startsWith("code") ? i("baseConfigCard.errors.load") : A, _.value = !0, r("fetch:error", p);
3401
3401
  } finally {
3402
3402
  y.value = !1;
3403
3403
  }
3404
3404
  }), (p, A) => {
3405
- const b = R("KLabel"), g = R("KSelect"), K = R("KButton"), E = R("KSkeleton"), _ = R("KEmptyState"), x = R("KCard");
3405
+ const b = R("KLabel"), g = R("KSelect"), K = R("KButton"), E = R("KSkeleton"), I = R("KEmptyState"), x = R("KCard");
3406
3406
  return f(), V(x, {
3407
3407
  class: "kong-ui-entity-base-config-card",
3408
3408
  "title-tag": e.titleTag
3409
3409
  }, Te({
3410
3410
  actions: h(() => [
3411
- F("div", zl, [
3411
+ F("div", Gl, [
3412
3412
  Q(p.$slots, "actions", {}, void 0, !0),
3413
3413
  T(b, {
3414
3414
  class: "config-format-select-label",
@@ -3436,8 +3436,8 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3436
3436
  rel: "noopener",
3437
3437
  target: "_blank"
3438
3438
  }, [
3439
- T(m(Sl), { size: m(Aa) }, null, 8, ["size"])
3440
- ], 8, Gl)
3439
+ T(m(Al), { size: m(xa) }, null, 8, ["size"])
3440
+ ], 8, Hl)
3441
3441
  ]),
3442
3442
  _: 1
3443
3443
  })) : P("", !0)
@@ -3449,7 +3449,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3449
3449
  "data-testid": "config-card-loader",
3450
3450
  "table-columns": 2,
3451
3451
  type: "table"
3452
- })) : I.value ? (f(), V(_, {
3452
+ })) : _.value ? (f(), V(I, {
3453
3453
  key: 1,
3454
3454
  "data-testid": "config-card-fetch-error",
3455
3455
  "icon-variant": "error"
@@ -3459,8 +3459,8 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3459
3459
  ]),
3460
3460
  _: 1
3461
3461
  })) : P("", !0),
3462
- F("div", Hl, [
3463
- T(fl, {
3462
+ F("div", Jl, [
3463
+ T(ml, {
3464
3464
  config: e.config,
3465
3465
  "fetcher-url": S.value,
3466
3466
  format: d.value,
@@ -3485,7 +3485,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3485
3485
  e.hideTitle ? void 0 : {
3486
3486
  name: "title",
3487
3487
  fn: h(() => [
3488
- F("span", Pl, [
3488
+ F("span", zl, [
3489
3489
  Q(p.$slots, "title", {}, () => [
3490
3490
  H(j(m(i)("baseConfigCard.title")), 1)
3491
3491
  ], !0)
@@ -3496,10 +3496,10 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3496
3496
  ]), 1032, ["title-tag"]);
3497
3497
  };
3498
3498
  }
3499
- }), Wl = /* @__PURE__ */ me(Jl, [["__scopeId", "data-v-f40a683b"]]), Zl = ["novalidate"], Yl = {
3499
+ }), Zl = /* @__PURE__ */ me(Wl, [["__scopeId", "data-v-f40a683b"]]), Yl = ["novalidate"], Ql = {
3500
3500
  class: "form-actions",
3501
3501
  "data-testid": "form-actions"
3502
- }, Ql = /* @__PURE__ */ W({
3502
+ }, Xl = /* @__PURE__ */ W({
3503
3503
  __name: "EntityBaseForm",
3504
3504
  props: {
3505
3505
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3561,7 +3561,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3561
3561
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3562
3562
  setup(e, { emit: t }) {
3563
3563
  var n;
3564
- const r = t, a = e, i = _t(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: l } = ne.useErrors(), { axiosInstance: s } = ne.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = B(!1), d = B(!1), c = B(""), C = w(() => a.canSubmit === !1 || a.isReadonly), y = B(!1), I = w(() => {
3564
+ const r = t, a = e, i = It(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: l } = ne.useErrors(), { axiosInstance: s } = ne.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = B(!1), d = B(!1), c = B(""), C = w(() => a.canSubmit === !1 || a.isReadonly), y = B(!1), _ = w(() => {
3565
3565
  var v, S;
3566
3566
  let p = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3567
3567
  return a.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "") : a.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (S = a.config) != null && S.workspace ? `/${a.config.workspace}` : "")), a.editId ? (p = p.replace(/{id}/gi, a.editId), p) : (p = p.replace(/\/{id}/gi, ""), p);
@@ -3583,13 +3583,13 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3583
3583
  hash: "#json"
3584
3584
  }
3585
3585
  ]);
3586
- return ke(() => u.value, (v) => {
3586
+ return Ce(() => u.value, (v) => {
3587
3587
  r("loading", v);
3588
3588
  }, { immediate: !0 }), wt(async () => {
3589
3589
  if (a.editId)
3590
3590
  try {
3591
3591
  d.value = !1, u.value = !0;
3592
- const { data: v } = await s.get(I.value);
3592
+ const { data: v } = await s.get(_.value);
3593
3593
  r("fetch:success", v);
3594
3594
  } catch (v) {
3595
3595
  const S = l(v);
@@ -3598,8 +3598,8 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3598
3598
  u.value = !1;
3599
3599
  }
3600
3600
  }), (v, S) => {
3601
- const p = R("KSkeleton"), A = R("KEmptyState"), b = R("KAlert"), g = R("KButton"), K = R("KTabs"), E = R("KSlideout"), _ = R("KCard");
3602
- return f(), V(_, { class: "kong-ui-entity-base-form" }, {
3601
+ const p = R("KSkeleton"), A = R("KEmptyState"), b = R("KAlert"), g = R("KButton"), K = R("KTabs"), E = R("KSlideout"), I = R("KCard");
3602
+ return f(), V(I, { class: "kong-ui-entity-base-form" }, {
3603
3603
  default: h(() => [
3604
3604
  u.value ? (f(), V(p, {
3605
3605
  key: 0,
@@ -3629,7 +3629,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3629
3629
  "data-testid": "form-error",
3630
3630
  message: e.errorMessage
3631
3631
  }, null, 8, ["message"])) : P("", !0),
3632
- F("div", Yl, [
3632
+ F("div", Ql, [
3633
3633
  Q(v.$slots, "form-actions", {}, () => [
3634
3634
  T(g, {
3635
3635
  appearance: "tertiary",
@@ -3665,7 +3665,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3665
3665
  }, 8, ["disabled"])
3666
3666
  ], !0)
3667
3667
  ])
3668
- ], 40, Zl)),
3668
+ ], 40, Yl)),
3669
3669
  T(E, {
3670
3670
  "close-on-blur": !1,
3671
3671
  "data-testid": "form-view-configuration-slideout",
@@ -3684,7 +3684,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3684
3684
  json: h(() => [
3685
3685
  T(An, {
3686
3686
  config: e.config,
3687
- "fetcher-url": I.value,
3687
+ "fetcher-url": _.value,
3688
3688
  "json-record": a.formFields,
3689
3689
  "request-method": a.editId ? "put" : "post"
3690
3690
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
@@ -3704,7 +3704,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3704
3704
  });
3705
3705
  };
3706
3706
  }
3707
- }), Xl = /* @__PURE__ */ me(Ql, [["__scopeId", "data-v-3def74fe"]]), es = ["data-truncate"], ts = /* @__PURE__ */ W({
3707
+ }), es = /* @__PURE__ */ me(Xl, [["__scopeId", "data-v-3def74fe"]]), ts = ["data-truncate"], ns = /* @__PURE__ */ W({
3708
3708
  __name: "EntityBaseTableCell",
3709
3709
  props: {
3710
3710
  keyName: {
@@ -3743,7 +3743,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3743
3743
  J -= (parseFloat(v.paddingLeft) || 0) + (parseFloat(v.paddingRight) || 0);
3744
3744
  }
3745
3745
  d.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, c.value = J, C.value = (($ = u.value) == null ? void 0 : $.innerText) || "";
3746
- }, u = B({}), d = B(0), c = B(0), C = B(""), y = w(() => [r.value, n.value]), I = ke(
3746
+ }, u = B({}), d = B(0), c = B(0), C = B(""), y = w(() => [r.value, n.value]), _ = Ce(
3747
3747
  y,
3748
3748
  (k) => {
3749
3749
  if (i.value && (l(), "ResizeObserver" in window && window)) {
@@ -3761,7 +3761,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3761
3761
  return Ar(() => {
3762
3762
  s();
3763
3763
  }), xr(() => {
3764
- I();
3764
+ _();
3765
3765
  }), (k, U) => {
3766
3766
  const $ = R("KTooltip");
3767
3767
  return f(), O("span", {
@@ -3783,14 +3783,14 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3783
3783
  ]),
3784
3784
  _: 3
3785
3785
  }, 8, ["text"])
3786
- ], 8, es)) : Q(k.$slots, "default", { key: 1 }, void 0, !0)
3786
+ ], 8, ts)) : Q(k.$slots, "default", { key: 1 }, void 0, !0)
3787
3787
  ], 512);
3788
3788
  };
3789
3789
  }
3790
- }), ns = /* @__PURE__ */ me(ts, [["__scopeId", "data-v-471ce76e"]]), rs = { class: "toolbar-container" }, as = {
3790
+ }), rs = /* @__PURE__ */ me(ns, [["__scopeId", "data-v-471ce76e"]]), as = { class: "toolbar-container" }, is = {
3791
3791
  key: 0,
3792
3792
  class: "toolbar-button-container"
3793
- }, is = ["data-testid"], os = /* @__PURE__ */ W({
3793
+ }, os = ["data-testid"], ls = /* @__PURE__ */ W({
3794
3794
  __name: "EntityBaseTable",
3795
3795
  props: {
3796
3796
  // table header configuration
@@ -3951,14 +3951,14 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
3951
3951
  textOverflow: "ellipsis"
3952
3952
  }), A;
3953
3953
  }, y = () => {
3954
- r("empty-state-cta-clicked"), I();
3955
- }, I = () => {
3954
+ r("empty-state-cta-clicked"), _();
3955
+ }, _ = () => {
3956
3956
  r("clear-search-input");
3957
3957
  }, M = w(() => n.disableRowClick ? void 0 : (p, A) => {
3958
3958
  r("click:row", A);
3959
3959
  }), k = (p) => {
3960
3960
  r("sort", p);
3961
- }, { setTablePreferences: U, getTablePreferences: $ } = zr(), J = B($(o.value)), v = w(() => {
3961
+ }, { setTablePreferences: U, getTablePreferences: $ } = Gr(), J = B($(o.value)), v = w(() => {
3962
3962
  const p = $(o.value);
3963
3963
  return {
3964
3964
  ...n.initialFetcherParams,
@@ -4005,23 +4005,23 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4005
4005
  "table-preferences": J.value,
4006
4006
  onEmptyStateActionClick: y,
4007
4007
  "onRow:click": M.value,
4008
- onSort: A[0] || (A[0] = (_) => k(_)),
4008
+ onSort: A[0] || (A[0] = (I) => k(I)),
4009
4009
  "onUpdate:tablePreferences": S
4010
4010
  }, Te({
4011
- toolbar: h(({ state: _ }) => [
4012
- Ie(F("div", rs, [
4011
+ toolbar: h(({ state: I }) => [
4012
+ _e(F("div", as, [
4013
4013
  Q(p.$slots, "toolbar-filter", {}, void 0, !0),
4014
- p.$slots["toolbar-button"] ? (f(), O("div", as, [
4014
+ p.$slots["toolbar-button"] ? (f(), O("div", is, [
4015
4015
  Q(p.$slots, "toolbar-button", {}, void 0, !0)
4016
4016
  ])) : P("", !0)
4017
4017
  ], 512), [
4018
- [_e, l(_)]
4018
+ [Ie, l(I)]
4019
4019
  ])
4020
4020
  ]),
4021
- actions: h(({ row: _, rowKey: x, rowValue: L }) => [
4021
+ actions: h(({ row: I, rowKey: x, rowValue: L }) => [
4022
4022
  F("div", {
4023
4023
  class: "actions-container",
4024
- "data-testid": _.name
4024
+ "data-testid": I.name
4025
4025
  }, [
4026
4026
  T(g, {
4027
4027
  "kpop-attributes": { placement: "bottomEnd" },
@@ -4029,7 +4029,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4029
4029
  }, {
4030
4030
  items: h(() => [
4031
4031
  Q(p.$slots, "actions", {
4032
- row: _,
4032
+ row: I,
4033
4033
  rowKey: x,
4034
4034
  rowValue: L
4035
4035
  }, void 0, !0)
@@ -4043,24 +4043,24 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4043
4043
  size: "small"
4044
4044
  }, {
4045
4045
  default: h(() => [
4046
- T(m(Dl))
4046
+ T(m(Pl))
4047
4047
  ]),
4048
4048
  _: 1
4049
4049
  })
4050
4050
  ]),
4051
4051
  _: 2
4052
4052
  }, 1032, ["width"])
4053
- ], 8, is)
4053
+ ], 8, os)
4054
4054
  ]),
4055
4055
  _: 2
4056
4056
  }, [
4057
- pe(e.tableHeaders, (_, x) => ({
4057
+ pe(e.tableHeaders, (I, x) => ({
4058
4058
  name: x,
4059
4059
  fn: h(({ row: L, rowKey: D, rowValue: z }) => [
4060
- T(ns, {
4060
+ T(rs, {
4061
4061
  "key-name": String(x),
4062
4062
  "row-el": c(L),
4063
- tooltip: _.tooltip
4063
+ tooltip: I.tooltip
4064
4064
  }, {
4065
4065
  default: h(() => [
4066
4066
  Q(p.$slots, x, {
@@ -4078,7 +4078,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4078
4078
  e.query ? void 0 : {
4079
4079
  name: "empty-state-action-icon",
4080
4080
  fn: h(() => [
4081
- T(m(bl))
4081
+ T(m(Cl))
4082
4082
  ]),
4083
4083
  key: "0"
4084
4084
  }
@@ -4088,13 +4088,13 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4088
4088
  }, 8, ["title", "title-tag"]);
4089
4089
  };
4090
4090
  }
4091
- }), ls = /* @__PURE__ */ me(os, [["__scopeId", "data-v-0496d9a7"]]), ss = {
4091
+ }), ss = /* @__PURE__ */ me(ls, [["__scopeId", "data-v-0496d9a7"]]), us = {
4092
4092
  key: 0,
4093
4093
  class: "kong-ui-entity-delete-error"
4094
- }, us = {
4094
+ }, cs = {
4095
4095
  key: 1,
4096
4096
  class: "description"
4097
- }, cs = /* @__PURE__ */ W({
4097
+ }, ds = /* @__PURE__ */ W({
4098
4098
  __name: "EntityDeleteModal",
4099
4099
  props: {
4100
4100
  visible: {
@@ -4152,7 +4152,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4152
4152
  onProceed: l
4153
4153
  }, {
4154
4154
  default: h(() => [
4155
- e.error ? (f(), O("div", ss, [
4155
+ e.error ? (f(), O("div", us, [
4156
4156
  T(d, { appearance: "danger" }, {
4157
4157
  default: h(() => [
4158
4158
  H(j(e.error), 1)
@@ -4178,7 +4178,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4178
4178
  key: "0"
4179
4179
  } : void 0
4180
4180
  ]), 1032, ["keypath"]),
4181
- r.description || s.$slots.description ? (f(), O("div", us, [
4181
+ r.description || s.$slots.description ? (f(), O("div", cs, [
4182
4182
  Q(s.$slots, "description", {}, () => [
4183
4183
  F("p", null, j(r.description), 1)
4184
4184
  ], !0)
@@ -4188,13 +4188,13 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4188
4188
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4189
4189
  };
4190
4190
  }
4191
- }), ds = /* @__PURE__ */ me(cs, [["__scopeId", "data-v-4361d622"]]), ps = {
4191
+ }), ps = /* @__PURE__ */ me(ds, [["__scopeId", "data-v-4361d622"]]), fs = {
4192
4192
  fill: "none",
4193
4193
  height: "20",
4194
4194
  viewBox: "0 0 20 20",
4195
4195
  width: "20",
4196
4196
  xmlns: "http://www.w3.org/2000/svg"
4197
- }, fs = {
4197
+ }, ms = {
4198
4198
  id: "mask0_180_20349",
4199
4199
  height: "20",
4200
4200
  maskUnits: "userSpaceOnUse",
@@ -4202,35 +4202,35 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4202
4202
  width: "20",
4203
4203
  x: "0",
4204
4204
  y: "0"
4205
- }, ms = ["fill"], gs = { mask: "url(#mask0_180_20349)" }, ys = ["fill"], fn = /* @__PURE__ */ W({
4205
+ }, gs = ["fill"], ys = { mask: "url(#mask0_180_20349)" }, hs = ["fill"], fn = /* @__PURE__ */ W({
4206
4206
  __name: "IconFilter",
4207
4207
  props: {
4208
4208
  color: {
4209
4209
  type: String,
4210
- default: `var(--kong-ui-entity-filter-color, ${wa})`
4210
+ default: `var(--kong-ui-entity-filter-color, ${_a})`
4211
4211
  }
4212
4212
  },
4213
4213
  setup(e) {
4214
- return (t, n) => (f(), O("svg", ps, [
4215
- F("mask", fs, [
4214
+ return (t, n) => (f(), O("svg", fs, [
4215
+ F("mask", ms, [
4216
4216
  F("rect", {
4217
4217
  fill: e.color,
4218
4218
  height: "20",
4219
4219
  width: "20"
4220
- }, null, 8, ms)
4220
+ }, null, 8, gs)
4221
4221
  ]),
4222
- F("g", gs, [
4222
+ F("g", ys, [
4223
4223
  F("path", {
4224
4224
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
4225
4225
  fill: e.color
4226
- }, null, 8, ys)
4226
+ }, null, 8, hs)
4227
4227
  ])
4228
4228
  ]));
4229
4229
  }
4230
- }), hs = {
4230
+ }), vs = {
4231
4231
  key: 1,
4232
4232
  class: "kong-ui-entity-filter"
4233
- }, vs = { class: "kong-ui-entity-filter-menu" }, bs = ["data-testid"], Cs = ["onClick", "onKeydown"], ks = { class: "menu-item-indicator" }, ws = { class: "menu-item-body" }, Is = ["for"], _s = { class: "menu-item-buttons" }, Ss = { class: "filter-clear-button-container" }, As = /* @__PURE__ */ W({
4233
+ }, bs = { class: "kong-ui-entity-filter-menu" }, Cs = ["data-testid"], ks = ["onClick", "onKeydown"], ws = { class: "menu-item-indicator" }, _s = { class: "menu-item-body" }, Is = ["for"], Ss = { class: "menu-item-buttons" }, As = { class: "filter-clear-button-container" }, xs = /* @__PURE__ */ W({
4234
4234
  __name: "EntityFilter",
4235
4235
  props: {
4236
4236
  // filter config, either exact match or fuzzy match
@@ -4266,7 +4266,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4266
4266
  expanded: !1
4267
4267
  }));
4268
4268
  });
4269
- ke(() => r.modelValue, (v) => {
4269
+ Ce(() => r.modelValue, (v) => {
4270
4270
  o.value = {}, new URLSearchParams(v).forEach((S, p) => {
4271
4271
  o.value[p] = S;
4272
4272
  });
@@ -4279,7 +4279,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4279
4279
  a("update:modelValue", v);
4280
4280
  }, y = () => {
4281
4281
  C("");
4282
- }, I = (v) => `filter-${v}`, M = (v) => {
4282
+ }, _ = (v) => `filter-${v}`, M = (v) => {
4283
4283
  var S, p;
4284
4284
  return (((p = (S = r.config.schema) == null ? void 0 : S[v]) == null ? void 0 : p.values) ?? []).map((A) => ({
4285
4285
  value: A,
@@ -4314,15 +4314,15 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4314
4314
  T(fn)
4315
4315
  ]),
4316
4316
  after: h(() => [
4317
- Ie(T(m(Bl), {
4317
+ _e(T(m(Kl), {
4318
4318
  class: "kong-ui-entity-filter-clear",
4319
4319
  onClick: y
4320
4320
  }, null, 512), [
4321
- [_e, e.modelValue !== ""]
4321
+ [Ie, e.modelValue !== ""]
4322
4322
  ])
4323
4323
  ]),
4324
4324
  _: 1
4325
- }, 8, ["model-value", "placeholder"])) : (f(), O("div", hs, [
4325
+ }, 8, ["model-value", "placeholder"])) : (f(), O("div", vs, [
4326
4326
  T(A, {
4327
4327
  appearance: "tertiary",
4328
4328
  "data-testid": "filter-button",
@@ -4334,13 +4334,13 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4334
4334
  ]),
4335
4335
  _: 1
4336
4336
  }),
4337
- Ie(F("div", {
4337
+ _e(F("div", {
4338
4338
  class: "kong-ui-entity-filter-backdrop",
4339
4339
  onClick: d
4340
4340
  }, null, 512), [
4341
- [_e, i.value]
4341
+ [Ie, i.value]
4342
4342
  ]),
4343
- Ie(F("div", vs, [
4343
+ _e(F("div", bs, [
4344
4344
  (f(!0), O(fe, null, pe(u.value, (g) => {
4345
4345
  var K, E;
4346
4346
  return f(), O("div", {
@@ -4352,48 +4352,48 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4352
4352
  class: Ae(["menu-item-title", { expanded: l.value.has(g.value) }]),
4353
4353
  role: "button",
4354
4354
  tabindex: "0",
4355
- onClick: (_) => c(g.value),
4356
- onKeydown: _r((_) => c(g.value), ["enter"])
4355
+ onClick: (I) => c(g.value),
4356
+ onKeydown: Ir((I) => c(g.value), ["enter"])
4357
4357
  }, [
4358
4358
  H(j(g.label) + " ", 1),
4359
- Ie(F("span", ks, null, 512), [
4360
- [_e, s.value.includes(g.value)]
4359
+ _e(F("span", ws, null, 512), [
4360
+ [Ie, s.value.includes(g.value)]
4361
4361
  ]),
4362
- T(m(jl), {
4362
+ T(m(Ol), {
4363
4363
  class: Ae(["menu-item-expand-icon", { expanded: l.value.has(g.value) }]),
4364
- color: m(_a)
4364
+ color: m(Sa)
4365
4365
  }, null, 8, ["class", "color"])
4366
- ], 42, Cs),
4367
- Ie(F("div", ws, [
4366
+ ], 42, ks),
4367
+ _e(F("div", _s, [
4368
4368
  F("label", {
4369
4369
  class: "menu-item-label",
4370
- for: I(g.value)
4370
+ for: _(g.value)
4371
4371
  }, j(m(n)("filter.fieldLabel")), 9, Is),
4372
4372
  ((E = (K = e.config.schema) == null ? void 0 : K[g.value]) == null ? void 0 : E.type) === "select" ? (f(), V(b, {
4373
4373
  key: 0,
4374
- id: I(g.value),
4374
+ id: _(g.value),
4375
4375
  modelValue: o.value[g.value],
4376
- "onUpdate:modelValue": (_) => o.value[g.value] = _,
4376
+ "onUpdate:modelValue": (I) => o.value[g.value] = I,
4377
4377
  items: M(g.value),
4378
4378
  placeholder: m(n)("filter.selectPlaceholder")
4379
4379
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (f(), V(p, {
4380
4380
  key: 1,
4381
- id: I(g.value),
4381
+ id: _(g.value),
4382
4382
  modelValue: o.value[g.value],
4383
- "onUpdate:modelValue": (_) => o.value[g.value] = _,
4383
+ "onUpdate:modelValue": (I) => o.value[g.value] = I,
4384
4384
  autocomplete: "off",
4385
4385
  placeholder: m(n)("filter.inputPlaceholder"),
4386
4386
  type: k(g.value)
4387
4387
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4388
4388
  ], 512), [
4389
- [_e, l.value.has(g.value)]
4389
+ [Ie, l.value.has(g.value)]
4390
4390
  ]),
4391
- Ie(F("div", _s, [
4391
+ _e(F("div", Ss, [
4392
4392
  T(A, {
4393
4393
  appearance: "tertiary",
4394
4394
  "data-testid": "apply-filter",
4395
4395
  size: "small",
4396
- onClick: S[0] || (S[0] = (_) => J(!0))
4396
+ onClick: S[0] || (S[0] = (I) => J(!0))
4397
4397
  }, {
4398
4398
  default: h(() => [
4399
4399
  H(j(m(n)("filter.applyButtonText")), 1)
@@ -4404,7 +4404,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4404
4404
  appearance: "tertiary",
4405
4405
  "data-testid": "clear-filter",
4406
4406
  size: "small",
4407
- onClick: (_) => U(g.value)
4407
+ onClick: (I) => U(g.value)
4408
4408
  }, {
4409
4409
  default: h(() => [
4410
4410
  H(j(m(n)("filter.clearButtonText")), 1)
@@ -4412,11 +4412,11 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4412
4412
  _: 2
4413
4413
  }, 1032, ["onClick"])
4414
4414
  ], 512), [
4415
- [_e, l.value.has(g.value)]
4415
+ [Ie, l.value.has(g.value)]
4416
4416
  ])
4417
- ], 8, bs);
4417
+ ], 8, Cs);
4418
4418
  }), 128)),
4419
- F("div", Ss, [
4419
+ F("div", As, [
4420
4420
  T(A, {
4421
4421
  appearance: "tertiary",
4422
4422
  size: "small",
@@ -4429,12 +4429,12 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4429
4429
  })
4430
4430
  ])
4431
4431
  ], 512), [
4432
- [_e, i.value]
4432
+ [Ie, i.value]
4433
4433
  ])
4434
4434
  ]));
4435
4435
  };
4436
4436
  }
4437
- }), xs = /* @__PURE__ */ me(As, [["__scopeId", "data-v-94990087"]]), Ze = /* @__PURE__ */ W({
4437
+ }), $s = /* @__PURE__ */ me(xs, [["__scopeId", "data-v-94990087"]]), Ze = /* @__PURE__ */ W({
4438
4438
  __name: "PermissionsWrapper",
4439
4439
  props: {
4440
4440
  /**
@@ -4457,7 +4457,7 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4457
4457
  },
4458
4458
  setup(e) {
4459
4459
  const t = e, n = B(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4460
- return ke(() => t.authFunction, async () => {
4460
+ return Ce(() => t.authFunction, async () => {
4461
4461
  n.value = await t.authFunction();
4462
4462
  }, { immediate: !0 }), (a, i) => r.value ? Q(a.$slots, "default", {
4463
4463
  key: 0,
@@ -4466,41 +4466,41 @@ const sl = { class: "yaml-config" }, mr = /* @__PURE__ */ W({
4466
4466
  }
4467
4467
  });
4468
4468
  let Ye;
4469
- const $s = new Uint8Array(16);
4470
- function Ns() {
4469
+ const Ns = new Uint8Array(16);
4470
+ function Ts() {
4471
4471
  if (!Ye && (Ye = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ye))
4472
4472
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4473
- return Ye($s);
4473
+ return Ye(Ns);
4474
4474
  }
4475
4475
  const re = [];
4476
4476
  for (let e = 0; e < 256; ++e)
4477
4477
  re.push((e + 256).toString(16).slice(1));
4478
- function Ts(e, t = 0) {
4478
+ function js(e, t = 0) {
4479
4479
  return re[e[t + 0]] + re[e[t + 1]] + re[e[t + 2]] + re[e[t + 3]] + "-" + re[e[t + 4]] + re[e[t + 5]] + "-" + re[e[t + 6]] + re[e[t + 7]] + "-" + re[e[t + 8]] + re[e[t + 9]] + "-" + re[e[t + 10]] + re[e[t + 11]] + re[e[t + 12]] + re[e[t + 13]] + re[e[t + 14]] + re[e[t + 15]];
4480
4480
  }
4481
- const js = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mn = {
4482
- randomUUID: js
4481
+ const Os = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mn = {
4482
+ randomUUID: Os
4483
4483
  };
4484
- function Os(e, t, n) {
4484
+ function Ms(e, t, n) {
4485
4485
  if (mn.randomUUID && !t && !e)
4486
4486
  return mn.randomUUID();
4487
4487
  e = e || {};
4488
- const r = e.random || (e.rng || Ns)();
4488
+ const r = e.random || (e.rng || Ts)();
4489
4489
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
4490
4490
  n = n || 0;
4491
4491
  for (let a = 0; a < 16; ++a)
4492
4492
  t[n + a] = r[a];
4493
4493
  return t;
4494
4494
  }
4495
- return Ts(r);
4495
+ return js(r);
4496
4496
  }
4497
- const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4497
+ const Es = ["aria-labelledby"], qs = { class: "form-section-wrapper" }, Fs = {
4498
4498
  key: 1,
4499
4499
  class: "form-section-description"
4500
- }, Fs = {
4500
+ }, Bs = {
4501
4501
  key: 2,
4502
4502
  class: "form-section-footer"
4503
- }, Bs = { class: "form-section-content" }, Ks = /* @__PURE__ */ W({
4503
+ }, Ks = { class: "form-section-content" }, Ls = /* @__PURE__ */ W({
4504
4504
  __name: "EntityFormSection",
4505
4505
  props: {
4506
4506
  title: {
@@ -4529,18 +4529,18 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4529
4529
  }
4530
4530
  },
4531
4531
  setup(e) {
4532
- const t = It(), n = Os();
4532
+ const t = _t(), n = Ms();
4533
4533
  return (r, a) => (f(), O("div", {
4534
4534
  "aria-labelledby": e.title ? m(n) : void 0,
4535
4535
  class: Ae(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4536
4536
  role: "group"
4537
4537
  }, [
4538
- F("div", Es, [
4538
+ F("div", qs, [
4539
4539
  e.hideInfoHeader ? P("", !0) : (f(), O("div", {
4540
4540
  key: 0,
4541
4541
  class: Ae(["form-section-info", { sticky: e.stickyInfoHeader }])
4542
4542
  }, [
4543
- e.title ? (f(), V(be(e.titleTag), {
4543
+ e.title ? (f(), V(we(e.titleTag), {
4544
4544
  key: 0,
4545
4545
  id: m(n),
4546
4546
  class: "form-section-title"
@@ -4550,28 +4550,28 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4550
4550
  ]),
4551
4551
  _: 1
4552
4552
  }, 8, ["id"])) : P("", !0),
4553
- e.description || m(t).description ? (f(), O("div", qs, [
4553
+ e.description || m(t).description ? (f(), O("div", Fs, [
4554
4554
  Q(r.$slots, "description", {}, () => [
4555
4555
  F("p", null, j(e.description), 1)
4556
4556
  ], !0)
4557
4557
  ])) : P("", !0),
4558
- m(t).footer ? (f(), O("div", Fs, [
4558
+ m(t).footer ? (f(), O("div", Bs, [
4559
4559
  Q(r.$slots, "footer", {}, void 0, !0)
4560
4560
  ])) : P("", !0)
4561
4561
  ], 2)),
4562
- F("div", Bs, [
4562
+ F("div", Ks, [
4563
4563
  Q(r.$slots, "default", {}, void 0, !0)
4564
4564
  ])
4565
4565
  ])
4566
- ], 10, Ms));
4566
+ ], 10, Es));
4567
4567
  }
4568
- }), Ls = /* @__PURE__ */ me(Ks, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Ot, useDeleteUrlBuilder: Us, useErrors: Rs, useExternalLinkCreator: hu, useFetchUrlBuilder: vu, useFetcher: Vs, useDebouncedFilter: Ds, useStringHelpers: bu, useHelpers: Cu, useGatewayFeatureSupported: ku, useTruncationDetector: wu, useValidators: Iu } = ne, Ps = { class: "add-consumer-form-container" }, zs = { class: "add-consumer-form-cta" }, Gs = { class: "select-item-label" }, Hs = {
4568
+ }), Us = /* @__PURE__ */ me(Ls, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Ot, useDeleteUrlBuilder: Rs, useErrors: Vs, useExternalLinkCreator: vu, useFetchUrlBuilder: bu, useFetcher: Ds, useDebouncedFilter: Ps, useStringHelpers: Cu, useHelpers: ku, useGatewayFeatureSupported: wu, useTruncationDetector: _u, useValidators: Iu } = ne, zs = { class: "add-consumer-form-container" }, Gs = { class: "add-consumer-form-cta" }, Hs = { class: "select-item-label" }, Js = {
4569
4569
  key: 0,
4570
4570
  class: "select-item-desc"
4571
- }, Js = {
4571
+ }, Ws = {
4572
4572
  key: 0,
4573
4573
  class: "kong-ui-entity-add-consumers-error"
4574
- }, Ws = { key: 0 }, Zs = /* @__PURE__ */ W({
4574
+ }, Zs = { key: 0 }, Ys = /* @__PURE__ */ W({
4575
4575
  __name: "AddConsumerModal",
4576
4576
  props: {
4577
4577
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4588,15 +4588,15 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4588
4588
  },
4589
4589
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4590
4590
  setup(e, { emit: t }) {
4591
- var _;
4592
- const { i18n: { t: n } } = at.useI18n(), r = e, a = t, { axiosInstance: i } = Ot((_ = r.config) == null ? void 0 : _.axiosRequestConfig), o = B([]), {
4591
+ var I;
4592
+ const { i18n: { t: n } } = at.useI18n(), r = e, a = t, { axiosInstance: i } = Ot((I = r.config) == null ? void 0 : I.axiosRequestConfig), o = B([]), {
4593
4593
  debouncedQueryChange: l,
4594
4594
  loading: s,
4595
4595
  allRecords: u,
4596
4596
  error: d,
4597
4597
  loadItems: c,
4598
4598
  results: C
4599
- } = Ds(
4599
+ } = Ps(
4600
4600
  r.config,
4601
4601
  je.list[r.config.app].all,
4602
4602
  "",
@@ -4604,7 +4604,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4604
4604
  fetchedItemsKey: "data",
4605
4605
  searchKeys: ["username", "id"]
4606
4606
  }
4607
- ), y = (x) => x, I = w(() => d.value ? n("consumers.errors.general") : ""), M = B(0), k = w(() => u.value === void 0), U = w(() => C.value.map((x) => ({
4607
+ ), y = (x) => x, _ = w(() => d.value ? n("consumers.errors.general") : ""), M = B(0), k = w(() => u.value === void 0), U = w(() => C.value.map((x) => ({
4608
4608
  label: x.username || x.customId,
4609
4609
  value: x.id,
4610
4610
  selected: o.value.includes(x.id),
@@ -4654,9 +4654,9 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4654
4654
  return (D = L.reason) == null ? void 0 : D.message;
4655
4655
  }).filter(Boolean);
4656
4656
  };
4657
- return ke(U, () => {
4657
+ return Ce(U, () => {
4658
4658
  M.value++;
4659
- }, { immediate: !0, deep: !0 }), ke(() => r.visible, () => {
4659
+ }, { immediate: !0, deep: !0 }), Ce(() => r.visible, () => {
4660
4660
  r.visible && c();
4661
4661
  }, { immediate: !0 }), (x, L) => {
4662
4662
  const D = R("KMultiselect"), z = R("KAlert"), oe = R("KPrompt");
@@ -4670,8 +4670,8 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4670
4670
  onProceed: A
4671
4671
  }, {
4672
4672
  default: h(() => [
4673
- F("div", Ps, [
4674
- F("p", zs, j(m(n)("consumers.consumer_groups.add.ctaText")), 1),
4673
+ F("div", zs, [
4674
+ F("p", Gs, j(m(n)("consumers.consumer_groups.add.ctaText")), 1),
4675
4675
  T(D, {
4676
4676
  modelValue: o.value,
4677
4677
  "onUpdate:modelValue": L[0] || (L[0] = (ge) => o.value = ge),
@@ -4688,19 +4688,19 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4688
4688
  onQueryChange: m(l)
4689
4689
  }, {
4690
4690
  "item-template": h(({ item: ge }) => [
4691
- F("div", Gs, j(ge.label), 1),
4692
- y(ge).data.username && y(ge).data.custom_id ? (f(), O("div", Hs, j(y(ge).data.custom_id), 1)) : P("", !0)
4691
+ F("div", Hs, j(ge.label), 1),
4692
+ y(ge).data.username && y(ge).data.custom_id ? (f(), O("div", Js, j(y(ge).data.custom_id), 1)) : P("", !0)
4693
4693
  ]),
4694
4694
  _: 1
4695
4695
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4696
- p.value || I.value || K.value.length ? (f(), O("div", Js, [
4696
+ p.value || _.value || K.value.length ? (f(), O("div", Ws, [
4697
4697
  T(z, { appearance: "danger" }, {
4698
4698
  default: h(() => [
4699
4699
  F("p", null, j(m(n)("consumers.errors.add")), 1),
4700
- K.value.length ? (f(), O("ul", Ws, [
4700
+ K.value.length ? (f(), O("ul", Zs, [
4701
4701
  (f(!0), O(fe, null, pe(K.value, (ge, lt) => (f(), O("li", { key: lt }, j(ge), 1))), 128))
4702
4702
  ])) : P("", !0),
4703
- F("div", null, j(p.value || I.value), 1)
4703
+ F("div", null, j(p.value || _.value), 1)
4704
4704
  ]),
4705
4705
  _: 1
4706
4706
  })
@@ -4716,7 +4716,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4716
4716
  for (const [r, a] of t)
4717
4717
  n[r] = a;
4718
4718
  return n;
4719
- }, Ys = /* @__PURE__ */ Mt(Zs, [["__scopeId", "data-v-d54468ab"]]), Qs = { class: "kong-ui-entities-consumers-list" }, Xs = { key: 1 }, eu = /* @__PURE__ */ W({
4719
+ }, Qs = /* @__PURE__ */ Mt(Ys, [["__scopeId", "data-v-d54468ab"]]), Xs = { class: "kong-ui-entities-consumers-list" }, eu = { key: 1 }, tu = /* @__PURE__ */ W({
4720
4720
  __name: "ConsumerList",
4721
4721
  props: {
4722
4722
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4763,13 +4763,13 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4763
4763
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4764
4764
  setup(e, { emit: t }) {
4765
4765
  var Ut;
4766
- const n = t, r = e, { i18nT: a, i18n: { t: i } } = at.useI18n(), o = _t(), { axiosInstance: l } = Ot((Ut = r.config) == null ? void 0 : Ut.axiosRequestConfig), s = B(1), u = w(() => !!r.config.consumerGroupId), d = w(
4766
+ const n = t, r = e, { i18nT: a, i18n: { t: i } } = at.useI18n(), o = It(), { axiosInstance: l } = Ot((Ut = r.config) == null ? void 0 : Ut.axiosRequestConfig), s = B(1), u = w(() => !!r.config.consumerGroupId), d = w(
4767
4767
  () => u.value ? "kong-ui-entities-consumers-list-in-group-page" : "kong-ui-entities-consumers-list"
4768
4768
  ), c = w(() => r.config.app !== "kongManager" || !!r.config.disableSorting), C = {
4769
4769
  username: { label: i("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4770
4770
  custom_id: { label: i("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4771
4771
  tags: { label: i("consumers.list.table_headers.tags"), sortable: !1 }
4772
- }, y = C, I = (N) => ({
4772
+ }, y = C, _ = (N) => ({
4773
4773
  "data-testid": N.username ?? N.custom_id ?? N.id
4774
4774
  }), M = w(() => {
4775
4775
  var G, X, ue, ye;
@@ -4788,7 +4788,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4788
4788
  },
4789
4789
  schema: r.config.filterSchema
4790
4790
  };
4791
- }), $ = w(() => u.value && !r.config.paginatedEndpoint ? "consumers" : void 0), { fetcher: J, fetcherState: v } = Vs(r.config, M.value, $.value), S = () => {
4791
+ }), $ = w(() => u.value && !r.config.paginatedEndpoint ? "consumers" : void 0), { fetcher: J, fetcherState: v } = Ds(r.config, M.value, $.value), S = () => {
4792
4792
  k.value = "";
4793
4793
  }, p = () => {
4794
4794
  s.value++;
@@ -4823,13 +4823,13 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4823
4823
  }, E = async (N) => {
4824
4824
  var X;
4825
4825
  await ((X = r.canRetrieve) == null ? void 0 : X.call(r, N)) && o.push(r.config.getViewRoute(N.id));
4826
- }, _ = (N) => ({
4826
+ }, I = (N) => ({
4827
4827
  label: i("consumers.actions.view"),
4828
4828
  to: r.config.getViewRoute(N)
4829
4829
  }), x = (N) => ({
4830
4830
  label: i("consumers.actions.edit"),
4831
4831
  to: r.config.getEditRoute(N)
4832
- }), L = B(void 0), D = B(!1), z = B(!1), oe = B(""), ge = Us(r.config, M.value), lt = (N) => {
4832
+ }), L = B(void 0), D = B(!1), z = B(!1), oe = B(""), ge = Rs(r.config, M.value), lt = (N) => {
4833
4833
  L.value = N, D.value = !0;
4834
4834
  }, gr = () => {
4835
4835
  D.value = !1;
@@ -4853,20 +4853,20 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4853
4853
  G || qt(), s.value++, n("add:success", N);
4854
4854
  }, hr = () => {
4855
4855
  u.value && Et();
4856
- }, Ce = B(void 0), ut = B(!1), vr = B(""), br = (N) => {
4857
- Ce.value = N, ut.value = !0;
4856
+ }, be = B(void 0), ut = B(!1), vr = B(""), br = (N) => {
4857
+ be.value = N, ut.value = !0;
4858
4858
  }, Bt = () => {
4859
- ut.value = !1, Ce.value = void 0;
4859
+ ut.value = !1, be.value = void 0;
4860
4860
  }, Cr = w(() => {
4861
4861
  var G, X, ue, ye;
4862
4862
  let N = `${r.config.apiBaseUrl}${je.list[r.config.app].oneForConsumerGroup}`;
4863
4863
  return r.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((G = r.config) == null ? void 0 : G.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((X = r.config) == null ? void 0 : X.consumerGroupId) || "") : r.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (ue = r.config) != null && ue.workspace ? `/${r.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((ye = r.config) == null ? void 0 : ye.consumerGroupId) || "")), N;
4864
4864
  }), Kt = B(!1), kr = async () => {
4865
- if (Ce.value) {
4865
+ if (be.value) {
4866
4866
  Kt.value = !0;
4867
4867
  try {
4868
- const N = Cr.value.replace(/{consumerId}/gi, Ce.value.id);
4869
- await l.delete(N), n("remove:success", Ce.value), Bt(), s.value++;
4868
+ const N = Cr.value.replace(/{consumerId}/gi, be.value.id);
4869
+ await l.delete(N), n("remove:success", be.value), Bt(), s.value++;
4870
4870
  } catch (N) {
4871
4871
  vr.value = N.message || i("consumers.errors.delete"), n("error", N);
4872
4872
  } finally {
@@ -4874,7 +4874,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4874
4874
  }
4875
4875
  }
4876
4876
  }, Lt = B(!0);
4877
- ke(v, (N) => {
4877
+ Ce(v, (N) => {
4878
4878
  var G, X, ue, ye;
4879
4879
  if (Array.isArray((G = N == null ? void 0 : N.response) == null ? void 0 : G.data) && (Lt.value = N.response.data.length > 0), N.status === $e.Error) {
4880
4880
  b.value = {
@@ -4894,8 +4894,8 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4894
4894
  await r.canCreate() && (ct.value.title = u.value ? i("consumers.list.empty_state.title_for_consumer_group") : i("consumers.list.empty_state.title"), ct.value.ctaText = u.value ? i("consumers.actions.add_consumer") : i("consumers.actions.create"));
4895
4895
  }), (N, G) => {
4896
4896
  const X = R("KButton"), ue = R("KBadge"), ye = R("KTruncate"), De = R("KDropdownItem"), Rt = R("KClipboardProvider"), wr = R("KPrompt");
4897
- return f(), O("div", Qs, [
4898
- T(m(ls), {
4897
+ return f(), O("div", Xs, [
4898
+ T(m(ss), {
4899
4899
  "cache-identifier": e.cacheIdentifier,
4900
4900
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4901
4901
  "disable-pagination-page-jump": "",
@@ -4908,7 +4908,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4908
4908
  "pagination-type": "offset",
4909
4909
  "preferences-storage-key": d.value,
4910
4910
  query: k.value,
4911
- "row-attributes": I,
4911
+ "row-attributes": _,
4912
4912
  "table-headers": m(y),
4913
4913
  "use-action-outside": e.useActionOutside,
4914
4914
  onClearSearchInput: S,
@@ -4917,7 +4917,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4917
4917
  onSort: p
4918
4918
  }, {
4919
4919
  "toolbar-filter": h(() => [
4920
- u.value ? P("", !0) : (f(), V(m(xs), {
4920
+ u.value ? P("", !0) : (f(), V(m($s), {
4921
4921
  key: 0,
4922
4922
  modelValue: k.value,
4923
4923
  "onUpdate:modelValue": G[0] || (G[0] = (Z) => k.value = Z),
@@ -4925,35 +4925,33 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4925
4925
  }, null, 8, ["modelValue", "config"]))
4926
4926
  ]),
4927
4927
  "toolbar-button": h(() => [
4928
- (f(), V(be(e.useActionOutside ? "Teleport" : "div"), {
4929
- to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4930
- }, {
4931
- default: h(() => [
4932
- T(m(Ze), {
4933
- "auth-function": () => e.canCreate()
4934
- }, {
4935
- default: h(() => [
4936
- Ie(T(X, {
4937
- appearance: "primary",
4938
- "data-testid": "toolbar-add-consumer",
4939
- size: "large",
4940
- to: e.config.consumerGroupId ? void 0 : e.config.createRoute,
4941
- onClick: G[1] || (G[1] = () => e.config.consumerGroupId ? Et() : void 0)
4942
- }, {
4943
- default: h(() => [
4944
- T(m(Kr)),
4945
- H(" " + j(e.config.consumerGroupId ? m(i)("consumers.actions.add_consumer") : m(i)("consumers.list.toolbar_actions.new_consumer")), 1)
4946
- ]),
4947
- _: 1
4948
- }, 8, ["to"]), [
4949
- [_e, Lt.value]
4950
- ])
4951
- ]),
4952
- _: 1
4953
- }, 8, ["auth-function"])
4954
- ]),
4955
- _: 1
4956
- }, 8, ["to"]))
4928
+ (f(), V(jr, {
4929
+ disabled: !e.useActionOutside,
4930
+ to: "#kong-ui-app-page-header-action-button"
4931
+ }, [
4932
+ T(m(Ze), {
4933
+ "auth-function": () => e.canCreate()
4934
+ }, {
4935
+ default: h(() => [
4936
+ _e(T(X, {
4937
+ appearance: "primary",
4938
+ "data-testid": "toolbar-add-consumer",
4939
+ size: "large",
4940
+ to: e.config.consumerGroupId ? void 0 : e.config.createRoute,
4941
+ onClick: G[1] || (G[1] = () => e.config.consumerGroupId ? Et() : void 0)
4942
+ }, {
4943
+ default: h(() => [
4944
+ T(m(Lr)),
4945
+ H(" " + j(e.config.consumerGroupId ? m(i)("consumers.actions.add_consumer") : m(i)("consumers.list.toolbar_actions.new_consumer")), 1)
4946
+ ]),
4947
+ _: 1
4948
+ }, 8, ["to"]), [
4949
+ [Ie, Lt.value]
4950
+ ])
4951
+ ]),
4952
+ _: 1
4953
+ }, 8, ["auth-function"])
4954
+ ], 8, ["disabled"]))
4957
4955
  ]),
4958
4956
  username: h(({ rowValue: Z }) => [
4959
4957
  F("b", null, j(A(Z)), 1)
@@ -4976,14 +4974,14 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4976
4974
  }, 1024))), 128))
4977
4975
  ]),
4978
4976
  _: 2
4979
- }, 1024)) : (f(), O("span", Xs, "-"))
4977
+ }, 1024)) : (f(), O("span", eu, "-"))
4980
4978
  ]),
4981
4979
  actions: h(({ row: Z }) => [
4982
4980
  T(Rt, null, {
4983
4981
  default: h(({ copyToClipboard: Oe }) => [
4984
4982
  T(De, {
4985
4983
  "data-testid": "action-entity-copy-id",
4986
- onClick: (Ir) => g(Z, Oe)
4984
+ onClick: (_r) => g(Z, Oe)
4987
4985
  }, {
4988
4986
  default: h(() => [
4989
4987
  H(j(m(i)("consumers.actions.copy_id")), 1)
@@ -4997,7 +4995,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
4997
4995
  default: h(({ copyToClipboard: Oe }) => [
4998
4996
  T(De, {
4999
4997
  "data-testid": "action-entity-copy-json",
5000
- onClick: (Ir) => K(Z, Oe)
4998
+ onClick: (_r) => K(Z, Oe)
5001
4999
  }, {
5002
5000
  default: h(() => [
5003
5001
  H(j(m(i)("consumers.actions.copy_json")), 1)
@@ -5014,7 +5012,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
5014
5012
  T(De, {
5015
5013
  "data-testid": "action-entity-view",
5016
5014
  "has-divider": "",
5017
- item: _(Z.id)
5015
+ item: I(Z.id)
5018
5016
  }, null, 8, ["item"])
5019
5017
  ]),
5020
5018
  _: 2
@@ -5051,7 +5049,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
5051
5049
  ]),
5052
5050
  _: 1
5053
5051
  }, 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"]),
5054
- T(m(ds), {
5052
+ T(m(ps), {
5055
5053
  "action-button-disabled": z.value,
5056
5054
  "data-testid": "delete-consumer-modal",
5057
5055
  description: m(i)("consumers.delete.description"),
@@ -5063,7 +5061,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
5063
5061
  onCancel: gr,
5064
5062
  onProceed: yr
5065
5063
  }, null, 8, ["action-button-disabled", "description", "entity-name", "entity-type", "error", "title", "visible"]),
5066
- e.config.consumerGroupId ? (f(), V(Ys, {
5064
+ e.config.consumerGroupId ? (f(), V(Qs, {
5067
5065
  key: 0,
5068
5066
  config: e.config,
5069
5067
  "data-testid": "add-consumer-modal",
@@ -5072,7 +5070,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
5072
5070
  "onAdd:success": G[5] || (G[5] = (Z) => Ft(Z)),
5073
5071
  onCancel: qt
5074
5072
  }, null, 8, ["config", "visible"])) : P("", !0),
5075
- e.config.consumerGroupId && Ce.value ? (f(), V(wr, {
5073
+ e.config.consumerGroupId && be.value ? (f(), V(wr, {
5076
5074
  key: 1,
5077
5075
  "action-button-appearance": "danger",
5078
5076
  "data-testid": "remove-consumer-modal",
@@ -5088,7 +5086,7 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
5088
5086
  tag: "p"
5089
5087
  }, Te({
5090
5088
  consumer: h(() => [
5091
- F("strong", null, j(Ce.value.username || Ce.value.custom_id || Ce.value.id), 1)
5089
+ F("strong", null, j(be.value.username || be.value.custom_id || be.value.id), 1)
5092
5090
  ]),
5093
5091
  _: 2
5094
5092
  }, [
@@ -5107,37 +5105,37 @@ const Ms = ["aria-labelledby"], Es = { class: "form-section-wrapper" }, qs = {
5107
5105
  ]);
5108
5106
  };
5109
5107
  }
5110
- }), _u = /* @__PURE__ */ Mt(eu, [["__scopeId", "data-v-4426459e"]]);
5108
+ }), Su = /* @__PURE__ */ Mt(tu, [["__scopeId", "data-v-20736a80"]]);
5111
5109
  let Qe;
5112
- const tu = new Uint8Array(16);
5113
- function nu() {
5110
+ const nu = new Uint8Array(16);
5111
+ function ru() {
5114
5112
  if (!Qe && (Qe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Qe))
5115
5113
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
5116
- return Qe(tu);
5114
+ return Qe(nu);
5117
5115
  }
5118
5116
  const ae = [];
5119
5117
  for (let e = 0; e < 256; ++e)
5120
5118
  ae.push((e + 256).toString(16).slice(1));
5121
- function ru(e, t = 0) {
5119
+ function au(e, t = 0) {
5122
5120
  return ae[e[t + 0]] + ae[e[t + 1]] + ae[e[t + 2]] + ae[e[t + 3]] + "-" + ae[e[t + 4]] + ae[e[t + 5]] + "-" + ae[e[t + 6]] + ae[e[t + 7]] + "-" + ae[e[t + 8]] + ae[e[t + 9]] + "-" + ae[e[t + 10]] + ae[e[t + 11]] + ae[e[t + 12]] + ae[e[t + 13]] + ae[e[t + 14]] + ae[e[t + 15]];
5123
5121
  }
5124
- const au = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), gn = {
5125
- randomUUID: au
5122
+ const iu = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), gn = {
5123
+ randomUUID: iu
5126
5124
  };
5127
- function iu(e, t, n) {
5125
+ function ou(e, t, n) {
5128
5126
  if (gn.randomUUID && !t && !e)
5129
5127
  return gn.randomUUID();
5130
5128
  e = e || {};
5131
- const r = e.random || (e.rng || nu)();
5129
+ const r = e.random || (e.rng || ru)();
5132
5130
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
5133
5131
  n = n || 0;
5134
5132
  for (let a = 0; a < 16; ++a)
5135
5133
  t[n + a] = r[a];
5136
5134
  return t;
5137
5135
  }
5138
- return ru(r);
5136
+ return au(r);
5139
5137
  }
5140
- const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { class: "fields-group-text" }, uu = ["aria-labelledby"], cu = /* @__PURE__ */ W({
5138
+ const lu = { class: "kong-ui-entities-consumer-form" }, su = ["id"], uu = { class: "fields-group-text" }, cu = ["aria-labelledby"], du = /* @__PURE__ */ W({
5141
5139
  __name: "ConsumerForm",
5142
5140
  props: {
5143
5141
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5156,7 +5154,7 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5156
5154
  emits: ["update", "error", "loading"],
5157
5155
  setup(e, { emit: t }) {
5158
5156
  var A;
5159
- const n = e, r = t, { i18nT: a, i18n: { t: i } } = at.useI18n(), o = _t(), { axiosInstance: l } = Ot((A = n.config) == null ? void 0 : A.axiosRequestConfig), { getMessageFromError: s } = Rs(), u = iu(), d = Vt({
5157
+ const n = e, r = t, { i18nT: a, i18n: { t: i } } = at.useI18n(), o = It(), { axiosInstance: l } = Ot((A = n.config) == null ? void 0 : A.axiosRequestConfig), { getMessageFromError: s } = Vs(), u = ou(), d = Vt({
5160
5158
  fields: {
5161
5159
  username: "",
5162
5160
  customId: "",
@@ -5174,19 +5172,19 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5174
5172
  }), y = () => {
5175
5173
  var b;
5176
5174
  o.push(((b = n.config) == null ? void 0 : b.cancelRoute) || { name: "consumer-list" });
5177
- }, I = (b) => {
5175
+ }, _ = (b) => {
5178
5176
  r("loading", b);
5179
5177
  }, M = (b) => {
5180
5178
  r("error", b);
5181
5179
  }, k = (b) => {
5182
- var K, E, _;
5180
+ var K, E, I;
5183
5181
  d.fields.username = ((K = b == null ? void 0 : b.item) == null ? void 0 : K.username) || (b == null ? void 0 : b.username) || "", d.fields.customId = ((E = b == null ? void 0 : b.item) == null ? void 0 : E.custom_id) || (b == null ? void 0 : b.custom_id) || "";
5184
- const g = ((_ = b == null ? void 0 : b.item) == null ? void 0 : _.tags) || (b == null ? void 0 : b.tags) || [];
5182
+ const g = ((I = b == null ? void 0 : b.item) == null ? void 0 : I.tags) || (b == null ? void 0 : b.tags) || [];
5185
5183
  d.fields.tags = (g == null ? void 0 : g.join(", ")) || "", Object.assign(c, d.fields);
5186
5184
  }, U = w(() => n.consumerId ? yt.Edit : yt.Create), $ = (b) => {
5187
- var K, E, _, x, L, D;
5185
+ var K, E, I, x, L, D;
5188
5186
  let g = `${(K = n.config) == null ? void 0 : K.apiBaseUrl}${je.form[(E = n.config) == null ? void 0 : E.app][b]}`;
5189
- return ((_ = n.config) == null ? void 0 : _.app) === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((x = n.config) == null ? void 0 : x.controlPlaneId) || "") : ((L = n.config) == null ? void 0 : L.app) === "kongManager" && (g = g.replace(/\/{workspace}/gi, (D = n.config) != null && D.workspace ? `/${n.config.workspace}` : "")), g = g.replace(/{id}/gi, n.consumerId), g;
5187
+ return ((I = n.config) == null ? void 0 : I.app) === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((x = n.config) == null ? void 0 : x.controlPlaneId) || "") : ((L = n.config) == null ? void 0 : L.app) === "kongManager" && (g = g.replace(/\/{workspace}/gi, (D = n.config) != null && D.workspace ? `/${n.config.workspace}` : "")), g = g.replace(/{id}/gi, n.consumerId), g;
5190
5188
  }, J = w(() => !!d.fields.username || !!d.fields.customId), v = w(() => JSON.stringify(d.fields) !== JSON.stringify(c)), S = w(() => {
5191
5189
  var b, g;
5192
5190
  return {
@@ -5208,8 +5206,8 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5208
5206
  };
5209
5207
  return (b, g) => {
5210
5208
  const K = R("KInput"), E = R("KCard");
5211
- return f(), O("div", ou, [
5212
- T(m(Xl), {
5209
+ return f(), O("div", lu, [
5210
+ T(m(es), {
5213
5211
  "can-submit": J.value && v.value,
5214
5212
  config: e.config,
5215
5213
  "edit-id": e.consumerId,
@@ -5218,14 +5216,14 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5218
5216
  "form-fields": S.value,
5219
5217
  "is-readonly": d.readonly,
5220
5218
  onCancel: y,
5221
- "onFetch:error": g[3] || (g[3] = (_) => M(_)),
5219
+ "onFetch:error": g[3] || (g[3] = (I) => M(I)),
5222
5220
  "onFetch:success": k,
5223
- onLoading: g[4] || (g[4] = (_) => I(_)),
5221
+ onLoading: g[4] || (g[4] = (I) => _(I)),
5224
5222
  onSubmit: p
5225
5223
  }, {
5226
5224
  default: h(() => [
5227
5225
  F("div", null, [
5228
- T(m(Ls), {
5226
+ T(m(Us), {
5229
5227
  description: m(i)("consumers.form.info.description"),
5230
5228
  "has-divider": "",
5231
5229
  title: m(i)("consumers.form.info.title")
@@ -5235,8 +5233,8 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5235
5233
  F("h3", {
5236
5234
  id: `fields-group-title-${m(u)}`,
5237
5235
  class: "fields-group-title"
5238
- }, j(m(i)("consumers.form.consumer_identification.title")) + "* ", 9, lu),
5239
- F("p", su, j(m(i)("consumers.form.consumer_identification.description")), 1)
5236
+ }, j(m(i)("consumers.form.consumer_identification.title")) + "* ", 9, su),
5237
+ F("p", uu, j(m(i)("consumers.form.consumer_identification.description")), 1)
5240
5238
  ]),
5241
5239
  T(E, null, {
5242
5240
  default: h(() => [
@@ -5245,7 +5243,7 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5245
5243
  }, [
5246
5244
  T(K, {
5247
5245
  modelValue: d.fields.username,
5248
- "onUpdate:modelValue": g[0] || (g[0] = (_) => d.fields.username = _),
5246
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => d.fields.username = I),
5249
5247
  modelModifiers: { trim: !0 },
5250
5248
  autocomplete: "off",
5251
5249
  class: "username-field",
@@ -5273,7 +5271,7 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5273
5271
  }, 8, ["modelValue", "label", "placeholder", "readonly"]),
5274
5272
  T(K, {
5275
5273
  modelValue: d.fields.customId,
5276
- "onUpdate:modelValue": g[1] || (g[1] = (_) => d.fields.customId = _),
5274
+ "onUpdate:modelValue": g[1] || (g[1] = (I) => d.fields.customId = I),
5277
5275
  modelModifiers: { trim: !0 },
5278
5276
  autocomplete: "off",
5279
5277
  "data-testid": "consumer-form-custom-id",
@@ -5298,13 +5296,13 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5298
5296
  ]),
5299
5297
  _: 1
5300
5298
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5301
- ], 8, uu)
5299
+ ], 8, cu)
5302
5300
  ]),
5303
5301
  _: 1
5304
5302
  }),
5305
5303
  T(K, {
5306
5304
  modelValue: d.fields.tags,
5307
- "onUpdate:modelValue": g[2] || (g[2] = (_) => d.fields.tags = _),
5305
+ "onUpdate:modelValue": g[2] || (g[2] = (I) => d.fields.tags = I),
5308
5306
  modelModifiers: { trim: !0 },
5309
5307
  autocomplete: "off",
5310
5308
  "data-testid": "consumer-form-tags",
@@ -5328,7 +5326,7 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5328
5326
  ]);
5329
5327
  };
5330
5328
  }
5331
- }), Su = /* @__PURE__ */ Mt(cu, [["__scopeId", "data-v-d3813a74"]]), du = { class: "kong-ui-consumer-entity-config-card" }, Au = /* @__PURE__ */ W({
5329
+ }), Au = /* @__PURE__ */ Mt(du, [["__scopeId", "data-v-d3813a74"]]), pu = { class: "kong-ui-consumer-entity-config-card" }, xu = /* @__PURE__ */ W({
5332
5330
  __name: "ConsumerConfigCard",
5333
5331
  props: {
5334
5332
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5380,8 +5378,8 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5380
5378
  hidden: !0
5381
5379
  }
5382
5380
  });
5383
- return (o, l) => (f(), O("div", du, [
5384
- T(m(Wl), {
5381
+ return (o, l) => (f(), O("div", pu, [
5382
+ T(m(Zl), {
5385
5383
  config: e.config,
5386
5384
  "config-card-doc": e.configCardDoc,
5387
5385
  "config-schema": i.value,
@@ -5419,7 +5417,7 @@ const ou = { class: "kong-ui-entities-consumer-form" }, lu = ["id"], su = { clas
5419
5417
  }
5420
5418
  });
5421
5419
  export {
5422
- Au as ConsumerConfigCard,
5423
- Su as ConsumerForm,
5424
- _u as ConsumerList
5420
+ xu as ConsumerConfigCard,
5421
+ Au as ConsumerForm,
5422
+ Su as ConsumerList
5425
5423
  };