@kong-ui-public/entities-gateway-services 2.4.21 → 2.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { defineComponent as re, ref as L, computed as j, resolveComponent as U, openBlock as v, createBlock as P, Teleport as cr, createVNode as C, withCtx as y, unref as f, createTextVNode as G, toDisplayString as O, createElementVNode as N, watch as _e, renderSlot as Q, createCommentVNode as D, useSlots as rt, onBeforeMount as ht, createSlots as je, createElementBlock as M, renderList as ye, Fragment as ve, normalizeClass as Ie, withModifiers as qe, withDirectives as Re, vShow as De, useCssVars as ai, inject as oi, resolveDynamicComponent as $e, normalizeProps as ur, guardReactiveProps as dr, mergeProps as dt, onMounted as ni, onUnmounted as pr, normalizeStyle as li, pushScopeId as si, popScopeId as ci, reactive as Mt } from "vue";
1
+ import { defineComponent as re, ref as L, computed as j, resolveComponent as U, openBlock as v, createBlock as P, Teleport as cr, createVNode as C, withCtx as y, unref as f, createTextVNode as G, toDisplayString as $, createElementVNode as N, watch as _e, renderSlot as Q, createCommentVNode as D, useSlots as rt, onBeforeMount as ht, createSlots as je, createElementBlock as M, renderList as ye, Fragment as ve, normalizeClass as Ie, withModifiers as qe, withDirectives as Re, vShow as De, useCssVars as oi, inject as ai, resolveDynamicComponent as Oe, normalizeProps as ur, guardReactiveProps as dr, mergeProps as dt, onMounted as ni, onUnmounted as pr, normalizeStyle as li, pushScopeId as si, popScopeId as ci, reactive as Mt } from "vue";
2
2
  import { useRouter as bt } from "vue-router";
3
3
  import { createI18n as wt, i18nTComponent as ui } from "@kong-ui-public/i18n";
4
- import $t from "axios";
4
+ import Ot from "axios";
5
5
  import { BadgeMethodAppearances as fr } from "@kong/kongponents";
