@kong-ui-public/entities-shared 3.34.1 → 3.34.2-pr.2723.c1ccba4bc.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,11 +1,13 @@
1
- import { inject as Ut, ref as N, computed as $, unref as _, toValue as he, watch as be, toRef as Gn, provide as qt, defineComponent as z, createBlock as M, openBlock as h, resolveDynamicComponent as De, normalizeClass as fe, withCtx as A, createElementBlock as T, createCommentVNode as j, createElementVNode as B, toDisplayString as O, Fragment as ue, renderList as ce, resolveComponent as P, createVNode as R, createTextVNode as q, useCssVars as Ht, useId as zn, useSlots as Pe, renderSlot as U, createSlots as $e, normalizeProps as Qn, guardReactiveProps as Zn, mergeProps as Vt, onMounted as nt, onBeforeMount as it, withModifiers as Be, Teleport as Yt, onUnmounted as Xn, withDirectives as xe, vShow as Ce, withKeys as ei, warn as ti } from "vue";
2
- import pt from "axios";
3
- import { createI18n as ni, i18nTComponent as ii } from "@kong-ui-public/i18n";
4
- import { BadgeMethodAppearances as ri, KExternalLink as ai, KButton as mt, KTruncate as oi, KBadge as li } from "@kong/kongponents";
5
- import { BookIcon as Wt, LanguageShellIcon as ht, LanguageBashIcon as yt, AddIcon as Jt, CloseIcon as si, ChevronDownIcon as ci, CopyIcon as ui } from "@kong/icons";
6
- import { useRouter as di } from "vue-router";
7
- var fi = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(fi || {}), pi = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(pi || {}), me = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(me || {}), Se = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(Se || {});
8
- const Ue = Object.values(Se), mi = [
1
+ import { inject as qt, ref as N, computed as $, unref as A, toValue as he, watch as be, toRef as zn, provide as Ht, defineComponent as z, createBlock as M, openBlock as h, resolveDynamicComponent as Pe, normalizeClass as fe, withCtx as _, createElementBlock as T, createCommentVNode as j, createElementVNode as L, toDisplayString as O, Fragment as ue, renderList as ce, resolveComponent as P, createVNode as K, createTextVNode as q, useCssVars as Vt, useId as Qn, useSlots as Ue, renderSlot as U, createSlots as $e, normalizeProps as Zn, guardReactiveProps as Xn, mergeProps as Yt, onMounted as it, onBeforeMount as rt, withModifiers as Re, Teleport as Wt, onUnmounted as ei, withDirectives as ke, vShow as Ce, withKeys as ti, warn as ni } from "vue";
2
+ import mt from "axios";
3
+ import { createI18n as ii, i18nTComponent as ri } from "@kong-ui-public/i18n";
4
+ import { BadgeMethodAppearances as ai, KExternalLink as oi, KButton as ht, KTruncate as li, KBadge as si } from "@kong/kongponents";
5
+ import { createdBundledHighlighter as ci, createSingletonShorthands as ui } from "@shikijs/core";
6
+ import { createJavaScriptRegexEngine as di } from "@shikijs/engine-javascript";
7
+ import { BookIcon as Jt, LanguageShellIcon as gt, LanguageBashIcon as yt, AddIcon as Gt, CloseIcon as fi, ChevronDownIcon as pi, CopyIcon as mi } from "@kong/icons";
8
+ import { useRouter as hi } from "vue-router";
9
+ var gi = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(gi || {}), yi = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(yi || {}), me = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(me || {}), Se = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(Se || {});
10
+ const qe = Object.values(Se), vi = [
9
11
  "ca_certificate",
10
12
  "certificate",
11
13
  "consumer",
@@ -20,24 +22,24 @@ const Ue = Object.values(Se), mi = [
20
22
  "vault",
21
23
  "partial"
22
24
  /* Partial */
23
- ], hi = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key"], yi = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
25
+ ], bi = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key"], ki = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
24
26
  var Y = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), ae = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e.Policy = "policy", e))(ae || {});
