@kong-ui-public/entities-gateway-services 2.2.7 → 2.2.8-pr.1001.eb6db247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as b, createBlock as P, Teleport as ii, createVNode as C, withCtx as y, unref as m, createTextVNode as J, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Fe, withDirectives as Ue, vShow as Re, useCssVars as ra, resolveDynamicComponent as Ne, normalizeProps as oa, guardReactiveProps as na, mergeProps as ut, onMounted as ai, onUnmounted as la, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as ni, reactive as $t } from "vue";
1
+ import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as b, createBlock as P, Teleport as oa, createVNode as C, withCtx as y, unref as m, createTextVNode as J, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Ne, withDirectives as Ue, vShow as Re, useCssVars as na, resolveDynamicComponent as Me, normalizeProps as ii, guardReactiveProps as ai, mergeProps as ut, onMounted as ri, onUnmounted as la, normalizeStyle as oi, inject as sa, pushScopeId as ni, popScopeId as li, reactive as $t } from "vue";
2
2
  import { useRouter as ht } from "vue-router";
3
- import { createI18n as bt, i18nTComponent as li } from "@kong-ui-public/i18n";
3
+ import { createI18n as bt, i18nTComponent as si } from "@kong-ui-public/i18n";
4
4
  import ca from "axios";
5
5
  import { BadgeMethodAppearances as ua } from "@kong/kongponents";
6
6
  const da = {
@@ -186,7 +186,7 @@ function ha() {
186
186
  const e = bt("en-us", va);
187
187
  return {
188
188
  i18n: e,
189
- i18nT: li(e)
189
+ i18nT: si(e)
190
190
  // Translation component <i18n-t>
191
191
  };
192
192
  }
@@ -237,7 +237,7 @@ const Ye = {
237
237
  }
238
238
  }
239
239
  };
