@kong-ui-public/entities-keys 1.2.3 → 1.2.4

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 le, ref as K, computed as j, watch as ke, renderSlot as Q, createCommentVNode as H, unref as h, resolveComponent as E, openBlock as m, createElementBlock as x, createVNode as $, withCtx as b, createTextVNode as X, toDisplayString as O, useCssVars as Hn, useSlots as Xe, createElementVNode as N, createSlots as _e, createBlock as B, resolveDynamicComponent as Le, normalizeProps as zn, guardReactiveProps as Yn, Fragment as ge, renderList as ye, mergeProps as rt, normalizeClass as Ie, onBeforeMount as et, withModifiers as ze, withDirectives as Je, vShow as He, onMounted as Wn, onUnmounted as Gn, inject as Zn, normalizeStyle as Qn, pushScopeId as Xn, popScopeId as ea, reactive as St } from "vue";
1
+ import { defineComponent as le, ref as K, computed as j, watch as ke, renderSlot as Q, createCommentVNode as H, unref as h, resolveComponent as E, openBlock as m, createElementBlock as x, createVNode as $, withCtx as b, createTextVNode as X, toDisplayString as O, useCssVars as Ja, useSlots as Xe, createElementVNode as N, createSlots as _e, createBlock as B, resolveDynamicComponent as Le, normalizeProps as Ha, guardReactiveProps as za, Fragment as ge, renderList as ye, mergeProps as rt, normalizeClass as Ie, onBeforeMount as et, withModifiers as ze, withDirectives as Je, vShow as He, onMounted as Ya, onUnmounted as Wa, inject as Ga, normalizeStyle as Za, pushScopeId as Qa, popScopeId as Xa, reactive as St } from "vue";
2
2
  import { useRouter as pt } from "vue-router";
3
3
  import { createI18n as ft, i18nTComponent as Wt } from "@kong-ui-public/i18n";