6
6
  const mr = {
7
7
  create: "New Gateway Service",
@@ -193,8 +193,8 @@ function _r() {
193
193
  function kr() {
194
194
  return {
195
195
  getPortFromProtocol: (i, t) => {
196
- const a = [80, 443], r = Number(t);
197
- if ((r || r === 0) && !a.includes(r))
196
+ const o = [80, 443], r = Number(t);
197
+ if ((r || r === 0) && !o.includes(r))
198
198
  return r;
199
199
  switch (i) {
200
200
  case "grpcs":
@@ -242,14 +242,14 @@ function Cr() {
242
242
  return {
243
243
  getAxiosInstance: (e = {}) => {
244
244
  try {
245
- const i = oi("get-axios-instance");
246
- return typeof i == "function" ? i(e) : $t.create({
245
+ const i = ai("get-axios-instance");
246
+ return typeof i == "function" ? i(e) : Ot.create({
247
247
  withCredentials: !0,
248
248
  timeout: 3e4,
249
249
  ...e
250
250
  });
251
251
  } catch (i) {
252
- return console.warn("getAxiosInstance:", i.message || i), $t.create({
252
+ return console.warn("getAxiosInstance:", i.message || i), Ot.create({
253
253
  withCredentials: !0,
254
254
  timeout: 3e4,
255
255
  ...e
@@ -266,9 +266,9 @@ function Sr() {
266
266
  return {
267
267
  debounce: (e, i) => {
268
268
  let t;
269
- return (...a) => {
269
+ return (...o) => {
270
270
  clearTimeout(t), t = window == null ? void 0 : window.setTimeout(() => {
271
- e(...a);
271
+ e(...o);
272
272
  }, i);
273
273
  };
274
274
  }
@@ -284,8 +284,8 @@ function Ar() {
284
284
  if (typeof t == "string")
285
285
  try {
286
286
  return JSON.parse(t);
287
- } catch (a) {
288
- console.error("useTablePreferences(tryParseJson)", a);
287
+ } catch (o) {
288
+ console.error("useTablePreferences(tryParseJson)", o);
289
289
  return;
290
290
  }
291
291
  }, i = () => {
@@ -293,17 +293,17 @@ function Ar() {
293
293
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
294
294
  };
295
295
  return {
296
- setTablePreferences: (t, a) => {
296
+ setTablePreferences: (t, o) => {
297
297
  try {
298
298
  const r = i();
299
- r.set(t, a), localStorage.setItem(lt, JSON.stringify(Object.fromEntries(r.entries())));
299
+ r.set(t, o), localStorage.setItem(lt, JSON.stringify(Object.fromEntries(r.entries())));
300
300
  } catch (r) {
301
301
  console.error("useTablePreferences(setTablePreferences)", r);
302
302
  }
303
303
  },
304
304
  getTablePreferences: (t) => {
305
- const a = i();
306
- return (a == null ? void 0 : a.get(t)) || void 0 || Ir;
305
+ const o = i();
306
+ return (o == null ? void 0 : o.get(t)) || void 0 || Ir;
307
307
  },
308
308
  deleteAllTablePreferences: () => {
309
309
  localStorage.removeItem(lt);
@@ -348,7 +348,7 @@ const xr = {
348
348
  noSearchResultsMessage: "Please adjust the criteria and try again.",
349
349
  noSearchResultsCtaText: "Clear"
350
350
  }
351
- }, $r = {
351
+ }, Or = {
352
352
  title: "Configuration",
353
353
  actions: {
354
354
  copy: "Copy JSON"
@@ -383,7 +383,7 @@ const xr = {
383
383
  entryTitle: "Entry {index}",
384
384
  structuredFormat: "Structured"
385
385
  }
386
- }, Or = {
386
+ }, $r = {
387
387
  filterButtonText: "Filter",
388
388
  fieldLabel: "Filter by:",
389
389
  inputPlaceholder: "Enter a value",
@@ -415,8 +415,8 @@ const xr = {
415
415
  deleteModal: Tr,
416
416
  baseForm: jr,
417
417
  baseTable: Mr,
418
- baseConfigCard: $r,
419
- filter: Or,
418
+ baseConfigCard: Or,
419
+ filter: $r,
420
420
  debouncedFilter: Er,
421
421
  errors: Fr,
422
422
  toggleModal: Vr
@@ -430,29 +430,29 @@ function kt() {
430
430
  };
431
431
  }
432
432
  function pi() {
433
- const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, i = (t, a) => {
434
- if (t.length !== a.length)
433
+ const e = (t, o) => (o == null ? void 0 : o[t]) ?? void 0, i = (t, o) => {
434
+ if (t.length !== o.length)
435
435
  return !1;
436
- const r = /* @__PURE__ */ new Set([...t, ...a]);
436
+ const r = /* @__PURE__ */ new Set([...t, ...o]);
437
437
  for (const n of r) {
438
- const o = t.filter((l) => l === n).length, s = a.filter((l) => l === n).length;
439
- if (o !== s)
438
+ const a = t.filter((l) => l === n).length, s = o.filter((l) => l === n).length;
439
+ if (a !== s)
440
440
  return !1;
441
441
  }
442
442
  return !0;
443
443
  };
444
444
  return {
445
445
  getPropValue: e,
446
- objectsAreEqual: (t, a, r) => {
446
+ objectsAreEqual: (t, o, r) => {
447
447
  if (r) {
448
- if (Object.keys(t).length === Object.keys(a).length)
448
+ if (Object.keys(t).length === Object.keys(o).length)
449
449
  for (const n in t)
450
- if (Array.isArray(t[n]) && Array.isArray(a[n])) {
451
- if (i(t[n], a[n]))
450
+ if (Array.isArray(t[n]) && Array.isArray(o[n])) {
451
+ if (i(t[n], o[n]))
452
452
  continue;
453
453
  return !1;
454
454
  } else {
455
- if (t[n] === a[n])
455
+ if (t[n] === o[n])
456
456
  continue;
457
457
  return !1;
458
458
  }
@@ -461,42 +461,42 @@ function pi() {
461
461
  return !0;
462
462
  }
463
463
  try {
464
- return JSON.stringify(t) === JSON.stringify(a);
464
+ return JSON.stringify(t) === JSON.stringify(o);
465
465
  } catch {
466
466
  return !1;
467
467
  }
468
468
  },
469
- sortAlpha: (t) => (a, r) => {
470
- let n = a[t] === void 0 || a[t] === null ? "" : a[t], o = r[t] === void 0 || r[t] === null ? "" : r[t];
471
- return Array.isArray(a[t]) && (n = a[t][0]), Array.isArray(r[t]) && (o = r[t][0]), n.localeCompare(o);
469
+ sortAlpha: (t) => (o, r) => {
470
+ let n = o[t] === void 0 || o[t] === null ? "" : o[t], a = r[t] === void 0 || r[t] === null ? "" : r[t];
471
+ return Array.isArray(o[t]) && (n = o[t][0]), Array.isArray(r[t]) && (a = r[t][0]), n.localeCompare(a);
472
472
  },
473
473
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
474
474
  };
475
475
  }
476
- function qr(e, i, t, a = {
476
+ function qr(e, i, t, o = {
477
477
  fetchedItemsKey: "data",
478
478
  searchKeys: ["id"]
479
479
  }) {
480
480
  t || (t = "100");
481
481
  const { axiosInstance: r } = _t({
482
482
  headers: e.requestHeaders
483
- }), { i18n: { t: n } } = kt(), { debounce: o } = Sr(), s = o(async (k) => {
483
+ }), { i18n: { t: n } } = kt(), { debounce: a } = Sr(), s = a(async (k) => {
484
484
  await u(k);
485
485
  }, 200), l = L(!1), d = L(""), m = L(""), p = L([]), _ = L([]), h = L(void 0), x = f(i);
486
486
  let b = `${e.apiBaseUrl}${x}`;
487
487
  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}` : ""));
488
- const { isValidUuid: $ } = pi(), S = async () => {
488
+ const { isValidUuid: O } = pi(), S = async () => {
489
489
  try {
490
490
  l.value = !0;
491
491
  const { data: k } = await r.get(`${b}?size=${t}`);
492
- k != null && k.next || (h.value = a.fetchedItemsKey in k ? k[a.fetchedItemsKey] : []), _.value = a.fetchedItemsKey in k ? k[a.fetchedItemsKey] : [], p.value = _.value;
492
+ k != null && k.next || (h.value = o.fetchedItemsKey in k ? k[o.fetchedItemsKey] : []), _.value = o.fetchedItemsKey in k ? k[o.fetchedItemsKey] : [], p.value = _.value;
493
493
  } catch {
494
494
  p.value = [], d.value = n("debouncedFilter.errors.fetch");
495
495
  } finally {
496
496
  l.value = !1;
497
497
  }
498
498
  }, T = L(""), u = async (k) => {
499
- var E, q, oe;
499
+ var E, q, ae;
500
500
  if (T.value !== k)
501
501
  if (T.value = k || "", h.value === void 0)
502
502
  try {
@@ -504,16 +504,16 @@ function qr(e, i, t, a = {
504
504
  let R = b + "";
505
505
  k && (R += `/${k}`);
506
506
  const { data: I } = await r.get(`${R}?size=${t}`);
507
- a.fetchedItemsKey in I ? p.value = I[a.fetchedItemsKey] : I != null && I.id ? p.value = [I] : p.value = [];
507
+ o.fetchedItemsKey in I ? p.value = I[o.fetchedItemsKey] : I != null && I.id ? p.value = [I] : p.value = [];
508
508
  } else if (k) {
509
509
  const R = [];
510
- $(k) && a.searchKeys.includes("id") ? R.push((async () => {
510
+ O(k) && o.searchKeys.includes("id") ? R.push((async () => {
511
511
  const { data: K } = await r.get(`${b}/${k}`);
512
- return [K[a.fetchedItemsKey] ?? K];
512
+ return [K[o.fetchedItemsKey] ?? K];
513
513
  })()) : R.push(
514
- ...a.searchKeys.filter((K) => K !== "id").map(async (K) => {
514
+ ...o.searchKeys.filter((K) => K !== "id").map(async (K) => {
515
515
  const { data: B } = await r.get(`${b}?${K}=${k}`);
516
- return B[a.fetchedItemsKey];
516
+ return B[o.fetchedItemsKey];
517
517
  })
518
518
  );
519
519
  const I = await Promise.all(R), H = /* @__PURE__ */ new Set();
@@ -531,10 +531,10 @@ function qr(e, i, t, a = {
531
531
  l.value = !1;
532
532
  }
533
533
  else
534
- l.value = !0, m.value = "", k ? (p.value = (oe = h.value) == null ? void 0 : oe.filter((R) => {
534
+ l.value = !0, m.value = "", k ? (p.value = (ae = h.value) == null ? void 0 : ae.filter((R) => {
535
535
  var I;
536
536
  let H = !1;
537
- for (const K of a.searchKeys) {
537
+ for (const K of o.searchKeys) {
538
538
  const B = typeof R[K] == "string" ? (I = R[K]) == null ? void 0 : I.toLowerCase() : R[K];
539
539
  B != null && B.includes(k.toLowerCase()) && (H = !0);
540
540
  }
@@ -552,36 +552,36 @@ function qr(e, i, t, a = {
552
552
  };
553
553
  }
554
554
  function Lr(e, i) {
555
- const t = f(i), a = j(
555
+ const t = f(i), o = j(
556
556
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
557
557
  );
558
- return a.value.search = "", (r) => `${a.value.href}/${r}`;
558
+ return o.value.search = "", (r) => `${o.value.href}/${r}`;
559
559
  }
560
560
  function Ur() {
561
561
  const { i18n: { t: e } } = kt();
562
562
  return {
563
563
  getMessageFromError: (i) => {
564
- var t, a, r, n;
564
+ var t, o, r, n;
565
565
  if (!i)
566
566
  return e("errors.unexpected");
567
567
  if (((t = i == null ? void 0 : i.response) == null ? void 0 : t.status) === 401)
568
568
  return console.warn("getMessageFromError: User auth token is expired or missing, returning empty message."), "";
569
- if ((a = i == null ? void 0 : i.response) != null && a.data) {
569
+ if ((o = i == null ? void 0 : i.response) != null && o.data) {
570
570
  if (i.response.data.detail)
571
571
  return i.response.data.detail;
572
572
  if ((r = i.response.data.details) != null && r.length)
573
- return i.response.data.details.map((o) => {
573
+ return i.response.data.details.map((a) => {
574
574
  let s = e("errors.unexpected");
575
- return o.messages && typeof o.messages == "object" && o.messages.length && (s = o.messages.join(", ")), o.field ? `${o.field} - ${s}` : s;
575
+ return a.messages && typeof a.messages == "object" && a.messages.length && (s = a.messages.join(", ")), a.field ? `${a.field} - ${s}` : s;
576
576
  }).join("; ");
577
577
  if (i.response.data.message) {
578
- const { message: o } = i.response.data;
579
- return Array.isArray(o) ? (n = o[0]) != null && n.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
578
+ const { message: a } = i.response.data;
579
+ return Array.isArray(a) ? (n = a[0]) != null && n.constraints ? Object.values(a[0].constraints)[0] : a[0] : a;
580
580
  }
581
581
  if (typeof i.response.data == "string")
582
582
  return i.response.data;
583
583
  if (typeof i.response.data == "object")
584
- return Object.keys(i.response.data).map((o) => `${o} ${i.response.data[o]}`).join(", ");
584
+ return Object.keys(i.response.data).map((a) => `${a} ${i.response.data[a]}`).join(", ");
585
585
  }
586
586
  return i.message || e("errors.unexpected");
587
587
  }
@@ -590,41 +590,41 @@ function Ur() {
590
590
  function Kr(e) {
591
591
  const i = window.location.origin, t = i.endsWith("/") ? i : `${i}/`;
592
592
  try {
593
- const a = e.join("/"), r = `${t}${a}`, n = e.some((o) => o.trim() === "");
593
+ const o = e.join("/"), r = `${t}${o}`, n = e.some((a) => a.trim() === "");
594
594
  if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(r) && !n && new URL(r))
595
- return `${t}${a}`;
595
+ return `${t}${o}`;
596
596
  throw new Error("Invalid url");
597
- } catch (a) {
598
- return console.warn("Failed to build valid URL:", a), "";
597
+ } catch (o) {
598
+ return console.warn("Failed to build valid URL:", o), "";
599
599
  }
600
600
  }
601
601
  function fi(e, i) {
602
- const t = L(f(e)), a = L(f(i)), r = j(
602
+ const t = L(f(e)), o = L(f(i)), r = j(
603
603
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
604
604
  ), n = j(
605
- () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
605
+ () => o.value.startsWith("/") ? new URL(`${window.location.origin}${o.value}`) : new URL(o.value)
606
606
  );
607
- return (o) => {
608
- const { page: s, pageSize: l, offset: d, sortColumnKey: m, sortColumnOrder: p, query: _ } = o;
607
+ return (a) => {
608
+ const { page: s, pageSize: l, offset: d, sortColumnKey: m, sortColumnOrder: p, query: _ } = a;
609
609
  try {
610
610
  let h = new URL(n.value.href);
611
611
  return r.value && _ ? (h.search = "", h = t.value.app === "konnect" ? new URL(`${h.href}?filter[name][contains]=${_}`) : new URL(`${h.href}/${_}/`)) : (r.value || new URLSearchParams(_).forEach((x, b) => {
612
612
  h.searchParams.append(b, x);
613
613
  }), m && h.searchParams.append("sort_by", m), p === "desc" && h.searchParams.append("sort_desc", "1"), h.searchParams.append("size", String(l))), d && s !== 1 && h.searchParams.append("offset", String(d)), h.href;
614
614
  } catch (h) {
615
- return console.error("RouteList(fetcher)", h), a.value;
615
+ return console.error("RouteList(fetcher)", h), o.value;
616
616
  }
617
617
  };
618
618
  }
619
619
  function Br(e, i, t = "data") {
620
- const a = f(i), { axiosInstance: r } = _t({
620
+ const o = f(i), { axiosInstance: r } = _t({
621
621
  headers: e.requestHeaders
622
- }), n = fi(e, a), o = L({
622
+ }), n = fi(e, o), a = L({
623
623
  status: Te.Idle
624
624
  });
625
625
  return { fetcher: async (s) => {
626
626
  try {
627
- o.value = { status: Te.Loading };
627
+ a.value = { status: Te.Loading };
628
628
  let l = n(s);
629
629
  l.includes("filter[name]") && (l = `${l}&page[size]=${s.pageSize}&page[number]=${s.page}`);
630
630
  const { data: d } = await r.get(l), m = t && t.replace(/[^\w-_]/gi, "");
@@ -639,7 +639,7 @@ function Br(e, i, t = "data") {
639
639
  }
640
640
  } : null
641
641
  };
642
- return o.value = {
642
+ return a.value = {
643
643
  status: Te.Idle,
644
644
  response: _
645
645
  }, _;
@@ -648,26 +648,26 @@ function Br(e, i, t = "data") {
648
648
  data: [],
649
649
  total: 0
650
650
  };
651
- return s.query && l.response.status === 404 ? (o.value = {
651
+ return s.query && l.response.status === 404 ? (a.value = {
652
652
  status: Te.NoResults,
653
653
  response: d,
654
654
  error: l
655
- }, d) : (o.value = {
655
+ }, d) : (a.value = {
656
656
  status: Te.Error,
657
657
  response: d,
658
658
  error: l
659
659
  }, d);
660
660
  }
661
- }, fetcherState: o };
661
+ }, fetcherState: a };
662
662
  }
663
663
  function Pr() {
664
- const e = (t, a = "_") => t ? t.split(a).map((r) => r.toLowerCase() === "id" ? r.toUpperCase() : r.charAt(0).toUpperCase() + r.substring(1)).join(" ") : "", i = /(?:^|[\s-:'"])\w/g;
664
+ const e = (t, o = "_") => t ? t.split(o).map((r) => r.toLowerCase() === "id" ? r.toUpperCase() : r.charAt(0).toUpperCase() + r.substring(1)).join(" ") : "", i = /(?:^|[\s-:'"])\w/g;
665
665
  return {
666
- capitalize: (t) => t ? t.replace(i, (a) => a.toUpperCase()) : "",
666
+ capitalize: (t) => t ? t.replace(i, (o) => o.toUpperCase()) : "",
667
667
  convertKeyToTitle: e
668
668
  };
669
669
  }
670
- const mi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Ot = (e) => {
670
+ const mi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, $t = (e) => {
671
671
  if (typeof e != "string")
672
672
  throw new TypeError("Invalid argument expected string");
673
673
  const i = e.match(mi);
@@ -680,22 +680,22 @@ const mi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
680
680
  }, Rr = (e, i) => typeof e != typeof i ? [String(e), String(i)] : [e, i], Dr = (e, i) => {
681
681
  if (Et(e) || Et(i))
682
682
  return 0;
683
- const [t, a] = Rr(Ft(e), Ft(i));
684
- return t > a ? 1 : t < a ? -1 : 0;
683
+ const [t, o] = Rr(Ft(e), Ft(i));
684
+ return t > o ? 1 : t < o ? -1 : 0;
685
685
  }, Vt = (e, i) => {
686
686
  for (let t = 0; t < Math.max(e.length, i.length); t++) {
687
- const a = Dr(e[t] || "0", i[t] || "0");
688
- if (a !== 0)
689
- return a;
687
+ const o = Dr(e[t] || "0", i[t] || "0");
688
+ if (o !== 0)
689
+ return o;
690
690
  }
691
691
  return 0;
692
692
  }, Hr = (e, i) => {
693
- const t = Ot(e), a = Ot(i), r = t.pop(), n = a.pop(), o = Vt(t, a);
694
- return o !== 0 ? o : r && n ? Vt(r.split("."), n.split(".")) : r || n ? r ? -1 : 1 : 0;
693
+ const t = $t(e), o = $t(i), r = t.pop(), n = o.pop(), a = Vt(t, o);
694
+ return a !== 0 ? a : r && n ? Vt(r.split("."), n.split(".")) : r || n ? r ? -1 : 1 : 0;
695
695
  }, Nt = (e, i, t) => {
696
696
  zr(t);
697
- const a = Hr(e, i);
698
- return gi[t].includes(a);
697
+ const o = Hr(e, i);
698
+ return gi[t].includes(o);
699
699
  }, gi = {
700
700
  ">": [1],
701
701
  ">=": [0, 1],
@@ -713,19 +713,19 @@ function Jr(e) {
713
713
  const { gatewayInfo: i, supportedRange: t } = e;
714
714
  if (!i)
715
715
  return !0;
716
- const { edition: a, version: r } = i;
716
+ const { edition: o, version: r } = i;
717
717
  if (!Gr(r))
718
718
  return console.error("Invalid version"), !1;
719
- const n = t[a];
719
+ const n = t[o];
720
720
  if (!n)
721
721
  return !1;
722
- const [o, s] = n;
723
- return !(o && Nt(r, o, "<") || s && Nt(r, s, ">"));
722
+ const [a, s] = n;
723
+ return !(a && Nt(r, a, "<") || s && Nt(r, s, ">"));
724
724
  }
725
725
  function Yr(e) {
726
- const i = L(0), t = L(0), a = L(!1);
726
+ const i = L(0), t = L(0), o = L(!1);
727
727
  return _e(e, (r) => {
728
- r && !a.value && (i.value = r.offsetWidth, t.value = r.scrollWidth, a.value = !0);
728
+ r && !o.value && (i.value = r.offsetWidth, t.value = r.scrollWidth, o.value = !0);
729
729
  }), {
730
730
  isTruncated: j(() => i.value < t.value)
731
731
  };
@@ -752,18 +752,18 @@ const se = {
752
752
  }, Zr = "Copy to clipboard", Qr = {
753
753
  message: Wr,
754
754
  iconTitle: Zr
755
- }, Xr = "kong-ui-copy-uuid-notify", Lt = "24px", ea = (e, i) => {
755
+ }, Xr = "kong-ui-copy-uuid-notify", Lt = "24px", eo = (e, i) => {
756
756
  const t = e.__vccOpts || e;
757
- for (const [a, r] of i)
758
- t[a] = r;
757
+ for (const [o, r] of i)
758
+ t[o] = r;
759
759
  return t;
760
- }, ta = (e) => (si("data-v-13f41aa3"), e = e(), ci(), e), ia = ["aria-hidden"], ra = {
760
+ }, to = (e) => (si("data-v-13f41aa3"), e = e(), ci(), e), io = ["aria-hidden"], ro = {
761
761
  key: 0,
762
762
  "data-testid": "kui-icon-svg-title"
763
- }, aa = /* @__PURE__ */ ta(() => /* @__PURE__ */ N("path", {
763
+ }, oo = /* @__PURE__ */ to(() => /* @__PURE__ */ N("path", {
764
764
  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",
765
765
  fill: "currentColor"
766
- }, null, -1)), oa = /* @__PURE__ */ re({
766
+ }, null, -1)), ao = /* @__PURE__ */ re({
767
767
  __name: "CopyIcon",
768
768
  props: {
769
769
  /** The accessibility text provided to screen readers */
@@ -824,7 +824,7 @@ const se = {
824
824
  return `${n}px`;
825
825
  }
826
826
  return Lt;
827
- }), a = j(() => ({
827
+ }), o = j(() => ({
828
828
  boxSizing: "border-box",
829
829
  color: i.color,
830
830
  display: i.display,
@@ -832,11 +832,11 @@ const se = {
832
832
  lineHeight: "0",
833
833
  width: t.value
834
834
  }));
835
- return (r, n) => (v(), P($e(e.as), {
835
+ return (r, n) => (v(), P(Oe(e.as), {
836
836
  "aria-hidden": e.decorative ? "true" : void 0,
837
837
  class: "kui-icon copy-icon",
838
838
  "data-testid": "kui-icon-wrapper-copy-icon",
839
- style: li(a.value)
839
+ style: li(o.value)
840
840
  }, {
841
841
  default: y(() => [
842
842
  (v(), M("svg", {
@@ -849,14 +849,14 @@ const se = {
849
849
  width: "100%",
850
850
  xmlns: "http://www.w3.org/2000/svg"
851
851
  }, [
852
- e.title ? (v(), M("title", ra, O(e.title), 1)) : D("", !0),
853
- aa
854
- ], 8, ia))
852
+ e.title ? (v(), M("title", ro, $(e.title), 1)) : D("", !0),
853
+ oo
854
+ ], 8, io))
855
855
  ]),
856
856
  _: 1
857
857
  }, 8, ["aria-hidden", "style"]));
858
858
  }
859
- }), na = /* @__PURE__ */ ea(oa, [["__scopeId", "data-v-13f41aa3"]]), la = "16px", sa = { class: "kong-ui-copy-uuid" }, ca = ["onClick"], Ut = 15, ua = /* @__PURE__ */ re({
859
+ }), no = /* @__PURE__ */ eo(ao, [["__scopeId", "data-v-13f41aa3"]]), lo = "16px", so = { class: "kong-ui-copy-uuid" }, co = ["onClick"], Ut = 15, uo = /* @__PURE__ */ re({
860
860
  __name: "CopyUuid",
861
861
  props: {
862
862
  uuid: {
@@ -900,44 +900,44 @@ const se = {
900
900
  },
901
901
  emits: ["success", "error"],
902
902
  setup(e, { emit: i }) {
903
- const { t } = wt("en-us", Qr), a = e, r = i, n = a.notify || oi(Xr, () => {
904
- }), o = j(() => a.idTooltip ? {
905
- label: a.idTooltip,
903
+ const { t } = wt("en-us", Qr), o = e, r = i, n = o.notify || ai(Xr, () => {
904
+ }), a = j(() => o.idTooltip ? {
905
+ label: o.idTooltip,
906
906
  positionFixed: !0,
907
907
  placement: "bottomStart"
908
908
  } : {
909
- title: a.uuid
910
- }), s = j(() => !!(a.tooltip && a.successTooltip)), l = L(a.tooltip), d = j(() => a.tooltip ? {
909
+ title: o.uuid
910
+ }), s = j(() => !!(o.tooltip && o.successTooltip)), l = L(o.tooltip), d = j(() => o.tooltip ? {
911
911
  label: l.value,
912
912
  positionFixed: !0,
913
913
  maxWidth: "500px",
914
914
  placement: "bottomStart"
915
915
  } : {}), m = j(() => {
916
916
  var h;
917
- return a.format === "redacted" ? "*****" : a.format === "deleted" ? `*${(h = a.uuid) == null ? void 0 : h.substring(0, 5)}` : a.uuid;
917
+ return o.format === "redacted" ? "*****" : o.format === "deleted" ? `*${(h = o.uuid) == null ? void 0 : h.substring(0, 5)}` : o.uuid;
918
918
  }), p = (h) => {
919
919
  l.value = h, setTimeout(() => {
920
- l.value = a.tooltip;
920
+ l.value = o.tooltip;
921
921
  }, 1800);
922
922
  }, _ = (h) => {
923
923
  var x, b;
924
- if (!h(a.uuid)) {
924
+ if (!h(o.uuid)) {
925
925
  typeof n == "function" && n({
926
926
  type: "error",
927
927
  message: t("message.fail")
928
- }), s.value ? p(t("message.fail")) : r("error", a.uuid);
928
+ }), s.value ? p(t("message.fail")) : r("error", o.uuid);
929
929
  return;
930
930
  }
931
- const $ = ((x = a.uuid) == null ? void 0 : x.length) > Ut, S = a.format === "hidden" || a.format === "redacted" ? t("message.success.prefix") : `"${((b = a.uuid) == null ? void 0 : b.substring(0, Ut)) + ($ ? "..." : "")}"`;
931
+ const O = ((x = o.uuid) == null ? void 0 : x.length) > Ut, S = o.format === "hidden" || o.format === "redacted" ? t("message.success.prefix") : `"${((b = o.uuid) == null ? void 0 : b.substring(0, Ut)) + (O ? "..." : "")}"`;
932
932
  typeof n == "function" && n({
933
933
  type: "success",
934
934
  message: `${S}${t("message.success.content")}`
935
- }), s.value ? p(a.successTooltip) : r("success", a.uuid);
935
+ }), s.value ? p(o.successTooltip) : r("success", o.uuid);
936
936
  };
937
937
  return (h, x) => {
938
938
  const b = U("KClipboardProvider");
939
- return v(), M("div", sa, [
940
- e.format !== "hidden" ? (v(), P($e(e.idTooltip ? "KTooltip" : "div"), dt({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
939
+ return v(), M("div", so, [
940
+ e.format !== "hidden" ? (v(), P(Oe(e.idTooltip ? "KTooltip" : "div"), dt({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
941
941
  default: y(() => [
942
942
  N("div", {
943
943
  class: Ie([
@@ -945,28 +945,28 @@ const se = {
945
945
  e.truncated ? "truncated-uuid" : null,
946
946
  e.useMono ? "mono" : null
947
947
  ])
948
- }, O(m.value), 3)
948
+ }, $(m.value), 3)
949
949
  ]),
950
950
  _: 1
951
951
  }, 16)) : D("", !0),
952
- (v(), P($e(e.tooltip ? "KTooltip" : "div"), dt(d.value, { class: "uuid-icon-wrapper" }), {
952
+ (v(), P(Oe(e.tooltip ? "KTooltip" : "div"), dt(d.value, { class: "uuid-icon-wrapper" }), {
953
953
  default: y(() => [
954
954
  C(b, null, {
955
- default: y(({ copyToClipboard: $ }) => [
955
+ default: y(({ copyToClipboard: O }) => [
956
956
  N("span", {
957
957
  "data-testid": "copy-to-clipboard",
958
958
  role: "button",
959
959
  tabindex: "0",
960
- onClick: qe((S) => _($), ["stop"])
960
+ onClick: qe((S) => _(O), ["stop"])
961
961
  }, [
962
- C(f(na), {
962
+ C(f(no), {
963
963
  class: "uuid-icon",
964
964
  color: e.iconColor,
965
965
  decorative: !!e.tooltip,
966
- size: f(la),
966
+ size: f(lo),
967
967
  title: f(t)("iconTitle")
968
968
  }, null, 8, ["color", "decorative", "size", "title"])
969
- ], 8, ca)
969
+ ], 8, co)
970
970
  ]),
971
971
  _: 1
972
972
  })
@@ -976,15 +976,15 @@ const se = {
976
976
  ]);
977
977
  };
978
978
  }
979
- }), da = (e, i) => {
979
+ }), po = (e, i) => {
980
980
  const t = e.__vccOpts || e;
981
- for (const [a, r] of i)
982
- t[a] = r;
981
+ for (const [o, r] of i)
982
+ t[o] = r;
983
983
  return t;
984
- }, yi = /* @__PURE__ */ da(ua, [["__scopeId", "data-v-0c07874b"]]), pa = {
984
+ }, yi = /* @__PURE__ */ po(uo, [["__scopeId", "data-v-0c07874b"]]), fo = {
985
985
  key: 0,
986
986
  class: "config-card-fieldset-title"
987
- }, fa = /* @__PURE__ */ re({
987
+ }, mo = /* @__PURE__ */ re({
988
988
  __name: "JsonCardItem",
989
989
  props: {
990
990
  item: {
@@ -1001,26 +1001,26 @@ const se = {
1001
1001
  }
1002
1002
  },
1003
1003
  setup(e) {
1004
- const i = e, { i18n: { t } } = se.useI18n(), { convertKeyToTitle: a } = se.useStringHelpers(), r = j(() => i.item.key ?? "json-array-item"), n = j(() => i.item.value ?? i.item), o = j(() => {
1004
+ const i = e, { i18n: { t } } = se.useI18n(), { convertKeyToTitle: o } = se.useStringHelpers(), r = j(() => i.item.key ?? "json-array-item"), n = j(() => i.item.value ?? i.item), a = j(() => {
1005
1005
  const l = JSON.parse(JSON.stringify(n.value));
1006
1006
  return i.isArrayItem && delete l.name, l;
1007
1007
  }), s = j(() => {
1008
1008
  var l;
1009
- return i.isArrayItem ? (l = n.value) != null && l.name ? a(n.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: i.index }) : "";
1009
+ return i.isArrayItem ? (l = n.value) != null && l.name ? o(n.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: i.index }) : "";
1010
1010
  });
1011
- return (l, d) => (v(), P($e(e.isArrayItem ? "fieldset" : "div"), {
1011
+ return (l, d) => (v(), P(Oe(e.isArrayItem ? "fieldset" : "div"), {
1012
1012
  class: Ie(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
1013
1013
  }, {
1014
1014
  default: y(() => [
1015
- e.isArrayItem ? (v(), M("legend", pa, [
1016
- N("b", null, O(s.value), 1)
1015
+ e.isArrayItem ? (v(), M("legend", fo, [
1016
+ N("b", null, $(s.value), 1)
1017
1017
  ])) : D("", !0),
1018
- (v(!0), M(ve, null, ye(Object.keys(o.value), (m, p) => (v(), P(Ct, {
1018
+ (v(!0), M(ve, null, ye(Object.keys(a.value), (m, p) => (v(), P(Ct, {
1019
1019
  key: `${r.value}-property-${p}`,
1020
1020
  item: {
1021
1021
  key: m,
1022
- label: f(a)(m),
1023
- value: o.value[m]
1022
+ label: f(o)(m),
1023
+ value: a.value[m]
1024
1024
  }
1025
1025
  }, null, 8, ["item"]))), 128))
1026
1026
  ]),
@@ -1029,10 +1029,10 @@ const se = {
1029
1029
  }
1030
1030
  }), he = (e, i) => {
1031
1031
  const t = e.__vccOpts || e;
1032
- for (const [a, r] of i)
1033
- t[a] = r;
1032
+ for (const [o, r] of i)
1033
+ t[o] = r;
1034
1034
  return t;
1035
- }, vi = /* @__PURE__ */ he(fa, [["__scopeId", "data-v-68ca83ec"]]), ma = /* @__PURE__ */ re({
1035
+ }, vi = /* @__PURE__ */ he(mo, [["__scopeId", "data-v-68ca83ec"]]), go = /* @__PURE__ */ re({
1036
1036
  __name: "InternalLinkItem",
1037
1037
  props: {
1038
1038
  item: {
@@ -1043,23 +1043,23 @@ const se = {
1043
1043
  emits: ["navigation-click"],
1044
1044
  setup(e) {
1045
1045
  const { i18n: { t: i } } = se.useI18n();
1046
- return (t, a) => {
1046
+ return (t, o) => {
1047
1047
  const r = U("KButton");
1048
1048
  return v(), M("div", null, [
1049
1049
  C(r, {
1050
1050
  appearance: "tertiary",
1051
1051
  class: "navigation-button",
1052
- onClick: a[0] || (a[0] = (n) => t.$emit("navigation-click", e.item))
1052
+ onClick: o[0] || (o[0] = (n) => t.$emit("navigation-click", e.item))
1053
1053
  }, {
1054
1054
  default: y(() => [
1055
- G(O(e.item.value || f(i)("baseConfigCard.commonFields.link")), 1)
1055
+ G($(e.item.value || f(i)("baseConfigCard.commonFields.link")), 1)
1056
1056
  ]),
1057
1057
  _: 1
1058
1058
  })
1059
1059
  ]);
1060
1060
  };
1061
1061
  }
1062
- }), ga = /* @__PURE__ */ he(ma, [["__scopeId", "data-v-c96811e5"]]), ya = /* @__PURE__ */ re({
1062
+ }), yo = /* @__PURE__ */ he(go, [["__scopeId", "data-v-c96811e5"]]), vo = /* @__PURE__ */ re({
1063
1063
  __name: "StatusBadge",
1064
1064
  props: {
1065
1065
  status: {
@@ -1069,23 +1069,23 @@ const se = {
1069
1069
  },
1070
1070
  setup(e) {
1071
1071
  const { i18n: { t: i } } = se.useI18n();
1072
- return (t, a) => {
1072
+ return (t, o) => {
1073
1073
  const r = U("KBadge");
1074
1074
  return v(), P(r, {
1075
1075
  appearance: e.status ? "success" : "neutral"
1076
1076
  }, {
1077
1077
  default: y(() => [
1078
- G(O(e.status ? f(i)("baseConfigCard.statusBadge.enabledLabel") : f(i)("baseConfigCard.statusBadge.disabledLabel")), 1)
1078
+ G($(e.status ? f(i)("baseConfigCard.statusBadge.enabledLabel") : f(i)("baseConfigCard.statusBadge.disabledLabel")), 1)
1079
1079
  ]),
1080
1080
  _: 1
1081
1081
  }, 8, ["appearance"]);
1082
1082
  };
1083
1083
  }
1084
- }), va = "#0044f4", ha = "#e0e4ea", ba = "#3a3f51", wa = "1px", _a = "20px", ka = { class: "config-card-details-row" }, Ca = ["data-testid"], Sa = ["data-testid"], Ia = ["data-testid"], Aa = ["data-testid"], xa = { key: 1 }, Ta = ["data-testid"], ja = ["data-testid"], Ma = ["data-testid"], $a = ["data-testid"], Oa = {
1084
+ }), ho = "#0044f4", bo = "#e0e4ea", wo = "#3a3f51", _o = "1px", ko = "20px", Co = { class: "config-card-details-row" }, So = ["data-testid"], Io = ["data-testid"], Ao = ["data-testid"], xo = ["data-testid"], To = { key: 1 }, jo = ["data-testid"], Mo = ["data-testid"], Oo = ["data-testid"], $o = ["data-testid"], Eo = {
1085
1085
  name: "ConfigCardItem",
1086
- components: { CopyUuid: yi, JsonCardItem: vi, StatusBadge: ya, InternalLinkItem: ga }
1087
- }, Ea = /* @__PURE__ */ re({
1088
- ...Oa,
1086
+ components: { CopyUuid: yi, JsonCardItem: vi, StatusBadge: vo, InternalLinkItem: yo }
1087
+ }, Fo = /* @__PURE__ */ re({
1088
+ ...Eo,
1089
1089
  props: {
1090
1090
  item: {
1091
1091
  type: Object,
@@ -1104,13 +1104,13 @@ const se = {
1104
1104
  },
1105
1105
  emits: ["navigation-click"],
1106
1106
  setup(e, { emit: i }) {
1107
- ai((x) => ({
1108
- "5ae2770e": m.value ? "none" : `solid ${f(wa)} ${f(ha)}`,
1107
+ oi((x) => ({
1108
+ "5ae2770e": m.value ? "none" : `solid ${f(_o)} ${f(bo)}`,
1109
1109
  "4db3977e": d.value && s.value ? "block" : "flex",
1110
1110
  "1a7c5e02": d.value && s.value ? "100%" : t.slim ? "50%" : "25%",
1111
1111
  "1a77d24c": d.value && s.value ? "100%" : t.slim ? "50%" : "75%"
1112
1112
  }));
1113
- const t = e, a = i, r = rt(), { i18n: { t: n, formatUnixTimeStamp: o } } = se.useI18n(), s = j(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = j(() => !!(t.item.tooltip || r["label-tooltip"])), d = j(() => t.item.type === te.Json || t.item.type === te.JsonArray), m = j(() => t.item.type === te.JsonArray), p = j(() => {
1113
+ const t = e, o = i, r = rt(), { i18n: { t: n, formatUnixTimeStamp: a } } = se.useI18n(), s = j(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = j(() => !!(t.item.tooltip || r["label-tooltip"])), d = j(() => t.item.type === te.Json || t.item.type === te.JsonArray), m = j(() => t.item.type === te.JsonArray), p = j(() => {
1114
1114
  switch (t.item.type) {
1115
1115
  case te.ID:
1116
1116
  return {
@@ -1170,7 +1170,7 @@ const se = {
1170
1170
  attrs: {
1171
1171
  "data-testid": `${t.item.key}-date`
1172
1172
  },
1173
- text: o(t.item.value)
1173
+ text: a(t.item.value)
1174
1174
  };
1175
1175
  case te.BadgeStatus:
1176
1176
  return {
@@ -1197,7 +1197,7 @@ const se = {
1197
1197
  "data-testid": `${t.item.key}-internal-link`,
1198
1198
  item: t.item,
1199
1199
  onNavigationClick: (x) => {
1200
- a("navigation-click", x);
1200
+ o("navigation-click", x);
1201
1201
  }
1202
1202
  }
1203
1203
  };
@@ -1238,16 +1238,16 @@ const se = {
1238
1238
  }
1239
1239
  }), _ = L(), { isTruncated: h } = se.useTruncationDetector(_);
1240
1240
  return (x, b) => {
1241
- const $ = U("KLabel"), S = U("KBadge"), T = U("KTooltip");
1242
- return v(), M("div", ka, [
1241
+ const O = U("KLabel"), S = U("KBadge"), T = U("KTooltip");
1242
+ return v(), M("div", Co, [
1243
1243
  N("div", {
1244
1244
  class: "config-card-details-label",
1245
1245
  "data-testid": `${e.item.key}-label`
1246
1246
  }, [
1247
1247
  Q(x.$slots, "label", { item: e.item }, () => [
1248
- C($, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1248
+ C(O, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1249
1249
  default: y(() => [
1250
- G(O(e.item.label) + " ", 1)
1250
+ G($(e.item.label) + " ", 1)
1251
1251
  ]),
1252
1252
  _: 2
1253
1253
  }, [
@@ -1258,15 +1258,15 @@ const se = {
1258
1258
  "data-testid": `${e.item.key}-label-tooltip`
1259
1259
  }, [
1260
1260
  Q(x.$slots, "label-tooltip", {}, () => [
1261
- G(O(e.item.tooltip), 1)
1261
+ G($(e.item.tooltip), 1)
1262
1262
  ], !0)
1263
- ], 8, Sa)
1263
+ ], 8, Io)
1264
1264
  ]),
1265
1265
  key: "0"
1266
1266
  } : void 0
1267
1267
  ]), 1024)
1268
1268
  ], !0)
1269
- ], 8, Ca),
1269
+ ], 8, So),
1270
1270
  N("div", {
1271
1271
  class: "config-card-details-value",
1272
1272
  "data-testid": `${e.item.key}-property-value`
@@ -1274,8 +1274,8 @@ const se = {
1274
1274
  Q(x.$slots, e.item.key, {
1275
1275
  rowValue: e.item.value
1276
1276
  }, () => [
1277
- s.value ? (v(), M("div", xa, [
1278
- (v(), P($e(p.value.tag), ur(dr(p.value.attrs)), {
1277
+ s.value ? (v(), M("div", To, [
1278
+ (v(), P(Oe(p.value.tag), ur(dr(p.value.attrs)), {
1279
1279
  default: y(() => [
1280
1280
  p.value.additionalComponent === "KBadge" ? (v(), M("div", {
1281
1281
  key: 0,
@@ -1289,11 +1289,11 @@ const se = {
1289
1289
  "truncation-tooltip": ""
1290
1290
  }, {
1291
1291
  default: y(() => [
1292
- G(O(u), 1)
1292
+ G($(u), 1)
1293
1293
  ]),
1294
1294
  _: 2
1295
1295
  }, 1032, ["data-testid", "tooltip"]))), 128))
1296
- ], 8, Ta)) : D("", !0),
1296
+ ], 8, jo)) : D("", !0),
1297
1297
  p.value.additionalComponent === "CopyUuid" ? (v(), M("div", {
1298
1298
  key: 1,
1299
1299
  class: "copy-uuid-array",
@@ -1304,7 +1304,7 @@ const se = {
1304
1304
  "data-testid": `${e.item.key}-copy-uuid-${k}`,
1305
1305
  uuid: u
1306
1306
  }), null, 16, ["data-testid", "uuid"]))), 128))
1307
- ], 8, ja)) : p.value.additionalComponent === "KMethodBadge" ? (v(), M("div", {
1307
+ ], 8, Mo)) : p.value.additionalComponent === "KMethodBadge" ? (v(), M("div", {
1308
1308
  key: 2,
1309
1309
  class: "method-badge-array",
1310
1310
  "data-testid": `${e.item.key}-badge-methods`
@@ -1316,11 +1316,11 @@ const se = {
1316
1316
  "data-testid": `${e.item.key}-badge-method-${k}`
1317
1317
  }, {
1318
1318
  default: y(() => [
1319
- G(O(u), 1)
1319
+ G($(u), 1)
1320
1320
  ]),
1321
1321
  _: 2
1322
1322
  }, 1032, ["appearance", "data-testid"]))), 128))
1323
- ], 8, Ma)) : D("", !0),
1323
+ ], 8, Oo)) : D("", !0),
1324
1324
  p.value.additionalComponent === "JsonCardItem" ? (v(), M("div", {
1325
1325
  key: 3,
1326
1326
  "data-testid": `${t.item.key}-json-array-content`
@@ -1331,7 +1331,7 @@ const se = {
1331
1331
  "is-array-item": "",
1332
1332
  item: u
1333
1333
  }, null, 8, ["index", "item"]))), 128))
1334
- ], 8, $a)) : (v(), P(T, {
1334
+ ], 8, $o)) : (v(), P(T, {
1335
1335
  key: 4,
1336
1336
  text: f(h) ? e.item.value : ""
1337
1337
  }, {
@@ -1340,7 +1340,7 @@ const se = {
1340
1340
  ref_key: "textContent",
1341
1341
  ref: _,
1342
1342
  class: Ie(["attrs-data-text", { truncated: e.truncated }])
1343
- }, O(p.value.text), 3)
1343
+ }, $(p.value.text), 3)
1344
1344
  ]),
1345
1345
  _: 1
1346
1346
  }, 8, ["text"]))
@@ -1350,13 +1350,13 @@ const se = {
1350
1350
  ])) : (v(), M("div", {
1351
1351
  key: 0,
1352
1352
  "data-testid": `${e.item.key}-no-value`
1353
- }, " – ", 8, Aa))
1353
+ }, " – ", 8, xo))
1354
1354
  ], !0)
1355
- ], 8, Ia)
1355
+ ], 8, Ao)
1356
1356
  ]);
1357
1357
  };
1358
1358
  }
1359
- }), Ct = /* @__PURE__ */ he(Ea, [["__scopeId", "data-v-f65fc52c"]]), Fa = { class: "json-config" }, Va = {
1359
+ }), Ct = /* @__PURE__ */ he(Fo, [["__scopeId", "data-v-f65fc52c"]]), Vo = { class: "json-config" }, No = {
1360
1360
  key: 0,
1361
1361
  class: "json-endpoint"
1362
1362
  }, hi = /* @__PURE__ */ re({
@@ -1387,10 +1387,10 @@ const se = {
1387
1387
  }
1388
1388
  },
1389
1389
  setup(e) {
1390
- ai((r) => ({
1391
- "2d178975": `${a.value}ch`
1390
+ oi((r) => ({
1391
+ "2d178975": `${o.value}ch`
1392
1392
  }));
1393
- const i = e, t = j(() => i.jsonRecord), a = j(() => {
1393
+ const i = e, t = j(() => i.jsonRecord), o = j(() => {
1394
1394
  var r;
1395
1395
  if (!i.fetcherUrl)
1396
1396
  return 0;
@@ -1398,15 +1398,15 @@ const se = {
1398
1398
  return n.length < 2 ? 0 : 41 + (i.requestMethod === "post" ? n[n.length - 1] : n[n.length - 2]).length;
1399
1399
  });
1400
1400
  return (r, n) => {
1401
- var o;
1401
+ var a;
1402
1402
  const s = U("KBadge"), l = U("KCodeBlock");
1403
- return v(), M("div", Fa, [
1404
- i.fetcherUrl && (o = i.config) != null && o.jsonYamlFormsEnabled ? (v(), M("div", Va, [
1403
+ return v(), M("div", Vo, [
1404
+ i.fetcherUrl && (a = i.config) != null && a.jsonYamlFormsEnabled ? (v(), M("div", No, [
1405
1405
  C(s, {
1406
1406
  appearance: i.requestMethod
1407
1407
  }, {
1408
1408
  default: y(() => [
1409
- G(O(i.requestMethod), 1)
1409
+ G($(i.requestMethod), 1)
1410
1410
  ]),
1411
1411
  _: 1
1412
1412
  }, 8, ["appearance"]),
@@ -1434,41 +1434,41 @@ const se = {
1434
1434
  function bi(e) {
1435
1435
  return typeof e > "u" || e === null;
1436
1436
  }
1437
- function Na(e) {
1437
+ function qo(e) {
1438
1438
  return typeof e == "object" && e !== null;
1439
1439
  }
1440
- function qa(e) {
1440
+ function Lo(e) {
1441
1441
  return Array.isArray(e) ? e : bi(e) ? [] : [e];
1442
1442
  }
1443
- function La(e, i) {
1444
- var t, a, r, n;
1443
+ function Uo(e, i) {
1444
+ var t, o, r, n;
1445
1445
  if (i)
1446
- for (n = Object.keys(i), t = 0, a = n.length; t < a; t += 1)
1446
+ for (n = Object.keys(i), t = 0, o = n.length; t < o; t += 1)
1447
1447
  r = n[t], e[r] = i[r];
1448
1448
  return e;
1449
1449
  }
1450
- function Ua(e, i) {
1451
- var t = "", a;
1452
- for (a = 0; a < i; a += 1)
1450
+ function Ko(e, i) {
1451
+ var t = "", o;
1452
+ for (o = 0; o < i; o += 1)
1453
1453
  t += e;
1454
1454
  return t;
1455
1455
  }
1456
- function Ka(e) {
1456
+ function Bo(e) {
1457
1457
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1458
1458
  }
1459
- var Ba = bi, Pa = Na, Ra = qa, Da = Ua, Ha = Ka, za = La, le = {
1460
- isNothing: Ba,
1461
- isObject: Pa,
1462
- toArray: Ra,
1463
- repeat: Da,
1464
- isNegativeZero: Ha,
1465
- extend: za
1459
+ var Po = bi, Ro = qo, Do = Lo, Ho = Ko, zo = Bo, Go = Uo, le = {
1460
+ isNothing: Po,
1461
+ isObject: Ro,
1462
+ toArray: Do,
1463
+ repeat: Ho,
1464
+ isNegativeZero: zo,
1465
+ extend: Go
1466
1466
  };
1467
1467
  function wi(e, i) {
1468
- var t = "", a = e.reason || "(unknown reason)";
1468
+ var t = "", o = e.reason || "(unknown reason)";
1469
1469
  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 += `
1470
1470
 
1471
- ` + e.mark.snippet), a + " " + t) : a;
1471
+ ` + e.mark.snippet), o + " " + t) : o;
1472
1472
  }
1473
1473
  function ze(e, i) {
1474
1474
  Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = i, this.message = wi(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
@@ -1479,48 +1479,48 @@ ze.prototype.toString = function(e) {
1479
1479
  return this.name + ": " + wi(this, e);
1480
1480
  };
1481
1481
  var me = ze;
1482
- function st(e, i, t, a, r) {
1483
- var n = "", o = "", s = Math.floor(r / 2) - 1;
1484
- return a - i > s && (n = " ... ", i = a - s + n.length), t - a > s && (o = " ...", t = a + s - o.length), {
1485
- str: n + e.slice(i, t).replace(/\t/g, "→") + o,
1486
- pos: a - i + n.length
1482
+ function st(e, i, t, o, r) {
1483
+ var n = "", a = "", s = Math.floor(r / 2) - 1;
1484
+ return o - i > s && (n = " ... ", i = o - s + n.length), t - o > s && (a = " ...", t = o + s - a.length), {
1485
+ str: n + e.slice(i, t).replace(/\t/g, "→") + a,
1486
+ pos: o - i + n.length
1487
1487
  // relative position
1488
1488
  };
1489
1489
  }
1490
1490
  function ct(e, i) {
1491
1491
  return le.repeat(" ", i - e.length) + e;
1492
1492
  }
1493
- function Ga(e, i) {
1493
+ function Jo(e, i) {
1494
1494
  if (i = Object.create(i || null), !e.buffer)
1495
1495
  return null;
1496
1496
  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);
1497
- for (var t = /\r?\n|\r|\0/g, a = [0], r = [], n, o = -1; n = t.exec(e.buffer); )
1498
- r.push(n.index), a.push(n.index + n[0].length), e.position <= n.index && o < 0 && (o = a.length - 2);
1499
- o < 0 && (o = a.length - 1);
1497
+ for (var t = /\r?\n|\r|\0/g, o = [0], r = [], n, a = -1; n = t.exec(e.buffer); )
1498
+ r.push(n.index), o.push(n.index + n[0].length), e.position <= n.index && a < 0 && (a = o.length - 2);
1499
+ a < 0 && (a = o.length - 1);
1500
1500
  var s = "", l, d, m = Math.min(e.line + i.linesAfter, r.length).toString().length, p = i.maxLength - (i.indent + m + 3);
1501
- for (l = 1; l <= i.linesBefore && !(o - l < 0); l++)
1501
+ for (l = 1; l <= i.linesBefore && !(a - l < 0); l++)
1502
1502
  d = st(
1503
1503
  e.buffer,
1504
- a[o - l],
1505
- r[o - l],
1506
- e.position - (a[o] - a[o - l]),
1504
+ o[a - l],
1505
+ r[a - l],
1506
+ e.position - (o[a] - o[a - l]),
1507
1507
  p
1508
1508
  ), s = le.repeat(" ", i.indent) + ct((e.line - l + 1).toString(), m) + " | " + d.str + `
1509
1509
  ` + s;
1510
- for (d = st(e.buffer, a[o], r[o], e.position, p), s += le.repeat(" ", i.indent) + ct((e.line + 1).toString(), m) + " | " + d.str + `
1510
+ for (d = st(e.buffer, o[a], r[a], e.position, p), s += le.repeat(" ", i.indent) + ct((e.line + 1).toString(), m) + " | " + d.str + `
1511
1511
  `, s += le.repeat("-", i.indent + m + 3 + d.pos) + `^
1512
- `, l = 1; l <= i.linesAfter && !(o + l >= r.length); l++)
1512
+ `, l = 1; l <= i.linesAfter && !(a + l >= r.length); l++)
1513
1513
  d = st(
1514
1514
  e.buffer,
1515
- a[o + l],
1516
- r[o + l],
1517
- e.position - (a[o] - a[o + l]),
1515
+ o[a + l],
1516
+ r[a + l],
1517
+ e.position - (o[a] - o[a + l]),
1518
1518
  p
1519
1519
  ), s += le.repeat(" ", i.indent) + ct((e.line + l + 1).toString(), m) + " | " + d.str + `
1520
1520
  `;
1521
1521
  return s.replace(/\n$/, "");
1522
1522
  }
1523
- var Ja = Ga, Ya = [
1523
+ var Yo = Jo, Wo = [
1524
1524
  "kind",
1525
1525
  "multi",
1526
1526
  "resolve",
@@ -1531,41 +1531,41 @@ var Ja = Ga, Ya = [
1531
1531
  "representName",
1532
1532
  "defaultStyle",
1533
1533
  "styleAliases"
1534
- ], Wa = [
1534
+ ], Zo = [
1535
1535
  "scalar",
1536
1536
  "sequence",
1537
1537
  "mapping"
1538
1538
  ];
1539
- function Za(e) {
1539
+ function Qo(e) {
1540
1540
  var i = {};
1541
1541
  return e !== null && Object.keys(e).forEach(function(t) {
1542
- e[t].forEach(function(a) {
1543
- i[String(a)] = t;
1542
+ e[t].forEach(function(o) {
1543
+ i[String(o)] = t;
1544
1544
  });
1545
1545
  }), i;
1546
1546
  }
1547
- function Qa(e, i) {
1547
+ function Xo(e, i) {
1548
1548
  if (i = i || {}, Object.keys(i).forEach(function(t) {
1549
- if (Ya.indexOf(t) === -1)
1549
+ if (Wo.indexOf(t) === -1)
1550
1550
  throw new me('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1551
1551
  }), this.options = i, this.tag = e, this.kind = i.kind || null, this.resolve = i.resolve || function() {
1552
1552
  return !0;
1553
1553
  }, this.construct = i.construct || function(t) {
1554
1554
  return t;
1555
- }, 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 = Za(i.styleAliases || null), Wa.indexOf(this.kind) === -1)
1555
+ }, 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 = Qo(i.styleAliases || null), Zo.indexOf(this.kind) === -1)
1556
1556
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1557
1557
  }
1558
- var de = Qa;
1558
+ var de = Xo;
1559
1559
  function Kt(e, i) {
1560
1560
  var t = [];
1561
- return e[i].forEach(function(a) {
1561
+ return e[i].forEach(function(o) {
1562
1562
  var r = t.length;
1563
- t.forEach(function(n, o) {
1564
- n.tag === a.tag && n.kind === a.kind && n.multi === a.multi && (r = o);
1565
- }), t[r] = a;
1563
+ t.forEach(function(n, a) {
1564
+ n.tag === o.tag && n.kind === o.kind && n.multi === o.multi && (r = a);
1565
+ }), t[r] = o;
1566
1566
  }), t;
1567
1567
  }
1568
- function Xa() {
1568
+ function ea() {
1569
1569
  var e = {
1570
1570
  scalar: {},
1571
1571
  sequence: {},
@@ -1578,11 +1578,11 @@ function Xa() {
1578
1578
  fallback: []
1579
1579
  }
1580
1580
  }, i, t;
1581
- function a(r) {
1581
+ function o(r) {
1582
1582
  r.multi ? (e.multi[r.kind].push(r), e.multi.fallback.push(r)) : e[r.kind][r.tag] = e.fallback[r.tag] = r;
1583
1583
  }
1584
1584
  for (i = 0, t = arguments.length; i < t; i += 1)
1585
- arguments[i].forEach(a);
1585
+ arguments[i].forEach(o);
1586
1586
  return e;
1587
1587
  }
1588
1588
  function ft(e) {
@@ -1609,8 +1609,8 @@ ft.prototype.extend = function(e) {
1609
1609
  if (!(r instanceof de))
1610
1610
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1611
1611
  });
1612
- var a = Object.create(ft.prototype);
1613
- return a.implicit = (this.implicit || []).concat(i), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Kt(a, "implicit"), a.compiledExplicit = Kt(a, "explicit"), a.compiledTypeMap = Xa(a.compiledImplicit, a.compiledExplicit), a;
1612
+ var o = Object.create(ft.prototype);
1613
+ return o.implicit = (this.implicit || []).concat(i), o.explicit = (this.explicit || []).concat(t), o.compiledImplicit = Kt(o, "implicit"), o.compiledExplicit = Kt(o, "explicit"), o.compiledTypeMap = ea(o.compiledImplicit, o.compiledExplicit), o;
1614
1614
  };
1615
1615
  var _i = ft, ki = new de("tag:yaml.org,2002:str", {
1616
1616
  kind: "scalar",
@@ -1634,23 +1634,23 @@ var _i = ft, ki = new de("tag:yaml.org,2002:str", {
1634
1634
  Si
1635
1635
  ]
1636
1636
  });
1637
- function eo(e) {
1637
+ function ta(e) {
1638
1638
  if (e === null)
1639
1639
  return !0;
1640
1640
  var i = e.length;
1641
1641
  return i === 1 && e === "~" || i === 4 && (e === "null" || e === "Null" || e === "NULL");
1642
1642
  }
1643
- function to() {
1643
+ function ia() {
1644
1644
  return null;
1645
1645
  }
1646
- function io(e) {
1646
+ function ra(e) {
1647
1647
  return e === null;
1648
1648
  }
1649
1649
  var Ai = new de("tag:yaml.org,2002:null", {
1650
1650
  kind: "scalar",
1651
- resolve: eo,
1652
- construct: to,
1653
- predicate: io,
1651
+ resolve: ta,
1652
+ construct: ia,
1653
+ predicate: ra,
1654
1654
  represent: {
1655
1655
  canonical: function() {
1656
1656
  return "~";
@@ -1670,23 +1670,23 @@ var Ai = new de("tag:yaml.org,2002:null", {
1670
1670
  },
1671
1671
  defaultStyle: "lowercase"
1672
1672
  });
1673
- function ro(e) {
1673
+ function oa(e) {
1674
1674
  if (e === null)
1675
1675
  return !1;
1676
1676
  var i = e.length;
1677
1677
  return i === 4 && (e === "true" || e === "True" || e === "TRUE") || i === 5 && (e === "false" || e === "False" || e === "FALSE");
1678
1678
  }
1679
- function ao(e) {
1679
+ function aa(e) {
1680
1680
  return e === "true" || e === "True" || e === "TRUE";
1681
1681
  }
1682
- function oo(e) {
1682
+ function na(e) {
1683
1683
  return Object.prototype.toString.call(e) === "[object Boolean]";
1684
1684
  }
1685
1685
  var xi = new de("tag:yaml.org,2002:bool", {
1686
1686
  kind: "scalar",
1687
- resolve: ro,
1688
- construct: ao,
1689
- predicate: oo,
1687
+ resolve: oa,
1688
+ construct: aa,
1689
+ predicate: na,
1690
1690
  represent: {
1691
1691
  lowercase: function(e) {
1692
1692
  return e ? "true" : "false";
@@ -1700,19 +1700,19 @@ var xi = new de("tag:yaml.org,2002:bool", {
1700
1700
  },
1701
1701
  defaultStyle: "lowercase"
1702
1702
  });
1703
- function no(e) {
1703
+ function la(e) {
1704
1704
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1705
1705
  }
1706
- function lo(e) {
1706
+ function sa(e) {
1707
1707
  return 48 <= e && e <= 55;
1708
1708
  }
1709
- function so(e) {
1709
+ function ca(e) {
1710
1710
  return 48 <= e && e <= 57;
1711
1711
  }
1712
- function co(e) {
1712
+ function ua(e) {
1713
1713
  if (e === null)
1714
1714
  return !1;
1715
- var i = e.length, t = 0, a = !1, r;
1715
+ var i = e.length, t = 0, o = !1, r;
1716
1716
  if (!i)
1717
1717
  return !1;
1718
1718
  if (r = e[t], (r === "-" || r === "+") && (r = e[++t]), r === "0") {
@@ -1723,44 +1723,44 @@ function co(e) {
1723
1723
  if (r = e[t], r !== "_") {
1724
1724
  if (r !== "0" && r !== "1")
1725
1725
  return !1;
1726
- a = !0;
1726
+ o = !0;
1727
1727
  }
1728
- return a && r !== "_";
1728
+ return o && r !== "_";
1729
1729
  }
1730
1730
  if (r === "x") {
1731
1731
  for (t++; t < i; t++)
1732
1732
  if (r = e[t], r !== "_") {
1733
- if (!no(e.charCodeAt(t)))
1733
+ if (!la(e.charCodeAt(t)))
1734
1734
  return !1;
1735
- a = !0;
1735
+ o = !0;
1736
1736
  }
1737
- return a && r !== "_";
1737
+ return o && r !== "_";
1738
1738
  }
1739
1739
  if (r === "o") {
1740
1740
  for (t++; t < i; t++)
1741
1741
  if (r = e[t], r !== "_") {
1742
- if (!lo(e.charCodeAt(t)))
1742
+ if (!sa(e.charCodeAt(t)))
1743
1743
  return !1;
1744
- a = !0;
1744
+ o = !0;
1745
1745
  }
1746
- return a && r !== "_";
1746
+ return o && r !== "_";
1747
1747
  }
1748
1748
  }
1749
1749
  if (r === "_")
1750
1750
  return !1;
1751
1751
  for (; t < i; t++)
1752
1752
  if (r = e[t], r !== "_") {
1753
- if (!so(e.charCodeAt(t)))
1753
+ if (!ca(e.charCodeAt(t)))
1754
1754
  return !1;
1755
- a = !0;
1755
+ o = !0;
1756
1756
  }
1757
- return !(!a || r === "_");
1757
+ return !(!o || r === "_");
1758
1758
  }
1759
- function uo(e) {
1760
- var i = e, t = 1, a;
1761
- if (i.indexOf("_") !== -1 && (i = i.replace(/_/g, "")), a = i[0], (a === "-" || a === "+") && (a === "-" && (t = -1), i = i.slice(1), a = i[0]), i === "0")
1759
+ function da(e) {
1760
+ var i = e, t = 1, o;
1761
+ if (i.indexOf("_") !== -1 && (i = i.replace(/_/g, "")), o = i[0], (o === "-" || o === "+") && (o === "-" && (t = -1), i = i.slice(1), o = i[0]), i === "0")
1762
1762
  return 0;
1763
- if (a === "0") {
1763
+ if (o === "0") {
1764
1764
  if (i[1] === "b")
1765
1765
  return t * parseInt(i.slice(2), 2);
1766
1766
  if (i[1] === "x")
@@ -1770,14 +1770,14 @@ function uo(e) {
1770
1770
  }
1771
1771
  return t * parseInt(i, 10);
1772
1772
  }
1773
- function po(e) {
1773
+ function pa(e) {
1774
1774
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !le.isNegativeZero(e);
1775
1775
  }
1776
1776
  var Ti = new de("tag:yaml.org,2002:int", {
1777
1777
  kind: "scalar",
1778
- resolve: co,
1779
- construct: uo,
1780
- predicate: po,
1778
+ resolve: ua,
1779
+ construct: da,
1780
+ predicate: pa,
1781
1781
  represent: {
1782
1782
  binary: function(e) {
1783
1783
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1800,21 +1800,21 @@ var Ti = new de("tag:yaml.org,2002:int", {
1800
1800
  decimal: [10, "dec"],
1801
1801
  hexadecimal: [16, "hex"]
1802
1802
  }
1803
- }), fo = new RegExp(
1803
+ }), fa = new RegExp(
1804
1804
  // 2.5e4, 2.5 and integers
1805
1805
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1806
1806
  );
1807
- function mo(e) {
1808
- return !(e === null || !fo.test(e) || // Quick hack to not allow integers end with `_`
1807
+ function ma(e) {
1808
+ return !(e === null || !fa.test(e) || // Quick hack to not allow integers end with `_`
1809
1809
  // Probably should update regexp & check speed
1810
1810
  e[e.length - 1] === "_");
1811
1811
  }
1812
- function go(e) {
1812
+ function ga(e) {
1813
1813
  var i, t;
1814
1814
  return i = e.replace(/_/g, "").toLowerCase(), t = i[0] === "-" ? -1 : 1, "+-".indexOf(i[0]) >= 0 && (i = i.slice(1)), i === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : i === ".nan" ? NaN : t * parseFloat(i, 10);
1815
1815
  }
1816
- var yo = /^[-+]?[0-9]+e/;
1817
- function vo(e, i) {
1816
+ var ya = /^[-+]?[0-9]+e/;
1817
+ function va(e, i) {
1818
1818
  var t;
1819
1819
  if (isNaN(e))
1820
1820
  switch (i) {
@@ -1845,17 +1845,17 @@ function vo(e, i) {
1845
1845
  }
1846
1846
  else if (le.isNegativeZero(e))
1847
1847
  return "-0.0";
1848
- return t = e.toString(10), yo.test(t) ? t.replace("e", ".e") : t;
1848
+ return t = e.toString(10), ya.test(t) ? t.replace("e", ".e") : t;
1849
1849
  }
1850
- function ho(e) {
1850
+ function ha(e) {
1851
1851
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || le.isNegativeZero(e));
1852
1852
  }
1853
1853
  var ji = new de("tag:yaml.org,2002:float", {
1854
1854
  kind: "scalar",
1855
- resolve: mo,
1856
- construct: go,
1857
- predicate: ho,
1858
- represent: vo,
1855
+ resolve: ma,
1856
+ construct: ga,
1857
+ predicate: ha,
1858
+ represent: va,
1859
1859
  defaultStyle: "lowercase"
1860
1860
  }), Mi = Ii.extend({
1861
1861
  implicit: [
@@ -1864,93 +1864,93 @@ var ji = new de("tag:yaml.org,2002:float", {
1864
1864
  Ti,
1865
1865
  ji
1866
1866
  ]
1867
- }), $i = Mi, Oi = new RegExp(
1867
+ }), Oi = Mi, $i = new RegExp(
1868
1868
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1869
1869
  ), Ei = new RegExp(
1870
1870
  "^([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]))?))?$"
1871
1871
  );
1872
- function bo(e) {
1873
- return e === null ? !1 : Oi.exec(e) !== null || Ei.exec(e) !== null;
1872
+ function ba(e) {
1873
+ return e === null ? !1 : $i.exec(e) !== null || Ei.exec(e) !== null;
1874
1874
  }
1875
- function wo(e) {
1876
- var i, t, a, r, n, o, s, l = 0, d = null, m, p, _;
1877
- if (i = Oi.exec(e), i === null && (i = Ei.exec(e)), i === null)
1875
+ function wa(e) {
1876
+ var i, t, o, r, n, a, s, l = 0, d = null, m, p, _;
1877
+ if (i = $i.exec(e), i === null && (i = Ei.exec(e)), i === null)
1878
1878
  throw new Error("Date resolve error");
1879
- if (t = +i[1], a = +i[2] - 1, r = +i[3], !i[4])
1880
- return new Date(Date.UTC(t, a, r));
1881
- if (n = +i[4], o = +i[5], s = +i[6], i[7]) {
1879
+ if (t = +i[1], o = +i[2] - 1, r = +i[3], !i[4])
1880
+ return new Date(Date.UTC(t, o, r));
1881
+ if (n = +i[4], a = +i[5], s = +i[6], i[7]) {
1882
1882
  for (l = i[7].slice(0, 3); l.length < 3; )
1883
1883
  l += "0";
1884
1884
  l = +l;
1885
1885
  }
1886
- return i[9] && (m = +i[10], p = +(i[11] || 0), d = (m * 60 + p) * 6e4, i[9] === "-" && (d = -d)), _ = new Date(Date.UTC(t, a, r, n, o, s, l)), d && _.setTime(_.getTime() - d), _;
1886
+ return i[9] && (m = +i[10], p = +(i[11] || 0), d = (m * 60 + p) * 6e4, i[9] === "-" && (d = -d)), _ = new Date(Date.UTC(t, o, r, n, a, s, l)), d && _.setTime(_.getTime() - d), _;
1887
1887
  }
1888
- function _o(e) {
1888
+ function _a(e) {
1889
1889
  return e.toISOString();
1890
1890
  }
1891
1891
  var Fi = new de("tag:yaml.org,2002:timestamp", {
1892
1892
  kind: "scalar",
1893
- resolve: bo,
1894
- construct: wo,
1893
+ resolve: ba,
1894
+ construct: wa,
1895
1895
  instanceOf: Date,
1896
- represent: _o
1896
+ represent: _a
1897
1897
  });
1898
- function ko(e) {
1898
+ function ka(e) {
1899
1899
  return e === "<<" || e === null;
1900
1900
  }
1901
1901
  var Vi = new de("tag:yaml.org,2002:merge", {
1902
1902
  kind: "scalar",
1903
- resolve: ko
1903
+ resolve: ka
1904
1904
  }), St = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1905
1905
  \r`;
1906
- function Co(e) {
1906
+ function Ca(e) {
1907
1907
  if (e === null)
1908
1908
  return !1;
1909
- var i, t, a = 0, r = e.length, n = St;
1909
+ var i, t, o = 0, r = e.length, n = St;
1910
1910
  for (t = 0; t < r; t++)
1911
1911
  if (i = n.indexOf(e.charAt(t)), !(i > 64)) {
1912
1912
  if (i < 0)
1913
1913
  return !1;
1914
- a += 6;
1914
+ o += 6;
1915
1915
  }
1916
- return a % 8 === 0;
1916
+ return o % 8 === 0;
1917
1917
  }
1918
- function So(e) {
1919
- var i, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, n = St, o = 0, s = [];
1918
+ function Sa(e) {
1919
+ var i, t, o = e.replace(/[\r\n=]/g, ""), r = o.length, n = St, a = 0, s = [];
1920
1920
  for (i = 0; i < r; i++)
1921
- i % 4 === 0 && i && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | n.indexOf(a.charAt(i));
1922
- return t = r % 4 * 6, t === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : t === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : t === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
1921
+ i % 4 === 0 && i && (s.push(a >> 16 & 255), s.push(a >> 8 & 255), s.push(a & 255)), a = a << 6 | n.indexOf(o.charAt(i));
1922
+ return t = r % 4 * 6, t === 0 ? (s.push(a >> 16 & 255), s.push(a >> 8 & 255), s.push(a & 255)) : t === 18 ? (s.push(a >> 10 & 255), s.push(a >> 2 & 255)) : t === 12 && s.push(a >> 4 & 255), new Uint8Array(s);
1923
1923
  }
1924
- function Io(e) {
1925
- var i = "", t = 0, a, r, n = e.length, o = St;
1926
- for (a = 0; a < n; a++)
1927
- a % 3 === 0 && a && (i += o[t >> 18 & 63], i += o[t >> 12 & 63], i += o[t >> 6 & 63], i += o[t & 63]), t = (t << 8) + e[a];
1928
- return r = n % 3, r === 0 ? (i += o[t >> 18 & 63], i += o[t >> 12 & 63], i += o[t >> 6 & 63], i += o[t & 63]) : r === 2 ? (i += o[t >> 10 & 63], i += o[t >> 4 & 63], i += o[t << 2 & 63], i += o[64]) : r === 1 && (i += o[t >> 2 & 63], i += o[t << 4 & 63], i += o[64], i += o[64]), i;
1924
+ function Ia(e) {
1925
+ var i = "", t = 0, o, r, n = e.length, a = St;
1926
+ for (o = 0; o < n; o++)
1927
+ o % 3 === 0 && o && (i += a[t >> 18 & 63], i += a[t >> 12 & 63], i += a[t >> 6 & 63], i += a[t & 63]), t = (t << 8) + e[o];
1928
+ return r = n % 3, r === 0 ? (i += a[t >> 18 & 63], i += a[t >> 12 & 63], i += a[t >> 6 & 63], i += a[t & 63]) : r === 2 ? (i += a[t >> 10 & 63], i += a[t >> 4 & 63], i += a[t << 2 & 63], i += a[64]) : r === 1 && (i += a[t >> 2 & 63], i += a[t << 4 & 63], i += a[64], i += a[64]), i;
1929
1929
  }
1930
- function Ao(e) {
1930
+ function Aa(e) {
1931
1931
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1932
1932
  }
1933
1933
  var Ni = new de("tag:yaml.org,2002:binary", {
1934
1934
  kind: "scalar",
1935
- resolve: Co,
1936
- construct: So,
1937
- predicate: Ao,
1938
- represent: Io
1939
- }), xo = Object.prototype.hasOwnProperty, To = Object.prototype.toString;
1940
- function jo(e) {
1935
+ resolve: Ca,
1936
+ construct: Sa,
1937
+ predicate: Aa,
1938
+ represent: Ia
1939
+ }), xa = Object.prototype.hasOwnProperty, Ta = Object.prototype.toString;
1940
+ function ja(e) {
1941
1941
  if (e === null)
1942
1942
  return !0;
1943
- var i = [], t, a, r, n, o, s = e;
1944
- for (t = 0, a = s.length; t < a; t += 1) {
1945
- if (r = s[t], o = !1, To.call(r) !== "[object Object]")
1943
+ var i = [], t, o, r, n, a, s = e;
1944
+ for (t = 0, o = s.length; t < o; t += 1) {
1945
+ if (r = s[t], a = !1, Ta.call(r) !== "[object Object]")
1946
1946
  return !1;
1947
1947
  for (n in r)
1948
- if (xo.call(r, n))
1949
- if (!o)
1950
- o = !0;
1948
+ if (xa.call(r, n))
1949
+ if (!a)
1950
+ a = !0;
1951
1951
  else
1952
1952
  return !1;
1953
- if (!o)
1953
+ if (!a)
1954
1954
  return !1;
1955
1955
  if (i.indexOf(n) === -1)
1956
1956
  i.push(n);
@@ -1959,55 +1959,55 @@ function jo(e) {
1959
1959
  }
1960
1960
  return !0;
1961
1961
  }
1962
- function Mo(e) {
1962
+ function Ma(e) {
1963
1963
  return e !== null ? e : [];
1964
1964
  }
1965
1965
  var qi = new de("tag:yaml.org,2002:omap", {
1966
1966
  kind: "sequence",
1967
- resolve: jo,
1968
- construct: Mo
1969
- }), $o = Object.prototype.toString;
1970
- function Oo(e) {
1967
+ resolve: ja,
1968
+ construct: Ma
1969
+ }), Oa = Object.prototype.toString;
1970
+ function $a(e) {
1971
1971
  if (e === null)
1972
1972
  return !0;
1973
- var i, t, a, r, n, o = e;
1974
- for (n = new Array(o.length), i = 0, t = o.length; i < t; i += 1) {
1975
- if (a = o[i], $o.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1973
+ var i, t, o, r, n, a = e;
1974
+ for (n = new Array(a.length), i = 0, t = a.length; i < t; i += 1) {
1975
+ if (o = a[i], Oa.call(o) !== "[object Object]" || (r = Object.keys(o), r.length !== 1))
1976
1976
  return !1;
1977
- n[i] = [r[0], a[r[0]]];
1977
+ n[i] = [r[0], o[r[0]]];
1978
1978
  }
1979
1979
  return !0;
1980
1980
  }
1981
- function Eo(e) {
1981
+ function Ea(e) {
1982
1982
  if (e === null)
1983
1983
  return [];
1984
- var i, t, a, r, n, o = e;
1985
- for (n = new Array(o.length), i = 0, t = o.length; i < t; i += 1)
1986
- a = o[i], r = Object.keys(a), n[i] = [r[0], a[r[0]]];
1984
+ var i, t, o, r, n, a = e;
1985
+ for (n = new Array(a.length), i = 0, t = a.length; i < t; i += 1)
1986
+ o = a[i], r = Object.keys(o), n[i] = [r[0], o[r[0]]];
1987
1987
  return n;
1988
1988
  }
1989
1989
  var Li = new de("tag:yaml.org,2002:pairs", {
1990
1990
  kind: "sequence",
1991
- resolve: Oo,
1992
- construct: Eo
1993
- }), Fo = Object.prototype.hasOwnProperty;
1994
- function Vo(e) {
1991
+ resolve: $a,
1992
+ construct: Ea
1993
+ }), Fa = Object.prototype.hasOwnProperty;
1994
+ function Va(e) {
1995
1995
  if (e === null)
1996
1996
  return !0;
1997
1997
  var i, t = e;
1998
1998
  for (i in t)
1999
- if (Fo.call(t, i) && t[i] !== null)
1999
+ if (Fa.call(t, i) && t[i] !== null)
2000
2000
  return !1;
2001
2001
  return !0;
2002
2002
  }
2003
- function No(e) {
2003
+ function Na(e) {
2004
2004
  return e !== null ? e : {};
2005
2005
  }
2006
2006
  var Ui = new de("tag:yaml.org,2002:set", {
2007
2007
  kind: "mapping",
2008
- resolve: Vo,
2009
- construct: No
2010
- }), It = $i.extend({
2008
+ resolve: Va,
2009
+ construct: Na
2010
+ }), It = Oi.extend({
2011
2011
  implicit: [
2012
2012
  Fi,
2013
2013
  Vi
@@ -2018,7 +2018,7 @@ var Ui = new de("tag:yaml.org,2002:set", {
2018
2018
  Li,
2019
2019
  Ui
2020
2020
  ]
2021
- }), Ae = Object.prototype.hasOwnProperty, Qe = 1, Ki = 2, Bi = 3, Xe = 4, ut = 1, qo = 2, Bt = 3, Lo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Uo = /[\x85\u2028\u2029]/, Ko = /[,\[\]\{\}]/, Pi = /^(?:!|!!|![a-z\-]+!)$/i, Ri = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
2021
+ }), Ae = Object.prototype.hasOwnProperty, Qe = 1, Ki = 2, Bi = 3, Xe = 4, ut = 1, qa = 2, Bt = 3, La = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ua = /[\x85\u2028\u2029]/, Ka = /[,\[\]\{\}]/, Pi = /^(?:!|!!|![a-z\-]+!)$/i, Ri = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
2022
2022
  function Pt(e) {
2023
2023
  return Object.prototype.toString.call(e);
2024
2024
  }
@@ -2034,21 +2034,21 @@ function ge(e) {
2034
2034
  function Ve(e) {
2035
2035
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
2036
2036
  }
2037
- function Bo(e) {
2037
+ function Ba(e) {
2038
2038
  var i;
2039
2039
  return 48 <= e && e <= 57 ? e - 48 : (i = e | 32, 97 <= i && i <= 102 ? i - 97 + 10 : -1);
2040
2040
  }
2041
- function Po(e) {
2041
+ function Pa(e) {
2042
2042
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
2043
2043
  }
2044
- function Ro(e) {
2044
+ function Ra(e) {
2045
2045
  return 48 <= e && e <= 57 ? e - 48 : -1;
2046
2046
  }
2047
2047
  function Rt(e) {
2048
2048
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
2049
2049
  ` : 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" : "";
2050
2050
  }
2051
- function Do(e) {
2051
+ function Da(e) {
2052
2052
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
2053
2053
  (e - 65536 >> 10) + 55296,
2054
2054
  (e - 65536 & 1023) + 56320
@@ -2057,7 +2057,7 @@ function Do(e) {
2057
2057
  var Di = new Array(256), Hi = new Array(256);
2058
2058
  for (var Ee = 0; Ee < 256; Ee++)
2059
2059
  Di[Ee] = Rt(Ee) ? 1 : 0, Hi[Ee] = Rt(Ee);
2060
- function Ho(e, i) {
2060
+ function Ha(e, i) {
2061
2061
  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 = [];
2062
2062
  }
2063
2063
  function zi(e, i) {
@@ -2069,7 +2069,7 @@ function zi(e, i) {
2069
2069
  line: e.line,
2070
2070
  column: e.position - e.lineStart
2071
2071
  };
2072
- return t.snippet = Ja(t), new me(i, t);
2072
+ return t.snippet = Yo(t), new me(i, t);
2073
2073
  }
2074
2074
  function F(e, i) {
2075
2075
  throw zi(e, i);
@@ -2079,49 +2079,49 @@ function et(e, i) {
2079
2079
  }
2080
2080
  var Dt = {
2081
2081
  YAML: function(e, i, t) {
2082
- var a, r, n;
2083
- e.version !== null && F(e, "duplication of %YAML directive"), t.length !== 1 && F(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && F(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), n = parseInt(a[2], 10), r !== 1 && F(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = n < 2, n !== 1 && n !== 2 && et(e, "unsupported YAML version of the document");
2082
+ var o, r, n;
2083
+ e.version !== null && F(e, "duplication of %YAML directive"), t.length !== 1 && F(e, "YAML directive accepts exactly one argument"), o = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), o === null && F(e, "ill-formed argument of the YAML directive"), r = parseInt(o[1], 10), n = parseInt(o[2], 10), r !== 1 && F(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = n < 2, n !== 1 && n !== 2 && et(e, "unsupported YAML version of the document");
2084
2084
  },
2085
2085
  TAG: function(e, i, t) {
2086
- var a, r;
2087
- t.length !== 2 && F(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Pi.test(a) || F(e, "ill-formed tag handle (first argument) of the TAG directive"), Ae.call(e.tagMap, a) && F(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Ri.test(r) || F(e, "ill-formed tag prefix (second argument) of the TAG directive");
2086
+ var o, r;
2087
+ t.length !== 2 && F(e, "TAG directive accepts exactly two arguments"), o = t[0], r = t[1], Pi.test(o) || F(e, "ill-formed tag handle (first argument) of the TAG directive"), Ae.call(e.tagMap, o) && F(e, 'there is a previously declared suffix for "' + o + '" tag handle'), Ri.test(r) || F(e, "ill-formed tag prefix (second argument) of the TAG directive");
2088
2088
  try {
2089
2089
  r = decodeURIComponent(r);
2090
2090
  } catch {
2091
2091
  F(e, "tag prefix is malformed: " + r);
2092
2092
  }
2093
- e.tagMap[a] = r;
2093
+ e.tagMap[o] = r;
2094
2094
  }
2095
2095
  };
2096
- function Se(e, i, t, a) {
2097
- var r, n, o, s;
2096
+ function Se(e, i, t, o) {
2097
+ var r, n, a, s;
2098
2098
  if (i < t) {
2099
- if (s = e.input.slice(i, t), a)
2099
+ if (s = e.input.slice(i, t), o)
2100
2100
  for (r = 0, n = s.length; r < n; r += 1)
2101
- o = s.charCodeAt(r), o === 9 || 32 <= o && o <= 1114111 || F(e, "expected valid JSON character");
2101
+ a = s.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || F(e, "expected valid JSON character");
2102
2102
  else
2103
- Lo.test(s) && F(e, "the stream contains non-printable characters");
2103
+ La.test(s) && F(e, "the stream contains non-printable characters");
2104
2104
  e.result += s;
2105
2105
  }
2106
2106
  }
2107
- function Ht(e, i, t, a) {
2108
- var r, n, o, s;
2109
- for (le.isObject(t) || F(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), o = 0, s = r.length; o < s; o += 1)
2110
- n = r[o], Ae.call(i, n) || (i[n] = t[n], a[n] = !0);
2107
+ function Ht(e, i, t, o) {
2108
+ var r, n, a, s;
2109
+ for (le.isObject(t) || F(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), a = 0, s = r.length; a < s; a += 1)
2110
+ n = r[a], Ae.call(i, n) || (i[n] = t[n], o[n] = !0);
2111
2111
  }
2112
- function Ne(e, i, t, a, r, n, o, s, l) {
2112
+ function Ne(e, i, t, o, r, n, a, s, l) {
2113
2113
  var d, m;
2114
2114
  if (Array.isArray(r))
2115
2115
  for (r = Array.prototype.slice.call(r), d = 0, m = r.length; d < m; d += 1)
2116
2116
  Array.isArray(r[d]) && F(e, "nested arrays are not supported inside keys"), typeof r == "object" && Pt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2117
- if (typeof r == "object" && Pt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), i === null && (i = {}), a === "tag:yaml.org,2002:merge")
2117
+ if (typeof r == "object" && Pt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), i === null && (i = {}), o === "tag:yaml.org,2002:merge")
2118
2118
  if (Array.isArray(n))
2119
2119
  for (d = 0, m = n.length; d < m; d += 1)
2120
2120
  Ht(e, i, n[d], t);
2121
2121
  else
2122
2122
  Ht(e, i, n, t);
2123
2123
  else
2124
- !e.json && !Ae.call(t, r) && Ae.call(i, r) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, F(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2124
+ !e.json && !Ae.call(t, r) && Ae.call(i, r) && (e.line = a || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, F(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2125
2125
  configurable: !0,
2126
2126
  enumerable: !0,
2127
2127
  writable: !0,
@@ -2134,7 +2134,7 @@ function At(e) {
2134
2134
  i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : F(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
2135
2135
  }
2136
2136
  function ne(e, i, t) {
2137
- for (var a = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
2137
+ for (var o = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
2138
2138
  for (; Me(r); )
2139
2139
  r === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), r = e.input.charCodeAt(++e.position);
2140
2140
  if (i && r === 35)
@@ -2142,14 +2142,14 @@ function ne(e, i, t) {
2142
2142
  r = e.input.charCodeAt(++e.position);
2143
2143
  while (r !== 10 && r !== 13 && r !== 0);
2144
2144
  if (be(r))
2145
- for (At(e), r = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; r === 32; )
2145
+ for (At(e), r = e.input.charCodeAt(e.position), o++, e.lineIndent = 0; r === 32; )
2146
2146
  e.lineIndent++, r = e.input.charCodeAt(++e.position);
2147
2147
  else
2148
2148
  break;
2149
2149
  }
2150
- return t !== -1 && a !== 0 && e.lineIndent < t && et(e, "deficient indentation"), a;
2150
+ return t !== -1 && o !== 0 && e.lineIndent < t && et(e, "deficient indentation"), o;
2151
2151
  }
2152
- function at(e) {
2152
+ function ot(e) {
2153
2153
  var i = e.position, t;
2154
2154
  return t = e.input.charCodeAt(i), !!((t === 45 || t === 46) && t === e.input.charCodeAt(i + 1) && t === e.input.charCodeAt(i + 2) && (i += 3, t = e.input.charCodeAt(i), t === 0 || ge(t)));
2155
2155
  }
@@ -2157,52 +2157,52 @@ function xt(e, i) {
2157
2157
  i === 1 ? e.result += " " : i > 1 && (e.result += le.repeat(`
2158
2158
  `, i - 1));
2159
2159
  }
2160
- function zo(e, i, t) {
2161
- var a, r, n, o, s, l, d, m, p = e.kind, _ = e.result, h;
2160
+ function za(e, i, t) {
2161
+ var o, r, n, a, s, l, d, m, p = e.kind, _ = e.result, h;
2162
2162
  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) && (r = e.input.charCodeAt(e.position + 1), ge(r) || t && Ve(r)))
2163
2163
  return !1;
2164
- for (e.kind = "scalar", e.result = "", n = o = e.position, s = !1; h !== 0; ) {
2164
+ for (e.kind = "scalar", e.result = "", n = a = e.position, s = !1; h !== 0; ) {
2165
2165
  if (h === 58) {
2166
2166
  if (r = e.input.charCodeAt(e.position + 1), ge(r) || t && Ve(r))
2167
2167
  break;
2168
2168
  } else if (h === 35) {
2169
- if (a = e.input.charCodeAt(e.position - 1), ge(a))
2169
+ if (o = e.input.charCodeAt(e.position - 1), ge(o))
2170
2170
  break;
2171
2171
  } else {
2172
- if (e.position === e.lineStart && at(e) || t && Ve(h))
2172
+ if (e.position === e.lineStart && ot(e) || t && Ve(h))
2173
2173
  break;
2174
2174
  if (be(h))
2175
2175
  if (l = e.line, d = e.lineStart, m = e.lineIndent, ne(e, !1, -1), e.lineIndent >= i) {
2176
2176
  s = !0, h = e.input.charCodeAt(e.position);
2177
2177
  continue;
2178
2178
  } else {
2179
- e.position = o, e.line = l, e.lineStart = d, e.lineIndent = m;
2179
+ e.position = a, e.line = l, e.lineStart = d, e.lineIndent = m;
2180
2180
  break;
2181
2181
  }
2182
2182
  }
2183
- s && (Se(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);
2183
+ s && (Se(e, n, a, !1), xt(e, e.line - l), n = a = e.position, s = !1), Me(h) || (a = e.position + 1), h = e.input.charCodeAt(++e.position);
2184
2184
  }
2185
- return Se(e, n, o, !1), e.result ? !0 : (e.kind = p, e.result = _, !1);
2185
+ return Se(e, n, a, !1), e.result ? !0 : (e.kind = p, e.result = _, !1);
2186
2186
  }
2187
- function Go(e, i) {
2188
- var t, a, r;
2187
+ function Ga(e, i) {
2188
+ var t, o, r;
2189
2189
  if (t = e.input.charCodeAt(e.position), t !== 39)
2190
2190
  return !1;
2191
- for (e.kind = "scalar", e.result = "", e.position++, a = r = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
2191
+ for (e.kind = "scalar", e.result = "", e.position++, o = r = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
2192
2192
  if (t === 39)
2193
- if (Se(e, a, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
2194
- a = e.position, e.position++, r = e.position;
2193
+ if (Se(e, o, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
2194
+ o = e.position, e.position++, r = e.position;
2195
2195
  else
2196
2196
  return !0;
2197
2197
  else
2198
- be(t) ? (Se(e, a, r, !0), xt(e, ne(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? F(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2198
+ be(t) ? (Se(e, o, r, !0), xt(e, ne(e, !1, i)), o = r = e.position) : e.position === e.lineStart && ot(e) ? F(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2199
2199
  F(e, "unexpected end of the stream within a single quoted scalar");
2200
2200
  }
2201
- function Jo(e, i) {
2202
- var t, a, r, n, o, s;
2201
+ function Ja(e, i) {
2202
+ var t, o, r, n, a, s;
2203
2203
  if (s = e.input.charCodeAt(e.position), s !== 34)
2204
2204
  return !1;
2205
- for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
2205
+ for (e.kind = "scalar", e.result = "", e.position++, t = o = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
2206
2206
  if (s === 34)
2207
2207
  return Se(e, t, e.position, !0), e.position++, !0;
2208
2208
  if (s === 92) {
@@ -2210,20 +2210,20 @@ function Jo(e, i) {
2210
2210
  ne(e, !1, i);
2211
2211
  else if (s < 256 && Di[s])
2212
2212
  e.result += Hi[s], e.position++;
2213
- else if ((o = Po(s)) > 0) {
2214
- for (r = o, n = 0; r > 0; r--)
2215
- s = e.input.charCodeAt(++e.position), (o = Bo(s)) >= 0 ? n = (n << 4) + o : F(e, "expected hexadecimal character");
2216
- e.result += Do(n), e.position++;
2213
+ else if ((a = Pa(s)) > 0) {
2214
+ for (r = a, n = 0; r > 0; r--)
2215
+ s = e.input.charCodeAt(++e.position), (a = Ba(s)) >= 0 ? n = (n << 4) + a : F(e, "expected hexadecimal character");
2216
+ e.result += Da(n), e.position++;
2217
2217
  } else
2218
2218
  F(e, "unknown escape sequence");
2219
- t = a = e.position;
2219
+ t = o = e.position;
2220
2220
  } else
2221
- be(s) ? (Se(e, t, a, !0), xt(e, ne(e, !1, i)), t = a = e.position) : e.position === e.lineStart && at(e) ? F(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2221
+ be(s) ? (Se(e, t, o, !0), xt(e, ne(e, !1, i)), t = o = e.position) : e.position === e.lineStart && ot(e) ? F(e, "unexpected end of the document within a double quoted scalar") : (e.position++, o = e.position);
2222
2222
  }
2223
2223
  F(e, "unexpected end of the stream within a double quoted scalar");
2224
2224
  }
2225
- function Yo(e, i) {
2226
- var t = !0, a, r, n, o = e.tag, s, l = e.anchor, d, m, p, _, h, x = /* @__PURE__ */ Object.create(null), b, $, S, T;
2225
+ function Ya(e, i) {
2226
+ var t = !0, o, r, n, a = e.tag, s, l = e.anchor, d, m, p, _, h, x = /* @__PURE__ */ Object.create(null), b, O, S, T;
2227
2227
  if (T = e.input.charCodeAt(e.position), T === 91)
2228
2228
  m = 93, h = !1, s = [];
2229
2229
  else if (T === 123)
@@ -2232,24 +2232,24 @@ function Yo(e, i) {
2232
2232
  return !1;
2233
2233
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), T = e.input.charCodeAt(++e.position); T !== 0; ) {
2234
2234
  if (ne(e, !0, i), T = e.input.charCodeAt(e.position), T === m)
2235
- return e.position++, e.tag = o, e.anchor = l, e.kind = h ? "mapping" : "sequence", e.result = s, !0;
2236
- t ? T === 44 && F(e, "expected the node content, but found ','") : F(e, "missed comma between flow collection entries"), $ = b = S = null, p = _ = !1, T === 63 && (d = e.input.charCodeAt(e.position + 1), ge(d) && (p = _ = !0, e.position++, ne(e, !0, i))), a = e.line, r = e.lineStart, n = e.position, Le(e, i, Qe, !1, !0), $ = e.tag, b = e.result, ne(e, !0, i), T = e.input.charCodeAt(e.position), (_ || e.line === a) && T === 58 && (p = !0, T = e.input.charCodeAt(++e.position), ne(e, !0, i), Le(e, i, Qe, !1, !0), S = e.result), h ? Ne(e, s, x, $, b, S, a, r, n) : p ? s.push(Ne(e, null, x, $, b, S, a, r, n)) : s.push(b), ne(e, !0, i), T = e.input.charCodeAt(e.position), T === 44 ? (t = !0, T = e.input.charCodeAt(++e.position)) : t = !1;
2235
+ return e.position++, e.tag = a, e.anchor = l, e.kind = h ? "mapping" : "sequence", e.result = s, !0;
2236
+ t ? T === 44 && F(e, "expected the node content, but found ','") : F(e, "missed comma between flow collection entries"), O = b = S = null, p = _ = !1, T === 63 && (d = e.input.charCodeAt(e.position + 1), ge(d) && (p = _ = !0, e.position++, ne(e, !0, i))), o = e.line, r = e.lineStart, n = e.position, Le(e, i, Qe, !1, !0), O = e.tag, b = e.result, ne(e, !0, i), T = e.input.charCodeAt(e.position), (_ || e.line === o) && T === 58 && (p = !0, T = e.input.charCodeAt(++e.position), ne(e, !0, i), Le(e, i, Qe, !1, !0), S = e.result), h ? Ne(e, s, x, O, b, S, o, r, n) : p ? s.push(Ne(e, null, x, O, b, S, o, r, n)) : s.push(b), ne(e, !0, i), T = e.input.charCodeAt(e.position), T === 44 ? (t = !0, T = e.input.charCodeAt(++e.position)) : t = !1;
2237
2237
  }
2238
2238
  F(e, "unexpected end of the stream within a flow collection");
2239
2239
  }
2240
- function Wo(e, i) {
2241
- var t, a, r = ut, n = !1, o = !1, s = i, l = 0, d = !1, m, p;
2240
+ function Wa(e, i) {
2241
+ var t, o, r = ut, n = !1, a = !1, s = i, l = 0, d = !1, m, p;
2242
2242
  if (p = e.input.charCodeAt(e.position), p === 124)
2243
- a = !1;
2243
+ o = !1;
2244
2244
  else if (p === 62)
2245
- a = !0;
2245
+ o = !0;
2246
2246
  else
2247
2247
  return !1;
2248
2248
  for (e.kind = "scalar", e.result = ""; p !== 0; )
2249
2249
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2250
- ut === r ? r = p === 43 ? Bt : qo : F(e, "repeat of a chomping mode identifier");
2251
- else if ((m = Ro(p)) >= 0)
2252
- m === 0 ? F(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? F(e, "repeat of an indentation width identifier") : (s = i + m - 1, o = !0);
2250
+ ut === r ? r = p === 43 ? Bt : qa : F(e, "repeat of a chomping mode identifier");
2251
+ else if ((m = Ra(p)) >= 0)
2252
+ m === 0 ? F(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? F(e, "repeat of an indentation width identifier") : (s = i + m - 1, a = !0);
2253
2253
  else
2254
2254
  break;
2255
2255
  if (Me(p)) {
@@ -2262,9 +2262,9 @@ function Wo(e, i) {
2262
2262
  while (!be(p) && p !== 0);
2263
2263
  }
2264
2264
  for (; p !== 0; ) {
2265
- for (At(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && p === 32; )
2265
+ for (At(e), e.lineIndent = 0, p = e.input.charCodeAt(e.position); (!a || e.lineIndent < s) && p === 32; )
2266
2266
  e.lineIndent++, p = e.input.charCodeAt(++e.position);
2267
- if (!o && e.lineIndent > s && (s = e.lineIndent), be(p)) {
2267
+ if (!a && e.lineIndent > s && (s = e.lineIndent), be(p)) {
2268
2268
  l++;
2269
2269
  continue;
2270
2270
  }
@@ -2274,21 +2274,21 @@ function Wo(e, i) {
2274
2274
  `);
2275
2275
  break;
2276
2276
  }
2277
- for (a ? Me(p) ? (d = !0, e.result += le.repeat(`
2277
+ for (o ? Me(p) ? (d = !0, e.result += le.repeat(`
2278
2278
  `, n ? 1 + l : l)) : d ? (d = !1, e.result += le.repeat(`
2279
2279
  `, l + 1)) : l === 0 ? n && (e.result += " ") : e.result += le.repeat(`
2280
2280
  `, l) : e.result += le.repeat(`
2281
- `, n ? 1 + l : l), n = !0, o = !0, l = 0, t = e.position; !be(p) && p !== 0; )
2281
+ `, n ? 1 + l : l), n = !0, a = !0, l = 0, t = e.position; !be(p) && p !== 0; )
2282
2282
  p = e.input.charCodeAt(++e.position);
2283
2283
  Se(e, t, e.position, !1);
2284
2284
  }
2285
2285
  return !0;
2286
2286
  }
2287
2287
  function zt(e, i) {
2288
- var t, a = e.tag, r = e.anchor, n = [], o, s = !1, l;
2288
+ var t, o = e.tag, r = e.anchor, n = [], a, s = !1, l;
2289
2289
  if (e.firstTabInLine !== -1)
2290
2290
  return !1;
2291
- for (e.anchor !== null && (e.anchorMap[e.anchor] = n), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ge(o)))); ) {
2291
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = n), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), !(l !== 45 || (a = e.input.charCodeAt(e.position + 1), !ge(a)))); ) {
2292
2292
  if (s = !0, e.position++, ne(e, !0, -1) && e.lineIndent <= i) {
2293
2293
  n.push(null), l = e.input.charCodeAt(e.position);
2294
2294
  continue;
@@ -2298,23 +2298,23 @@ function zt(e, i) {
2298
2298
  else if (e.lineIndent < i)
2299
2299
  break;
2300
2300
  }
2301
- return s ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = n, !0) : !1;
2301
+ return s ? (e.tag = o, e.anchor = r, e.kind = "sequence", e.result = n, !0) : !1;
2302
2302
  }
2303
- function Zo(e, i, t) {
2304
- var a, r, n, o, s, l, d = e.tag, m = e.anchor, p = {}, _ = /* @__PURE__ */ Object.create(null), h = null, x = null, b = null, $ = !1, S = !1, T;
2303
+ function Za(e, i, t) {
2304
+ var o, r, n, a, s, l, d = e.tag, m = e.anchor, p = {}, _ = /* @__PURE__ */ Object.create(null), h = null, x = null, b = null, O = !1, S = !1, T;
2305
2305
  if (e.firstTabInLine !== -1)
2306
2306
  return !1;
2307
2307
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), T = e.input.charCodeAt(e.position); T !== 0; ) {
2308
- if (!$ && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), n = e.line, (T === 63 || T === 58) && ge(a))
2309
- T === 63 ? ($ && (Ne(e, p, _, h, x, null, o, s, l), h = x = b = null), S = !0, $ = !0, r = !0) : $ ? ($ = !1, r = !0) : F(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, T = a;
2308
+ if (!O && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), o = e.input.charCodeAt(e.position + 1), n = e.line, (T === 63 || T === 58) && ge(o))
2309
+ T === 63 ? (O && (Ne(e, p, _, h, x, null, a, s, l), h = x = b = null), S = !0, O = !0, r = !0) : O ? (O = !1, r = !0) : F(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, T = o;
2310
2310
  else {
2311
- if (o = e.line, s = e.lineStart, l = e.position, !Le(e, t, Ki, !1, !0))
2311
+ if (a = e.line, s = e.lineStart, l = e.position, !Le(e, t, Ki, !1, !0))
2312
2312
  break;
2313
2313
  if (e.line === n) {
2314
2314
  for (T = e.input.charCodeAt(e.position); Me(T); )
2315
2315
  T = e.input.charCodeAt(++e.position);
2316
2316
  if (T === 58)
2317
- T = e.input.charCodeAt(++e.position), ge(T) || F(e, "a whitespace character is expected after the key-value separator within a block mapping"), $ && (Ne(e, p, _, h, x, null, o, s, l), h = x = b = null), S = !0, $ = !1, r = !1, h = e.tag, x = e.result;
2317
+ T = e.input.charCodeAt(++e.position), ge(T) || F(e, "a whitespace character is expected after the key-value separator within a block mapping"), O && (Ne(e, p, _, h, x, null, a, s, l), h = x = b = null), S = !0, O = !1, r = !1, h = e.tag, x = e.result;
2318
2318
  else if (S)
2319
2319
  F(e, "can not read an implicit mapping pair; a colon is missed");
2320
2320
  else
@@ -2324,26 +2324,26 @@ function Zo(e, i, t) {
2324
2324
  else
2325
2325
  return e.tag = d, e.anchor = m, !0;
2326
2326
  }
2327
- if ((e.line === n || e.lineIndent > i) && ($ && (o = e.line, s = e.lineStart, l = e.position), Le(e, i, Xe, !0, r) && ($ ? x = e.result : b = e.result), $ || (Ne(e, p, _, h, x, b, o, s, l), h = x = b = null), ne(e, !0, -1), T = e.input.charCodeAt(e.position)), (e.line === n || e.lineIndent > i) && T !== 0)
2327
+ if ((e.line === n || e.lineIndent > i) && (O && (a = e.line, s = e.lineStart, l = e.position), Le(e, i, Xe, !0, r) && (O ? x = e.result : b = e.result), O || (Ne(e, p, _, h, x, b, a, s, l), h = x = b = null), ne(e, !0, -1), T = e.input.charCodeAt(e.position)), (e.line === n || e.lineIndent > i) && T !== 0)
2328
2328
  F(e, "bad indentation of a mapping entry");
2329
2329
  else if (e.lineIndent < i)
2330
2330
  break;
2331
2331
  }
2332
- return $ && Ne(e, p, _, h, x, null, o, s, l), S && (e.tag = d, e.anchor = m, e.kind = "mapping", e.result = p), S;
2332
+ return O && Ne(e, p, _, h, x, null, a, s, l), S && (e.tag = d, e.anchor = m, e.kind = "mapping", e.result = p), S;
2333
2333
  }
2334
- function Qo(e) {
2335
- var i, t = !1, a = !1, r, n, o;
2336
- if (o = e.input.charCodeAt(e.position), o !== 33)
2334
+ function Qa(e) {
2335
+ var i, t = !1, o = !1, r, n, a;
2336
+ if (a = e.input.charCodeAt(e.position), a !== 33)
2337
2337
  return !1;
2338
- if (e.tag !== null && F(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (t = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (a = !0, r = "!!", o = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2338
+ if (e.tag !== null && F(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (t = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (o = !0, r = "!!", a = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2339
2339
  do
2340
- o = e.input.charCodeAt(++e.position);
2341
- while (o !== 0 && o !== 62);
2342
- e.position < e.length ? (n = e.input.slice(i, e.position), o = e.input.charCodeAt(++e.position)) : F(e, "unexpected end of the stream within a verbatim tag");
2340
+ a = e.input.charCodeAt(++e.position);
2341
+ while (a !== 0 && a !== 62);
2342
+ e.position < e.length ? (n = e.input.slice(i, e.position), a = e.input.charCodeAt(++e.position)) : F(e, "unexpected end of the stream within a verbatim tag");
2343
2343
  } else {
2344
- for (; o !== 0 && !ge(o); )
2345
- o === 33 && (a ? F(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Pi.test(r) || F(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), o = e.input.charCodeAt(++e.position);
2346
- n = e.input.slice(i, e.position), Ko.test(n) && F(e, "tag suffix cannot contain flow indicator characters");
2344
+ for (; a !== 0 && !ge(a); )
2345
+ a === 33 && (o ? F(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Pi.test(r) || F(e, "named tag handle cannot contain such characters"), o = !0, i = e.position + 1)), a = e.input.charCodeAt(++e.position);
2346
+ n = e.input.slice(i, e.position), Ka.test(n) && F(e, "tag suffix cannot contain flow indicator characters");
2347
2347
  }
2348
2348
  n && !Ri.test(n) && F(e, "tag name cannot contain such characters: " + n);
2349
2349
  try {
@@ -2353,7 +2353,7 @@ function Qo(e) {
2353
2353
  }
2354
2354
  return t ? e.tag = n : Ae.call(e.tagMap, r) ? e.tag = e.tagMap[r] + n : r === "!" ? e.tag = "!" + n : r === "!!" ? e.tag = "tag:yaml.org,2002:" + n : F(e, 'undeclared tag handle "' + r + '"'), !0;
2355
2355
  }
2356
- function Xo(e) {
2356
+ function Xa(e) {
2357
2357
  var i, t;
2358
2358
  if (t = e.input.charCodeAt(e.position), t !== 38)
2359
2359
  return !1;
@@ -2362,19 +2362,19 @@ function Xo(e) {
2362
2362
  return e.position === i && F(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2363
2363
  }
2364
2364
  function en(e) {
2365
- var i, t, a;
2366
- if (a = e.input.charCodeAt(e.position), a !== 42)
2365
+ var i, t, o;
2366
+ if (o = e.input.charCodeAt(e.position), o !== 42)
2367
2367
  return !1;
2368
- for (a = e.input.charCodeAt(++e.position), i = e.position; a !== 0 && !ge(a) && !Ve(a); )
2369
- a = e.input.charCodeAt(++e.position);
2368
+ for (o = e.input.charCodeAt(++e.position), i = e.position; o !== 0 && !ge(o) && !Ve(o); )
2369
+ o = e.input.charCodeAt(++e.position);
2370
2370
  return e.position === i && F(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ae.call(e.anchorMap, t) || F(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ne(e, !0, -1), !0;
2371
2371
  }
2372
- function Le(e, i, t, a, r) {
2373
- var n, o, s, l = 1, d = !1, m = !1, p, _, h, x, b, $;
2374
- 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 || Bi === t, a && ne(e, !0, -1) && (d = !0, e.lineIndent > i ? l = 1 : e.lineIndent === i ? l = 0 : e.lineIndent < i && (l = -1)), l === 1)
2375
- for (; Qo(e) || Xo(e); )
2372
+ function Le(e, i, t, o, r) {
2373
+ var n, a, s, l = 1, d = !1, m = !1, p, _, h, x, b, O;
2374
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = a = s = Xe === t || Bi === t, o && ne(e, !0, -1) && (d = !0, e.lineIndent > i ? l = 1 : e.lineIndent === i ? l = 0 : e.lineIndent < i && (l = -1)), l === 1)
2375
+ for (; Qa(e) || Xa(e); )
2376
2376
  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;
2377
- if (s && (s = d || r), (l === 1 || Xe === t) && (Qe === t || Ki === t ? b = i : b = i + 1, $ = e.position - e.lineStart, l === 1 ? s && (zt(e, $) || Zo(e, $, b)) || Yo(e, b) ? m = !0 : (o && Wo(e, b) || Go(e, b) || Jo(e, b) ? m = !0 : en(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && F(e, "alias node should not have any properties")) : zo(e, b, Qe === t) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = s && zt(e, $))), e.tag === null)
2377
+ if (s && (s = d || r), (l === 1 || Xe === t) && (Qe === t || Ki === t ? b = i : b = i + 1, O = e.position - e.lineStart, l === 1 ? s && (zt(e, O) || Za(e, O, b)) || Ya(e, b) ? m = !0 : (a && Wa(e, b) || Ga(e, b) || Ja(e, b) ? m = !0 : en(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && F(e, "alias node should not have any properties")) : za(e, b, Qe === t) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = s && zt(e, O))), e.tag === null)
2378
2378
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2379
2379
  else if (e.tag === "?") {
2380
2380
  for (e.result !== null && e.kind !== "scalar" && F(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, _ = e.implicitTypes.length; p < _; p += 1)
@@ -2396,28 +2396,28 @@ function Le(e, i, t, a, r) {
2396
2396
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || m;
2397
2397
  }
2398
2398
  function tn(e) {
2399
- var i = e.position, t, a, r, n = !1, o;
2400
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ne(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2401
- for (n = !0, o = e.input.charCodeAt(++e.position), t = e.position; o !== 0 && !ge(o); )
2402
- o = e.input.charCodeAt(++e.position);
2403
- for (a = e.input.slice(t, e.position), r = [], a.length < 1 && F(e, "directive name must not be less than one character in length"); o !== 0; ) {
2404
- for (; Me(o); )
2405
- o = e.input.charCodeAt(++e.position);
2406
- if (o === 35) {
2399
+ var i = e.position, t, o, r, n = !1, a;
2400
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (ne(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
2401
+ for (n = !0, a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !ge(a); )
2402
+ a = e.input.charCodeAt(++e.position);
2403
+ for (o = e.input.slice(t, e.position), r = [], o.length < 1 && F(e, "directive name must not be less than one character in length"); a !== 0; ) {
2404
+ for (; Me(a); )
2405
+ a = e.input.charCodeAt(++e.position);
2406
+ if (a === 35) {
2407
2407
  do
2408
- o = e.input.charCodeAt(++e.position);
2409
- while (o !== 0 && !be(o));
2408
+ a = e.input.charCodeAt(++e.position);
2409
+ while (a !== 0 && !be(a));
2410
2410
  break;
2411
2411
  }
2412
- if (be(o))
2412
+ if (be(a))
2413
2413
  break;
2414
- for (t = e.position; o !== 0 && !ge(o); )
2415
- o = e.input.charCodeAt(++e.position);
2414
+ for (t = e.position; a !== 0 && !ge(a); )
2415
+ a = e.input.charCodeAt(++e.position);
2416
2416
  r.push(e.input.slice(t, e.position));
2417
2417
  }
2418
- o !== 0 && At(e), Ae.call(Dt, a) ? Dt[a](e, a, r) : et(e, 'unknown document directive "' + a + '"');
2418
+ a !== 0 && At(e), Ae.call(Dt, o) ? Dt[o](e, o, r) : et(e, 'unknown document directive "' + o + '"');
2419
2419
  }
2420
- 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 && F(e, "directives end mark is expected"), Le(e, e.lineIndent - 1, Xe, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Uo.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 && at(e)) {
2420
+ 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 && F(e, "directives end mark is expected"), Le(e, e.lineIndent - 1, Xe, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Ua.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 && ot(e)) {
2421
2421
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
2422
2422
  return;
2423
2423
  }
@@ -2429,8 +2429,8 @@ function tn(e) {
2429
2429
  function Gi(e, i) {
2430
2430
  e = String(e), i = i || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2431
2431
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2432
- var t = new Ho(e, i), a = e.indexOf("\0");
2433
- for (a !== -1 && (t.position = a, F(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2432
+ var t = new Ha(e, i), o = e.indexOf("\0");
2433
+ for (o !== -1 && (t.position = o, F(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2434
2434
  t.lineIndent += 1, t.position += 1;
2435
2435
  for (; t.position < t.length - 1; )
2436
2436
  tn(t);
@@ -2438,13 +2438,13 @@ function Gi(e, i) {
2438
2438
  }
2439
2439
  function rn(e, i, t) {
2440
2440
  i !== null && typeof i == "object" && typeof t > "u" && (t = i, i = null);
2441
- var a = Gi(e, t);
2441
+ var o = Gi(e, t);
2442
2442
  if (typeof i != "function")
2443
- return a;
2444
- for (var r = 0, n = a.length; r < n; r += 1)
2445
- i(a[r]);
2443
+ return o;
2444
+ for (var r = 0, n = o.length; r < n; r += 1)
2445
+ i(o[r]);
2446
2446
  }
2447
- function an(e, i) {
2447
+ function on(e, i) {
2448
2448
  var t = Gi(e, i);
2449
2449
  if (t.length !== 0) {
2450
2450
  if (t.length === 1)
@@ -2452,8 +2452,8 @@ function an(e, i) {
2452
2452
  throw new me("expected a single document in the stream, but found more");
2453
2453
  }
2454
2454
  }
2455
- var on = rn, nn = an, Ji = {
2456
- loadAll: on,
2455
+ var an = rn, nn = on, Ji = {
2456
+ loadAll: an,
2457
2457
  load: nn
2458
2458
  }, Yi = Object.prototype.toString, Wi = Object.prototype.hasOwnProperty, Tt = 65279, ln = 9, Ge = 10, sn = 13, cn = 32, un = 33, dn = 34, mt = 35, pn = 37, fn = 38, mn = 39, gn = 42, Zi = 44, yn = 45, tt = 58, vn = 61, hn = 62, bn = 63, wn = 64, Qi = 91, Xi = 93, _n = 96, er = 123, kn = 124, tr = 125, fe = {};
2459
2459
  fe[0] = "\\0";
@@ -2490,34 +2490,34 @@ var Cn = [
2490
2490
  "OFF"
2491
2491
  ], Sn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2492
2492
  function In(e, i) {
2493
- var t, a, r, n, o, s, l;
2493
+ var t, o, r, n, a, s, l;
2494
2494
  if (i === null)
2495
2495
  return {};
2496
- for (t = {}, a = Object.keys(i), r = 0, n = a.length; r < n; r += 1)
2497
- o = a[r], s = String(i[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), l = e.compiledTypeMap.fallback[o], l && Wi.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[o] = s;
2496
+ for (t = {}, o = Object.keys(i), r = 0, n = o.length; r < n; r += 1)
2497
+ a = o[r], s = String(i[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), l = e.compiledTypeMap.fallback[a], l && Wi.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[a] = s;
2498
2498
  return t;
2499
2499
  }
2500
2500
  function An(e) {
2501
- var i, t, a;
2501
+ var i, t, o;
2502
2502
  if (i = e.toString(16).toUpperCase(), e <= 255)
2503
- t = "x", a = 2;
2503
+ t = "x", o = 2;
2504
2504
  else if (e <= 65535)
2505
- t = "u", a = 4;
2505
+ t = "u", o = 4;
2506
2506
  else if (e <= 4294967295)
2507
- t = "U", a = 8;
2507
+ t = "U", o = 8;
2508
2508
  else
2509
2509
  throw new me("code point within a string may not be greater than 0xFFFFFFFF");
2510
- return "\\" + t + le.repeat("0", a - i.length) + i;
2510
+ return "\\" + t + le.repeat("0", o - i.length) + i;
2511
2511
  }
2512
2512
  var xn = 1, Je = 2;
2513
2513
  function Tn(e) {
2514
2514
  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 = In(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 : xn, 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;
2515
2515
  }
2516
2516
  function Gt(e, i) {
2517
- for (var t = le.repeat(" ", i), a = 0, r = -1, n = "", o, s = e.length; a < s; )
2517
+ for (var t = le.repeat(" ", i), o = 0, r = -1, n = "", a, s = e.length; o < s; )
2518
2518
  r = e.indexOf(`
2519
- `, a), r === -1 ? (o = e.slice(a), a = s) : (o = e.slice(a, r + 1), a = r + 1), o.length && o !== `
2520
- ` && (n += t), n += o;
2519
+ `, o), r === -1 ? (a = e.slice(o), o = s) : (a = e.slice(o, r + 1), o = r + 1), a.length && a !== `
2520
+ ` && (n += t), n += a;
2521
2521
  return n;
2522
2522
  }
2523
2523
  function gt(e, i) {
@@ -2525,8 +2525,8 @@ function gt(e, i) {
2525
2525
  ` + le.repeat(" ", e.indent * i);
2526
2526
  }
2527
2527
  function jn(e, i) {
2528
- var t, a, r;
2529
- for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2528
+ var t, o, r;
2529
+ for (t = 0, o = e.implicitTypes.length; t < o; t += 1)
2530
2530
  if (r = e.implicitTypes[t], r.resolve(i))
2531
2531
  return !0;
2532
2532
  return !1;
@@ -2541,33 +2541,33 @@ function Jt(e) {
2541
2541
  return Ye(e) && e !== Tt && e !== sn && e !== Ge;
2542
2542
  }
2543
2543
  function Yt(e, i, t) {
2544
- var a = Jt(e), r = a && !it(e);
2544
+ var o = Jt(e), r = o && !it(e);
2545
2545
  return (
2546
2546
  // ns-plain-safe
2547
2547
  (t ? (
2548
2548
  // c = flow-in
2549
- a
2550
- ) : a && e !== Zi && e !== Qi && e !== Xi && e !== er && e !== tr) && e !== mt && !(i === tt && !r) || Jt(i) && !it(i) && e === mt || i === tt && r
2549
+ o
2550
+ ) : o && e !== Zi && e !== Qi && e !== Xi && e !== er && e !== tr) && e !== mt && !(i === tt && !r) || Jt(i) && !it(i) && e === mt || i === tt && r
2551
2551
  );
2552
2552
  }
2553
2553
  function Mn(e) {
2554
2554
  return Ye(e) && e !== Tt && !it(e) && e !== yn && e !== bn && e !== tt && e !== Zi && e !== Qi && e !== Xi && e !== er && e !== tr && e !== mt && e !== fn && e !== gn && e !== un && e !== kn && e !== vn && e !== hn && e !== mn && e !== dn && e !== pn && e !== wn && e !== _n;
2555
2555
  }
2556
- function $n(e) {
2556
+ function On(e) {
2557
2557
  return !it(e) && e !== tt;
2558
2558
  }
2559
2559
  function Pe(e, i) {
2560
- var t = e.charCodeAt(i), a;
2561
- return t >= 55296 && t <= 56319 && i + 1 < e.length && (a = e.charCodeAt(i + 1), a >= 56320 && a <= 57343) ? (t - 55296) * 1024 + a - 56320 + 65536 : t;
2560
+ var t = e.charCodeAt(i), o;
2561
+ return t >= 55296 && t <= 56319 && i + 1 < e.length && (o = e.charCodeAt(i + 1), o >= 56320 && o <= 57343) ? (t - 55296) * 1024 + o - 56320 + 65536 : t;
2562
2562
  }
2563
2563
  function ir(e) {
2564
2564
  var i = /^\n* /;
2565
2565
  return i.test(e);
2566
2566
  }
2567
- var rr = 1, yt = 2, ar = 3, or = 4, Fe = 5;
2568
- function On(e, i, t, a, r, n, o, s) {
2569
- var l, d = 0, m = null, p = !1, _ = !1, h = a !== -1, x = -1, b = Mn(Pe(e, 0)) && $n(Pe(e, e.length - 1));
2570
- if (i || o)
2567
+ var rr = 1, yt = 2, or = 3, ar = 4, Fe = 5;
2568
+ function $n(e, i, t, o, r, n, a, s) {
2569
+ var l, d = 0, m = null, p = !1, _ = !1, h = o !== -1, x = -1, b = Mn(Pe(e, 0)) && On(Pe(e, e.length - 1));
2570
+ if (i || a)
2571
2571
  for (l = 0; l < e.length; d >= 65536 ? l += 2 : l++) {
2572
2572
  if (d = Pe(e, l), !Ye(d))
2573
2573
  return Fe;
@@ -2577,43 +2577,43 @@ function On(e, i, t, a, r, n, o, s) {
2577
2577
  for (l = 0; l < e.length; d >= 65536 ? l += 2 : l++) {
2578
2578
  if (d = Pe(e, l), d === Ge)
2579
2579
  p = !0, h && (_ = _ || // Foldable line = too long, and not more-indented.
2580
- l - x - 1 > a && e[x + 1] !== " ", x = l);
2580
+ l - x - 1 > o && e[x + 1] !== " ", x = l);
2581
2581
  else if (!Ye(d))
2582
2582
  return Fe;
2583
2583
  b = b && Yt(d, m, s), m = d;
2584
2584
  }
2585
- _ = _ || h && l - x - 1 > a && e[x + 1] !== " ";
2585
+ _ = _ || h && l - x - 1 > o && e[x + 1] !== " ";
2586
2586
  }
2587
- return !p && !_ ? b && !o && !r(e) ? rr : n === Je ? Fe : yt : t > 9 && ir(e) ? Fe : o ? n === Je ? Fe : yt : _ ? or : ar;
2587
+ return !p && !_ ? b && !a && !r(e) ? rr : n === Je ? Fe : yt : t > 9 && ir(e) ? Fe : a ? n === Je ? Fe : yt : _ ? ar : or;
2588
2588
  }
2589
- function En(e, i, t, a, r) {
2589
+ function En(e, i, t, o, r) {
2590
2590
  e.dump = function() {
2591
2591
  if (i.length === 0)
2592
2592
  return e.quotingType === Je ? '""' : "''";
2593
2593
  if (!e.noCompatMode && (Cn.indexOf(i) !== -1 || Sn.test(i)))
2594
2594
  return e.quotingType === Je ? '"' + i + '"' : "'" + i + "'";
2595
- var n = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - n), s = a || e.flowLevel > -1 && t >= e.flowLevel;
2595
+ var n = e.indent * Math.max(1, t), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - n), s = o || e.flowLevel > -1 && t >= e.flowLevel;
2596
2596
  function l(d) {
2597
2597
  return jn(e, d);
2598
2598
  }
2599
- switch (On(
2599
+ switch ($n(
2600
2600
  i,
2601
2601
  s,
2602
2602
  e.indent,
2603
- o,
2603
+ a,
2604
2604
  l,
2605
2605
  e.quotingType,
2606
- e.forceQuotes && !a,
2606
+ e.forceQuotes && !o,
2607
2607
  r
2608
2608
  )) {
2609
2609
  case rr:
2610
2610
  return i;
2611
2611
  case yt:
2612
2612
  return "'" + i.replace(/'/g, "''") + "'";
2613
- case ar:
2614
- return "|" + Wt(i, e.indent) + Zt(Gt(i, n));
2615
2613
  case or:
2616
- return ">" + Wt(i, e.indent) + Zt(Gt(Fn(i, o), n));
2614
+ return "|" + Wt(i, e.indent) + Zt(Gt(i, n));
2615
+ case ar:
2616
+ return ">" + Wt(i, e.indent) + Zt(Gt(Fn(i, a), n));
2617
2617
  case Fe:
2618
2618
  return '"' + Vn(i) + '"';
2619
2619
  default:
@@ -2622,10 +2622,10 @@ function En(e, i, t, a, r) {
2622
2622
  }();
2623
2623
  }
2624
2624
  function Wt(e, i) {
2625
- var t = ir(e) ? String(i) : "", a = e[e.length - 1] === `
2626
- `, r = a && (e[e.length - 2] === `
2625
+ var t = ir(e) ? String(i) : "", o = e[e.length - 1] === `
2626
+ `, r = o && (e[e.length - 2] === `
2627
2627
  ` || e === `
2628
- `), n = r ? "+" : a ? "" : "-";
2628
+ `), n = r ? "+" : o ? "" : "-";
2629
2629
  return t + n + `
2630
2630
  `;
2631
2631
  }
@@ -2634,92 +2634,92 @@ function Zt(e) {
2634
2634
  ` ? e.slice(0, -1) : e;
2635
2635
  }
2636
2636
  function Fn(e, i) {
2637
- for (var t = /(\n+)([^\n]*)/g, a = function() {
2637
+ for (var t = /(\n+)([^\n]*)/g, o = function() {
2638
2638
  var d = e.indexOf(`
2639
2639
  `);
2640
2640
  return d = d !== -1 ? d : e.length, t.lastIndex = d, Qt(e.slice(0, d), i);
2641
2641
  }(), r = e[0] === `
2642
- ` || e[0] === " ", n, o; o = t.exec(e); ) {
2643
- var s = o[1], l = o[2];
2644
- n = l[0] === " ", a += s + (!r && !n && l !== "" ? `
2642
+ ` || e[0] === " ", n, a; a = t.exec(e); ) {
2643
+ var s = a[1], l = a[2];
2644
+ n = l[0] === " ", o += s + (!r && !n && l !== "" ? `
2645
2645
  ` : "") + Qt(l, i), r = n;
2646
2646
  }
2647
- return a;
2647
+ return o;
2648
2648
  }
2649
2649
  function Qt(e, i) {
2650
2650
  if (e === "" || e[0] === " ")
2651
2651
  return e;
2652
- for (var t = / [^ ]/g, a, r = 0, n, o = 0, s = 0, l = ""; a = t.exec(e); )
2653
- s = a.index, s - r > i && (n = o > r ? o : s, l += `
2654
- ` + e.slice(r, n), r = n + 1), o = s;
2652
+ for (var t = / [^ ]/g, o, r = 0, n, a = 0, s = 0, l = ""; o = t.exec(e); )
2653
+ s = o.index, s - r > i && (n = a > r ? a : s, l += `
2654
+ ` + e.slice(r, n), r = n + 1), a = s;
2655
2655
  return l += `
2656
- `, e.length - r > i && o > r ? l += e.slice(r, o) + `
2657
- ` + e.slice(o + 1) : l += e.slice(r), l.slice(1);
2656
+ `, e.length - r > i && a > r ? l += e.slice(r, a) + `
2657
+ ` + e.slice(a + 1) : l += e.slice(r), l.slice(1);
2658
2658
  }
2659
2659
  function Vn(e) {
2660
- for (var i = "", t = 0, a, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2661
- t = Pe(e, r), a = fe[t], !a && Ye(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += a || An(t);
2660
+ for (var i = "", t = 0, o, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2661
+ t = Pe(e, r), o = fe[t], !o && Ye(t) ? (i += e[r], t >= 65536 && (i += e[r + 1])) : i += o || An(t);
2662
2662
  return i;
2663
2663
  }
2664
2664
  function Nn(e, i, t) {
2665
- var a = "", r = e.tag, n, o, s;
2666
- for (n = 0, o = t.length; n < o; n += 1)
2667
- 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)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2668
- e.tag = r, e.dump = "[" + a + "]";
2669
- }
2670
- function Xt(e, i, t, a) {
2671
- var r = "", n = e.tag, o, s, l;
2672
- for (o = 0, s = t.length; o < s; o += 1)
2673
- l = t[o], e.replacer && (l = e.replacer.call(t, String(o), l)), (ke(e, i + 1, l, !0, !0, !1, !0) || typeof l > "u" && ke(e, i + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += gt(e, i)), e.dump && Ge === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2665
+ var o = "", r = e.tag, n, a, s;
2666
+ for (n = 0, a = t.length; n < a; n += 1)
2667
+ 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)) && (o !== "" && (o += "," + (e.condenseFlow ? "" : " ")), o += e.dump);
2668
+ e.tag = r, e.dump = "[" + o + "]";
2669
+ }
2670
+ function Xt(e, i, t, o) {
2671
+ var r = "", n = e.tag, a, s, l;
2672
+ for (a = 0, s = t.length; a < s; a += 1)
2673
+ l = t[a], e.replacer && (l = e.replacer.call(t, String(a), l)), (ke(e, i + 1, l, !0, !0, !1, !0) || typeof l > "u" && ke(e, i + 1, null, !0, !0, !1, !0)) && ((!o || r !== "") && (r += gt(e, i)), e.dump && Ge === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2674
2674
  e.tag = n, e.dump = r || "[]";
2675
2675
  }
2676
2676
  function qn(e, i, t) {
2677
- var a = "", r = e.tag, n = Object.keys(t), o, s, l, d, m;
2678
- for (o = 0, s = n.length; o < s; o += 1)
2679
- m = "", a !== "" && (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, a += m));
2680
- e.tag = r, e.dump = "{" + a + "}";
2677
+ var o = "", r = e.tag, n = Object.keys(t), a, s, l, d, m;
2678
+ for (a = 0, s = n.length; a < s; a += 1)
2679
+ m = "", o !== "" && (m += ", "), e.condenseFlow && (m += '"'), l = n[a], 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, o += m));
2680
+ e.tag = r, e.dump = "{" + o + "}";
2681
2681
  }
2682
- function Ln(e, i, t, a) {
2683
- var r = "", n = e.tag, o = Object.keys(t), s, l, d, m, p, _;
2682
+ function Ln(e, i, t, o) {
2683
+ var r = "", n = e.tag, a = Object.keys(t), s, l, d, m, p, _;
2684
2684
  if (e.sortKeys === !0)
2685
- o.sort();
2685
+ a.sort();
2686
2686
  else if (typeof e.sortKeys == "function")
2687
- o.sort(e.sortKeys);
2687
+ a.sort(e.sortKeys);
2688
2688
  else if (e.sortKeys)
2689
2689
  throw new me("sortKeys must be a boolean or a function");
2690
- for (s = 0, l = o.length; s < l; s += 1)
2691
- _ = "", (!a || r !== "") && (_ += 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) ? _ += "?" : _ += "? "), _ += e.dump, p && (_ += gt(e, i)), ke(e, i + 1, m, !0, p) && (e.dump && Ge === e.dump.charCodeAt(0) ? _ += ":" : _ += ": ", _ += e.dump, r += _));
2690
+ for (s = 0, l = a.length; s < l; s += 1)
2691
+ _ = "", (!o || r !== "") && (_ += gt(e, i)), d = a[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) ? _ += "?" : _ += "? "), _ += e.dump, p && (_ += gt(e, i)), ke(e, i + 1, m, !0, p) && (e.dump && Ge === e.dump.charCodeAt(0) ? _ += ":" : _ += ": ", _ += e.dump, r += _));
2692
2692
  e.tag = n, e.dump = r || "{}";
2693
2693
  }
2694
2694
  function ei(e, i, t) {
2695
- var a, r, n, o, s, l;
2696
- for (r = t ? e.explicitTypes : e.implicitTypes, n = 0, o = r.length; n < o; n += 1)
2695
+ var o, r, n, a, s, l;
2696
+ for (r = t ? e.explicitTypes : e.implicitTypes, n = 0, a = r.length; n < a; n += 1)
2697
2697
  if (s = r[n], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof i == "object" && i instanceof s.instanceOf) && (!s.predicate || s.predicate(i))) {
2698
2698
  if (t ? s.multi && s.representName ? e.tag = s.representName(i) : e.tag = s.tag : e.tag = "?", s.represent) {
2699
2699
  if (l = e.styleMap[s.tag] || s.defaultStyle, Yi.call(s.represent) === "[object Function]")
2700
- a = s.represent(i, l);
2700
+ o = s.represent(i, l);
2701
2701
  else if (Wi.call(s.represent, l))
2702
- a = s.represent[l](i, l);
2702
+ o = s.represent[l](i, l);
2703
2703
  else
2704
2704
  throw new me("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
2705
- e.dump = a;
2705
+ e.dump = o;
2706
2706
  }
2707
2707
  return !0;
2708
2708
  }
2709
2709
  return !1;
2710
2710
  }
2711
- function ke(e, i, t, a, r, n, o) {
2711
+ function ke(e, i, t, o, r, n, a) {
2712
2712
  e.tag = null, e.dump = t, ei(e, t, !1) || ei(e, t, !0);
2713
- var s = Yi.call(e.dump), l = a, d;
2714
- a && (a = e.flowLevel < 0 || e.flowLevel > i);
2713
+ var s = Yi.call(e.dump), l = o, d;
2714
+ o && (o = e.flowLevel < 0 || e.flowLevel > i);
2715
2715
  var m = s === "[object Object]" || s === "[object Array]", p, _;
2716
2716
  if (m && (p = e.duplicates.indexOf(t), _ = p !== -1), (e.tag !== null && e.tag !== "?" || _ || e.indent !== 2 && i > 0) && (r = !1), _ && e.usedDuplicates[p])
2717
2717
  e.dump = "*ref_" + p;
2718
2718
  else {
2719
2719
  if (m && _ && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), s === "[object Object]")
2720
- a && Object.keys(e.dump).length !== 0 ? (Ln(e, i, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (qn(e, i, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2720
+ o && Object.keys(e.dump).length !== 0 ? (Ln(e, i, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (qn(e, i, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2721
2721
  else if (s === "[object Array]")
2722
- a && e.dump.length !== 0 ? (e.noArrayIndent && !o && i > 0 ? Xt(e, i - 1, e.dump, r) : Xt(e, i, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (Nn(e, i, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2722
+ o && e.dump.length !== 0 ? (e.noArrayIndent && !a && i > 0 ? Xt(e, i - 1, e.dump, r) : Xt(e, i, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (Nn(e, i, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2723
2723
  else if (s === "[object String]")
2724
2724
  e.tag !== "?" && En(e, e.dump, i, n, l);
2725
2725
  else {
@@ -2734,13 +2734,13 @@ function ke(e, i, t, a, r, n, o) {
2734
2734
  return !0;
2735
2735
  }
2736
2736
  function Un(e, i) {
2737
- var t = [], a = [], r, n;
2738
- for (vt(e, t, a), r = 0, n = a.length; r < n; r += 1)
2739
- i.duplicates.push(t[a[r]]);
2737
+ var t = [], o = [], r, n;
2738
+ for (vt(e, t, o), r = 0, n = o.length; r < n; r += 1)
2739
+ i.duplicates.push(t[o[r]]);
2740
2740
  i.usedDuplicates = new Array(n);
2741
2741
  }
2742
2742
  function vt(e, i, t) {
2743
- var a, r, n;
2743
+ var o, r, n;
2744
2744
  if (e !== null && typeof e == "object")
2745
2745
  if (r = i.indexOf(e), r !== -1)
2746
2746
  t.indexOf(r) === -1 && t.push(r);
@@ -2748,15 +2748,15 @@ function vt(e, i, t) {
2748
2748
  for (r = 0, n = e.length; r < n; r += 1)
2749
2749
  vt(e[r], i, t);
2750
2750
  else
2751
- for (a = Object.keys(e), r = 0, n = a.length; r < n; r += 1)
2752
- vt(e[a[r]], i, t);
2751
+ for (o = Object.keys(e), r = 0, n = o.length; r < n; r += 1)
2752
+ vt(e[o[r]], i, t);
2753
2753
  }
2754
2754
  function Kn(e, i) {
2755
2755
  i = i || {};
2756
2756
  var t = new Tn(i);
2757
2757
  t.noRefs || Un(e, t);
2758
- var a = e;
2759
- return t.replacer && (a = t.replacer.call({ "": a }, "", a)), ke(t, 0, a, !0, !0) ? t.dump + `
2758
+ var o = e;
2759
+ return t.replacer && (o = t.replacer.call({ "": o }, "", o)), ke(t, 0, o, !0, !0) ? t.dump + `
2760
2760
  ` : "";
2761
2761
  }
2762
2762
  var Bn = Kn, Pn = {
@@ -2767,7 +2767,7 @@ function jt(e, i) {
2767
2767
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + i + " instead, which is now safe by default.");
2768
2768
  };
2769
2769
  }
2770
- var Rn = de, Dn = _i, Hn = Ii, zn = Mi, Gn = $i, Jn = It, Yn = Ji.load, Wn = Ji.loadAll, Zn = Pn.dump, Qn = me, Xn = {
2770
+ var Rn = de, Dn = _i, Hn = Ii, zn = Mi, Gn = Oi, Jn = It, Yn = Ji.load, Wn = Ji.loadAll, Zn = Pn.dump, Qn = me, Xn = {
2771
2771
  binary: Ni,
2772
2772
  float: ji,
2773
2773
  map: Si,
@@ -2797,7 +2797,7 @@ var Rn = de, Dn = _i, Hn = Ii, zn = Mi, Gn = $i, Jn = It, Yn = Ji.load, Wn = Ji.
2797
2797
  safeLoadAll: tl,
2798
2798
  safeDump: il
2799
2799
  };
2800
- const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2800
+ const ol = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2801
2801
  __name: "YamlCodeBlock",
2802
2802
  props: {
2803
2803
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2807,21 +2807,24 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2807
2807
  }
2808
2808
  },
2809
2809
  setup(e) {
2810
- const i = e, t = j(() => i.yamlRecord);
2811
- return (a, r) => {
2810
+ const i = e, t = j(() => {
2811
+ const o = Object.fromEntries(Object.entries(i.yamlRecord).filter(([, r]) => r && (Array.isArray(r) ? r.length !== 0 : !0)));
2812
+ return Object.keys(o).length === 0 && o.constructor === Object ? "" : rl.dump(o).trim();
2813
+ });
2814
+ return (o, r) => {
2812
2815
  const n = U("KCodeBlock");
2813
- return v(), M("div", al, [
2816
+ return v(), M("div", ol, [
2814
2817
  i.yamlRecord ? (v(), P(n, {
2815
2818
  key: 0,
2816
2819
  id: "yaml-codeblock",
2817
- code: f(rl).dump(t.value),
2820
+ code: t.value,
2818
2821
  language: "yaml",
2819
2822
  theme: "dark"
2820
2823
  }, null, 8, ["code"])) : D("", !0)
2821
2824
  ]);
2822
2825
  };
2823
2826
  }
2824
- }), ol = {
2827
+ }), al = {
2825
2828
  key: 0,
2826
2829
  class: "config-card-display-form"
2827
2830
  }, nl = ["data-testid"], ll = {
@@ -2866,29 +2869,29 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2866
2869
  }
2867
2870
  },
2868
2871
  setup(e) {
2869
- const i = e, t = rt(), { i18n: { t: a } } = se.useI18n(), r = (o) => !!(o.tooltip || t[`${o.key}-label-tooltip`]), n = j(() => {
2872
+ const i = e, t = rt(), { i18n: { t: o } } = se.useI18n(), r = (a) => !!(a.tooltip || t[`${a.key}-label-tooltip`]), n = j(() => {
2870
2873
  if (!i.record)
2871
2874
  return i.record;
2872
- const o = JSON.parse(JSON.stringify(i.record));
2873
- return delete o.created_at, delete o.updated_at, o;
2875
+ const a = JSON.parse(JSON.stringify(i.record));
2876
+ return delete a.created_at, delete a.updated_at, a;
2874
2877
  });
2875
- return (o, s) => (v(), M(ve, null, [
2876
- e.format === "structured" ? (v(), M("div", ol, [
2878
+ return (a, s) => (v(), M(ve, null, [
2879
+ e.format === "structured" ? (v(), M("div", al, [
2877
2880
  (v(!0), M(ve, null, ye(e.propListTypes, (l) => (v(), M("div", {
2878
2881
  key: `config-card-details-${l}-props`,
2879
2882
  class: Ie(`config-card-details-${l}-props`),
2880
2883
  "data-testid": `config-card-details-${l}-props`
2881
2884
  }, [
2882
- l !== "basic" ? (v(), M("div", ll, O(l === "advanced" ? f(a)("baseConfigCard.sections.advanced") : f(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2885
+ l !== "basic" ? (v(), M("div", ll, $(l === "advanced" ? f(o)("baseConfigCard.sections.advanced") : f(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2883
2886
  (v(!0), M(ve, null, ye(e.propertyCollections[l], (d) => (v(), P(Ct, {
2884
2887
  key: d.key,
2885
2888
  item: d
2886
2889
  }, je({
2887
2890
  label: y(() => [
2888
- Q(o.$slots, `${d.key}-label`, { row: d }, void 0, !0)
2891
+ Q(a.$slots, `${d.key}-label`, { row: d }, void 0, !0)
2889
2892
  ]),
2890
2893
  [d.key]: y(({ rowValue: m }) => [
2891
- Q(o.$slots, d.key, {
2894
+ Q(a.$slots, d.key, {
2892
2895
  row: d,
2893
2896
  rowValue: m
2894
2897
  }, void 0, !0)
@@ -2898,7 +2901,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2898
2901
  r(d) ? {
2899
2902
  name: "label-tooltip",
2900
2903
  fn: y(() => [
2901
- Q(o.$slots, `${d.key}-label-tooltip`, { row: d }, void 0, !0)
2904
+ Q(a.$slots, `${d.key}-label-tooltip`, { row: d }, void 0, !0)
2902
2905
  ]),
2903
2906
  key: "0"
2904
2907
  } : void 0
@@ -2920,8 +2923,8 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2920
2923
  }
2921
2924
  }), cl = /* @__PURE__ */ he(sl, [["__scopeId", "data-v-2b74ac63"]]), ti = "24px", ul = (e, i) => {
2922
2925
  const t = e.__vccOpts || e;
2923
- for (const [a, r] of i)
2924
- t[a] = r;
2926
+ for (const [o, r] of i)
2927
+ t[o] = r;
2925
2928
  return t;
2926
2929
  }, dl = (e) => (si("data-v-40a7f387"), e = e(), ci(), e), pl = ["aria-hidden"], fl = {
2927
2930
  key: 0,
@@ -2990,7 +2993,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2990
2993
  return `${n}px`;
2991
2994
  }
2992
2995
  return ti;
2993
- }), a = j(() => ({
2996
+ }), o = j(() => ({
2994
2997
  boxSizing: "border-box",
2995
2998
  color: i.color,
2996
2999
  display: i.display,
@@ -2998,11 +3001,11 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
2998
3001
  lineHeight: "0",
2999
3002
  width: t.value
3000
3003
  }));
3001
- return (r, n) => (v(), P($e(e.as), {
3004
+ return (r, n) => (v(), P(Oe(e.as), {
3002
3005
  "aria-hidden": e.decorative ? "true" : void 0,
3003
3006
  class: "kui-icon book-icon",
3004
3007
  "data-testid": "kui-icon-wrapper-book-icon",
3005
- style: li(a.value)
3008
+ style: li(o.value)
3006
3009
  }, {
3007
3010
  default: y(() => [
3008
3011
  (v(), M("svg", {
@@ -3015,7 +3018,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3015
3018
  width: "100%",
3016
3019
  xmlns: "http://www.w3.org/2000/svg"
3017
3020
  }, [
3018
- e.title ? (v(), M("title", fl, O(e.title), 1)) : D("", !0),
3021
+ e.title ? (v(), M("title", fl, $(e.title), 1)) : D("", !0),
3019
3022
  ml
3020
3023
  ], 8, pl))
3021
3024
  ]),
@@ -3106,11 +3109,11 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3106
3109
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
3107
3110
  setup(e, { emit: i }) {
3108
3111
  var t;
3109
- const a = i, r = e, n = rt(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { convertKeyToTitle: l } = se.useStringHelpers(), { axiosInstance: d } = se.useAxios({
3112
+ const o = i, r = e, n = rt(), { i18n: { t: a } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { convertKeyToTitle: l } = se.useStringHelpers(), { axiosInstance: d } = se.useAxios({
3110
3113
  headers: (t = r.config) == null ? void 0 : t.requestHeaders
3111
3114
  }), m = [
3112
3115
  {
3113
- label: o("baseConfigCard.general.structuredFormat"),
3116
+ label: a("baseConfigCard.general.structuredFormat"),
3114
3117
  value: "structured",
3115
3118
  selected: !0
3116
3119
  },
@@ -3127,7 +3130,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3127
3130
  }, h = {
3128
3131
  id: {
3129
3132
  type: te.ID,
3130
- label: o("baseConfigCard.commonFields.id_label"),
3133
+ label: a("baseConfigCard.commonFields.id_label"),
3131
3134
  order: 0,
3132
3135
  section: pe.Basic
3133
3136
  },
@@ -3142,13 +3145,13 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3142
3145
  },
3143
3146
  updated_at: {
3144
3147
  type: te.Date,
3145
- label: o("baseConfigCard.commonFields.updated_at_label"),
3148
+ label: a("baseConfigCard.commonFields.updated_at_label"),
3146
3149
  order: 3,
3147
3150
  section: pe.Basic
3148
3151
  },
3149
3152
  created_at: {
3150
3153
  type: te.Date,
3151
- label: o("baseConfigCard.commonFields.created_at_label"),
3154
+ label: a("baseConfigCard.commonFields.created_at_label"),
3152
3155
  order: 4,
3153
3156
  section: pe.Basic
3154
3157
  },
@@ -3158,27 +3161,27 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3158
3161
  // the last property displayed
3159
3162
  section: pe.Basic
3160
3163
  }
3161
- }, x = L(!1), b = L(!1), $ = L(""), S = L({}), T = j(() => {
3164
+ }, x = L(!1), b = L(!1), O = L(""), S = L({}), T = j(() => {
3162
3165
  var I, H, K;
3163
3166
  if (!S.value)
3164
3167
  return [];
3165
3168
  const B = [], z = Object.keys(S.value).length;
3166
3169
  for (const J in S.value) {
3167
3170
  const X = (H = (I = r.configSchema) == null ? void 0 : I[J]) == null ? void 0 : H.order, Y = (K = h[J]) == null ? void 0 : K.order;
3168
- let ae = z;
3169
- (Y || Y === 0) && (ae = Y === -1 ? z + 1 : Y), X && (ae = X === -1 ? z + 1 : X), B.push([J, ae]);
3171
+ let oe = z;
3172
+ (Y || Y === 0) && (oe = Y === -1 ? z + 1 : Y), X && (oe = X === -1 ? z + 1 : X), B.push([J, oe]);
3170
3173
  }
3171
3174
  return B.sort(function(J, X) {
3172
3175
  return J[1] - X[1];
3173
3176
  }), B.map((J) => {
3174
3177
  var X, Y;
3175
- const ae = J[0], Z = (X = S.value) == null ? void 0 : X[ae], ee = ((Y = r.configSchema) == null ? void 0 : Y[ae]) || {}, ue = h[ae];
3178
+ const oe = J[0], Z = (X = S.value) == null ? void 0 : X[oe], ee = ((Y = r.configSchema) == null ? void 0 : Y[oe]) || {}, ue = h[oe];
3176
3179
  return {
3177
- key: ae,
3180
+ key: oe,
3178
3181
  value: Z,
3179
3182
  hidden: ee.hidden || !1,
3180
3183
  type: ee.type ?? ((ue == null ? void 0 : ue.type) || te.Text),
3181
- label: ee.label ?? ((ue == null ? void 0 : ue.label) || l(ae)),
3184
+ label: ee.label ?? ((ue == null ? void 0 : ue.label) || l(oe)),
3182
3185
  tooltip: ee.tooltip ?? ((ue == null ? void 0 : ue.tooltip) || void 0),
3183
3186
  section: ee.section ?? ((ue == null ? void 0 : ue.section) || pe.Advanced)
3184
3187
  };
@@ -3190,17 +3193,17 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3190
3193
  const K = S.value[r.pluginConfigKey] || {}, B = Object.keys(K).length, z = [];
3191
3194
  for (const J in K) {
3192
3195
  const X = (H = (I = r.pluginConfigSchema) == null ? void 0 : I[J]) == null ? void 0 : H.order, Y = K[J];
3193
- let ae = Y != null && Y !== "" ? B - 1 : B;
3194
- X && (ae = X === -1 ? B + 1 : X), z.push([J, ae]);
3196
+ let oe = Y != null && Y !== "" ? B - 1 : B;
3197
+ X && (oe = X === -1 ? B + 1 : X), z.push([J, oe]);
3195
3198
  }
3196
3199
  return z.sort(function(J, X) {
3197
3200
  return J[1] - X[1];
3198
3201
  }), z.map((J) => {
3199
3202
  var X;
3200
- const Y = J[0], ae = K[Y], Z = ((X = r.pluginConfigSchema) == null ? void 0 : X[Y]) || {};
3203
+ const Y = J[0], oe = K[Y], Z = ((X = r.pluginConfigSchema) == null ? void 0 : X[Y]) || {};
3201
3204
  return {
3202
3205
  key: Y,
3203
- value: ae,
3206
+ value: oe,
3204
3207
  hidden: Z.hidden || !1,
3205
3208
  type: Z.type ?? te.Text,
3206
3209
  label: Z.label ?? l(Y),
@@ -3218,38 +3221,38 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3218
3221
  }), E = j(() => {
3219
3222
  const I = [];
3220
3223
  return k.value.basic.length && I.push("basic"), k.value.advanced.length && I.push("advanced"), k.value.plugin.length && I.push("plugin"), I;
3221
- }), q = (I) => !!(I.tooltip || n[`${I.key}-label-tooltip`]), oe = j(() => {
3224
+ }), q = (I) => !!(I.tooltip || n[`${I.key}-label-tooltip`]), ae = j(() => {
3222
3225
  var I, H;
3223
3226
  let K = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3224
3227
  return r.config.app === "konnect" ? K = K.replace(/{controlPlaneId}/gi, ((I = r.config) == null ? void 0 : I.controlPlaneId) || "") : r.config.app === "kongManager" && (K = K.replace(/\/{workspace}/gi, (H = r.config) != null && H.workspace ? `/${r.config.workspace}` : "")), K = K.replace(/{id}/gi, r.config.entityId), K;
3225
3228
  }), R = (I) => {
3226
- S.value && I(JSON.stringify(S.value)) ? a("copy:success", S.value) : a("copy:error");
3229
+ S.value && I(JSON.stringify(S.value)) ? o("copy:success", S.value) : o("copy:error");
3227
3230
  };
3228
3231
  return _e(x, (I) => {
3229
- a("loading", I);
3232
+ o("loading", I);
3230
3233
  }, { immediate: !0 }), ht(async () => {
3231
3234
  b.value = !1, x.value = !0;
3232
3235
  try {
3233
- const { data: I } = await d.get(oe.value);
3236
+ const { data: I } = await d.get(ae.value);
3234
3237
  if (r.dataKey)
3235
3238
  if (typeof I[r.dataKey] < "u")
3236
3239
  S.value = { ...I[r.dataKey] };
3237
3240
  else
3238
- throw new Error(o("errors.dataKeyUndefined", { dataKey: r.dataKey }));
3241
+ throw new Error(a("errors.dataKeyUndefined", { dataKey: r.dataKey }));
3239
3242
  else
3240
3243
  S.value = { ...I };
3241
3244
  Object.keys(r.configSchema).filter((H) => r.configSchema[H].forceShow).forEach((H) => {
3242
3245
  S.value && typeof S.value[H] > "u" && (S.value[H] = null);
3243
- }), a("fetch:success", I);
3246
+ }), o("fetch:success", I);
3244
3247
  } catch (I) {
3245
3248
  const H = s(I);
3246
- $.value = H.startsWith("code") ? o("baseConfigCard.errors.load") : H, b.value = !0, a("fetch:error", I);
3249
+ O.value = H.startsWith("code") ? a("baseConfigCard.errors.load") : H, b.value = !0, o("fetch:error", I);
3247
3250
  } finally {
3248
3251
  x.value = !1;
3249
3252
  }
3250
3253
  }), (I, H) => {
3251
- const K = U("KLabel"), B = U("KSelect"), z = U("KButton"), J = U("KClipboardProvider"), X = U("KSkeleton"), Y = U("KEmptyState"), ae = U("KCard");
3252
- return v(), P(ae, { class: "kong-ui-entity-base-config-card" }, je({
3254
+ const K = U("KLabel"), B = U("KSelect"), z = U("KButton"), J = U("KClipboardProvider"), X = U("KSkeleton"), Y = U("KEmptyState"), oe = U("KCard");
3255
+ return v(), P(oe, { class: "kong-ui-entity-base-config-card" }, je({
3253
3256
  actions: y(() => [
3254
3257
  N("div", hl, [
3255
3258
  Q(I.$slots, "actions", {}, void 0, !0),
@@ -3259,7 +3262,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3259
3262
  "data-testid": "config-format-select-label"
3260
3263
  }, {
3261
3264
  default: y(() => [
3262
- G(O(e.label), 1)
3265
+ G($(e.label), 1)
3263
3266
  ]),
3264
3267
  _: 1
3265
3268
  })) : D("", !0),
@@ -3281,7 +3284,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3281
3284
  rel: "noopener",
3282
3285
  target: "_blank"
3283
3286
  }, [
3284
- C(f(yl), { size: f(_a) }, null, 8, ["size"])
3287
+ C(f(yl), { size: f(ko) }, null, 8, ["size"])
3285
3288
  ], 8, bl)
3286
3289
  ]),
3287
3290
  _: 1
@@ -3295,7 +3298,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3295
3298
  onClick: (ee) => R(Z)
3296
3299
  }, {
3297
3300
  default: y(() => [
3298
- G(O(f(o)("baseConfigCard.actions.copy")), 1)
3301
+ G($(f(a)("baseConfigCard.actions.copy")), 1)
3299
3302
  ]),
3300
3303
  _: 2
3301
3304
  }, 1032, ["onClick"])) : D("", !0)
@@ -3316,14 +3319,14 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3316
3319
  "is-error": ""
3317
3320
  }, {
3318
3321
  message: y(() => [
3319
- N("h3", null, O($.value), 1)
3322
+ N("h3", null, $(O.value), 1)
3320
3323
  ]),
3321
3324
  _: 1
3322
3325
  })) : D("", !0),
3323
3326
  e.config.jsonYamlEnabled ? (v(), M("div", wl, [
3324
3327
  C(cl, {
3325
3328
  config: e.config,
3326
- "fetcher-url": oe.value,
3329
+ "fetcher-url": ae.value,
3327
3330
  format: p.value,
3328
3331
  "prop-list-types": E.value,
3329
3332
  "property-collections": k.value,
@@ -3345,7 +3348,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3345
3348
  class: Ie(`config-card-details-${Z}-props`),
3346
3349
  "data-testid": `config-card-details-${Z}-props`
3347
3350
  }, [
3348
- Z !== "basic" ? (v(), M("div", Cl, O(Z === "advanced" ? f(o)("baseConfigCard.sections.advanced") : f(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3351
+ Z !== "basic" ? (v(), M("div", Cl, $(Z === "advanced" ? f(a)("baseConfigCard.sections.advanced") : f(a)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3349
3352
  (v(!0), M(ve, null, ye(k.value[Z], (ee) => (v(), P(Ct, {
3350
3353
  key: ee.key,
3351
3354
  item: ee
@@ -3379,7 +3382,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3379
3382
  fn: y(() => [
3380
3383
  N("div", vl, [
3381
3384
  Q(I.$slots, "title", {}, () => [
3382
- G(O(f(o)("baseConfigCard.title")), 1)
3385
+ G($(f(a)("baseConfigCard.title")), 1)
3383
3386
  ], !0)
3384
3387
  ])
3385
3388
  ]),
@@ -3446,7 +3449,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3446
3449
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3447
3450
  setup(e, { emit: i }) {
3448
3451
  var t;
3449
- const a = i, r = e, n = bt(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3452
+ const o = i, r = e, n = bt(), { i18n: { t: a } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios({
3450
3453
  headers: (t = r.config) == null ? void 0 : t.requestHeaders
3451
3454
  }), d = L(!1), m = L(!1), p = L(""), _ = j(() => r.canSubmit === !1 || r.isReadonly), h = L(!1), x = j(() => {
3452
3455
  var k, E;
@@ -3454,52 +3457,52 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3454
3457
  return r.config.app === "konnect" ? q = q.replace(/{controlPlaneId}/gi, ((k = r.config) == null ? void 0 : k.controlPlaneId) || "") : r.config.app === "kongManager" && (q = q.replace(/\/{workspace}/gi, (E = r.config) != null && E.workspace ? `/${r.config.workspace}` : "")), r.editId ? (q = q.replace(/{id}/gi, r.editId), q) : (q = q.replace(/\/{id}/gi, ""), q);
3455
3458
  }), b = () => {
3456
3459
  h.value = !h.value;
3457
- }, $ = () => {
3460
+ }, O = () => {
3458
3461
  r.config.cancelRoute ? n.push(r.config.cancelRoute) : S();
3459
3462
  }, S = () => {
3460
- a("cancel");
3463
+ o("cancel");
3461
3464
  }, T = () => {
3462
- _.value || a("submit");
3465
+ _.value || o("submit");
3463
3466
  }, u = L([
3464
3467
  {
3465
- title: o("baseForm.configuration.yaml"),
3468
+ title: a("baseForm.configuration.yaml"),
3466
3469
  hash: "#yaml"
3467
3470
  },
3468
3471
  {
3469
- title: o("baseForm.configuration.json"),
3472
+ title: a("baseForm.configuration.json"),
3470
3473
  hash: "#json"
3471
3474
  }
3472
3475
  ]);
3473
3476
  return _e(() => d.value, (k) => {
3474
- a("loading", k);
3477
+ o("loading", k);
3475
3478
  }, { immediate: !0 }), ht(async () => {
3476
3479
  if (r.editId)
3477
3480
  try {
3478
3481
  m.value = !1, d.value = !0;
3479
3482
  const { data: k } = await l.get(x.value);
3480
- a("fetch:success", k);
3483
+ o("fetch:success", k);
3481
3484
  } catch (k) {
3482
3485
  const E = s(k);
3483
- p.value = E.startsWith("code") ? o("baseForm.errors.edit") : E, m.value = !0, a("fetch:error", k);
3486
+ p.value = E.startsWith("code") ? a("baseForm.errors.edit") : E, m.value = !0, o("fetch:error", k);
3484
3487
  } finally {
3485
3488
  d.value = !1;
3486
3489
  }
3487
3490
  }), (k, E) => {
3488
- const q = U("KSkeleton"), oe = U("KEmptyState"), R = U("KAlert"), I = U("KButton"), H = U("KTabs"), K = U("KSlideout"), B = U("KCard");
3491
+ const q = U("KSkeleton"), ae = U("KEmptyState"), R = U("KAlert"), I = U("KButton"), H = U("KTabs"), K = U("KSlideout"), B = U("KCard");
3489
3492
  return v(), P(B, { class: "kong-ui-entity-base-form" }, {
3490
3493
  default: y(() => [
3491
3494
  d.value ? (v(), P(q, {
3492
3495
  key: 0,
3493
3496
  type: "form"
3494
- })) : m.value ? (v(), P(oe, {
3497
+ })) : m.value ? (v(), P(ae, {
3495
3498
  key: 1,
3496
- "cta-text": f(o)("baseForm.actions.back"),
3499
+ "cta-text": f(a)("baseForm.actions.back"),
3497
3500
  "data-testid": "form-fetch-error",
3498
- "handle-click": $,
3501
+ "handle-click": O,
3499
3502
  "is-error": !0
3500
3503
  }, {
3501
3504
  message: y(() => [
3502
- N("h3", null, O(p.value), 1)
3505
+ N("h3", null, $(p.value), 1)
3503
3506
  ]),
3504
3507
  _: 1
3505
3508
  }, 8, ["cta-text"])) : (v(), M("form", {
@@ -3524,7 +3527,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3524
3527
  onClick: E[0] || (E[0] = (z) => b())
3525
3528
  }, {
3526
3529
  default: y(() => [
3527
- G(O(f(o)("baseForm.actions.viewConfiguration")), 1)
3530
+ G($(f(a)("baseForm.actions.viewConfiguration")), 1)
3528
3531
  ]),
3529
3532
  _: 1
3530
3533
  })
@@ -3536,7 +3539,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3536
3539
  type: "reset"
3537
3540
  }, {
3538
3541
  default: y(() => [
3539
- G(O(f(o)("baseForm.actions.cancel")), 1)
3542
+ G($(f(a)("baseForm.actions.cancel")), 1)
3540
3543
  ]),
3541
3544
  _: 1
3542
3545
  }, 8, ["disabled"]),
@@ -3547,7 +3550,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3547
3550
  type: "submit"
3548
3551
  }, {
3549
3552
  default: y(() => [
3550
- G(O(f(o)("baseForm.actions.save")), 1)
3553
+ G($(f(a)("baseForm.actions.save")), 1)
3551
3554
  ]),
3552
3555
  _: 1
3553
3556
  }, 8, ["disabled"])
@@ -3560,11 +3563,11 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3560
3563
  "has-overlay": !1,
3561
3564
  "is-visible": h.value,
3562
3565
  "prevent-close-on-blur": "",
3563
- title: f(o)("baseForm.configuration.title"),
3566
+ title: f(a)("baseForm.configuration.title"),
3564
3567
  onClose: E[1] || (E[1] = (z) => b())
3565
3568
  }, {
3566
3569
  default: y(() => [
3567
- N("div", null, O(f(o)("baseForm.configuration.message")), 1),
3570
+ N("div", null, $(f(a)("baseForm.configuration.message")), 1),
3568
3571
  C(H, {
3569
3572
  "data-testid": "form-view-configuration-slideout-tabs",
3570
3573
  tabs: u.value
@@ -3595,7 +3598,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3595
3598
  }), jl = /* @__PURE__ */ he(Tl, [["__scopeId", "data-v-4ef70725"]]), Ml = {
3596
3599
  key: 0,
3597
3600
  "data-testid": "first-col"
3598
- }, $l = /* @__PURE__ */ re({
3601
+ }, Ol = /* @__PURE__ */ re({
3599
3602
  __name: "EntityBaseTableCell",
3600
3603
  props: {
3601
3604
  keyName: {
@@ -3611,31 +3614,31 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3611
3614
  const i = e, t = j(() => {
3612
3615
  var b;
3613
3616
  return ((b = i.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${i.keyName}"]`)) || null;
3614
- }), a = j(() => {
3617
+ }), o = j(() => {
3615
3618
  var b;
3616
3619
  return ((b = t.value) == null ? void 0 : b.querySelector('[data-testid="first-col"]')) || null;
3617
3620
  }), r = j(() => {
3618
- var b, $;
3621
+ var b, O;
3619
3622
  const S = (b = i.rowEl) == null ? void 0 : b.querySelectorAll("td");
3620
- return S ? (($ = S[0]) == null ? void 0 : $.getAttribute("data-testid")) === i.keyName : !1;
3623
+ return S ? ((O = S[0]) == null ? void 0 : O.getAttribute("data-testid")) === i.keyName : !1;
3621
3624
  });
3622
3625
  let n;
3623
- const o = () => {
3626
+ const a = () => {
3624
3627
  n && (n.disconnect(), n = void 0);
3625
3628
  }, s = () => {
3626
- var b, $, S;
3627
- d.value = ((b = a.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, m.value = (($ = t.value) == null ? void 0 : $.clientWidth) || 0, p.value = ((S = l.value) == null ? void 0 : S.innerText) || "";
3628
- }, l = L({}), d = L(0), m = L(0), p = L(""), _ = j(() => [a.value, t.value]), h = _e(
3629
+ var b, O, S;
3630
+ d.value = ((b = o.value) == null ? void 0 : b.getBoundingClientRect().width) || 0, m.value = ((O = t.value) == null ? void 0 : O.clientWidth) || 0, p.value = ((S = l.value) == null ? void 0 : S.innerText) || "";
3631
+ }, l = L({}), d = L(0), m = L(0), p = L(""), _ = j(() => [o.value, t.value]), h = _e(
3629
3632
  _,
3630
3633
  (b) => {
3631
- if (r.value && (o(), "ResizeObserver" in window && window)) {
3632
- n = new ResizeObserver(($) => {
3634
+ if (r.value && (a(), "ResizeObserver" in window && window)) {
3635
+ n = new ResizeObserver((O) => {
3633
3636
  window.requestAnimationFrame(() => {
3634
- !Array.isArray($) || !$.length || s();
3637
+ !Array.isArray(O) || !O.length || s();
3635
3638
  });
3636
3639
  });
3637
- for (const $ of b)
3638
- $ && n.observe($);
3640
+ for (const O of b)
3641
+ O && n.observe(O);
3639
3642
  }
3640
3643
  },
3641
3644
  { immediate: !0, flush: "post", deep: !0 }
@@ -3644,7 +3647,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3644
3647
  s();
3645
3648
  }), pr(() => {
3646
3649
  h();
3647
- }), (b, $) => {
3650
+ }), (b, O) => {
3648
3651
  const S = U("KTooltip");
3649
3652
  return v(), M("span", {
3650
3653
  ref_key: "contentRef",
@@ -3666,7 +3669,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3666
3669
  ], 512);
3667
3670
  };
3668
3671
  }
3669
- }), Ol = /* @__PURE__ */ he($l, [["__scopeId", "data-v-c4379fd4"]]), El = { class: "toolbar-container" }, Fl = {
3672
+ }), $l = /* @__PURE__ */ he(Ol, [["__scopeId", "data-v-c4379fd4"]]), El = { class: "toolbar-container" }, Fl = {
3670
3673
  key: 0,
3671
3674
  class: "toolbar-button-container"
3672
3675
  }, Vl = ["data-testid"], Nl = /* @__PURE__ */ re({
@@ -3779,7 +3782,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3779
3782
  },
3780
3783
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3781
3784
  setup(e, { emit: i }) {
3782
- const t = e, a = i, { i18n: { t: r } } = se.useI18n(), n = j(() => {
3785
+ const t = e, o = i, { i18n: { t: r } } = se.useI18n(), n = j(() => {
3783
3786
  var E, q;
3784
3787
  return typeof t.errorMessage == "string" ? {
3785
3788
  hasError: !!t.errorMessage,
@@ -3790,14 +3793,14 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3790
3793
  title: (E = t.errorMessage) == null ? void 0 : E.title,
3791
3794
  message: (q = t.errorMessage) == null ? void 0 : q.message
3792
3795
  };
3793
- }), o = j(() => t.cacheIdentifier || t.preferencesStorageKey), s = (E) => E.hasData || !!t.query, l = j(() => {
3796
+ }), a = j(() => t.cacheIdentifier || t.preferencesStorageKey), s = (E) => E.hasData || !!t.query, l = j(() => {
3794
3797
  const E = [];
3795
3798
  return Object.keys(t.tableHeaders).forEach((q) => {
3796
- const oe = t.tableHeaders[q];
3799
+ const ae = t.tableHeaders[q];
3797
3800
  E.push({
3798
- label: oe.label ?? q,
3801
+ label: ae.label ?? q,
3799
3802
  key: q,
3800
- sortable: oe.sortable ?? !1
3803
+ sortable: ae.sortable ?? !1
3801
3804
  });
3802
3805
  }), t.enableEntityActions && E.push({
3803
3806
  key: "actions",
@@ -3821,13 +3824,13 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3821
3824
  textOverflow: "ellipsis"
3822
3825
  }), q;
3823
3826
  }, h = () => {
3824
- a("empty-state-cta-clicked"), x();
3827
+ o("empty-state-cta-clicked"), x();
3825
3828
  }, x = () => {
3826
- a("clear-search-input");
3829
+ o("clear-search-input");
3827
3830
  }, b = j(() => t.disableRowClick ? void 0 : (E, q) => {
3828
- a("click:row", q);
3829
- }), $ = (E) => {
3830
- a("sort", E);
3831
+ o("click:row", q);
3832
+ }), O = (E) => {
3833
+ o("sort", E);
3831
3834
  }, { setTablePreferences: S, getTablePreferences: T } = Ar(), u = j(() => {
3832
3835
  const E = T(t.preferencesStorageKey);
3833
3836
  return {
@@ -3838,7 +3841,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3838
3841
  t.preferencesStorageKey && S(t.preferencesStorageKey, E);
3839
3842
  };
3840
3843
  return (E, q) => {
3841
- const oe = U("KIcon"), R = U("KButton"), I = U("KDropdown"), H = U("KTable"), K = U("KCard");
3844
+ const ae = U("KIcon"), R = U("KButton"), I = U("KDropdown"), H = U("KTable"), K = U("KCard");
3842
3845
  return v(), P(K, {
3843
3846
  class: "kong-ui-entity-base-table",
3844
3847
  title: e.title
@@ -3847,7 +3850,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3847
3850
  C(H, {
3848
3851
  ref_key: "tableRefs",
3849
3852
  ref: m,
3850
- "cache-identifier": o.value,
3853
+ "cache-identifier": a.value,
3851
3854
  "cell-attrs": _,
3852
3855
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3853
3856
  "disable-sorting": e.disableSorting,
@@ -3873,7 +3876,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3873
3876
  "search-input": e.query,
3874
3877
  onKtableEmptyStateCtaClicked: h,
3875
3878
  "onRow:click": b.value,
3876
- onSort: q[0] || (q[0] = (B) => $(B)),
3879
+ onSort: q[0] || (q[0] = (B) => O(B)),
3877
3880
  "onUpdate:tablePreferences": k
3878
3881
  }, je({
3879
3882
  toolbar: y(({ state: B }) => [
@@ -3909,8 +3912,8 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3909
3912
  size: "small"
3910
3913
  }, {
3911
3914
  icon: y(() => [
3912
- C(oe, {
3913
- color: f(ba),
3915
+ C(ae, {
3916
+ color: f(wo),
3914
3917
  icon: "more",
3915
3918
  size: "16"
3916
3919
  }, null, 8, ["color"])
@@ -3927,7 +3930,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3927
3930
  ye(e.tableHeaders, (B, z) => ({
3928
3931
  name: z,
3929
3932
  fn: y(({ row: J, rowKey: X, rowValue: Y }) => [
3930
- C(Ol, {
3933
+ C($l, {
3931
3934
  "key-name": String(z),
3932
3935
  "row-el": p(J)
3933
3936
  }, {
@@ -3937,7 +3940,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3937
3940
  rowKey: X,
3938
3941
  rowValue: Y
3939
3942
  }, () => [
3940
- G(O(Y), 1)
3943
+ G($(Y), 1)
3941
3944
  ], !0)
3942
3945
  ]),
3943
3946
  _: 2
@@ -3995,7 +3998,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
3995
3998
  },
3996
3999
  emits: ["cancel", "proceed"],
3997
4000
  setup(e, { emit: i }) {
3998
- const { i18nT: t } = se.useI18n(), a = e, r = i, n = j(() => a.needConfirm ? a.entityName : ""), o = () => {
4001
+ const { i18nT: t } = se.useI18n(), o = e, r = i, n = j(() => o.needConfirm ? o.entityName : ""), a = () => {
3999
4002
  r("cancel");
4000
4003
  }, s = () => {
4001
4004
  r("proceed");
@@ -4010,39 +4013,39 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4010
4013
  "confirmation-text": n.value,
4011
4014
  title: e.title,
4012
4015
  visible: e.visible,
4013
- onCancel: o,
4016
+ onCancel: a,
4014
4017
  onProceed: s
4015
4018
  }, {
4016
4019
  default: y(() => [
4017
4020
  e.error ? (v(), M("div", Ll, [
4018
4021
  C(m, { appearance: "danger" }, {
4019
4022
  alertMessage: y(() => [
4020
- G(O(e.error), 1)
4023
+ G($(e.error), 1)
4021
4024
  ]),
4022
4025
  _: 1
4023
4026
  })
4024
4027
  ])) : D("", !0),
4025
4028
  C(f(t), {
4026
4029
  class: "message",
4027
- keypath: a.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4030
+ keypath: o.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4028
4031
  tag: "p"
4029
4032
  }, je({
4030
4033
  entityType: y(() => [
4031
- G(O(a.entityType), 1)
4034
+ G($(o.entityType), 1)
4032
4035
  ]),
4033
4036
  _: 2
4034
4037
  }, [
4035
- a.entityName ? {
4038
+ o.entityName ? {
4036
4039
  name: "entityName",
4037
4040
  fn: y(() => [
4038
- N("strong", null, O(a.entityName), 1)
4041
+ N("strong", null, $(o.entityName), 1)
4039
4042
  ]),
4040
4043
  key: "0"
4041
4044
  } : void 0
4042
4045
  ]), 1032, ["keypath"]),
4043
- a.description || l.$slots.description ? (v(), M("div", Ul, [
4046
+ o.description || l.$slots.description ? (v(), M("div", Ul, [
4044
4047
  Q(l.$slots, "description", {}, () => [
4045
- N("p", null, O(a.description), 1)
4048
+ N("p", null, $(o.description), 1)
4046
4049
  ], !0)
4047
4050
  ])) : D("", !0)
4048
4051
  ]),
@@ -4069,7 +4072,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4069
4072
  props: {
4070
4073
  color: {
4071
4074
  type: String,
4072
- default: `var(--kong-ui-entity-filter-color, ${va})`
4075
+ default: `var(--kong-ui-entity-filter-color, ${ho})`
4073
4076
  }
4074
4077
  },
4075
4078
  setup(e) {
@@ -4112,21 +4115,21 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4112
4115
  },
4113
4116
  emits: ["update:modelValue"],
4114
4117
  setup(e, { emit: i }) {
4115
- const { i18n: { t } } = se.useI18n(), a = e, r = i, n = L(!1), o = L({}), s = j(() => {
4118
+ const { i18n: { t } } = se.useI18n(), o = e, r = i, n = L(!1), a = L({}), s = j(() => {
4116
4119
  const S = [];
4117
- return new URLSearchParams(a.modelValue).forEach((T, u) => {
4120
+ return new URLSearchParams(o.modelValue).forEach((T, u) => {
4118
4121
  T !== "" && S.push(u);
4119
4122
  }), S;
4120
4123
  }), l = j(() => {
4121
- const S = a.config.fields;
4124
+ const S = o.config.fields;
4122
4125
  return Object.keys(S).filter((T) => S[T].searchable).map((T) => ({
4123
4126
  label: S[T].label || T,
4124
4127
  value: T
4125
4128
  }));
4126
4129
  });
4127
- _e(() => a.modelValue, (S) => {
4128
- o.value = {}, new URLSearchParams(S).forEach((T, u) => {
4129
- o.value[u] = T;
4130
+ _e(() => o.modelValue, (S) => {
4131
+ a.value = {}, new URLSearchParams(S).forEach((T, u) => {
4132
+ a.value[u] = T;
4130
4133
  });
4131
4134
  });
4132
4135
  const d = () => {
@@ -4135,26 +4138,26 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4135
4138
  r("update:modelValue", S);
4136
4139
  }, p = (S) => `filter-${S}`, _ = (S) => {
4137
4140
  var T, u;
4138
- return (((u = (T = a.config.schema) == null ? void 0 : T[S]) == null ? void 0 : u.values) ?? []).map((k) => ({
4141
+ return (((u = (T = o.config.schema) == null ? void 0 : T[S]) == null ? void 0 : u.values) ?? []).map((k) => ({
4139
4142
  value: k,
4140
4143
  label: k
4141
4144
  }));
4142
4145
  }, h = (S) => {
4143
4146
  var T, u;
4144
- return ((u = (T = a.config.schema) == null ? void 0 : T[S]) == null ? void 0 : u.type) ?? "text";
4147
+ return ((u = (T = o.config.schema) == null ? void 0 : T[S]) == null ? void 0 : u.type) ?? "text";
4145
4148
  }, x = (S) => {
4146
- o.value = {
4147
- ...o.value,
4149
+ a.value = {
4150
+ ...a.value,
4148
4151
  [S]: ""
4149
- }, $();
4152
+ }, O();
4150
4153
  }, b = () => {
4151
- o.value = {}, $(!0);
4152
- }, $ = (S = !1) => {
4153
- const T = Object.keys(o.value).reduce((u, k) => (o.value[k] && (u[k] = `${o.value[k]}`), u), {});
4154
+ a.value = {}, O(!0);
4155
+ }, O = (S = !1) => {
4156
+ const T = Object.keys(a.value).reduce((u, k) => (a.value[k] && (u[k] = `${a.value[k]}`), u), {});
4154
4157
  S && (n.value = !1), r("update:modelValue", new URLSearchParams(T).toString());
4155
4158
  };
4156
4159
  return (S, T) => {
4157
- const u = U("KInput"), k = U("KButton"), E = U("KSelect"), q = U("KMenuItem"), oe = U("KMenu");
4160
+ const u = U("KInput"), k = U("KButton"), E = U("KSelect"), q = U("KMenuItem"), ae = U("KMenu");
4158
4161
  return e.config.isExactMatch ? (v(), P(u, {
4159
4162
  key: 0,
4160
4163
  autocomplete: "off",
@@ -4176,7 +4179,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4176
4179
  }, {
4177
4180
  default: y(() => [
4178
4181
  C(ii),
4179
- G(" " + O(f(t)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4182
+ G(" " + $(f(t)("filter.filterButtonText")) + " " + $(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4180
4183
  ]),
4181
4184
  _: 1
4182
4185
  }),
@@ -4186,7 +4189,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4186
4189
  }, null, 512), [
4187
4190
  [De, n.value]
4188
4191
  ]),
4189
- Re(C(oe, { class: "kong-ui-entity-filter-menu" }, {
4192
+ Re(C(ae, { class: "kong-ui-entity-filter-menu" }, {
4190
4193
  body: y(() => [
4191
4194
  (v(!0), M(ve, null, ye(l.value, (R, I) => (v(), P(q, {
4192
4195
  key: R.value,
@@ -4196,7 +4199,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4196
4199
  }, {
4197
4200
  itemTitle: y(() => [
4198
4201
  N("span", Jl, [
4199
- G(O(R.label) + " ", 1),
4202
+ G($(R.label) + " ", 1),
4200
4203
  Re(N("span", Yl, null, 512), [
4201
4204
  [De, s.value.includes(R.value)]
4202
4205
  ])
@@ -4209,19 +4212,19 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4209
4212
  N("label", {
4210
4213
  class: "menu-item-label",
4211
4214
  for: p(R.value)
4212
- }, O(f(t)("filter.fieldLabel")), 9, Zl),
4215
+ }, $(f(t)("filter.fieldLabel")), 9, Zl),
4213
4216
  ((K = (H = e.config.schema) == null ? void 0 : H[R.value]) == null ? void 0 : K.type) === "select" ? (v(), P(E, {
4214
4217
  key: 0,
4215
4218
  id: p(R.value),
4216
- modelValue: o.value[R.value],
4217
- "onUpdate:modelValue": (B) => o.value[R.value] = B,
4219
+ modelValue: a.value[R.value],
4220
+ "onUpdate:modelValue": (B) => a.value[R.value] = B,
4218
4221
  items: _(R.value),
4219
4222
  placeholder: f(t)("filter.selectPlaceholder")
4220
4223
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (v(), P(u, {
4221
4224
  key: 1,
4222
4225
  id: p(R.value),
4223
- modelValue: o.value[R.value],
4224
- "onUpdate:modelValue": (B) => o.value[R.value] = B,
4226
+ modelValue: a.value[R.value],
4227
+ "onUpdate:modelValue": (B) => a.value[R.value] = B,
4225
4228
  autocomplete: "off",
4226
4229
  placeholder: f(t)("filter.inputPlaceholder"),
4227
4230
  type: h(R.value)
@@ -4232,10 +4235,10 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4232
4235
  appearance: "tertiary",
4233
4236
  "data-testid": "apply-filter",
4234
4237
  size: "small",
4235
- onClick: T[0] || (T[0] = (B) => $(!0))
4238
+ onClick: T[0] || (T[0] = (B) => O(!0))
4236
4239
  }, {
4237
4240
  default: y(() => [
4238
- G(O(f(t)("filter.applyButtonText")), 1)
4241
+ G($(f(t)("filter.applyButtonText")), 1)
4239
4242
  ]),
4240
4243
  _: 1
4241
4244
  }),
@@ -4246,7 +4249,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4246
4249
  onClick: (B) => x(R.value)
4247
4250
  }, {
4248
4251
  default: y(() => [
4249
- G(O(f(t)("filter.clearButtonText")), 1)
4252
+ G($(f(t)("filter.clearButtonText")), 1)
4250
4253
  ]),
4251
4254
  _: 2
4252
4255
  }, 1032, ["onClick"])
@@ -4264,7 +4267,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4264
4267
  onClick: b
4265
4268
  }, {
4266
4269
  default: y(() => [
4267
- G(O(f(t)("filter.clearAllButtonText")), 1)
4270
+ G($(f(t)("filter.clearAllButtonText")), 1)
4268
4271
  ]),
4269
4272
  _: 1
4270
4273
  })
@@ -4309,19 +4312,19 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4309
4312
  },
4310
4313
  emits: ["cancel", "proceed"],
4311
4314
  setup(e, { emit: i }) {
4312
- const { i18n: { t }, i18nT: a } = se.useI18n(), r = e, n = i, o = L(!1), s = j(
4315
+ const { i18n: { t }, i18nT: o } = se.useI18n(), r = e, n = i, a = L(!1), s = j(
4313
4316
  () => r.action === "enable" ? t("toggleModal.enable.title", { entityType: r.entityType }) : t("toggleModal.disable.title", { entityType: r.entityType })
4314
4317
  ), l = j(
4315
4318
  () => r.action === "enable" ? t("toggleModal.enable.confirmText") : t("toggleModal.disable.confirmText")
4316
4319
  ), d = () => n("cancel"), m = async () => {
4317
4320
  if (r.onConfirm) {
4318
- o.value = !0;
4321
+ a.value = !0;
4319
4322
  try {
4320
4323
  await r.onConfirm(), n("proceed");
4321
4324
  } catch (p) {
4322
4325
  console.error(p);
4323
4326
  } finally {
4324
- o.value = !1;
4327
+ a.value = !1;
4325
4328
  }
4326
4329
  }
4327
4330
  };
@@ -4329,7 +4332,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4329
4332
  const h = U("KPrompt");
4330
4333
  return v(), P(cr, { to: "body" }, [
4331
4334
  C(h, {
4332
- "action-button-disabled": o.value,
4335
+ "action-button-disabled": a.value,
4333
4336
  "action-button-text": l.value,
4334
4337
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
4335
4338
  title: s.value,
@@ -4338,15 +4341,15 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4338
4341
  onProceed: m
4339
4342
  }, {
4340
4343
  default: y(() => [
4341
- C(f(a), {
4344
+ C(f(o), {
4342
4345
  keypath: `toggleModal.${r.action}.message`,
4343
4346
  scope: "global"
4344
4347
  }, {
4345
4348
  entityType: y(() => [
4346
- G(O(e.entityType), 1)
4349
+ G($(e.entityType), 1)
4347
4350
  ]),
4348
4351
  entityName: y(() => [
4349
- N("strong", null, O(e.entityName), 1)
4352
+ N("strong", null, $(e.entityName), 1)
4350
4353
  ]),
4351
4354
  _: 1
4352
4355
  }, 8, ["keypath"])
@@ -4378,18 +4381,18 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4378
4381
  }
4379
4382
  },
4380
4383
  setup(e) {
4381
- const i = e, t = L(void 0), a = j(() => t.value === !0 || t.value !== void 0 && i.forceShow === !0);
4384
+ const i = e, t = L(void 0), o = j(() => t.value === !0 || t.value !== void 0 && i.forceShow === !0);
4382
4385
  return _e(() => i.authFunction, async () => {
4383
4386
  t.value = await i.authFunction();
4384
- }, { immediate: !0 }), (r, n) => a.value ? Q(r.$slots, "default", {
4387
+ }, { immediate: !0 }), (r, n) => o.value ? Q(r.$slots, "default", {
4385
4388
  key: 0,
4386
4389
  isAllowed: t.value
4387
4390
  }) : D("", !0);
4388
4391
  }
4389
- }), rs = { class: "form-section-wrapper" }, as = {
4392
+ }), rs = { class: "form-section-wrapper" }, os = {
4390
4393
  key: 0,
4391
4394
  class: "form-section-title"
4392
- }, os = {
4395
+ }, as = {
4393
4396
  key: 1,
4394
4397
  class: "form-section-description"
4395
4398
  }, ns = {
@@ -4421,7 +4424,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4421
4424
  },
4422
4425
  setup(e) {
4423
4426
  const i = rt();
4424
- return (t, a) => (v(), M("fieldset", {
4427
+ return (t, o) => (v(), M("fieldset", {
4425
4428
  class: Ie(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4426
4429
  }, [
4427
4430
  N("div", rs, [
@@ -4429,10 +4432,10 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4429
4432
  key: 0,
4430
4433
  class: Ie(["form-section-info", { sticky: e.stickyInfoHeader }])
4431
4434
  }, [
4432
- e.title ? (v(), M("h4", as, O(e.title), 1)) : D("", !0),
4433
- e.description || f(i).description ? (v(), M("div", os, [
4435
+ e.title ? (v(), M("h4", os, $(e.title), 1)) : D("", !0),
4436
+ e.description || f(i).description ? (v(), M("div", as, [
4434
4437
  Q(t.$slots, "description", {}, () => [
4435
- N("p", null, O(e.description), 1)
4438
+ N("p", null, $(e.description), 1)
4436
4439
  ], !0)
4437
4440
  ])) : D("", !0),
4438
4441
  f(i).footer ? (v(), M("div", ns, [
@@ -4492,9 +4495,9 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4492
4495
  emits: ["error", "copy:success", "copy:error", "delete:success", "toggle:success"],
4493
4496
  setup(e, { emit: i }) {
4494
4497
  var Ue;
4495
- const t = i, a = e, { i18n: { t: r } } = Ze.useI18n(), n = bt(), { axiosInstance: o } = lr({
4496
- headers: (Ue = a.config) == null ? void 0 : Ue.requestHeaders
4497
- }), s = L(1), l = j(() => a.config.app !== "kongManager" || !!a.config.disableSorting), d = {
4498
+ const t = i, o = e, { i18n: { t: r } } = Ze.useI18n(), n = bt(), { axiosInstance: a } = lr({
4499
+ headers: (Ue = o.config) == null ? void 0 : Ue.requestHeaders
4500
+ }), s = L(1), l = j(() => o.config.app !== "kongManager" || !!o.config.disableSorting), d = {
4498
4501
  name: { label: r("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0 },
4499
4502
  protocol: { label: r("gateway_services.list.table_headers.protocol"), searchable: !0, sortable: !0 },
4500
4503
  host: { label: r("gateway_services.list.table_headers.host"), searchable: !0, sortable: !0 },
@@ -4504,31 +4507,31 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4504
4507
  tags: { label: r("gateway_services.list.table_headers.tags"), sortable: !1 }
4505
4508
  }, m = d, p = j(() => {
4506
4509
  var g, V;
4507
- let c = `${a.config.apiBaseUrl}${He.list[a.config.app].all}`;
4508
- return a.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (V = a.config) != null && V.workspace ? `/${a.config.workspace}` : "")), c;
4509
- }), _ = j(() => a.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${p.value}`) : new URL(p.value)), h = L(""), x = j(() => {
4510
- const c = a.config.app === "konnect" || a.config.isExactMatch;
4510
+ let c = `${o.config.apiBaseUrl}${He.list[o.config.app].all}`;
4511
+ return o.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((g = o.config) == null ? void 0 : g.controlPlaneId) || "") : o.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (V = o.config) != null && V.workspace ? `/${o.config.workspace}` : "")), c;
4512
+ }), _ = j(() => o.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${p.value}`) : new URL(p.value)), h = L(""), x = j(() => {
4513
+ const c = o.config.app === "konnect" || o.config.isExactMatch;
4511
4514
  if (c)
4512
4515
  return {
4513
4516
  isExactMatch: c,
4514
- placeholder: r(`search.placeholder.${a.config.app}`)
4517
+ placeholder: r(`search.placeholder.${o.config.app}`)
4515
4518
  };
4516
4519
  const { name: g, enabled: V, protocol: W, host: ie, port: ce, path: w } = d;
4517
4520
  return {
4518
4521
  isExactMatch: c,
4519
4522
  fields: { name: g, enabled: V, protocol: W, host: ie, port: ce, path: w },
4520
- schema: a.config.filterSchema
4523
+ schema: o.config.filterSchema
4521
4524
  };
4522
- }), { fetcher: b, fetcherState: $ } = ds(a.config, p.value), S = () => {
4525
+ }), { fetcher: b, fetcherState: O } = ds(o.config, p.value), S = () => {
4523
4526
  h.value = "";
4524
4527
  }, T = () => {
4525
4528
  s.value++;
4526
4529
  }, u = L(null), k = j(() => ({
4527
- ctaPath: a.config.createRoute,
4530
+ ctaPath: o.config.createRoute,
4528
4531
  ctaText: xe.value ? r("actions.create") : void 0,
4529
4532
  message: r("gateway_services.list.empty_state.description"),
4530
4533
  title: xe.value ? r("gateway_services.list.empty_state.title") : r("gateway_services.title")
4531
- })), E = L(!1), q = L(null), oe = j(() => {
4534
+ })), E = L(!1), q = L(null), ae = j(() => {
4532
4535
  const c = {
4533
4536
  action: "disable",
4534
4537
  id: "",
@@ -4545,11 +4548,11 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4545
4548
  E.value = !1, q.value = null;
4546
4549
  }, H = async () => {
4547
4550
  var W, ie;
4548
- if (!await ((W = a.canEdit) == null ? void 0 : W.call(a, q.value)) || !q.value)
4551
+ if (!await ((W = o.canEdit) == null ? void 0 : W.call(o, q.value)) || !q.value)
4549
4552
  return;
4550
4553
  const g = `${_.value.href}/${q.value.id}`, V = !q.value.enabled;
4551
4554
  try {
4552
- const { data: ce } = ((ie = a.config) == null ? void 0 : ie.app) === "konnect" ? await o.put(g, { ...q.value, enabled: V }) : await o.patch(g, { ...q.value, enabled: V });
4555
+ const { data: ce } = ((ie = o.config) == null ? void 0 : ie.app) === "konnect" ? await a.put(g, { ...q.value, enabled: V }) : await a.patch(g, { ...q.value, enabled: V });
4553
4556
  t("toggle:success", ce);
4554
4557
  } catch (ce) {
4555
4558
  t("error", ce);
@@ -4585,23 +4588,23 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4585
4588
  });
4586
4589
  }, z = async (c) => {
4587
4590
  var V;
4588
- await ((V = a.canRetrieve) == null ? void 0 : V.call(a, c)) && n.push(a.config.getViewRoute(c.id));
4591
+ await ((V = o.canRetrieve) == null ? void 0 : V.call(o, c)) && n.push(o.config.getViewRoute(c.id));
4589
4592
  }, J = (c) => ({
4590
4593
  label: r("actions.view"),
4591
- to: a.config.getViewRoute(c)
4594
+ to: o.config.getViewRoute(c)
4592
4595
  }), X = (c) => ({
4593
4596
  label: r("actions.edit"),
4594
- to: a.config.getEditRoute(c)
4595
- }), Y = L(void 0), ae = L(!1), Z = L(!1), ee = L(""), ue = cs(a.config, p.value), ot = (c) => {
4596
- Y.value = c, ae.value = !0;
4597
- }, Oe = () => {
4598
- ae.value = !1, Y.value = void 0;
4597
+ to: o.config.getEditRoute(c)
4598
+ }), Y = L(void 0), oe = L(!1), Z = L(!1), ee = L(""), ue = cs(o.config, p.value), at = (c) => {
4599
+ Y.value = c, oe.value = !0;
4600
+ }, $e = () => {
4601
+ oe.value = !1, Y.value = void 0;
4599
4602
  }, nt = async () => {
4600
4603
  var c, g, V;
4601
4604
  if ((c = Y.value) != null && c.id) {
4602
4605
  Z.value = !0;
4603
4606
  try {
4604
- await o.delete(ue(Y.value.id)), t("delete:success", Y.value), Oe(), s.value++;
4607
+ await a.delete(ue(Y.value.id)), t("delete:success", Y.value), $e(), s.value++;
4605
4608
  } catch (W) {
4606
4609
  ee.value = ((V = (g = W.response) == null ? void 0 : g.data) == null ? void 0 : V.message) || W.message || r("errors.delete"), t("error", W);
4607
4610
  } finally {
@@ -4609,7 +4612,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4609
4612
  }
4610
4613
  }
4611
4614
  }, Ce = L(!0);
4612
- _e($, (c) => {
4615
+ _e(O, (c) => {
4613
4616
  var g, V, W, ie;
4614
4617
  if (Array.isArray((g = c == null ? void 0 : c.response) == null ? void 0 : g.data) && (Ce.value = c.response.data.length > 0), c.status === Te.Error) {
4615
4618
  u.value = {
@@ -4621,7 +4624,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4621
4624
  });
4622
4625
  const xe = L(!1);
4623
4626
  return ht(async () => {
4624
- xe.value = await a.canCreate();
4627
+ xe.value = await o.canCreate();
4625
4628
  }), (c, g) => {
4626
4629
  const V = U("KButton"), W = U("KInputSwitch"), ie = U("KBadge"), ce = U("KTruncate"), w = U("KDropdownItem"), Ke = U("KClipboardProvider");
4627
4630
  return v(), M("div", ms, [
@@ -4651,7 +4654,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4651
4654
  }, null, 8, ["modelValue", "config"])
4652
4655
  ]),
4653
4656
  "toolbar-button": y(() => [
4654
- (v(), P($e(e.useActionOutside ? "Teleport" : "div"), {
4657
+ (v(), P(Oe(e.useActionOutside ? "Teleport" : "div"), {
4655
4658
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4656
4659
  }, {
4657
4660
  default: y(() => [
@@ -4666,7 +4669,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4666
4669
  to: e.config.createRoute
4667
4670
  }, {
4668
4671
  default: y(() => [
4669
- G(O(f(r)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4672
+ G($(f(r)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4670
4673
  ]),
4671
4674
  _: 1
4672
4675
  }, 8, ["to"]), [
@@ -4680,7 +4683,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4680
4683
  }, 8, ["to"]))
4681
4684
  ]),
4682
4685
  name: y(({ rowValue: A }) => [
4683
- N("b", null, O(A ?? "-"), 1)
4686
+ N("b", null, $(A ?? "-"), 1)
4684
4687
  ]),
4685
4688
  enabled: y(({ row: A }) => [
4686
4689
  C(f(Be), {
@@ -4714,7 +4717,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4714
4717
  }, ["stop"]))
4715
4718
  }, {
4716
4719
  default: y(() => [
4717
- G(O(we), 1)
4720
+ G($(we), 1)
4718
4721
  ]),
4719
4722
  _: 2
4720
4723
  }, 1024))), 128))
@@ -4730,7 +4733,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4730
4733
  onClick: (We) => K(A, we)
4731
4734
  }, {
4732
4735
  default: y(() => [
4733
- G(O(f(r)("actions.copy_id")), 1)
4736
+ G($(f(r)("actions.copy_id")), 1)
4734
4737
  ]),
4735
4738
  _: 2
4736
4739
  }, 1032, ["onClick"])
@@ -4744,7 +4747,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4744
4747
  onClick: (We) => B(A, we)
4745
4748
  }, {
4746
4749
  default: y(() => [
4747
- G(O(f(r)("actions.copy_json")), 1)
4750
+ G($(f(r)("actions.copy_json")), 1)
4748
4751
  ]),
4749
4752
  _: 2
4750
4753
  }, 1032, ["onClick"])
@@ -4782,10 +4785,10 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4782
4785
  danger: "",
4783
4786
  "data-testid": "action-entity-delete",
4784
4787
  "has-divider": "",
4785
- onClick: (we) => ot(A)
4788
+ onClick: (we) => at(A)
4786
4789
  }, {
4787
4790
  default: y(() => [
4788
- G(O(f(r)("actions.delete.menu_label")), 1)
4791
+ G($(f(r)("actions.delete.menu_label")), 1)
4789
4792
  ]),
4790
4793
  _: 2
4791
4794
  }, 1032, ["onClick"])
@@ -4796,9 +4799,9 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4796
4799
  _: 1
4797
4800
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4798
4801
  C(f(is), {
4799
- action: oe.value.action,
4800
- "entity-id": oe.value.id,
4801
- "entity-name": oe.value.name,
4802
+ action: ae.value.action,
4803
+ "entity-id": ae.value.id,
4804
+ "entity-name": ae.value.name,
4802
4805
  "entity-type": f(r)("glossary.gateway_services"),
4803
4806
  "on-confirm": H,
4804
4807
  visible: E.value,
@@ -4812,8 +4815,8 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4812
4815
  "entity-type": f(di).GatewayService,
4813
4816
  error: ee.value,
4814
4817
  title: f(r)("actions.delete.title"),
4815
- visible: ae.value,
4816
- onCancel: Oe,
4818
+ visible: oe.value,
4819
+ onCancel: $e,
4817
4820
  onProceed: nt
4818
4821
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
4819
4822
  ]);
@@ -4821,8 +4824,8 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4821
4824
  }
4822
4825
  }), sr = (e, i) => {
4823
4826
  const t = e.__vccOpts || e;
4824
- for (const [a, r] of i)
4825
- t[a] = r;
4827
+ for (const [o, r] of i)
4828
+ t[o] = r;
4826
4829
  return t;
4827
4830
  }, zs = /* @__PURE__ */ sr(ys, [["__scopeId", "data-v-c57dea66"]]), vs = { class: "kong-ui-entities-gateway-service-form" }, hs = { key: 0 }, bs = { class: "gateway-service-form-traffic-label" }, ws = { class: "gateway-service-form-margin-bottom" }, _s = {
4828
4831
  key: 0,
@@ -4836,10 +4839,10 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4836
4839
  }, Ms = {
4837
4840
  key: 1,
4838
4841
  class: "gateway-service-form-margin-bottom"
4839
- }, $s = {
4842
+ }, Os = {
4840
4843
  key: 2,
4841
4844
  class: "gateway-service-form-margin-bottom"
4842
- }, Os = {
4845
+ }, $s = {
4843
4846
  key: 0,
4844
4847
  class: "checkbox-aligned-radio"
4845
4848
  }, Es = {
@@ -4870,9 +4873,9 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4870
4873
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
4871
4874
  setup(e, { expose: i, emit: t }) {
4872
4875
  var Ue;
4873
- const a = t, r = e, n = L(!0), o = bt(), { i18nT: s, i18n: { t: l } } = Ze.useI18n(), { getMessageFromError: d } = us(), { axiosInstance: m } = lr({
4876
+ const o = t, r = e, n = L(!0), a = bt(), { i18nT: s, i18n: { t: l } } = Ze.useI18n(), { getMessageFromError: d } = us(), { axiosInstance: m } = lr({
4874
4877
  headers: (Ue = r.config) == null ? void 0 : Ue.requestHeaders
4875
- }), p = j(() => He.form[r.config.app].edit), _ = j(() => r.gatewayServiceId ? pt.Edit : pt.Create), h = L(!1), x = j(() => !!r.gatewayServiceId), b = L(x.value ? "protocol" : "url"), $ = Ze.usePortFromProtocol(), S = L(""), T = j(() => !!S.value), u = Mt({
4878
+ }), p = j(() => He.form[r.config.app].edit), _ = j(() => r.gatewayServiceId ? pt.Edit : pt.Create), h = L(!1), x = j(() => !!r.gatewayServiceId), b = L(x.value ? "protocol" : "url"), O = Ze.usePortFromProtocol(), S = L(""), T = j(() => !!S.value), u = Mt({
4876
4879
  fields: {
4877
4880
  name: "",
4878
4881
  protocol: "http",
@@ -4967,7 +4970,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4967
4970
  value: "udp",
4968
4971
  group: "udp"
4969
4972
  }
4970
- ], oe = { url: "url", protocol: "protocol" }, R = (c, g) => {
4973
+ ], ae = { url: "url", protocol: "protocol" }, R = (c, g) => {
4971
4974
  g.value;
4972
4975
  }, I = (c) => c ? parseFloat(c) : 0, H = () => {
4973
4976
  n.value = !0, u.errorMessage = "", u.fields.host = k.host, u.fields.path = k.path, u.fields.port = k.port, u.fields.protocol = k.protocol, u.fields.url = k.url, u.fields.retries = k.retries, u.fields.connect_timeout = k.connect_timeout, u.fields.write_timeout = k.write_timeout, u.fields.read_timeout = k.read_timeout, u.fields.client_certificate = k.client_certificate, u.fields.ca_certificates = k.ca_certificates, u.fields.tls_verify_enabled = k.tls_verify_enabled, u.fields.tls_verify_value = k.tls_verify_value;
@@ -4977,12 +4980,12 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4977
4980
  const c = new URL(u.fields.url);
4978
4981
  u.errorMessage = "", u.fields.protocol = c.protocol.slice(0, -1), u.fields.host = c.hostname, u.fields.path = c.pathname;
4979
4982
  const g = Number(c.port);
4980
- h.value = !!g, u.fields.port = g || $.getPortFromProtocol(u.fields.protocol), u.errorMessage = "", a("url-valid:success");
4983
+ h.value = !!g, u.fields.port = g || O.getPortFromProtocol(u.fields.protocol), u.errorMessage = "", o("url-valid:success");
4981
4984
  } catch (c) {
4982
- u.errorMessage = l("errors.urlErrorMessage"), a("url-valid:error", d(c));
4985
+ u.errorMessage = l("errors.urlErrorMessage"), o("url-valid:error", d(c));
4983
4986
  }
4984
4987
  else
4985
- a("url-valid:success"), u.errorMessage = "";
4988
+ o("url-valid:success"), u.errorMessage = "";
4986
4989
  }, B = j(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(u.fields.protocol)), z = j(() => {
4987
4990
  if (b.value === "url")
4988
4991
  return !0;
@@ -4998,18 +5001,18 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
4998
5001
  return !0;
4999
5002
  const c = ["https", "wss", "tls"].includes(u.fields.protocol);
5000
5003
  return b.value === "protocol" && c;
5001
- }), Y = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : l("errors.validationNameError"), ae = (c) => {
5004
+ }), Y = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : l("errors.validationNameError"), oe = (c) => {
5002
5005
  S.value = Y(c);
5003
5006
  }, Z = j(() => x.value && JSON.stringify(u.fields) !== JSON.stringify(k) || b.value === "url" && !!u.fields.url || b.value === "protocol" && !!u.fields.host), ee = (c) => {
5004
5007
  var g, V, W;
5005
5008
  u.fields.name = (c == null ? void 0 : c.name) || "", u.fields.tags = ((g = c == null ? void 0 : c.tags) == null ? void 0 : g.join(",")) || "", u.fields.protocol = (c == null ? void 0 : c.protocol) || "http", u.fields.path = (c == null ? void 0 : c.path) || "", u.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, u.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, u.fields.host = (c == null ? void 0 : c.host) || "", u.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, u.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, u.fields.tls_verify_value = c != null && c.tls_verify ? c == null ? void 0 : c.tls_verify : !1, u.fields.ca_certificates = ((V = c == null ? void 0 : c.ca_certificates) == null ? void 0 : V.join(",")) || "", u.fields.client_certificate = ((W = c == null ? void 0 : c.client_certificate) == null ? void 0 : W.id) || "", u.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, u.fields.port = c != null && c.port || (c == null ? void 0 : c.port) === 0 ? c == null ? void 0 : c.port : 80, Object.assign(k, u.fields);
5006
5009
  }, ue = () => {
5007
- o.push(r.config.cancelRoute);
5008
- }, ot = j(() => {
5010
+ a.push(r.config.cancelRoute);
5011
+ }, at = j(() => {
5009
5012
  var g, V;
5010
5013
  let c = `${r.config.apiBaseUrl}${He.form[r.config.app].validate}`;
5011
5014
  return r.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (V = r.config) != null && V.workspace ? `/${r.config.workspace}` : "")), c = c.replace(/{id}/gi, r.gatewayServiceId), c;
5012
- }), Oe = j(() => {
5015
+ }), $e = j(() => {
5013
5016
  var g, V;
5014
5017
  let c = `${r.config.apiBaseUrl}${He.form[r.config.app][_.value]}`;
5015
5018
  return r.config.app === "konnect" ? c = c.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (c = c.replace(/\/{workspace}/gi, (V = r.config) != null && V.workspace ? `/${r.config.workspace}` : "")), c = c.replace(/{id}/gi, r.gatewayServiceId), c;
@@ -5043,13 +5046,13 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5043
5046
  const ie = Ce.value;
5044
5047
  nt(ie);
5045
5048
  let ce;
5046
- if (await m.post(ot.value, ie), _.value === "create" ? ce = await m.post(Oe.value, ie) : _.value === "edit" && (ce = ((c = r.config) == null ? void 0 : c.app) === "konnect" ? await m.put(Oe.value, ie) : await m.patch(Oe.value, ie)), ce) {
5049
+ if (await m.post(at.value, ie), _.value === "create" ? ce = await m.post($e.value, ie) : _.value === "edit" && (ce = ((c = r.config) == null ? void 0 : c.app) === "konnect" ? await m.put($e.value, ie) : await m.patch($e.value, ie)), ce) {
5047
5050
  const { data: w } = ce;
5048
- u.fields.name = (w == null ? void 0 : w.name) || "", u.fields.port = w.port || $.getPortFromProtocol(w.protocol), u.fields.protocol = (w == null ? void 0 : w.protocol) || "http", u.fields.host = (w == null ? void 0 : w.host) || "", u.fields.path = (w == null ? void 0 : w.path) || "", u.fields.url = (w == null ? void 0 : w.url) || "", u.fields.retries = w != null && w.retries || (w == null ? void 0 : w.retries) === 0 ? w == null ? void 0 : w.retries : 5, u.fields.connect_timeout = w != null && w.connect_timeout || (w == null ? void 0 : w.connect_timeout) === 0 ? w == null ? void 0 : w.connect_timeout : 6e4, u.fields.write_timeout = w != null && w.write_timeout || (w == null ? void 0 : w.write_timeout) === 0 ? w == null ? void 0 : w.write_timeout : 6e4, u.fields.read_timeout = w != null && w.read_timeout || (w == null ? void 0 : w.read_timeout) === 0 ? w == null ? void 0 : w.read_timeout : 6e4, u.fields.client_certificate = ((g = w == null ? void 0 : w.client_certificate) == null ? void 0 : g.id) || "", u.fields.ca_certificates = (V = w == null ? void 0 : w.ca_certificates) != null && V.length ? w == null ? void 0 : w.ca_certificates.join(",") : "", u.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, u.fields.tls_verify_value = u.fields.tls_verify_enabled && (w == null ? void 0 : w.tls_verify), u.fields.tags = (W = w == null ? void 0 : w.tags) != null && W.length ? w == null ? void 0 : w.tags.join(",") : "", Object.assign(k, u.fields), a("update", ce == null ? void 0 : ce.data);
5051
+ u.fields.name = (w == null ? void 0 : w.name) || "", u.fields.port = w.port || O.getPortFromProtocol(w.protocol), u.fields.protocol = (w == null ? void 0 : w.protocol) || "http", u.fields.host = (w == null ? void 0 : w.host) || "", u.fields.path = (w == null ? void 0 : w.path) || "", u.fields.url = (w == null ? void 0 : w.url) || "", u.fields.retries = w != null && w.retries || (w == null ? void 0 : w.retries) === 0 ? w == null ? void 0 : w.retries : 5, u.fields.connect_timeout = w != null && w.connect_timeout || (w == null ? void 0 : w.connect_timeout) === 0 ? w == null ? void 0 : w.connect_timeout : 6e4, u.fields.write_timeout = w != null && w.write_timeout || (w == null ? void 0 : w.write_timeout) === 0 ? w == null ? void 0 : w.write_timeout : 6e4, u.fields.read_timeout = w != null && w.read_timeout || (w == null ? void 0 : w.read_timeout) === 0 ? w == null ? void 0 : w.read_timeout : 6e4, u.fields.client_certificate = ((g = w == null ? void 0 : w.client_certificate) == null ? void 0 : g.id) || "", u.fields.ca_certificates = (V = w == null ? void 0 : w.ca_certificates) != null && V.length ? w == null ? void 0 : w.ca_certificates.join(",") : "", u.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, u.fields.tls_verify_value = u.fields.tls_verify_enabled && (w == null ? void 0 : w.tls_verify), u.fields.tags = (W = w == null ? void 0 : w.tags) != null && W.length ? w == null ? void 0 : w.tags.join(",") : "", Object.assign(k, u.fields), o("update", ce == null ? void 0 : ce.data);
5049
5052
  }
5050
5053
  return ce;
5051
5054
  } catch (ie) {
5052
- u.errorMessage = d(ie), a("error", ie);
5055
+ u.errorMessage = d(ie), o("error", ie);
5053
5056
  } finally {
5054
5057
  u.isReadonly = !1;
5055
5058
  }
@@ -5057,9 +5060,9 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5057
5060
  return _e(() => r.gatewayServiceId, () => {
5058
5061
  Object.assign(u.fields, k);
5059
5062
  }), _e(u.fields, (c) => {
5060
- u.fields.port = $.getPortFromProtocol(c.protocol, String(c.port)), a("model-updated", Ce.value);
5063
+ u.fields.port = O.getPortFromProtocol(c.protocol, String(c.port)), o("model-updated", Ce.value);
5061
5064
  }), ni(() => {
5062
- a("model-updated", Ce.value);
5065
+ o("model-updated", Ce.value);
5063
5066
  }), i({
5064
5067
  validateUrl: K,
5065
5068
  getPayload: Ce,
@@ -5110,7 +5113,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5110
5113
  placeholder: f(l)("gateway_services.form.fields.name.placeholder"),
5111
5114
  readonly: u.isReadonly,
5112
5115
  type: "text",
5113
- onInput: ae
5116
+ onInput: oe
5114
5117
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
5115
5118
  C(V, {
5116
5119
  modelValue: u.fields.tags,
@@ -5139,7 +5142,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5139
5142
  N("div", bs, [
5140
5143
  C(W, { required: "" }, {
5141
5144
  default: y(() => [
5142
- G(O(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
5145
+ G($(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
5143
5146
  ]),
5144
5147
  _: 1
5145
5148
  })
@@ -5149,11 +5152,11 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5149
5152
  modelValue: b.value,
5150
5153
  "onUpdate:modelValue": g[2] || (g[2] = (A) => b.value = A),
5151
5154
  "data-testid": "gateway-service-url-radio",
5152
- "selected-value": oe.url,
5155
+ "selected-value": ae.url,
5153
5156
  onChange: H
5154
5157
  }, {
5155
5158
  default: y(() => [
5156
- G(O(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
5159
+ G($(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
5157
5160
  ]),
5158
5161
  _: 1
5159
5162
  }, 8, ["modelValue", "selected-value"])
@@ -5179,11 +5182,11 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5179
5182
  "onUpdate:modelValue": g[4] || (g[4] = (A) => b.value = A),
5180
5183
  "checked-group": "protocol",
5181
5184
  "data-testid": "gateway-service-protocol-radio",
5182
- "selected-value": oe.protocol,
5185
+ "selected-value": ae.protocol,
5183
5186
  onChange: H
5184
5187
  }, {
5185
5188
  default: y(() => [
5186
- G(O(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5189
+ G($(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5187
5190
  ]),
5188
5191
  _: 1
5189
5192
  }, 8, ["modelValue", "selected-value"])
@@ -5364,10 +5367,10 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5364
5367
  scope: "global"
5365
5368
  }, {
5366
5369
  code1: y(() => [
5367
- N("code", null, O(f(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5370
+ N("code", null, $(f(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5368
5371
  ]),
5369
5372
  code2: y(() => [
5370
- N("code", null, O(f(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5373
+ N("code", null, $(f(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5371
5374
  ]),
5372
5375
  _: 1
5373
5376
  })
@@ -5375,7 +5378,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5375
5378
  _: 1
5376
5379
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5377
5380
  ])) : D("", !0),
5378
- X.value ? (v(), M("div", $s, [
5381
+ X.value ? (v(), M("div", Os, [
5379
5382
  C(w, {
5380
5383
  modelValue: u.fields.tls_verify_enabled,
5381
5384
  "onUpdate:modelValue": g[21] || (g[21] = (A) => u.fields.tls_verify_enabled = A),
@@ -5389,14 +5392,14 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5389
5392
  scope: "global"
5390
5393
  }, {
5391
5394
  code1: y(() => [
5392
- N("code", null, O(f(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5395
+ N("code", null, $(f(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5393
5396
  ]),
5394
5397
  _: 1
5395
5398
  })
5396
5399
  ]),
5397
5400
  _: 1
5398
5401
  }, 8, ["modelValue", "description", "label"]),
5399
- u.fields.tls_verify_enabled ? (v(), M("div", Os, [
5402
+ u.fields.tls_verify_enabled ? (v(), M("div", $s, [
5400
5403
  C(ie, {
5401
5404
  modelValue: u.fields.tls_verify_value,
5402
5405
  "onUpdate:modelValue": g[22] || (g[22] = (A) => u.fields.tls_verify_value = A),
@@ -5455,7 +5458,7 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5455
5458
  },
5456
5459
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
5457
5460
  setup(e) {
5458
- const i = e, { i18n: { t }, i18nT: a } = Ze.useI18n(), r = j(() => He.form[i.config.app].edit), { getPropValue: n } = ps(), 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 = L({
5461
+ const i = e, { i18n: { t }, i18nT: o } = Ze.useI18n(), r = j(() => He.form[i.config.app].edit), { getPropValue: n } = ps(), a = (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 = L({
5459
5462
  id: {},
5460
5463
  name: {
5461
5464
  tooltip: t("gateway_services.form.fields.name.tooltip")
@@ -5528,49 +5531,49 @@ const al = { class: "yaml-config" }, nr = /* @__PURE__ */ re({
5528
5531
  onLoading: d[3] || (d[3] = (m) => l.$emit("loading", m))
5529
5532
  }, {
5530
5533
  "enabled-label-tooltip": y(() => [
5531
- C(f(a), {
5534
+ C(f(o), {
5532
5535
  keypath: "gateway_services.form.fields.enabled.tooltip",
5533
5536
  scope: "global"
5534
5537
  }, {
5535
5538
  false: y(() => [
5536
- N("code", null, O(f(t)("gateway_services.form.fields.enabled.false")), 1)
5539
+ N("code", null, $(f(t)("gateway_services.form.fields.enabled.false")), 1)
5537
5540
  ]),
5538
5541
  true: y(() => [
5539
- N("code", null, O(f(t)("gateway_services.form.fields.enabled.true")), 1)
5542
+ N("code", null, $(f(t)("gateway_services.form.fields.enabled.true")), 1)
5540
5543
  ]),
5541
5544
  _: 1
5542
5545
  })
5543
5546
  ]),
5544
5547
  "ca_certificates-label-tooltip": y(() => [
5545
- C(f(a), {
5548
+ C(f(o), {
5546
5549
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5547
5550
  scope: "global"
5548
5551
  }, {
5549
5552
  code1: y(() => [
5550
- N("code", null, O(f(t)("gateway_services.form.fields.ca_certificates.code1")), 1)
5553
+ N("code", null, $(f(t)("gateway_services.form.fields.ca_certificates.code1")), 1)
5551
5554
  ]),
5552
5555
  code2: y(() => [
5553
- N("code", null, O(f(t)("gateway_services.form.fields.ca_certificates.code2")), 1)
5556
+ N("code", null, $(f(t)("gateway_services.form.fields.ca_certificates.code2")), 1)
5554
5557
  ]),
5555
5558
  _: 1
5556
5559
  })
5557
5560
  ]),
5558
5561
  "tls_verify-label-tooltip": y(() => [
5559
- C(f(a), {
5562
+ C(f(o), {
5560
5563
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5561
5564
  scope: "global"
5562
5565
  }, {
5563
5566
  code1: y(() => [
5564
- N("code", null, O(f(t)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5567
+ N("code", null, $(f(t)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5565
5568
  ]),
5566
5569
  _: 1
5567
5570
  })
5568
5571
  ]),
5569
5572
  tls_verify: y((m) => [
5570
- G(O(typeof f(n)("rowValue", m) == "boolean" ? o("rowValue", m) : f(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5573
+ G($(typeof f(n)("rowValue", m) == "boolean" ? a("rowValue", m) : f(t)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5571
5574
  ]),
5572
5575
  client_certificate: y((m) => [
5573
- G(O(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5576
+ G($(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5574
5577
  ]),
5575
5578
  _: 1
5576
5579
  }, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])