240
- var si = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(si || {}), dt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(dt || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ae || {}), ee = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ee || {}), de = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(de || {});
240
+ var ci = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(ci || {}), dt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(dt || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ae || {}), ee = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ee || {}), de = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(de || {});
241
241
  function wt(e = {}) {
242
242
  return {
243
243
  axiosInstance: ca.create({
@@ -397,11 +397,11 @@ function _t() {
397
397
  const e = bt("en-us", Ea);
398
398
  return {
399
399
  i18n: e,
400
- i18nT: li(e)
400
+ i18nT: si(e)
401
401
  // Translation component <i18n-t>
402
402
  };
403
403
  }
404
- function ci() {
404
+ function ui() {
405
405
  const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, i = (t, a) => {
406
406
  if (t.length !== a.length)
407
407
  return !1;
@@ -457,7 +457,7 @@ function Oa(e, i, t, a = {
457
457
  }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), h = N(void 0), S = m(i);
458
458
  let k = `${e.apiBaseUrl}${S}`;
459
459
  e.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
460
- const { isValidUuid: v } = ci(), $ = async () => {
460
+ const { isValidUuid: v } = ui(), $ = async () => {
461
461
  try {
462
462
  u.value = !0;
463
463
  const { data: x } = await r.get(`${k}?size=${t}`);
@@ -568,7 +568,7 @@ function Na(e) {
568
568
  return console.warn("Failed to build valid URL:", a), "";
569
569
  }
570
570
  }
571
- function ui(e, i) {
571
+ function di(e, i) {
572
572
  const t = N(m(e)), a = N(m(i)), r = T(
573
573
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
574
574
  ), o = T(
@@ -589,7 +589,7 @@ function ui(e, i) {
589
589
  function Ka(e, i, t = "data") {
590
590
  const a = m(i), { axiosInstance: r } = wt({
591
591
  headers: e.requestHeaders
592
- }), o = ui(e, a), l = N({
592
+ }), o = di(e, a), l = N({
593
593
  status: Ae.Idle
594
594
  });
595
595
  return { fetcher: async (n) => {
@@ -635,10 +635,10 @@ function La() {
635
635
  convertKeyToTitle: e
636
636
  };
637
637
  }
638
- const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Mt = (e) => {
638
+ const pi = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Mt = (e) => {
639
639
  if (typeof e != "string")
640
640
  throw new TypeError("Invalid argument expected string");
641
- const i = e.match(di);
641
+ const i = e.match(pi);
642
642
  if (!i)
643
643
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
644
644
  return i.shift(), i;
@@ -663,20 +663,20 @@ const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
663
663
  }, Vt = (e, i, t) => {
664
664
  Ua(t);
665
665
  const a = Pa(e, i);
666
- return pi[t].includes(a);
667
- }, pi = {
666
+ return fi[t].includes(a);
667
+ }, fi = {
668
668
  ">": [1],
669
669
  ">=": [0, 1],
670
670
  "=": [0],
671
671
  "<=": [-1, 0],
672
672
  "<": [-1],
673
673
  "!=": [-1, 1]
674
- }, Ft = Object.keys(pi), Ua = (e) => {
674
+ }, Ft = Object.keys(fi), Ua = (e) => {
675
675
  if (typeof e != "string")
676
676
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
677
677
  if (Ft.indexOf(e) === -1)
678
678
  throw new Error(`Invalid operator, expected one of ${Ft.join("|")}`);
679
- }, Ra = (e) => typeof e == "string" && /^[v\d]/.test(e) && di.test(e);
679
+ }, Ra = (e) => typeof e == "string" && /^[v\d]/.test(e) && pi.test(e);
680
680
  function Da(e) {
681
681
  const { gatewayInfo: i, supportedRange: t } = e;
682
682
  if (!i)
@@ -705,8 +705,8 @@ const le = {
705
705
  useErrors: Fa,
706
706
  useExternalLinkCreator: Na,
707
707
  useFetcher: Ka,
708
- useFetchUrlBuilder: ui,
709
- useHelpers: ci,
708
+ useFetchUrlBuilder: di,
709
+ useHelpers: ui,
710
710
  useStringHelpers: La,
711
711
  useI18n: _t,
712
712
  useGatewayFeatureSupported: Da,
@@ -725,7 +725,7 @@ const le = {
725
725
  for (const [a, r] of i)
726
726
  t[a] = r;
727
727
  return t;
728
- }, Za = (e) => (oi("data-v-641e0aee"), e = e(), ni(), e), Qa = ["aria-hidden"], Xa = {
728
+ }, Za = (e) => (ni("data-v-641e0aee"), e = e(), li(), e), Qa = ["aria-hidden"], Xa = {
729
729
  key: 0,
730
730
  "data-testid": "kui-icon-svg-title"
731
731
  }, er = /* @__PURE__ */ Za(() => /* @__PURE__ */ F("path", {
@@ -800,11 +800,11 @@ const le = {
800
800
  lineHeight: "0",
801
801
  width: t.value
802
802
  }));
803
- return (r, o) => (b(), P(Ne(e.as), {
803
+ return (r, o) => (b(), P(Me(e.as), {
804
804
  "aria-hidden": e.decorative ? "true" : void 0,
805
805
  class: "kui-icon copy-icon",
806
806
  "data-testid": "kui-icon-wrapper-copy-icon",
807
- style: ri(a.value)
807
+ style: oi(a.value)
808
808
  }, {
809
809
  default: y(() => [
810
810
  (b(), M("svg", {
@@ -905,7 +905,7 @@ const le = {
905
905
  return (w, h) => {
906
906
  const S = L("KClipboardProvider");
907
907
  return b(), M("div", rr, [
908
- e.format !== "hidden" ? (b(), P(Ne(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
908
+ e.format !== "hidden" ? (b(), P(Me(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
909
909
  default: y(() => [
910
910
  F("div", {
911
911
  class: $e([
@@ -917,7 +917,7 @@ const le = {
917
917
  ]),
918
918
  _: 1
919
919
  }, 16)) : D("", !0),
920
- (b(), P(Ne(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
920
+ (b(), P(Me(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
921
921
  default: y(() => [
922
922
  C(S, null, {
923
923
  default: y(({ copyToClipboard: k }) => [
@@ -925,7 +925,7 @@ const le = {
925
925
  "data-testid": "copy-to-clipboard",
926
926
  role: "button",
927
927
  tabindex: "0",
928
- onClick: Fe((v) => p(k), ["stop"])
928
+ onClick: Ne((v) => p(k), ["stop"])
929
929
  }, [
930
930
  C(m(ir), {
931
931
  class: "uuid-icon",
@@ -949,7 +949,7 @@ const le = {
949
949
  for (const [a, r] of i)
950
950
  t[a] = r;
951
951
  return t;
952
- }, fi = /* @__PURE__ */ lr(nr, [["__scopeId", "data-v-0c07874b"]]), sr = {
952
+ }, mi = /* @__PURE__ */ lr(nr, [["__scopeId", "data-v-0c07874b"]]), sr = {
953
953
  key: 0,
954
954
  class: "config-card-fieldset-title"
955
955
  }, cr = /* @__PURE__ */ ae({
@@ -976,7 +976,7 @@ const le = {
976
976
  var u;
977
977
  return i.isArrayItem ? (u = o.value) != null && u.name ? a(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: i.index }) : "";
978
978
  });
979
- return (u, d) => (b(), P(Ne(e.isArrayItem ? "fieldset" : "div"), {
979
+ return (u, d) => (b(), P(Me(e.isArrayItem ? "fieldset" : "div"), {
980
980
  class: $e(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
981
981
  }, {
982
982
  default: y(() => [
@@ -1000,7 +1000,7 @@ const le = {
1000
1000
  for (const [a, r] of i)
1001
1001
  t[a] = r;
1002
1002
  return t;
1003
- }, mi = /* @__PURE__ */ ve(cr, [["__scopeId", "data-v-68ca83ec"]]), ur = /* @__PURE__ */ ae({
1003
+ }, gi = /* @__PURE__ */ ve(cr, [["__scopeId", "data-v-68ca83ec"]]), ur = /* @__PURE__ */ ae({
1004
1004
  __name: "InternalLinkItem",
1005
1005
  props: {
1006
1006
  item: {
@@ -1051,7 +1051,7 @@ const le = {
1051
1051
  }
1052
1052
  }), fr = "#0044f4", mr = "#e0e4ea", gr = "#3a3f51", yr = "1px", vr = "20px", hr = { class: "config-card-details-row" }, br = ["data-testid"], wr = ["data-testid"], _r = ["data-testid"], kr = ["data-testid"], Cr = { key: 1 }, Sr = ["data-testid"], Ir = ["data-testid"], Ar = ["data-testid"], xr = ["data-testid"], Tr = {
1053
1053
  name: "ConfigCardItem",
1054
- components: { CopyUuid: fi, JsonCardItem: mi, StatusBadge: pr, InternalLinkItem: dr }
1054
+ components: { CopyUuid: mi, JsonCardItem: gi, StatusBadge: pr, InternalLinkItem: dr }
1055
1055
  }, $r = /* @__PURE__ */ ae({
1056
1056
  ...Tr,
1057
1057
  props: {
@@ -1073,7 +1073,7 @@ const le = {
1073
1073
  emits: ["navigation-click"],
1074
1074
  setup(e, { emit: i }) {
1075
1075
  const t = e;
1076
- ra((h) => ({
1076
+ na((h) => ({
1077
1077
  "0da74440": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1078
1078
  "02a039da": u.value && l.value ? "block" : "flex",
1079
1079
  "690f3ced": u.value && l.value ? "100%" : t.slim ? "50%" : "25%",
@@ -1244,7 +1244,7 @@ const le = {
1244
1244
  rowValue: e.item.value
1245
1245
  }, () => [
1246
1246
  l.value ? (b(), M("div", Cr, [
1247
- (b(), P(Ne(f.value.tag), oa(na(f.value.attrs)), {
1247
+ (b(), P(Me(f.value.tag), ii(ai(f.value.attrs)), {
1248
1248
  default: y(() => [
1249
1249
  f.value.additionalComponent === "KBadge" ? (b(), M("div", {
1250
1250
  key: 0,
@@ -1268,7 +1268,7 @@ const le = {
1268
1268
  class: "copy-uuid-array",
1269
1269
  "data-testid": `${e.item.key}-copy-uuid-array`
1270
1270
  }, [
1271
- (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(m(fi), ut(f.value.childAttrs, {
1271
+ (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(m(mi), ut(f.value.childAttrs, {
1272
1272
  key: `${e.item.key}-copy-uuid-${E}`,
1273
1273
  "data-testid": `${e.item.key}-copy-uuid-${E}`,
1274
1274
  uuid: s
@@ -1294,7 +1294,7 @@ const le = {
1294
1294
  key: 3,
1295
1295
  "data-testid": `${t.item.key}-json-array-content`
1296
1296
  }, [
1297
- (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(mi, {
1297
+ (b(!0), M(ye, null, ge(e.item.value, (s, E) => (b(), P(gi, {
1298
1298
  key: `json-array-item-${E}`,
1299
1299
  index: E,
1300
1300
  "is-array-item": "",
@@ -1327,14 +1327,14 @@ const le = {
1327
1327
  }
1328
1328
  }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-9c87856b"]]);
1329
1329
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1330
- function gi(e) {
1330
+ function yi(e) {
1331
1331
  return typeof e > "u" || e === null;
1332
1332
  }
1333
1333
  function Mr(e) {
1334
1334
  return typeof e == "object" && e !== null;
1335
1335
  }
1336
1336
  function jr(e) {
1337
- return Array.isArray(e) ? e : gi(e) ? [] : [e];
1337
+ return Array.isArray(e) ? e : yi(e) ? [] : [e];
1338
1338
  }
1339
1339
  function Er(e, i) {
1340
1340
  var t, a, r, o;
@@ -1352,7 +1352,7 @@ function Or(e, i) {
1352
1352
  function Vr(e) {
1353
1353
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1354
1354
  }
1355
- var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, ne = {
1355
+ var Fr = yi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, ne = {
1356
1356
  isNothing: Fr,
1357
1357
  isObject: Nr,
1358
1358
  toArray: Kr,
@@ -1360,19 +1360,19 @@ var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, ne = {
1360
1360
  isNegativeZero: qr,
1361
1361
  extend: Br
1362
1362
  };
1363
- function yi(e, i) {
1363
+ function vi(e, i) {
1364
1364
  var t = "", a = e.reason || "(unknown reason)";
1365
1365
  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 += `
1366
1366
 
1367
1367
  ` + e.mark.snippet), a + " " + t) : a;
1368
1368
  }
1369
1369
  function He(e, i) {
1370
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = i, this.message = yi(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1370
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = i, this.message = vi(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1371
1371
  }
1372
1372
  He.prototype = Object.create(Error.prototype);
1373
1373
  He.prototype.constructor = He;
1374
1374
  He.prototype.toString = function(e) {
1375
- return this.name + ": " + yi(this, e);
1375
+ return this.name + ": " + vi(this, e);
1376
1376
  };
1377
1377
  var fe = He;
1378
1378
  function lt(e, i, t, a, r) {
@@ -1508,26 +1508,26 @@ pt.prototype.extend = function(e) {
1508
1508
  var a = Object.create(pt.prototype);
1509
1509
  return a.implicit = (this.implicit || []).concat(i), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Lt(a, "implicit"), a.compiledExplicit = Lt(a, "explicit"), a.compiledTypeMap = Jr(a.compiledImplicit, a.compiledExplicit), a;
1510
1510
  };
1511
- var vi = pt, hi = new ue("tag:yaml.org,2002:str", {
1511
+ var hi = pt, bi = new ue("tag:yaml.org,2002:str", {
1512
1512
  kind: "scalar",
1513
1513
  construct: function(e) {
1514
1514
  return e !== null ? e : "";
1515
1515
  }
1516
- }), bi = new ue("tag:yaml.org,2002:seq", {
1516
+ }), wi = new ue("tag:yaml.org,2002:seq", {
1517
1517
  kind: "sequence",
1518
1518
  construct: function(e) {
1519
1519
  return e !== null ? e : [];
1520
1520
  }
1521
- }), wi = new ue("tag:yaml.org,2002:map", {
1521
+ }), _i = new ue("tag:yaml.org,2002:map", {
1522
1522
  kind: "mapping",
1523
1523
  construct: function(e) {
1524
1524
  return e !== null ? e : {};
1525
1525
  }
1526
- }), _i = new vi({
1526
+ }), ki = new hi({
1527
1527
  explicit: [
1528
- hi,
1529
1528
  bi,
1530
- wi
1529
+ wi,
1530
+ _i
1531
1531
  ]
1532
1532
  });
1533
1533
  function Gr(e) {
@@ -1542,7 +1542,7 @@ function Wr() {
1542
1542
  function Yr(e) {
1543
1543
  return e === null;
1544
1544
  }
1545
- var ki = new ue("tag:yaml.org,2002:null", {
1545
+ var Ci = new ue("tag:yaml.org,2002:null", {
1546
1546
  kind: "scalar",
1547
1547
  resolve: Gr,
1548
1548
  construct: Wr,
@@ -1578,7 +1578,7 @@ function Qr(e) {
1578
1578
  function Xr(e) {
1579
1579
  return Object.prototype.toString.call(e) === "[object Boolean]";
1580
1580
  }
1581
- var Ci = new ue("tag:yaml.org,2002:bool", {
1581
+ var Si = new ue("tag:yaml.org,2002:bool", {
1582
1582
  kind: "scalar",
1583
1583
  resolve: Zr,
1584
1584
  construct: Qr,
@@ -1669,7 +1669,7 @@ function ro(e) {
1669
1669
  function oo(e) {
1670
1670
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ne.isNegativeZero(e);
1671
1671
  }
1672
- var Si = new ue("tag:yaml.org,2002:int", {
1672
+ var Ii = new ue("tag:yaml.org,2002:int", {
1673
1673
  kind: "scalar",
1674
1674
  resolve: ao,
1675
1675
  construct: ro,
@@ -1746,31 +1746,31 @@ function uo(e, i) {
1746
1746
  function po(e) {
1747
1747
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ne.isNegativeZero(e));
1748
1748
  }
1749
- var Ii = new ue("tag:yaml.org,2002:float", {
1749
+ var Ai = new ue("tag:yaml.org,2002:float", {
1750
1750
  kind: "scalar",
1751
1751
  resolve: lo,
1752
1752
  construct: so,
1753
1753
  predicate: po,
1754
1754
  represent: uo,
1755
1755
  defaultStyle: "lowercase"
1756
- }), Ai = _i.extend({
1756
+ }), xi = ki.extend({
1757
1757
  implicit: [
1758
- ki,
1759
1758
  Ci,
1760
1759
  Si,
1761
- Ii
1760
+ Ii,
1761
+ Ai
1762
1762
  ]
1763
- }), xi = Ai, Ti = new RegExp(
1763
+ }), Ti = xi, $i = new RegExp(
1764
1764
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1765
- ), $i = new RegExp(
1765
+ ), Mi = new RegExp(
1766
1766
  "^([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]))?))?$"
1767
1767
  );
1768
1768
  function fo(e) {
1769
- return e === null ? !1 : Ti.exec(e) !== null || $i.exec(e) !== null;
1769
+ return e === null ? !1 : $i.exec(e) !== null || Mi.exec(e) !== null;
1770
1770
  }
1771
1771
  function mo(e) {
1772
1772
  var i, t, a, r, o, l, n, u = 0, d = null, f, p, w;
1773
- if (i = Ti.exec(e), i === null && (i = $i.exec(e)), i === null)
1773
+ if (i = $i.exec(e), i === null && (i = Mi.exec(e)), i === null)
1774
1774
  throw new Error("Date resolve error");
1775
1775
  if (t = +i[1], a = +i[2] - 1, r = +i[3], !i[4])
1776
1776
  return new Date(Date.UTC(t, a, r));
@@ -1784,7 +1784,7 @@ function mo(e) {
1784
1784
  function go(e) {
1785
1785
  return e.toISOString();
1786
1786
  }
1787
- var Mi = new ue("tag:yaml.org,2002:timestamp", {
1787
+ var ji = new ue("tag:yaml.org,2002:timestamp", {
1788
1788
  kind: "scalar",
1789
1789
  resolve: fo,
1790
1790
  construct: mo,
@@ -1794,7 +1794,7 @@ var Mi = new ue("tag:yaml.org,2002:timestamp", {
1794
1794
  function yo(e) {
1795
1795
  return e === "<<" || e === null;
1796
1796
  }
1797
- var ji = new ue("tag:yaml.org,2002:merge", {
1797
+ var Ei = new ue("tag:yaml.org,2002:merge", {
1798
1798
  kind: "scalar",
1799
1799
  resolve: yo
1800
1800
  }), Ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1826,7 +1826,7 @@ function bo(e) {
1826
1826
  function wo(e) {
1827
1827
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1828
1828
  }
1829
- var Ei = new ue("tag:yaml.org,2002:binary", {
1829
+ var Oi = new ue("tag:yaml.org,2002:binary", {
1830
1830
  kind: "scalar",
1831
1831
  resolve: vo,
1832
1832
  construct: ho,
@@ -1858,7 +1858,7 @@ function Co(e) {
1858
1858
  function So(e) {
1859
1859
  return e !== null ? e : [];
1860
1860
  }
1861
- var Oi = new ue("tag:yaml.org,2002:omap", {
1861
+ var Vi = new ue("tag:yaml.org,2002:omap", {
1862
1862
  kind: "sequence",
1863
1863
  resolve: Co,
1864
1864
  construct: So
@@ -1882,7 +1882,7 @@ function xo(e) {
1882
1882
  a = l[i], r = Object.keys(a), o[i] = [r[0], a[r[0]]];
1883
1883
  return o;
1884
1884
  }
1885
- var Vi = new ue("tag:yaml.org,2002:pairs", {
1885
+ var Fi = new ue("tag:yaml.org,2002:pairs", {
1886
1886
  kind: "sequence",
1887
1887
  resolve: Ao,
1888
1888
  construct: xo
@@ -1899,22 +1899,22 @@ function $o(e) {
1899
1899
  function Mo(e) {
1900
1900
  return e !== null ? e : {};
1901
1901
  }
1902
- var Fi = new ue("tag:yaml.org,2002:set", {
1902
+ var Ni = new ue("tag:yaml.org,2002:set", {
1903
1903
  kind: "mapping",
1904
1904
  resolve: $o,
1905
1905
  construct: Mo
1906
- }), St = xi.extend({
1906
+ }), St = Ti.extend({
1907
1907
  implicit: [
1908
- Mi,
1909
- ji
1908
+ ji,
1909
+ Ei
1910
1910
  ],
1911
1911
  explicit: [
1912
- Ei,
1913
1912
  Oi,
1914
1913
  Vi,
1915
- Fi
1914
+ Fi,
1915
+ Ni
1916
1916
  ]
1917
- }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, jo = 2, qt = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1917
+ }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ki = 2, Li = 3, Qe = 4, ct = 1, jo = 2, qt = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, qi = /^(?:!|!!|![a-z\-]+!)$/i, Bi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1918
1918
  function Bt(e) {
1919
1919
  return Object.prototype.toString.call(e);
1920
1920
  }
@@ -1927,7 +1927,7 @@ function Te(e) {
1927
1927
  function me(e) {
1928
1928
  return e === 9 || e === 32 || e === 10 || e === 13;
1929
1929
  }
1930
- function Oe(e) {
1930
+ function Ve(e) {
1931
1931
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1932
1932
  }
1933
1933
  function Fo(e) {
@@ -1950,13 +1950,13 @@ function Lo(e) {
1950
1950
  (e - 65536 & 1023) + 56320
1951
1951
  );
1952
1952
  }
1953
- var Bi = new Array(256), Pi = new Array(256);
1954
- for (var je = 0; je < 256; je++)
1955
- Bi[je] = Pt(je) ? 1 : 0, Pi[je] = Pt(je);
1953
+ var Pi = new Array(256), Ui = new Array(256);
1954
+ for (var Ee = 0; Ee < 256; Ee++)
1955
+ Pi[Ee] = Pt(Ee) ? 1 : 0, Ui[Ee] = Pt(Ee);
1956
1956
  function qo(e, i) {
1957
1957
  this.input = e, this.filename = i.filename || null, this.schema = i.schema || St, 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 = [];
1958
1958
  }
1959
- function Ui(e, i) {
1959
+ function Ri(e, i) {
1960
1960
  var t = {
1961
1961
  name: e.filename,
1962
1962
  buffer: e.input.slice(0, -1),
@@ -1968,10 +1968,10 @@ function Ui(e, i) {
1968
1968
  return t.snippet = Ur(t), new fe(i, t);
1969
1969
  }
1970
1970
  function j(e, i) {
1971
- throw Ui(e, i);
1971
+ throw Ri(e, i);
1972
1972
  }
1973
1973
  function Xe(e, i) {
1974
- e.onWarning && e.onWarning.call(null, Ui(e, i));
1974
+ e.onWarning && e.onWarning.call(null, Ri(e, i));
1975
1975
  }
1976
1976
  var Ut = {
1977
1977
  YAML: function(e, i, t) {
@@ -1980,7 +1980,7 @@ var Ut = {
1980
1980
  },
1981
1981
  TAG: function(e, i, t) {
1982
1982
  var a, r;
1983
- t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && j(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1983
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], qi.test(a) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && j(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Bi.test(r) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1984
1984
  try {
1985
1985
  r = decodeURIComponent(r);
1986
1986
  } catch {
@@ -2005,7 +2005,7 @@ function Rt(e, i, t, a) {
2005
2005
  for (ne.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), l = 0, n = r.length; l < n; l += 1)
2006
2006
  o = r[l], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2007
2007
  }
2008
- function Ve(e, i, t, a, r, o, l, n, u) {
2008
+ function Fe(e, i, t, a, r, o, l, n, u) {
2009
2009
  var d, f;
2010
2010
  if (Array.isArray(r))
2011
2011
  for (r = Array.prototype.slice.call(r), d = 0, f = r.length; d < f; d += 1)
@@ -2055,17 +2055,17 @@ function At(e, i) {
2055
2055
  }
2056
2056
  function Bo(e, i, t) {
2057
2057
  var a, r, o, l, n, u, d, f, p = e.kind, w = e.result, h;
2058
- if (h = e.input.charCodeAt(e.position), me(h) || Oe(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), me(r) || t && Oe(r)))
2058
+ if (h = e.input.charCodeAt(e.position), me(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), me(r) || t && Ve(r)))
2059
2059
  return !1;
2060
2060
  for (e.kind = "scalar", e.result = "", o = l = e.position, n = !1; h !== 0; ) {
2061
2061
  if (h === 58) {
2062
- if (r = e.input.charCodeAt(e.position + 1), me(r) || t && Oe(r))
2062
+ if (r = e.input.charCodeAt(e.position + 1), me(r) || t && Ve(r))
2063
2063
  break;
2064
2064
  } else if (h === 35) {
2065
2065
  if (a = e.input.charCodeAt(e.position - 1), me(a))
2066
2066
  break;
2067
2067
  } else {
2068
- if (e.position === e.lineStart && at(e) || t && Oe(h))
2068
+ if (e.position === e.lineStart && at(e) || t && Ve(h))
2069
2069
  break;
2070
2070
  if (he(h))
2071
2071
  if (u = e.line, d = e.lineStart, f = e.lineIndent, oe(e, !1, -1), e.lineIndent >= i) {
@@ -2104,8 +2104,8 @@ function Uo(e, i) {
2104
2104
  if (n === 92) {
2105
2105
  if (ke(e, t, e.position, !0), n = e.input.charCodeAt(++e.position), he(n))
2106
2106
  oe(e, !1, i);
2107
- else if (n < 256 && Bi[n])
2108
- e.result += Pi[n], e.position++;
2107
+ else if (n < 256 && Pi[n])
2108
+ e.result += Ui[n], e.position++;
2109
2109
  else if ((l = No(n)) > 0) {
2110
2110
  for (r = l, o = 0; r > 0; r--)
2111
2111
  n = e.input.charCodeAt(++e.position), (l = Fo(n)) >= 0 ? o = (o << 4) + l : j(e, "expected hexadecimal character");
@@ -2129,7 +2129,7 @@ function Ro(e, i) {
2129
2129
  for (e.anchor !== null && (e.anchorMap[e.anchor] = n), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2130
2130
  if (oe(e, !0, i), s = e.input.charCodeAt(e.position), s === f)
2131
2131
  return e.position++, e.tag = l, e.anchor = u, e.kind = h ? "mapping" : "sequence", e.result = n, !0;
2132
- t ? s === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), v = k = $ = null, p = w = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = w = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (w || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), h ? Ve(e, n, S, v, k, $, a, r, o) : p ? n.push(Ve(e, null, S, v, k, $, a, r, o)) : n.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2132
+ t ? s === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), v = k = $ = null, p = w = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = w = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (w || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), h ? Fe(e, n, S, v, k, $, a, r, o) : p ? n.push(Fe(e, null, S, v, k, $, a, r, o)) : n.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2133
2133
  }
2134
2134
  j(e, "unexpected end of the stream within a flow collection");
2135
2135
  }
@@ -2189,7 +2189,7 @@ function Dt(e, i) {
2189
2189
  o.push(null), u = e.input.charCodeAt(e.position);
2190
2190
  continue;
2191
2191
  }
2192
- if (t = e.line, Ke(e, i, Ki, !1, !0), o.push(e.result), oe(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && u !== 0)
2192
+ if (t = e.line, Ke(e, i, Li, !1, !0), o.push(e.result), oe(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && u !== 0)
2193
2193
  j(e, "bad indentation of a sequence entry");
2194
2194
  else if (e.lineIndent < i)
2195
2195
  break;
@@ -2202,15 +2202,15 @@ function Ho(e, i, t) {
2202
2202
  return !1;
2203
2203
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), s = e.input.charCodeAt(e.position); s !== 0; ) {
2204
2204
  if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2205
- s === 63 ? (v && (Ve(e, p, w, h, S, null, l, n, u), h = S = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2205
+ s === 63 ? (v && (Fe(e, p, w, h, S, null, l, n, u), h = S = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2206
2206
  else {
2207
- if (l = e.line, n = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2207
+ if (l = e.line, n = e.lineStart, u = e.position, !Ke(e, t, Ki, !1, !0))
2208
2208
  break;
2209
2209
  if (e.line === o) {
2210
2210
  for (s = e.input.charCodeAt(e.position); Te(s); )
2211
2211
  s = e.input.charCodeAt(++e.position);
2212
2212
  if (s === 58)
2213
- s = e.input.charCodeAt(++e.position), me(s) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ve(e, p, w, h, S, null, l, n, u), h = S = k = null), $ = !0, v = !1, r = !1, h = e.tag, S = e.result;
2213
+ s = e.input.charCodeAt(++e.position), me(s) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Fe(e, p, w, h, S, null, l, n, u), h = S = k = null), $ = !0, v = !1, r = !1, h = e.tag, S = e.result;
2214
2214
  else if ($)
2215
2215
  j(e, "can not read an implicit mapping pair; a colon is missed");
2216
2216
  else
@@ -2220,12 +2220,12 @@ function Ho(e, i, t) {
2220
2220
  else
2221
2221
  return e.tag = d, e.anchor = f, !0;
2222
2222
  }
2223
- if ((e.line === o || e.lineIndent > i) && (v && (l = e.line, n = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? S = e.result : k = e.result), v || (Ve(e, p, w, h, S, k, l, n, u), h = S = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2223
+ if ((e.line === o || e.lineIndent > i) && (v && (l = e.line, n = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? S = e.result : k = e.result), v || (Fe(e, p, w, h, S, k, l, n, u), h = S = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2224
2224
  j(e, "bad indentation of a mapping entry");
2225
2225
  else if (e.lineIndent < i)
2226
2226
  break;
2227
2227
  }
2228
- return v && Ve(e, p, w, h, S, null, l, n, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2228
+ return v && Fe(e, p, w, h, S, null, l, n, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2229
2229
  }
2230
2230
  function zo(e) {
2231
2231
  var i, t = !1, a = !1, r, o, l;
@@ -2238,10 +2238,10 @@ function zo(e) {
2238
2238
  e.position < e.length ? (o = e.input.slice(i, e.position), l = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2239
2239
  } else {
2240
2240
  for (; l !== 0 && !me(l); )
2241
- l === 33 && (a ? j(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Li.test(r) || j(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), l = e.input.charCodeAt(++e.position);
2241
+ l === 33 && (a ? j(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), qi.test(r) || j(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), l = e.input.charCodeAt(++e.position);
2242
2242
  o = e.input.slice(i, e.position), Vo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2243
2243
  }
2244
- o && !qi.test(o) && j(e, "tag name cannot contain such characters: " + o);
2244
+ o && !Bi.test(o) && j(e, "tag name cannot contain such characters: " + o);
2245
2245
  try {
2246
2246
  o = decodeURIComponent(o);
2247
2247
  } catch {
@@ -2253,7 +2253,7 @@ function Jo(e) {
2253
2253
  var i, t;
2254
2254
  if (t = e.input.charCodeAt(e.position), t !== 38)
2255
2255
  return !1;
2256
- for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2256
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Ve(t); )
2257
2257
  t = e.input.charCodeAt(++e.position);
2258
2258
  return e.position === i && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2259
2259
  }
@@ -2261,16 +2261,16 @@ function Go(e) {
2261
2261
  var i, t, a;
2262
2262
  if (a = e.input.charCodeAt(e.position), a !== 42)
2263
2263
  return !1;
2264
- for (a = e.input.charCodeAt(++e.position), i = e.position; a !== 0 && !me(a) && !Oe(a); )
2264
+ for (a = e.input.charCodeAt(++e.position), i = e.position; a !== 0 && !me(a) && !Ve(a); )
2265
2265
  a = e.input.charCodeAt(++e.position);
2266
2266
  return e.position === i && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2267
2267
  }
2268
2268
  function Ke(e, i, t, a, r) {
2269
2269
  var o, l, n, u = 1, d = !1, f = !1, p, w, h, S, k, v;
2270
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = l = n = Qe === t || Ki === t, a && oe(e, !0, -1) && (d = !0, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)), u === 1)
2270
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = l = n = Qe === t || Li === t, a && oe(e, !0, -1) && (d = !0, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)), u === 1)
2271
2271
  for (; zo(e) || Jo(e); )
2272
2272
  oe(e, !0, -1) ? (d = !0, n = o, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)) : n = !1;
2273
- if (n && (n = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? n && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (l && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Go(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = n && Dt(e, v))), e.tag === null)
2273
+ if (n && (n = d || r), (u === 1 || Qe === t) && (Ze === t || Ki === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? n && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (l && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Go(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = n && Dt(e, v))), e.tag === null)
2274
2274
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2275
2275
  else if (e.tag === "?") {
2276
2276
  for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, w = e.implicitTypes.length; p < w; p += 1)
@@ -2322,7 +2322,7 @@ function Wo(e) {
2322
2322
  else
2323
2323
  return;
2324
2324
  }
2325
- function Ri(e, i) {
2325
+ function Di(e, i) {
2326
2326
  e = String(e), i = i || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2327
2327
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2328
2328
  var t = new qo(e, i), a = e.indexOf("\0");
@@ -2334,24 +2334,24 @@ function Ri(e, i) {
2334
2334
  }
2335
2335
  function Yo(e, i, t) {
2336
2336
  i !== null && typeof i == "object" && typeof t > "u" && (t = i, i = null);
2337
- var a = Ri(e, t);
2337
+ var a = Di(e, t);
2338
2338
  if (typeof i != "function")
2339
2339
  return a;
2340
2340
  for (var r = 0, o = a.length; r < o; r += 1)
2341
2341
  i(a[r]);
2342
2342
  }
2343
2343
  function Zo(e, i) {
2344
- var t = Ri(e, i);
2344
+ var t = Di(e, i);
2345
2345
  if (t.length !== 0) {
2346
2346
  if (t.length === 1)
2347
2347
  return t[0];
2348
2348
  throw new fe("expected a single document in the stream, but found more");
2349
2349
  }
2350
2350
  }
2351
- var Qo = Yo, Xo = Zo, Di = {
2351
+ var Qo = Yo, Xo = Zo, Hi = {
2352
2352
  loadAll: Qo,
2353
2353
  load: Xo
2354
- }, Hi = Object.prototype.toString, zi = Object.prototype.hasOwnProperty, xt = 65279, en = 9, ze = 10, tn = 13, an = 32, rn = 33, on = 34, ft = 35, nn = 37, ln = 38, sn = 39, cn = 42, Ji = 44, un = 45, et = 58, dn = 61, pn = 62, fn = 63, mn = 64, Gi = 91, Wi = 93, gn = 96, Yi = 123, yn = 124, Zi = 125, pe = {};
2354
+ }, zi = Object.prototype.toString, Ji = Object.prototype.hasOwnProperty, xt = 65279, en = 9, ze = 10, tn = 13, an = 32, rn = 33, on = 34, ft = 35, nn = 37, ln = 38, sn = 39, cn = 42, Gi = 44, un = 45, et = 58, dn = 61, pn = 62, fn = 63, mn = 64, Wi = 91, Yi = 93, gn = 96, Zi = 123, yn = 124, Qi = 125, pe = {};
2355
2355
  pe[0] = "\\0";
2356
2356
  pe[7] = "\\a";
2357
2357
  pe[8] = "\\b";
@@ -2390,7 +2390,7 @@ function bn(e, i) {
2390
2390
  if (i === null)
2391
2391
  return {};
2392
2392
  for (t = {}, a = Object.keys(i), r = 0, o = a.length; r < o; r += 1)
2393
- l = a[r], n = String(i[l]), l.slice(0, 2) === "!!" && (l = "tag:yaml.org,2002:" + l.slice(2)), u = e.compiledTypeMap.fallback[l], u && zi.call(u.styleAliases, n) && (n = u.styleAliases[n]), t[l] = n;
2393
+ l = a[r], n = String(i[l]), l.slice(0, 2) === "!!" && (l = "tag:yaml.org,2002:" + l.slice(2)), u = e.compiledTypeMap.fallback[l], u && Ji.call(u.styleAliases, n) && (n = u.styleAliases[n]), t[l] = n;
2394
2394
  return t;
2395
2395
  }
2396
2396
  function wn(e) {
@@ -2443,11 +2443,11 @@ function Jt(e, i, t) {
2443
2443
  (t ? (
2444
2444
  // c = flow-in
2445
2445
  a
2446
- ) : a && e !== Ji && e !== Gi && e !== Wi && e !== Yi && e !== Zi) && e !== ft && !(i === et && !r) || zt(i) && !tt(i) && e === ft || i === et && r
2446
+ ) : a && e !== Gi && e !== Wi && e !== Yi && e !== Zi && e !== Qi) && e !== ft && !(i === et && !r) || zt(i) && !tt(i) && e === ft || i === et && r
2447
2447
  );
2448
2448
  }
2449
2449
  function Sn(e) {
2450
- return Ge(e) && e !== xt && !tt(e) && e !== un && e !== fn && e !== et && e !== Ji && e !== Gi && e !== Wi && e !== Yi && e !== Zi && e !== ft && e !== ln && e !== cn && e !== rn && e !== yn && e !== dn && e !== pn && e !== sn && e !== on && e !== nn && e !== mn && e !== gn;
2450
+ return Ge(e) && e !== xt && !tt(e) && e !== un && e !== fn && e !== et && e !== Gi && e !== Wi && e !== Yi && e !== Zi && e !== Qi && e !== ft && e !== ln && e !== cn && e !== rn && e !== yn && e !== dn && e !== pn && e !== sn && e !== on && e !== nn && e !== mn && e !== gn;
2451
2451
  }
2452
2452
  function In(e) {
2453
2453
  return !tt(e) && e !== et;
@@ -2456,17 +2456,17 @@ function Pe(e, i) {
2456
2456
  var t = e.charCodeAt(i), a;
2457
2457
  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;
2458
2458
  }
2459
- function Qi(e) {
2459
+ function Xi(e) {
2460
2460
  var i = /^\n* /;
2461
2461
  return i.test(e);
2462
2462
  }
2463
- var Xi = 1, gt = 2, ea = 3, ta = 4, Ee = 5;
2463
+ var ea = 1, gt = 2, ta = 3, ia = 4, Oe = 5;
2464
2464
  function An(e, i, t, a, r, o, l, n) {
2465
2465
  var u, d = 0, f = null, p = !1, w = !1, h = a !== -1, S = -1, k = Sn(Pe(e, 0)) && In(Pe(e, e.length - 1));
2466
2466
  if (i || l)
2467
2467
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2468
2468
  if (d = Pe(e, u), !Ge(d))
2469
- return Ee;
2469
+ return Oe;
2470
2470
  k = k && Jt(d, f, n), f = d;
2471
2471
  }
2472
2472
  else {
@@ -2475,12 +2475,12 @@ function An(e, i, t, a, r, o, l, n) {
2475
2475
  p = !0, h && (w = w || // Foldable line = too long, and not more-indented.
2476
2476
  u - S - 1 > a && e[S + 1] !== " ", S = u);
2477
2477
  else if (!Ge(d))
2478
- return Ee;
2478
+ return Oe;
2479
2479
  k = k && Jt(d, f, n), f = d;
2480
2480
  }
2481
2481
  w = w || h && u - S - 1 > a && e[S + 1] !== " ";
2482
2482
  }
2483
- return !p && !w ? k && !l && !r(e) ? Xi : o === Je ? Ee : gt : t > 9 && Qi(e) ? Ee : l ? o === Je ? Ee : gt : w ? ta : ea;
2483
+ return !p && !w ? k && !l && !r(e) ? ea : o === Je ? Oe : gt : t > 9 && Xi(e) ? Oe : l ? o === Je ? Oe : gt : w ? ia : ta;
2484
2484
  }
2485
2485
  function xn(e, i, t, a, r) {
2486
2486
  e.dump = function() {
@@ -2502,15 +2502,15 @@ function xn(e, i, t, a, r) {
2502
2502
  e.forceQuotes && !a,
2503
2503
  r
2504
2504
  )) {
2505
- case Xi:
2505
+ case ea:
2506
2506
  return i;
2507
2507
  case gt:
2508
2508
  return "'" + i.replace(/'/g, "''") + "'";
2509
- case ea:
2510
- return "|" + Gt(i, e.indent) + Wt(Ht(i, o));
2511
2509
  case ta:
2510
+ return "|" + Gt(i, e.indent) + Wt(Ht(i, o));
2511
+ case ia:
2512
2512
  return ">" + Gt(i, e.indent) + Wt(Ht(Tn(i, l), o));
2513
- case Ee:
2513
+ case Oe:
2514
2514
  return '"' + $n(i) + '"';
2515
2515
  default:
2516
2516
  throw new fe("impossible error: invalid scalar style");
@@ -2518,7 +2518,7 @@ function xn(e, i, t, a, r) {
2518
2518
  }();
2519
2519
  }
2520
2520
  function Gt(e, i) {
2521
- var t = Qi(e) ? String(i) : "", a = e[e.length - 1] === `
2521
+ var t = Xi(e) ? String(i) : "", a = e[e.length - 1] === `
2522
2522
  `, r = a && (e[e.length - 2] === `
2523
2523
  ` || e === `
2524
2524
  `), o = r ? "+" : a ? "" : "-";
@@ -2592,9 +2592,9 @@ function Qt(e, i, t) {
2592
2592
  for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, l = r.length; o < l; o += 1)
2593
2593
  if (n = r[o], (n.instanceOf || n.predicate) && (!n.instanceOf || typeof i == "object" && i instanceof n.instanceOf) && (!n.predicate || n.predicate(i))) {
2594
2594
  if (t ? n.multi && n.representName ? e.tag = n.representName(i) : e.tag = n.tag : e.tag = "?", n.represent) {
2595
- if (u = e.styleMap[n.tag] || n.defaultStyle, Hi.call(n.represent) === "[object Function]")
2595
+ if (u = e.styleMap[n.tag] || n.defaultStyle, zi.call(n.represent) === "[object Function]")
2596
2596
  a = n.represent(i, u);
2597
- else if (zi.call(n.represent, u))
2597
+ else if (Ji.call(n.represent, u))
2598
2598
  a = n.represent[u](i, u);
2599
2599
  else
2600
2600
  throw new fe("!<" + n.tag + '> tag resolver accepts not "' + u + '" style');
@@ -2606,7 +2606,7 @@ function Qt(e, i, t) {
2606
2606
  }
2607
2607
  function _e(e, i, t, a, r, o, l) {
2608
2608
  e.tag = null, e.dump = t, Qt(e, t, !1) || Qt(e, t, !0);
2609
- var n = Hi.call(e.dump), u = a, d;
2609
+ var n = zi.call(e.dump), u = a, d;
2610
2610
  a && (a = e.flowLevel < 0 || e.flowLevel > i);
2611
2611
  var f = n === "[object Object]" || n === "[object Array]", p, w;
2612
2612
  if (f && (p = e.duplicates.indexOf(t), w = p !== -1), (e.tag !== null && e.tag !== "?" || w || e.indent !== 2 && i > 0) && (r = !1), w && e.usedDuplicates[p])
@@ -2663,20 +2663,20 @@ function Tt(e, i) {
2663
2663
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + i + " instead, which is now safe by default.");
2664
2664
  };
2665
2665
  }
2666
- var Kn = ue, Ln = vi, qn = _i, Bn = Ai, Pn = xi, Un = St, Rn = Di.load, Dn = Di.loadAll, Hn = Nn.dump, zn = fe, Jn = {
2667
- binary: Ei,
2668
- float: Ii,
2669
- map: wi,
2670
- null: ki,
2671
- pairs: Vi,
2672
- set: Fi,
2673
- timestamp: Mi,
2674
- bool: Ci,
2675
- int: Si,
2676
- merge: ji,
2677
- omap: Oi,
2678
- seq: bi,
2679
- str: hi
2666
+ var Kn = ue, Ln = hi, qn = ki, Bn = xi, Pn = Ti, Un = St, Rn = Hi.load, Dn = Hi.loadAll, Hn = Nn.dump, zn = fe, Jn = {
2667
+ binary: Oi,
2668
+ float: Ai,
2669
+ map: _i,
2670
+ null: Ci,
2671
+ pairs: Fi,
2672
+ set: Ni,
2673
+ timestamp: ji,
2674
+ bool: Si,
2675
+ int: Ii,
2676
+ merge: Ei,
2677
+ omap: Vi,
2678
+ seq: wi,
2679
+ str: bi
2680
2680
  }, Gn = Tt("safeLoad", "load"), Wn = Tt("safeLoadAll", "loadAll"), Yn = Tt("safeDump", "dump"), Zn = {
2681
2681
  Type: Kn,
2682
2682
  Schema: Ln,
@@ -2796,7 +2796,7 @@ const Qn = {
2796
2796
  for (const [a, r] of i)
2797
2797
  t[a] = r;
2798
2798
  return t;
2799
- }, nl = (e) => (oi("data-v-a53b73fd"), e = e(), ni(), e), ll = ["aria-hidden"], sl = {
2799
+ }, nl = (e) => (ni("data-v-a53b73fd"), e = e(), li(), e), ll = ["aria-hidden"], sl = {
2800
2800
  key: 0,
2801
2801
  "data-testid": "kui-icon-svg-title"
2802
2802
  }, cl = /* @__PURE__ */ nl(() => /* @__PURE__ */ F("path", {
@@ -2871,11 +2871,11 @@ const Qn = {
2871
2871
  lineHeight: "0",
2872
2872
  width: t.value
2873
2873
  }));
2874
- return (r, o) => (b(), P(Ne(e.as), {
2874
+ return (r, o) => (b(), P(Me(e.as), {
2875
2875
  "aria-hidden": e.decorative ? "true" : void 0,
2876
2876
  class: "kui-icon book-icon",
2877
2877
  "data-testid": "kui-icon-wrapper-book-icon",
2878
- style: ri(a.value)
2878
+ style: oi(a.value)
2879
2879
  }, {
2880
2880
  default: y(() => [
2881
2881
  (b(), M("svg", {
@@ -3363,8 +3363,8 @@ const Qn = {
3363
3363
  }, 8, ["cta-text"])) : (b(), M("form", {
3364
3364
  key: 2,
3365
3365
  "data-testid": "form-content",
3366
- onReset: Fe(S, ["prevent"]),
3367
- onSubmit: Fe(k, ["prevent"])
3366
+ onReset: Ne(S, ["prevent"]),
3367
+ onSubmit: Ne(k, ["prevent"])
3368
3368
  }, [
3369
3369
  Z(v.$slots, "default", {}, void 0, !0),
3370
3370
  e.errorMessage ? (b(), P(x, {
@@ -3453,7 +3453,7 @@ const Qn = {
3453
3453
  },
3454
3454
  { immediate: !0, flush: "post", deep: !0 }
3455
3455
  ), S = T(() => r.value ? d.value > f.value : !1);
3456
- return ai(() => {
3456
+ return ri(() => {
3457
3457
  n();
3458
3458
  }), la(() => {
3459
3459
  h();
@@ -4141,7 +4141,7 @@ const Qn = {
4141
4141
  };
4142
4142
  return (f, p) => {
4143
4143
  const w = L("KPrompt");
4144
- return b(), P(ii, { to: "body" }, [
4144
+ return b(), P(oa, { to: "body" }, [
4145
4145
  C(w, {
4146
4146
  "action-button-text": n.value,
4147
4147
  "action-pending": o.value,
@@ -4260,7 +4260,7 @@ const Qn = {
4260
4260
  ])
4261
4261
  ], 2));
4262
4262
  }
4263
- }), ti = /* @__PURE__ */ ve(as, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: ia, useDeleteUrlBuilder: rs, useErrors: os, useExternalLinkCreator: Ns, useFetchUrlBuilder: Ks, useFetcher: ns, useDebouncedFilter: Ls, useStringHelpers: qs, useHelpers: ls, useGatewayFeatureSupported: ss, useTruncationDetector: Bs } = le, cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 }, ds = /* @__PURE__ */ ae({
4263
+ }), ti = /* @__PURE__ */ ve(as, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: aa, useDeleteUrlBuilder: rs, useErrors: os, useExternalLinkCreator: Ns, useFetchUrlBuilder: Ks, useFetcher: ns, useDebouncedFilter: Ls, useStringHelpers: qs, useHelpers: ls, useGatewayFeatureSupported: ss, useTruncationDetector: Bs } = le, cs = { class: "kong-ui-entities-gateway-services-list" }, us = { key: 1 }, ds = /* @__PURE__ */ ae({
4264
4264
  __name: "GatewayServiceList",
4265
4265
  props: {
4266
4266
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4307,7 +4307,7 @@ const Qn = {
4307
4307
  emits: ["error", "copy:success", "copy:error", "delete:success", "toggle:success"],
4308
4308
  setup(e, { emit: i }) {
4309
4309
  var Le;
4310
- const t = e, { i18n: { t: a } } = Ye.useI18n(), r = ht(), { axiosInstance: o } = ia({
4310
+ const t = e, { i18n: { t: a } } = Ye.useI18n(), r = ht(), { axiosInstance: o } = aa({
4311
4311
  headers: (Le = t.config) == null ? void 0 : Le.requestHeaders
4312
4312
  }), l = N(1), n = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), u = {
4313
4313
  name: { label: a("gateway_services.list.table_headers.name"), searchable: !0, sortable: !0 },
@@ -4409,14 +4409,14 @@ const Qn = {
4409
4409
  to: t.config.getEditRoute(c)
4410
4410
  }), z = N(void 0), ie = N(!1), Y = N(!1), X = N(""), ce = rs(t.config, f.value), rt = (c) => {
4411
4411
  z.value = c, ie.value = !0;
4412
- }, Me = () => {
4412
+ }, je = () => {
4413
4413
  ie.value = !1, z.value = void 0;
4414
4414
  }, ot = async () => {
4415
4415
  var c, g, O;
4416
4416
  if ((c = z.value) != null && c.id) {
4417
4417
  Y.value = !0;
4418
4418
  try {
4419
- await o.delete(ce(z.value.id)), i("delete:success", z.value), Me(), l.value++;
4419
+ await o.delete(ce(z.value.id)), i("delete:success", z.value), je(), l.value++;
4420
4420
  } catch (G) {
4421
4421
  X.value = ((O = (g = G.response) == null ? void 0 : g.data) == null ? void 0 : O.message) || G.message || a("errors.delete"), i("error", G);
4422
4422
  } finally {
@@ -4466,31 +4466,31 @@ const Qn = {
4466
4466
  }, null, 8, ["modelValue", "config"])
4467
4467
  ]),
4468
4468
  "toolbar-button": y(() => [
4469
- (b(), P(ii, {
4470
- disabled: !e.useActionOutside,
4471
- to: "#kong-ui-app-page-header-action-button"
4472
- }, [
4473
- C(m(Be), {
4474
- "auth-function": () => e.canCreate()
4475
- }, {
4476
- default: y(() => [
4477
- Ue(C(O, {
4478
- appearance: "primary",
4479
- "data-testid": "toolbar-add-gateway-service",
4480
- icon: "plus",
4481
- to: e.config.createRoute
4482
- }, {
4483
- default: y(() => [
4484
- J(V(m(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4485
- ]),
4486
- _: 1
4487
- }, 8, ["to"]), [
4488
- [Re, Se.value]
4489
- ])
4490
- ]),
4491
- _: 1
4492
- }, 8, ["auth-function"])
4493
- ], 8, ["disabled"]))
4469
+ (b(), P(Me(e.useActionOutside ? "Teleport" : "div"), ii(ai(e.useActionOutside ? { to: "#kong-ui-app-page-header-action-button" } : {})), {
4470
+ default: y(() => [
4471
+ C(m(Be), {
4472
+ "auth-function": () => e.canCreate()
4473
+ }, {
4474
+ default: y(() => [
4475
+ Ue(C(O, {
4476
+ appearance: "primary",
4477
+ "data-testid": "toolbar-add-gateway-service",
4478
+ icon: "plus",
4479
+ to: e.config.createRoute
4480
+ }, {
4481
+ default: y(() => [
4482
+ J(V(m(a)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4483
+ ]),
4484
+ _: 1
4485
+ }, 8, ["to"]), [
4486
+ [Re, Se.value]
4487
+ ])
4488
+ ]),
4489
+ _: 1
4490
+ }, 8, ["auth-function"])
4491
+ ]),
4492
+ _: 1
4493
+ }, 16))
4494
4494
  ]),
4495
4495
  name: y(({ rowValue: I }) => [
4496
4496
  F("b", null, V(I ?? "-"), 1)
@@ -4502,7 +4502,7 @@ const Qn = {
4502
4502
  }, {
4503
4503
  default: y(({ isAllowed: we }) => [
4504
4504
  F("div", {
4505
- onClick: g[1] || (g[1] = Fe(() => {
4505
+ onClick: g[1] || (g[1] = Ne(() => {
4506
4506
  }, ["stop"]))
4507
4507
  }, [
4508
4508
  C(G, {
@@ -4511,7 +4511,7 @@ const Qn = {
4511
4511
  "data-testid": `row-${I.id}-toggle-input`,
4512
4512
  disabled: !we,
4513
4513
  label: I.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4514
- onClick: Fe((We) => W(I), ["prevent"])
4514
+ onClick: Ne((We) => W(I), ["prevent"])
4515
4515
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "disabled", "label", "onClick"])
4516
4516
  ])
4517
4517
  ]),
@@ -4523,7 +4523,7 @@ const Qn = {
4523
4523
  default: y(() => [
4524
4524
  (b(!0), M(ye, null, ge(I, (we) => (b(), P(te, {
4525
4525
  key: we,
4526
- onClick: g[2] || (g[2] = Fe(() => {
4526
+ onClick: g[2] || (g[2] = Ne(() => {
4527
4527
  }, ["stop"]))
4528
4528
  }, {
4529
4529
  default: y(() => [
@@ -4622,22 +4622,22 @@ const Qn = {
4622
4622
  "action-pending": Y.value,
4623
4623
  description: m(a)("actions.delete.description"),
4624
4624
  "entity-name": z.value && (z.value.name || z.value.id),
4625
- "entity-type": m(si).GatewayService,
4625
+ "entity-type": m(ci).GatewayService,
4626
4626
  error: X.value,
4627
4627
  title: m(a)("actions.delete.title"),
4628
4628
  visible: ie.value,
4629
- onCancel: Me,
4629
+ onCancel: je,
4630
4630
  onProceed: ot
4631
4631
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
4632
4632
  ]);
4633
4633
  };
4634
4634
  }
4635
- }), aa = (e, i) => {
4635
+ }), ra = (e, i) => {
4636
4636
  const t = e.__vccOpts || e;
4637
4637
  for (const [a, r] of i)
4638
4638
  t[a] = r;
4639
4639
  return t;
4640
- }, Ps = /* @__PURE__ */ aa(ds, [["__scopeId", "data-v-0b44b6b1"]]), ps = { class: "kong-ui-entities-gateway-service-form" }, fs = { key: 0 }, ms = { class: "gateway-service-form-traffic-label" }, gs = { class: "gateway-service-form-margin-bottom" }, ys = {
4640
+ }, Ps = /* @__PURE__ */ ra(ds, [["__scopeId", "data-v-0661a5da"]]), ps = { class: "kong-ui-entities-gateway-service-form" }, fs = { key: 0 }, ms = { class: "gateway-service-form-traffic-label" }, gs = { class: "gateway-service-form-margin-bottom" }, ys = {
4641
4641
  key: 0,
4642
4642
  class: "gateway-service-form-group-fields"
4643
4643
  }, vs = {
@@ -4683,7 +4683,7 @@ const Qn = {
4683
4683
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
4684
4684
  setup(e, { expose: i, emit: t }) {
4685
4685
  var Le;
4686
- const a = e, r = N(!0), o = ht(), { i18nT: l, i18n: { t: n } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4686
+ const a = e, r = N(!0), o = ht(), { i18nT: l, i18n: { t: n } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = aa({
4687
4687
  headers: (Le = a.config) == null ? void 0 : Le.requestHeaders
4688
4688
  }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), w = N(!1), h = T(() => !!a.gatewayServiceId), S = N(h.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4689
4689
  fields: {
@@ -4822,7 +4822,7 @@ const Qn = {
4822
4822
  var g, O;
4823
4823
  let c = `${a.config.apiBaseUrl}${De.form[a.config.app].validate}`;
4824
4824
  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, (O = a.config) != null && O.workspace ? `/${a.config.workspace}` : "")), c = c.replace(/{id}/gi, a.gatewayServiceId), c;
4825
- }), Me = T(() => {
4825
+ }), je = T(() => {
4826
4826
  var g, O;
4827
4827
  let c = `${a.config.apiBaseUrl}${De.form[a.config.app][p.value]}`;
4828
4828
  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, (O = a.config) != null && O.workspace ? `/${a.config.workspace}` : "")), c = c.replace(/{id}/gi, a.gatewayServiceId), c;
@@ -4855,7 +4855,7 @@ const Qn = {
4855
4855
  s.isReadonly = !0, U();
4856
4856
  const te = Se();
4857
4857
  let se;
4858
- if (ot(te), await d.post(rt.value, te), p.value === "create" ? se = await d.post(Me.value, te) : p.value === "edit" && (se = ((c = a.config) == null ? void 0 : c.app) === "konnect" ? await d.put(Me.value, te) : await d.patch(Me.value, te)), se) {
4858
+ if (ot(te), await d.post(rt.value, te), p.value === "create" ? se = await d.post(je.value, te) : p.value === "edit" && (se = ((c = a.config) == null ? void 0 : c.app) === "konnect" ? await d.put(je.value, te) : await d.patch(je.value, te)), se) {
4859
4859
  const { data: _ } = se;
4860
4860
  s.fields.name = (_ == null ? void 0 : _.name) || "", s.fields.port = _.port || k.getPortFromProtocol(_.protocol), s.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", s.fields.host = (_ == null ? void 0 : _.host) || "", s.fields.path = (_ == null ? void 0 : _.path) || "", s.fields.url = (_ == null ? void 0 : _.url) || "", s.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, s.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, s.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, s.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, s.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = _ == null ? void 0 : _.ca_certificates) != null && O.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), s.fields.tags = (G = _ == null ? void 0 : _.tags) != null && G.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(E, s.fields), t("update", se == null ? void 0 : se.data);
4861
4861
  }
@@ -4870,7 +4870,7 @@ const Qn = {
4870
4870
  Object.assign(s.fields, E);
4871
4871
  }), be(s.fields, (c) => {
4872
4872
  s.fields.port = k.getPortFromProtocol(c.protocol, String(c.port)), t("model-updated", Se());
4873
- }), ai(() => {
4873
+ }), ri(() => {
4874
4874
  t("model-updated", Se());
4875
4875
  }), i({
4876
4876
  validateUrl: U,
@@ -5250,7 +5250,7 @@ const Qn = {
5250
5250
  ]);
5251
5251
  };
5252
5252
  }
5253
- }), Us = /* @__PURE__ */ aa($s, [["__scopeId", "data-v-9939382c"]]), Ms = { class: "kong-ui-gateway-service-entity-config-card" }, Rs = /* @__PURE__ */ ae({
5253
+ }), Us = /* @__PURE__ */ ra($s, [["__scopeId", "data-v-9939382c"]]), Ms = { class: "kong-ui-gateway-service-entity-config-card" }, Rs = /* @__PURE__ */ ae({
5254
5254
  __name: "GatewayServiceConfigCard",
5255
5255
  props: {
5256
5256
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */