@kong-ui-public/entities-gateway-services 2.2.8 → 2.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { defineComponent as re, ref as N, computed as M, resolveComponent as q, openBlock as v, createBlock as R, Teleport as ai, createVNode as C, withCtx as y, unref as f, createTextVNode as W, toDisplayString as V, createElementVNode as F, watch as we, renderSlot as Q, createCommentVNode as H, useSlots as at, onBeforeMount as ht, createSlots as Te, createElementBlock as $, renderList as ye, Fragment as ve, normalizeClass as $e, withModifiers as Ne, withDirectives as Re, vShow as De, useCssVars as oa, resolveDynamicComponent as Ke, normalizeProps as na, guardReactiveProps as la, mergeProps as dt, onMounted as ri, onUnmounted as sa, normalizeStyle as oi, inject as ca, pushScopeId as ni, popScopeId as li, reactive as $t } from "vue";
1
+ import { defineComponent as oe, ref as N, computed as $, resolveComponent as U, openBlock as h, createBlock as R, Teleport as ai, createVNode as C, withCtx as v, unref as f, createTextVNode as J, toDisplayString as O, createElementVNode as F, watch as we, renderSlot as Q, createCommentVNode as z, useSlots as at, onBeforeMount as ht, createSlots as $e, createElementBlock as j, renderList as ye, Fragment as ve, normalizeClass as Se, withModifiers as Ne, withDirectives as Re, vShow as De, useCssVars as ri, resolveDynamicComponent as qe, normalizeProps as na, guardReactiveProps as la, mergeProps as dt, onMounted as oi, onUnmounted as sa, normalizeStyle as ni, inject as ca, pushScopeId as li, popScopeId as si, reactive as jt } from "vue";
2
2
  import { useRouter as bt } from "vue-router";
3
- import { createI18n as wt, i18nTComponent as si } from "@kong-ui-public/i18n";
3
+ import { createI18n as wt, i18nTComponent as ci } from "@kong-ui-public/i18n";
4
4
  import ua from "axios";
5
5
  import { BadgeMethodAppearances as da } from "@kong/kongponents";