4
- import ta from "axios";
5
- import { MethodsArray as na } from "@kong/kongponents";
6
- const aa = {
4
+ import ei from "axios";
5
+ import { MethodsArray as ti } from "@kong/kongponents";
6
+ const ai = {
7
7
  title: "Keys",
8
8
  list: {
9
9
  toolbar_actions: {
@@ -115,11 +115,11 @@ const aa = {
115
115
  }
116
116
  }
117
117
  }
118
- }, ia = {
119
- keys: aa
118
+ }, ii = {
119
+ keys: ai
120
120
  };
121
- function oa() {
122
- const e = ft("en-us", ia);
121
+ function ni() {
122
+ const e = ft("en-us", ii);
123
123
  return {
124
124
  i18n: e,
125
125
  i18nT: Wt(e)
@@ -127,7 +127,7 @@ function oa() {
127
127
  };
128
128
  }
129
129
  const yt = {
130
- useI18n: oa
130
+ useI18n: ni
131
131
  }, Me = {
132
132
  list: {
133
133
  konnect: {
@@ -157,65 +157,65 @@ const yt = {
157
157
  var Gt = /* @__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))(Gt || {}), Be = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Be || {}), Ae = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ae || {}), G = /* @__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))(G || {}), pe = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(pe || {});
158
158
  function mt(e = {}) {
159
159
  return {
160
- axiosInstance: ta.create({
160
+ axiosInstance: ei.create({
161
161
  withCredentials: !0,
162
162
  timeout: 3e4,
163
163
  ...e
164
164
  })
165
165
  };
166
166
  }
167
- function ra() {
167
+ function oi() {
168
168
  return {
169
- debounce: (e, n) => {
169
+ debounce: (e, a) => {
170
170
  let t;
171
- return (...a) => {
171
+ return (...i) => {
172
172
  clearTimeout(t), t = window == null ? void 0 : window.setTimeout(() => {
173
- e(...a);
174
- }, n);
173
+ e(...i);
174
+ }, a);
175
175
  };
176
176
  }
177
177
  };
178
178
  }
179
- const nt = "khcp-user-table-preferences", la = {
179
+ const at = "khcp-user-table-preferences", ri = {
180
180
  pageSize: 30,
181
181
  sortColumnKey: void 0,
182
182
  sortColumnOrder: void 0
183
183
  };
184
- function sa() {
184
+ function li() {
185
185
  const e = (t) => {
186
186
  if (typeof t == "string")
187
187
  try {
188
188
  return JSON.parse(t);
189
- } catch (a) {
190
- console.error("useTablePreferences(tryParseJson)", a);
189
+ } catch (i) {
190
+ console.error("useTablePreferences(tryParseJson)", i);
191
191
  return;
192
192
  }
193
- }, n = () => {
194
- const t = e(localStorage.getItem(nt));
193
+ }, a = () => {
194
+ const t = e(localStorage.getItem(at));
195
195
  return !t || !Object.keys(t).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(t));
196
196
  };
197
197
  return {
198
- setTablePreferences: (t, a) => {
198
+ setTablePreferences: (t, i) => {
199
199
  try {
200
- const i = n();
201
- i.set(t, a), localStorage.setItem(nt, JSON.stringify(Object.fromEntries(i.entries())));
202
- } catch (i) {
203
- console.error("useTablePreferences(setTablePreferences)", i);
200
+ const n = a();
201
+ n.set(t, i), localStorage.setItem(at, JSON.stringify(Object.fromEntries(n.entries())));
202
+ } catch (n) {
203
+ console.error("useTablePreferences(setTablePreferences)", n);
204
204
  }
205
205
  },
206
206
  getTablePreferences: (t) => {
207
- const a = n();
208
- return (a == null ? void 0 : a.get(t)) || void 0 || la;
207
+ const i = a();
208
+ return (i == null ? void 0 : i.get(t)) || void 0 || ri;
209
209
  },
210
210
  deleteAllTablePreferences: () => {
211
- localStorage.removeItem(nt);
211
+ localStorage.removeItem(at);
212
212
  }
213
213
  };
214
214
  }
215
- const ca = {
215
+ const si = {
216
216
  message: "Are you sure you want to delete this {entityType}?",
217
217
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
218
- }, ua = {
218
+ }, ci = {
219
219
  actions: {
220
220
  save: "Save",
221
221
  cancel: "Cancel",
@@ -224,13 +224,13 @@ const ca = {
224
224
  errors: {
225
225
  edit: "The entity could not be edited at this time."
226
226
  }
227
- }, da = {
227
+ }, ui = {
228
228
  emptyState: {
229
229
  noSearchResultsTitle: "No results found",
230
230
  noSearchResultsMessage: "Please adjust the criteria and try again.",
231
231
  noSearchResultsCtaText: "Clear"
232
232
  }
233
- }, pa = {
233
+ }, di = {
234
234
  title: "Configuration",
235
235
  actions: {
236
236
  copy: "Copy JSON"
@@ -265,7 +265,7 @@ const ca = {
265
265
  entryTitle: "Entry {index}",
266
266
  structuredFormat: "Structured"
267
267
  }
268
- }, fa = {
268
+ }, pi = {
269
269
  filterButtonText: "Filter",
270
270
  fieldLabel: "Filter by:",
271
271
  inputPlaceholder: "Enter a value",
@@ -273,15 +273,15 @@ const ca = {
273
273
  applyButtonText: "Apply",
274
274
  clearButtonText: "Clear",
275
275
  clearAllButtonText: "Clear all filters"
276
- }, ya = {
276
+ }, fi = {
277
277
  errors: {
278
278
  fetch: "Could not fetch available items",
279
279
  invalid: "Please select a valid value"
280
280
  }
281
- }, ma = {
281
+ }, yi = {
282
282
  unexpected: "An unexpected error has occurred",
283
283
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
284
- }, ga = {
284
+ }, mi = {
285
285
  enable: {
286
286
  title: "Enable {entityType}",
287
287
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -292,41 +292,41 @@ const ca = {
292
292
  message: "Are you sure you want to disable the {entityType} {entityName}?",
293
293
  confirmText: "Yes, disable"
294
294
  }
295
- }, ha = {
296
- deleteModal: ca,
297
- baseForm: ua,
298
- baseTable: da,
299
- baseConfigCard: pa,
300
- filter: fa,
301
- debouncedFilter: ya,
302
- errors: ma,
303
- toggleModal: ga
295
+ }, gi = {
296
+ deleteModal: si,
297
+ baseForm: ci,
298
+ baseTable: ui,
299
+ baseConfigCard: di,
300
+ filter: pi,
301
+ debouncedFilter: fi,
302
+ errors: yi,
303
+ toggleModal: mi
304
304
  };
305
305
  function gt() {
306
- const e = ft("en-us", ha);
306
+ const e = ft("en-us", gi);
307
307
  return {
308
308
  i18n: e,
309
309
  i18nT: Wt(e)
310
310
  // Translation component <i18n-t>
311
311
  };
312
312
  }
313
- function va(e, n, t, a = {
313
+ function hi(e, a, t, i = {
314
314
  fetchedItemsKey: "data",
315
315
  searchKeys: ["id"]
316
316
  }) {
317
317
  t || (t = "100");
318
- const { axiosInstance: i } = mt({
318
+ const { axiosInstance: n } = mt({
319
319
  headers: e.requestHeaders
320
- }), { i18n: { t: o } } = gt(), { debounce: r } = ra(), s = r(async (y) => {
320
+ }), { i18n: { t: o } } = gt(), { debounce: r } = oi(), s = r(async (y) => {
321
321
  await f(y);
322
- }, 200), c = K(!1), l = K(""), d = K(""), u = K([]), v = K(void 0), k = h(n);
322
+ }, 200), c = K(!1), l = K(""), d = K(""), u = K([]), v = K(void 0), k = h(a);
323
323
  let w = `${e.apiBaseUrl}${k}`;
324
324
  e.app === "konnect" ? w = w.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (w = w.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
325
325
  const C = async () => {
326
326
  try {
327
327
  c.value = !0;
328
- const { data: y } = await i.get(`${w}?size=${t}`);
329
- y != null && y.next || (v.value = a.fetchedItemsKey in y ? y[a.fetchedItemsKey] : []), u.value = a.fetchedItemsKey in y ? y[a.fetchedItemsKey] : [];
328
+ const { data: y } = await n.get(`${w}?size=${t}`);
329
+ y != null && y.next || (v.value = i.fetchedItemsKey in y ? y[i.fetchedItemsKey] : []), u.value = i.fetchedItemsKey in y ? y[i.fetchedItemsKey] : [];
330
330
  } catch {
331
331
  u.value = [], l.value = o("debouncedFilter.errors.fetch");
332
332
  } finally {
@@ -340,8 +340,8 @@ function va(e, n, t, a = {
340
340
  c.value = !0, l.value = "", d.value = "";
341
341
  let L = w + "";
342
342
  y && (L += `/${y}`);
343
- const { data: T } = await i.get(`${L}?size=${t}`);
344
- a.fetchedItemsKey in T ? u.value = T[a.fetchedItemsKey] : T != null && T.id ? u.value = [T] : u.value = [];
343
+ const { data: T } = await n.get(`${L}?size=${t}`);
344
+ i.fetchedItemsKey in T ? u.value = T[i.fetchedItemsKey] : T != null && T.id ? u.value = [T] : u.value = [];
345
345
  } catch (L) {
346
346
  ((S = L == null ? void 0 : L.response) == null ? void 0 : S.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (u.value = [], l.value = o("debouncedFilter.errors.fetch"));
347
347
  } finally {
@@ -351,7 +351,7 @@ function va(e, n, t, a = {
351
351
  c.value = !0, d.value = "", y ? (u.value = (F = v.value) == null ? void 0 : F.filter((L) => {
352
352
  var T;
353
353
  let Y = !1;
354
- for (const A of a.searchKeys) {
354
+ for (const A of i.searchKeys) {
355
355
  const P = typeof L[A] == "string" ? (T = L[A]) == null ? void 0 : T.toLowerCase() : L[A];
356
356
  P != null && P.includes(y.toLowerCase()) && (Y = !0);
357
357
  }
@@ -368,68 +368,68 @@ function va(e, n, t, a = {
368
368
  debouncedQueryChange: s
369
369
  };
370
370
  }
371
- function ka(e, n) {
372
- const t = h(n), a = j(
371
+ function vi(e, a) {
372
+ const t = h(a), i = j(
373
373
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
374
374
  );
375
- return a.value.search = "", (i) => `${a.value.href}/${i}`;
375
+ return i.value.search = "", (n) => `${i.value.href}/${n}`;
376
376
  }
377
- function ba() {
377
+ function ki() {
378
378
  const { i18n: { t: e } } = gt();
379
379
  return {
380
- getMessageFromError: (n) => {
381
- var t, a, i;
382
- if (!n)
380
+ getMessageFromError: (a) => {
381
+ var t, i, n;
382
+ if (!a)
383
383
  return e("errors.unexpected");
384
- if ((t = n == null ? void 0 : n.response) != null && t.data) {
385
- if (n.response.data.detail)
386
- return n.response.data.detail;
387
- if ((a = n.response.data.details) != null && a.length)
388
- return n.response.data.details.map((o) => {
384
+ if ((t = a == null ? void 0 : a.response) != null && t.data) {
385
+ if (a.response.data.detail)
386
+ return a.response.data.detail;
387
+ if ((i = a.response.data.details) != null && i.length)
388
+ return a.response.data.details.map((o) => {
389
389
  let r = e("errors.unexpected");
390
390
  return o.messages && typeof o.messages == "object" && o.messages.length && (r = o.messages.join(", ")), o.field ? `${o.field} - ${r}` : r;
391
391
  }).join("; ");
392
- if (n.response.data.message) {
393
- const { message: o } = n.response.data;
394
- return Array.isArray(o) ? (i = o[0]) != null && i.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
392
+ if (a.response.data.message) {
393
+ const { message: o } = a.response.data;
394
+ return Array.isArray(o) ? (n = o[0]) != null && n.constraints ? Object.values(o[0].constraints)[0] : o[0] : o;
395
395
  }
396
- if (typeof n.response.data == "string")
397
- return n.response.data;
398
- if (typeof n.response.data == "object")
399
- return Object.keys(n.response.data).map((o) => `${o} ${n.response.data[o]}`).join(", ");
396
+ if (typeof a.response.data == "string")
397
+ return a.response.data;
398
+ if (typeof a.response.data == "object")
399
+ return Object.keys(a.response.data).map((o) => `${o} ${a.response.data[o]}`).join(", ");
400
400
  }
401
- return n.message || e("errors.unexpected");
401
+ return a.message || e("errors.unexpected");
402
402
  }
403
403
  };
404
404
  }
405
- function Zt(e, n) {
406
- const t = K(h(e)), a = K(h(n)), i = j(
405
+ function Zt(e, a) {
406
+ const t = K(h(e)), i = K(h(a)), n = j(
407
407
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
408
408
  ), o = j(
409
- () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
409
+ () => i.value.startsWith("/") ? new URL(`${window.location.origin}${i.value}`) : new URL(i.value)
410
410
  );
411
411
  return (r) => {
412
412
  const { page: s, pageSize: c, offset: l, sortColumnKey: d, sortColumnOrder: u, query: v } = r;
413
413
  try {
414
414
  let k = new URL(o.value.href);
415
- return i.value && v ? (k.search = "", k = new URL(`${k.href}/${v}/`)) : (i.value || new URLSearchParams(v).forEach((w, C) => {
415
+ return n.value && v ? (k.search = "", k = new URL(`${k.href}/${v}/`)) : (n.value || new URLSearchParams(v).forEach((w, C) => {
416
416
  k.searchParams.append(C, w);
417
417
  }), d && k.searchParams.append("sort_by", d), u === "desc" && k.searchParams.append("sort_desc", "1"), k.searchParams.append("size", String(c))), l && s !== 1 && k.searchParams.append("offset", String(l)), k.href;
418
418
  } catch (k) {
419
- return console.error("RouteList(fetcher)", k), a.value;
419
+ return console.error("RouteList(fetcher)", k), i.value;
420
420
  }
421
421
  };
422
422
  }
423
- function Ca(e, n, t = "data") {
424
- const a = h(n), { axiosInstance: i } = mt({
423
+ function bi(e, a, t = "data") {
424
+ const i = h(a), { axiosInstance: n } = mt({
425
425
  headers: e.requestHeaders
426
- }), o = Zt(e, a), r = K({
426
+ }), o = Zt(e, i), r = K({
427
427
  status: Ae.Idle
428
428
  });
429
429
  return { fetcher: async (s) => {
430
430
  try {
431
431
  r.value = { status: Ae.Loading };
432
- const c = o(s), { data: l } = await i.get(c), d = t && t.replace(/[^\w-_]/gi, "");
432
+ const c = o(s), { data: l } = await n.get(c), d = t && t.replace(/[^\w-_]/gi, "");
433
433
  let u;
434
434
  l[d] && Array.isArray(l[d]) ? u = l[d] : u = Object.keys(l).length ? [l] : [];
435
435
  const v = {
@@ -462,45 +462,45 @@ function Ca(e, n, t = "data") {
462
462
  }
463
463
  }, fetcherState: r };
464
464
  }
465
- function wa() {
465
+ function Ci() {
466
466
  return {
467
- getPropValue: (e, n) => (n == null ? void 0 : n[e]) ?? void 0
467
+ getPropValue: (e, a) => (a == null ? void 0 : a[e]) ?? void 0
468
468
  };
469
469
  }
470
- function _a() {
470
+ function wi() {
471
471
  return {
472
- convertKeyToTitle: (e, n = "_") => e ? e.split(n).map((t) => t.toLowerCase() === "id" ? t.toUpperCase() : t.charAt(0).toUpperCase() + t.substring(1)).join(" ") : ""
472
+ convertKeyToTitle: (e, a = "_") => e ? e.split(a).map((t) => t.toLowerCase() === "id" ? t.toUpperCase() : t.charAt(0).toUpperCase() + t.substring(1)).join(" ") : ""
473
473
  };
474
474
  }
475
475
  const Qt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, It = (e) => {
476
476
  if (typeof e != "string")
477
477
  throw new TypeError("Invalid argument expected string");
478
- const n = e.match(Qt);
479
- if (!n)
478
+ const a = e.match(Qt);
479
+ if (!a)
480
480
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
481
- return n.shift(), n;
481
+ return a.shift(), a;
482
482
  }, xt = (e) => e === "*" || e === "x" || e === "X", At = (e) => {
483
- const n = parseInt(e, 10);
484
- return isNaN(n) ? e : n;
485
- }, Sa = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Ia = (e, n) => {
486
- if (xt(e) || xt(n))
483
+ const a = parseInt(e, 10);
484
+ return isNaN(a) ? e : a;
485
+ }, _i = (e, a) => typeof e != typeof a ? [String(e), String(a)] : [e, a], Si = (e, a) => {
486
+ if (xt(e) || xt(a))
487
487
  return 0;
488
- const [t, a] = Sa(At(e), At(n));
489
- return t > a ? 1 : t < a ? -1 : 0;
490
- }, Tt = (e, n) => {
491
- for (let t = 0; t < Math.max(e.length, n.length); t++) {
492
- const a = Ia(e[t] || "0", n[t] || "0");
493
- if (a !== 0)
494
- return a;
488
+ const [t, i] = _i(At(e), At(a));
489
+ return t > i ? 1 : t < i ? -1 : 0;
490
+ }, Tt = (e, a) => {
491
+ for (let t = 0; t < Math.max(e.length, a.length); t++) {
492
+ const i = Si(e[t] || "0", a[t] || "0");
493
+ if (i !== 0)
494
+ return i;
495
495
  }
496
496
  return 0;
497
- }, xa = (e, n) => {
498
- const t = It(e), a = It(n), i = t.pop(), o = a.pop(), r = Tt(t, a);
499
- return r !== 0 ? r : i && o ? Tt(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
500
- }, jt = (e, n, t) => {
501
- Aa(t);
502
- const a = xa(e, n);
503
- return Xt[t].includes(a);
497
+ }, Ii = (e, a) => {
498
+ const t = It(e), i = It(a), n = t.pop(), o = i.pop(), r = Tt(t, i);
499
+ return r !== 0 ? r : n && o ? Tt(n.split("."), o.split(".")) : n || o ? n ? -1 : 1 : 0;
500
+ }, jt = (e, a, t) => {
501
+ xi(t);
502
+ const i = Ii(e, a);
503
+ return Xt[t].includes(i);
504
504
  }, Xt = {
505
505
  ">": [1],
506
506
  ">=": [0, 1],
@@ -508,46 +508,46 @@ const Qt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
508
508
  "<=": [-1, 0],
509
509
  "<": [-1],
510
510
  "!=": [-1, 1]
511
- }, $t = Object.keys(Xt), Aa = (e) => {
511
+ }, $t = Object.keys(Xt), xi = (e) => {
512
512
  if (typeof e != "string")
513
513
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
514
514
  if ($t.indexOf(e) === -1)
515
515
  throw new Error(`Invalid operator, expected one of ${$t.join("|")}`);
516
- }, Ta = (e) => typeof e == "string" && /^[v\d]/.test(e) && Qt.test(e);
517
- function ja(e) {
518
- const { gatewayInfo: n, supportedRange: t } = e;
519
- if (!n)
516
+ }, Ai = (e) => typeof e == "string" && /^[v\d]/.test(e) && Qt.test(e);
517
+ function Ti(e) {
518
+ const { gatewayInfo: a, supportedRange: t } = e;
519
+ if (!a)
520
520
  return !0;
521
- const { edition: a, version: i } = n;
522
- if (!Ta(i))
521
+ const { edition: i, version: n } = a;
522
+ if (!Ai(n))
523
523
  return console.error("Invalid version"), !1;
524
- const o = t[a];
524
+ const o = t[i];
525
525
  if (!o)
526
526
  return !1;
527
527
  const [r, s] = o;
528
- return !(r && jt(i, r, "<") || s && jt(i, s, ">"));
528
+ return !(r && jt(n, r, "<") || s && jt(n, s, ">"));
529
529
  }
530
530
  const ce = {
531
531
  useAxios: mt,
532
- useDebouncedFilter: va,
533
- useDeleteUrlBuilder: ka,
534
- useErrors: ba,
535
- useFetcher: Ca,
532
+ useDebouncedFilter: hi,
533
+ useDeleteUrlBuilder: vi,
534
+ useErrors: ki,
535
+ useFetcher: bi,
536
536
  useFetchUrlBuilder: Zt,
537
- useHelpers: wa,
538
- useStringHelpers: _a,
537
+ useHelpers: Ci,
538
+ useStringHelpers: wi,
539
539
  useI18n: gt,
540
- useGatewayFeatureSupported: ja
541
- }, $a = {
540
+ useGatewayFeatureSupported: Ti
541
+ }, ji = {
542
542
  fail: "Failed to copy id to clipboard",
543
543
  success: {
544
544
  prefix: "Successfully",
545
545
  content: " copied to clipboard"
546
546
  }
547
- }, Oa = "Copy to clipboard", Ka = {
548
- message: $a,
549
- iconTitle: Oa
550
- }, Ma = "kong-ui-copy-uuid-notify", Ea = { class: "kong-ui-copy-uuid" }, Fa = ["onClick"], Ot = 15, Ba = /* @__PURE__ */ le({
547
+ }, $i = "Copy to clipboard", Oi = {
548
+ message: ji,
549
+ iconTitle: $i
550
+ }, Ki = "kong-ui-copy-uuid-notify", Mi = { class: "kong-ui-copy-uuid" }, Ei = ["onClick"], Ot = 15, Fi = /* @__PURE__ */ le({
551
551
  __name: "CopyUuid",
552
552
  props: {
553
553
  uuid: {
@@ -590,8 +590,8 @@ const ce = {
590
590
  }
591
591
  },
592
592
  emits: ["success", "error"],
593
- setup(e, { emit: n }) {
594
- const t = e, { t: a } = ft("en-us", Ka), i = t.notify || Zn(Ma, () => {
593
+ setup(e, { emit: a }) {
594
+ const t = e, { t: i } = ft("en-us", Oi), n = t.notify || Ga(Ki, () => {
595
595
  }), o = j(() => t.idTooltip ? {
596
596
  label: t.idTooltip,
597
597
  positionFixed: !0,
@@ -609,21 +609,21 @@ const ce = {
609
609
  }, 1800);
610
610
  }, u = (v) => {
611
611
  if (!v(t.uuid)) {
612
- typeof i == "function" && i({
612
+ typeof n == "function" && n({
613
613
  type: "error",
614
- message: a("message.fail")
615
- }), r.value ? d(a("message.fail")) : n("error", t.uuid);
614
+ message: i("message.fail")
615
+ }), r.value ? d(i("message.fail")) : a("error", t.uuid);
616
616
  return;
617
617
  }
618
- const k = t.uuid.length > Ot, w = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${t.uuid.substring(0, Ot) + (k ? "..." : "")}"`;
619
- typeof i == "function" && i({
618
+ const k = t.uuid.length > Ot, w = t.format === "hidden" || t.format === "redacted" ? i("message.success.prefix") : `"${t.uuid.substring(0, Ot) + (k ? "..." : "")}"`;
619
+ typeof n == "function" && n({
620
620
  type: "success",
621
- message: `${w}${a("message.success.content")}`
622
- }), r.value ? d(t.successTooltip) : n("success", t.uuid);
621
+ message: `${w}${i("message.success.content")}`
622
+ }), r.value ? d(t.successTooltip) : a("success", t.uuid);
623
623
  };
624
624
  return (v, k) => {
625
625
  const w = E("KIcon"), C = E("KClipboardProvider");
626
- return m(), x("div", Ea, [
626
+ return m(), x("div", Mi, [
627
627
  e.format !== "hidden" ? (m(), B(Le(e.idTooltip ? "KTooltip" : "div"), rt({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
628
628
  default: b(() => [
629
629
  N("div", {
@@ -652,9 +652,9 @@ const ce = {
652
652
  "hide-title": !!e.tooltip || void 0,
653
653
  icon: "copy",
654
654
  size: "16",
655
- title: h(a)("iconTitle")
655
+ title: h(i)("iconTitle")
656
656
  }, null, 8, ["color", "hide-title", "title"])
657
- ], 8, Fa)
657
+ ], 8, Ei)
658
658
  ]),
659
659
  _: 1
660
660
  })
@@ -664,15 +664,15 @@ const ce = {
664
664
  ]);
665
665
  };
666
666
  }
667
- }), Na = (e, n) => {
667
+ }), Bi = (e, a) => {
668
668
  const t = e.__vccOpts || e;
669
- for (const [a, i] of n)
670
- t[a] = i;
669
+ for (const [i, n] of a)
670
+ t[i] = n;
671
671
  return t;
672
- }, en = /* @__PURE__ */ Na(Ba, [["__scopeId", "data-v-bfdaf6f7"]]), La = {
672
+ }, ea = /* @__PURE__ */ Bi(Fi, [["__scopeId", "data-v-bfdaf6f7"]]), Ni = {
673
673
  key: 0,
674
674
  class: "config-card-fieldset-title"
675
- }, qa = /* @__PURE__ */ le({
675
+ }, Li = /* @__PURE__ */ le({
676
676
  __name: "JsonCardItem",
677
677
  props: {
678
678
  item: {
@@ -689,25 +689,25 @@ const ce = {
689
689
  }
690
690
  },
691
691
  setup(e) {
692
- const n = e, { i18n: { t } } = ce.useI18n(), { convertKeyToTitle: a } = ce.useStringHelpers(), i = j(() => n.item.key ?? "json-array-item"), o = j(() => n.item.value ?? n.item), r = j(() => {
692
+ const a = e, { i18n: { t } } = ce.useI18n(), { convertKeyToTitle: i } = ce.useStringHelpers(), n = j(() => a.item.key ?? "json-array-item"), o = j(() => a.item.value ?? a.item), r = j(() => {
693
693
  const c = JSON.parse(JSON.stringify(o.value));
694
- return n.isArrayItem && delete c.name, c;
694
+ return a.isArrayItem && delete c.name, c;
695
695
  }), s = j(() => {
696
696
  var c;
697
- return n.isArrayItem ? (c = o.value) != null && c.name ? a(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
697
+ return a.isArrayItem ? (c = o.value) != null && c.name ? i(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: a.index }) : "";
698
698
  });
699
699
  return (c, l) => (m(), B(Le(e.isArrayItem ? "fieldset" : "div"), {
700
700
  class: Ie(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
701
701
  }, {
702
702
  default: b(() => [
703
- e.isArrayItem ? (m(), x("legend", La, [
703
+ e.isArrayItem ? (m(), x("legend", Ni, [
704
704
  N("b", null, O(s.value), 1)
705
705
  ])) : H("", !0),
706
706
  (m(!0), x(ge, null, ye(Object.keys(r.value), (d, u) => (m(), B(qe, {
707
- key: `${i.value}-property-${u}`,
707
+ key: `${n.value}-property-${u}`,
708
708
  item: {
709
709
  key: d,
710
- label: h(a)(d),
710
+ label: h(i)(d),
711
711
  value: r.value[d]
712
712
  }
713
713
  }, null, 8, ["item"]))), 128))
@@ -715,12 +715,12 @@ const ce = {
715
715
  _: 1
716
716
  }, 8, ["class"]));
717
717
  }
718
- }), ve = (e, n) => {
718
+ }), ve = (e, a) => {
719
719
  const t = e.__vccOpts || e;
720
- for (const [a, i] of n)
721
- t[a] = i;
720
+ for (const [i, n] of a)
721
+ t[i] = n;
722
722
  return t;
723
- }, tn = /* @__PURE__ */ ve(qa, [["__scopeId", "data-v-68ca83ec"]]), Pa = /* @__PURE__ */ le({
723
+ }, ta = /* @__PURE__ */ ve(Li, [["__scopeId", "data-v-68ca83ec"]]), qi = /* @__PURE__ */ le({
724
724
  __name: "InternalLinkItem",
725
725
  props: {
726
726
  item: {
@@ -730,24 +730,24 @@ const ce = {
730
730
  },
731
731
  emits: ["navigation-click"],
732
732
  setup(e) {
733
- const { i18n: { t: n } } = ce.useI18n();
734
- return (t, a) => {
735
- const i = E("KButton");
733
+ const { i18n: { t: a } } = ce.useI18n();
734
+ return (t, i) => {
735
+ const n = E("KButton");
736
736
  return m(), x("div", null, [
737
- $(i, {
737
+ $(n, {
738
738
  appearance: "btn-link",
739
739
  class: "navigation-button",
740
- onClick: a[0] || (a[0] = (o) => t.$emit("navigation-click", e.item))
740
+ onClick: i[0] || (i[0] = (o) => t.$emit("navigation-click", e.item))
741
741
  }, {
742
742
  default: b(() => [
743
- X(O(e.item.value || h(n)("baseConfigCard.commonFields.link")), 1)
743
+ X(O(e.item.value || h(a)("baseConfigCard.commonFields.link")), 1)
744
744
  ]),
745
745
  _: 1
746
746
  })
747
747
  ]);
748
748
  };
749
749
  }
750
- }), nn = /* @__PURE__ */ ve(Pa, [["__scopeId", "data-v-7410504d"]]), Ua = /* @__PURE__ */ le({
750
+ }), aa = /* @__PURE__ */ ve(qi, [["__scopeId", "data-v-7410504d"]]), Pi = /* @__PURE__ */ le({
751
751
  __name: "StatusBadge",
752
752
  props: {
753
753
  status: {
@@ -756,24 +756,24 @@ const ce = {
756
756
  }
757
757
  },
758
758
  setup(e) {
759
- const { i18n: { t: n } } = ce.useI18n();
760
- return (t, a) => {
761
- const i = E("KBadge");
762
- return m(), B(i, {
759
+ const { i18n: { t: a } } = ce.useI18n();
760
+ return (t, i) => {
761
+ const n = E("KBadge");
762
+ return m(), B(n, {
763
763
  appearance: e.status ? "success" : "neutral"
764
764
  }, {
765
765
  default: b(() => [
766
- X(O(e.status ? h(n)("baseConfigCard.statusBadge.enabledLabel") : h(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
766
+ X(O(e.status ? h(a)("baseConfigCard.statusBadge.enabledLabel") : h(a)("baseConfigCard.statusBadge.disabledLabel")), 1)
767
767
  ]),
768
768
  _: 1
769
769
  }, 8, ["appearance"]);
770
770
  };
771
771
  }
772
- }), Ra = "#0044f4", Va = "#e0e4ea", Da = "#3a3f51", Ja = "1px", Ha = "20px", za = { class: "config-card-details-row" }, Ya = ["data-testid"], Wa = ["data-testid"], Ga = ["data-testid"], Za = ["data-testid"], Qa = { key: 1 }, Xa = ["data-testid"], ei = ["data-testid"], ti = ["data-testid"], ni = ["data-testid"], ai = ["title"], ii = {
772
+ }), Ui = "#0044f4", Ri = "#e0e4ea", Vi = "#3a3f51", Di = "1px", Ji = "20px", Hi = { class: "config-card-details-row" }, zi = ["data-testid"], Yi = ["data-testid"], Wi = ["data-testid"], Gi = ["data-testid"], Zi = { key: 1 }, Qi = ["data-testid"], Xi = ["data-testid"], en = ["data-testid"], tn = ["data-testid"], an = ["title"], nn = {
773
773
  name: "ConfigCardItem",
774
- components: { CopyUuid: en, JsonCardItem: tn, StatusBadge: Ua, InternalLinkItem: nn }
775
- }, oi = /* @__PURE__ */ le({
776
- ...ii,
774
+ components: { CopyUuid: ea, JsonCardItem: ta, StatusBadge: Pi, InternalLinkItem: aa }
775
+ }, on = /* @__PURE__ */ le({
776
+ ...nn,
777
777
  props: {
778
778
  item: {
779
779
  type: Object,
@@ -791,23 +791,23 @@ const ce = {
791
791
  }
792
792
  },
793
793
  emits: ["navigation-click"],
794
- setup(e, { emit: n }) {
794
+ setup(e, { emit: a }) {
795
795
  const t = e;
796
- Hn((u) => ({
797
- "2c6ac268": l.value ? "none" : `solid ${h(Ja)} ${h(Va)}`,
796
+ Ja((u) => ({
797
+ "2c6ac268": l.value ? "none" : `solid ${h(Di)} ${h(Ri)}`,
798
798
  c7a65802: c.value && r.value ? "block" : "flex",
799
799
  "778426fe": c.value && r.value ? "100%" : t.slim ? "50%" : "25%",
800
800
  "777f9b48": c.value && r.value ? "100%" : t.slim ? "50%" : "75%"
801
801
  }));
802
- const a = Xe(), { i18n: { t: i, formatUnixTimeStamp: o } } = ce.useI18n(), r = j(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = j(() => !!(t.item.tooltip || a["label-tooltip"])), c = j(() => t.item.type === G.Json || t.item.type === G.JsonArray), l = j(() => t.item.type === G.JsonArray), d = j(() => {
802
+ const i = Xe(), { i18n: { t: n, formatUnixTimeStamp: o } } = ce.useI18n(), r = j(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = j(() => !!(t.item.tooltip || i["label-tooltip"])), c = j(() => t.item.type === G.Json || t.item.type === G.JsonArray), l = j(() => t.item.type === G.JsonArray), d = j(() => {
803
803
  switch (t.item.type) {
804
804
  case G.ID:
805
805
  return {
806
806
  tag: "CopyUuid",
807
807
  attrs: {
808
808
  "data-testid": `${t.item.key}-copy-uuid`,
809
- "success-tooltip": i("baseConfigCard.copy.success"),
810
- tooltip: i("baseConfigCard.copy.tooltip", { label: t.item.label }),
809
+ "success-tooltip": n("baseConfigCard.copy.success"),
810
+ tooltip: n("baseConfigCard.copy.tooltip", { label: t.item.label }),
811
811
  truncated: !1,
812
812
  uuid: t.item.value,
813
813
  notify: () => {
@@ -819,8 +819,8 @@ const ce = {
819
819
  tag: "div",
820
820
  additionalComponent: "CopyUuid",
821
821
  childAttrs: {
822
- "success-tooltip": i("baseConfigCard.copy.success"),
823
- tooltip: i("baseConfigCard.copy.tooltip", { label: t.item.label }),
822
+ "success-tooltip": n("baseConfigCard.copy.success"),
823
+ tooltip: n("baseConfigCard.copy.tooltip", { label: t.item.label }),
824
824
  truncated: !1,
825
825
  notify: () => {
826
826
  }
@@ -832,8 +832,8 @@ const ce = {
832
832
  attrs: {
833
833
  "data-testid": `${t.item.key}-copy-uuid-redacted`,
834
834
  format: "redacted",
835
- "success-tooltip": i("baseConfigCard.copy.success"),
836
- tooltip: i("baseConfigCard.copy.tooltip", { label: t.item.label }),
835
+ "success-tooltip": n("baseConfigCard.copy.success"),
836
+ tooltip: n("baseConfigCard.copy.tooltip", { label: t.item.label }),
837
837
  truncated: !1,
838
838
  uuid: t.item.value,
839
839
  notify: () => {
@@ -846,8 +846,8 @@ const ce = {
846
846
  additionalComponent: "CopyUuid",
847
847
  childAttrs: {
848
848
  format: "redacted",
849
- "success-tooltip": i("baseConfigCard.copy.success"),
850
- tooltip: i("baseConfigCard.copy.tooltip", { label: t.item.label }),
849
+ "success-tooltip": n("baseConfigCard.copy.success"),
850
+ tooltip: n("baseConfigCard.copy.tooltip", { label: t.item.label }),
851
851
  truncated: !1,
852
852
  notify: () => {
853
853
  }
@@ -886,7 +886,7 @@ const ce = {
886
886
  "data-testid": `${t.item.key}-internal-link`,
887
887
  item: t.item,
888
888
  onNavigationClick: (u) => {
889
- n("navigation-click", u);
889
+ a("navigation-click", u);
890
890
  }
891
891
  }
892
892
  };
@@ -928,7 +928,7 @@ const ce = {
928
928
  });
929
929
  return (u, v) => {
930
930
  const k = E("KLabel"), w = E("KBadge"), C = E("KMethodBadge");
931
- return m(), x("div", za, [
931
+ return m(), x("div", Hi, [
932
932
  N("div", {
933
933
  class: "config-card-details-label",
934
934
  "data-testid": `${e.item.key}-label`
@@ -949,13 +949,13 @@ const ce = {
949
949
  Q(u.$slots, "label-tooltip", {}, () => [
950
950
  X(O(e.item.tooltip), 1)
951
951
  ], !0)
952
- ], 8, Wa)
952
+ ], 8, Yi)
953
953
  ]),
954
954
  key: "0"
955
955
  } : void 0
956
956
  ]), 1024)
957
957
  ], !0)
958
- ], 8, Ya),
958
+ ], 8, zi),
959
959
  N("div", {
960
960
  class: "config-card-details-value",
961
961
  "data-testid": `${e.item.key}-property-value`
@@ -963,8 +963,8 @@ const ce = {
963
963
  Q(u.$slots, e.item.key, {
964
964
  rowValue: e.item.value
965
965
  }, () => [
966
- r.value ? (m(), x("div", Qa, [
967
- (m(), B(Le(d.value.tag), zn(Yn(d.value.attrs)), {
966
+ r.value ? (m(), x("div", Zi, [
967
+ (m(), B(Le(d.value.tag), Ha(za(d.value.attrs)), {
968
968
  default: b(() => [
969
969
  d.value.additionalComponent === "KBadge" ? (m(), x("div", {
970
970
  key: 0,
@@ -981,18 +981,18 @@ const ce = {
981
981
  ]),
982
982
  _: 2
983
983
  }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
984
- ], 8, Xa)) : H("", !0),
984
+ ], 8, Qi)) : H("", !0),
985
985
  d.value.additionalComponent === "CopyUuid" ? (m(), x("div", {
986
986
  key: 1,
987
987
  class: "copy-uuid-array",
988
988
  "data-testid": `${e.item.key}-copy-uuid-array`
989
989
  }, [
990
- (m(!0), x(ge, null, ye(e.item.value, (p, f) => (m(), B(h(en), rt(d.value.childAttrs, {
990
+ (m(!0), x(ge, null, ye(e.item.value, (p, f) => (m(), B(h(ea), rt(d.value.childAttrs, {
991
991
  key: `${e.item.key}-copy-uuid-${f}`,
992
992
  "data-testid": `${e.item.key}-copy-uuid-${f}`,
993
993
  uuid: p
994
994
  }), null, 16, ["data-testid", "uuid"]))), 128))
995
- ], 8, ei)) : d.value.additionalComponent === "KMethodBadge" ? (m(), x("div", {
995
+ ], 8, Xi)) : d.value.additionalComponent === "KMethodBadge" ? (m(), x("div", {
996
996
  key: 2,
997
997
  class: "method-badge-array",
998
998
  "data-testid": `${e.item.key}-badge-methods`
@@ -1003,133 +1003,133 @@ const ce = {
1003
1003
  "data-testid": `${e.item.key}-badge-method-${f}`,
1004
1004
  "is-rounded": "",
1005
1005
  label: p,
1006
- method: h(na).includes(p.toLowerCase()) ? p.toLowerCase() : "custom"
1006
+ method: h(ti).includes(p.toLowerCase()) ? p.toLowerCase() : "custom"
1007
1007
  }, {
1008
1008
  default: b(() => [
1009
1009
  X(O(p), 1)
1010
1010
  ]),
1011
1011
  _: 2
1012
1012
  }, 1032, ["data-testid", "label", "method"]))), 128))
1013
- ], 8, ti)) : H("", !0),
1013
+ ], 8, en)) : H("", !0),
1014
1014
  d.value.additionalComponent === "JsonCardItem" ? (m(), x("div", {
1015
1015
  key: 3,
1016
1016
  "data-testid": `${t.item.key}-json-array-content`
1017
1017
  }, [
1018
- (m(!0), x(ge, null, ye(e.item.value, (p, f) => (m(), B(tn, {
1018
+ (m(!0), x(ge, null, ye(e.item.value, (p, f) => (m(), B(ta, {
1019
1019
  key: `json-array-item-${f}`,
1020
1020
  index: f,
1021
1021
  "is-array-item": "",
1022
1022
  item: p
1023
1023
  }, null, 8, ["index", "item"]))), 128))
1024
- ], 8, ni)) : (m(), x("span", {
1024
+ ], 8, tn)) : (m(), x("span", {
1025
1025
  key: 4,
1026
1026
  class: Ie(["attrs-data-text", { truncated: e.truncated }]),
1027
1027
  title: e.truncated ? e.item.value : void 0
1028
- }, O(d.value.text), 11, ai))
1028
+ }, O(d.value.text), 11, an))
1029
1029
  ]),
1030
1030
  _: 1
1031
1031
  }, 16))
1032
1032
  ])) : (m(), x("div", {
1033
1033
  key: 0,
1034
1034
  "data-testid": `${e.item.key}-no-value`
1035
- }, " – ", 8, Za))
1035
+ }, " – ", 8, Gi))
1036
1036
  ], !0)
1037
- ], 8, Ga)
1037
+ ], 8, Wi)
1038
1038
  ]);
1039
1039
  };
1040
1040
  }
1041
- }), qe = /* @__PURE__ */ ve(oi, [["__scopeId", "data-v-a3c5ab01"]]);
1041
+ }), qe = /* @__PURE__ */ ve(on, [["__scopeId", "data-v-a3c5ab01"]]);
1042
1042
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1043
- function an(e) {
1043
+ function ia(e) {
1044
1044
  return typeof e > "u" || e === null;
1045
1045
  }
1046
- function ri(e) {
1046
+ function rn(e) {
1047
1047
  return typeof e == "object" && e !== null;
1048
1048
  }
1049
- function li(e) {
1050
- return Array.isArray(e) ? e : an(e) ? [] : [e];
1049
+ function ln(e) {
1050
+ return Array.isArray(e) ? e : ia(e) ? [] : [e];
1051
1051
  }
1052
- function si(e, n) {
1053
- var t, a, i, o;
1054
- if (n)
1055
- for (o = Object.keys(n), t = 0, a = o.length; t < a; t += 1)
1056
- i = o[t], e[i] = n[i];
1052
+ function sn(e, a) {
1053
+ var t, i, n, o;
1054
+ if (a)
1055
+ for (o = Object.keys(a), t = 0, i = o.length; t < i; t += 1)
1056
+ n = o[t], e[n] = a[n];
1057
1057
  return e;
1058
1058
  }
1059
- function ci(e, n) {
1060
- var t = "", a;
1061
- for (a = 0; a < n; a += 1)
1059
+ function cn(e, a) {
1060
+ var t = "", i;
1061
+ for (i = 0; i < a; i += 1)
1062
1062
  t += e;
1063
1063
  return t;
1064
1064
  }
1065
- function ui(e) {
1065
+ function un(e) {
1066
1066
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1067
1067
  }
1068
- var di = an, pi = ri, fi = li, yi = ci, mi = ui, gi = si, re = {
1069
- isNothing: di,
1070
- isObject: pi,
1071
- toArray: fi,
1072
- repeat: yi,
1073
- isNegativeZero: mi,
1074
- extend: gi
1068
+ var dn = ia, pn = rn, fn = ln, yn = cn, mn = un, gn = sn, re = {
1069
+ isNothing: dn,
1070
+ isObject: pn,
1071
+ toArray: fn,
1072
+ repeat: yn,
1073
+ isNegativeZero: mn,
1074
+ extend: gn
1075
1075
  };
1076
- function on(e, n) {
1077
- var t = "", a = e.reason || "(unknown reason)";
1078
- return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !n && e.mark.snippet && (t += `
1076
+ function na(e, a) {
1077
+ var t = "", i = e.reason || "(unknown reason)";
1078
+ return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !a && e.mark.snippet && (t += `
1079
1079
 
1080
- ` + e.mark.snippet), a + " " + t) : a;
1080
+ ` + e.mark.snippet), i + " " + t) : i;
1081
1081
  }
1082
- function Pe(e, n) {
1083
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = on(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1082
+ function Pe(e, a) {
1083
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = a, this.message = na(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1084
1084
  }
1085
1085
  Pe.prototype = Object.create(Error.prototype);
1086
1086
  Pe.prototype.constructor = Pe;
1087
1087
  Pe.prototype.toString = function(e) {
1088
- return this.name + ": " + on(this, e);
1088
+ return this.name + ": " + na(this, e);
1089
1089
  };
1090
1090
  var fe = Pe;
1091
- function at(e, n, t, a, i) {
1092
- var o = "", r = "", s = Math.floor(i / 2) - 1;
1093
- return a - n > s && (o = " ... ", n = a - s + o.length), t - a > s && (r = " ...", t = a + s - r.length), {
1094
- str: o + e.slice(n, t).replace(/\t/g, "→") + r,
1095
- pos: a - n + o.length
1091
+ function it(e, a, t, i, n) {
1092
+ var o = "", r = "", s = Math.floor(n / 2) - 1;
1093
+ return i - a > s && (o = " ... ", a = i - s + o.length), t - i > s && (r = " ...", t = i + s - r.length), {
1094
+ str: o + e.slice(a, t).replace(/\t/g, "→") + r,
1095
+ pos: i - a + o.length
1096
1096
  // relative position
1097
1097
  };
1098
1098
  }
1099
- function it(e, n) {
1100
- return re.repeat(" ", n - e.length) + e;
1099
+ function nt(e, a) {
1100
+ return re.repeat(" ", a - e.length) + e;
1101
1101
  }
1102
- function hi(e, n) {
1103
- if (n = Object.create(n || null), !e.buffer)
1102
+ function hn(e, a) {
1103
+ if (a = Object.create(a || null), !e.buffer)
1104
1104
  return null;
1105
- n.maxLength || (n.maxLength = 79), typeof n.indent != "number" && (n.indent = 1), typeof n.linesBefore != "number" && (n.linesBefore = 3), typeof n.linesAfter != "number" && (n.linesAfter = 2);
1106
- for (var t = /\r?\n|\r|\0/g, a = [0], i = [], o, r = -1; o = t.exec(e.buffer); )
1107
- i.push(o.index), a.push(o.index + o[0].length), e.position <= o.index && r < 0 && (r = a.length - 2);
1108
- r < 0 && (r = a.length - 1);
1109
- var s = "", c, l, d = Math.min(e.line + n.linesAfter, i.length).toString().length, u = n.maxLength - (n.indent + d + 3);
1110
- for (c = 1; c <= n.linesBefore && !(r - c < 0); c++)
1111
- l = at(
1105
+ a.maxLength || (a.maxLength = 79), typeof a.indent != "number" && (a.indent = 1), typeof a.linesBefore != "number" && (a.linesBefore = 3), typeof a.linesAfter != "number" && (a.linesAfter = 2);
1106
+ for (var t = /\r?\n|\r|\0/g, i = [0], n = [], o, r = -1; o = t.exec(e.buffer); )
1107
+ n.push(o.index), i.push(o.index + o[0].length), e.position <= o.index && r < 0 && (r = i.length - 2);
1108
+ r < 0 && (r = i.length - 1);
1109
+ var s = "", c, l, d = Math.min(e.line + a.linesAfter, n.length).toString().length, u = a.maxLength - (a.indent + d + 3);
1110
+ for (c = 1; c <= a.linesBefore && !(r - c < 0); c++)
1111
+ l = it(
1112
1112
  e.buffer,
1113
- a[r - c],
1114
1113
  i[r - c],
1115
- e.position - (a[r] - a[r - c]),
1114
+ n[r - c],
1115
+ e.position - (i[r] - i[r - c]),
1116
1116
  u
1117
- ), s = re.repeat(" ", n.indent) + it((e.line - c + 1).toString(), d) + " | " + l.str + `
1117
+ ), s = re.repeat(" ", a.indent) + nt((e.line - c + 1).toString(), d) + " | " + l.str + `
1118
1118
  ` + s;
1119
- for (l = at(e.buffer, a[r], i[r], e.position, u), s += re.repeat(" ", n.indent) + it((e.line + 1).toString(), d) + " | " + l.str + `
1120
- `, s += re.repeat("-", n.indent + d + 3 + l.pos) + `^
1121
- `, c = 1; c <= n.linesAfter && !(r + c >= i.length); c++)
1122
- l = at(
1119
+ for (l = it(e.buffer, i[r], n[r], e.position, u), s += re.repeat(" ", a.indent) + nt((e.line + 1).toString(), d) + " | " + l.str + `
1120
+ `, s += re.repeat("-", a.indent + d + 3 + l.pos) + `^
1121
+ `, c = 1; c <= a.linesAfter && !(r + c >= n.length); c++)
1122
+ l = it(
1123
1123
  e.buffer,
1124
- a[r + c],
1125
1124
  i[r + c],
1126
- e.position - (a[r] - a[r + c]),
1125
+ n[r + c],
1126
+ e.position - (i[r] - i[r + c]),
1127
1127
  u
1128
- ), s += re.repeat(" ", n.indent) + it((e.line + c + 1).toString(), d) + " | " + l.str + `
1128
+ ), s += re.repeat(" ", a.indent) + nt((e.line + c + 1).toString(), d) + " | " + l.str + `
1129
1129
  `;
1130
1130
  return s.replace(/\n$/, "");
1131
1131
  }
1132
- var vi = hi, ki = [
1132
+ var vn = hn, kn = [
1133
1133
  "kind",
1134
1134
  "multi",
1135
1135
  "resolve",
@@ -1140,41 +1140,41 @@ var vi = hi, ki = [
1140
1140
  "representName",
1141
1141
  "defaultStyle",
1142
1142
  "styleAliases"
1143
- ], bi = [
1143
+ ], bn = [
1144
1144
  "scalar",
1145
1145
  "sequence",
1146
1146
  "mapping"
1147
1147
  ];
1148
- function Ci(e) {
1149
- var n = {};
1148
+ function Cn(e) {
1149
+ var a = {};
1150
1150
  return e !== null && Object.keys(e).forEach(function(t) {
1151
- e[t].forEach(function(a) {
1152
- n[String(a)] = t;
1151
+ e[t].forEach(function(i) {
1152
+ a[String(i)] = t;
1153
1153
  });
1154
- }), n;
1154
+ }), a;
1155
1155
  }
1156
- function wi(e, n) {
1157
- if (n = n || {}, Object.keys(n).forEach(function(t) {
1158
- if (ki.indexOf(t) === -1)
1156
+ function wn(e, a) {
1157
+ if (a = a || {}, Object.keys(a).forEach(function(t) {
1158
+ if (kn.indexOf(t) === -1)
1159
1159
  throw new fe('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1160
- }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1160
+ }), this.options = a, this.tag = e, this.kind = a.kind || null, this.resolve = a.resolve || function() {
1161
1161
  return !0;
1162
- }, this.construct = n.construct || function(t) {
1162
+ }, this.construct = a.construct || function(t) {
1163
1163
  return t;
1164
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ci(n.styleAliases || null), bi.indexOf(this.kind) === -1)
1164
+ }, this.instanceOf = a.instanceOf || null, this.predicate = a.predicate || null, this.represent = a.represent || null, this.representName = a.representName || null, this.defaultStyle = a.defaultStyle || null, this.multi = a.multi || !1, this.styleAliases = Cn(a.styleAliases || null), bn.indexOf(this.kind) === -1)
1165
1165
  throw new fe('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1166
1166
  }
1167
- var ue = wi;
1168
- function Kt(e, n) {
1167
+ var ue = wn;
1168
+ function Kt(e, a) {
1169
1169
  var t = [];
1170
- return e[n].forEach(function(a) {
1171
- var i = t.length;
1170
+ return e[a].forEach(function(i) {
1171
+ var n = t.length;
1172
1172
  t.forEach(function(o, r) {
1173
- o.tag === a.tag && o.kind === a.kind && o.multi === a.multi && (i = r);
1174
- }), t[i] = a;
1173
+ o.tag === i.tag && o.kind === i.kind && o.multi === i.multi && (n = r);
1174
+ }), t[n] = i;
1175
1175
  }), t;
1176
1176
  }
1177
- function _i() {
1177
+ function _n() {
1178
1178
  var e = {
1179
1179
  scalar: {},
1180
1180
  sequence: {},
@@ -1186,80 +1186,80 @@ function _i() {
1186
1186
  mapping: [],
1187
1187
  fallback: []
1188
1188
  }
1189
- }, n, t;
1190
- function a(i) {
1191
- i.multi ? (e.multi[i.kind].push(i), e.multi.fallback.push(i)) : e[i.kind][i.tag] = e.fallback[i.tag] = i;
1189
+ }, a, t;
1190
+ function i(n) {
1191
+ n.multi ? (e.multi[n.kind].push(n), e.multi.fallback.push(n)) : e[n.kind][n.tag] = e.fallback[n.tag] = n;
1192
1192
  }
1193
- for (n = 0, t = arguments.length; n < t; n += 1)
1194
- arguments[n].forEach(a);
1193
+ for (a = 0, t = arguments.length; a < t; a += 1)
1194
+ arguments[a].forEach(i);
1195
1195
  return e;
1196
1196
  }
1197
1197
  function lt(e) {
1198
1198
  return this.extend(e);
1199
1199
  }
1200
1200
  lt.prototype.extend = function(e) {
1201
- var n = [], t = [];
1201
+ var a = [], t = [];
1202
1202
  if (e instanceof ue)
1203
1203
  t.push(e);
1204
1204
  else if (Array.isArray(e))
1205
1205
  t = t.concat(e);
1206
1206
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
1207
- e.implicit && (n = n.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1207
+ e.implicit && (a = a.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1208
1208
  else
1209
1209
  throw new fe("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1210
- n.forEach(function(i) {
1211
- if (!(i instanceof ue))
1210
+ a.forEach(function(n) {
1211
+ if (!(n instanceof ue))
1212
1212
  throw new fe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1213
- if (i.loadKind && i.loadKind !== "scalar")
1213
+ if (n.loadKind && n.loadKind !== "scalar")
1214
1214
  throw new fe("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1215
- if (i.multi)
1215
+ if (n.multi)
1216
1216
  throw new fe("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1217
- }), t.forEach(function(i) {
1218
- if (!(i instanceof ue))
1217
+ }), t.forEach(function(n) {
1218
+ if (!(n instanceof ue))
1219
1219
  throw new fe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1220
1220
  });
1221
- var a = Object.create(lt.prototype);
1222
- return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Kt(a, "implicit"), a.compiledExplicit = Kt(a, "explicit"), a.compiledTypeMap = _i(a.compiledImplicit, a.compiledExplicit), a;
1221
+ var i = Object.create(lt.prototype);
1222
+ return i.implicit = (this.implicit || []).concat(a), i.explicit = (this.explicit || []).concat(t), i.compiledImplicit = Kt(i, "implicit"), i.compiledExplicit = Kt(i, "explicit"), i.compiledTypeMap = _n(i.compiledImplicit, i.compiledExplicit), i;
1223
1223
  };
1224
- var rn = lt, ln = new ue("tag:yaml.org,2002:str", {
1224
+ var oa = lt, ra = new ue("tag:yaml.org,2002:str", {
1225
1225
  kind: "scalar",
1226
1226
  construct: function(e) {
1227
1227
  return e !== null ? e : "";
1228
1228
  }
1229
- }), sn = new ue("tag:yaml.org,2002:seq", {
1229
+ }), la = new ue("tag:yaml.org,2002:seq", {
1230
1230
  kind: "sequence",
1231
1231
  construct: function(e) {
1232
1232
  return e !== null ? e : [];
1233
1233
  }
1234
- }), cn = new ue("tag:yaml.org,2002:map", {
1234
+ }), sa = new ue("tag:yaml.org,2002:map", {
1235
1235
  kind: "mapping",
1236
1236
  construct: function(e) {
1237
1237
  return e !== null ? e : {};
1238
1238
  }
1239
- }), un = new rn({
1239
+ }), ca = new oa({
1240
1240
  explicit: [
1241
- ln,
1242
- sn,
1243
- cn
1241
+ ra,
1242
+ la,
1243
+ sa
1244
1244
  ]
1245
1245
  });
1246
- function Si(e) {
1246
+ function Sn(e) {
1247
1247
  if (e === null)
1248
1248
  return !0;
1249
- var n = e.length;
1250
- return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1249
+ var a = e.length;
1250
+ return a === 1 && e === "~" || a === 4 && (e === "null" || e === "Null" || e === "NULL");
1251
1251
  }
1252
- function Ii() {
1252
+ function In() {
1253
1253
  return null;
1254
1254
  }
1255
- function xi(e) {
1255
+ function xn(e) {
1256
1256
  return e === null;
1257
1257
  }
1258
- var dn = new ue("tag:yaml.org,2002:null", {
1258
+ var ua = new ue("tag:yaml.org,2002:null", {
1259
1259
  kind: "scalar",
1260
- resolve: Si,
1261
- construct: Ii,
1262
- predicate: xi,
1260
+ resolve: Sn,
1261
+ construct: In,
1262
+ predicate: xn,
1263
1263
  represent: {
1264
1264
  canonical: function() {
1265
1265
  return "~";
@@ -1279,23 +1279,23 @@ var dn = new ue("tag:yaml.org,2002:null", {
1279
1279
  },
1280
1280
  defaultStyle: "lowercase"
1281
1281
  });
1282
- function Ai(e) {
1282
+ function An(e) {
1283
1283
  if (e === null)
1284
1284
  return !1;
1285
- var n = e.length;
1286
- return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1285
+ var a = e.length;
1286
+ return a === 4 && (e === "true" || e === "True" || e === "TRUE") || a === 5 && (e === "false" || e === "False" || e === "FALSE");
1287
1287
  }
1288
- function Ti(e) {
1288
+ function Tn(e) {
1289
1289
  return e === "true" || e === "True" || e === "TRUE";
1290
1290
  }
1291
- function ji(e) {
1291
+ function jn(e) {
1292
1292
  return Object.prototype.toString.call(e) === "[object Boolean]";
1293
1293
  }
1294
- var pn = new ue("tag:yaml.org,2002:bool", {
1294
+ var da = new ue("tag:yaml.org,2002:bool", {
1295
1295
  kind: "scalar",
1296
- resolve: Ai,
1297
- construct: Ti,
1298
- predicate: ji,
1296
+ resolve: An,
1297
+ construct: Tn,
1298
+ predicate: jn,
1299
1299
  represent: {
1300
1300
  lowercase: function(e) {
1301
1301
  return e ? "true" : "false";
@@ -1309,84 +1309,84 @@ var pn = new ue("tag:yaml.org,2002:bool", {
1309
1309
  },
1310
1310
  defaultStyle: "lowercase"
1311
1311
  });
1312
- function $i(e) {
1312
+ function $n(e) {
1313
1313
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1314
1314
  }
1315
- function Oi(e) {
1315
+ function On(e) {
1316
1316
  return 48 <= e && e <= 55;
1317
1317
  }
1318
- function Ki(e) {
1318
+ function Kn(e) {
1319
1319
  return 48 <= e && e <= 57;
1320
1320
  }
1321
- function Mi(e) {
1321
+ function Mn(e) {
1322
1322
  if (e === null)
1323
1323
  return !1;
1324
- var n = e.length, t = 0, a = !1, i;
1325
- if (!n)
1324
+ var a = e.length, t = 0, i = !1, n;
1325
+ if (!a)
1326
1326
  return !1;
1327
- if (i = e[t], (i === "-" || i === "+") && (i = e[++t]), i === "0") {
1328
- if (t + 1 === n)
1327
+ if (n = e[t], (n === "-" || n === "+") && (n = e[++t]), n === "0") {
1328
+ if (t + 1 === a)
1329
1329
  return !0;
1330
- if (i = e[++t], i === "b") {
1331
- for (t++; t < n; t++)
1332
- if (i = e[t], i !== "_") {
1333
- if (i !== "0" && i !== "1")
1330
+ if (n = e[++t], n === "b") {
1331
+ for (t++; t < a; t++)
1332
+ if (n = e[t], n !== "_") {
1333
+ if (n !== "0" && n !== "1")
1334
1334
  return !1;
1335
- a = !0;
1335
+ i = !0;
1336
1336
  }
1337
- return a && i !== "_";
1337
+ return i && n !== "_";
1338
1338
  }
1339
- if (i === "x") {
1340
- for (t++; t < n; t++)
1341
- if (i = e[t], i !== "_") {
1342
- if (!$i(e.charCodeAt(t)))
1339
+ if (n === "x") {
1340
+ for (t++; t < a; t++)
1341
+ if (n = e[t], n !== "_") {
1342
+ if (!$n(e.charCodeAt(t)))
1343
1343
  return !1;
1344
- a = !0;
1344
+ i = !0;
1345
1345
  }
1346
- return a && i !== "_";
1346
+ return i && n !== "_";
1347
1347
  }
1348
- if (i === "o") {
1349
- for (t++; t < n; t++)
1350
- if (i = e[t], i !== "_") {
1351
- if (!Oi(e.charCodeAt(t)))
1348
+ if (n === "o") {
1349
+ for (t++; t < a; t++)
1350
+ if (n = e[t], n !== "_") {
1351
+ if (!On(e.charCodeAt(t)))
1352
1352
  return !1;
1353
- a = !0;
1353
+ i = !0;
1354
1354
  }
1355
- return a && i !== "_";
1355
+ return i && n !== "_";
1356
1356
  }
1357
1357
  }
1358
- if (i === "_")
1358
+ if (n === "_")
1359
1359
  return !1;
1360
- for (; t < n; t++)
1361
- if (i = e[t], i !== "_") {
1362
- if (!Ki(e.charCodeAt(t)))
1360
+ for (; t < a; t++)
1361
+ if (n = e[t], n !== "_") {
1362
+ if (!Kn(e.charCodeAt(t)))
1363
1363
  return !1;
1364
- a = !0;
1364
+ i = !0;
1365
1365
  }
1366
- return !(!a || i === "_");
1366
+ return !(!i || n === "_");
1367
1367
  }
1368
- function Ei(e) {
1369
- var n = e, t = 1, a;
1370
- if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), a = n[0], (a === "-" || a === "+") && (a === "-" && (t = -1), n = n.slice(1), a = n[0]), n === "0")
1368
+ function En(e) {
1369
+ var a = e, t = 1, i;
1370
+ if (a.indexOf("_") !== -1 && (a = a.replace(/_/g, "")), i = a[0], (i === "-" || i === "+") && (i === "-" && (t = -1), a = a.slice(1), i = a[0]), a === "0")
1371
1371
  return 0;
1372
- if (a === "0") {
1373
- if (n[1] === "b")
1374
- return t * parseInt(n.slice(2), 2);
1375
- if (n[1] === "x")
1376
- return t * parseInt(n.slice(2), 16);
1377
- if (n[1] === "o")
1378
- return t * parseInt(n.slice(2), 8);
1372
+ if (i === "0") {
1373
+ if (a[1] === "b")
1374
+ return t * parseInt(a.slice(2), 2);
1375
+ if (a[1] === "x")
1376
+ return t * parseInt(a.slice(2), 16);
1377
+ if (a[1] === "o")
1378
+ return t * parseInt(a.slice(2), 8);
1379
1379
  }
1380
- return t * parseInt(n, 10);
1380
+ return t * parseInt(a, 10);
1381
1381
  }
1382
- function Fi(e) {
1382
+ function Fn(e) {
1383
1383
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !re.isNegativeZero(e);
1384
1384
  }
1385
- var fn = new ue("tag:yaml.org,2002:int", {
1385
+ var pa = new ue("tag:yaml.org,2002:int", {
1386
1386
  kind: "scalar",
1387
- resolve: Mi,
1388
- construct: Ei,
1389
- predicate: Fi,
1387
+ resolve: Mn,
1388
+ construct: En,
1389
+ predicate: Fn,
1390
1390
  represent: {
1391
1391
  binary: function(e) {
1392
1392
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1409,24 +1409,24 @@ var fn = new ue("tag:yaml.org,2002:int", {
1409
1409
  decimal: [10, "dec"],
1410
1410
  hexadecimal: [16, "hex"]
1411
1411
  }
1412
- }), Bi = new RegExp(
1412
+ }), Bn = new RegExp(
1413
1413
  // 2.5e4, 2.5 and integers
1414
1414
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1415
1415
  );
1416
- function Ni(e) {
1417
- return !(e === null || !Bi.test(e) || // Quick hack to not allow integers end with `_`
1416
+ function Nn(e) {
1417
+ return !(e === null || !Bn.test(e) || // Quick hack to not allow integers end with `_`
1418
1418
  // Probably should update regexp & check speed
1419
1419
  e[e.length - 1] === "_");
1420
1420
  }
1421
- function Li(e) {
1422
- var n, t;
1423
- return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
1421
+ function Ln(e) {
1422
+ var a, t;
1423
+ return a = e.replace(/_/g, "").toLowerCase(), t = a[0] === "-" ? -1 : 1, "+-".indexOf(a[0]) >= 0 && (a = a.slice(1)), a === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : a === ".nan" ? NaN : t * parseFloat(a, 10);
1424
1424
  }
1425
- var qi = /^[-+]?[0-9]+e/;
1426
- function Pi(e, n) {
1425
+ var qn = /^[-+]?[0-9]+e/;
1426
+ function Pn(e, a) {
1427
1427
  var t;
1428
1428
  if (isNaN(e))
1429
- switch (n) {
1429
+ switch (a) {
1430
1430
  case "lowercase":
1431
1431
  return ".nan";
1432
1432
  case "uppercase":
@@ -1435,7 +1435,7 @@ function Pi(e, n) {
1435
1435
  return ".NaN";
1436
1436
  }
1437
1437
  else if (Number.POSITIVE_INFINITY === e)
1438
- switch (n) {
1438
+ switch (a) {
1439
1439
  case "lowercase":
1440
1440
  return ".inf";
1441
1441
  case "uppercase":
@@ -1444,7 +1444,7 @@ function Pi(e, n) {
1444
1444
  return ".Inf";
1445
1445
  }
1446
1446
  else if (Number.NEGATIVE_INFINITY === e)
1447
- switch (n) {
1447
+ switch (a) {
1448
1448
  case "lowercase":
1449
1449
  return "-.inf";
1450
1450
  case "uppercase":
@@ -1454,180 +1454,180 @@ function Pi(e, n) {
1454
1454
  }
1455
1455
  else if (re.isNegativeZero(e))
1456
1456
  return "-0.0";
1457
- return t = e.toString(10), qi.test(t) ? t.replace("e", ".e") : t;
1457
+ return t = e.toString(10), qn.test(t) ? t.replace("e", ".e") : t;
1458
1458
  }
1459
- function Ui(e) {
1459
+ function Un(e) {
1460
1460
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || re.isNegativeZero(e));
1461
1461
  }
1462
- var yn = new ue("tag:yaml.org,2002:float", {
1462
+ var fa = new ue("tag:yaml.org,2002:float", {
1463
1463
  kind: "scalar",
1464
- resolve: Ni,
1465
- construct: Li,
1466
- predicate: Ui,
1467
- represent: Pi,
1464
+ resolve: Nn,
1465
+ construct: Ln,
1466
+ predicate: Un,
1467
+ represent: Pn,
1468
1468
  defaultStyle: "lowercase"
1469
- }), mn = un.extend({
1469
+ }), ya = ca.extend({
1470
1470
  implicit: [
1471
- dn,
1472
- pn,
1473
- fn,
1474
- yn
1471
+ ua,
1472
+ da,
1473
+ pa,
1474
+ fa
1475
1475
  ]
1476
- }), gn = mn, hn = new RegExp(
1476
+ }), ma = ya, ga = new RegExp(
1477
1477
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1478
- ), vn = new RegExp(
1478
+ ), ha = new RegExp(
1479
1479
  "^([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]))?))?$"
1480
1480
  );
1481
- function Ri(e) {
1482
- return e === null ? !1 : hn.exec(e) !== null || vn.exec(e) !== null;
1481
+ function Rn(e) {
1482
+ return e === null ? !1 : ga.exec(e) !== null || ha.exec(e) !== null;
1483
1483
  }
1484
- function Vi(e) {
1485
- var n, t, a, i, o, r, s, c = 0, l = null, d, u, v;
1486
- if (n = hn.exec(e), n === null && (n = vn.exec(e)), n === null)
1484
+ function Vn(e) {
1485
+ var a, t, i, n, o, r, s, c = 0, l = null, d, u, v;
1486
+ if (a = ga.exec(e), a === null && (a = ha.exec(e)), a === null)
1487
1487
  throw new Error("Date resolve error");
1488
- if (t = +n[1], a = +n[2] - 1, i = +n[3], !n[4])
1489
- return new Date(Date.UTC(t, a, i));
1490
- if (o = +n[4], r = +n[5], s = +n[6], n[7]) {
1491
- for (c = n[7].slice(0, 3); c.length < 3; )
1488
+ if (t = +a[1], i = +a[2] - 1, n = +a[3], !a[4])
1489
+ return new Date(Date.UTC(t, i, n));
1490
+ if (o = +a[4], r = +a[5], s = +a[6], a[7]) {
1491
+ for (c = a[7].slice(0, 3); c.length < 3; )
1492
1492
  c += "0";
1493
1493
  c = +c;
1494
1494
  }
1495
- return n[9] && (d = +n[10], u = +(n[11] || 0), l = (d * 60 + u) * 6e4, n[9] === "-" && (l = -l)), v = new Date(Date.UTC(t, a, i, o, r, s, c)), l && v.setTime(v.getTime() - l), v;
1495
+ return a[9] && (d = +a[10], u = +(a[11] || 0), l = (d * 60 + u) * 6e4, a[9] === "-" && (l = -l)), v = new Date(Date.UTC(t, i, n, o, r, s, c)), l && v.setTime(v.getTime() - l), v;
1496
1496
  }
1497
- function Di(e) {
1497
+ function Dn(e) {
1498
1498
  return e.toISOString();
1499
1499
  }
1500
- var kn = new ue("tag:yaml.org,2002:timestamp", {
1500
+ var va = new ue("tag:yaml.org,2002:timestamp", {
1501
1501
  kind: "scalar",
1502
- resolve: Ri,
1503
- construct: Vi,
1502
+ resolve: Rn,
1503
+ construct: Vn,
1504
1504
  instanceOf: Date,
1505
- represent: Di
1505
+ represent: Dn
1506
1506
  });
1507
- function Ji(e) {
1507
+ function Jn(e) {
1508
1508
  return e === "<<" || e === null;
1509
1509
  }
1510
- var bn = new ue("tag:yaml.org,2002:merge", {
1510
+ var ka = new ue("tag:yaml.org,2002:merge", {
1511
1511
  kind: "scalar",
1512
- resolve: Ji
1512
+ resolve: Jn
1513
1513
  }), ht = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1514
1514
  \r`;
1515
- function Hi(e) {
1515
+ function Hn(e) {
1516
1516
  if (e === null)
1517
1517
  return !1;
1518
- var n, t, a = 0, i = e.length, o = ht;
1519
- for (t = 0; t < i; t++)
1520
- if (n = o.indexOf(e.charAt(t)), !(n > 64)) {
1521
- if (n < 0)
1518
+ var a, t, i = 0, n = e.length, o = ht;
1519
+ for (t = 0; t < n; t++)
1520
+ if (a = o.indexOf(e.charAt(t)), !(a > 64)) {
1521
+ if (a < 0)
1522
1522
  return !1;
1523
- a += 6;
1523
+ i += 6;
1524
1524
  }
1525
- return a % 8 === 0;
1525
+ return i % 8 === 0;
1526
1526
  }
1527
- function zi(e) {
1528
- var n, t, a = e.replace(/[\r\n=]/g, ""), i = a.length, o = ht, r = 0, s = [];
1529
- for (n = 0; n < i; n++)
1530
- n % 4 === 0 && n && (s.push(r >> 16 & 255), s.push(r >> 8 & 255), s.push(r & 255)), r = r << 6 | o.indexOf(a.charAt(n));
1531
- return t = i % 4 * 6, t === 0 ? (s.push(r >> 16 & 255), s.push(r >> 8 & 255), s.push(r & 255)) : t === 18 ? (s.push(r >> 10 & 255), s.push(r >> 2 & 255)) : t === 12 && s.push(r >> 4 & 255), new Uint8Array(s);
1527
+ function zn(e) {
1528
+ var a, t, i = e.replace(/[\r\n=]/g, ""), n = i.length, o = ht, r = 0, s = [];
1529
+ for (a = 0; a < n; a++)
1530
+ a % 4 === 0 && a && (s.push(r >> 16 & 255), s.push(r >> 8 & 255), s.push(r & 255)), r = r << 6 | o.indexOf(i.charAt(a));
1531
+ return t = n % 4 * 6, t === 0 ? (s.push(r >> 16 & 255), s.push(r >> 8 & 255), s.push(r & 255)) : t === 18 ? (s.push(r >> 10 & 255), s.push(r >> 2 & 255)) : t === 12 && s.push(r >> 4 & 255), new Uint8Array(s);
1532
1532
  }
1533
- function Yi(e) {
1534
- var n = "", t = 0, a, i, o = e.length, r = ht;
1535
- for (a = 0; a < o; a++)
1536
- a % 3 === 0 && a && (n += r[t >> 18 & 63], n += r[t >> 12 & 63], n += r[t >> 6 & 63], n += r[t & 63]), t = (t << 8) + e[a];
1537
- return i = o % 3, i === 0 ? (n += r[t >> 18 & 63], n += r[t >> 12 & 63], n += r[t >> 6 & 63], n += r[t & 63]) : i === 2 ? (n += r[t >> 10 & 63], n += r[t >> 4 & 63], n += r[t << 2 & 63], n += r[64]) : i === 1 && (n += r[t >> 2 & 63], n += r[t << 4 & 63], n += r[64], n += r[64]), n;
1533
+ function Yn(e) {
1534
+ var a = "", t = 0, i, n, o = e.length, r = ht;
1535
+ for (i = 0; i < o; i++)
1536
+ i % 3 === 0 && i && (a += r[t >> 18 & 63], a += r[t >> 12 & 63], a += r[t >> 6 & 63], a += r[t & 63]), t = (t << 8) + e[i];
1537
+ return n = o % 3, n === 0 ? (a += r[t >> 18 & 63], a += r[t >> 12 & 63], a += r[t >> 6 & 63], a += r[t & 63]) : n === 2 ? (a += r[t >> 10 & 63], a += r[t >> 4 & 63], a += r[t << 2 & 63], a += r[64]) : n === 1 && (a += r[t >> 2 & 63], a += r[t << 4 & 63], a += r[64], a += r[64]), a;
1538
1538
  }
1539
- function Wi(e) {
1539
+ function Wn(e) {
1540
1540
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1541
1541
  }
1542
- var Cn = new ue("tag:yaml.org,2002:binary", {
1542
+ var ba = new ue("tag:yaml.org,2002:binary", {
1543
1543
  kind: "scalar",
1544
- resolve: Hi,
1545
- construct: zi,
1546
- predicate: Wi,
1547
- represent: Yi
1548
- }), Gi = Object.prototype.hasOwnProperty, Zi = Object.prototype.toString;
1549
- function Qi(e) {
1544
+ resolve: Hn,
1545
+ construct: zn,
1546
+ predicate: Wn,
1547
+ represent: Yn
1548
+ }), Gn = Object.prototype.hasOwnProperty, Zn = Object.prototype.toString;
1549
+ function Qn(e) {
1550
1550
  if (e === null)
1551
1551
  return !0;
1552
- var n = [], t, a, i, o, r, s = e;
1553
- for (t = 0, a = s.length; t < a; t += 1) {
1554
- if (i = s[t], r = !1, Zi.call(i) !== "[object Object]")
1552
+ var a = [], t, i, n, o, r, s = e;
1553
+ for (t = 0, i = s.length; t < i; t += 1) {
1554
+ if (n = s[t], r = !1, Zn.call(n) !== "[object Object]")
1555
1555
  return !1;
1556
- for (o in i)
1557
- if (Gi.call(i, o))
1556
+ for (o in n)
1557
+ if (Gn.call(n, o))
1558
1558
  if (!r)
1559
1559
  r = !0;
1560
1560
  else
1561
1561
  return !1;
1562
1562
  if (!r)
1563
1563
  return !1;
1564
- if (n.indexOf(o) === -1)
1565
- n.push(o);
1564
+ if (a.indexOf(o) === -1)
1565
+ a.push(o);
1566
1566
  else
1567
1567
  return !1;
1568
1568
  }
1569
1569
  return !0;
1570
1570
  }
1571
- function Xi(e) {
1571
+ function Xn(e) {
1572
1572
  return e !== null ? e : [];
1573
1573
  }
1574
- var wn = new ue("tag:yaml.org,2002:omap", {
1574
+ var Ca = new ue("tag:yaml.org,2002:omap", {
1575
1575
  kind: "sequence",
1576
- resolve: Qi,
1577
- construct: Xi
1576
+ resolve: Qn,
1577
+ construct: Xn
1578
1578
  }), eo = Object.prototype.toString;
1579
1579
  function to(e) {
1580
1580
  if (e === null)
1581
1581
  return !0;
1582
- var n, t, a, i, o, r = e;
1583
- for (o = new Array(r.length), n = 0, t = r.length; n < t; n += 1) {
1584
- if (a = r[n], eo.call(a) !== "[object Object]" || (i = Object.keys(a), i.length !== 1))
1582
+ var a, t, i, n, o, r = e;
1583
+ for (o = new Array(r.length), a = 0, t = r.length; a < t; a += 1) {
1584
+ if (i = r[a], eo.call(i) !== "[object Object]" || (n = Object.keys(i), n.length !== 1))
1585
1585
  return !1;
1586
- o[n] = [i[0], a[i[0]]];
1586
+ o[a] = [n[0], i[n[0]]];
1587
1587
  }
1588
1588
  return !0;
1589
1589
  }
1590
- function no(e) {
1590
+ function ao(e) {
1591
1591
  if (e === null)
1592
1592
  return [];
1593
- var n, t, a, i, o, r = e;
1594
- for (o = new Array(r.length), n = 0, t = r.length; n < t; n += 1)
1595
- a = r[n], i = Object.keys(a), o[n] = [i[0], a[i[0]]];
1593
+ var a, t, i, n, o, r = e;
1594
+ for (o = new Array(r.length), a = 0, t = r.length; a < t; a += 1)
1595
+ i = r[a], n = Object.keys(i), o[a] = [n[0], i[n[0]]];
1596
1596
  return o;
1597
1597
  }
1598
- var _n = new ue("tag:yaml.org,2002:pairs", {
1598
+ var wa = new ue("tag:yaml.org,2002:pairs", {
1599
1599
  kind: "sequence",
1600
1600
  resolve: to,
1601
- construct: no
1602
- }), ao = Object.prototype.hasOwnProperty;
1603
- function io(e) {
1601
+ construct: ao
1602
+ }), io = Object.prototype.hasOwnProperty;
1603
+ function no(e) {
1604
1604
  if (e === null)
1605
1605
  return !0;
1606
- var n, t = e;
1607
- for (n in t)
1608
- if (ao.call(t, n) && t[n] !== null)
1606
+ var a, t = e;
1607
+ for (a in t)
1608
+ if (io.call(t, a) && t[a] !== null)
1609
1609
  return !1;
1610
1610
  return !0;
1611
1611
  }
1612
1612
  function oo(e) {
1613
1613
  return e !== null ? e : {};
1614
1614
  }
1615
- var Sn = new ue("tag:yaml.org,2002:set", {
1615
+ var _a = new ue("tag:yaml.org,2002:set", {
1616
1616
  kind: "mapping",
1617
- resolve: io,
1617
+ resolve: no,
1618
1618
  construct: oo
1619
- }), vt = gn.extend({
1619
+ }), vt = ma.extend({
1620
1620
  implicit: [
1621
- kn,
1622
- bn
1621
+ va,
1622
+ ka
1623
1623
  ],
1624
1624
  explicit: [
1625
- Cn,
1626
- wn,
1627
- _n,
1628
- Sn
1625
+ ba,
1626
+ Ca,
1627
+ wa,
1628
+ _a
1629
1629
  ]
1630
- }), xe = Object.prototype.hasOwnProperty, Ye = 1, In = 2, xn = 3, We = 4, ot = 1, ro = 2, Mt = 3, lo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, so = /[\x85\u2028\u2029]/, co = /[,\[\]\{\}]/, An = /^(?:!|!!|![a-z\-]+!)$/i, Tn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1630
+ }), xe = Object.prototype.hasOwnProperty, Ye = 1, Sa = 2, Ia = 3, We = 4, ot = 1, ro = 2, Mt = 3, lo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, so = /[\x85\u2028\u2029]/, co = /[,\[\]\{\}]/, xa = /^(?:!|!!|![a-z\-]+!)$/i, Aa = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1631
1631
  function Et(e) {
1632
1632
  return Object.prototype.toString.call(e);
1633
1633
  }
@@ -1644,8 +1644,8 @@ function Oe(e) {
1644
1644
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1645
1645
  }
1646
1646
  function uo(e) {
1647
- var n;
1648
- return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1647
+ var a;
1648
+ return 48 <= e && e <= 57 ? e - 48 : (a = e | 32, 97 <= a && a <= 102 ? a - 97 + 10 : -1);
1649
1649
  }
1650
1650
  function po(e) {
1651
1651
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
@@ -1663,13 +1663,13 @@ function yo(e) {
1663
1663
  (e - 65536 & 1023) + 56320
1664
1664
  );
1665
1665
  }
1666
- var jn = new Array(256), $n = new Array(256);
1666
+ var Ta = new Array(256), ja = new Array(256);
1667
1667
  for (var je = 0; je < 256; je++)
1668
- jn[je] = Ft(je) ? 1 : 0, $n[je] = Ft(je);
1669
- function mo(e, n) {
1670
- this.input = e, this.filename = n.filename || null, this.schema = n.schema || vt, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.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 = [];
1668
+ Ta[je] = Ft(je) ? 1 : 0, ja[je] = Ft(je);
1669
+ function mo(e, a) {
1670
+ this.input = e, this.filename = a.filename || null, this.schema = a.schema || vt, this.onWarning = a.onWarning || null, this.legacy = a.legacy || !1, this.json = a.json || !1, this.listener = a.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 = [];
1671
1671
  }
1672
- function On(e, n) {
1672
+ function $a(e, a) {
1673
1673
  var t = {
1674
1674
  name: e.filename,
1675
1675
  buffer: e.input.slice(0, -1),
@@ -1678,110 +1678,110 @@ function On(e, n) {
1678
1678
  line: e.line,
1679
1679
  column: e.position - e.lineStart
1680
1680
  };
1681
- return t.snippet = vi(t), new fe(n, t);
1681
+ return t.snippet = vn(t), new fe(a, t);
1682
1682
  }
1683
- function I(e, n) {
1684
- throw On(e, n);
1683
+ function I(e, a) {
1684
+ throw $a(e, a);
1685
1685
  }
1686
- function Ge(e, n) {
1687
- e.onWarning && e.onWarning.call(null, On(e, n));
1686
+ function Ge(e, a) {
1687
+ e.onWarning && e.onWarning.call(null, $a(e, a));
1688
1688
  }
1689
1689
  var Bt = {
1690
- YAML: function(e, n, t) {
1691
- var a, i, o;
1692
- e.version !== null && I(e, "duplication of %YAML directive"), t.length !== 1 && I(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && I(e, "ill-formed argument of the YAML directive"), i = parseInt(a[1], 10), o = parseInt(a[2], 10), i !== 1 && I(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Ge(e, "unsupported YAML version of the document");
1690
+ YAML: function(e, a, t) {
1691
+ var i, n, o;
1692
+ e.version !== null && I(e, "duplication of %YAML directive"), t.length !== 1 && I(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), i === null && I(e, "ill-formed argument of the YAML directive"), n = parseInt(i[1], 10), o = parseInt(i[2], 10), n !== 1 && I(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Ge(e, "unsupported YAML version of the document");
1693
1693
  },
1694
- TAG: function(e, n, t) {
1695
- var a, i;
1696
- t.length !== 2 && I(e, "TAG directive accepts exactly two arguments"), a = t[0], i = t[1], An.test(a) || I(e, "ill-formed tag handle (first argument) of the TAG directive"), xe.call(e.tagMap, a) && I(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Tn.test(i) || I(e, "ill-formed tag prefix (second argument) of the TAG directive");
1694
+ TAG: function(e, a, t) {
1695
+ var i, n;
1696
+ t.length !== 2 && I(e, "TAG directive accepts exactly two arguments"), i = t[0], n = t[1], xa.test(i) || I(e, "ill-formed tag handle (first argument) of the TAG directive"), xe.call(e.tagMap, i) && I(e, 'there is a previously declared suffix for "' + i + '" tag handle'), Aa.test(n) || I(e, "ill-formed tag prefix (second argument) of the TAG directive");
1697
1697
  try {
1698
- i = decodeURIComponent(i);
1698
+ n = decodeURIComponent(n);
1699
1699
  } catch {
1700
- I(e, "tag prefix is malformed: " + i);
1700
+ I(e, "tag prefix is malformed: " + n);
1701
1701
  }
1702
- e.tagMap[a] = i;
1702
+ e.tagMap[i] = n;
1703
1703
  }
1704
1704
  };
1705
- function Se(e, n, t, a) {
1706
- var i, o, r, s;
1707
- if (n < t) {
1708
- if (s = e.input.slice(n, t), a)
1709
- for (i = 0, o = s.length; i < o; i += 1)
1710
- r = s.charCodeAt(i), r === 9 || 32 <= r && r <= 1114111 || I(e, "expected valid JSON character");
1705
+ function Se(e, a, t, i) {
1706
+ var n, o, r, s;
1707
+ if (a < t) {
1708
+ if (s = e.input.slice(a, t), i)
1709
+ for (n = 0, o = s.length; n < o; n += 1)
1710
+ r = s.charCodeAt(n), r === 9 || 32 <= r && r <= 1114111 || I(e, "expected valid JSON character");
1711
1711
  else
1712
1712
  lo.test(s) && I(e, "the stream contains non-printable characters");
1713
1713
  e.result += s;
1714
1714
  }
1715
1715
  }
1716
- function Nt(e, n, t, a) {
1717
- var i, o, r, s;
1718
- for (re.isObject(t) || I(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(t), r = 0, s = i.length; r < s; r += 1)
1719
- o = i[r], xe.call(n, o) || (n[o] = t[o], a[o] = !0);
1716
+ function Nt(e, a, t, i) {
1717
+ var n, o, r, s;
1718
+ for (re.isObject(t) || I(e, "cannot merge mappings; the provided source object is unacceptable"), n = Object.keys(t), r = 0, s = n.length; r < s; r += 1)
1719
+ o = n[r], xe.call(a, o) || (a[o] = t[o], i[o] = !0);
1720
1720
  }
1721
- function Ke(e, n, t, a, i, o, r, s, c) {
1721
+ function Ke(e, a, t, i, n, o, r, s, c) {
1722
1722
  var l, d;
1723
- if (Array.isArray(i))
1724
- for (i = Array.prototype.slice.call(i), l = 0, d = i.length; l < d; l += 1)
1725
- Array.isArray(i[l]) && I(e, "nested arrays are not supported inside keys"), typeof i == "object" && Et(i[l]) === "[object Object]" && (i[l] = "[object Object]");
1726
- if (typeof i == "object" && Et(i) === "[object Object]" && (i = "[object Object]"), i = String(i), n === null && (n = {}), a === "tag:yaml.org,2002:merge")
1723
+ if (Array.isArray(n))
1724
+ for (n = Array.prototype.slice.call(n), l = 0, d = n.length; l < d; l += 1)
1725
+ Array.isArray(n[l]) && I(e, "nested arrays are not supported inside keys"), typeof n == "object" && Et(n[l]) === "[object Object]" && (n[l] = "[object Object]");
1726
+ if (typeof n == "object" && Et(n) === "[object Object]" && (n = "[object Object]"), n = String(n), a === null && (a = {}), i === "tag:yaml.org,2002:merge")
1727
1727
  if (Array.isArray(o))
1728
1728
  for (l = 0, d = o.length; l < d; l += 1)
1729
- Nt(e, n, o[l], t);
1729
+ Nt(e, a, o[l], t);
1730
1730
  else
1731
- Nt(e, n, o, t);
1731
+ Nt(e, a, o, t);
1732
1732
  else
1733
- !e.json && !xe.call(t, i) && xe.call(n, i) && (e.line = r || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, I(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(n, i, {
1733
+ !e.json && !xe.call(t, n) && xe.call(a, n) && (e.line = r || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, I(e, "duplicated mapping key")), n === "__proto__" ? Object.defineProperty(a, n, {
1734
1734
  configurable: !0,
1735
1735
  enumerable: !0,
1736
1736
  writable: !0,
1737
1737
  value: o
1738
- }) : n[i] = o, delete t[i];
1739
- return n;
1738
+ }) : a[n] = o, delete t[n];
1739
+ return a;
1740
1740
  }
1741
1741
  function kt(e) {
1742
- var n;
1743
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : I(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1742
+ var a;
1743
+ a = e.input.charCodeAt(e.position), a === 10 ? e.position++ : a === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : I(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1744
1744
  }
1745
- function ie(e, n, t) {
1746
- for (var a = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1747
- for (; Te(i); )
1748
- i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1749
- if (n && i === 35)
1745
+ function ne(e, a, t) {
1746
+ for (var i = 0, n = e.input.charCodeAt(e.position); n !== 0; ) {
1747
+ for (; Te(n); )
1748
+ n === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), n = e.input.charCodeAt(++e.position);
1749
+ if (a && n === 35)
1750
1750
  do
1751
- i = e.input.charCodeAt(++e.position);
1752
- while (i !== 10 && i !== 13 && i !== 0);
1753
- if (be(i))
1754
- for (kt(e), i = e.input.charCodeAt(e.position), a++, e.lineIndent = 0; i === 32; )
1755
- e.lineIndent++, i = e.input.charCodeAt(++e.position);
1751
+ n = e.input.charCodeAt(++e.position);
1752
+ while (n !== 10 && n !== 13 && n !== 0);
1753
+ if (be(n))
1754
+ for (kt(e), n = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; n === 32; )
1755
+ e.lineIndent++, n = e.input.charCodeAt(++e.position);
1756
1756
  else
1757
1757
  break;
1758
1758
  }
1759
- return t !== -1 && a !== 0 && e.lineIndent < t && Ge(e, "deficient indentation"), a;
1759
+ return t !== -1 && i !== 0 && e.lineIndent < t && Ge(e, "deficient indentation"), i;
1760
1760
  }
1761
1761
  function tt(e) {
1762
- var n = e.position, t;
1763
- return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || he(t)));
1762
+ var a = e.position, t;
1763
+ return t = e.input.charCodeAt(a), !!((t === 45 || t === 46) && t === e.input.charCodeAt(a + 1) && t === e.input.charCodeAt(a + 2) && (a += 3, t = e.input.charCodeAt(a), t === 0 || he(t)));
1764
1764
  }
1765
- function bt(e, n) {
1766
- n === 1 ? e.result += " " : n > 1 && (e.result += re.repeat(`
1767
- `, n - 1));
1765
+ function bt(e, a) {
1766
+ a === 1 ? e.result += " " : a > 1 && (e.result += re.repeat(`
1767
+ `, a - 1));
1768
1768
  }
1769
- function go(e, n, t) {
1770
- var a, i, o, r, s, c, l, d, u = e.kind, v = e.result, k;
1771
- if (k = e.input.charCodeAt(e.position), he(k) || Oe(k) || k === 35 || k === 38 || k === 42 || k === 33 || k === 124 || k === 62 || k === 39 || k === 34 || k === 37 || k === 64 || k === 96 || (k === 63 || k === 45) && (i = e.input.charCodeAt(e.position + 1), he(i) || t && Oe(i)))
1769
+ function go(e, a, t) {
1770
+ var i, n, o, r, s, c, l, d, u = e.kind, v = e.result, k;
1771
+ if (k = e.input.charCodeAt(e.position), he(k) || Oe(k) || k === 35 || k === 38 || k === 42 || k === 33 || k === 124 || k === 62 || k === 39 || k === 34 || k === 37 || k === 64 || k === 96 || (k === 63 || k === 45) && (n = e.input.charCodeAt(e.position + 1), he(n) || t && Oe(n)))
1772
1772
  return !1;
1773
1773
  for (e.kind = "scalar", e.result = "", o = r = e.position, s = !1; k !== 0; ) {
1774
1774
  if (k === 58) {
1775
- if (i = e.input.charCodeAt(e.position + 1), he(i) || t && Oe(i))
1775
+ if (n = e.input.charCodeAt(e.position + 1), he(n) || t && Oe(n))
1776
1776
  break;
1777
1777
  } else if (k === 35) {
1778
- if (a = e.input.charCodeAt(e.position - 1), he(a))
1778
+ if (i = e.input.charCodeAt(e.position - 1), he(i))
1779
1779
  break;
1780
1780
  } else {
1781
1781
  if (e.position === e.lineStart && tt(e) || t && Oe(k))
1782
1782
  break;
1783
1783
  if (be(k))
1784
- if (c = e.line, l = e.lineStart, d = e.lineIndent, ie(e, !1, -1), e.lineIndent >= n) {
1784
+ if (c = e.line, l = e.lineStart, d = e.lineIndent, ne(e, !1, -1), e.lineIndent >= a) {
1785
1785
  s = !0, k = e.input.charCodeAt(e.position);
1786
1786
  continue;
1787
1787
  } else {
@@ -1793,46 +1793,46 @@ function go(e, n, t) {
1793
1793
  }
1794
1794
  return Se(e, o, r, !1), e.result ? !0 : (e.kind = u, e.result = v, !1);
1795
1795
  }
1796
- function ho(e, n) {
1797
- var t, a, i;
1796
+ function ho(e, a) {
1797
+ var t, i, n;
1798
1798
  if (t = e.input.charCodeAt(e.position), t !== 39)
1799
1799
  return !1;
1800
- for (e.kind = "scalar", e.result = "", e.position++, a = i = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1800
+ for (e.kind = "scalar", e.result = "", e.position++, i = n = e.position; (t = e.input.charCodeAt(e.position)) !== 0; )
1801
1801
  if (t === 39)
1802
- if (Se(e, a, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1803
- a = e.position, e.position++, i = e.position;
1802
+ if (Se(e, i, e.position, !0), t = e.input.charCodeAt(++e.position), t === 39)
1803
+ i = e.position, e.position++, n = e.position;
1804
1804
  else
1805
1805
  return !0;
1806
1806
  else
1807
- be(t) ? (Se(e, a, i, !0), bt(e, ie(e, !1, n)), a = i = e.position) : e.position === e.lineStart && tt(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
1807
+ be(t) ? (Se(e, i, n, !0), bt(e, ne(e, !1, a)), i = n = e.position) : e.position === e.lineStart && tt(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, n = e.position);
1808
1808
  I(e, "unexpected end of the stream within a single quoted scalar");
1809
1809
  }
1810
- function vo(e, n) {
1811
- var t, a, i, o, r, s;
1810
+ function vo(e, a) {
1811
+ var t, i, n, o, r, s;
1812
1812
  if (s = e.input.charCodeAt(e.position), s !== 34)
1813
1813
  return !1;
1814
- for (e.kind = "scalar", e.result = "", e.position++, t = a = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
1814
+ for (e.kind = "scalar", e.result = "", e.position++, t = i = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
1815
1815
  if (s === 34)
1816
1816
  return Se(e, t, e.position, !0), e.position++, !0;
1817
1817
  if (s === 92) {
1818
1818
  if (Se(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), be(s))
1819
- ie(e, !1, n);
1820
- else if (s < 256 && jn[s])
1821
- e.result += $n[s], e.position++;
1819
+ ne(e, !1, a);
1820
+ else if (s < 256 && Ta[s])
1821
+ e.result += ja[s], e.position++;
1822
1822
  else if ((r = po(s)) > 0) {
1823
- for (i = r, o = 0; i > 0; i--)
1823
+ for (n = r, o = 0; n > 0; n--)
1824
1824
  s = e.input.charCodeAt(++e.position), (r = uo(s)) >= 0 ? o = (o << 4) + r : I(e, "expected hexadecimal character");
1825
1825
  e.result += yo(o), e.position++;
1826
1826
  } else
1827
1827
  I(e, "unknown escape sequence");
1828
- t = a = e.position;
1828
+ t = i = e.position;
1829
1829
  } else
1830
- be(s) ? (Se(e, t, a, !0), bt(e, ie(e, !1, n)), t = a = e.position) : e.position === e.lineStart && tt(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
1830
+ be(s) ? (Se(e, t, i, !0), bt(e, ne(e, !1, a)), t = i = e.position) : e.position === e.lineStart && tt(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1831
1831
  }
1832
1832
  I(e, "unexpected end of the stream within a double quoted scalar");
1833
1833
  }
1834
- function ko(e, n) {
1835
- var t = !0, a, i, o, r = e.tag, s, c = e.anchor, l, d, u, v, k, w = /* @__PURE__ */ Object.create(null), C, p, f, y;
1834
+ function ko(e, a) {
1835
+ var t = !0, i, n, o, r = e.tag, s, c = e.anchor, l, d, u, v, k, w = /* @__PURE__ */ Object.create(null), C, p, f, y;
1836
1836
  if (y = e.input.charCodeAt(e.position), y === 91)
1837
1837
  d = 93, k = !1, s = [];
1838
1838
  else if (y === 123)
@@ -1840,25 +1840,25 @@ function ko(e, n) {
1840
1840
  else
1841
1841
  return !1;
1842
1842
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), y = e.input.charCodeAt(++e.position); y !== 0; ) {
1843
- if (ie(e, !0, n), y = e.input.charCodeAt(e.position), y === d)
1843
+ if (ne(e, !0, a), y = e.input.charCodeAt(e.position), y === d)
1844
1844
  return e.position++, e.tag = r, e.anchor = c, e.kind = k ? "mapping" : "sequence", e.result = s, !0;
1845
- t ? y === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), p = C = f = null, u = v = !1, y === 63 && (l = e.input.charCodeAt(e.position + 1), he(l) && (u = v = !0, e.position++, ie(e, !0, n))), a = e.line, i = e.lineStart, o = e.position, Ee(e, n, Ye, !1, !0), p = e.tag, C = e.result, ie(e, !0, n), y = e.input.charCodeAt(e.position), (v || e.line === a) && y === 58 && (u = !0, y = e.input.charCodeAt(++e.position), ie(e, !0, n), Ee(e, n, Ye, !1, !0), f = e.result), k ? Ke(e, s, w, p, C, f, a, i, o) : u ? s.push(Ke(e, null, w, p, C, f, a, i, o)) : s.push(C), ie(e, !0, n), y = e.input.charCodeAt(e.position), y === 44 ? (t = !0, y = e.input.charCodeAt(++e.position)) : t = !1;
1845
+ t ? y === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), p = C = f = null, u = v = !1, y === 63 && (l = e.input.charCodeAt(e.position + 1), he(l) && (u = v = !0, e.position++, ne(e, !0, a))), i = e.line, n = e.lineStart, o = e.position, Ee(e, a, Ye, !1, !0), p = e.tag, C = e.result, ne(e, !0, a), y = e.input.charCodeAt(e.position), (v || e.line === i) && y === 58 && (u = !0, y = e.input.charCodeAt(++e.position), ne(e, !0, a), Ee(e, a, Ye, !1, !0), f = e.result), k ? Ke(e, s, w, p, C, f, i, n, o) : u ? s.push(Ke(e, null, w, p, C, f, i, n, o)) : s.push(C), ne(e, !0, a), y = e.input.charCodeAt(e.position), y === 44 ? (t = !0, y = e.input.charCodeAt(++e.position)) : t = !1;
1846
1846
  }
1847
1847
  I(e, "unexpected end of the stream within a flow collection");
1848
1848
  }
1849
- function bo(e, n) {
1850
- var t, a, i = ot, o = !1, r = !1, s = n, c = 0, l = !1, d, u;
1849
+ function bo(e, a) {
1850
+ var t, i, n = ot, o = !1, r = !1, s = a, c = 0, l = !1, d, u;
1851
1851
  if (u = e.input.charCodeAt(e.position), u === 124)
1852
- a = !1;
1852
+ i = !1;
1853
1853
  else if (u === 62)
1854
- a = !0;
1854
+ i = !0;
1855
1855
  else
1856
1856
  return !1;
1857
1857
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1858
1858
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1859
- ot === i ? i = u === 43 ? Mt : ro : I(e, "repeat of a chomping mode identifier");
1859
+ ot === n ? n = u === 43 ? Mt : ro : I(e, "repeat of a chomping mode identifier");
1860
1860
  else if ((d = fo(u)) >= 0)
1861
- d === 0 ? I(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : r ? I(e, "repeat of an indentation width identifier") : (s = n + d - 1, r = !0);
1861
+ d === 0 ? I(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : r ? I(e, "repeat of an indentation width identifier") : (s = a + d - 1, r = !0);
1862
1862
  else
1863
1863
  break;
1864
1864
  if (Te(u)) {
@@ -1878,12 +1878,12 @@ function bo(e, n) {
1878
1878
  continue;
1879
1879
  }
1880
1880
  if (e.lineIndent < s) {
1881
- i === Mt ? e.result += re.repeat(`
1882
- `, o ? 1 + c : c) : i === ot && o && (e.result += `
1881
+ n === Mt ? e.result += re.repeat(`
1882
+ `, o ? 1 + c : c) : n === ot && o && (e.result += `
1883
1883
  `);
1884
1884
  break;
1885
1885
  }
1886
- for (a ? Te(u) ? (l = !0, e.result += re.repeat(`
1886
+ for (i ? Te(u) ? (l = !0, e.result += re.repeat(`
1887
1887
  `, o ? 1 + c : c)) : l ? (l = !1, e.result += re.repeat(`
1888
1888
  `, c + 1)) : c === 0 ? o && (e.result += " ") : e.result += re.repeat(`
1889
1889
  `, c) : e.result += re.repeat(`
@@ -1893,37 +1893,37 @@ function bo(e, n) {
1893
1893
  }
1894
1894
  return !0;
1895
1895
  }
1896
- function Lt(e, n) {
1897
- var t, a = e.tag, i = e.anchor, o = [], r, s = !1, c;
1896
+ function Lt(e, a) {
1897
+ var t, i = e.tag, n = e.anchor, o = [], r, s = !1, c;
1898
1898
  if (e.firstTabInLine !== -1)
1899
1899
  return !1;
1900
1900
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), !(c !== 45 || (r = e.input.charCodeAt(e.position + 1), !he(r)))); ) {
1901
- if (s = !0, e.position++, ie(e, !0, -1) && e.lineIndent <= n) {
1901
+ if (s = !0, e.position++, ne(e, !0, -1) && e.lineIndent <= a) {
1902
1902
  o.push(null), c = e.input.charCodeAt(e.position);
1903
1903
  continue;
1904
1904
  }
1905
- if (t = e.line, Ee(e, n, xn, !1, !0), o.push(e.result), ie(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && c !== 0)
1905
+ if (t = e.line, Ee(e, a, Ia, !1, !0), o.push(e.result), ne(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > a) && c !== 0)
1906
1906
  I(e, "bad indentation of a sequence entry");
1907
- else if (e.lineIndent < n)
1907
+ else if (e.lineIndent < a)
1908
1908
  break;
1909
1909
  }
1910
- return s ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
1910
+ return s ? (e.tag = i, e.anchor = n, e.kind = "sequence", e.result = o, !0) : !1;
1911
1911
  }
1912
- function Co(e, n, t) {
1913
- var a, i, o, r, s, c, l = e.tag, d = e.anchor, u = {}, v = /* @__PURE__ */ Object.create(null), k = null, w = null, C = null, p = !1, f = !1, y;
1912
+ function Co(e, a, t) {
1913
+ var i, n, o, r, s, c, l = e.tag, d = e.anchor, u = {}, v = /* @__PURE__ */ Object.create(null), k = null, w = null, C = null, p = !1, f = !1, y;
1914
1914
  if (e.firstTabInLine !== -1)
1915
1915
  return !1;
1916
1916
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), y = e.input.charCodeAt(e.position); y !== 0; ) {
1917
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (y === 63 || y === 58) && he(a))
1918
- y === 63 ? (p && (Ke(e, u, v, k, w, null, r, s, c), k = w = C = null), f = !0, p = !0, i = !0) : p ? (p = !1, i = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = a;
1917
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (y === 63 || y === 58) && he(i))
1918
+ y === 63 ? (p && (Ke(e, u, v, k, w, null, r, s, c), k = w = C = null), f = !0, p = !0, n = !0) : p ? (p = !1, n = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = i;
1919
1919
  else {
1920
- if (r = e.line, s = e.lineStart, c = e.position, !Ee(e, t, In, !1, !0))
1920
+ if (r = e.line, s = e.lineStart, c = e.position, !Ee(e, t, Sa, !1, !0))
1921
1921
  break;
1922
1922
  if (e.line === o) {
1923
1923
  for (y = e.input.charCodeAt(e.position); Te(y); )
1924
1924
  y = e.input.charCodeAt(++e.position);
1925
1925
  if (y === 58)
1926
- y = e.input.charCodeAt(++e.position), he(y) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ke(e, u, v, k, w, null, r, s, c), k = w = C = null), f = !0, p = !1, i = !1, k = e.tag, w = e.result;
1926
+ y = e.input.charCodeAt(++e.position), he(y) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ke(e, u, v, k, w, null, r, s, c), k = w = C = null), f = !0, p = !1, n = !1, k = e.tag, w = e.result;
1927
1927
  else if (f)
1928
1928
  I(e, "can not read an implicit mapping pair; a colon is missed");
1929
1929
  else
@@ -1933,57 +1933,57 @@ function Co(e, n, t) {
1933
1933
  else
1934
1934
  return e.tag = l, e.anchor = d, !0;
1935
1935
  }
1936
- if ((e.line === o || e.lineIndent > n) && (p && (r = e.line, s = e.lineStart, c = e.position), Ee(e, n, We, !0, i) && (p ? w = e.result : C = e.result), p || (Ke(e, u, v, k, w, C, r, s, c), k = w = C = null), ie(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && y !== 0)
1936
+ if ((e.line === o || e.lineIndent > a) && (p && (r = e.line, s = e.lineStart, c = e.position), Ee(e, a, We, !0, n) && (p ? w = e.result : C = e.result), p || (Ke(e, u, v, k, w, C, r, s, c), k = w = C = null), ne(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > a) && y !== 0)
1937
1937
  I(e, "bad indentation of a mapping entry");
1938
- else if (e.lineIndent < n)
1938
+ else if (e.lineIndent < a)
1939
1939
  break;
1940
1940
  }
1941
1941
  return p && Ke(e, u, v, k, w, null, r, s, c), f && (e.tag = l, e.anchor = d, e.kind = "mapping", e.result = u), f;
1942
1942
  }
1943
1943
  function wo(e) {
1944
- var n, t = !1, a = !1, i, o, r;
1944
+ var a, t = !1, i = !1, n, o, r;
1945
1945
  if (r = e.input.charCodeAt(e.position), r !== 33)
1946
1946
  return !1;
1947
- if (e.tag !== null && I(e, "duplication of a tag property"), r = e.input.charCodeAt(++e.position), r === 60 ? (t = !0, r = e.input.charCodeAt(++e.position)) : r === 33 ? (a = !0, i = "!!", r = e.input.charCodeAt(++e.position)) : i = "!", n = e.position, t) {
1947
+ if (e.tag !== null && I(e, "duplication of a tag property"), r = e.input.charCodeAt(++e.position), r === 60 ? (t = !0, r = e.input.charCodeAt(++e.position)) : r === 33 ? (i = !0, n = "!!", r = e.input.charCodeAt(++e.position)) : n = "!", a = e.position, t) {
1948
1948
  do
1949
1949
  r = e.input.charCodeAt(++e.position);
1950
1950
  while (r !== 0 && r !== 62);
1951
- e.position < e.length ? (o = e.input.slice(n, e.position), r = e.input.charCodeAt(++e.position)) : I(e, "unexpected end of the stream within a verbatim tag");
1951
+ e.position < e.length ? (o = e.input.slice(a, e.position), r = e.input.charCodeAt(++e.position)) : I(e, "unexpected end of the stream within a verbatim tag");
1952
1952
  } else {
1953
1953
  for (; r !== 0 && !he(r); )
1954
- r === 33 && (a ? I(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(n - 1, e.position + 1), An.test(i) || I(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), r = e.input.charCodeAt(++e.position);
1955
- o = e.input.slice(n, e.position), co.test(o) && I(e, "tag suffix cannot contain flow indicator characters");
1954
+ r === 33 && (i ? I(e, "tag suffix cannot contain exclamation marks") : (n = e.input.slice(a - 1, e.position + 1), xa.test(n) || I(e, "named tag handle cannot contain such characters"), i = !0, a = e.position + 1)), r = e.input.charCodeAt(++e.position);
1955
+ o = e.input.slice(a, e.position), co.test(o) && I(e, "tag suffix cannot contain flow indicator characters");
1956
1956
  }
1957
- o && !Tn.test(o) && I(e, "tag name cannot contain such characters: " + o);
1957
+ o && !Aa.test(o) && I(e, "tag name cannot contain such characters: " + o);
1958
1958
  try {
1959
1959
  o = decodeURIComponent(o);
1960
1960
  } catch {
1961
1961
  I(e, "tag name is malformed: " + o);
1962
1962
  }
1963
- return t ? e.tag = o : xe.call(e.tagMap, i) ? e.tag = e.tagMap[i] + o : i === "!" ? e.tag = "!" + o : i === "!!" ? e.tag = "tag:yaml.org,2002:" + o : I(e, 'undeclared tag handle "' + i + '"'), !0;
1963
+ return t ? e.tag = o : xe.call(e.tagMap, n) ? e.tag = e.tagMap[n] + o : n === "!" ? e.tag = "!" + o : n === "!!" ? e.tag = "tag:yaml.org,2002:" + o : I(e, 'undeclared tag handle "' + n + '"'), !0;
1964
1964
  }
1965
1965
  function _o(e) {
1966
- var n, t;
1966
+ var a, t;
1967
1967
  if (t = e.input.charCodeAt(e.position), t !== 38)
1968
1968
  return !1;
1969
- for (e.anchor !== null && I(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !Oe(t); )
1969
+ for (e.anchor !== null && I(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), a = e.position; t !== 0 && !he(t) && !Oe(t); )
1970
1970
  t = e.input.charCodeAt(++e.position);
1971
- return e.position === n && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
1971
+ return e.position === a && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(a, e.position), !0;
1972
1972
  }
1973
1973
  function So(e) {
1974
- var n, t, a;
1975
- if (a = e.input.charCodeAt(e.position), a !== 42)
1974
+ var a, t, i;
1975
+ if (i = e.input.charCodeAt(e.position), i !== 42)
1976
1976
  return !1;
1977
- for (a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !he(a) && !Oe(a); )
1978
- a = e.input.charCodeAt(++e.position);
1979
- return e.position === n && I(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), xe.call(e.anchorMap, t) || I(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ie(e, !0, -1), !0;
1977
+ for (i = e.input.charCodeAt(++e.position), a = e.position; i !== 0 && !he(i) && !Oe(i); )
1978
+ i = e.input.charCodeAt(++e.position);
1979
+ return e.position === a && I(e, "name of an alias node must contain at least one character"), t = e.input.slice(a, e.position), xe.call(e.anchorMap, t) || I(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ne(e, !0, -1), !0;
1980
1980
  }
1981
- function Ee(e, n, t, a, i) {
1981
+ function Ee(e, a, t, i, n) {
1982
1982
  var o, r, s, c = 1, l = !1, d = !1, u, v, k, w, C, p;
1983
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = r = s = We === t || xn === t, a && ie(e, !0, -1) && (l = !0, e.lineIndent > n ? c = 1 : e.lineIndent === n ? c = 0 : e.lineIndent < n && (c = -1)), c === 1)
1983
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = r = s = We === t || Ia === t, i && ne(e, !0, -1) && (l = !0, e.lineIndent > a ? c = 1 : e.lineIndent === a ? c = 0 : e.lineIndent < a && (c = -1)), c === 1)
1984
1984
  for (; wo(e) || _o(e); )
1985
- ie(e, !0, -1) ? (l = !0, s = o, e.lineIndent > n ? c = 1 : e.lineIndent === n ? c = 0 : e.lineIndent < n && (c = -1)) : s = !1;
1986
- if (s && (s = l || i), (c === 1 || We === t) && (Ye === t || In === t ? C = n : C = n + 1, p = e.position - e.lineStart, c === 1 ? s && (Lt(e, p) || Co(e, p, C)) || ko(e, C) ? d = !0 : (r && bo(e, C) || ho(e, C) || vo(e, C) ? d = !0 : So(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : go(e, C, Ye === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = s && Lt(e, p))), e.tag === null)
1985
+ ne(e, !0, -1) ? (l = !0, s = o, e.lineIndent > a ? c = 1 : e.lineIndent === a ? c = 0 : e.lineIndent < a && (c = -1)) : s = !1;
1986
+ if (s && (s = l || n), (c === 1 || We === t) && (Ye === t || Sa === t ? C = a : C = a + 1, p = e.position - e.lineStart, c === 1 ? s && (Lt(e, p) || Co(e, p, C)) || ko(e, C) ? d = !0 : (r && bo(e, C) || ho(e, C) || vo(e, C) ? d = !0 : So(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : go(e, C, Ye === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (d = s && Lt(e, p))), e.tag === null)
1987
1987
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1988
1988
  else if (e.tag === "?") {
1989
1989
  for (e.result !== null && e.kind !== "scalar" && I(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, v = e.implicitTypes.length; u < v; u += 1)
@@ -2005,11 +2005,11 @@ function Ee(e, n, t, a, i) {
2005
2005
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2006
2006
  }
2007
2007
  function Io(e) {
2008
- var n = e.position, t, a, i, o = !1, r;
2009
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (r = e.input.charCodeAt(e.position)) !== 0 && (ie(e, !0, -1), r = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || r !== 37)); ) {
2008
+ var a = e.position, t, i, n, o = !1, r;
2009
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (r = e.input.charCodeAt(e.position)) !== 0 && (ne(e, !0, -1), r = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || r !== 37)); ) {
2010
2010
  for (o = !0, r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !he(r); )
2011
2011
  r = e.input.charCodeAt(++e.position);
2012
- for (a = e.input.slice(t, e.position), i = [], a.length < 1 && I(e, "directive name must not be less than one character in length"); r !== 0; ) {
2012
+ for (i = e.input.slice(t, e.position), n = [], i.length < 1 && I(e, "directive name must not be less than one character in length"); r !== 0; ) {
2013
2013
  for (; Te(r); )
2014
2014
  r = e.input.charCodeAt(++e.position);
2015
2015
  if (r === 35) {
@@ -2022,12 +2022,12 @@ function Io(e) {
2022
2022
  break;
2023
2023
  for (t = e.position; r !== 0 && !he(r); )
2024
2024
  r = e.input.charCodeAt(++e.position);
2025
- i.push(e.input.slice(t, e.position));
2025
+ n.push(e.input.slice(t, e.position));
2026
2026
  }
2027
- r !== 0 && kt(e), xe.call(Bt, a) ? Bt[a](e, a, i) : Ge(e, 'unknown document directive "' + a + '"');
2027
+ r !== 0 && kt(e), xe.call(Bt, i) ? Bt[i](e, i, n) : Ge(e, 'unknown document directive "' + i + '"');
2028
2028
  }
2029
- if (ie(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, ie(e, !0, -1)) : o && I(e, "directives end mark is expected"), Ee(e, e.lineIndent - 1, We, !1, !0), ie(e, !0, -1), e.checkLineBreaks && so.test(e.input.slice(n, e.position)) && Ge(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && tt(e)) {
2030
- e.input.charCodeAt(e.position) === 46 && (e.position += 3, ie(e, !0, -1));
2029
+ 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)) : o && I(e, "directives end mark is expected"), Ee(e, e.lineIndent - 1, We, !1, !0), ne(e, !0, -1), e.checkLineBreaks && so.test(e.input.slice(a, e.position)) && Ge(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && tt(e)) {
2030
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
2031
2031
  return;
2032
2032
  }
2033
2033
  if (e.position < e.length - 1)
@@ -2035,36 +2035,36 @@ function Io(e) {
2035
2035
  else
2036
2036
  return;
2037
2037
  }
2038
- function Kn(e, n) {
2039
- e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2038
+ function Oa(e, a) {
2039
+ e = String(e), a = a || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2040
2040
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2041
- var t = new mo(e, n), a = e.indexOf("\0");
2042
- for (a !== -1 && (t.position = a, I(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2041
+ var t = new mo(e, a), i = e.indexOf("\0");
2042
+ for (i !== -1 && (t.position = i, I(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2043
2043
  t.lineIndent += 1, t.position += 1;
2044
2044
  for (; t.position < t.length - 1; )
2045
2045
  Io(t);
2046
2046
  return t.documents;
2047
2047
  }
2048
- function xo(e, n, t) {
2049
- n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2050
- var a = Kn(e, t);
2051
- if (typeof n != "function")
2052
- return a;
2053
- for (var i = 0, o = a.length; i < o; i += 1)
2054
- n(a[i]);
2048
+ function xo(e, a, t) {
2049
+ a !== null && typeof a == "object" && typeof t > "u" && (t = a, a = null);
2050
+ var i = Oa(e, t);
2051
+ if (typeof a != "function")
2052
+ return i;
2053
+ for (var n = 0, o = i.length; n < o; n += 1)
2054
+ a(i[n]);
2055
2055
  }
2056
- function Ao(e, n) {
2057
- var t = Kn(e, n);
2056
+ function Ao(e, a) {
2057
+ var t = Oa(e, a);
2058
2058
  if (t.length !== 0) {
2059
2059
  if (t.length === 1)
2060
2060
  return t[0];
2061
2061
  throw new fe("expected a single document in the stream, but found more");
2062
2062
  }
2063
2063
  }
2064
- var To = xo, jo = Ao, Mn = {
2064
+ var To = xo, jo = Ao, Ka = {
2065
2065
  loadAll: To,
2066
2066
  load: jo
2067
- }, En = Object.prototype.toString, Fn = Object.prototype.hasOwnProperty, Ct = 65279, $o = 9, Ue = 10, Oo = 13, Ko = 32, Mo = 33, Eo = 34, st = 35, Fo = 37, Bo = 38, No = 39, Lo = 42, Bn = 44, qo = 45, Ze = 58, Po = 61, Uo = 62, Ro = 63, Vo = 64, Nn = 91, Ln = 93, Do = 96, qn = 123, Jo = 124, Pn = 125, de = {};
2067
+ }, Ma = Object.prototype.toString, Ea = Object.prototype.hasOwnProperty, Ct = 65279, $o = 9, Ue = 10, Oo = 13, Ko = 32, Mo = 33, Eo = 34, st = 35, Fo = 37, Bo = 38, No = 39, Lo = 42, Fa = 44, qo = 45, Ze = 58, Po = 61, Uo = 62, Ro = 63, Vo = 64, Ba = 91, Na = 93, Do = 96, La = 123, Jo = 124, qa = 125, de = {};
2068
2068
  de[0] = "\\0";
2069
2069
  de[7] = "\\a";
2070
2070
  de[8] = "\\b";
@@ -2098,45 +2098,45 @@ var Ho = [
2098
2098
  "Off",
2099
2099
  "OFF"
2100
2100
  ], zo = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2101
- function Yo(e, n) {
2102
- var t, a, i, o, r, s, c;
2103
- if (n === null)
2101
+ function Yo(e, a) {
2102
+ var t, i, n, o, r, s, c;
2103
+ if (a === null)
2104
2104
  return {};
2105
- for (t = {}, a = Object.keys(n), i = 0, o = a.length; i < o; i += 1)
2106
- r = a[i], s = String(n[r]), r.slice(0, 2) === "!!" && (r = "tag:yaml.org,2002:" + r.slice(2)), c = e.compiledTypeMap.fallback[r], c && Fn.call(c.styleAliases, s) && (s = c.styleAliases[s]), t[r] = s;
2105
+ for (t = {}, i = Object.keys(a), n = 0, o = i.length; n < o; n += 1)
2106
+ r = i[n], s = String(a[r]), r.slice(0, 2) === "!!" && (r = "tag:yaml.org,2002:" + r.slice(2)), c = e.compiledTypeMap.fallback[r], c && Ea.call(c.styleAliases, s) && (s = c.styleAliases[s]), t[r] = s;
2107
2107
  return t;
2108
2108
  }
2109
2109
  function Wo(e) {
2110
- var n, t, a;
2111
- if (n = e.toString(16).toUpperCase(), e <= 255)
2112
- t = "x", a = 2;
2110
+ var a, t, i;
2111
+ if (a = e.toString(16).toUpperCase(), e <= 255)
2112
+ t = "x", i = 2;
2113
2113
  else if (e <= 65535)
2114
- t = "u", a = 4;
2114
+ t = "u", i = 4;
2115
2115
  else if (e <= 4294967295)
2116
- t = "U", a = 8;
2116
+ t = "U", i = 8;
2117
2117
  else
2118
2118
  throw new fe("code point within a string may not be greater than 0xFFFFFFFF");
2119
- return "\\" + t + re.repeat("0", a - n.length) + n;
2119
+ return "\\" + t + re.repeat("0", i - a.length) + a;
2120
2120
  }
2121
2121
  var Go = 1, Re = 2;
2122
2122
  function Zo(e) {
2123
2123
  this.schema = e.schema || vt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = re.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Yo(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Re : Go, 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;
2124
2124
  }
2125
- function qt(e, n) {
2126
- for (var t = re.repeat(" ", n), a = 0, i = -1, o = "", r, s = e.length; a < s; )
2127
- i = e.indexOf(`
2128
- `, a), i === -1 ? (r = e.slice(a), a = s) : (r = e.slice(a, i + 1), a = i + 1), r.length && r !== `
2125
+ function qt(e, a) {
2126
+ for (var t = re.repeat(" ", a), i = 0, n = -1, o = "", r, s = e.length; i < s; )
2127
+ n = e.indexOf(`
2128
+ `, i), n === -1 ? (r = e.slice(i), i = s) : (r = e.slice(i, n + 1), i = n + 1), r.length && r !== `
2129
2129
  ` && (o += t), o += r;
2130
2130
  return o;
2131
2131
  }
2132
- function ct(e, n) {
2132
+ function ct(e, a) {
2133
2133
  return `
2134
- ` + re.repeat(" ", e.indent * n);
2134
+ ` + re.repeat(" ", e.indent * a);
2135
2135
  }
2136
- function Qo(e, n) {
2137
- var t, a, i;
2138
- for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2139
- if (i = e.implicitTypes[t], i.resolve(n))
2136
+ function Qo(e, a) {
2137
+ var t, i, n;
2138
+ for (t = 0, i = e.implicitTypes.length; t < i; t += 1)
2139
+ if (n = e.implicitTypes[t], n.resolve(a))
2140
2140
  return !0;
2141
2141
  return !1;
2142
2142
  }
@@ -2149,34 +2149,34 @@ function Ve(e) {
2149
2149
  function Pt(e) {
2150
2150
  return Ve(e) && e !== Ct && e !== Oo && e !== Ue;
2151
2151
  }
2152
- function Ut(e, n, t) {
2153
- var a = Pt(e), i = a && !Qe(e);
2152
+ function Ut(e, a, t) {
2153
+ var i = Pt(e), n = i && !Qe(e);
2154
2154
  return (
2155
2155
  // ns-plain-safe
2156
2156
  (t ? (
2157
2157
  // c = flow-in
2158
- a
2159
- ) : a && e !== Bn && e !== Nn && e !== Ln && e !== qn && e !== Pn) && e !== st && !(n === Ze && !i) || Pt(n) && !Qe(n) && e === st || n === Ze && i
2158
+ i
2159
+ ) : i && e !== Fa && e !== Ba && e !== Na && e !== La && e !== qa) && e !== st && !(a === Ze && !n) || Pt(a) && !Qe(a) && e === st || a === Ze && n
2160
2160
  );
2161
2161
  }
2162
2162
  function Xo(e) {
2163
- return Ve(e) && e !== Ct && !Qe(e) && e !== qo && e !== Ro && e !== Ze && e !== Bn && e !== Nn && e !== Ln && e !== qn && e !== Pn && e !== st && e !== Bo && e !== Lo && e !== Mo && e !== Jo && e !== Po && e !== Uo && e !== No && e !== Eo && e !== Fo && e !== Vo && e !== Do;
2163
+ return Ve(e) && e !== Ct && !Qe(e) && e !== qo && e !== Ro && e !== Ze && e !== Fa && e !== Ba && e !== Na && e !== La && e !== qa && e !== st && e !== Bo && e !== Lo && e !== Mo && e !== Jo && e !== Po && e !== Uo && e !== No && e !== Eo && e !== Fo && e !== Vo && e !== Do;
2164
2164
  }
2165
2165
  function er(e) {
2166
2166
  return !Qe(e) && e !== Ze;
2167
2167
  }
2168
- function Ne(e, n) {
2169
- var t = e.charCodeAt(n), a;
2170
- return t >= 55296 && t <= 56319 && n + 1 < e.length && (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343) ? (t - 55296) * 1024 + a - 56320 + 65536 : t;
2168
+ function Ne(e, a) {
2169
+ var t = e.charCodeAt(a), i;
2170
+ return t >= 55296 && t <= 56319 && a + 1 < e.length && (i = e.charCodeAt(a + 1), i >= 56320 && i <= 57343) ? (t - 55296) * 1024 + i - 56320 + 65536 : t;
2171
2171
  }
2172
- function Un(e) {
2173
- var n = /^\n* /;
2174
- return n.test(e);
2172
+ function Pa(e) {
2173
+ var a = /^\n* /;
2174
+ return a.test(e);
2175
2175
  }
2176
- var Rn = 1, ut = 2, Vn = 3, Dn = 4, $e = 5;
2177
- function tr(e, n, t, a, i, o, r, s) {
2178
- var c, l = 0, d = null, u = !1, v = !1, k = a !== -1, w = -1, C = Xo(Ne(e, 0)) && er(Ne(e, e.length - 1));
2179
- if (n || r)
2176
+ var Ua = 1, ut = 2, Ra = 3, Va = 4, $e = 5;
2177
+ function tr(e, a, t, i, n, o, r, s) {
2178
+ var c, l = 0, d = null, u = !1, v = !1, k = i !== -1, w = -1, C = Xo(Ne(e, 0)) && er(Ne(e, e.length - 1));
2179
+ if (a || r)
2180
2180
  for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
2181
2181
  if (l = Ne(e, c), !Ve(l))
2182
2182
  return $e;
@@ -2186,55 +2186,55 @@ function tr(e, n, t, a, i, o, r, s) {
2186
2186
  for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
2187
2187
  if (l = Ne(e, c), l === Ue)
2188
2188
  u = !0, k && (v = v || // Foldable line = too long, and not more-indented.
2189
- c - w - 1 > a && e[w + 1] !== " ", w = c);
2189
+ c - w - 1 > i && e[w + 1] !== " ", w = c);
2190
2190
  else if (!Ve(l))
2191
2191
  return $e;
2192
2192
  C = C && Ut(l, d, s), d = l;
2193
2193
  }
2194
- v = v || k && c - w - 1 > a && e[w + 1] !== " ";
2194
+ v = v || k && c - w - 1 > i && e[w + 1] !== " ";
2195
2195
  }
2196
- return !u && !v ? C && !r && !i(e) ? Rn : o === Re ? $e : ut : t > 9 && Un(e) ? $e : r ? o === Re ? $e : ut : v ? Dn : Vn;
2196
+ return !u && !v ? C && !r && !n(e) ? Ua : o === Re ? $e : ut : t > 9 && Pa(e) ? $e : r ? o === Re ? $e : ut : v ? Va : Ra;
2197
2197
  }
2198
- function nr(e, n, t, a, i) {
2198
+ function ar(e, a, t, i, n) {
2199
2199
  e.dump = function() {
2200
- if (n.length === 0)
2200
+ if (a.length === 0)
2201
2201
  return e.quotingType === Re ? '""' : "''";
2202
- if (!e.noCompatMode && (Ho.indexOf(n) !== -1 || zo.test(n)))
2203
- return e.quotingType === Re ? '"' + n + '"' : "'" + n + "'";
2204
- var o = e.indent * Math.max(1, t), r = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = a || e.flowLevel > -1 && t >= e.flowLevel;
2202
+ if (!e.noCompatMode && (Ho.indexOf(a) !== -1 || zo.test(a)))
2203
+ return e.quotingType === Re ? '"' + a + '"' : "'" + a + "'";
2204
+ var o = e.indent * Math.max(1, t), r = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = i || e.flowLevel > -1 && t >= e.flowLevel;
2205
2205
  function c(l) {
2206
2206
  return Qo(e, l);
2207
2207
  }
2208
2208
  switch (tr(
2209
- n,
2209
+ a,
2210
2210
  s,
2211
2211
  e.indent,
2212
2212
  r,
2213
2213
  c,
2214
2214
  e.quotingType,
2215
- e.forceQuotes && !a,
2216
- i
2215
+ e.forceQuotes && !i,
2216
+ n
2217
2217
  )) {
2218
- case Rn:
2219
- return n;
2218
+ case Ua:
2219
+ return a;
2220
2220
  case ut:
2221
- return "'" + n.replace(/'/g, "''") + "'";
2222
- case Vn:
2223
- return "|" + Rt(n, e.indent) + Vt(qt(n, o));
2224
- case Dn:
2225
- return ">" + Rt(n, e.indent) + Vt(qt(ar(n, r), o));
2221
+ return "'" + a.replace(/'/g, "''") + "'";
2222
+ case Ra:
2223
+ return "|" + Rt(a, e.indent) + Vt(qt(a, o));
2224
+ case Va:
2225
+ return ">" + Rt(a, e.indent) + Vt(qt(ir(a, r), o));
2226
2226
  case $e:
2227
- return '"' + ir(n) + '"';
2227
+ return '"' + nr(a) + '"';
2228
2228
  default:
2229
2229
  throw new fe("impossible error: invalid scalar style");
2230
2230
  }
2231
2231
  }();
2232
2232
  }
2233
- function Rt(e, n) {
2234
- var t = Un(e) ? String(n) : "", a = e[e.length - 1] === `
2235
- `, i = a && (e[e.length - 2] === `
2233
+ function Rt(e, a) {
2234
+ var t = Pa(e) ? String(a) : "", i = e[e.length - 1] === `
2235
+ `, n = i && (e[e.length - 2] === `
2236
2236
  ` || e === `
2237
- `), o = i ? "+" : a ? "" : "-";
2237
+ `), o = n ? "+" : i ? "" : "-";
2238
2238
  return t + o + `
2239
2239
  `;
2240
2240
  }
@@ -2242,54 +2242,54 @@ function Vt(e) {
2242
2242
  return e[e.length - 1] === `
2243
2243
  ` ? e.slice(0, -1) : e;
2244
2244
  }
2245
- function ar(e, n) {
2246
- for (var t = /(\n+)([^\n]*)/g, a = function() {
2245
+ function ir(e, a) {
2246
+ for (var t = /(\n+)([^\n]*)/g, i = function() {
2247
2247
  var l = e.indexOf(`
2248
2248
  `);
2249
- return l = l !== -1 ? l : e.length, t.lastIndex = l, Dt(e.slice(0, l), n);
2250
- }(), i = e[0] === `
2249
+ return l = l !== -1 ? l : e.length, t.lastIndex = l, Dt(e.slice(0, l), a);
2250
+ }(), n = e[0] === `
2251
2251
  ` || e[0] === " ", o, r; r = t.exec(e); ) {
2252
2252
  var s = r[1], c = r[2];
2253
- o = c[0] === " ", a += s + (!i && !o && c !== "" ? `
2254
- ` : "") + Dt(c, n), i = o;
2253
+ o = c[0] === " ", i += s + (!n && !o && c !== "" ? `
2254
+ ` : "") + Dt(c, a), n = o;
2255
2255
  }
2256
- return a;
2256
+ return i;
2257
2257
  }
2258
- function Dt(e, n) {
2258
+ function Dt(e, a) {
2259
2259
  if (e === "" || e[0] === " ")
2260
2260
  return e;
2261
- for (var t = / [^ ]/g, a, i = 0, o, r = 0, s = 0, c = ""; a = t.exec(e); )
2262
- s = a.index, s - i > n && (o = r > i ? r : s, c += `
2263
- ` + e.slice(i, o), i = o + 1), r = s;
2261
+ for (var t = / [^ ]/g, i, n = 0, o, r = 0, s = 0, c = ""; i = t.exec(e); )
2262
+ s = i.index, s - n > a && (o = r > n ? r : s, c += `
2263
+ ` + e.slice(n, o), n = o + 1), r = s;
2264
2264
  return c += `
2265
- `, e.length - i > n && r > i ? c += e.slice(i, r) + `
2266
- ` + e.slice(r + 1) : c += e.slice(i), c.slice(1);
2265
+ `, e.length - n > a && r > n ? c += e.slice(n, r) + `
2266
+ ` + e.slice(r + 1) : c += e.slice(n), c.slice(1);
2267
2267
  }
2268
- function ir(e) {
2269
- for (var n = "", t = 0, a, i = 0; i < e.length; t >= 65536 ? i += 2 : i++)
2270
- t = Ne(e, i), a = de[t], !a && Ve(t) ? (n += e[i], t >= 65536 && (n += e[i + 1])) : n += a || Wo(t);
2271
- return n;
2268
+ function nr(e) {
2269
+ for (var a = "", t = 0, i, n = 0; n < e.length; t >= 65536 ? n += 2 : n++)
2270
+ t = Ne(e, n), i = de[t], !i && Ve(t) ? (a += e[n], t >= 65536 && (a += e[n + 1])) : a += i || Wo(t);
2271
+ return a;
2272
2272
  }
2273
- function or(e, n, t) {
2274
- var a = "", i = e.tag, o, r, s;
2273
+ function or(e, a, t) {
2274
+ var i = "", n = e.tag, o, r, s;
2275
2275
  for (o = 0, r = t.length; o < r; o += 1)
2276
- s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (Ce(e, n, s, !1, !1) || typeof s > "u" && Ce(e, n, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
2277
- e.tag = i, e.dump = "[" + a + "]";
2276
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (Ce(e, a, s, !1, !1) || typeof s > "u" && Ce(e, a, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
2277
+ e.tag = n, e.dump = "[" + i + "]";
2278
2278
  }
2279
- function Jt(e, n, t, a) {
2280
- var i = "", o = e.tag, r, s, c;
2279
+ function Jt(e, a, t, i) {
2280
+ var n = "", o = e.tag, r, s, c;
2281
2281
  for (r = 0, s = t.length; r < s; r += 1)
2282
- c = t[r], e.replacer && (c = e.replacer.call(t, String(r), c)), (Ce(e, n + 1, c, !0, !0, !1, !0) || typeof c > "u" && Ce(e, n + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += ct(e, n)), e.dump && Ue === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2283
- e.tag = o, e.dump = i || "[]";
2282
+ c = t[r], e.replacer && (c = e.replacer.call(t, String(r), c)), (Ce(e, a + 1, c, !0, !0, !1, !0) || typeof c > "u" && Ce(e, a + 1, null, !0, !0, !1, !0)) && ((!i || n !== "") && (n += ct(e, a)), e.dump && Ue === e.dump.charCodeAt(0) ? n += "-" : n += "- ", n += e.dump);
2283
+ e.tag = o, e.dump = n || "[]";
2284
2284
  }
2285
- function rr(e, n, t) {
2286
- var a = "", i = e.tag, o = Object.keys(t), r, s, c, l, d;
2285
+ function rr(e, a, t) {
2286
+ var i = "", n = e.tag, o = Object.keys(t), r, s, c, l, d;
2287
2287
  for (r = 0, s = o.length; r < s; r += 1)
2288
- d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), c = o[r], l = t[c], e.replacer && (l = e.replacer.call(t, c, l)), Ce(e, n, c, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ce(e, n, l, !1, !1) && (d += e.dump, a += d));
2289
- e.tag = i, e.dump = "{" + a + "}";
2288
+ d = "", i !== "" && (d += ", "), e.condenseFlow && (d += '"'), c = o[r], l = t[c], e.replacer && (l = e.replacer.call(t, c, l)), Ce(e, a, c, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ce(e, a, l, !1, !1) && (d += e.dump, i += d));
2289
+ e.tag = n, e.dump = "{" + i + "}";
2290
2290
  }
2291
- function lr(e, n, t, a) {
2292
- var i = "", o = e.tag, r = Object.keys(t), s, c, l, d, u, v;
2291
+ function lr(e, a, t, i) {
2292
+ var n = "", o = e.tag, r = Object.keys(t), s, c, l, d, u, v;
2293
2293
  if (e.sortKeys === !0)
2294
2294
  r.sort();
2295
2295
  else if (typeof e.sortKeys == "function")
@@ -2297,40 +2297,40 @@ function lr(e, n, t, a) {
2297
2297
  else if (e.sortKeys)
2298
2298
  throw new fe("sortKeys must be a boolean or a function");
2299
2299
  for (s = 0, c = r.length; s < c; s += 1)
2300
- v = "", (!a || i !== "") && (v += ct(e, n)), l = r[s], d = t[l], e.replacer && (d = e.replacer.call(t, l, d)), Ce(e, n + 1, l, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ue === e.dump.charCodeAt(0) ? v += "?" : v += "? "), v += e.dump, u && (v += ct(e, n)), Ce(e, n + 1, d, !0, u) && (e.dump && Ue === e.dump.charCodeAt(0) ? v += ":" : v += ": ", v += e.dump, i += v));
2301
- e.tag = o, e.dump = i || "{}";
2300
+ v = "", (!i || n !== "") && (v += ct(e, a)), l = r[s], d = t[l], e.replacer && (d = e.replacer.call(t, l, d)), Ce(e, a + 1, l, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ue === e.dump.charCodeAt(0) ? v += "?" : v += "? "), v += e.dump, u && (v += ct(e, a)), Ce(e, a + 1, d, !0, u) && (e.dump && Ue === e.dump.charCodeAt(0) ? v += ":" : v += ": ", v += e.dump, n += v));
2301
+ e.tag = o, e.dump = n || "{}";
2302
2302
  }
2303
- function Ht(e, n, t) {
2304
- var a, i, o, r, s, c;
2305
- for (i = t ? e.explicitTypes : e.implicitTypes, o = 0, r = i.length; o < r; o += 1)
2306
- if (s = i[o], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2307
- if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2308
- if (c = e.styleMap[s.tag] || s.defaultStyle, En.call(s.represent) === "[object Function]")
2309
- a = s.represent(n, c);
2310
- else if (Fn.call(s.represent, c))
2311
- a = s.represent[c](n, c);
2303
+ function Ht(e, a, t) {
2304
+ var i, n, o, r, s, c;
2305
+ for (n = t ? e.explicitTypes : e.implicitTypes, o = 0, r = n.length; o < r; o += 1)
2306
+ if (s = n[o], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof a == "object" && a instanceof s.instanceOf) && (!s.predicate || s.predicate(a))) {
2307
+ if (t ? s.multi && s.representName ? e.tag = s.representName(a) : e.tag = s.tag : e.tag = "?", s.represent) {
2308
+ if (c = e.styleMap[s.tag] || s.defaultStyle, Ma.call(s.represent) === "[object Function]")
2309
+ i = s.represent(a, c);
2310
+ else if (Ea.call(s.represent, c))
2311
+ i = s.represent[c](a, c);
2312
2312
  else
2313
2313
  throw new fe("!<" + s.tag + '> tag resolver accepts not "' + c + '" style');
2314
- e.dump = a;
2314
+ e.dump = i;
2315
2315
  }
2316
2316
  return !0;
2317
2317
  }
2318
2318
  return !1;
2319
2319
  }
2320
- function Ce(e, n, t, a, i, o, r) {
2320
+ function Ce(e, a, t, i, n, o, r) {
2321
2321
  e.tag = null, e.dump = t, Ht(e, t, !1) || Ht(e, t, !0);
2322
- var s = En.call(e.dump), c = a, l;
2323
- a && (a = e.flowLevel < 0 || e.flowLevel > n);
2322
+ var s = Ma.call(e.dump), c = i, l;
2323
+ i && (i = e.flowLevel < 0 || e.flowLevel > a);
2324
2324
  var d = s === "[object Object]" || s === "[object Array]", u, v;
2325
- if (d && (u = e.duplicates.indexOf(t), v = u !== -1), (e.tag !== null && e.tag !== "?" || v || e.indent !== 2 && n > 0) && (i = !1), v && e.usedDuplicates[u])
2325
+ if (d && (u = e.duplicates.indexOf(t), v = u !== -1), (e.tag !== null && e.tag !== "?" || v || e.indent !== 2 && a > 0) && (n = !1), v && e.usedDuplicates[u])
2326
2326
  e.dump = "*ref_" + u;
2327
2327
  else {
2328
2328
  if (d && v && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), s === "[object Object]")
2329
- a && Object.keys(e.dump).length !== 0 ? (lr(e, n, e.dump, i), v && (e.dump = "&ref_" + u + e.dump)) : (rr(e, n, e.dump), v && (e.dump = "&ref_" + u + " " + e.dump));
2329
+ i && Object.keys(e.dump).length !== 0 ? (lr(e, a, e.dump, n), v && (e.dump = "&ref_" + u + e.dump)) : (rr(e, a, e.dump), v && (e.dump = "&ref_" + u + " " + e.dump));
2330
2330
  else if (s === "[object Array]")
2331
- a && e.dump.length !== 0 ? (e.noArrayIndent && !r && n > 0 ? Jt(e, n - 1, e.dump, i) : Jt(e, n, e.dump, i), v && (e.dump = "&ref_" + u + e.dump)) : (or(e, n, e.dump), v && (e.dump = "&ref_" + u + " " + e.dump));
2331
+ i && e.dump.length !== 0 ? (e.noArrayIndent && !r && a > 0 ? Jt(e, a - 1, e.dump, n) : Jt(e, a, e.dump, n), v && (e.dump = "&ref_" + u + e.dump)) : (or(e, a, e.dump), v && (e.dump = "&ref_" + u + " " + e.dump));
2332
2332
  else if (s === "[object String]")
2333
- e.tag !== "?" && nr(e, e.dump, n, o, c);
2333
+ e.tag !== "?" && ar(e, e.dump, a, o, c);
2334
2334
  else {
2335
2335
  if (s === "[object Undefined]" || e.skipInvalid)
2336
2336
  return !1;
@@ -2342,54 +2342,54 @@ function Ce(e, n, t, a, i, o, r) {
2342
2342
  }
2343
2343
  return !0;
2344
2344
  }
2345
- function sr(e, n) {
2346
- var t = [], a = [], i, o;
2347
- for (dt(e, t, a), i = 0, o = a.length; i < o; i += 1)
2348
- n.duplicates.push(t[a[i]]);
2349
- n.usedDuplicates = new Array(o);
2345
+ function sr(e, a) {
2346
+ var t = [], i = [], n, o;
2347
+ for (dt(e, t, i), n = 0, o = i.length; n < o; n += 1)
2348
+ a.duplicates.push(t[i[n]]);
2349
+ a.usedDuplicates = new Array(o);
2350
2350
  }
2351
- function dt(e, n, t) {
2352
- var a, i, o;
2351
+ function dt(e, a, t) {
2352
+ var i, n, o;
2353
2353
  if (e !== null && typeof e == "object")
2354
- if (i = n.indexOf(e), i !== -1)
2355
- t.indexOf(i) === -1 && t.push(i);
2356
- else if (n.push(e), Array.isArray(e))
2357
- for (i = 0, o = e.length; i < o; i += 1)
2358
- dt(e[i], n, t);
2354
+ if (n = a.indexOf(e), n !== -1)
2355
+ t.indexOf(n) === -1 && t.push(n);
2356
+ else if (a.push(e), Array.isArray(e))
2357
+ for (n = 0, o = e.length; n < o; n += 1)
2358
+ dt(e[n], a, t);
2359
2359
  else
2360
- for (a = Object.keys(e), i = 0, o = a.length; i < o; i += 1)
2361
- dt(e[a[i]], n, t);
2360
+ for (i = Object.keys(e), n = 0, o = i.length; n < o; n += 1)
2361
+ dt(e[i[n]], a, t);
2362
2362
  }
2363
- function cr(e, n) {
2364
- n = n || {};
2365
- var t = new Zo(n);
2363
+ function cr(e, a) {
2364
+ a = a || {};
2365
+ var t = new Zo(a);
2366
2366
  t.noRefs || sr(e, t);
2367
- var a = e;
2368
- return t.replacer && (a = t.replacer.call({ "": a }, "", a)), Ce(t, 0, a, !0, !0) ? t.dump + `
2367
+ var i = e;
2368
+ return t.replacer && (i = t.replacer.call({ "": i }, "", i)), Ce(t, 0, i, !0, !0) ? t.dump + `
2369
2369
  ` : "";
2370
2370
  }
2371
2371
  var ur = cr, dr = {
2372
2372
  dump: ur
2373
2373
  };
2374
- function wt(e, n) {
2374
+ function wt(e, a) {
2375
2375
  return function() {
2376
- throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2376
+ throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + a + " instead, which is now safe by default.");
2377
2377
  };
2378
2378
  }
2379
- var pr = ue, fr = rn, yr = un, mr = mn, gr = gn, hr = vt, vr = Mn.load, kr = Mn.loadAll, br = dr.dump, Cr = fe, wr = {
2380
- binary: Cn,
2381
- float: yn,
2382
- map: cn,
2383
- null: dn,
2384
- pairs: _n,
2385
- set: Sn,
2386
- timestamp: kn,
2387
- bool: pn,
2388
- int: fn,
2389
- merge: bn,
2390
- omap: wn,
2391
- seq: sn,
2392
- str: ln
2379
+ var pr = ue, fr = oa, yr = ca, mr = ya, gr = ma, hr = vt, vr = Ka.load, kr = Ka.loadAll, br = dr.dump, Cr = fe, wr = {
2380
+ binary: ba,
2381
+ float: fa,
2382
+ map: sa,
2383
+ null: ua,
2384
+ pairs: wa,
2385
+ set: _a,
2386
+ timestamp: va,
2387
+ bool: da,
2388
+ int: pa,
2389
+ merge: ka,
2390
+ omap: Ca,
2391
+ seq: la,
2392
+ str: ra
2393
2393
  }, _r = wt("safeLoad", "load"), Sr = wt("safeLoadAll", "loadAll"), Ir = wt("safeDump", "dump"), xr = {
2394
2394
  Type: pr,
2395
2395
  Schema: fr,
@@ -2444,9 +2444,9 @@ const Ar = {
2444
2444
  }
2445
2445
  },
2446
2446
  setup(e) {
2447
- const n = e, t = Xe(), { i18n: { t: a } } = ce.useI18n(), i = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), o = K(""), r = K("");
2448
- return ke(() => n.format, (s) => {
2449
- s === "json" ? o.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (r.value = xr.dump(n.record));
2447
+ const a = e, t = Xe(), { i18n: { t: i } } = ce.useI18n(), n = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), o = K(""), r = K("");
2448
+ return ke(() => a.format, (s) => {
2449
+ s === "json" ? o.value = JSON.stringify(a.record, null, 2) : s === "yaml" && (r.value = xr.dump(a.record));
2450
2450
  }, { immediate: !0 }), (s, c) => {
2451
2451
  const l = E("KCodeBlock");
2452
2452
  return m(), x(ge, null, [
@@ -2456,7 +2456,7 @@ const Ar = {
2456
2456
  class: Ie(`config-card-details-${d}-props`),
2457
2457
  "data-testid": `config-card-details-${d}-props`
2458
2458
  }, [
2459
- d !== "basic" ? (m(), x("div", jr, O(d === "advanced" ? h(a)("baseConfigCard.sections.advanced") : h(a)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2459
+ d !== "basic" ? (m(), x("div", jr, O(d === "advanced" ? h(i)("baseConfigCard.sections.advanced") : h(i)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2460
2460
  (m(!0), x(ge, null, ye(e.propertyCollections[d], (u) => (m(), B(qe, {
2461
2461
  key: u.key,
2462
2462
  item: u
@@ -2472,7 +2472,7 @@ const Ar = {
2472
2472
  ]),
2473
2473
  _: 2
2474
2474
  }, [
2475
- i(u) ? {
2475
+ n(u) ? {
2476
2476
  name: "label-tooltip",
2477
2477
  fn: b(() => [
2478
2478
  Q(s.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
@@ -2495,19 +2495,18 @@ const Ar = {
2495
2495
  id: "config-card-codeblock",
2496
2496
  code: r.value,
2497
2497
  language: "yaml",
2498
- "show-line-number-links": !0,
2499
2498
  theme: "dark"
2500
2499
  }, null, 8, ["code"])
2501
2500
  ])) : H("", !0)
2502
2501
  ], 64);
2503
2502
  };
2504
2503
  }
2505
- }), Mr = /* @__PURE__ */ ve(Kr, [["__scopeId", "data-v-a58d7adb"]]), zt = "24px", Er = (e, n) => {
2504
+ }), Mr = /* @__PURE__ */ ve(Kr, [["__scopeId", "data-v-6c45e9e4"]]), zt = "24px", Er = (e, a) => {
2506
2505
  const t = e.__vccOpts || e;
2507
- for (const [a, i] of n)
2508
- t[a] = i;
2506
+ for (const [i, n] of a)
2507
+ t[i] = n;
2509
2508
  return t;
2510
- }, Fr = (e) => (Xn("data-v-de77c523"), e = e(), ea(), e), Br = ["aria-hidden"], Nr = {
2509
+ }, Fr = (e) => (Qa("data-v-de77c523"), e = e(), Xa(), e), Br = ["aria-hidden"], Nr = {
2511
2510
  key: 0,
2512
2511
  "data-testid": "kui-icon-svg-title"
2513
2512
  }, Lr = /* @__PURE__ */ Fr(() => /* @__PURE__ */ N("path", {
@@ -2550,7 +2549,7 @@ const Ar = {
2550
2549
  if (typeof e == "number" && e > 0)
2551
2550
  return !0;
2552
2551
  if (typeof e == "string") {
2553
- const n = String(e).replace(/px/gi, ""), t = Number(n);
2552
+ const a = String(e).replace(/px/gi, ""), t = Number(a);
2554
2553
  if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
2555
2554
  return !0;
2556
2555
  }
@@ -2565,28 +2564,28 @@ const Ar = {
2565
2564
  }
2566
2565
  },
2567
2566
  setup(e) {
2568
- const n = e, t = j(() => {
2569
- if (typeof n.size == "number" && n.size > 0)
2570
- return `${n.size}px`;
2571
- if (typeof n.size == "string") {
2572
- const i = String(n.size).replace(/px/gi, ""), o = Number(i);
2567
+ const a = e, t = j(() => {
2568
+ if (typeof a.size == "number" && a.size > 0)
2569
+ return `${a.size}px`;
2570
+ if (typeof a.size == "string") {
2571
+ const n = String(a.size).replace(/px/gi, ""), o = Number(n);
2573
2572
  if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
2574
2573
  return `${o}px`;
2575
2574
  }
2576
2575
  return zt;
2577
- }), a = j(() => ({
2576
+ }), i = j(() => ({
2578
2577
  boxSizing: "border-box",
2579
- color: n.color,
2580
- display: n.display,
2578
+ color: a.color,
2579
+ display: a.display,
2581
2580
  height: t.value,
2582
2581
  lineHeight: "0",
2583
2582
  width: t.value
2584
2583
  }));
2585
- return (i, o) => (m(), B(Le(e.as), {
2584
+ return (n, o) => (m(), B(Le(e.as), {
2586
2585
  "aria-hidden": e.decorative ? "true" : void 0,
2587
2586
  class: "kui-icon book-icon",
2588
2587
  "data-testid": "kui-icon-wrapper-book-icon",
2589
- style: Qn(a.value)
2588
+ style: Za(i.value)
2590
2589
  }, {
2591
2590
  default: b(() => [
2592
2591
  (m(), x("svg", {
@@ -2688,10 +2687,10 @@ const Ar = {
2688
2687
  }
2689
2688
  },
2690
2689
  emits: ["loading", "fetch:success", "fetch:error", "copy:success", "copy:error"],
2691
- setup(e, { emit: n }) {
2690
+ setup(e, { emit: a }) {
2692
2691
  var t;
2693
- const a = e, i = Xe(), { i18n: { t: o } } = ce.useI18n(), { getMessageFromError: r } = ce.useErrors(), { convertKeyToTitle: s } = ce.useStringHelpers(), { axiosInstance: c } = ce.useAxios({
2694
- headers: (t = a.config) == null ? void 0 : t.requestHeaders
2692
+ const i = e, n = Xe(), { i18n: { t: o } } = ce.useI18n(), { getMessageFromError: r } = ce.useErrors(), { convertKeyToTitle: s } = ce.useStringHelpers(), { axiosInstance: c } = ce.useAxios({
2693
+ headers: (t = i.config) == null ? void 0 : t.requestHeaders
2695
2694
  }), l = [
2696
2695
  {
2697
2696
  label: o("baseConfigCard.general.structuredFormat"),
@@ -2748,15 +2747,15 @@ const Ar = {
2748
2747
  return [];
2749
2748
  const U = [], z = Object.keys(p.value).length;
2750
2749
  for (const R in p.value) {
2751
- const W = (P = (A = a.configSchema) == null ? void 0 : A[R]) == null ? void 0 : P.order, ne = (M = v[R]) == null ? void 0 : M.order;
2750
+ const W = (P = (A = i.configSchema) == null ? void 0 : A[R]) == null ? void 0 : P.order, ae = (M = v[R]) == null ? void 0 : M.order;
2752
2751
  let te = z;
2753
- (ne || ne === 0) && (te = ne === -1 ? z + 1 : ne), W && (te = W === -1 ? z + 1 : W), U.push([R, te]);
2752
+ (ae || ae === 0) && (te = ae === -1 ? z + 1 : ae), W && (te = W === -1 ? z + 1 : W), U.push([R, te]);
2754
2753
  }
2755
2754
  return U.sort(function(R, W) {
2756
2755
  return R[1] - W[1];
2757
2756
  }), U.map((R) => {
2758
- var W, ne;
2759
- const te = R[0], ee = (W = p.value) == null ? void 0 : W[te], Z = ((ne = a.configSchema) == null ? void 0 : ne[te]) || {}, se = v[te];
2757
+ var W, ae;
2758
+ const te = R[0], ee = (W = p.value) == null ? void 0 : W[te], Z = ((ae = i.configSchema) == null ? void 0 : ae[te]) || {}, se = v[te];
2760
2759
  return {
2761
2760
  key: te,
2762
2761
  value: ee,
@@ -2766,28 +2765,28 @@ const Ar = {
2766
2765
  tooltip: Z.tooltip ?? ((se == null ? void 0 : se.tooltip) || void 0),
2767
2766
  section: Z.section ?? ((se == null ? void 0 : se.section) || pe.Advanced)
2768
2767
  };
2769
- }).filter((R) => !R.hidden && R.key !== a.pluginConfigKey);
2768
+ }).filter((R) => !R.hidden && R.key !== i.pluginConfigKey);
2770
2769
  }), y = j(() => {
2771
2770
  var A, P;
2772
- if (!p.value || !a.pluginConfigKey)
2771
+ if (!p.value || !i.pluginConfigKey)
2773
2772
  return [];
2774
- const M = p.value[a.pluginConfigKey] || {}, U = Object.keys(M).length, z = [];
2773
+ const M = p.value[i.pluginConfigKey] || {}, U = Object.keys(M).length, z = [];
2775
2774
  for (const R in M) {
2776
- const W = (P = (A = a.pluginConfigSchema) == null ? void 0 : A[R]) == null ? void 0 : P.order, ne = M[R];
2777
- let te = ne != null && ne !== "" ? U - 1 : U;
2775
+ const W = (P = (A = i.pluginConfigSchema) == null ? void 0 : A[R]) == null ? void 0 : P.order, ae = M[R];
2776
+ let te = ae != null && ae !== "" ? U - 1 : U;
2778
2777
  W && (te = W === -1 ? U + 1 : W), z.push([R, te]);
2779
2778
  }
2780
2779
  return z.sort(function(R, W) {
2781
2780
  return R[1] - W[1];
2782
2781
  }), z.map((R) => {
2783
2782
  var W;
2784
- const ne = R[0], te = M[ne], ee = ((W = a.pluginConfigSchema) == null ? void 0 : W[ne]) || {};
2783
+ const ae = R[0], te = M[ae], ee = ((W = i.pluginConfigSchema) == null ? void 0 : W[ae]) || {};
2785
2784
  return {
2786
- key: ne,
2785
+ key: ae,
2787
2786
  value: te,
2788
2787
  hidden: ee.hidden || !1,
2789
2788
  type: ee.type ?? G.Text,
2790
- label: ee.label ?? s(ne),
2789
+ label: ee.label ?? s(ae),
2791
2790
  tooltip: ee.tooltip ?? void 0,
2792
2791
  section: pe.Plugin
2793
2792
  };
@@ -2802,37 +2801,37 @@ const Ar = {
2802
2801
  }), F = j(() => {
2803
2802
  const A = [];
2804
2803
  return S.value.basic.length && A.push("basic"), S.value.advanced.length && A.push("advanced"), S.value.plugin.length && A.push("plugin"), A;
2805
- }), L = (A) => !!(A.tooltip || i[`${A.key}-label-tooltip`]), T = j(() => {
2804
+ }), L = (A) => !!(A.tooltip || n[`${A.key}-label-tooltip`]), T = j(() => {
2806
2805
  var A, P;
2807
- let M = `${a.config.apiBaseUrl}${a.fetchUrl}`;
2808
- return a.config.app === "konnect" ? M = M.replace(/{controlPlaneId}/gi, ((A = a.config) == null ? void 0 : A.controlPlaneId) || "") : a.config.app === "kongManager" && (M = M.replace(/\/{workspace}/gi, (P = a.config) != null && P.workspace ? `/${a.config.workspace}` : "")), M = M.replace(/{id}/gi, a.config.entityId), M;
2806
+ let M = `${i.config.apiBaseUrl}${i.fetchUrl}`;
2807
+ return i.config.app === "konnect" ? M = M.replace(/{controlPlaneId}/gi, ((A = i.config) == null ? void 0 : A.controlPlaneId) || "") : i.config.app === "kongManager" && (M = M.replace(/\/{workspace}/gi, (P = i.config) != null && P.workspace ? `/${i.config.workspace}` : "")), M = M.replace(/{id}/gi, i.config.entityId), M;
2809
2808
  }), Y = (A) => {
2810
- p.value && A(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2809
+ p.value && A(JSON.stringify(p.value)) ? a("copy:success", p.value) : a("copy:error");
2811
2810
  };
2812
2811
  return ke(k, (A) => {
2813
- n("loading", A);
2812
+ a("loading", A);
2814
2813
  }, { immediate: !0 }), et(async () => {
2815
2814
  w.value = !1, k.value = !0;
2816
2815
  try {
2817
2816
  const { data: A } = await c.get(T.value);
2818
- if (a.dataKey)
2819
- if (typeof A[a.dataKey] < "u")
2820
- p.value = { ...A[a.dataKey] };
2817
+ if (i.dataKey)
2818
+ if (typeof A[i.dataKey] < "u")
2819
+ p.value = { ...A[i.dataKey] };
2821
2820
  else
2822
- throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
2821
+ throw new Error(o("errors.dataKeyUndefined", { dataKey: i.dataKey }));
2823
2822
  else
2824
2823
  p.value = { ...A };
2825
- Object.keys(a.configSchema).filter((P) => a.configSchema[P].forceShow).forEach((P) => {
2824
+ Object.keys(i.configSchema).filter((P) => i.configSchema[P].forceShow).forEach((P) => {
2826
2825
  p.value && typeof p.value[P] > "u" && (p.value[P] = null);
2827
- }), n("fetch:success", A);
2826
+ }), a("fetch:success", A);
2828
2827
  } catch (A) {
2829
2828
  const P = r(A);
2830
- C.value = P.startsWith("code") ? o("baseConfigCard.errors.load") : P, w.value = !0, n("fetch:error", A);
2829
+ C.value = P.startsWith("code") ? o("baseConfigCard.errors.load") : P, w.value = !0, a("fetch:error", A);
2831
2830
  } finally {
2832
2831
  k.value = !1;
2833
2832
  }
2834
2833
  }), (A, P) => {
2835
- const M = E("KLabel"), U = E("KSelect"), z = E("KButton"), R = E("KClipboardProvider"), W = E("KSkeleton"), ne = E("KEmptyState"), te = E("KCard");
2834
+ const M = E("KLabel"), U = E("KSelect"), z = E("KButton"), R = E("KClipboardProvider"), W = E("KSkeleton"), ae = E("KEmptyState"), te = E("KCard");
2836
2835
  return m(), B(te, { class: "kong-ui-entity-base-config-card" }, _e({
2837
2836
  actions: b(() => [
2838
2837
  N("div", Rr, [
@@ -2854,7 +2853,7 @@ const Ar = {
2854
2853
  items: l,
2855
2854
  onChange: u
2856
2855
  })) : H("", !0),
2857
- a.config.jsonYamlEnabled && e.configCardDoc ? (m(), B(z, {
2856
+ i.config.jsonYamlEnabled && e.configCardDoc ? (m(), B(z, {
2858
2857
  key: 2,
2859
2858
  appearance: "btn-link",
2860
2859
  class: "book-icon",
@@ -2866,7 +2865,7 @@ const Ar = {
2866
2865
  rel: "noopener",
2867
2866
  target: "_blank"
2868
2867
  }, [
2869
- $(h(Pr), { size: h(Ha) }, null, 8, ["size"])
2868
+ $(h(Pr), { size: h(Ji) }, null, 8, ["size"])
2870
2869
  ], 8, Vr)
2871
2870
  ]),
2872
2871
  _: 1
@@ -2895,7 +2894,7 @@ const Ar = {
2895
2894
  "data-testid": "config-card-loader",
2896
2895
  "table-columns": 2,
2897
2896
  type: "table"
2898
- })) : w.value ? (m(), B(ne, {
2897
+ })) : w.value ? (m(), B(ae, {
2899
2898
  key: 1,
2900
2899
  "data-testid": "config-card-fetch-error",
2901
2900
  "is-error": ""
@@ -3022,34 +3021,34 @@ const Ar = {
3022
3021
  }
3023
3022
  },
3024
3023
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3025
- setup(e, { emit: n }) {
3024
+ setup(e, { emit: a }) {
3026
3025
  var t;
3027
- const a = e, i = pt(), { i18n: { t: o } } = ce.useI18n(), { getMessageFromError: r } = ce.useErrors(), { axiosInstance: s } = ce.useAxios({
3028
- headers: (t = a.config) == null ? void 0 : t.requestHeaders
3029
- }), c = K(!1), l = K(!1), d = K(""), u = j(() => a.canSubmit === !1 || a.isReadonly), v = j(() => {
3026
+ const i = e, n = pt(), { i18n: { t: o } } = ce.useI18n(), { getMessageFromError: r } = ce.useErrors(), { axiosInstance: s } = ce.useAxios({
3027
+ headers: (t = i.config) == null ? void 0 : t.requestHeaders
3028
+ }), c = K(!1), l = K(!1), d = K(""), u = j(() => i.canSubmit === !1 || i.isReadonly), v = j(() => {
3030
3029
  var p, f;
3031
- if (!a.editId)
3030
+ if (!i.editId)
3032
3031
  return "";
3033
- let y = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3034
- return a.config.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, ((p = a.config) == null ? void 0 : p.controlPlaneId) || "") : a.config.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, (f = a.config) != null && f.workspace ? `/${a.config.workspace}` : "")), y = y.replace(/{id}/gi, a.editId), y;
3032
+ let y = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3033
+ return i.config.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, ((p = i.config) == null ? void 0 : p.controlPlaneId) || "") : i.config.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, (f = i.config) != null && f.workspace ? `/${i.config.workspace}` : "")), y = y.replace(/{id}/gi, i.editId), y;
3035
3034
  }), k = () => {
3036
- a.config.cancelRoute ? i.push(a.config.cancelRoute) : w();
3035
+ i.config.cancelRoute ? n.push(i.config.cancelRoute) : w();
3037
3036
  }, w = () => {
3038
- n("cancel");
3037
+ a("cancel");
3039
3038
  }, C = () => {
3040
- u.value || n("submit");
3039
+ u.value || a("submit");
3041
3040
  };
3042
3041
  return ke(() => c.value, (p) => {
3043
- n("loading", p);
3042
+ a("loading", p);
3044
3043
  }, { immediate: !0 }), et(async () => {
3045
- if (a.editId)
3044
+ if (i.editId)
3046
3045
  try {
3047
3046
  l.value = !1, c.value = !0;
3048
3047
  const { data: p } = await s.get(v.value);
3049
- n("fetch:success", p);
3048
+ a("fetch:success", p);
3050
3049
  } catch (p) {
3051
3050
  const f = r(p);
3052
- d.value = f.startsWith("code") ? o("baseForm.errors.edit") : f, l.value = !0, n("fetch:error", p);
3051
+ d.value = f.startsWith("code") ? o("baseForm.errors.edit") : f, l.value = !0, a("fetch:error", p);
3053
3052
  } finally {
3054
3053
  c.value = !1;
3055
3054
  }
@@ -3129,27 +3128,27 @@ const Ar = {
3129
3128
  }
3130
3129
  },
3131
3130
  setup(e) {
3132
- const n = e, t = j(() => {
3131
+ const a = e, t = j(() => {
3133
3132
  var C;
3134
- return ((C = n.rowEl) == null ? void 0 : C.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3135
- }), a = j(() => {
3133
+ return ((C = a.rowEl) == null ? void 0 : C.querySelector(`[data-testid="${a.keyName}"]`)) || null;
3134
+ }), i = j(() => {
3136
3135
  var C;
3137
3136
  return ((C = t.value) == null ? void 0 : C.querySelector('[role="button"]')) || null;
3138
- }), i = j(() => {
3137
+ }), n = j(() => {
3139
3138
  var C, p;
3140
- const f = (C = n.rowEl) == null ? void 0 : C.querySelectorAll("td");
3141
- return f ? ((p = f[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
3139
+ const f = (C = a.rowEl) == null ? void 0 : C.querySelectorAll("td");
3140
+ return f ? ((p = f[0]) == null ? void 0 : p.getAttribute("data-testid")) === a.keyName : !1;
3142
3141
  });
3143
3142
  let o;
3144
3143
  const r = () => {
3145
3144
  o && (o.disconnect(), o = void 0);
3146
3145
  }, s = () => {
3147
3146
  var C, p, f;
3148
- l.value = ((C = a.value) == null ? void 0 : C.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((f = c.value) == null ? void 0 : f.innerText) || "";
3149
- }, c = K({}), l = K(0), d = K(0), u = K(""), v = j(() => [a.value, t.value]), k = ke(
3147
+ l.value = ((C = i.value) == null ? void 0 : C.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((f = c.value) == null ? void 0 : f.innerText) || "";
3148
+ }, c = K({}), l = K(0), d = K(0), u = K(""), v = j(() => [i.value, t.value]), k = ke(
3150
3149
  v,
3151
3150
  (C) => {
3152
- if (i.value && (r(), "ResizeObserver" in window && window)) {
3151
+ if (n.value && (r(), "ResizeObserver" in window && window)) {
3153
3152
  o = new ResizeObserver((p) => {
3154
3153
  window.requestAnimationFrame(() => {
3155
3154
  !Array.isArray(p) || !p.length || s();
@@ -3160,10 +3159,10 @@ const Ar = {
3160
3159
  }
3161
3160
  },
3162
3161
  { immediate: !0, flush: "post", deep: !0 }
3163
- ), w = j(() => i.value ? l.value > d.value : !1);
3164
- return Wn(() => {
3162
+ ), w = j(() => n.value ? l.value > d.value : !1);
3163
+ return Ya(() => {
3165
3164
  s();
3166
- }), Gn(() => {
3165
+ }), Wa(() => {
3167
3166
  k();
3168
3167
  }), (C, p) => {
3169
3168
  const f = E("KTooltip");
@@ -3172,7 +3171,7 @@ const Ar = {
3172
3171
  ref: c,
3173
3172
  class: "content-wrapper"
3174
3173
  }, [
3175
- i.value ? (m(), x("span", el, [
3174
+ n.value ? (m(), x("span", el, [
3176
3175
  $(f, {
3177
3176
  disabled: !w.value,
3178
3177
  label: u.value,
@@ -3188,7 +3187,7 @@ const Ar = {
3188
3187
  ], 512);
3189
3188
  };
3190
3189
  }
3191
- }), nl = /* @__PURE__ */ ve(tl, [["__scopeId", "data-v-f8a220e9"]]), al = { class: "toolbar-container" }, il = {
3190
+ }), al = /* @__PURE__ */ ve(tl, [["__scopeId", "data-v-f8a220e9"]]), il = { class: "toolbar-container" }, nl = {
3192
3191
  key: 0,
3193
3192
  class: "toolbar-button-container"
3194
3193
  }, ol = ["data-testid"], rl = /* @__PURE__ */ le({
@@ -3299,8 +3298,8 @@ const Ar = {
3299
3298
  }
3300
3299
  },
3301
3300
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3302
- setup(e, { emit: n }) {
3303
- const t = e, { i18n: { t: a } } = ce.useI18n(), i = j(() => t.cacheIdentifier || t.preferencesStorageKey), o = (S) => S.hasData || !!t.query, r = j(() => {
3301
+ setup(e, { emit: a }) {
3302
+ const t = e, { i18n: { t: i } } = ce.useI18n(), n = j(() => t.cacheIdentifier || t.preferencesStorageKey), o = (S) => S.hasData || !!t.query, r = j(() => {
3304
3303
  const S = [];
3305
3304
  return Object.keys(t.tableHeaders).forEach((F) => {
3306
3305
  const L = t.tableHeaders[F];
@@ -3331,14 +3330,14 @@ const Ar = {
3331
3330
  textOverflow: "ellipsis"
3332
3331
  }), F;
3333
3332
  }, u = () => {
3334
- n("empty-state-cta-clicked"), v();
3333
+ a("empty-state-cta-clicked"), v();
3335
3334
  }, v = () => {
3336
- n("clear-search-input");
3335
+ a("clear-search-input");
3337
3336
  }, k = j(() => t.disableRowClick ? void 0 : (S, F) => {
3338
- n("click:row", F);
3337
+ a("click:row", F);
3339
3338
  }), w = (S) => {
3340
- n("sort", S);
3341
- }, { setTablePreferences: C, getTablePreferences: p } = sa(), f = j(() => {
3339
+ a("sort", S);
3340
+ }, { setTablePreferences: C, getTablePreferences: p } = li(), f = j(() => {
3342
3341
  const S = p(t.preferencesStorageKey);
3343
3342
  return {
3344
3343
  ...t.initialFetcherParams,
@@ -3357,17 +3356,17 @@ const Ar = {
3357
3356
  $(A, {
3358
3357
  ref_key: "tableRefs",
3359
3358
  ref: c,
3360
- "cache-identifier": i.value,
3359
+ "cache-identifier": n.value,
3361
3360
  "cell-attrs": d,
3362
3361
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3363
3362
  "disable-sorting": e.disableSorting,
3364
3363
  "empty-state-action-button-icon": e.query ? "" : "plus",
3365
- "empty-state-action-message": e.query ? h(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3364
+ "empty-state-action-message": e.query ? h(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3366
3365
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3367
3366
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3368
3367
  "empty-state-icon-size": "96",
3369
- "empty-state-message": e.query ? h(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3370
- "empty-state-title": e.query ? h(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3368
+ "empty-state-message": e.query ? h(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3369
+ "empty-state-title": e.query ? h(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3371
3370
  "enable-client-sort": e.enableClientSort,
3372
3371
  "error-state-title": e.errorMessage,
3373
3372
  fetcher: e.fetcher,
@@ -3386,9 +3385,9 @@ const Ar = {
3386
3385
  "onUpdate:tablePreferences": y
3387
3386
  }, _e({
3388
3387
  toolbar: b(({ state: M }) => [
3389
- Je(N("div", al, [
3388
+ Je(N("div", il, [
3390
3389
  Q(S.$slots, "toolbar-filter", {}, void 0, !0),
3391
- S.$slots["toolbar-button"] ? (m(), x("div", il, [
3390
+ S.$slots["toolbar-button"] ? (m(), x("div", nl, [
3392
3391
  Q(S.$slots, "toolbar-button", {}, void 0, !0)
3393
3392
  ])) : H("", !0)
3394
3393
  ], 512), [
@@ -3419,7 +3418,7 @@ const Ar = {
3419
3418
  }, {
3420
3419
  icon: b(() => [
3421
3420
  $(L, {
3422
- color: h(Da),
3421
+ color: h(Vi),
3423
3422
  icon: "more",
3424
3423
  size: "16"
3425
3424
  }, null, 8, ["color"])
@@ -3436,7 +3435,7 @@ const Ar = {
3436
3435
  ye(e.tableHeaders, (M, U) => ({
3437
3436
  name: U,
3438
3437
  fn: b(({ row: z, rowKey: R, rowValue: W }) => [
3439
- $(nl, {
3438
+ $(al, {
3440
3439
  "key-name": String(U),
3441
3440
  "row-el": l(z)
3442
3441
  }, {
@@ -3503,11 +3502,11 @@ const Ar = {
3503
3502
  }
3504
3503
  },
3505
3504
  emits: ["cancel", "proceed"],
3506
- setup(e, { emit: n }) {
3507
- const t = e, { i18nT: a } = ce.useI18n(), i = j(() => t.needConfirm ? t.entityName : ""), o = () => {
3508
- n("cancel");
3505
+ setup(e, { emit: a }) {
3506
+ const t = e, { i18nT: i } = ce.useI18n(), n = j(() => t.needConfirm ? t.entityName : ""), o = () => {
3507
+ a("cancel");
3509
3508
  }, r = () => {
3510
- n("proceed");
3509
+ a("proceed");
3511
3510
  };
3512
3511
  return (s, c) => {
3513
3512
  const l = E("KAlert"), d = E("KPrompt");
@@ -3515,7 +3514,7 @@ const Ar = {
3515
3514
  "action-button-text": "Yes, delete",
3516
3515
  "action-pending": e.actionPending,
3517
3516
  class: "kong-ui-entity-delete-modal",
3518
- "confirmation-text": i.value,
3517
+ "confirmation-text": n.value,
3519
3518
  "is-visible": e.visible,
3520
3519
  title: e.title,
3521
3520
  type: "danger",
@@ -3531,7 +3530,7 @@ const Ar = {
3531
3530
  _: 1
3532
3531
  })
3533
3532
  ])) : H("", !0),
3534
- $(h(a), {
3533
+ $(h(i), {
3535
3534
  class: "message",
3536
3535
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3537
3536
  tag: "p"
@@ -3578,11 +3577,11 @@ const Ar = {
3578
3577
  props: {
3579
3578
  color: {
3580
3579
  type: String,
3581
- default: `var(--kong-ui-entity-filter-color, ${Ra})`
3580
+ default: `var(--kong-ui-entity-filter-color, ${Ui})`
3582
3581
  }
3583
3582
  },
3584
3583
  setup(e) {
3585
- return (n, t) => (m(), x("svg", pl, [
3584
+ return (a, t) => (m(), x("svg", pl, [
3586
3585
  N("mask", fl, [
3587
3586
  N("rect", {
3588
3587
  fill: e.color,
@@ -3620,8 +3619,8 @@ const Ar = {
3620
3619
  }
3621
3620
  },
3622
3621
  emits: ["update:modelValue"],
3623
- setup(e, { emit: n }) {
3624
- const t = e, { i18n: { t: a } } = ce.useI18n(), i = K(!1), o = K({}), r = j(() => {
3622
+ setup(e, { emit: a }) {
3623
+ const t = e, { i18n: { t: i } } = ce.useI18n(), n = K(!1), o = K({}), r = j(() => {
3625
3624
  const p = [];
3626
3625
  return new URLSearchParams(t.modelValue).forEach((f, y) => {
3627
3626
  f !== "" && p.push(y);
@@ -3639,9 +3638,9 @@ const Ar = {
3639
3638
  });
3640
3639
  });
3641
3640
  const c = () => {
3642
- i.value = !i.value;
3641
+ n.value = !n.value;
3643
3642
  }, l = (p) => {
3644
- n("update:modelValue", p);
3643
+ a("update:modelValue", p);
3645
3644
  }, d = (p) => `filter-${p}`, u = (p) => {
3646
3645
  var f, y;
3647
3646
  return (((y = (f = t.config.schema) == null ? void 0 : f[p]) == null ? void 0 : y.values) ?? []).map((S) => ({
@@ -3660,7 +3659,7 @@ const Ar = {
3660
3659
  o.value = {}, C(!0);
3661
3660
  }, C = (p = !1) => {
3662
3661
  const f = Object.keys(o.value).reduce((y, S) => (o.value[S] && (y[S] = `${o.value[S]}`), y), {});
3663
- p && (i.value = !1), n("update:modelValue", new URLSearchParams(f).toString());
3662
+ p && (n.value = !1), a("update:modelValue", new URLSearchParams(f).toString());
3664
3663
  };
3665
3664
  return (p, f) => {
3666
3665
  const y = E("KInput"), S = E("KButton"), F = E("KSelect"), L = E("KMenuItem"), T = E("KMenu");
@@ -3685,7 +3684,7 @@ const Ar = {
3685
3684
  onClick: c
3686
3685
  }, {
3687
3686
  default: b(() => [
3688
- X(O(h(a)("filter.filterButtonText")) + " " + O(r.value.length > 0 ? `(${r.value.length})` : ""), 1)
3687
+ X(O(h(i)("filter.filterButtonText")) + " " + O(r.value.length > 0 ? `(${r.value.length})` : ""), 1)
3689
3688
  ]),
3690
3689
  _: 1
3691
3690
  }),
@@ -3693,7 +3692,7 @@ const Ar = {
3693
3692
  class: "kong-ui-entity-filter-backdrop",
3694
3693
  onClick: c
3695
3694
  }, null, 512), [
3696
- [He, i.value]
3695
+ [He, n.value]
3697
3696
  ]),
3698
3697
  Je($(T, { class: "kong-ui-entity-filter-menu" }, {
3699
3698
  body: b(() => [
@@ -3718,7 +3717,7 @@ const Ar = {
3718
3717
  N("label", {
3719
3718
  class: "menu-item-label",
3720
3719
  for: d(Y.value)
3721
- }, O(h(a)("filter.fieldLabel")), 9, wl),
3720
+ }, O(h(i)("filter.fieldLabel")), 9, wl),
3722
3721
  ((M = (P = e.config.schema) == null ? void 0 : P[Y.value]) == null ? void 0 : M.type) === "select" ? (m(), B(F, {
3723
3722
  key: 0,
3724
3723
  id: d(Y.value),
@@ -3726,14 +3725,14 @@ const Ar = {
3726
3725
  "onUpdate:modelValue": (U) => o.value[Y.value] = U,
3727
3726
  appearance: "select",
3728
3727
  items: u(Y.value),
3729
- placeholder: h(a)("filter.selectPlaceholder")
3728
+ placeholder: h(i)("filter.selectPlaceholder")
3730
3729
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), B(y, {
3731
3730
  key: 1,
3732
3731
  id: d(Y.value),
3733
3732
  modelValue: o.value[Y.value],
3734
3733
  "onUpdate:modelValue": (U) => o.value[Y.value] = U,
3735
3734
  autocomplete: "off",
3736
- placeholder: h(a)("filter.inputPlaceholder"),
3735
+ placeholder: h(i)("filter.inputPlaceholder"),
3737
3736
  size: "small",
3738
3737
  type: v(Y.value)
3739
3738
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
@@ -3746,7 +3745,7 @@ const Ar = {
3746
3745
  onClick: f[0] || (f[0] = (U) => C(!0))
3747
3746
  }, {
3748
3747
  default: b(() => [
3749
- X(O(h(a)("filter.applyButtonText")), 1)
3748
+ X(O(h(i)("filter.applyButtonText")), 1)
3750
3749
  ]),
3751
3750
  _: 1
3752
3751
  }),
@@ -3757,7 +3756,7 @@ const Ar = {
3757
3756
  onClick: (U) => k(Y.value)
3758
3757
  }, {
3759
3758
  default: b(() => [
3760
- X(O(h(a)("filter.clearButtonText")), 1)
3759
+ X(O(h(i)("filter.clearButtonText")), 1)
3761
3760
  ]),
3762
3761
  _: 2
3763
3762
  }, 1032, ["onClick"])
@@ -3770,14 +3769,14 @@ const Ar = {
3770
3769
  actionButton: b(() => [
3771
3770
  $(S, { onClick: w }, {
3772
3771
  default: b(() => [
3773
- X(O(h(a)("filter.clearAllButtonText")), 1)
3772
+ X(O(h(i)("filter.clearAllButtonText")), 1)
3774
3773
  ]),
3775
3774
  _: 1
3776
3775
  })
3777
3776
  ]),
3778
3777
  _: 1
3779
3778
  }, 512), [
3780
- [He, i.value]
3779
+ [He, n.value]
3781
3780
  ])
3782
3781
  ]));
3783
3782
  };
@@ -3804,10 +3803,10 @@ const Ar = {
3804
3803
  }
3805
3804
  },
3806
3805
  setup(e) {
3807
- const n = e, t = K(void 0), a = j(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3808
- return ke(() => n.authFunction, async () => {
3809
- t.value = await n.authFunction();
3810
- }, { immediate: !0 }), (i, o) => a.value ? Q(i.$slots, "default", {
3806
+ const a = e, t = K(void 0), i = j(() => t.value === !0 || t.value !== void 0 && a.forceShow === !0);
3807
+ return ke(() => a.authFunction, async () => {
3808
+ t.value = await a.authFunction();
3809
+ }, { immediate: !0 }), (n, o) => i.value ? Q(n.$slots, "default", {
3811
3810
  key: 0,
3812
3811
  isAllowed: t.value
3813
3812
  }) : H("", !0);
@@ -3846,8 +3845,8 @@ const Ar = {
3846
3845
  }
3847
3846
  },
3848
3847
  setup(e) {
3849
- const n = Xe();
3850
- return (t, a) => (m(), x("fieldset", {
3848
+ const a = Xe();
3849
+ return (t, i) => (m(), x("fieldset", {
3851
3850
  class: Ie(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
3852
3851
  }, [
3853
3852
  N("div", xl, [
@@ -3856,12 +3855,12 @@ const Ar = {
3856
3855
  class: Ie(["form-section-info", { sticky: e.stickyInfoHeader }])
3857
3856
  }, [
3858
3857
  e.title ? (m(), x("h4", Al, O(e.title), 1)) : H("", !0),
3859
- e.description || h(n).description ? (m(), x("div", Tl, [
3858
+ e.description || h(a).description ? (m(), x("div", Tl, [
3860
3859
  Q(t.$slots, "description", {}, () => [
3861
3860
  N("p", null, O(e.description), 1)
3862
3861
  ], !0)
3863
3862
  ])) : H("", !0),
3864
- h(n).footer ? (m(), x("div", jl, [
3863
+ h(a).footer ? (m(), x("div", jl, [
3865
3864
  Q(t.$slots, "footer", {}, void 0, !0)
3866
3865
  ])) : H("", !0)
3867
3866
  ], 2)),
@@ -3871,7 +3870,7 @@ const Ar = {
3871
3870
  ])
3872
3871
  ], 2));
3873
3872
  }
3874
- }), Yt = /* @__PURE__ */ ve(Ol, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: _t, useDeleteUrlBuilder: Kl, useErrors: Ml, useFetchUrlBuilder: es, useFetcher: El, useDebouncedFilter: Fl, useStringHelpers: Bl, useHelpers: ts, useGatewayFeatureSupported: ns } = ce;
3873
+ }), Yt = /* @__PURE__ */ ve(Ol, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: _t, useDeleteUrlBuilder: Kl, useErrors: Ml, useFetchUrlBuilder: es, useFetcher: El, useDebouncedFilter: Fl, useStringHelpers: Bl, useHelpers: ts, useGatewayFeatureSupported: as } = ce;
3875
3874
  const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__PURE__ */ le({
3876
3875
  __name: "KeyList",
3877
3876
  props: {
@@ -3912,25 +3911,25 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
3912
3911
  }
3913
3912
  },
3914
3913
  emits: ["error", "copy:success", "copy:error", "delete:success"],
3915
- setup(e, { emit: n }) {
3914
+ setup(e, { emit: a }) {
3916
3915
  var se;
3917
- const t = e, { i18n: { t: a } } = yt.useI18n(), i = pt(), { axiosInstance: o } = _t({
3916
+ const t = e, { i18n: { t: i } } = yt.useI18n(), n = pt(), { axiosInstance: o } = _t({
3918
3917
  headers: (se = t.config) == null ? void 0 : se.requestHeaders
3919
3918
  }), r = K(1), s = j(() => t.config.app !== "kongManager" || !!t.config.disableSorting), c = {
3920
- name: { label: a("keys.list.table_headers.name"), searchable: !0, sortable: !0 },
3921
- kid: { label: a("keys.list.table_headers.key_id"), sortable: !0 },
3922
- tags: { label: a("keys.list.table_headers.tags") },
3923
- id: { label: a("keys.list.table_headers.id"), sortable: !0 }
3919
+ name: { label: i("keys.list.table_headers.name"), searchable: !0, sortable: !0 },
3920
+ kid: { label: i("keys.list.table_headers.key_id"), sortable: !0 },
3921
+ tags: { label: i("keys.list.table_headers.tags") },
3922
+ id: { label: i("keys.list.table_headers.id"), sortable: !0 }
3924
3923
  }, l = c, d = j(() => {
3925
- var _, V, ae, me;
3924
+ var _, V, ie, me;
3926
3925
  let g = `${t.config.apiBaseUrl}${Me.list[t.config.app][t.config.keySetId ? "forKeySet" : "all"]}`;
3927
- return t.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((_ = t.config) == null ? void 0 : _.controlPlaneId) || "").replace(/{keySetId}/gi, ((V = t.config) == null ? void 0 : V.keySetId) || "") : t.config.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, (ae = t.config) != null && ae.workspace ? `/${t.config.workspace}` : "").replace(/{keySetId}/gi, ((me = t.config) == null ? void 0 : me.keySetId) || "")), g;
3926
+ return t.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((_ = t.config) == null ? void 0 : _.controlPlaneId) || "").replace(/{keySetId}/gi, ((V = t.config) == null ? void 0 : V.keySetId) || "") : t.config.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, (ie = t.config) != null && ie.workspace ? `/${t.config.workspace}` : "").replace(/{keySetId}/gi, ((me = t.config) == null ? void 0 : me.keySetId) || "")), g;
3928
3927
  }), u = K(""), v = j(() => {
3929
3928
  const g = t.config.app === "konnect" || t.config.isExactMatch;
3930
3929
  if (g)
3931
3930
  return {
3932
3931
  isExactMatch: g,
3933
- placeholder: a("keys.search.placeholder")
3932
+ placeholder: i("keys.search.placeholder")
3934
3933
  };
3935
3934
  const _ = { name: c.name };
3936
3935
  return {
@@ -3952,41 +3951,41 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
3952
3951
  }, S = (g, _) => {
3953
3952
  const V = JSON.stringify(g);
3954
3953
  if (!_(V)) {
3955
- n("copy:error", {
3954
+ a("copy:error", {
3956
3955
  entity: g,
3957
- message: a("keys.errors.copy")
3956
+ message: i("keys.errors.copy")
3958
3957
  });
3959
3958
  return;
3960
3959
  }
3961
- n("copy:success", {
3960
+ a("copy:success", {
3962
3961
  entity: g,
3963
- message: a("keys.copy.success_brief")
3962
+ message: i("keys.copy.success_brief")
3964
3963
  });
3965
3964
  }, F = (g, _, V) => {
3966
- const { type: ae } = g;
3967
- ae === "success" ? L(_, V) : T(_, V);
3965
+ const { type: ie } = g;
3966
+ ie === "success" ? L(_, V) : T(_, V);
3968
3967
  }, L = (g, _) => {
3969
- n("copy:success", {
3968
+ a("copy:success", {
3970
3969
  entity: g,
3971
3970
  field: _,
3972
- message: a("keys.copy.success", { val: g[_] })
3971
+ message: i("keys.copy.success", { val: g[_] })
3973
3972
  });
3974
3973
  }, T = (g, _) => {
3975
- n("copy:error", {
3974
+ a("copy:error", {
3976
3975
  entity: g,
3977
3976
  field: _,
3978
- message: a("keys.errors.copy")
3977
+ message: i("keys.errors.copy")
3979
3978
  });
3980
3979
  }, Y = async (g) => {
3981
3980
  var V;
3982
- await ((V = t.canRetrieve) == null ? void 0 : V.call(t, g)) && i.push(t.config.getViewRoute(g.id));
3981
+ await ((V = t.canRetrieve) == null ? void 0 : V.call(t, g)) && n.push(t.config.getViewRoute(g.id));
3983
3982
  }, A = (g) => ({
3984
- label: a("keys.actions.view"),
3983
+ label: i("keys.actions.view"),
3985
3984
  to: t.config.getViewRoute(g)
3986
3985
  }), P = (g) => ({
3987
- label: a("keys.actions.edit"),
3986
+ label: i("keys.actions.edit"),
3988
3987
  to: t.config.getEditRoute(g)
3989
- }), M = K(void 0), U = K(!1), z = K(!1), R = K(""), W = Kl(t.config, d.value), ne = (g) => {
3988
+ }), M = K(void 0), U = K(!1), z = K(!1), R = K(""), W = Kl(t.config, d.value), ae = (g) => {
3990
3989
  M.value = g, U.value = !0;
3991
3990
  }, te = () => {
3992
3991
  U.value = !1;
@@ -3995,9 +3994,9 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
3995
3994
  if ((g = M.value) != null && g.id) {
3996
3995
  z.value = !0;
3997
3996
  try {
3998
- await o.delete(W(M.value.id)), z.value = !1, U.value = !1, r.value++, n("delete:success", M.value);
3999
- } catch (ae) {
4000
- R.value = ((V = (_ = ae.response) == null ? void 0 : _.data) == null ? void 0 : V.message) || ae.message || a("keys.errors.delete"), n("error", ae);
3997
+ await o.delete(W(M.value.id)), z.value = !1, U.value = !1, r.value++, a("delete:success", M.value);
3998
+ } catch (ie) {
3999
+ R.value = ((V = (_ = ie.response) == null ? void 0 : _.data) == null ? void 0 : V.message) || ie.message || i("keys.errors.delete"), a("error", ie);
4001
4000
  } finally {
4002
4001
  z.value = !1;
4003
4002
  }
@@ -4005,7 +4004,7 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4005
4004
  };
4006
4005
  ke(w, (g) => {
4007
4006
  if (g.status === Ae.Error) {
4008
- f.value = a("keys.errors.general"), n("error", g.error);
4007
+ f.value = i("keys.errors.general"), a("error", g.error);
4009
4008
  return;
4010
4009
  }
4011
4010
  f.value = "";
@@ -4013,13 +4012,13 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4013
4012
  const Z = K({
4014
4013
  ctaPath: t.config.createRoute,
4015
4014
  ctaText: void 0,
4016
- message: a("keys.list.empty_state.description"),
4017
- title: a("keys.title")
4015
+ message: i("keys.list.empty_state.description"),
4016
+ title: i("keys.title")
4018
4017
  });
4019
4018
  return et(async () => {
4020
- await t.canCreate() && (Z.value.title = a("keys.list.empty_state.title"), Z.value.ctaText = a("keys.actions.create"));
4019
+ await t.canCreate() && (Z.value.title = i("keys.list.empty_state.title"), Z.value.ctaText = i("keys.actions.create"));
4021
4020
  }), (g, _) => {
4022
- const V = E("KButton"), ae = E("CopyUuid"), me = E("KBadge"), J = E("KTruncate"), we = E("KDropdownItem"), Fe = E("KClipboardProvider");
4021
+ const V = E("KButton"), ie = E("CopyUuid"), me = E("KBadge"), J = E("KTruncate"), we = E("KDropdownItem"), Fe = E("KClipboardProvider");
4023
4022
  return m(), x("div", Nl, [
4024
4023
  $(h(ll), {
4025
4024
  "cache-identifier": e.cacheIdentifier,
@@ -4057,7 +4056,7 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4057
4056
  to: e.config.createRoute
4058
4057
  }, {
4059
4058
  default: b(() => [
4060
- X(O(h(a)("keys.list.toolbar_actions.new_key")), 1)
4059
+ X(O(h(i)("keys.list.toolbar_actions.new_key")), 1)
4061
4060
  ]),
4062
4061
  _: 1
4063
4062
  }, 8, ["to"])
@@ -4069,7 +4068,7 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4069
4068
  N("b", null, O(D ?? "-"), 1)
4070
4069
  ]),
4071
4070
  kid: b(({ row: D, rowValue: oe }) => [
4072
- $(ae, {
4071
+ $(ie, {
4073
4072
  notify: (q) => F(q, D, "kid"),
4074
4073
  uuid: oe
4075
4074
  }, null, 8, ["notify", "uuid"])
@@ -4092,7 +4091,7 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4092
4091
  }, 1024)) : (m(), x("span", Ll, "-"))
4093
4092
  ]),
4094
4093
  id: b(({ row: D, rowValue: oe }) => [
4095
- $(ae, {
4094
+ $(ie, {
4096
4095
  notify: (q) => F(q, D, "id"),
4097
4096
  uuid: oe
4098
4097
  }, null, 8, ["notify", "uuid"])
@@ -4105,7 +4104,7 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4105
4104
  onClick: (q) => y(D, oe)
4106
4105
  }, {
4107
4106
  default: b(() => [
4108
- X(O(h(a)("keys.actions.copy_id")), 1)
4107
+ X(O(h(i)("keys.actions.copy_id")), 1)
4109
4108
  ]),
4110
4109
  _: 2
4111
4110
  }, 1032, ["onClick"])
@@ -4119,7 +4118,7 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4119
4118
  onClick: (q) => S(D, oe)
4120
4119
  }, {
4121
4120
  default: b(() => [
4122
- X(O(h(a)("keys.actions.copy_json")), 1)
4121
+ X(O(h(i)("keys.actions.copy_json")), 1)
4123
4122
  ]),
4124
4123
  _: 2
4125
4124
  }, 1032, ["onClick"])
@@ -4157,10 +4156,10 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4157
4156
  "data-testid": "action-entity-delete",
4158
4157
  "has-divider": "",
4159
4158
  "is-dangerous": "",
4160
- onClick: (oe) => ne(D)
4159
+ onClick: (oe) => ae(D)
4161
4160
  }, {
4162
4161
  default: b(() => [
4163
- X(O(h(a)("keys.actions.delete")), 1)
4162
+ X(O(h(i)("keys.actions.delete")), 1)
4164
4163
  ]),
4165
4164
  _: 2
4166
4165
  }, 1032, ["onClick"])
@@ -4172,12 +4171,12 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4172
4171
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers"]),
4173
4172
  $(h(dl), {
4174
4173
  "action-pending": z.value,
4175
- description: h(a)("keys.delete.description"),
4174
+ description: h(i)("keys.delete.description"),
4176
4175
  "entity-name": M.value && (M.value.name || M.value.id),
4177
4176
  "entity-type": h(Gt).Key,
4178
4177
  error: R.value,
4179
4178
  "need-confirm": !1,
4180
- title: h(a)("keys.delete.title"),
4179
+ title: h(i)("keys.delete.title"),
4181
4180
  visible: U.value,
4182
4181
  onCancel: te,
4183
4182
  onProceed: ee
@@ -4186,12 +4185,12 @@ const Nl = { class: "kong-ui-entities-keys-list" }, Ll = { key: 1 }, ql = /* @__
4186
4185
  };
4187
4186
  }
4188
4187
  });
4189
- const Jn = (e, n) => {
4188
+ const Da = (e, a) => {
4190
4189
  const t = e.__vccOpts || e;
4191
- for (const [a, i] of n)
4192
- t[a] = i;
4190
+ for (const [i, n] of a)
4191
+ t[i] = n;
4193
4192
  return t;
4194
- }, as = /* @__PURE__ */ Jn(ql, [["__scopeId", "data-v-bede4326"]]), Pl = { class: "kong-ui-entities-keys-form" }, Ul = { "data-testid": "no-search-results" }, Rl = { class: "select-item-label" }, Vl = { class: "select-item-desc" }, Dl = {
4193
+ }, is = /* @__PURE__ */ Da(ql, [["__scopeId", "data-v-bede4326"]]), Pl = { class: "kong-ui-entities-keys-form" }, Ul = { "data-testid": "no-search-results" }, Rl = { class: "select-item-label" }, Vl = { class: "select-item-desc" }, Dl = {
4195
4194
  key: 0,
4196
4195
  class: "invalid-key-set-message",
4197
4196
  "data-testid": "invalid-key-set-message"
@@ -4218,9 +4217,9 @@ const Jn = (e, n) => {
4218
4217
  }
4219
4218
  },
4220
4219
  emits: ["update", "error", "loading"],
4221
- setup(e, { emit: n }) {
4220
+ setup(e, { emit: a }) {
4222
4221
  var se;
4223
- const t = e, a = pt(), { i18n: { t: i } } = yt.useI18n(), { getMessageFromError: o } = Ml(), { axiosInstance: r } = _t({
4222
+ const t = e, i = pt(), { i18n: { t: n } } = yt.useI18n(), { getMessageFromError: o } = Ml(), { axiosInstance: r } = _t({
4224
4223
  headers: (se = t.config) == null ? void 0 : se.requestHeaders
4225
4224
  }), s = j(() => Me.form[t.config.app].edit), c = j(() => t.keyId ? Be.Edit : Be.Create), l = St({
4226
4225
  fields: {
@@ -4246,11 +4245,11 @@ const Jn = (e, n) => {
4246
4245
  public_key: ""
4247
4246
  }), u = [
4248
4247
  {
4249
- label: i("keys.form.fields.key_format.options.jwk"),
4248
+ label: n("keys.form.fields.key_format.options.jwk"),
4250
4249
  value: "jwk"
4251
4250
  },
4252
4251
  {
4253
- label: i("keys.form.fields.key_format.options.pem"),
4252
+ label: n("keys.form.fields.key_format.options.pem"),
4254
4253
  value: "pem"
4255
4254
  }
4256
4255
  ], v = j(() => l.isReadonly || c.value === Be.Create && !!t.fixedKeySetId), k = j(() => !v.value);
@@ -4258,16 +4257,16 @@ const Jn = (e, n) => {
4258
4257
  c.value === Be.Create && (l.fields.key_set = g);
4259
4258
  }, { immediate: !0 });
4260
4259
  const w = j(() => JSON.stringify(l.fields) !== JSON.stringify(d) && !!l.fields.key_id && !!l.fields.key_format && (l.fields.key_format === "jwk" && !!l.fields.jwk || l.fields.key_format === "pem" && !!l.fields.private_key && !!l.fields.public_key)), C = (g) => {
4261
- var _, V, ae, me;
4262
- l.fields.key_id = (g == null ? void 0 : g.kid) || "", l.fields.name = (g == null ? void 0 : g.name) || "", l.fields.tags = ((_ = g == null ? void 0 : g.tags) == null ? void 0 : _.join(", ")) || "", l.fields.key_set = ((V = g == null ? void 0 : g.set) == null ? void 0 : V.id) || "", l.fields.key_format = g != null && g.pem ? "pem" : "jwk", l.fields.jwk = (g == null ? void 0 : g.jwk) || "", l.fields.private_key = ((ae = g == null ? void 0 : g.pem) == null ? void 0 : ae.private_key) || "", l.fields.public_key = ((me = g == null ? void 0 : g.pem) == null ? void 0 : me.public_key) || "", l.fields.key_set && (M.value = !1), Object.assign(d, l.fields);
4260
+ var _, V, ie, me;
4261
+ l.fields.key_id = (g == null ? void 0 : g.kid) || "", l.fields.name = (g == null ? void 0 : g.name) || "", l.fields.tags = ((_ = g == null ? void 0 : g.tags) == null ? void 0 : _.join(", ")) || "", l.fields.key_set = ((V = g == null ? void 0 : g.set) == null ? void 0 : V.id) || "", l.fields.key_format = g != null && g.pem ? "pem" : "jwk", l.fields.jwk = (g == null ? void 0 : g.jwk) || "", l.fields.private_key = ((ie = g == null ? void 0 : g.pem) == null ? void 0 : ie.private_key) || "", l.fields.public_key = ((me = g == null ? void 0 : g.pem) == null ? void 0 : me.public_key) || "", l.fields.key_set && (M.value = !1), Object.assign(d, l.fields);
4263
4262
  }, p = () => {
4264
- a.push(t.config.cancelRoute);
4263
+ i.push(t.config.cancelRoute);
4265
4264
  }, f = j(() => {
4266
4265
  var _, V;
4267
4266
  let g = `${t.config.apiBaseUrl}${Me.form[t.config.app][c.value]}`;
4268
4267
  return t.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((_ = t.config) == null ? void 0 : _.controlPlaneId) || "") : t.config.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, (V = t.config) != null && V.workspace ? `/${t.config.workspace}` : "")), g = g.replace(/{id}/gi, t.keyId), g;
4269
4268
  }), y = async () => {
4270
- var g, _, V, ae, me, J, we, Fe;
4269
+ var g, _, V, ie, me, J, we, Fe;
4271
4270
  try {
4272
4271
  l.isReadonly = !0;
4273
4272
  const D = {
@@ -4279,12 +4278,12 @@ const Jn = (e, n) => {
4279
4278
  pem: l.fields.key_format === "pem" ? { private_key: l.fields.private_key, public_key: l.fields.public_key } : null
4280
4279
  };
4281
4280
  let oe;
4282
- if (c.value === "create" ? oe = await r.post(f.value, D) : c.value === "edit" && (oe = ((ae = t.config) == null ? void 0 : ae.app) === "konnect" ? await r.put(f.value, D) : await r.patch(f.value, D)), oe) {
4281
+ if (c.value === "create" ? oe = await r.post(f.value, D) : c.value === "edit" && (oe = ((ie = t.config) == null ? void 0 : ie.app) === "konnect" ? await r.put(f.value, D) : await r.patch(f.value, D)), oe) {
4283
4282
  const { data: q } = oe;
4284
- l.fields.key_id = (q == null ? void 0 : q.kid) || "", l.fields.name = (q == null ? void 0 : q.name) || "", l.fields.tags = ((me = q == null ? void 0 : q.tags) == null ? void 0 : me.join(", ")) || "", l.fields.key_set = ((J = q == null ? void 0 : q.set) == null ? void 0 : J.id) || "", l.fields.key_format = q != null && q.pem ? "pem" : "jwk", l.fields.jwk = (q == null ? void 0 : q.jwk) || "", l.fields.private_key = ((we = q == null ? void 0 : q.pem) == null ? void 0 : we.private_key) || "", l.fields.public_key = ((Fe = q == null ? void 0 : q.pem) == null ? void 0 : Fe.public_key) || "", Object.assign(d, l.fields), n("update", oe == null ? void 0 : oe.data);
4283
+ l.fields.key_id = (q == null ? void 0 : q.kid) || "", l.fields.name = (q == null ? void 0 : q.name) || "", l.fields.tags = ((me = q == null ? void 0 : q.tags) == null ? void 0 : me.join(", ")) || "", l.fields.key_set = ((J = q == null ? void 0 : q.set) == null ? void 0 : J.id) || "", l.fields.key_format = q != null && q.pem ? "pem" : "jwk", l.fields.jwk = (q == null ? void 0 : q.jwk) || "", l.fields.private_key = ((we = q == null ? void 0 : q.pem) == null ? void 0 : we.private_key) || "", l.fields.public_key = ((Fe = q == null ? void 0 : q.pem) == null ? void 0 : Fe.public_key) || "", Object.assign(d, l.fields), a("update", oe == null ? void 0 : oe.data);
4285
4284
  }
4286
4285
  } catch (D) {
4287
- l.errorMessage = o(D), n("error", D);
4286
+ l.errorMessage = o(D), a("error", D);
4288
4287
  } finally {
4289
4288
  l.isReadonly = !1;
4290
4289
  }
@@ -4301,7 +4300,7 @@ const Jn = (e, n) => {
4301
4300
  searchKeys: ["id", "name"]
4302
4301
  }), M = K(!0), U = (g) => {
4303
4302
  M.value = !g, (!g || g !== l.fields.key_set && g !== d.key_set) && S(g);
4304
- }, z = j(() => T.value ? i("keys.errors.key_sets.fetch") : ""), R = j(() => Y.value ? i("keys.errors.key_sets.invalid") : ""), W = K(0), ne = j(() => L.value === void 0), te = K(/* @__PURE__ */ new Set()), ee = j(() => Array.from(te.value).map((_) => ({
4303
+ }, z = j(() => T.value ? n("keys.errors.key_sets.fetch") : ""), R = j(() => Y.value ? n("keys.errors.key_sets.invalid") : ""), W = K(0), ae = j(() => L.value === void 0), te = K(/* @__PURE__ */ new Set()), ee = j(() => Array.from(te.value).map((_) => ({
4305
4304
  name: _.name || "",
4306
4305
  // can't use name for label or it tries to search => 404
4307
4306
  label: "",
@@ -4321,7 +4320,7 @@ const Jn = (e, n) => {
4321
4320
  }, { immediate: !0, deep: !0 }), et(async () => {
4322
4321
  await A();
4323
4322
  }), (g, _) => {
4324
- const V = E("KInput"), ae = E("KSelect"), me = E("KTextArea");
4323
+ const V = E("KInput"), ie = E("KSelect"), me = E("KTextArea");
4325
4324
  return m(), x("div", Pl, [
4326
4325
  $(h(Xr), {
4327
4326
  "can-submit": w.value,
@@ -4338,8 +4337,8 @@ const Jn = (e, n) => {
4338
4337
  }, {
4339
4338
  default: b(() => [
4340
4339
  $(h(Yt), {
4341
- description: h(i)("keys.form.sections.general.description"),
4342
- title: h(i)("keys.form.sections.general.title")
4340
+ description: h(n)("keys.form.sections.general.description"),
4341
+ title: h(n)("keys.form.sections.general.title")
4343
4342
  }, {
4344
4343
  default: b(() => [
4345
4344
  $(V, {
@@ -4348,10 +4347,10 @@ const Jn = (e, n) => {
4348
4347
  modelModifiers: { trim: !0 },
4349
4348
  autocomplete: "off",
4350
4349
  "data-testid": "key-form-id",
4351
- help: h(i)("keys.form.fields.id.help"),
4352
- label: h(i)("keys.form.fields.id.label"),
4353
- "label-attributes": { info: h(i)("keys.form.fields.id.tooltip") },
4354
- placeholder: h(i)("keys.form.fields.id.placeholder"),
4350
+ help: h(n)("keys.form.fields.id.help"),
4351
+ label: h(n)("keys.form.fields.id.label"),
4352
+ "label-attributes": { info: h(n)("keys.form.fields.id.tooltip") },
4353
+ placeholder: h(n)("keys.form.fields.id.placeholder"),
4355
4354
  readonly: l.isReadonly,
4356
4355
  required: "",
4357
4356
  type: "text"
@@ -4362,12 +4361,12 @@ const Jn = (e, n) => {
4362
4361
  modelModifiers: { trim: !0 },
4363
4362
  autocomplete: "off",
4364
4363
  "data-testid": "key-form-name",
4365
- label: h(i)("keys.form.fields.name.label"),
4366
- placeholder: h(i)("keys.form.fields.name.placeholder"),
4364
+ label: h(n)("keys.form.fields.name.label"),
4365
+ placeholder: h(n)("keys.form.fields.name.placeholder"),
4367
4366
  readonly: l.isReadonly,
4368
4367
  type: "text"
4369
4368
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
4370
- $(ae, {
4369
+ $(ie, {
4371
4370
  modelValue: l.fields.key_set,
4372
4371
  "onUpdate:modelValue": _[2] || (_[2] = (J) => l.fields.key_set = J),
4373
4372
  appearance: "select",
@@ -4375,21 +4374,21 @@ const Jn = (e, n) => {
4375
4374
  class: Ie({ "k-select-placeholder": M.value }),
4376
4375
  clearable: k.value,
4377
4376
  "data-testid": "key-form-key-set",
4378
- "dropdown-footer-text": ne.value ? h(i)("keys.form.fields.key_set.footer") : void 0,
4377
+ "dropdown-footer-text": ae.value ? h(n)("keys.form.fields.key_set.footer") : void 0,
4379
4378
  "enable-filtering": "",
4380
4379
  items: ee.value,
4381
- label: h(i)("keys.form.fields.key_set.label"),
4380
+ label: h(n)("keys.form.fields.key_set.label"),
4382
4381
  loading: h(F),
4383
- placeholder: h(i)("keys.form.fields.key_set.placeholder"),
4382
+ placeholder: h(n)("keys.form.fields.key_set.placeholder"),
4384
4383
  readonly: v.value,
4385
4384
  width: "100%",
4386
4385
  onQueryChange: U
4387
4386
  }, {
4388
4387
  loading: b(() => [
4389
- N("div", null, O(h(i)("keys.actions.loading")), 1)
4388
+ N("div", null, O(h(n)("keys.actions.loading")), 1)
4390
4389
  ]),
4391
4390
  empty: b(() => [
4392
- N("div", Ul, O(h(i)("keys.search.no_results")), 1)
4391
+ N("div", Ul, O(h(n)("keys.search.no_results")), 1)
4393
4392
  ]),
4394
4393
  "selected-item-template": b(({ item: J }) => [
4395
4394
  N("div", null, O(J.name), 1)
@@ -4407,10 +4406,10 @@ const Jn = (e, n) => {
4407
4406
  modelModifiers: { trim: !0 },
4408
4407
  autocomplete: "off",
4409
4408
  "data-testid": "key-form-tags",
4410
- help: h(i)("keys.form.fields.tags.help"),
4411
- label: h(i)("keys.form.fields.tags.label"),
4412
- "label-attributes": { info: h(i)("keys.form.fields.tags.tooltip") },
4413
- placeholder: h(i)("keys.form.fields.tags.placeholder"),
4409
+ help: h(n)("keys.form.fields.tags.help"),
4410
+ label: h(n)("keys.form.fields.tags.label"),
4411
+ "label-attributes": { info: h(n)("keys.form.fields.tags.tooltip") },
4412
+ placeholder: h(n)("keys.form.fields.tags.placeholder"),
4414
4413
  readonly: l.isReadonly,
4415
4414
  type: "text"
4416
4415
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -4418,19 +4417,19 @@ const Jn = (e, n) => {
4418
4417
  _: 1
4419
4418
  }, 8, ["description", "title"]),
4420
4419
  $(h(Yt), {
4421
- description: h(i)("keys.form.sections.keys.description"),
4420
+ description: h(n)("keys.form.sections.keys.description"),
4422
4421
  "has-divider": "",
4423
- title: h(i)("keys.form.sections.keys.title")
4422
+ title: h(n)("keys.form.sections.keys.title")
4424
4423
  }, {
4425
4424
  default: b(() => [
4426
4425
  N("div", Jl, [
4427
- $(ae, {
4426
+ $(ie, {
4428
4427
  modelValue: l.fields.key_format,
4429
4428
  "onUpdate:modelValue": _[4] || (_[4] = (J) => l.fields.key_format = J),
4430
4429
  appearance: "select",
4431
4430
  "data-testid": "key-form-key-format",
4432
4431
  items: u,
4433
- label: h(i)("keys.form.fields.key_format.label"),
4432
+ label: h(n)("keys.form.fields.key_format.label"),
4434
4433
  readonly: l.isReadonly,
4435
4434
  required: "",
4436
4435
  width: "100%"
@@ -4443,9 +4442,9 @@ const Jn = (e, n) => {
4443
4442
  modelModifiers: { trim: !0 },
4444
4443
  class: "key-form-textarea",
4445
4444
  "data-testid": "key-form-jwk",
4446
- label: h(i)("keys.form.fields.jwk.label"),
4447
- "label-attributes": { info: h(i)("keys.form.fields.jwk.tooltip") },
4448
- placeholder: h(i)("keys.form.fields.jwk.placeholder"),
4445
+ label: h(n)("keys.form.fields.jwk.label"),
4446
+ "label-attributes": { info: h(n)("keys.form.fields.jwk.tooltip") },
4447
+ placeholder: h(n)("keys.form.fields.jwk.placeholder"),
4449
4448
  readonly: l.isReadonly,
4450
4449
  required: ""
4451
4450
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])) : H("", !0),
@@ -4456,8 +4455,8 @@ const Jn = (e, n) => {
4456
4455
  modelModifiers: { trim: !0 },
4457
4456
  class: "key-form-textarea",
4458
4457
  "data-testid": "key-form-private-key",
4459
- label: h(i)("keys.form.fields.private_key.label"),
4460
- placeholder: h(i)("keys.form.fields.private_key.placeholder"),
4458
+ label: h(n)("keys.form.fields.private_key.label"),
4459
+ placeholder: h(n)("keys.form.fields.private_key.placeholder"),
4461
4460
  readonly: l.isReadonly,
4462
4461
  required: ""
4463
4462
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"])) : H("", !0),
@@ -4468,8 +4467,8 @@ const Jn = (e, n) => {
4468
4467
  modelModifiers: { trim: !0 },
4469
4468
  class: "key-form-textarea",
4470
4469
  "data-testid": "key-form-public-key",
4471
- label: h(i)("keys.form.fields.public_key.label"),
4472
- placeholder: h(i)("keys.form.fields.public_key.placeholder"),
4470
+ label: h(n)("keys.form.fields.public_key.label"),
4471
+ placeholder: h(n)("keys.form.fields.public_key.placeholder"),
4473
4472
  readonly: l.isReadonly,
4474
4473
  required: ""
4475
4474
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"])) : H("", !0)
@@ -4483,7 +4482,7 @@ const Jn = (e, n) => {
4483
4482
  };
4484
4483
  }
4485
4484
  });
4486
- const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { class: "kong-ui-entities-keys-entity-config-card" }, Yl = { key: 2 }, os = /* @__PURE__ */ le({
4485
+ const ns = /* @__PURE__ */ Da(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { class: "kong-ui-entities-keys-entity-config-card" }, Yl = { key: 2 }, os = /* @__PURE__ */ le({
4487
4486
  __name: "KeyConfigCard",
4488
4487
  props: {
4489
4488
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4509,25 +4508,25 @@ const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { cl
4509
4508
  }
4510
4509
  },
4511
4510
  emits: ["loading", "fetch:error", "fetch:success", "copy:success", "navigation-click"],
4512
- setup(e, { emit: n }) {
4511
+ setup(e, { emit: a }) {
4513
4512
  var p;
4514
- const t = e, { axiosInstance: a } = _t({
4513
+ const t = e, { axiosInstance: i } = _t({
4515
4514
  headers: (p = t.config) == null ? void 0 : p.requestHeaders
4516
- }), { convertKeyToTitle: i } = Bl(), { i18n: { t: o } } = yt.useI18n(), r = j(() => Me.form[t.config.app].edit), s = j(() => {
4515
+ }), { convertKeyToTitle: n } = Bl(), { i18n: { t: o } } = yt.useI18n(), r = j(() => Me.form[t.config.app].edit), s = j(() => {
4517
4516
  var f;
4518
4517
  return (f = Me.form[t.config.app]) == null ? void 0 : f.getKeySet;
4519
4518
  }), c = K(), l = K({}), d = K(""), u = K(""), v = K(!1), k = async (f) => {
4520
4519
  var S, F, L;
4521
- if (c.value = f, d.value = (S = f == null ? void 0 : f.set) == null ? void 0 : S.id, n("fetch:success", f), await w(f), !d.value)
4520
+ if (c.value = f, d.value = (S = f == null ? void 0 : f.set) == null ? void 0 : S.id, a("fetch:success", f), await w(f), !d.value)
4522
4521
  return;
4523
4522
  let y = `${t.config.apiBaseUrl}${s.value}`;
4524
4523
  t.config.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, ((F = t.config) == null ? void 0 : F.controlPlaneId) || "").replace(/{keySetId}/gi, d.value || "") : t.config.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, (L = t.config) != null && L.workspace ? `/${t.config.workspace}` : "").replace(/{keySetId}/gi, d.value || ""));
4525
4524
  try {
4526
4525
  v.value = !0;
4527
- const { data: T } = await a.get(y);
4526
+ const { data: T } = await i.get(y);
4528
4527
  u.value = (T == null ? void 0 : T.name) || (T == null ? void 0 : T.id);
4529
4528
  } catch (T) {
4530
- n("fetch:error", T);
4529
+ a("fetch:error", T);
4531
4530
  } finally {
4532
4531
  v.value = !1;
4533
4532
  }
@@ -4548,7 +4547,7 @@ const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { cl
4548
4547
  "pem.private_key": (S = f == null ? void 0 : f.pem) == null ? void 0 : S.private_key
4549
4548
  };
4550
4549
  } catch (F) {
4551
- n("fetch:error", F);
4550
+ a("fetch:error", F);
4552
4551
  }
4553
4552
  return l;
4554
4553
  }, C = K({
@@ -4603,7 +4602,7 @@ const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { cl
4603
4602
  key: 0,
4604
4603
  "data-testid": "key-set-name-loader",
4605
4604
  type: "spinner"
4606
- })) : T.value && T.value.id === d.value && u.value ? (m(), B(h(nn), {
4605
+ })) : T.value && T.value.id === d.value && u.value ? (m(), B(h(aa), {
4607
4606
  key: 1,
4608
4607
  item: {
4609
4608
  key: T.value.id,
@@ -4623,7 +4622,7 @@ const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { cl
4623
4622
  "data-testid": `${T}`,
4624
4623
  item: {
4625
4624
  key: T,
4626
- label: h(i)(T),
4625
+ label: h(n)(T),
4627
4626
  value: l.value[T]
4628
4627
  }
4629
4628
  }, null, 8, ["data-testid", "item"]))), 128))
@@ -4638,7 +4637,7 @@ const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { cl
4638
4637
  "data-testid": `${T}`,
4639
4638
  item: {
4640
4639
  key: T,
4641
- label: h(i)(T),
4640
+ label: h(n)(T),
4642
4641
  value: l.value[T]
4643
4642
  }
4644
4643
  }, null, 8, ["data-testid", "item"]))), 128))
@@ -4652,6 +4651,6 @@ const is = /* @__PURE__ */ Jn(Hl, [["__scopeId", "data-v-8e9c13a2"]]), zl = { cl
4652
4651
  });
4653
4652
  export {
4654
4653
  os as KeyConfigCard,
4655
- is as KeyForm,
4656
- as as KeyList
4654
+ ns as KeyForm,
4655
+ is as KeyList
4657
4656
  };