@kong-ui-public/entities-keys 2.5.9 → 2.5.10

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,9 +1,9 @@
1
- import { defineComponent as X, ref as E, computed as x, watch as ge, renderSlot as ee, createCommentVNode as J, unref as m, resolveComponent as B, openBlock as y, createElementBlock as O, createVNode as A, withCtx as k, createTextVNode as G, toDisplayString as N, useCssVars as Qt, useSlots as gt, createElementVNode as L, createSlots as Oe, createBlock as R, resolveDynamicComponent as Ae, normalizeProps as ea, guardReactiveProps as ta, Fragment as ye, renderList as pe, mergeProps as na, normalizeClass as _e, onBeforeMount as Xe, withModifiers as ut, withDirectives as be, vShow as we, withKeys as aa, inject as ia, onMounted as ra, onUnmounted as oa, normalizeStyle as et, pushScopeId as tt, popScopeId as nt, reactive as At } from "vue";
2
- import { useRouter as ht } from "vue-router";
3
- import { createI18n as Xt, i18nTComponent as en } from "@kong-ui-public/i18n";
4
- import jt from "axios";
5
- import { BadgeMethodAppearances as la } from "@kong/kongponents";
6
- const sa = {
1
+ import { defineComponent as X, ref as E, computed as x, watch as ge, renderSlot as ee, createCommentVNode as J, unref as m, resolveComponent as B, openBlock as y, createElementBlock as K, createVNode as A, withCtx as k, createTextVNode as G, toDisplayString as N, useCssVars as en, useSlots as vt, createElementVNode as L, createSlots as Me, createBlock as R, resolveDynamicComponent as $e, normalizeProps as na, guardReactiveProps as aa, Fragment as ye, renderList as pe, mergeProps as ia, normalizeClass as xe, onBeforeMount as tt, withModifiers as pt, withDirectives as Ce, vShow as Se, withKeys as ra, inject as oa, onMounted as la, onUnmounted as sa, normalizeStyle as nt, pushScopeId as at, popScopeId as it, reactive as $t } from "vue";
2
+ import { useRouter as kt } from "vue-router";
3
+ import { createI18n as tn, i18nTComponent as nn } from "@kong-ui-public/i18n";
4
+ import Tt from "axios";
5
+ import { BadgeMethodAppearances as ca } from "@kong/kongponents";
6
+ const ua = {
7
7
  title: "Keys",
8
8
  list: {
9
9
  toolbar_actions: {
@@ -115,70 +115,70 @@ const sa = {
115
115
  }
116
116
  }
117
117
  }
118
- }, ca = {
119
- keys: sa
118
+ }, da = {
119
+ keys: ua
120
120
  };
121
- function ua() {
122
- const e = Xt("en-us", ca);
121
+ function pa() {
122
+ const e = tn("en-us", da);
123
123
  return {
124
124
  i18n: e,
125
- i18nT: en(e)
125
+ i18nT: nn(e)
126
126
  // Translation component <i18n-t>
127
127
  };
128
128
  }
129
- const vt = {
130
- useI18n: ua
131
- }, Ce = {
129
+ const bt = {
130
+ useI18n: pa
131
+ }, be = "/v2/control-planes/{controlPlaneId}/core-entities", we = "/{workspace}", _e = {
132
132
  list: {
133
133
  konnect: {
134
- all: "/api/runtime_groups/{controlPlaneId}/keys",
135
- forKeySet: "/api/runtime_groups/{controlPlaneId}/key-sets/{keySetId}/keys"
134
+ all: `${be}/keys`,
135
+ forKeySet: `${be}/key-sets/{keySetId}/keys`
136
136
  },
137
137
  kongManager: {
138
- all: "/{workspace}/keys",
139
- forKeySet: "/{workspace}/key-sets/{keySetId}/keys"
138
+ all: `${we}/keys`,
139
+ forKeySet: `${we}/key-sets/{keySetId}/keys`
140
140
  }
141
141
  },
142
142
  form: {
143
143
  konnect: {
144
144
  create: {
145
- all: "/api/runtime_groups/{controlPlaneId}/keys",
146
- forKeySet: "/api/runtime_groups/{controlPlaneId}/key-sets/{keySetId}/keys"
145
+ all: `${be}/keys`,
146
+ forKeySet: `${be}/key-sets/{keySetId}/keys`
147
147
  },
148
148
  edit: {
149
- all: "/api/runtime_groups/{controlPlaneId}/keys/{id}",
150
- forKeySet: "/api/runtime_groups/{controlPlaneId}/key-sets/{keySetId}/keys/{id}"
149
+ all: `${be}/keys/{id}`,
150
+ forKeySet: `${be}/key-sets/{keySetId}/keys/{id}`
151
151
  },
152
- keySets: "/api/runtime_groups/{controlPlaneId}/key-sets",
153
- getKeySet: "/api/runtime_groups/{controlPlaneId}/key-sets/{keySetId}"
152
+ keySets: `${be}/key-sets`,
153
+ getKeySet: `${be}/key-sets/{keySetId}`
154
154
  },
155
155
  kongManager: {
156
156
  create: {
157
- all: "/{workspace}/keys",
158
- forKeySet: "/{workspace}/key-sets/{keySetId}/keys"
157
+ all: `${we}/keys`,
158
+ forKeySet: `${we}/key-sets/{keySetId}/keys`
159
159
  },
160
160
  edit: {
161
- all: "/{workspace}/keys/{id}",
162
- forKeySet: "/{workspace}/key-sets/{keySetId}/keys/{id}"
161
+ all: `${we}/keys/{id}`,
162
+ forKeySet: `${we}/key-sets/{keySetId}/keys/{id}`
163
163
  },
164
- keySets: "/{workspace}/key-sets",
165
- getKeySet: "/{workspace}/key-sets/{keySetId}"
164
+ keySets: `${we}/key-sets`,
165
+ getKeySet: `${we}/key-sets/{keySetId}`
166
166
  }
167
167
  }
168
168
  };
169
- var tn = /* @__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))(tn || {}), Be = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Be || {}), Te = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Te || {}), Z = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Z || {}), le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(le || {});
170
- function da() {
169
+ var an = /* @__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))(an || {}), Re = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Re || {}), Ke = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ke || {}), Z = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Z || {}), le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(le || {});
170
+ function fa() {
171
171
  return {
172
172
  getAxiosInstance: (e = {}) => {
173
173
  try {
174
- const t = ia("get-axios-instance", void 0);
175
- return typeof t == "function" ? t(e) : jt.create({
174
+ const t = oa("get-axios-instance", void 0);
175
+ return typeof t == "function" ? t(e) : Tt.create({
176
176
  withCredentials: !0,
177
177
  timeout: 3e4,
178
178
  ...e
179
179
  });
180
180
  } catch (t) {
181
- return console.warn("getAxiosInstance:", t.message || t), jt.create({
181
+ return console.warn("getAxiosInstance:", t.message || t), Tt.create({
182
182
  withCredentials: !0,
183
183
  timeout: 3e4,
184
184
  ...e
@@ -191,7 +191,7 @@ function da() {
191
191
  }
192
192
  };
193
193
  }
194
- function pa() {
194
+ function ya() {
195
195
  return {
196
196
  debounce: (e, t) => {
197
197
  let n;
@@ -203,12 +203,12 @@ function pa() {
203
203
  }
204
204
  };
205
205
  }
206
- const ot = "khcp-user-table-preferences", fa = {
206
+ const st = "khcp-user-table-preferences", ma = {
207
207
  pageSize: 30,
208
208
  sortColumnKey: void 0,
209
209
  sortColumnOrder: void 0
210
210
  };
211
- function ya() {
211
+ function ga() {
212
212
  const e = (n) => {
213
213
  if (typeof n == "string")
214
214
  try {
@@ -218,44 +218,44 @@ function ya() {
218
218
  return;
219
219
  }
220
220
  }, t = () => {
221
- const n = e(localStorage.getItem(ot));
221
+ const n = e(localStorage.getItem(st));
222
222
  return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
223
223
  };
224
224
  return {
225
225
  setTablePreferences: (n, a) => {
226
226
  try {
227
227
  const i = t();
228
- i.set(n, a), localStorage.setItem(ot, JSON.stringify(Object.fromEntries(i.entries())));
228
+ i.set(n, a), localStorage.setItem(st, JSON.stringify(Object.fromEntries(i.entries())));
229
229
  } catch (i) {
230
230
  console.error("useTablePreferences(setTablePreferences)", i);
231
231
  }
232
232
  },
233
233
  getTablePreferences: (n) => {
234
234
  const a = t();
235
- return (a == null ? void 0 : a.get(n)) || void 0 || fa;
235
+ return (a == null ? void 0 : a.get(n)) || void 0 || ma;
236
236
  },
237
237
  deleteAllTablePreferences: () => {
238
- localStorage.removeItem(ot);
238
+ localStorage.removeItem(st);
239
239
  }
240
240
  };
241
241
  }
242
- function kt(e = {}) {
243
- const { getAxiosInstance: t } = da();
242
+ function wt(e = {}) {
243
+ const { getAxiosInstance: t } = fa();
244
244
  return {
245
245
  axiosInstance: t(e)
246
246
  };
247
247
  }
248
- const ma = {
248
+ const ha = {
249
249
  actions: {
250
250
  copyId: "Copy ID",
251
251
  copied_id: 'Copied "{id}" to the clipboard',
252
252
  copyToClipboard: "Copied successfully!",
253
253
  copyToClipboardFailed: "Failed to copy to the clipboard"
254
254
  }
255
- }, ga = {
255
+ }, va = {
256
256
  message: "Are you sure you want to delete this {entityType}?",
257
257
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
258
- }, ha = {
258
+ }, ka = {
259
259
  actions: {
260
260
  viewConfiguration: "View Configuration",
261
261
  save: "Save",
@@ -271,13 +271,13 @@ const ma = {
271
271
  errors: {
272
272
  edit: "The entity could not be edited at this time."
273
273
  }
274
- }, va = {
274
+ }, ba = {
275
275
  emptyState: {
276
276
  noSearchResultsTitle: "No results found",
277
277
  noSearchResultsMessage: "Please adjust the criteria and try again.",
278
278
  noSearchResultsCtaText: "Clear"
279
279
  }
280
- }, ka = {
280
+ }, wa = {
281
281
  title: "Configuration",
282
282
  actions: {
283
283
  copy: "Copy JSON"
@@ -312,7 +312,7 @@ const ma = {
312
312
  entryTitle: "Entry {index}",
313
313
  structuredFormat: "Structured"
314
314
  }
315
- }, ba = {
315
+ }, Ca = {
316
316
  filterButtonText: "Filter",
317
317
  fieldLabel: "Filter by:",
318
318
  inputPlaceholder: "Enter a value",
@@ -320,17 +320,17 @@ const ma = {
320
320
  applyButtonText: "Apply",
321
321
  clearButtonText: "Clear",
322
322
  clearAllButtonText: "Clear all filters"
323
- }, wa = {
323
+ }, Sa = {
324
324
  errors: {
325
325
  fetch: "Could not fetch available items",
326
326
  invalid: "Please select a valid value"
327
327
  }
328
- }, Ca = {
328
+ }, _a = {
329
329
  unexpected: "An unexpected error has occurred",
330
330
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
331
- }, Sa = {
331
+ }, Ia = {
332
332
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
333
- }, _a = {
333
+ }, xa = {
334
334
  enable: {
335
335
  title: "Enable {entityType}",
336
336
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -341,27 +341,27 @@ const ma = {
341
341
  message: "Are you sure you want to disable the {entityType} {entityName}?",
342
342
  confirmText: "Yes, disable"
343
343
  }
344
- }, Ia = {
345
- global: ma,
346
- deleteModal: ga,
347
- baseForm: ha,
348
- baseTable: va,
349
- baseConfigCard: ka,
350
- filter: ba,
351
- debouncedFilter: wa,
352
- errors: Ca,
353
- validationErrors: Sa,
354
- toggleModal: _a
344
+ }, Aa = {
345
+ global: ha,
346
+ deleteModal: va,
347
+ baseForm: ka,
348
+ baseTable: ba,
349
+ baseConfigCard: wa,
350
+ filter: Ca,
351
+ debouncedFilter: Sa,
352
+ errors: _a,
353
+ validationErrors: Ia,
354
+ toggleModal: xa
355
355
  };
356
- function at() {
357
- const e = Xt("en-us", Ia);
356
+ function rt() {
357
+ const e = tn("en-us", Aa);
358
358
  return {
359
359
  i18n: e,
360
- i18nT: en(e)
360
+ i18nT: nn(e)
361
361
  // Translation component <i18n-t>
362
362
  };
363
363
  }
364
- function nn() {
364
+ function rn() {
365
365
  const e = (n, a) => (a == null ? void 0 : a[n]) ?? void 0, t = (n, a) => {
366
366
  if (n.length !== a.length)
367
367
  return !1;
@@ -405,19 +405,19 @@ function nn() {
405
405
  isValidUuid: (n) => n ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(n) : !1
406
406
  };
407
407
  }
408
- function xa(e, t, n, a = {
408
+ function ja(e, t, n, a = {
409
409
  fetchedItemsKey: "data",
410
410
  searchKeys: ["id"]
411
411
  }) {
412
412
  n || (n = "1000");
413
- const { axiosInstance: i } = kt({
413
+ const { axiosInstance: i } = wt({
414
414
  headers: e.requestHeaders
415
- }), { i18n: { t: r } } = at(), { debounce: o } = pa(), l = o(async (v) => {
416
- await D(v);
415
+ }), { i18n: { t: r } } = rt(), { debounce: o } = ya(), l = o(async (v) => {
416
+ await P(v);
417
417
  }, 200), c = E(!1), d = E(""), s = E(""), u = E([]), h = E([]), f = E(void 0), S = m(t);
418
418
  let C = `${e.apiBaseUrl}${S}`;
419
419
  e.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
420
- const { isValidUuid: I } = nn(), U = async () => {
420
+ const { isValidUuid: I } = rn(), U = async () => {
421
421
  try {
422
422
  c.value = !0;
423
423
  const { data: v } = await i.get(`${C}?size=${n}`);
@@ -427,7 +427,7 @@ function xa(e, t, n, a = {
427
427
  } finally {
428
428
  c.value = !1;
429
429
  }
430
- }, b = E(""), D = async (v) => {
430
+ }, b = E(""), P = async (v) => {
431
431
  var p, g, _;
432
432
  if (b.value !== v)
433
433
  if (b.value = v || "", f.value === void 0)
@@ -444,15 +444,15 @@ function xa(e, t, n, a = {
444
444
  return [M[a.fetchedItemsKey] ?? M];
445
445
  })()) : q.push(
446
446
  ...a.searchKeys.filter((M) => M !== "id").map(async (M) => {
447
- const { data: K } = await i.get(`${C}?${M}=${v}`);
448
- return K[a.fetchedItemsKey];
447
+ const { data: O } = await i.get(`${C}?${M}=${v}`);
448
+ return O[a.fetchedItemsKey];
449
449
  })
450
450
  );
451
- const j = await Promise.all(q), P = /* @__PURE__ */ new Set();
451
+ const j = await Promise.all(q), D = /* @__PURE__ */ new Set();
452
452
  u.value = [], (p = j == null ? void 0 : j.forEach) == null || p.call(j, (M) => {
453
- var K;
454
- (K = M == null ? void 0 : M.forEach) == null || K.call(M, (z) => {
455
- P.has(z.id) || (P.add(z.id), u.value.push(z));
453
+ var O;
454
+ (O = M == null ? void 0 : M.forEach) == null || O.call(M, (z) => {
455
+ D.has(z.id) || (D.add(z.id), u.value.push(z));
456
456
  });
457
457
  });
458
458
  } else
@@ -465,12 +465,12 @@ function xa(e, t, n, a = {
465
465
  else
466
466
  c.value = !0, s.value = "", v ? (u.value = (_ = f.value) == null ? void 0 : _.filter((q) => {
467
467
  var j;
468
- let P = !1;
468
+ let D = !1;
469
469
  for (const M of a.searchKeys) {
470
- const K = typeof q[M] == "string" ? (j = q[M]) == null ? void 0 : j.toLowerCase() : q[M];
471
- K != null && K.includes(v.toLowerCase()) && (P = !0);
470
+ const O = typeof q[M] == "string" ? (j = q[M]) == null ? void 0 : j.toLowerCase() : q[M];
471
+ O != null && O.includes(v.toLowerCase()) && (D = !0);
472
472
  }
473
- return P;
473
+ return D;
474
474
  }), (!u.value || !u.value.length) && (s.value = r("debouncedFilter.errors.invalid"))) : u.value = f.value, c.value = !1;
475
475
  };
476
476
  return {
@@ -483,14 +483,14 @@ function xa(e, t, n, a = {
483
483
  debouncedQueryChange: l
484
484
  };
485
485
  }
486
- function Aa(e, t) {
486
+ function $a(e, t) {
487
487
  const n = m(t), a = x(
488
488
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
489
489
  );
490
490
  return a.value.search = "", (i) => `${a.value.href}/${i}`;
491
491
  }
492
- function ja() {
493
- const { i18n: { t: e } } = at();
492
+ function Ta() {
493
+ const { i18n: { t: e } } = rt();
494
494
  return {
495
495
  getMessageFromError: (t) => {
496
496
  var n, a, i, r;
@@ -519,7 +519,7 @@ function ja() {
519
519
  }
520
520
  };
521
521
  }
522
- function Ta(e) {
522
+ function Ka(e) {
523
523
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
524
524
  try {
525
525
  const a = e.join("/"), i = `${n}${a}`, r = e.some((o) => o.trim() === "");
@@ -530,7 +530,7 @@ function Ta(e) {
530
530
  return console.warn("Failed to build valid URL:", a), "";
531
531
  }
532
532
  }
533
- function an(e, t) {
533
+ function on(e, t) {
534
534
  const n = E(m(e)), a = E(m(t)), i = x(
535
535
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
536
536
  ), r = x(
@@ -548,18 +548,18 @@ function an(e, t) {
548
548
  }
549
549
  };
550
550
  }
551
- function $a(e, t, n = "data") {
551
+ function Oa(e, t, n = "data") {
552
552
  var a;
553
- const i = m(t), { axiosInstance: r } = kt({
553
+ const i = m(t), { axiosInstance: r } = wt({
554
554
  ...e.axiosRequestConfig,
555
555
  headers: { ...(a = e.axiosRequestConfig) == null ? void 0 : a.headers, ...e.requestHeaders }
556
- }), o = an(e, i), l = E({
557
- status: Te.Idle
556
+ }), o = on(e, i), l = E({
557
+ status: Ke.Idle
558
558
  });
559
559
  return { fetcher: async (c) => {
560
560
  var d;
561
561
  try {
562
- l.value = { status: Te.Loading };
562
+ l.value = { status: Ke.Loading };
563
563
  let s = o(c);
564
564
  s.includes("filter[name]") && (s = `${s}&page[size]=${c.pageSize}&page[number]=${c.page}`);
565
565
  const u = await r.get(s);
@@ -578,7 +578,7 @@ function $a(e, t, n = "data") {
578
578
  } : null
579
579
  };
580
580
  return l.value = {
581
- status: Te.Idle,
581
+ status: Ke.Idle,
582
582
  response: C
583
583
  }, C;
584
584
  } catch (s) {
@@ -587,80 +587,80 @@ function $a(e, t, n = "data") {
587
587
  total: 0
588
588
  };
589
589
  return c.query && (((d = s.response) == null ? void 0 : d.status) === 404 || s.status === 404) ? (l.value = {
590
- status: Te.NoResults,
590
+ status: Ke.NoResults,
591
591
  response: u,
592
592
  error: s.response ? s : { response: s }
593
593
  }, u) : (l.value = {
594
- status: Te.Error,
594
+ status: Ke.Error,
595
595
  response: u,
596
596
  error: s.response ? s : { response: s }
597
597
  }, u);
598
598
  }
599
599
  }, fetcherState: l };
600
600
  }
601
- function Oa() {
601
+ function Ma() {
602
602
  const e = (n, a = "_") => n ? n.split(a).map((i) => i.toLowerCase() === "id" ? i.toUpperCase() : i.charAt(0).toUpperCase() + i.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
603
603
  return {
604
604
  capitalize: (n) => n ? n.replace(t, (a) => a.toUpperCase()) : "",
605
605
  convertKeyToTitle: e
606
606
  };
607
607
  }
608
- const rn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Tt = (e) => {
608
+ const ln = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Kt = (e) => {
609
609
  if (typeof e != "string")
610
610
  throw new TypeError("Invalid argument expected string");
611
- const t = e.match(rn);
611
+ const t = e.match(ln);
612
612
  if (!t)
613
613
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
614
614
  return t.shift(), t;
615
- }, $t = (e) => e === "*" || e === "x" || e === "X", Ot = (e) => {
615
+ }, Ot = (e) => e === "*" || e === "x" || e === "X", Mt = (e) => {
616
616
  const t = parseInt(e, 10);
617
617
  return isNaN(t) ? e : t;
618
- }, Ka = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ma = (e, t) => {
619
- if ($t(e) || $t(t))
618
+ }, Ea = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Na = (e, t) => {
619
+ if (Ot(e) || Ot(t))
620
620
  return 0;
621
- const [n, a] = Ka(Ot(e), Ot(t));
621
+ const [n, a] = Ea(Mt(e), Mt(t));
622
622
  return n > a ? 1 : n < a ? -1 : 0;
623
- }, Kt = (e, t) => {
623
+ }, Et = (e, t) => {
624
624
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
625
- const a = Ma(e[n] || "0", t[n] || "0");
625
+ const a = Na(e[n] || "0", t[n] || "0");
626
626
  if (a !== 0)
627
627
  return a;
628
628
  }
629
629
  return 0;
630
- }, Ea = (e, t) => {
631
- const n = Tt(e), a = Tt(t), i = n.pop(), r = a.pop(), o = Kt(n, a);
632
- return o !== 0 ? o : i && r ? Kt(i.split("."), r.split(".")) : i || r ? i ? -1 : 1 : 0;
633
- }, Mt = (e, t, n) => {
634
- Na(n);
635
- const a = Ea(e, t);
636
- return on[n].includes(a);
637
- }, on = {
630
+ }, Fa = (e, t) => {
631
+ const n = Kt(e), a = Kt(t), i = n.pop(), r = a.pop(), o = Et(n, a);
632
+ return o !== 0 ? o : i && r ? Et(i.split("."), r.split(".")) : i || r ? i ? -1 : 1 : 0;
633
+ }, Nt = (e, t, n) => {
634
+ qa(n);
635
+ const a = Fa(e, t);
636
+ return sn[n].includes(a);
637
+ }, sn = {
638
638
  ">": [1],
639
639
  ">=": [0, 1],
640
640
  "=": [0],
641
641
  "<=": [-1, 0],
642
642
  "<": [-1],
643
643
  "!=": [-1, 1]
644
- }, Et = Object.keys(on), Na = (e) => {
644
+ }, Ft = Object.keys(sn), qa = (e) => {
645
645
  if (typeof e != "string")
646
646
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
647
- if (Et.indexOf(e) === -1)
648
- throw new Error(`Invalid operator, expected one of ${Et.join("|")}`);
649
- }, Fa = (e) => typeof e == "string" && /^[v\d]/.test(e) && rn.test(e);
650
- function qa(e) {
647
+ if (Ft.indexOf(e) === -1)
648
+ throw new Error(`Invalid operator, expected one of ${Ft.join("|")}`);
649
+ }, La = (e) => typeof e == "string" && /^[v\d]/.test(e) && ln.test(e);
650
+ function Ba(e) {
651
651
  const { gatewayInfo: t, supportedRange: n } = e;
652
652
  if (!t)
653
653
  return !0;
654
654
  const { edition: a, version: i } = t;
655
- if (!Fa(i))
655
+ if (!La(i))
656
656
  return console.error("Invalid version"), !1;
657
657
  const r = n[a];
658
658
  if (!r)
659
659
  return !1;
660
660
  const [o, l] = r;
661
- return !(o && Mt(i, o, "<") || l && Mt(i, l, ">"));
661
+ return !(o && Nt(i, o, "<") || l && Nt(i, l, ">"));
662
662
  }
663
- function La(e) {
663
+ function Ua(e) {
664
664
  const t = E(0), n = E(0), a = E(!1);
665
665
  return ge(e, (i) => {
666
666
  i && !a.value && (t.value = i.offsetWidth, n.value = i.scrollWidth, a.value = !0);
@@ -668,30 +668,30 @@ function La(e) {
668
668
  isTruncated: x(() => t.value < n.value)
669
669
  };
670
670
  }
671
- function Ba() {
672
- const { i18n: { t: e } } = at();
671
+ function Ra() {
672
+ const { i18n: { t: e } } = rt();
673
673
  return {
674
674
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
675
675
  };
676
676
  }
677
677
  const ie = {
678
- useAxios: kt,
679
- useDebouncedFilter: xa,
680
- useDeleteUrlBuilder: Aa,
681
- useErrors: ja,
682
- useExternalLinkCreator: Ta,
683
- useFetcher: $a,
684
- useFetchUrlBuilder: an,
685
- useHelpers: nn,
686
- useStringHelpers: Oa,
687
- useI18n: at,
688
- useGatewayFeatureSupported: qa,
689
- useTruncationDetector: La,
690
- useValidators: Ba
691
- }, Ua = {
678
+ useAxios: wt,
679
+ useDebouncedFilter: ja,
680
+ useDeleteUrlBuilder: $a,
681
+ useErrors: Ta,
682
+ useExternalLinkCreator: Ka,
683
+ useFetcher: Oa,
684
+ useFetchUrlBuilder: on,
685
+ useHelpers: rn,
686
+ useStringHelpers: Ma,
687
+ useI18n: rt,
688
+ useGatewayFeatureSupported: Ba,
689
+ useTruncationDetector: Ua,
690
+ useValidators: Ra
691
+ }, Va = {
692
692
  key: 0,
693
693
  class: "config-card-fieldset-title"
694
- }, Ra = /* @__PURE__ */ X({
694
+ }, Da = /* @__PURE__ */ X({
695
695
  __name: "JsonCardItem",
696
696
  props: {
697
697
  item: {
@@ -715,14 +715,14 @@ const ie = {
715
715
  var c;
716
716
  return t.isArrayItem ? (c = r.value) != null && c.name ? a(r.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
717
717
  });
718
- return (c, d) => (y(), R(Ae(e.isArrayItem ? "fieldset" : "div"), {
719
- class: _e(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
718
+ return (c, d) => (y(), R($e(e.isArrayItem ? "fieldset" : "div"), {
719
+ class: xe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
720
720
  }, {
721
721
  default: k(() => [
722
- e.isArrayItem ? (y(), O("legend", Ua, [
722
+ e.isArrayItem ? (y(), K("legend", Va, [
723
723
  L("b", null, N(l.value), 1)
724
724
  ])) : J("", !0),
725
- (y(!0), O(ye, null, pe(Object.keys(o.value), (s, u) => (y(), R(He, {
725
+ (y(!0), K(ye, null, pe(Object.keys(o.value), (s, u) => (y(), R(Ye, {
726
726
  key: `${i.value}-property-${u}`,
727
727
  item: {
728
728
  key: s,
@@ -739,7 +739,7 @@ const ie = {
739
739
  for (const [a, i] of t)
740
740
  n[a] = i;
741
741
  return n;
742
- }, ln = /* @__PURE__ */ he(Ra, [["__scopeId", "data-v-68ca83ec"]]), Va = /* @__PURE__ */ X({
742
+ }, cn = /* @__PURE__ */ he(Da, [["__scopeId", "data-v-68ca83ec"]]), Pa = /* @__PURE__ */ X({
743
743
  __name: "InternalLinkItem",
744
744
  props: {
745
745
  item: {
@@ -752,7 +752,7 @@ const ie = {
752
752
  const { i18n: { t } } = ie.useI18n();
753
753
  return (n, a) => {
754
754
  const i = B("KButton");
755
- return y(), O("div", null, [
755
+ return y(), K("div", null, [
756
756
  A(i, {
757
757
  appearance: "tertiary",
758
758
  class: "navigation-button",
@@ -766,7 +766,7 @@ const ie = {
766
766
  ]);
767
767
  };
768
768
  }
769
- }), sn = /* @__PURE__ */ he(Va, [["__scopeId", "data-v-c96811e5"]]), Pa = /* @__PURE__ */ X({
769
+ }), un = /* @__PURE__ */ he(Pa, [["__scopeId", "data-v-c96811e5"]]), za = /* @__PURE__ */ X({
770
770
  __name: "StatusBadge",
771
771
  props: {
772
772
  status: {
@@ -788,11 +788,11 @@ const ie = {
788
788
  }, 8, ["appearance"]);
789
789
  };
790
790
  }
791
- }), Da = "#0044f4", za = "#e0e4ea", Ja = "#3a3f51", Ha = "#afb7c5", Wa = "1px", Ya = "20px", Za = { class: "config-card-details-row" }, Ga = ["data-testid"], Qa = ["data-testid"], Xa = ["data-testid"], ei = ["data-testid"], ti = { key: 1 }, ni = ["data-testid"], ai = ["data-testid"], ii = ["data-testid"], ri = ["data-testid"], oi = {
791
+ }), Ja = "#0044f4", Ha = "#e0e4ea", Wa = "#3a3f51", Ya = "#afb7c5", Za = "1px", Ga = "20px", Qa = { class: "config-card-details-row" }, Xa = ["data-testid"], ei = ["data-testid"], ti = ["data-testid"], ni = ["data-testid"], ai = { key: 1 }, ii = ["data-testid"], ri = ["data-testid"], oi = ["data-testid"], li = ["data-testid"], si = {
792
792
  name: "ConfigCardItem",
793
- components: { JsonCardItem: ln, StatusBadge: Pa, InternalLinkItem: sn }
794
- }, li = /* @__PURE__ */ X({
795
- ...oi,
793
+ components: { JsonCardItem: cn, StatusBadge: za, InternalLinkItem: un }
794
+ }, ci = /* @__PURE__ */ X({
795
+ ...si,
796
796
  props: {
797
797
  item: {
798
798
  type: Object,
@@ -811,13 +811,13 @@ const ie = {
811
811
  },
812
812
  emits: ["navigation-click"],
813
813
  setup(e, { emit: t }) {
814
- Qt((S) => ({
815
- "07753575": s.value ? "none" : `solid ${m(Wa)} ${m(za)}`,
814
+ en((S) => ({
815
+ "07753575": s.value ? "none" : `solid ${m(Za)} ${m(Ha)}`,
816
816
  "32d44ea8": d.value && l.value ? "block" : "flex",
817
817
  "5036b738": d.value && l.value ? "100%" : n.slim ? "50%" : "25%",
818
818
  "5038fd13": d.value && l.value ? "100%" : n.slim ? "50%" : "75%"
819
819
  }));
820
- const n = e, a = t, i = gt(), { i18n: { t: r, formatUnixTimeStamp: o } } = ie.useI18n(), l = x(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = x(() => !!(n.item.tooltip || i["label-tooltip"])), d = x(() => n.item.type === Z.Json || n.item.type === Z.JsonArray), s = x(() => n.item.type === Z.JsonArray), u = x(() => {
820
+ const n = e, a = t, i = vt(), { i18n: { t: r, formatUnixTimeStamp: o } } = ie.useI18n(), l = x(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), c = x(() => !!(n.item.tooltip || i["label-tooltip"])), d = x(() => n.item.type === Z.Json || n.item.type === Z.JsonArray), s = x(() => n.item.type === Z.JsonArray), u = x(() => {
821
821
  switch (n.item.type) {
822
822
  case Z.ID:
823
823
  return {
@@ -929,14 +929,14 @@ const ie = {
929
929
  }
930
930
  }), h = E(), { isTruncated: f } = ie.useTruncationDetector(h);
931
931
  return (S, C) => {
932
- const I = B("KLabel"), U = B("KBadge"), b = B("KCopy"), D = B("KTooltip");
933
- return y(), O("div", Za, [
932
+ const I = B("KLabel"), U = B("KBadge"), b = B("KCopy"), P = B("KTooltip");
933
+ return y(), K("div", Qa, [
934
934
  L("div", {
935
935
  class: "config-card-details-label",
936
936
  "data-testid": `${e.item.key}-label`
937
937
  }, [
938
938
  ee(S.$slots, "label", { item: e.item }, () => [
939
- A(I, { "tooltip-attributes": { maxWidth: "500px" } }, Oe({
939
+ A(I, { "tooltip-attributes": { maxWidth: "500px" } }, Me({
940
940
  default: k(() => [
941
941
  G(N(e.item.label) + " ", 1)
942
942
  ]),
@@ -951,13 +951,13 @@ const ie = {
951
951
  ee(S.$slots, "label-tooltip", {}, () => [
952
952
  G(N(e.item.tooltip), 1)
953
953
  ], !0)
954
- ], 8, Qa)
954
+ ], 8, ei)
955
955
  ]),
956
956
  key: "0"
957
957
  } : void 0
958
958
  ]), 1024)
959
959
  ], !0)
960
- ], 8, Ga),
960
+ ], 8, Xa),
961
961
  L("div", {
962
962
  class: "config-card-details-value",
963
963
  "data-testid": `${e.item.key}-property-value`
@@ -965,14 +965,14 @@ const ie = {
965
965
  ee(S.$slots, e.item.key, {
966
966
  rowValue: e.item.value
967
967
  }, () => [
968
- l.value ? (y(), O("div", ti, [
969
- (y(), R(Ae(u.value.tag), ea(ta(u.value.attrs)), {
968
+ l.value ? (y(), K("div", ai, [
969
+ (y(), R($e(u.value.tag), na(aa(u.value.attrs)), {
970
970
  default: k(() => [
971
- u.value.additionalComponent === "KBadge" ? (y(), O("div", {
971
+ u.value.additionalComponent === "KBadge" ? (y(), K("div", {
972
972
  key: 0,
973
973
  "data-testid": `${e.item.key}-badge-tags`
974
974
  }, [
975
- (y(!0), O(ye, null, pe(e.item.value, (v, p) => (y(), R(U, {
975
+ (y(!0), K(ye, null, pe(e.item.value, (v, p) => (y(), R(U, {
976
976
  key: `${e.item.key}-badge-tag-${p}`,
977
977
  class: "config-badge",
978
978
  "data-testid": `${e.item.key}-badge-tag-${p}`,
@@ -984,25 +984,25 @@ const ie = {
984
984
  ]),
985
985
  _: 2
986
986
  }, 1032, ["data-testid", "tooltip"]))), 128))
987
- ], 8, ni)) : J("", !0),
988
- u.value.additionalComponent === "KCopy" ? (y(), O("div", {
987
+ ], 8, ii)) : J("", !0),
988
+ u.value.additionalComponent === "KCopy" ? (y(), K("div", {
989
989
  key: 1,
990
990
  class: "copy-uuid-array",
991
991
  "data-testid": `${e.item.key}-copy-uuid-array`
992
992
  }, [
993
- (y(!0), O(ye, null, pe(e.item.value, (v, p) => (y(), R(b, na(u.value.childAttrs, {
993
+ (y(!0), K(ye, null, pe(e.item.value, (v, p) => (y(), R(b, ia(u.value.childAttrs, {
994
994
  key: `${e.item.key}-copy-uuid-${p}`,
995
995
  "data-testid": `${e.item.key}-copy-uuid-${p}`,
996
996
  text: v
997
997
  }), null, 16, ["data-testid", "text"]))), 128))
998
- ], 8, ai)) : u.value.additionalComponent === "KMethodBadge" ? (y(), O("div", {
998
+ ], 8, ri)) : u.value.additionalComponent === "KMethodBadge" ? (y(), K("div", {
999
999
  key: 2,
1000
1000
  class: "method-badge-array",
1001
1001
  "data-testid": `${e.item.key}-badge-methods`
1002
1002
  }, [
1003
- (y(!0), O(ye, null, pe(e.item.value, (v, p) => (y(), R(U, {
1003
+ (y(!0), K(ye, null, pe(e.item.value, (v, p) => (y(), R(U, {
1004
1004
  key: `${e.item.key}-badge-method-${p}`,
1005
- appearance: Object.values(m(la)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1005
+ appearance: Object.values(m(ca)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1006
1006
  class: "config-badge",
1007
1007
  "data-testid": `${e.item.key}-badge-method-${p}`
1008
1008
  }, {
@@ -1011,18 +1011,18 @@ const ie = {
1011
1011
  ]),
1012
1012
  _: 2
1013
1013
  }, 1032, ["appearance", "data-testid"]))), 128))
1014
- ], 8, ii)) : J("", !0),
1015
- u.value.additionalComponent === "JsonCardItem" ? (y(), O("div", {
1014
+ ], 8, oi)) : J("", !0),
1015
+ u.value.additionalComponent === "JsonCardItem" ? (y(), K("div", {
1016
1016
  key: 3,
1017
1017
  "data-testid": `${n.item.key}-json-array-content`
1018
1018
  }, [
1019
- (y(!0), O(ye, null, pe(e.item.value, (v, p) => (y(), R(ln, {
1019
+ (y(!0), K(ye, null, pe(e.item.value, (v, p) => (y(), R(cn, {
1020
1020
  key: `json-array-item-${p}`,
1021
1021
  index: p,
1022
1022
  "is-array-item": "",
1023
1023
  item: v
1024
1024
  }, null, 8, ["index", "item"]))), 128))
1025
- ], 8, ri)) : (y(), R(D, {
1025
+ ], 8, li)) : (y(), R(P, {
1026
1026
  key: 4,
1027
1027
  text: m(f) ? e.item.value : ""
1028
1028
  }, {
@@ -1030,7 +1030,7 @@ const ie = {
1030
1030
  L("span", {
1031
1031
  ref_key: "textContent",
1032
1032
  ref: h,
1033
- class: _e(["attrs-data-text", { truncated: e.truncated }])
1033
+ class: xe(["attrs-data-text", { truncated: e.truncated }])
1034
1034
  }, N(u.value.text), 3)
1035
1035
  ]),
1036
1036
  _: 1
@@ -1038,19 +1038,19 @@ const ie = {
1038
1038
  ]),
1039
1039
  _: 1
1040
1040
  }, 16))
1041
- ])) : (y(), O("div", {
1041
+ ])) : (y(), K("div", {
1042
1042
  key: 0,
1043
1043
  "data-testid": `${e.item.key}-no-value`
1044
- }, " – ", 8, ei))
1044
+ }, " – ", 8, ni))
1045
1045
  ], !0)
1046
- ], 8, Xa)
1046
+ ], 8, ti)
1047
1047
  ]);
1048
1048
  };
1049
1049
  }
1050
- }), He = /* @__PURE__ */ he(li, [["__scopeId", "data-v-d056663c"]]), si = { class: "json-config" }, ci = {
1050
+ }), Ye = /* @__PURE__ */ he(ci, [["__scopeId", "data-v-d056663c"]]), ui = { class: "json-config" }, di = {
1051
1051
  key: 0,
1052
1052
  class: "json-endpoint"
1053
- }, cn = /* @__PURE__ */ X({
1053
+ }, dn = /* @__PURE__ */ X({
1054
1054
  __name: "JsonCodeBlock",
1055
1055
  props: {
1056
1056
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1078,7 +1078,7 @@ const ie = {
1078
1078
  }
1079
1079
  },
1080
1080
  setup(e) {
1081
- Qt((i) => ({
1081
+ en((i) => ({
1082
1082
  "954d3eca": `${a.value}ch`
1083
1083
  }));
1084
1084
  const t = e, n = x(() => t.jsonRecord), a = x(() => {
@@ -1090,8 +1090,8 @@ const ie = {
1090
1090
  });
1091
1091
  return (i, r) => {
1092
1092
  const o = B("KBadge"), l = B("KCodeBlock");
1093
- return y(), O("div", si, [
1094
- t.fetcherUrl ? (y(), O("div", ci, [
1093
+ return y(), K("div", ui, [
1094
+ t.fetcherUrl ? (y(), K("div", di, [
1095
1095
  A(o, {
1096
1096
  appearance: t.requestMethod
1097
1097
  }, {
@@ -1111,7 +1111,7 @@ const ie = {
1111
1111
  t.jsonRecord ? (y(), R(l, {
1112
1112
  key: 1,
1113
1113
  id: "json-codeblock",
1114
- class: _e({ "json-content": t.fetcherUrl }),
1114
+ class: xe({ "json-content": t.fetcherUrl }),
1115
1115
  code: JSON.stringify(n.value, null, 2),
1116
1116
  language: "json",
1117
1117
  theme: "dark"
@@ -1121,55 +1121,55 @@ const ie = {
1121
1121
  }
1122
1122
  });
1123
1123
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1124
- function un(e) {
1124
+ function pn(e) {
1125
1125
  return typeof e > "u" || e === null;
1126
1126
  }
1127
- function ui(e) {
1127
+ function pi(e) {
1128
1128
  return typeof e == "object" && e !== null;
1129
1129
  }
1130
- function di(e) {
1131
- return Array.isArray(e) ? e : un(e) ? [] : [e];
1130
+ function fi(e) {
1131
+ return Array.isArray(e) ? e : pn(e) ? [] : [e];
1132
1132
  }
1133
- function pi(e, t) {
1133
+ function yi(e, t) {
1134
1134
  var n, a, i, r;
1135
1135
  if (t)
1136
1136
  for (r = Object.keys(t), n = 0, a = r.length; n < a; n += 1)
1137
1137
  i = r[n], e[i] = t[i];
1138
1138
  return e;
1139
1139
  }
1140
- function fi(e, t) {
1140
+ function mi(e, t) {
1141
1141
  var n = "", a;
1142
1142
  for (a = 0; a < t; a += 1)
1143
1143
  n += e;
1144
1144
  return n;
1145
1145
  }
1146
- function yi(e) {
1146
+ function gi(e) {
1147
1147
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1148
1148
  }
1149
- var mi = un, gi = ui, hi = di, vi = fi, ki = yi, bi = pi, ae = {
1150
- isNothing: mi,
1151
- isObject: gi,
1152
- toArray: hi,
1153
- repeat: vi,
1154
- isNegativeZero: ki,
1155
- extend: bi
1149
+ var hi = pn, vi = pi, ki = fi, bi = mi, wi = gi, Ci = yi, ae = {
1150
+ isNothing: hi,
1151
+ isObject: vi,
1152
+ toArray: ki,
1153
+ repeat: bi,
1154
+ isNegativeZero: wi,
1155
+ extend: Ci
1156
1156
  };
1157
- function dn(e, t) {
1157
+ function fn(e, t) {
1158
1158
  var n = "", a = e.reason || "(unknown reason)";
1159
1159
  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 += `
1160
1160
 
1161
1161
  ` + e.mark.snippet), a + " " + n) : a;
1162
1162
  }
1163
- function Re(e, t) {
1164
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = dn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1163
+ function De(e, t) {
1164
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = fn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1165
1165
  }
1166
- Re.prototype = Object.create(Error.prototype);
1167
- Re.prototype.constructor = Re;
1168
- Re.prototype.toString = function(e) {
1169
- return this.name + ": " + dn(this, e);
1166
+ De.prototype = Object.create(Error.prototype);
1167
+ De.prototype.constructor = De;
1168
+ De.prototype.toString = function(e) {
1169
+ return this.name + ": " + fn(this, e);
1170
1170
  };
1171
- var se = Re;
1172
- function lt(e, t, n, a, i) {
1171
+ var se = De;
1172
+ function ct(e, t, n, a, i) {
1173
1173
  var r = "", o = "", l = Math.floor(i / 2) - 1;
1174
1174
  return a - t > l && (r = " ... ", t = a - l + r.length), n - a > l && (o = " ...", n = a + l - o.length), {
1175
1175
  str: r + e.slice(t, n).replace(/\t/g, "→") + o,
@@ -1177,10 +1177,10 @@ function lt(e, t, n, a, i) {
1177
1177
  // relative position
1178
1178
  };
1179
1179
  }
1180
- function st(e, t) {
1180
+ function ut(e, t) {
1181
1181
  return ae.repeat(" ", t - e.length) + e;
1182
1182
  }
1183
- function wi(e, t) {
1183
+ function Si(e, t) {
1184
1184
  if (t = Object.create(t || null), !e.buffer)
1185
1185
  return null;
1186
1186
  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);
@@ -1189,28 +1189,28 @@ function wi(e, t) {
1189
1189
  o < 0 && (o = a.length - 1);
1190
1190
  var l = "", c, d, s = Math.min(e.line + t.linesAfter, i.length).toString().length, u = t.maxLength - (t.indent + s + 3);
1191
1191
  for (c = 1; c <= t.linesBefore && !(o - c < 0); c++)
1192
- d = lt(
1192
+ d = ct(
1193
1193
  e.buffer,
1194
1194
  a[o - c],
1195
1195
  i[o - c],
1196
1196
  e.position - (a[o] - a[o - c]),
1197
1197
  u
1198
- ), l = ae.repeat(" ", t.indent) + st((e.line - c + 1).toString(), s) + " | " + d.str + `
1198
+ ), l = ae.repeat(" ", t.indent) + ut((e.line - c + 1).toString(), s) + " | " + d.str + `
1199
1199
  ` + l;
1200
- for (d = lt(e.buffer, a[o], i[o], e.position, u), l += ae.repeat(" ", t.indent) + st((e.line + 1).toString(), s) + " | " + d.str + `
1200
+ for (d = ct(e.buffer, a[o], i[o], e.position, u), l += ae.repeat(" ", t.indent) + ut((e.line + 1).toString(), s) + " | " + d.str + `
1201
1201
  `, l += ae.repeat("-", t.indent + s + 3 + d.pos) + `^
1202
1202
  `, c = 1; c <= t.linesAfter && !(o + c >= i.length); c++)
1203
- d = lt(
1203
+ d = ct(
1204
1204
  e.buffer,
1205
1205
  a[o + c],
1206
1206
  i[o + c],
1207
1207
  e.position - (a[o] - a[o + c]),
1208
1208
  u
1209
- ), l += ae.repeat(" ", t.indent) + st((e.line + c + 1).toString(), s) + " | " + d.str + `
1209
+ ), l += ae.repeat(" ", t.indent) + ut((e.line + c + 1).toString(), s) + " | " + d.str + `
1210
1210
  `;
1211
1211
  return l.replace(/\n$/, "");
1212
1212
  }
1213
- var Ci = wi, Si = [
1213
+ var _i = Si, Ii = [
1214
1214
  "kind",
1215
1215
  "multi",
1216
1216
  "resolve",
@@ -1221,12 +1221,12 @@ var Ci = wi, Si = [
1221
1221
  "representName",
1222
1222
  "defaultStyle",
1223
1223
  "styleAliases"
1224
- ], _i = [
1224
+ ], xi = [
1225
1225
  "scalar",
1226
1226
  "sequence",
1227
1227
  "mapping"
1228
1228
  ];
1229
- function Ii(e) {
1229
+ function Ai(e) {
1230
1230
  var t = {};
1231
1231
  return e !== null && Object.keys(e).forEach(function(n) {
1232
1232
  e[n].forEach(function(a) {
@@ -1234,19 +1234,19 @@ function Ii(e) {
1234
1234
  });
1235
1235
  }), t;
1236
1236
  }
1237
- function xi(e, t) {
1237
+ function ji(e, t) {
1238
1238
  if (t = t || {}, Object.keys(t).forEach(function(n) {
1239
- if (Si.indexOf(n) === -1)
1239
+ if (Ii.indexOf(n) === -1)
1240
1240
  throw new se('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
1241
1241
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1242
1242
  return !0;
1243
1243
  }, this.construct = t.construct || function(n) {
1244
1244
  return n;
1245
- }, 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 = Ii(t.styleAliases || null), _i.indexOf(this.kind) === -1)
1245
+ }, 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 = Ai(t.styleAliases || null), xi.indexOf(this.kind) === -1)
1246
1246
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1247
1247
  }
1248
- var re = xi;
1249
- function Nt(e, t) {
1248
+ var re = ji;
1249
+ function qt(e, t) {
1250
1250
  var n = [];
1251
1251
  return e[t].forEach(function(a) {
1252
1252
  var i = n.length;
@@ -1255,7 +1255,7 @@ function Nt(e, t) {
1255
1255
  }), n[i] = a;
1256
1256
  }), n;
1257
1257
  }
1258
- function Ai() {
1258
+ function $i() {
1259
1259
  var e = {
1260
1260
  scalar: {},
1261
1261
  sequence: {},
@@ -1275,10 +1275,10 @@ function Ai() {
1275
1275
  arguments[t].forEach(a);
1276
1276
  return e;
1277
1277
  }
1278
- function dt(e) {
1278
+ function ft(e) {
1279
1279
  return this.extend(e);
1280
1280
  }
1281
- dt.prototype.extend = function(e) {
1281
+ ft.prototype.extend = function(e) {
1282
1282
  var t = [], n = [];
1283
1283
  if (e instanceof re)
1284
1284
  n.push(e);
@@ -1299,48 +1299,48 @@ dt.prototype.extend = function(e) {
1299
1299
  if (!(i instanceof re))
1300
1300
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1301
1301
  });
1302
- var a = Object.create(dt.prototype);
1303
- return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(n), a.compiledImplicit = Nt(a, "implicit"), a.compiledExplicit = Nt(a, "explicit"), a.compiledTypeMap = Ai(a.compiledImplicit, a.compiledExplicit), a;
1302
+ var a = Object.create(ft.prototype);
1303
+ return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(n), a.compiledImplicit = qt(a, "implicit"), a.compiledExplicit = qt(a, "explicit"), a.compiledTypeMap = $i(a.compiledImplicit, a.compiledExplicit), a;
1304
1304
  };
1305
- var pn = dt, fn = new re("tag:yaml.org,2002:str", {
1305
+ var yn = ft, mn = new re("tag:yaml.org,2002:str", {
1306
1306
  kind: "scalar",
1307
1307
  construct: function(e) {
1308
1308
  return e !== null ? e : "";
1309
1309
  }
1310
- }), yn = new re("tag:yaml.org,2002:seq", {
1310
+ }), gn = new re("tag:yaml.org,2002:seq", {
1311
1311
  kind: "sequence",
1312
1312
  construct: function(e) {
1313
1313
  return e !== null ? e : [];
1314
1314
  }
1315
- }), mn = new re("tag:yaml.org,2002:map", {
1315
+ }), hn = new re("tag:yaml.org,2002:map", {
1316
1316
  kind: "mapping",
1317
1317
  construct: function(e) {
1318
1318
  return e !== null ? e : {};
1319
1319
  }
1320
- }), gn = new pn({
1320
+ }), vn = new yn({
1321
1321
  explicit: [
1322
- fn,
1323
- yn,
1324
- mn
1322
+ mn,
1323
+ gn,
1324
+ hn
1325
1325
  ]
1326
1326
  });
1327
- function ji(e) {
1327
+ function Ti(e) {
1328
1328
  if (e === null)
1329
1329
  return !0;
1330
1330
  var t = e.length;
1331
1331
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1332
1332
  }
1333
- function Ti() {
1333
+ function Ki() {
1334
1334
  return null;
1335
1335
  }
1336
- function $i(e) {
1336
+ function Oi(e) {
1337
1337
  return e === null;
1338
1338
  }
1339
- var hn = new re("tag:yaml.org,2002:null", {
1339
+ var kn = new re("tag:yaml.org,2002:null", {
1340
1340
  kind: "scalar",
1341
- resolve: ji,
1342
- construct: Ti,
1343
- predicate: $i,
1341
+ resolve: Ti,
1342
+ construct: Ki,
1343
+ predicate: Oi,
1344
1344
  represent: {
1345
1345
  canonical: function() {
1346
1346
  return "~";
@@ -1360,23 +1360,23 @@ var hn = new re("tag:yaml.org,2002:null", {
1360
1360
  },
1361
1361
  defaultStyle: "lowercase"
1362
1362
  });
1363
- function Oi(e) {
1363
+ function Mi(e) {
1364
1364
  if (e === null)
1365
1365
  return !1;
1366
1366
  var t = e.length;
1367
1367
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1368
1368
  }
1369
- function Ki(e) {
1369
+ function Ei(e) {
1370
1370
  return e === "true" || e === "True" || e === "TRUE";
1371
1371
  }
1372
- function Mi(e) {
1372
+ function Ni(e) {
1373
1373
  return Object.prototype.toString.call(e) === "[object Boolean]";
1374
1374
  }
1375
- var vn = new re("tag:yaml.org,2002:bool", {
1375
+ var bn = new re("tag:yaml.org,2002:bool", {
1376
1376
  kind: "scalar",
1377
- resolve: Oi,
1378
- construct: Ki,
1379
- predicate: Mi,
1377
+ resolve: Mi,
1378
+ construct: Ei,
1379
+ predicate: Ni,
1380
1380
  represent: {
1381
1381
  lowercase: function(e) {
1382
1382
  return e ? "true" : "false";
@@ -1390,16 +1390,16 @@ var vn = new re("tag:yaml.org,2002:bool", {
1390
1390
  },
1391
1391
  defaultStyle: "lowercase"
1392
1392
  });
1393
- function Ei(e) {
1393
+ function Fi(e) {
1394
1394
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1395
1395
  }
1396
- function Ni(e) {
1396
+ function qi(e) {
1397
1397
  return 48 <= e && e <= 55;
1398
1398
  }
1399
- function Fi(e) {
1399
+ function Li(e) {
1400
1400
  return 48 <= e && e <= 57;
1401
1401
  }
1402
- function qi(e) {
1402
+ function Bi(e) {
1403
1403
  if (e === null)
1404
1404
  return !1;
1405
1405
  var t = e.length, n = 0, a = !1, i;
@@ -1420,7 +1420,7 @@ function qi(e) {
1420
1420
  if (i === "x") {
1421
1421
  for (n++; n < t; n++)
1422
1422
  if (i = e[n], i !== "_") {
1423
- if (!Ei(e.charCodeAt(n)))
1423
+ if (!Fi(e.charCodeAt(n)))
1424
1424
  return !1;
1425
1425
  a = !0;
1426
1426
  }
@@ -1429,7 +1429,7 @@ function qi(e) {
1429
1429
  if (i === "o") {
1430
1430
  for (n++; n < t; n++)
1431
1431
  if (i = e[n], i !== "_") {
1432
- if (!Ni(e.charCodeAt(n)))
1432
+ if (!qi(e.charCodeAt(n)))
1433
1433
  return !1;
1434
1434
  a = !0;
1435
1435
  }
@@ -1440,13 +1440,13 @@ function qi(e) {
1440
1440
  return !1;
1441
1441
  for (; n < t; n++)
1442
1442
  if (i = e[n], i !== "_") {
1443
- if (!Fi(e.charCodeAt(n)))
1443
+ if (!Li(e.charCodeAt(n)))
1444
1444
  return !1;
1445
1445
  a = !0;
1446
1446
  }
1447
1447
  return !(!a || i === "_");
1448
1448
  }
1449
- function Li(e) {
1449
+ function Ui(e) {
1450
1450
  var t = e, n = 1, a;
1451
1451
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), a = t[0], (a === "-" || a === "+") && (a === "-" && (n = -1), t = t.slice(1), a = t[0]), t === "0")
1452
1452
  return 0;
@@ -1460,14 +1460,14 @@ function Li(e) {
1460
1460
  }
1461
1461
  return n * parseInt(t, 10);
1462
1462
  }
1463
- function Bi(e) {
1463
+ function Ri(e) {
1464
1464
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ae.isNegativeZero(e);
1465
1465
  }
1466
- var kn = new re("tag:yaml.org,2002:int", {
1466
+ var wn = new re("tag:yaml.org,2002:int", {
1467
1467
  kind: "scalar",
1468
- resolve: qi,
1469
- construct: Li,
1470
- predicate: Bi,
1468
+ resolve: Bi,
1469
+ construct: Ui,
1470
+ predicate: Ri,
1471
1471
  represent: {
1472
1472
  binary: function(e) {
1473
1473
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1490,21 +1490,21 @@ var kn = new re("tag:yaml.org,2002:int", {
1490
1490
  decimal: [10, "dec"],
1491
1491
  hexadecimal: [16, "hex"]
1492
1492
  }
1493
- }), Ui = new RegExp(
1493
+ }), Vi = new RegExp(
1494
1494
  // 2.5e4, 2.5 and integers
1495
1495
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1496
1496
  );
1497
- function Ri(e) {
1498
- return !(e === null || !Ui.test(e) || // Quick hack to not allow integers end with `_`
1497
+ function Di(e) {
1498
+ return !(e === null || !Vi.test(e) || // Quick hack to not allow integers end with `_`
1499
1499
  // Probably should update regexp & check speed
1500
1500
  e[e.length - 1] === "_");
1501
1501
  }
1502
- function Vi(e) {
1502
+ function Pi(e) {
1503
1503
  var t, n;
1504
1504
  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);
1505
1505
  }
1506
- var Pi = /^[-+]?[0-9]+e/;
1507
- function Di(e, t) {
1506
+ var zi = /^[-+]?[0-9]+e/;
1507
+ function Ji(e, t) {
1508
1508
  var n;
1509
1509
  if (isNaN(e))
1510
1510
  switch (t) {
@@ -1535,36 +1535,36 @@ function Di(e, t) {
1535
1535
  }
1536
1536
  else if (ae.isNegativeZero(e))
1537
1537
  return "-0.0";
1538
- return n = e.toString(10), Pi.test(n) ? n.replace("e", ".e") : n;
1538
+ return n = e.toString(10), zi.test(n) ? n.replace("e", ".e") : n;
1539
1539
  }
1540
- function zi(e) {
1540
+ function Hi(e) {
1541
1541
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ae.isNegativeZero(e));
1542
1542
  }
1543
- var bn = new re("tag:yaml.org,2002:float", {
1543
+ var Cn = new re("tag:yaml.org,2002:float", {
1544
1544
  kind: "scalar",
1545
- resolve: Ri,
1546
- construct: Vi,
1547
- predicate: zi,
1548
- represent: Di,
1545
+ resolve: Di,
1546
+ construct: Pi,
1547
+ predicate: Hi,
1548
+ represent: Ji,
1549
1549
  defaultStyle: "lowercase"
1550
- }), wn = gn.extend({
1550
+ }), Sn = vn.extend({
1551
1551
  implicit: [
1552
- hn,
1553
- vn,
1554
1552
  kn,
1555
- bn
1553
+ bn,
1554
+ wn,
1555
+ Cn
1556
1556
  ]
1557
- }), Cn = wn, Sn = new RegExp(
1557
+ }), _n = Sn, In = new RegExp(
1558
1558
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1559
- ), _n = new RegExp(
1559
+ ), xn = new RegExp(
1560
1560
  "^([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]))?))?$"
1561
1561
  );
1562
- function Ji(e) {
1563
- return e === null ? !1 : Sn.exec(e) !== null || _n.exec(e) !== null;
1562
+ function Wi(e) {
1563
+ return e === null ? !1 : In.exec(e) !== null || xn.exec(e) !== null;
1564
1564
  }
1565
- function Hi(e) {
1565
+ function Yi(e) {
1566
1566
  var t, n, a, i, r, o, l, c = 0, d = null, s, u, h;
1567
- if (t = Sn.exec(e), t === null && (t = _n.exec(e)), t === null)
1567
+ if (t = In.exec(e), t === null && (t = xn.exec(e)), t === null)
1568
1568
  throw new Error("Date resolve error");
1569
1569
  if (n = +t[1], a = +t[2] - 1, i = +t[3], !t[4])
1570
1570
  return new Date(Date.UTC(n, a, i));
@@ -1575,28 +1575,28 @@ function Hi(e) {
1575
1575
  }
1576
1576
  return t[9] && (s = +t[10], u = +(t[11] || 0), d = (s * 60 + u) * 6e4, t[9] === "-" && (d = -d)), h = new Date(Date.UTC(n, a, i, r, o, l, c)), d && h.setTime(h.getTime() - d), h;
1577
1577
  }
1578
- function Wi(e) {
1578
+ function Zi(e) {
1579
1579
  return e.toISOString();
1580
1580
  }
1581
- var In = new re("tag:yaml.org,2002:timestamp", {
1581
+ var An = new re("tag:yaml.org,2002:timestamp", {
1582
1582
  kind: "scalar",
1583
- resolve: Ji,
1584
- construct: Hi,
1583
+ resolve: Wi,
1584
+ construct: Yi,
1585
1585
  instanceOf: Date,
1586
- represent: Wi
1586
+ represent: Zi
1587
1587
  });
1588
- function Yi(e) {
1588
+ function Gi(e) {
1589
1589
  return e === "<<" || e === null;
1590
1590
  }
1591
- var xn = new re("tag:yaml.org,2002:merge", {
1591
+ var jn = new re("tag:yaml.org,2002:merge", {
1592
1592
  kind: "scalar",
1593
- resolve: Yi
1594
- }), bt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1593
+ resolve: Gi
1594
+ }), Ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1595
1595
  \r`;
1596
- function Zi(e) {
1596
+ function Qi(e) {
1597
1597
  if (e === null)
1598
1598
  return !1;
1599
- var t, n, a = 0, i = e.length, r = bt;
1599
+ var t, n, a = 0, i = e.length, r = Ct;
1600
1600
  for (n = 0; n < i; n++)
1601
1601
  if (t = r.indexOf(e.charAt(n)), !(t > 64)) {
1602
1602
  if (t < 0)
@@ -1605,37 +1605,37 @@ function Zi(e) {
1605
1605
  }
1606
1606
  return a % 8 === 0;
1607
1607
  }
1608
- function Gi(e) {
1609
- var t, n, a = e.replace(/[\r\n=]/g, ""), i = a.length, r = bt, o = 0, l = [];
1608
+ function Xi(e) {
1609
+ var t, n, a = e.replace(/[\r\n=]/g, ""), i = a.length, r = Ct, o = 0, l = [];
1610
1610
  for (t = 0; t < i; t++)
1611
1611
  t % 4 === 0 && t && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | r.indexOf(a.charAt(t));
1612
1612
  return n = i % 4 * 6, n === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : n === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : n === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
1613
1613
  }
1614
- function Qi(e) {
1615
- var t = "", n = 0, a, i, r = e.length, o = bt;
1614
+ function er(e) {
1615
+ var t = "", n = 0, a, i, r = e.length, o = Ct;
1616
1616
  for (a = 0; a < r; a++)
1617
1617
  a % 3 === 0 && a && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[a];
1618
1618
  return i = r % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
1619
1619
  }
1620
- function Xi(e) {
1620
+ function tr(e) {
1621
1621
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1622
1622
  }
1623
- var An = new re("tag:yaml.org,2002:binary", {
1623
+ var $n = new re("tag:yaml.org,2002:binary", {
1624
1624
  kind: "scalar",
1625
- resolve: Zi,
1626
- construct: Gi,
1627
- predicate: Xi,
1628
- represent: Qi
1629
- }), er = Object.prototype.hasOwnProperty, tr = Object.prototype.toString;
1630
- function nr(e) {
1625
+ resolve: Qi,
1626
+ construct: Xi,
1627
+ predicate: tr,
1628
+ represent: er
1629
+ }), nr = Object.prototype.hasOwnProperty, ar = Object.prototype.toString;
1630
+ function ir(e) {
1631
1631
  if (e === null)
1632
1632
  return !0;
1633
1633
  var t = [], n, a, i, r, o, l = e;
1634
1634
  for (n = 0, a = l.length; n < a; n += 1) {
1635
- if (i = l[n], o = !1, tr.call(i) !== "[object Object]")
1635
+ if (i = l[n], o = !1, ar.call(i) !== "[object Object]")
1636
1636
  return !1;
1637
1637
  for (r in i)
1638
- if (er.call(i, r))
1638
+ if (nr.call(i, r))
1639
1639
  if (!o)
1640
1640
  o = !0;
1641
1641
  else
@@ -1649,26 +1649,26 @@ function nr(e) {
1649
1649
  }
1650
1650
  return !0;
1651
1651
  }
1652
- function ar(e) {
1652
+ function rr(e) {
1653
1653
  return e !== null ? e : [];
1654
1654
  }
1655
- var jn = new re("tag:yaml.org,2002:omap", {
1655
+ var Tn = new re("tag:yaml.org,2002:omap", {
1656
1656
  kind: "sequence",
1657
- resolve: nr,
1658
- construct: ar
1659
- }), ir = Object.prototype.toString;
1660
- function rr(e) {
1657
+ resolve: ir,
1658
+ construct: rr
1659
+ }), or = Object.prototype.toString;
1660
+ function lr(e) {
1661
1661
  if (e === null)
1662
1662
  return !0;
1663
1663
  var t, n, a, i, r, o = e;
1664
1664
  for (r = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
1665
- if (a = o[t], ir.call(a) !== "[object Object]" || (i = Object.keys(a), i.length !== 1))
1665
+ if (a = o[t], or.call(a) !== "[object Object]" || (i = Object.keys(a), i.length !== 1))
1666
1666
  return !1;
1667
1667
  r[t] = [i[0], a[i[0]]];
1668
1668
  }
1669
1669
  return !0;
1670
1670
  }
1671
- function or(e) {
1671
+ function sr(e) {
1672
1672
  if (e === null)
1673
1673
  return [];
1674
1674
  var t, n, a, i, r, o = e;
@@ -1676,81 +1676,81 @@ function or(e) {
1676
1676
  a = o[t], i = Object.keys(a), r[t] = [i[0], a[i[0]]];
1677
1677
  return r;
1678
1678
  }
1679
- var Tn = new re("tag:yaml.org,2002:pairs", {
1679
+ var Kn = new re("tag:yaml.org,2002:pairs", {
1680
1680
  kind: "sequence",
1681
- resolve: rr,
1682
- construct: or
1683
- }), lr = Object.prototype.hasOwnProperty;
1684
- function sr(e) {
1681
+ resolve: lr,
1682
+ construct: sr
1683
+ }), cr = Object.prototype.hasOwnProperty;
1684
+ function ur(e) {
1685
1685
  if (e === null)
1686
1686
  return !0;
1687
1687
  var t, n = e;
1688
1688
  for (t in n)
1689
- if (lr.call(n, t) && n[t] !== null)
1689
+ if (cr.call(n, t) && n[t] !== null)
1690
1690
  return !1;
1691
1691
  return !0;
1692
1692
  }
1693
- function cr(e) {
1693
+ function dr(e) {
1694
1694
  return e !== null ? e : {};
1695
1695
  }
1696
- var $n = new re("tag:yaml.org,2002:set", {
1696
+ var On = new re("tag:yaml.org,2002:set", {
1697
1697
  kind: "mapping",
1698
- resolve: sr,
1699
- construct: cr
1700
- }), wt = Cn.extend({
1698
+ resolve: ur,
1699
+ construct: dr
1700
+ }), St = _n.extend({
1701
1701
  implicit: [
1702
- In,
1703
- xn
1702
+ An,
1703
+ jn
1704
1704
  ],
1705
1705
  explicit: [
1706
- An,
1707
- jn,
1706
+ $n,
1708
1707
  Tn,
1709
- $n
1708
+ Kn,
1709
+ On
1710
1710
  ]
1711
- }), Ie = Object.prototype.hasOwnProperty, We = 1, On = 2, Kn = 3, Ye = 4, ct = 1, ur = 2, Ft = 3, dr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, pr = /[\x85\u2028\u2029]/, fr = /[,\[\]\{\}]/, Mn = /^(?:!|!!|![a-z\-]+!)$/i, En = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1712
- function qt(e) {
1711
+ }), Ae = Object.prototype.hasOwnProperty, Ze = 1, Mn = 2, En = 3, Ge = 4, dt = 1, pr = 2, Lt = 3, fr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, yr = /[\x85\u2028\u2029]/, mr = /[,\[\]\{\}]/, Nn = /^(?:!|!!|![a-z\-]+!)$/i, Fn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1712
+ function Bt(e) {
1713
1713
  return Object.prototype.toString.call(e);
1714
1714
  }
1715
1715
  function ve(e) {
1716
1716
  return e === 10 || e === 13;
1717
1717
  }
1718
- function $e(e) {
1718
+ function Oe(e) {
1719
1719
  return e === 9 || e === 32;
1720
1720
  }
1721
1721
  function de(e) {
1722
1722
  return e === 9 || e === 32 || e === 10 || e === 13;
1723
1723
  }
1724
- function Fe(e) {
1724
+ function Le(e) {
1725
1725
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1726
1726
  }
1727
- function yr(e) {
1727
+ function gr(e) {
1728
1728
  var t;
1729
1729
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1730
1730
  }
1731
- function mr(e) {
1731
+ function hr(e) {
1732
1732
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1733
1733
  }
1734
- function gr(e) {
1734
+ function vr(e) {
1735
1735
  return 48 <= e && e <= 57 ? e - 48 : -1;
1736
1736
  }
1737
- function Lt(e) {
1737
+ function Ut(e) {
1738
1738
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1739
1739
  ` : 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" : "";
1740
1740
  }
1741
- function hr(e) {
1741
+ function kr(e) {
1742
1742
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1743
1743
  (e - 65536 >> 10) + 55296,
1744
1744
  (e - 65536 & 1023) + 56320
1745
1745
  );
1746
1746
  }
1747
- var Nn = new Array(256), Fn = new Array(256);
1748
- for (var Ee = 0; Ee < 256; Ee++)
1749
- Nn[Ee] = Lt(Ee) ? 1 : 0, Fn[Ee] = Lt(Ee);
1750
- function vr(e, t) {
1751
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || wt, 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 = [];
1747
+ var qn = new Array(256), Ln = new Array(256);
1748
+ for (var Fe = 0; Fe < 256; Fe++)
1749
+ qn[Fe] = Ut(Fe) ? 1 : 0, Ln[Fe] = Ut(Fe);
1750
+ function br(e, t) {
1751
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || St, 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 = [];
1752
1752
  }
1753
- function qn(e, t) {
1753
+ function Bn(e, t) {
1754
1754
  var n = {
1755
1755
  name: e.filename,
1756
1756
  buffer: e.input.slice(0, -1),
@@ -1759,59 +1759,59 @@ function qn(e, t) {
1759
1759
  line: e.line,
1760
1760
  column: e.position - e.lineStart
1761
1761
  };
1762
- return n.snippet = Ci(n), new se(t, n);
1762
+ return n.snippet = _i(n), new se(t, n);
1763
1763
  }
1764
- function $(e, t) {
1765
- throw qn(e, t);
1764
+ function T(e, t) {
1765
+ throw Bn(e, t);
1766
1766
  }
1767
- function Ze(e, t) {
1768
- e.onWarning && e.onWarning.call(null, qn(e, t));
1767
+ function Qe(e, t) {
1768
+ e.onWarning && e.onWarning.call(null, Bn(e, t));
1769
1769
  }
1770
- var Bt = {
1770
+ var Rt = {
1771
1771
  YAML: function(e, t, n) {
1772
1772
  var a, i, r;
1773
- e.version !== null && $(e, "duplication of %YAML directive"), n.length !== 1 && $(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), a === null && $(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), r = parseInt(a[2], 10), i !== 1 && $(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = r < 2, r !== 1 && r !== 2 && Ze(e, "unsupported YAML version of the document");
1773
+ e.version !== null && T(e, "duplication of %YAML directive"), n.length !== 1 && T(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), a === null && T(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), r = parseInt(a[2], 10), i !== 1 && T(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = r < 2, r !== 1 && r !== 2 && Qe(e, "unsupported YAML version of the document");
1774
1774
  },
1775
1775
  TAG: function(e, t, n) {
1776
1776
  var a, i;
1777
- n.length !== 2 && $(e, "TAG directive accepts exactly two arguments"), a = n[0], i = n[1], Mn.test(a) || $(e, "ill-formed tag handle (first argument) of the TAG directive"), Ie.call(e.tagMap, a) && $(e, 'there is a previously declared suffix for "' + a + '" tag handle'), En.test(i) || $(e, "ill-formed tag prefix (second argument) of the TAG directive");
1777
+ n.length !== 2 && T(e, "TAG directive accepts exactly two arguments"), a = n[0], i = n[1], Nn.test(a) || T(e, "ill-formed tag handle (first argument) of the TAG directive"), Ae.call(e.tagMap, a) && T(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Fn.test(i) || T(e, "ill-formed tag prefix (second argument) of the TAG directive");
1778
1778
  try {
1779
1779
  i = decodeURIComponent(i);
1780
1780
  } catch {
1781
- $(e, "tag prefix is malformed: " + i);
1781
+ T(e, "tag prefix is malformed: " + i);
1782
1782
  }
1783
1783
  e.tagMap[a] = i;
1784
1784
  }
1785
1785
  };
1786
- function Se(e, t, n, a) {
1786
+ function Ie(e, t, n, a) {
1787
1787
  var i, r, o, l;
1788
1788
  if (t < n) {
1789
1789
  if (l = e.input.slice(t, n), a)
1790
1790
  for (i = 0, r = l.length; i < r; i += 1)
1791
- o = l.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || $(e, "expected valid JSON character");
1791
+ o = l.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || T(e, "expected valid JSON character");
1792
1792
  else
1793
- dr.test(l) && $(e, "the stream contains non-printable characters");
1793
+ fr.test(l) && T(e, "the stream contains non-printable characters");
1794
1794
  e.result += l;
1795
1795
  }
1796
1796
  }
1797
- function Ut(e, t, n, a) {
1797
+ function Vt(e, t, n, a) {
1798
1798
  var i, r, o, l;
1799
- for (ae.isObject(n) || $(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, l = i.length; o < l; o += 1)
1800
- r = i[o], Ie.call(t, r) || (t[r] = n[r], a[r] = !0);
1799
+ for (ae.isObject(n) || T(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, l = i.length; o < l; o += 1)
1800
+ r = i[o], Ae.call(t, r) || (t[r] = n[r], a[r] = !0);
1801
1801
  }
1802
- function qe(e, t, n, a, i, r, o, l, c) {
1802
+ function Be(e, t, n, a, i, r, o, l, c) {
1803
1803
  var d, s;
1804
1804
  if (Array.isArray(i))
1805
1805
  for (i = Array.prototype.slice.call(i), d = 0, s = i.length; d < s; d += 1)
1806
- Array.isArray(i[d]) && $(e, "nested arrays are not supported inside keys"), typeof i == "object" && qt(i[d]) === "[object Object]" && (i[d] = "[object Object]");
1807
- if (typeof i == "object" && qt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), a === "tag:yaml.org,2002:merge")
1806
+ Array.isArray(i[d]) && T(e, "nested arrays are not supported inside keys"), typeof i == "object" && Bt(i[d]) === "[object Object]" && (i[d] = "[object Object]");
1807
+ if (typeof i == "object" && Bt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), a === "tag:yaml.org,2002:merge")
1808
1808
  if (Array.isArray(r))
1809
1809
  for (d = 0, s = r.length; d < s; d += 1)
1810
- Ut(e, t, r[d], n);
1810
+ Vt(e, t, r[d], n);
1811
1811
  else
1812
- Ut(e, t, r, n);
1812
+ Vt(e, t, r, n);
1813
1813
  else
1814
- !e.json && !Ie.call(n, i) && Ie.call(t, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = c || e.position, $(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1814
+ !e.json && !Ae.call(n, i) && Ae.call(t, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = c || e.position, T(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
1815
1815
  configurable: !0,
1816
1816
  enumerable: !0,
1817
1817
  writable: !0,
@@ -1819,47 +1819,47 @@ function qe(e, t, n, a, i, r, o, l, c) {
1819
1819
  }) : t[i] = r, delete n[i];
1820
1820
  return t;
1821
1821
  }
1822
- function Ct(e) {
1822
+ function _t(e) {
1823
1823
  var t;
1824
- t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : $(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1824
+ t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : T(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1825
1825
  }
1826
1826
  function ne(e, t, n) {
1827
1827
  for (var a = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1828
- for (; $e(i); )
1828
+ for (; Oe(i); )
1829
1829
  i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1830
1830
  if (t && i === 35)
1831
1831
  do
1832
1832
  i = e.input.charCodeAt(++e.position);
1833
1833
  while (i !== 10 && i !== 13 && i !== 0);
1834
1834
  if (ve(i))
1835
- for (Ct(e), i = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; i === 32; )
1835
+ for (_t(e), i = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; i === 32; )
1836
1836
  e.lineIndent++, i = e.input.charCodeAt(++e.position);
1837
1837
  else
1838
1838
  break;
1839
1839
  }
1840
- return n !== -1 && a !== 0 && e.lineIndent < n && Ze(e, "deficient indentation"), a;
1840
+ return n !== -1 && a !== 0 && e.lineIndent < n && Qe(e, "deficient indentation"), a;
1841
1841
  }
1842
- function it(e) {
1842
+ function ot(e) {
1843
1843
  var t = e.position, n;
1844
1844
  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 || de(n)));
1845
1845
  }
1846
- function St(e, t) {
1846
+ function It(e, t) {
1847
1847
  t === 1 ? e.result += " " : t > 1 && (e.result += ae.repeat(`
1848
1848
  `, t - 1));
1849
1849
  }
1850
- function kr(e, t, n) {
1850
+ function wr(e, t, n) {
1851
1851
  var a, i, r, o, l, c, d, s, u = e.kind, h = e.result, f;
1852
- if (f = e.input.charCodeAt(e.position), de(f) || Fe(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), de(i) || n && Fe(i)))
1852
+ if (f = e.input.charCodeAt(e.position), de(f) || Le(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), de(i) || n && Le(i)))
1853
1853
  return !1;
1854
1854
  for (e.kind = "scalar", e.result = "", r = o = e.position, l = !1; f !== 0; ) {
1855
1855
  if (f === 58) {
1856
- if (i = e.input.charCodeAt(e.position + 1), de(i) || n && Fe(i))
1856
+ if (i = e.input.charCodeAt(e.position + 1), de(i) || n && Le(i))
1857
1857
  break;
1858
1858
  } else if (f === 35) {
1859
1859
  if (a = e.input.charCodeAt(e.position - 1), de(a))
1860
1860
  break;
1861
1861
  } else {
1862
- if (e.position === e.lineStart && it(e) || n && Fe(f))
1862
+ if (e.position === e.lineStart && ot(e) || n && Le(f))
1863
1863
  break;
1864
1864
  if (ve(f))
1865
1865
  if (c = e.line, d = e.lineStart, s = e.lineIndent, ne(e, !1, -1), e.lineIndent >= t) {
@@ -1870,49 +1870,49 @@ function kr(e, t, n) {
1870
1870
  break;
1871
1871
  }
1872
1872
  }
1873
- l && (Se(e, r, o, !1), St(e, e.line - c), r = o = e.position, l = !1), $e(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1873
+ l && (Ie(e, r, o, !1), It(e, e.line - c), r = o = e.position, l = !1), Oe(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1874
1874
  }
1875
- return Se(e, r, o, !1), e.result ? !0 : (e.kind = u, e.result = h, !1);
1875
+ return Ie(e, r, o, !1), e.result ? !0 : (e.kind = u, e.result = h, !1);
1876
1876
  }
1877
- function br(e, t) {
1877
+ function Cr(e, t) {
1878
1878
  var n, a, i;
1879
1879
  if (n = e.input.charCodeAt(e.position), n !== 39)
1880
1880
  return !1;
1881
1881
  for (e.kind = "scalar", e.result = "", e.position++, a = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1882
1882
  if (n === 39)
1883
- if (Se(e, a, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1883
+ if (Ie(e, a, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1884
1884
  a = e.position, e.position++, i = e.position;
1885
1885
  else
1886
1886
  return !0;
1887
1887
  else
1888
- ve(n) ? (Se(e, a, i, !0), St(e, ne(e, !1, t)), a = i = e.position) : e.position === e.lineStart && it(e) ? $(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1889
- $(e, "unexpected end of the stream within a single quoted scalar");
1888
+ ve(n) ? (Ie(e, a, i, !0), It(e, ne(e, !1, t)), a = i = e.position) : e.position === e.lineStart && ot(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1889
+ T(e, "unexpected end of the stream within a single quoted scalar");
1890
1890
  }
1891
- function wr(e, t) {
1891
+ function Sr(e, t) {
1892
1892
  var n, a, i, r, o, l;
1893
1893
  if (l = e.input.charCodeAt(e.position), l !== 34)
1894
1894
  return !1;
1895
1895
  for (e.kind = "scalar", e.result = "", e.position++, n = a = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1896
1896
  if (l === 34)
1897
- return Se(e, n, e.position, !0), e.position++, !0;
1897
+ return Ie(e, n, e.position, !0), e.position++, !0;
1898
1898
  if (l === 92) {
1899
- if (Se(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), ve(l))
1899
+ if (Ie(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), ve(l))
1900
1900
  ne(e, !1, t);
1901
- else if (l < 256 && Nn[l])
1902
- e.result += Fn[l], e.position++;
1903
- else if ((o = mr(l)) > 0) {
1901
+ else if (l < 256 && qn[l])
1902
+ e.result += Ln[l], e.position++;
1903
+ else if ((o = hr(l)) > 0) {
1904
1904
  for (i = o, r = 0; i > 0; i--)
1905
- l = e.input.charCodeAt(++e.position), (o = yr(l)) >= 0 ? r = (r << 4) + o : $(e, "expected hexadecimal character");
1906
- e.result += hr(r), e.position++;
1905
+ l = e.input.charCodeAt(++e.position), (o = gr(l)) >= 0 ? r = (r << 4) + o : T(e, "expected hexadecimal character");
1906
+ e.result += kr(r), e.position++;
1907
1907
  } else
1908
- $(e, "unknown escape sequence");
1908
+ T(e, "unknown escape sequence");
1909
1909
  n = a = e.position;
1910
1910
  } else
1911
- ve(l) ? (Se(e, n, a, !0), St(e, ne(e, !1, t)), n = a = e.position) : e.position === e.lineStart && it(e) ? $(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1911
+ ve(l) ? (Ie(e, n, a, !0), It(e, ne(e, !1, t)), n = a = e.position) : e.position === e.lineStart && ot(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1912
1912
  }
1913
- $(e, "unexpected end of the stream within a double quoted scalar");
1913
+ T(e, "unexpected end of the stream within a double quoted scalar");
1914
1914
  }
1915
- function Cr(e, t) {
1915
+ function _r(e, t) {
1916
1916
  var n = !0, a, i, r, o = e.tag, l, c = e.anchor, d, s, u, h, f, S = /* @__PURE__ */ Object.create(null), C, I, U, b;
1917
1917
  if (b = e.input.charCodeAt(e.position), b === 91)
1918
1918
  s = 93, f = !1, l = [];
@@ -1923,12 +1923,12 @@ function Cr(e, t) {
1923
1923
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), b = e.input.charCodeAt(++e.position); b !== 0; ) {
1924
1924
  if (ne(e, !0, t), b = e.input.charCodeAt(e.position), b === s)
1925
1925
  return e.position++, e.tag = o, e.anchor = c, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1926
- n ? b === 44 && $(e, "expected the node content, but found ','") : $(e, "missed comma between flow collection entries"), I = C = U = null, u = h = !1, b === 63 && (d = e.input.charCodeAt(e.position + 1), de(d) && (u = h = !0, e.position++, ne(e, !0, t))), a = e.line, i = e.lineStart, r = e.position, Le(e, t, We, !1, !0), I = e.tag, C = e.result, ne(e, !0, t), b = e.input.charCodeAt(e.position), (h || e.line === a) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), ne(e, !0, t), Le(e, t, We, !1, !0), U = e.result), f ? qe(e, l, S, I, C, U, a, i, r) : u ? l.push(qe(e, null, S, I, C, U, a, i, r)) : l.push(C), ne(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
1926
+ n ? b === 44 && T(e, "expected the node content, but found ','") : T(e, "missed comma between flow collection entries"), I = C = U = null, u = h = !1, b === 63 && (d = e.input.charCodeAt(e.position + 1), de(d) && (u = h = !0, e.position++, ne(e, !0, t))), a = e.line, i = e.lineStart, r = e.position, Ue(e, t, Ze, !1, !0), I = e.tag, C = e.result, ne(e, !0, t), b = e.input.charCodeAt(e.position), (h || e.line === a) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), ne(e, !0, t), Ue(e, t, Ze, !1, !0), U = e.result), f ? Be(e, l, S, I, C, U, a, i, r) : u ? l.push(Be(e, null, S, I, C, U, a, i, r)) : l.push(C), ne(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
1927
1927
  }
1928
- $(e, "unexpected end of the stream within a flow collection");
1928
+ T(e, "unexpected end of the stream within a flow collection");
1929
1929
  }
1930
- function Sr(e, t) {
1931
- var n, a, i = ct, r = !1, o = !1, l = t, c = 0, d = !1, s, u;
1930
+ function Ir(e, t) {
1931
+ var n, a, i = dt, r = !1, o = !1, l = t, c = 0, d = !1, s, u;
1932
1932
  if (u = e.input.charCodeAt(e.position), u === 124)
1933
1933
  a = !1;
1934
1934
  else if (u === 62)
@@ -1937,143 +1937,143 @@ function Sr(e, t) {
1937
1937
  return !1;
1938
1938
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1939
1939
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1940
- ct === i ? i = u === 43 ? Ft : ur : $(e, "repeat of a chomping mode identifier");
1941
- else if ((s = gr(u)) >= 0)
1942
- s === 0 ? $(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? $(e, "repeat of an indentation width identifier") : (l = t + s - 1, o = !0);
1940
+ dt === i ? i = u === 43 ? Lt : pr : T(e, "repeat of a chomping mode identifier");
1941
+ else if ((s = vr(u)) >= 0)
1942
+ s === 0 ? T(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? T(e, "repeat of an indentation width identifier") : (l = t + s - 1, o = !0);
1943
1943
  else
1944
1944
  break;
1945
- if ($e(u)) {
1945
+ if (Oe(u)) {
1946
1946
  do
1947
1947
  u = e.input.charCodeAt(++e.position);
1948
- while ($e(u));
1948
+ while (Oe(u));
1949
1949
  if (u === 35)
1950
1950
  do
1951
1951
  u = e.input.charCodeAt(++e.position);
1952
1952
  while (!ve(u) && u !== 0);
1953
1953
  }
1954
1954
  for (; u !== 0; ) {
1955
- for (Ct(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && u === 32; )
1955
+ for (_t(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && u === 32; )
1956
1956
  e.lineIndent++, u = e.input.charCodeAt(++e.position);
1957
1957
  if (!o && e.lineIndent > l && (l = e.lineIndent), ve(u)) {
1958
1958
  c++;
1959
1959
  continue;
1960
1960
  }
1961
1961
  if (e.lineIndent < l) {
1962
- i === Ft ? e.result += ae.repeat(`
1963
- `, r ? 1 + c : c) : i === ct && r && (e.result += `
1962
+ i === Lt ? e.result += ae.repeat(`
1963
+ `, r ? 1 + c : c) : i === dt && r && (e.result += `
1964
1964
  `);
1965
1965
  break;
1966
1966
  }
1967
- for (a ? $e(u) ? (d = !0, e.result += ae.repeat(`
1967
+ for (a ? Oe(u) ? (d = !0, e.result += ae.repeat(`
1968
1968
  `, r ? 1 + c : c)) : d ? (d = !1, e.result += ae.repeat(`
1969
1969
  `, c + 1)) : c === 0 ? r && (e.result += " ") : e.result += ae.repeat(`
1970
1970
  `, c) : e.result += ae.repeat(`
1971
1971
  `, r ? 1 + c : c), r = !0, o = !0, c = 0, n = e.position; !ve(u) && u !== 0; )
1972
1972
  u = e.input.charCodeAt(++e.position);
1973
- Se(e, n, e.position, !1);
1973
+ Ie(e, n, e.position, !1);
1974
1974
  }
1975
1975
  return !0;
1976
1976
  }
1977
- function Rt(e, t) {
1977
+ function Dt(e, t) {
1978
1978
  var n, a = e.tag, i = e.anchor, r = [], o, l = !1, c;
1979
1979
  if (e.firstTabInLine !== -1)
1980
1980
  return !1;
1981
- for (e.anchor !== null && (e.anchorMap[e.anchor] = r), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, $(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !de(o)))); ) {
1981
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = r), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !de(o)))); ) {
1982
1982
  if (l = !0, e.position++, ne(e, !0, -1) && e.lineIndent <= t) {
1983
1983
  r.push(null), c = e.input.charCodeAt(e.position);
1984
1984
  continue;
1985
1985
  }
1986
- if (n = e.line, Le(e, t, Kn, !1, !0), r.push(e.result), ne(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1987
- $(e, "bad indentation of a sequence entry");
1986
+ if (n = e.line, Ue(e, t, En, !1, !0), r.push(e.result), ne(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0)
1987
+ T(e, "bad indentation of a sequence entry");
1988
1988
  else if (e.lineIndent < t)
1989
1989
  break;
1990
1990
  }
1991
1991
  return l ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = r, !0) : !1;
1992
1992
  }
1993
- function _r(e, t, n) {
1993
+ function xr(e, t, n) {
1994
1994
  var a, i, r, o, l, c, d = e.tag, s = e.anchor, u = {}, h = /* @__PURE__ */ Object.create(null), f = null, S = null, C = null, I = !1, U = !1, b;
1995
1995
  if (e.firstTabInLine !== -1)
1996
1996
  return !1;
1997
1997
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
1998
- if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, $(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (b === 63 || b === 58) && de(a))
1999
- b === 63 ? (I && (qe(e, u, h, f, S, null, o, l, c), f = S = C = null), U = !0, I = !0, i = !0) : I ? (I = !1, i = !0) : $(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = a;
1998
+ if (!I && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (b === 63 || b === 58) && de(a))
1999
+ b === 63 ? (I && (Be(e, u, h, f, S, null, o, l, c), f = S = C = null), U = !0, I = !0, i = !0) : I ? (I = !1, i = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = a;
2000
2000
  else {
2001
- if (o = e.line, l = e.lineStart, c = e.position, !Le(e, n, On, !1, !0))
2001
+ if (o = e.line, l = e.lineStart, c = e.position, !Ue(e, n, Mn, !1, !0))
2002
2002
  break;
2003
2003
  if (e.line === r) {
2004
- for (b = e.input.charCodeAt(e.position); $e(b); )
2004
+ for (b = e.input.charCodeAt(e.position); Oe(b); )
2005
2005
  b = e.input.charCodeAt(++e.position);
2006
2006
  if (b === 58)
2007
- b = e.input.charCodeAt(++e.position), de(b) || $(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (qe(e, u, h, f, S, null, o, l, c), f = S = C = null), U = !0, I = !1, i = !1, f = e.tag, S = e.result;
2007
+ b = e.input.charCodeAt(++e.position), de(b) || T(e, "a whitespace character is expected after the key-value separator within a block mapping"), I && (Be(e, u, h, f, S, null, o, l, c), f = S = C = null), U = !0, I = !1, i = !1, f = e.tag, S = e.result;
2008
2008
  else if (U)
2009
- $(e, "can not read an implicit mapping pair; a colon is missed");
2009
+ T(e, "can not read an implicit mapping pair; a colon is missed");
2010
2010
  else
2011
2011
  return e.tag = d, e.anchor = s, !0;
2012
2012
  } else if (U)
2013
- $(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2013
+ T(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2014
2014
  else
2015
2015
  return e.tag = d, e.anchor = s, !0;
2016
2016
  }
2017
- if ((e.line === r || e.lineIndent > t) && (I && (o = e.line, l = e.lineStart, c = e.position), Le(e, t, Ye, !0, i) && (I ? S = e.result : C = e.result), I || (qe(e, u, h, f, S, C, o, l, c), f = S = C = null), ne(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > t) && b !== 0)
2018
- $(e, "bad indentation of a mapping entry");
2017
+ if ((e.line === r || e.lineIndent > t) && (I && (o = e.line, l = e.lineStart, c = e.position), Ue(e, t, Ge, !0, i) && (I ? S = e.result : C = e.result), I || (Be(e, u, h, f, S, C, o, l, c), f = S = C = null), ne(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > t) && b !== 0)
2018
+ T(e, "bad indentation of a mapping entry");
2019
2019
  else if (e.lineIndent < t)
2020
2020
  break;
2021
2021
  }
2022
- return I && qe(e, u, h, f, S, null, o, l, c), U && (e.tag = d, e.anchor = s, e.kind = "mapping", e.result = u), U;
2022
+ return I && Be(e, u, h, f, S, null, o, l, c), U && (e.tag = d, e.anchor = s, e.kind = "mapping", e.result = u), U;
2023
2023
  }
2024
- function Ir(e) {
2024
+ function Ar(e) {
2025
2025
  var t, n = !1, a = !1, i, r, o;
2026
2026
  if (o = e.input.charCodeAt(e.position), o !== 33)
2027
2027
  return !1;
2028
- if (e.tag !== null && $(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (a = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
2028
+ if (e.tag !== null && T(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (a = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
2029
2029
  do
2030
2030
  o = e.input.charCodeAt(++e.position);
2031
2031
  while (o !== 0 && o !== 62);
2032
- e.position < e.length ? (r = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : $(e, "unexpected end of the stream within a verbatim tag");
2032
+ e.position < e.length ? (r = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : T(e, "unexpected end of the stream within a verbatim tag");
2033
2033
  } else {
2034
2034
  for (; o !== 0 && !de(o); )
2035
- o === 33 && (a ? $(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), Mn.test(i) || $(e, "named tag handle cannot contain such characters"), a = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2036
- r = e.input.slice(t, e.position), fr.test(r) && $(e, "tag suffix cannot contain flow indicator characters");
2035
+ o === 33 && (a ? T(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), Nn.test(i) || T(e, "named tag handle cannot contain such characters"), a = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2036
+ r = e.input.slice(t, e.position), mr.test(r) && T(e, "tag suffix cannot contain flow indicator characters");
2037
2037
  }
2038
- r && !En.test(r) && $(e, "tag name cannot contain such characters: " + r);
2038
+ r && !Fn.test(r) && T(e, "tag name cannot contain such characters: " + r);
2039
2039
  try {
2040
2040
  r = decodeURIComponent(r);
2041
2041
  } catch {
2042
- $(e, "tag name is malformed: " + r);
2042
+ T(e, "tag name is malformed: " + r);
2043
2043
  }
2044
- return n ? e.tag = r : Ie.call(e.tagMap, i) ? e.tag = e.tagMap[i] + r : i === "!" ? e.tag = "!" + r : i === "!!" ? e.tag = "tag:yaml.org,2002:" + r : $(e, 'undeclared tag handle "' + i + '"'), !0;
2044
+ return n ? e.tag = r : Ae.call(e.tagMap, i) ? e.tag = e.tagMap[i] + r : i === "!" ? e.tag = "!" + r : i === "!!" ? e.tag = "tag:yaml.org,2002:" + r : T(e, 'undeclared tag handle "' + i + '"'), !0;
2045
2045
  }
2046
- function xr(e) {
2046
+ function jr(e) {
2047
2047
  var t, n;
2048
2048
  if (n = e.input.charCodeAt(e.position), n !== 38)
2049
2049
  return !1;
2050
- for (e.anchor !== null && $(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !de(n) && !Fe(n); )
2050
+ for (e.anchor !== null && T(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !de(n) && !Le(n); )
2051
2051
  n = e.input.charCodeAt(++e.position);
2052
- return e.position === t && $(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2052
+ return e.position === t && T(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2053
2053
  }
2054
- function Ar(e) {
2054
+ function $r(e) {
2055
2055
  var t, n, a;
2056
2056
  if (a = e.input.charCodeAt(e.position), a !== 42)
2057
2057
  return !1;
2058
- for (a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !de(a) && !Fe(a); )
2058
+ for (a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !de(a) && !Le(a); )
2059
2059
  a = e.input.charCodeAt(++e.position);
2060
- return e.position === t && $(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Ie.call(e.anchorMap, n) || $(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], ne(e, !0, -1), !0;
2060
+ return e.position === t && T(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Ae.call(e.anchorMap, n) || T(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], ne(e, !0, -1), !0;
2061
2061
  }
2062
- function Le(e, t, n, a, i) {
2062
+ function Ue(e, t, n, a, i) {
2063
2063
  var r, o, l, c = 1, d = !1, s = !1, u, h, f, S, C, I;
2064
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = Ye === n || Kn === n, a && ne(e, !0, -1) && (d = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
2065
- for (; Ir(e) || xr(e); )
2064
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = Ge === n || En === n, a && ne(e, !0, -1) && (d = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
2065
+ for (; Ar(e) || jr(e); )
2066
2066
  ne(e, !0, -1) ? (d = !0, l = r, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : l = !1;
2067
- if (l && (l = d || i), (c === 1 || Ye === n) && (We === n || On === n ? C = t : C = t + 1, I = e.position - e.lineStart, c === 1 ? l && (Rt(e, I) || _r(e, I, C)) || Cr(e, C) ? s = !0 : (o && Sr(e, C) || br(e, C) || wr(e, C) ? s = !0 : Ar(e) ? (s = !0, (e.tag !== null || e.anchor !== null) && $(e, "alias node should not have any properties")) : kr(e, C, We === n) && (s = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (s = l && Rt(e, I))), e.tag === null)
2067
+ if (l && (l = d || i), (c === 1 || Ge === n) && (Ze === n || Mn === n ? C = t : C = t + 1, I = e.position - e.lineStart, c === 1 ? l && (Dt(e, I) || xr(e, I, C)) || _r(e, C) ? s = !0 : (o && Ir(e, C) || Cr(e, C) || Sr(e, C) ? s = !0 : $r(e) ? (s = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : wr(e, C, Ze === n) && (s = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (s = l && Dt(e, I))), e.tag === null)
2068
2068
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2069
2069
  else if (e.tag === "?") {
2070
- for (e.result !== null && e.kind !== "scalar" && $(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
2070
+ for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
2071
2071
  if (S = e.implicitTypes[u], S.resolve(e.result)) {
2072
2072
  e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2073
2073
  break;
2074
2074
  }
2075
2075
  } else if (e.tag !== "!") {
2076
- if (Ie.call(e.typeMap[e.kind || "fallback"], e.tag))
2076
+ if (Ae.call(e.typeMap[e.kind || "fallback"], e.tag))
2077
2077
  S = e.typeMap[e.kind || "fallback"][e.tag];
2078
2078
  else
2079
2079
  for (S = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, h = f.length; u < h; u += 1)
@@ -2081,17 +2081,17 @@ function Le(e, t, n, a, i) {
2081
2081
  S = f[u];
2082
2082
  break;
2083
2083
  }
2084
- S || $(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && $(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : $(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2084
+ S || T(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && T(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : T(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2085
2085
  }
2086
2086
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || s;
2087
2087
  }
2088
- function jr(e) {
2088
+ function Tr(e) {
2089
2089
  var t = e.position, n, a, i, r = !1, o;
2090
2090
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ne(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2091
2091
  for (r = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !de(o); )
2092
2092
  o = e.input.charCodeAt(++e.position);
2093
- for (a = e.input.slice(n, e.position), i = [], a.length < 1 && $(e, "directive name must not be less than one character in length"); o !== 0; ) {
2094
- for (; $e(o); )
2093
+ for (a = e.input.slice(n, e.position), i = [], a.length < 1 && T(e, "directive name must not be less than one character in length"); o !== 0; ) {
2094
+ for (; Oe(o); )
2095
2095
  o = e.input.charCodeAt(++e.position);
2096
2096
  if (o === 35) {
2097
2097
  do
@@ -2105,47 +2105,47 @@ function jr(e) {
2105
2105
  o = e.input.charCodeAt(++e.position);
2106
2106
  i.push(e.input.slice(n, e.position));
2107
2107
  }
2108
- o !== 0 && Ct(e), Ie.call(Bt, a) ? Bt[a](e, a, i) : Ze(e, 'unknown document directive "' + a + '"');
2108
+ o !== 0 && _t(e), Ae.call(Rt, a) ? Rt[a](e, a, i) : Qe(e, 'unknown document directive "' + a + '"');
2109
2109
  }
2110
- if (ne(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ne(e, !0, -1)) : r && $(e, "directives end mark is expected"), Le(e, e.lineIndent - 1, Ye, !1, !0), ne(e, !0, -1), e.checkLineBreaks && pr.test(e.input.slice(t, e.position)) && Ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && it(e)) {
2110
+ if (ne(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ne(e, !0, -1)) : r && T(e, "directives end mark is expected"), Ue(e, e.lineIndent - 1, Ge, !1, !0), ne(e, !0, -1), e.checkLineBreaks && yr.test(e.input.slice(t, e.position)) && Qe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && ot(e)) {
2111
2111
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
2112
2112
  return;
2113
2113
  }
2114
2114
  if (e.position < e.length - 1)
2115
- $(e, "end of the stream or a document separator is expected");
2115
+ T(e, "end of the stream or a document separator is expected");
2116
2116
  else
2117
2117
  return;
2118
2118
  }
2119
- function Ln(e, t) {
2119
+ function Un(e, t) {
2120
2120
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2121
2121
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2122
- var n = new vr(e, t), a = e.indexOf("\0");
2123
- for (a !== -1 && (n.position = a, $(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2122
+ var n = new br(e, t), a = e.indexOf("\0");
2123
+ for (a !== -1 && (n.position = a, T(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2124
2124
  n.lineIndent += 1, n.position += 1;
2125
2125
  for (; n.position < n.length - 1; )
2126
- jr(n);
2126
+ Tr(n);
2127
2127
  return n.documents;
2128
2128
  }
2129
- function Tr(e, t, n) {
2129
+ function Kr(e, t, n) {
2130
2130
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2131
- var a = Ln(e, n);
2131
+ var a = Un(e, n);
2132
2132
  if (typeof t != "function")
2133
2133
  return a;
2134
2134
  for (var i = 0, r = a.length; i < r; i += 1)
2135
2135
  t(a[i]);
2136
2136
  }
2137
- function $r(e, t) {
2138
- var n = Ln(e, t);
2137
+ function Or(e, t) {
2138
+ var n = Un(e, t);
2139
2139
  if (n.length !== 0) {
2140
2140
  if (n.length === 1)
2141
2141
  return n[0];
2142
2142
  throw new se("expected a single document in the stream, but found more");
2143
2143
  }
2144
2144
  }
2145
- var Or = Tr, Kr = $r, Bn = {
2146
- loadAll: Or,
2147
- load: Kr
2148
- }, Un = Object.prototype.toString, Rn = Object.prototype.hasOwnProperty, _t = 65279, Mr = 9, Ve = 10, Er = 13, Nr = 32, Fr = 33, qr = 34, pt = 35, Lr = 37, Br = 38, Ur = 39, Rr = 42, Vn = 44, Vr = 45, Ge = 58, Pr = 61, Dr = 62, zr = 63, Jr = 64, Pn = 91, Dn = 93, Hr = 96, zn = 123, Wr = 124, Jn = 125, oe = {};
2145
+ var Mr = Kr, Er = Or, Rn = {
2146
+ loadAll: Mr,
2147
+ load: Er
2148
+ }, Vn = Object.prototype.toString, Dn = Object.prototype.hasOwnProperty, xt = 65279, Nr = 9, Pe = 10, Fr = 13, qr = 32, Lr = 33, Br = 34, yt = 35, Ur = 37, Rr = 38, Vr = 39, Dr = 42, Pn = 44, Pr = 45, Xe = 58, zr = 61, Jr = 62, Hr = 63, Wr = 64, zn = 91, Jn = 93, Yr = 96, Hn = 123, Zr = 124, Wn = 125, oe = {};
2149
2149
  oe[0] = "\\0";
2150
2150
  oe[7] = "\\a";
2151
2151
  oe[8] = "\\b";
@@ -2161,7 +2161,7 @@ oe[133] = "\\N";
2161
2161
  oe[160] = "\\_";
2162
2162
  oe[8232] = "\\L";
2163
2163
  oe[8233] = "\\P";
2164
- var Yr = [
2164
+ var Gr = [
2165
2165
  "y",
2166
2166
  "Y",
2167
2167
  "yes",
@@ -2178,16 +2178,16 @@ var Yr = [
2178
2178
  "off",
2179
2179
  "Off",
2180
2180
  "OFF"
2181
- ], Zr = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2182
- function Gr(e, t) {
2181
+ ], Qr = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2182
+ function Xr(e, t) {
2183
2183
  var n, a, i, r, o, l, c;
2184
2184
  if (t === null)
2185
2185
  return {};
2186
2186
  for (n = {}, a = Object.keys(t), i = 0, r = a.length; i < r; i += 1)
2187
- o = a[i], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && Rn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[o] = l;
2187
+ o = a[i], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && Dn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[o] = l;
2188
2188
  return n;
2189
2189
  }
2190
- function Qr(e) {
2190
+ function eo(e) {
2191
2191
  var t, n, a;
2192
2192
  if (t = e.toString(16).toUpperCase(), e <= 255)
2193
2193
  n = "x", a = 2;
@@ -2199,94 +2199,94 @@ function Qr(e) {
2199
2199
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2200
2200
  return "\\" + n + ae.repeat("0", a - t.length) + t;
2201
2201
  }
2202
- var Xr = 1, Pe = 2;
2203
- function eo(e) {
2204
- this.schema = e.schema || wt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Gr(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 === '"' ? Pe : Xr, 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;
2202
+ var to = 1, ze = 2;
2203
+ function no(e) {
2204
+ this.schema = e.schema || St, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Xr(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 === '"' ? ze : to, 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;
2205
2205
  }
2206
- function Vt(e, t) {
2206
+ function Pt(e, t) {
2207
2207
  for (var n = ae.repeat(" ", t), a = 0, i = -1, r = "", o, l = e.length; a < l; )
2208
2208
  i = e.indexOf(`
2209
2209
  `, a), i === -1 ? (o = e.slice(a), a = l) : (o = e.slice(a, i + 1), a = i + 1), o.length && o !== `
2210
2210
  ` && (r += n), r += o;
2211
2211
  return r;
2212
2212
  }
2213
- function ft(e, t) {
2213
+ function mt(e, t) {
2214
2214
  return `
2215
2215
  ` + ae.repeat(" ", e.indent * t);
2216
2216
  }
2217
- function to(e, t) {
2217
+ function ao(e, t) {
2218
2218
  var n, a, i;
2219
2219
  for (n = 0, a = e.implicitTypes.length; n < a; n += 1)
2220
2220
  if (i = e.implicitTypes[n], i.resolve(t))
2221
2221
  return !0;
2222
2222
  return !1;
2223
2223
  }
2224
- function Qe(e) {
2225
- return e === Nr || e === Mr;
2224
+ function et(e) {
2225
+ return e === qr || e === Nr;
2226
2226
  }
2227
- function De(e) {
2228
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== _t || 65536 <= e && e <= 1114111;
2227
+ function Je(e) {
2228
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== xt || 65536 <= e && e <= 1114111;
2229
2229
  }
2230
- function Pt(e) {
2231
- return De(e) && e !== _t && e !== Er && e !== Ve;
2230
+ function zt(e) {
2231
+ return Je(e) && e !== xt && e !== Fr && e !== Pe;
2232
2232
  }
2233
- function Dt(e, t, n) {
2234
- var a = Pt(e), i = a && !Qe(e);
2233
+ function Jt(e, t, n) {
2234
+ var a = zt(e), i = a && !et(e);
2235
2235
  return (
2236
2236
  // ns-plain-safe
2237
2237
  (n ? (
2238
2238
  // c = flow-in
2239
2239
  a
2240
- ) : a && e !== Vn && e !== Pn && e !== Dn && e !== zn && e !== Jn) && e !== pt && !(t === Ge && !i) || Pt(t) && !Qe(t) && e === pt || t === Ge && i
2240
+ ) : a && e !== Pn && e !== zn && e !== Jn && e !== Hn && e !== Wn) && e !== yt && !(t === Xe && !i) || zt(t) && !et(t) && e === yt || t === Xe && i
2241
2241
  );
2242
2242
  }
2243
- function no(e) {
2244
- return De(e) && e !== _t && !Qe(e) && e !== Vr && e !== zr && e !== Ge && e !== Vn && e !== Pn && e !== Dn && e !== zn && e !== Jn && e !== pt && e !== Br && e !== Rr && e !== Fr && e !== Wr && e !== Pr && e !== Dr && e !== Ur && e !== qr && e !== Lr && e !== Jr && e !== Hr;
2243
+ function io(e) {
2244
+ return Je(e) && e !== xt && !et(e) && e !== Pr && e !== Hr && e !== Xe && e !== Pn && e !== zn && e !== Jn && e !== Hn && e !== Wn && e !== yt && e !== Rr && e !== Dr && e !== Lr && e !== Zr && e !== zr && e !== Jr && e !== Vr && e !== Br && e !== Ur && e !== Wr && e !== Yr;
2245
2245
  }
2246
- function ao(e) {
2247
- return !Qe(e) && e !== Ge;
2246
+ function ro(e) {
2247
+ return !et(e) && e !== Xe;
2248
2248
  }
2249
- function Ue(e, t) {
2249
+ function Ve(e, t) {
2250
2250
  var n = e.charCodeAt(t), a;
2251
2251
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (a = e.charCodeAt(t + 1), a >= 56320 && a <= 57343) ? (n - 55296) * 1024 + a - 56320 + 65536 : n;
2252
2252
  }
2253
- function Hn(e) {
2253
+ function Yn(e) {
2254
2254
  var t = /^\n* /;
2255
2255
  return t.test(e);
2256
2256
  }
2257
- var Wn = 1, yt = 2, Yn = 3, Zn = 4, Ne = 5;
2258
- function io(e, t, n, a, i, r, o, l) {
2259
- var c, d = 0, s = null, u = !1, h = !1, f = a !== -1, S = -1, C = no(Ue(e, 0)) && ao(Ue(e, e.length - 1));
2257
+ var Zn = 1, gt = 2, Gn = 3, Qn = 4, qe = 5;
2258
+ function oo(e, t, n, a, i, r, o, l) {
2259
+ var c, d = 0, s = null, u = !1, h = !1, f = a !== -1, S = -1, C = io(Ve(e, 0)) && ro(Ve(e, e.length - 1));
2260
2260
  if (t || o)
2261
2261
  for (c = 0; c < e.length; d >= 65536 ? c += 2 : c++) {
2262
- if (d = Ue(e, c), !De(d))
2263
- return Ne;
2264
- C = C && Dt(d, s, l), s = d;
2262
+ if (d = Ve(e, c), !Je(d))
2263
+ return qe;
2264
+ C = C && Jt(d, s, l), s = d;
2265
2265
  }
2266
2266
  else {
2267
2267
  for (c = 0; c < e.length; d >= 65536 ? c += 2 : c++) {
2268
- if (d = Ue(e, c), d === Ve)
2268
+ if (d = Ve(e, c), d === Pe)
2269
2269
  u = !0, f && (h = h || // Foldable line = too long, and not more-indented.
2270
2270
  c - S - 1 > a && e[S + 1] !== " ", S = c);
2271
- else if (!De(d))
2272
- return Ne;
2273
- C = C && Dt(d, s, l), s = d;
2271
+ else if (!Je(d))
2272
+ return qe;
2273
+ C = C && Jt(d, s, l), s = d;
2274
2274
  }
2275
2275
  h = h || f && c - S - 1 > a && e[S + 1] !== " ";
2276
2276
  }
2277
- return !u && !h ? C && !o && !i(e) ? Wn : r === Pe ? Ne : yt : n > 9 && Hn(e) ? Ne : o ? r === Pe ? Ne : yt : h ? Zn : Yn;
2277
+ return !u && !h ? C && !o && !i(e) ? Zn : r === ze ? qe : gt : n > 9 && Yn(e) ? qe : o ? r === ze ? qe : gt : h ? Qn : Gn;
2278
2278
  }
2279
- function ro(e, t, n, a, i) {
2279
+ function lo(e, t, n, a, i) {
2280
2280
  e.dump = function() {
2281
2281
  if (t.length === 0)
2282
- return e.quotingType === Pe ? '""' : "''";
2283
- if (!e.noCompatMode && (Yr.indexOf(t) !== -1 || Zr.test(t)))
2284
- return e.quotingType === Pe ? '"' + t + '"' : "'" + t + "'";
2282
+ return e.quotingType === ze ? '""' : "''";
2283
+ if (!e.noCompatMode && (Gr.indexOf(t) !== -1 || Qr.test(t)))
2284
+ return e.quotingType === ze ? '"' + t + '"' : "'" + t + "'";
2285
2285
  var r = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - r), l = a || e.flowLevel > -1 && n >= e.flowLevel;
2286
2286
  function c(d) {
2287
- return to(e, d);
2287
+ return ao(e, d);
2288
2288
  }
2289
- switch (io(
2289
+ switch (oo(
2290
2290
  t,
2291
2291
  l,
2292
2292
  e.indent,
@@ -2296,47 +2296,47 @@ function ro(e, t, n, a, i) {
2296
2296
  e.forceQuotes && !a,
2297
2297
  i
2298
2298
  )) {
2299
- case Wn:
2299
+ case Zn:
2300
2300
  return t;
2301
- case yt:
2301
+ case gt:
2302
2302
  return "'" + t.replace(/'/g, "''") + "'";
2303
- case Yn:
2304
- return "|" + zt(t, e.indent) + Jt(Vt(t, r));
2305
- case Zn:
2306
- return ">" + zt(t, e.indent) + Jt(Vt(oo(t, o), r));
2307
- case Ne:
2308
- return '"' + lo(t) + '"';
2303
+ case Gn:
2304
+ return "|" + Ht(t, e.indent) + Wt(Pt(t, r));
2305
+ case Qn:
2306
+ return ">" + Ht(t, e.indent) + Wt(Pt(so(t, o), r));
2307
+ case qe:
2308
+ return '"' + co(t) + '"';
2309
2309
  default:
2310
2310
  throw new se("impossible error: invalid scalar style");
2311
2311
  }
2312
2312
  }();
2313
2313
  }
2314
- function zt(e, t) {
2315
- var n = Hn(e) ? String(t) : "", a = e[e.length - 1] === `
2314
+ function Ht(e, t) {
2315
+ var n = Yn(e) ? String(t) : "", a = e[e.length - 1] === `
2316
2316
  `, i = a && (e[e.length - 2] === `
2317
2317
  ` || e === `
2318
2318
  `), r = i ? "+" : a ? "" : "-";
2319
2319
  return n + r + `
2320
2320
  `;
2321
2321
  }
2322
- function Jt(e) {
2322
+ function Wt(e) {
2323
2323
  return e[e.length - 1] === `
2324
2324
  ` ? e.slice(0, -1) : e;
2325
2325
  }
2326
- function oo(e, t) {
2326
+ function so(e, t) {
2327
2327
  for (var n = /(\n+)([^\n]*)/g, a = function() {
2328
2328
  var d = e.indexOf(`
2329
2329
  `);
2330
- return d = d !== -1 ? d : e.length, n.lastIndex = d, Ht(e.slice(0, d), t);
2330
+ return d = d !== -1 ? d : e.length, n.lastIndex = d, Yt(e.slice(0, d), t);
2331
2331
  }(), i = e[0] === `
2332
2332
  ` || e[0] === " ", r, o; o = n.exec(e); ) {
2333
2333
  var l = o[1], c = o[2];
2334
2334
  r = c[0] === " ", a += l + (!i && !r && c !== "" ? `
2335
- ` : "") + Ht(c, t), i = r;
2335
+ ` : "") + Yt(c, t), i = r;
2336
2336
  }
2337
2337
  return a;
2338
2338
  }
2339
- function Ht(e, t) {
2339
+ function Yt(e, t) {
2340
2340
  if (e === "" || e[0] === " ")
2341
2341
  return e;
2342
2342
  for (var n = / [^ ]/g, a, i = 0, r, o = 0, l = 0, c = ""; a = n.exec(e); )
@@ -2346,30 +2346,30 @@ function Ht(e, t) {
2346
2346
  `, e.length - i > t && o > i ? c += e.slice(i, o) + `
2347
2347
  ` + e.slice(o + 1) : c += e.slice(i), c.slice(1);
2348
2348
  }
2349
- function lo(e) {
2349
+ function co(e) {
2350
2350
  for (var t = "", n = 0, a, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
2351
- n = Ue(e, i), a = oe[n], !a && De(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += a || Qr(n);
2351
+ n = Ve(e, i), a = oe[n], !a && Je(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += a || eo(n);
2352
2352
  return t;
2353
2353
  }
2354
- function so(e, t, n) {
2354
+ function uo(e, t, n) {
2355
2355
  var a = "", i = e.tag, r, o, l;
2356
2356
  for (r = 0, o = n.length; r < o; r += 1)
2357
2357
  l = n[r], e.replacer && (l = e.replacer.call(n, String(r), l)), (ke(e, t, l, !1, !1) || typeof l > "u" && ke(e, t, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2358
2358
  e.tag = i, e.dump = "[" + a + "]";
2359
2359
  }
2360
- function Wt(e, t, n, a) {
2360
+ function Zt(e, t, n, a) {
2361
2361
  var i = "", r = e.tag, o, l, c;
2362
2362
  for (o = 0, l = n.length; o < l; o += 1)
2363
- c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (ke(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && ke(e, t + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += ft(e, t)), e.dump && Ve === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2363
+ c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (ke(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && ke(e, t + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += mt(e, t)), e.dump && Pe === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2364
2364
  e.tag = r, e.dump = i || "[]";
2365
2365
  }
2366
- function co(e, t, n) {
2366
+ function po(e, t, n) {
2367
2367
  var a = "", i = e.tag, r = Object.keys(n), o, l, c, d, s;
2368
2368
  for (o = 0, l = r.length; o < l; o += 1)
2369
2369
  s = "", a !== "" && (s += ", "), e.condenseFlow && (s += '"'), c = r[o], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), ke(e, t, c, !1, !1) && (e.dump.length > 1024 && (s += "? "), s += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ke(e, t, d, !1, !1) && (s += e.dump, a += s));
2370
2370
  e.tag = i, e.dump = "{" + a + "}";
2371
2371
  }
2372
- function uo(e, t, n, a) {
2372
+ function fo(e, t, n, a) {
2373
2373
  var i = "", r = e.tag, o = Object.keys(n), l, c, d, s, u, h;
2374
2374
  if (e.sortKeys === !0)
2375
2375
  o.sort();
@@ -2378,17 +2378,17 @@ function uo(e, t, n, a) {
2378
2378
  else if (e.sortKeys)
2379
2379
  throw new se("sortKeys must be a boolean or a function");
2380
2380
  for (l = 0, c = o.length; l < c; l += 1)
2381
- h = "", (!a || i !== "") && (h += ft(e, t)), d = o[l], s = n[d], e.replacer && (s = e.replacer.call(n, d, s)), ke(e, t + 1, d, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ve === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += ft(e, t)), ke(e, t + 1, s, !0, u) && (e.dump && Ve === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, i += h));
2381
+ h = "", (!a || i !== "") && (h += mt(e, t)), d = o[l], s = n[d], e.replacer && (s = e.replacer.call(n, d, s)), ke(e, t + 1, d, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Pe === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, u && (h += mt(e, t)), ke(e, t + 1, s, !0, u) && (e.dump && Pe === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, i += h));
2382
2382
  e.tag = r, e.dump = i || "{}";
2383
2383
  }
2384
- function Yt(e, t, n) {
2384
+ function Gt(e, t, n) {
2385
2385
  var a, i, r, o, l, c;
2386
2386
  for (i = n ? e.explicitTypes : e.implicitTypes, r = 0, o = i.length; r < o; r += 1)
2387
2387
  if (l = i[r], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2388
2388
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2389
- if (c = e.styleMap[l.tag] || l.defaultStyle, Un.call(l.represent) === "[object Function]")
2389
+ if (c = e.styleMap[l.tag] || l.defaultStyle, Vn.call(l.represent) === "[object Function]")
2390
2390
  a = l.represent(t, c);
2391
- else if (Rn.call(l.represent, c))
2391
+ else if (Dn.call(l.represent, c))
2392
2392
  a = l.represent[c](t, c);
2393
2393
  else
2394
2394
  throw new se("!<" + l.tag + '> tag resolver accepts not "' + c + '" style');
@@ -2399,19 +2399,19 @@ function Yt(e, t, n) {
2399
2399
  return !1;
2400
2400
  }
2401
2401
  function ke(e, t, n, a, i, r, o) {
2402
- e.tag = null, e.dump = n, Yt(e, n, !1) || Yt(e, n, !0);
2403
- var l = Un.call(e.dump), c = a, d;
2402
+ e.tag = null, e.dump = n, Gt(e, n, !1) || Gt(e, n, !0);
2403
+ var l = Vn.call(e.dump), c = a, d;
2404
2404
  a && (a = e.flowLevel < 0 || e.flowLevel > t);
2405
2405
  var s = l === "[object Object]" || l === "[object Array]", u, h;
2406
2406
  if (s && (u = e.duplicates.indexOf(n), h = u !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && t > 0) && (i = !1), h && e.usedDuplicates[u])
2407
2407
  e.dump = "*ref_" + u;
2408
2408
  else {
2409
2409
  if (s && h && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2410
- a && Object.keys(e.dump).length !== 0 ? (uo(e, t, e.dump, i), h && (e.dump = "&ref_" + u + e.dump)) : (co(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2410
+ a && Object.keys(e.dump).length !== 0 ? (fo(e, t, e.dump, i), h && (e.dump = "&ref_" + u + e.dump)) : (po(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2411
2411
  else if (l === "[object Array]")
2412
- a && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Wt(e, t - 1, e.dump, i) : Wt(e, t, e.dump, i), h && (e.dump = "&ref_" + u + e.dump)) : (so(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2412
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Zt(e, t - 1, e.dump, i) : Zt(e, t, e.dump, i), h && (e.dump = "&ref_" + u + e.dump)) : (uo(e, t, e.dump), h && (e.dump = "&ref_" + u + " " + e.dump));
2413
2413
  else if (l === "[object String]")
2414
- e.tag !== "?" && ro(e, e.dump, t, r, c);
2414
+ e.tag !== "?" && lo(e, e.dump, t, r, c);
2415
2415
  else {
2416
2416
  if (l === "[object Undefined]" || e.skipInvalid)
2417
2417
  return !1;
@@ -2423,71 +2423,71 @@ function ke(e, t, n, a, i, r, o) {
2423
2423
  }
2424
2424
  return !0;
2425
2425
  }
2426
- function po(e, t) {
2426
+ function yo(e, t) {
2427
2427
  var n = [], a = [], i, r;
2428
- for (mt(e, n, a), i = 0, r = a.length; i < r; i += 1)
2428
+ for (ht(e, n, a), i = 0, r = a.length; i < r; i += 1)
2429
2429
  t.duplicates.push(n[a[i]]);
2430
2430
  t.usedDuplicates = new Array(r);
2431
2431
  }
2432
- function mt(e, t, n) {
2432
+ function ht(e, t, n) {
2433
2433
  var a, i, r;
2434
2434
  if (e !== null && typeof e == "object")
2435
2435
  if (i = t.indexOf(e), i !== -1)
2436
2436
  n.indexOf(i) === -1 && n.push(i);
2437
2437
  else if (t.push(e), Array.isArray(e))
2438
2438
  for (i = 0, r = e.length; i < r; i += 1)
2439
- mt(e[i], t, n);
2439
+ ht(e[i], t, n);
2440
2440
  else
2441
2441
  for (a = Object.keys(e), i = 0, r = a.length; i < r; i += 1)
2442
- mt(e[a[i]], t, n);
2442
+ ht(e[a[i]], t, n);
2443
2443
  }
2444
- function fo(e, t) {
2444
+ function mo(e, t) {
2445
2445
  t = t || {};
2446
- var n = new eo(t);
2447
- n.noRefs || po(e, n);
2446
+ var n = new no(t);
2447
+ n.noRefs || yo(e, n);
2448
2448
  var a = e;
2449
2449
  return n.replacer && (a = n.replacer.call({ "": a }, "", a)), ke(n, 0, a, !0, !0) ? n.dump + `
2450
2450
  ` : "";
2451
2451
  }
2452
- var yo = fo, mo = {
2453
- dump: yo
2452
+ var go = mo, ho = {
2453
+ dump: go
2454
2454
  };
2455
- function It(e, t) {
2455
+ function At(e, t) {
2456
2456
  return function() {
2457
2457
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2458
2458
  };
2459
2459
  }
2460
- var go = re, ho = pn, vo = gn, ko = wn, bo = Cn, wo = wt, Co = Bn.load, So = Bn.loadAll, _o = mo.dump, Io = se, xo = {
2461
- binary: An,
2462
- float: bn,
2463
- map: mn,
2464
- null: hn,
2465
- pairs: Tn,
2466
- set: $n,
2467
- timestamp: In,
2468
- bool: vn,
2469
- int: kn,
2470
- merge: xn,
2471
- omap: jn,
2472
- seq: yn,
2473
- str: fn
2474
- }, Ao = It("safeLoad", "load"), jo = It("safeLoadAll", "loadAll"), To = It("safeDump", "dump"), $o = {
2475
- Type: go,
2476
- Schema: ho,
2477
- FAILSAFE_SCHEMA: vo,
2478
- JSON_SCHEMA: ko,
2479
- CORE_SCHEMA: bo,
2480
- DEFAULT_SCHEMA: wo,
2481
- load: Co,
2482
- loadAll: So,
2483
- dump: _o,
2484
- YAMLException: Io,
2485
- types: xo,
2486
- safeLoad: Ao,
2487
- safeLoadAll: jo,
2488
- safeDump: To
2460
+ var vo = re, ko = yn, bo = vn, wo = Sn, Co = _n, So = St, _o = Rn.load, Io = Rn.loadAll, xo = ho.dump, Ao = se, jo = {
2461
+ binary: $n,
2462
+ float: Cn,
2463
+ map: hn,
2464
+ null: kn,
2465
+ pairs: Kn,
2466
+ set: On,
2467
+ timestamp: An,
2468
+ bool: bn,
2469
+ int: wn,
2470
+ merge: jn,
2471
+ omap: Tn,
2472
+ seq: gn,
2473
+ str: mn
2474
+ }, $o = At("safeLoad", "load"), To = At("safeLoadAll", "loadAll"), Ko = At("safeDump", "dump"), Oo = {
2475
+ Type: vo,
2476
+ Schema: ko,
2477
+ FAILSAFE_SCHEMA: bo,
2478
+ JSON_SCHEMA: wo,
2479
+ CORE_SCHEMA: Co,
2480
+ DEFAULT_SCHEMA: So,
2481
+ load: _o,
2482
+ loadAll: Io,
2483
+ dump: xo,
2484
+ YAMLException: Ao,
2485
+ types: jo,
2486
+ safeLoad: $o,
2487
+ safeLoadAll: To,
2488
+ safeDump: Ko
2489
2489
  };
2490
- const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2490
+ const Mo = { class: "yaml-config" }, Xn = /* @__PURE__ */ X({
2491
2491
  __name: "YamlCodeBlock",
2492
2492
  props: {
2493
2493
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2499,11 +2499,11 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2499
2499
  setup(e) {
2500
2500
  const t = e, n = x(() => {
2501
2501
  const a = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, i]) => i && (Array.isArray(i) ? i.length !== 0 : !0)));
2502
- return Object.keys(a).length === 0 && a.constructor === Object ? "" : $o.dump(a).trim();
2502
+ return Object.keys(a).length === 0 && a.constructor === Object ? "" : Oo.dump(a).trim();
2503
2503
  });
2504
2504
  return (a, i) => {
2505
2505
  const r = B("KCodeBlock");
2506
- return y(), O("div", Oo, [
2506
+ return y(), K("div", Mo, [
2507
2507
  t.yamlRecord ? (y(), R(r, {
2508
2508
  key: 0,
2509
2509
  id: "yaml-codeblock",
@@ -2514,13 +2514,13 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2514
2514
  ]);
2515
2515
  };
2516
2516
  }
2517
- }), Ko = {
2517
+ }), Eo = {
2518
2518
  key: 0,
2519
2519
  class: "config-card-display-form"
2520
- }, Mo = ["data-testid"], Eo = {
2520
+ }, No = ["data-testid"], Fo = {
2521
2521
  key: 0,
2522
2522
  class: "config-card-prop-section-title"
2523
- }, No = /* @__PURE__ */ X({
2523
+ }, qo = /* @__PURE__ */ X({
2524
2524
  __name: "ConfigCardDisplay",
2525
2525
  props: {
2526
2526
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2559,24 +2559,24 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2559
2559
  }
2560
2560
  },
2561
2561
  setup(e) {
2562
- const t = e, n = gt(), { i18n: { t: a } } = ie.useI18n(), i = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), r = x(() => {
2562
+ const t = e, n = vt(), { i18n: { t: a } } = ie.useI18n(), i = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), r = x(() => {
2563
2563
  if (!t.record)
2564
2564
  return t.record;
2565
2565
  const o = JSON.parse(JSON.stringify(t.record));
2566
2566
  return delete o.created_at, delete o.updated_at, o;
2567
2567
  });
2568
- return (o, l) => (y(), O(ye, null, [
2569
- e.format === "structured" ? (y(), O("div", Ko, [
2570
- (y(!0), O(ye, null, pe(e.propListTypes, (c) => (y(), O("div", {
2568
+ return (o, l) => (y(), K(ye, null, [
2569
+ e.format === "structured" ? (y(), K("div", Eo, [
2570
+ (y(!0), K(ye, null, pe(e.propListTypes, (c) => (y(), K("div", {
2571
2571
  key: `config-card-details-${c}-props`,
2572
- class: _e(`config-card-details-${c}-props`),
2572
+ class: xe(`config-card-details-${c}-props`),
2573
2573
  "data-testid": `config-card-details-${c}-props`
2574
2574
  }, [
2575
- c !== "basic" ? (y(), O("div", Eo, N(c === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2576
- (y(!0), O(ye, null, pe(e.propertyCollections[c], (d) => (y(), R(He, {
2575
+ c !== "basic" ? (y(), K("div", Fo, N(c === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2576
+ (y(!0), K(ye, null, pe(e.propertyCollections[c], (d) => (y(), R(Ye, {
2577
2577
  key: d.key,
2578
2578
  item: d
2579
- }, Oe({
2579
+ }, Me({
2580
2580
  label: k(() => [
2581
2581
  ee(o.$slots, `${d.key}-label`, { row: d }, void 0, !0)
2582
2582
  ]),
@@ -2596,33 +2596,33 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2596
2596
  key: "0"
2597
2597
  } : void 0
2598
2598
  ]), 1032, ["item"]))), 128))
2599
- ], 10, Mo))), 128))
2599
+ ], 10, No))), 128))
2600
2600
  ])) : J("", !0),
2601
- e.format === "json" && t.record ? (y(), R(cn, {
2601
+ e.format === "json" && t.record ? (y(), R(dn, {
2602
2602
  key: 1,
2603
2603
  config: t.config,
2604
2604
  "fetcher-url": t.fetcherUrl,
2605
2605
  "json-record": r.value,
2606
2606
  "request-method": "get"
2607
2607
  }, null, 8, ["config", "fetcher-url", "json-record"])) : J("", !0),
2608
- e.format === "yaml" && t.record ? (y(), R(Gn, {
2608
+ e.format === "yaml" && t.record ? (y(), R(Xn, {
2609
2609
  key: 2,
2610
2610
  "yaml-record": r.value
2611
2611
  }, null, 8, ["yaml-record"])) : J("", !0)
2612
2612
  ], 64));
2613
2613
  }
2614
- }), Fo = /* @__PURE__ */ he(No, [["__scopeId", "data-v-147a2f70"]]), xe = "24px", rt = (e, t) => {
2614
+ }), Lo = /* @__PURE__ */ he(qo, [["__scopeId", "data-v-147a2f70"]]), je = "24px", lt = (e, t) => {
2615
2615
  const n = e.__vccOpts || e;
2616
2616
  for (const [a, i] of t)
2617
2617
  n[a] = i;
2618
2618
  return n;
2619
- }, qo = (e) => (tt("data-v-2295e0fb"), e = e(), nt(), e), Lo = ["aria-hidden"], Bo = {
2619
+ }, Bo = (e) => (at("data-v-2295e0fb"), e = e(), it(), e), Uo = ["aria-hidden"], Ro = {
2620
2620
  key: 0,
2621
2621
  "data-testid": "kui-icon-svg-title"
2622
- }, Uo = /* @__PURE__ */ qo(() => /* @__PURE__ */ L("path", {
2622
+ }, Vo = /* @__PURE__ */ Bo(() => /* @__PURE__ */ L("path", {
2623
2623
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2624
2624
  fill: "currentColor"
2625
- }, null, -1)), Ro = /* @__PURE__ */ X({
2625
+ }, null, -1)), Do = /* @__PURE__ */ X({
2626
2626
  __name: "AddIcon",
2627
2627
  props: {
2628
2628
  /** The accessibility text provided to screen readers */
@@ -2653,7 +2653,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2653
2653
  size: {
2654
2654
  type: [Number, String],
2655
2655
  required: !1,
2656
- default: xe,
2656
+ default: je,
2657
2657
  // if setting to the imported const fails, just pass a number of 24 as the default.
2658
2658
  validator: (e) => {
2659
2659
  if (typeof e == "number" && e > 0)
@@ -2682,7 +2682,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2682
2682
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
2683
2683
  return `${r}px`;
2684
2684
  }
2685
- return xe;
2685
+ return je;
2686
2686
  }), a = x(() => ({
2687
2687
  boxSizing: "border-box",
2688
2688
  color: t.color,
@@ -2691,14 +2691,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2691
2691
  lineHeight: "0",
2692
2692
  width: n.value
2693
2693
  }));
2694
- return (i, r) => (y(), R(Ae(e.as), {
2694
+ return (i, r) => (y(), R($e(e.as), {
2695
2695
  "aria-hidden": e.decorative ? "true" : void 0,
2696
2696
  class: "kui-icon add-icon",
2697
2697
  "data-testid": "kui-icon-wrapper-add-icon",
2698
- style: et(a.value)
2698
+ style: nt(a.value)
2699
2699
  }, {
2700
2700
  default: k(() => [
2701
- (y(), O("svg", {
2701
+ (y(), K("svg", {
2702
2702
  "aria-hidden": e.decorative ? "true" : void 0,
2703
2703
  "data-testid": "kui-icon-svg-add-icon",
2704
2704
  fill: "none",
@@ -2708,20 +2708,20 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2708
2708
  width: "100%",
2709
2709
  xmlns: "http://www.w3.org/2000/svg"
2710
2710
  }, [
2711
- e.title ? (y(), O("title", Bo, N(e.title), 1)) : J("", !0),
2712
- Uo
2713
- ], 8, Lo))
2711
+ e.title ? (y(), K("title", Ro, N(e.title), 1)) : J("", !0),
2712
+ Vo
2713
+ ], 8, Uo))
2714
2714
  ]),
2715
2715
  _: 1
2716
2716
  }, 8, ["aria-hidden", "style"]));
2717
2717
  }
2718
- }), Vo = /* @__PURE__ */ rt(Ro, [["__scopeId", "data-v-2295e0fb"]]), Po = (e) => (tt("data-v-40a7f387"), e = e(), nt(), e), Do = ["aria-hidden"], zo = {
2718
+ }), Po = /* @__PURE__ */ lt(Do, [["__scopeId", "data-v-2295e0fb"]]), zo = (e) => (at("data-v-40a7f387"), e = e(), it(), e), Jo = ["aria-hidden"], Ho = {
2719
2719
  key: 0,
2720
2720
  "data-testid": "kui-icon-svg-title"
2721
- }, Jo = /* @__PURE__ */ Po(() => /* @__PURE__ */ L("path", {
2721
+ }, Wo = /* @__PURE__ */ zo(() => /* @__PURE__ */ L("path", {
2722
2722
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2723
2723
  fill: "currentColor"
2724
- }, null, -1)), Ho = /* @__PURE__ */ X({
2724
+ }, null, -1)), Yo = /* @__PURE__ */ X({
2725
2725
  __name: "BookIcon",
2726
2726
  props: {
2727
2727
  /** The accessibility text provided to screen readers */
@@ -2752,7 +2752,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2752
2752
  size: {
2753
2753
  type: [Number, String],
2754
2754
  required: !1,
2755
- default: xe,
2755
+ default: je,
2756
2756
  // if setting to the imported const fails, just pass a number of 24 as the default.
2757
2757
  validator: (e) => {
2758
2758
  if (typeof e == "number" && e > 0)
@@ -2781,7 +2781,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2781
2781
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
2782
2782
  return `${r}px`;
2783
2783
  }
2784
- return xe;
2784
+ return je;
2785
2785
  }), a = x(() => ({
2786
2786
  boxSizing: "border-box",
2787
2787
  color: t.color,
@@ -2790,14 +2790,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2790
2790
  lineHeight: "0",
2791
2791
  width: n.value
2792
2792
  }));
2793
- return (i, r) => (y(), R(Ae(e.as), {
2793
+ return (i, r) => (y(), R($e(e.as), {
2794
2794
  "aria-hidden": e.decorative ? "true" : void 0,
2795
2795
  class: "kui-icon book-icon",
2796
2796
  "data-testid": "kui-icon-wrapper-book-icon",
2797
- style: et(a.value)
2797
+ style: nt(a.value)
2798
2798
  }, {
2799
2799
  default: k(() => [
2800
- (y(), O("svg", {
2800
+ (y(), K("svg", {
2801
2801
  "aria-hidden": e.decorative ? "true" : void 0,
2802
2802
  "data-testid": "kui-icon-svg-book-icon",
2803
2803
  fill: "none",
@@ -2807,20 +2807,20 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2807
2807
  width: "100%",
2808
2808
  xmlns: "http://www.w3.org/2000/svg"
2809
2809
  }, [
2810
- e.title ? (y(), O("title", zo, N(e.title), 1)) : J("", !0),
2811
- Jo
2812
- ], 8, Do))
2810
+ e.title ? (y(), K("title", Ho, N(e.title), 1)) : J("", !0),
2811
+ Wo
2812
+ ], 8, Jo))
2813
2813
  ]),
2814
2814
  _: 1
2815
2815
  }, 8, ["aria-hidden", "style"]));
2816
2816
  }
2817
- }), Wo = /* @__PURE__ */ rt(Ho, [["__scopeId", "data-v-40a7f387"]]), Yo = (e) => (tt("data-v-98c34919"), e = e(), nt(), e), Zo = ["aria-hidden"], Go = {
2817
+ }), Zo = /* @__PURE__ */ lt(Yo, [["__scopeId", "data-v-40a7f387"]]), Go = (e) => (at("data-v-98c34919"), e = e(), it(), e), Qo = ["aria-hidden"], Xo = {
2818
2818
  key: 0,
2819
2819
  "data-testid": "kui-icon-svg-title"
2820
- }, Qo = /* @__PURE__ */ Yo(() => /* @__PURE__ */ L("path", {
2820
+ }, el = /* @__PURE__ */ Go(() => /* @__PURE__ */ L("path", {
2821
2821
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2822
2822
  fill: "currentColor"
2823
- }, null, -1)), Xo = /* @__PURE__ */ X({
2823
+ }, null, -1)), tl = /* @__PURE__ */ X({
2824
2824
  __name: "ChevronDownIcon",
2825
2825
  props: {
2826
2826
  /** The accessibility text provided to screen readers */
@@ -2851,7 +2851,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2851
2851
  size: {
2852
2852
  type: [Number, String],
2853
2853
  required: !1,
2854
- default: xe,
2854
+ default: je,
2855
2855
  // if setting to the imported const fails, just pass a number of 24 as the default.
2856
2856
  validator: (e) => {
2857
2857
  if (typeof e == "number" && e > 0)
@@ -2880,7 +2880,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2880
2880
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
2881
2881
  return `${r}px`;
2882
2882
  }
2883
- return xe;
2883
+ return je;
2884
2884
  }), a = x(() => ({
2885
2885
  boxSizing: "border-box",
2886
2886
  color: t.color,
@@ -2889,14 +2889,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2889
2889
  lineHeight: "0",
2890
2890
  width: n.value
2891
2891
  }));
2892
- return (i, r) => (y(), R(Ae(e.as), {
2892
+ return (i, r) => (y(), R($e(e.as), {
2893
2893
  "aria-hidden": e.decorative ? "true" : void 0,
2894
2894
  class: "kui-icon chevron-down-icon",
2895
2895
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2896
- style: et(a.value)
2896
+ style: nt(a.value)
2897
2897
  }, {
2898
2898
  default: k(() => [
2899
- (y(), O("svg", {
2899
+ (y(), K("svg", {
2900
2900
  "aria-hidden": e.decorative ? "true" : void 0,
2901
2901
  "data-testid": "kui-icon-svg-chevron-down-icon",
2902
2902
  fill: "none",
@@ -2906,20 +2906,20 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2906
2906
  width: "100%",
2907
2907
  xmlns: "http://www.w3.org/2000/svg"
2908
2908
  }, [
2909
- e.title ? (y(), O("title", Go, N(e.title), 1)) : J("", !0),
2910
- Qo
2911
- ], 8, Zo))
2909
+ e.title ? (y(), K("title", Xo, N(e.title), 1)) : J("", !0),
2910
+ el
2911
+ ], 8, Qo))
2912
2912
  ]),
2913
2913
  _: 1
2914
2914
  }, 8, ["aria-hidden", "style"]));
2915
2915
  }
2916
- }), el = /* @__PURE__ */ rt(Xo, [["__scopeId", "data-v-98c34919"]]), tl = (e) => (tt("data-v-19f4cbbe"), e = e(), nt(), e), nl = ["aria-hidden"], al = {
2916
+ }), nl = /* @__PURE__ */ lt(tl, [["__scopeId", "data-v-98c34919"]]), al = (e) => (at("data-v-19f4cbbe"), e = e(), it(), e), il = ["aria-hidden"], rl = {
2917
2917
  key: 0,
2918
2918
  "data-testid": "kui-icon-svg-title"
2919
- }, il = /* @__PURE__ */ tl(() => /* @__PURE__ */ L("path", {
2919
+ }, ol = /* @__PURE__ */ al(() => /* @__PURE__ */ L("path", {
2920
2920
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2921
2921
  fill: "currentColor"
2922
- }, null, -1)), rl = /* @__PURE__ */ X({
2922
+ }, null, -1)), ll = /* @__PURE__ */ X({
2923
2923
  __name: "CloseIcon",
2924
2924
  props: {
2925
2925
  /** The accessibility text provided to screen readers */
@@ -2950,7 +2950,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2950
2950
  size: {
2951
2951
  type: [Number, String],
2952
2952
  required: !1,
2953
- default: xe,
2953
+ default: je,
2954
2954
  // if setting to the imported const fails, just pass a number of 24 as the default.
2955
2955
  validator: (e) => {
2956
2956
  if (typeof e == "number" && e > 0)
@@ -2979,7 +2979,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2979
2979
  if (r && !isNaN(r) && Number.isInteger(r) && r > 0)
2980
2980
  return `${r}px`;
2981
2981
  }
2982
- return xe;
2982
+ return je;
2983
2983
  }), a = x(() => ({
2984
2984
  boxSizing: "border-box",
2985
2985
  color: t.color,
@@ -2988,14 +2988,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
2988
2988
  lineHeight: "0",
2989
2989
  width: n.value
2990
2990
  }));
2991
- return (i, r) => (y(), R(Ae(e.as), {
2991
+ return (i, r) => (y(), R($e(e.as), {
2992
2992
  "aria-hidden": e.decorative ? "true" : void 0,
2993
2993
  class: "kui-icon close-icon",
2994
2994
  "data-testid": "kui-icon-wrapper-close-icon",
2995
- style: et(a.value)
2995
+ style: nt(a.value)
2996
2996
  }, {
2997
2997
  default: k(() => [
2998
- (y(), O("svg", {
2998
+ (y(), K("svg", {
2999
2999
  "aria-hidden": e.decorative ? "true" : void 0,
3000
3000
  "data-testid": "kui-icon-svg-close-icon",
3001
3001
  fill: "none",
@@ -3005,17 +3005,17 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3005
3005
  width: "100%",
3006
3006
  xmlns: "http://www.w3.org/2000/svg"
3007
3007
  }, [
3008
- e.title ? (y(), O("title", al, N(e.title), 1)) : J("", !0),
3009
- il
3010
- ], 8, nl))
3008
+ e.title ? (y(), K("title", rl, N(e.title), 1)) : J("", !0),
3009
+ ol
3010
+ ], 8, il))
3011
3011
  ]),
3012
3012
  _: 1
3013
3013
  }, 8, ["aria-hidden", "style"]));
3014
3014
  }
3015
- }), ol = /* @__PURE__ */ rt(rl, [["__scopeId", "data-v-19f4cbbe"]]), ll = {
3015
+ }), sl = /* @__PURE__ */ lt(ll, [["__scopeId", "data-v-19f4cbbe"]]), cl = {
3016
3016
  class: "config-card-title",
3017
3017
  "data-testid": "config-card-title"
3018
- }, sl = { class: "config-card-actions" }, cl = ["href"], ul = { class: "config-card-details-section" }, dl = /* @__PURE__ */ X({
3018
+ }, ul = { class: "config-card-actions" }, dl = ["href"], pl = { class: "config-card-details-section" }, fl = /* @__PURE__ */ X({
3019
3019
  __name: "EntityBaseConfigCard",
3020
3020
  props: {
3021
3021
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3048,7 +3048,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3048
3048
  * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
3049
3049
  * the endpoints file.
3050
3050
  *
3051
- * ex. `/api/runtime_groups/{controlPlaneId}/snis/{id}`
3051
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
3052
3052
  */
3053
3053
  fetchUrl: {
3054
3054
  type: String,
@@ -3150,17 +3150,17 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3150
3150
  var g, _, q;
3151
3151
  if (!I.value)
3152
3152
  return [];
3153
- const j = [], P = Object.keys(I.value).length;
3153
+ const j = [], D = Object.keys(I.value).length;
3154
3154
  for (const M in I.value) {
3155
- const K = (_ = (g = i.configSchema) == null ? void 0 : g[M]) == null ? void 0 : _.order, z = (q = h[M]) == null ? void 0 : q.order;
3156
- let W = P;
3157
- (z || z === 0) && (W = z === -1 ? P + 1 : z), K && (W = K === -1 ? P + 1 : K), j.push([M, W]);
3155
+ const O = (_ = (g = i.configSchema) == null ? void 0 : g[M]) == null ? void 0 : _.order, z = (q = h[M]) == null ? void 0 : q.order;
3156
+ let W = D;
3157
+ (z || z === 0) && (W = z === -1 ? D + 1 : z), O && (W = O === -1 ? D + 1 : O), j.push([M, W]);
3158
3158
  }
3159
- return j.sort(function(M, K) {
3160
- return M[1] - K[1];
3159
+ return j.sort(function(M, O) {
3160
+ return M[1] - O[1];
3161
3161
  }), j.map((M) => {
3162
- var K, z;
3163
- const W = M[0], ce = (K = I.value) == null ? void 0 : K[W], ue = ((z = i.configSchema) == null ? void 0 : z[W]) || {}, fe = h[W];
3162
+ var O, z;
3163
+ const W = M[0], ce = (O = I.value) == null ? void 0 : O[W], ue = ((z = i.configSchema) == null ? void 0 : z[W]) || {}, fe = h[W];
3164
3164
  return {
3165
3165
  key: W,
3166
3166
  value: ce,
@@ -3175,17 +3175,17 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3175
3175
  var g, _;
3176
3176
  if (!I.value || !i.pluginConfigKey)
3177
3177
  return [];
3178
- const q = I.value[i.pluginConfigKey] || {}, j = Object.keys(q).length, P = [];
3178
+ const q = I.value[i.pluginConfigKey] || {}, j = Object.keys(q).length, D = [];
3179
3179
  for (const M in q) {
3180
- const K = (_ = (g = i.pluginConfigSchema) == null ? void 0 : g[M]) == null ? void 0 : _.order, z = q[M];
3180
+ const O = (_ = (g = i.pluginConfigSchema) == null ? void 0 : g[M]) == null ? void 0 : _.order, z = q[M];
3181
3181
  let W = z != null && z !== "" ? j - 1 : j;
3182
- K && (W = K === -1 ? j + 1 : K), P.push([M, W]);
3182
+ O && (W = O === -1 ? j + 1 : O), D.push([M, W]);
3183
3183
  }
3184
- return P.sort(function(M, K) {
3185
- return M[1] - K[1];
3186
- }), P.map((M) => {
3187
- var K;
3188
- const z = M[0], W = q[z], ce = ((K = i.pluginConfigSchema) == null ? void 0 : K[z]) || {};
3184
+ return D.sort(function(M, O) {
3185
+ return M[1] - O[1];
3186
+ }), D.map((M) => {
3187
+ var O;
3188
+ const z = M[0], W = q[z], ce = ((O = i.pluginConfigSchema) == null ? void 0 : O[z]) || {};
3189
3189
  return {
3190
3190
  key: z,
3191
3191
  value: W,
@@ -3196,16 +3196,16 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3196
3196
  section: le.Plugin
3197
3197
  };
3198
3198
  }).filter((M) => !M.hidden);
3199
- }), D = x(() => {
3199
+ }), P = x(() => {
3200
3200
  var g, _, q, j;
3201
3201
  return {
3202
- basic: (g = U.value) == null ? void 0 : g.filter((P) => P.section === le.Basic),
3203
- advanced: (_ = U.value) == null ? void 0 : _.filter((P) => P.section === le.Advanced),
3204
- plugin: (j = b.value) == null ? void 0 : j.concat((q = U.value) == null ? void 0 : q.filter((P) => P.section === le.Plugin))
3202
+ basic: (g = U.value) == null ? void 0 : g.filter((D) => D.section === le.Basic),
3203
+ advanced: (_ = U.value) == null ? void 0 : _.filter((D) => D.section === le.Advanced),
3204
+ plugin: (j = b.value) == null ? void 0 : j.concat((q = U.value) == null ? void 0 : q.filter((D) => D.section === le.Plugin))
3205
3205
  };
3206
3206
  }), v = x(() => {
3207
3207
  const g = [];
3208
- return D.value.basic.length && g.push("basic"), D.value.advanced.length && g.push("advanced"), D.value.plugin.length && g.push("plugin"), g;
3208
+ return P.value.basic.length && g.push("basic"), P.value.advanced.length && g.push("advanced"), P.value.plugin.length && g.push("plugin"), g;
3209
3209
  }), p = x(() => {
3210
3210
  var g, _;
3211
3211
  let q = `${i.config.apiBaseUrl}${i.fetchUrl}`;
@@ -3213,7 +3213,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3213
3213
  });
3214
3214
  return ge(f, (g) => {
3215
3215
  a("loading", g);
3216
- }, { immediate: !0 }), Xe(async () => {
3216
+ }, { immediate: !0 }), tt(async () => {
3217
3217
  S.value = !1, f.value = !0;
3218
3218
  try {
3219
3219
  const { data: g } = await c.get(p.value);
@@ -3234,13 +3234,13 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3234
3234
  f.value = !1;
3235
3235
  }
3236
3236
  }), (g, _) => {
3237
- const q = B("KLabel"), j = B("KSelect"), P = B("KButton"), M = B("KSkeleton"), K = B("KEmptyState"), z = B("KCard");
3237
+ const q = B("KLabel"), j = B("KSelect"), D = B("KButton"), M = B("KSkeleton"), O = B("KEmptyState"), z = B("KCard");
3238
3238
  return y(), R(z, {
3239
3239
  class: "kong-ui-entity-base-config-card",
3240
3240
  "title-tag": e.titleTag
3241
- }, Oe({
3241
+ }, Me({
3242
3242
  actions: k(() => [
3243
- L("div", sl, [
3243
+ L("div", ul, [
3244
3244
  ee(g.$slots, "actions", {}, void 0, !0),
3245
3245
  A(q, {
3246
3246
  class: "config-format-select-label",
@@ -3256,7 +3256,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3256
3256
  items: d,
3257
3257
  onChange: u
3258
3258
  }),
3259
- e.configCardDoc ? (y(), R(P, {
3259
+ e.configCardDoc ? (y(), R(D, {
3260
3260
  key: 0,
3261
3261
  appearance: "tertiary",
3262
3262
  class: "book-icon",
@@ -3268,8 +3268,8 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3268
3268
  rel: "noopener",
3269
3269
  target: "_blank"
3270
3270
  }, [
3271
- A(m(Wo), { size: m(Ya) }, null, 8, ["size"])
3272
- ], 8, cl)
3271
+ A(m(Zo), { size: m(Ga) }, null, 8, ["size"])
3272
+ ], 8, dl)
3273
3273
  ]),
3274
3274
  _: 1
3275
3275
  })) : J("", !0)
@@ -3281,7 +3281,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3281
3281
  "data-testid": "config-card-loader",
3282
3282
  "table-columns": 2,
3283
3283
  type: "table"
3284
- })) : S.value ? (y(), R(K, {
3284
+ })) : S.value ? (y(), R(O, {
3285
3285
  key: 1,
3286
3286
  "data-testid": "config-card-fetch-error",
3287
3287
  "icon-variant": "error"
@@ -3291,15 +3291,15 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3291
3291
  ]),
3292
3292
  _: 1
3293
3293
  })) : J("", !0),
3294
- L("div", ul, [
3295
- A(Fo, {
3294
+ L("div", pl, [
3295
+ A(Lo, {
3296
3296
  config: e.config,
3297
3297
  "fetcher-url": p.value,
3298
3298
  format: s.value,
3299
3299
  "prop-list-types": v.value,
3300
- "property-collections": D.value,
3300
+ "property-collections": P.value,
3301
3301
  record: I.value
3302
- }, Oe({ _: 2 }, [
3302
+ }, Me({ _: 2 }, [
3303
3303
  pe(Object.keys(g.$slots), (W) => ({
3304
3304
  name: W,
3305
3305
  fn: k(({ row: ce, rowValue: ue }) => [
@@ -3317,7 +3317,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3317
3317
  e.hideTitle ? void 0 : {
3318
3318
  name: "title",
3319
3319
  fn: k(() => [
3320
- L("span", ll, [
3320
+ L("span", cl, [
3321
3321
  ee(g.$slots, "title", {}, () => [
3322
3322
  G(N(m(r)("baseConfigCard.title")), 1)
3323
3323
  ], !0)
@@ -3328,10 +3328,10 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3328
3328
  ]), 1032, ["title-tag"]);
3329
3329
  };
3330
3330
  }
3331
- }), pl = /* @__PURE__ */ he(dl, [["__scopeId", "data-v-7c5b607d"]]), fl = {
3331
+ }), yl = /* @__PURE__ */ he(fl, [["__scopeId", "data-v-3c3b1eb5"]]), ml = {
3332
3332
  class: "form-actions",
3333
3333
  "data-testid": "form-actions"
3334
- }, yl = /* @__PURE__ */ X({
3334
+ }, gl = /* @__PURE__ */ X({
3335
3335
  __name: "EntityBaseForm",
3336
3336
  props: {
3337
3337
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3352,7 +3352,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3352
3352
  * the endpoints file.
3353
3353
  * Required if `editId` is specified.
3354
3354
  *
3355
- * ex. `/api/runtime_groups/{controlPlaneId}/snis/{id}`
3355
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
3356
3356
  */
3357
3357
  fetchUrl: {
3358
3358
  type: String,
@@ -3386,7 +3386,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3386
3386
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3387
3387
  setup(e, { emit: t }) {
3388
3388
  var n;
3389
- const a = t, i = e, r = ht(), { i18n: { t: o } } = ie.useI18n(), { getMessageFromError: l } = ie.useErrors(), { axiosInstance: c } = ie.useAxios({
3389
+ const a = t, i = e, r = kt(), { i18n: { t: o } } = ie.useI18n(), { getMessageFromError: l } = ie.useErrors(), { axiosInstance: c } = ie.useAxios({
3390
3390
  headers: (n = i.config) == null ? void 0 : n.requestHeaders
3391
3391
  }), d = E(!1), s = E(!1), u = E(""), h = x(() => i.canSubmit === !1 || i.isReadonly), f = E(!1), S = x(() => {
3392
3392
  var v, p;
@@ -3400,7 +3400,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3400
3400
  a("cancel");
3401
3401
  }, b = () => {
3402
3402
  h.value || a("submit");
3403
- }, D = E([
3403
+ }, P = E([
3404
3404
  {
3405
3405
  title: o("baseForm.configuration.yaml"),
3406
3406
  hash: "#yaml"
@@ -3412,7 +3412,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3412
3412
  ]);
3413
3413
  return ge(() => d.value, (v) => {
3414
3414
  a("loading", v);
3415
- }, { immediate: !0 }), Xe(async () => {
3415
+ }, { immediate: !0 }), tt(async () => {
3416
3416
  if (i.editId)
3417
3417
  try {
3418
3418
  s.value = !1, d.value = !0;
@@ -3425,8 +3425,8 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3425
3425
  d.value = !1;
3426
3426
  }
3427
3427
  }), (v, p) => {
3428
- const g = B("KSkeleton"), _ = B("KEmptyState"), q = B("KAlert"), j = B("KButton"), P = B("KTabs"), M = B("KSlideout"), K = B("KCard");
3429
- return y(), R(K, { class: "kong-ui-entity-base-form" }, {
3428
+ const g = B("KSkeleton"), _ = B("KEmptyState"), q = B("KAlert"), j = B("KButton"), D = B("KTabs"), M = B("KSlideout"), O = B("KCard");
3429
+ return y(), R(O, { class: "kong-ui-entity-base-form" }, {
3430
3430
  default: k(() => [
3431
3431
  d.value ? (y(), R(g, {
3432
3432
  key: 0,
@@ -3442,11 +3442,11 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3442
3442
  L("h3", null, N(u.value), 1)
3443
3443
  ]),
3444
3444
  _: 1
3445
- }, 8, ["action-button-text"])) : (y(), O("form", {
3445
+ }, 8, ["action-button-text"])) : (y(), K("form", {
3446
3446
  key: 2,
3447
3447
  "data-testid": "form-content",
3448
- onReset: ut(U, ["prevent"]),
3449
- onSubmit: ut(b, ["prevent"])
3448
+ onReset: pt(U, ["prevent"]),
3449
+ onSubmit: pt(b, ["prevent"])
3450
3450
  }, [
3451
3451
  ee(v.$slots, "default", {}, void 0, !0),
3452
3452
  e.errorMessage ? (y(), R(q, {
@@ -3455,7 +3455,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3455
3455
  "data-testid": "form-error",
3456
3456
  message: e.errorMessage
3457
3457
  }, null, 8, ["message"])) : J("", !0),
3458
- L("div", fl, [
3458
+ L("div", ml, [
3459
3459
  ee(v.$slots, "form-actions", {}, () => [
3460
3460
  A(j, {
3461
3461
  appearance: "tertiary",
@@ -3503,12 +3503,12 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3503
3503
  }, {
3504
3504
  default: k(() => [
3505
3505
  L("div", null, N(m(o)("baseForm.configuration.message")), 1),
3506
- A(P, {
3506
+ A(D, {
3507
3507
  "data-testid": "form-view-configuration-slideout-tabs",
3508
- tabs: D.value
3508
+ tabs: P.value
3509
3509
  }, {
3510
3510
  json: k(() => [
3511
- A(cn, {
3511
+ A(dn, {
3512
3512
  config: e.config,
3513
3513
  "fetcher-url": S.value,
3514
3514
  "json-record": i.formFields,
@@ -3516,7 +3516,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3516
3516
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3517
3517
  ]),
3518
3518
  yaml: k(() => [
3519
- A(Gn, {
3519
+ A(Xn, {
3520
3520
  "yaml-record": i.formFields
3521
3521
  }, null, 8, ["yaml-record"])
3522
3522
  ]),
@@ -3530,10 +3530,10 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3530
3530
  });
3531
3531
  };
3532
3532
  }
3533
- }), ml = /* @__PURE__ */ he(yl, [["__scopeId", "data-v-1d932d98"]]), gl = {
3533
+ }), hl = /* @__PURE__ */ he(gl, [["__scopeId", "data-v-4c62c7d5"]]), vl = {
3534
3534
  key: 0,
3535
3535
  "data-testid": "first-col"
3536
- }, hl = /* @__PURE__ */ X({
3536
+ }, kl = /* @__PURE__ */ X({
3537
3537
  __name: "EntityBaseTableCell",
3538
3538
  props: {
3539
3539
  keyName: {
@@ -3578,18 +3578,18 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3578
3578
  },
3579
3579
  { immediate: !0, flush: "post", deep: !0 }
3580
3580
  ), S = x(() => i.value ? d.value > s.value : !1);
3581
- return ra(() => {
3581
+ return la(() => {
3582
3582
  l();
3583
- }), oa(() => {
3583
+ }), sa(() => {
3584
3584
  f();
3585
3585
  }), (C, I) => {
3586
3586
  const U = B("KTooltip");
3587
- return y(), O("span", {
3587
+ return y(), K("span", {
3588
3588
  ref_key: "contentRef",
3589
3589
  ref: c,
3590
3590
  class: "content-wrapper"
3591
3591
  }, [
3592
- i.value ? (y(), O("span", gl, [
3592
+ i.value ? (y(), K("span", vl, [
3593
3593
  A(U, {
3594
3594
  "max-width": "300",
3595
3595
  placement: "bottomStart",
@@ -3604,10 +3604,10 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3604
3604
  ], 512);
3605
3605
  };
3606
3606
  }
3607
- }), vl = /* @__PURE__ */ he(hl, [["__scopeId", "data-v-c4379fd4"]]), kl = { class: "toolbar-container" }, bl = {
3607
+ }), bl = /* @__PURE__ */ he(kl, [["__scopeId", "data-v-c4379fd4"]]), wl = { class: "toolbar-container" }, Cl = {
3608
3608
  key: 0,
3609
3609
  class: "toolbar-button-container"
3610
- }, wl = ["data-testid"], Cl = /* @__PURE__ */ X({
3610
+ }, Sl = ["data-testid"], _l = /* @__PURE__ */ X({
3611
3611
  __name: "EntityBaseTable",
3612
3612
  props: {
3613
3613
  // table header configuration
@@ -3770,7 +3770,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3770
3770
  a("click:row", g);
3771
3771
  }), I = (p) => {
3772
3772
  a("sort", p);
3773
- }, { setTablePreferences: U, getTablePreferences: b } = ya(), D = x(() => {
3773
+ }, { setTablePreferences: U, getTablePreferences: b } = ga(), P = x(() => {
3774
3774
  const p = b(n.preferencesStorageKey);
3775
3775
  return {
3776
3776
  ...n.initialFetcherParams,
@@ -3780,14 +3780,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3780
3780
  n.preferencesStorageKey && U(n.preferencesStorageKey, p);
3781
3781
  };
3782
3782
  return (p, g) => {
3783
- const _ = B("KIcon"), q = B("KButton"), j = B("KDropdown"), P = B("KTable"), M = B("KCard");
3783
+ const _ = B("KIcon"), q = B("KButton"), j = B("KDropdown"), D = B("KTable"), M = B("KCard");
3784
3784
  return y(), R(M, {
3785
3785
  class: "kong-ui-entity-base-table",
3786
3786
  title: e.title,
3787
3787
  "title-tag": e.titleTag
3788
3788
  }, {
3789
3789
  default: k(() => [
3790
- A(P, {
3790
+ A(D, {
3791
3791
  ref_key: "tableRefs",
3792
3792
  ref: s,
3793
3793
  "cache-identifier": o.value,
@@ -3807,30 +3807,30 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3807
3807
  "has-error": r.value.hasError,
3808
3808
  headers: c.value,
3809
3809
  "hide-pagination-when-optional": "",
3810
- "initial-fetcher-params": D.value,
3810
+ "initial-fetcher-params": P.value,
3811
3811
  "is-loading": e.isLoading,
3812
3812
  "pagination-type": e.paginationType,
3813
3813
  "row-attrs": d,
3814
3814
  "search-input": e.query,
3815
3815
  onKtableEmptyStateCtaClicked: f,
3816
3816
  "onRow:click": C.value,
3817
- onSort: g[0] || (g[0] = (K) => I(K)),
3817
+ onSort: g[0] || (g[0] = (O) => I(O)),
3818
3818
  "onUpdate:tablePreferences": v
3819
- }, Oe({
3820
- toolbar: k(({ state: K }) => [
3821
- be(L("div", kl, [
3819
+ }, Me({
3820
+ toolbar: k(({ state: O }) => [
3821
+ Ce(L("div", wl, [
3822
3822
  ee(p.$slots, "toolbar-filter", {}, void 0, !0),
3823
- p.$slots["toolbar-button"] ? (y(), O("div", bl, [
3823
+ p.$slots["toolbar-button"] ? (y(), K("div", Cl, [
3824
3824
  ee(p.$slots, "toolbar-button", {}, void 0, !0)
3825
3825
  ])) : J("", !0)
3826
3826
  ], 512), [
3827
- [we, l(K)]
3827
+ [Se, l(O)]
3828
3828
  ])
3829
3829
  ]),
3830
- actions: k(({ row: K, rowKey: z, rowValue: W }) => [
3830
+ actions: k(({ row: O, rowKey: z, rowValue: W }) => [
3831
3831
  L("div", {
3832
3832
  class: "actions-container",
3833
- "data-testid": K.name
3833
+ "data-testid": O.name
3834
3834
  }, [
3835
3835
  A(j, {
3836
3836
  "kpop-attributes": { placement: "bottomEnd" },
@@ -3838,7 +3838,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3838
3838
  }, {
3839
3839
  items: k(() => [
3840
3840
  ee(p.$slots, "actions", {
3841
- row: K,
3841
+ row: O,
3842
3842
  rowKey: z,
3843
3843
  rowValue: W
3844
3844
  }, void 0, !0)
@@ -3851,7 +3851,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3851
3851
  }, {
3852
3852
  icon: k(() => [
3853
3853
  A(_, {
3854
- color: m(Ja),
3854
+ color: m(Wa),
3855
3855
  icon: "more",
3856
3856
  size: "16"
3857
3857
  }, null, 8, ["color"])
@@ -3861,14 +3861,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3861
3861
  ]),
3862
3862
  _: 2
3863
3863
  }, 1032, ["width"])
3864
- ], 8, wl)
3864
+ ], 8, Sl)
3865
3865
  ]),
3866
3866
  _: 2
3867
3867
  }, [
3868
- pe(e.tableHeaders, (K, z) => ({
3868
+ pe(e.tableHeaders, (O, z) => ({
3869
3869
  name: z,
3870
3870
  fn: k(({ row: W, rowKey: ce, rowValue: ue }) => [
3871
- A(vl, {
3871
+ A(bl, {
3872
3872
  "key-name": String(z),
3873
3873
  "row-el": u(W)
3874
3874
  }, {
@@ -3888,7 +3888,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3888
3888
  e.query ? void 0 : {
3889
3889
  name: "empty-state-action-icon",
3890
3890
  fn: k(() => [
3891
- A(m(Vo))
3891
+ A(m(Po))
3892
3892
  ]),
3893
3893
  key: "0"
3894
3894
  }
@@ -3898,13 +3898,13 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3898
3898
  }, 8, ["title", "title-tag"]);
3899
3899
  };
3900
3900
  }
3901
- }), Sl = /* @__PURE__ */ he(Cl, [["__scopeId", "data-v-99908c24"]]), _l = {
3901
+ }), Il = /* @__PURE__ */ he(_l, [["__scopeId", "data-v-99908c24"]]), xl = {
3902
3902
  key: 0,
3903
3903
  class: "kong-ui-entity-delete-error"
3904
- }, Il = {
3904
+ }, Al = {
3905
3905
  key: 1,
3906
3906
  class: "description"
3907
- }, xl = /* @__PURE__ */ X({
3907
+ }, jl = /* @__PURE__ */ X({
3908
3908
  __name: "EntityDeleteModal",
3909
3909
  props: {
3910
3910
  visible: {
@@ -3962,7 +3962,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3962
3962
  onProceed: l
3963
3963
  }, {
3964
3964
  default: k(() => [
3965
- e.error ? (y(), O("div", _l, [
3965
+ e.error ? (y(), K("div", xl, [
3966
3966
  A(s, { appearance: "danger" }, {
3967
3967
  default: k(() => [
3968
3968
  G(N(e.error), 1)
@@ -3974,7 +3974,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3974
3974
  class: "message",
3975
3975
  keypath: a.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3976
3976
  tag: "p"
3977
- }, Oe({
3977
+ }, Me({
3978
3978
  entityType: k(() => [
3979
3979
  G(N(a.entityType), 1)
3980
3980
  ]),
@@ -3988,7 +3988,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3988
3988
  key: "0"
3989
3989
  } : void 0
3990
3990
  ]), 1032, ["keypath"]),
3991
- a.description || c.$slots.description ? (y(), O("div", Il, [
3991
+ a.description || c.$slots.description ? (y(), K("div", Al, [
3992
3992
  ee(c.$slots, "description", {}, () => [
3993
3993
  L("p", null, N(a.description), 1)
3994
3994
  ], !0)
@@ -3998,13 +3998,13 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
3998
3998
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3999
3999
  };
4000
4000
  }
4001
- }), Al = /* @__PURE__ */ he(xl, [["__scopeId", "data-v-4361d622"]]), jl = {
4001
+ }), $l = /* @__PURE__ */ he(jl, [["__scopeId", "data-v-4361d622"]]), Tl = {
4002
4002
  fill: "none",
4003
4003
  height: "20",
4004
4004
  viewBox: "0 0 20 20",
4005
4005
  width: "20",
4006
4006
  xmlns: "http://www.w3.org/2000/svg"
4007
- }, Tl = {
4007
+ }, Kl = {
4008
4008
  id: "mask0_180_20349",
4009
4009
  height: "20",
4010
4010
  maskUnits: "userSpaceOnUse",
@@ -4012,35 +4012,35 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4012
4012
  width: "20",
4013
4013
  x: "0",
4014
4014
  y: "0"
4015
- }, $l = ["fill"], Ol = { mask: "url(#mask0_180_20349)" }, Kl = ["fill"], Zt = /* @__PURE__ */ X({
4015
+ }, Ol = ["fill"], Ml = { mask: "url(#mask0_180_20349)" }, El = ["fill"], Qt = /* @__PURE__ */ X({
4016
4016
  __name: "IconFilter",
4017
4017
  props: {
4018
4018
  color: {
4019
4019
  type: String,
4020
- default: `var(--kong-ui-entity-filter-color, ${Da})`
4020
+ default: `var(--kong-ui-entity-filter-color, ${Ja})`
4021
4021
  }
4022
4022
  },
4023
4023
  setup(e) {
4024
- return (t, n) => (y(), O("svg", jl, [
4025
- L("mask", Tl, [
4024
+ return (t, n) => (y(), K("svg", Tl, [
4025
+ L("mask", Kl, [
4026
4026
  L("rect", {
4027
4027
  fill: e.color,
4028
4028
  height: "20",
4029
4029
  width: "20"
4030
- }, null, 8, $l)
4030
+ }, null, 8, Ol)
4031
4031
  ]),
4032
- L("g", Ol, [
4032
+ L("g", Ml, [
4033
4033
  L("path", {
4034
4034
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
4035
4035
  fill: e.color
4036
- }, null, 8, Kl)
4036
+ }, null, 8, El)
4037
4037
  ])
4038
4038
  ]));
4039
4039
  }
4040
- }), Ml = {
4040
+ }), Nl = {
4041
4041
  key: 1,
4042
4042
  class: "kong-ui-entity-filter"
4043
- }, El = { class: "kong-ui-entity-filter-menu" }, Nl = ["data-testid"], Fl = ["onClick", "onKeydown"], ql = { class: "menu-item-indicator" }, Ll = { class: "menu-item-body" }, Bl = ["for"], Ul = { class: "menu-item-buttons" }, Rl = { class: "filter-clear-button-container" }, Vl = /* @__PURE__ */ X({
4043
+ }, Fl = { class: "kong-ui-entity-filter-menu" }, ql = ["data-testid"], Ll = ["onClick", "onKeydown"], Bl = { class: "menu-item-indicator" }, Ul = { class: "menu-item-body" }, Rl = ["for"], Vl = { class: "menu-item-buttons" }, Dl = { class: "filter-clear-button-container" }, Pl = /* @__PURE__ */ X({
4044
4044
  __name: "EntityFilter",
4045
4045
  props: {
4046
4046
  // filter config, either exact match or fuzzy match
@@ -4099,10 +4099,10 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4099
4099
  o.value = {
4100
4100
  ...o.value,
4101
4101
  [v]: ""
4102
- }, D();
4102
+ }, P();
4103
4103
  }, b = () => {
4104
- o.value = {}, D(!0);
4105
- }, D = (v = !1) => {
4104
+ o.value = {}, P(!0);
4105
+ }, P = (v = !1) => {
4106
4106
  const p = Object.keys(o.value).reduce((g, _) => (o.value[_] && (g[_] = `${o.value[_]}`), g), {});
4107
4107
  v && (r.value = !1), i("update:modelValue", new URLSearchParams(p).toString());
4108
4108
  };
@@ -4118,89 +4118,89 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4118
4118
  "onUpdate:modelValue": h
4119
4119
  }, {
4120
4120
  before: k(() => [
4121
- A(Zt)
4121
+ A(Qt)
4122
4122
  ]),
4123
4123
  after: k(() => [
4124
- be(A(m(ol), {
4124
+ Ce(A(m(sl), {
4125
4125
  class: "kong-ui-entity-filter-clear",
4126
4126
  onClick: f
4127
4127
  }, null, 512), [
4128
- [we, e.modelValue !== ""]
4128
+ [Se, e.modelValue !== ""]
4129
4129
  ])
4130
4130
  ]),
4131
4131
  _: 1
4132
- }, 8, ["model-value", "placeholder"])) : (y(), O("div", Ml, [
4132
+ }, 8, ["model-value", "placeholder"])) : (y(), K("div", Nl, [
4133
4133
  A(_, {
4134
4134
  appearance: "tertiary",
4135
4135
  "data-testid": "filter-button",
4136
4136
  onClick: s
4137
4137
  }, {
4138
4138
  default: k(() => [
4139
- A(Zt),
4139
+ A(Qt),
4140
4140
  G(" " + N(m(n)("filter.filterButtonText")) + " " + N(c.value.length > 0 ? `(${c.value.length})` : ""), 1)
4141
4141
  ]),
4142
4142
  _: 1
4143
4143
  }),
4144
- be(L("div", {
4144
+ Ce(L("div", {
4145
4145
  class: "kong-ui-entity-filter-backdrop",
4146
4146
  onClick: s
4147
4147
  }, null, 512), [
4148
- [we, r.value]
4148
+ [Se, r.value]
4149
4149
  ]),
4150
- be(L("div", El, [
4151
- (y(!0), O(ye, null, pe(d.value, (j) => {
4152
- var P, M;
4153
- return y(), O("div", {
4150
+ Ce(L("div", Fl, [
4151
+ (y(!0), K(ye, null, pe(d.value, (j) => {
4152
+ var D, M;
4153
+ return y(), K("div", {
4154
4154
  key: j.value,
4155
4155
  class: "kong-ui-entity-filter-menu-item",
4156
4156
  "data-testid": j.value
4157
4157
  }, [
4158
4158
  L("span", {
4159
- class: _e(["menu-item-title", { expanded: l.value.has(j.value) }]),
4159
+ class: xe(["menu-item-title", { expanded: l.value.has(j.value) }]),
4160
4160
  role: "button",
4161
4161
  tabindex: "0",
4162
- onClick: (K) => u(j.value),
4163
- onKeydown: aa((K) => u(j.value), ["enter"])
4162
+ onClick: (O) => u(j.value),
4163
+ onKeydown: ra((O) => u(j.value), ["enter"])
4164
4164
  }, [
4165
4165
  G(N(j.label) + " ", 1),
4166
- be(L("span", ql, null, 512), [
4167
- [we, c.value.includes(j.value)]
4166
+ Ce(L("span", Bl, null, 512), [
4167
+ [Se, c.value.includes(j.value)]
4168
4168
  ]),
4169
- A(m(el), {
4170
- class: _e(["menu-item-expand-icon", { expanded: l.value.has(j.value) }]),
4171
- color: m(Ha)
4169
+ A(m(nl), {
4170
+ class: xe(["menu-item-expand-icon", { expanded: l.value.has(j.value) }]),
4171
+ color: m(Ya)
4172
4172
  }, null, 8, ["class", "color"])
4173
- ], 42, Fl),
4174
- be(L("div", Ll, [
4173
+ ], 42, Ll),
4174
+ Ce(L("div", Ul, [
4175
4175
  L("label", {
4176
4176
  class: "menu-item-label",
4177
4177
  for: S(j.value)
4178
- }, N(m(n)("filter.fieldLabel")), 9, Bl),
4179
- ((M = (P = e.config.schema) == null ? void 0 : P[j.value]) == null ? void 0 : M.type) === "select" ? (y(), R(q, {
4178
+ }, N(m(n)("filter.fieldLabel")), 9, Rl),
4179
+ ((M = (D = e.config.schema) == null ? void 0 : D[j.value]) == null ? void 0 : M.type) === "select" ? (y(), R(q, {
4180
4180
  key: 0,
4181
4181
  id: S(j.value),
4182
4182
  modelValue: o.value[j.value],
4183
- "onUpdate:modelValue": (K) => o.value[j.value] = K,
4183
+ "onUpdate:modelValue": (O) => o.value[j.value] = O,
4184
4184
  items: C(j.value),
4185
4185
  placeholder: m(n)("filter.selectPlaceholder")
4186
4186
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), R(g, {
4187
4187
  key: 1,
4188
4188
  id: S(j.value),
4189
4189
  modelValue: o.value[j.value],
4190
- "onUpdate:modelValue": (K) => o.value[j.value] = K,
4190
+ "onUpdate:modelValue": (O) => o.value[j.value] = O,
4191
4191
  autocomplete: "off",
4192
4192
  placeholder: m(n)("filter.inputPlaceholder"),
4193
4193
  type: I(j.value)
4194
4194
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4195
4195
  ], 512), [
4196
- [we, l.value.has(j.value)]
4196
+ [Se, l.value.has(j.value)]
4197
4197
  ]),
4198
- be(L("div", Ul, [
4198
+ Ce(L("div", Vl, [
4199
4199
  A(_, {
4200
4200
  appearance: "tertiary",
4201
4201
  "data-testid": "apply-filter",
4202
4202
  size: "small",
4203
- onClick: p[0] || (p[0] = (K) => D(!0))
4203
+ onClick: p[0] || (p[0] = (O) => P(!0))
4204
4204
  }, {
4205
4205
  default: k(() => [
4206
4206
  G(N(m(n)("filter.applyButtonText")), 1)
@@ -4211,7 +4211,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4211
4211
  appearance: "tertiary",
4212
4212
  "data-testid": "clear-filter",
4213
4213
  size: "small",
4214
- onClick: (K) => U(j.value)
4214
+ onClick: (O) => U(j.value)
4215
4215
  }, {
4216
4216
  default: k(() => [
4217
4217
  G(N(m(n)("filter.clearButtonText")), 1)
@@ -4219,11 +4219,11 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4219
4219
  _: 2
4220
4220
  }, 1032, ["onClick"])
4221
4221
  ], 512), [
4222
- [we, l.value.has(j.value)]
4222
+ [Se, l.value.has(j.value)]
4223
4223
  ])
4224
- ], 8, Nl);
4224
+ ], 8, ql);
4225
4225
  }), 128)),
4226
- L("div", Rl, [
4226
+ L("div", Dl, [
4227
4227
  A(_, {
4228
4228
  appearance: "tertiary",
4229
4229
  size: "small",
@@ -4236,12 +4236,12 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4236
4236
  })
4237
4237
  ])
4238
4238
  ], 512), [
4239
- [we, r.value]
4239
+ [Se, r.value]
4240
4240
  ])
4241
4241
  ]));
4242
4242
  };
4243
4243
  }
4244
- }), Pl = /* @__PURE__ */ he(Vl, [["__scopeId", "data-v-8cfadde3"]]), Je = /* @__PURE__ */ X({
4244
+ }), zl = /* @__PURE__ */ he(Pl, [["__scopeId", "data-v-8cfadde3"]]), We = /* @__PURE__ */ X({
4245
4245
  __name: "PermissionsWrapper",
4246
4246
  props: {
4247
4247
  /**
@@ -4271,13 +4271,13 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4271
4271
  isAllowed: n.value
4272
4272
  }) : J("", !0);
4273
4273
  }
4274
- }), Dl = { class: "form-section-wrapper" }, zl = {
4274
+ }), Jl = { class: "form-section-wrapper" }, Hl = {
4275
4275
  key: 1,
4276
4276
  class: "form-section-description"
4277
- }, Jl = {
4277
+ }, Wl = {
4278
4278
  key: 2,
4279
4279
  class: "form-section-footer"
4280
- }, Hl = { class: "form-section-content" }, Wl = /* @__PURE__ */ X({
4280
+ }, Yl = { class: "form-section-content" }, Zl = /* @__PURE__ */ X({
4281
4281
  __name: "EntityFormSection",
4282
4282
  props: {
4283
4283
  title: {
@@ -4306,16 +4306,16 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4306
4306
  }
4307
4307
  },
4308
4308
  setup(e) {
4309
- const t = gt();
4310
- return (n, a) => (y(), O("fieldset", {
4311
- class: _e(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4309
+ const t = vt();
4310
+ return (n, a) => (y(), K("fieldset", {
4311
+ class: xe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4312
4312
  }, [
4313
- L("div", Dl, [
4314
- e.hideInfoHeader ? J("", !0) : (y(), O("div", {
4313
+ L("div", Jl, [
4314
+ e.hideInfoHeader ? J("", !0) : (y(), K("div", {
4315
4315
  key: 0,
4316
- class: _e(["form-section-info", { sticky: e.stickyInfoHeader }])
4316
+ class: xe(["form-section-info", { sticky: e.stickyInfoHeader }])
4317
4317
  }, [
4318
- e.title ? (y(), R(Ae(e.titleTag), {
4318
+ e.title ? (y(), R($e(e.titleTag), {
4319
4319
  key: 0,
4320
4320
  class: "form-section-title"
4321
4321
  }, {
@@ -4324,22 +4324,22 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4324
4324
  ]),
4325
4325
  _: 1
4326
4326
  })) : J("", !0),
4327
- e.description || m(t).description ? (y(), O("div", zl, [
4327
+ e.description || m(t).description ? (y(), K("div", Hl, [
4328
4328
  ee(n.$slots, "description", {}, () => [
4329
4329
  L("p", null, N(e.description), 1)
4330
4330
  ], !0)
4331
4331
  ])) : J("", !0),
4332
- m(t).footer ? (y(), O("div", Jl, [
4332
+ m(t).footer ? (y(), K("div", Wl, [
4333
4333
  ee(n.$slots, "footer", {}, void 0, !0)
4334
4334
  ])) : J("", !0)
4335
4335
  ], 2)),
4336
- L("div", Hl, [
4336
+ L("div", Yl, [
4337
4337
  ee(n.$slots, "default", {}, void 0, !0)
4338
4338
  ])
4339
4339
  ])
4340
4340
  ], 2));
4341
4341
  }
4342
- }), Gt = /* @__PURE__ */ he(Wl, [["__scopeId", "data-v-4bb31634"]]), { useAxios: xt, useDeleteUrlBuilder: Yl, useErrors: Zl, useExternalLinkCreator: vs, useFetchUrlBuilder: ks, useFetcher: Gl, useDebouncedFilter: Ql, useStringHelpers: Xl, useHelpers: bs, useGatewayFeatureSupported: ws, useTruncationDetector: Cs, useValidators: Ss } = ie, es = { class: "kong-ui-entities-keys-list" }, ts = { key: 1 }, ns = /* @__PURE__ */ X({
4342
+ }), Xt = /* @__PURE__ */ he(Zl, [["__scopeId", "data-v-4bb31634"]]), { useAxios: jt, useDeleteUrlBuilder: Gl, useErrors: Ql, useExternalLinkCreator: bs, useFetchUrlBuilder: ws, useFetcher: Xl, useDebouncedFilter: es, useStringHelpers: ts, useHelpers: Cs, useGatewayFeatureSupported: Ss, useTruncationDetector: _s, useValidators: Is } = ie, ns = { class: "kong-ui-entities-keys-list" }, as = { key: 1 }, is = /* @__PURE__ */ X({
4343
4343
  __name: "KeyList",
4344
4344
  props: {
4345
4345
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4385,18 +4385,18 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4385
4385
  },
4386
4386
  emits: ["error", "copy:success", "copy:error", "delete:success"],
4387
4387
  setup(e, { emit: t }) {
4388
- var ze;
4389
- const n = t, a = e, { i18n: { t: i } } = vt.useI18n(), r = ht(), { axiosInstance: o } = xt({
4390
- headers: (ze = a.config) == null ? void 0 : ze.requestHeaders
4388
+ var He;
4389
+ const n = t, a = e, { i18n: { t: i } } = bt.useI18n(), r = kt(), { axiosInstance: o } = jt({
4390
+ headers: (He = a.config) == null ? void 0 : He.requestHeaders
4391
4391
  }), l = E(1), c = x(() => a.config.app !== "kongManager" || !!a.config.disableSorting), d = {
4392
4392
  name: { label: i("keys.list.table_headers.name"), searchable: !0, sortable: !0 },
4393
4393
  kid: { label: i("keys.list.table_headers.key_id"), sortable: !0 },
4394
4394
  tags: { label: i("keys.list.table_headers.tags") },
4395
4395
  id: { label: i("keys.list.table_headers.id"), sortable: !0 }
4396
4396
  }, s = d, u = x(() => {
4397
- var w, T, H, te;
4398
- let F = `${a.config.apiBaseUrl}${Ce.list[a.config.app][a.config.keySetId ? "forKeySet" : "all"]}`;
4399
- return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((w = a.config) == null ? void 0 : w.controlPlaneId) || "").replace(/{keySetId}/gi, ((T = a.config) == null ? void 0 : T.keySetId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (H = a.config) != null && H.workspace ? `/${a.config.workspace}` : "").replace(/{keySetId}/gi, ((te = a.config) == null ? void 0 : te.keySetId) || "")), F;
4397
+ var w, $, H, te;
4398
+ let F = `${a.config.apiBaseUrl}${_e.list[a.config.app][a.config.keySetId ? "forKeySet" : "all"]}`;
4399
+ return a.config.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, ((w = a.config) == null ? void 0 : w.controlPlaneId) || "").replace(/{keySetId}/gi, (($ = a.config) == null ? void 0 : $.keySetId) || "") : a.config.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, (H = a.config) != null && H.workspace ? `/${a.config.workspace}` : "").replace(/{keySetId}/gi, ((te = a.config) == null ? void 0 : te.keySetId) || "")), F;
4400
4400
  }), h = E(""), f = x(() => {
4401
4401
  const F = a.config.app === "konnect" || a.config.isExactMatch;
4402
4402
  if (F)
@@ -4410,20 +4410,20 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4410
4410
  fields: w,
4411
4411
  schema: a.config.filterSchema
4412
4412
  };
4413
- }), { fetcher: S, fetcherState: C } = Gl(a.config, u.value), I = () => {
4413
+ }), { fetcher: S, fetcherState: C } = Xl(a.config, u.value), I = () => {
4414
4414
  h.value = "";
4415
4415
  }, U = () => {
4416
4416
  l.value++;
4417
- }, b = E(null), D = (F, w) => {
4418
- const T = F.id;
4419
- if (!w(T)) {
4417
+ }, b = E(null), P = (F, w) => {
4418
+ const $ = F.id;
4419
+ if (!w($)) {
4420
4420
  g(F, "id");
4421
4421
  return;
4422
4422
  }
4423
4423
  p(F, "id");
4424
4424
  }, v = (F, w) => {
4425
- const T = JSON.stringify(F);
4426
- if (!w(T)) {
4425
+ const $ = JSON.stringify(F);
4426
+ if (!w($)) {
4427
4427
  n("copy:error", {
4428
4428
  entity: F,
4429
4429
  message: i("keys.errors.copy")
@@ -4447,57 +4447,57 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4447
4447
  message: i("keys.errors.copy")
4448
4448
  });
4449
4449
  }, _ = async (F) => {
4450
- var T;
4451
- await ((T = a.canRetrieve) == null ? void 0 : T.call(a, F)) && r.push(a.config.getViewRoute(F.id));
4450
+ var $;
4451
+ await (($ = a.canRetrieve) == null ? void 0 : $.call(a, F)) && r.push(a.config.getViewRoute(F.id));
4452
4452
  }, q = (F) => ({
4453
4453
  label: i("keys.actions.view"),
4454
4454
  to: a.config.getViewRoute(F)
4455
4455
  }), j = (F) => ({
4456
4456
  label: i("keys.actions.edit"),
4457
4457
  to: a.config.getEditRoute(F)
4458
- }), P = E(void 0), M = E(!1), K = E(!1), z = E(""), W = Yl(a.config, u.value), ce = (F) => {
4459
- P.value = F, M.value = !0;
4458
+ }), D = E(void 0), M = E(!1), O = E(!1), z = E(""), W = Gl(a.config, u.value), ce = (F) => {
4459
+ D.value = F, M.value = !0;
4460
4460
  }, ue = () => {
4461
4461
  M.value = !1;
4462
4462
  }, fe = async () => {
4463
- var F, w, T;
4464
- if ((F = P.value) != null && F.id) {
4465
- K.value = !0;
4463
+ var F, w, $;
4464
+ if ((F = D.value) != null && F.id) {
4465
+ O.value = !0;
4466
4466
  try {
4467
- await o.delete(W(P.value.id)), K.value = !1, M.value = !1, l.value++, n("delete:success", P.value);
4467
+ await o.delete(W(D.value.id)), O.value = !1, M.value = !1, l.value++, n("delete:success", D.value);
4468
4468
  } catch (H) {
4469
- z.value = ((T = (w = H.response) == null ? void 0 : w.data) == null ? void 0 : T.message) || H.message || i("keys.errors.delete"), n("error", H);
4469
+ z.value = (($ = (w = H.response) == null ? void 0 : w.data) == null ? void 0 : $.message) || H.message || i("keys.errors.delete"), n("error", H);
4470
4470
  } finally {
4471
- K.value = !1;
4471
+ O.value = !1;
4472
4472
  }
4473
4473
  }
4474
- }, Ke = E(!0);
4474
+ }, Ee = E(!0);
4475
4475
  ge(C, (F) => {
4476
- var w, T, H, te;
4477
- if (Array.isArray((w = F == null ? void 0 : F.response) == null ? void 0 : w.data) && (Ke.value = F.response.data.length > 0), F.status === Te.Error) {
4476
+ var w, $, H, te;
4477
+ if (Array.isArray((w = F == null ? void 0 : F.response) == null ? void 0 : w.data) && (Ee.value = F.response.data.length > 0), F.status === Ke.Error) {
4478
4478
  b.value = {
4479
4479
  title: i("keys.errors.general")
4480
- }, (te = (H = (T = F.error) == null ? void 0 : T.response) == null ? void 0 : H.data) != null && te.message && (b.value.message = F.error.response.data.message), n("error", F.error);
4480
+ }, (te = (H = ($ = F.error) == null ? void 0 : $.response) == null ? void 0 : H.data) != null && te.message && (b.value.message = F.error.response.data.message), n("error", F.error);
4481
4481
  return;
4482
4482
  }
4483
4483
  b.value = null;
4484
4484
  });
4485
- const Me = E({
4485
+ const Ne = E({
4486
4486
  ctaPath: a.config.createRoute,
4487
4487
  ctaText: void 0,
4488
4488
  message: `${i("keys.list.empty_state.description")}${a.config.additionMessageForEmptyState ? ` ${a.config.additionMessageForEmptyState}` : ""}`,
4489
4489
  title: i("keys.title")
4490
4490
  });
4491
- return Xe(async () => {
4492
- await a.canCreate() && (Me.value.title = i("keys.list.empty_state.title"), Me.value.ctaText = i("keys.actions.create"));
4491
+ return tt(async () => {
4492
+ await a.canCreate() && (Ne.value.title = i("keys.list.empty_state.title"), Ne.value.ctaText = i("keys.actions.create"));
4493
4493
  }), (F, w) => {
4494
- const T = B("KButton"), H = B("KCopy"), te = B("KBadge"), me = B("KTruncate"), V = B("KDropdownItem"), Y = B("KClipboardProvider");
4495
- return y(), O("div", es, [
4496
- A(m(Sl), {
4494
+ const $ = B("KButton"), H = B("KCopy"), te = B("KBadge"), me = B("KTruncate"), V = B("KDropdownItem"), Y = B("KClipboardProvider");
4495
+ return y(), K("div", ns, [
4496
+ A(m(Il), {
4497
4497
  "cache-identifier": e.cacheIdentifier,
4498
4498
  "disable-pagination-page-jump": "",
4499
4499
  "disable-sorting": c.value,
4500
- "empty-state-options": Me.value,
4500
+ "empty-state-options": Ne.value,
4501
4501
  "enable-entity-actions": "",
4502
4502
  "error-message": b.value,
4503
4503
  fetcher: m(S),
@@ -4512,22 +4512,22 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4512
4512
  onSort: U
4513
4513
  }, {
4514
4514
  "toolbar-filter": k(() => [
4515
- A(m(Pl), {
4515
+ A(m(zl), {
4516
4516
  modelValue: h.value,
4517
4517
  "onUpdate:modelValue": w[0] || (w[0] = (Q) => h.value = Q),
4518
4518
  config: f.value
4519
4519
  }, null, 8, ["modelValue", "config"])
4520
4520
  ]),
4521
4521
  "toolbar-button": k(() => [
4522
- (y(), R(Ae(e.useActionOutside ? "Teleport" : "div"), {
4522
+ (y(), R($e(e.useActionOutside ? "Teleport" : "div"), {
4523
4523
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4524
4524
  }, {
4525
4525
  default: k(() => [
4526
- A(m(Je), {
4526
+ A(m(We), {
4527
4527
  "auth-function": () => e.canCreate()
4528
4528
  }, {
4529
4529
  default: k(() => [
4530
- be(A(T, {
4530
+ Ce(A($, {
4531
4531
  appearance: "primary",
4532
4532
  "data-testid": "toolbar-add-key",
4533
4533
  icon: "plus",
@@ -4539,7 +4539,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4539
4539
  ]),
4540
4540
  _: 1
4541
4541
  }, 8, ["to"]), [
4542
- [we, Ke.value]
4542
+ [Se, Ee.value]
4543
4543
  ])
4544
4544
  ]),
4545
4545
  _: 1
@@ -4557,19 +4557,19 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4557
4557
  tags: k(({ rowValue: Q }) => [
4558
4558
  (Q == null ? void 0 : Q.length) > 0 ? (y(), R(me, { key: 0 }, {
4559
4559
  default: k(() => [
4560
- (y(!0), O(ye, null, pe(Q, (je) => (y(), R(te, {
4561
- key: je,
4562
- onClick: w[1] || (w[1] = ut(() => {
4560
+ (y(!0), K(ye, null, pe(Q, (Te) => (y(), R(te, {
4561
+ key: Te,
4562
+ onClick: w[1] || (w[1] = pt(() => {
4563
4563
  }, ["stop"]))
4564
4564
  }, {
4565
4565
  default: k(() => [
4566
- G(N(je), 1)
4566
+ G(N(Te), 1)
4567
4567
  ]),
4568
4568
  _: 2
4569
4569
  }, 1024))), 128))
4570
4570
  ]),
4571
4571
  _: 2
4572
- }, 1024)) : (y(), O("span", ts, "-"))
4572
+ }, 1024)) : (y(), K("span", as, "-"))
4573
4573
  ]),
4574
4574
  id: k(({ rowValue: Q }) => [
4575
4575
  A(H, {
@@ -4579,10 +4579,10 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4579
4579
  ]),
4580
4580
  actions: k(({ row: Q }) => [
4581
4581
  A(Y, null, {
4582
- default: k(({ copyToClipboard: je }) => [
4582
+ default: k(({ copyToClipboard: Te }) => [
4583
4583
  A(V, {
4584
4584
  "data-testid": "action-entity-copy-id",
4585
- onClick: (Xn) => D(Q, je)
4585
+ onClick: (ta) => P(Q, Te)
4586
4586
  }, {
4587
4587
  default: k(() => [
4588
4588
  G(N(m(i)("keys.actions.copy_id")), 1)
@@ -4593,10 +4593,10 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4593
4593
  _: 2
4594
4594
  }, 1024),
4595
4595
  A(Y, null, {
4596
- default: k(({ copyToClipboard: je }) => [
4596
+ default: k(({ copyToClipboard: Te }) => [
4597
4597
  A(V, {
4598
4598
  "data-testid": "action-entity-copy-json",
4599
- onClick: (Xn) => v(Q, je)
4599
+ onClick: (ta) => v(Q, Te)
4600
4600
  }, {
4601
4601
  default: k(() => [
4602
4602
  G(N(m(i)("keys.actions.copy_json")), 1)
@@ -4606,7 +4606,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4606
4606
  ]),
4607
4607
  _: 2
4608
4608
  }, 1024),
4609
- A(m(Je), {
4609
+ A(m(We), {
4610
4610
  "auth-function": () => e.canRetrieve(Q)
4611
4611
  }, {
4612
4612
  default: k(() => [
@@ -4618,7 +4618,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4618
4618
  ]),
4619
4619
  _: 2
4620
4620
  }, 1032, ["auth-function"]),
4621
- A(m(Je), {
4621
+ A(m(We), {
4622
4622
  "auth-function": () => e.canEdit(Q)
4623
4623
  }, {
4624
4624
  default: k(() => [
@@ -4629,7 +4629,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4629
4629
  ]),
4630
4630
  _: 2
4631
4631
  }, 1032, ["auth-function"]),
4632
- A(m(Je), {
4632
+ A(m(We), {
4633
4633
  "auth-function": () => e.canDelete(Q)
4634
4634
  }, {
4635
4635
  default: k(() => [
@@ -4637,7 +4637,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4637
4637
  danger: "",
4638
4638
  "data-testid": "action-entity-delete",
4639
4639
  "has-divider": "",
4640
- onClick: (je) => ce(Q)
4640
+ onClick: (Te) => ce(Q)
4641
4641
  }, {
4642
4642
  default: k(() => [
4643
4643
  G(N(m(i)("keys.actions.delete")), 1)
@@ -4650,11 +4650,11 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4650
4650
  ]),
4651
4651
  _: 1
4652
4652
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4653
- A(m(Al), {
4654
- "action-pending": K.value,
4653
+ A(m($l), {
4654
+ "action-pending": O.value,
4655
4655
  description: m(i)("keys.delete.description"),
4656
- "entity-name": P.value && (P.value.name || P.value.id),
4657
- "entity-type": m(tn).Key,
4656
+ "entity-name": D.value && (D.value.name || D.value.id),
4657
+ "entity-type": m(an).Key,
4658
4658
  error: z.value,
4659
4659
  "need-confirm": !1,
4660
4660
  title: m(i)("keys.delete.title"),
@@ -4665,16 +4665,16 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4665
4665
  ]);
4666
4666
  };
4667
4667
  }
4668
- }), Qn = (e, t) => {
4668
+ }), ea = (e, t) => {
4669
4669
  const n = e.__vccOpts || e;
4670
4670
  for (const [a, i] of t)
4671
4671
  n[a] = i;
4672
4672
  return n;
4673
- }, _s = /* @__PURE__ */ Qn(ns, [["__scopeId", "data-v-bd4b8187"]]), as = { class: "kong-ui-entities-keys-form" }, is = { "data-testid": "no-search-results" }, rs = { class: "select-item-container" }, os = { class: "select-item-label" }, ls = { class: "select-item-description" }, ss = {
4673
+ }, xs = /* @__PURE__ */ ea(is, [["__scopeId", "data-v-bd4b8187"]]), rs = { class: "kong-ui-entities-keys-form" }, os = { "data-testid": "no-search-results" }, ls = { class: "select-item-container" }, ss = { class: "select-item-label" }, cs = { class: "select-item-description" }, us = {
4674
4674
  key: 0,
4675
4675
  class: "invalid-key-set-message",
4676
4676
  "data-testid": "invalid-key-set-message"
4677
- }, cs = { "data-testid": "key-format-container" }, us = /* @__PURE__ */ X({
4677
+ }, ds = { "data-testid": "key-format-container" }, ps = /* @__PURE__ */ X({
4678
4678
  __name: "KeyForm",
4679
4679
  props: {
4680
4680
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4705,9 +4705,9 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4705
4705
  emits: ["update", "error", "loading"],
4706
4706
  setup(e, { emit: t }) {
4707
4707
  var F;
4708
- const n = t, a = e, i = ht(), { i18n: { t: r } } = vt.useI18n(), { getMessageFromError: o } = Zl(), { axiosInstance: l } = xt({
4708
+ const n = t, a = e, i = kt(), { i18n: { t: r } } = bt.useI18n(), { getMessageFromError: o } = Ql(), { axiosInstance: l } = jt({
4709
4709
  headers: (F = a.config) == null ? void 0 : F.requestHeaders
4710
- }), c = x(() => a.keySetId ? Ce.form[a.config.app].edit.forKeySet.replace(/{keySetId}/gi, a.keySetId) : Ce.form[a.config.app].edit.all), d = x(() => a.keyId ? Be.Edit : Be.Create), s = At({
4710
+ }), c = x(() => a.keySetId ? _e.form[a.config.app].edit.forKeySet.replace(/{keySetId}/gi, a.keySetId) : _e.form[a.config.app].edit.all), d = x(() => a.keyId ? Re.Edit : Re.Create), s = $t({
4711
4711
  fields: {
4712
4712
  name: "",
4713
4713
  tags: "",
@@ -4720,7 +4720,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4720
4720
  },
4721
4721
  isReadonly: !1,
4722
4722
  errorMessage: ""
4723
- }), u = At({
4723
+ }), u = $t({
4724
4724
  name: "",
4725
4725
  tags: "",
4726
4726
  key_id: "",
@@ -4738,37 +4738,37 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4738
4738
  label: r("keys.form.fields.key_format.options.pem"),
4739
4739
  value: "pem"
4740
4740
  }
4741
- ], f = x(() => s.isReadonly || d.value === Be.Create && !!a.fixedKeySetId), S = x(() => !f.value);
4741
+ ], f = x(() => s.isReadonly || d.value === Re.Create && !!a.fixedKeySetId), S = x(() => !f.value);
4742
4742
  ge(() => a.fixedKeySetId, (w) => {
4743
- d.value === Be.Create && (s.fields.key_set = w);
4743
+ d.value === Re.Create && (s.fields.key_set = w);
4744
4744
  }, { immediate: !0 });
4745
4745
  const C = x(() => JSON.stringify(s.fields) !== JSON.stringify(u) && !!s.fields.key_id && !!s.fields.key_format && (s.fields.key_format === "jwk" && !!s.fields.jwk || s.fields.key_format === "pem" && !!s.fields.private_key && !!s.fields.public_key)), I = (w) => {
4746
- var T, H, te, me;
4747
- s.fields.key_id = (w == null ? void 0 : w.kid) || "", s.fields.name = (w == null ? void 0 : w.name) || "", s.fields.tags = ((T = w == null ? void 0 : w.tags) == null ? void 0 : T.join(", ")) || "", s.fields.key_set = ((H = w == null ? void 0 : w.set) == null ? void 0 : H.id) || "", s.fields.key_format = w != null && w.pem ? "pem" : "jwk", s.fields.jwk = (w == null ? void 0 : w.jwk) || "", s.fields.private_key = ((te = w == null ? void 0 : w.pem) == null ? void 0 : te.private_key) || "", s.fields.public_key = ((me = w == null ? void 0 : w.pem) == null ? void 0 : me.public_key) || "", Object.assign(u, s.fields);
4746
+ var $, H, te, me;
4747
+ s.fields.key_id = (w == null ? void 0 : w.kid) || "", s.fields.name = (w == null ? void 0 : w.name) || "", s.fields.tags = (($ = w == null ? void 0 : w.tags) == null ? void 0 : $.join(", ")) || "", s.fields.key_set = ((H = w == null ? void 0 : w.set) == null ? void 0 : H.id) || "", s.fields.key_format = w != null && w.pem ? "pem" : "jwk", s.fields.jwk = (w == null ? void 0 : w.jwk) || "", s.fields.private_key = ((te = w == null ? void 0 : w.pem) == null ? void 0 : te.private_key) || "", s.fields.public_key = ((me = w == null ? void 0 : w.pem) == null ? void 0 : me.public_key) || "", Object.assign(u, s.fields);
4748
4748
  }, U = () => {
4749
4749
  i.push(a.config.cancelRoute);
4750
4750
  }, b = x(() => {
4751
- var T, H;
4752
- let w = `${a.config.apiBaseUrl}${Ce.form[a.config.app][d.value][a.keySetId ? "forKeySet" : "all"]}`;
4753
- return a.config.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, ((T = a.config) == null ? void 0 : T.controlPlaneId) || "") : a.config.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, (H = a.config) != null && H.workspace ? `/${a.config.workspace}` : "")), w = w.replace(/{id}/gi, a.keyId).replace(/{keySetId}/gi, a.keySetId || ""), w;
4754
- }), D = x(() => {
4755
- var w, T, H;
4751
+ var $, H;
4752
+ let w = `${a.config.apiBaseUrl}${_e.form[a.config.app][d.value][a.keySetId ? "forKeySet" : "all"]}`;
4753
+ return a.config.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, (($ = a.config) == null ? void 0 : $.controlPlaneId) || "") : a.config.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, (H = a.config) != null && H.workspace ? `/${a.config.workspace}` : "")), w = w.replace(/{id}/gi, a.keyId).replace(/{keySetId}/gi, a.keySetId || ""), w;
4754
+ }), P = x(() => {
4755
+ var w, $, H;
4756
4756
  return {
4757
4757
  kid: s.fields.key_id,
4758
4758
  name: s.fields.name || null,
4759
- tags: ((H = (T = (w = s.fields.tags) == null ? void 0 : w.split(",")) == null ? void 0 : T.map((te) => String(te || "").trim())) == null ? void 0 : H.filter((te) => te !== "")) || [],
4759
+ tags: ((H = ($ = (w = s.fields.tags) == null ? void 0 : w.split(",")) == null ? void 0 : $.map((te) => String(te || "").trim())) == null ? void 0 : H.filter((te) => te !== "")) || [],
4760
4760
  set: s.fields.key_set ? { id: s.fields.key_set } : null,
4761
4761
  jwk: s.fields.key_format === "jwk" ? s.fields.jwk : null,
4762
4762
  pem: s.fields.key_format === "pem" ? { private_key: s.fields.private_key, public_key: s.fields.public_key } : null
4763
4763
  };
4764
4764
  }), v = async () => {
4765
- var w, T, H, te, me;
4765
+ var w, $, H, te, me;
4766
4766
  try {
4767
4767
  s.isReadonly = !0;
4768
4768
  let V;
4769
- if (d.value === "create" ? V = await l.post(b.value, D.value) : d.value === "edit" && (V = ((w = a.config) == null ? void 0 : w.app) === "konnect" ? await l.put(b.value, D.value) : await l.patch(b.value, D.value)), V) {
4769
+ if (d.value === "create" ? V = await l.post(b.value, P.value) : d.value === "edit" && (V = ((w = a.config) == null ? void 0 : w.app) === "konnect" ? await l.put(b.value, P.value) : await l.patch(b.value, P.value)), V) {
4770
4770
  const { data: Y } = V;
4771
- s.fields.key_id = (Y == null ? void 0 : Y.kid) || "", s.fields.name = (Y == null ? void 0 : Y.name) || "", s.fields.tags = ((T = Y == null ? void 0 : Y.tags) == null ? void 0 : T.join(", ")) || "", s.fields.key_set = ((H = Y == null ? void 0 : Y.set) == null ? void 0 : H.id) || "", s.fields.key_format = Y != null && Y.pem ? "pem" : "jwk", s.fields.jwk = (Y == null ? void 0 : Y.jwk) || "", s.fields.private_key = ((te = Y == null ? void 0 : Y.pem) == null ? void 0 : te.private_key) || "", s.fields.public_key = ((me = Y == null ? void 0 : Y.pem) == null ? void 0 : me.public_key) || "", Object.assign(u, s.fields), n("update", V == null ? void 0 : V.data);
4771
+ s.fields.key_id = (Y == null ? void 0 : Y.kid) || "", s.fields.name = (Y == null ? void 0 : Y.name) || "", s.fields.tags = (($ = Y == null ? void 0 : Y.tags) == null ? void 0 : $.join(", ")) || "", s.fields.key_set = ((H = Y == null ? void 0 : Y.set) == null ? void 0 : H.id) || "", s.fields.key_format = Y != null && Y.pem ? "pem" : "jwk", s.fields.jwk = (Y == null ? void 0 : Y.jwk) || "", s.fields.private_key = ((te = Y == null ? void 0 : Y.pem) == null ? void 0 : te.private_key) || "", s.fields.public_key = ((me = Y == null ? void 0 : Y.pem) == null ? void 0 : me.public_key) || "", Object.assign(u, s.fields), n("update", V == null ? void 0 : V.data);
4772
4772
  }
4773
4773
  } catch (V) {
4774
4774
  s.errorMessage = o(V), n("error", V);
@@ -4781,61 +4781,61 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4781
4781
  allRecords: _,
4782
4782
  error: q,
4783
4783
  validationError: j,
4784
- loadItems: P,
4784
+ loadItems: D,
4785
4785
  results: M
4786
- } = Ql(a.config, Ce.form[a.config.app].keySets, void 0, {
4786
+ } = es(a.config, _e.form[a.config.app].keySets, void 0, {
4787
4787
  fetchedItemsKey: "data",
4788
4788
  searchKeys: ["id", "name"]
4789
- }), K = (w) => {
4789
+ }), O = (w) => {
4790
4790
  (!w || w !== s.fields.key_set && w !== u.key_set) && p(w);
4791
4791
  }, z = x(() => q.value ? r("keys.errors.key_sets.fetch") : ""), W = x(() => j.value ? r("keys.errors.key_sets.invalid") : ""), ce = E(0), ue = x(() => _.value === void 0), fe = x(() => {
4792
4792
  if (ue.value)
4793
4793
  return a.config.app === "konnect" ? r("keys.form.fields.key_set.footer") : void 0;
4794
- }), Ke = E(/* @__PURE__ */ new Set()), Me = x(() => Array.from(Ke.value).map((T) => ({
4795
- name: T.name || "",
4794
+ }), Ee = E(/* @__PURE__ */ new Set()), Ne = x(() => Array.from(Ee.value).map(($) => ({
4795
+ name: $.name || "",
4796
4796
  // can't use name for label or it tries to search => 404
4797
4797
  label: "",
4798
4798
  // leave it blank so no flicker when used with selected-item-template
4799
- value: T.id,
4800
- selected: s.fields.key_set === T.id
4801
- }))), ze = (w) => {
4802
- Ke.value.clear();
4803
- let T;
4804
- for (T of w)
4805
- Ke.value.add(T);
4799
+ value: $.id,
4800
+ selected: s.fields.key_set === $.id
4801
+ }))), He = (w) => {
4802
+ Ee.value.clear();
4803
+ let $;
4804
+ for ($ of w)
4805
+ Ee.value.add($);
4806
4806
  };
4807
4807
  return ge(M, (w) => {
4808
- ze(w);
4809
- }, { immediate: !0, deep: !0 }), ge(Me, () => {
4808
+ He(w);
4809
+ }, { immediate: !0, deep: !0 }), ge(Ne, () => {
4810
4810
  ce.value++;
4811
- }, { immediate: !0, deep: !0 }), Xe(async () => {
4812
- await P();
4813
- }), (w, T) => {
4811
+ }, { immediate: !0, deep: !0 }), tt(async () => {
4812
+ await D();
4813
+ }), (w, $) => {
4814
4814
  const H = B("KInput"), te = B("KSelect"), me = B("KTextArea");
4815
- return y(), O("div", as, [
4816
- A(m(ml), {
4815
+ return y(), K("div", rs, [
4816
+ A(m(hl), {
4817
4817
  "can-submit": C.value,
4818
4818
  config: e.config,
4819
4819
  "edit-id": e.keyId,
4820
4820
  "error-message": s.errorMessage || z.value,
4821
4821
  "fetch-url": c.value,
4822
- "form-fields": D.value,
4822
+ "form-fields": P.value,
4823
4823
  "is-readonly": s.isReadonly,
4824
4824
  onCancel: U,
4825
- "onFetch:error": T[8] || (T[8] = (V) => w.$emit("error", V)),
4825
+ "onFetch:error": $[8] || ($[8] = (V) => w.$emit("error", V)),
4826
4826
  "onFetch:success": I,
4827
- onLoading: T[9] || (T[9] = (V) => w.$emit("loading", V)),
4827
+ onLoading: $[9] || ($[9] = (V) => w.$emit("loading", V)),
4828
4828
  onSubmit: v
4829
4829
  }, {
4830
4830
  default: k(() => [
4831
- A(m(Gt), {
4831
+ A(m(Xt), {
4832
4832
  description: m(r)("keys.form.sections.general.description"),
4833
4833
  title: m(r)("keys.form.sections.general.title")
4834
4834
  }, {
4835
4835
  default: k(() => [
4836
4836
  A(H, {
4837
4837
  modelValue: s.fields.key_id,
4838
- "onUpdate:modelValue": T[0] || (T[0] = (V) => s.fields.key_id = V),
4838
+ "onUpdate:modelValue": $[0] || ($[0] = (V) => s.fields.key_id = V),
4839
4839
  modelModifiers: { trim: !0 },
4840
4840
  autocomplete: "off",
4841
4841
  "data-testid": "key-form-id",
@@ -4849,7 +4849,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4849
4849
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"]),
4850
4850
  A(H, {
4851
4851
  modelValue: s.fields.name,
4852
- "onUpdate:modelValue": T[1] || (T[1] = (V) => s.fields.name = V),
4852
+ "onUpdate:modelValue": $[1] || ($[1] = (V) => s.fields.name = V),
4853
4853
  modelModifiers: { trim: !0 },
4854
4854
  autocomplete: "off",
4855
4855
  "data-testid": "key-form-name",
@@ -4860,41 +4860,41 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4860
4860
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
4861
4861
  A(te, {
4862
4862
  modelValue: s.fields.key_set,
4863
- "onUpdate:modelValue": T[2] || (T[2] = (V) => s.fields.key_set = V),
4863
+ "onUpdate:modelValue": $[2] || ($[2] = (V) => s.fields.key_set = V),
4864
4864
  clearable: S.value,
4865
4865
  "data-testid": "key-form-key-set",
4866
4866
  "dropdown-footer-text": fe.value,
4867
4867
  "enable-filtering": "",
4868
4868
  "filter-function": () => !0,
4869
- items: Me.value,
4869
+ items: Ne.value,
4870
4870
  label: m(r)("keys.form.fields.key_set.label"),
4871
4871
  loading: m(g),
4872
4872
  placeholder: m(r)("keys.form.fields.key_set.placeholder"),
4873
4873
  readonly: f.value,
4874
4874
  width: "100%",
4875
- onQueryChange: K
4875
+ onQueryChange: O
4876
4876
  }, {
4877
4877
  loading: k(() => [
4878
4878
  L("div", null, N(m(r)("keys.actions.loading")), 1)
4879
4879
  ]),
4880
4880
  empty: k(() => [
4881
- L("div", is, N(m(r)("keys.search.no_results")), 1)
4881
+ L("div", os, N(m(r)("keys.search.no_results")), 1)
4882
4882
  ]),
4883
4883
  "selected-item-template": k(({ item: V }) => [
4884
4884
  L("div", null, N(V.name), 1)
4885
4885
  ]),
4886
4886
  "item-template": k(({ item: V }) => [
4887
- L("div", rs, [
4888
- L("div", os, N(V.name), 1),
4889
- L("div", ls, N(V.value), 1)
4887
+ L("div", ls, [
4888
+ L("div", ss, N(V.name), 1),
4889
+ L("div", cs, N(V.value), 1)
4890
4890
  ])
4891
4891
  ]),
4892
4892
  _: 1
4893
4893
  }, 8, ["modelValue", "clearable", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly"]),
4894
- W.value ? (y(), O("p", ss, N(W.value), 1)) : J("", !0),
4894
+ W.value ? (y(), K("p", us, N(W.value), 1)) : J("", !0),
4895
4895
  A(H, {
4896
4896
  modelValue: s.fields.tags,
4897
- "onUpdate:modelValue": T[3] || (T[3] = (V) => s.fields.tags = V),
4897
+ "onUpdate:modelValue": $[3] || ($[3] = (V) => s.fields.tags = V),
4898
4898
  modelModifiers: { trim: !0 },
4899
4899
  autocomplete: "off",
4900
4900
  "data-testid": "key-form-tags",
@@ -4908,16 +4908,16 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4908
4908
  ]),
4909
4909
  _: 1
4910
4910
  }, 8, ["description", "title"]),
4911
- A(m(Gt), {
4911
+ A(m(Xt), {
4912
4912
  description: m(r)("keys.form.sections.keys.description"),
4913
4913
  "has-divider": "",
4914
4914
  title: m(r)("keys.form.sections.keys.title")
4915
4915
  }, {
4916
4916
  default: k(() => [
4917
- L("div", cs, [
4917
+ L("div", ds, [
4918
4918
  A(te, {
4919
4919
  modelValue: s.fields.key_format,
4920
- "onUpdate:modelValue": T[4] || (T[4] = (V) => s.fields.key_format = V),
4920
+ "onUpdate:modelValue": $[4] || ($[4] = (V) => s.fields.key_format = V),
4921
4921
  "data-testid": "key-form-key-format",
4922
4922
  items: h,
4923
4923
  label: m(r)("keys.form.fields.key_format.label"),
@@ -4929,7 +4929,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4929
4929
  s.fields.key_format === "jwk" ? (y(), R(me, {
4930
4930
  key: 0,
4931
4931
  modelValue: s.fields.jwk,
4932
- "onUpdate:modelValue": T[5] || (T[5] = (V) => s.fields.jwk = V),
4932
+ "onUpdate:modelValue": $[5] || ($[5] = (V) => s.fields.jwk = V),
4933
4933
  modelModifiers: { trim: !0 },
4934
4934
  class: "key-form-textarea",
4935
4935
  "data-testid": "key-form-jwk",
@@ -4942,7 +4942,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4942
4942
  s.fields.key_format === "pem" ? (y(), R(me, {
4943
4943
  key: 1,
4944
4944
  modelValue: s.fields.private_key,
4945
- "onUpdate:modelValue": T[6] || (T[6] = (V) => s.fields.private_key = V),
4945
+ "onUpdate:modelValue": $[6] || ($[6] = (V) => s.fields.private_key = V),
4946
4946
  modelModifiers: { trim: !0 },
4947
4947
  class: "key-form-textarea",
4948
4948
  "data-testid": "key-form-private-key",
@@ -4954,7 +4954,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4954
4954
  s.fields.key_format === "pem" ? (y(), R(me, {
4955
4955
  key: 2,
4956
4956
  modelValue: s.fields.public_key,
4957
- "onUpdate:modelValue": T[7] || (T[7] = (V) => s.fields.public_key = V),
4957
+ "onUpdate:modelValue": $[7] || ($[7] = (V) => s.fields.public_key = V),
4958
4958
  modelModifiers: { trim: !0 },
4959
4959
  class: "key-form-textarea",
4960
4960
  "data-testid": "key-form-public-key",
@@ -4972,7 +4972,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
4972
4972
  ]);
4973
4973
  };
4974
4974
  }
4975
- }), Is = /* @__PURE__ */ Qn(us, [["__scopeId", "data-v-c9c325df"]]), ds = { class: "kong-ui-entities-keys-entity-config-card" }, ps = { key: 2 }, xs = /* @__PURE__ */ X({
4975
+ }), As = /* @__PURE__ */ ea(ps, [["__scopeId", "data-v-c9c325df"]]), fs = { class: "kong-ui-entities-keys-entity-config-card" }, ys = { key: 2 }, js = /* @__PURE__ */ X({
4976
4976
  __name: "KeyConfigCard",
4977
4977
  props: {
4978
4978
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5007,21 +5007,21 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5007
5007
  emits: ["loading", "fetch:error", "fetch:success", "navigation-click"],
5008
5008
  setup(e, { emit: t }) {
5009
5009
  var U;
5010
- const n = t, a = e, { axiosInstance: i } = xt({
5010
+ const n = t, a = e, { axiosInstance: i } = jt({
5011
5011
  headers: (U = a.config) == null ? void 0 : U.requestHeaders
5012
- }), { convertKeyToTitle: r } = Xl(), { i18n: { t: o } } = vt.useI18n(), l = x(() => a.keySetId ? `${Ce.form[a.config.app].edit.forKeySet}`.replace(/{keySetId}/gi, a.keySetId) : Ce.form[a.config.app].edit.all), c = x(() => {
5012
+ }), { convertKeyToTitle: r } = ts(), { i18n: { t: o } } = bt.useI18n(), l = x(() => a.keySetId ? `${_e.form[a.config.app].edit.forKeySet}`.replace(/{keySetId}/gi, a.keySetId) : _e.form[a.config.app].edit.all), c = x(() => {
5013
5013
  var b;
5014
- return (b = Ce.form[a.config.app]) == null ? void 0 : b.getKeySet;
5014
+ return (b = _e.form[a.config.app]) == null ? void 0 : b.getKeySet;
5015
5015
  }), d = E(), s = E({}), u = E(a.keySetId || ""), h = E(""), f = E(!1), S = async (b) => {
5016
- var D;
5017
- d.value = b, u.value = (D = b == null ? void 0 : b.set) == null ? void 0 : D.id, n("fetch:success", b), C(b);
5016
+ var P;
5017
+ d.value = b, u.value = (P = b == null ? void 0 : b.set) == null ? void 0 : P.id, n("fetch:success", b), C(b);
5018
5018
  };
5019
5019
  ge(u, async () => {
5020
- var D, v;
5020
+ var P, v;
5021
5021
  if (!u.value)
5022
5022
  return;
5023
5023
  let b = `${a.config.apiBaseUrl}${c.value}`;
5024
- a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((D = a.config) == null ? void 0 : D.controlPlaneId) || "").replace(/{keySetId}/gi, u.value || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (v = a.config) != null && v.workspace ? `/${a.config.workspace}` : "").replace(/{keySetId}/gi, u.value || ""));
5024
+ a.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((P = a.config) == null ? void 0 : P.controlPlaneId) || "").replace(/{keySetId}/gi, u.value || "") : a.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (v = a.config) != null && v.workspace ? `/${a.config.workspace}` : "").replace(/{keySetId}/gi, u.value || ""));
5025
5025
  try {
5026
5026
  f.value = !0;
5027
5027
  const { data: p } = await i.get(b);
@@ -5033,7 +5033,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5033
5033
  }
5034
5034
  }, { immediate: !0 });
5035
5035
  const C = (b) => {
5036
- var D, v;
5036
+ var P, v;
5037
5037
  try {
5038
5038
  if (b.jwk) {
5039
5039
  const p = JSON.parse(b.jwk);
@@ -5045,7 +5045,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5045
5045
  });
5046
5046
  } else
5047
5047
  s.value = {
5048
- "pem.public_key": (D = b == null ? void 0 : b.pem) == null ? void 0 : D.public_key,
5048
+ "pem.public_key": (P = b == null ? void 0 : b.pem) == null ? void 0 : P.public_key,
5049
5049
  "pem.private_key": (v = b == null ? void 0 : b.pem) == null ? void 0 : v.private_key
5050
5050
  };
5051
5051
  } catch (p) {
@@ -5084,26 +5084,26 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5084
5084
  type: Z.Json
5085
5085
  }
5086
5086
  });
5087
- return (b, D) => {
5087
+ return (b, P) => {
5088
5088
  var p, g;
5089
5089
  const v = B("KSkeleton");
5090
- return y(), O("div", ds, [
5091
- A(m(pl), {
5090
+ return y(), K("div", fs, [
5091
+ A(m(yl), {
5092
5092
  config: e.config,
5093
5093
  "config-card-doc": e.configCardDoc,
5094
5094
  "config-schema": I.value,
5095
5095
  "fetch-url": l.value,
5096
5096
  "hide-title": e.hideTitle,
5097
- "onFetch:error": D[0] || (D[0] = (_) => b.$emit("fetch:error", _)),
5097
+ "onFetch:error": P[0] || (P[0] = (_) => b.$emit("fetch:error", _)),
5098
5098
  "onFetch:success": S,
5099
- onLoading: D[1] || (D[1] = (_) => b.$emit("loading", _))
5100
- }, Oe({
5099
+ onLoading: P[1] || (P[1] = (_) => b.$emit("loading", _))
5100
+ }, Me({
5101
5101
  set: k(({ row: _ }) => [
5102
5102
  f.value ? (y(), R(v, {
5103
5103
  key: 0,
5104
5104
  "data-testid": "key-set-name-loader",
5105
5105
  type: "spinner"
5106
- })) : _.value && _.value.id === u.value && h.value ? (y(), R(m(sn), {
5106
+ })) : _.value && _.value.id === u.value && h.value ? (y(), R(m(un), {
5107
5107
  key: 1,
5108
5108
  item: {
5109
5109
  key: _.value.id,
@@ -5111,14 +5111,14 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5111
5111
  type: m(Z).LinkInternal
5112
5112
  },
5113
5113
  onClick: (q) => b.$emit("navigation-click", _.value.id, "key-sets")
5114
- }, null, 8, ["item", "onClick"])) : (y(), O("div", ps, N("–")))
5114
+ }, null, 8, ["item", "onClick"])) : (y(), K("div", ys, N("–")))
5115
5115
  ]),
5116
5116
  _: 2
5117
5117
  }, [
5118
5118
  (p = d.value) != null && p.jwk ? {
5119
5119
  name: "jwk",
5120
5120
  fn: k(() => [
5121
- (y(!0), O(ye, null, pe(Object.keys(s.value), (_) => (y(), R(m(He), {
5121
+ (y(!0), K(ye, null, pe(Object.keys(s.value), (_) => (y(), R(m(Ye), {
5122
5122
  key: _,
5123
5123
  "data-testid": `${_}`,
5124
5124
  item: {
@@ -5133,7 +5133,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5133
5133
  (g = d.value) != null && g.pem ? {
5134
5134
  name: "pem",
5135
5135
  fn: k(() => [
5136
- (y(!0), O(ye, null, pe(Object.keys(s.value), (_) => (y(), R(m(He), {
5136
+ (y(!0), K(ye, null, pe(Object.keys(s.value), (_) => (y(), R(m(Ye), {
5137
5137
  key: _,
5138
5138
  "data-testid": `${_}`,
5139
5139
  item: {
@@ -5151,7 +5151,7 @@ const Oo = { class: "yaml-config" }, Gn = /* @__PURE__ */ X({
5151
5151
  }
5152
5152
  });
5153
5153
  export {
5154
- xs as KeyConfigCard,
5155
- Is as KeyForm,
5156
- _s as KeyList
5154
+ js as KeyConfigCard,
5155
+ As as KeyForm,
5156
+ xs as KeyList
5157
5157
  };