25
- const gt = [
27
+ const vt = [
26
28
  "primary",
27
29
  "secondary"
28
30
  ];
29
- function gi() {
31
+ function Ci() {
30
32
  return {
31
33
  getAxiosInstance: (e = {}) => {
32
34
  try {
33
- const t = Ut("get-axios-instance", void 0);
34
- return typeof t == "function" ? t(e) : pt.create({
35
+ const t = qt("get-axios-instance", void 0);
36
+ return typeof t == "function" ? t(e) : mt.create({
35
37
  withCredentials: !0,
36
38
  timeout: 3e4,
37
39
  ...e
38
40
  });
39
41
  } catch (t) {
40
- return console.warn("getAxiosInstance:", t.message || t), pt.create({
42
+ return console.warn("getAxiosInstance:", t.message || t), mt.create({
41
43
  withCredentials: !0,
42
44
  timeout: 3e4,
43
45
  ...e
@@ -50,7 +52,7 @@ function gi() {
50
52
  }
51
53
  };
52
54
  }
53
- function vi() {
55
+ function xi() {
54
56
  return {
55
57
  debounce: (e, t) => {
56
58
  let n;
@@ -62,13 +64,13 @@ function vi() {
62
64
  }
63
65
  };
64
66
  }
65
- const Ve = "khcp-user-table-preferences", bi = {
67
+ const Ye = "khcp-user-table-preferences", Ai = {
66
68
  pageSize: 30,
67
69
  sortColumnKey: void 0,
68
70
  sortColumnOrder: void 0,
69
71
  columnVisibility: {}
70
72
  };
71
- function xi() {
73
+ function _i() {
72
74
  const e = (n) => {
73
75
  if (typeof n == "string")
74
76
  try {
@@ -78,44 +80,44 @@ function xi() {
78
80
  return;
79
81
  }
80
82
  }, t = () => {
81
- const n = e(localStorage.getItem(Ve));
83
+ const n = e(localStorage.getItem(Ye));
82
84
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
83
85
  };
84
86
  return {
85
87
  setTablePreferences: (n, i) => {
86
88
  try {
87
89
  const r = t();
88
- r.set(n, i), localStorage.setItem(Ve, JSON.stringify(Object.fromEntries(r.entries())));
90
+ r.set(n, i), localStorage.setItem(Ye, JSON.stringify(Object.fromEntries(r.entries())));
89
91
  } catch (r) {
90
92
  console.error("useTablePreferences(setTablePreferences)", r);
91
93
  }
92
94
  },
93
95
  getTablePreferences: (n, i) => {
94
96
  const r = t();
95
- return (r == null ? void 0 : r.get(n)) || void 0 || i || bi;
97
+ return (r == null ? void 0 : r.get(n)) || void 0 || i || Ai;
96
98
  },
97
99
  deleteAllTablePreferences: () => {
98
- localStorage.removeItem(Ve);
100
+ localStorage.removeItem(Ye);
99
101
  }
100
102
  };
101
103
  }
102
- function rt(e = {}) {
103
- const { getAxiosInstance: t } = gi();
104
+ function at(e = {}) {
105
+ const { getAxiosInstance: t } = Ci();
104
106
  return {
105
107
  axiosInstance: t(e)
106
108
  };
107
109
  }
108
- const Ci = {
110
+ const wi = {
109
111
  actions: {
110
112
  copyId: "Copy ID",
111
113
  copied_id: 'Copied "{id}" to the clipboard',
112
114
  copyToClipboard: "Copied successfully!",
113
115
  copyToClipboardFailed: "Failed to copy to the clipboard"
114
116
  }
115
- }, ki = {
117
+ }, Si = {
116
118
  message: "Are you sure you want to delete this {entityType}?",
117
119
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
118
- }, Ai = {
120
+ }, $i = {
119
121
  actions: {
120
122
  viewConfiguration: "View Configuration",
121
123
  save: "Save",
@@ -133,13 +135,13 @@ const Ci = {
133
135
  errors: {
134
136
  edit: "The entity could not be edited at this time."
135
137
  }
136
- }, _i = {
138
+ }, Ti = {
137
139
  emptyState: {
138
140
  noSearchResultsTitle: "No results found",
139
141
  noSearchResultsMessage: "Please adjust the criteria and try again.",
140
142
  noSearchResultsCtaText: "Clear"
141
143
  }
142
- }, wi = {
144
+ }, Ei = {
143
145
  title: "Configuration",
144
146
  actions: {
145
147
  copy: "Copy JSON"
@@ -176,10 +178,10 @@ const Ci = {
176
178
  entryTitle: "Entry {index}",
177
179
  structuredFormat: "Structured"
178
180
  }
179
- }, Si = {
181
+ }, Ii = {
180
182
  learnMore: "Learn more",
181
183
  pricingTitle: "Pricing: "
182
- }, $i = {
184
+ }, Fi = {
183
185
  filterButtonText: "Filter",
184
186
  fieldLabel: "Filter by:",
185
187
  inputPlaceholder: "Enter a value",
@@ -187,17 +189,17 @@ const Ci = {
187
189
  applyButtonText: "Apply",
188
190
  clearButtonText: "Clear",
189
191
  clearAllButtonText: "Clear all filters"
190
- }, Ti = {
192
+ }, Oi = {
191
193
  errors: {
192
194
  fetch: "Could not fetch available items",
193
195
  invalid: "Please select a valid value"
194
196
  }
195
- }, Ei = {
197
+ }, Bi = {
196
198
  unexpected: "An unexpected error has occurred",
197
199
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
198
- }, Ii = {
200
+ }, Li = {
199
201
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
200
- }, Fi = {
202
+ }, Ri = {
201
203
  enable: {
202
204
  title: "Enable {entityType}",
203
205
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -208,32 +210,32 @@ const Ci = {
208
210
  message: "Are you sure you want to disable the {entityType} {entityName}?",
209
211
  confirmText: "Yes, disable"
210
212
  }
211
- }, Oi = {
213
+ }, Ki = {
212
214
  hint: "The {token} environment variable must be added first. See {link} for details.",
213
215
  documentation: "the documentation"
214
- }, Li = {
215
- global: Ci,
216
- deleteModal: ki,
217
- baseForm: Ai,
218
- baseTable: _i,
219
- baseConfigCard: wi,
220
- emptyState: Si,
221
- filter: $i,
222
- debouncedFilter: Ti,
223
- errors: Ei,
224
- validationErrors: Ii,
225
- toggleModal: Fi,
226
- deckCodeBlock: Oi
216
+ }, Ni = {
217
+ global: wi,
218
+ deleteModal: Si,
219
+ baseForm: $i,
220
+ baseTable: Ti,
221
+ baseConfigCard: Ei,
222
+ emptyState: Ii,
223
+ filter: Fi,
224
+ debouncedFilter: Oi,
225
+ errors: Bi,
226
+ validationErrors: Li,
227
+ toggleModal: Ri,
228
+ deckCodeBlock: Ki
227
229
  };
228
- function qe() {
229
- const e = ni("en-us", Li);
230
+ function He() {
231
+ const e = ii("en-us", Ni);
230
232
  return {
231
233
  i18n: e,
232
- i18nT: ii(e)
234
+ i18nT: ri(e)
233
235
  // Translation component <i18n-t>
234
236
  };
235
237
  }
236
- function Gt() {
238
+ function zt() {
237
239
  const e = (o, a) => (a == null ? void 0 : a[o]) ?? void 0, t = (o, a) => {
238
240
  if (o.length !== a.length) return !1;
239
241
  const l = /* @__PURE__ */ new Set([...o, ...a]);
@@ -275,46 +277,46 @@ function Gt() {
275
277
  isValidUuid: (o) => o ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(o) : !1
276
278
  };
277
279
  }
278
- function Bi(e, t, n, i = {
280
+ function Mi(e, t, n, i = {
279
281
  fetchedItemsKey: "data",
280
282
  searchKeys: ["id"]
281
283
  }) {
282
284
  n || (n = "1000");
283
- const { axiosInstance: r } = rt(e.axiosRequestConfig), { i18n: { t: o } } = qe(), { debounce: a } = vi(), l = a(async (L) => {
284
- await k(L);
285
- }, 200), s = N(!1), c = N(""), d = N(""), u = N([]), p = N([]), m = N(void 0), g = $(() => {
286
- const L = `${e.apiBaseUrl}${_(t)}`;
287
- return e.app === "konnect" ? L.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? L.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : L;
288
- }), { isValidUuid: y } = Gt(), x = async () => {
285
+ const { axiosInstance: r } = at(e.axiosRequestConfig), { i18n: { t: o } } = He(), { debounce: a } = xi(), l = a(async (B) => {
286
+ await x(B);
287
+ }, 200), s = N(!1), c = N(""), d = N(""), u = N([]), p = N([]), m = N(void 0), y = $(() => {
288
+ const B = `${e.apiBaseUrl}${A(t)}`;
289
+ return e.app === "konnect" ? B.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? B.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : B;
290
+ }), { isValidUuid: g } = zt(), k = async () => {
289
291
  try {
290
292
  s.value = !0;
291
- const { data: L } = await r.get(`${g.value}?size=${n}`);
292
- L != null && L.next || (m.value = i.fetchedItemsKey in L ? L[i.fetchedItemsKey] : []), p.value = i.fetchedItemsKey in L ? L[i.fetchedItemsKey] : [], u.value = p.value;
293
+ const { data: B } = await r.get(`${y.value}?size=${n}`);
294
+ B != null && B.next || (m.value = i.fetchedItemsKey in B ? B[i.fetchedItemsKey] : []), p.value = i.fetchedItemsKey in B ? B[i.fetchedItemsKey] : [], u.value = p.value;
293
295
  } catch {
294
296
  u.value = [], c.value = o("debouncedFilter.errors.fetch");
295
297
  } finally {
296
298
  s.value = !1;
297
299
  }
298
- }, C = N(""), k = async (L) => {
300
+ }, C = N(""), x = async (B) => {
299
301
  var D, X, S;
300
- if (C.value !== L) {
301
- if (C.value = L ?? "", !L) {
302
+ if (C.value !== B) {
303
+ if (C.value = B ?? "", !B) {
302
304
  u.value = p.value;
303
305
  return;
304
306
  }
305
307
  if (m.value === void 0)
306
308
  try {
307
309
  if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
308
- const w = `${g.value}/${L}`, { data: F } = await r.get(`${w}?size=${n}`);
310
+ const w = `${y.value}/${B}`, { data: F } = await r.get(`${w}?size=${n}`);
309
311
  i.fetchedItemsKey in F ? u.value = F[i.fetchedItemsKey] : F != null && F[i.exactMatchKey ?? "id"] ? u.value = [F] : u.value = [];
310
312
  } else {
311
313
  const w = [];
312
- y(L) && i.searchKeys.includes("id") ? w.push((async () => {
313
- const { data: v } = await r.get(`${g.value}/${L}`);
314
+ g(B) && i.searchKeys.includes("id") ? w.push((async () => {
315
+ const { data: v } = await r.get(`${y.value}/${B}`);
314
316
  return [v[i.fetchedItemsKey] ?? v];
315
317
  })()) : w.push(
316
318
  ...i.searchKeys.filter((v) => v !== "id").map(async (v) => {
317
- const { data: b } = await r.get(`${g.value}?${v}=${L}`);
319
+ const { data: b } = await r.get(`${y.value}?${v}=${B}`);
318
320
  return b[i.fetchedItemsKey];
319
321
  })
320
322
  );
@@ -337,7 +339,7 @@ function Bi(e, t, n, i = {
337
339
  let F = !1;
338
340
  for (const v of i.searchKeys) {
339
341
  const b = typeof w[v] == "string" ? (f = w[v]) == null ? void 0 : f.toLowerCase() : w[v];
340
- b != null && b.includes(L.toLowerCase()) && (F = !0);
342
+ b != null && b.includes(B.toLowerCase()) && (F = !0);
341
343
  }
342
344
  return F;
343
345
  }), (!u.value || !u.value.length) && (d.value = o("debouncedFilter.errors.invalid")), s.value = !1;
@@ -349,18 +351,18 @@ function Bi(e, t, n, i = {
349
351
  validationError: d,
350
352
  results: u,
351
353
  allRecords: m,
352
- loadItems: x,
354
+ loadItems: k,
353
355
  debouncedQueryChange: l
354
356
  };
355
357
  }
356
- function Ki(e, t) {
357
- const n = _(t), i = $(
358
+ function ji(e, t) {
359
+ const n = A(t), i = $(
358
360
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
359
361
  );
360
362
  return i.value.search = "", (r) => `${i.value.href}/${r}`;
361
363
  }
362
- function Ri() {
363
- const { i18n: { t: e } } = qe();
364
+ function Di() {
365
+ const { i18n: { t: e } } = He();
364
366
  return {
365
367
  getErrorFieldsFromError: (i) => {
366
368
  var a, l, s;
@@ -431,7 +433,7 @@ function Ri() {
431
433
  }
432
434
  };
433
435
  }
434
- function Ni(e) {
436
+ function Pi(e) {
435
437
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
436
438
  try {
437
439
  const i = e.join("/"), r = `${n}${i}`, o = e.some((l) => l.trim() === "");
@@ -442,7 +444,7 @@ function Ni(e) {
442
444
  return console.warn("Failed to build valid URL:", i), "";
443
445
  }
444
446
  }
445
- function zt(e, t) {
447
+ function Qt(e, t) {
446
448
  const n = $(() => {
447
449
  const r = he(e);
448
450
  return r.app === "konnect" || !!r.isExactMatch;
@@ -462,127 +464,127 @@ function zt(e, t) {
462
464
  }
463
465
  };
464
466
  }
465
- const vt = /* @__PURE__ */ new Map();
466
- function Mi(e, t, n) {
467
- const i = N(!0), r = he(e), { axiosInstance: o } = rt(r.axiosRequestConfig), a = zt(e, t), l = N({
467
+ const bt = /* @__PURE__ */ new Map();
468
+ function Ui(e, t, n) {
469
+ const i = N(!0), r = he(e), { axiosInstance: o } = at(r.axiosRequestConfig), a = Qt(e, t), l = N({
468
470
  status: me.Idle
469
471
  }), s = async (u) => {
470
472
  var m;
471
473
  const p = he(n) || "data";
472
474
  try {
473
475
  l.value = i.value ? { status: me.InitialLoad } : { status: me.Loading }, i.value = !1;
474
- let g = a(u);
475
- g.includes("filter[name]") && (g = `${g}&page[size]=${u.pageSize}&page[number]=${u.page}`);
476
- const y = await o.get(g);
477
- if (y.status >= 400)
478
- throw y;
479
- const x = y.data, C = p && p.replace(/[^\w-_]/gi, "");
480
- let k;
481
- x[C] ? k = Array.isArray(x[C]) ? x[C] : [x[C]] : Array.isArray(x) ? k = x : k = Object.keys(x).length ? [x] : [];
482
- const L = {
483
- data: k,
484
- total: k.length,
485
- ...x.offset ? {
476
+ let y = a(u);
477
+ y.includes("filter[name]") && (y = `${y}&page[size]=${u.pageSize}&page[number]=${u.page}`);
478
+ const g = await o.get(y);
479
+ if (g.status >= 400)
480
+ throw g;
481
+ const k = g.data, C = p && p.replace(/[^\w-_]/gi, "");
482
+ let x;
483
+ k[C] ? x = Array.isArray(k[C]) ? k[C] : [k[C]] : Array.isArray(k) ? x = k : x = Object.keys(k).length ? [k] : [];
484
+ const B = {
485
+ data: x,
486
+ total: x.length,
487
+ ...k.offset ? {
486
488
  pagination: {
487
- offset: x.offset
489
+ offset: k.offset
488
490
  }
489
491
  } : null
490
492
  };
491
- return L.data.length === 0 && !u.query ? l.value = {
493
+ return B.data.length === 0 && !u.query ? l.value = {
492
494
  status: me.NoRecords,
493
- response: L
495
+ response: B
494
496
  } : l.value = {
495
497
  status: me.Idle,
496
- response: L
497
- }, L;
498
- } catch (g) {
499
- const y = {
498
+ response: B
499
+ }, B;
500
+ } catch (y) {
501
+ const g = {
500
502
  data: [],
501
503
  total: 0
502
504
  };
503
- return u.query && (((m = g.response) == null ? void 0 : m.status) === 404 || g.status === 404) ? (l.value = {
505
+ return u.query && (((m = y.response) == null ? void 0 : m.status) === 404 || y.status === 404) ? (l.value = {
504
506
  status: me.NoResults,
505
- response: y,
506
- error: g.response ? g : { response: g }
507
- }, y) : (l.value = {
507
+ response: g,
508
+ error: y.response ? y : { response: y }
509
+ }, g) : (l.value = {
508
510
  status: me.Error,
509
- response: y,
510
- error: g.response ? g : { response: g }
511
- }, y);
511
+ response: g,
512
+ error: y.response ? y : { response: y }
513
+ }, g);
512
514
  }
513
- }, c = r.cacheIdentifier, d = Qt(c);
515
+ }, c = r.cacheIdentifier, d = Zt(c);
514
516
  return { fetcher: s, fetcherState: l, fetcherCacheKey: d };
515
517
  }
516
- function Qt(e) {
518
+ function Zt(e) {
517
519
  if (e) {
518
- let t = vt.get(e);
519
- return t || (t = N(1), vt.set(e, t)), t;
520
+ let t = bt.get(e);
521
+ return t || (t = N(1), bt.set(e, t)), t;
520
522
  }
521
523
  return N(1);
522
524
  }
523
- function ji() {
525
+ function qi() {
524
526
  const e = (i, r = "_") => i ? i.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
525
527
  return {
526
528
  capitalize: (i) => i ? i.replace(t, (r) => r.toUpperCase()) : "",
527
529
  convertKeyToTitle: e
528
530
  };
529
531
  }
530
- const Zt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, bt = (e) => {
532
+ const Xt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, kt = (e) => {
531
533
  if (typeof e != "string")
532
534
  throw new TypeError("Invalid argument expected string");
533
- const t = e.match(Zt);
535
+ const t = e.match(Xt);
534
536
  if (!t)
535
537
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
536
538
  return t.shift(), t;
537
- }, xt = (e) => e === "*" || e === "x" || e === "X", Ct = (e) => {
539
+ }, Ct = (e) => e === "*" || e === "x" || e === "X", xt = (e) => {
538
540
  const t = parseInt(e, 10);
539
541
  return isNaN(t) ? e : t;
540
- }, Di = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Pi = (e, t) => {
541
- if (xt(e) || xt(t))
542
+ }, Hi = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Vi = (e, t) => {
543
+ if (Ct(e) || Ct(t))
542
544
  return 0;
543
- const [n, i] = Di(Ct(e), Ct(t));
545
+ const [n, i] = Hi(xt(e), xt(t));
544
546
  return n > i ? 1 : n < i ? -1 : 0;
545
- }, kt = (e, t) => {
547
+ }, At = (e, t) => {
546
548
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
547
- const i = Pi(e[n] || "0", t[n] || "0");
549
+ const i = Vi(e[n] || "0", t[n] || "0");
548
550
  if (i !== 0)
549
551
  return i;
550
552
  }
551
553
  return 0;
552
- }, Ui = (e, t) => {
553
- const n = bt(e), i = bt(t), r = n.pop(), o = i.pop(), a = kt(n, i);
554
- return a !== 0 ? a : r && o ? kt(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
555
- }, At = (e, t, n) => {
556
- qi(n);
557
- const i = Ui(e, t);
558
- return Xt[n].includes(i);
559
- }, Xt = {
554
+ }, Yi = (e, t) => {
555
+ const n = kt(e), i = kt(t), r = n.pop(), o = i.pop(), a = At(n, i);
556
+ return a !== 0 ? a : r && o ? At(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
557
+ }, _t = (e, t, n) => {
558
+ Wi(n);
559
+ const i = Yi(e, t);
560
+ return en[n].includes(i);
561
+ }, en = {
560
562
  ">": [1],
561
563
  ">=": [0, 1],
562
564
  "=": [0],
563
565
  "<=": [-1, 0],
564
566
  "<": [-1],
565
567
  "!=": [-1, 1]
566
- }, _t = Object.keys(Xt), qi = (e) => {
568
+ }, wt = Object.keys(en), Wi = (e) => {
567
569
  if (typeof e != "string")
568
570
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
569
- if (_t.indexOf(e) === -1)
570
- throw new Error(`Invalid operator, expected one of ${_t.join("|")}`);
571
- }, Hi = (e) => typeof e == "string" && /^[v\d]/.test(e) && Zt.test(e);
572
- function Vi(e) {
571
+ if (wt.indexOf(e) === -1)
572
+ throw new Error(`Invalid operator, expected one of ${wt.join("|")}`);
573
+ }, Ji = (e) => typeof e == "string" && /^[v\d]/.test(e) && Xt.test(e);
574
+ function Gi(e) {
573
575
  const { gatewayInfo: t, supportedRange: n } = e;
574
576
  if (!t)
575
577
  return !0;
576
578
  const { edition: i, version: r } = t;
577
- if (!Hi(r))
579
+ if (!Ji(r))
578
580
  return console.error("Invalid version"), !1;
579
581
  const o = n[i];
580
582
  if (!o)
581
583
  return !1;
582
584
  const [a, l] = o;
583
- return !(a && At(r, a, "<") || l && At(r, l, ">"));
585
+ return !(a && _t(r, a, "<") || l && _t(r, l, ">"));
584
586
  }
585
- function Yi(e) {
587
+ function zi(e) {
586
588
  const t = N(0), n = N(0), i = N(!1);
587
589
  return be(e, (o) => {
588
590
  o && !i.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, i.value = !0);
@@ -590,20 +592,20 @@ function Yi(e) {
590
592
  isTruncated: $(() => t.value < n.value)
591
593
  };
592
594
  }
593
- function Wi() {
594
- const { i18n: { t: e } } = qe();
595
+ function Qi() {
596
+ const { i18n: { t: e } } = He();
595
597
  return {
596
598
  utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
597
599
  };
598
600
  }
599
- const ze = Symbol("schema"), Ji = (e) => {
600
- qt(ze, e);
601
- }, Gi = (e) => {
601
+ const Qe = Symbol("schema"), Zi = (e) => {
602
+ Ht(Qe, e);
603
+ }, Xi = (e) => {
602
604
  var r, o;
603
- const t = Ut(ze, void 0), n = (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), i = Gn(n == null ? void 0 : n[e]);
604
- return qt(ze, i), i;
605
+ const t = qt(Qe, void 0), n = (o = (r = t == null ? void 0 : t.value) == null ? void 0 : r.fields) == null ? void 0 : o.find((a) => Object.keys(a)[0] === e), i = zn(n == null ? void 0 : n[e]);
606
+ return Ht(Qe, i), i;
605
607
  };
606
- function zi(e) {
608
+ function er(e) {
607
609
  let t = "";
608
610
  const n = N(!1), i = N(null), r = $(() => {
609
611
  let a;
@@ -619,27 +621,27 @@ function zi(e) {
619
621
  };
620
622
  }
621
623
  const W = {
622
- useAxios: rt,
623
- useDebouncedFilter: Bi,
624
- useDeleteUrlBuilder: Ki,
625
- useErrors: Ri,
626
- useExternalLinkCreator: Ni,
627
- useFetcher: Mi,
628
- useFetcherCacheKey: Qt,
629
- useFetchUrlBuilder: zt,
630
- useHelpers: Gt,
631
- useStringHelpers: ji,
632
- useI18n: qe,
633
- useGatewayFeatureSupported: Vi,
634
- useTruncationDetector: Yi,
635
- useValidators: Wi,
636
- useSchemaProvider: Ji,
637
- useSubSchema: Gi,
638
- useTableState: zi
639
- }, Qi = {
624
+ useAxios: at,
625
+ useDebouncedFilter: Mi,
626
+ useDeleteUrlBuilder: ji,
627
+ useErrors: Di,
628
+ useExternalLinkCreator: Pi,
629
+ useFetcher: Ui,
630
+ useFetcherCacheKey: Zt,
631
+ useFetchUrlBuilder: Qt,
632
+ useHelpers: zt,
633
+ useStringHelpers: qi,
634
+ useI18n: He,
635
+ useGatewayFeatureSupported: Gi,
636
+ useTruncationDetector: zi,
637
+ useValidators: Qi,
638
+ useSchemaProvider: Zi,
639
+ useSubSchema: Xi,
640
+ useTableState: er
641
+ }, tr = {
640
642
  key: 0,
641
643
  class: "config-card-fieldset-title"
642
- }, Zi = /* @__PURE__ */ z({
644
+ }, nr = /* @__PURE__ */ z({
643
645
  __name: "JsonCardItem",
644
646
  props: {
645
647
  item: {
@@ -663,18 +665,18 @@ const W = {
663
665
  var s;
664
666
  return t.isArrayItem ? (s = o.value) != null && s.name ? i(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
665
667
  });
666
- return (s, c) => (h(), M(De(e.isArrayItem ? "fieldset" : "div"), {
668
+ return (s, c) => (h(), M(Pe(e.isArrayItem ? "fieldset" : "div"), {
667
669
  class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
668
670
  }, {
669
- default: A(() => [
670
- e.isArrayItem ? (h(), T("legend", Qi, [
671
- B("b", null, O(l.value), 1)
671
+ default: _(() => [
672
+ e.isArrayItem ? (h(), T("legend", tr, [
673
+ L("b", null, O(l.value), 1)
672
674
  ])) : j("", !0),
673
- (h(!0), T(ue, null, ce(Object.keys(a.value), (d, u) => (h(), M(tn, {
675
+ (h(!0), T(ue, null, ce(Object.keys(a.value), (d, u) => (h(), M(nn, {
674
676
  key: `${r.value}-property-${u}`,
675
677
  item: {
676
678
  key: d,
677
- label: _(i)(d),
679
+ label: A(i)(d),
678
680
  value: a.value[d]
679
681
  }
680
682
  }, null, 8, ["item"]))), 128))
@@ -687,7 +689,7 @@ const W = {
687
689
  for (const [i, r] of t)
688
690
  n[i] = r;
689
691
  return n;
690
- }, en = /* @__PURE__ */ le(Zi, [["__scopeId", "data-v-dc1e39a1"]]), Xi = /* @__PURE__ */ z({
692
+ }, tn = /* @__PURE__ */ le(nr, [["__scopeId", "data-v-dc1e39a1"]]), ir = /* @__PURE__ */ z({
691
693
  __name: "InternalLinkItem",
692
694
  props: {
693
695
  item: {
@@ -701,20 +703,20 @@ const W = {
701
703
  return (n, i) => {
702
704
  const r = P("KButton");
703
705
  return h(), T("div", null, [
704
- R(r, {
706
+ K(r, {
705
707
  appearance: "tertiary",
706
708
  class: "navigation-button",
707
709
  onClick: i[0] || (i[0] = (o) => n.$emit("navigation-click", e.item))
708
710
  }, {
709
- default: A(() => [
710
- q(O(e.item.value || _(t)("baseConfigCard.commonFields.link")), 1)
711
+ default: _(() => [
712
+ q(O(e.item.value || A(t)("baseConfigCard.commonFields.link")), 1)
711
713
  ]),
712
714
  _: 1
713
715
  })
714
716
  ]);
715
717
  };
716
718
  }
717
- }), er = /* @__PURE__ */ le(Xi, [["__scopeId", "data-v-2feb8c2e"]]), tr = /* @__PURE__ */ z({
719
+ }), rr = /* @__PURE__ */ le(ir, [["__scopeId", "data-v-2feb8c2e"]]), ar = /* @__PURE__ */ z({
718
720
  __name: "StatusBadge",
719
721
  props: {
720
722
  status: {
@@ -729,18 +731,39 @@ const W = {
729
731
  return h(), M(r, {
730
732
  appearance: e.status ? "success" : "neutral"
731
733
  }, {
732
- default: A(() => [
733
- q(O(e.status ? _(t)("baseConfigCard.statusBadge.enabledLabel") : _(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
734
+ default: _(() => [
735
+ q(O(e.status ? A(t)("baseConfigCard.statusBadge.enabledLabel") : A(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
734
736
  ]),
735
737
  _: 1
736
738
  }, 8, ["appearance"]);
737
739
  };
738
740
  }
739
- }), nr = "#0044f4", ir = "#e0e4ea", rr = "#afb7c5", ar = "#0044f4", or = "1px", lr = "16px", sr = "20px", cr = { class: "config-card-details-row" }, ur = ["data-testid"], dr = ["data-testid"], fr = ["data-testid"], pr = ["data-testid"], mr = { key: 1 }, hr = ["data-testid"], yr = ["data-testid"], gr = ["data-testid"], vr = ["data-testid"], br = {
741
+ }), or = "#0044f4", lr = "#e0e4ea", sr = "#afb7c5", cr = "#0044f4", ur = "1px", dr = "16px", fr = "20px", pr = ci({
742
+ langs: {
743
+ json: () => import("@shikijs/langs/json"),
744
+ yaml: () => import("@shikijs/langs/yaml"),
745
+ terraform: () => import("@shikijs/langs/terraform"),
746
+ shellscript: () => import("@shikijs/langs/shellscript"),
747
+ bash: () => import("@shikijs/langs/shellscript"),
748
+ sh: () => import("@shikijs/langs/shellscript"),
749
+ shell: () => import("@shikijs/langs/shellscript"),
750
+ zsh: () => import("@shikijs/langs/shellscript"),
751
+ powershell: () => import("@shikijs/langs/powershell")
752
+ },
753
+ themes: {
754
+ "catppuccin-mocha": () => import("@shikijs/themes/catppuccin-mocha"),
755
+ "catppuccin-latte": () => import("@shikijs/themes/catppuccin-latte")
756
+ },
757
+ engine: () => di()
758
+ }), { codeToHtml: mr } = ui(pr);
759
+ async function Te({ codeElement: e, code: t, language: n, theme: i }) {
760
+ e.innerHTML = await mr(t, { lang: n, theme: i === "dark" ? "catppuccin-mocha" : "catppuccin-latte", structure: "inline" });
761
+ }
762
+ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["data-testid"], vr = ["data-testid"], br = ["data-testid"], kr = { key: 1 }, Cr = ["data-testid"], xr = ["data-testid"], Ar = ["data-testid"], _r = ["data-testid"], wr = {
740
763
  name: "ConfigCardItem",
741
- components: { JsonCardItem: en, StatusBadge: tr, InternalLinkItem: er }
742
- }, xr = /* @__PURE__ */ z({
743
- ...br,
764
+ components: { JsonCardItem: tn, StatusBadge: ar, InternalLinkItem: rr }
765
+ }, Sr = /* @__PURE__ */ z({
766
+ ...wr,
744
767
  props: {
745
768
  item: {
746
769
  type: Object,
@@ -759,17 +782,17 @@ const W = {
759
782
  },
760
783
  emits: ["navigation-click"],
761
784
  setup(e, { emit: t }) {
762
- Ht((D) => ({
763
- v70f369b3: p.value ? "none" : `solid ${_(or)} ${_(ir)}`,
764
- v67c2fae6: u.value && c.value ? "block" : "flex",
765
- v847b138c: u.value && c.value ? "100%" : n.slim ? "50%" : "25%",
766
- v847687d6: u.value && c.value ? "100%" : n.slim ? "50%" : "75%"
785
+ Vt((D) => ({
786
+ v0b2cd434: p.value ? "none" : `solid ${A(ur)} ${A(lr)}`,
787
+ bb02ad32: u.value && c.value ? "block" : "flex",
788
+ d92de3ce: u.value && c.value ? "100%" : n.slim ? "50%" : "25%",
789
+ d9295818: u.value && c.value ? "100%" : n.slim ? "50%" : "75%"
767
790
  }));
768
- const n = e, i = t, r = zn(), o = Pe(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = W.useI18n(), c = $(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), d = $(() => !!(n.item.tooltip || o["label-tooltip"])), u = $(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), p = $(() => n.item.type === Y.JsonArray), m = W.useSubSchema(n.item.key), g = $(() => {
791
+ const n = e, i = t, r = Qn(), o = Ue(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = W.useI18n(), c = $(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), d = $(() => !!(n.item.tooltip || o["label-tooltip"])), u = $(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), p = $(() => n.item.type === Y.JsonArray), m = W.useSubSchema(n.item.key), y = $(() => {
769
792
  var D;
770
793
  return n.item.type ? n.item.type : (D = m == null ? void 0 : m.value) != null && D.encrypted ? Y.Redacted : void 0;
771
- }), y = $(() => {
772
- switch (g.value) {
794
+ }), g = $(() => {
795
+ switch (y.value) {
773
796
  case Y.ID:
774
797
  return {
775
798
  tag: "KCopy",
@@ -889,7 +912,8 @@ const W = {
889
912
  language: "json",
890
913
  code: JSON.stringify(n.item.value, null, " "),
891
914
  maxHeight: "480px",
892
- showLineNumbers: !1
915
+ showLineNumbers: !1,
916
+ onCodeBlockRender: Te
893
917
  }
894
918
  } : {
895
919
  tag: "div",
@@ -899,24 +923,24 @@ const W = {
899
923
  text: n.item.value
900
924
  };
901
925
  }
902
- }), x = N(), C = N(), { isTruncated: k } = W.useTruncationDetector(x), { isTruncated: L } = W.useTruncationDetector(C);
926
+ }), k = N(), C = N(), { isTruncated: x } = W.useTruncationDetector(k), { isTruncated: B } = W.useTruncationDetector(C);
903
927
  return (D, X) => {
904
928
  const S = P("KTooltip"), w = P("KLabel"), F = P("KBadge"), f = P("KCopy");
905
- return h(), T("div", cr, [
906
- B("div", {
929
+ return h(), T("div", hr, [
930
+ L("div", {
907
931
  class: "config-card-details-label",
908
932
  "data-testid": `${e.item.key}-label`
909
933
  }, [
910
934
  U(D.$slots, "label", { item: e.item }, () => [
911
- R(w, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
912
- default: A(() => [
913
- R(S, {
914
- text: _(k) ? e.item.label : ""
935
+ K(w, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
936
+ default: _(() => [
937
+ K(S, {
938
+ text: A(x) ? e.item.label : ""
915
939
  }, {
916
- default: A(() => [
917
- B("span", {
940
+ default: _(() => [
941
+ L("span", {
918
942
  ref_key: "labelContent",
919
- ref: x,
943
+ ref: k,
920
944
  class: "label-content"
921
945
  }, O(e.item.label), 513)
922
946
  ]),
@@ -927,31 +951,31 @@ const W = {
927
951
  }, [
928
952
  d.value ? {
929
953
  name: "tooltip",
930
- fn: A(() => [
931
- B("div", {
954
+ fn: _(() => [
955
+ L("div", {
932
956
  "data-testid": `${e.item.key}-label-tooltip`
933
957
  }, [
934
958
  U(D.$slots, "label-tooltip", {}, () => [
935
959
  q(O(e.item.tooltip), 1)
936
960
  ], !0)
937
- ], 8, dr)
961
+ ], 8, yr)
938
962
  ]),
939
963
  key: "0"
940
964
  } : void 0
941
965
  ]), 1024)
942
966
  ], !0)
943
- ], 8, ur),
944
- B("div", {
967
+ ], 8, gr),
968
+ L("div", {
945
969
  class: "config-card-details-value",
946
970
  "data-testid": `${e.item.key}-property-value`
947
971
  }, [
948
972
  U(D.$slots, e.item.key, {
949
973
  rowValue: e.item.value
950
974
  }, () => [
951
- c.value ? (h(), T("div", mr, [
952
- (h(), M(De(y.value.tag), Qn(Zn(y.value.attrs)), {
953
- default: A(() => [
954
- y.value.additionalComponent === "KBadge" ? (h(), T("div", {
975
+ c.value ? (h(), T("div", kr, [
976
+ (h(), M(Pe(g.value.tag), Zn(Xn(g.value.attrs)), {
977
+ default: _(() => [
978
+ g.value.additionalComponent === "KBadge" ? (h(), T("div", {
955
979
  key: 0,
956
980
  "data-testid": `${e.item.key}-badge-tags`
957
981
  }, [
@@ -962,57 +986,57 @@ const W = {
962
986
  tooltip: v,
963
987
  "truncation-tooltip": ""
964
988
  }, {
965
- default: A(() => [
989
+ default: _(() => [
966
990
  q(O(v), 1)
967
991
  ]),
968
992
  _: 2
969
993
  }, 1032, ["data-testid", "tooltip"]))), 128))
970
- ], 8, hr)) : y.value.additionalComponent === "KCopy" ? (h(), T("div", {
994
+ ], 8, Cr)) : g.value.additionalComponent === "KCopy" ? (h(), T("div", {
971
995
  key: 1,
972
996
  class: "copy-uuid-array",
973
997
  "data-testid": `${e.item.key}-copy-uuid-array`
974
998
  }, [
975
- (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(f, Vt({ ref_for: !0 }, y.value.childAttrs, {
999
+ (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(f, Yt({ ref_for: !0 }, g.value.childAttrs, {
976
1000
  key: `${e.item.key}-copy-uuid-${b}`,
977
1001
  "data-testid": `${e.item.key}-copy-uuid-${b}`,
978
1002
  text: v
979
1003
  }), null, 16, ["data-testid", "text"]))), 128))
980
- ], 8, yr)) : y.value.additionalComponent === "KMethodBadge" ? (h(), T("div", {
1004
+ ], 8, xr)) : g.value.additionalComponent === "KMethodBadge" ? (h(), T("div", {
981
1005
  key: 2,
982
1006
  class: "method-badge-array",
983
1007
  "data-testid": `${e.item.key}-badge-methods`
984
1008
  }, [
985
1009
  (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(F, {
986
1010
  key: `${e.item.key}-badge-method-${b}`,
987
- appearance: Object.values(_(ri)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1011
+ appearance: Object.values(A(ai)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
988
1012
  class: "config-badge",
989
1013
  "data-testid": `${e.item.key}-badge-method-${b}`
990
1014
  }, {
991
- default: A(() => [
1015
+ default: _(() => [
992
1016
  q(O(v), 1)
993
1017
  ]),
994
1018
  _: 2
995
1019
  }, 1032, ["appearance", "data-testid"]))), 128))
996
- ], 8, gr)) : y.value.additionalComponent === "JsonCardItem" ? (h(), T("div", {
1020
+ ], 8, Ar)) : g.value.additionalComponent === "JsonCardItem" ? (h(), T("div", {
997
1021
  key: 3,
998
1022
  "data-testid": `${n.item.key}-json-array-content`
999
1023
  }, [
1000
- (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(en, {
1024
+ (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(tn, {
1001
1025
  key: `json-array-item-${b}`,
1002
1026
  index: b,
1003
1027
  "is-array-item": "",
1004
1028
  item: v
1005
1029
  }, null, 8, ["index", "item"]))), 128))
1006
- ], 8, vr)) : (h(), M(S, {
1030
+ ], 8, _r)) : (h(), M(S, {
1007
1031
  key: 4,
1008
- text: _(L) ? e.item.value : ""
1032
+ text: A(B) ? e.item.value : ""
1009
1033
  }, {
1010
- default: A(() => [
1011
- B("span", {
1034
+ default: _(() => [
1035
+ L("span", {
1012
1036
  ref_key: "textContent",
1013
1037
  ref: C,
1014
1038
  class: fe(["attrs-data-text", { truncated: e.truncated }])
1015
- }, O(y.value.text), 3)
1039
+ }, O(g.value.text), 3)
1016
1040
  ]),
1017
1041
  _: 1
1018
1042
  }, 8, ["text"]))
@@ -1022,16 +1046,16 @@ const W = {
1022
1046
  ])) : (h(), T("div", {
1023
1047
  key: 0,
1024
1048
  "data-testid": `${e.item.key}-no-value`
1025
- }, " – ", 8, pr))
1049
+ }, " – ", 8, br))
1026
1050
  ], !0)
1027
- ], 8, fr)
1051
+ ], 8, vr)
1028
1052
  ]);
1029
1053
  };
1030
1054
  }
1031
- }), tn = /* @__PURE__ */ le(xr, [["__scopeId", "data-v-66d61bea"]]), Cr = { class: "json-config config-card-code-block" }, kr = {
1055
+ }), nn = /* @__PURE__ */ le(Sr, [["__scopeId", "data-v-40ffb9f1"]]), $r = { class: "json-config config-card-code-block" }, Tr = {
1032
1056
  key: 0,
1033
1057
  class: "json-endpoint"
1034
- }, nn = /* @__PURE__ */ z({
1058
+ }, rn = /* @__PURE__ */ z({
1035
1059
  __name: "JsonCodeBlock",
1036
1060
  props: {
1037
1061
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1059,8 +1083,8 @@ const W = {
1059
1083
  }
1060
1084
  },
1061
1085
  setup(e) {
1062
- Ht((r) => ({
1063
- eca0976a: `${i.value}ch`
1086
+ Vt((r) => ({
1087
+ v58418ff6: `${i.value}ch`
1064
1088
  }));
1065
1089
  const t = e, n = $(() => t.entityRecord), i = $(() => {
1066
1090
  var a;
@@ -1071,20 +1095,20 @@ const W = {
1071
1095
  });
1072
1096
  return (r, o) => {
1073
1097
  const a = P("KBadge"), l = P("KCodeBlock");
1074
- return h(), T("div", Cr, [
1075
- t.fetcherUrl ? (h(), T("div", kr, [
1076
- R(a, {
1098
+ return h(), T("div", $r, [
1099
+ t.fetcherUrl ? (h(), T("div", Tr, [
1100
+ K(a, {
1077
1101
  appearance: t.requestMethod
1078
1102
  }, {
1079
- default: A(() => [
1103
+ default: _(() => [
1080
1104
  q(O(t.requestMethod), 1)
1081
1105
  ]),
1082
1106
  _: 1
1083
1107
  }, 8, ["appearance"]),
1084
- R(l, {
1108
+ K(l, {
1085
1109
  id: "json-endpoint-codeblock",
1086
1110
  code: t.fetcherUrl,
1087
- language: "json",
1111
+ language: "plaintext",
1088
1112
  "single-line": "",
1089
1113
  theme: "dark"
1090
1114
  }, null, 8, ["code"])
@@ -1095,62 +1119,63 @@ const W = {
1095
1119
  class: fe({ "json-content": t.fetcherUrl }),
1096
1120
  code: JSON.stringify(n.value, null, 2),
1097
1121
  language: "json",
1098
- theme: "dark"
1099
- }, null, 8, ["class", "code"])) : j("", !0)
1122
+ theme: "dark",
1123
+ onCodeBlockRender: A(Te)
1124
+ }, null, 8, ["class", "code", "onCodeBlockRender"])) : j("", !0)
1100
1125
  ]);
1101
1126
  };
1102
1127
  }
1103
1128
  });
1104
1129
  /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
1105
- function rn(e) {
1130
+ function an(e) {
1106
1131
  return typeof e > "u" || e === null;
1107
1132
  }
1108
- function Ar(e) {
1133
+ function Er(e) {
1109
1134
  return typeof e == "object" && e !== null;
1110
1135
  }
1111
- function _r(e) {
1112
- return Array.isArray(e) ? e : rn(e) ? [] : [e];
1136
+ function Ir(e) {
1137
+ return Array.isArray(e) ? e : an(e) ? [] : [e];
1113
1138
  }
1114
- function wr(e, t) {
1139
+ function Fr(e, t) {
1115
1140
  var n, i, r, o;
1116
1141
  if (t)
1117
1142
  for (o = Object.keys(t), n = 0, i = o.length; n < i; n += 1)
1118
1143
  r = o[n], e[r] = t[r];
1119
1144
  return e;
1120
1145
  }
1121
- function Sr(e, t) {
1146
+ function Or(e, t) {
1122
1147
  var n = "", i;
1123
1148
  for (i = 0; i < t; i += 1)
1124
1149
  n += e;
1125
1150
  return n;
1126
1151
  }
1127
- function $r(e) {
1152
+ function Br(e) {
1128
1153
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1129
1154
  }
1130
- var Tr = rn, Er = Ar, Ir = _r, Fr = Sr, Or = $r, Lr = wr, ee = {
1131
- isNothing: Tr,
1132
- isObject: Er,
1133
- toArray: Ir,
1134
- repeat: Fr,
1135
- isNegativeZero: Or,
1136
- extend: Lr
1155
+ var Lr = an, Rr = Er, Kr = Ir, Nr = Or, Mr = Br, jr = Fr, ee = {
1156
+ isNothing: Lr,
1157
+ isObject: Rr,
1158
+ toArray: Kr,
1159
+ repeat: Nr,
1160
+ isNegativeZero: Mr,
1161
+ extend: jr
1137
1162
  };
1138
- function an(e, t) {
1163
+ function on(e, t) {
1139
1164
  var n = "", i = e.reason || "(unknown reason)";
1140
1165
  return e.mark ? (e.mark.name && (n += 'in "' + e.mark.name + '" '), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += `
1141
1166
 
1142
1167
  ` + e.mark.snippet), i + " " + n) : i;
1143
1168
  }
1144
- function Ie(e, t) {
1145
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = an(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1169
+ function Fe(e, t) {
1170
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = on(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1146
1171
  }
1147
- Ie.prototype = Object.create(Error.prototype);
1148
- Ie.prototype.constructor = Ie;
1149
- Ie.prototype.toString = function(t) {
1150
- return this.name + ": " + an(this, t);
1172
+ Fe.prototype = Object.create(Error.prototype);
1173
+ Fe.prototype.constructor = Fe;
1174
+ Fe.prototype.toString = function(t) {
1175
+ return this.name + ": " + on(this, t);
1151
1176
  };
1152
- var oe = Ie;
1153
- function Ye(e, t, n, i, r) {
1177
+ var oe = Fe;
1178
+ function We(e, t, n, i, r) {
1154
1179
  var o = "", a = "", l = Math.floor(r / 2) - 1;
1155
1180
  return i - t > l && (o = " ... ", t = i - l + o.length), n - i > l && (a = " ...", n = i + l - a.length), {
1156
1181
  str: o + e.slice(t, n).replace(/\t/g, "→") + a,
@@ -1158,10 +1183,10 @@ function Ye(e, t, n, i, r) {
1158
1183
  // relative position
1159
1184
  };
1160
1185
  }
1161
- function We(e, t) {
1186
+ function Je(e, t) {
1162
1187
  return ee.repeat(" ", t - e.length) + e;
1163
1188
  }
1164
- function Br(e, t) {
1189
+ function Dr(e, t) {
1165
1190
  if (t = Object.create(t || null), !e.buffer) return null;
1166
1191
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1167
1192
  for (var n = /\r?\n|\r|\0/g, i = [0], r = [], o, a = -1; o = n.exec(e.buffer); )
@@ -1169,28 +1194,28 @@ function Br(e, t) {
1169
1194
  a < 0 && (a = i.length - 1);
1170
1195
  var l = "", s, c, d = Math.min(e.line + t.linesAfter, r.length).toString().length, u = t.maxLength - (t.indent + d + 3);
1171
1196
  for (s = 1; s <= t.linesBefore && !(a - s < 0); s++)
1172
- c = Ye(
1197
+ c = We(
1173
1198
  e.buffer,
1174
1199
  i[a - s],
1175
1200
  r[a - s],
1176
1201
  e.position - (i[a] - i[a - s]),
1177
1202
  u
1178
- ), l = ee.repeat(" ", t.indent) + We((e.line - s + 1).toString(), d) + " | " + c.str + `
1203
+ ), l = ee.repeat(" ", t.indent) + Je((e.line - s + 1).toString(), d) + " | " + c.str + `
1179
1204
  ` + l;
1180
- for (c = Ye(e.buffer, i[a], r[a], e.position, u), l += ee.repeat(" ", t.indent) + We((e.line + 1).toString(), d) + " | " + c.str + `
1205
+ for (c = We(e.buffer, i[a], r[a], e.position, u), l += ee.repeat(" ", t.indent) + Je((e.line + 1).toString(), d) + " | " + c.str + `
1181
1206
  `, l += ee.repeat("-", t.indent + d + 3 + c.pos) + `^
1182
1207
  `, s = 1; s <= t.linesAfter && !(a + s >= r.length); s++)
1183
- c = Ye(
1208
+ c = We(
1184
1209
  e.buffer,
1185
1210
  i[a + s],
1186
1211
  r[a + s],
1187
1212
  e.position - (i[a] - i[a + s]),
1188
1213
  u
1189
- ), l += ee.repeat(" ", t.indent) + We((e.line + s + 1).toString(), d) + " | " + c.str + `
1214
+ ), l += ee.repeat(" ", t.indent) + Je((e.line + s + 1).toString(), d) + " | " + c.str + `
1190
1215
  `;
1191
1216
  return l.replace(/\n$/, "");
1192
1217
  }
1193
- var Kr = Br, Rr = [
1218
+ var Pr = Dr, Ur = [
1194
1219
  "kind",
1195
1220
  "multi",
1196
1221
  "resolve",
@@ -1201,12 +1226,12 @@ var Kr = Br, Rr = [
1201
1226
  "representName",
1202
1227
  "defaultStyle",
1203
1228
  "styleAliases"
1204
- ], Nr = [
1229
+ ], qr = [
1205
1230
  "scalar",
1206
1231
  "sequence",
1207
1232
  "mapping"
1208
1233
  ];
1209
- function Mr(e) {
1234
+ function Hr(e) {
1210
1235
  var t = {};
1211
1236
  return e !== null && Object.keys(e).forEach(function(n) {
1212
1237
  e[n].forEach(function(i) {
@@ -1214,19 +1239,19 @@ function Mr(e) {
1214
1239
  });
1215
1240
  }), t;
1216
1241
  }
1217
- function jr(e, t) {
1242
+ function Vr(e, t) {
1218
1243
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1219
- if (Rr.indexOf(n) === -1)
1244
+ if (Ur.indexOf(n) === -1)
1220
1245
  throw new oe('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1221
1246
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1222
1247
  return !0;
1223
1248
  }, this.construct = t.construct || function(n) {
1224
1249
  return n;
1225
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Mr(t.styleAliases || null), Nr.indexOf(this.kind) === -1)
1250
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Hr(t.styleAliases || null), qr.indexOf(this.kind) === -1)
1226
1251
  throw new oe('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1227
1252
  }
1228
- var ie = jr;
1229
- function wt(e, t) {
1253
+ var ie = Vr;
1254
+ function St(e, t) {
1230
1255
  var n = [];
1231
1256
  return e[t].forEach(function(i) {
1232
1257
  var r = n.length;
@@ -1235,7 +1260,7 @@ function wt(e, t) {
1235
1260
  }), n[r] = i;
1236
1261
  }), n;
1237
1262
  }
1238
- function Dr() {
1263
+ function Yr() {
1239
1264
  var e = {
1240
1265
  scalar: {},
1241
1266
  sequence: {},
@@ -1255,10 +1280,10 @@ function Dr() {
1255
1280
  arguments[t].forEach(i);
1256
1281
  return e;
1257
1282
  }
1258
- function Qe(e) {
1283
+ function Ze(e) {
1259
1284
  return this.extend(e);
1260
1285
  }
1261
- Qe.prototype.extend = function(t) {
1286
+ Ze.prototype.extend = function(t) {
1262
1287
  var n = [], i = [];
1263
1288
  if (t instanceof ie)
1264
1289
  i.push(t);
@@ -1279,47 +1304,47 @@ Qe.prototype.extend = function(t) {
1279
1304
  if (!(o instanceof ie))
1280
1305
  throw new oe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1281
1306
  });
1282
- var r = Object.create(Qe.prototype);
1283
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(i), r.compiledImplicit = wt(r, "implicit"), r.compiledExplicit = wt(r, "explicit"), r.compiledTypeMap = Dr(r.compiledImplicit, r.compiledExplicit), r;
1307
+ var r = Object.create(Ze.prototype);
1308
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(i), r.compiledImplicit = St(r, "implicit"), r.compiledExplicit = St(r, "explicit"), r.compiledTypeMap = Yr(r.compiledImplicit, r.compiledExplicit), r;
1284
1309
  };
1285
- var on = Qe, ln = new ie("tag:yaml.org,2002:str", {
1310
+ var ln = Ze, sn = new ie("tag:yaml.org,2002:str", {
1286
1311
  kind: "scalar",
1287
1312
  construct: function(e) {
1288
1313
  return e !== null ? e : "";
1289
1314
  }
1290
- }), sn = new ie("tag:yaml.org,2002:seq", {
1315
+ }), cn = new ie("tag:yaml.org,2002:seq", {
1291
1316
  kind: "sequence",
1292
1317
  construct: function(e) {
1293
1318
  return e !== null ? e : [];
1294
1319
  }
1295
- }), cn = new ie("tag:yaml.org,2002:map", {
1320
+ }), un = new ie("tag:yaml.org,2002:map", {
1296
1321
  kind: "mapping",
1297
1322
  construct: function(e) {
1298
1323
  return e !== null ? e : {};
1299
1324
  }
1300
- }), un = new on({
1325
+ }), dn = new ln({
1301
1326
  explicit: [
1302
- ln,
1303
1327
  sn,
1304
- cn
1328
+ cn,
1329
+ un
1305
1330
  ]
1306
1331
  });
1307
- function Pr(e) {
1332
+ function Wr(e) {
1308
1333
  if (e === null) return !0;
1309
1334
  var t = e.length;
1310
1335
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1311
1336
  }
1312
- function Ur() {
1337
+ function Jr() {
1313
1338
  return null;
1314
1339
  }
1315
- function qr(e) {
1340
+ function Gr(e) {
1316
1341
  return e === null;
1317
1342
  }
1318
- var dn = new ie("tag:yaml.org,2002:null", {
1343
+ var fn = new ie("tag:yaml.org,2002:null", {
1319
1344
  kind: "scalar",
1320
- resolve: Pr,
1321
- construct: Ur,
1322
- predicate: qr,
1345
+ resolve: Wr,
1346
+ construct: Jr,
1347
+ predicate: Gr,
1323
1348
  represent: {
1324
1349
  canonical: function() {
1325
1350
  return "~";
@@ -1339,22 +1364,22 @@ var dn = new ie("tag:yaml.org,2002:null", {
1339
1364
  },
1340
1365
  defaultStyle: "lowercase"
1341
1366
  });
1342
- function Hr(e) {
1367
+ function zr(e) {
1343
1368
  if (e === null) return !1;
1344
1369
  var t = e.length;
1345
1370
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1346
1371
  }
1347
- function Vr(e) {
1372
+ function Qr(e) {
1348
1373
  return e === "true" || e === "True" || e === "TRUE";
1349
1374
  }
1350
- function Yr(e) {
1375
+ function Zr(e) {
1351
1376
  return Object.prototype.toString.call(e) === "[object Boolean]";
1352
1377
  }
1353
- var fn = new ie("tag:yaml.org,2002:bool", {
1378
+ var pn = new ie("tag:yaml.org,2002:bool", {
1354
1379
  kind: "scalar",
1355
- resolve: Hr,
1356
- construct: Vr,
1357
- predicate: Yr,
1380
+ resolve: zr,
1381
+ construct: Qr,
1382
+ predicate: Zr,
1358
1383
  represent: {
1359
1384
  lowercase: function(e) {
1360
1385
  return e ? "true" : "false";
@@ -1368,16 +1393,16 @@ var fn = new ie("tag:yaml.org,2002:bool", {
1368
1393
  },
1369
1394
  defaultStyle: "lowercase"
1370
1395
  });
1371
- function Wr(e) {
1396
+ function Xr(e) {
1372
1397
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1373
1398
  }
1374
- function Jr(e) {
1399
+ function ea(e) {
1375
1400
  return 48 <= e && e <= 55;
1376
1401
  }
1377
- function Gr(e) {
1402
+ function ta(e) {
1378
1403
  return 48 <= e && e <= 57;
1379
1404
  }
1380
- function zr(e) {
1405
+ function na(e) {
1381
1406
  if (e === null) return !1;
1382
1407
  var t = e.length, n = 0, i = !1, r;
1383
1408
  if (!t) return !1;
@@ -1394,7 +1419,7 @@ function zr(e) {
1394
1419
  if (r === "x") {
1395
1420
  for (n++; n < t; n++)
1396
1421
  if (r = e[n], r !== "_") {
1397
- if (!Wr(e.charCodeAt(n))) return !1;
1422
+ if (!Xr(e.charCodeAt(n))) return !1;
1398
1423
  i = !0;
1399
1424
  }
1400
1425
  return i && r !== "_";
@@ -1402,7 +1427,7 @@ function zr(e) {
1402
1427
  if (r === "o") {
1403
1428
  for (n++; n < t; n++)
1404
1429
  if (r = e[n], r !== "_") {
1405
- if (!Jr(e.charCodeAt(n))) return !1;
1430
+ if (!ea(e.charCodeAt(n))) return !1;
1406
1431
  i = !0;
1407
1432
  }
1408
1433
  return i && r !== "_";
@@ -1411,13 +1436,13 @@ function zr(e) {
1411
1436
  if (r === "_") return !1;
1412
1437
  for (; n < t; n++)
1413
1438
  if (r = e[n], r !== "_") {
1414
- if (!Gr(e.charCodeAt(n)))
1439
+ if (!ta(e.charCodeAt(n)))
1415
1440
  return !1;
1416
1441
  i = !0;
1417
1442
  }
1418
1443
  return !(!i || r === "_");
1419
1444
  }
1420
- function Qr(e) {
1445
+ function ia(e) {
1421
1446
  var t = e, n = 1, i;
1422
1447
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (n = -1), t = t.slice(1), i = t[0]), t === "0") return 0;
1423
1448
  if (i === "0") {
@@ -1427,14 +1452,14 @@ function Qr(e) {
1427
1452
  }
1428
1453
  return n * parseInt(t, 10);
1429
1454
  }
1430
- function Zr(e) {
1455
+ function ra(e) {
1431
1456
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ee.isNegativeZero(e);
1432
1457
  }
1433
- var pn = new ie("tag:yaml.org,2002:int", {
1458
+ var mn = new ie("tag:yaml.org,2002:int", {
1434
1459
  kind: "scalar",
1435
- resolve: zr,
1436
- construct: Qr,
1437
- predicate: Zr,
1460
+ resolve: na,
1461
+ construct: ia,
1462
+ predicate: ra,
1438
1463
  represent: {
1439
1464
  binary: function(e) {
1440
1465
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1457,21 +1482,21 @@ var pn = new ie("tag:yaml.org,2002:int", {
1457
1482
  decimal: [10, "dec"],
1458
1483
  hexadecimal: [16, "hex"]
1459
1484
  }
1460
- }), Xr = new RegExp(
1485
+ }), aa = new RegExp(
1461
1486
  // 2.5e4, 2.5 and integers
1462
1487
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1463
1488
  );
1464
- function ea(e) {
1465
- return !(e === null || !Xr.test(e) || // Quick hack to not allow integers end with `_`
1489
+ function oa(e) {
1490
+ return !(e === null || !aa.test(e) || // Quick hack to not allow integers end with `_`
1466
1491
  // Probably should update regexp & check speed
1467
1492
  e[e.length - 1] === "_");
1468
1493
  }
1469
- function ta(e) {
1494
+ function la(e) {
1470
1495
  var t, n;
1471
1496
  return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
1472
1497
  }
1473
- var na = /^[-+]?[0-9]+e/;
1474
- function ia(e, t) {
1498
+ var sa = /^[-+]?[0-9]+e/;
1499
+ function ca(e, t) {
1475
1500
  var n;
1476
1501
  if (isNaN(e))
1477
1502
  switch (t) {
@@ -1502,36 +1527,36 @@ function ia(e, t) {
1502
1527
  }
1503
1528
  else if (ee.isNegativeZero(e))
1504
1529
  return "-0.0";
1505
- return n = e.toString(10), na.test(n) ? n.replace("e", ".e") : n;
1530
+ return n = e.toString(10), sa.test(n) ? n.replace("e", ".e") : n;
1506
1531
  }
1507
- function ra(e) {
1532
+ function ua(e) {
1508
1533
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ee.isNegativeZero(e));
1509
1534
  }
1510
- var mn = new ie("tag:yaml.org,2002:float", {
1535
+ var hn = new ie("tag:yaml.org,2002:float", {
1511
1536
  kind: "scalar",
1512
- resolve: ea,
1513
- construct: ta,
1514
- predicate: ra,
1515
- represent: ia,
1537
+ resolve: oa,
1538
+ construct: la,
1539
+ predicate: ua,
1540
+ represent: ca,
1516
1541
  defaultStyle: "lowercase"
1517
- }), hn = un.extend({
1542
+ }), gn = dn.extend({
1518
1543
  implicit: [
1519
- dn,
1520
1544
  fn,
1521
1545
  pn,
1522
- mn
1546
+ mn,
1547
+ hn
1523
1548
  ]
1524
- }), yn = hn, gn = new RegExp(
1549
+ }), yn = gn, vn = new RegExp(
1525
1550
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1526
- ), vn = new RegExp(
1551
+ ), bn = new RegExp(
1527
1552
  "^([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]))?))?$"
1528
1553
  );
1529
- function aa(e) {
1530
- return e === null ? !1 : gn.exec(e) !== null || vn.exec(e) !== null;
1554
+ function da(e) {
1555
+ return e === null ? !1 : vn.exec(e) !== null || bn.exec(e) !== null;
1531
1556
  }
1532
- function oa(e) {
1557
+ function fa(e) {
1533
1558
  var t, n, i, r, o, a, l, s = 0, c = null, d, u, p;
1534
- if (t = gn.exec(e), t === null && (t = vn.exec(e)), t === null) throw new Error("Date resolve error");
1559
+ if (t = vn.exec(e), t === null && (t = bn.exec(e)), t === null) throw new Error("Date resolve error");
1535
1560
  if (n = +t[1], i = +t[2] - 1, r = +t[3], !t[4])
1536
1561
  return new Date(Date.UTC(n, i, r));
1537
1562
  if (o = +t[4], a = +t[5], l = +t[6], t[7]) {
@@ -1541,27 +1566,27 @@ function oa(e) {
1541
1566
  }
1542
1567
  return t[9] && (d = +t[10], u = +(t[11] || 0), c = (d * 60 + u) * 6e4, t[9] === "-" && (c = -c)), p = new Date(Date.UTC(n, i, r, o, a, l, s)), c && p.setTime(p.getTime() - c), p;
1543
1568
  }
1544
- function la(e) {
1569
+ function pa(e) {
1545
1570
  return e.toISOString();
1546
1571
  }
1547
- var bn = new ie("tag:yaml.org,2002:timestamp", {
1572
+ var kn = new ie("tag:yaml.org,2002:timestamp", {
1548
1573
  kind: "scalar",
1549
- resolve: aa,
1550
- construct: oa,
1574
+ resolve: da,
1575
+ construct: fa,
1551
1576
  instanceOf: Date,
1552
- represent: la
1577
+ represent: pa
1553
1578
  });
1554
- function sa(e) {
1579
+ function ma(e) {
1555
1580
  return e === "<<" || e === null;
1556
1581
  }
1557
- var xn = new ie("tag:yaml.org,2002:merge", {
1582
+ var Cn = new ie("tag:yaml.org,2002:merge", {
1558
1583
  kind: "scalar",
1559
- resolve: sa
1560
- }), at = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1584
+ resolve: ma
1585
+ }), ot = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1561
1586
  \r`;
1562
- function ca(e) {
1587
+ function ha(e) {
1563
1588
  if (e === null) return !1;
1564
- var t, n, i = 0, r = e.length, o = at;
1589
+ var t, n, i = 0, r = e.length, o = ot;
1565
1590
  for (n = 0; n < r; n++)
1566
1591
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1567
1592
  if (t < 0) return !1;
@@ -1569,35 +1594,35 @@ function ca(e) {
1569
1594
  }
1570
1595
  return i % 8 === 0;
1571
1596
  }
1572
- function ua(e) {
1573
- var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = at, a = 0, l = [];
1597
+ function ga(e) {
1598
+ var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = ot, a = 0, l = [];
1574
1599
  for (t = 0; t < r; t++)
1575
1600
  t % 4 === 0 && t && (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)), a = a << 6 | o.indexOf(i.charAt(t));
1576
1601
  return n = r % 4 * 6, n === 0 ? (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)) : n === 18 ? (l.push(a >> 10 & 255), l.push(a >> 2 & 255)) : n === 12 && l.push(a >> 4 & 255), new Uint8Array(l);
1577
1602
  }
1578
- function da(e) {
1579
- var t = "", n = 0, i, r, o = e.length, a = at;
1603
+ function ya(e) {
1604
+ var t = "", n = 0, i, r, o = e.length, a = ot;
1580
1605
  for (i = 0; i < o; i++)
1581
1606
  i % 3 === 0 && i && (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]), n = (n << 8) + e[i];
1582
1607
  return r = o % 3, r === 0 ? (t += a[n >> 18 & 63], t += a[n >> 12 & 63], t += a[n >> 6 & 63], t += a[n & 63]) : r === 2 ? (t += a[n >> 10 & 63], t += a[n >> 4 & 63], t += a[n << 2 & 63], t += a[64]) : r === 1 && (t += a[n >> 2 & 63], t += a[n << 4 & 63], t += a[64], t += a[64]), t;
1583
1608
  }
1584
- function fa(e) {
1609
+ function va(e) {
1585
1610
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1586
1611
  }
1587
- var Cn = new ie("tag:yaml.org,2002:binary", {
1612
+ var xn = new ie("tag:yaml.org,2002:binary", {
1588
1613
  kind: "scalar",
1589
- resolve: ca,
1590
- construct: ua,
1591
- predicate: fa,
1592
- represent: da
1593
- }), pa = Object.prototype.hasOwnProperty, ma = Object.prototype.toString;
1594
- function ha(e) {
1614
+ resolve: ha,
1615
+ construct: ga,
1616
+ predicate: va,
1617
+ represent: ya
1618
+ }), ba = Object.prototype.hasOwnProperty, ka = Object.prototype.toString;
1619
+ function Ca(e) {
1595
1620
  if (e === null) return !0;
1596
1621
  var t = [], n, i, r, o, a, l = e;
1597
1622
  for (n = 0, i = l.length; n < i; n += 1) {
1598
- if (r = l[n], a = !1, ma.call(r) !== "[object Object]") return !1;
1623
+ if (r = l[n], a = !1, ka.call(r) !== "[object Object]") return !1;
1599
1624
  for (o in r)
1600
- if (pa.call(r, o))
1625
+ if (ba.call(r, o))
1601
1626
  if (!a) a = !0;
1602
1627
  else return !1;
1603
1628
  if (!a) return !1;
@@ -1606,63 +1631,63 @@ function ha(e) {
1606
1631
  }
1607
1632
  return !0;
1608
1633
  }
1609
- function ya(e) {
1634
+ function xa(e) {
1610
1635
  return e !== null ? e : [];
1611
1636
  }
1612
- var kn = new ie("tag:yaml.org,2002:omap", {
1637
+ var An = new ie("tag:yaml.org,2002:omap", {
1613
1638
  kind: "sequence",
1614
- resolve: ha,
1615
- construct: ya
1616
- }), ga = Object.prototype.toString;
1617
- function va(e) {
1639
+ resolve: Ca,
1640
+ construct: xa
1641
+ }), Aa = Object.prototype.toString;
1642
+ function _a(e) {
1618
1643
  if (e === null) return !0;
1619
1644
  var t, n, i, r, o, a = e;
1620
1645
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
1621
- if (i = a[t], ga.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1)) return !1;
1646
+ if (i = a[t], Aa.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1)) return !1;
1622
1647
  o[t] = [r[0], i[r[0]]];
1623
1648
  }
1624
1649
  return !0;
1625
1650
  }
1626
- function ba(e) {
1651
+ function wa(e) {
1627
1652
  if (e === null) return [];
1628
1653
  var t, n, i, r, o, a = e;
1629
1654
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1)
1630
1655
  i = a[t], r = Object.keys(i), o[t] = [r[0], i[r[0]]];
1631
1656
  return o;
1632
1657
  }
1633
- var An = new ie("tag:yaml.org,2002:pairs", {
1658
+ var _n = new ie("tag:yaml.org,2002:pairs", {
1634
1659
  kind: "sequence",
1635
- resolve: va,
1636
- construct: ba
1637
- }), xa = Object.prototype.hasOwnProperty;
1638
- function Ca(e) {
1660
+ resolve: _a,
1661
+ construct: wa
1662
+ }), Sa = Object.prototype.hasOwnProperty;
1663
+ function $a(e) {
1639
1664
  if (e === null) return !0;
1640
1665
  var t, n = e;
1641
1666
  for (t in n)
1642
- if (xa.call(n, t) && n[t] !== null)
1667
+ if (Sa.call(n, t) && n[t] !== null)
1643
1668
  return !1;
1644
1669
  return !0;
1645
1670
  }
1646
- function ka(e) {
1671
+ function Ta(e) {
1647
1672
  return e !== null ? e : {};
1648
1673
  }
1649
- var _n = new ie("tag:yaml.org,2002:set", {
1674
+ var wn = new ie("tag:yaml.org,2002:set", {
1650
1675
  kind: "mapping",
1651
- resolve: Ca,
1652
- construct: ka
1653
- }), ot = yn.extend({
1676
+ resolve: $a,
1677
+ construct: Ta
1678
+ }), lt = yn.extend({
1654
1679
  implicit: [
1655
- bn,
1656
- xn
1680
+ kn,
1681
+ Cn
1657
1682
  ],
1658
1683
  explicit: [
1659
- Cn,
1660
- kn,
1684
+ xn,
1661
1685
  An,
1662
- _n
1686
+ _n,
1687
+ wn
1663
1688
  ]
1664
- }), ge = Object.prototype.hasOwnProperty, Ke = 1, wn = 2, Sn = 3, Re = 4, Je = 1, Aa = 2, St = 3, _a = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, wa = /[\x85\u2028\u2029]/, Sa = /[,\[\]\{\}]/, $n = /^(?:!|!!|![a-z\-]+!)$/i, Tn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1665
- function $t(e) {
1689
+ }), ye = Object.prototype.hasOwnProperty, Ke = 1, Sn = 2, $n = 3, Ne = 4, Ge = 1, Ea = 2, $t = 3, Ia = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Fa = /[\x85\u2028\u2029]/, Oa = /[,\[\]\{\}]/, Tn = /^(?:!|!!|![a-z\-]+!)$/i, En = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1690
+ function Tt(e) {
1666
1691
  return Object.prototype.toString.call(e);
1667
1692
  }
1668
1693
  function de(e) {
@@ -1677,27 +1702,27 @@ function se(e) {
1677
1702
  function _e(e) {
1678
1703
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1679
1704
  }
1680
- function $a(e) {
1705
+ function Ba(e) {
1681
1706
  var t;
1682
1707
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1683
1708
  }
1684
- function Ta(e) {
1709
+ function La(e) {
1685
1710
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1686
1711
  }
1687
- function Ea(e) {
1712
+ function Ra(e) {
1688
1713
  return 48 <= e && e <= 57 ? e - 48 : -1;
1689
1714
  }
1690
- function Tt(e) {
1715
+ function Et(e) {
1691
1716
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1692
1717
  ` : 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" : "";
1693
1718
  }
1694
- function Ia(e) {
1719
+ function Ka(e) {
1695
1720
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1696
1721
  (e - 65536 >> 10) + 55296,
1697
1722
  (e - 65536 & 1023) + 56320
1698
1723
  );
1699
1724
  }
1700
- function En(e, t, n) {
1725
+ function In(e, t, n) {
1701
1726
  t === "__proto__" ? Object.defineProperty(e, t, {
1702
1727
  configurable: !0,
1703
1728
  enumerable: !0,
@@ -1705,13 +1730,13 @@ function En(e, t, n) {
1705
1730
  value: n
1706
1731
  }) : e[t] = n;
1707
1732
  }
1708
- var In = new Array(256), Fn = new Array(256);
1709
- for (var ke = 0; ke < 256; ke++)
1710
- In[ke] = Tt(ke) ? 1 : 0, Fn[ke] = Tt(ke);
1711
- function Fa(e, t) {
1712
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || ot, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1733
+ var Fn = new Array(256), On = new Array(256);
1734
+ for (var xe = 0; xe < 256; xe++)
1735
+ Fn[xe] = Et(xe) ? 1 : 0, On[xe] = Et(xe);
1736
+ function Na(e, t) {
1737
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || lt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1713
1738
  }
1714
- function On(e, t) {
1739
+ function Bn(e, t) {
1715
1740
  var n = {
1716
1741
  name: e.filename,
1717
1742
  buffer: e.input.slice(0, -1),
@@ -1720,22 +1745,22 @@ function On(e, t) {
1720
1745
  line: e.line,
1721
1746
  column: e.position - e.lineStart
1722
1747
  };
1723
- return n.snippet = Kr(n), new oe(t, n);
1748
+ return n.snippet = Pr(n), new oe(t, n);
1724
1749
  }
1725
1750
  function I(e, t) {
1726
- throw On(e, t);
1751
+ throw Bn(e, t);
1727
1752
  }
1728
- function Ne(e, t) {
1729
- e.onWarning && e.onWarning.call(null, On(e, t));
1753
+ function Me(e, t) {
1754
+ e.onWarning && e.onWarning.call(null, Bn(e, t));
1730
1755
  }
1731
- var Et = {
1756
+ var It = {
1732
1757
  YAML: function(t, n, i) {
1733
1758
  var r, o, a;
1734
- t.version !== null && I(t, "duplication of %YAML directive"), i.length !== 1 && I(t, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && I(t, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && I(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Ne(t, "unsupported YAML version of the document");
1759
+ t.version !== null && I(t, "duplication of %YAML directive"), i.length !== 1 && I(t, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && I(t, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && I(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Me(t, "unsupported YAML version of the document");
1735
1760
  },
1736
1761
  TAG: function(t, n, i) {
1737
1762
  var r, o;
1738
- i.length !== 2 && I(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], $n.test(r) || I(t, "ill-formed tag handle (first argument) of the TAG directive"), ge.call(t.tagMap, r) && I(t, 'there is a previously declared suffix for "' + r + '" tag handle'), Tn.test(o) || I(t, "ill-formed tag prefix (second argument) of the TAG directive");
1763
+ i.length !== 2 && I(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], Tn.test(r) || I(t, "ill-formed tag handle (first argument) of the TAG directive"), ye.call(t.tagMap, r) && I(t, 'there is a previously declared suffix for "' + r + '" tag handle'), En.test(o) || I(t, "ill-formed tag prefix (second argument) of the TAG directive");
1739
1764
  try {
1740
1765
  o = decodeURIComponent(o);
1741
1766
  } catch {
@@ -1744,37 +1769,37 @@ var Et = {
1744
1769
  t.tagMap[r] = o;
1745
1770
  }
1746
1771
  };
1747
- function ye(e, t, n, i) {
1772
+ function ge(e, t, n, i) {
1748
1773
  var r, o, a, l;
1749
1774
  if (t < n) {
1750
1775
  if (l = e.input.slice(t, n), i)
1751
1776
  for (r = 0, o = l.length; r < o; r += 1)
1752
1777
  a = l.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || I(e, "expected valid JSON character");
1753
- else _a.test(l) && I(e, "the stream contains non-printable characters");
1778
+ else Ia.test(l) && I(e, "the stream contains non-printable characters");
1754
1779
  e.result += l;
1755
1780
  }
1756
1781
  }
1757
- function It(e, t, n, i) {
1782
+ function Ft(e, t, n, i) {
1758
1783
  var r, o, a, l;
1759
1784
  for (ee.isObject(n) || I(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(n), a = 0, l = r.length; a < l; a += 1)
1760
- o = r[a], ge.call(t, o) || (En(t, o, n[o]), i[o] = !0);
1785
+ o = r[a], ye.call(t, o) || (In(t, o, n[o]), i[o] = !0);
1761
1786
  }
1762
1787
  function we(e, t, n, i, r, o, a, l, s) {
1763
1788
  var c, d;
1764
1789
  if (Array.isArray(r))
1765
1790
  for (r = Array.prototype.slice.call(r), c = 0, d = r.length; c < d; c += 1)
1766
- Array.isArray(r[c]) && I(e, "nested arrays are not supported inside keys"), typeof r == "object" && $t(r[c]) === "[object Object]" && (r[c] = "[object Object]");
1767
- if (typeof r == "object" && $t(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1791
+ Array.isArray(r[c]) && I(e, "nested arrays are not supported inside keys"), typeof r == "object" && Tt(r[c]) === "[object Object]" && (r[c] = "[object Object]");
1792
+ if (typeof r == "object" && Tt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
1768
1793
  if (Array.isArray(o))
1769
1794
  for (c = 0, d = o.length; c < d; c += 1)
1770
- It(e, t, o[c], n);
1795
+ Ft(e, t, o[c], n);
1771
1796
  else
1772
- It(e, t, o, n);
1797
+ Ft(e, t, o, n);
1773
1798
  else
1774
- !e.json && !ge.call(n, r) && ge.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, I(e, "duplicated mapping key")), En(t, r, o), delete n[r];
1799
+ !e.json && !ye.call(n, r) && ye.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, I(e, "duplicated mapping key")), In(t, r, o), delete n[r];
1775
1800
  return t;
1776
1801
  }
1777
- function lt(e) {
1802
+ function st(e) {
1778
1803
  var t;
1779
1804
  t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : I(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1780
1805
  }
@@ -1787,22 +1812,22 @@ function Z(e, t, n) {
1787
1812
  r = e.input.charCodeAt(++e.position);
1788
1813
  while (r !== 10 && r !== 13 && r !== 0);
1789
1814
  if (de(r))
1790
- for (lt(e), r = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; r === 32; )
1815
+ for (st(e), r = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; r === 32; )
1791
1816
  e.lineIndent++, r = e.input.charCodeAt(++e.position);
1792
1817
  else
1793
1818
  break;
1794
1819
  }
1795
- return n !== -1 && i !== 0 && e.lineIndent < n && Ne(e, "deficient indentation"), i;
1820
+ return n !== -1 && i !== 0 && e.lineIndent < n && Me(e, "deficient indentation"), i;
1796
1821
  }
1797
- function He(e) {
1822
+ function Ve(e) {
1798
1823
  var t = e.position, n;
1799
1824
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || se(n)));
1800
1825
  }
1801
- function st(e, t) {
1826
+ function ct(e, t) {
1802
1827
  t === 1 ? e.result += " " : t > 1 && (e.result += ee.repeat(`
1803
1828
  `, t - 1));
1804
1829
  }
1805
- function Oa(e, t, n) {
1830
+ function Ma(e, t, n) {
1806
1831
  var i, r, o, a, l, s, c, d, u = e.kind, p = e.result, m;
1807
1832
  if (m = e.input.charCodeAt(e.position), se(m) || _e(m) || m === 35 || m === 38 || m === 42 || m === 33 || m === 124 || m === 62 || m === 39 || m === 34 || m === 37 || m === 64 || m === 96 || (m === 63 || m === 45) && (r = e.input.charCodeAt(e.position + 1), se(r) || n && _e(r)))
1808
1833
  return !1;
@@ -1814,7 +1839,7 @@ function Oa(e, t, n) {
1814
1839
  if (i = e.input.charCodeAt(e.position - 1), se(i))
1815
1840
  break;
1816
1841
  } else {
1817
- if (e.position === e.lineStart && He(e) || n && _e(m))
1842
+ if (e.position === e.lineStart && Ve(e) || n && _e(m))
1818
1843
  break;
1819
1844
  if (de(m))
1820
1845
  if (s = e.line, c = e.lineStart, d = e.lineIndent, Z(e, !1, -1), e.lineIndent >= t) {
@@ -1825,63 +1850,63 @@ function Oa(e, t, n) {
1825
1850
  break;
1826
1851
  }
1827
1852
  }
1828
- l && (ye(e, o, a, !1), st(e, e.line - s), o = a = e.position, l = !1), ve(m) || (a = e.position + 1), m = e.input.charCodeAt(++e.position);
1853
+ l && (ge(e, o, a, !1), ct(e, e.line - s), o = a = e.position, l = !1), ve(m) || (a = e.position + 1), m = e.input.charCodeAt(++e.position);
1829
1854
  }
1830
- return ye(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = p, !1);
1855
+ return ge(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = p, !1);
1831
1856
  }
1832
- function La(e, t) {
1857
+ function ja(e, t) {
1833
1858
  var n, i, r;
1834
1859
  if (n = e.input.charCodeAt(e.position), n !== 39)
1835
1860
  return !1;
1836
1861
  for (e.kind = "scalar", e.result = "", e.position++, i = r = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1837
1862
  if (n === 39)
1838
- if (ye(e, i, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1863
+ if (ge(e, i, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1839
1864
  i = e.position, e.position++, r = e.position;
1840
1865
  else
1841
1866
  return !0;
1842
- else de(n) ? (ye(e, i, r, !0), st(e, Z(e, !1, t)), i = r = e.position) : e.position === e.lineStart && He(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1867
+ else de(n) ? (ge(e, i, r, !0), ct(e, Z(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1843
1868
  I(e, "unexpected end of the stream within a single quoted scalar");
1844
1869
  }
1845
- function Ba(e, t) {
1870
+ function Da(e, t) {
1846
1871
  var n, i, r, o, a, l;
1847
1872
  if (l = e.input.charCodeAt(e.position), l !== 34)
1848
1873
  return !1;
1849
1874
  for (e.kind = "scalar", e.result = "", e.position++, n = i = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1850
1875
  if (l === 34)
1851
- return ye(e, n, e.position, !0), e.position++, !0;
1876
+ return ge(e, n, e.position, !0), e.position++, !0;
1852
1877
  if (l === 92) {
1853
- if (ye(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), de(l))
1878
+ if (ge(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), de(l))
1854
1879
  Z(e, !1, t);
1855
- else if (l < 256 && In[l])
1856
- e.result += Fn[l], e.position++;
1857
- else if ((a = Ta(l)) > 0) {
1880
+ else if (l < 256 && Fn[l])
1881
+ e.result += On[l], e.position++;
1882
+ else if ((a = La(l)) > 0) {
1858
1883
  for (r = a, o = 0; r > 0; r--)
1859
- l = e.input.charCodeAt(++e.position), (a = $a(l)) >= 0 ? o = (o << 4) + a : I(e, "expected hexadecimal character");
1860
- e.result += Ia(o), e.position++;
1884
+ l = e.input.charCodeAt(++e.position), (a = Ba(l)) >= 0 ? o = (o << 4) + a : I(e, "expected hexadecimal character");
1885
+ e.result += Ka(o), e.position++;
1861
1886
  } else
1862
1887
  I(e, "unknown escape sequence");
1863
1888
  n = i = e.position;
1864
- } else de(l) ? (ye(e, n, i, !0), st(e, Z(e, !1, t)), n = i = e.position) : e.position === e.lineStart && He(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1889
+ } else de(l) ? (ge(e, n, i, !0), ct(e, Z(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1865
1890
  }
1866
1891
  I(e, "unexpected end of the stream within a double quoted scalar");
1867
1892
  }
1868
- function Ka(e, t) {
1869
- var n = !0, i, r, o, a = e.tag, l, s = e.anchor, c, d, u, p, m, g = /* @__PURE__ */ Object.create(null), y, x, C, k;
1870
- if (k = e.input.charCodeAt(e.position), k === 91)
1893
+ function Pa(e, t) {
1894
+ var n = !0, i, r, o, a = e.tag, l, s = e.anchor, c, d, u, p, m, y = /* @__PURE__ */ Object.create(null), g, k, C, x;
1895
+ if (x = e.input.charCodeAt(e.position), x === 91)
1871
1896
  d = 93, m = !1, l = [];
1872
- else if (k === 123)
1897
+ else if (x === 123)
1873
1898
  d = 125, m = !0, l = {};
1874
1899
  else
1875
1900
  return !1;
1876
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), k = e.input.charCodeAt(++e.position); k !== 0; ) {
1877
- if (Z(e, !0, t), k = e.input.charCodeAt(e.position), k === d)
1901
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), x = e.input.charCodeAt(++e.position); x !== 0; ) {
1902
+ if (Z(e, !0, t), x = e.input.charCodeAt(e.position), x === d)
1878
1903
  return e.position++, e.tag = a, e.anchor = s, e.kind = m ? "mapping" : "sequence", e.result = l, !0;
1879
- n ? k === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), x = y = C = null, u = p = !1, k === 63 && (c = e.input.charCodeAt(e.position + 1), se(c) && (u = p = !0, e.position++, Z(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Te(e, t, Ke, !1, !0), x = e.tag, y = e.result, Z(e, !0, t), k = e.input.charCodeAt(e.position), (p || e.line === i) && k === 58 && (u = !0, k = e.input.charCodeAt(++e.position), Z(e, !0, t), Te(e, t, Ke, !1, !0), C = e.result), m ? we(e, l, g, x, y, C, i, r, o) : u ? l.push(we(e, null, g, x, y, C, i, r, o)) : l.push(y), Z(e, !0, t), k = e.input.charCodeAt(e.position), k === 44 ? (n = !0, k = e.input.charCodeAt(++e.position)) : n = !1;
1904
+ n ? x === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), k = g = C = null, u = p = !1, x === 63 && (c = e.input.charCodeAt(e.position + 1), se(c) && (u = p = !0, e.position++, Z(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Ee(e, t, Ke, !1, !0), k = e.tag, g = e.result, Z(e, !0, t), x = e.input.charCodeAt(e.position), (p || e.line === i) && x === 58 && (u = !0, x = e.input.charCodeAt(++e.position), Z(e, !0, t), Ee(e, t, Ke, !1, !0), C = e.result), m ? we(e, l, y, k, g, C, i, r, o) : u ? l.push(we(e, null, y, k, g, C, i, r, o)) : l.push(g), Z(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
1880
1905
  }
1881
1906
  I(e, "unexpected end of the stream within a flow collection");
1882
1907
  }
1883
- function Ra(e, t) {
1884
- var n, i, r = Je, o = !1, a = !1, l = t, s = 0, c = !1, d, u;
1908
+ function Ua(e, t) {
1909
+ var n, i, r = Ge, o = !1, a = !1, l = t, s = 0, c = !1, d, u;
1885
1910
  if (u = e.input.charCodeAt(e.position), u === 124)
1886
1911
  i = !1;
1887
1912
  else if (u === 62)
@@ -1890,8 +1915,8 @@ function Ra(e, t) {
1890
1915
  return !1;
1891
1916
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1892
1917
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1893
- Je === r ? r = u === 43 ? St : Aa : I(e, "repeat of a chomping mode identifier");
1894
- else if ((d = Ea(u)) >= 0)
1918
+ Ge === r ? r = u === 43 ? $t : Ea : I(e, "repeat of a chomping mode identifier");
1919
+ else if ((d = Ra(u)) >= 0)
1895
1920
  d === 0 ? I(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? I(e, "repeat of an indentation width identifier") : (l = t + d - 1, a = !0);
1896
1921
  else
1897
1922
  break;
@@ -1905,15 +1930,15 @@ function Ra(e, t) {
1905
1930
  while (!de(u) && u !== 0);
1906
1931
  }
1907
1932
  for (; u !== 0; ) {
1908
- for (lt(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && u === 32; )
1933
+ for (st(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!a || e.lineIndent < l) && u === 32; )
1909
1934
  e.lineIndent++, u = e.input.charCodeAt(++e.position);
1910
1935
  if (!a && e.lineIndent > l && (l = e.lineIndent), de(u)) {
1911
1936
  s++;
1912
1937
  continue;
1913
1938
  }
1914
1939
  if (e.lineIndent < l) {
1915
- r === St ? e.result += ee.repeat(`
1916
- `, o ? 1 + s : s) : r === Je && o && (e.result += `
1940
+ r === $t ? e.result += ee.repeat(`
1941
+ `, o ? 1 + s : s) : r === Ge && o && (e.result += `
1917
1942
  `);
1918
1943
  break;
1919
1944
  }
@@ -1923,11 +1948,11 @@ function Ra(e, t) {
1923
1948
  `, s) : e.result += ee.repeat(`
1924
1949
  `, o ? 1 + s : s), o = !0, a = !0, s = 0, n = e.position; !de(u) && u !== 0; )
1925
1950
  u = e.input.charCodeAt(++e.position);
1926
- ye(e, n, e.position, !1);
1951
+ ge(e, n, e.position, !1);
1927
1952
  }
1928
1953
  return !0;
1929
1954
  }
1930
- function Ft(e, t) {
1955
+ function Ot(e, t) {
1931
1956
  var n, i = e.tag, r = e.anchor, o = [], a, l = !1, s;
1932
1957
  if (e.firstTabInLine !== -1) return !1;
1933
1958
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !se(a)))); ) {
@@ -1935,27 +1960,27 @@ function Ft(e, t) {
1935
1960
  o.push(null), s = e.input.charCodeAt(e.position);
1936
1961
  continue;
1937
1962
  }
1938
- if (n = e.line, Te(e, t, Sn, !1, !0), o.push(e.result), Z(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1963
+ if (n = e.line, Ee(e, t, $n, !1, !0), o.push(e.result), Z(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
1939
1964
  I(e, "bad indentation of a sequence entry");
1940
1965
  else if (e.lineIndent < t)
1941
1966
  break;
1942
1967
  }
1943
1968
  return l ? (e.tag = i, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
1944
1969
  }
1945
- function Na(e, t, n) {
1946
- var i, r, o, a, l, s, c = e.tag, d = e.anchor, u = {}, p = /* @__PURE__ */ Object.create(null), m = null, g = null, y = null, x = !1, C = !1, k;
1970
+ function qa(e, t, n) {
1971
+ var i, r, o, a, l, s, c = e.tag, d = e.anchor, u = {}, p = /* @__PURE__ */ Object.create(null), m = null, y = null, g = null, k = !1, C = !1, x;
1947
1972
  if (e.firstTabInLine !== -1) return !1;
1948
- for (e.anchor !== null && (e.anchorMap[e.anchor] = u), k = e.input.charCodeAt(e.position); k !== 0; ) {
1949
- if (!x && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (k === 63 || k === 58) && se(i))
1950
- k === 63 ? (x && (we(e, u, p, m, g, null, a, l, s), m = g = y = null), C = !0, x = !0, r = !0) : x ? (x = !1, r = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, k = i;
1973
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = u), x = e.input.charCodeAt(e.position); x !== 0; ) {
1974
+ if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (x === 63 || x === 58) && se(i))
1975
+ x === 63 ? (k && (we(e, u, p, m, y, null, a, l, s), m = y = g = null), C = !0, k = !0, r = !0) : k ? (k = !1, r = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = i;
1951
1976
  else {
1952
- if (a = e.line, l = e.lineStart, s = e.position, !Te(e, n, wn, !1, !0))
1977
+ if (a = e.line, l = e.lineStart, s = e.position, !Ee(e, n, Sn, !1, !0))
1953
1978
  break;
1954
1979
  if (e.line === o) {
1955
- for (k = e.input.charCodeAt(e.position); ve(k); )
1956
- k = e.input.charCodeAt(++e.position);
1957
- if (k === 58)
1958
- k = e.input.charCodeAt(++e.position), se(k) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (we(e, u, p, m, g, null, a, l, s), m = g = y = null), C = !0, x = !1, r = !1, m = e.tag, g = e.result;
1980
+ for (x = e.input.charCodeAt(e.position); ve(x); )
1981
+ x = e.input.charCodeAt(++e.position);
1982
+ if (x === 58)
1983
+ x = e.input.charCodeAt(++e.position), se(x) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (we(e, u, p, m, y, null, a, l, s), m = y = g = null), C = !0, k = !1, r = !1, m = e.tag, y = e.result;
1959
1984
  else if (C)
1960
1985
  I(e, "can not read an implicit mapping pair; a colon is missed");
1961
1986
  else
@@ -1965,14 +1990,14 @@ function Na(e, t, n) {
1965
1990
  else
1966
1991
  return e.tag = c, e.anchor = d, !0;
1967
1992
  }
1968
- if ((e.line === o || e.lineIndent > t) && (x && (a = e.line, l = e.lineStart, s = e.position), Te(e, t, Re, !0, r) && (x ? g = e.result : y = e.result), x || (we(e, u, p, m, g, y, a, l, s), m = g = y = null), Z(e, !0, -1), k = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && k !== 0)
1993
+ if ((e.line === o || e.lineIndent > t) && (k && (a = e.line, l = e.lineStart, s = e.position), Ee(e, t, Ne, !0, r) && (k ? y = e.result : g = e.result), k || (we(e, u, p, m, y, g, a, l, s), m = y = g = null), Z(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && x !== 0)
1969
1994
  I(e, "bad indentation of a mapping entry");
1970
1995
  else if (e.lineIndent < t)
1971
1996
  break;
1972
1997
  }
1973
- return x && we(e, u, p, m, g, null, a, l, s), C && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), C;
1998
+ return k && we(e, u, p, m, y, null, a, l, s), C && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), C;
1974
1999
  }
1975
- function Ma(e) {
2000
+ function Ha(e) {
1976
2001
  var t, n = !1, i = !1, r, o, a;
1977
2002
  if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
1978
2003
  if (e.tag !== null && I(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (i = !0, r = "!!", a = e.input.charCodeAt(++e.position)) : r = "!", t = e.position, n) {
@@ -1982,58 +2007,58 @@ function Ma(e) {
1982
2007
  e.position < e.length ? (o = e.input.slice(t, e.position), a = e.input.charCodeAt(++e.position)) : I(e, "unexpected end of the stream within a verbatim tag");
1983
2008
  } else {
1984
2009
  for (; a !== 0 && !se(a); )
1985
- a === 33 && (i ? I(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), $n.test(r) || I(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
1986
- o = e.input.slice(t, e.position), Sa.test(o) && I(e, "tag suffix cannot contain flow indicator characters");
2010
+ a === 33 && (i ? I(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), Tn.test(r) || I(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
2011
+ o = e.input.slice(t, e.position), Oa.test(o) && I(e, "tag suffix cannot contain flow indicator characters");
1987
2012
  }
1988
- o && !Tn.test(o) && I(e, "tag name cannot contain such characters: " + o);
2013
+ o && !En.test(o) && I(e, "tag name cannot contain such characters: " + o);
1989
2014
  try {
1990
2015
  o = decodeURIComponent(o);
1991
2016
  } catch {
1992
2017
  I(e, "tag name is malformed: " + o);
1993
2018
  }
1994
- return n ? e.tag = o : ge.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : I(e, 'undeclared tag handle "' + r + '"'), !0;
2019
+ return n ? e.tag = o : ye.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : I(e, 'undeclared tag handle "' + r + '"'), !0;
1995
2020
  }
1996
- function ja(e) {
2021
+ function Va(e) {
1997
2022
  var t, n;
1998
2023
  if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
1999
2024
  for (e.anchor !== null && I(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !se(n) && !_e(n); )
2000
2025
  n = e.input.charCodeAt(++e.position);
2001
2026
  return e.position === t && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2002
2027
  }
2003
- function Da(e) {
2028
+ function Ya(e) {
2004
2029
  var t, n, i;
2005
2030
  if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
2006
2031
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !se(i) && !_e(i); )
2007
2032
  i = e.input.charCodeAt(++e.position);
2008
- return e.position === t && I(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ge.call(e.anchorMap, n) || I(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
2033
+ return e.position === t && I(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ye.call(e.anchorMap, n) || I(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
2009
2034
  }
2010
- function Te(e, t, n, i, r) {
2011
- var o, a, l, s = 1, c = !1, d = !1, u, p, m, g, y, x;
2012
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Re === n || Sn === n, i && Z(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2013
- for (; Ma(e) || ja(e); )
2035
+ function Ee(e, t, n, i, r) {
2036
+ var o, a, l, s = 1, c = !1, d = !1, u, p, m, y, g, k;
2037
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Ne === n || $n === n, i && Z(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2038
+ for (; Ha(e) || Va(e); )
2014
2039
  Z(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2015
- if (l && (l = c || r), (s === 1 || Re === n) && (Ke === n || wn === n ? y = t : y = t + 1, x = e.position - e.lineStart, s === 1 ? l && (Ft(e, x) || Na(e, x, y)) || Ka(e, y) ? d = !0 : (a && Ra(e, y) || La(e, y) || Ba(e, y) ? d = !0 : Da(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : Oa(e, y, Ke === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ft(e, x))), e.tag === null)
2040
+ if (l && (l = c || r), (s === 1 || Ne === n) && (Ke === n || Sn === n ? g = t : g = t + 1, k = e.position - e.lineStart, s === 1 ? l && (Ot(e, k) || qa(e, k, g)) || Pa(e, g) ? d = !0 : (a && Ua(e, g) || ja(e, g) || Da(e, g) ? d = !0 : Ya(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : Ma(e, g, Ke === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ot(e, k))), e.tag === null)
2016
2041
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2017
2042
  else if (e.tag === "?") {
2018
2043
  for (e.result !== null && e.kind !== "scalar" && I(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, p = e.implicitTypes.length; u < p; u += 1)
2019
- if (g = e.implicitTypes[u], g.resolve(e.result)) {
2020
- e.result = g.construct(e.result), e.tag = g.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2044
+ if (y = e.implicitTypes[u], y.resolve(e.result)) {
2045
+ e.result = y.construct(e.result), e.tag = y.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2021
2046
  break;
2022
2047
  }
2023
2048
  } else if (e.tag !== "!") {
2024
- if (ge.call(e.typeMap[e.kind || "fallback"], e.tag))
2025
- g = e.typeMap[e.kind || "fallback"][e.tag];
2049
+ if (ye.call(e.typeMap[e.kind || "fallback"], e.tag))
2050
+ y = e.typeMap[e.kind || "fallback"][e.tag];
2026
2051
  else
2027
- for (g = null, m = e.typeMap.multi[e.kind || "fallback"], u = 0, p = m.length; u < p; u += 1)
2052
+ for (y = null, m = e.typeMap.multi[e.kind || "fallback"], u = 0, p = m.length; u < p; u += 1)
2028
2053
  if (e.tag.slice(0, m[u].tag.length) === m[u].tag) {
2029
- g = m[u];
2054
+ y = m[u];
2030
2055
  break;
2031
2056
  }
2032
- g || I(e, "unknown tag !<" + e.tag + ">"), e.result !== null && g.kind !== e.kind && I(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + g.kind + '", not "' + e.kind + '"'), g.resolve(e.result, e.tag) ? (e.result = g.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : I(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2057
+ y || I(e, "unknown tag !<" + e.tag + ">"), e.result !== null && y.kind !== e.kind && I(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + y.kind + '", not "' + e.kind + '"'), y.resolve(e.result, e.tag) ? (e.result = y.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : I(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2033
2058
  }
2034
2059
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2035
2060
  }
2036
- function Pa(e) {
2061
+ function Wa(e) {
2037
2062
  var t = e.position, n, i, r, o = !1, a;
2038
2063
  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 && (Z(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
2039
2064
  for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !se(a); )
@@ -2052,9 +2077,9 @@ function Pa(e) {
2052
2077
  a = e.input.charCodeAt(++e.position);
2053
2078
  r.push(e.input.slice(n, e.position));
2054
2079
  }
2055
- a !== 0 && lt(e), ge.call(Et, i) ? Et[i](e, i, r) : Ne(e, 'unknown document directive "' + i + '"');
2080
+ a !== 0 && st(e), ye.call(It, i) ? It[i](e, i, r) : Me(e, 'unknown document directive "' + i + '"');
2056
2081
  }
2057
- if (Z(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, Z(e, !0, -1)) : o && I(e, "directives end mark is expected"), Te(e, e.lineIndent - 1, Re, !1, !0), Z(e, !0, -1), e.checkLineBreaks && wa.test(e.input.slice(t, e.position)) && Ne(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && He(e)) {
2082
+ if (Z(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, Z(e, !0, -1)) : o && I(e, "directives end mark is expected"), Ee(e, e.lineIndent - 1, Ne, !1, !0), Z(e, !0, -1), e.checkLineBreaks && Fa.test(e.input.slice(t, e.position)) && Me(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ve(e)) {
2058
2083
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, Z(e, !0, -1));
2059
2084
  return;
2060
2085
  }
@@ -2066,14 +2091,14 @@ function Pa(e) {
2066
2091
  function Ln(e, t) {
2067
2092
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2068
2093
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2069
- var n = new Fa(e, t), i = e.indexOf("\0");
2094
+ var n = new Na(e, t), i = e.indexOf("\0");
2070
2095
  for (i !== -1 && (n.position = i, I(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2071
2096
  n.lineIndent += 1, n.position += 1;
2072
2097
  for (; n.position < n.length - 1; )
2073
- Pa(n);
2098
+ Wa(n);
2074
2099
  return n.documents;
2075
2100
  }
2076
- function Ua(e, t, n) {
2101
+ function Ja(e, t, n) {
2077
2102
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2078
2103
  var i = Ln(e, n);
2079
2104
  if (typeof t != "function")
@@ -2081,7 +2106,7 @@ function Ua(e, t, n) {
2081
2106
  for (var r = 0, o = i.length; r < o; r += 1)
2082
2107
  t(i[r]);
2083
2108
  }
2084
- function qa(e, t) {
2109
+ function Ga(e, t) {
2085
2110
  var n = Ln(e, t);
2086
2111
  if (n.length !== 0) {
2087
2112
  if (n.length === 1)
@@ -2089,10 +2114,10 @@ function qa(e, t) {
2089
2114
  throw new oe("expected a single document in the stream, but found more");
2090
2115
  }
2091
2116
  }
2092
- var Ha = Ua, Va = qa, Bn = {
2093
- loadAll: Ha,
2094
- load: Va
2095
- }, Kn = Object.prototype.toString, Rn = Object.prototype.hasOwnProperty, ct = 65279, Ya = 9, Fe = 10, Wa = 13, Ja = 32, Ga = 33, za = 34, Ze = 35, Qa = 37, Za = 38, Xa = 39, eo = 42, Nn = 44, to = 45, Me = 58, no = 61, io = 62, ro = 63, ao = 64, Mn = 91, jn = 93, oo = 96, Dn = 123, lo = 124, Pn = 125, re = {};
2117
+ var za = Ja, Qa = Ga, Rn = {
2118
+ loadAll: za,
2119
+ load: Qa
2120
+ }, Kn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, ut = 65279, Za = 9, Oe = 10, Xa = 13, eo = 32, to = 33, no = 34, Xe = 35, io = 37, ro = 38, ao = 39, oo = 42, Mn = 44, lo = 45, je = 58, so = 61, co = 62, uo = 63, fo = 64, jn = 91, Dn = 93, po = 96, Pn = 123, mo = 124, Un = 125, re = {};
2096
2121
  re[0] = "\\0";
2097
2122
  re[7] = "\\a";
2098
2123
  re[8] = "\\b";
@@ -2108,7 +2133,7 @@ re[133] = "\\N";
2108
2133
  re[160] = "\\_";
2109
2134
  re[8232] = "\\L";
2110
2135
  re[8233] = "\\P";
2111
- var so = [
2136
+ var ho = [
2112
2137
  "y",
2113
2138
  "Y",
2114
2139
  "yes",
@@ -2125,15 +2150,15 @@ var so = [
2125
2150
  "off",
2126
2151
  "Off",
2127
2152
  "OFF"
2128
- ], co = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2129
- function uo(e, t) {
2153
+ ], go = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2154
+ function yo(e, t) {
2130
2155
  var n, i, r, o, a, l, s;
2131
2156
  if (t === null) return {};
2132
2157
  for (n = {}, i = Object.keys(t), r = 0, o = i.length; r < o; r += 1)
2133
- a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && Rn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
2158
+ a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && Nn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
2134
2159
  return n;
2135
2160
  }
2136
- function fo(e) {
2161
+ function vo(e) {
2137
2162
  var t, n, i;
2138
2163
  if (t = e.toString(16).toUpperCase(), e <= 255)
2139
2164
  n = "x", i = 2;
@@ -2145,94 +2170,94 @@ function fo(e) {
2145
2170
  throw new oe("code point within a string may not be greater than 0xFFFFFFFF");
2146
2171
  return "\\" + n + ee.repeat("0", i - t.length) + t;
2147
2172
  }
2148
- var po = 1, Oe = 2;
2149
- function mo(e) {
2150
- this.schema = e.schema || ot, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ee.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = uo(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 === '"' ? Oe : po, 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;
2173
+ var bo = 1, Be = 2;
2174
+ function ko(e) {
2175
+ this.schema = e.schema || lt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ee.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = yo(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 === '"' ? Be : bo, 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;
2151
2176
  }
2152
- function Ot(e, t) {
2177
+ function Bt(e, t) {
2153
2178
  for (var n = ee.repeat(" ", t), i = 0, r = -1, o = "", a, l = e.length; i < l; )
2154
2179
  r = e.indexOf(`
2155
2180
  `, i), r === -1 ? (a = e.slice(i), i = l) : (a = e.slice(i, r + 1), i = r + 1), a.length && a !== `
2156
2181
  ` && (o += n), o += a;
2157
2182
  return o;
2158
2183
  }
2159
- function Xe(e, t) {
2184
+ function et(e, t) {
2160
2185
  return `
2161
2186
  ` + ee.repeat(" ", e.indent * t);
2162
2187
  }
2163
- function ho(e, t) {
2188
+ function Co(e, t) {
2164
2189
  var n, i, r;
2165
2190
  for (n = 0, i = e.implicitTypes.length; n < i; n += 1)
2166
2191
  if (r = e.implicitTypes[n], r.resolve(t))
2167
2192
  return !0;
2168
2193
  return !1;
2169
2194
  }
2170
- function je(e) {
2171
- return e === Ja || e === Ya;
2195
+ function De(e) {
2196
+ return e === eo || e === Za;
2172
2197
  }
2173
2198
  function Le(e) {
2174
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ct || 65536 <= e && e <= 1114111;
2199
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ut || 65536 <= e && e <= 1114111;
2175
2200
  }
2176
2201
  function Lt(e) {
2177
- return Le(e) && e !== ct && e !== Wa && e !== Fe;
2202
+ return Le(e) && e !== ut && e !== Xa && e !== Oe;
2178
2203
  }
2179
- function Bt(e, t, n) {
2180
- var i = Lt(e), r = i && !je(e);
2204
+ function Rt(e, t, n) {
2205
+ var i = Lt(e), r = i && !De(e);
2181
2206
  return (
2182
2207
  // ns-plain-safe
2183
2208
  (n ? (
2184
2209
  // c = flow-in
2185
2210
  i
2186
- ) : i && e !== Nn && e !== Mn && e !== jn && e !== Dn && e !== Pn) && e !== Ze && !(t === Me && !r) || Lt(t) && !je(t) && e === Ze || t === Me && r
2211
+ ) : i && e !== Mn && e !== jn && e !== Dn && e !== Pn && e !== Un) && e !== Xe && !(t === je && !r) || Lt(t) && !De(t) && e === Xe || t === je && r
2187
2212
  );
2188
2213
  }
2189
- function yo(e) {
2190
- return Le(e) && e !== ct && !je(e) && e !== to && e !== ro && e !== Me && e !== Nn && e !== Mn && e !== jn && e !== Dn && e !== Pn && e !== Ze && e !== Za && e !== eo && e !== Ga && e !== lo && e !== no && e !== io && e !== Xa && e !== za && e !== Qa && e !== ao && e !== oo;
2214
+ function xo(e) {
2215
+ return Le(e) && e !== ut && !De(e) && e !== lo && e !== uo && e !== je && e !== Mn && e !== jn && e !== Dn && e !== Pn && e !== Un && e !== Xe && e !== ro && e !== oo && e !== to && e !== mo && e !== so && e !== co && e !== ao && e !== no && e !== io && e !== fo && e !== po;
2191
2216
  }
2192
- function go(e) {
2193
- return !je(e) && e !== Me;
2217
+ function Ao(e) {
2218
+ return !De(e) && e !== je;
2194
2219
  }
2195
- function Ee(e, t) {
2220
+ function Ie(e, t) {
2196
2221
  var n = e.charCodeAt(t), i;
2197
2222
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (n - 55296) * 1024 + i - 56320 + 65536 : n;
2198
2223
  }
2199
- function Un(e) {
2224
+ function qn(e) {
2200
2225
  var t = /^\n* /;
2201
2226
  return t.test(e);
2202
2227
  }
2203
- var qn = 1, et = 2, Hn = 3, Vn = 4, Ae = 5;
2204
- function vo(e, t, n, i, r, o, a, l) {
2205
- var s, c = 0, d = null, u = !1, p = !1, m = i !== -1, g = -1, y = yo(Ee(e, 0)) && go(Ee(e, e.length - 1));
2228
+ var Hn = 1, tt = 2, Vn = 3, Yn = 4, Ae = 5;
2229
+ function _o(e, t, n, i, r, o, a, l) {
2230
+ var s, c = 0, d = null, u = !1, p = !1, m = i !== -1, y = -1, g = xo(Ie(e, 0)) && Ao(Ie(e, e.length - 1));
2206
2231
  if (t || a)
2207
2232
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2208
- if (c = Ee(e, s), !Le(c))
2233
+ if (c = Ie(e, s), !Le(c))
2209
2234
  return Ae;
2210
- y = y && Bt(c, d, l), d = c;
2235
+ g = g && Rt(c, d, l), d = c;
2211
2236
  }
2212
2237
  else {
2213
2238
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2214
- if (c = Ee(e, s), c === Fe)
2239
+ if (c = Ie(e, s), c === Oe)
2215
2240
  u = !0, m && (p = p || // Foldable line = too long, and not more-indented.
2216
- s - g - 1 > i && e[g + 1] !== " ", g = s);
2241
+ s - y - 1 > i && e[y + 1] !== " ", y = s);
2217
2242
  else if (!Le(c))
2218
2243
  return Ae;
2219
- y = y && Bt(c, d, l), d = c;
2244
+ g = g && Rt(c, d, l), d = c;
2220
2245
  }
2221
- p = p || m && s - g - 1 > i && e[g + 1] !== " ";
2246
+ p = p || m && s - y - 1 > i && e[y + 1] !== " ";
2222
2247
  }
2223
- return !u && !p ? y && !a && !r(e) ? qn : o === Oe ? Ae : et : n > 9 && Un(e) ? Ae : a ? o === Oe ? Ae : et : p ? Vn : Hn;
2248
+ return !u && !p ? g && !a && !r(e) ? Hn : o === Be ? Ae : tt : n > 9 && qn(e) ? Ae : a ? o === Be ? Ae : tt : p ? Yn : Vn;
2224
2249
  }
2225
- function bo(e, t, n, i, r) {
2250
+ function wo(e, t, n, i, r) {
2226
2251
  e.dump = function() {
2227
2252
  if (t.length === 0)
2228
- return e.quotingType === Oe ? '""' : "''";
2229
- if (!e.noCompatMode && (so.indexOf(t) !== -1 || co.test(t)))
2230
- return e.quotingType === Oe ? '"' + t + '"' : "'" + t + "'";
2253
+ return e.quotingType === Be ? '""' : "''";
2254
+ if (!e.noCompatMode && (ho.indexOf(t) !== -1 || go.test(t)))
2255
+ return e.quotingType === Be ? '"' + t + '"' : "'" + t + "'";
2231
2256
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = i || e.flowLevel > -1 && n >= e.flowLevel;
2232
2257
  function s(c) {
2233
- return ho(e, c);
2258
+ return Co(e, c);
2234
2259
  }
2235
- switch (vo(
2260
+ switch (_o(
2236
2261
  t,
2237
2262
  l,
2238
2263
  e.indent,
@@ -2242,47 +2267,47 @@ function bo(e, t, n, i, r) {
2242
2267
  e.forceQuotes && !i,
2243
2268
  r
2244
2269
  )) {
2245
- case qn:
2270
+ case Hn:
2246
2271
  return t;
2247
- case et:
2272
+ case tt:
2248
2273
  return "'" + t.replace(/'/g, "''") + "'";
2249
- case Hn:
2250
- return "|" + Kt(t, e.indent) + Rt(Ot(t, o));
2251
2274
  case Vn:
2252
- return ">" + Kt(t, e.indent) + Rt(Ot(xo(t, a), o));
2275
+ return "|" + Kt(t, e.indent) + Nt(Bt(t, o));
2276
+ case Yn:
2277
+ return ">" + Kt(t, e.indent) + Nt(Bt(So(t, a), o));
2253
2278
  case Ae:
2254
- return '"' + Co(t) + '"';
2279
+ return '"' + $o(t) + '"';
2255
2280
  default:
2256
2281
  throw new oe("impossible error: invalid scalar style");
2257
2282
  }
2258
2283
  }();
2259
2284
  }
2260
2285
  function Kt(e, t) {
2261
- var n = Un(e) ? String(t) : "", i = e[e.length - 1] === `
2286
+ var n = qn(e) ? String(t) : "", i = e[e.length - 1] === `
2262
2287
  `, r = i && (e[e.length - 2] === `
2263
2288
  ` || e === `
2264
2289
  `), o = r ? "+" : i ? "" : "-";
2265
2290
  return n + o + `
2266
2291
  `;
2267
2292
  }
2268
- function Rt(e) {
2293
+ function Nt(e) {
2269
2294
  return e[e.length - 1] === `
2270
2295
  ` ? e.slice(0, -1) : e;
2271
2296
  }
2272
- function xo(e, t) {
2297
+ function So(e, t) {
2273
2298
  for (var n = /(\n+)([^\n]*)/g, i = function() {
2274
2299
  var c = e.indexOf(`
2275
2300
  `);
2276
- return c = c !== -1 ? c : e.length, n.lastIndex = c, Nt(e.slice(0, c), t);
2301
+ return c = c !== -1 ? c : e.length, n.lastIndex = c, Mt(e.slice(0, c), t);
2277
2302
  }(), r = e[0] === `
2278
2303
  ` || e[0] === " ", o, a; a = n.exec(e); ) {
2279
2304
  var l = a[1], s = a[2];
2280
2305
  o = s[0] === " ", i += l + (!r && !o && s !== "" ? `
2281
- ` : "") + Nt(s, t), r = o;
2306
+ ` : "") + Mt(s, t), r = o;
2282
2307
  }
2283
2308
  return i;
2284
2309
  }
2285
- function Nt(e, t) {
2310
+ function Mt(e, t) {
2286
2311
  if (e === "" || e[0] === " ") return e;
2287
2312
  for (var n = / [^ ]/g, i, r = 0, o, a = 0, l = 0, s = ""; i = n.exec(e); )
2288
2313
  l = i.index, l - r > t && (o = a > r ? a : l, s += `
@@ -2291,30 +2316,30 @@ function Nt(e, t) {
2291
2316
  `, e.length - r > t && a > r ? s += e.slice(r, a) + `
2292
2317
  ` + e.slice(a + 1) : s += e.slice(r), s.slice(1);
2293
2318
  }
2294
- function Co(e) {
2319
+ function $o(e) {
2295
2320
  for (var t = "", n = 0, i, r = 0; r < e.length; n >= 65536 ? r += 2 : r++)
2296
- n = Ee(e, r), i = re[n], !i && Le(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || fo(n);
2321
+ n = Ie(e, r), i = re[n], !i && Le(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || vo(n);
2297
2322
  return t;
2298
2323
  }
2299
- function ko(e, t, n) {
2324
+ function To(e, t, n) {
2300
2325
  var i = "", r = e.tag, o, a, l;
2301
2326
  for (o = 0, a = n.length; o < a; o += 1)
2302
2327
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (pe(e, t, l, !1, !1) || typeof l > "u" && pe(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
2303
2328
  e.tag = r, e.dump = "[" + i + "]";
2304
2329
  }
2305
- function Mt(e, t, n, i) {
2330
+ function jt(e, t, n, i) {
2306
2331
  var r = "", o = e.tag, a, l, s;
2307
2332
  for (a = 0, l = n.length; a < l; a += 1)
2308
- s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (pe(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && pe(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += Xe(e, t)), e.dump && Fe === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2333
+ s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (pe(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && pe(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += et(e, t)), e.dump && Oe === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2309
2334
  e.tag = o, e.dump = r || "[]";
2310
2335
  }
2311
- function Ao(e, t, n) {
2336
+ function Eo(e, t, n) {
2312
2337
  var i = "", r = e.tag, o = Object.keys(n), a, l, s, c, d;
2313
2338
  for (a = 0, l = o.length; a < l; a += 1)
2314
2339
  d = "", i !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = o[a], c = n[s], e.replacer && (c = e.replacer.call(n, s, c)), pe(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), pe(e, t, c, !1, !1) && (d += e.dump, i += d));
2315
2340
  e.tag = r, e.dump = "{" + i + "}";
2316
2341
  }
2317
- function _o(e, t, n, i) {
2342
+ function Io(e, t, n, i) {
2318
2343
  var r = "", o = e.tag, a = Object.keys(n), l, s, c, d, u, p;
2319
2344
  if (e.sortKeys === !0)
2320
2345
  a.sort();
@@ -2323,17 +2348,17 @@ function _o(e, t, n, i) {
2323
2348
  else if (e.sortKeys)
2324
2349
  throw new oe("sortKeys must be a boolean or a function");
2325
2350
  for (l = 0, s = a.length; l < s; l += 1)
2326
- p = "", (!i || r !== "") && (p += Xe(e, t)), c = a[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), pe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Fe === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, u && (p += Xe(e, t)), pe(e, t + 1, d, !0, u) && (e.dump && Fe === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, r += p));
2351
+ p = "", (!i || r !== "") && (p += et(e, t)), c = a[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), pe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Oe === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, u && (p += et(e, t)), pe(e, t + 1, d, !0, u) && (e.dump && Oe === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, r += p));
2327
2352
  e.tag = o, e.dump = r || "{}";
2328
2353
  }
2329
- function jt(e, t, n) {
2354
+ function Dt(e, t, n) {
2330
2355
  var i, r, o, a, l, s;
2331
2356
  for (r = n ? e.explicitTypes : e.implicitTypes, o = 0, a = r.length; o < a; o += 1)
2332
2357
  if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2333
2358
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2334
2359
  if (s = e.styleMap[l.tag] || l.defaultStyle, Kn.call(l.represent) === "[object Function]")
2335
2360
  i = l.represent(t, s);
2336
- else if (Rn.call(l.represent, s))
2361
+ else if (Nn.call(l.represent, s))
2337
2362
  i = l.represent[s](t, s);
2338
2363
  else
2339
2364
  throw new oe("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
@@ -2344,7 +2369,7 @@ function jt(e, t, n) {
2344
2369
  return !1;
2345
2370
  }
2346
2371
  function pe(e, t, n, i, r, o, a) {
2347
- e.tag = null, e.dump = n, jt(e, n, !1) || jt(e, n, !0);
2372
+ e.tag = null, e.dump = n, Dt(e, n, !1) || Dt(e, n, !0);
2348
2373
  var l = Kn.call(e.dump), s = i, c;
2349
2374
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
2350
2375
  var d = l === "[object Object]" || l === "[object Array]", u, p;
@@ -2352,11 +2377,11 @@ function pe(e, t, n, i, r, o, a) {
2352
2377
  e.dump = "*ref_" + u;
2353
2378
  else {
2354
2379
  if (d && p && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2355
- i && Object.keys(e.dump).length !== 0 ? (_o(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (Ao(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2380
+ i && Object.keys(e.dump).length !== 0 ? (Io(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (Eo(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2356
2381
  else if (l === "[object Array]")
2357
- i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Mt(e, t - 1, e.dump, r) : Mt(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (ko(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2382
+ i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? jt(e, t - 1, e.dump, r) : jt(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (To(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2358
2383
  else if (l === "[object String]")
2359
- e.tag !== "?" && bo(e, e.dump, t, o, s);
2384
+ e.tag !== "?" && wo(e, e.dump, t, o, s);
2360
2385
  else {
2361
2386
  if (l === "[object Undefined]")
2362
2387
  return !1;
@@ -2369,71 +2394,71 @@ function pe(e, t, n, i, r, o, a) {
2369
2394
  }
2370
2395
  return !0;
2371
2396
  }
2372
- function wo(e, t) {
2397
+ function Fo(e, t) {
2373
2398
  var n = [], i = [], r, o;
2374
- for (tt(e, n, i), r = 0, o = i.length; r < o; r += 1)
2399
+ for (nt(e, n, i), r = 0, o = i.length; r < o; r += 1)
2375
2400
  t.duplicates.push(n[i[r]]);
2376
2401
  t.usedDuplicates = new Array(o);
2377
2402
  }
2378
- function tt(e, t, n) {
2403
+ function nt(e, t, n) {
2379
2404
  var i, r, o;
2380
2405
  if (e !== null && typeof e == "object")
2381
2406
  if (r = t.indexOf(e), r !== -1)
2382
2407
  n.indexOf(r) === -1 && n.push(r);
2383
2408
  else if (t.push(e), Array.isArray(e))
2384
2409
  for (r = 0, o = e.length; r < o; r += 1)
2385
- tt(e[r], t, n);
2410
+ nt(e[r], t, n);
2386
2411
  else
2387
2412
  for (i = Object.keys(e), r = 0, o = i.length; r < o; r += 1)
2388
- tt(e[i[r]], t, n);
2413
+ nt(e[i[r]], t, n);
2389
2414
  }
2390
- function So(e, t) {
2415
+ function Oo(e, t) {
2391
2416
  t = t || {};
2392
- var n = new mo(t);
2393
- n.noRefs || wo(e, n);
2417
+ var n = new ko(t);
2418
+ n.noRefs || Fo(e, n);
2394
2419
  var i = e;
2395
2420
  return n.replacer && (i = n.replacer.call({ "": i }, "", i)), pe(n, 0, i, !0, !0) ? n.dump + `
2396
2421
  ` : "";
2397
2422
  }
2398
- var $o = So, To = {
2399
- dump: $o
2423
+ var Bo = Oo, Lo = {
2424
+ dump: Bo
2400
2425
  };
2401
- function ut(e, t) {
2426
+ function dt(e, t) {
2402
2427
  return function() {
2403
2428
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2404
2429
  };
2405
2430
  }
2406
- var Eo = ie, Io = on, Fo = un, Oo = hn, Lo = yn, Bo = ot, Ko = Bn.load, Ro = Bn.loadAll, No = To.dump, Mo = oe, jo = {
2407
- binary: Cn,
2408
- float: mn,
2409
- map: cn,
2410
- null: dn,
2411
- pairs: An,
2412
- set: _n,
2413
- timestamp: bn,
2414
- bool: fn,
2415
- int: pn,
2416
- merge: xn,
2417
- omap: kn,
2418
- seq: sn,
2419
- str: ln
2420
- }, Do = ut("safeLoad", "load"), Po = ut("safeLoadAll", "loadAll"), Uo = ut("safeDump", "dump"), Yn = {
2421
- Type: Eo,
2422
- Schema: Io,
2423
- FAILSAFE_SCHEMA: Fo,
2424
- JSON_SCHEMA: Oo,
2425
- CORE_SCHEMA: Lo,
2426
- DEFAULT_SCHEMA: Bo,
2427
- load: Ko,
2428
- loadAll: Ro,
2429
- dump: No,
2430
- YAMLException: Mo,
2431
- types: jo,
2432
- safeLoad: Do,
2433
- safeLoadAll: Po,
2434
- safeDump: Uo
2431
+ var Ro = ie, Ko = ln, No = dn, Mo = gn, jo = yn, Do = lt, Po = Rn.load, Uo = Rn.loadAll, qo = Lo.dump, Ho = oe, Vo = {
2432
+ binary: xn,
2433
+ float: hn,
2434
+ map: un,
2435
+ null: fn,
2436
+ pairs: _n,
2437
+ set: wn,
2438
+ timestamp: kn,
2439
+ bool: pn,
2440
+ int: mn,
2441
+ merge: Cn,
2442
+ omap: An,
2443
+ seq: cn,
2444
+ str: sn
2445
+ }, Yo = dt("safeLoad", "load"), Wo = dt("safeLoadAll", "loadAll"), Jo = dt("safeDump", "dump"), Wn = {
2446
+ Type: Ro,
2447
+ Schema: Ko,
2448
+ FAILSAFE_SCHEMA: No,
2449
+ JSON_SCHEMA: Mo,
2450
+ CORE_SCHEMA: jo,
2451
+ DEFAULT_SCHEMA: Do,
2452
+ load: Po,
2453
+ loadAll: Uo,
2454
+ dump: qo,
2455
+ YAMLException: Ho,
2456
+ types: Vo,
2457
+ safeLoad: Yo,
2458
+ safeLoadAll: Wo,
2459
+ safeDump: Jo
2435
2460
  };
2436
- const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */ z({
2461
+ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */ z({
2437
2462
  __name: "YamlCodeBlock",
2438
2463
  props: {
2439
2464
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2445,22 +2470,23 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2445
2470
  setup(e) {
2446
2471
  const t = e, n = $(() => {
2447
2472
  const i = Object.fromEntries(Object.entries(t.entityRecord).filter(([, r]) => r !== null && r !== "" && (Array.isArray(r) ? r.length !== 0 : !0)));
2448
- return Object.keys(i).length === 0 && i.constructor === Object ? "" : Yn.dump(i).trim();
2473
+ return Object.keys(i).length === 0 && i.constructor === Object ? "" : Wn.dump(i).trim();
2449
2474
  });
2450
2475
  return (i, r) => {
2451
2476
  const o = P("KCodeBlock");
2452
- return h(), T("div", qo, [
2477
+ return h(), T("div", Go, [
2453
2478
  t.entityRecord ? (h(), M(o, {
2454
2479
  key: 0,
2455
2480
  id: "yaml-codeblock",
2456
2481
  code: n.value,
2457
2482
  language: "yaml",
2458
- theme: "dark"
2459
- }, null, 8, ["code"])) : j("", !0)
2483
+ theme: "dark",
2484
+ onCodeBlockRender: A(Te)
2485
+ }, null, 8, ["code", "onCodeBlockRender"])) : j("", !0)
2460
2486
  ]);
2461
2487
  };
2462
2488
  }
2463
- }), Ho = { class: "terraform-config config-card-code-block" }, te = " ", Jn = /* @__PURE__ */ z({
2489
+ }), zo = { class: "terraform-config config-card-code-block" }, te = " ", Gn = /* @__PURE__ */ z({
2464
2490
  __name: "TerraformCodeBlock",
2465
2491
  props: {
2466
2492
  /** A record to indicate the entity's configuration, used to populate the Terraform code block */
@@ -2471,7 +2497,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2471
2497
  entityType: {
2472
2498
  type: String,
2473
2499
  required: !0,
2474
- validator: (e) => Ue.includes(e)
2500
+ validator: (e) => qe.includes(e)
2475
2501
  },
2476
2502
  credentialType: {
2477
2503
  type: String,
@@ -2484,7 +2510,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2484
2510
  }
2485
2511
  },
2486
2512
  setup(e) {
2487
- const t = e, n = $(() => hi.includes(t.entityType)), i = $(() => yi.includes(t.entityType)), r = (c, d) => {
2513
+ const t = e, n = $(() => bi.includes(t.entityType)), i = $(() => ki.includes(t.entityType)), r = (c, d) => {
2488
2514
  const u = te;
2489
2515
  let p = "";
2490
2516
  return typeof c == "string" ? p += `${u}${d} = "${c}"
@@ -2498,12 +2524,12 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2498
2524
  if (d && (m += `${p}${d} = {
2499
2525
  `), c === null)
2500
2526
  return d ? m += `${p}}` : m = "{}", m;
2501
- const g = Object.fromEntries(Object.entries(c).filter(([, x]) => x !== null));
2502
- let y = "";
2503
- for (const [x, C] of Object.entries(g))
2504
- Array.isArray(C) ? C.length === 0 ? y = "[]" : (y = `[
2505
- `, y += a(C, void 0, p), y += `${p}${te}]`) : C && typeof C == "object" ? (y = `{
2506
- `, y += o(C, void 0, p), y += `${p}${te}}`) : y = String(C ?? ""), typeof C == "string" && (y = `"${y}"`), m += `${p}${te}${x} = ${y}
2527
+ const y = Object.fromEntries(Object.entries(c).filter(([, k]) => k !== null));
2528
+ let g = "";
2529
+ for (const [k, C] of Object.entries(y))
2530
+ Array.isArray(C) ? C.length === 0 ? g = "[]" : (g = `[
2531
+ `, g += a(C, void 0, p), g += `${p}${te}]`) : C && typeof C == "object" ? (g = `{
2532
+ `, g += o(C, void 0, p), g += `${p}${te}}`) : g = String(C ?? ""), typeof C == "string" && (g = `"${g}"`), m += `${p}${te}${k} = ${g}
2507
2533
  `;
2508
2534
  return d ? m += `${p}}
2509
2535
  ` : m;
@@ -2514,10 +2540,10 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2514
2540
  let m = "";
2515
2541
  d && (c.length === 0 ? m += `${p}${d} = [` : m += `${p}${d} = [
2516
2542
  `);
2517
- for (let g = 0; g < c.length; g++) {
2518
- const y = c[g];
2519
- typeof y == "object" ? (m += `${p}${te}{
2520
- `, m += o(y, void 0, p), m += `${p}${te}}`) : typeof y == "string" ? m += `${p}${te}"${y}"` : m += `${p}${te}${String(y ?? "")}`, g < c.length - 1 && (m += ","), m += `
2543
+ for (let y = 0; y < c.length; y++) {
2544
+ const g = c[y];
2545
+ typeof g == "object" ? (m += `${p}${te}{
2546
+ `, m += o(g, void 0, p), m += `${p}${te}}`) : typeof g == "string" ? m += `${p}${te}"${g}"` : m += `${p}${te}${String(g ?? "")}`, y < c.length - 1 && (m += ","), m += `
2521
2547
  `;
2522
2548
  }
2523
2549
  return d && (c.length === 0 ? m += `]
@@ -2529,13 +2555,13 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2529
2555
  Array.isArray(p) ? d += a(p, u) : typeof p == "object" ? d += o(p, u) : d += r(p, u);
2530
2556
  return d;
2531
2557
  }, s = $(() => {
2532
- var m, g, y, x, C, k, L;
2558
+ var m, y, g, k, C, x, B;
2533
2559
  const c = Object.fromEntries(Object.entries(t.entityRecord).filter(([, D]) => D != null)), d = t.entityRecord.config ? Object.fromEntries(Object.entries((m = t.entityRecord) == null ? void 0 : m.config).filter(([, D]) => D != null)) : void 0;
2534
2560
  if (d && (c.config = d), Object.keys(c).length === 0)
2535
2561
  return "";
2536
2562
  delete c.id;
2537
2563
  let u = "", p = "";
2538
- if ((g = c.service) != null && g.id ? (p = "service", delete c.service) : (y = c.route) != null && y.id ? (p = "route", delete c.route) : (x = c.consumer) != null && x.id ? (p = "consumer", delete c.consumer) : (C = c.consumer_group) != null && C.id ? (p = "consumer_group", delete c.consumer_group) : (k = c.certificate) != null && k.id ? (p = "certificate", delete c.certificate) : (L = c.set) != null && L.id && (p = "set", delete c.set), n.value) {
2564
+ if ((y = c.service) != null && y.id ? (p = "service", delete c.service) : (g = c.route) != null && g.id ? (p = "route", delete c.route) : (k = c.consumer) != null && k.id ? (p = "consumer", delete c.consumer) : (C = c.consumer_group) != null && C.id ? (p = "consumer_group", delete c.consumer_group) : (x = c.certificate) != null && x.id ? (p = "certificate", delete c.certificate) : (B = c.set) != null && B.id && (p = "set", delete c.set), n.value) {
2539
2565
  const D = t.subEntityType ? `${t.entityType}_${t.subEntityType}` : t.entityType;
2540
2566
  u += `resource "konnect_event_gateway_${D}" "my_eventgateway${D.replaceAll("_", "")}" {
2541
2567
  `, u += `${te}provider = konnect-beta
@@ -2557,24 +2583,25 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2557
2583
  });
2558
2584
  return (c, d) => {
2559
2585
  const u = P("KCodeBlock");
2560
- return h(), T("div", Ho, [
2586
+ return h(), T("div", zo, [
2561
2587
  t.entityRecord ? (h(), M(u, {
2562
2588
  key: 0,
2563
2589
  id: "terraform-codeblock",
2564
2590
  code: s.value,
2565
2591
  language: "terraform",
2566
- theme: "dark"
2567
- }, null, 8, ["code"])) : j("", !0)
2592
+ theme: "dark",
2593
+ onCodeBlockRender: A(Te)
2594
+ }, null, 8, ["code", "onCodeBlockRender"])) : j("", !0)
2568
2595
  ]);
2569
2596
  };
2570
2597
  }
2571
- }), Vo = {
2598
+ }), Qo = {
2572
2599
  key: 0,
2573
2600
  class: "config-card-display-form"
2574
- }, Yo = ["data-testid"], Wo = {
2601
+ }, Zo = ["data-testid"], Xo = {
2575
2602
  key: 0,
2576
2603
  class: "config-card-prop-section-title"
2577
- }, Jo = /* @__PURE__ */ z({
2604
+ }, el = /* @__PURE__ */ z({
2578
2605
  __name: "ConfigCardDisplay",
2579
2606
  props: {
2580
2607
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2586,7 +2613,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2586
2613
  entityType: {
2587
2614
  type: String,
2588
2615
  required: !0,
2589
- validator: (e) => Ue.includes(e)
2616
+ validator: (e) => qe.includes(e)
2590
2617
  },
2591
2618
  subEntityType: {
2592
2619
  // only for event gateway entities
@@ -2631,7 +2658,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2631
2658
  }
2632
2659
  },
2633
2660
  setup(e) {
2634
- const t = e, n = Pe(), { i18n: { t: i } } = W.useI18n(), r = (l) => !!(l.tooltip || n[`${l.key}-label-tooltip`]), o = $(() => {
2661
+ const t = e, n = Ue(), { i18n: { t: i } } = W.useI18n(), r = (l) => !!(l.tooltip || n[`${l.key}-label-tooltip`]), o = $(() => {
2635
2662
  if (!t.record)
2636
2663
  return t.record;
2637
2664
  let l = t.record;
@@ -2640,22 +2667,22 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2640
2667
  return delete s.created_at, delete s.updated_at, s;
2641
2668
  }), a = $(() => t.fetcherUrl.replace(/(\?|&)__ui_data=true/, ""));
2642
2669
  return (l, s) => (h(), T(ue, null, [
2643
- e.format === "structured" ? (h(), T("div", Vo, [
2670
+ e.format === "structured" ? (h(), T("div", Qo, [
2644
2671
  (h(!0), T(ue, null, ce(e.propListTypes, (c) => (h(), T("div", {
2645
2672
  key: `config-card-details-${c}-props`,
2646
2673
  class: fe(`config-card-details-${c}-props`),
2647
2674
  "data-testid": `config-card-details-${c}-props`
2648
2675
  }, [
2649
- c !== "basic" ? (h(), T("div", Wo, O(c === "advanced" ? _(i)("baseConfigCard.sections.advanced") : c === "plugin" ? _(i)("baseConfigCard.sections.plugin") : _(i)("baseConfigCard.sections.policy")), 1)) : j("", !0),
2676
+ c !== "basic" ? (h(), T("div", Xo, O(c === "advanced" ? A(i)("baseConfigCard.sections.advanced") : c === "plugin" ? A(i)("baseConfigCard.sections.plugin") : A(i)("baseConfigCard.sections.policy")), 1)) : j("", !0),
2650
2677
  (h(!0), T(ue, null, ce(e.propertyCollections[c], (d) => U(l.$slots, `config-card-item-${d.key}`, {
2651
2678
  key: d.key,
2652
2679
  item: d
2653
2680
  }, () => [
2654
- R(tn, { item: d }, $e({
2655
- label: A(() => [
2681
+ K(nn, { item: d }, $e({
2682
+ label: _(() => [
2656
2683
  U(l.$slots, `${d.key}-label`, { row: d }, void 0, !0)
2657
2684
  ]),
2658
- [d.key]: A(({ rowValue: u }) => [
2685
+ [d.key]: _(({ rowValue: u }) => [
2659
2686
  U(l.$slots, d.key, {
2660
2687
  row: d,
2661
2688
  rowValue: u
@@ -2665,27 +2692,27 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2665
2692
  }, [
2666
2693
  r(d) ? {
2667
2694
  name: "label-tooltip",
2668
- fn: A(() => [
2695
+ fn: _(() => [
2669
2696
  U(l.$slots, `${d.key}-label-tooltip`, { row: d }, void 0, !0)
2670
2697
  ]),
2671
2698
  key: "0"
2672
2699
  } : void 0
2673
2700
  ]), 1032, ["item"])
2674
2701
  ], !0)), 128))
2675
- ], 10, Yo))), 128))
2702
+ ], 10, Zo))), 128))
2676
2703
  ])) : j("", !0),
2677
- e.format === "json" && o.value ? (h(), M(nn, {
2704
+ e.format === "json" && o.value ? (h(), M(rn, {
2678
2705
  key: 1,
2679
2706
  config: t.config,
2680
2707
  "entity-record": o.value,
2681
2708
  "fetcher-url": a.value,
2682
2709
  "request-method": "get"
2683
2710
  }, null, 8, ["config", "entity-record", "fetcher-url"])) : j("", !0),
2684
- e.format === "yaml" && o.value ? (h(), M(Wn, {
2711
+ e.format === "yaml" && o.value ? (h(), M(Jn, {
2685
2712
  key: 2,
2686
2713
  "entity-record": o.value
2687
2714
  }, null, 8, ["entity-record"])) : j("", !0),
2688
- e.format === "terraform" && o.value ? (h(), M(Jn, {
2715
+ e.format === "terraform" && o.value ? (h(), M(Gn, {
2689
2716
  key: 3,
2690
2717
  "entity-record": o.value,
2691
2718
  "entity-type": t.entityType,
@@ -2693,10 +2720,10 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2693
2720
  }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : j("", !0)
2694
2721
  ], 64));
2695
2722
  }
2696
- }), Go = /* @__PURE__ */ le(Jo, [["__scopeId", "data-v-a7689049"]]), zo = {
2723
+ }), tl = /* @__PURE__ */ le(el, [["__scopeId", "data-v-a7689049"]]), nl = {
2697
2724
  class: "config-card-title",
2698
2725
  "data-testid": "config-card-title"
2699
- }, Qo = { class: "config-card-actions" }, Zo = ["href"], Xo = { class: "config-card-details-section" }, el = /* @__PURE__ */ z({
2726
+ }, il = { class: "config-card-actions" }, rl = ["href"], al = { class: "config-card-details-section" }, ol = /* @__PURE__ */ z({
2700
2727
  __name: "EntityBaseConfigCard",
2701
2728
  props: {
2702
2729
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2717,7 +2744,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2717
2744
  entityType: {
2718
2745
  type: String,
2719
2746
  required: !0,
2720
- validator: (e) => Ue.includes(e)
2747
+ validator: (e) => qe.includes(e)
2721
2748
  },
2722
2749
  /**
2723
2750
  * Sub Entity type, required to generate terraform code for event gateway entities
@@ -2847,7 +2874,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2847
2874
  };
2848
2875
  be(d, (f) => {
2849
2876
  i.config.formatPreferenceKey && p(i.config.formatPreferenceKey, f);
2850
- }), nt(() => {
2877
+ }), it(() => {
2851
2878
  if (i.config.formatPreferenceKey) {
2852
2879
  const f = localStorage.getItem(i.config.formatPreferenceKey);
2853
2880
  f && s.some((v) => v.value === f) ? d.value = f : d.value = c, p(i.config.formatPreferenceKey, d.value);
@@ -2894,53 +2921,53 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2894
2921
  // the last property displayed
2895
2922
  section: ae.Basic
2896
2923
  }
2897
- }, g = N(!1), y = N(!1), x = N(""), C = N({}), k = $(() => {
2924
+ }, y = N(!1), g = N(!1), k = N(""), C = N({}), x = $(() => {
2898
2925
  var b, V, J;
2899
2926
  if (!C.value)
2900
2927
  return [];
2901
2928
  const f = [], v = Object.keys(C.value).length;
2902
2929
  for (const E in C.value) {
2903
2930
  if (E === "__ui_data") continue;
2904
- const K = (V = (b = i.configSchema) == null ? void 0 : b[E]) == null ? void 0 : V.order, G = (J = m[E]) == null ? void 0 : J.order;
2931
+ const R = (V = (b = i.configSchema) == null ? void 0 : b[E]) == null ? void 0 : V.order, G = (J = m[E]) == null ? void 0 : J.order;
2905
2932
  let H = v;
2906
- (G || G === 0) && (H = G === -1 ? v + 1 : G), K && (H = K === -1 ? v + 1 : K), f.push([E, H]);
2933
+ (G || G === 0) && (H = G === -1 ? v + 1 : G), R && (H = R === -1 ? v + 1 : R), f.push([E, H]);
2907
2934
  }
2908
- return f.sort(function(E, K) {
2909
- return E[1] - K[1];
2935
+ return f.sort(function(E, R) {
2936
+ return E[1] - R[1];
2910
2937
  }), f.map((E) => {
2911
- var dt, ft;
2912
- const K = E[0], G = (dt = C.value) == null ? void 0 : dt[K], H = ((ft = i.configSchema) == null ? void 0 : ft[K]) || {}, Q = m[K];
2938
+ var ft, pt;
2939
+ const R = E[0], G = (ft = C.value) == null ? void 0 : ft[R], H = ((pt = i.configSchema) == null ? void 0 : pt[R]) || {}, Q = m[R];
2913
2940
  return {
2914
- key: K,
2941
+ key: R,
2915
2942
  value: G,
2916
2943
  hidden: H.hidden || !1,
2917
2944
  type: H.type ?? ((Q == null ? void 0 : Q.type) || Y.Text),
2918
- label: H.label ?? ((Q == null ? void 0 : Q.label) || a(K)),
2945
+ label: H.label ?? ((Q == null ? void 0 : Q.label) || a(R)),
2919
2946
  tooltip: H.tooltip ?? ((Q == null ? void 0 : Q.tooltip) || void 0),
2920
2947
  section: H.section ?? ((Q == null ? void 0 : Q.section) || ae.Advanced)
2921
2948
  };
2922
2949
  }).filter((E) => !E.hidden && E.key !== i.pluginConfigKey);
2923
- }), L = $(() => {
2950
+ }), B = $(() => {
2924
2951
  var V, J;
2925
2952
  if (!C.value || !i.pluginConfigKey)
2926
2953
  return [];
2927
2954
  const f = C.value[i.pluginConfigKey] || {}, v = Object.keys(f).length, b = [];
2928
2955
  for (const E in f) {
2929
- const K = (J = (V = i.pluginConfigSchema) == null ? void 0 : V[E]) == null ? void 0 : J.order, G = f[E];
2956
+ const R = (J = (V = i.pluginConfigSchema) == null ? void 0 : V[E]) == null ? void 0 : J.order, G = f[E];
2930
2957
  let H = G != null && G !== "" ? v - 1 : v;
2931
- K && (H = K === -1 ? v + 1 : K), b.push([E, H]);
2958
+ R && (H = R === -1 ? v + 1 : R), b.push([E, H]);
2932
2959
  }
2933
- return b.sort(function(E, K) {
2934
- return E[1] - K[1];
2960
+ return b.sort(function(E, R) {
2961
+ return E[1] - R[1];
2935
2962
  }), b.map((E) => {
2936
2963
  var Q;
2937
- const K = E[0], G = f[K], H = ((Q = i.pluginConfigSchema) == null ? void 0 : Q[K]) || {};
2964
+ const R = E[0], G = f[R], H = ((Q = i.pluginConfigSchema) == null ? void 0 : Q[R]) || {};
2938
2965
  return {
2939
- key: K,
2966
+ key: R,
2940
2967
  value: G,
2941
2968
  hidden: H.hidden || !1,
2942
2969
  type: H.type ?? Y.Text,
2943
- label: H.label ?? a(K),
2970
+ label: H.label ?? a(R),
2944
2971
  tooltip: H.tooltip ?? void 0,
2945
2972
  section: ae.Plugin
2946
2973
  };
@@ -2951,21 +2978,21 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2951
2978
  return [];
2952
2979
  const f = C.value[i.policyConfigKey] || {}, v = Object.keys(f).length, b = [];
2953
2980
  for (const E in f) {
2954
- const K = (J = (V = i.policyConfigSchema) == null ? void 0 : V[E]) == null ? void 0 : J.order, G = f[E];
2981
+ const R = (J = (V = i.policyConfigSchema) == null ? void 0 : V[E]) == null ? void 0 : J.order, G = f[E];
2955
2982
  let H = G != null && G !== "" ? v - 1 : v;
2956
- K && (H = K === -1 ? v + 1 : K), b.push([E, H]);
2983
+ R && (H = R === -1 ? v + 1 : R), b.push([E, H]);
2957
2984
  }
2958
- return b.sort(function(E, K) {
2959
- return E[1] - K[1];
2985
+ return b.sort(function(E, R) {
2986
+ return E[1] - R[1];
2960
2987
  }), b.map((E) => {
2961
2988
  var Q;
2962
- const K = E[0], G = f[K], H = ((Q = i.policyConfigSchema) == null ? void 0 : Q[K]) || {};
2989
+ const R = E[0], G = f[R], H = ((Q = i.policyConfigSchema) == null ? void 0 : Q[R]) || {};
2963
2990
  return {
2964
- key: K,
2991
+ key: R,
2965
2992
  value: G,
2966
2993
  hidden: H.hidden || !1,
2967
2994
  type: H.type ?? Y.Text,
2968
- label: H.label ?? a(K),
2995
+ label: H.label ?? a(R),
2969
2996
  tooltip: H.tooltip ?? void 0,
2970
2997
  section: ae.Policy
2971
2998
  };
@@ -2973,10 +3000,10 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2973
3000
  }), X = $(() => {
2974
3001
  var f, v, b, V, J, E;
2975
3002
  return {
2976
- basic: (f = k.value) == null ? void 0 : f.filter((K) => K.section === ae.Basic),
2977
- advanced: (v = k.value) == null ? void 0 : v.filter((K) => K.section === ae.Advanced),
2978
- plugin: (V = L.value) == null ? void 0 : V.concat((b = k.value) == null ? void 0 : b.filter((K) => K.section === ae.Plugin)),
2979
- policy: (E = D.value) == null ? void 0 : E.concat((J = k.value) == null ? void 0 : J.filter((K) => K.section === ae.Policy))
3003
+ basic: (f = x.value) == null ? void 0 : f.filter((R) => R.section === ae.Basic),
3004
+ advanced: (v = x.value) == null ? void 0 : v.filter((R) => R.section === ae.Advanced),
3005
+ plugin: (V = B.value) == null ? void 0 : V.concat((b = x.value) == null ? void 0 : b.filter((R) => R.section === ae.Plugin)),
3006
+ policy: (E = D.value) == null ? void 0 : E.concat((J = x.value) == null ? void 0 : J.filter((R) => R.section === ae.Policy))
2980
3007
  };
2981
3008
  }), S = $(() => {
2982
3009
  const f = [];
@@ -2986,10 +3013,10 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
2986
3013
  let f = `${i.config.apiBaseUrl}${i.fetchUrl}`;
2987
3014
  return i.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((v = i.config) == null ? void 0 : v.controlPlaneId) || "") : i.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (b = i.config) != null && b.workspace ? `/${i.config.workspace}` : "")), f = f.replace(/{id}/gi, i.config.entityId), f;
2988
3015
  });
2989
- return be(g, (f) => {
3016
+ return be(y, (f) => {
2990
3017
  n("loading", f);
2991
- }, { immediate: !0 }), it(async () => {
2992
- y.value = !1, g.value = !0;
3018
+ }, { immediate: !0 }), rt(async () => {
3019
+ g.value = !1, y.value = !0;
2993
3020
  try {
2994
3021
  const { data: f } = await l.get(w.value);
2995
3022
  if (i.dataKey)
@@ -3003,29 +3030,29 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3003
3030
  }), n("fetch:success", f);
3004
3031
  } catch (f) {
3005
3032
  const v = o(f);
3006
- x.value = v.startsWith("code") ? r("baseConfigCard.errors.load") : v, y.value = !0, n("fetch:error", f);
3033
+ k.value = v.startsWith("code") ? r("baseConfigCard.errors.load") : v, g.value = !0, n("fetch:error", f);
3007
3034
  } finally {
3008
- g.value = !1;
3035
+ y.value = !1;
3009
3036
  }
3010
3037
  }), (f, v) => {
3011
- const b = P("KLabel"), V = P("KSelect"), J = P("KButton"), E = P("KSkeleton"), K = P("KEmptyState"), G = P("KCard");
3038
+ const b = P("KLabel"), V = P("KSelect"), J = P("KButton"), E = P("KSkeleton"), R = P("KEmptyState"), G = P("KCard");
3012
3039
  return h(), M(G, {
3013
3040
  class: "kong-ui-entity-base-config-card",
3014
3041
  "title-tag": e.titleTag
3015
3042
  }, $e({
3016
- actions: A(() => [
3017
- B("div", Qo, [
3043
+ actions: _(() => [
3044
+ L("div", il, [
3018
3045
  U(f.$slots, "actions", {}, void 0, !0),
3019
- R(b, {
3046
+ K(b, {
3020
3047
  class: "config-format-select-label",
3021
3048
  "data-testid": "config-format-select-label"
3022
3049
  }, {
3023
- default: A(() => [
3050
+ default: _(() => [
3024
3051
  q(O(e.label), 1)
3025
3052
  ]),
3026
3053
  _: 1
3027
3054
  }),
3028
- R(V, {
3055
+ K(V, {
3029
3056
  modelValue: d.value,
3030
3057
  "onUpdate:modelValue": v[0] || (v[0] = (H) => d.value = H),
3031
3058
  "data-testid": "select-config-format",
@@ -3038,37 +3065,37 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3038
3065
  class: "book-icon",
3039
3066
  "data-testid": "book-icon"
3040
3067
  }, {
3041
- default: A(() => [
3042
- B("a", {
3068
+ default: _(() => [
3069
+ L("a", {
3043
3070
  href: e.configCardDoc,
3044
3071
  rel: "noopener",
3045
3072
  target: "_blank"
3046
3073
  }, [
3047
- R(_(Wt), { size: _(sr) }, null, 8, ["size"])
3048
- ], 8, Zo)
3074
+ K(A(Jt), { size: A(fr) }, null, 8, ["size"])
3075
+ ], 8, rl)
3049
3076
  ]),
3050
3077
  _: 1
3051
3078
  })) : j("", !0)
3052
3079
  ])
3053
3080
  ]),
3054
- default: A(() => [
3055
- g.value ? (h(), M(E, {
3081
+ default: _(() => [
3082
+ y.value ? (h(), M(E, {
3056
3083
  key: 0,
3057
3084
  "data-testid": "config-card-loader",
3058
3085
  "table-columns": 2,
3059
3086
  type: "table"
3060
- })) : y.value ? (h(), M(K, {
3087
+ })) : g.value ? (h(), M(R, {
3061
3088
  key: 1,
3062
3089
  "data-testid": "config-card-fetch-error",
3063
3090
  "icon-variant": "error"
3064
3091
  }, {
3065
- default: A(() => [
3066
- B("h3", null, O(x.value), 1)
3092
+ default: _(() => [
3093
+ L("h3", null, O(k.value), 1)
3067
3094
  ]),
3068
3095
  _: 1
3069
3096
  })) : j("", !0),
3070
- B("div", Xo, [
3071
- R(Go, {
3097
+ L("div", al, [
3098
+ K(tl, {
3072
3099
  "code-block-record-formatter": e.codeBlockRecordFormatter,
3073
3100
  config: e.config,
3074
3101
  "entity-type": e.entityType,
@@ -3081,8 +3108,8 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3081
3108
  }, $e({ _: 2 }, [
3082
3109
  ce(Object.keys(f.$slots), (H) => ({
3083
3110
  name: H,
3084
- fn: A((Q) => [
3085
- U(f.$slots, H, Vt({ record: C.value }, Q), void 0, !0)
3111
+ fn: _((Q) => [
3112
+ U(f.$slots, H, Yt({ record: C.value }, Q), void 0, !0)
3086
3113
  ])
3087
3114
  }))
3088
3115
  ]), 1032, ["code-block-record-formatter", "config", "entity-type", "fetcher-url", "format", "prop-list-types", "property-collections", "record", "sub-entity-type"])
@@ -3092,10 +3119,10 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3092
3119
  }, [
3093
3120
  e.hideTitle ? void 0 : {
3094
3121
  name: "title",
3095
- fn: A(() => [
3096
- B("span", zo, [
3122
+ fn: _(() => [
3123
+ L("span", nl, [
3097
3124
  U(f.$slots, "title", {}, () => [
3098
- q(O(_(r)("baseConfigCard.title")), 1)
3125
+ q(O(A(r)("baseConfigCard.title")), 1)
3099
3126
  ], !0)
3100
3127
  ])
3101
3128
  ]),
@@ -3104,7 +3131,7 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3104
3131
  ]), 1032, ["title-tag"]);
3105
3132
  };
3106
3133
  }
3107
- }), As = /* @__PURE__ */ le(el, [["__scopeId", "data-v-f2b42324"]]), tl = { class: "deck-config config-card-code-block" }, nl = /* @__PURE__ */ z({
3134
+ }), Fs = /* @__PURE__ */ le(ol, [["__scopeId", "data-v-f2b42324"]]), ll = { class: "deck-config config-card-code-block" }, sl = /* @__PURE__ */ z({
3108
3135
  __name: "DeckCodeBlock",
3109
3136
  props: {
3110
3137
  entityRecord: {},
@@ -3115,8 +3142,8 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3115
3142
  setup(e) {
3116
3143
  const t = e, { i18n: n, i18nT: i } = W.useI18n(), r = [
3117
3144
  { value: "bash", label: "Linux / macOS Bash" },
3118
- { value: "pwsh", label: "Windows PowerShell" }
3119
- ], o = N(navigator.userAgent.toLowerCase().includes("windows") ? "pwsh" : "bash"), a = $(() => {
3145
+ { value: "powershell", label: "Windows PowerShell" }
3146
+ ], o = N(navigator.userAgent.toLowerCase().includes("windows") ? "powershell" : "bash"), a = $(() => {
3120
3147
  const d = {
3121
3148
  _format_version: "3.0"
3122
3149
  };
@@ -3124,53 +3151,54 @@ const qo = { class: "yaml-config config-card-code-block" }, Wn = /* @__PURE__ */
3124
3151
  control_plane_name: t.controlPlaneName
3125
3152
  }), d;
3126
3153
  }), l = $(() => {
3127
- var m, g, y, x, C;
3128
- const d = Object.fromEntries(Object.entries(t.entityRecord).filter(([, k]) => k !== null && k !== "" && (Array.isArray(k) ? k.length !== 0 : !0)));
3129
- t.entityType === Se.Plugin ? ((m = d.service) != null && m.id && (d.service = d.service.id), (g = d.route) != null && g.id && (d.route = d.route.id), (y = d.consumer) != null && y.id && (d.consumer = d.consumer.id), (x = d.consumer_group) != null && x.id && (d.consumer_group = d.consumer_group.id)) : t.entityType === Se.Key && (C = d.key_set) != null && C.id && (d.key_set = d.key_set.id);
3154
+ var m, y, g, k, C;
3155
+ const d = Object.fromEntries(Object.entries(t.entityRecord).filter(([, x]) => x !== null && x !== "" && (Array.isArray(x) ? x.length !== 0 : !0)));
3156
+ t.entityType === Se.Plugin ? ((m = d.service) != null && m.id && (d.service = d.service.id), (y = d.route) != null && y.id && (d.route = d.route.id), (g = d.consumer) != null && g.id && (d.consumer = d.consumer.id), (k = d.consumer_group) != null && k.id && (d.consumer_group = d.consumer_group.id)) : t.entityType === Se.Key && (C = d.key_set) != null && C.id && (d.key_set = d.key_set.id);
3130
3157
  const u = t.entityType === Se.KeySet ? "key_sets" : t.entityType + "s", p = {
3131
3158
  ...a.value,
3132
3159
  [u]: [d]
3133
3160
  };
3134
- return Yn.dump(p, { quotingType: '"' }).trim();
3161
+ return Wn.dump(p, { quotingType: '"' }).trim();
3135
3162
  }), s = $(() => o.value === "bash" ? "export DECK_KONNECT_TOKEN='YOUR_KONNECT_PAT'" : '$env:DECK_KONNECT_TOKEN = "YOUR_KONNECT_PAT"'), c = $(() => {
3136
3163
  let d = "deck gateway apply -";
3137
- return t.geoApiServerUrl && (d += ` --konnect-addr ${t.geoApiServerUrl}`), o.value === "bash" ? `echo '${l.value}
3164
+ return t.geoApiServerUrl && (d += ` --konnect-addr ${t.geoApiServerUrl}`), o.value === "bash" ? `echo '
3165
+ ${l.value}
3138
3166
  ' | ${d}` : `@'
3139
3167
  ${l.value}
3140
3168
  '@ | ${d}`;
3141
3169
  });
3142
3170
  return (d, u) => {
3143
- const p = P("KSelect"), m = P("KBadge"), g = P("KCodeBlock");
3144
- return h(), T("div", tl, [
3145
- R(p, {
3171
+ const p = P("KSelect"), m = P("KBadge"), y = P("KCodeBlock");
3172
+ return h(), T("div", ll, [
3173
+ K(p, {
3146
3174
  modelValue: o.value,
3147
- "onUpdate:modelValue": u[0] || (u[0] = (y) => o.value = y),
3175
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => o.value = g),
3148
3176
  items: r
3149
3177
  }, {
3150
- "item-template": A(({ item: y }) => [
3151
- y.value === "pwsh" ? (h(), M(_(ht), { key: 0 })) : (h(), M(_(yt), { key: 1 })),
3152
- q(" " + O(y.label), 1)
3178
+ "item-template": _(({ item: g }) => [
3179
+ g.value === "powershell" ? (h(), M(A(gt), { key: 0 })) : (h(), M(A(yt), { key: 1 })),
3180
+ q(" " + O(g.label), 1)
3153
3181
  ]),
3154
- "selected-item-template": A(({ item: y }) => [
3155
- y.value === "pwsh" ? (h(), M(_(ht), { key: 0 })) : (h(), M(_(yt), { key: 1 })),
3156
- q(" " + O(y.label), 1)
3182
+ "selected-item-template": _(({ item: g }) => [
3183
+ g.value === "powershell" ? (h(), M(A(gt), { key: 0 })) : (h(), M(A(yt), { key: 1 })),
3184
+ q(" " + O(g.label), 1)
3157
3185
  ]),
3158
3186
  _: 1
3159
3187
  }, 8, ["modelValue"]),
3160
- B("p", null, [
3161
- R(_(i), { keypath: "deckCodeBlock.hint" }, {
3162
- token: A(() => [
3163
- R(m, null, {
3164
- default: A(() => [...u[1] || (u[1] = [
3188
+ L("p", null, [
3189
+ K(A(i), { keypath: "deckCodeBlock.hint" }, {
3190
+ token: _(() => [
3191
+ K(m, null, {
3192
+ default: _(() => [...u[1] || (u[1] = [
3165
3193
  q("DECK_KONNECT_TOKEN", -1)
3166
3194
  ])]),
3167
3195
  _: 1
3168
3196
  })
3169
3197
  ]),
3170
- link: A(() => [
3171
- R(_(ai), { href: "https://developer.konghq.com/deck/get-started/" }, {
3172
- default: A(() => [
3173
- q(O(_(n).t("deckCodeBlock.documentation")), 1)
3198
+ link: _(() => [
3199
+ K(A(oi), { href: "https://developer.konghq.com/deck/get-started/" }, {
3200
+ default: _(() => [
3201
+ q(O(A(n).t("deckCodeBlock.documentation")), 1)
3174
3202
  ]),
3175
3203
  _: 1
3176
3204
  })
@@ -3178,24 +3206,26 @@ ${l.value}
3178
3206
  _: 1
3179
3207
  })
3180
3208
  ]),
3181
- R(g, {
3209
+ K(y, {
3182
3210
  id: "deck-env-codeblock",
3183
3211
  code: s.value,
3184
- language: "shell",
3212
+ language: o.value,
3185
3213
  "single-line": "",
3186
- theme: "dark"
3187
- }, null, 8, ["code"]),
3188
- t.entityRecord ? (h(), M(g, {
3214
+ theme: "dark",
3215
+ onCodeBlockRender: A(Te)
3216
+ }, null, 8, ["code", "language", "onCodeBlockRender"]),
3217
+ t.entityRecord ? (h(), M(y, {
3189
3218
  key: 0,
3190
3219
  id: "deck-codeblock",
3191
3220
  code: c.value,
3192
- language: "shell",
3193
- theme: "dark"
3194
- }, null, 8, ["code"])) : j("", !0)
3221
+ language: o.value,
3222
+ theme: "dark",
3223
+ onCodeBlockRender: A(Te)
3224
+ }, null, 8, ["code", "language", "onCodeBlockRender"])) : j("", !0)
3195
3225
  ]);
3196
3226
  };
3197
3227
  }
3198
- }), il = /* @__PURE__ */ le(nl, [["__scopeId", "data-v-b0f5656a"]]), rl = ["novalidate"], al = /* @__PURE__ */ z({
3228
+ }), cl = /* @__PURE__ */ le(sl, [["__scopeId", "data-v-22097768"]]), ul = ["novalidate"], dl = /* @__PURE__ */ z({
3199
3229
  __name: "EntityBaseForm",
3200
3230
  props: {
3201
3231
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3216,7 +3246,7 @@ ${l.value}
3216
3246
  entityType: {
3217
3247
  type: String,
3218
3248
  required: !0,
3219
- validator: (e) => Ue.includes(e)
3249
+ validator: (e) => qe.includes(e)
3220
3250
  },
3221
3251
  /**
3222
3252
  * Sub entity type, required for event gateway entities to generate terraform code
@@ -3319,17 +3349,17 @@ ${l.value}
3319
3349
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel", "codeBlockTabChange"],
3320
3350
  setup(e, { expose: t, emit: n }) {
3321
3351
  var X;
3322
- const i = n, r = e, o = di(), { i18n: { t: a } } = W.useI18n(), { getMessageFromError: l } = W.useErrors(), { axiosInstance: s } = W.useAxios((X = r.config) == null ? void 0 : X.axiosRequestConfig), c = N(!1), d = $(() => !!r.editId), u = N(!1), p = N(""), m = $(() => r.canSubmit === !1 || r.isReadonly), g = N(!1), y = $(() => {
3352
+ const i = n, r = e, o = hi(), { i18n: { t: a } } = W.useI18n(), { getMessageFromError: l } = W.useErrors(), { axiosInstance: s } = W.useAxios((X = r.config) == null ? void 0 : X.axiosRequestConfig), c = N(!1), d = $(() => !!r.editId), u = N(!1), p = N(""), m = $(() => r.canSubmit === !1 || r.isReadonly), y = N(!1), g = $(() => {
3323
3353
  var w, F;
3324
3354
  let S = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3325
3355
  return r.config.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, (F = r.config) != null && F.workspace ? `/${r.config.workspace}` : "")), r.editId ? (S = S.replace(/{id}/gi, r.editId), S) : (S = S.replace(/\/{id}/gi, ""), S);
3326
- }), x = () => {
3327
- g.value = !g.value;
3356
+ }), k = () => {
3357
+ y.value = !y.value;
3328
3358
  }, C = () => {
3329
- r.config.cancelRoute ? o.push(r.config.cancelRoute) : k();
3330
- }, k = () => {
3359
+ r.config.cancelRoute ? o.push(r.config.cancelRoute) : x();
3360
+ }, x = () => {
3331
3361
  i("cancel");
3332
- }, L = () => {
3362
+ }, B = () => {
3333
3363
  m.value || i("submit");
3334
3364
  }, D = N([
3335
3365
  {
@@ -3344,16 +3374,16 @@ ${l.value}
3344
3374
  return r.config.app === "konnect" && r.entityType !== Se.Other && D.value.splice(1, 0, {
3345
3375
  title: a("baseForm.configuration.terraform"),
3346
3376
  hash: "#terraform"
3347
- }), r.config.app === "konnect" && r.config.enableDeckTab && mi.includes(r.entityType) && D.value.push({
3377
+ }), r.config.app === "konnect" && r.config.enableDeckTab && vi.includes(r.entityType) && D.value.push({
3348
3378
  title: a("baseForm.configuration.deck"),
3349
3379
  hash: "#deck"
3350
3380
  }), be(() => c.value, (S) => {
3351
3381
  i("loading", S);
3352
- }, { immediate: !0 }), it(async () => {
3382
+ }, { immediate: !0 }), rt(async () => {
3353
3383
  if (r.editId)
3354
3384
  try {
3355
3385
  u.value = !1, c.value = !0;
3356
- const { data: S } = await s.get(y.value);
3386
+ const { data: S } = await s.get(g.value);
3357
3387
  i("fetch:success", S);
3358
3388
  } catch (S) {
3359
3389
  const w = l(S);
@@ -3362,33 +3392,33 @@ ${l.value}
3362
3392
  c.value = !1;
3363
3393
  }
3364
3394
  }), t({
3365
- viewConfig: x,
3366
- formCancel: k,
3367
- formSubmit: L
3395
+ viewConfig: k,
3396
+ formCancel: x,
3397
+ formSubmit: B
3368
3398
  }), (S, w) => {
3369
3399
  const F = P("KSkeleton"), f = P("KEmptyState"), v = P("KAlert"), b = P("KButton"), V = P("KTabs"), J = P("KSlideout");
3370
- return h(), M(De(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3371
- default: A(() => [
3400
+ return h(), M(Pe(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3401
+ default: _(() => [
3372
3402
  c.value ? (h(), M(F, {
3373
3403
  key: 0,
3374
3404
  type: "form"
3375
3405
  })) : u.value ? (h(), M(f, {
3376
3406
  key: 1,
3377
- "action-button-text": _(a)("baseForm.actions.back"),
3407
+ "action-button-text": A(a)("baseForm.actions.back"),
3378
3408
  "data-testid": "form-fetch-error",
3379
3409
  "icon-variant": "error",
3380
3410
  onClickAction: C
3381
3411
  }, {
3382
- default: A(() => [
3383
- B("h3", null, O(p.value), 1)
3412
+ default: _(() => [
3413
+ L("h3", null, O(p.value), 1)
3384
3414
  ]),
3385
3415
  _: 1
3386
3416
  }, 8, ["action-button-text"])) : (h(), T("form", {
3387
3417
  key: 2,
3388
3418
  "data-testid": "form-content",
3389
3419
  novalidate: r.noValidate,
3390
- onReset: Be(k, ["prevent"]),
3391
- onSubmit: Be(L, ["prevent"])
3420
+ onReset: Re(x, ["prevent"]),
3421
+ onSubmit: Re(B, ["prevent"])
3392
3422
  }, [
3393
3423
  U(S.$slots, "default", {}, void 0, !0),
3394
3424
  e.errorMessage ? (h(), M(v, {
@@ -3397,92 +3427,92 @@ ${l.value}
3397
3427
  "data-testid": "form-error",
3398
3428
  message: e.errorMessage
3399
3429
  }, null, 8, ["message"])) : j("", !0),
3400
- e.hideActions ? j("", !0) : (h(), M(Yt, {
3430
+ e.hideActions ? j("", !0) : (h(), M(Wt, {
3401
3431
  key: 1,
3402
3432
  disabled: !e.actionTeleportTarget,
3403
3433
  to: e.actionTeleportTarget
3404
3434
  }, [
3405
- B("div", {
3435
+ L("div", {
3406
3436
  class: fe(["form-actions", { "form-actions-reverted": e.alignActionButtonToLeft }]),
3407
3437
  "data-testid": "form-actions"
3408
3438
  }, [
3409
3439
  U(S.$slots, "form-actions", {}, () => [
3410
- R(b, {
3440
+ K(b, {
3411
3441
  appearance: "tertiary",
3412
3442
  "data-testid": `${e.entityType}-${d.value ? "edit" : "create"}-form-view-configuration`,
3413
- onClick: w[0] || (w[0] = (E) => x())
3443
+ onClick: w[0] || (w[0] = (E) => k())
3414
3444
  }, {
3415
- default: A(() => [
3416
- q(O(_(a)("baseForm.actions.viewConfiguration")), 1)
3445
+ default: _(() => [
3446
+ q(O(A(a)("baseForm.actions.viewConfiguration")), 1)
3417
3447
  ]),
3418
3448
  _: 1
3419
3449
  }, 8, ["data-testid"]),
3420
- R(b, {
3450
+ K(b, {
3421
3451
  appearance: "secondary",
3422
3452
  "data-testid": `${e.entityType}-${d.value ? "edit" : "create"}-form-cancel`,
3423
3453
  disabled: e.isReadonly,
3424
3454
  type: "reset",
3425
- onClick: w[1] || (w[1] = (E) => !!e.actionTeleportTarget && k())
3455
+ onClick: w[1] || (w[1] = (E) => !!e.actionTeleportTarget && x())
3426
3456
  }, {
3427
- default: A(() => [
3428
- q(O(e.cancelButtonText ?? _(a)("baseForm.actions.cancel")), 1)
3457
+ default: _(() => [
3458
+ q(O(e.cancelButtonText ?? A(a)("baseForm.actions.cancel")), 1)
3429
3459
  ]),
3430
3460
  _: 1
3431
3461
  }, 8, ["data-testid", "disabled"]),
3432
- R(b, {
3462
+ K(b, {
3433
3463
  appearance: "primary",
3434
3464
  "data-testid": `${e.entityType}-${d.value ? "edit" : "create"}-form-submit`,
3435
3465
  disabled: m.value,
3436
3466
  type: "submit",
3437
- onClick: w[2] || (w[2] = (E) => !!e.actionTeleportTarget && L())
3467
+ onClick: w[2] || (w[2] = (E) => !!e.actionTeleportTarget && B())
3438
3468
  }, {
3439
- default: A(() => [
3440
- q(O(e.saveButtonText ?? _(a)("baseForm.actions.save")), 1)
3469
+ default: _(() => [
3470
+ q(O(e.saveButtonText ?? A(a)("baseForm.actions.save")), 1)
3441
3471
  ]),
3442
3472
  _: 1
3443
3473
  }, 8, ["data-testid", "disabled"])
3444
3474
  ], !0)
3445
3475
  ], 2)
3446
3476
  ], 8, ["disabled", "to"]))
3447
- ], 40, rl)),
3448
- R(J, {
3477
+ ], 40, ul)),
3478
+ K(J, {
3449
3479
  "close-on-blur": !1,
3450
3480
  "data-testid": "form-view-configuration-slideout",
3451
3481
  "has-overlay": !1,
3452
3482
  "offset-top": e.slidoutTopOffset,
3453
- title: _(a)("baseForm.configuration.title"),
3454
- visible: g.value,
3455
- onClose: w[4] || (w[4] = (E) => x())
3483
+ title: A(a)("baseForm.configuration.title"),
3484
+ visible: y.value,
3485
+ onClose: w[4] || (w[4] = (E) => k())
3456
3486
  }, {
3457
- default: A(() => [
3458
- B("div", null, O(_(a)("baseForm.configuration.message")), 1),
3459
- R(V, {
3487
+ default: _(() => [
3488
+ L("div", null, O(A(a)("baseForm.configuration.message")), 1),
3489
+ K(V, {
3460
3490
  "data-testid": "form-view-configuration-slideout-tabs",
3461
3491
  tabs: D.value,
3462
3492
  onChange: w[3] || (w[3] = (E) => i("codeBlockTabChange", E.replace("#", "")))
3463
3493
  }, {
3464
- json: A(() => [
3465
- R(nn, {
3494
+ json: _(() => [
3495
+ K(rn, {
3466
3496
  config: e.config,
3467
3497
  "entity-record": r.formFields,
3468
- "fetcher-url": y.value,
3498
+ "fetcher-url": g.value,
3469
3499
  "request-method": r.editId ? "put" : "post"
3470
3500
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3471
3501
  ]),
3472
- yaml: A(() => [
3473
- R(Wn, {
3502
+ yaml: _(() => [
3503
+ K(Jn, {
3474
3504
  "entity-record": r.formFields
3475
3505
  }, null, 8, ["entity-record"])
3476
3506
  ]),
3477
- terraform: A(() => [
3478
- R(Jn, {
3507
+ terraform: _(() => [
3508
+ K(Gn, {
3479
3509
  "entity-record": r.formFields,
3480
3510
  "entity-type": e.entityType,
3481
3511
  "sub-entity-type": e.subEntityType
3482
3512
  }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])
3483
3513
  ]),
3484
- deck: A(() => [
3485
- R(il, {
3514
+ deck: _(() => [
3515
+ K(cl, {
3486
3516
  "control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
3487
3517
  "entity-record": r.formFields,
3488
3518
  "entity-type": e.entityType,
@@ -3499,7 +3529,7 @@ ${l.value}
3499
3529
  });
3500
3530
  };
3501
3531
  }
3502
- }), _s = /* @__PURE__ */ le(al, [["__scopeId", "data-v-23f330b9"]]), ol = ["data-truncate"], ll = /* @__PURE__ */ z({
3532
+ }), Os = /* @__PURE__ */ le(dl, [["__scopeId", "data-v-23f330b9"]]), fl = ["data-truncate"], pl = /* @__PURE__ */ z({
3503
3533
  __name: "EntityBaseTableCell",
3504
3534
  props: {
3505
3535
  keyName: {
@@ -3517,48 +3547,48 @@ ${l.value}
3517
3547
  },
3518
3548
  setup(e) {
3519
3549
  const t = e, n = $(() => {
3520
- var x;
3521
- return ((x = t.rowEl) == null ? void 0 : x.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3550
+ var k;
3551
+ return ((k = t.rowEl) == null ? void 0 : k.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3522
3552
  }), i = $(() => {
3523
- var x;
3524
- return ((x = n.value) == null ? void 0 : x.querySelector('[data-truncate="true"]')) || null;
3553
+ var k;
3554
+ return ((k = n.value) == null ? void 0 : k.querySelector('[data-truncate="true"]')) || null;
3525
3555
  }), r = $(() => {
3526
- var C, k;
3527
- const x = (C = t.rowEl) == null ? void 0 : C.querySelectorAll("td");
3528
- return x ? ((k = x[0]) == null ? void 0 : k.getAttribute("data-testid")) === t.keyName : !0;
3556
+ var C, x;
3557
+ const k = (C = t.rowEl) == null ? void 0 : C.querySelectorAll("td");
3558
+ return k ? ((x = k[0]) == null ? void 0 : x.getAttribute("data-testid")) === t.keyName : !0;
3529
3559
  }), o = $(() => r.value || t.tooltip);
3530
3560
  let a;
3531
3561
  const l = () => {
3532
3562
  a && (a.disconnect(), a = void 0);
3533
3563
  }, s = () => {
3534
- var C, k, L;
3535
- let x = ((C = n.value) == null ? void 0 : C.clientWidth) || 0;
3564
+ var C, x, B;
3565
+ let k = ((C = n.value) == null ? void 0 : C.clientWidth) || 0;
3536
3566
  if (n.value && "getComputedStyle" in window) {
3537
3567
  const D = window.getComputedStyle(n.value);
3538
- x -= (parseFloat(D.paddingLeft) || 0) + (parseFloat(D.paddingRight) || 0);
3568
+ k -= (parseFloat(D.paddingLeft) || 0) + (parseFloat(D.paddingRight) || 0);
3539
3569
  }
3540
- d.value = ((k = i.value) == null ? void 0 : k.getBoundingClientRect().width) || 0, u.value = x, p.value = ((L = c.value) == null ? void 0 : L.innerText) || "";
3541
- }, c = N({}), d = N(0), u = N(0), p = N(""), m = $(() => [i.value, n.value]), g = be(
3570
+ d.value = ((x = i.value) == null ? void 0 : x.getBoundingClientRect().width) || 0, u.value = k, p.value = ((B = c.value) == null ? void 0 : B.innerText) || "";
3571
+ }, c = N({}), d = N(0), u = N(0), p = N(""), m = $(() => [i.value, n.value]), y = be(
3542
3572
  m,
3543
- (x) => {
3573
+ (k) => {
3544
3574
  if (o.value && (l(), "ResizeObserver" in window && window)) {
3545
3575
  a = new ResizeObserver((C) => {
3546
3576
  window.requestAnimationFrame(() => {
3547
3577
  !Array.isArray(C) || !C.length || s();
3548
3578
  });
3549
3579
  });
3550
- for (const C of x)
3580
+ for (const C of k)
3551
3581
  C && a.observe(C);
3552
3582
  }
3553
3583
  },
3554
3584
  { immediate: !0, flush: "post", deep: !0 }
3555
- ), y = $(() => o.value ? d.value > u.value : !1);
3556
- return nt(() => {
3585
+ ), g = $(() => o.value ? d.value > u.value : !1);
3586
+ return it(() => {
3557
3587
  s();
3558
- }), Xn(() => {
3559
- g();
3560
- }), (x, C) => {
3561
- const k = P("KTooltip");
3588
+ }), ei(() => {
3589
+ y();
3590
+ }), (k, C) => {
3591
+ const x = P("KTooltip");
3562
3592
  return h(), T("span", {
3563
3593
  ref_key: "contentRef",
3564
3594
  ref: c,
@@ -3568,27 +3598,27 @@ ${l.value}
3568
3598
  key: 0,
3569
3599
  "data-truncate": o.value || void 0
3570
3600
  }, [
3571
- R(k, {
3601
+ K(x, {
3572
3602
  "max-width": "300",
3573
3603
  placement: "bottom-start",
3574
- text: y.value ? p.value : ""
3604
+ text: g.value ? p.value : ""
3575
3605
  }, {
3576
- default: A(() => [
3577
- U(x.$slots, "default", {}, void 0, !0)
3606
+ default: _(() => [
3607
+ U(k.$slots, "default", {}, void 0, !0)
3578
3608
  ]),
3579
3609
  _: 3
3580
3610
  }, 8, ["text"])
3581
- ], 8, ol)) : U(x.$slots, "default", { key: 1 }, void 0, !0)
3611
+ ], 8, fl)) : U(k.$slots, "default", { key: 1 }, void 0, !0)
3582
3612
  ], 512);
3583
3613
  };
3584
3614
  }
3585
- }), sl = /* @__PURE__ */ le(ll, [["__scopeId", "data-v-a3a65cac"]]), cl = { class: "toolbar-container" }, ul = {
3615
+ }), ml = /* @__PURE__ */ le(pl, [["__scopeId", "data-v-a3a65cac"]]), hl = { class: "toolbar-container" }, gl = {
3586
3616
  key: 0,
3587
3617
  class: "toolbar-button-container"
3588
- }, dl = {
3618
+ }, yl = {
3589
3619
  key: 0,
3590
3620
  class: "hidden"
3591
- }, fl = /* @__PURE__ */ z({
3621
+ }, vl = /* @__PURE__ */ z({
3592
3622
  __name: "EntityBaseTable",
3593
3623
  props: {
3594
3624
  // table header configuration
@@ -3776,16 +3806,16 @@ ${l.value}
3776
3806
  textOverflow: "ellipsis"
3777
3807
  }), v;
3778
3808
  }, p = (f) => {
3779
- k(f), i("state", f);
3809
+ x(f), i("state", f);
3780
3810
  }, m = () => {
3781
- i("empty-state-cta-clicked"), g();
3782
- }, g = () => {
3811
+ i("empty-state-cta-clicked"), y();
3812
+ }, y = () => {
3783
3813
  i("clear-search-input");
3784
- }, y = $(() => n.disableRowClick ? void 0 : (f, v) => {
3814
+ }, g = $(() => n.disableRowClick ? void 0 : (f, v) => {
3785
3815
  i("click:row", v);
3786
- }), x = (f) => {
3816
+ }), k = (f) => {
3787
3817
  i("sort", f);
3788
- }, { hideTableToolbar: C, handleStateChange: k } = W.useTableState(() => n.query), { setTablePreferences: L, getTablePreferences: D } = xi(), X = N(D(a.value, n.defaultTablePreferences)), S = $(() => {
3818
+ }, { hideTableToolbar: C, handleStateChange: x } = W.useTableState(() => n.query), { setTablePreferences: B, getTablePreferences: D } = _i(), X = N(D(a.value, n.defaultTablePreferences)), S = $(() => {
3789
3819
  const f = D(a.value);
3790
3820
  return {
3791
3821
  ...n.initialFetcherParams,
@@ -3794,7 +3824,7 @@ ${l.value}
3794
3824
  }), w = (f) => {
3795
3825
  X.value = f, l.value.forEach((v) => {
3796
3826
  !("hidable" in v) || !X.value.columnVisibility || v.hidable === !1 && (X.value.columnVisibility[v.key] = !0);
3797
- }), a.value && L(a.value, f);
3827
+ }), a.value && B(a.value, f);
3798
3828
  }, F = $(() => ({
3799
3829
  disablePageJump: n.disablePaginationPageJump,
3800
3830
  offset: n.paginationType === "offset",
@@ -3807,18 +3837,18 @@ ${l.value}
3807
3837
  title: e.title,
3808
3838
  "title-tag": e.titleTag
3809
3839
  }, {
3810
- default: A(() => [
3811
- R(b, {
3840
+ default: _(() => [
3841
+ K(b, {
3812
3842
  ref_key: "tableRefs",
3813
3843
  ref: c,
3814
3844
  "cache-identifier": a.value,
3815
3845
  "cell-attrs": u,
3816
3846
  "client-sort": e.enableClientSort,
3817
- "empty-state-action-message": e.query ? _(r)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3847
+ "empty-state-action-message": e.query ? A(r)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3818
3848
  "empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
3819
3849
  "empty-state-icon-variant": e.query ? "search" : "kong",
3820
- "empty-state-message": e.query ? _(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3821
- "empty-state-title": e.query ? _(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3850
+ "empty-state-message": e.query ? A(r)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3851
+ "empty-state-title": e.query ? A(r)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3822
3852
  error: o.value.hasError,
3823
3853
  "error-state-message": o.value.message,
3824
3854
  "error-state-title": o.value.title,
@@ -3827,7 +3857,7 @@ ${l.value}
3827
3857
  headers: l.value,
3828
3858
  "hide-pagination": e.hidePagination,
3829
3859
  "hide-pagination-when-optional": e.hidePaginationWhenOptional,
3830
- "hide-toolbar": e.hideToolbar ?? _(C),
3860
+ "hide-toolbar": e.hideToolbar ?? A(C),
3831
3861
  "initial-fetcher-params": S.value,
3832
3862
  loading: e.isLoading,
3833
3863
  "pagination-attributes": F.value,
@@ -3839,42 +3869,42 @@ ${l.value}
3839
3869
  sortable: !e.disableSorting,
3840
3870
  "table-preferences": X.value,
3841
3871
  onEmptyStateActionClick: m,
3842
- "onRow:click": y.value,
3843
- onSort: v[0] || (v[0] = (J) => x(J)),
3872
+ "onRow:click": g.value,
3873
+ onSort: v[0] || (v[0] = (J) => k(J)),
3844
3874
  onState: p,
3845
3875
  "onUpdate:tablePreferences": w
3846
3876
  }, $e({
3847
- toolbar: A(() => [
3848
- B("div", cl, [
3877
+ toolbar: _(() => [
3878
+ L("div", hl, [
3849
3879
  U(f.$slots, "toolbar-filter", {}, void 0, !0),
3850
- f.$slots["toolbar-button"] ? (h(), T("div", ul, [
3880
+ f.$slots["toolbar-button"] ? (h(), T("div", gl, [
3851
3881
  U(f.$slots, "toolbar-button", {}, void 0, !0)
3852
3882
  ])) : j("", !0)
3853
3883
  ])
3854
3884
  ]),
3855
- "action-items": A(({ row: J }) => [
3885
+ "action-items": _(({ row: J }) => [
3856
3886
  U(f.$slots, "actions", { row: J }, void 0, !0)
3857
3887
  ]),
3858
3888
  _: 2
3859
3889
  }, [
3860
3890
  f.$slots["empty-state"] ? {
3861
3891
  name: "empty-state",
3862
- fn: A(() => [
3892
+ fn: _(() => [
3863
3893
  U(f.$slots, "empty-state", {}, void 0, !0)
3864
3894
  ]),
3865
3895
  key: "0"
3866
3896
  } : void 0,
3867
3897
  ce(e.tableHeaders, (J, E) => ({
3868
3898
  name: E,
3869
- fn: A(({ row: K, rowValue: G }) => [
3870
- R(sl, {
3899
+ fn: _(({ row: R, rowValue: G }) => [
3900
+ K(ml, {
3871
3901
  "key-name": String(E),
3872
- "row-el": d(K),
3902
+ "row-el": d(R),
3873
3903
  tooltip: J.tooltip
3874
3904
  }, {
3875
- default: A(() => [
3905
+ default: _(() => [
3876
3906
  U(f.$slots, E, {
3877
- row: K,
3907
+ row: R,
3878
3908
  rowKey: e.rowKey,
3879
3909
  rowValue: G
3880
3910
  }, () => [
@@ -3887,13 +3917,13 @@ ${l.value}
3887
3917
  })),
3888
3918
  e.query ? void 0 : {
3889
3919
  name: "empty-state-action-icon",
3890
- fn: A(() => [
3891
- R(_(Jt))
3920
+ fn: _(() => [
3921
+ K(A(Gt))
3892
3922
  ]),
3893
3923
  key: "1"
3894
3924
  }
3895
3925
  ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-pagination-when-optional", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"]),
3896
- f.$slots["outside-actions"] && _(C) ? (h(), T("div", dl, [
3926
+ f.$slots["outside-actions"] && A(C) ? (h(), T("div", yl, [
3897
3927
  U(f.$slots, "outside-actions", {}, void 0, !0)
3898
3928
  ])) : j("", !0)
3899
3929
  ]),
@@ -3901,13 +3931,13 @@ ${l.value}
3901
3931
  }, 8, ["title", "title-tag"]);
3902
3932
  };
3903
3933
  }
3904
- }), ws = /* @__PURE__ */ le(fl, [["__scopeId", "data-v-44153100"]]), pl = {
3934
+ }), Bs = /* @__PURE__ */ le(vl, [["__scopeId", "data-v-44153100"]]), bl = {
3905
3935
  key: 0,
3906
3936
  class: "kong-ui-entity-delete-error"
3907
- }, ml = {
3937
+ }, kl = {
3908
3938
  key: 1,
3909
3939
  class: "description"
3910
- }, hl = /* @__PURE__ */ z({
3940
+ }, Cl = /* @__PURE__ */ z({
3911
3941
  __name: "EntityDeleteModal",
3912
3942
  props: {
3913
3943
  visible: {
@@ -3964,36 +3994,36 @@ ${l.value}
3964
3994
  onCancel: a,
3965
3995
  onProceed: l
3966
3996
  }, {
3967
- default: A(() => [
3968
- e.error ? (h(), T("div", pl, [
3969
- R(d, { appearance: "danger" }, {
3970
- default: A(() => [
3997
+ default: _(() => [
3998
+ e.error ? (h(), T("div", bl, [
3999
+ K(d, { appearance: "danger" }, {
4000
+ default: _(() => [
3971
4001
  q(O(e.error), 1)
3972
4002
  ]),
3973
4003
  _: 1
3974
4004
  })
3975
4005
  ])) : j("", !0),
3976
- R(_(n), {
4006
+ K(A(n), {
3977
4007
  class: "message",
3978
4008
  keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3979
4009
  tag: "p"
3980
4010
  }, $e({
3981
- entityType: A(() => [
4011
+ entityType: _(() => [
3982
4012
  q(O(i.entityType), 1)
3983
4013
  ]),
3984
4014
  _: 2
3985
4015
  }, [
3986
4016
  i.entityName ? {
3987
4017
  name: "entityName",
3988
- fn: A(() => [
3989
- B("strong", null, O(i.entityName), 1)
4018
+ fn: _(() => [
4019
+ L("strong", null, O(i.entityName), 1)
3990
4020
  ]),
3991
4021
  key: "0"
3992
4022
  } : void 0
3993
4023
  ]), 1032, ["keypath"]),
3994
- i.description || s.$slots.description ? (h(), T("div", ml, [
4024
+ i.description || s.$slots.description ? (h(), T("div", kl, [
3995
4025
  U(s.$slots, "description", {}, () => [
3996
- B("p", null, O(i.description), 1)
4026
+ L("p", null, O(i.description), 1)
3997
4027
  ], !0)
3998
4028
  ])) : j("", !0)
3999
4029
  ]),
@@ -4001,13 +4031,13 @@ ${l.value}
4001
4031
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4002
4032
  };
4003
4033
  }
4004
- }), Ss = /* @__PURE__ */ le(hl, [["__scopeId", "data-v-4361d622"]]), yl = {
4034
+ }), Ls = /* @__PURE__ */ le(Cl, [["__scopeId", "data-v-4361d622"]]), xl = {
4005
4035
  fill: "none",
4006
4036
  height: "20",
4007
4037
  viewBox: "0 0 20 20",
4008
4038
  width: "20",
4009
4039
  xmlns: "http://www.w3.org/2000/svg"
4010
- }, gl = {
4040
+ }, Al = {
4011
4041
  id: "mask0_180_20349",
4012
4042
  height: "20",
4013
4043
  maskUnits: "userSpaceOnUse",
@@ -4015,35 +4045,35 @@ ${l.value}
4015
4045
  width: "20",
4016
4046
  x: "0",
4017
4047
  y: "0"
4018
- }, vl = ["fill"], bl = { mask: "url(#mask0_180_20349)" }, xl = ["fill"], Dt = /* @__PURE__ */ z({
4048
+ }, _l = ["fill"], wl = { mask: "url(#mask0_180_20349)" }, Sl = ["fill"], Pt = /* @__PURE__ */ z({
4019
4049
  __name: "IconFilter",
4020
4050
  props: {
4021
4051
  color: {
4022
4052
  type: String,
4023
- default: `var(--kong-ui-entity-filter-color, ${nr})`
4053
+ default: `var(--kong-ui-entity-filter-color, ${or})`
4024
4054
  }
4025
4055
  },
4026
4056
  setup(e) {
4027
- return (t, n) => (h(), T("svg", yl, [
4028
- B("mask", gl, [
4029
- B("rect", {
4057
+ return (t, n) => (h(), T("svg", xl, [
4058
+ L("mask", Al, [
4059
+ L("rect", {
4030
4060
  fill: e.color,
4031
4061
  height: "20",
4032
4062
  width: "20"
4033
- }, null, 8, vl)
4063
+ }, null, 8, _l)
4034
4064
  ]),
4035
- B("g", bl, [
4036
- B("path", {
4065
+ L("g", wl, [
4066
+ L("path", {
4037
4067
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
4038
4068
  fill: e.color
4039
- }, null, 8, xl)
4069
+ }, null, 8, Sl)
4040
4070
  ])
4041
4071
  ]));
4042
4072
  }
4043
- }), Cl = {
4073
+ }), $l = {
4044
4074
  key: 1,
4045
4075
  class: "kong-ui-entity-filter"
4046
- }, kl = { class: "kong-ui-entity-filter-menu" }, Al = ["data-testid"], _l = ["onClick", "onKeydown"], wl = { class: "menu-item-indicator" }, Sl = { class: "menu-item-body" }, $l = ["for"], Tl = { class: "menu-item-buttons" }, El = { class: "filter-clear-button-container" }, Il = /* @__PURE__ */ z({
4076
+ }, Tl = { class: "kong-ui-entity-filter-menu" }, El = ["data-testid"], Il = ["onClick", "onKeydown"], Fl = { class: "menu-item-indicator" }, Ol = { class: "menu-item-body" }, Bl = ["for"], Ll = { class: "menu-item-buttons" }, Rl = { class: "filter-clear-button-container" }, Kl = /* @__PURE__ */ z({
4047
4077
  __name: "EntityFilter",
4048
4078
  props: {
4049
4079
  // filter config, either exact match or fuzzy match
@@ -4092,20 +4122,20 @@ ${l.value}
4092
4122
  r("update:modelValue", S);
4093
4123
  }, m = () => {
4094
4124
  p("");
4095
- }, g = (S) => `filter-${S}`, y = (S) => {
4125
+ }, y = (S) => `filter-${S}`, g = (S) => {
4096
4126
  var w, F;
4097
4127
  return (((F = (w = i.config.schema) == null ? void 0 : w[S]) == null ? void 0 : F.values) ?? []).map((f) => typeof f == "string" ? { value: f, label: f } : f);
4098
- }, x = (S) => {
4128
+ }, k = (S) => {
4099
4129
  var w, F;
4100
4130
  return ((F = (w = i.config.schema) == null ? void 0 : w[S]) == null ? void 0 : F.type) ?? "text";
4101
4131
  }, C = (S) => {
4102
4132
  a.value = {
4103
4133
  ...a.value,
4104
4134
  [S]: ""
4105
- }, L();
4106
- }, k = () => {
4107
- a.value = {}, L(!0);
4108
- }, L = (S = !1) => {
4135
+ }, B();
4136
+ }, x = () => {
4137
+ a.value = {}, B(!0);
4138
+ }, B = (S = !1) => {
4109
4139
  const w = Object.keys(a.value).reduce((F, f) => (a.value[f] && (F[f] = `${a.value[f]}`), F), {});
4110
4140
  S && (o.value = !1), r("update:modelValue", new URLSearchParams(w).toString());
4111
4141
  }, D = (S) => {
@@ -4127,11 +4157,11 @@ ${l.value}
4127
4157
  placeholder: e.config.placeholder,
4128
4158
  "onUpdate:modelValue": p
4129
4159
  }, {
4130
- before: A(() => [
4131
- R(Dt)
4160
+ before: _(() => [
4161
+ K(Pt)
4132
4162
  ]),
4133
- after: A(() => [
4134
- xe(R(_(si), {
4163
+ after: _(() => [
4164
+ ke(K(A(fi), {
4135
4165
  class: "kong-ui-entity-filter-clear",
4136
4166
  role: "button",
4137
4167
  tabindex: "0",
@@ -4141,25 +4171,25 @@ ${l.value}
4141
4171
  ])
4142
4172
  ]),
4143
4173
  _: 1
4144
- }, 8, ["model-value", "placeholder"])) : (h(), T("div", Cl, [
4145
- R(f, {
4174
+ }, 8, ["model-value", "placeholder"])) : (h(), T("div", $l, [
4175
+ K(f, {
4146
4176
  appearance: "tertiary",
4147
4177
  "data-testid": "filter-button",
4148
4178
  onClick: d
4149
4179
  }, {
4150
- default: A(() => [
4151
- R(Dt),
4152
- q(" " + O(_(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4180
+ default: _(() => [
4181
+ K(Pt),
4182
+ q(" " + O(A(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4153
4183
  ]),
4154
4184
  _: 1
4155
4185
  }),
4156
- xe(B("div", {
4186
+ ke(L("div", {
4157
4187
  class: "kong-ui-entity-filter-backdrop",
4158
4188
  onClick: d
4159
4189
  }, null, 512), [
4160
4190
  [Ce, o.value]
4161
4191
  ]),
4162
- xe(B("div", kl, [
4192
+ ke(L("div", Tl, [
4163
4193
  (h(!0), T(ue, null, ce(c.value, (b) => {
4164
4194
  var V, J;
4165
4195
  return h(), T("div", {
@@ -4167,84 +4197,84 @@ ${l.value}
4167
4197
  class: "kong-ui-entity-filter-menu-item",
4168
4198
  "data-testid": b.value
4169
4199
  }, [
4170
- B("span", {
4200
+ L("span", {
4171
4201
  class: fe(["menu-item-title", { expanded: l.value.has(b.value) }]),
4172
4202
  role: "button",
4173
4203
  tabindex: "0",
4174
4204
  onClick: (E) => u(b.value),
4175
- onKeydown: ei((E) => u(b.value), ["enter"])
4205
+ onKeydown: ti((E) => u(b.value), ["enter"])
4176
4206
  }, [
4177
4207
  q(O(b.label) + " ", 1),
4178
- xe(B("span", wl, null, 512), [
4208
+ ke(L("span", Fl, null, 512), [
4179
4209
  [Ce, s.value.includes(b.value)]
4180
4210
  ]),
4181
- R(_(ci), {
4211
+ K(A(pi), {
4182
4212
  class: fe(["menu-item-expand-icon", { expanded: l.value.has(b.value) }]),
4183
- color: _(rr)
4213
+ color: A(sr)
4184
4214
  }, null, 8, ["class", "color"])
4185
- ], 42, _l),
4186
- xe(B("div", Sl, [
4187
- B("label", {
4215
+ ], 42, Il),
4216
+ ke(L("div", Ol, [
4217
+ L("label", {
4188
4218
  class: "menu-item-label",
4189
- for: g(b.value)
4190
- }, O(_(n)("filter.fieldLabel")), 9, $l),
4219
+ for: y(b.value)
4220
+ }, O(A(n)("filter.fieldLabel")), 9, Bl),
4191
4221
  ((J = (V = e.config.schema) == null ? void 0 : V[b.value]) == null ? void 0 : J.type) === "select" ? (h(), M(v, {
4192
4222
  key: 0,
4193
- id: g(b.value),
4223
+ id: y(b.value),
4194
4224
  modelValue: a.value[b.value],
4195
4225
  "onUpdate:modelValue": (E) => a.value[b.value] = E,
4196
4226
  "enable-filtering": D(b.value),
4197
4227
  "filter-function": (E) => X(b.value, E),
4198
- items: y(b.value),
4199
- placeholder: _(n)("filter.selectPlaceholder")
4228
+ items: g(b.value),
4229
+ placeholder: A(n)("filter.selectPlaceholder")
4200
4230
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (h(), M(F, {
4201
4231
  key: 1,
4202
- id: g(b.value),
4232
+ id: y(b.value),
4203
4233
  modelValue: a.value[b.value],
4204
4234
  "onUpdate:modelValue": (E) => a.value[b.value] = E,
4205
4235
  autocomplete: "off",
4206
- placeholder: _(n)("filter.inputPlaceholder"),
4207
- type: x(b.value)
4236
+ placeholder: A(n)("filter.inputPlaceholder"),
4237
+ type: k(b.value)
4208
4238
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4209
4239
  ], 512), [
4210
4240
  [Ce, l.value.has(b.value)]
4211
4241
  ]),
4212
- xe(B("div", Tl, [
4213
- R(f, {
4242
+ ke(L("div", Ll, [
4243
+ K(f, {
4214
4244
  appearance: "tertiary",
4215
4245
  "data-testid": "apply-filter",
4216
4246
  size: "small",
4217
- onClick: w[0] || (w[0] = (E) => L(!0))
4247
+ onClick: w[0] || (w[0] = (E) => B(!0))
4218
4248
  }, {
4219
- default: A(() => [
4220
- q(O(_(n)("filter.applyButtonText")), 1)
4249
+ default: _(() => [
4250
+ q(O(A(n)("filter.applyButtonText")), 1)
4221
4251
  ]),
4222
4252
  _: 1
4223
4253
  }),
4224
- R(f, {
4254
+ K(f, {
4225
4255
  appearance: "tertiary",
4226
4256
  "data-testid": "clear-filter",
4227
4257
  size: "small",
4228
4258
  onClick: (E) => C(b.value)
4229
4259
  }, {
4230
- default: A(() => [
4231
- q(O(_(n)("filter.clearButtonText")), 1)
4260
+ default: _(() => [
4261
+ q(O(A(n)("filter.clearButtonText")), 1)
4232
4262
  ]),
4233
4263
  _: 1
4234
4264
  }, 8, ["onClick"])
4235
4265
  ], 512), [
4236
4266
  [Ce, l.value.has(b.value)]
4237
4267
  ])
4238
- ], 8, Al);
4268
+ ], 8, El);
4239
4269
  }), 128)),
4240
- B("div", El, [
4241
- R(f, {
4270
+ L("div", Rl, [
4271
+ K(f, {
4242
4272
  appearance: "tertiary",
4243
4273
  size: "small",
4244
- onClick: k
4274
+ onClick: x
4245
4275
  }, {
4246
- default: A(() => [
4247
- q(O(_(n)("filter.clearAllButtonText")), 1)
4276
+ default: _(() => [
4277
+ q(O(A(n)("filter.clearAllButtonText")), 1)
4248
4278
  ]),
4249
4279
  _: 1
4250
4280
  })
@@ -4255,7 +4285,7 @@ ${l.value}
4255
4285
  ]));
4256
4286
  };
4257
4287
  }
4258
- }), $s = /* @__PURE__ */ le(Il, [["__scopeId", "data-v-084f7978"]]), Ts = /* @__PURE__ */ z({
4288
+ }), Rs = /* @__PURE__ */ le(Kl, [["__scopeId", "data-v-084f7978"]]), Ks = /* @__PURE__ */ z({
4259
4289
  __name: "EntityToggleModal",
4260
4290
  props: {
4261
4291
  visible: {
@@ -4305,8 +4335,8 @@ ${l.value}
4305
4335
  };
4306
4336
  return (u, p) => {
4307
4337
  const m = P("KPrompt");
4308
- return h(), M(Yt, { to: "body" }, [
4309
- R(m, {
4338
+ return h(), M(Wt, { to: "body" }, [
4339
+ K(m, {
4310
4340
  "action-button-disabled": a.value,
4311
4341
  "action-button-text": s.value,
4312
4342
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
@@ -4315,16 +4345,16 @@ ${l.value}
4315
4345
  onCancel: c,
4316
4346
  onProceed: d
4317
4347
  }, {
4318
- default: A(() => [
4319
- R(_(i), {
4348
+ default: _(() => [
4349
+ K(A(i), {
4320
4350
  keypath: `toggleModal.${r.action}.message`,
4321
4351
  scope: "global"
4322
4352
  }, {
4323
- entityType: A(() => [
4353
+ entityType: _(() => [
4324
4354
  q(O(e.entityType), 1)
4325
4355
  ]),
4326
- entityName: A(() => [
4327
- B("strong", null, O(e.entityName), 1)
4356
+ entityName: _(() => [
4357
+ L("strong", null, O(e.entityName), 1)
4328
4358
  ]),
4329
4359
  _: 1
4330
4360
  }, 8, ["keypath"])
@@ -4334,7 +4364,7 @@ ${l.value}
4334
4364
  ]);
4335
4365
  };
4336
4366
  }
4337
- }), Es = /* @__PURE__ */ z({
4367
+ }), Ns = /* @__PURE__ */ z({
4338
4368
  __name: "PermissionsWrapper",
4339
4369
  props: {
4340
4370
  /**
@@ -4367,37 +4397,37 @@ ${l.value}
4367
4397
  }), ne = [];
4368
4398
  for (let e = 0; e < 256; ++e)
4369
4399
  ne.push((e + 256).toString(16).slice(1));
4370
- function Fl(e, t = 0) {
4400
+ function Nl(e, t = 0) {
4371
4401
  return (ne[e[t + 0]] + ne[e[t + 1]] + ne[e[t + 2]] + ne[e[t + 3]] + "-" + ne[e[t + 4]] + ne[e[t + 5]] + "-" + ne[e[t + 6]] + ne[e[t + 7]] + "-" + ne[e[t + 8]] + ne[e[t + 9]] + "-" + ne[e[t + 10]] + ne[e[t + 11]] + ne[e[t + 12]] + ne[e[t + 13]] + ne[e[t + 14]] + ne[e[t + 15]]).toLowerCase();
4372
4402
  }
4373
- let Ge;
4374
- const Ol = new Uint8Array(16);
4375
- function Ll() {
4376
- if (!Ge) {
4403
+ let ze;
4404
+ const Ml = new Uint8Array(16);
4405
+ function jl() {
4406
+ if (!ze) {
4377
4407
  if (typeof crypto > "u" || !crypto.getRandomValues)
4378
4408
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4379
- Ge = crypto.getRandomValues.bind(crypto);
4409
+ ze = crypto.getRandomValues.bind(crypto);
4380
4410
  }
4381
- return Ge(Ol);
4411
+ return ze(Ml);
4382
4412
  }
4383
- const Bl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Pt = { randomUUID: Bl };
4384
- function Kl(e, t, n) {
4413
+ const Dl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ut = { randomUUID: Dl };
4414
+ function Pl(e, t, n) {
4385
4415
  var r;
4386
- if (Pt.randomUUID && !e)
4387
- return Pt.randomUUID();
4416
+ if (Ut.randomUUID && !e)
4417
+ return Ut.randomUUID();
4388
4418
  e = e || {};
4389
- const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Ll();
4419
+ const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? jl();
4390
4420
  if (i.length < 16)
4391
4421
  throw new Error("Random bytes length must be >= 16");
4392
- return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Fl(i);
4422
+ return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Nl(i);
4393
4423
  }
4394
- const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4424
+ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4395
4425
  key: 1,
4396
4426
  class: "form-section-description"
4397
- }, jl = {
4427
+ }, Vl = {
4398
4428
  key: 2,
4399
4429
  class: "form-section-footer"
4400
- }, Dl = { class: "form-section-content" }, Pl = /* @__PURE__ */ z({
4430
+ }, Yl = { class: "form-section-content" }, Wl = /* @__PURE__ */ z({
4401
4431
  __name: "EntityFormSection",
4402
4432
  props: {
4403
4433
  title: {
@@ -4426,52 +4456,52 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4426
4456
  }
4427
4457
  },
4428
4458
  setup(e) {
4429
- const t = Pe(), n = Kl();
4459
+ const t = Ue(), n = Pl();
4430
4460
  return (i, r) => (h(), T("div", {
4431
- "aria-labelledby": e.title ? _(n) : void 0,
4461
+ "aria-labelledby": e.title ? A(n) : void 0,
4432
4462
  class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4433
4463
  role: "group"
4434
4464
  }, [
4435
- B("div", Nl, [
4465
+ L("div", ql, [
4436
4466
  e.hideInfoHeader ? j("", !0) : (h(), T("div", {
4437
4467
  key: 0,
4438
4468
  class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4439
4469
  }, [
4440
- e.title ? (h(), M(De(e.titleTag), {
4470
+ e.title ? (h(), M(Pe(e.titleTag), {
4441
4471
  key: 0,
4442
- id: _(n),
4472
+ id: A(n),
4443
4473
  class: "form-section-title"
4444
4474
  }, {
4445
- default: A(() => [
4475
+ default: _(() => [
4446
4476
  q(O(e.title), 1)
4447
4477
  ]),
4448
4478
  _: 1
4449
4479
  }, 8, ["id"])) : j("", !0),
4450
- e.description || _(t).description ? (h(), T("div", Ml, [
4480
+ e.description || A(t).description ? (h(), T("div", Hl, [
4451
4481
  U(i.$slots, "description", {}, () => [
4452
- B("p", null, O(e.description), 1)
4482
+ L("p", null, O(e.description), 1)
4453
4483
  ], !0)
4454
4484
  ])) : j("", !0),
4455
- _(t).footer ? (h(), T("div", jl, [
4485
+ A(t).footer ? (h(), T("div", Vl, [
4456
4486
  U(i.$slots, "footer", {}, void 0, !0)
4457
4487
  ])) : j("", !0)
4458
4488
  ], 2)),
4459
- B("div", Dl, [
4489
+ L("div", Yl, [
4460
4490
  U(i.$slots, "default", {}, void 0, !0)
4461
4491
  ])
4462
4492
  ])
4463
- ], 10, Rl));
4493
+ ], 10, Ul));
4464
4494
  }
4465
- }), Is = /* @__PURE__ */ le(Pl, [["__scopeId", "data-v-b1f74200"]]), Ul = { class: "ff-form-section" }, ql = { class: "header" }, Hl = {
4495
+ }), Ms = /* @__PURE__ */ le(Wl, [["__scopeId", "data-v-b1f74200"]]), Jl = { class: "ff-form-section" }, Gl = { class: "header" }, zl = {
4466
4496
  key: 0,
4467
4497
  class: "step"
4468
- }, Vl = { class: "header-content" }, Yl = { class: "header-title" }, Wl = {
4498
+ }, Ql = { class: "header-content" }, Zl = { class: "header-title" }, Xl = {
4469
4499
  key: 0,
4470
4500
  class: "header-description"
4471
- }, Jl = {
4501
+ }, es = {
4472
4502
  key: 1,
4473
4503
  class: "header-extra"
4474
- }, Gl = { class: "content" }, zl = /* @__PURE__ */ z({
4504
+ }, ts = { class: "content" }, ns = /* @__PURE__ */ z({
4475
4505
  __name: "EntityFormBlock",
4476
4506
  props: {
4477
4507
  step: {},
@@ -4479,38 +4509,38 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4479
4509
  description: { default: "" }
4480
4510
  },
4481
4511
  setup(e) {
4482
- const t = Pe();
4483
- return (n, i) => (h(), T("div", Ul, [
4484
- B("header", ql, [
4485
- e.step != null ? (h(), T("div", Hl, O(e.step), 1)) : j("", !0),
4486
- B("div", Vl, [
4487
- B("h2", Yl, [
4512
+ const t = Ue();
4513
+ return (n, i) => (h(), T("div", Jl, [
4514
+ L("header", Gl, [
4515
+ e.step != null ? (h(), T("div", zl, O(e.step), 1)) : j("", !0),
4516
+ L("div", Ql, [
4517
+ L("h2", Zl, [
4488
4518
  U(n.$slots, "title", {}, () => [
4489
4519
  q(O(e.title), 1)
4490
4520
  ], !0)
4491
4521
  ]),
4492
- e.description || t.description ? (h(), T("div", Wl, [
4522
+ e.description || t.description ? (h(), T("div", Xl, [
4493
4523
  U(n.$slots, "description", {}, () => [
4494
4524
  q(O(e.description), 1)
4495
4525
  ], !0)
4496
4526
  ])) : j("", !0)
4497
4527
  ]),
4498
- t.extra ? (h(), T("div", Jl, [
4528
+ t.extra ? (h(), T("div", es, [
4499
4529
  U(n.$slots, "extra", {}, void 0, !0)
4500
4530
  ])) : j("", !0)
4501
4531
  ]),
4502
- B("div", Gl, [
4532
+ L("div", ts, [
4503
4533
  U(n.$slots, "default", {}, void 0, !0)
4504
4534
  ])
4505
4535
  ]));
4506
4536
  }
4507
- }), Fs = /* @__PURE__ */ le(zl, [["__scopeId", "data-v-cb6d2e95"]]), Ql = {
4537
+ }), js = /* @__PURE__ */ le(ns, [["__scopeId", "data-v-cb6d2e95"]]), is = {
4508
4538
  class: "kong-ui-public-entity-link",
4509
4539
  "data-testid": "entity-link-parent"
4510
- }, Zl = {
4540
+ }, rs = {
4511
4541
  key: 0,
4512
4542
  class: "deleted-entity"
4513
- }, Xl = { key: 1 }, es = ["onClick"], ts = /* @__PURE__ */ z({
4543
+ }, as = { key: 1 }, os = ["onClick"], ls = /* @__PURE__ */ z({
4514
4544
  __name: "EntityLink",
4515
4545
  props: {
4516
4546
  entityLinkData: {
@@ -4546,21 +4576,21 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4546
4576
  }, 1800));
4547
4577
  };
4548
4578
  return (u, p) => {
4549
- const m = P("KTooltip"), g = P("KExternalLink"), y = P("KClipboardProvider");
4550
- return h(), T("div", Ql, [
4551
- l.value ? (h(), T("div", Zl, O(c.value), 1)) : s.value ? s.value ? (h(), M(g, {
4579
+ const m = P("KTooltip"), y = P("KExternalLink"), g = P("KClipboardProvider");
4580
+ return h(), T("div", is, [
4581
+ l.value ? (h(), T("div", rs, O(c.value), 1)) : s.value ? s.value ? (h(), M(y, {
4552
4582
  key: 2,
4553
4583
  class: "entity-link",
4554
4584
  "hide-icon": !e.newWindow,
4555
4585
  href: e.externalLink,
4556
4586
  target: e.newWindow ? "_blank" : "_self"
4557
4587
  }, {
4558
- default: A(() => [
4559
- R(m, {
4560
- text: _(i) && e.entityLinkData.label || ""
4588
+ default: _(() => [
4589
+ K(m, {
4590
+ text: A(i) && e.entityLinkData.label || ""
4561
4591
  }, {
4562
- default: A(() => [
4563
- B("span", {
4592
+ default: _(() => [
4593
+ L("span", {
4564
4594
  ref_key: "textContent",
4565
4595
  ref: n,
4566
4596
  class: "entity-link-label"
@@ -4570,7 +4600,7 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4570
4600
  }, 8, ["text"])
4571
4601
  ]),
4572
4602
  _: 1
4573
- }, 8, ["hide-icon", "href", "target"])) : j("", !0) : (h(), T("div", Xl, O(" – "))),
4603
+ }, 8, ["hide-icon", "href", "target"])) : j("", !0) : (h(), T("div", as, O(" – "))),
4574
4604
  s.value && e.allowCopy ? (h(), M(m, {
4575
4605
  key: a.value,
4576
4606
  class: "copy-uuid-tooltip",
@@ -4578,20 +4608,20 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4578
4608
  placement: "bottom-end",
4579
4609
  text: a.value
4580
4610
  }, {
4581
- default: A(() => [
4582
- R(y, null, {
4583
- default: A(({ copyToClipboard: x }) => [
4584
- B("span", {
4611
+ default: _(() => [
4612
+ K(g, null, {
4613
+ default: _(({ copyToClipboard: k }) => [
4614
+ L("span", {
4585
4615
  class: "entity-link-copy-id",
4586
- onClick: Be((C) => d(x), ["stop"])
4616
+ onClick: Re((C) => d(k), ["stop"])
4587
4617
  }, [
4588
- R(_(ui), {
4618
+ K(A(mi), {
4589
4619
  class: "copy-icon",
4590
- color: _(ar),
4620
+ color: A(cr),
4591
4621
  "data-testid": "copy-id",
4592
- size: _(lr)
4622
+ size: A(dr)
4593
4623
  }, null, 8, ["color", "size"])
4594
- ], 8, es)
4624
+ ], 8, os)
4595
4625
  ]),
4596
4626
  _: 1
4597
4627
  })
@@ -4601,40 +4631,40 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4601
4631
  ]);
4602
4632
  };
4603
4633
  }
4604
- }), Os = /* @__PURE__ */ le(ts, [["__scopeId", "data-v-96efdfa5"]]), ns = { class: "kong-ui-public-entity-empty-state" }, is = { class: "entity-empty-state-content" }, rs = {
4634
+ }), Ds = /* @__PURE__ */ le(ls, [["__scopeId", "data-v-96efdfa5"]]), ss = { class: "kong-ui-public-entity-empty-state" }, cs = { class: "entity-empty-state-content" }, us = {
4605
4635
  key: 0,
4606
4636
  class: "empty-state-image"
4607
- }, as = {
4637
+ }, ds = {
4608
4638
  key: 1,
4609
4639
  class: "entity-empty-state-title"
4610
- }, os = {
4640
+ }, fs = {
4611
4641
  key: 2,
4612
4642
  class: "entity-empty-state-description"
4613
- }, ls = {
4643
+ }, ps = {
4614
4644
  key: 3,
4615
4645
  class: "entity-empty-state-pricing"
4616
- }, ss = {
4646
+ }, ms = {
4617
4647
  key: 0,
4618
4648
  class: "entity-empty-state-message"
4619
- }, cs = {
4649
+ }, hs = {
4620
4650
  key: 1,
4621
4651
  class: "entity-empty-state-action"
4622
- }, us = {
4652
+ }, gs = {
4623
4653
  key: 2,
4624
4654
  class: "entity-empty-state-card-container"
4625
- }, ds = {
4655
+ }, ys = {
4626
4656
  key: 0,
4627
4657
  class: "feature-icon"
4628
- }, fs = { class: "card-header" }, ps = ["title"], ms = {
4658
+ }, vs = { class: "card-header" }, bs = ["title"], ks = {
4629
4659
  key: 3,
4630
4660
  class: "entity-empty-state-bottom-container"
4631
- }, hs = /* @__PURE__ */ z({
4661
+ }, Cs = /* @__PURE__ */ z({
4632
4662
  __name: "EntityEmptyState",
4633
4663
  props: {
4634
4664
  appearance: {
4635
4665
  type: String,
4636
4666
  default: () => "primary",
4637
- validator: (e) => gt.includes(e)
4667
+ validator: (e) => vt.includes(e)
4638
4668
  },
4639
4669
  title: {
4640
4670
  type: String,
@@ -4669,19 +4699,19 @@ const Rl = ["aria-labelledby"], Nl = { class: "form-section-wrapper" }, Ml = {
4669
4699
  },
4670
4700
  emits: ["click:create", "click:learn-more"],
4671
4701
  setup(e) {
4672
- const t = e, { i18n: { t: n } } = W.useI18n(), i = N(!1), r = $(() => i.value && !!t.actionButtonText), o = $(() => gt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4673
- return it(async () => {
4702
+ const t = e, { i18n: { t: n } } = W.useI18n(), i = N(!1), r = $(() => i.value && !!t.actionButtonText), o = $(() => vt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4703
+ return rt(async () => {
4674
4704
  i.value = await t.canCreate();
4675
- }), nt(() => ti(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4705
+ }), it(() => ni(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4676
4706
  Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) => {
4677
4707
  const s = P("KCard");
4678
- return h(), T("div", ns, [
4679
- B("div", is, [
4680
- a.$slots.image ? (h(), T("div", rs, [
4708
+ return h(), T("div", ss, [
4709
+ L("div", cs, [
4710
+ a.$slots.image ? (h(), T("div", us, [
4681
4711
  U(a.$slots, "image", {}, void 0, !0)
4682
4712
  ])) : j("", !0),
4683
- e.title || a.$slots.title ? (h(), T("div", as, [
4684
- B("h1", {
4713
+ e.title || a.$slots.title ? (h(), T("div", ds, [
4714
+ L("h1", {
4685
4715
  class: fe(o.value)
4686
4716
  }, [
4687
4717
  U(a.$slots, "title", {}, () => [
@@ -4689,14 +4719,14 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4689
4719
  ], !0)
4690
4720
  ], 2)
4691
4721
  ])) : j("", !0),
4692
- e.description || a.$slots.default ? (h(), T("div", os, [
4722
+ e.description || a.$slots.default ? (h(), T("div", fs, [
4693
4723
  U(a.$slots, "default", {}, () => [
4694
- B("p", null, O(e.description), 1)
4724
+ L("p", null, O(e.description), 1)
4695
4725
  ], !0)
4696
4726
  ])) : j("", !0),
4697
- e.pricing || a.$slots.pricing ? (h(), T("div", ls, [
4698
- B("p", null, [
4699
- B("b", null, O(_(n)("emptyState.pricingTitle")), 1),
4727
+ e.pricing || a.$slots.pricing ? (h(), T("div", ps, [
4728
+ L("p", null, [
4729
+ L("b", null, O(A(n)("emptyState.pricingTitle")), 1),
4700
4730
  l[2] || (l[2] = q()),
4701
4731
  U(a.$slots, "pricing", {}, () => [
4702
4732
  q(O(e.pricing), 1)
@@ -4704,65 +4734,65 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4704
4734
  ])
4705
4735
  ])) : j("", !0)
4706
4736
  ]),
4707
- a.$slots.message ? (h(), T("div", ss, [
4737
+ a.$slots.message ? (h(), T("div", ms, [
4708
4738
  U(a.$slots, "message", {}, void 0, !0)
4709
4739
  ])) : j("", !0),
4710
- r.value || e.learnMore || a.$slots.actions ? (h(), T("div", cs, [
4740
+ r.value || e.learnMore || a.$slots.actions ? (h(), T("div", hs, [
4711
4741
  U(a.$slots, "actions", {}, () => [
4712
- r.value ? (h(), M(_(mt), {
4742
+ r.value ? (h(), M(A(ht), {
4713
4743
  key: 0,
4714
4744
  appearance: "primary",
4715
4745
  "data-testid": "entity-create-button",
4716
4746
  size: e.appearance === "secondary" ? "medium" : "large",
4717
4747
  onClick: l[0] || (l[0] = (c) => a.$emit("click:create"))
4718
4748
  }, {
4719
- default: A(() => [
4720
- R(_(Jt)),
4749
+ default: _(() => [
4750
+ K(A(Gt)),
4721
4751
  q(" " + O(e.actionButtonText), 1)
4722
4752
  ]),
4723
4753
  _: 1
4724
4754
  }, 8, ["size"])) : j("", !0),
4725
- e.learnMore ? (h(), M(_(mt), {
4755
+ e.learnMore ? (h(), M(A(ht), {
4726
4756
  key: 1,
4727
4757
  appearance: "secondary",
4728
4758
  "data-testid": "entity-learn-more-button",
4729
4759
  size: e.appearance === "secondary" ? "medium" : "large",
4730
4760
  onClick: l[1] || (l[1] = (c) => a.$emit("click:learn-more"))
4731
4761
  }, {
4732
- default: A(() => [
4733
- R(_(Wt), { decorative: "" }),
4734
- q(" " + O(_(n)("emptyState.learnMore")), 1)
4762
+ default: _(() => [
4763
+ K(A(Jt), { decorative: "" }),
4764
+ q(" " + O(A(n)("emptyState.learnMore")), 1)
4735
4765
  ]),
4736
4766
  _: 1
4737
4767
  }, 8, ["size"])) : j("", !0)
4738
4768
  ], !0)
4739
4769
  ])) : j("", !0),
4740
- e.features.length ? (h(), T("div", us, [
4770
+ e.features.length ? (h(), T("div", gs, [
4741
4771
  (h(!0), T(ue, null, ce(e.features, (c, d) => (h(), M(s, {
4742
4772
  key: c,
4743
4773
  class: "entity-empty-state-card"
4744
4774
  }, {
4745
- title: A(() => [
4746
- a.$slots[`feature-${d}-icon`] ? (h(), T("div", ds, [
4775
+ title: _(() => [
4776
+ a.$slots[`feature-${d}-icon`] ? (h(), T("div", ys, [
4747
4777
  U(a.$slots, `feature-${d}-icon`, {}, void 0, !0)
4748
4778
  ])) : j("", !0),
4749
- B("div", fs, O(c.title), 1)
4779
+ L("div", vs, O(c.title), 1)
4750
4780
  ]),
4751
- default: A(() => [
4752
- B("div", {
4781
+ default: _(() => [
4782
+ L("div", {
4753
4783
  title: c.description
4754
- }, O(c.description), 9, ps)
4784
+ }, O(c.description), 9, bs)
4755
4785
  ]),
4756
4786
  _: 2
4757
4787
  }, 1024))), 128))
4758
4788
  ])) : j("", !0),
4759
- a.$slots.bottom ? (h(), T("div", ms, [
4789
+ a.$slots.bottom ? (h(), T("div", ks, [
4760
4790
  U(a.$slots, "bottom", {}, void 0, !0)
4761
4791
  ])) : j("", !0)
4762
4792
  ]);
4763
4793
  };
4764
4794
  }
4765
- }), Ls = /* @__PURE__ */ le(hs, [["__scopeId", "data-v-645aae54"]]), ys = { key: 1 }, Bs = /* @__PURE__ */ z({
4795
+ }), Ps = /* @__PURE__ */ le(Cs, [["__scopeId", "data-v-645aae54"]]), xs = { key: 1 }, Us = /* @__PURE__ */ z({
4766
4796
  __name: "TableTags",
4767
4797
  props: {
4768
4798
  /** The tags to display in the table */
@@ -4790,69 +4820,69 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4790
4820
  });
4791
4821
  return (i, r) => {
4792
4822
  var o;
4793
- return ((o = n.value) == null ? void 0 : o.length) > 0 ? (h(), M(_(oi), { key: 0 }, {
4794
- default: A(() => [
4795
- (h(!0), T(ue, null, ce(n.value, (a) => (h(), M(_(li), {
4823
+ return ((o = n.value) == null ? void 0 : o.length) > 0 ? (h(), M(A(li), { key: 0 }, {
4824
+ default: _(() => [
4825
+ (h(!0), T(ue, null, ce(n.value, (a) => (h(), M(A(si), {
4796
4826
  key: a,
4797
4827
  "max-width": e.tagMaxWidth,
4798
- onClick: r[0] || (r[0] = Be(() => {
4828
+ onClick: r[0] || (r[0] = Re(() => {
4799
4829
  }, ["stop"]))
4800
4830
  }, {
4801
- default: A(() => [
4831
+ default: _(() => [
4802
4832
  q(O(a), 1)
4803
4833
  ]),
4804
4834
  _: 2
4805
4835
  }, 1032, ["max-width"]))), 128))
4806
4836
  ]),
4807
4837
  _: 1
4808
- })) : (h(), T("span", ys, "-"));
4838
+ })) : (h(), T("span", xs, "-"));
4809
4839
  };
4810
4840
  }
4811
- }), { useAxios: Ks, useDeleteUrlBuilder: Rs, useErrors: Ns, useExternalLinkCreator: Ms, useFetchUrlBuilder: js, useFetcher: Ds, useFetcherCacheKey: Ps, useDebouncedFilter: Us, useStringHelpers: qs, useHelpers: Hs, useGatewayFeatureSupported: Vs, useTruncationDetector: Ys, useValidators: Ws, useSchemaProvider: Js, useTableState: Gs } = W;
4841
+ }), { useAxios: qs, useDeleteUrlBuilder: Hs, useErrors: Vs, useExternalLinkCreator: Ys, useFetchUrlBuilder: Ws, useFetcher: Js, useFetcherCacheKey: Gs, useDebouncedFilter: zs, useStringHelpers: Qs, useHelpers: Zs, useGatewayFeatureSupported: Xs, useTruncationDetector: ec, useValidators: tc, useSchemaProvider: nc, useTableState: ic } = W;
4812
4842
  export {
4813
- gt as Appearances,
4814
- Go as ConfigCardDisplay,
4815
- tn as ConfigCardItem,
4843
+ vt as Appearances,
4844
+ tl as ConfigCardDisplay,
4845
+ nn as ConfigCardItem,
4816
4846
  ae as ConfigurationSchemaSection,
4817
4847
  Y as ConfigurationSchemaType,
4818
- il as DeckCodeBlock,
4819
- As as EntityBaseConfigCard,
4820
- _s as EntityBaseForm,
4821
- pi as EntityBaseFormType,
4822
- ws as EntityBaseTable,
4823
- Ss as EntityDeleteModal,
4824
- Ls as EntityEmptyState,
4825
- $s as EntityFilter,
4826
- Fs as EntityFormBlock,
4827
- Is as EntityFormSection,
4828
- Os as EntityLink,
4829
- Ts as EntityToggleModal,
4830
- fi as EntityTypes,
4831
- hi as EventGatewayTypesArray,
4848
+ cl as DeckCodeBlock,
4849
+ Fs as EntityBaseConfigCard,
4850
+ Os as EntityBaseForm,
4851
+ yi as EntityBaseFormType,
4852
+ Bs as EntityBaseTable,
4853
+ Ls as EntityDeleteModal,
4854
+ Ps as EntityEmptyState,
4855
+ Rs as EntityFilter,
4856
+ js as EntityFormBlock,
4857
+ Ms as EntityFormSection,
4858
+ Ds as EntityLink,
4859
+ Ks as EntityToggleModal,
4860
+ gi as EntityTypes,
4861
+ bi as EventGatewayTypesArray,
4832
4862
  me as FetcherStatus,
4833
- yi as IdentityTypesArray,
4834
- er as InternalLinkItem,
4835
- nn as JsonCodeBlock,
4836
- Es as PermissionsWrapper,
4837
- mi as SupportedEntityDeckArray,
4863
+ ki as IdentityTypesArray,
4864
+ rr as InternalLinkItem,
4865
+ rn as JsonCodeBlock,
4866
+ Ns as PermissionsWrapper,
4867
+ vi as SupportedEntityDeckArray,
4838
4868
  Se as SupportedEntityType,
4839
- Ue as SupportedEntityTypesArray,
4840
- Bs as TableTags,
4841
- Jn as TerraformCodeBlock,
4842
- Wn as YamlCodeBlock,
4843
- Ks as useAxios,
4844
- Us as useDebouncedFilter,
4845
- Rs as useDeleteUrlBuilder,
4846
- Ns as useErrors,
4847
- Ms as useExternalLinkCreator,
4848
- js as useFetchUrlBuilder,
4849
- Ds as useFetcher,
4850
- Ps as useFetcherCacheKey,
4851
- Vs as useGatewayFeatureSupported,
4852
- Hs as useHelpers,
4853
- Js as useSchemaProvider,
4854
- qs as useStringHelpers,
4855
- Gs as useTableState,
4856
- Ys as useTruncationDetector,
4857
- Ws as useValidators
4869
+ qe as SupportedEntityTypesArray,
4870
+ Us as TableTags,
4871
+ Gn as TerraformCodeBlock,
4872
+ Jn as YamlCodeBlock,
4873
+ qs as useAxios,
4874
+ zs as useDebouncedFilter,
4875
+ Hs as useDeleteUrlBuilder,
4876
+ Vs as useErrors,
4877
+ Ys as useExternalLinkCreator,
4878
+ Ws as useFetchUrlBuilder,
4879
+ Js as useFetcher,
4880
+ Gs as useFetcherCacheKey,
4881
+ Xs as useGatewayFeatureSupported,
4882
+ Zs as useHelpers,
4883
+ nc as useSchemaProvider,
4884
+ Qs as useStringHelpers,
4885
+ ic as useTableState,
4886
+ ec as useTruncationDetector,
4887
+ tc as useValidators
4858
4888
  };