6
6
  const pa = {
@@ -186,7 +186,7 @@ function ba() {
186
186
  const e = wt("en-us", ha);
187
187
  return {
188
188
  i18n: e,
189
- i18nT: si(e)
189
+ i18nT: ci(e)
190
190
  // Translation component <i18n-t>
191
191
  };
192
192
  }
@@ -215,7 +215,7 @@ function wa() {
215
215
  const Ze = {
216
216
  useI18n: ba,
217
217
  usePortFromProtocol: wa
218
- }, He = {
218
+ }, ze = {
219
219
  list: {
220
220
  konnect: {
221
221
  all: "/v2/control-planes/{controlPlaneId}/core-entities/services"
@@ -237,7 +237,7 @@ const Ze = {
237
237
  }
238
238
  }
239
239
  };
240
- var ci = /* @__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))(ci || {}), pt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(pt || {}), xe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(xe || {}), te = /* @__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))(te || {}), pe = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(pe || {});
240
+ var ui = /* @__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))(ui || {}), pt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(pt || {}), Te = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Te || {}), te = /* @__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))(te || {}), pe = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(pe || {});
241
241
  function _t(e = {}) {
242
242
  return {
243
243
  axiosInstance: ua.create({
@@ -343,6 +343,9 @@ const Sa = {
343
343
  enabledLabel: "Enabled",
344
344
  disabledLabel: "Disabled"
345
345
  },
346
+ endpoints: {
347
+ get: "Get"
348
+ },
346
349
  copy: {
347
350
  tooltip: "Copy {label}",
348
351
  success: "Copied!"
@@ -355,7 +358,7 @@ const Sa = {
355
358
  entryTitle: "Entry {index}",
356
359
  structuredFormat: "Structured"
357
360
  }
358
- }, Ma = {
361
+ }, $a = {
359
362
  filterButtonText: "Filter",
360
363
  fieldLabel: "Filter by:",
361
364
  inputPlaceholder: "Enter a value",
@@ -363,12 +366,12 @@ const Sa = {
363
366
  applyButtonText: "Apply",
364
367
  clearButtonText: "Clear",
365
368
  clearAllButtonText: "Clear all filters"
366
- }, $a = {
369
+ }, ja = {
367
370
  errors: {
368
371
  fetch: "Could not fetch available items",
369
372
  invalid: "Please select a valid value"
370
373
  }
371
- }, ja = {
374
+ }, Ma = {
372
375
  unexpected: "An unexpected error has occurred",
373
376
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
374
377
  }, Ea = {
@@ -388,20 +391,20 @@ const Sa = {
388
391
  baseForm: Aa,
389
392
  baseTable: xa,
390
393
  baseConfigCard: Ta,
391
- filter: Ma,
392
- debouncedFilter: $a,
393
- errors: ja,
394
+ filter: $a,
395
+ debouncedFilter: ja,
396
+ errors: Ma,
394
397
  toggleModal: Ea
395
398
  };
396
399
  function kt() {
397
400
  const e = wt("en-us", Oa);
398
401
  return {
399
402
  i18n: e,
400
- i18nT: si(e)
403
+ i18nT: ci(e)
401
404
  // Translation component <i18n-t>
402
405
  };
403
406
  }
404
- function ui() {
407
+ function di() {
405
408
  const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, i = (t, r) => {
406
409
  if (t.length !== r.length)
407
410
  return !1;
@@ -454,77 +457,77 @@ function Va(e, i, t, r = {
454
457
  headers: e.requestHeaders
455
458
  }), { i18n: { t: n } } = kt(), { debounce: o } = _a(), s = o(async (I) => {
456
459
  await c(I);
457
- }, 200), l = N(!1), p = N(""), m = N(""), d = N([]), _ = N([]), h = N(void 0), T = f(i);
458
- let b = `${e.apiBaseUrl}${T}`;
459
- e.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
460
- const { isValidUuid: j } = ui(), k = async () => {
460
+ }, 200), l = N(!1), d = N(""), m = N(""), p = N([]), b = N([]), y = N(void 0), x = f(i);
461
+ let w = `${e.apiBaseUrl}${x}`;
462
+ e.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
463
+ const { isValidUuid: M } = di(), k = async () => {
461
464
  try {
462
465
  l.value = !0;
463
- const { data: I } = await a.get(`${b}?size=${t}`);
464
- I != null && I.next || (h.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : []), _.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : [], d.value = _.value;
466
+ const { data: I } = await a.get(`${w}?size=${t}`);
467
+ I != null && I.next || (y.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : []), b.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : [], p.value = b.value;
465
468
  } catch {
466
- d.value = [], p.value = n("debouncedFilter.errors.fetch");
469
+ p.value = [], d.value = n("debouncedFilter.errors.fetch");
467
470
  } finally {
468
471
  l.value = !1;
469
472
  }
470
473
  }, S = N(""), c = async (I) => {
471
- var K, P, oe;
474
+ var q, L, re;
472
475
  if (S.value !== I)
473
- if (S.value = I || "", h.value === void 0)
476
+ if (S.value = I || "", y.value === void 0)
474
477
  try {
475
- if (l.value = !0, p.value = "", m.value = "", e.app === "konnect") {
476
- let U = b + "";
477
- I && (U += `/${I}`);
478
- const { data: x } = await a.get(`${U}?size=${t}`);
479
- r.fetchedItemsKey in x ? d.value = x[r.fetchedItemsKey] : x != null && x.id ? d.value = [x] : d.value = [];
478
+ if (l.value = !0, d.value = "", m.value = "", e.app === "konnect") {
479
+ let P = w + "";
480
+ I && (P += `/${I}`);
481
+ const { data: T } = await a.get(`${P}?size=${t}`);
482
+ r.fetchedItemsKey in T ? p.value = T[r.fetchedItemsKey] : T != null && T.id ? p.value = [T] : p.value = [];
480
483
  } else if (I) {
481
- const U = [];
482
- j(I) && r.searchKeys.includes("id") ? U.push((async () => {
483
- const { data: L } = await a.get(`${b}/${I}`);
484
- return [L[r.fetchedItemsKey] ?? L];
485
- })()) : U.push(
486
- ...r.searchKeys.filter((L) => L !== "id").map(async (L) => {
487
- const { data: B } = await a.get(`${b}?${L}=${I}`);
484
+ const P = [];
485
+ M(I) && r.searchKeys.includes("id") ? P.push((async () => {
486
+ const { data: K } = await a.get(`${w}/${I}`);
487
+ return [K[r.fetchedItemsKey] ?? K];
488
+ })()) : P.push(
489
+ ...r.searchKeys.filter((K) => K !== "id").map(async (K) => {
490
+ const { data: B } = await a.get(`${w}?${K}=${I}`);
488
491
  return B[r.fetchedItemsKey];
489
492
  })
490
493
  );
491
- const x = await Promise.all(U), D = /* @__PURE__ */ new Set();
492
- d.value = [], (K = x == null ? void 0 : x.forEach) == null || K.call(x, (L) => {
494
+ const T = await Promise.all(P), D = /* @__PURE__ */ new Set();
495
+ p.value = [], (q = T == null ? void 0 : T.forEach) == null || q.call(T, (K) => {
493
496
  var B;
494
- (B = L == null ? void 0 : L.forEach) == null || B.call(L, (J) => {
495
- D.has(J.id) || (D.add(J.id), d.value.push(J));
497
+ (B = K == null ? void 0 : K.forEach) == null || B.call(K, (W) => {
498
+ D.has(W.id) || (D.add(W.id), p.value.push(W));
496
499
  });
497
500
  });
498
501
  } else
499
- d.value = _.value;
500
- } catch (U) {
501
- ((P = U == null ? void 0 : U.response) == null ? void 0 : P.status) === 404 ? m.value = n("debouncedFilter.errors.invalid") : (d.value = [], p.value = n("debouncedFilter.errors.fetch"));
502
+ p.value = b.value;
503
+ } catch (P) {
504
+ ((L = P == null ? void 0 : P.response) == null ? void 0 : L.status) === 404 ? m.value = n("debouncedFilter.errors.invalid") : (p.value = [], d.value = n("debouncedFilter.errors.fetch"));
502
505
  } finally {
503
506
  l.value = !1;
504
507
  }
505
508
  else
506
- l.value = !0, m.value = "", I ? (d.value = (oe = h.value) == null ? void 0 : oe.filter((U) => {
507
- var x;
509
+ l.value = !0, m.value = "", I ? (p.value = (re = y.value) == null ? void 0 : re.filter((P) => {
510
+ var T;
508
511
  let D = !1;
509
- for (const L of r.searchKeys) {
510
- const B = typeof U[L] == "string" ? (x = U[L]) == null ? void 0 : x.toLowerCase() : U[L];
512
+ for (const K of r.searchKeys) {
513
+ const B = typeof P[K] == "string" ? (T = P[K]) == null ? void 0 : T.toLowerCase() : P[K];
511
514
  B != null && B.includes(I.toLowerCase()) && (D = !0);
512
515
  }
513
516
  return D;
514
- }), (!d.value || !d.value.length) && (m.value = n("debouncedFilter.errors.invalid"))) : d.value = h.value, l.value = !1;
517
+ }), (!p.value || !p.value.length) && (m.value = n("debouncedFilter.errors.invalid"))) : p.value = y.value, l.value = !1;
515
518
  };
516
519
  return {
517
520
  loading: l,
518
- error: p,
521
+ error: d,
519
522
  validationError: m,
520
- results: d,
521
- allRecords: h,
523
+ results: p,
524
+ allRecords: y,
522
525
  loadItems: k,
523
526
  debouncedQueryChange: s
524
527
  };
525
528
  }
526
529
  function Fa(e, i) {
527
- const t = f(i), r = M(
530
+ const t = f(i), r = $(
528
531
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
529
532
  );
530
533
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
@@ -557,7 +560,7 @@ function Na() {
557
560
  }
558
561
  };
559
562
  }
560
- function Ka(e) {
563
+ function qa(e) {
561
564
  const i = window.location.origin, t = i.endsWith("/") ? i : `${i}/`;
562
565
  try {
563
566
  const r = e.join("/"), a = `${t}${r}`, n = e.some((o) => o.trim() === "");
@@ -568,87 +571,87 @@ function Ka(e) {
568
571
  return console.warn("Failed to build valid URL:", r), "";
569
572
  }
570
573
  }
571
- function di(e, i) {
572
- const t = N(f(e)), r = N(f(i)), a = M(
574
+ function pi(e, i) {
575
+ const t = N(f(e)), r = N(f(i)), a = $(
573
576
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
574
- ), n = M(
577
+ ), n = $(
575
578
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
576
579
  );
577
580
  return (o) => {
578
- const { page: s, pageSize: l, offset: p, sortColumnKey: m, sortColumnOrder: d, query: _ } = o;
581
+ const { page: s, pageSize: l, offset: d, sortColumnKey: m, sortColumnOrder: p, query: b } = o;
579
582
  try {
580
- let h = new URL(n.value.href);
581
- return a.value && _ ? (h.search = "", h = t.value.app === "konnect" ? new URL(`${h.href}?filter[name][contains]=${_}`) : new URL(`${h.href}/${_}/`)) : (a.value || new URLSearchParams(_).forEach((T, b) => {
582
- h.searchParams.append(b, T);
583
- }), m && h.searchParams.append("sort_by", m), d === "desc" && h.searchParams.append("sort_desc", "1"), h.searchParams.append("size", String(l))), p && s !== 1 && h.searchParams.append("offset", String(p)), h.href;
584
- } catch (h) {
585
- return console.error("RouteList(fetcher)", h), r.value;
583
+ let y = new URL(n.value.href);
584
+ return a.value && b ? (y.search = "", y = t.value.app === "konnect" ? new URL(`${y.href}?filter[name][contains]=${b}`) : new URL(`${y.href}/${b}/`)) : (a.value || new URLSearchParams(b).forEach((x, w) => {
585
+ y.searchParams.append(w, x);
586
+ }), m && y.searchParams.append("sort_by", m), p === "desc" && y.searchParams.append("sort_desc", "1"), y.searchParams.append("size", String(l))), d && s !== 1 && y.searchParams.append("offset", String(d)), y.href;
587
+ } catch (y) {
588
+ return console.error("RouteList(fetcher)", y), r.value;
586
589
  }
587
590
  };
588
591
  }
589
- function La(e, i, t = "data") {
592
+ function Ua(e, i, t = "data") {
590
593
  const r = f(i), { axiosInstance: a } = _t({
591
594
  headers: e.requestHeaders
592
- }), n = di(e, r), o = N({
593
- status: xe.Idle
595
+ }), n = pi(e, r), o = N({
596
+ status: Te.Idle
594
597
  });
595
598
  return { fetcher: async (s) => {
596
599
  try {
597
- o.value = { status: xe.Loading };
598
- const l = n(s), { data: p } = await a.get(l), m = t && t.replace(/[^\w-_]/gi, "");
599
- let d;
600
- p[m] && Array.isArray(p[m]) ? d = p[m] : Array.isArray(p) ? d = p : d = Object.keys(p).length ? [p] : [];
601
- const _ = {
602
- data: d,
603
- total: d.length,
604
- ...p.offset ? {
600
+ o.value = { status: Te.Loading };
601
+ const l = n(s), { data: d } = await a.get(l), m = t && t.replace(/[^\w-_]/gi, "");
602
+ let p;
603
+ d[m] && Array.isArray(d[m]) ? p = d[m] : Array.isArray(d) ? p = d : p = Object.keys(d).length ? [d] : [];
604
+ const b = {
605
+ data: p,
606
+ total: p.length,
607
+ ...d.offset ? {
605
608
  pagination: {
606
- offset: p.offset
609
+ offset: d.offset
607
610
  }
608
611
  } : null
609
612
  };
610
613
  return o.value = {
611
- status: xe.Idle,
612
- response: _
613
- }, _;
614
+ status: Te.Idle,
615
+ response: b
616
+ }, b;
614
617
  } catch (l) {
615
- const p = {
618
+ const d = {
616
619
  data: [],
617
620
  total: 0
618
621
  };
619
622
  return s.query && l.response.status === 404 ? (o.value = {
620
- status: xe.NoResults,
621
- response: p,
623
+ status: Te.NoResults,
624
+ response: d,
622
625
  error: l
623
- }, p) : (o.value = {
624
- status: xe.Error,
625
- response: p,
626
+ }, d) : (o.value = {
627
+ status: Te.Error,
628
+ response: d,
626
629
  error: l
627
- }, p);
630
+ }, d);
628
631
  }
629
632
  }, fetcherState: o };
630
633
  }
631
- function qa() {
634
+ function Ka() {
632
635
  const e = (t, r = "_") => t ? t.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", i = /(?:^|[\s-:'"])\w/g;
633
636
  return {
634
637
  capitalize: (t) => t ? t.replace(i, (r) => r.toUpperCase()) : "",
635
638
  convertKeyToTitle: e
636
639
  };
637
640
  }
638
- const pi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, jt = (e) => {
641
+ const fi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Mt = (e) => {
639
642
  if (typeof e != "string")
640
643
  throw new TypeError("Invalid argument expected string");
641
- const i = e.match(pi);
644
+ const i = e.match(fi);
642
645
  if (!i)
643
646
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
644
647
  return i.shift(), i;
645
648
  }, Et = (e) => e === "*" || e === "x" || e === "X", Ot = (e) => {
646
649
  const i = parseInt(e, 10);
647
650
  return isNaN(i) ? e : i;
648
- }, Pa = (e, i) => typeof e != typeof i ? [String(e), String(i)] : [e, i], Ba = (e, i) => {
651
+ }, La = (e, i) => typeof e != typeof i ? [String(e), String(i)] : [e, i], Ba = (e, i) => {
649
652
  if (Et(e) || Et(i))
650
653
  return 0;
651
- const [t, r] = Pa(Ot(e), Ot(i));
654
+ const [t, r] = La(Ot(e), Ot(i));
652
655
  return t > r ? 1 : t < r ? -1 : 0;
653
656
  }, Vt = (e, i) => {
654
657
  for (let t = 0; t < Math.max(e.length, i.length); t++) {
@@ -657,27 +660,27 @@ const pi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
657
660
  return r;
658
661
  }
659
662
  return 0;
660
- }, Ua = (e, i) => {
661
- const t = jt(e), r = jt(i), a = t.pop(), n = r.pop(), o = Vt(t, r);
663
+ }, Pa = (e, i) => {
664
+ const t = Mt(e), r = Mt(i), a = t.pop(), n = r.pop(), o = Vt(t, r);
662
665
  return o !== 0 ? o : a && n ? Vt(a.split("."), n.split(".")) : a || n ? a ? -1 : 1 : 0;
663
666
  }, Ft = (e, i, t) => {
664
667
  Ra(t);
665
- const r = Ua(e, i);
666
- return fi[t].includes(r);
667
- }, fi = {
668
+ const r = Pa(e, i);
669
+ return mi[t].includes(r);
670
+ }, mi = {
668
671
  ">": [1],
669
672
  ">=": [0, 1],
670
673
  "=": [0],
671
674
  "<=": [-1, 0],
672
675
  "<": [-1],
673
676
  "!=": [-1, 1]
674
- }, Nt = Object.keys(fi), Ra = (e) => {
677
+ }, Nt = Object.keys(mi), Ra = (e) => {
675
678
  if (typeof e != "string")
676
679
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
677
680
  if (Nt.indexOf(e) === -1)
678
681
  throw new Error(`Invalid operator, expected one of ${Nt.join("|")}`);
679
- }, Da = (e) => typeof e == "string" && /^[v\d]/.test(e) && pi.test(e);
680
- function Ha(e) {
682
+ }, Da = (e) => typeof e == "string" && /^[v\d]/.test(e) && fi.test(e);
683
+ function za(e) {
681
684
  const { gatewayInfo: i, supportedRange: t } = e;
682
685
  if (!i)
683
686
  return !0;
@@ -690,12 +693,12 @@ function Ha(e) {
690
693
  const [o, s] = n;
691
694
  return !(o && Ft(a, o, "<") || s && Ft(a, s, ">"));
692
695
  }
693
- function za(e) {
696
+ function Ha(e) {
694
697
  const i = N(0), t = N(0), r = N(!1);
695
698
  return we(e, (a) => {
696
699
  a && !r.value && (i.value = a.offsetWidth, t.value = a.scrollWidth, r.value = !0);
697
700
  }), {
698
- isTruncated: M(() => i.value < t.value)
701
+ isTruncated: $(() => i.value < t.value)
699
702
  };
700
703
  }
701
704
  const se = {
@@ -703,14 +706,14 @@ const se = {
703
706
  useDebouncedFilter: Va,
704
707
  useDeleteUrlBuilder: Fa,
705
708
  useErrors: Na,
706
- useExternalLinkCreator: Ka,
707
- useFetcher: La,
708
- useFetchUrlBuilder: di,
709
- useHelpers: ui,
710
- useStringHelpers: qa,
709
+ useExternalLinkCreator: qa,
710
+ useFetcher: Ua,
711
+ useFetchUrlBuilder: pi,
712
+ useHelpers: di,
713
+ useStringHelpers: Ka,
711
714
  useI18n: kt,
712
- useGatewayFeatureSupported: Ha,
713
- useTruncationDetector: za
715
+ useGatewayFeatureSupported: za,
716
+ useTruncationDetector: Ha
714
717
  }, Ga = {
715
718
  fail: "Failed to copy id to clipboard",
716
719
  success: {
@@ -720,18 +723,18 @@ const se = {
720
723
  }, Ja = "Copy to clipboard", Wa = {
721
724
  message: Ga,
722
725
  iconTitle: Ja
723
- }, Ya = "kong-ui-copy-uuid-notify", Kt = "24px", Za = (e, i) => {
726
+ }, Ya = "kong-ui-copy-uuid-notify", qt = "24px", Za = (e, i) => {
724
727
  const t = e.__vccOpts || e;
725
728
  for (const [r, a] of i)
726
729
  t[r] = a;
727
730
  return t;
728
- }, Qa = (e) => (ni("data-v-641e0aee"), e = e(), li(), e), Xa = ["aria-hidden"], er = {
731
+ }, Qa = (e) => (li("data-v-641e0aee"), e = e(), si(), e), Xa = ["aria-hidden"], er = {
729
732
  key: 0,
730
733
  "data-testid": "kui-icon-svg-title"
731
734
  }, tr = /* @__PURE__ */ Qa(() => /* @__PURE__ */ F("path", {
732
735
  d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
733
736
  fill: "currentColor"
734
- }, null, -1)), ir = /* @__PURE__ */ re({
737
+ }, null, -1)), ir = /* @__PURE__ */ oe({
735
738
  __name: "CopyIcon",
736
739
  props: {
737
740
  /** The accessibility text provided to screen readers */
@@ -762,7 +765,7 @@ const se = {
762
765
  size: {
763
766
  type: [Number, String],
764
767
  required: !1,
765
- default: Kt,
768
+ default: qt,
766
769
  // if setting to the imported const fails, just pass a number of 24 as the default.
767
770
  validator: (e) => {
768
771
  if (typeof e == "number" && e > 0)
@@ -783,7 +786,7 @@ const se = {
783
786
  }
784
787
  },
785
788
  setup(e) {
786
- const i = e, t = M(() => {
789
+ const i = e, t = $(() => {
787
790
  if (typeof i.size == "number" && i.size > 0)
788
791
  return `${i.size}px`;
789
792
  if (typeof i.size == "string") {
@@ -791,8 +794,8 @@ const se = {
791
794
  if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
792
795
  return `${n}px`;
793
796
  }
794
- return Kt;
795
- }), r = M(() => ({
797
+ return qt;
798
+ }), r = $(() => ({
796
799
  boxSizing: "border-box",
797
800
  color: i.color,
798
801
  display: i.display,
@@ -800,14 +803,14 @@ const se = {
800
803
  lineHeight: "0",
801
804
  width: t.value
802
805
  }));
803
- return (a, n) => (v(), R(Ke(e.as), {
806
+ return (a, n) => (h(), R(qe(e.as), {
804
807
  "aria-hidden": e.decorative ? "true" : void 0,
805
808
  class: "kui-icon copy-icon",
806
809
  "data-testid": "kui-icon-wrapper-copy-icon",
807
- style: oi(r.value)
810
+ style: ni(r.value)
808
811
  }, {
809
- default: y(() => [
810
- (v(), $("svg", {
812
+ default: v(() => [
813
+ (h(), j("svg", {
811
814
  "aria-hidden": e.decorative ? "true" : void 0,
812
815
  "data-testid": "kui-icon-svg-copy-icon",
813
816
  fill: "none",
@@ -817,14 +820,14 @@ const se = {
817
820
  width: "100%",
818
821
  xmlns: "http://www.w3.org/2000/svg"
819
822
  }, [
820
- e.title ? (v(), $("title", er, V(e.title), 1)) : H("", !0),
823
+ e.title ? (h(), j("title", er, O(e.title), 1)) : z("", !0),
821
824
  tr
822
825
  ], 8, Xa))
823
826
  ]),
824
827
  _: 1
825
828
  }, 8, ["aria-hidden", "style"]));
826
829
  }
827
- }), ar = /* @__PURE__ */ Za(ir, [["__scopeId", "data-v-641e0aee"]]), rr = "16px", or = { class: "kong-ui-copy-uuid" }, nr = ["onClick"], Lt = 15, lr = /* @__PURE__ */ re({
830
+ }), ar = /* @__PURE__ */ Za(ir, [["__scopeId", "data-v-641e0aee"]]), rr = "16px", or = { class: "kong-ui-copy-uuid" }, nr = ["onClick"], Ut = 15, lr = /* @__PURE__ */ oe({
828
831
  __name: "CopyUuid",
829
832
  props: {
830
833
  uuid: {
@@ -869,63 +872,63 @@ const se = {
869
872
  emits: ["success", "error"],
870
873
  setup(e, { emit: i }) {
871
874
  const { t } = wt("en-us", Wa), r = e, a = i, n = r.notify || ca(Ya, () => {
872
- }), o = M(() => r.idTooltip ? {
875
+ }), o = $(() => r.idTooltip ? {
873
876
  label: r.idTooltip,
874
877
  positionFixed: !0,
875
878
  placement: "bottomStart"
876
879
  } : {
877
880
  title: r.uuid
878
- }), s = M(() => !!(r.tooltip && r.successTooltip)), l = N(r.tooltip), p = M(() => r.tooltip ? {
881
+ }), s = $(() => !!(r.tooltip && r.successTooltip)), l = N(r.tooltip), d = $(() => r.tooltip ? {
879
882
  label: l.value,
880
883
  positionFixed: !0,
881
884
  maxWidth: "500px",
882
885
  placement: "bottomStart"
883
- } : {}), m = M(() => {
884
- var h;
885
- return r.format === "redacted" ? "*****" : r.format === "deleted" ? `*${(h = r.uuid) == null ? void 0 : h.substring(0, 5)}` : r.uuid;
886
- }), d = (h) => {
887
- l.value = h, setTimeout(() => {
886
+ } : {}), m = $(() => {
887
+ var y;
888
+ return r.format === "redacted" ? "*****" : r.format === "deleted" ? `*${(y = r.uuid) == null ? void 0 : y.substring(0, 5)}` : r.uuid;
889
+ }), p = (y) => {
890
+ l.value = y, setTimeout(() => {
888
891
  l.value = r.tooltip;
889
892
  }, 1800);
890
- }, _ = (h) => {
891
- var T, b;
892
- if (!h(r.uuid)) {
893
+ }, b = (y) => {
894
+ var x, w;
895
+ if (!y(r.uuid)) {
893
896
  typeof n == "function" && n({
894
897
  type: "error",
895
898
  message: t("message.fail")
896
- }), s.value ? d(t("message.fail")) : a("error", r.uuid);
899
+ }), s.value ? p(t("message.fail")) : a("error", r.uuid);
897
900
  return;
898
901
  }
899
- const j = ((T = r.uuid) == null ? void 0 : T.length) > Lt, k = r.format === "hidden" || r.format === "redacted" ? t("message.success.prefix") : `"${((b = r.uuid) == null ? void 0 : b.substring(0, Lt)) + (j ? "..." : "")}"`;
902
+ const M = ((x = r.uuid) == null ? void 0 : x.length) > Ut, k = r.format === "hidden" || r.format === "redacted" ? t("message.success.prefix") : `"${((w = r.uuid) == null ? void 0 : w.substring(0, Ut)) + (M ? "..." : "")}"`;
900
903
  typeof n == "function" && n({
901
904
  type: "success",
902
905
  message: `${k}${t("message.success.content")}`
903
- }), s.value ? d(r.successTooltip) : a("success", r.uuid);
906
+ }), s.value ? p(r.successTooltip) : a("success", r.uuid);
904
907
  };
905
- return (h, T) => {
906
- const b = q("KClipboardProvider");
907
- return v(), $("div", or, [
908
- e.format !== "hidden" ? (v(), R(Ke(e.idTooltip ? "KTooltip" : "div"), dt({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
909
- default: y(() => [
908
+ return (y, x) => {
909
+ const w = U("KClipboardProvider");
910
+ return h(), j("div", or, [
911
+ e.format !== "hidden" ? (h(), R(qe(e.idTooltip ? "KTooltip" : "div"), dt({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
912
+ default: v(() => [
910
913
  F("div", {
911
- class: $e([
914
+ class: Se([
912
915
  "uuid-container",
913
916
  e.truncated ? "truncated-uuid" : null,
914
917
  e.useMono ? "mono" : null
915
918
  ])
916
- }, V(m.value), 3)
919
+ }, O(m.value), 3)
917
920
  ]),
918
921
  _: 1
919
- }, 16)) : H("", !0),
920
- (v(), R(Ke(e.tooltip ? "KTooltip" : "div"), dt(p.value, { class: "uuid-icon-wrapper" }), {
921
- default: y(() => [
922
- C(b, null, {
923
- default: y(({ copyToClipboard: j }) => [
922
+ }, 16)) : z("", !0),
923
+ (h(), R(qe(e.tooltip ? "KTooltip" : "div"), dt(d.value, { class: "uuid-icon-wrapper" }), {
924
+ default: v(() => [
925
+ C(w, null, {
926
+ default: v(({ copyToClipboard: M }) => [
924
927
  F("span", {
925
928
  "data-testid": "copy-to-clipboard",
926
929
  role: "button",
927
930
  tabindex: "0",
928
- onClick: Ne((k) => _(j), ["stop"])
931
+ onClick: Ne((k) => b(M), ["stop"])
929
932
  }, [
930
933
  C(f(ar), {
931
934
  class: "uuid-icon",
@@ -949,10 +952,10 @@ const se = {
949
952
  for (const [r, a] of i)
950
953
  t[r] = a;
951
954
  return t;
952
- }, mi = /* @__PURE__ */ sr(lr, [["__scopeId", "data-v-0c07874b"]]), cr = {
955
+ }, gi = /* @__PURE__ */ sr(lr, [["__scopeId", "data-v-0c07874b"]]), cr = {
953
956
  key: 0,
954
957
  class: "config-card-fieldset-title"
955
- }, ur = /* @__PURE__ */ re({
958
+ }, ur = /* @__PURE__ */ oe({
956
959
  __name: "JsonCardItem",
957
960
  props: {
958
961
  item: {
@@ -969,22 +972,22 @@ const se = {
969
972
  }
970
973
  },
971
974
  setup(e) {
972
- const i = e, { i18n: { t } } = se.useI18n(), { convertKeyToTitle: r } = se.useStringHelpers(), a = M(() => i.item.key ?? "json-array-item"), n = M(() => i.item.value ?? i.item), o = M(() => {
975
+ const i = e, { i18n: { t } } = se.useI18n(), { convertKeyToTitle: r } = se.useStringHelpers(), a = $(() => i.item.key ?? "json-array-item"), n = $(() => i.item.value ?? i.item), o = $(() => {
973
976
  const l = JSON.parse(JSON.stringify(n.value));
974
977
  return i.isArrayItem && delete l.name, l;
975
- }), s = M(() => {
978
+ }), s = $(() => {
976
979
  var l;
977
980
  return i.isArrayItem ? (l = n.value) != null && l.name ? r(n.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: i.index }) : "";
978
981
  });
979
- return (l, p) => (v(), R(Ke(e.isArrayItem ? "fieldset" : "div"), {
980
- class: $e(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
982
+ return (l, d) => (h(), R(qe(e.isArrayItem ? "fieldset" : "div"), {
983
+ class: Se(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
981
984
  }, {
982
- default: y(() => [
983
- e.isArrayItem ? (v(), $("legend", cr, [
984
- F("b", null, V(s.value), 1)
985
- ])) : H("", !0),
986
- (v(!0), $(ve, null, ye(Object.keys(o.value), (m, d) => (v(), R(Ct, {
987
- key: `${a.value}-property-${d}`,
985
+ default: v(() => [
986
+ e.isArrayItem ? (h(), j("legend", cr, [
987
+ F("b", null, O(s.value), 1)
988
+ ])) : z("", !0),
989
+ (h(!0), j(ve, null, ye(Object.keys(o.value), (m, p) => (h(), R(Ct, {
990
+ key: `${a.value}-property-${p}`,
988
991
  item: {
989
992
  key: m,
990
993
  label: f(r)(m),
@@ -1000,7 +1003,7 @@ const se = {
1000
1003
  for (const [r, a] of i)
1001
1004
  t[r] = a;
1002
1005
  return t;
1003
- }, gi = /* @__PURE__ */ he(ur, [["__scopeId", "data-v-68ca83ec"]]), dr = /* @__PURE__ */ re({
1006
+ }, yi = /* @__PURE__ */ he(ur, [["__scopeId", "data-v-68ca83ec"]]), dr = /* @__PURE__ */ oe({
1004
1007
  __name: "InternalLinkItem",
1005
1008
  props: {
1006
1009
  item: {
@@ -1012,22 +1015,22 @@ const se = {
1012
1015
  setup(e) {
1013
1016
  const { i18n: { t: i } } = se.useI18n();
1014
1017
  return (t, r) => {
1015
- const a = q("KButton");
1016
- return v(), $("div", null, [
1018
+ const a = U("KButton");
1019
+ return h(), j("div", null, [
1017
1020
  C(a, {
1018
1021
  appearance: "tertiary",
1019
1022
  class: "navigation-button",
1020
1023
  onClick: r[0] || (r[0] = (n) => t.$emit("navigation-click", e.item))
1021
1024
  }, {
1022
- default: y(() => [
1023
- W(V(e.item.value || f(i)("baseConfigCard.commonFields.link")), 1)
1025
+ default: v(() => [
1026
+ J(O(e.item.value || f(i)("baseConfigCard.commonFields.link")), 1)
1024
1027
  ]),
1025
1028
  _: 1
1026
1029
  })
1027
1030
  ]);
1028
1031
  };
1029
1032
  }
1030
- }), pr = /* @__PURE__ */ he(dr, [["__scopeId", "data-v-c96811e5"]]), fr = /* @__PURE__ */ re({
1033
+ }), pr = /* @__PURE__ */ he(dr, [["__scopeId", "data-v-c96811e5"]]), fr = /* @__PURE__ */ oe({
1031
1034
  __name: "StatusBadge",
1032
1035
  props: {
1033
1036
  status: {
@@ -1038,22 +1041,22 @@ const se = {
1038
1041
  setup(e) {
1039
1042
  const { i18n: { t: i } } = se.useI18n();
1040
1043
  return (t, r) => {
1041
- const a = q("KBadge");
1042
- return v(), R(a, {
1044
+ const a = U("KBadge");
1045
+ return h(), R(a, {
1043
1046
  appearance: e.status ? "success" : "neutral"
1044
1047
  }, {
1045
- default: y(() => [
1046
- W(V(e.status ? f(i)("baseConfigCard.statusBadge.enabledLabel") : f(i)("baseConfigCard.statusBadge.disabledLabel")), 1)
1048
+ default: v(() => [
1049
+ J(O(e.status ? f(i)("baseConfigCard.statusBadge.enabledLabel") : f(i)("baseConfigCard.statusBadge.disabledLabel")), 1)
1047
1050
  ]),
1048
1051
  _: 1
1049
1052
  }, 8, ["appearance"]);
1050
1053
  };
1051
1054
  }
1052
- }), mr = "#0044f4", gr = "#e0e4ea", yr = "#3a3f51", vr = "1px", hr = "20px", br = { class: "config-card-details-row" }, wr = ["data-testid"], _r = ["data-testid"], kr = ["data-testid"], Cr = ["data-testid"], Sr = { key: 1 }, Ir = ["data-testid"], Ar = ["data-testid"], xr = ["data-testid"], Tr = ["data-testid"], Mr = {
1055
+ }), mr = "#0044f4", gr = "#e0e4ea", yr = "#3a3f51", vr = "1px", hr = "20px", br = { class: "config-card-details-row" }, wr = ["data-testid"], _r = ["data-testid"], kr = ["data-testid"], Cr = ["data-testid"], Sr = { key: 1 }, Ir = ["data-testid"], Ar = ["data-testid"], xr = ["data-testid"], Tr = ["data-testid"], $r = {
1053
1056
  name: "ConfigCardItem",
1054
- components: { CopyUuid: mi, JsonCardItem: gi, StatusBadge: fr, InternalLinkItem: pr }
1055
- }, $r = /* @__PURE__ */ re({
1056
- ...Mr,
1057
+ components: { CopyUuid: gi, JsonCardItem: yi, StatusBadge: fr, InternalLinkItem: pr }
1058
+ }, jr = /* @__PURE__ */ oe({
1059
+ ...$r,
1057
1060
  props: {
1058
1061
  item: {
1059
1062
  type: Object,
@@ -1072,13 +1075,13 @@ const se = {
1072
1075
  },
1073
1076
  emits: ["navigation-click"],
1074
1077
  setup(e, { emit: i }) {
1075
- oa((T) => ({
1078
+ ri((x) => ({
1076
1079
  "0da74440": m.value ? "none" : `solid ${f(vr)} ${f(gr)}`,
1077
- "02a039da": p.value && s.value ? "block" : "flex",
1078
- "690f3ced": p.value && s.value ? "100%" : t.slim ? "50%" : "25%",
1079
- "691182c8": p.value && s.value ? "100%" : t.slim ? "50%" : "75%"
1080
+ "02a039da": d.value && s.value ? "block" : "flex",
1081
+ "690f3ced": d.value && s.value ? "100%" : t.slim ? "50%" : "25%",
1082
+ "691182c8": d.value && s.value ? "100%" : t.slim ? "50%" : "75%"
1080
1083
  }));
1081
- const t = e, r = i, a = at(), { i18n: { t: n, formatUnixTimeStamp: o } } = se.useI18n(), s = M(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = M(() => !!(t.item.tooltip || a["label-tooltip"])), p = M(() => t.item.type === te.Json || t.item.type === te.JsonArray), m = M(() => t.item.type === te.JsonArray), d = M(() => {
1084
+ const t = e, r = i, a = at(), { i18n: { t: n, formatUnixTimeStamp: o } } = se.useI18n(), s = $(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = $(() => !!(t.item.tooltip || a["label-tooltip"])), d = $(() => t.item.type === te.Json || t.item.type === te.JsonArray), m = $(() => t.item.type === te.JsonArray), p = $(() => {
1082
1085
  switch (t.item.type) {
1083
1086
  case te.ID:
1084
1087
  return {
@@ -1164,8 +1167,8 @@ const se = {
1164
1167
  attrs: {
1165
1168
  "data-testid": `${t.item.key}-internal-link`,
1166
1169
  item: t.item,
1167
- onNavigationClick: (T) => {
1168
- r("navigation-click", T);
1170
+ onNavigationClick: (x) => {
1171
+ r("navigation-click", x);
1169
1172
  }
1170
1173
  }
1171
1174
  };
@@ -1204,29 +1207,29 @@ const se = {
1204
1207
  text: t.item.value
1205
1208
  };
1206
1209
  }
1207
- }), _ = N(), { isTruncated: h } = se.useTruncationDetector(_);
1208
- return (T, b) => {
1209
- const j = q("KLabel"), k = q("KBadge"), S = q("KTooltip");
1210
- return v(), $("div", br, [
1210
+ }), b = N(), { isTruncated: y } = se.useTruncationDetector(b);
1211
+ return (x, w) => {
1212
+ const M = U("KLabel"), k = U("KBadge"), S = U("KTooltip");
1213
+ return h(), j("div", br, [
1211
1214
  F("div", {
1212
1215
  class: "config-card-details-label",
1213
1216
  "data-testid": `${e.item.key}-label`
1214
1217
  }, [
1215
- Q(T.$slots, "label", { item: e.item }, () => [
1216
- C(j, { "tooltip-attributes": { maxWidth: "500px" } }, Te({
1217
- default: y(() => [
1218
- W(V(e.item.label) + " ", 1)
1218
+ Q(x.$slots, "label", { item: e.item }, () => [
1219
+ C(M, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
1220
+ default: v(() => [
1221
+ J(O(e.item.label) + " ", 1)
1219
1222
  ]),
1220
1223
  _: 2
1221
1224
  }, [
1222
1225
  l.value ? {
1223
1226
  name: "tooltip",
1224
- fn: y(() => [
1227
+ fn: v(() => [
1225
1228
  F("div", {
1226
1229
  "data-testid": `${e.item.key}-label-tooltip`
1227
1230
  }, [
1228
- Q(T.$slots, "label-tooltip", {}, () => [
1229
- W(V(e.item.tooltip), 1)
1231
+ Q(x.$slots, "label-tooltip", {}, () => [
1232
+ J(O(e.item.tooltip), 1)
1230
1233
  ], !0)
1231
1234
  ], 8, _r)
1232
1235
  ]),
@@ -1239,83 +1242,83 @@ const se = {
1239
1242
  class: "config-card-details-value",
1240
1243
  "data-testid": `${e.item.key}-property-value`
1241
1244
  }, [
1242
- Q(T.$slots, e.item.key, {
1245
+ Q(x.$slots, e.item.key, {
1243
1246
  rowValue: e.item.value
1244
1247
  }, () => [
1245
- s.value ? (v(), $("div", Sr, [
1246
- (v(), R(Ke(d.value.tag), na(la(d.value.attrs)), {
1247
- default: y(() => [
1248
- d.value.additionalComponent === "KBadge" ? (v(), $("div", {
1248
+ s.value ? (h(), j("div", Sr, [
1249
+ (h(), R(qe(p.value.tag), na(la(p.value.attrs)), {
1250
+ default: v(() => [
1251
+ p.value.additionalComponent === "KBadge" ? (h(), j("div", {
1249
1252
  key: 0,
1250
1253
  "data-testid": `${e.item.key}-badge-tags`
1251
1254
  }, [
1252
- (v(!0), $(ve, null, ye(e.item.value, (c, I) => (v(), R(k, {
1255
+ (h(!0), j(ve, null, ye(e.item.value, (c, I) => (h(), R(k, {
1253
1256
  key: `${e.item.key}-badge-tag-${I}`,
1254
1257
  class: "config-badge",
1255
1258
  "data-testid": `${e.item.key}-badge-tag-${I}`,
1256
1259
  tooltip: c,
1257
1260
  "truncation-tooltip": ""
1258
1261
  }, {
1259
- default: y(() => [
1260
- W(V(c), 1)
1262
+ default: v(() => [
1263
+ J(O(c), 1)
1261
1264
  ]),
1262
1265
  _: 2
1263
1266
  }, 1032, ["data-testid", "tooltip"]))), 128))
1264
- ], 8, Ir)) : H("", !0),
1265
- d.value.additionalComponent === "CopyUuid" ? (v(), $("div", {
1267
+ ], 8, Ir)) : z("", !0),
1268
+ p.value.additionalComponent === "CopyUuid" ? (h(), j("div", {
1266
1269
  key: 1,
1267
1270
  class: "copy-uuid-array",
1268
1271
  "data-testid": `${e.item.key}-copy-uuid-array`
1269
1272
  }, [
1270
- (v(!0), $(ve, null, ye(e.item.value, (c, I) => (v(), R(f(mi), dt(d.value.childAttrs, {
1273
+ (h(!0), j(ve, null, ye(e.item.value, (c, I) => (h(), R(f(gi), dt(p.value.childAttrs, {
1271
1274
  key: `${e.item.key}-copy-uuid-${I}`,
1272
1275
  "data-testid": `${e.item.key}-copy-uuid-${I}`,
1273
1276
  uuid: c
1274
1277
  }), null, 16, ["data-testid", "uuid"]))), 128))
1275
- ], 8, Ar)) : d.value.additionalComponent === "KMethodBadge" ? (v(), $("div", {
1278
+ ], 8, Ar)) : p.value.additionalComponent === "KMethodBadge" ? (h(), j("div", {
1276
1279
  key: 2,
1277
1280
  class: "method-badge-array",
1278
1281
  "data-testid": `${e.item.key}-badge-methods`
1279
1282
  }, [
1280
- (v(!0), $(ve, null, ye(e.item.value, (c, I) => (v(), R(k, {
1283
+ (h(!0), j(ve, null, ye(e.item.value, (c, I) => (h(), R(k, {
1281
1284
  key: `${e.item.key}-badge-method-${I}`,
1282
1285
  appearance: Object.values(f(da)).includes(c.toLowerCase()) ? c.toLowerCase() : "custom",
1283
1286
  class: "config-badge",
1284
1287
  "data-testid": `${e.item.key}-badge-method-${I}`
1285
1288
  }, {
1286
- default: y(() => [
1287
- W(V(c), 1)
1289
+ default: v(() => [
1290
+ J(O(c), 1)
1288
1291
  ]),
1289
1292
  _: 2
1290
1293
  }, 1032, ["appearance", "data-testid"]))), 128))
1291
- ], 8, xr)) : H("", !0),
1292
- d.value.additionalComponent === "JsonCardItem" ? (v(), $("div", {
1294
+ ], 8, xr)) : z("", !0),
1295
+ p.value.additionalComponent === "JsonCardItem" ? (h(), j("div", {
1293
1296
  key: 3,
1294
1297
  "data-testid": `${t.item.key}-json-array-content`
1295
1298
  }, [
1296
- (v(!0), $(ve, null, ye(e.item.value, (c, I) => (v(), R(gi, {
1299
+ (h(!0), j(ve, null, ye(e.item.value, (c, I) => (h(), R(yi, {
1297
1300
  key: `json-array-item-${I}`,
1298
1301
  index: I,
1299
1302
  "is-array-item": "",
1300
1303
  item: c
1301
1304
  }, null, 8, ["index", "item"]))), 128))
1302
- ], 8, Tr)) : (v(), R(S, {
1305
+ ], 8, Tr)) : (h(), R(S, {
1303
1306
  key: 4,
1304
- label: f(h) ? e.item.value : ""
1307
+ label: f(y) ? e.item.value : ""
1305
1308
  }, {
1306
- default: y(() => [
1309
+ default: v(() => [
1307
1310
  F("span", {
1308
1311
  ref_key: "textContent",
1309
- ref: _,
1310
- class: $e(["attrs-data-text", { truncated: e.truncated }])
1311
- }, V(d.value.text), 3)
1312
+ ref: b,
1313
+ class: Se(["attrs-data-text", { truncated: e.truncated }])
1314
+ }, O(p.value.text), 3)
1312
1315
  ]),
1313
1316
  _: 1
1314
1317
  }, 8, ["label"]))
1315
1318
  ]),
1316
1319
  _: 1
1317
1320
  }, 16))
1318
- ])) : (v(), $("div", {
1321
+ ])) : (h(), j("div", {
1319
1322
  key: 0,
1320
1323
  "data-testid": `${e.item.key}-no-value`
1321
1324
  }, " – ", 8, Cr))
@@ -1324,16 +1327,16 @@ const se = {
1324
1327
  ]);
1325
1328
  };
1326
1329
  }
1327
- }), Ct = /* @__PURE__ */ he($r, [["__scopeId", "data-v-9c87856b"]]);
1330
+ }), Ct = /* @__PURE__ */ he(jr, [["__scopeId", "data-v-9c87856b"]]);
1328
1331
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1329
- function yi(e) {
1332
+ function vi(e) {
1330
1333
  return typeof e > "u" || e === null;
1331
1334
  }
1332
- function jr(e) {
1335
+ function Mr(e) {
1333
1336
  return typeof e == "object" && e !== null;
1334
1337
  }
1335
1338
  function Er(e) {
1336
- return Array.isArray(e) ? e : yi(e) ? [] : [e];
1339
+ return Array.isArray(e) ? e : vi(e) ? [] : [e];
1337
1340
  }
1338
1341
  function Or(e, i) {
1339
1342
  var t, r, a, n;
@@ -1351,29 +1354,29 @@ function Vr(e, i) {
1351
1354
  function Fr(e) {
1352
1355
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1353
1356
  }
1354
- var Nr = yi, Kr = jr, Lr = Er, qr = Vr, Pr = Fr, Br = Or, le = {
1357
+ var Nr = vi, qr = Mr, Ur = Er, Kr = Vr, Lr = Fr, Br = Or, le = {
1355
1358
  isNothing: Nr,
1356
- isObject: Kr,
1357
- toArray: Lr,
1358
- repeat: qr,
1359
- isNegativeZero: Pr,
1359
+ isObject: qr,
1360
+ toArray: Ur,
1361
+ repeat: Kr,
1362
+ isNegativeZero: Lr,
1360
1363
  extend: Br
1361
1364
  };
1362
- function vi(e, i) {
1365
+ function hi(e, i) {
1363
1366
  var t = "", r = e.reason || "(unknown reason)";
1364
1367
  return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !i && e.mark.snippet && (t += `
1365
1368
 
1366
1369
  ` + e.mark.snippet), r + " " + t) : r;
1367
1370
  }
1368
- function ze(e, i) {
1369
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = i, this.message = vi(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1371
+ function He(e, i) {
1372
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = i, this.message = hi(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1370
1373
  }
1371
- ze.prototype = Object.create(Error.prototype);
1372
- ze.prototype.constructor = ze;
1373
- ze.prototype.toString = function(e) {
1374
- return this.name + ": " + vi(this, e);
1374
+ He.prototype = Object.create(Error.prototype);
1375
+ He.prototype.constructor = He;
1376
+ He.prototype.toString = function(e) {
1377
+ return this.name + ": " + hi(this, e);
1375
1378
  };
1376
- var me = ze;
1379
+ var me = He;
1377
1380
  function st(e, i, t, r, a) {
1378
1381
  var n = "", o = "", s = Math.floor(a / 2) - 1;
1379
1382
  return r - i > s && (n = " ... ", i = r - s + n.length), t - r > s && (o = " ...", t = r + s - o.length), {
@@ -1385,37 +1388,37 @@ function st(e, i, t, r, a) {
1385
1388
  function ct(e, i) {
1386
1389
  return le.repeat(" ", i - e.length) + e;
1387
1390
  }
1388
- function Ur(e, i) {
1391
+ function Pr(e, i) {
1389
1392
  if (i = Object.create(i || null), !e.buffer)
1390
1393
  return null;
1391
1394
  i.maxLength || (i.maxLength = 79), typeof i.indent != "number" && (i.indent = 1), typeof i.linesBefore != "number" && (i.linesBefore = 3), typeof i.linesAfter != "number" && (i.linesAfter = 2);
1392
1395
  for (var t = /\r?\n|\r|\0/g, r = [0], a = [], n, o = -1; n = t.exec(e.buffer); )
1393
1396
  a.push(n.index), r.push(n.index + n[0].length), e.position <= n.index && o < 0 && (o = r.length - 2);
1394
1397
  o < 0 && (o = r.length - 1);
1395
- var s = "", l, p, m = Math.min(e.line + i.linesAfter, a.length).toString().length, d = i.maxLength - (i.indent + m + 3);
1398
+ var s = "", l, d, m = Math.min(e.line + i.linesAfter, a.length).toString().length, p = i.maxLength - (i.indent + m + 3);
1396
1399
  for (l = 1; l <= i.linesBefore && !(o - l < 0); l++)
1397
- p = st(
1400
+ d = st(
1398
1401
  e.buffer,
1399
1402
  r[o - l],
1400
1403
  a[o - l],
1401
1404
  e.position - (r[o] - r[o - l]),
1402
- d
1403
- ), s = le.repeat(" ", i.indent) + ct((e.line - l + 1).toString(), m) + " | " + p.str + `
1405
+ p
1406
+ ), s = le.repeat(" ", i.indent) + ct((e.line - l + 1).toString(), m) + " | " + d.str + `
1404
1407
  ` + s;
1405
- for (p = st(e.buffer, r[o], a[o], e.position, d), s += le.repeat(" ", i.indent) + ct((e.line + 1).toString(), m) + " | " + p.str + `
1406
- `, s += le.repeat("-", i.indent + m + 3 + p.pos) + `^
1408
+ for (d = st(e.buffer, r[o], a[o], e.position, p), s += le.repeat(" ", i.indent) + ct((e.line + 1).toString(), m) + " | " + d.str + `
1409
+ `, s += le.repeat("-", i.indent + m + 3 + d.pos) + `^
1407
1410
  `, l = 1; l <= i.linesAfter && !(o + l >= a.length); l++)
1408
- p = st(
1411
+ d = st(
1409
1412
  e.buffer,
1410
1413
  r[o + l],
1411
1414
  a[o + l],
1412
1415
  e.position - (r[o] - r[o + l]),
1413
- d
1414
- ), s += le.repeat(" ", i.indent) + ct((e.line + l + 1).toString(), m) + " | " + p.str + `
1416
+ p
1417
+ ), s += le.repeat(" ", i.indent) + ct((e.line + l + 1).toString(), m) + " | " + d.str + `
1415
1418
  `;
1416
1419
  return s.replace(/\n$/, "");
1417
1420
  }
1418
- var Rr = Ur, Dr = [
1421
+ var Rr = Pr, Dr = [
1419
1422
  "kind",
1420
1423
  "multi",
1421
1424
  "resolve",
@@ -1426,12 +1429,12 @@ var Rr = Ur, Dr = [
1426
1429
  "representName",
1427
1430
  "defaultStyle",
1428
1431
  "styleAliases"
1429
- ], Hr = [
1432
+ ], zr = [
1430
1433
  "scalar",
1431
1434
  "sequence",
1432
1435
  "mapping"
1433
1436
  ];
1434
- function zr(e) {
1437
+ function Hr(e) {
1435
1438
  var i = {};
1436
1439
  return e !== null && Object.keys(e).forEach(function(t) {
1437
1440
  e[t].forEach(function(r) {
@@ -1447,11 +1450,11 @@ function Gr(e, i) {
1447
1450
  return !0;
1448
1451
  }, this.construct = i.construct || function(t) {
1449
1452
  return t;
1450
- }, this.instanceOf = i.instanceOf || null, this.predicate = i.predicate || null, this.represent = i.represent || null, this.representName = i.representName || null, this.defaultStyle = i.defaultStyle || null, this.multi = i.multi || !1, this.styleAliases = zr(i.styleAliases || null), Hr.indexOf(this.kind) === -1)
1453
+ }, this.instanceOf = i.instanceOf || null, this.predicate = i.predicate || null, this.represent = i.represent || null, this.representName = i.representName || null, this.defaultStyle = i.defaultStyle || null, this.multi = i.multi || !1, this.styleAliases = Hr(i.styleAliases || null), zr.indexOf(this.kind) === -1)
1451
1454
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1452
1455
  }
1453
1456
  var de = Gr;
1454
- function qt(e, i) {
1457
+ function Kt(e, i) {
1455
1458
  var t = [];
1456
1459
  return e[i].forEach(function(r) {
1457
1460
  var a = t.length;
@@ -1505,28 +1508,28 @@ ft.prototype.extend = function(e) {
1505
1508
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1506
1509
  });
1507
1510
  var r = Object.create(ft.prototype);
1508
- return r.implicit = (this.implicit || []).concat(i), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = qt(r, "implicit"), r.compiledExplicit = qt(r, "explicit"), r.compiledTypeMap = Jr(r.compiledImplicit, r.compiledExplicit), r;
1511
+ return r.implicit = (this.implicit || []).concat(i), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Kt(r, "implicit"), r.compiledExplicit = Kt(r, "explicit"), r.compiledTypeMap = Jr(r.compiledImplicit, r.compiledExplicit), r;
1509
1512
  };
1510
- var hi = ft, bi = new de("tag:yaml.org,2002:str", {
1513
+ var bi = ft, wi = new de("tag:yaml.org,2002:str", {
1511
1514
  kind: "scalar",
1512
1515
  construct: function(e) {
1513
1516
  return e !== null ? e : "";
1514
1517
  }
1515
- }), wi = new de("tag:yaml.org,2002:seq", {
1518
+ }), _i = new de("tag:yaml.org,2002:seq", {
1516
1519
  kind: "sequence",
1517
1520
  construct: function(e) {
1518
1521
  return e !== null ? e : [];
1519
1522
  }
1520
- }), _i = new de("tag:yaml.org,2002:map", {
1523
+ }), ki = new de("tag:yaml.org,2002:map", {
1521
1524
  kind: "mapping",
1522
1525
  construct: function(e) {
1523
1526
  return e !== null ? e : {};
1524
1527
  }
1525
- }), ki = new hi({
1528
+ }), Ci = new bi({
1526
1529
  explicit: [
1527
- bi,
1528
1530
  wi,
1529
- _i
1531
+ _i,
1532
+ ki
1530
1533
  ]
1531
1534
  });
1532
1535
  function Wr(e) {
@@ -1541,7 +1544,7 @@ function Yr() {
1541
1544
  function Zr(e) {
1542
1545
  return e === null;
1543
1546
  }
1544
- var Ci = new de("tag:yaml.org,2002:null", {
1547
+ var Si = new de("tag:yaml.org,2002:null", {
1545
1548
  kind: "scalar",
1546
1549
  resolve: Wr,
1547
1550
  construct: Yr,
@@ -1577,7 +1580,7 @@ function Xr(e) {
1577
1580
  function eo(e) {
1578
1581
  return Object.prototype.toString.call(e) === "[object Boolean]";
1579
1582
  }
1580
- var Si = new de("tag:yaml.org,2002:bool", {
1583
+ var Ii = new de("tag:yaml.org,2002:bool", {
1581
1584
  kind: "scalar",
1582
1585
  resolve: Qr,
1583
1586
  construct: Xr,
@@ -1668,7 +1671,7 @@ function oo(e) {
1668
1671
  function no(e) {
1669
1672
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !le.isNegativeZero(e);
1670
1673
  }
1671
- var Ii = new de("tag:yaml.org,2002:int", {
1674
+ var Ai = new de("tag:yaml.org,2002:int", {
1672
1675
  kind: "scalar",
1673
1676
  resolve: ro,
1674
1677
  construct: oo,
@@ -1745,31 +1748,31 @@ function po(e, i) {
1745
1748
  function fo(e) {
1746
1749
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || le.isNegativeZero(e));
1747
1750
  }
1748
- var Ai = new de("tag:yaml.org,2002:float", {
1751
+ var xi = new de("tag:yaml.org,2002:float", {
1749
1752
  kind: "scalar",
1750
1753
  resolve: so,
1751
1754
  construct: co,
1752
1755
  predicate: fo,
1753
1756
  represent: po,
1754
1757
  defaultStyle: "lowercase"
1755
- }), xi = ki.extend({
1758
+ }), Ti = Ci.extend({
1756
1759
  implicit: [
1757
- Ci,
1758
1760
  Si,
1759
1761
  Ii,
1760
- Ai
1762
+ Ai,
1763
+ xi
1761
1764
  ]
1762
- }), Ti = xi, Mi = new RegExp(
1765
+ }), $i = Ti, ji = new RegExp(
1763
1766
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1764
- ), $i = new RegExp(
1767
+ ), Mi = new RegExp(
1765
1768
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1766
1769
  );
1767
1770
  function mo(e) {
1768
- return e === null ? !1 : Mi.exec(e) !== null || $i.exec(e) !== null;
1771
+ return e === null ? !1 : ji.exec(e) !== null || Mi.exec(e) !== null;
1769
1772
  }
1770
1773
  function go(e) {
1771
- var i, t, r, a, n, o, s, l = 0, p = null, m, d, _;
1772
- if (i = Mi.exec(e), i === null && (i = $i.exec(e)), i === null)
1774
+ var i, t, r, a, n, o, s, l = 0, d = null, m, p, b;
1775
+ if (i = ji.exec(e), i === null && (i = Mi.exec(e)), i === null)
1773
1776
  throw new Error("Date resolve error");
1774
1777
  if (t = +i[1], r = +i[2] - 1, a = +i[3], !i[4])
1775
1778
  return new Date(Date.UTC(t, r, a));
@@ -1778,12 +1781,12 @@ function go(e) {
1778
1781
  l += "0";
1779
1782
  l = +l;
1780
1783
  }
1781
- return i[9] && (m = +i[10], d = +(i[11] || 0), p = (m * 60 + d) * 6e4, i[9] === "-" && (p = -p)), _ = new Date(Date.UTC(t, r, a, n, o, s, l)), p && _.setTime(_.getTime() - p), _;
1784
+ return i[9] && (m = +i[10], p = +(i[11] || 0), d = (m * 60 + p) * 6e4, i[9] === "-" && (d = -d)), b = new Date(Date.UTC(t, r, a, n, o, s, l)), d && b.setTime(b.getTime() - d), b;
1782
1785
  }
1783
1786
  function yo(e) {
1784
1787
  return e.toISOString();
1785
1788
  }
1786
- var ji = new de("tag:yaml.org,2002:timestamp", {
1789
+ var Ei = new de("tag:yaml.org,2002:timestamp", {
1787
1790
  kind: "scalar",
1788
1791
  resolve: mo,
1789
1792
  construct: go,
@@ -1793,7 +1796,7 @@ var ji = new de("tag:yaml.org,2002:timestamp", {
1793
1796
  function vo(e) {
1794
1797
  return e === "<<" || e === null;
1795
1798
  }
1796
- var Ei = new de("tag:yaml.org,2002:merge", {
1799
+ var Oi = new de("tag:yaml.org,2002:merge", {
1797
1800
  kind: "scalar",
1798
1801
  resolve: vo
1799
1802
  }), St = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1825,7 +1828,7 @@ function wo(e) {
1825
1828
  function _o(e) {
1826
1829
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1827
1830
  }
1828
- var Oi = new de("tag:yaml.org,2002:binary", {
1831
+ var Vi = new de("tag:yaml.org,2002:binary", {
1829
1832
  kind: "scalar",
1830
1833
  resolve: ho,
1831
1834
  construct: bo,
@@ -1857,7 +1860,7 @@ function So(e) {
1857
1860
  function Io(e) {
1858
1861
  return e !== null ? e : [];
1859
1862
  }
1860
- var Vi = new de("tag:yaml.org,2002:omap", {
1863
+ var Fi = new de("tag:yaml.org,2002:omap", {
1861
1864
  kind: "sequence",
1862
1865
  resolve: So,
1863
1866
  construct: Io
@@ -1881,46 +1884,46 @@ function To(e) {
1881
1884
  r = o[i], a = Object.keys(r), n[i] = [a[0], r[a[0]]];
1882
1885
  return n;
1883
1886
  }
1884
- var Fi = new de("tag:yaml.org,2002:pairs", {
1887
+ var Ni = new de("tag:yaml.org,2002:pairs", {
1885
1888
  kind: "sequence",
1886
1889
  resolve: xo,
1887
1890
  construct: To
1888
- }), Mo = Object.prototype.hasOwnProperty;
1889
- function $o(e) {
1891
+ }), $o = Object.prototype.hasOwnProperty;
1892
+ function jo(e) {
1890
1893
  if (e === null)
1891
1894
  return !0;
1892
1895
  var i, t = e;
1893
1896
  for (i in t)
1894
- if (Mo.call(t, i) && t[i] !== null)
1897
+ if ($o.call(t, i) && t[i] !== null)
1895
1898
  return !1;
1896
1899
  return !0;
1897
1900
  }
1898
- function jo(e) {
1901
+ function Mo(e) {
1899
1902
  return e !== null ? e : {};
1900
1903
  }
1901
- var Ni = new de("tag:yaml.org,2002:set", {
1904
+ var qi = new de("tag:yaml.org,2002:set", {
1902
1905
  kind: "mapping",
1903
- resolve: $o,
1904
- construct: jo
1905
- }), It = Ti.extend({
1906
+ resolve: jo,
1907
+ construct: Mo
1908
+ }), It = $i.extend({
1906
1909
  implicit: [
1907
- ji,
1908
- Ei
1910
+ Ei,
1911
+ Oi
1909
1912
  ],
1910
1913
  explicit: [
1911
- Oi,
1912
1914
  Vi,
1913
1915
  Fi,
1914
- Ni
1916
+ Ni,
1917
+ qi
1915
1918
  ]
1916
- }), Se = Object.prototype.hasOwnProperty, Qe = 1, Ki = 2, Li = 3, Xe = 4, ut = 1, Eo = 2, Pt = 3, Oo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vo = /[\x85\u2028\u2029]/, Fo = /[,\[\]\{\}]/, qi = /^(?:!|!!|![a-z\-]+!)$/i, Pi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1919
+ }), Ie = Object.prototype.hasOwnProperty, Qe = 1, Ui = 2, Ki = 3, Xe = 4, ut = 1, Eo = 2, Lt = 3, Oo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vo = /[\x85\u2028\u2029]/, Fo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, Bi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1917
1920
  function Bt(e) {
1918
1921
  return Object.prototype.toString.call(e);
1919
1922
  }
1920
1923
  function be(e) {
1921
1924
  return e === 10 || e === 13;
1922
1925
  }
1923
- function Me(e) {
1926
+ function je(e) {
1924
1927
  return e === 9 || e === 32;
1925
1928
  }
1926
1929
  function ge(e) {
@@ -1933,29 +1936,29 @@ function No(e) {
1933
1936
  var i;
1934
1937
  return 48 <= e && e <= 57 ? e - 48 : (i = e | 32, 97 <= i && i <= 102 ? i - 97 + 10 : -1);
1935
1938
  }
1936
- function Ko(e) {
1939
+ function qo(e) {
1937
1940
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1938
1941
  }
1939
- function Lo(e) {
1942
+ function Uo(e) {
1940
1943
  return 48 <= e && e <= 57 ? e - 48 : -1;
1941
1944
  }
1942
- function Ut(e) {
1945
+ function Pt(e) {
1943
1946
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1944
1947
  ` : 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" : "";
1945
1948
  }
1946
- function qo(e) {
1949
+ function Ko(e) {
1947
1950
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1948
1951
  (e - 65536 >> 10) + 55296,
1949
1952
  (e - 65536 & 1023) + 56320
1950
1953
  );
1951
1954
  }
1952
- var Bi = new Array(256), Ui = new Array(256);
1955
+ var Pi = new Array(256), Ri = new Array(256);
1953
1956
  for (var Ee = 0; Ee < 256; Ee++)
1954
- Bi[Ee] = Ut(Ee) ? 1 : 0, Ui[Ee] = Ut(Ee);
1955
- function Po(e, i) {
1957
+ Pi[Ee] = Pt(Ee) ? 1 : 0, Ri[Ee] = Pt(Ee);
1958
+ function Lo(e, i) {
1956
1959
  this.input = e, this.filename = i.filename || null, this.schema = i.schema || It, this.onWarning = i.onWarning || null, this.legacy = i.legacy || !1, this.json = i.json || !1, this.listener = i.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1957
1960
  }
1958
- function Ri(e, i) {
1961
+ function Di(e, i) {
1959
1962
  var t = {
1960
1963
  name: e.filename,
1961
1964
  buffer: e.input.slice(0, -1),
@@ -1967,10 +1970,10 @@ function Ri(e, i) {
1967
1970
  return t.snippet = Rr(t), new me(i, t);
1968
1971
  }
1969
1972
  function E(e, i) {
1970
- throw Ri(e, i);
1973
+ throw Di(e, i);
1971
1974
  }
1972
1975
  function et(e, i) {
1973
- e.onWarning && e.onWarning.call(null, Ri(e, i));
1976
+ e.onWarning && e.onWarning.call(null, Di(e, i));
1974
1977
  }
1975
1978
  var Rt = {
1976
1979
  YAML: function(e, i, t) {
@@ -1979,7 +1982,7 @@ var Rt = {
1979
1982
  },
1980
1983
  TAG: function(e, i, t) {
1981
1984
  var r, a;
1982
- t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], qi.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Se.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Pi.test(a) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1985
+ t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Li.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Ie.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Bi.test(a) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1983
1986
  try {
1984
1987
  a = decodeURIComponent(a);
1985
1988
  } catch {
@@ -2002,21 +2005,21 @@ function Ce(e, i, t, r) {
2002
2005
  function Dt(e, i, t, r) {
2003
2006
  var a, n, o, s;
2004
2007
  for (le.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, s = a.length; o < s; o += 1)
2005
- n = a[o], Se.call(i, n) || (i[n] = t[n], r[n] = !0);
2008
+ n = a[o], Ie.call(i, n) || (i[n] = t[n], r[n] = !0);
2006
2009
  }
2007
2010
  function Fe(e, i, t, r, a, n, o, s, l) {
2008
- var p, m;
2011
+ var d, m;
2009
2012
  if (Array.isArray(a))
2010
- for (a = Array.prototype.slice.call(a), p = 0, m = a.length; p < m; p += 1)
2011
- Array.isArray(a[p]) && E(e, "nested arrays are not supported inside keys"), typeof a == "object" && Bt(a[p]) === "[object Object]" && (a[p] = "[object Object]");
2013
+ for (a = Array.prototype.slice.call(a), d = 0, m = a.length; d < m; d += 1)
2014
+ Array.isArray(a[d]) && E(e, "nested arrays are not supported inside keys"), typeof a == "object" && Bt(a[d]) === "[object Object]" && (a[d] = "[object Object]");
2012
2015
  if (typeof a == "object" && Bt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), i === null && (i = {}), r === "tag:yaml.org,2002:merge")
2013
2016
  if (Array.isArray(n))
2014
- for (p = 0, m = n.length; p < m; p += 1)
2015
- Dt(e, i, n[p], t);
2017
+ for (d = 0, m = n.length; d < m; d += 1)
2018
+ Dt(e, i, n[d], t);
2016
2019
  else
2017
2020
  Dt(e, i, n, t);
2018
2021
  else
2019
- !e.json && !Se.call(t, a) && Se.call(i, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(i, a, {
2022
+ !e.json && !Ie.call(t, a) && Ie.call(i, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(i, a, {
2020
2023
  configurable: !0,
2021
2024
  enumerable: !0,
2022
2025
  writable: !0,
@@ -2030,7 +2033,7 @@ function At(e) {
2030
2033
  }
2031
2034
  function ne(e, i, t) {
2032
2035
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
2033
- for (; Me(a); )
2036
+ for (; je(a); )
2034
2037
  a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
2035
2038
  if (i && a === 35)
2036
2039
  do
@@ -2053,33 +2056,33 @@ function xt(e, i) {
2053
2056
  `, i - 1));
2054
2057
  }
2055
2058
  function Bo(e, i, t) {
2056
- var r, a, n, o, s, l, p, m, d = e.kind, _ = e.result, h;
2057
- if (h = e.input.charCodeAt(e.position), ge(h) || Ve(h) || h === 35 || h === 38 || h === 42 || h === 33 || h === 124 || h === 62 || h === 39 || h === 34 || h === 37 || h === 64 || h === 96 || (h === 63 || h === 45) && (a = e.input.charCodeAt(e.position + 1), ge(a) || t && Ve(a)))
2059
+ var r, a, n, o, s, l, d, m, p = e.kind, b = e.result, y;
2060
+ if (y = e.input.charCodeAt(e.position), ge(y) || Ve(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), ge(a) || t && Ve(a)))
2058
2061
  return !1;
2059
- for (e.kind = "scalar", e.result = "", n = o = e.position, s = !1; h !== 0; ) {
2060
- if (h === 58) {
2062
+ for (e.kind = "scalar", e.result = "", n = o = e.position, s = !1; y !== 0; ) {
2063
+ if (y === 58) {
2061
2064
  if (a = e.input.charCodeAt(e.position + 1), ge(a) || t && Ve(a))
2062
2065
  break;
2063
- } else if (h === 35) {
2066
+ } else if (y === 35) {
2064
2067
  if (r = e.input.charCodeAt(e.position - 1), ge(r))
2065
2068
  break;
2066
2069
  } else {
2067
- if (e.position === e.lineStart && rt(e) || t && Ve(h))
2070
+ if (e.position === e.lineStart && rt(e) || t && Ve(y))
2068
2071
  break;
2069
- if (be(h))
2070
- if (l = e.line, p = e.lineStart, m = e.lineIndent, ne(e, !1, -1), e.lineIndent >= i) {
2071
- s = !0, h = e.input.charCodeAt(e.position);
2072
+ if (be(y))
2073
+ if (l = e.line, d = e.lineStart, m = e.lineIndent, ne(e, !1, -1), e.lineIndent >= i) {
2074
+ s = !0, y = e.input.charCodeAt(e.position);
2072
2075
  continue;
2073
2076
  } else {
2074
- e.position = o, e.line = l, e.lineStart = p, e.lineIndent = m;
2077
+ e.position = o, e.line = l, e.lineStart = d, e.lineIndent = m;
2075
2078
  break;
2076
2079
  }
2077
2080
  }
2078
- s && (Ce(e, n, o, !1), xt(e, e.line - l), n = o = e.position, s = !1), Me(h) || (o = e.position + 1), h = e.input.charCodeAt(++e.position);
2081
+ s && (Ce(e, n, o, !1), xt(e, e.line - l), n = o = e.position, s = !1), je(y) || (o = e.position + 1), y = e.input.charCodeAt(++e.position);
2079
2082
  }
2080
- return Ce(e, n, o, !1), e.result ? !0 : (e.kind = d, e.result = _, !1);
2083
+ return Ce(e, n, o, !1), e.result ? !0 : (e.kind = p, e.result = b, !1);
2081
2084
  }
2082
- function Uo(e, i) {
2085
+ function Po(e, i) {
2083
2086
  var t, r, a;
2084
2087
  if (t = e.input.charCodeAt(e.position), t !== 39)
2085
2088
  return !1;
@@ -2103,12 +2106,12 @@ function Ro(e, i) {
2103
2106
  if (s === 92) {
2104
2107
  if (Ce(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), be(s))
2105
2108
  ne(e, !1, i);
2106
- else if (s < 256 && Bi[s])
2107
- e.result += Ui[s], e.position++;
2108
- else if ((o = Ko(s)) > 0) {
2109
+ else if (s < 256 && Pi[s])
2110
+ e.result += Ri[s], e.position++;
2111
+ else if ((o = qo(s)) > 0) {
2109
2112
  for (a = o, n = 0; a > 0; a--)
2110
2113
  s = e.input.charCodeAt(++e.position), (o = No(s)) >= 0 ? n = (n << 4) + o : E(e, "expected hexadecimal character");
2111
- e.result += qo(n), e.position++;
2114
+ e.result += Ko(n), e.position++;
2112
2115
  } else
2113
2116
  E(e, "unknown escape sequence");
2114
2117
  t = r = e.position;
@@ -2118,68 +2121,68 @@ function Ro(e, i) {
2118
2121
  E(e, "unexpected end of the stream within a double quoted scalar");
2119
2122
  }
2120
2123
  function Do(e, i) {
2121
- var t = !0, r, a, n, o = e.tag, s, l = e.anchor, p, m, d, _, h, T = /* @__PURE__ */ Object.create(null), b, j, k, S;
2124
+ var t = !0, r, a, n, o = e.tag, s, l = e.anchor, d, m, p, b, y, x = /* @__PURE__ */ Object.create(null), w, M, k, S;
2122
2125
  if (S = e.input.charCodeAt(e.position), S === 91)
2123
- m = 93, h = !1, s = [];
2126
+ m = 93, y = !1, s = [];
2124
2127
  else if (S === 123)
2125
- m = 125, h = !0, s = {};
2128
+ m = 125, y = !0, s = {};
2126
2129
  else
2127
2130
  return !1;
2128
2131
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), S = e.input.charCodeAt(++e.position); S !== 0; ) {
2129
2132
  if (ne(e, !0, i), S = e.input.charCodeAt(e.position), S === m)
2130
- return e.position++, e.tag = o, e.anchor = l, e.kind = h ? "mapping" : "sequence", e.result = s, !0;
2131
- t ? S === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), j = b = k = null, d = _ = !1, S === 63 && (p = e.input.charCodeAt(e.position + 1), ge(p) && (d = _ = !0, e.position++, ne(e, !0, i))), r = e.line, a = e.lineStart, n = e.position, Le(e, i, Qe, !1, !0), j = e.tag, b = e.result, ne(e, !0, i), S = e.input.charCodeAt(e.position), (_ || e.line === r) && S === 58 && (d = !0, S = e.input.charCodeAt(++e.position), ne(e, !0, i), Le(e, i, Qe, !1, !0), k = e.result), h ? Fe(e, s, T, j, b, k, r, a, n) : d ? s.push(Fe(e, null, T, j, b, k, r, a, n)) : s.push(b), ne(e, !0, i), S = e.input.charCodeAt(e.position), S === 44 ? (t = !0, S = e.input.charCodeAt(++e.position)) : t = !1;
2133
+ return e.position++, e.tag = o, e.anchor = l, e.kind = y ? "mapping" : "sequence", e.result = s, !0;
2134
+ t ? S === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), M = w = k = null, p = b = !1, S === 63 && (d = e.input.charCodeAt(e.position + 1), ge(d) && (p = b = !0, e.position++, ne(e, !0, i))), r = e.line, a = e.lineStart, n = e.position, Ue(e, i, Qe, !1, !0), M = e.tag, w = e.result, ne(e, !0, i), S = e.input.charCodeAt(e.position), (b || e.line === r) && S === 58 && (p = !0, S = e.input.charCodeAt(++e.position), ne(e, !0, i), Ue(e, i, Qe, !1, !0), k = e.result), y ? Fe(e, s, x, M, w, k, r, a, n) : p ? s.push(Fe(e, null, x, M, w, k, r, a, n)) : s.push(w), ne(e, !0, i), S = e.input.charCodeAt(e.position), S === 44 ? (t = !0, S = e.input.charCodeAt(++e.position)) : t = !1;
2132
2135
  }
2133
2136
  E(e, "unexpected end of the stream within a flow collection");
2134
2137
  }
2135
- function Ho(e, i) {
2136
- var t, r, a = ut, n = !1, o = !1, s = i, l = 0, p = !1, m, d;
2137
- if (d = e.input.charCodeAt(e.position), d === 124)
2138
+ function zo(e, i) {
2139
+ var t, r, a = ut, n = !1, o = !1, s = i, l = 0, d = !1, m, p;
2140
+ if (p = e.input.charCodeAt(e.position), p === 124)
2138
2141
  r = !1;
2139
- else if (d === 62)
2142
+ else if (p === 62)
2140
2143
  r = !0;
2141
2144
  else
2142
2145
  return !1;
2143
- for (e.kind = "scalar", e.result = ""; d !== 0; )
2144
- if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45)
2145
- ut === a ? a = d === 43 ? Pt : Eo : E(e, "repeat of a chomping mode identifier");
2146
- else if ((m = Lo(d)) >= 0)
2146
+ for (e.kind = "scalar", e.result = ""; p !== 0; )
2147
+ if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2148
+ ut === a ? a = p === 43 ? Lt : Eo : E(e, "repeat of a chomping mode identifier");
2149
+ else if ((m = Uo(p)) >= 0)
2147
2150
  m === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? E(e, "repeat of an indentation width identifier") : (s = i + m - 1, o = !0);
2148
2151
  else
2149
2152
  break;
2150
- if (Me(d)) {
2153
+ if (je(p)) {
2151
2154
  do
2152
- d = e.input.charCodeAt(++e.position);
2153
- while (Me(d));
2154
- if (d === 35)
2155
+ p = e.input.charCodeAt(++e.position);
2156
+ while (je(p));
2157
+ if (p === 35)
2155
2158
  do
2156
- d = e.input.charCodeAt(++e.position);
2157
- while (!be(d) && d !== 0);
2159
+ p = e.input.charCodeAt(++e.position);
2160
+ while (!be(p) && p !== 0);
2158
2161
  }
2159
- for (; d !== 0; ) {
2160
- for (At(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32; )
2161
- e.lineIndent++, d = e.input.charCodeAt(++e.position);
2162
- if (!o && e.lineIndent > s && (s = e.lineIndent), be(d)) {
2162
+ for (; p !== 0; ) {
2163
+ for (At(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && p === 32; )
2164
+ e.lineIndent++, p = e.input.charCodeAt(++e.position);
2165
+ if (!o && e.lineIndent > s && (s = e.lineIndent), be(p)) {
2163
2166
  l++;
2164
2167
  continue;
2165
2168
  }
2166
2169
  if (e.lineIndent < s) {
2167
- a === Pt ? e.result += le.repeat(`
2170
+ a === Lt ? e.result += le.repeat(`
2168
2171
  `, n ? 1 + l : l) : a === ut && n && (e.result += `
2169
2172
  `);
2170
2173
  break;
2171
2174
  }
2172
- for (r ? Me(d) ? (p = !0, e.result += le.repeat(`
2173
- `, n ? 1 + l : l)) : p ? (p = !1, e.result += le.repeat(`
2175
+ for (r ? je(p) ? (d = !0, e.result += le.repeat(`
2176
+ `, n ? 1 + l : l)) : d ? (d = !1, e.result += le.repeat(`
2174
2177
  `, l + 1)) : l === 0 ? n && (e.result += " ") : e.result += le.repeat(`
2175
2178
  `, l) : e.result += le.repeat(`
2176
- `, n ? 1 + l : l), n = !0, o = !0, l = 0, t = e.position; !be(d) && d !== 0; )
2177
- d = e.input.charCodeAt(++e.position);
2179
+ `, n ? 1 + l : l), n = !0, o = !0, l = 0, t = e.position; !be(p) && p !== 0; )
2180
+ p = e.input.charCodeAt(++e.position);
2178
2181
  Ce(e, t, e.position, !1);
2179
2182
  }
2180
2183
  return !0;
2181
2184
  }
2182
- function Ht(e, i) {
2185
+ function zt(e, i) {
2183
2186
  var t, r = e.tag, a = e.anchor, n = [], o, s = !1, l;
2184
2187
  if (e.firstTabInLine !== -1)
2185
2188
  return !1;
@@ -2188,43 +2191,43 @@ function Ht(e, i) {
2188
2191
  n.push(null), l = e.input.charCodeAt(e.position);
2189
2192
  continue;
2190
2193
  }
2191
- if (t = e.line, Le(e, i, Li, !1, !0), n.push(e.result), ne(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && l !== 0)
2194
+ if (t = e.line, Ue(e, i, Ki, !1, !0), n.push(e.result), ne(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && l !== 0)
2192
2195
  E(e, "bad indentation of a sequence entry");
2193
2196
  else if (e.lineIndent < i)
2194
2197
  break;
2195
2198
  }
2196
2199
  return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = n, !0) : !1;
2197
2200
  }
2198
- function zo(e, i, t) {
2199
- var r, a, n, o, s, l, p = e.tag, m = e.anchor, d = {}, _ = /* @__PURE__ */ Object.create(null), h = null, T = null, b = null, j = !1, k = !1, S;
2201
+ function Ho(e, i, t) {
2202
+ var r, a, n, o, s, l, d = e.tag, m = e.anchor, p = {}, b = /* @__PURE__ */ Object.create(null), y = null, x = null, w = null, M = !1, k = !1, S;
2200
2203
  if (e.firstTabInLine !== -1)
2201
2204
  return !1;
2202
- for (e.anchor !== null && (e.anchorMap[e.anchor] = d), S = e.input.charCodeAt(e.position); S !== 0; ) {
2203
- if (!j && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), n = e.line, (S === 63 || S === 58) && ge(r))
2204
- S === 63 ? (j && (Fe(e, d, _, h, T, null, o, s, l), h = T = b = null), k = !0, j = !0, a = !0) : j ? (j = !1, a = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, S = r;
2205
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = p), S = e.input.charCodeAt(e.position); S !== 0; ) {
2206
+ if (!M && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), n = e.line, (S === 63 || S === 58) && ge(r))
2207
+ S === 63 ? (M && (Fe(e, p, b, y, x, null, o, s, l), y = x = w = null), k = !0, M = !0, a = !0) : M ? (M = !1, a = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, S = r;
2205
2208
  else {
2206
- if (o = e.line, s = e.lineStart, l = e.position, !Le(e, t, Ki, !1, !0))
2209
+ if (o = e.line, s = e.lineStart, l = e.position, !Ue(e, t, Ui, !1, !0))
2207
2210
  break;
2208
2211
  if (e.line === n) {
2209
- for (S = e.input.charCodeAt(e.position); Me(S); )
2212
+ for (S = e.input.charCodeAt(e.position); je(S); )
2210
2213
  S = e.input.charCodeAt(++e.position);
2211
2214
  if (S === 58)
2212
- S = e.input.charCodeAt(++e.position), ge(S) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), j && (Fe(e, d, _, h, T, null, o, s, l), h = T = b = null), k = !0, j = !1, a = !1, h = e.tag, T = e.result;
2215
+ S = e.input.charCodeAt(++e.position), ge(S) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), M && (Fe(e, p, b, y, x, null, o, s, l), y = x = w = null), k = !0, M = !1, a = !1, y = e.tag, x = e.result;
2213
2216
  else if (k)
2214
2217
  E(e, "can not read an implicit mapping pair; a colon is missed");
2215
2218
  else
2216
- return e.tag = p, e.anchor = m, !0;
2219
+ return e.tag = d, e.anchor = m, !0;
2217
2220
  } else if (k)
2218
2221
  E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2219
2222
  else
2220
- return e.tag = p, e.anchor = m, !0;
2223
+ return e.tag = d, e.anchor = m, !0;
2221
2224
  }
2222
- if ((e.line === n || e.lineIndent > i) && (j && (o = e.line, s = e.lineStart, l = e.position), Le(e, i, Xe, !0, a) && (j ? T = e.result : b = e.result), j || (Fe(e, d, _, h, T, b, o, s, l), h = T = b = null), ne(e, !0, -1), S = e.input.charCodeAt(e.position)), (e.line === n || e.lineIndent > i) && S !== 0)
2225
+ if ((e.line === n || e.lineIndent > i) && (M && (o = e.line, s = e.lineStart, l = e.position), Ue(e, i, Xe, !0, a) && (M ? x = e.result : w = e.result), M || (Fe(e, p, b, y, x, w, o, s, l), y = x = w = null), ne(e, !0, -1), S = e.input.charCodeAt(e.position)), (e.line === n || e.lineIndent > i) && S !== 0)
2223
2226
  E(e, "bad indentation of a mapping entry");
2224
2227
  else if (e.lineIndent < i)
2225
2228
  break;
2226
2229
  }
2227
- return j && Fe(e, d, _, h, T, null, o, s, l), k && (e.tag = p, e.anchor = m, e.kind = "mapping", e.result = d), k;
2230
+ return M && Fe(e, p, b, y, x, null, o, s, l), k && (e.tag = d, e.anchor = m, e.kind = "mapping", e.result = p), k;
2228
2231
  }
2229
2232
  function Go(e) {
2230
2233
  var i, t = !1, r = !1, a, n, o;
@@ -2237,16 +2240,16 @@ function Go(e) {
2237
2240
  e.position < e.length ? (n = e.input.slice(i, e.position), o = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2238
2241
  } else {
2239
2242
  for (; o !== 0 && !ge(o); )
2240
- o === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(i - 1, e.position + 1), qi.test(a) || E(e, "named tag handle cannot contain such characters"), r = !0, i = e.position + 1)), o = e.input.charCodeAt(++e.position);
2243
+ o === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(i - 1, e.position + 1), Li.test(a) || E(e, "named tag handle cannot contain such characters"), r = !0, i = e.position + 1)), o = e.input.charCodeAt(++e.position);
2241
2244
  n = e.input.slice(i, e.position), Fo.test(n) && E(e, "tag suffix cannot contain flow indicator characters");
2242
2245
  }
2243
- n && !Pi.test(n) && E(e, "tag name cannot contain such characters: " + n);
2246
+ n && !Bi.test(n) && E(e, "tag name cannot contain such characters: " + n);
2244
2247
  try {
2245
2248
  n = decodeURIComponent(n);
2246
2249
  } catch {
2247
2250
  E(e, "tag name is malformed: " + n);
2248
2251
  }
2249
- return t ? e.tag = n : Se.call(e.tagMap, a) ? e.tag = e.tagMap[a] + n : a === "!" ? e.tag = "!" + n : a === "!!" ? e.tag = "tag:yaml.org,2002:" + n : E(e, 'undeclared tag handle "' + a + '"'), !0;
2252
+ return t ? e.tag = n : Ie.call(e.tagMap, a) ? e.tag = e.tagMap[a] + n : a === "!" ? e.tag = "!" + n : a === "!!" ? e.tag = "tag:yaml.org,2002:" + n : E(e, 'undeclared tag handle "' + a + '"'), !0;
2250
2253
  }
2251
2254
  function Jo(e) {
2252
2255
  var i, t;
@@ -2262,31 +2265,31 @@ function Wo(e) {
2262
2265
  return !1;
2263
2266
  for (r = e.input.charCodeAt(++e.position), i = e.position; r !== 0 && !ge(r) && !Ve(r); )
2264
2267
  r = e.input.charCodeAt(++e.position);
2265
- return e.position === i && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Se.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ne(e, !0, -1), !0;
2268
+ return e.position === i && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ie.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ne(e, !0, -1), !0;
2266
2269
  }
2267
- function Le(e, i, t, r, a) {
2268
- var n, o, s, l = 1, p = !1, m = !1, d, _, h, T, b, j;
2269
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = Xe === t || Li === t, r && ne(e, !0, -1) && (p = !0, e.lineIndent > i ? l = 1 : e.lineIndent === i ? l = 0 : e.lineIndent < i && (l = -1)), l === 1)
2270
+ function Ue(e, i, t, r, a) {
2271
+ var n, o, s, l = 1, d = !1, m = !1, p, b, y, x, w, M;
2272
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = Xe === t || Ki === t, r && ne(e, !0, -1) && (d = !0, e.lineIndent > i ? l = 1 : e.lineIndent === i ? l = 0 : e.lineIndent < i && (l = -1)), l === 1)
2270
2273
  for (; Go(e) || Jo(e); )
2271
- ne(e, !0, -1) ? (p = !0, s = n, e.lineIndent > i ? l = 1 : e.lineIndent === i ? l = 0 : e.lineIndent < i && (l = -1)) : s = !1;
2272
- if (s && (s = p || a), (l === 1 || Xe === t) && (Qe === t || Ki === t ? b = i : b = i + 1, j = e.position - e.lineStart, l === 1 ? s && (Ht(e, j) || zo(e, j, b)) || Do(e, b) ? m = !0 : (o && Ho(e, b) || Uo(e, b) || Ro(e, b) ? m = !0 : Wo(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Bo(e, b, Qe === t) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = s && Ht(e, j))), e.tag === null)
2274
+ ne(e, !0, -1) ? (d = !0, s = n, e.lineIndent > i ? l = 1 : e.lineIndent === i ? l = 0 : e.lineIndent < i && (l = -1)) : s = !1;
2275
+ if (s && (s = d || a), (l === 1 || Xe === t) && (Qe === t || Ui === t ? w = i : w = i + 1, M = e.position - e.lineStart, l === 1 ? s && (zt(e, M) || Ho(e, M, w)) || Do(e, w) ? m = !0 : (o && zo(e, w) || Po(e, w) || Ro(e, w) ? m = !0 : Wo(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Bo(e, w, Qe === t) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = s && zt(e, M))), e.tag === null)
2273
2276
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2274
2277
  else if (e.tag === "?") {
2275
- for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), d = 0, _ = e.implicitTypes.length; d < _; d += 1)
2276
- if (T = e.implicitTypes[d], T.resolve(e.result)) {
2277
- e.result = T.construct(e.result), e.tag = T.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2278
+ for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, b = e.implicitTypes.length; p < b; p += 1)
2279
+ if (x = e.implicitTypes[p], x.resolve(e.result)) {
2280
+ e.result = x.construct(e.result), e.tag = x.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2278
2281
  break;
2279
2282
  }
2280
2283
  } else if (e.tag !== "!") {
2281
- if (Se.call(e.typeMap[e.kind || "fallback"], e.tag))
2282
- T = e.typeMap[e.kind || "fallback"][e.tag];
2284
+ if (Ie.call(e.typeMap[e.kind || "fallback"], e.tag))
2285
+ x = e.typeMap[e.kind || "fallback"][e.tag];
2283
2286
  else
2284
- for (T = null, h = e.typeMap.multi[e.kind || "fallback"], d = 0, _ = h.length; d < _; d += 1)
2285
- if (e.tag.slice(0, h[d].tag.length) === h[d].tag) {
2286
- T = h[d];
2287
+ for (x = null, y = e.typeMap.multi[e.kind || "fallback"], p = 0, b = y.length; p < b; p += 1)
2288
+ if (e.tag.slice(0, y[p].tag.length) === y[p].tag) {
2289
+ x = y[p];
2287
2290
  break;
2288
2291
  }
2289
- T || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && T.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + T.kind + '", not "' + e.kind + '"'), T.resolve(e.result, e.tag) ? (e.result = T.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2292
+ x || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && x.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + x.kind + '", not "' + e.kind + '"'), x.resolve(e.result, e.tag) ? (e.result = x.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2290
2293
  }
2291
2294
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || m;
2292
2295
  }
@@ -2296,7 +2299,7 @@ function Yo(e) {
2296
2299
  for (n = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ge(o); )
2297
2300
  o = e.input.charCodeAt(++e.position);
2298
2301
  for (r = e.input.slice(t, e.position), a = [], r.length < 1 && E(e, "directive name must not be less than one character in length"); o !== 0; ) {
2299
- for (; Me(o); )
2302
+ for (; je(o); )
2300
2303
  o = e.input.charCodeAt(++e.position);
2301
2304
  if (o === 35) {
2302
2305
  do
@@ -2310,9 +2313,9 @@ function Yo(e) {
2310
2313
  o = e.input.charCodeAt(++e.position);
2311
2314
  a.push(e.input.slice(t, e.position));
2312
2315
  }
2313
- o !== 0 && At(e), Se.call(Rt, r) ? Rt[r](e, r, a) : et(e, 'unknown document directive "' + r + '"');
2316
+ o !== 0 && At(e), Ie.call(Rt, r) ? Rt[r](e, r, a) : et(e, 'unknown document directive "' + r + '"');
2314
2317
  }
2315
- if (ne(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, ne(e, !0, -1)) : n && E(e, "directives end mark is expected"), Le(e, e.lineIndent - 1, Xe, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Vo.test(e.input.slice(i, e.position)) && et(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && rt(e)) {
2318
+ if (ne(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, ne(e, !0, -1)) : n && E(e, "directives end mark is expected"), Ue(e, e.lineIndent - 1, Xe, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Vo.test(e.input.slice(i, e.position)) && et(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && rt(e)) {
2316
2319
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
2317
2320
  return;
2318
2321
  }
@@ -2321,10 +2324,10 @@ function Yo(e) {
2321
2324
  else
2322
2325
  return;
2323
2326
  }
2324
- function Di(e, i) {
2327
+ function zi(e, i) {
2325
2328
  e = String(e), i = i || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2326
2329
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2327
- var t = new Po(e, i), r = e.indexOf("\0");
2330
+ var t = new Lo(e, i), r = e.indexOf("\0");
2328
2331
  for (r !== -1 && (t.position = r, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2329
2332
  t.lineIndent += 1, t.position += 1;
2330
2333
  for (; t.position < t.length - 1; )
@@ -2333,14 +2336,14 @@ function Di(e, i) {
2333
2336
  }
2334
2337
  function Zo(e, i, t) {
2335
2338
  i !== null && typeof i == "object" && typeof t > "u" && (t = i, i = null);
2336
- var r = Di(e, t);
2339
+ var r = zi(e, t);
2337
2340
  if (typeof i != "function")
2338
2341
  return r;
2339
2342
  for (var a = 0, n = r.length; a < n; a += 1)
2340
2343
  i(r[a]);
2341
2344
  }
2342
2345
  function Qo(e, i) {
2343
- var t = Di(e, i);
2346
+ var t = zi(e, i);
2344
2347
  if (t.length !== 0) {
2345
2348
  if (t.length === 1)
2346
2349
  return t[0];
@@ -2350,7 +2353,7 @@ function Qo(e, i) {
2350
2353
  var Xo = Zo, en = Qo, Hi = {
2351
2354
  loadAll: Xo,
2352
2355
  load: en
2353
- }, zi = Object.prototype.toString, Gi = Object.prototype.hasOwnProperty, Tt = 65279, tn = 9, Ge = 10, an = 13, rn = 32, on = 33, nn = 34, mt = 35, ln = 37, sn = 38, cn = 39, un = 42, Ji = 44, dn = 45, tt = 58, pn = 61, fn = 62, mn = 63, gn = 64, Wi = 91, Yi = 93, yn = 96, Zi = 123, vn = 124, Qi = 125, fe = {};
2356
+ }, Gi = Object.prototype.toString, Ji = Object.prototype.hasOwnProperty, Tt = 65279, tn = 9, Ge = 10, an = 13, rn = 32, on = 33, nn = 34, mt = 35, ln = 37, sn = 38, cn = 39, un = 42, Wi = 44, dn = 45, tt = 58, pn = 61, fn = 62, mn = 63, gn = 64, Yi = 91, Zi = 93, yn = 96, Qi = 123, vn = 124, Xi = 125, fe = {};
2354
2357
  fe[0] = "\\0";
2355
2358
  fe[7] = "\\a";
2356
2359
  fe[8] = "\\b";
@@ -2389,7 +2392,7 @@ function wn(e, i) {
2389
2392
  if (i === null)
2390
2393
  return {};
2391
2394
  for (t = {}, r = Object.keys(i), a = 0, n = r.length; a < n; a += 1)
2392
- o = r[a], s = String(i[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), l = e.compiledTypeMap.fallback[o], l && Gi.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[o] = s;
2395
+ o = r[a], s = String(i[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), l = e.compiledTypeMap.fallback[o], l && Ji.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[o] = s;
2393
2396
  return t;
2394
2397
  }
2395
2398
  function _n(e) {
@@ -2408,7 +2411,7 @@ var kn = 1, Je = 2;
2408
2411
  function Cn(e) {
2409
2412
  this.schema = e.schema || It, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = le.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = wn(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 === '"' ? Je : kn, 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;
2410
2413
  }
2411
- function zt(e, i) {
2414
+ function Ht(e, i) {
2412
2415
  for (var t = le.repeat(" ", i), r = 0, a = -1, n = "", o, s = e.length; r < s; )
2413
2416
  a = e.indexOf(`
2414
2417
  `, r), a === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, a + 1), r = a + 1), o.length && o !== `
@@ -2442,44 +2445,44 @@ function Jt(e, i, t) {
2442
2445
  (t ? (
2443
2446
  // c = flow-in
2444
2447
  r
2445
- ) : r && e !== Ji && e !== Wi && e !== Yi && e !== Zi && e !== Qi) && e !== mt && !(i === tt && !a) || Gt(i) && !it(i) && e === mt || i === tt && a
2448
+ ) : r && e !== Wi && e !== Yi && e !== Zi && e !== Qi && e !== Xi) && e !== mt && !(i === tt && !a) || Gt(i) && !it(i) && e === mt || i === tt && a
2446
2449
  );
2447
2450
  }
2448
2451
  function In(e) {
2449
- return We(e) && e !== Tt && !it(e) && e !== dn && e !== mn && e !== tt && e !== Ji && e !== Wi && e !== Yi && e !== Zi && e !== Qi && e !== mt && e !== sn && e !== un && e !== on && e !== vn && e !== pn && e !== fn && e !== cn && e !== nn && e !== ln && e !== gn && e !== yn;
2452
+ return We(e) && e !== Tt && !it(e) && e !== dn && e !== mn && e !== tt && e !== Wi && e !== Yi && e !== Zi && e !== Qi && e !== Xi && e !== mt && e !== sn && e !== un && e !== on && e !== vn && e !== pn && e !== fn && e !== cn && e !== nn && e !== ln && e !== gn && e !== yn;
2450
2453
  }
2451
2454
  function An(e) {
2452
2455
  return !it(e) && e !== tt;
2453
2456
  }
2454
- function Ue(e, i) {
2457
+ function Pe(e, i) {
2455
2458
  var t = e.charCodeAt(i), r;
2456
2459
  return t >= 55296 && t <= 56319 && i + 1 < e.length && (r = e.charCodeAt(i + 1), r >= 56320 && r <= 57343) ? (t - 55296) * 1024 + r - 56320 + 65536 : t;
2457
2460
  }
2458
- function Xi(e) {
2461
+ function ea(e) {
2459
2462
  var i = /^\n* /;
2460
2463
  return i.test(e);
2461
2464
  }
2462
- var ea = 1, yt = 2, ta = 3, ia = 4, Oe = 5;
2465
+ var ta = 1, yt = 2, ia = 3, aa = 4, Oe = 5;
2463
2466
  function xn(e, i, t, r, a, n, o, s) {
2464
- var l, p = 0, m = null, d = !1, _ = !1, h = r !== -1, T = -1, b = In(Ue(e, 0)) && An(Ue(e, e.length - 1));
2467
+ var l, d = 0, m = null, p = !1, b = !1, y = r !== -1, x = -1, w = In(Pe(e, 0)) && An(Pe(e, e.length - 1));
2465
2468
  if (i || o)
2466
- for (l = 0; l < e.length; p >= 65536 ? l += 2 : l++) {
2467
- if (p = Ue(e, l), !We(p))
2469
+ for (l = 0; l < e.length; d >= 65536 ? l += 2 : l++) {
2470
+ if (d = Pe(e, l), !We(d))
2468
2471
  return Oe;
2469
- b = b && Jt(p, m, s), m = p;
2472
+ w = w && Jt(d, m, s), m = d;
2470
2473
  }
2471
2474
  else {
2472
- for (l = 0; l < e.length; p >= 65536 ? l += 2 : l++) {
2473
- if (p = Ue(e, l), p === Ge)
2474
- d = !0, h && (_ = _ || // Foldable line = too long, and not more-indented.
2475
- l - T - 1 > r && e[T + 1] !== " ", T = l);
2476
- else if (!We(p))
2475
+ for (l = 0; l < e.length; d >= 65536 ? l += 2 : l++) {
2476
+ if (d = Pe(e, l), d === Ge)
2477
+ p = !0, y && (b = b || // Foldable line = too long, and not more-indented.
2478
+ l - x - 1 > r && e[x + 1] !== " ", x = l);
2479
+ else if (!We(d))
2477
2480
  return Oe;
2478
- b = b && Jt(p, m, s), m = p;
2481
+ w = w && Jt(d, m, s), m = d;
2479
2482
  }
2480
- _ = _ || h && l - T - 1 > r && e[T + 1] !== " ";
2483
+ b = b || y && l - x - 1 > r && e[x + 1] !== " ";
2481
2484
  }
2482
- return !d && !_ ? b && !o && !a(e) ? ea : n === Je ? Oe : yt : t > 9 && Xi(e) ? Oe : o ? n === Je ? Oe : yt : _ ? ia : ta;
2485
+ return !p && !b ? w && !o && !a(e) ? ta : n === Je ? Oe : yt : t > 9 && ea(e) ? Oe : o ? n === Je ? Oe : yt : b ? aa : ia;
2483
2486
  }
2484
2487
  function Tn(e, i, t, r, a) {
2485
2488
  e.dump = function() {
@@ -2488,8 +2491,8 @@ function Tn(e, i, t, r, a) {
2488
2491
  if (!e.noCompatMode && (hn.indexOf(i) !== -1 || bn.test(i)))
2489
2492
  return e.quotingType === Je ? '"' + i + '"' : "'" + i + "'";
2490
2493
  var n = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - n), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2491
- function l(p) {
2492
- return Sn(e, p);
2494
+ function l(d) {
2495
+ return Sn(e, d);
2493
2496
  }
2494
2497
  switch (xn(
2495
2498
  i,
@@ -2501,23 +2504,23 @@ function Tn(e, i, t, r, a) {
2501
2504
  e.forceQuotes && !r,
2502
2505
  a
2503
2506
  )) {
2504
- case ea:
2507
+ case ta:
2505
2508
  return i;
2506
2509
  case yt:
2507
2510
  return "'" + i.replace(/'/g, "''") + "'";
2508
- case ta:
2509
- return "|" + Wt(i, e.indent) + Yt(zt(i, n));
2510
2511
  case ia:
2511
- return ">" + Wt(i, e.indent) + Yt(zt(Mn(i, o), n));
2512
+ return "|" + Wt(i, e.indent) + Yt(Ht(i, n));
2513
+ case aa:
2514
+ return ">" + Wt(i, e.indent) + Yt(Ht($n(i, o), n));
2512
2515
  case Oe:
2513
- return '"' + $n(i) + '"';
2516
+ return '"' + jn(i) + '"';
2514
2517
  default:
2515
2518
  throw new me("impossible error: invalid scalar style");
2516
2519
  }
2517
2520
  }();
2518
2521
  }
2519
2522
  function Wt(e, i) {
2520
- var t = Xi(e) ? String(i) : "", r = e[e.length - 1] === `
2523
+ var t = ea(e) ? String(i) : "", r = e[e.length - 1] === `
2521
2524
  `, a = r && (e[e.length - 2] === `
2522
2525
  ` || e === `
2523
2526
  `), n = a ? "+" : r ? "" : "-";
@@ -2528,11 +2531,11 @@ function Yt(e) {
2528
2531
  return e[e.length - 1] === `
2529
2532
  ` ? e.slice(0, -1) : e;
2530
2533
  }
2531
- function Mn(e, i) {
2534
+ function $n(e, i) {
2532
2535
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2533
- var p = e.indexOf(`
2536
+ var d = e.indexOf(`
2534
2537
  `);
2535
- return p = p !== -1 ? p : e.length, t.lastIndex = p, Zt(e.slice(0, p), i);
2538
+ return d = d !== -1 ? d : e.length, t.lastIndex = d, Zt(e.slice(0, d), i);
2536
2539
  }(), a = e[0] === `
2537
2540
  ` || e[0] === " ", n, o; o = t.exec(e); ) {
2538
2541
  var s = o[1], l = o[2];
@@ -2551,12 +2554,12 @@ function Zt(e, i) {
2551
2554
  `, e.length - a > i && o > a ? l += e.slice(a, o) + `
2552
2555
  ` + e.slice(o + 1) : l += e.slice(a), l.slice(1);
2553
2556
  }
2554
- function $n(e) {
2557
+ function jn(e) {
2555
2558
  for (var i = "", t = 0, r, a = 0; a < e.length; t >= 65536 ? a += 2 : a++)
2556
- t = Ue(e, a), r = fe[t], !r && We(t) ? (i += e[a], t >= 65536 && (i += e[a + 1])) : i += r || _n(t);
2559
+ t = Pe(e, a), r = fe[t], !r && We(t) ? (i += e[a], t >= 65536 && (i += e[a + 1])) : i += r || _n(t);
2557
2560
  return i;
2558
2561
  }
2559
- function jn(e, i, t) {
2562
+ function Mn(e, i, t) {
2560
2563
  var r = "", a = e.tag, n, o, s;
2561
2564
  for (n = 0, o = t.length; n < o; n += 1)
2562
2565
  s = t[n], e.replacer && (s = e.replacer.call(t, String(n), s)), (ke(e, i, s, !1, !1) || typeof s > "u" && ke(e, i, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
@@ -2569,13 +2572,13 @@ function Qt(e, i, t, r) {
2569
2572
  e.tag = n, e.dump = a || "[]";
2570
2573
  }
2571
2574
  function En(e, i, t) {
2572
- var r = "", a = e.tag, n = Object.keys(t), o, s, l, p, m;
2575
+ var r = "", a = e.tag, n = Object.keys(t), o, s, l, d, m;
2573
2576
  for (o = 0, s = n.length; o < s; o += 1)
2574
- m = "", r !== "" && (m += ", "), e.condenseFlow && (m += '"'), l = n[o], p = t[l], e.replacer && (p = e.replacer.call(t, l, p)), ke(e, i, l, !1, !1) && (e.dump.length > 1024 && (m += "? "), m += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ke(e, i, p, !1, !1) && (m += e.dump, r += m));
2577
+ m = "", r !== "" && (m += ", "), e.condenseFlow && (m += '"'), l = n[o], d = t[l], e.replacer && (d = e.replacer.call(t, l, d)), ke(e, i, l, !1, !1) && (e.dump.length > 1024 && (m += "? "), m += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ke(e, i, d, !1, !1) && (m += e.dump, r += m));
2575
2578
  e.tag = a, e.dump = "{" + r + "}";
2576
2579
  }
2577
2580
  function On(e, i, t, r) {
2578
- var a = "", n = e.tag, o = Object.keys(t), s, l, p, m, d, _;
2581
+ var a = "", n = e.tag, o = Object.keys(t), s, l, d, m, p, b;
2579
2582
  if (e.sortKeys === !0)
2580
2583
  o.sort();
2581
2584
  else if (typeof e.sortKeys == "function")
@@ -2583,7 +2586,7 @@ function On(e, i, t, r) {
2583
2586
  else if (e.sortKeys)
2584
2587
  throw new me("sortKeys must be a boolean or a function");
2585
2588
  for (s = 0, l = o.length; s < l; s += 1)
2586
- _ = "", (!r || a !== "") && (_ += gt(e, i)), p = o[s], m = t[p], e.replacer && (m = e.replacer.call(t, p, m)), ke(e, i + 1, p, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && Ge === e.dump.charCodeAt(0) ? _ += "?" : _ += "? "), _ += e.dump, d && (_ += gt(e, i)), ke(e, i + 1, m, !0, d) && (e.dump && Ge === e.dump.charCodeAt(0) ? _ += ":" : _ += ": ", _ += e.dump, a += _));
2589
+ b = "", (!r || a !== "") && (b += gt(e, i)), d = o[s], m = t[d], e.replacer && (m = e.replacer.call(t, d, m)), ke(e, i + 1, d, !0, !0, !0) && (p = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p && (e.dump && Ge === e.dump.charCodeAt(0) ? b += "?" : b += "? "), b += e.dump, p && (b += gt(e, i)), ke(e, i + 1, m, !0, p) && (e.dump && Ge === e.dump.charCodeAt(0) ? b += ":" : b += ": ", b += e.dump, a += b));
2587
2590
  e.tag = n, e.dump = a || "{}";
2588
2591
  }
2589
2592
  function Xt(e, i, t) {
@@ -2591,9 +2594,9 @@ function Xt(e, i, t) {
2591
2594
  for (a = t ? e.explicitTypes : e.implicitTypes, n = 0, o = a.length; n < o; n += 1)
2592
2595
  if (s = a[n], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof i == "object" && i instanceof s.instanceOf) && (!s.predicate || s.predicate(i))) {
2593
2596
  if (t ? s.multi && s.representName ? e.tag = s.representName(i) : e.tag = s.tag : e.tag = "?", s.represent) {
2594
- if (l = e.styleMap[s.tag] || s.defaultStyle, zi.call(s.represent) === "[object Function]")
2597
+ if (l = e.styleMap[s.tag] || s.defaultStyle, Gi.call(s.represent) === "[object Function]")
2595
2598
  r = s.represent(i, l);
2596
- else if (Gi.call(s.represent, l))
2599
+ else if (Ji.call(s.represent, l))
2597
2600
  r = s.represent[l](i, l);
2598
2601
  else
2599
2602
  throw new me("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
@@ -2605,16 +2608,16 @@ function Xt(e, i, t) {
2605
2608
  }
2606
2609
  function ke(e, i, t, r, a, n, o) {
2607
2610
  e.tag = null, e.dump = t, Xt(e, t, !1) || Xt(e, t, !0);
2608
- var s = zi.call(e.dump), l = r, p;
2611
+ var s = Gi.call(e.dump), l = r, d;
2609
2612
  r && (r = e.flowLevel < 0 || e.flowLevel > i);
2610
- var m = s === "[object Object]" || s === "[object Array]", d, _;
2611
- if (m && (d = e.duplicates.indexOf(t), _ = d !== -1), (e.tag !== null && e.tag !== "?" || _ || e.indent !== 2 && i > 0) && (a = !1), _ && e.usedDuplicates[d])
2612
- e.dump = "*ref_" + d;
2613
+ var m = s === "[object Object]" || s === "[object Array]", p, b;
2614
+ if (m && (p = e.duplicates.indexOf(t), b = p !== -1), (e.tag !== null && e.tag !== "?" || b || e.indent !== 2 && i > 0) && (a = !1), b && e.usedDuplicates[p])
2615
+ e.dump = "*ref_" + p;
2613
2616
  else {
2614
- if (m && _ && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), s === "[object Object]")
2615
- r && Object.keys(e.dump).length !== 0 ? (On(e, i, e.dump, a), _ && (e.dump = "&ref_" + d + e.dump)) : (En(e, i, e.dump), _ && (e.dump = "&ref_" + d + " " + e.dump));
2617
+ if (m && b && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), s === "[object Object]")
2618
+ r && Object.keys(e.dump).length !== 0 ? (On(e, i, e.dump, a), b && (e.dump = "&ref_" + p + e.dump)) : (En(e, i, e.dump), b && (e.dump = "&ref_" + p + " " + e.dump));
2616
2619
  else if (s === "[object Array]")
2617
- r && e.dump.length !== 0 ? (e.noArrayIndent && !o && i > 0 ? Qt(e, i - 1, e.dump, a) : Qt(e, i, e.dump, a), _ && (e.dump = "&ref_" + d + e.dump)) : (jn(e, i, e.dump), _ && (e.dump = "&ref_" + d + " " + e.dump));
2620
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !o && i > 0 ? Qt(e, i - 1, e.dump, a) : Qt(e, i, e.dump, a), b && (e.dump = "&ref_" + p + e.dump)) : (Mn(e, i, e.dump), b && (e.dump = "&ref_" + p + " " + e.dump));
2618
2621
  else if (s === "[object String]")
2619
2622
  e.tag !== "?" && Tn(e, e.dump, i, n, l);
2620
2623
  else {
@@ -2622,9 +2625,9 @@ function ke(e, i, t, r, a, n, o) {
2622
2625
  return !1;
2623
2626
  throw new me("unacceptable kind of an object to dump " + s);
2624
2627
  }
2625
- e.tag !== null && e.tag !== "?" && (p = encodeURI(
2628
+ e.tag !== null && e.tag !== "?" && (d = encodeURI(
2626
2629
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
2627
- ).replace(/!/g, "%21"), e.tag[0] === "!" ? p = "!" + p : p.slice(0, 18) === "tag:yaml.org,2002:" ? p = "!!" + p.slice(18) : p = "!<" + p + ">", e.dump = p + " " + e.dump);
2630
+ ).replace(/!/g, "%21"), e.tag[0] === "!" ? d = "!" + d : d.slice(0, 18) === "tag:yaml.org,2002:" ? d = "!!" + d.slice(18) : d = "!<" + d + ">", e.dump = d + " " + e.dump);
2628
2631
  }
2629
2632
  return !0;
2630
2633
  }
@@ -2654,38 +2657,38 @@ function Fn(e, i) {
2654
2657
  return t.replacer && (r = t.replacer.call({ "": r }, "", r)), ke(t, 0, r, !0, !0) ? t.dump + `
2655
2658
  ` : "";
2656
2659
  }
2657
- var Nn = Fn, Kn = {
2660
+ var Nn = Fn, qn = {
2658
2661
  dump: Nn
2659
2662
  };
2660
- function Mt(e, i) {
2663
+ function $t(e, i) {
2661
2664
  return function() {
2662
2665
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + i + " instead, which is now safe by default.");
2663
2666
  };
2664
2667
  }
2665
- var Ln = de, qn = hi, Pn = ki, Bn = xi, Un = Ti, Rn = It, Dn = Hi.load, Hn = Hi.loadAll, zn = Kn.dump, Gn = me, Jn = {
2666
- binary: Oi,
2667
- float: Ai,
2668
- map: _i,
2669
- null: Ci,
2670
- pairs: Fi,
2671
- set: Ni,
2672
- timestamp: ji,
2673
- bool: Si,
2674
- int: Ii,
2675
- merge: Ei,
2676
- omap: Vi,
2677
- seq: wi,
2678
- str: bi
2679
- }, Wn = Mt("safeLoad", "load"), Yn = Mt("safeLoadAll", "loadAll"), Zn = Mt("safeDump", "dump"), Qn = {
2680
- Type: Ln,
2681
- Schema: qn,
2682
- FAILSAFE_SCHEMA: Pn,
2668
+ var Un = de, Kn = bi, Ln = Ci, Bn = Ti, Pn = $i, Rn = It, Dn = Hi.load, zn = Hi.loadAll, Hn = qn.dump, Gn = me, Jn = {
2669
+ binary: Vi,
2670
+ float: xi,
2671
+ map: ki,
2672
+ null: Si,
2673
+ pairs: Ni,
2674
+ set: qi,
2675
+ timestamp: Ei,
2676
+ bool: Ii,
2677
+ int: Ai,
2678
+ merge: Oi,
2679
+ omap: Fi,
2680
+ seq: _i,
2681
+ str: wi
2682
+ }, Wn = $t("safeLoad", "load"), Yn = $t("safeLoadAll", "loadAll"), Zn = $t("safeDump", "dump"), Qn = {
2683
+ Type: Un,
2684
+ Schema: Kn,
2685
+ FAILSAFE_SCHEMA: Ln,
2683
2686
  JSON_SCHEMA: Bn,
2684
- CORE_SCHEMA: Un,
2687
+ CORE_SCHEMA: Pn,
2685
2688
  DEFAULT_SCHEMA: Rn,
2686
2689
  load: Dn,
2687
- loadAll: Hn,
2688
- dump: zn,
2690
+ loadAll: zn,
2691
+ dump: Hn,
2689
2692
  YAMLException: Gn,
2690
2693
  types: Jn,
2691
2694
  safeLoad: Wn,
@@ -2702,9 +2705,12 @@ const Xn = {
2702
2705
  key: 1,
2703
2706
  class: "config-card-display-json"
2704
2707
  }, al = {
2708
+ key: 0,
2709
+ class: "config-card-display-json-endpoint"
2710
+ }, rl = {
2705
2711
  key: 2,
2706
2712
  class: "config-card-display-yaml"
2707
- }, rl = /* @__PURE__ */ re({
2713
+ }, ol = /* @__PURE__ */ oe({
2708
2714
  __name: "ConfigCardDisplay",
2709
2715
  props: {
2710
2716
  propertyCollections: {
@@ -2727,81 +2733,110 @@ const Xn = {
2727
2733
  type: Object,
2728
2734
  required: !1,
2729
2735
  default: () => null
2736
+ },
2737
+ fetcherUrl: {
2738
+ type: String,
2739
+ required: !0
2730
2740
  }
2731
2741
  },
2732
2742
  setup(e) {
2733
- const i = e, t = at(), { i18n: { t: r } } = se.useI18n(), a = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), n = N(""), o = N("");
2734
- return we(() => i.format, (s) => {
2735
- if (s !== "structured") {
2736
- const l = JSON.parse(JSON.stringify(i.record));
2737
- delete l.created_at, delete l.updated_at, s === "json" ? n.value = JSON.stringify(l, null, 2) : s === "yaml" && (o.value = Qn.dump(l));
2743
+ ri((l) => ({
2744
+ "7b486894": `${s.value}ch`
2745
+ }));
2746
+ const i = e, t = at(), { i18n: { t: r } } = se.useI18n(), a = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), n = N(""), o = N(""), s = $(() => {
2747
+ var l;
2748
+ if (!i.fetcherUrl)
2749
+ return 0;
2750
+ const d = (l = i.fetcherUrl) == null ? void 0 : l.split("/");
2751
+ return d.length < 2 ? 0 : 41 + d[d.length - 2].length;
2752
+ });
2753
+ return we(() => i.format, (l) => {
2754
+ if (l !== "structured") {
2755
+ const d = JSON.parse(JSON.stringify(i.record));
2756
+ delete d.created_at, delete d.updated_at, l === "json" ? n.value = JSON.stringify(d, null, 2) : l === "yaml" && (o.value = Qn.dump(d));
2738
2757
  }
2739
- }, { immediate: !0 }), (s, l) => {
2740
- const p = q("KCodeBlock");
2741
- return v(), $(ve, null, [
2742
- e.format === "structured" ? (v(), $("div", Xn, [
2743
- (v(!0), $(ve, null, ye(e.propListTypes, (m) => (v(), $("div", {
2744
- key: `config-card-details-${m}-props`,
2745
- class: $e(`config-card-details-${m}-props`),
2746
- "data-testid": `config-card-details-${m}-props`
2758
+ }, { immediate: !0 }), (l, d) => {
2759
+ const m = U("KBadge"), p = U("KCodeBlock");
2760
+ return h(), j(ve, null, [
2761
+ e.format === "structured" ? (h(), j("div", Xn, [
2762
+ (h(!0), j(ve, null, ye(e.propListTypes, (b) => (h(), j("div", {
2763
+ key: `config-card-details-${b}-props`,
2764
+ class: Se(`config-card-details-${b}-props`),
2765
+ "data-testid": `config-card-details-${b}-props`
2747
2766
  }, [
2748
- m !== "basic" ? (v(), $("div", tl, V(m === "advanced" ? f(r)("baseConfigCard.sections.advanced") : f(r)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2749
- (v(!0), $(ve, null, ye(e.propertyCollections[m], (d) => (v(), R(Ct, {
2750
- key: d.key,
2751
- item: d
2752
- }, Te({
2753
- label: y(() => [
2754
- Q(s.$slots, `${d.key}-label`, { row: d }, void 0, !0)
2767
+ b !== "basic" ? (h(), j("div", tl, O(b === "advanced" ? f(r)("baseConfigCard.sections.advanced") : f(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2768
+ (h(!0), j(ve, null, ye(e.propertyCollections[b], (y) => (h(), R(Ct, {
2769
+ key: y.key,
2770
+ item: y
2771
+ }, $e({
2772
+ label: v(() => [
2773
+ Q(l.$slots, `${y.key}-label`, { row: y }, void 0, !0)
2755
2774
  ]),
2756
- [d.key]: y(({ rowValue: _ }) => [
2757
- Q(s.$slots, d.key, {
2758
- row: d,
2759
- rowValue: _
2775
+ [y.key]: v(({ rowValue: x }) => [
2776
+ Q(l.$slots, y.key, {
2777
+ row: y,
2778
+ rowValue: x
2760
2779
  }, void 0, !0)
2761
2780
  ]),
2762
2781
  _: 2
2763
2782
  }, [
2764
- a(d) ? {
2783
+ a(y) ? {
2765
2784
  name: "label-tooltip",
2766
- fn: y(() => [
2767
- Q(s.$slots, `${d.key}-label-tooltip`, { row: d }, void 0, !0)
2785
+ fn: v(() => [
2786
+ Q(l.$slots, `${y.key}-label-tooltip`, { row: y }, void 0, !0)
2768
2787
  ]),
2769
2788
  key: "0"
2770
2789
  } : void 0
2771
2790
  ]), 1032, ["item"]))), 128))
2772
2791
  ], 10, el))), 128))
2773
- ])) : H("", !0),
2774
- e.format === "json" ? (v(), $("div", il, [
2792
+ ])) : z("", !0),
2793
+ e.format === "json" ? (h(), j("div", il, [
2794
+ i.fetcherUrl ? (h(), j("div", al, [
2795
+ C(m, { appearance: "get" }, {
2796
+ default: v(() => [
2797
+ J(O(f(r)("baseConfigCard.endpoints.get")), 1)
2798
+ ]),
2799
+ _: 1
2800
+ }),
2801
+ C(p, {
2802
+ id: "config-card-endpoint-codeblock",
2803
+ code: i.fetcherUrl,
2804
+ "is-single-line": "",
2805
+ language: "json",
2806
+ theme: "dark"
2807
+ }, null, 8, ["code"])
2808
+ ])) : z("", !0),
2775
2809
  C(p, {
2776
2810
  id: "config-card-codeblock",
2811
+ class: Se({ "config-card-display-json-content": i.fetcherUrl }),
2777
2812
  code: n.value,
2778
2813
  language: "json",
2779
2814
  theme: "dark"
2780
- }, null, 8, ["code"])
2781
- ])) : H("", !0),
2782
- e.format === "yaml" ? (v(), $("div", al, [
2815
+ }, null, 8, ["class", "code"])
2816
+ ])) : z("", !0),
2817
+ e.format === "yaml" ? (h(), j("div", rl, [
2783
2818
  C(p, {
2784
2819
  id: "config-card-codeblock",
2785
2820
  code: o.value,
2786
2821
  language: "yaml",
2787
2822
  theme: "dark"
2788
2823
  }, null, 8, ["code"])
2789
- ])) : H("", !0)
2824
+ ])) : z("", !0)
2790
2825
  ], 64);
2791
2826
  };
2792
2827
  }
2793
- }), ol = /* @__PURE__ */ he(rl, [["__scopeId", "data-v-c914c7e4"]]), ei = "24px", nl = (e, i) => {
2828
+ }), nl = /* @__PURE__ */ he(ol, [["__scopeId", "data-v-27f85338"]]), ei = "24px", ll = (e, i) => {
2794
2829
  const t = e.__vccOpts || e;
2795
2830
  for (const [r, a] of i)
2796
2831
  t[r] = a;
2797
2832
  return t;
2798
- }, ll = (e) => (ni("data-v-a53b73fd"), e = e(), li(), e), sl = ["aria-hidden"], cl = {
2833
+ }, sl = (e) => (li("data-v-a53b73fd"), e = e(), si(), e), cl = ["aria-hidden"], ul = {
2799
2834
  key: 0,
2800
2835
  "data-testid": "kui-icon-svg-title"
2801
- }, ul = /* @__PURE__ */ ll(() => /* @__PURE__ */ F("path", {
2836
+ }, dl = /* @__PURE__ */ sl(() => /* @__PURE__ */ F("path", {
2802
2837
  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",
2803
2838
  fill: "currentColor"
2804
- }, null, -1)), dl = /* @__PURE__ */ re({
2839
+ }, null, -1)), pl = /* @__PURE__ */ oe({
2805
2840
  __name: "BookIcon",
2806
2841
  props: {
2807
2842
  /** The accessibility text provided to screen readers */
@@ -2853,7 +2888,7 @@ const Xn = {
2853
2888
  }
2854
2889
  },
2855
2890
  setup(e) {
2856
- const i = e, t = M(() => {
2891
+ const i = e, t = $(() => {
2857
2892
  if (typeof i.size == "number" && i.size > 0)
2858
2893
  return `${i.size}px`;
2859
2894
  if (typeof i.size == "string") {
@@ -2862,7 +2897,7 @@ const Xn = {
2862
2897
  return `${n}px`;
2863
2898
  }
2864
2899
  return ei;
2865
- }), r = M(() => ({
2900
+ }), r = $(() => ({
2866
2901
  boxSizing: "border-box",
2867
2902
  color: i.color,
2868
2903
  display: i.display,
@@ -2870,14 +2905,14 @@ const Xn = {
2870
2905
  lineHeight: "0",
2871
2906
  width: t.value
2872
2907
  }));
2873
- return (a, n) => (v(), R(Ke(e.as), {
2908
+ return (a, n) => (h(), R(qe(e.as), {
2874
2909
  "aria-hidden": e.decorative ? "true" : void 0,
2875
2910
  class: "kui-icon book-icon",
2876
2911
  "data-testid": "kui-icon-wrapper-book-icon",
2877
- style: oi(r.value)
2912
+ style: ni(r.value)
2878
2913
  }, {
2879
- default: y(() => [
2880
- (v(), $("svg", {
2914
+ default: v(() => [
2915
+ (h(), j("svg", {
2881
2916
  "aria-hidden": e.decorative ? "true" : void 0,
2882
2917
  "data-testid": "kui-icon-svg-book-icon",
2883
2918
  fill: "none",
@@ -2887,23 +2922,23 @@ const Xn = {
2887
2922
  width: "100%",
2888
2923
  xmlns: "http://www.w3.org/2000/svg"
2889
2924
  }, [
2890
- e.title ? (v(), $("title", cl, V(e.title), 1)) : H("", !0),
2891
- ul
2892
- ], 8, sl))
2925
+ e.title ? (h(), j("title", ul, O(e.title), 1)) : z("", !0),
2926
+ dl
2927
+ ], 8, cl))
2893
2928
  ]),
2894
2929
  _: 1
2895
2930
  }, 8, ["aria-hidden", "style"]));
2896
2931
  }
2897
- }), pl = /* @__PURE__ */ nl(dl, [["__scopeId", "data-v-a53b73fd"]]), fl = { "data-testid": "config-card-title" }, ml = { class: "config-card-actions" }, gl = ["href"], yl = {
2932
+ }), fl = /* @__PURE__ */ ll(pl, [["__scopeId", "data-v-a53b73fd"]]), ml = { "data-testid": "config-card-title" }, gl = { class: "config-card-actions" }, yl = ["href"], vl = {
2898
2933
  key: 2,
2899
2934
  class: "config-card-details-section"
2900
- }, vl = {
2935
+ }, hl = {
2901
2936
  key: 3,
2902
2937
  class: "config-card-details-section"
2903
- }, hl = ["data-testid"], bl = {
2938
+ }, bl = ["data-testid"], wl = {
2904
2939
  key: 0,
2905
2940
  class: "config-card-prop-section-title"
2906
- }, wl = /* @__PURE__ */ re({
2941
+ }, _l = /* @__PURE__ */ oe({
2907
2942
  __name: "EntityBaseConfigCard",
2908
2943
  props: {
2909
2944
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2978,7 +3013,7 @@ const Xn = {
2978
3013
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2979
3014
  setup(e, { emit: i }) {
2980
3015
  var t;
2981
- const r = i, a = e, n = at(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { convertKeyToTitle: l } = se.useStringHelpers(), { axiosInstance: p } = se.useAxios({
3016
+ const r = i, a = e, n = at(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { convertKeyToTitle: l } = se.useStringHelpers(), { axiosInstance: d } = se.useAxios({
2982
3017
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
2983
3018
  }), m = [
2984
3019
  {
@@ -2994,9 +3029,9 @@ const Xn = {
2994
3029
  label: "YAML",
2995
3030
  value: "yaml"
2996
3031
  }
2997
- ], d = N("structured"), _ = (x) => {
2998
- d.value = x == null ? void 0 : x.value;
2999
- }, h = {
3032
+ ], p = N("structured"), b = (T) => {
3033
+ p.value = T == null ? void 0 : T.value;
3034
+ }, y = {
3000
3035
  id: {
3001
3036
  type: te.ID,
3002
3037
  label: o("baseConfigCard.commonFields.id_label"),
@@ -3030,21 +3065,21 @@ const Xn = {
3030
3065
  // the last property displayed
3031
3066
  section: pe.Basic
3032
3067
  }
3033
- }, T = N(!1), b = N(!1), j = N(""), k = N(), S = M(() => {
3034
- var x, D, L;
3068
+ }, x = N(!1), w = N(!1), M = N(""), k = N(), S = $(() => {
3069
+ var T, D, K;
3035
3070
  if (!k.value)
3036
3071
  return [];
3037
- const B = [], J = Object.keys(k.value).length;
3038
- for (const z in k.value) {
3039
- const X = (D = (x = a.configSchema) == null ? void 0 : x[z]) == null ? void 0 : D.order, G = (L = h[z]) == null ? void 0 : L.order;
3040
- let ae = J;
3041
- (G || G === 0) && (ae = G === -1 ? J + 1 : G), X && (ae = X === -1 ? J + 1 : X), B.push([z, ae]);
3072
+ const B = [], W = Object.keys(k.value).length;
3073
+ for (const H in k.value) {
3074
+ const X = (D = (T = a.configSchema) == null ? void 0 : T[H]) == null ? void 0 : D.order, G = (K = y[H]) == null ? void 0 : K.order;
3075
+ let ae = W;
3076
+ (G || G === 0) && (ae = G === -1 ? W + 1 : G), X && (ae = X === -1 ? W + 1 : X), B.push([H, ae]);
3042
3077
  }
3043
- return B.sort(function(z, X) {
3044
- return z[1] - X[1];
3045
- }), B.map((z) => {
3078
+ return B.sort(function(H, X) {
3079
+ return H[1] - X[1];
3080
+ }), B.map((H) => {
3046
3081
  var X, G;
3047
- const ae = z[0], Z = (X = k.value) == null ? void 0 : X[ae], ee = ((G = a.configSchema) == null ? void 0 : G[ae]) || {}, ue = h[ae];
3082
+ const ae = H[0], Z = (X = k.value) == null ? void 0 : X[ae], ee = ((G = a.configSchema) == null ? void 0 : G[ae]) || {}, ue = y[ae];
3048
3083
  return {
3049
3084
  key: ae,
3050
3085
  value: Z,
@@ -3054,22 +3089,22 @@ const Xn = {
3054
3089
  tooltip: ee.tooltip ?? ((ue == null ? void 0 : ue.tooltip) || void 0),
3055
3090
  section: ee.section ?? ((ue == null ? void 0 : ue.section) || pe.Advanced)
3056
3091
  };
3057
- }).filter((z) => !z.hidden && z.key !== a.pluginConfigKey);
3058
- }), c = M(() => {
3059
- var x, D;
3092
+ }).filter((H) => !H.hidden && H.key !== a.pluginConfigKey);
3093
+ }), c = $(() => {
3094
+ var T, D;
3060
3095
  if (!k.value || !a.pluginConfigKey)
3061
3096
  return [];
3062
- const L = k.value[a.pluginConfigKey] || {}, B = Object.keys(L).length, J = [];
3063
- for (const z in L) {
3064
- const X = (D = (x = a.pluginConfigSchema) == null ? void 0 : x[z]) == null ? void 0 : D.order, G = L[z];
3097
+ const K = k.value[a.pluginConfigKey] || {}, B = Object.keys(K).length, W = [];
3098
+ for (const H in K) {
3099
+ const X = (D = (T = a.pluginConfigSchema) == null ? void 0 : T[H]) == null ? void 0 : D.order, G = K[H];
3065
3100
  let ae = G != null && G !== "" ? B - 1 : B;
3066
- X && (ae = X === -1 ? B + 1 : X), J.push([z, ae]);
3101
+ X && (ae = X === -1 ? B + 1 : X), W.push([H, ae]);
3067
3102
  }
3068
- return J.sort(function(z, X) {
3069
- return z[1] - X[1];
3070
- }), J.map((z) => {
3103
+ return W.sort(function(H, X) {
3104
+ return H[1] - X[1];
3105
+ }), W.map((H) => {
3071
3106
  var X;
3072
- const G = z[0], ae = L[G], Z = ((X = a.pluginConfigSchema) == null ? void 0 : X[G]) || {};
3107
+ const G = H[0], ae = K[G], Z = ((X = a.pluginConfigSchema) == null ? void 0 : X[G]) || {};
3073
3108
  return {
3074
3109
  key: G,
3075
3110
  value: ae,
@@ -3079,178 +3114,179 @@ const Xn = {
3079
3114
  tooltip: Z.tooltip ?? void 0,
3080
3115
  section: pe.Plugin
3081
3116
  };
3082
- }).filter((z) => !z.hidden);
3083
- }), I = M(() => {
3084
- var x, D, L, B;
3117
+ }).filter((H) => !H.hidden);
3118
+ }), I = $(() => {
3119
+ var T, D, K, B;
3085
3120
  return {
3086
- basic: (x = S.value) == null ? void 0 : x.filter((J) => J.section === pe.Basic),
3087
- advanced: (D = S.value) == null ? void 0 : D.filter((J) => J.section === pe.Advanced),
3088
- plugin: (B = c.value) == null ? void 0 : B.concat((L = S.value) == null ? void 0 : L.filter((J) => J.section === pe.Plugin))
3121
+ basic: (T = S.value) == null ? void 0 : T.filter((W) => W.section === pe.Basic),
3122
+ advanced: (D = S.value) == null ? void 0 : D.filter((W) => W.section === pe.Advanced),
3123
+ plugin: (B = c.value) == null ? void 0 : B.concat((K = S.value) == null ? void 0 : K.filter((W) => W.section === pe.Plugin))
3089
3124
  };
3090
- }), K = M(() => {
3091
- const x = [];
3092
- return I.value.basic.length && x.push("basic"), I.value.advanced.length && x.push("advanced"), I.value.plugin.length && x.push("plugin"), x;
3093
- }), P = (x) => !!(x.tooltip || n[`${x.key}-label-tooltip`]), oe = M(() => {
3094
- var x, D;
3095
- let L = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3096
- return a.config.app === "konnect" ? L = L.replace(/{controlPlaneId}/gi, ((x = a.config) == null ? void 0 : x.controlPlaneId) || "") : a.config.app === "kongManager" && (L = L.replace(/\/{workspace}/gi, (D = a.config) != null && D.workspace ? `/${a.config.workspace}` : "")), L = L.replace(/{id}/gi, a.config.entityId), L;
3097
- }), U = (x) => {
3098
- k.value && x(JSON.stringify(k.value)) ? r("copy:success", k.value) : r("copy:error");
3125
+ }), q = $(() => {
3126
+ const T = [];
3127
+ return I.value.basic.length && T.push("basic"), I.value.advanced.length && T.push("advanced"), I.value.plugin.length && T.push("plugin"), T;
3128
+ }), L = (T) => !!(T.tooltip || n[`${T.key}-label-tooltip`]), re = $(() => {
3129
+ var T, D;
3130
+ let K = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3131
+ return a.config.app === "konnect" ? K = K.replace(/{controlPlaneId}/gi, ((T = a.config) == null ? void 0 : T.controlPlaneId) || "") : a.config.app === "kongManager" && (K = K.replace(/\/{workspace}/gi, (D = a.config) != null && D.workspace ? `/${a.config.workspace}` : "")), K = K.replace(/{id}/gi, a.config.entityId), K;
3132
+ }), P = (T) => {
3133
+ k.value && T(JSON.stringify(k.value)) ? r("copy:success", k.value) : r("copy:error");
3099
3134
  };
3100
- return we(T, (x) => {
3101
- r("loading", x);
3135
+ return we(x, (T) => {
3136
+ r("loading", T);
3102
3137
  }, { immediate: !0 }), ht(async () => {
3103
- b.value = !1, T.value = !0;
3138
+ w.value = !1, x.value = !0;
3104
3139
  try {
3105
- const { data: x } = await p.get(oe.value);
3140
+ const { data: T } = await d.get(re.value);
3106
3141
  if (a.dataKey)
3107
- if (typeof x[a.dataKey] < "u")
3108
- k.value = { ...x[a.dataKey] };
3142
+ if (typeof T[a.dataKey] < "u")
3143
+ k.value = { ...T[a.dataKey] };
3109
3144
  else
3110
3145
  throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3111
3146
  else
3112
- k.value = { ...x };
3147
+ k.value = { ...T };
3113
3148
  Object.keys(a.configSchema).filter((D) => a.configSchema[D].forceShow).forEach((D) => {
3114
3149
  k.value && typeof k.value[D] > "u" && (k.value[D] = null);
3115
- }), r("fetch:success", x);
3116
- } catch (x) {
3117
- const D = s(x);
3118
- j.value = D.startsWith("code") ? o("baseConfigCard.errors.load") : D, b.value = !0, r("fetch:error", x);
3150
+ }), r("fetch:success", T);
3151
+ } catch (T) {
3152
+ const D = s(T);
3153
+ M.value = D.startsWith("code") ? o("baseConfigCard.errors.load") : D, w.value = !0, r("fetch:error", T);
3119
3154
  } finally {
3120
- T.value = !1;
3155
+ x.value = !1;
3121
3156
  }
3122
- }), (x, D) => {
3123
- const L = q("KLabel"), B = q("KSelect"), J = q("KButton"), z = q("KClipboardProvider"), X = q("KSkeleton"), G = q("KEmptyState"), ae = q("KCard");
3124
- return v(), R(ae, { class: "kong-ui-entity-base-config-card" }, Te({
3125
- actions: y(() => [
3126
- F("div", ml, [
3127
- Q(x.$slots, "actions", {}, void 0, !0),
3128
- e.config.jsonYamlEnabled ? (v(), R(L, {
3157
+ }), (T, D) => {
3158
+ const K = U("KLabel"), B = U("KSelect"), W = U("KButton"), H = U("KClipboardProvider"), X = U("KSkeleton"), G = U("KEmptyState"), ae = U("KCard");
3159
+ return h(), R(ae, { class: "kong-ui-entity-base-config-card" }, $e({
3160
+ actions: v(() => [
3161
+ F("div", gl, [
3162
+ Q(T.$slots, "actions", {}, void 0, !0),
3163
+ e.config.jsonYamlEnabled ? (h(), R(K, {
3129
3164
  key: 0,
3130
3165
  class: "config-format-select-label",
3131
3166
  "data-testid": "config-format-select-label"
3132
3167
  }, {
3133
- default: y(() => [
3134
- W(V(e.label), 1)
3168
+ default: v(() => [
3169
+ J(O(e.label), 1)
3135
3170
  ]),
3136
3171
  _: 1
3137
- })) : H("", !0),
3138
- e.config.jsonYamlEnabled ? (v(), R(B, {
3172
+ })) : z("", !0),
3173
+ e.config.jsonYamlEnabled ? (h(), R(B, {
3139
3174
  key: 1,
3140
3175
  appearance: "select",
3141
3176
  "data-testid": "select-config-format",
3142
3177
  items: m,
3143
- onChange: _
3144
- })) : H("", !0),
3145
- a.config.jsonYamlEnabled && e.configCardDoc ? (v(), R(J, {
3178
+ onChange: b
3179
+ })) : z("", !0),
3180
+ a.config.jsonYamlEnabled && e.configCardDoc ? (h(), R(W, {
3146
3181
  key: 2,
3147
3182
  appearance: "tertiary",
3148
3183
  class: "book-icon",
3149
3184
  "data-testid": "book-icon"
3150
3185
  }, {
3151
- default: y(() => [
3186
+ default: v(() => [
3152
3187
  F("a", {
3153
3188
  href: e.configCardDoc,
3154
3189
  rel: "noopener",
3155
3190
  target: "_blank"
3156
3191
  }, [
3157
- C(f(pl), { size: f(hr) }, null, 8, ["size"])
3158
- ], 8, gl)
3192
+ C(f(fl), { size: f(hr) }, null, 8, ["size"])
3193
+ ], 8, yl)
3159
3194
  ]),
3160
3195
  _: 1
3161
- })) : H("", !0),
3162
- e.config.jsonYamlEnabled ? H("", !0) : (v(), R(z, { key: 3 }, {
3163
- default: y(({ copyToClipboard: Z }) => [
3164
- !T.value && !b.value ? (v(), R(J, {
3196
+ })) : z("", !0),
3197
+ e.config.jsonYamlEnabled ? z("", !0) : (h(), R(H, { key: 3 }, {
3198
+ default: v(({ copyToClipboard: Z }) => [
3199
+ !x.value && !w.value ? (h(), R(W, {
3165
3200
  key: 0,
3166
3201
  appearance: "tertiary",
3167
3202
  "data-testid": "json-copy-button",
3168
- onClick: (ee) => U(Z)
3203
+ onClick: (ee) => P(Z)
3169
3204
  }, {
3170
- default: y(() => [
3171
- W(V(f(o)("baseConfigCard.actions.copy")), 1)
3205
+ default: v(() => [
3206
+ J(O(f(o)("baseConfigCard.actions.copy")), 1)
3172
3207
  ]),
3173
3208
  _: 2
3174
- }, 1032, ["onClick"])) : H("", !0)
3209
+ }, 1032, ["onClick"])) : z("", !0)
3175
3210
  ]),
3176
3211
  _: 1
3177
3212
  }))
3178
3213
  ])
3179
3214
  ]),
3180
- default: y(() => [
3181
- T.value ? (v(), R(X, {
3215
+ default: v(() => [
3216
+ x.value ? (h(), R(X, {
3182
3217
  key: 0,
3183
3218
  "data-testid": "config-card-loader",
3184
3219
  "table-columns": 2,
3185
3220
  type: "table"
3186
- })) : b.value ? (v(), R(G, {
3221
+ })) : w.value ? (h(), R(G, {
3187
3222
  key: 1,
3188
3223
  "data-testid": "config-card-fetch-error",
3189
3224
  "is-error": ""
3190
3225
  }, {
3191
- message: y(() => [
3192
- F("h3", null, V(j.value), 1)
3226
+ message: v(() => [
3227
+ F("h3", null, O(M.value), 1)
3193
3228
  ]),
3194
3229
  _: 1
3195
- })) : H("", !0),
3196
- e.config.jsonYamlEnabled ? (v(), $("div", yl, [
3197
- C(ol, {
3198
- format: d.value,
3199
- "prop-list-types": K.value,
3230
+ })) : z("", !0),
3231
+ e.config.jsonYamlEnabled ? (h(), j("div", vl, [
3232
+ C(nl, {
3233
+ "fetcher-url": re.value,
3234
+ format: p.value,
3235
+ "prop-list-types": q.value,
3200
3236
  "property-collections": I.value,
3201
3237
  record: k.value
3202
- }, Te({ _: 2 }, [
3203
- ye(Object.keys(x.$slots), (Z) => ({
3238
+ }, $e({ _: 2 }, [
3239
+ ye(Object.keys(T.$slots), (Z) => ({
3204
3240
  name: Z,
3205
- fn: y(({ row: ee, rowValue: ue }) => [
3206
- Q(x.$slots, Z, {
3241
+ fn: v(({ row: ee, rowValue: ue }) => [
3242
+ Q(T.$slots, Z, {
3207
3243
  row: ee,
3208
3244
  rowValue: ue
3209
3245
  }, void 0, !0)
3210
3246
  ])
3211
3247
  }))
3212
- ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3213
- ])) : (v(), $("div", vl, [
3214
- (v(!0), $(ve, null, ye(K.value, (Z) => (v(), $("div", {
3248
+ ]), 1032, ["fetcher-url", "format", "prop-list-types", "property-collections", "record"])
3249
+ ])) : (h(), j("div", hl, [
3250
+ (h(!0), j(ve, null, ye(q.value, (Z) => (h(), j("div", {
3215
3251
  key: `config-card-details-${Z}-props`,
3216
- class: $e(`config-card-details-${Z}-props`),
3252
+ class: Se(`config-card-details-${Z}-props`),
3217
3253
  "data-testid": `config-card-details-${Z}-props`
3218
3254
  }, [
3219
- Z !== "basic" ? (v(), $("div", bl, V(Z === "advanced" ? f(o)("baseConfigCard.sections.advanced") : f(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3220
- (v(!0), $(ve, null, ye(I.value[Z], (ee) => (v(), R(Ct, {
3255
+ Z !== "basic" ? (h(), j("div", wl, O(Z === "advanced" ? f(o)("baseConfigCard.sections.advanced") : f(o)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3256
+ (h(!0), j(ve, null, ye(I.value[Z], (ee) => (h(), R(Ct, {
3221
3257
  key: ee.key,
3222
3258
  item: ee
3223
- }, Te({
3224
- label: y(() => [
3225
- Q(x.$slots, `${ee.key}-label`, { row: ee }, void 0, !0)
3259
+ }, $e({
3260
+ label: v(() => [
3261
+ Q(T.$slots, `${ee.key}-label`, { row: ee }, void 0, !0)
3226
3262
  ]),
3227
- [ee.key]: y(({ rowValue: ue }) => [
3228
- Q(x.$slots, ee.key, {
3263
+ [ee.key]: v(({ rowValue: ue }) => [
3264
+ Q(T.$slots, ee.key, {
3229
3265
  row: ee,
3230
3266
  rowValue: ue
3231
3267
  }, void 0, !0)
3232
3268
  ]),
3233
3269
  _: 2
3234
3270
  }, [
3235
- P(ee) ? {
3271
+ L(ee) ? {
3236
3272
  name: "label-tooltip",
3237
- fn: y(() => [
3238
- Q(x.$slots, `${ee.key}-label-tooltip`, { row: ee }, void 0, !0)
3273
+ fn: v(() => [
3274
+ Q(T.$slots, `${ee.key}-label-tooltip`, { row: ee }, void 0, !0)
3239
3275
  ]),
3240
3276
  key: "0"
3241
3277
  } : void 0
3242
3278
  ]), 1032, ["item"]))), 128))
3243
- ], 10, hl))), 128))
3279
+ ], 10, bl))), 128))
3244
3280
  ]))
3245
3281
  ]),
3246
3282
  _: 2
3247
3283
  }, [
3248
3284
  e.hideTitle ? void 0 : {
3249
3285
  name: "title",
3250
- fn: y(() => [
3251
- F("div", fl, [
3252
- Q(x.$slots, "title", {}, () => [
3253
- W(V(f(o)("baseConfigCard.title")), 1)
3286
+ fn: v(() => [
3287
+ F("div", ml, [
3288
+ Q(T.$slots, "title", {}, () => [
3289
+ J(O(f(o)("baseConfigCard.title")), 1)
3254
3290
  ], !0)
3255
3291
  ])
3256
3292
  ]),
@@ -3259,10 +3295,10 @@ const Xn = {
3259
3295
  ]), 1024);
3260
3296
  };
3261
3297
  }
3262
- }), _l = /* @__PURE__ */ he(wl, [["__scopeId", "data-v-bea4df63"]]), kl = {
3298
+ }), kl = /* @__PURE__ */ he(_l, [["__scopeId", "data-v-4f47d6ad"]]), Cl = {
3263
3299
  class: "form-actions",
3264
3300
  "data-testid": "form-actions"
3265
- }, Cl = /* @__PURE__ */ re({
3301
+ }, Sl = /* @__PURE__ */ oe({
3266
3302
  __name: "EntityBaseForm",
3267
3303
  props: {
3268
3304
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3314,85 +3350,85 @@ const Xn = {
3314
3350
  var t;
3315
3351
  const r = i, a = e, n = bt(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3316
3352
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3317
- }), p = N(!1), m = N(!1), d = N(""), _ = M(() => a.canSubmit === !1 || a.isReadonly), h = M(() => {
3353
+ }), d = N(!1), m = N(!1), p = N(""), b = $(() => a.canSubmit === !1 || a.isReadonly), y = $(() => {
3318
3354
  var k, S;
3319
3355
  if (!a.editId)
3320
3356
  return "";
3321
3357
  let c = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3322
3358
  return a.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((k = a.config) == null ? void 0 : k.controlPlaneId) || "") : a.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (S = a.config) != null && S.workspace ? `/${a.config.workspace}` : "")), c = c.replace(/{id}/gi, a.editId), c;
3323
- }), T = () => {
3324
- a.config.cancelRoute ? n.push(a.config.cancelRoute) : b();
3325
- }, b = () => {
3359
+ }), x = () => {
3360
+ a.config.cancelRoute ? n.push(a.config.cancelRoute) : w();
3361
+ }, w = () => {
3326
3362
  r("cancel");
3327
- }, j = () => {
3328
- _.value || r("submit");
3363
+ }, M = () => {
3364
+ b.value || r("submit");
3329
3365
  };
3330
- return we(() => p.value, (k) => {
3366
+ return we(() => d.value, (k) => {
3331
3367
  r("loading", k);
3332
3368
  }, { immediate: !0 }), ht(async () => {
3333
3369
  if (a.editId)
3334
3370
  try {
3335
- m.value = !1, p.value = !0;
3336
- const { data: k } = await l.get(h.value);
3371
+ m.value = !1, d.value = !0;
3372
+ const { data: k } = await l.get(y.value);
3337
3373
  r("fetch:success", k);
3338
3374
  } catch (k) {
3339
3375
  const S = s(k);
3340
- d.value = S.startsWith("code") ? o("baseForm.errors.edit") : S, m.value = !0, r("fetch:error", k);
3376
+ p.value = S.startsWith("code") ? o("baseForm.errors.edit") : S, m.value = !0, r("fetch:error", k);
3341
3377
  } finally {
3342
- p.value = !1;
3378
+ d.value = !1;
3343
3379
  }
3344
3380
  }), (k, S) => {
3345
- const c = q("KSkeleton"), I = q("KEmptyState"), K = q("KAlert"), P = q("KButton"), oe = q("KCard");
3346
- return v(), R(oe, { class: "kong-ui-entity-base-form" }, {
3347
- default: y(() => [
3348
- p.value ? (v(), R(c, {
3381
+ const c = U("KSkeleton"), I = U("KEmptyState"), q = U("KAlert"), L = U("KButton"), re = U("KCard");
3382
+ return h(), R(re, { class: "kong-ui-entity-base-form" }, {
3383
+ default: v(() => [
3384
+ d.value ? (h(), R(c, {
3349
3385
  key: 0,
3350
3386
  type: "form"
3351
- })) : m.value ? (v(), R(I, {
3387
+ })) : m.value ? (h(), R(I, {
3352
3388
  key: 1,
3353
3389
  "cta-text": f(o)("baseForm.actions.back"),
3354
3390
  "data-testid": "form-fetch-error",
3355
- "handle-click": T,
3391
+ "handle-click": x,
3356
3392
  "is-error": !0
3357
3393
  }, {
3358
- message: y(() => [
3359
- F("h3", null, V(d.value), 1)
3394
+ message: v(() => [
3395
+ F("h3", null, O(p.value), 1)
3360
3396
  ]),
3361
3397
  _: 1
3362
- }, 8, ["cta-text"])) : (v(), $("form", {
3398
+ }, 8, ["cta-text"])) : (h(), j("form", {
3363
3399
  key: 2,
3364
3400
  "data-testid": "form-content",
3365
- onReset: Ne(b, ["prevent"]),
3366
- onSubmit: Ne(j, ["prevent"])
3401
+ onReset: Ne(w, ["prevent"]),
3402
+ onSubmit: Ne(M, ["prevent"])
3367
3403
  }, [
3368
3404
  Q(k.$slots, "default", {}, void 0, !0),
3369
- e.errorMessage ? (v(), R(K, {
3405
+ e.errorMessage ? (h(), R(q, {
3370
3406
  key: 0,
3371
3407
  "alert-message": e.errorMessage,
3372
3408
  appearance: "danger",
3373
3409
  "data-testid": "form-error"
3374
- }, null, 8, ["alert-message"])) : H("", !0),
3375
- F("div", kl, [
3410
+ }, null, 8, ["alert-message"])) : z("", !0),
3411
+ F("div", Cl, [
3376
3412
  Q(k.$slots, "form-actions", {}, () => [
3377
- C(P, {
3413
+ C(L, {
3378
3414
  appearance: "secondary",
3379
3415
  "data-testid": "form-cancel",
3380
3416
  disabled: e.isReadonly,
3381
3417
  type: "reset"
3382
3418
  }, {
3383
- default: y(() => [
3384
- W(V(f(o)("baseForm.actions.cancel")), 1)
3419
+ default: v(() => [
3420
+ J(O(f(o)("baseForm.actions.cancel")), 1)
3385
3421
  ]),
3386
3422
  _: 1
3387
3423
  }, 8, ["disabled"]),
3388
- C(P, {
3424
+ C(L, {
3389
3425
  appearance: "primary",
3390
3426
  "data-testid": "form-submit",
3391
- disabled: _.value,
3427
+ disabled: b.value,
3392
3428
  type: "submit"
3393
3429
  }, {
3394
- default: y(() => [
3395
- W(V(f(o)("baseForm.actions.save")), 1)
3430
+ default: v(() => [
3431
+ J(O(f(o)("baseForm.actions.save")), 1)
3396
3432
  ]),
3397
3433
  _: 1
3398
3434
  }, 8, ["disabled"])
@@ -3404,10 +3440,10 @@ const Xn = {
3404
3440
  });
3405
3441
  };
3406
3442
  }
3407
- }), Sl = /* @__PURE__ */ he(Cl, [["__scopeId", "data-v-448d8512"]]), Il = {
3443
+ }), Il = /* @__PURE__ */ he(Sl, [["__scopeId", "data-v-448d8512"]]), Al = {
3408
3444
  key: 0,
3409
3445
  "data-testid": "first-col"
3410
- }, Al = /* @__PURE__ */ re({
3446
+ }, xl = /* @__PURE__ */ oe({
3411
3447
  __name: "EntityBaseTableCell",
3412
3448
  props: {
3413
3449
  keyName: {
@@ -3420,68 +3456,68 @@ const Xn = {
3420
3456
  }
3421
3457
  },
3422
3458
  setup(e) {
3423
- const i = e, t = M(() => {
3424
- var b;
3425
- return ((b = i.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${i.keyName}"]`)) || null;
3426
- }), r = M(() => {
3427
- var b;
3428
- return ((b = t.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3429
- }), a = M(() => {
3430
- var b, j;
3431
- const k = (b = i.rowEl) == null ? void 0 : b.querySelectorAll("td");
3432
- return k ? ((j = k[0]) == null ? void 0 : j.getAttribute("data-testid")) === i.keyName : !1;
3459
+ const i = e, t = $(() => {
3460
+ var w;
3461
+ return ((w = i.rowEl) == null ? void 0 : w.querySelector(`[data-testid="${i.keyName}"]`)) || null;
3462
+ }), r = $(() => {
3463
+ var w;
3464
+ return ((w = t.value) == null ? void 0 : w.querySelector('[data-testid="first-col"]')) || null;
3465
+ }), a = $(() => {
3466
+ var w, M;
3467
+ const k = (w = i.rowEl) == null ? void 0 : w.querySelectorAll("td");
3468
+ return k ? ((M = k[0]) == null ? void 0 : M.getAttribute("data-testid")) === i.keyName : !1;
3433
3469
  });
3434
3470
  let n;
3435
3471
  const o = () => {
3436
3472
  n && (n.disconnect(), n = void 0);
3437
3473
  }, s = () => {
3438
- var b, j, k;
3439
- p.value = ((b = r.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, m.value = ((j = t.value) == null ? void 0 : j.clientWidth) || 0, d.value = ((k = l.value) == null ? void 0 : k.innerText) || "";
3440
- }, l = N({}), p = N(0), m = N(0), d = N(""), _ = M(() => [r.value, t.value]), h = we(
3441
- _,
3442
- (b) => {
3474
+ var w, M, k;
3475
+ d.value = ((w = r.value) == null ? void 0 : w.getBoundingClientRect().width) || 0, m.value = ((M = t.value) == null ? void 0 : M.clientWidth) || 0, p.value = ((k = l.value) == null ? void 0 : k.innerText) || "";
3476
+ }, l = N({}), d = N(0), m = N(0), p = N(""), b = $(() => [r.value, t.value]), y = we(
3477
+ b,
3478
+ (w) => {
3443
3479
  if (a.value && (o(), "ResizeObserver" in window && window)) {
3444
- n = new ResizeObserver((j) => {
3480
+ n = new ResizeObserver((M) => {
3445
3481
  window.requestAnimationFrame(() => {
3446
- !Array.isArray(j) || !j.length || s();
3482
+ !Array.isArray(M) || !M.length || s();
3447
3483
  });
3448
3484
  });
3449
- for (const j of b)
3450
- j && n.observe(j);
3485
+ for (const M of w)
3486
+ M && n.observe(M);
3451
3487
  }
3452
3488
  },
3453
3489
  { immediate: !0, flush: "post", deep: !0 }
3454
- ), T = M(() => a.value ? p.value > m.value : !1);
3455
- return ri(() => {
3490
+ ), x = $(() => a.value ? d.value > m.value : !1);
3491
+ return oi(() => {
3456
3492
  s();
3457
3493
  }), sa(() => {
3458
- h();
3459
- }), (b, j) => {
3460
- const k = q("KTooltip");
3461
- return v(), $("span", {
3494
+ y();
3495
+ }), (w, M) => {
3496
+ const k = U("KTooltip");
3497
+ return h(), j("span", {
3462
3498
  ref_key: "contentRef",
3463
3499
  ref: l,
3464
3500
  class: "content-wrapper"
3465
3501
  }, [
3466
- a.value ? (v(), $("span", Il, [
3502
+ a.value ? (h(), j("span", Al, [
3467
3503
  C(k, {
3468
- label: T.value ? d.value : "",
3504
+ label: x.value ? p.value : "",
3469
3505
  "max-width": "300",
3470
3506
  placement: "bottomStart"
3471
3507
  }, {
3472
- default: y(() => [
3473
- Q(b.$slots, "default", {}, void 0, !0)
3508
+ default: v(() => [
3509
+ Q(w.$slots, "default", {}, void 0, !0)
3474
3510
  ]),
3475
3511
  _: 3
3476
3512
  }, 8, ["label"])
3477
- ])) : Q(b.$slots, "default", { key: 1 }, void 0, !0)
3513
+ ])) : Q(w.$slots, "default", { key: 1 }, void 0, !0)
3478
3514
  ], 512);
3479
3515
  };
3480
3516
  }
3481
- }), xl = /* @__PURE__ */ he(Al, [["__scopeId", "data-v-e42a20c9"]]), Tl = { class: "toolbar-container" }, Ml = {
3517
+ }), Tl = /* @__PURE__ */ he(xl, [["__scopeId", "data-v-e42a20c9"]]), $l = { class: "toolbar-container" }, jl = {
3482
3518
  key: 0,
3483
3519
  class: "toolbar-button-container"
3484
- }, $l = ["data-testid"], jl = /* @__PURE__ */ re({
3520
+ }, Ml = ["data-testid"], El = /* @__PURE__ */ oe({
3485
3521
  __name: "EntityBaseTable",
3486
3522
  props: {
3487
3523
  // table header configuration
@@ -3591,76 +3627,76 @@ const Xn = {
3591
3627
  },
3592
3628
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3593
3629
  setup(e, { emit: i }) {
3594
- const t = e, r = i, { i18n: { t: a } } = se.useI18n(), n = M(() => {
3595
- var K, P;
3630
+ const t = e, r = i, { i18n: { t: a } } = se.useI18n(), n = $(() => {
3631
+ var q, L;
3596
3632
  return typeof t.errorMessage == "string" ? {
3597
3633
  hasError: !!t.errorMessage,
3598
3634
  title: t.errorMessage,
3599
3635
  message: void 0
3600
3636
  } : {
3601
3637
  hasError: !!t.errorMessage,
3602
- title: (K = t.errorMessage) == null ? void 0 : K.title,
3603
- message: (P = t.errorMessage) == null ? void 0 : P.message
3638
+ title: (q = t.errorMessage) == null ? void 0 : q.title,
3639
+ message: (L = t.errorMessage) == null ? void 0 : L.message
3604
3640
  };
3605
- }), o = M(() => t.cacheIdentifier || t.preferencesStorageKey), s = (K) => K.hasData || !!t.query, l = M(() => {
3606
- const K = [];
3607
- return Object.keys(t.tableHeaders).forEach((P) => {
3608
- const oe = t.tableHeaders[P];
3609
- K.push({
3610
- label: oe.label ?? P,
3611
- key: P,
3612
- sortable: oe.sortable ?? !1
3641
+ }), o = $(() => t.cacheIdentifier || t.preferencesStorageKey), s = (q) => q.hasData || !!t.query, l = $(() => {
3642
+ const q = [];
3643
+ return Object.keys(t.tableHeaders).forEach((L) => {
3644
+ const re = t.tableHeaders[L];
3645
+ q.push({
3646
+ label: re.label ?? L,
3647
+ key: L,
3648
+ sortable: re.sortable ?? !1
3613
3649
  });
3614
- }), t.enableEntityActions && K.push({
3650
+ }), t.enableEntityActions && q.push({
3615
3651
  key: "actions",
3616
3652
  hideLabel: !0
3617
- }), K;
3618
- }), p = (K) => ({
3619
- "data-rowid": K.id,
3620
- "data-testid": K.name,
3621
- ...t.rowAttributes(K)
3622
- }), m = N({}), d = (K) => {
3623
- var P;
3624
- return (P = m.value) == null ? void 0 : P.$el.querySelector(`[data-rowid="${K.id}"]`);
3625
- }, _ = (K) => {
3626
- const P = {
3627
- "data-testid": K.headerKey,
3628
- ...t.cellAttributes(K)
3653
+ }), q;
3654
+ }), d = (q) => ({
3655
+ "data-rowid": q.id,
3656
+ "data-testid": q.name,
3657
+ ...t.rowAttributes(q)
3658
+ }), m = N({}), p = (q) => {
3659
+ var L;
3660
+ return (L = m.value) == null ? void 0 : L.$el.querySelector(`[data-rowid="${q.id}"]`);
3661
+ }, b = (q) => {
3662
+ const L = {
3663
+ "data-testid": q.headerKey,
3664
+ ...t.cellAttributes(q)
3629
3665
  };
3630
- return K.colIndex === 0 && (P.style = {
3666
+ return q.colIndex === 0 && (L.style = {
3631
3667
  maxWidth: "250px",
3632
3668
  overflowX: "hidden",
3633
3669
  textOverflow: "ellipsis"
3634
- }), P;
3635
- }, h = () => {
3636
- r("empty-state-cta-clicked"), T();
3637
- }, T = () => {
3670
+ }), L;
3671
+ }, y = () => {
3672
+ r("empty-state-cta-clicked"), x();
3673
+ }, x = () => {
3638
3674
  r("clear-search-input");
3639
- }, b = M(() => t.disableRowClick ? void 0 : (K, P) => {
3640
- r("click:row", P);
3641
- }), j = (K) => {
3642
- r("sort", K);
3643
- }, { setTablePreferences: k, getTablePreferences: S } = Ca(), c = M(() => {
3644
- const K = S(t.preferencesStorageKey);
3675
+ }, w = $(() => t.disableRowClick ? void 0 : (q, L) => {
3676
+ r("click:row", L);
3677
+ }), M = (q) => {
3678
+ r("sort", q);
3679
+ }, { setTablePreferences: k, getTablePreferences: S } = Ca(), c = $(() => {
3680
+ const q = S(t.preferencesStorageKey);
3645
3681
  return {
3646
3682
  ...t.initialFetcherParams,
3647
- ...K
3683
+ ...q
3648
3684
  };
3649
- }), I = (K) => {
3650
- t.preferencesStorageKey && k(t.preferencesStorageKey, K);
3685
+ }), I = (q) => {
3686
+ t.preferencesStorageKey && k(t.preferencesStorageKey, q);
3651
3687
  };
3652
- return (K, P) => {
3653
- const oe = q("KIcon"), U = q("KButton"), x = q("KDropdown"), D = q("KTable"), L = q("KCard");
3654
- return v(), R(L, {
3688
+ return (q, L) => {
3689
+ const re = U("KIcon"), P = U("KButton"), T = U("KDropdown"), D = U("KTable"), K = U("KCard");
3690
+ return h(), R(K, {
3655
3691
  class: "kong-ui-entity-base-table",
3656
3692
  title: e.title
3657
3693
  }, {
3658
- default: y(() => [
3694
+ default: v(() => [
3659
3695
  C(D, {
3660
3696
  ref_key: "tableRefs",
3661
3697
  ref: m,
3662
3698
  "cache-identifier": o.value,
3663
- "cell-attrs": _,
3699
+ "cell-attrs": b,
3664
3700
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3665
3701
  "disable-sorting": e.disableSorting,
3666
3702
  "empty-state-action-button-icon": e.query ? "" : "plus",
@@ -3681,47 +3717,47 @@ const Xn = {
3681
3717
  "initial-fetcher-params": c.value,
3682
3718
  "is-loading": e.isLoading,
3683
3719
  "pagination-type": e.paginationType,
3684
- "row-attrs": p,
3720
+ "row-attrs": d,
3685
3721
  "search-input": e.query,
3686
- onKtableEmptyStateCtaClicked: h,
3687
- "onRow:click": b.value,
3688
- onSort: P[0] || (P[0] = (B) => j(B)),
3722
+ onKtableEmptyStateCtaClicked: y,
3723
+ "onRow:click": w.value,
3724
+ onSort: L[0] || (L[0] = (B) => M(B)),
3689
3725
  "onUpdate:tablePreferences": I
3690
- }, Te({
3691
- toolbar: y(({ state: B }) => [
3692
- Re(F("div", Tl, [
3693
- Q(K.$slots, "toolbar-filter", {}, void 0, !0),
3694
- K.$slots["toolbar-button"] ? (v(), $("div", Ml, [
3695
- Q(K.$slots, "toolbar-button", {}, void 0, !0)
3696
- ])) : H("", !0)
3726
+ }, $e({
3727
+ toolbar: v(({ state: B }) => [
3728
+ Re(F("div", $l, [
3729
+ Q(q.$slots, "toolbar-filter", {}, void 0, !0),
3730
+ q.$slots["toolbar-button"] ? (h(), j("div", jl, [
3731
+ Q(q.$slots, "toolbar-button", {}, void 0, !0)
3732
+ ])) : z("", !0)
3697
3733
  ], 512), [
3698
3734
  [De, s(B)]
3699
3735
  ])
3700
3736
  ]),
3701
- actions: y(({ row: B, rowKey: J, rowValue: z }) => [
3737
+ actions: v(({ row: B, rowKey: W, rowValue: H }) => [
3702
3738
  F("div", {
3703
3739
  class: "actions-container",
3704
3740
  "data-testid": B.name
3705
3741
  }, [
3706
- C(x, {
3742
+ C(T, {
3707
3743
  "kpop-attributes": { placement: "bottomEnd" },
3708
3744
  width: e.dropdownMenuWidth
3709
3745
  }, {
3710
- items: y(() => [
3711
- Q(K.$slots, "actions", {
3746
+ items: v(() => [
3747
+ Q(q.$slots, "actions", {
3712
3748
  row: B,
3713
- rowKey: J,
3714
- rowValue: z
3749
+ rowKey: W,
3750
+ rowValue: H
3715
3751
  }, void 0, !0)
3716
3752
  ]),
3717
- default: y(() => [
3718
- C(U, {
3753
+ default: v(() => [
3754
+ C(P, {
3719
3755
  class: "actions-trigger",
3720
3756
  "data-testid": "overflow-actions-button",
3721
3757
  size: "small"
3722
3758
  }, {
3723
- icon: y(() => [
3724
- C(oe, {
3759
+ icon: v(() => [
3760
+ C(re, {
3725
3761
  color: f(yr),
3726
3762
  icon: "more",
3727
3763
  size: "16"
@@ -3732,24 +3768,24 @@ const Xn = {
3732
3768
  ]),
3733
3769
  _: 2
3734
3770
  }, 1032, ["width"])
3735
- ], 8, $l)
3771
+ ], 8, Ml)
3736
3772
  ]),
3737
3773
  _: 2
3738
3774
  }, [
3739
- ye(e.tableHeaders, (B, J) => ({
3740
- name: J,
3741
- fn: y(({ row: z, rowKey: X, rowValue: G }) => [
3742
- C(xl, {
3743
- "key-name": String(J),
3744
- "row-el": d(z)
3775
+ ye(e.tableHeaders, (B, W) => ({
3776
+ name: W,
3777
+ fn: v(({ row: H, rowKey: X, rowValue: G }) => [
3778
+ C(Tl, {
3779
+ "key-name": String(W),
3780
+ "row-el": p(H)
3745
3781
  }, {
3746
- default: y(() => [
3747
- Q(K.$slots, J, {
3748
- row: z,
3782
+ default: v(() => [
3783
+ Q(q.$slots, W, {
3784
+ row: H,
3749
3785
  rowKey: X,
3750
3786
  rowValue: G
3751
3787
  }, () => [
3752
- W(V(G), 1)
3788
+ J(O(G), 1)
3753
3789
  ], !0)
3754
3790
  ]),
3755
3791
  _: 2
@@ -3762,13 +3798,13 @@ const Xn = {
3762
3798
  }, 8, ["title"]);
3763
3799
  };
3764
3800
  }
3765
- }), El = /* @__PURE__ */ he(jl, [["__scopeId", "data-v-57b5a97b"]]), Ol = {
3801
+ }), Ol = /* @__PURE__ */ he(El, [["__scopeId", "data-v-57b5a97b"]]), Vl = {
3766
3802
  key: 0,
3767
3803
  class: "kong-ui-entity-delete-error"
3768
- }, Vl = {
3804
+ }, Fl = {
3769
3805
  key: 1,
3770
3806
  class: "description"
3771
- }, Fl = /* @__PURE__ */ re({
3807
+ }, Nl = /* @__PURE__ */ oe({
3772
3808
  __name: "EntityDeleteModal",
3773
3809
  props: {
3774
3810
  visible: {
@@ -3807,14 +3843,14 @@ const Xn = {
3807
3843
  },
3808
3844
  emits: ["cancel", "proceed"],
3809
3845
  setup(e, { emit: i }) {
3810
- const { i18nT: t } = se.useI18n(), r = e, a = i, n = M(() => r.needConfirm ? r.entityName : ""), o = () => {
3846
+ const { i18nT: t } = se.useI18n(), r = e, a = i, n = $(() => r.needConfirm ? r.entityName : ""), o = () => {
3811
3847
  a("cancel");
3812
3848
  }, s = () => {
3813
3849
  a("proceed");
3814
3850
  };
3815
- return (l, p) => {
3816
- const m = q("KAlert"), d = q("KPrompt");
3817
- return v(), R(d, {
3851
+ return (l, d) => {
3852
+ const m = U("KAlert"), p = U("KPrompt");
3853
+ return h(), R(p, {
3818
3854
  "action-button-text": "Yes, delete",
3819
3855
  "action-pending": e.actionPending,
3820
3856
  class: "kong-ui-entity-delete-modal",
@@ -3825,50 +3861,50 @@ const Xn = {
3825
3861
  onCanceled: o,
3826
3862
  onProceed: s
3827
3863
  }, {
3828
- "body-content": y(() => [
3829
- e.error ? (v(), $("div", Ol, [
3864
+ "body-content": v(() => [
3865
+ e.error ? (h(), j("div", Vl, [
3830
3866
  C(m, { appearance: "danger" }, {
3831
- alertMessage: y(() => [
3832
- W(V(e.error), 1)
3867
+ alertMessage: v(() => [
3868
+ J(O(e.error), 1)
3833
3869
  ]),
3834
3870
  _: 1
3835
3871
  })
3836
- ])) : H("", !0),
3872
+ ])) : z("", !0),
3837
3873
  C(f(t), {
3838
3874
  class: "message",
3839
3875
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3840
3876
  tag: "p"
3841
- }, Te({
3842
- entityType: y(() => [
3843
- W(V(r.entityType), 1)
3877
+ }, $e({
3878
+ entityType: v(() => [
3879
+ J(O(r.entityType), 1)
3844
3880
  ]),
3845
3881
  _: 2
3846
3882
  }, [
3847
3883
  r.entityName ? {
3848
3884
  name: "entityName",
3849
- fn: y(() => [
3850
- F("strong", null, V(r.entityName), 1)
3885
+ fn: v(() => [
3886
+ F("strong", null, O(r.entityName), 1)
3851
3887
  ]),
3852
3888
  key: "0"
3853
3889
  } : void 0
3854
3890
  ]), 1032, ["keypath"]),
3855
- r.description || l.$slots.description ? (v(), $("div", Vl, [
3891
+ r.description || l.$slots.description ? (h(), j("div", Fl, [
3856
3892
  Q(l.$slots, "description", {}, () => [
3857
- F("p", null, V(r.description), 1)
3893
+ F("p", null, O(r.description), 1)
3858
3894
  ], !0)
3859
- ])) : H("", !0)
3895
+ ])) : z("", !0)
3860
3896
  ]),
3861
3897
  _: 3
3862
3898
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3863
3899
  };
3864
3900
  }
3865
- }), Nl = /* @__PURE__ */ he(Fl, [["__scopeId", "data-v-1c9a2a07"]]), Kl = {
3901
+ }), ql = /* @__PURE__ */ he(Nl, [["__scopeId", "data-v-1c9a2a07"]]), Ul = {
3866
3902
  fill: "none",
3867
3903
  height: "20",
3868
3904
  viewBox: "0 0 20 20",
3869
3905
  width: "20",
3870
3906
  xmlns: "http://www.w3.org/2000/svg"
3871
- }, Ll = {
3907
+ }, Kl = {
3872
3908
  id: "mask0_180_20349",
3873
3909
  height: "20",
3874
3910
  maskUnits: "userSpaceOnUse",
@@ -3876,7 +3912,7 @@ const Xn = {
3876
3912
  width: "20",
3877
3913
  x: "0",
3878
3914
  y: "0"
3879
- }, ql = ["fill"], Pl = { mask: "url(#mask0_180_20349)" }, Bl = ["fill"], ti = /* @__PURE__ */ re({
3915
+ }, Ll = ["fill"], Bl = { mask: "url(#mask0_180_20349)" }, Pl = ["fill"], ti = /* @__PURE__ */ oe({
3880
3916
  __name: "IconFilter",
3881
3917
  props: {
3882
3918
  color: {
@@ -3885,26 +3921,26 @@ const Xn = {
3885
3921
  }
3886
3922
  },
3887
3923
  setup(e) {
3888
- return (i, t) => (v(), $("svg", Kl, [
3889
- F("mask", Ll, [
3924
+ return (i, t) => (h(), j("svg", Ul, [
3925
+ F("mask", Kl, [
3890
3926
  F("rect", {
3891
3927
  fill: e.color,
3892
3928
  height: "20",
3893
3929
  width: "20"
3894
- }, null, 8, ql)
3930
+ }, null, 8, Ll)
3895
3931
  ]),
3896
- F("g", Pl, [
3932
+ F("g", Bl, [
3897
3933
  F("path", {
3898
3934
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3899
3935
  fill: e.color
3900
- }, null, 8, Bl)
3936
+ }, null, 8, Pl)
3901
3937
  ])
3902
3938
  ]));
3903
3939
  }
3904
- }), Ul = {
3940
+ }), Rl = {
3905
3941
  key: 1,
3906
3942
  class: "kong-ui-entity-filter"
3907
- }, Rl = { class: "menu-item-title" }, Dl = { class: "menu-item-indicator" }, Hl = { class: "menu-item-body" }, zl = ["for"], Gl = { class: "menu-item-buttons" }, Jl = { class: "filter-clear-button-container" }, Wl = /* @__PURE__ */ re({
3943
+ }, Dl = { class: "menu-item-title" }, zl = { class: "menu-item-indicator" }, Hl = { class: "menu-item-body" }, Gl = ["for"], Jl = { class: "menu-item-buttons" }, Wl = { class: "filter-clear-button-container" }, Yl = /* @__PURE__ */ oe({
3908
3944
  __name: "EntityFilter",
3909
3945
  props: {
3910
3946
  // filter config, either exact match or fuzzy match
@@ -3924,12 +3960,12 @@ const Xn = {
3924
3960
  },
3925
3961
  emits: ["update:modelValue"],
3926
3962
  setup(e, { emit: i }) {
3927
- const { i18n: { t } } = se.useI18n(), r = e, a = i, n = N(!1), o = N({}), s = M(() => {
3963
+ const { i18n: { t } } = se.useI18n(), r = e, a = i, n = N(!1), o = N({}), s = $(() => {
3928
3964
  const k = [];
3929
3965
  return new URLSearchParams(r.modelValue).forEach((S, c) => {
3930
3966
  S !== "" && k.push(c);
3931
3967
  }), k;
3932
- }), l = M(() => {
3968
+ }), l = $(() => {
3933
3969
  const k = r.config.fields;
3934
3970
  return Object.keys(k).filter((S) => k[S].searchable).map((S) => ({
3935
3971
  label: k[S].label || S,
@@ -3941,33 +3977,33 @@ const Xn = {
3941
3977
  o.value[c] = S;
3942
3978
  });
3943
3979
  });
3944
- const p = () => {
3980
+ const d = () => {
3945
3981
  n.value = !n.value;
3946
3982
  }, m = (k) => {
3947
3983
  a("update:modelValue", k);
3948
- }, d = (k) => `filter-${k}`, _ = (k) => {
3984
+ }, p = (k) => `filter-${k}`, b = (k) => {
3949
3985
  var S, c;
3950
3986
  return (((c = (S = r.config.schema) == null ? void 0 : S[k]) == null ? void 0 : c.values) ?? []).map((I) => ({
3951
3987
  value: I,
3952
3988
  label: I
3953
3989
  }));
3954
- }, h = (k) => {
3990
+ }, y = (k) => {
3955
3991
  var S, c;
3956
3992
  return ((c = (S = r.config.schema) == null ? void 0 : S[k]) == null ? void 0 : c.type) ?? "text";
3957
- }, T = (k) => {
3993
+ }, x = (k) => {
3958
3994
  o.value = {
3959
3995
  ...o.value,
3960
3996
  [k]: ""
3961
- }, j();
3962
- }, b = () => {
3963
- o.value = {}, j(!0);
3964
- }, j = (k = !1) => {
3997
+ }, M();
3998
+ }, w = () => {
3999
+ o.value = {}, M(!0);
4000
+ }, M = (k = !1) => {
3965
4001
  const S = Object.keys(o.value).reduce((c, I) => (o.value[I] && (c[I] = `${o.value[I]}`), c), {});
3966
4002
  k && (n.value = !1), a("update:modelValue", new URLSearchParams(S).toString());
3967
4003
  };
3968
4004
  return (k, S) => {
3969
- const c = q("KInput"), I = q("KButton"), K = q("KSelect"), P = q("KMenuItem"), oe = q("KMenu");
3970
- return e.config.isExactMatch ? (v(), R(c, {
4005
+ const c = U("KInput"), I = U("KButton"), q = U("KSelect"), L = U("KMenuItem"), re = U("KMenu");
4006
+ return e.config.isExactMatch ? (h(), R(c, {
3971
4007
  key: 0,
3972
4008
  autocomplete: "off",
3973
4009
  class: "kong-ui-entity-filter-input",
@@ -3976,79 +4012,79 @@ const Xn = {
3976
4012
  placeholder: e.config.placeholder,
3977
4013
  "onUpdate:modelValue": m
3978
4014
  }, {
3979
- before: y(() => [
4015
+ before: v(() => [
3980
4016
  C(ti)
3981
4017
  ]),
3982
4018
  _: 1
3983
- }, 8, ["model-value", "placeholder"])) : (v(), $("div", Ul, [
4019
+ }, 8, ["model-value", "placeholder"])) : (h(), j("div", Rl, [
3984
4020
  C(I, {
3985
4021
  appearance: "tertiary",
3986
4022
  "data-testid": "filter-button",
3987
- onClick: p
4023
+ onClick: d
3988
4024
  }, {
3989
- default: y(() => [
4025
+ default: v(() => [
3990
4026
  C(ti),
3991
- W(" " + V(f(t)("filter.filterButtonText")) + " " + V(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4027
+ J(" " + O(f(t)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3992
4028
  ]),
3993
4029
  _: 1
3994
4030
  }),
3995
4031
  Re(F("div", {
3996
4032
  class: "kong-ui-entity-filter-backdrop",
3997
- onClick: p
4033
+ onClick: d
3998
4034
  }, null, 512), [
3999
4035
  [De, n.value]
4000
4036
  ]),
4001
- Re(C(oe, { class: "kong-ui-entity-filter-menu" }, {
4002
- body: y(() => [
4003
- (v(!0), $(ve, null, ye(l.value, (U, x) => (v(), R(P, {
4004
- key: U.value,
4005
- "data-testid": U.value,
4037
+ Re(C(re, { class: "kong-ui-entity-filter-menu" }, {
4038
+ body: v(() => [
4039
+ (h(!0), j(ve, null, ye(l.value, (P, T) => (h(), R(L, {
4040
+ key: P.value,
4041
+ "data-testid": P.value,
4006
4042
  expandable: "",
4007
- "last-menu-item": x === l.value.length - 1
4043
+ "last-menu-item": T === l.value.length - 1
4008
4044
  }, {
4009
- itemTitle: y(() => [
4010
- F("span", Rl, [
4011
- W(V(U.label) + " ", 1),
4012
- Re(F("span", Dl, null, 512), [
4013
- [De, s.value.includes(U.value)]
4045
+ itemTitle: v(() => [
4046
+ F("span", Dl, [
4047
+ J(O(P.label) + " ", 1),
4048
+ Re(F("span", zl, null, 512), [
4049
+ [De, s.value.includes(P.value)]
4014
4050
  ])
4015
4051
  ])
4016
4052
  ]),
4017
- itemBody: y(() => {
4018
- var D, L;
4053
+ itemBody: v(() => {
4054
+ var D, K;
4019
4055
  return [
4020
4056
  F("div", Hl, [
4021
4057
  F("label", {
4022
4058
  class: "menu-item-label",
4023
- for: d(U.value)
4024
- }, V(f(t)("filter.fieldLabel")), 9, zl),
4025
- ((L = (D = e.config.schema) == null ? void 0 : D[U.value]) == null ? void 0 : L.type) === "select" ? (v(), R(K, {
4059
+ for: p(P.value)
4060
+ }, O(f(t)("filter.fieldLabel")), 9, Gl),
4061
+ ((K = (D = e.config.schema) == null ? void 0 : D[P.value]) == null ? void 0 : K.type) === "select" ? (h(), R(q, {
4026
4062
  key: 0,
4027
- id: d(U.value),
4028
- modelValue: o.value[U.value],
4029
- "onUpdate:modelValue": (B) => o.value[U.value] = B,
4063
+ id: p(P.value),
4064
+ modelValue: o.value[P.value],
4065
+ "onUpdate:modelValue": (B) => o.value[P.value] = B,
4030
4066
  appearance: "select",
4031
- items: _(U.value),
4067
+ items: b(P.value),
4032
4068
  placeholder: f(t)("filter.selectPlaceholder")
4033
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (v(), R(c, {
4069
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (h(), R(c, {
4034
4070
  key: 1,
4035
- id: d(U.value),
4036
- modelValue: o.value[U.value],
4037
- "onUpdate:modelValue": (B) => o.value[U.value] = B,
4071
+ id: p(P.value),
4072
+ modelValue: o.value[P.value],
4073
+ "onUpdate:modelValue": (B) => o.value[P.value] = B,
4038
4074
  autocomplete: "off",
4039
4075
  placeholder: f(t)("filter.inputPlaceholder"),
4040
- type: h(U.value)
4076
+ type: y(P.value)
4041
4077
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4042
4078
  ]),
4043
- F("div", Gl, [
4079
+ F("div", Jl, [
4044
4080
  C(I, {
4045
4081
  appearance: "tertiary",
4046
4082
  "data-testid": "apply-filter",
4047
4083
  size: "small",
4048
- onClick: S[0] || (S[0] = (B) => j(!0))
4084
+ onClick: S[0] || (S[0] = (B) => M(!0))
4049
4085
  }, {
4050
- default: y(() => [
4051
- W(V(f(t)("filter.applyButtonText")), 1)
4086
+ default: v(() => [
4087
+ J(O(f(t)("filter.applyButtonText")), 1)
4052
4088
  ]),
4053
4089
  _: 1
4054
4090
  }),
@@ -4056,10 +4092,10 @@ const Xn = {
4056
4092
  appearance: "tertiary",
4057
4093
  "data-testid": "clear-filter",
4058
4094
  size: "small",
4059
- onClick: (B) => T(U.value)
4095
+ onClick: (B) => x(P.value)
4060
4096
  }, {
4061
- default: y(() => [
4062
- W(V(f(t)("filter.clearButtonText")), 1)
4097
+ default: v(() => [
4098
+ J(O(f(t)("filter.clearButtonText")), 1)
4063
4099
  ]),
4064
4100
  _: 2
4065
4101
  }, 1032, ["onClick"])
@@ -4069,15 +4105,15 @@ const Xn = {
4069
4105
  _: 2
4070
4106
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
4071
4107
  ]),
4072
- actionButton: y(() => [
4073
- F("div", Jl, [
4108
+ actionButton: v(() => [
4109
+ F("div", Wl, [
4074
4110
  C(I, {
4075
4111
  appearance: "tertiary",
4076
4112
  size: "small",
4077
- onClick: b
4113
+ onClick: w
4078
4114
  }, {
4079
- default: y(() => [
4080
- W(V(f(t)("filter.clearAllButtonText")), 1)
4115
+ default: v(() => [
4116
+ J(O(f(t)("filter.clearAllButtonText")), 1)
4081
4117
  ]),
4082
4118
  _: 1
4083
4119
  })
@@ -4090,7 +4126,7 @@ const Xn = {
4090
4126
  ]));
4091
4127
  };
4092
4128
  }
4093
- }), Yl = /* @__PURE__ */ he(Wl, [["__scopeId", "data-v-15962ee2"]]), Zl = /* @__PURE__ */ re({
4129
+ }), Zl = /* @__PURE__ */ he(Yl, [["__scopeId", "data-v-15962ee2"]]), Ql = /* @__PURE__ */ oe({
4094
4130
  __name: "EntityToggleModal",
4095
4131
  props: {
4096
4132
  visible: {
@@ -4122,45 +4158,45 @@ const Xn = {
4122
4158
  },
4123
4159
  emits: ["canceled", "proceed"],
4124
4160
  setup(e, { emit: i }) {
4125
- const { i18n: { t }, i18nT: r } = se.useI18n(), a = e, n = i, o = N(!1), s = M(
4161
+ const { i18n: { t }, i18nT: r } = se.useI18n(), a = e, n = i, o = N(!1), s = $(
4126
4162
  () => a.action === "enable" ? t("toggleModal.enable.title", { entityType: a.entityType }) : t("toggleModal.disable.title", { entityType: a.entityType })
4127
- ), l = M(
4163
+ ), l = $(
4128
4164
  () => a.action === "enable" ? t("toggleModal.enable.confirmText") : t("toggleModal.disable.confirmText")
4129
- ), p = () => n("canceled"), m = async () => {
4165
+ ), d = () => n("canceled"), m = async () => {
4130
4166
  if (a.onConfirm) {
4131
4167
  o.value = !0;
4132
4168
  try {
4133
4169
  await a.onConfirm(), n("proceed");
4134
- } catch (d) {
4135
- console.error(d);
4170
+ } catch (p) {
4171
+ console.error(p);
4136
4172
  } finally {
4137
4173
  o.value = !1;
4138
4174
  }
4139
4175
  }
4140
4176
  };
4141
- return (d, _) => {
4142
- const h = q("KPrompt");
4143
- return v(), R(ai, { to: "body" }, [
4144
- C(h, {
4177
+ return (p, b) => {
4178
+ const y = U("KPrompt");
4179
+ return h(), R(ai, { to: "body" }, [
4180
+ C(y, {
4145
4181
  "action-button-text": l.value,
4146
4182
  "action-pending": o.value,
4147
4183
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
4148
4184
  "is-visible": e.visible,
4149
4185
  title: s.value,
4150
4186
  type: "warning",
4151
- onCanceled: p,
4187
+ onCanceled: d,
4152
4188
  onProceed: m
4153
4189
  }, {
4154
- "body-content": y(() => [
4190
+ "body-content": v(() => [
4155
4191
  C(f(r), {
4156
4192
  keypath: `toggleModal.${a.action}.message`,
4157
4193
  scope: "global"
4158
4194
  }, {
4159
- entityType: y(() => [
4160
- W(V(e.entityType), 1)
4195
+ entityType: v(() => [
4196
+ J(O(e.entityType), 1)
4161
4197
  ]),
4162
- entityName: y(() => [
4163
- F("strong", null, V(e.entityName), 1)
4198
+ entityName: v(() => [
4199
+ F("strong", null, O(e.entityName), 1)
4164
4200
  ]),
4165
4201
  _: 1
4166
4202
  }, 8, ["keypath"])
@@ -4170,7 +4206,7 @@ const Xn = {
4170
4206
  ]);
4171
4207
  };
4172
4208
  }
4173
- }), Be = /* @__PURE__ */ re({
4209
+ }), Be = /* @__PURE__ */ oe({
4174
4210
  __name: "PermissionsWrapper",
4175
4211
  props: {
4176
4212
  /**
@@ -4192,24 +4228,24 @@ const Xn = {
4192
4228
  }
4193
4229
  },
4194
4230
  setup(e) {
4195
- const i = e, t = N(void 0), r = M(() => t.value === !0 || t.value !== void 0 && i.forceShow === !0);
4231
+ const i = e, t = N(void 0), r = $(() => t.value === !0 || t.value !== void 0 && i.forceShow === !0);
4196
4232
  return we(() => i.authFunction, async () => {
4197
4233
  t.value = await i.authFunction();
4198
4234
  }, { immediate: !0 }), (a, n) => r.value ? Q(a.$slots, "default", {
4199
4235
  key: 0,
4200
4236
  isAllowed: t.value
4201
- }) : H("", !0);
4237
+ }) : z("", !0);
4202
4238
  }
4203
- }), Ql = { class: "form-section-wrapper" }, Xl = {
4239
+ }), Xl = { class: "form-section-wrapper" }, es = {
4204
4240
  key: 0,
4205
4241
  class: "form-section-title"
4206
- }, es = {
4242
+ }, ts = {
4207
4243
  key: 1,
4208
4244
  class: "form-section-description"
4209
- }, ts = {
4245
+ }, is = {
4210
4246
  key: 2,
4211
4247
  class: "form-section-footer"
4212
- }, is = { class: "form-section-content" }, as = /* @__PURE__ */ re({
4248
+ }, as = { class: "form-section-content" }, rs = /* @__PURE__ */ oe({
4213
4249
  __name: "EntityFormSection",
4214
4250
  props: {
4215
4251
  title: {
@@ -4235,31 +4271,31 @@ const Xn = {
4235
4271
  },
4236
4272
  setup(e) {
4237
4273
  const i = at();
4238
- return (t, r) => (v(), $("fieldset", {
4239
- class: $e(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4274
+ return (t, r) => (h(), j("fieldset", {
4275
+ class: Se(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4240
4276
  }, [
4241
- F("div", Ql, [
4242
- e.hideInfoHeader ? H("", !0) : (v(), $("div", {
4277
+ F("div", Xl, [
4278
+ e.hideInfoHeader ? z("", !0) : (h(), j("div", {
4243
4279
  key: 0,
4244
- class: $e(["form-section-info", { sticky: e.stickyInfoHeader }])
4280
+ class: Se(["form-section-info", { sticky: e.stickyInfoHeader }])
4245
4281
  }, [
4246
- e.title ? (v(), $("h4", Xl, V(e.title), 1)) : H("", !0),
4247
- e.description || f(i).description ? (v(), $("div", es, [
4282
+ e.title ? (h(), j("h4", es, O(e.title), 1)) : z("", !0),
4283
+ e.description || f(i).description ? (h(), j("div", ts, [
4248
4284
  Q(t.$slots, "description", {}, () => [
4249
- F("p", null, V(e.description), 1)
4285
+ F("p", null, O(e.description), 1)
4250
4286
  ], !0)
4251
- ])) : H("", !0),
4252
- f(i).footer ? (v(), $("div", ts, [
4287
+ ])) : z("", !0),
4288
+ f(i).footer ? (h(), j("div", is, [
4253
4289
  Q(t.$slots, "footer", {}, void 0, !0)
4254
- ])) : H("", !0)
4290
+ ])) : z("", !0)
4255
4291
  ], 2)),
4256
- F("div", is, [
4292
+ F("div", as, [
4257
4293
  Q(t.$slots, "default", {}, void 0, !0)
4258
4294
  ])
4259
4295
  ])
4260
4296
  ], 2));
4261
4297
  }
4262
- }), ii = /* @__PURE__ */ he(as, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: aa, useDeleteUrlBuilder: rs, useErrors: os, useExternalLinkCreator: Ns, useFetchUrlBuilder: Ks, useFetcher: ns, useDebouncedFilter: Ls, useStringHelpers: qs, useHelpers: ls, useGatewayFeatureSupported: ss, useTruncationDetector: Ps } = se, cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 }, ds = /* @__PURE__ */ re({
4298
+ }), ii = /* @__PURE__ */ he(rs, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: ra, useDeleteUrlBuilder: os, useErrors: ns, useExternalLinkCreator: qs, useFetchUrlBuilder: Us, useFetcher: ls, useDebouncedFilter: Ks, useStringHelpers: Ls, useHelpers: ss, useGatewayFeatureSupported: cs, useTruncationDetector: Bs } = se, us = { class: "kong-ui-entities-gateway-services-list" }, ds = { key: 1 }, ps = /* @__PURE__ */ oe({
4263
4299
  __name: "GatewayServiceList",
4264
4300
  props: {
4265
4301
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4305,10 +4341,10 @@ const Xn = {
4305
4341
  },
4306
4342
  emits: ["error", "copy:success", "copy:error", "delete:success", "toggle:success"],
4307
4343
  setup(e, { emit: i }) {
4308
- var qe;
4309
- const t = i, r = e, { i18n: { t: a } } = Ze.useI18n(), n = bt(), { axiosInstance: o } = aa({
4310
- headers: (qe = r.config) == null ? void 0 : qe.requestHeaders
4311
- }), s = N(1), l = M(() => r.config.app !== "kongManager" || !!r.config.disableSorting), p = {
4344
+ var Ke;
4345
+ const t = i, r = e, { i18n: { t: a } } = Ze.useI18n(), n = bt(), { axiosInstance: o } = ra({
4346
+ headers: (Ke = r.config) == null ? void 0 : Ke.requestHeaders
4347
+ }), s = N(1), l = $(() => r.config.app !== "kongManager" || !!r.config.disableSorting), d = {
4312
4348
  name: { label: a("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0 },
4313
4349
  protocol: { label: a("gateway_services.list.table_headers.protocol"), searchable: !0, sortable: !0 },
4314
4350
  host: { label: a("gateway_services.list.table_headers.host"), searchable: !0, sortable: !0 },
@@ -4316,62 +4352,62 @@ const Xn = {
4316
4352
  path: { label: a("gateway_services.list.table_headers.path"), searchable: !0, sortable: !0 },
4317
4353
  enabled: { label: a("gateway_services.list.table_headers.enabled"), searchable: !0, sortable: !0 },
4318
4354
  tags: { label: a("gateway_services.list.table_headers.tags"), sortable: !1 }
4319
- }, m = p, d = M(() => {
4320
- var g, O;
4321
- let u = `${r.config.apiBaseUrl}${He.list[r.config.app].all}`;
4322
- return r.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, (O = r.config) != null && O.workspace ? `/${r.config.workspace}` : "")), u;
4323
- }), _ = M(() => r.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${d.value}`) : new URL(d.value)), h = N(""), T = M(() => {
4355
+ }, m = d, p = $(() => {
4356
+ var g, V;
4357
+ let u = `${r.config.apiBaseUrl}${ze.list[r.config.app].all}`;
4358
+ return r.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, (V = r.config) != null && V.workspace ? `/${r.config.workspace}` : "")), u;
4359
+ }), b = $(() => r.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${p.value}`) : new URL(p.value)), y = N(""), x = $(() => {
4324
4360
  const u = r.config.app === "konnect" || r.config.isExactMatch;
4325
4361
  if (u)
4326
4362
  return {
4327
4363
  isExactMatch: u,
4328
4364
  placeholder: a(`search.placeholder.${r.config.app}`)
4329
4365
  };
4330
- const { name: g, enabled: O, protocol: Y, host: ie, port: ce, path: w } = p;
4366
+ const { name: g, enabled: V, protocol: Y, host: ie, port: ce, path: _ } = d;
4331
4367
  return {
4332
4368
  isExactMatch: u,
4333
- fields: { name: g, enabled: O, protocol: Y, host: ie, port: ce, path: w },
4369
+ fields: { name: g, enabled: V, protocol: Y, host: ie, port: ce, path: _ },
4334
4370
  schema: r.config.filterSchema
4335
4371
  };
4336
- }), { fetcher: b, fetcherState: j } = ns(r.config, d.value), k = () => {
4337
- h.value = "";
4372
+ }), { fetcher: w, fetcherState: M } = ls(r.config, p.value), k = () => {
4373
+ y.value = "";
4338
4374
  }, S = () => {
4339
4375
  s.value++;
4340
- }, c = N(null), I = M(() => ({
4376
+ }, c = N(null), I = $(() => ({
4341
4377
  ctaPath: r.config.createRoute,
4342
- ctaText: Ae.value ? a("actions.create") : void 0,
4378
+ ctaText: xe.value ? a("actions.create") : void 0,
4343
4379
  message: a("gateway_services.list.empty_state.description"),
4344
- title: Ae.value ? a("gateway_services.list.empty_state.title") : ""
4345
- })), K = N(!1), P = N(null), oe = M(() => {
4380
+ title: xe.value ? a("gateway_services.list.empty_state.title") : ""
4381
+ })), q = N(!1), L = N(null), re = $(() => {
4346
4382
  const u = {
4347
4383
  action: "disable",
4348
4384
  id: "",
4349
4385
  name: ""
4350
4386
  };
4351
- if (P.value) {
4352
- const { enabled: g, id: O, name: Y } = P.value;
4353
- u.action = g ? "disable" : "enable", u.id = O, u.name = Y || O;
4387
+ if (L.value) {
4388
+ const { enabled: g, id: V, name: Y } = L.value;
4389
+ u.action = g ? "disable" : "enable", u.id = V, u.name = Y || V;
4354
4390
  }
4355
4391
  return u;
4356
- }), U = (u) => {
4357
- K.value = !0, P.value = u;
4358
- }, x = () => {
4359
- K.value = !1, P.value = null;
4392
+ }), P = (u) => {
4393
+ q.value = !0, L.value = u;
4394
+ }, T = () => {
4395
+ q.value = !1, L.value = null;
4360
4396
  }, D = async () => {
4361
4397
  var Y, ie;
4362
- if (!await ((Y = r.canEdit) == null ? void 0 : Y.call(r, P.value)) || !P.value)
4398
+ if (!await ((Y = r.canEdit) == null ? void 0 : Y.call(r, L.value)) || !L.value)
4363
4399
  return;
4364
- const g = `${_.value.href}/${P.value.id}`, O = !P.value.enabled;
4400
+ const g = `${b.value.href}/${L.value.id}`, V = !L.value.enabled;
4365
4401
  try {
4366
- const { data: ce } = ((ie = r.config) == null ? void 0 : ie.app) === "konnect" ? await o.put(g, { ...P.value, enabled: O }) : await o.patch(g, { ...P.value, enabled: O });
4402
+ const { data: ce } = ((ie = r.config) == null ? void 0 : ie.app) === "konnect" ? await o.put(g, { ...L.value, enabled: V }) : await o.patch(g, { ...L.value, enabled: V });
4367
4403
  t("toggle:success", ce);
4368
4404
  } catch (ce) {
4369
4405
  t("error", ce);
4370
4406
  }
4371
- P.value.enabled = O;
4372
- }, L = (u, g) => {
4373
- const O = u.id;
4374
- if (!g(O)) {
4407
+ L.value.enabled = V;
4408
+ }, K = (u, g) => {
4409
+ const V = u.id;
4410
+ if (!g(V)) {
4375
4411
  t("copy:error", {
4376
4412
  entity: u,
4377
4413
  field: "id",
@@ -4382,11 +4418,11 @@ const Xn = {
4382
4418
  t("copy:success", {
4383
4419
  entity: u,
4384
4420
  field: "id",
4385
- message: a("copy.success", { val: O })
4421
+ message: a("copy.success", { val: V })
4386
4422
  });
4387
4423
  }, B = (u, g) => {
4388
- const O = JSON.stringify(u);
4389
- if (!g(O)) {
4424
+ const V = JSON.stringify(u);
4425
+ if (!g(V)) {
4390
4426
  t("copy:error", {
4391
4427
  entity: u,
4392
4428
  message: a("errors.copy")
@@ -4397,109 +4433,109 @@ const Xn = {
4397
4433
  entity: u,
4398
4434
  message: a("copy.success_brief")
4399
4435
  });
4400
- }, J = async (u) => {
4401
- var O;
4402
- await ((O = r.canRetrieve) == null ? void 0 : O.call(r, u)) && n.push(r.config.getViewRoute(u.id));
4403
- }, z = (u) => ({
4436
+ }, W = async (u) => {
4437
+ var V;
4438
+ await ((V = r.canRetrieve) == null ? void 0 : V.call(r, u)) && n.push(r.config.getViewRoute(u.id));
4439
+ }, H = (u) => ({
4404
4440
  label: a("actions.view"),
4405
4441
  to: r.config.getViewRoute(u)
4406
4442
  }), X = (u) => ({
4407
4443
  label: a("actions.edit"),
4408
4444
  to: r.config.getEditRoute(u)
4409
- }), G = N(void 0), ae = N(!1), Z = N(!1), ee = N(""), ue = rs(r.config, d.value), ot = (u) => {
4445
+ }), G = N(void 0), ae = N(!1), Z = N(!1), ee = N(""), ue = os(r.config, p.value), ot = (u) => {
4410
4446
  G.value = u, ae.value = !0;
4411
- }, je = () => {
4447
+ }, Me = () => {
4412
4448
  ae.value = !1, G.value = void 0;
4413
4449
  }, nt = async () => {
4414
- var u, g, O;
4450
+ var u, g, V;
4415
4451
  if ((u = G.value) != null && u.id) {
4416
4452
  Z.value = !0;
4417
4453
  try {
4418
- await o.delete(ue(G.value.id)), t("delete:success", G.value), je(), s.value++;
4454
+ await o.delete(ue(G.value.id)), t("delete:success", G.value), Me(), s.value++;
4419
4455
  } catch (Y) {
4420
- ee.value = ((O = (g = Y.response) == null ? void 0 : g.data) == null ? void 0 : O.message) || Y.message || a("errors.delete"), t("error", Y);
4456
+ ee.value = ((V = (g = Y.response) == null ? void 0 : g.data) == null ? void 0 : V.message) || Y.message || a("errors.delete"), t("error", Y);
4421
4457
  } finally {
4422
4458
  Z.value = !1;
4423
4459
  }
4424
4460
  }
4425
- }, Ie = N(!0);
4426
- we(j, (u) => {
4427
- var g, O, Y, ie;
4428
- if (Array.isArray((g = u == null ? void 0 : u.response) == null ? void 0 : g.data) && (Ie.value = u.response.data.length > 0), u.status === xe.Error) {
4461
+ }, Ae = N(!0);
4462
+ we(M, (u) => {
4463
+ var g, V, Y, ie;
4464
+ if (Array.isArray((g = u == null ? void 0 : u.response) == null ? void 0 : g.data) && (Ae.value = u.response.data.length > 0), u.status === Te.Error) {
4429
4465
  c.value = {
4430
4466
  title: a("errors.general")
4431
- }, (ie = (Y = (O = u.error) == null ? void 0 : O.response) == null ? void 0 : Y.data) != null && ie.message && (c.value.message = u.error.response.data.message), t("error", u.error);
4467
+ }, (ie = (Y = (V = u.error) == null ? void 0 : V.response) == null ? void 0 : Y.data) != null && ie.message && (c.value.message = u.error.response.data.message), t("error", u.error);
4432
4468
  return;
4433
4469
  }
4434
4470
  c.value = null;
4435
4471
  });
4436
- const Ae = N(!1);
4472
+ const xe = N(!1);
4437
4473
  return ht(async () => {
4438
- Ae.value = await r.canCreate();
4474
+ xe.value = await r.canCreate();
4439
4475
  }), (u, g) => {
4440
- const O = q("KButton"), Y = q("KInputSwitch"), ie = q("KBadge"), ce = q("KTruncate"), w = q("KDropdownItem"), Pe = q("KClipboardProvider");
4441
- return v(), $("div", cs, [
4442
- C(f(El), {
4476
+ const V = U("KButton"), Y = U("KInputSwitch"), ie = U("KBadge"), ce = U("KTruncate"), _ = U("KDropdownItem"), Le = U("KClipboardProvider");
4477
+ return h(), j("div", us, [
4478
+ C(f(Ol), {
4443
4479
  "cache-identifier": e.cacheIdentifier,
4444
4480
  "disable-pagination-page-jump": "",
4445
4481
  "disable-sorting": l.value,
4446
4482
  "empty-state-options": I.value,
4447
4483
  "enable-entity-actions": "",
4448
4484
  "error-message": c.value,
4449
- fetcher: f(b),
4485
+ fetcher: f(w),
4450
4486
  "fetcher-cache-key": s.value,
4451
4487
  "pagination-type": "offset",
4452
4488
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
4453
- query: h.value,
4489
+ query: y.value,
4454
4490
  "table-headers": f(m),
4455
4491
  "use-action-outside": e.useActionOutside,
4456
4492
  onClearSearchInput: k,
4457
- "onClick:row": g[3] || (g[3] = (A) => J(A)),
4493
+ "onClick:row": g[3] || (g[3] = (A) => W(A)),
4458
4494
  onSort: S
4459
4495
  }, {
4460
- "toolbar-filter": y(() => [
4461
- C(f(Yl), {
4462
- modelValue: h.value,
4463
- "onUpdate:modelValue": g[0] || (g[0] = (A) => h.value = A),
4464
- config: T.value
4496
+ "toolbar-filter": v(() => [
4497
+ C(f(Zl), {
4498
+ modelValue: y.value,
4499
+ "onUpdate:modelValue": g[0] || (g[0] = (A) => y.value = A),
4500
+ config: x.value
4465
4501
  }, null, 8, ["modelValue", "config"])
4466
4502
  ]),
4467
- "toolbar-button": y(() => [
4468
- (v(), R(ai, {
4503
+ "toolbar-button": v(() => [
4504
+ (h(), R(ai, {
4469
4505
  disabled: !e.useActionOutside,
4470
4506
  to: "#kong-ui-app-page-header-action-button"
4471
4507
  }, [
4472
4508
  C(f(Be), {
4473
4509
  "auth-function": () => e.canCreate()
4474
4510
  }, {
4475
- default: y(() => [
4476
- Re(C(O, {
4511
+ default: v(() => [
4512
+ Re(C(V, {
4477
4513
  appearance: "primary",
4478
4514
  "data-testid": "toolbar-add-gateway-service",
4479
4515
  icon: "plus",
4480
4516
  to: e.config.createRoute
4481
4517
  }, {
4482
- default: y(() => [
4483
- W(V(f(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4518
+ default: v(() => [
4519
+ J(O(f(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4484
4520
  ]),
4485
4521
  _: 1
4486
4522
  }, 8, ["to"]), [
4487
- [De, Ie.value]
4523
+ [De, Ae.value]
4488
4524
  ])
4489
4525
  ]),
4490
4526
  _: 1
4491
4527
  }, 8, ["auth-function"])
4492
4528
  ], 8, ["disabled"]))
4493
4529
  ]),
4494
- name: y(({ rowValue: A }) => [
4495
- F("b", null, V(A ?? "-"), 1)
4530
+ name: v(({ rowValue: A }) => [
4531
+ F("b", null, O(A ?? "-"), 1)
4496
4532
  ]),
4497
- enabled: y(({ row: A }) => [
4533
+ enabled: v(({ row: A }) => [
4498
4534
  C(f(Be), {
4499
4535
  "auth-function": () => e.canEdit(A),
4500
4536
  "force-show": ""
4501
4537
  }, {
4502
- default: y(({ isAllowed: _e }) => [
4538
+ default: v(({ isAllowed: _e }) => [
4503
4539
  F("div", {
4504
4540
  onClick: g[1] || (g[1] = Ne(() => {
4505
4541
  }, ["stop"]))
@@ -4510,53 +4546,53 @@ const Xn = {
4510
4546
  "data-testid": `row-${A.id}-toggle-input`,
4511
4547
  disabled: !_e,
4512
4548
  label: A.enabled ? f(a)("actions.enable.enabled_label") : f(a)("actions.enable.disabled_label"),
4513
- onClick: Ne((Ye) => U(A), ["prevent"])
4549
+ onClick: Ne((Ye) => P(A), ["prevent"])
4514
4550
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "disabled", "label", "onClick"])
4515
4551
  ])
4516
4552
  ]),
4517
4553
  _: 2
4518
4554
  }, 1032, ["auth-function"])
4519
4555
  ]),
4520
- tags: y(({ rowValue: A }) => [
4521
- (A == null ? void 0 : A.length) > 0 ? (v(), R(ce, { key: 0 }, {
4522
- default: y(() => [
4523
- (v(!0), $(ve, null, ye(A, (_e) => (v(), R(ie, {
4556
+ tags: v(({ rowValue: A }) => [
4557
+ (A == null ? void 0 : A.length) > 0 ? (h(), R(ce, { key: 0 }, {
4558
+ default: v(() => [
4559
+ (h(!0), j(ve, null, ye(A, (_e) => (h(), R(ie, {
4524
4560
  key: _e,
4525
4561
  onClick: g[2] || (g[2] = Ne(() => {
4526
4562
  }, ["stop"]))
4527
4563
  }, {
4528
- default: y(() => [
4529
- W(V(_e), 1)
4564
+ default: v(() => [
4565
+ J(O(_e), 1)
4530
4566
  ]),
4531
4567
  _: 2
4532
4568
  }, 1024))), 128))
4533
4569
  ]),
4534
4570
  _: 2
4535
- }, 1024)) : (v(), $("span", us, "-"))
4571
+ }, 1024)) : (h(), j("span", ds, "-"))
4536
4572
  ]),
4537
- actions: y(({ row: A }) => [
4538
- C(Pe, null, {
4539
- default: y(({ copyToClipboard: _e }) => [
4540
- C(w, {
4573
+ actions: v(({ row: A }) => [
4574
+ C(Le, null, {
4575
+ default: v(({ copyToClipboard: _e }) => [
4576
+ C(_, {
4541
4577
  "data-testid": "action-entity-copy-id",
4542
- onClick: (Ye) => L(A, _e)
4578
+ onClick: (Ye) => K(A, _e)
4543
4579
  }, {
4544
- default: y(() => [
4545
- W(V(f(a)("actions.copy_id")), 1)
4580
+ default: v(() => [
4581
+ J(O(f(a)("actions.copy_id")), 1)
4546
4582
  ]),
4547
4583
  _: 2
4548
4584
  }, 1032, ["onClick"])
4549
4585
  ]),
4550
4586
  _: 2
4551
4587
  }, 1024),
4552
- C(Pe, null, {
4553
- default: y(({ copyToClipboard: _e }) => [
4554
- C(w, {
4588
+ C(Le, null, {
4589
+ default: v(({ copyToClipboard: _e }) => [
4590
+ C(_, {
4555
4591
  "data-testid": "action-entity-copy-json",
4556
4592
  onClick: (Ye) => B(A, _e)
4557
4593
  }, {
4558
- default: y(() => [
4559
- W(V(f(a)("actions.copy_json")), 1)
4594
+ default: v(() => [
4595
+ J(O(f(a)("actions.copy_json")), 1)
4560
4596
  ]),
4561
4597
  _: 2
4562
4598
  }, 1032, ["onClick"])
@@ -4566,11 +4602,11 @@ const Xn = {
4566
4602
  C(f(Be), {
4567
4603
  "auth-function": () => e.canRetrieve(A)
4568
4604
  }, {
4569
- default: y(() => [
4570
- C(w, {
4605
+ default: v(() => [
4606
+ C(_, {
4571
4607
  "data-testid": "action-entity-view",
4572
4608
  "has-divider": "",
4573
- item: z(A.id)
4609
+ item: H(A.id)
4574
4610
  }, null, 8, ["item"])
4575
4611
  ]),
4576
4612
  _: 2
@@ -4578,8 +4614,8 @@ const Xn = {
4578
4614
  C(f(Be), {
4579
4615
  "auth-function": () => e.canEdit(A)
4580
4616
  }, {
4581
- default: y(() => [
4582
- C(w, {
4617
+ default: v(() => [
4618
+ C(_, {
4583
4619
  "data-testid": "action-entity-edit",
4584
4620
  item: X(A.id)
4585
4621
  }, null, 8, ["item"])
@@ -4589,15 +4625,15 @@ const Xn = {
4589
4625
  C(f(Be), {
4590
4626
  "auth-function": () => e.canDelete(A)
4591
4627
  }, {
4592
- default: y(() => [
4593
- C(w, {
4628
+ default: v(() => [
4629
+ C(_, {
4594
4630
  danger: "",
4595
4631
  "data-testid": "action-entity-delete",
4596
4632
  "has-divider": "",
4597
4633
  onClick: (_e) => ot(A)
4598
4634
  }, {
4599
- default: y(() => [
4600
- W(V(f(a)("actions.delete.menu_label")), 1)
4635
+ default: v(() => [
4636
+ J(O(f(a)("actions.delete.menu_label")), 1)
4601
4637
  ]),
4602
4638
  _: 2
4603
4639
  }, 1032, ["onClick"])
@@ -4607,57 +4643,57 @@ const Xn = {
4607
4643
  ]),
4608
4644
  _: 1
4609
4645
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4610
- C(f(Zl), {
4611
- action: oe.value.action,
4612
- "entity-id": oe.value.id,
4613
- "entity-name": oe.value.name,
4646
+ C(f(Ql), {
4647
+ action: re.value.action,
4648
+ "entity-id": re.value.id,
4649
+ "entity-name": re.value.name,
4614
4650
  "entity-type": f(a)("glossary.gateway_services"),
4615
4651
  "on-confirm": D,
4616
- visible: K.value,
4617
- onCanceled: x,
4618
- onProceed: x
4652
+ visible: q.value,
4653
+ onCanceled: T,
4654
+ onProceed: T
4619
4655
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
4620
- C(f(Nl), {
4656
+ C(f(ql), {
4621
4657
  "action-pending": Z.value,
4622
4658
  description: f(a)("actions.delete.description"),
4623
4659
  "entity-name": G.value && (G.value.name || G.value.id),
4624
- "entity-type": f(ci).GatewayService,
4660
+ "entity-type": f(ui).GatewayService,
4625
4661
  error: ee.value,
4626
4662
  title: f(a)("actions.delete.title"),
4627
4663
  visible: ae.value,
4628
- onCancel: je,
4664
+ onCancel: Me,
4629
4665
  onProceed: nt
4630
4666
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
4631
4667
  ]);
4632
4668
  };
4633
4669
  }
4634
- }), ra = (e, i) => {
4670
+ }), oa = (e, i) => {
4635
4671
  const t = e.__vccOpts || e;
4636
4672
  for (const [r, a] of i)
4637
4673
  t[r] = a;
4638
4674
  return t;
4639
- }, Bs = /* @__PURE__ */ ra(ds, [["__scopeId", "data-v-0b44b6b1"]]), ps = { class: "kong-ui-entities-gateway-service-form" }, fs = { key: 0 }, ms = { class: "gateway-service-form-traffic-label" }, gs = { class: "gateway-service-form-margin-bottom" }, ys = {
4675
+ }, Ps = /* @__PURE__ */ oa(ps, [["__scopeId", "data-v-0b44b6b1"]]), fs = { class: "kong-ui-entities-gateway-service-form" }, ms = { key: 0 }, gs = { class: "gateway-service-form-traffic-label" }, ys = { class: "gateway-service-form-margin-bottom" }, vs = {
4640
4676
  key: 0,
4641
4677
  class: "gateway-service-form-group-fields"
4642
- }, vs = {
4678
+ }, hs = {
4643
4679
  key: 1,
4644
4680
  class: "gateway-service-form-group-fields"
4645
- }, hs = { key: 0 }, bs = { class: "gateway-service-form-margin-top" }, ws = { class: "gateway-service-form-margin-bottom" }, _s = { class: "gateway-service-form-margin-bottom" }, ks = { class: "gateway-service-form-margin-bottom" }, Cs = { class: "gateway-service-form-margin-bottom" }, Ss = {
4681
+ }, bs = { key: 0 }, ws = { class: "gateway-service-form-margin-top" }, _s = { class: "gateway-service-form-margin-bottom" }, ks = { class: "gateway-service-form-margin-bottom" }, Cs = { class: "gateway-service-form-margin-bottom" }, Ss = { class: "gateway-service-form-margin-bottom" }, Is = {
4646
4682
  key: 0,
4647
4683
  class: "gateway-service-form-margin-bottom"
4648
- }, Is = {
4684
+ }, As = {
4649
4685
  key: 1,
4650
4686
  class: "gateway-service-form-margin-bottom"
4651
- }, As = {
4687
+ }, xs = {
4652
4688
  key: 2,
4653
4689
  class: "gateway-service-form-margin-bottom"
4654
- }, xs = {
4690
+ }, Ts = {
4655
4691
  key: 0,
4656
4692
  class: "checkbox-aligned-radio"
4657
- }, Ts = {
4693
+ }, $s = {
4658
4694
  key: 1,
4659
4695
  class: "checkbox-aligned-radio"
4660
- }, Ms = /* @__PURE__ */ re({
4696
+ }, js = /* @__PURE__ */ oe({
4661
4697
  __name: "GatewayServiceForm",
4662
4698
  props: {
4663
4699
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4681,10 +4717,10 @@ const Xn = {
4681
4717
  },
4682
4718
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
4683
4719
  setup(e, { expose: i, emit: t }) {
4684
- var qe;
4685
- const r = t, a = e, n = N(!0), o = bt(), { i18nT: s, i18n: { t: l } } = Ze.useI18n(), { getMessageFromError: p } = os(), { axiosInstance: m } = aa({
4686
- headers: (qe = a.config) == null ? void 0 : qe.requestHeaders
4687
- }), d = M(() => He.form[a.config.app].edit), _ = M(() => a.gatewayServiceId ? pt.Edit : pt.Create), h = N(!1), T = M(() => !!a.gatewayServiceId), b = N(T.value ? "protocol" : "url"), j = Ze.usePortFromProtocol(), k = N(""), S = M(() => !!k.value), c = $t({
4720
+ var Ke;
4721
+ const r = t, a = e, n = N(!0), o = bt(), { i18nT: s, i18n: { t: l } } = Ze.useI18n(), { getMessageFromError: d } = ns(), { axiosInstance: m } = ra({
4722
+ headers: (Ke = a.config) == null ? void 0 : Ke.requestHeaders
4723
+ }), p = $(() => ze.form[a.config.app].edit), b = $(() => a.gatewayServiceId ? pt.Edit : pt.Create), y = N(!1), x = $(() => !!a.gatewayServiceId), w = N(x.value ? "protocol" : "url"), M = Ze.usePortFromProtocol(), k = N(""), S = $(() => !!k.value), c = jt({
4688
4724
  fields: {
4689
4725
  name: "",
4690
4726
  protocol: "http",
@@ -4704,7 +4740,7 @@ const Xn = {
4704
4740
  },
4705
4741
  isReadonly: !1,
4706
4742
  errorMessage: ""
4707
- }), I = $t({
4743
+ }), I = jt({
4708
4744
  name: "",
4709
4745
  protocol: "http",
4710
4746
  host: "",
@@ -4720,13 +4756,13 @@ const Xn = {
4720
4756
  tls_verify_enabled: !1,
4721
4757
  tls_verify_value: !1,
4722
4758
  tags: ""
4723
- }), K = a.config.app === "konnect" || ss({
4759
+ }), q = a.config.app === "konnect" || cs({
4724
4760
  gatewayInfo: a.config.gatewayInfo,
4725
4761
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
4726
4762
  supportedRange: {
4727
4763
  enterprise: ["3.0"]
4728
4764
  }
4729
- }), P = [
4765
+ }), L = [
4730
4766
  {
4731
4767
  label: l("gateway_services.form.fields.protocol.options.http"),
4732
4768
  value: "http",
@@ -4762,7 +4798,7 @@ const Xn = {
4762
4798
  value: "grpcs",
4763
4799
  group: "grpc"
4764
4800
  },
4765
- ...K ? [
4801
+ ...q ? [
4766
4802
  {
4767
4803
  label: l("gateway_services.form.fields.protocol.options.ws"),
4768
4804
  value: "ws",
@@ -4779,57 +4815,57 @@ const Xn = {
4779
4815
  value: "udp",
4780
4816
  group: "udp"
4781
4817
  }
4782
- ], oe = { url: "url", protocol: "protocol" }, U = (u, g) => {
4818
+ ], re = { url: "url", protocol: "protocol" }, P = (u, g) => {
4783
4819
  g.value;
4784
- }, x = (u) => u ? parseFloat(u) : 0, D = () => {
4820
+ }, T = (u) => u ? parseFloat(u) : 0, D = () => {
4785
4821
  n.value = !0, c.errorMessage = "", c.fields.host = I.host, c.fields.path = I.path, c.fields.port = I.port, c.fields.protocol = I.protocol, c.fields.url = I.url, c.fields.retries = I.retries, c.fields.connect_timeout = I.connect_timeout, c.fields.write_timeout = I.write_timeout, c.fields.read_timeout = I.read_timeout, c.fields.client_certificate = I.client_certificate, c.fields.ca_certificates = I.ca_certificates, c.fields.tls_verify_enabled = I.tls_verify_enabled, c.fields.tls_verify_value = I.tls_verify_value;
4786
- }, L = () => {
4787
- if (c.fields.url && b.value === "url")
4822
+ }, K = () => {
4823
+ if (c.fields.url && w.value === "url")
4788
4824
  try {
4789
4825
  const u = new URL(c.fields.url);
4790
4826
  c.errorMessage = "", c.fields.protocol = u.protocol.slice(0, -1), c.fields.host = u.hostname, c.fields.path = u.pathname;
4791
4827
  const g = Number(u.port);
4792
- h.value = !!g, c.fields.port = g || j.getPortFromProtocol(c.fields.protocol), c.errorMessage = "", r("url-valid:success");
4828
+ y.value = !!g, c.fields.port = g || M.getPortFromProtocol(c.fields.protocol), c.errorMessage = "", r("url-valid:success");
4793
4829
  } catch (u) {
4794
- c.errorMessage = l("errors.urlErrorMessage"), r("url-valid:error", p(u));
4830
+ c.errorMessage = l("errors.urlErrorMessage"), r("url-valid:error", d(u));
4795
4831
  }
4796
4832
  else
4797
4833
  r("url-valid:success"), c.errorMessage = "";
4798
- }, B = M(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(c.fields.protocol)), J = M(() => {
4799
- if (b.value === "url")
4834
+ }, B = $(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(c.fields.protocol)), W = $(() => {
4835
+ if (w.value === "url")
4800
4836
  return !0;
4801
4837
  const u = ["https", "wss", "tls"].includes(c.fields.protocol);
4802
- return b.value === "protocol" && u;
4803
- }), z = M(() => {
4804
- if (b.value === "url")
4838
+ return w.value === "protocol" && u;
4839
+ }), H = $(() => {
4840
+ if (w.value === "url")
4805
4841
  return !0;
4806
4842
  const u = ["https", "tls"].includes(c.fields.protocol);
4807
- return b.value === "protocol" && u;
4808
- }), X = M(() => {
4809
- if (b.value === "url")
4843
+ return w.value === "protocol" && u;
4844
+ }), X = $(() => {
4845
+ if (w.value === "url")
4810
4846
  return !0;
4811
4847
  const u = ["https", "wss", "tls"].includes(c.fields.protocol);
4812
- return b.value === "protocol" && u;
4848
+ return w.value === "protocol" && u;
4813
4849
  }), G = (u) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(u) ? "" : l("errors.validationNameError"), ae = (u) => {
4814
4850
  k.value = G(u);
4815
- }, Z = M(() => T.value && JSON.stringify(c.fields) !== JSON.stringify(I) || b.value === "url" && !!c.fields.url || b.value === "protocol" && !!c.fields.host), ee = (u) => {
4816
- var g, O, Y;
4817
- c.fields.name = (u == null ? void 0 : u.name) || "", c.fields.tags = ((g = u == null ? void 0 : u.tags) == null ? void 0 : g.join(",")) || "", c.fields.protocol = (u == null ? void 0 : u.protocol) || "http", c.fields.path = (u == null ? void 0 : u.path) || "", c.fields.read_timeout = u != null && u.read_timeout || (u == null ? void 0 : u.read_timeout) === 0 ? u == null ? void 0 : u.read_timeout : 6e4, c.fields.retries = u != null && u.retries || (u == null ? void 0 : u.retries) === 0 ? u == null ? void 0 : u.retries : 5, c.fields.host = (u == null ? void 0 : u.host) || "", c.fields.connect_timeout = u != null && u.connect_timeout || (u == null ? void 0 : u.connect_timeout) === 0 ? u == null ? void 0 : u.connect_timeout : 6e4, c.fields.tls_verify_enabled = (u == null ? void 0 : u.tls_verify) !== "" && (u == null ? void 0 : u.tls_verify) !== null && (u == null ? void 0 : u.tls_verify) !== void 0, c.fields.tls_verify_value = u != null && u.tls_verify ? u == null ? void 0 : u.tls_verify : !1, c.fields.ca_certificates = ((O = u == null ? void 0 : u.ca_certificates) == null ? void 0 : O.join(",")) || "", c.fields.client_certificate = ((Y = u == null ? void 0 : u.client_certificate) == null ? void 0 : Y.id) || "", c.fields.write_timeout = u != null && u.write_timeout || (u == null ? void 0 : u.write_timeout) === 0 ? u == null ? void 0 : u.write_timeout : 6e4, c.fields.port = u != null && u.port || (u == null ? void 0 : u.port) === 0 ? u == null ? void 0 : u.port : 80, Object.assign(I, c.fields);
4851
+ }, Z = $(() => x.value && JSON.stringify(c.fields) !== JSON.stringify(I) || w.value === "url" && !!c.fields.url || w.value === "protocol" && !!c.fields.host), ee = (u) => {
4852
+ var g, V, Y;
4853
+ c.fields.name = (u == null ? void 0 : u.name) || "", c.fields.tags = ((g = u == null ? void 0 : u.tags) == null ? void 0 : g.join(",")) || "", c.fields.protocol = (u == null ? void 0 : u.protocol) || "http", c.fields.path = (u == null ? void 0 : u.path) || "", c.fields.read_timeout = u != null && u.read_timeout || (u == null ? void 0 : u.read_timeout) === 0 ? u == null ? void 0 : u.read_timeout : 6e4, c.fields.retries = u != null && u.retries || (u == null ? void 0 : u.retries) === 0 ? u == null ? void 0 : u.retries : 5, c.fields.host = (u == null ? void 0 : u.host) || "", c.fields.connect_timeout = u != null && u.connect_timeout || (u == null ? void 0 : u.connect_timeout) === 0 ? u == null ? void 0 : u.connect_timeout : 6e4, c.fields.tls_verify_enabled = (u == null ? void 0 : u.tls_verify) !== "" && (u == null ? void 0 : u.tls_verify) !== null && (u == null ? void 0 : u.tls_verify) !== void 0, c.fields.tls_verify_value = u != null && u.tls_verify ? u == null ? void 0 : u.tls_verify : !1, c.fields.ca_certificates = ((V = u == null ? void 0 : u.ca_certificates) == null ? void 0 : V.join(",")) || "", c.fields.client_certificate = ((Y = u == null ? void 0 : u.client_certificate) == null ? void 0 : Y.id) || "", c.fields.write_timeout = u != null && u.write_timeout || (u == null ? void 0 : u.write_timeout) === 0 ? u == null ? void 0 : u.write_timeout : 6e4, c.fields.port = u != null && u.port || (u == null ? void 0 : u.port) === 0 ? u == null ? void 0 : u.port : 80, Object.assign(I, c.fields);
4818
4854
  }, ue = () => {
4819
4855
  o.push(a.config.cancelRoute);
4820
- }, ot = M(() => {
4821
- var g, O;
4822
- let u = `${a.config.apiBaseUrl}${He.form[a.config.app].validate}`;
4823
- return a.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, (O = a.config) != null && O.workspace ? `/${a.config.workspace}` : "")), u = u.replace(/{id}/gi, a.gatewayServiceId), u;
4824
- }), je = M(() => {
4825
- var g, O;
4826
- let u = `${a.config.apiBaseUrl}${He.form[a.config.app][_.value]}`;
4827
- return a.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, (O = a.config) != null && O.workspace ? `/${a.config.workspace}` : "")), u = u.replace(/{id}/gi, a.gatewayServiceId), u;
4856
+ }, ot = $(() => {
4857
+ var g, V;
4858
+ let u = `${a.config.apiBaseUrl}${ze.form[a.config.app].validate}`;
4859
+ return a.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), u = u.replace(/{id}/gi, a.gatewayServiceId), u;
4860
+ }), Me = $(() => {
4861
+ var g, V;
4862
+ let u = `${a.config.apiBaseUrl}${ze.form[a.config.app][b.value]}`;
4863
+ return a.config.app === "konnect" ? u = u.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (u = u.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), u = u.replace(/{id}/gi, a.gatewayServiceId), u;
4828
4864
  }), nt = (u) => {
4829
4865
  let g = "";
4830
4866
  u.url && (g = new URL(u.url).protocol), (["https", "wss", "tls"].includes(u.protocol) || ["https", "wss", "tls"].includes(g)) && (u.tls_verify = u.tls_verify_enabled ? u.tls_verify_value : null), delete u.tls_verify_enabled, delete u.tls_verify_value;
4831
- }, Ie = () => {
4832
- var g, O;
4867
+ }, Ae = () => {
4868
+ var g, V;
4833
4869
  const u = {
4834
4870
  name: c.fields.name || null,
4835
4871
  tags: c.fields.tags ? (g = c.fields.tags) == null ? void 0 : g.split(",").filter((Y) => Y !== "") : null,
@@ -4841,26 +4877,26 @@ const Xn = {
4841
4877
  connect_timeout: c.fields.connect_timeout,
4842
4878
  tls_verify_value: c.fields.tls_verify_value,
4843
4879
  tls_verify_enabled: c.fields.tls_verify_enabled,
4844
- ca_certificates: c.fields.ca_certificates ? (O = c.fields.ca_certificates) == null ? void 0 : O.split(",").filter((Y) => Y !== "") : null,
4880
+ ca_certificates: c.fields.ca_certificates ? (V = c.fields.ca_certificates) == null ? void 0 : V.split(",").filter((Y) => Y !== "") : null,
4845
4881
  client_certificate: c.fields.client_certificate ? { id: c.fields.client_certificate } : null,
4846
4882
  write_timeout: c.fields.write_timeout,
4847
4883
  port: c.fields.port,
4848
4884
  url: c.fields.url
4849
4885
  };
4850
- return c.fields.client_certificate && ["https", "wss", "tls"].includes(c.fields.protocol) && (u.client_certificate = { id: c.fields.client_certificate }), c.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(c.fields.protocol) && (u.tls_verify = c.fields.tls_verify_value), B.value || (u.path = null), _.value === "create" ? b.value === "url" ? (delete u.protocol, delete u.host, delete u.path, a.config.app === "konnect" && delete u.port) : delete u.url : _.value === "edit" && delete u.url, u;
4851
- }, Ae = async () => {
4852
- var u, g, O, Y;
4886
+ return c.fields.client_certificate && ["https", "wss", "tls"].includes(c.fields.protocol) && (u.client_certificate = { id: c.fields.client_certificate }), c.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(c.fields.protocol) && (u.tls_verify = c.fields.tls_verify_value), B.value || (u.path = null), b.value === "create" ? w.value === "url" ? (delete u.protocol, delete u.host, delete u.path, a.config.app === "konnect" && delete u.port) : delete u.url : b.value === "edit" && delete u.url, u;
4887
+ }, xe = async () => {
4888
+ var u, g, V, Y;
4853
4889
  try {
4854
- c.isReadonly = !0, L();
4855
- const ie = Ie();
4890
+ c.isReadonly = !0, K();
4891
+ const ie = Ae();
4856
4892
  let ce;
4857
- if (nt(ie), await m.post(ot.value, ie), _.value === "create" ? ce = await m.post(je.value, ie) : _.value === "edit" && (ce = ((u = a.config) == null ? void 0 : u.app) === "konnect" ? await m.put(je.value, ie) : await m.patch(je.value, ie)), ce) {
4858
- const { data: w } = ce;
4859
- c.fields.name = (w == null ? void 0 : w.name) || "", c.fields.port = w.port || j.getPortFromProtocol(w.protocol), c.fields.protocol = (w == null ? void 0 : w.protocol) || "http", c.fields.host = (w == null ? void 0 : w.host) || "", c.fields.path = (w == null ? void 0 : w.path) || "", c.fields.url = (w == null ? void 0 : w.url) || "", c.fields.retries = w != null && w.retries || (w == null ? void 0 : w.retries) === 0 ? w == null ? void 0 : w.retries : 5, c.fields.connect_timeout = w != null && w.connect_timeout || (w == null ? void 0 : w.connect_timeout) === 0 ? w == null ? void 0 : w.connect_timeout : 6e4, c.fields.write_timeout = w != null && w.write_timeout || (w == null ? void 0 : w.write_timeout) === 0 ? w == null ? void 0 : w.write_timeout : 6e4, c.fields.read_timeout = w != null && w.read_timeout || (w == null ? void 0 : w.read_timeout) === 0 ? w == null ? void 0 : w.read_timeout : 6e4, c.fields.client_certificate = ((g = w == null ? void 0 : w.client_certificate) == null ? void 0 : g.id) || "", c.fields.ca_certificates = (O = w == null ? void 0 : w.ca_certificates) != null && O.length ? w == null ? void 0 : w.ca_certificates.join(",") : "", c.fields.tls_verify_enabled = (w == null ? void 0 : w.tls_verify) !== "" && (w == null ? void 0 : w.tls_verify) !== null && (w == null ? void 0 : w.tls_verify) !== void 0, c.fields.tls_verify_value = c.fields.tls_verify_enabled && (w == null ? void 0 : w.tls_verify), c.fields.tags = (Y = w == null ? void 0 : w.tags) != null && Y.length ? w == null ? void 0 : w.tags.join(",") : "", Object.assign(I, c.fields), r("update", ce == null ? void 0 : ce.data);
4893
+ if (nt(ie), await m.post(ot.value, ie), b.value === "create" ? ce = await m.post(Me.value, ie) : b.value === "edit" && (ce = ((u = a.config) == null ? void 0 : u.app) === "konnect" ? await m.put(Me.value, ie) : await m.patch(Me.value, ie)), ce) {
4894
+ const { data: _ } = ce;
4895
+ c.fields.name = (_ == null ? void 0 : _.name) || "", c.fields.port = _.port || M.getPortFromProtocol(_.protocol), c.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", c.fields.host = (_ == null ? void 0 : _.host) || "", c.fields.path = (_ == null ? void 0 : _.path) || "", c.fields.url = (_ == null ? void 0 : _.url) || "", c.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, c.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, c.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, c.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, c.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", c.fields.ca_certificates = (V = _ == null ? void 0 : _.ca_certificates) != null && V.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", c.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, c.fields.tls_verify_value = c.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), c.fields.tags = (Y = _ == null ? void 0 : _.tags) != null && Y.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(I, c.fields), r("update", ce == null ? void 0 : ce.data);
4860
4896
  }
4861
4897
  return ce;
4862
4898
  } catch (ie) {
4863
- c.errorMessage = p(ie), r("error", ie);
4899
+ c.errorMessage = d(ie), r("error", ie);
4864
4900
  } finally {
4865
4901
  c.isReadonly = !1;
4866
4902
  }
@@ -4868,45 +4904,45 @@ const Xn = {
4868
4904
  return we(() => a.gatewayServiceId, () => {
4869
4905
  Object.assign(c.fields, I);
4870
4906
  }), we(c.fields, (u) => {
4871
- c.fields.port = j.getPortFromProtocol(u.protocol, String(u.port)), r("model-updated", Ie());
4872
- }), ri(() => {
4873
- r("model-updated", Ie());
4907
+ c.fields.port = M.getPortFromProtocol(u.protocol, String(u.port)), r("model-updated", Ae());
4908
+ }), oi(() => {
4909
+ r("model-updated", Ae());
4874
4910
  }), i({
4875
- validateUrl: L,
4876
- getPayload: Ie,
4877
- saveFormData: Ae,
4911
+ validateUrl: K,
4912
+ getPayload: Ae,
4913
+ saveFormData: xe,
4878
4914
  canSubmit: Z
4879
4915
  }), (u, g) => {
4880
- const O = q("KInput"), Y = q("KLabel"), ie = q("KRadio"), ce = q("KSelect"), w = q("KCheckbox"), Pe = q("KCollapse");
4881
- return v(), $("div", ps, [
4882
- C(f(Sl), {
4916
+ const V = U("KInput"), Y = U("KLabel"), ie = U("KRadio"), ce = U("KSelect"), _ = U("KCheckbox"), Le = U("KCollapse");
4917
+ return h(), j("div", fs, [
4918
+ C(f(Il), {
4883
4919
  "can-submit": Z.value,
4884
4920
  config: e.config,
4885
4921
  "edit-id": e.gatewayServiceId,
4886
4922
  "error-message": c.errorMessage,
4887
- "fetch-url": d.value,
4923
+ "fetch-url": p.value,
4888
4924
  "is-readonly": c.isReadonly,
4889
4925
  onCancel: ue,
4890
4926
  "onFetch:error": g[25] || (g[25] = (A) => u.$emit("error", A)),
4891
4927
  "onFetch:success": ee,
4892
4928
  onLoading: g[26] || (g[26] = (A) => u.$emit("loading", A)),
4893
- onSubmit: Ae
4929
+ onSubmit: xe
4894
4930
  }, {
4895
- "form-actions": y(() => [
4931
+ "form-actions": v(() => [
4896
4932
  Q(u.$slots, "form-actions", {
4897
4933
  canSubmit: Z.value,
4898
4934
  cancel: ue,
4899
- submit: Ae
4935
+ submit: xe
4900
4936
  }, void 0, !0)
4901
4937
  ]),
4902
- default: y(() => [
4938
+ default: v(() => [
4903
4939
  C(f(ii), {
4904
4940
  description: f(l)("gateway_services.form.sections.general.description"),
4905
4941
  "hide-info-header": e.hideSectionsInfo,
4906
4942
  title: f(l)("gateway_services.form.sections.general.title")
4907
4943
  }, {
4908
- default: y(() => [
4909
- C(O, {
4944
+ default: v(() => [
4945
+ C(V, {
4910
4946
  modelValue: c.fields.name,
4911
4947
  "onUpdate:modelValue": g[0] || (g[0] = (A) => c.fields.name = A),
4912
4948
  modelModifiers: { trim: !0 },
@@ -4922,7 +4958,7 @@ const Xn = {
4922
4958
  type: "text",
4923
4959
  onInput: ae
4924
4960
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
4925
- C(O, {
4961
+ C(V, {
4926
4962
  modelValue: c.fields.tags,
4927
4963
  "onUpdate:modelValue": g[1] || (g[1] = (A) => c.fields.tags = A),
4928
4964
  modelModifiers: { trim: !0 },
@@ -4944,28 +4980,28 @@ const Xn = {
4944
4980
  "hide-info-header": e.hideSectionsInfo,
4945
4981
  title: f(l)("gateway_services.form.sections.keys.title")
4946
4982
  }, {
4947
- default: y(() => [
4948
- T.value ? H("", !0) : (v(), $("div", fs, [
4949
- F("div", ms, [
4983
+ default: v(() => [
4984
+ x.value ? z("", !0) : (h(), j("div", ms, [
4985
+ F("div", gs, [
4950
4986
  C(Y, { required: "" }, {
4951
- default: y(() => [
4952
- W(V(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4987
+ default: v(() => [
4988
+ J(O(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4953
4989
  ]),
4954
4990
  _: 1
4955
4991
  })
4956
4992
  ]),
4957
- F("div", gs, [
4993
+ F("div", ys, [
4958
4994
  C(ie, {
4959
- modelValue: b.value,
4960
- "onUpdate:modelValue": g[2] || (g[2] = (A) => b.value = A),
4995
+ modelValue: w.value,
4996
+ "onUpdate:modelValue": g[2] || (g[2] = (A) => w.value = A),
4961
4997
  "data-testid": "gateway-service-url-radio",
4962
- "selected-value": oe.url,
4998
+ "selected-value": re.url,
4963
4999
  onChange: D
4964
5000
  }, {
4965
- default: y(() => [
5001
+ default: v(() => [
4966
5002
  C(Y, { class: "gateway-service-url-radio-label" }, {
4967
- default: y(() => [
4968
- W(V(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
5003
+ default: v(() => [
5004
+ J(O(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
4969
5005
  ]),
4970
5006
  _: 1
4971
5007
  })
@@ -4973,8 +5009,8 @@ const Xn = {
4973
5009
  _: 1
4974
5010
  }, 8, ["modelValue", "selected-value"])
4975
5011
  ]),
4976
- b.value === "url" ? (v(), $("div", ys, [
4977
- C(O, {
5012
+ w.value === "url" ? (h(), j("div", vs, [
5013
+ C(V, {
4978
5014
  modelValue: c.fields.url,
4979
5015
  "onUpdate:modelValue": g[3] || (g[3] = (A) => c.fields.url = A),
4980
5016
  modelModifiers: { trim: !0 },
@@ -4988,19 +5024,19 @@ const Xn = {
4988
5024
  placeholder: f(l)("gateway_services.form.fields.upstream_url.placeholder"),
4989
5025
  required: ""
4990
5026
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
4991
- ])) : H("", !0),
5027
+ ])) : z("", !0),
4992
5028
  C(ie, {
4993
- modelValue: b.value,
4994
- "onUpdate:modelValue": g[4] || (g[4] = (A) => b.value = A),
5029
+ modelValue: w.value,
5030
+ "onUpdate:modelValue": g[4] || (g[4] = (A) => w.value = A),
4995
5031
  "checked-group": "protocol",
4996
5032
  "data-testid": "gateway-service-protocol-radio",
4997
- "selected-value": oe.protocol,
5033
+ "selected-value": re.protocol,
4998
5034
  onChange: D
4999
5035
  }, {
5000
- default: y(() => [
5036
+ default: v(() => [
5001
5037
  C(Y, { class: "gateway-service-protocol-radio-label" }, {
5002
- default: y(() => [
5003
- W(V(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5038
+ default: v(() => [
5039
+ J(O(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5004
5040
  ]),
5005
5041
  _: 1
5006
5042
  })
@@ -5008,13 +5044,13 @@ const Xn = {
5008
5044
  _: 1
5009
5045
  }, 8, ["modelValue", "selected-value"])
5010
5046
  ])),
5011
- b.value === "protocol" || T.value ? (v(), $("div", vs, [
5047
+ w.value === "protocol" || x.value ? (h(), j("div", hs, [
5012
5048
  C(ce, {
5013
5049
  modelValue: c.fields.protocol,
5014
5050
  "onUpdate:modelValue": g[5] || (g[5] = (A) => c.fields.protocol = A),
5015
5051
  appearance: "select",
5016
5052
  "data-testid": "gateway-service-protocol-select",
5017
- items: P,
5053
+ items: L,
5018
5054
  label: f(l)("gateway_services.form.fields.protocol.label"),
5019
5055
  "label-attributes": {
5020
5056
  info: f(l)("gateway_services.form.fields.protocol.tooltip")
@@ -5022,9 +5058,9 @@ const Xn = {
5022
5058
  readonly: c.isReadonly,
5023
5059
  required: "",
5024
5060
  width: "100%",
5025
- onSelected: g[6] || (g[6] = (A) => U(c.fields.protocol, A))
5061
+ onSelected: g[6] || (g[6] = (A) => P(c.fields.protocol, A))
5026
5062
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
5027
- C(O, {
5063
+ C(V, {
5028
5064
  modelValue: c.fields.host,
5029
5065
  "onUpdate:modelValue": g[7] || (g[7] = (A) => c.fields.host = A),
5030
5066
  modelModifiers: { trim: !0 },
@@ -5038,8 +5074,8 @@ const Xn = {
5038
5074
  placeholder: f(l)("gateway_services.form.fields.host.placeholder"),
5039
5075
  required: ""
5040
5076
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
5041
- B.value ? (v(), $("div", hs, [
5042
- C(O, {
5077
+ B.value ? (h(), j("div", bs, [
5078
+ C(V, {
5043
5079
  modelValue: c.fields.path,
5044
5080
  "onUpdate:modelValue": g[8] || (g[8] = (A) => c.fields.path = A),
5045
5081
  modelModifiers: { trim: !0 },
@@ -5052,13 +5088,13 @@ const Xn = {
5052
5088
  name: "path",
5053
5089
  placeholder: f(l)("gateway_services.form.fields.path.placeholder")
5054
5090
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
5055
- ])) : H("", !0),
5056
- C(O, {
5091
+ ])) : z("", !0),
5092
+ C(V, {
5057
5093
  modelValue: c.fields.port,
5058
5094
  "onUpdate:modelValue": [
5059
5095
  g[9] || (g[9] = (A) => c.fields.port = A),
5060
5096
  g[10] || (g[10] = () => {
5061
- c.fields.port = x(c.fields.port + "");
5097
+ c.fields.port = T(c.fields.port + "");
5062
5098
  })
5063
5099
  ],
5064
5100
  class: "gateway-service-form-margin-top",
@@ -5070,23 +5106,23 @@ const Xn = {
5070
5106
  name: "port",
5071
5107
  type: "number"
5072
5108
  }, null, 8, ["modelValue", "label", "label-attributes"])
5073
- ])) : H("", !0),
5074
- C(Pe, {
5109
+ ])) : z("", !0),
5110
+ C(Le, {
5075
5111
  modelValue: n.value,
5076
5112
  "onUpdate:modelValue": g[24] || (g[24] = (A) => n.value = A),
5077
5113
  "data-testid": "advanced-fields-collapse",
5078
5114
  "trigger-alignment": "leading",
5079
5115
  "trigger-label": f(l)("gateway_services.form.sections.keys.viewAdvancedFields")
5080
5116
  }, {
5081
- default: y(() => [
5082
- F("div", bs, [
5083
- F("div", ws, [
5084
- C(O, {
5117
+ default: v(() => [
5118
+ F("div", ws, [
5119
+ F("div", _s, [
5120
+ C(V, {
5085
5121
  modelValue: c.fields.retries,
5086
5122
  "onUpdate:modelValue": [
5087
5123
  g[11] || (g[11] = (A) => c.fields.retries = A),
5088
5124
  g[12] || (g[12] = () => {
5089
- c.fields.retries = x(c.fields.retries + "");
5125
+ c.fields.retries = T(c.fields.retries + "");
5090
5126
  })
5091
5127
  ],
5092
5128
  autocomplete: "off",
@@ -5098,13 +5134,13 @@ const Xn = {
5098
5134
  type: "number"
5099
5135
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5100
5136
  ]),
5101
- F("div", _s, [
5102
- C(O, {
5137
+ F("div", ks, [
5138
+ C(V, {
5103
5139
  modelValue: c.fields.connect_timeout,
5104
5140
  "onUpdate:modelValue": [
5105
5141
  g[13] || (g[13] = (A) => c.fields.connect_timeout = A),
5106
5142
  g[14] || (g[14] = () => {
5107
- c.fields.connect_timeout = x(c.fields.connect_timeout + "");
5143
+ c.fields.connect_timeout = T(c.fields.connect_timeout + "");
5108
5144
  })
5109
5145
  ],
5110
5146
  autocomplete: "off",
@@ -5116,13 +5152,13 @@ const Xn = {
5116
5152
  type: "number"
5117
5153
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5118
5154
  ]),
5119
- F("div", ks, [
5120
- C(O, {
5155
+ F("div", Cs, [
5156
+ C(V, {
5121
5157
  modelValue: c.fields.write_timeout,
5122
5158
  "onUpdate:modelValue": [
5123
5159
  g[15] || (g[15] = (A) => c.fields.write_timeout = A),
5124
5160
  g[16] || (g[16] = () => {
5125
- c.fields.write_timeout = x(c.fields.write_timeout + "");
5161
+ c.fields.write_timeout = T(c.fields.write_timeout + "");
5126
5162
  })
5127
5163
  ],
5128
5164
  autocomplete: "off",
@@ -5134,13 +5170,13 @@ const Xn = {
5134
5170
  type: "number"
5135
5171
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5136
5172
  ]),
5137
- F("div", Cs, [
5138
- C(O, {
5173
+ F("div", Ss, [
5174
+ C(V, {
5139
5175
  modelValue: c.fields.read_timeout,
5140
5176
  "onUpdate:modelValue": [
5141
5177
  g[17] || (g[17] = (A) => c.fields.read_timeout = A),
5142
5178
  g[18] || (g[18] = () => {
5143
- c.fields.read_timeout = x(c.fields.read_timeout + "");
5179
+ c.fields.read_timeout = T(c.fields.read_timeout + "");
5144
5180
  })
5145
5181
  ],
5146
5182
  autocomplete: "off",
@@ -5152,8 +5188,8 @@ const Xn = {
5152
5188
  type: "number"
5153
5189
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5154
5190
  ]),
5155
- J.value ? (v(), $("div", Ss, [
5156
- C(O, {
5191
+ W.value ? (h(), j("div", Is, [
5192
+ C(V, {
5157
5193
  modelValue: c.fields.client_certificate,
5158
5194
  "onUpdate:modelValue": g[19] || (g[19] = (A) => c.fields.client_certificate = A),
5159
5195
  modelModifiers: { trim: !0 },
@@ -5166,9 +5202,9 @@ const Xn = {
5166
5202
  readonly: c.isReadonly,
5167
5203
  type: "text"
5168
5204
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
5169
- ])) : H("", !0),
5170
- z.value ? (v(), $("div", Is, [
5171
- C(O, {
5205
+ ])) : z("", !0),
5206
+ H.value ? (h(), j("div", As, [
5207
+ C(V, {
5172
5208
  modelValue: c.fields.ca_certificates,
5173
5209
  "onUpdate:modelValue": g[20] || (g[20] = (A) => c.fields.ca_certificates = A),
5174
5210
  modelModifiers: { trim: !0 },
@@ -5179,45 +5215,45 @@ const Xn = {
5179
5215
  readonly: c.isReadonly,
5180
5216
  type: "text"
5181
5217
  }, {
5182
- "label-tooltip": y(() => [
5218
+ "label-tooltip": v(() => [
5183
5219
  C(f(s), {
5184
5220
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5185
5221
  scope: "global"
5186
5222
  }, {
5187
- code1: y(() => [
5188
- F("code", null, V(f(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5223
+ code1: v(() => [
5224
+ F("code", null, O(f(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5189
5225
  ]),
5190
- code2: y(() => [
5191
- F("code", null, V(f(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5226
+ code2: v(() => [
5227
+ F("code", null, O(f(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5192
5228
  ]),
5193
5229
  _: 1
5194
5230
  })
5195
5231
  ]),
5196
5232
  _: 1
5197
5233
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5198
- ])) : H("", !0),
5199
- X.value ? (v(), $("div", As, [
5200
- C(w, {
5234
+ ])) : z("", !0),
5235
+ X.value ? (h(), j("div", xs, [
5236
+ C(_, {
5201
5237
  modelValue: c.fields.tls_verify_enabled,
5202
5238
  "onUpdate:modelValue": g[21] || (g[21] = (A) => c.fields.tls_verify_enabled = A),
5203
5239
  "data-testid": "gateway-service-tls-verify-checkbox",
5204
5240
  description: f(l)("gateway_services.form.fields.tls_verify_enabled.help"),
5205
5241
  label: f(l)("gateway_services.form.fields.tls_verify_enabled.label")
5206
5242
  }, {
5207
- tooltip: y(() => [
5243
+ tooltip: v(() => [
5208
5244
  C(f(s), {
5209
5245
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5210
5246
  scope: "global"
5211
5247
  }, {
5212
- code1: y(() => [
5213
- F("code", null, V(f(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5248
+ code1: v(() => [
5249
+ F("code", null, O(f(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5214
5250
  ]),
5215
5251
  _: 1
5216
5252
  })
5217
5253
  ]),
5218
5254
  _: 1
5219
5255
  }, 8, ["modelValue", "description", "label"]),
5220
- c.fields.tls_verify_enabled ? (v(), $("div", xs, [
5256
+ c.fields.tls_verify_enabled ? (h(), j("div", Ts, [
5221
5257
  C(ie, {
5222
5258
  modelValue: c.fields.tls_verify_value,
5223
5259
  "onUpdate:modelValue": g[22] || (g[22] = (A) => c.fields.tls_verify_value = A),
@@ -5225,8 +5261,8 @@ const Xn = {
5225
5261
  label: f(l)("gateway_services.form.fields.tls_verify_option.true.label"),
5226
5262
  "selected-value": !0
5227
5263
  }, null, 8, ["modelValue", "label"])
5228
- ])) : H("", !0),
5229
- c.fields.tls_verify_enabled ? (v(), $("div", Ts, [
5264
+ ])) : z("", !0),
5265
+ c.fields.tls_verify_enabled ? (h(), j("div", $s, [
5230
5266
  C(ie, {
5231
5267
  modelValue: c.fields.tls_verify_value,
5232
5268
  "onUpdate:modelValue": g[23] || (g[23] = (A) => c.fields.tls_verify_value = A),
@@ -5234,8 +5270,8 @@ const Xn = {
5234
5270
  label: f(l)("gateway_services.form.fields.tls_verify_option.false.label"),
5235
5271
  "selected-value": !1
5236
5272
  }, null, 8, ["modelValue", "label"])
5237
- ])) : H("", !0)
5238
- ])) : H("", !0)
5273
+ ])) : z("", !0)
5274
+ ])) : z("", !0)
5239
5275
  ])
5240
5276
  ]),
5241
5277
  _: 1
@@ -5249,7 +5285,7 @@ const Xn = {
5249
5285
  ]);
5250
5286
  };
5251
5287
  }
5252
- }), Us = /* @__PURE__ */ ra(Ms, [["__scopeId", "data-v-9939382c"]]), $s = { class: "kong-ui-gateway-service-entity-config-card" }, Rs = /* @__PURE__ */ re({
5288
+ }), Rs = /* @__PURE__ */ oa(js, [["__scopeId", "data-v-9939382c"]]), Ms = { class: "kong-ui-gateway-service-entity-config-card" }, Ds = /* @__PURE__ */ oe({
5253
5289
  __name: "GatewayServiceConfigCard",
5254
5290
  props: {
5255
5291
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5276,7 +5312,7 @@ const Xn = {
5276
5312
  },
5277
5313
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
5278
5314
  setup(e) {
5279
- const i = e, { i18n: { t }, i18nT: r } = Ze.useI18n(), a = M(() => He.form[i.config.app].edit), { getPropValue: n } = ls(), o = (l, p) => n(l, p) === !0 ? t("gateway_services.form.fields.tls_verify_option.true.display") : t("gateway_services.form.fields.tls_verify_option.false.display"), s = N({
5315
+ const i = e, { i18n: { t }, i18nT: r } = Ze.useI18n(), a = $(() => ze.form[i.config.app].edit), { getPropValue: n } = ss(), o = (l, d) => n(l, d) === !0 ? t("gateway_services.form.fields.tls_verify_option.true.display") : t("gateway_services.form.fields.tls_verify_option.false.display"), s = N({
5280
5316
  id: {},
5281
5317
  name: {
5282
5318
  tooltip: t("gateway_services.form.fields.name.tooltip")
@@ -5336,62 +5372,62 @@ const Xn = {
5336
5372
  hidden: !0
5337
5373
  }
5338
5374
  });
5339
- return (l, p) => (v(), $("div", $s, [
5340
- C(f(_l), {
5375
+ return (l, d) => (h(), j("div", Ms, [
5376
+ C(f(kl), {
5341
5377
  config: e.config,
5342
5378
  "config-card-doc": e.configCardDoc,
5343
5379
  "config-schema": s.value,
5344
5380
  "fetch-url": a.value,
5345
5381
  "hide-title": e.hideTitle,
5346
- "onCopy:success": p[0] || (p[0] = (m) => l.$emit("copy:success", m)),
5347
- "onFetch:error": p[1] || (p[1] = (m) => l.$emit("fetch:error", m)),
5348
- "onFetch:success": p[2] || (p[2] = (m) => l.$emit("fetch:success", m)),
5349
- onLoading: p[3] || (p[3] = (m) => l.$emit("loading", m))
5382
+ "onCopy:success": d[0] || (d[0] = (m) => l.$emit("copy:success", m)),
5383
+ "onFetch:error": d[1] || (d[1] = (m) => l.$emit("fetch:error", m)),
5384
+ "onFetch:success": d[2] || (d[2] = (m) => l.$emit("fetch:success", m)),
5385
+ onLoading: d[3] || (d[3] = (m) => l.$emit("loading", m))
5350
5386
  }, {
5351
- "enabled-label-tooltip": y(() => [
5387
+ "enabled-label-tooltip": v(() => [
5352
5388
  C(f(r), {
5353
5389
  keypath: "gateway_services.form.fields.enabled.tooltip",
5354
5390
  scope: "global"
5355
5391
  }, {
5356
- false: y(() => [
5357
- F("code", null, V(f(t)("gateway_services.form.fields.enabled.false")), 1)
5392
+ false: v(() => [
5393
+ F("code", null, O(f(t)("gateway_services.form.fields.enabled.false")), 1)
5358
5394
  ]),
5359
- true: y(() => [
5360
- F("code", null, V(f(t)("gateway_services.form.fields.enabled.true")), 1)
5395
+ true: v(() => [
5396
+ F("code", null, O(f(t)("gateway_services.form.fields.enabled.true")), 1)
5361
5397
  ]),
5362
5398
  _: 1
5363
5399
  })
5364
5400
  ]),
5365
- "ca_certificates-label-tooltip": y(() => [
5401
+ "ca_certificates-label-tooltip": v(() => [
5366
5402
  C(f(r), {
5367
5403
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5368
5404
  scope: "global"
5369
5405
  }, {
5370
- code1: y(() => [
5371
- F("code", null, V(f(t)("gateway_services.form.fields.ca_certificates.code1")), 1)
5406
+ code1: v(() => [
5407
+ F("code", null, O(f(t)("gateway_services.form.fields.ca_certificates.code1")), 1)
5372
5408
  ]),
5373
- code2: y(() => [
5374
- F("code", null, V(f(t)("gateway_services.form.fields.ca_certificates.code2")), 1)
5409
+ code2: v(() => [
5410
+ F("code", null, O(f(t)("gateway_services.form.fields.ca_certificates.code2")), 1)
5375
5411
  ]),
5376
5412
  _: 1
5377
5413
  })
5378
5414
  ]),
5379
- "tls_verify-label-tooltip": y(() => [
5415
+ "tls_verify-label-tooltip": v(() => [
5380
5416
  C(f(r), {
5381
5417
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5382
5418
  scope: "global"
5383
5419
  }, {
5384
- code1: y(() => [
5385
- F("code", null, V(f(t)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5420
+ code1: v(() => [
5421
+ F("code", null, O(f(t)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5386
5422
  ]),
5387
5423
  _: 1
5388
5424
  })
5389
5425
  ]),
5390
- tls_verify: y((m) => [
5391
- W(V(typeof f(n)("rowValue", m) == "boolean" ? o("rowValue", m) : f(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5426
+ tls_verify: v((m) => [
5427
+ J(O(typeof f(n)("rowValue", m) == "boolean" ? o("rowValue", m) : f(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5392
5428
  ]),
5393
- client_certificate: y((m) => [
5394
- W(V(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5429
+ client_certificate: v((m) => [
5430
+ J(O(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5395
5431
  ]),
5396
5432
  _: 1
5397
5433
  }, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])
@@ -5399,7 +5435,7 @@ const Xn = {
5399
5435
  }
5400
5436
  });
5401
5437
  export {
5402
- Rs as GatewayServiceConfigCard,
5403
- Us as GatewayServiceForm,
5404
- Bs as GatewayServiceList
5438
+ Ds as GatewayServiceConfigCard,
5439
+ Rs as GatewayServiceForm,
5440
+ Ps as GatewayServiceList
5405
5441
  };