@kong-ui-public/entities-consumer-groups 1.3.6-pr.928.9a9deeba.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { defineComponent as ae, ref as O, computed as M, watch as Se, renderSlot as Y, createCommentVNode as G, unref as y, useSlots as ut, onBeforeMount as Qe, resolveComponent as q, openBlock as g, createBlock as V, createSlots as Te, withCtx as h, createElementVNode as R, createTextVNode as Z, toDisplayString as K, createVNode as F, createElementBlock as j, renderList as ye, Fragment as ve, normalizeClass as Fe, withModifiers as rt, withDirectives as et, vShow as tt, useCssVars as ur, resolveDynamicComponent as He, normalizeProps as cr, guardReactiveProps as dr, mergeProps as ht, onMounted as pr, onUnmounted as fr, normalizeStyle as mr, inject as gr, pushScopeId as yr, popScopeId as hr, reactive as Pt } from "vue";
1
+ import { defineComponent as re, ref as O, computed as T, watch as xe, renderSlot as W, createCommentVNode as G, unref as y, useSlots as ut, onBeforeMount as Qe, resolveComponent as q, openBlock as m, createBlock as R, createSlots as Te, withCtx as h, createElementVNode as V, createTextVNode as Z, toDisplayString as N, createVNode as F, createElementBlock as $, renderList as ye, Fragment as ve, normalizeClass as Fe, withModifiers as rt, withDirectives as et, vShow as tt, useCssVars as mr, resolveDynamicComponent as Ve, normalizeProps as gr, guardReactiveProps as yr, mergeProps as ht, onMounted as hr, onUnmounted as vr, normalizeStyle as pn, inject as br, pushScopeId as fn, popScopeId as mn, reactive as Pt } from "vue";
2
2
  import { useRouter as wt } from "vue-router";
3
- import { createI18n as It, i18nTComponent as cn } from "@kong-ui-public/i18n";
4
- import vr from "axios";
5
- import { ToastManager as br, MethodsArray as kr } from "@kong/kongponents";
6
- const Cr = {
3
+ import { createI18n as It, i18nTComponent as gn } from "@kong-ui-public/i18n";
4
+ import Cr from "axios";
5
+ import { ToastManager as kr, MethodsArray as _r } from "@kong/kongponents";
6
+ const wr = {
7
7
  list: {
8
8
  table_headers: {
9
9
  name: "Name",
@@ -95,20 +95,20 @@ const Cr = {
95
95
  name: "The name can be any string containing letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
96
96
  }
97
97
  }
98
- }, _r = {
99
- consumer_groups: Cr
98
+ }, Ir = {
99
+ consumer_groups: wr
100
100
  };
101
- function wr() {
102
- const e = It("en-us", _r);
101
+ function Ar() {
102
+ const e = It("en-us", Ir);
103
103
  return {
104
104
  i18n: e,
105
- i18nT: cn(e)
105
+ i18nT: gn(e)
106
106
  // Translation component <i18n-t>
107
107
  };
108
108
  }
109
109
  const ct = {
110
- useI18n: wr
111
- }, Ie = "/api/runtime_groups/{controlPlaneId}", xe = "/{workspace}", $e = {
110
+ useI18n: Ar
111
+ }, Ie = "/api/runtime_groups/{controlPlaneId}", Ae = "/{workspace}", $e = {
112
112
  list: {
113
113
  konnect: {
114
114
  all: `${Ie}/consumer_groups`,
@@ -116,9 +116,9 @@ const ct = {
116
116
  oneForConsumer: `${Ie}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
117
117
  },
118
118
  kongManager: {
119
- all: `${xe}/consumer_groups?counter=true`,
120
- forConsumer: `${xe}/consumers/{consumerId}/consumer_groups`,
121
- oneForConsumer: `${xe}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
119
+ all: `${Ae}/consumer_groups?counter=true`,
120
+ forConsumer: `${Ae}/consumers/{consumerId}/consumer_groups`,
121
+ oneForConsumer: `${Ae}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
122
122
  }
123
123
  },
124
124
  form: {
@@ -131,26 +131,26 @@ const ct = {
131
131
  getConsumers: `${Ie}/consumer_groups/{id}/consumers`
132
132
  },
133
133
  kongManager: {
134
- consumersList: `${xe}/consumers`,
135
- create: `${xe}/consumer_groups`,
136
- edit: `${xe}/consumer_groups/{id}`,
137
- addConsumer: `${xe}/consumer_groups/{id}/consumers`,
138
- removeConsumer: `${xe}/consumer_groups/{id}/consumers/{consumerId}`,
139
- getConsumers: `${xe}/consumer_groups/{id}/consumers`
134
+ consumersList: `${Ae}/consumers`,
135
+ create: `${Ae}/consumer_groups`,
136
+ edit: `${Ae}/consumer_groups/{id}`,
137
+ addConsumer: `${Ae}/consumer_groups/{id}/consumers`,
138
+ removeConsumer: `${Ae}/consumer_groups/{id}/consumers/{consumerId}`,
139
+ getConsumers: `${Ae}/consumer_groups/{id}/consumers`
140
140
  }
141
141
  }
142
142
  };
143
- var dn = /* @__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))(dn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Oe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Oe || {}), te = /* @__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))(te || {}), be = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(be || {});
144
- function xt(e = {}) {
143
+ var yn = /* @__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))(yn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Oe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Oe || {}), te = /* @__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))(te || {}), be = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(be || {});
144
+ function At(e = {}) {
145
145
  return {
146
- axiosInstance: vr.create({
146
+ axiosInstance: Cr.create({
147
147
  withCredentials: !0,
148
148
  timeout: 3e4,
149
149
  ...e
150
150
  })
151
151
  };
152
152
  }
153
- function Ir() {
153
+ function Sr() {
154
154
  return {
155
155
  debounce: (e, n) => {
156
156
  let t;
@@ -167,7 +167,7 @@ const ft = "khcp-user-table-preferences", xr = {
167
167
  sortColumnKey: void 0,
168
168
  sortColumnOrder: void 0
169
169
  };
170
- function Ar() {
170
+ function Tr() {
171
171
  const e = (t) => {
172
172
  if (typeof t == "string")
173
173
  try {
@@ -198,17 +198,17 @@ function Ar() {
198
198
  }
199
199
  };
200
200
  }
201
- const Sr = {
201
+ const $r = {
202
202
  actions: {
203
203
  copyId: "Copy ID",
204
204
  copied_id: 'Copied "{id}" to the clipboard',
205
205
  copyToClipboard: "Copied successfully!",
206
206
  copyToClipboardFailed: "Failed to copy to the clipboard"
207
207
  }
208
- }, Tr = {
208
+ }, Mr = {
209
209
  message: "Are you sure you want to delete this {entityType}?",
210
210
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
211
- }, $r = {
211
+ }, jr = {
212
212
  actions: {
213
213
  save: "Save",
214
214
  cancel: "Cancel",
@@ -217,13 +217,13 @@ const Sr = {
217
217
  errors: {
218
218
  edit: "The entity could not be edited at this time."
219
219
  }
220
- }, Mr = {
220
+ }, Er = {
221
221
  emptyState: {
222
222
  noSearchResultsTitle: "No results found",
223
223
  noSearchResultsMessage: "Please adjust the criteria and try again.",
224
224
  noSearchResultsCtaText: "Clear"
225
225
  }
226
- }, jr = {
226
+ }, Or = {
227
227
  title: "Configuration",
228
228
  actions: {
229
229
  copy: "Copy JSON"
@@ -258,7 +258,7 @@ const Sr = {
258
258
  entryTitle: "Entry {index}",
259
259
  structuredFormat: "Structured"
260
260
  }
261
- }, Er = {
261
+ }, Nr = {
262
262
  filterButtonText: "Filter",
263
263
  fieldLabel: "Filter by:",
264
264
  inputPlaceholder: "Enter a value",
@@ -266,7 +266,7 @@ const Sr = {
266
266
  applyButtonText: "Apply",
267
267
  clearButtonText: "Clear",
268
268
  clearAllButtonText: "Clear all filters"
269
- }, Or = {
269
+ }, Fr = {
270
270
  errors: {
271
271
  fetch: "Could not fetch available items",
272
272
  invalid: "Please select a valid value"
@@ -274,7 +274,7 @@ const Sr = {
274
274
  }, Kr = {
275
275
  unexpected: "An unexpected error has occurred",
276
276
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
277
- }, Fr = {
277
+ }, Br = {
278
278
  enable: {
279
279
  title: "Enable {entityType}",
280
280
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -285,106 +285,133 @@ const Sr = {
285
285
  message: "Are you sure you want to disable the {entityType} {entityName}?",
286
286
  confirmText: "Yes, disable"
287
287
  }
288
- }, Nr = {
289
- global: Sr,
290
- deleteModal: Tr,
291
- baseForm: $r,
292
- baseTable: Mr,
293
- baseConfigCard: jr,
294
- filter: Er,
295
- debouncedFilter: Or,
288
+ }, Pr = {
289
+ global: $r,
290
+ deleteModal: Mr,
291
+ baseForm: jr,
292
+ baseTable: Er,
293
+ baseConfigCard: Or,
294
+ filter: Nr,
295
+ debouncedFilter: Fr,
296
296
  errors: Kr,
297
- toggleModal: Fr
297
+ toggleModal: Br
298
298
  };
299
- function At() {
300
- const e = It("en-us", Nr);
299
+ function St() {
300
+ const e = It("en-us", Pr);
301
301
  return {
302
302
  i18n: e,
303
- i18nT: cn(e)
303
+ i18nT: gn(e)
304
304
  // Translation component <i18n-t>
305
305
  };
306
306
  }
307
- function pn() {
307
+ function hn() {
308
+ const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
309
+ if (t.length !== r.length)
310
+ return !1;
311
+ const o = /* @__PURE__ */ new Set([...t, ...r]);
312
+ for (const a of o) {
313
+ const i = t.filter((l) => l === a).length, s = r.filter((l) => l === a).length;
314
+ if (i !== s)
315
+ return !1;
316
+ }
317
+ return !0;
318
+ };
308
319
  return {
309
- getPropValue: (e, n) => (n == null ? void 0 : n[e]) ?? void 0,
310
- objectsAreEqual: (e, n) => {
320
+ getPropValue: e,
321
+ objectsAreEqual: (t, r, o) => {
322
+ if (o) {
323
+ if (Object.keys(t).length === Object.keys(r).length)
324
+ for (const a in t)
325
+ if (Array.isArray(t[a]) && Array.isArray(r[a])) {
326
+ if (n(t[a], r[a]))
327
+ continue;
328
+ return !1;
329
+ } else {
330
+ if (t[a] === r[a])
331
+ continue;
332
+ return !1;
333
+ }
334
+ else
335
+ return !1;
336
+ return !0;
337
+ }
311
338
  try {
312
- return JSON.stringify(e) === JSON.stringify(n);
339
+ return JSON.stringify(t) === JSON.stringify(r);
313
340
  } catch {
314
341
  return !1;
315
342
  }
316
343
  },
317
- sortAlpha: (e) => (n, t) => {
318
- let r = n[e] === void 0 || n[e] === null ? "" : n[e], o = t[e] === void 0 || t[e] === null ? "" : t[e];
319
- return Array.isArray(n[e]) && (r = n[e][0]), Array.isArray(t[e]) && (o = t[e][0]), r.localeCompare(o);
344
+ sortAlpha: (t) => (r, o) => {
345
+ let a = r[t] === void 0 || r[t] === null ? "" : r[t], i = o[t] === void 0 || o[t] === null ? "" : o[t];
346
+ return Array.isArray(r[t]) && (a = r[t][0]), Array.isArray(o[t]) && (i = o[t][0]), a.localeCompare(i);
320
347
  },
321
- isValidUuid: (e) => e ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(e) : !1
348
+ isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
322
349
  };
323
350
  }
324
- function Br(e, n, t, r = {
351
+ function Lr(e, n, t, r = {
325
352
  fetchedItemsKey: "data",
326
353
  searchKeys: ["id"]
327
354
  }) {
328
355
  t || (t = "100");
329
- const { axiosInstance: o } = xt({
356
+ const { axiosInstance: o } = At({
330
357
  headers: e.requestHeaders
331
- }), { i18n: { t: a } } = At(), { debounce: i } = Ir(), s = i(async (x) => {
332
- await k(x);
333
- }, 200), l = O(!1), c = O(""), d = O(""), u = O([]), m = O([]), f = O(void 0), I = y(n);
358
+ }), { i18n: { t: a } } = St(), { debounce: i } = Sr(), s = i(async (A) => {
359
+ await C(A);
360
+ }, 200), l = O(!1), c = O(""), d = O(""), u = O([]), g = O([]), f = O(void 0), I = y(n);
334
361
  let v = `${e.apiBaseUrl}${I}`;
335
362
  e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
336
- const { isValidUuid: p } = pn(), A = async () => {
363
+ const { isValidUuid: p } = hn(), S = async () => {
337
364
  try {
338
365
  l.value = !0;
339
- const { data: x } = await o.get(`${v}?size=${t}`);
340
- x != null && x.next || (f.value = r.fetchedItemsKey in x ? x[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in x ? x[r.fetchedItemsKey] : [], u.value = m.value;
366
+ const { data: A } = await o.get(`${v}?size=${t}`);
367
+ A != null && A.next || (f.value = r.fetchedItemsKey in A ? A[r.fetchedItemsKey] : []), g.value = r.fetchedItemsKey in A ? A[r.fetchedItemsKey] : [], u.value = g.value;
341
368
  } catch {
342
369
  u.value = [], c.value = a("debouncedFilter.errors.fetch");
343
370
  } finally {
344
371
  l.value = !1;
345
372
  }
346
- }, b = O(""), k = async (x) => {
373
+ }, b = O(""), C = async (A) => {
347
374
  var ne, pe, z;
348
- if (b.value !== x)
349
- if (b.value = x || "", f.value === void 0)
375
+ if (b.value !== A)
376
+ if (b.value = A || "", f.value === void 0)
350
377
  try {
351
378
  if (l.value = !0, c.value = "", d.value = "", e.app === "konnect") {
352
379
  let w = v + "";
353
- x && (w += `/${x}`);
354
- const { data: N } = await o.get(`${w}?size=${t}`);
355
- r.fetchedItemsKey in N ? u.value = N[r.fetchedItemsKey] : N != null && N.id ? u.value = [N] : u.value = [];
356
- } else if (x) {
380
+ A && (w += `/${A}`);
381
+ const { data: K } = await o.get(`${w}?size=${t}`);
382
+ r.fetchedItemsKey in K ? u.value = K[r.fetchedItemsKey] : K != null && K.id ? u.value = [K] : u.value = [];
383
+ } else if (A) {
357
384
  const w = [];
358
- p(x) && r.searchKeys.includes("id") ? w.push((async () => {
359
- const { data: C } = await o.get(`${v}/${x}`);
360
- return [C[r.fetchedItemsKey] ?? C];
385
+ p(A) && r.searchKeys.includes("id") ? w.push((async () => {
386
+ const { data: k } = await o.get(`${v}/${A}`);
387
+ return [k[r.fetchedItemsKey] ?? k];
361
388
  })()) : w.push(
362
- ...r.searchKeys.filter((C) => C !== "id").map(async (C) => {
363
- const { data: S } = await o.get(`${v}?${C}=${x}`);
364
- return S[r.fetchedItemsKey];
389
+ ...r.searchKeys.filter((k) => k !== "id").map(async (k) => {
390
+ const { data: x } = await o.get(`${v}?${k}=${A}`);
391
+ return x[r.fetchedItemsKey];
365
392
  })
366
393
  );
367
- const N = await Promise.all(w), B = /* @__PURE__ */ new Set();
368
- u.value = [], (ne = N == null ? void 0 : N.forEach) == null || ne.call(N, (C) => {
369
- var S;
370
- (S = C == null ? void 0 : C.forEach) == null || S.call(C, (T) => {
371
- B.has(T.id) || (B.add(T.id), u.value.push(T));
394
+ const K = await Promise.all(w), B = /* @__PURE__ */ new Set();
395
+ u.value = [], (ne = K == null ? void 0 : K.forEach) == null || ne.call(K, (k) => {
396
+ var x;
397
+ (x = k == null ? void 0 : k.forEach) == null || x.call(k, (M) => {
398
+ B.has(M.id) || (B.add(M.id), u.value.push(M));
372
399
  });
373
400
  });
374
401
  } else
375
- u.value = m.value;
402
+ u.value = g.value;
376
403
  } catch (w) {
377
404
  ((pe = w == null ? void 0 : w.response) == null ? void 0 : pe.status) === 404 ? d.value = a("debouncedFilter.errors.invalid") : (u.value = [], c.value = a("debouncedFilter.errors.fetch"));
378
405
  } finally {
379
406
  l.value = !1;
380
407
  }
381
408
  else
382
- l.value = !0, d.value = "", x ? (u.value = (z = f.value) == null ? void 0 : z.filter((w) => {
383
- var N;
409
+ l.value = !0, d.value = "", A ? (u.value = (z = f.value) == null ? void 0 : z.filter((w) => {
410
+ var K;
384
411
  let B = !1;
385
- for (const C of r.searchKeys) {
386
- const S = typeof w[C] == "string" ? (N = w[C]) == null ? void 0 : N.toLowerCase() : w[C];
387
- S != null && S.includes(x.toLowerCase()) && (B = !0);
412
+ for (const k of r.searchKeys) {
413
+ const x = typeof w[k] == "string" ? (K = w[k]) == null ? void 0 : K.toLowerCase() : w[k];
414
+ x != null && x.includes(A.toLowerCase()) && (B = !0);
388
415
  }
389
416
  return B;
390
417
  }), (!u.value || !u.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : u.value = f.value, l.value = !1;
@@ -395,18 +422,18 @@ function Br(e, n, t, r = {
395
422
  validationError: d,
396
423
  results: u,
397
424
  allRecords: f,
398
- loadItems: A,
425
+ loadItems: S,
399
426
  debouncedQueryChange: s
400
427
  };
401
428
  }
402
- function Pr(e, n) {
403
- const t = y(n), r = M(
429
+ function qr(e, n) {
430
+ const t = y(n), r = T(
404
431
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
405
432
  );
406
433
  return r.value.search = "", (o) => `${r.value.href}/${o}`;
407
434
  }
408
- function Lr() {
409
- const { i18n: { t: e } } = At();
435
+ function Ur() {
436
+ const { i18n: { t: e } } = St();
410
437
  return {
411
438
  getMessageFromError: (n) => {
412
439
  var t, r, o;
@@ -433,7 +460,7 @@ function Lr() {
433
460
  }
434
461
  };
435
462
  }
436
- function qr(e) {
463
+ function Vr(e) {
437
464
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
438
465
  try {
439
466
  const r = e.join("/"), o = `${t}${r}`, a = e.some((i) => i.trim() === "");
@@ -444,17 +471,17 @@ function qr(e) {
444
471
  return console.warn("Failed to build valid URL:", r), "";
445
472
  }
446
473
  }
447
- function fn(e, n) {
448
- const t = O(y(e)), r = O(y(n)), o = M(
474
+ function vn(e, n) {
475
+ const t = O(y(e)), r = O(y(n)), o = T(
449
476
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
450
- ), a = M(
477
+ ), a = T(
451
478
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
452
479
  );
453
480
  return (i) => {
454
- const { page: s, pageSize: l, offset: c, sortColumnKey: d, sortColumnOrder: u, query: m } = i;
481
+ const { page: s, pageSize: l, offset: c, sortColumnKey: d, sortColumnOrder: u, query: g } = i;
455
482
  try {
456
483
  let f = new URL(a.value.href);
457
- return o.value && m ? (f.search = "", f = new URL(`${f.href}/${m}/`)) : (o.value || new URLSearchParams(m).forEach((I, v) => {
484
+ return o.value && g ? (f.search = "", f = new URL(`${f.href}/${g}/`)) : (o.value || new URLSearchParams(g).forEach((I, v) => {
458
485
  f.searchParams.append(v, I);
459
486
  }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), c && s !== 1 && f.searchParams.append("offset", String(c)), f.href;
460
487
  } catch (f) {
@@ -462,10 +489,10 @@ function fn(e, n) {
462
489
  }
463
490
  };
464
491
  }
465
- function Ur(e, n, t = "data") {
466
- const r = y(n), { axiosInstance: o } = xt({
492
+ function Rr(e, n, t = "data") {
493
+ const r = y(n), { axiosInstance: o } = At({
467
494
  headers: e.requestHeaders
468
- }), a = fn(e, r), i = O({
495
+ }), a = vn(e, r), i = O({
469
496
  status: Oe.Idle
470
497
  });
471
498
  return { fetcher: async (s) => {
@@ -474,7 +501,7 @@ function Ur(e, n, t = "data") {
474
501
  const l = a(s), { data: c } = await o.get(l), d = t && t.replace(/[^\w-_]/gi, "");
475
502
  let u;
476
503
  c[d] && Array.isArray(c[d]) ? u = c[d] : u = Object.keys(c).length ? [c] : [];
477
- const m = {
504
+ const g = {
478
505
  data: u,
479
506
  total: u.length,
480
507
  ...c.offset ? {
@@ -485,8 +512,8 @@ function Ur(e, n, t = "data") {
485
512
  };
486
513
  return i.value = {
487
514
  status: Oe.Idle,
488
- response: m
489
- }, m;
515
+ response: g
516
+ }, g;
490
517
  } catch (l) {
491
518
  const c = {
492
519
  data: [],
@@ -504,76 +531,78 @@ function Ur(e, n, t = "data") {
504
531
  }
505
532
  }, fetcherState: i };
506
533
  }
507
- function Rr() {
534
+ function Dr() {
535
+ const e = (t, r = "_") => t ? t.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
508
536
  return {
509
- convertKeyToTitle: (e, n = "_") => e ? e.split(n).map((t) => t.toLowerCase() === "id" ? t.toUpperCase() : t.charAt(0).toUpperCase() + t.substring(1)).join(" ") : ""
537
+ capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
538
+ convertKeyToTitle: e
510
539
  };
511
540
  }
512
- const mn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Lt = (e) => {
541
+ const bn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Lt = (e) => {
513
542
  if (typeof e != "string")
514
543
  throw new TypeError("Invalid argument expected string");
515
- const n = e.match(mn);
544
+ const n = e.match(bn);
516
545
  if (!n)
517
546
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
518
547
  return n.shift(), n;
519
548
  }, qt = (e) => e === "*" || e === "x" || e === "X", Ut = (e) => {
520
549
  const n = parseInt(e, 10);
521
550
  return isNaN(n) ? e : n;
522
- }, Vr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Dr = (e, n) => {
551
+ }, Gr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], zr = (e, n) => {
523
552
  if (qt(e) || qt(n))
524
553
  return 0;
525
- const [t, r] = Vr(Ut(e), Ut(n));
554
+ const [t, r] = Gr(Ut(e), Ut(n));
526
555
  return t > r ? 1 : t < r ? -1 : 0;
527
- }, Rt = (e, n) => {
556
+ }, Vt = (e, n) => {
528
557
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
529
- const r = Dr(e[t] || "0", n[t] || "0");
558
+ const r = zr(e[t] || "0", n[t] || "0");
530
559
  if (r !== 0)
531
560
  return r;
532
561
  }
533
562
  return 0;
534
- }, Gr = (e, n) => {
535
- const t = Lt(e), r = Lt(n), o = t.pop(), a = r.pop(), i = Rt(t, r);
536
- return i !== 0 ? i : o && a ? Rt(o.split("."), a.split(".")) : o || a ? o ? -1 : 1 : 0;
537
- }, Vt = (e, n, t) => {
538
- zr(t);
539
- const r = Gr(e, n);
540
- return gn[t].includes(r);
541
- }, gn = {
563
+ }, Hr = (e, n) => {
564
+ const t = Lt(e), r = Lt(n), o = t.pop(), a = r.pop(), i = Vt(t, r);
565
+ return i !== 0 ? i : o && a ? Vt(o.split("."), a.split(".")) : o || a ? o ? -1 : 1 : 0;
566
+ }, Rt = (e, n, t) => {
567
+ Jr(t);
568
+ const r = Hr(e, n);
569
+ return Cn[t].includes(r);
570
+ }, Cn = {
542
571
  ">": [1],
543
572
  ">=": [0, 1],
544
573
  "=": [0],
545
574
  "<=": [-1, 0],
546
575
  "<": [-1],
547
576
  "!=": [-1, 1]
548
- }, Dt = Object.keys(gn), zr = (e) => {
577
+ }, Dt = Object.keys(Cn), Jr = (e) => {
549
578
  if (typeof e != "string")
550
579
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
551
580
  if (Dt.indexOf(e) === -1)
552
581
  throw new Error(`Invalid operator, expected one of ${Dt.join("|")}`);
553
- }, Hr = (e) => typeof e == "string" && /^[v\d]/.test(e) && mn.test(e);
554
- function Jr(e) {
582
+ }, Yr = (e) => typeof e == "string" && /^[v\d]/.test(e) && bn.test(e);
583
+ function Wr(e) {
555
584
  const { gatewayInfo: n, supportedRange: t } = e;
556
585
  if (!n)
557
586
  return !0;
558
587
  const { edition: r, version: o } = n;
559
- if (!Hr(o))
588
+ if (!Yr(o))
560
589
  return console.error("Invalid version"), !1;
561
590
  const a = t[r];
562
591
  if (!a)
563
592
  return !1;
564
593
  const [i, s] = a;
565
- return !(i && Vt(o, i, "<") || s && Vt(o, s, ">"));
594
+ return !(i && Rt(o, i, "<") || s && Rt(o, s, ">"));
566
595
  }
567
- function Wr(e) {
596
+ function Zr(e) {
568
597
  const n = O(0), t = O(0), r = O(!1);
569
- return Se(e, (o) => {
598
+ return xe(e, (o) => {
570
599
  o && !r.value && (n.value = o.offsetWidth, t.value = o.scrollWidth, r.value = !0);
571
600
  }), {
572
- isTruncated: M(() => n.value < t.value)
601
+ isTruncated: T(() => n.value < t.value)
573
602
  };
574
603
  }
575
- const Yr = new br();
576
- function Zr() {
604
+ const Qr = new kr();
605
+ function Xr() {
577
606
  return {
578
607
  notify: async (e) => {
579
608
  const n = {
@@ -581,7 +610,7 @@ function Zr() {
581
610
  message: "Success",
582
611
  timeoutMilliseconds: 3e3
583
612
  };
584
- Yr.open({
613
+ Qr.open({
585
614
  ...n,
586
615
  ...e
587
616
  });
@@ -589,29 +618,133 @@ function Zr() {
589
618
  };
590
619
  }
591
620
  const ue = {
592
- useAxios: xt,
593
- useDebouncedFilter: Br,
594
- useDeleteUrlBuilder: Pr,
595
- useErrors: Lr,
596
- useExternalLinkCreator: qr,
597
- useFetcher: Ur,
598
- useFetchUrlBuilder: fn,
599
- useHelpers: pn,
600
- useStringHelpers: Rr,
601
- useI18n: At,
602
- useGatewayFeatureSupported: Jr,
603
- useTruncationDetector: Wr,
604
- useToaster: Zr
605
- }, Qr = {
621
+ useAxios: At,
622
+ useDebouncedFilter: Lr,
623
+ useDeleteUrlBuilder: qr,
624
+ useErrors: Ur,
625
+ useExternalLinkCreator: Vr,
626
+ useFetcher: Rr,
627
+ useFetchUrlBuilder: vn,
628
+ useHelpers: hn,
629
+ useStringHelpers: Dr,
630
+ useI18n: St,
631
+ useGatewayFeatureSupported: Wr,
632
+ useTruncationDetector: Zr,
633
+ useToaster: Xr
634
+ }, eo = {
606
635
  fail: "Failed to copy id to clipboard",
607
636
  success: {
608
637
  prefix: "Successfully",
609
638
  content: " copied to clipboard"
610
639
  }
611
- }, Xr = "Copy to clipboard", eo = {
612
- message: Qr,
613
- iconTitle: Xr
614
- }, to = "kong-ui-copy-uuid-notify", no = { class: "kong-ui-copy-uuid" }, ro = ["onClick"], Gt = 15, oo = /* @__PURE__ */ ae({
640
+ }, to = "Copy to clipboard", no = {
641
+ message: eo,
642
+ iconTitle: to
643
+ }, ro = "kong-ui-copy-uuid-notify", Gt = "24px", oo = (e, n) => {
644
+ const t = e.__vccOpts || e;
645
+ for (const [r, o] of n)
646
+ t[r] = o;
647
+ return t;
648
+ }, ao = (e) => (fn("data-v-9971cc79"), e = e(), mn(), e), io = ["aria-hidden"], so = {
649
+ key: 0,
650
+ "data-testid": "kui-icon-svg-title"
651
+ }, lo = /* @__PURE__ */ ao(() => /* @__PURE__ */ V("path", {
652
+ d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
653
+ fill: "currentColor"
654
+ }, null, -1)), uo = /* @__PURE__ */ re({
655
+ __name: "CopyIcon",
656
+ props: {
657
+ /** The accessibility text provided to screen readers */
658
+ title: {
659
+ type: String,
660
+ required: !1,
661
+ default: ""
662
+ },
663
+ /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
664
+ color: {
665
+ type: String,
666
+ required: !1,
667
+ default: "currentColor"
668
+ },
669
+ /** The CSS display property for the icon. Defaults to `block` */
670
+ display: {
671
+ type: String,
672
+ required: !1,
673
+ default: "block"
674
+ },
675
+ /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
676
+ decorative: {
677
+ type: Boolean,
678
+ required: !1,
679
+ default: !1
680
+ },
681
+ /** The icon size */
682
+ size: {
683
+ type: [Number, String],
684
+ required: !1,
685
+ default: Gt,
686
+ // if setting to the imported const fails, just pass a number of 24 as the default.
687
+ validator: (e) => {
688
+ if (typeof e == "number" && e > 0)
689
+ return !0;
690
+ if (typeof e == "string") {
691
+ const n = String(e).replace(/px/gi, ""), t = Number(n);
692
+ if (t && !isNaN(t) && Number.isInteger(t) && t > 0)
693
+ return !0;
694
+ }
695
+ return !1;
696
+ }
697
+ },
698
+ /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
699
+ as: {
700
+ type: String,
701
+ required: !1,
702
+ default: "span"
703
+ }
704
+ },
705
+ setup(e) {
706
+ const n = e, t = T(() => {
707
+ if (typeof n.size == "number" && n.size > 0)
708
+ return `${n.size}px`;
709
+ if (typeof n.size == "string") {
710
+ const o = String(n.size).replace(/px/gi, ""), a = Number(o);
711
+ if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
712
+ return `${a}px`;
713
+ }
714
+ return Gt;
715
+ }), r = T(() => ({
716
+ boxSizing: "border-box",
717
+ color: n.color,
718
+ display: n.display,
719
+ height: t.value,
720
+ lineHeight: "0",
721
+ width: t.value
722
+ }));
723
+ return (o, a) => (m(), R(Ve(e.as), {
724
+ "aria-hidden": e.decorative ? "true" : void 0,
725
+ class: "kui-icon copy-icon",
726
+ "data-testid": "kui-icon-wrapper-copy-icon",
727
+ style: pn(r.value)
728
+ }, {
729
+ default: h(() => [
730
+ (m(), $("svg", {
731
+ "aria-hidden": e.decorative ? "true" : void 0,
732
+ "data-testid": "kui-icon-svg-copy-icon",
733
+ fill: "none",
734
+ height: "100%",
735
+ role: "img",
736
+ viewBox: "0 0 24 24",
737
+ width: "100%",
738
+ xmlns: "http://www.w3.org/2000/svg"
739
+ }, [
740
+ e.title ? (m(), $("title", so, N(e.title), 1)) : G("", !0),
741
+ lo
742
+ ], 8, io))
743
+ ]),
744
+ _: 1
745
+ }, 8, ["aria-hidden", "style"]));
746
+ }
747
+ }), co = /* @__PURE__ */ oo(uo, [["__scopeId", "data-v-9971cc79"]]), po = "16px", fo = { class: "kong-ui-copy-uuid" }, mo = ["onClick"], zt = 15, go = /* @__PURE__ */ re({
615
748
  __name: "CopyUuid",
616
749
  props: {
617
750
  uuid: {
@@ -655,74 +788,73 @@ const ue = {
655
788
  },
656
789
  emits: ["success", "error"],
657
790
  setup(e, { emit: n }) {
658
- const t = e, { t: r } = It("en-us", eo), o = t.notify || gr(to, () => {
659
- }), a = M(() => t.idTooltip ? {
791
+ const t = e, { t: r } = It("en-us", no), o = t.notify || br(ro, () => {
792
+ }), a = T(() => t.idTooltip ? {
660
793
  label: t.idTooltip,
661
794
  positionFixed: !0,
662
795
  placement: "bottomStart"
663
796
  } : {
664
797
  title: t.uuid
665
- }), i = M(() => !!(t.tooltip && t.successTooltip)), s = O(t.tooltip), l = M(() => t.tooltip ? {
798
+ }), i = T(() => !!(t.tooltip && t.successTooltip)), s = O(t.tooltip), l = T(() => t.tooltip ? {
666
799
  label: s.value,
667
800
  positionFixed: !0,
668
801
  maxWidth: "500px",
669
802
  placement: "bottomStart"
670
- } : {}), c = M(() => {
671
- var m;
672
- return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(m = t.uuid) == null ? void 0 : m.substring(0, 5)}` : t.uuid;
673
- }), d = (m) => {
674
- s.value = m, setTimeout(() => {
803
+ } : {}), c = T(() => {
804
+ var g;
805
+ return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(g = t.uuid) == null ? void 0 : g.substring(0, 5)}` : t.uuid;
806
+ }), d = (g) => {
807
+ s.value = g, setTimeout(() => {
675
808
  s.value = t.tooltip;
676
809
  }, 1800);
677
- }, u = (m) => {
810
+ }, u = (g) => {
678
811
  var f, I;
679
- if (!m(t.uuid)) {
812
+ if (!g(t.uuid)) {
680
813
  typeof o == "function" && o({
681
814
  type: "error",
682
815
  message: r("message.fail")
683
816
  }), i.value ? d(r("message.fail")) : n("error", t.uuid);
684
817
  return;
685
818
  }
686
- const v = ((f = t.uuid) == null ? void 0 : f.length) > Gt, p = t.format === "hidden" || t.format === "redacted" ? r("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, Gt)) + (v ? "..." : "")}"`;
819
+ const v = ((f = t.uuid) == null ? void 0 : f.length) > zt, p = t.format === "hidden" || t.format === "redacted" ? r("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, zt)) + (v ? "..." : "")}"`;
687
820
  typeof o == "function" && o({
688
821
  type: "success",
689
822
  message: `${p}${r("message.success.content")}`
690
823
  }), i.value ? d(t.successTooltip) : n("success", t.uuid);
691
824
  };
692
- return (m, f) => {
693
- const I = q("KIcon"), v = q("KClipboardProvider");
694
- return g(), j("div", no, [
695
- e.format !== "hidden" ? (g(), V(He(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
825
+ return (g, f) => {
826
+ const I = q("KClipboardProvider");
827
+ return m(), $("div", fo, [
828
+ e.format !== "hidden" ? (m(), R(Ve(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
696
829
  default: h(() => [
697
- R("div", {
830
+ V("div", {
698
831
  class: Fe([
699
832
  "uuid-container",
700
833
  e.truncated ? "truncated-uuid" : null,
701
834
  e.useMono ? "mono" : null
702
835
  ])
703
- }, K(c.value), 3)
836
+ }, N(c.value), 3)
704
837
  ]),
705
838
  _: 1
706
839
  }, 16)) : G("", !0),
707
- (g(), V(He(e.tooltip ? "KTooltip" : "div"), ht(l.value, { class: "uuid-icon-wrapper" }), {
840
+ (m(), R(Ve(e.tooltip ? "KTooltip" : "div"), ht(l.value, { class: "uuid-icon-wrapper" }), {
708
841
  default: h(() => [
709
- F(v, null, {
710
- default: h(({ copyToClipboard: p }) => [
711
- R("span", {
842
+ F(I, null, {
843
+ default: h(({ copyToClipboard: v }) => [
844
+ V("span", {
712
845
  "data-testid": "copy-to-clipboard",
713
846
  role: "button",
714
847
  tabindex: "0",
715
- onClick: rt((A) => u(p), ["stop"])
848
+ onClick: rt((p) => u(v), ["stop"])
716
849
  }, [
717
- F(I, {
850
+ F(y(co), {
718
851
  class: "uuid-icon",
719
852
  color: e.iconColor,
720
- "hide-title": !!e.tooltip || void 0,
721
- icon: "copy",
722
- size: "16",
853
+ decorative: !!e.tooltip,
854
+ size: y(po),
723
855
  title: y(r)("iconTitle")
724
- }, null, 8, ["color", "hide-title", "title"])
725
- ], 8, ro)
856
+ }, null, 8, ["color", "decorative", "size", "title"])
857
+ ], 8, mo)
726
858
  ]),
727
859
  _: 1
728
860
  })
@@ -732,15 +864,15 @@ const ue = {
732
864
  ]);
733
865
  };
734
866
  }
735
- }), ao = (e, n) => {
867
+ }), yo = (e, n) => {
736
868
  const t = e.__vccOpts || e;
737
869
  for (const [r, o] of n)
738
870
  t[r] = o;
739
871
  return t;
740
- }, yn = /* @__PURE__ */ ao(oo, [["__scopeId", "data-v-a2ebe0bb"]]), io = {
872
+ }, kn = /* @__PURE__ */ yo(go, [["__scopeId", "data-v-0c07874b"]]), ho = {
741
873
  key: 0,
742
874
  class: "config-card-fieldset-title"
743
- }, so = /* @__PURE__ */ ae({
875
+ }, vo = /* @__PURE__ */ re({
744
876
  __name: "JsonCardItem",
745
877
  props: {
746
878
  item: {
@@ -757,21 +889,21 @@ const ue = {
757
889
  }
758
890
  },
759
891
  setup(e) {
760
- const n = e, { i18n: { t } } = ue.useI18n(), { convertKeyToTitle: r } = ue.useStringHelpers(), o = M(() => n.item.key ?? "json-array-item"), a = M(() => n.item.value ?? n.item), i = M(() => {
892
+ const n = e, { i18n: { t } } = ue.useI18n(), { convertKeyToTitle: r } = ue.useStringHelpers(), o = T(() => n.item.key ?? "json-array-item"), a = T(() => n.item.value ?? n.item), i = T(() => {
761
893
  const l = JSON.parse(JSON.stringify(a.value));
762
894
  return n.isArrayItem && delete l.name, l;
763
- }), s = M(() => {
895
+ }), s = T(() => {
764
896
  var l;
765
897
  return n.isArrayItem ? (l = a.value) != null && l.name ? r(a.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
766
898
  });
767
- return (l, c) => (g(), V(He(e.isArrayItem ? "fieldset" : "div"), {
899
+ return (l, c) => (m(), R(Ve(e.isArrayItem ? "fieldset" : "div"), {
768
900
  class: Fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
769
901
  }, {
770
902
  default: h(() => [
771
- e.isArrayItem ? (g(), j("legend", io, [
772
- R("b", null, K(s.value), 1)
903
+ e.isArrayItem ? (m(), $("legend", ho, [
904
+ V("b", null, N(s.value), 1)
773
905
  ])) : G("", !0),
774
- (g(!0), j(ve, null, ye(Object.keys(i.value), (d, u) => (g(), V(St, {
906
+ (m(!0), $(ve, null, ye(Object.keys(i.value), (d, u) => (m(), R(xt, {
775
907
  key: `${o.value}-property-${u}`,
776
908
  item: {
777
909
  key: d,
@@ -783,12 +915,12 @@ const ue = {
783
915
  _: 1
784
916
  }, 8, ["class"]));
785
917
  }
786
- }), Ce = (e, n) => {
918
+ }), ke = (e, n) => {
787
919
  const t = e.__vccOpts || e;
788
920
  for (const [r, o] of n)
789
921
  t[r] = o;
790
922
  return t;
791
- }, hn = /* @__PURE__ */ Ce(so, [["__scopeId", "data-v-68ca83ec"]]), lo = /* @__PURE__ */ ae({
923
+ }, _n = /* @__PURE__ */ ke(vo, [["__scopeId", "data-v-68ca83ec"]]), bo = /* @__PURE__ */ re({
792
924
  __name: "InternalLinkItem",
793
925
  props: {
794
926
  item: {
@@ -801,21 +933,21 @@ const ue = {
801
933
  const { i18n: { t: n } } = ue.useI18n();
802
934
  return (t, r) => {
803
935
  const o = q("KButton");
804
- return g(), j("div", null, [
936
+ return m(), $("div", null, [
805
937
  F(o, {
806
- appearance: "btn-link",
938
+ appearance: "tertiary",
807
939
  class: "navigation-button",
808
940
  onClick: r[0] || (r[0] = (a) => t.$emit("navigation-click", e.item))
809
941
  }, {
810
942
  default: h(() => [
811
- Z(K(e.item.value || y(n)("baseConfigCard.commonFields.link")), 1)
943
+ Z(N(e.item.value || y(n)("baseConfigCard.commonFields.link")), 1)
812
944
  ]),
813
945
  _: 1
814
946
  })
815
947
  ]);
816
948
  };
817
949
  }
818
- }), uo = /* @__PURE__ */ Ce(lo, [["__scopeId", "data-v-7410504d"]]), co = /* @__PURE__ */ ae({
950
+ }), Co = /* @__PURE__ */ ke(bo, [["__scopeId", "data-v-c96811e5"]]), ko = /* @__PURE__ */ re({
819
951
  __name: "StatusBadge",
820
952
  props: {
821
953
  status: {
@@ -827,21 +959,21 @@ const ue = {
827
959
  const { i18n: { t: n } } = ue.useI18n();
828
960
  return (t, r) => {
829
961
  const o = q("KBadge");
830
- return g(), V(o, {
962
+ return m(), R(o, {
831
963
  appearance: e.status ? "success" : "neutral"
832
964
  }, {
833
965
  default: h(() => [
834
- Z(K(e.status ? y(n)("baseConfigCard.statusBadge.enabledLabel") : y(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
966
+ Z(N(e.status ? y(n)("baseConfigCard.statusBadge.enabledLabel") : y(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
835
967
  ]),
836
968
  _: 1
837
969
  }, 8, ["appearance"]);
838
970
  };
839
971
  }
840
- }), po = "#0044f4", fo = "#e0e4ea", mo = "#3a3f51", go = "1px", yo = "20px", ho = { class: "config-card-details-row" }, vo = ["data-testid"], bo = ["data-testid"], ko = ["data-testid"], Co = ["data-testid"], _o = { key: 1 }, wo = ["data-testid"], Io = ["data-testid"], xo = ["data-testid"], Ao = ["data-testid"], So = {
972
+ }), _o = "#0044f4", wo = "#e0e4ea", Io = "#3a3f51", Ao = "1px", So = "20px", xo = { class: "config-card-details-row" }, To = ["data-testid"], $o = ["data-testid"], Mo = ["data-testid"], jo = ["data-testid"], Eo = { key: 1 }, Oo = ["data-testid"], No = ["data-testid"], Fo = ["data-testid"], Ko = ["data-testid"], Bo = {
841
973
  name: "ConfigCardItem",
842
- components: { CopyUuid: yn, JsonCardItem: hn, StatusBadge: co, InternalLinkItem: uo }
843
- }, To = /* @__PURE__ */ ae({
844
- ...So,
974
+ components: { CopyUuid: kn, JsonCardItem: _n, StatusBadge: ko, InternalLinkItem: Co }
975
+ }, Po = /* @__PURE__ */ re({
976
+ ...Bo,
845
977
  props: {
846
978
  item: {
847
979
  type: Object,
@@ -861,13 +993,13 @@ const ue = {
861
993
  emits: ["navigation-click"],
862
994
  setup(e, { emit: n }) {
863
995
  const t = e;
864
- ur((f) => ({
865
- "1df60db4": c.value ? "none" : `solid ${y(go)} ${y(fo)}`,
996
+ mr((f) => ({
997
+ "1df60db4": c.value ? "none" : `solid ${y(Ao)} ${y(wo)}`,
866
998
  "21d1d34e": l.value && i.value ? "block" : "flex",
867
999
  "4d3dc7e7": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
868
1000
  "4d400dc2": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
869
1001
  }));
870
- const r = ut(), { i18n: { t: o, formatUnixTimeStamp: a } } = ue.useI18n(), i = M(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = M(() => !!(t.item.tooltip || r["label-tooltip"])), l = M(() => t.item.type === te.Json || t.item.type === te.JsonArray), c = M(() => t.item.type === te.JsonArray), d = M(() => {
1002
+ const r = ut(), { i18n: { t: o, formatUnixTimeStamp: a } } = ue.useI18n(), i = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = T(() => !!(t.item.tooltip || r["label-tooltip"])), l = T(() => t.item.type === te.Json || t.item.type === te.JsonArray), c = T(() => t.item.type === te.JsonArray), d = T(() => {
871
1003
  switch (t.item.type) {
872
1004
  case te.ID:
873
1005
  return {
@@ -993,175 +1125,175 @@ const ue = {
993
1125
  text: t.item.value
994
1126
  };
995
1127
  }
996
- }), u = O(), { isTruncated: m } = ue.useTruncationDetector(u);
1128
+ }), u = O(), { isTruncated: g } = ue.useTruncationDetector(u);
997
1129
  return (f, I) => {
998
- const v = q("KLabel"), p = q("KBadge"), A = q("KMethodBadge"), b = q("KTooltip");
999
- return g(), j("div", ho, [
1000
- R("div", {
1130
+ const v = q("KLabel"), p = q("KBadge"), S = q("KMethodBadge"), b = q("KTooltip");
1131
+ return m(), $("div", xo, [
1132
+ V("div", {
1001
1133
  class: "config-card-details-label",
1002
1134
  "data-testid": `${e.item.key}-label`
1003
1135
  }, [
1004
- Y(f.$slots, "label", { item: e.item }, () => [
1136
+ W(f.$slots, "label", { item: e.item }, () => [
1005
1137
  F(v, { "tooltip-attributes": { maxWidth: "500px" } }, Te({
1006
1138
  default: h(() => [
1007
- Z(K(e.item.label) + " ", 1)
1139
+ Z(N(e.item.label) + " ", 1)
1008
1140
  ]),
1009
1141
  _: 2
1010
1142
  }, [
1011
1143
  s.value ? {
1012
1144
  name: "tooltip",
1013
1145
  fn: h(() => [
1014
- R("div", {
1146
+ V("div", {
1015
1147
  "data-testid": `${e.item.key}-label-tooltip`
1016
1148
  }, [
1017
- Y(f.$slots, "label-tooltip", {}, () => [
1018
- Z(K(e.item.tooltip), 1)
1149
+ W(f.$slots, "label-tooltip", {}, () => [
1150
+ Z(N(e.item.tooltip), 1)
1019
1151
  ], !0)
1020
- ], 8, bo)
1152
+ ], 8, $o)
1021
1153
  ]),
1022
1154
  key: "0"
1023
1155
  } : void 0
1024
1156
  ]), 1024)
1025
1157
  ], !0)
1026
- ], 8, vo),
1027
- R("div", {
1158
+ ], 8, To),
1159
+ V("div", {
1028
1160
  class: "config-card-details-value",
1029
1161
  "data-testid": `${e.item.key}-property-value`
1030
1162
  }, [
1031
- Y(f.$slots, e.item.key, {
1163
+ W(f.$slots, e.item.key, {
1032
1164
  rowValue: e.item.value
1033
1165
  }, () => [
1034
- i.value ? (g(), j("div", _o, [
1035
- (g(), V(He(d.value.tag), cr(dr(d.value.attrs)), {
1166
+ i.value ? (m(), $("div", Eo, [
1167
+ (m(), R(Ve(d.value.tag), gr(yr(d.value.attrs)), {
1036
1168
  default: h(() => [
1037
- d.value.additionalComponent === "KBadge" ? (g(), j("div", {
1169
+ d.value.additionalComponent === "KBadge" ? (m(), $("div", {
1038
1170
  key: 0,
1039
1171
  "data-testid": `${e.item.key}-badge-tags`
1040
1172
  }, [
1041
- (g(!0), j(ve, null, ye(e.item.value, (k, x) => (g(), V(p, {
1042
- key: `${e.item.key}-badge-tag-${x}`,
1173
+ (m(!0), $(ve, null, ye(e.item.value, (C, A) => (m(), R(p, {
1174
+ key: `${e.item.key}-badge-tag-${A}`,
1043
1175
  class: "config-badge",
1044
- "data-testid": `${e.item.key}-badge-tag-${x}`,
1045
- "truncation-tooltip": k
1176
+ "data-testid": `${e.item.key}-badge-tag-${A}`,
1177
+ "truncation-tooltip": C
1046
1178
  }, {
1047
1179
  default: h(() => [
1048
- Z(K(k), 1)
1180
+ Z(N(C), 1)
1049
1181
  ]),
1050
1182
  _: 2
1051
1183
  }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1052
- ], 8, wo)) : G("", !0),
1053
- d.value.additionalComponent === "CopyUuid" ? (g(), j("div", {
1184
+ ], 8, Oo)) : G("", !0),
1185
+ d.value.additionalComponent === "CopyUuid" ? (m(), $("div", {
1054
1186
  key: 1,
1055
1187
  class: "copy-uuid-array",
1056
1188
  "data-testid": `${e.item.key}-copy-uuid-array`
1057
1189
  }, [
1058
- (g(!0), j(ve, null, ye(e.item.value, (k, x) => (g(), V(y(yn), ht(d.value.childAttrs, {
1059
- key: `${e.item.key}-copy-uuid-${x}`,
1060
- "data-testid": `${e.item.key}-copy-uuid-${x}`,
1061
- uuid: k
1190
+ (m(!0), $(ve, null, ye(e.item.value, (C, A) => (m(), R(y(kn), ht(d.value.childAttrs, {
1191
+ key: `${e.item.key}-copy-uuid-${A}`,
1192
+ "data-testid": `${e.item.key}-copy-uuid-${A}`,
1193
+ uuid: C
1062
1194
  }), null, 16, ["data-testid", "uuid"]))), 128))
1063
- ], 8, Io)) : d.value.additionalComponent === "KMethodBadge" ? (g(), j("div", {
1195
+ ], 8, No)) : d.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1064
1196
  key: 2,
1065
1197
  class: "method-badge-array",
1066
1198
  "data-testid": `${e.item.key}-badge-methods`
1067
1199
  }, [
1068
- (g(!0), j(ve, null, ye(e.item.value, (k, x) => (g(), V(A, {
1069
- key: `${e.item.key}-badge-method-${x}`,
1200
+ (m(!0), $(ve, null, ye(e.item.value, (C, A) => (m(), R(S, {
1201
+ key: `${e.item.key}-badge-method-${A}`,
1070
1202
  class: "config-badge",
1071
- "data-testid": `${e.item.key}-badge-method-${x}`,
1203
+ "data-testid": `${e.item.key}-badge-method-${A}`,
1072
1204
  "is-rounded": "",
1073
- label: k,
1074
- method: y(kr).includes(k.toLowerCase()) ? k.toLowerCase() : "custom"
1205
+ label: C,
1206
+ method: y(_r).includes(C.toLowerCase()) ? C.toLowerCase() : "custom"
1075
1207
  }, {
1076
1208
  default: h(() => [
1077
- Z(K(k), 1)
1209
+ Z(N(C), 1)
1078
1210
  ]),
1079
1211
  _: 2
1080
1212
  }, 1032, ["data-testid", "label", "method"]))), 128))
1081
- ], 8, xo)) : G("", !0),
1082
- d.value.additionalComponent === "JsonCardItem" ? (g(), j("div", {
1213
+ ], 8, Fo)) : G("", !0),
1214
+ d.value.additionalComponent === "JsonCardItem" ? (m(), $("div", {
1083
1215
  key: 3,
1084
1216
  "data-testid": `${t.item.key}-json-array-content`
1085
1217
  }, [
1086
- (g(!0), j(ve, null, ye(e.item.value, (k, x) => (g(), V(hn, {
1087
- key: `json-array-item-${x}`,
1088
- index: x,
1218
+ (m(!0), $(ve, null, ye(e.item.value, (C, A) => (m(), R(_n, {
1219
+ key: `json-array-item-${A}`,
1220
+ index: A,
1089
1221
  "is-array-item": "",
1090
- item: k
1222
+ item: C
1091
1223
  }, null, 8, ["index", "item"]))), 128))
1092
- ], 8, Ao)) : (g(), V(b, {
1224
+ ], 8, Ko)) : (m(), R(b, {
1093
1225
  key: 4,
1094
- label: y(m) ? e.item.value : ""
1226
+ label: y(g) ? e.item.value : ""
1095
1227
  }, {
1096
1228
  default: h(() => [
1097
- R("span", {
1229
+ V("span", {
1098
1230
  ref_key: "textContent",
1099
1231
  ref: u,
1100
1232
  class: Fe(["attrs-data-text", { truncated: e.truncated }])
1101
- }, K(d.value.text), 3)
1233
+ }, N(d.value.text), 3)
1102
1234
  ]),
1103
1235
  _: 1
1104
1236
  }, 8, ["label"]))
1105
1237
  ]),
1106
1238
  _: 1
1107
1239
  }, 16))
1108
- ])) : (g(), j("div", {
1240
+ ])) : (m(), $("div", {
1109
1241
  key: 0,
1110
1242
  "data-testid": `${e.item.key}-no-value`
1111
- }, " – ", 8, Co))
1243
+ }, " – ", 8, jo))
1112
1244
  ], !0)
1113
- ], 8, ko)
1245
+ ], 8, Mo)
1114
1246
  ]);
1115
1247
  };
1116
1248
  }
1117
- }), St = /* @__PURE__ */ Ce(To, [["__scopeId", "data-v-307ab96d"]]);
1249
+ }), xt = /* @__PURE__ */ ke(Po, [["__scopeId", "data-v-307ab96d"]]);
1118
1250
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1119
- function vn(e) {
1251
+ function wn(e) {
1120
1252
  return typeof e > "u" || e === null;
1121
1253
  }
1122
- function $o(e) {
1254
+ function Lo(e) {
1123
1255
  return typeof e == "object" && e !== null;
1124
1256
  }
1125
- function Mo(e) {
1126
- return Array.isArray(e) ? e : vn(e) ? [] : [e];
1257
+ function qo(e) {
1258
+ return Array.isArray(e) ? e : wn(e) ? [] : [e];
1127
1259
  }
1128
- function jo(e, n) {
1260
+ function Uo(e, n) {
1129
1261
  var t, r, o, a;
1130
1262
  if (n)
1131
1263
  for (a = Object.keys(n), t = 0, r = a.length; t < r; t += 1)
1132
1264
  o = a[t], e[o] = n[o];
1133
1265
  return e;
1134
1266
  }
1135
- function Eo(e, n) {
1267
+ function Vo(e, n) {
1136
1268
  var t = "", r;
1137
1269
  for (r = 0; r < n; r += 1)
1138
1270
  t += e;
1139
1271
  return t;
1140
1272
  }
1141
- function Oo(e) {
1273
+ function Ro(e) {
1142
1274
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1143
1275
  }
1144
- var Ko = vn, Fo = $o, No = Mo, Bo = Eo, Po = Oo, Lo = jo, se = {
1145
- isNothing: Ko,
1146
- isObject: Fo,
1147
- toArray: No,
1148
- repeat: Bo,
1149
- isNegativeZero: Po,
1150
- extend: Lo
1276
+ var Do = wn, Go = Lo, zo = qo, Ho = Vo, Jo = Ro, Yo = Uo, se = {
1277
+ isNothing: Do,
1278
+ isObject: Go,
1279
+ toArray: zo,
1280
+ repeat: Ho,
1281
+ isNegativeZero: Jo,
1282
+ extend: Yo
1151
1283
  };
1152
- function bn(e, n) {
1284
+ function In(e, n) {
1153
1285
  var t = "", r = e.reason || "(unknown reason)";
1154
1286
  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 += `
1155
1287
 
1156
1288
  ` + e.mark.snippet), r + " " + t) : r;
1157
1289
  }
1158
1290
  function Je(e, n) {
1159
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = bn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1291
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = In(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1160
1292
  }
1161
1293
  Je.prototype = Object.create(Error.prototype);
1162
1294
  Je.prototype.constructor = Je;
1163
1295
  Je.prototype.toString = function(e) {
1164
- return this.name + ": " + bn(this, e);
1296
+ return this.name + ": " + In(this, e);
1165
1297
  };
1166
1298
  var me = Je;
1167
1299
  function mt(e, n, t, r, o) {
@@ -1175,7 +1307,7 @@ function mt(e, n, t, r, o) {
1175
1307
  function gt(e, n) {
1176
1308
  return se.repeat(" ", n - e.length) + e;
1177
1309
  }
1178
- function qo(e, n) {
1310
+ function Wo(e, n) {
1179
1311
  if (n = Object.create(n || null), !e.buffer)
1180
1312
  return null;
1181
1313
  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);
@@ -1205,7 +1337,7 @@ function qo(e, n) {
1205
1337
  `;
1206
1338
  return s.replace(/\n$/, "");
1207
1339
  }
1208
- var Uo = qo, Ro = [
1340
+ var Zo = Wo, Qo = [
1209
1341
  "kind",
1210
1342
  "multi",
1211
1343
  "resolve",
@@ -1216,12 +1348,12 @@ var Uo = qo, Ro = [
1216
1348
  "representName",
1217
1349
  "defaultStyle",
1218
1350
  "styleAliases"
1219
- ], Vo = [
1351
+ ], Xo = [
1220
1352
  "scalar",
1221
1353
  "sequence",
1222
1354
  "mapping"
1223
1355
  ];
1224
- function Do(e) {
1356
+ function ea(e) {
1225
1357
  var n = {};
1226
1358
  return e !== null && Object.keys(e).forEach(function(t) {
1227
1359
  e[t].forEach(function(r) {
@@ -1229,19 +1361,19 @@ function Do(e) {
1229
1361
  });
1230
1362
  }), n;
1231
1363
  }
1232
- function Go(e, n) {
1364
+ function ta(e, n) {
1233
1365
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1234
- if (Ro.indexOf(t) === -1)
1366
+ if (Qo.indexOf(t) === -1)
1235
1367
  throw new me('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1236
1368
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1237
1369
  return !0;
1238
1370
  }, this.construct = n.construct || function(t) {
1239
1371
  return t;
1240
- }, 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 = Do(n.styleAliases || null), Vo.indexOf(this.kind) === -1)
1372
+ }, 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 = ea(n.styleAliases || null), Xo.indexOf(this.kind) === -1)
1241
1373
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1242
1374
  }
1243
- var de = Go;
1244
- function zt(e, n) {
1375
+ var de = ta;
1376
+ function Ht(e, n) {
1245
1377
  var t = [];
1246
1378
  return e[n].forEach(function(r) {
1247
1379
  var o = t.length;
@@ -1250,7 +1382,7 @@ function zt(e, n) {
1250
1382
  }), t[o] = r;
1251
1383
  }), t;
1252
1384
  }
1253
- function zo() {
1385
+ function na() {
1254
1386
  var e = {
1255
1387
  scalar: {},
1256
1388
  sequence: {},
@@ -1295,47 +1427,47 @@ vt.prototype.extend = function(e) {
1295
1427
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1296
1428
  });
1297
1429
  var r = Object.create(vt.prototype);
1298
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = zt(r, "implicit"), r.compiledExplicit = zt(r, "explicit"), r.compiledTypeMap = zo(r.compiledImplicit, r.compiledExplicit), r;
1430
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Ht(r, "implicit"), r.compiledExplicit = Ht(r, "explicit"), r.compiledTypeMap = na(r.compiledImplicit, r.compiledExplicit), r;
1299
1431
  };
1300
- var kn = vt, Cn = new de("tag:yaml.org,2002:str", {
1432
+ var An = vt, Sn = new de("tag:yaml.org,2002:str", {
1301
1433
  kind: "scalar",
1302
1434
  construct: function(e) {
1303
1435
  return e !== null ? e : "";
1304
1436
  }
1305
- }), _n = new de("tag:yaml.org,2002:seq", {
1437
+ }), xn = new de("tag:yaml.org,2002:seq", {
1306
1438
  kind: "sequence",
1307
1439
  construct: function(e) {
1308
1440
  return e !== null ? e : [];
1309
1441
  }
1310
- }), wn = new de("tag:yaml.org,2002:map", {
1442
+ }), Tn = new de("tag:yaml.org,2002:map", {
1311
1443
  kind: "mapping",
1312
1444
  construct: function(e) {
1313
1445
  return e !== null ? e : {};
1314
1446
  }
1315
- }), In = new kn({
1447
+ }), $n = new An({
1316
1448
  explicit: [
1317
- Cn,
1318
- _n,
1319
- wn
1449
+ Sn,
1450
+ xn,
1451
+ Tn
1320
1452
  ]
1321
1453
  });
1322
- function Ho(e) {
1454
+ function ra(e) {
1323
1455
  if (e === null)
1324
1456
  return !0;
1325
1457
  var n = e.length;
1326
1458
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1327
1459
  }
1328
- function Jo() {
1460
+ function oa() {
1329
1461
  return null;
1330
1462
  }
1331
- function Wo(e) {
1463
+ function aa(e) {
1332
1464
  return e === null;
1333
1465
  }
1334
- var xn = new de("tag:yaml.org,2002:null", {
1466
+ var Mn = new de("tag:yaml.org,2002:null", {
1335
1467
  kind: "scalar",
1336
- resolve: Ho,
1337
- construct: Jo,
1338
- predicate: Wo,
1468
+ resolve: ra,
1469
+ construct: oa,
1470
+ predicate: aa,
1339
1471
  represent: {
1340
1472
  canonical: function() {
1341
1473
  return "~";
@@ -1355,23 +1487,23 @@ var xn = new de("tag:yaml.org,2002:null", {
1355
1487
  },
1356
1488
  defaultStyle: "lowercase"
1357
1489
  });
1358
- function Yo(e) {
1490
+ function ia(e) {
1359
1491
  if (e === null)
1360
1492
  return !1;
1361
1493
  var n = e.length;
1362
1494
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1363
1495
  }
1364
- function Zo(e) {
1496
+ function sa(e) {
1365
1497
  return e === "true" || e === "True" || e === "TRUE";
1366
1498
  }
1367
- function Qo(e) {
1499
+ function la(e) {
1368
1500
  return Object.prototype.toString.call(e) === "[object Boolean]";
1369
1501
  }
1370
- var An = new de("tag:yaml.org,2002:bool", {
1502
+ var jn = new de("tag:yaml.org,2002:bool", {
1371
1503
  kind: "scalar",
1372
- resolve: Yo,
1373
- construct: Zo,
1374
- predicate: Qo,
1504
+ resolve: ia,
1505
+ construct: sa,
1506
+ predicate: la,
1375
1507
  represent: {
1376
1508
  lowercase: function(e) {
1377
1509
  return e ? "true" : "false";
@@ -1385,16 +1517,16 @@ var An = new de("tag:yaml.org,2002:bool", {
1385
1517
  },
1386
1518
  defaultStyle: "lowercase"
1387
1519
  });
1388
- function Xo(e) {
1520
+ function ua(e) {
1389
1521
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1390
1522
  }
1391
- function ea(e) {
1523
+ function ca(e) {
1392
1524
  return 48 <= e && e <= 55;
1393
1525
  }
1394
- function ta(e) {
1526
+ function da(e) {
1395
1527
  return 48 <= e && e <= 57;
1396
1528
  }
1397
- function na(e) {
1529
+ function pa(e) {
1398
1530
  if (e === null)
1399
1531
  return !1;
1400
1532
  var n = e.length, t = 0, r = !1, o;
@@ -1415,7 +1547,7 @@ function na(e) {
1415
1547
  if (o === "x") {
1416
1548
  for (t++; t < n; t++)
1417
1549
  if (o = e[t], o !== "_") {
1418
- if (!Xo(e.charCodeAt(t)))
1550
+ if (!ua(e.charCodeAt(t)))
1419
1551
  return !1;
1420
1552
  r = !0;
1421
1553
  }
@@ -1424,7 +1556,7 @@ function na(e) {
1424
1556
  if (o === "o") {
1425
1557
  for (t++; t < n; t++)
1426
1558
  if (o = e[t], o !== "_") {
1427
- if (!ea(e.charCodeAt(t)))
1559
+ if (!ca(e.charCodeAt(t)))
1428
1560
  return !1;
1429
1561
  r = !0;
1430
1562
  }
@@ -1435,13 +1567,13 @@ function na(e) {
1435
1567
  return !1;
1436
1568
  for (; t < n; t++)
1437
1569
  if (o = e[t], o !== "_") {
1438
- if (!ta(e.charCodeAt(t)))
1570
+ if (!da(e.charCodeAt(t)))
1439
1571
  return !1;
1440
1572
  r = !0;
1441
1573
  }
1442
1574
  return !(!r || o === "_");
1443
1575
  }
1444
- function ra(e) {
1576
+ function fa(e) {
1445
1577
  var n = e, t = 1, r;
1446
1578
  if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (t = -1), n = n.slice(1), r = n[0]), n === "0")
1447
1579
  return 0;
@@ -1455,14 +1587,14 @@ function ra(e) {
1455
1587
  }
1456
1588
  return t * parseInt(n, 10);
1457
1589
  }
1458
- function oa(e) {
1590
+ function ma(e) {
1459
1591
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !se.isNegativeZero(e);
1460
1592
  }
1461
- var Sn = new de("tag:yaml.org,2002:int", {
1593
+ var En = new de("tag:yaml.org,2002:int", {
1462
1594
  kind: "scalar",
1463
- resolve: na,
1464
- construct: ra,
1465
- predicate: oa,
1595
+ resolve: pa,
1596
+ construct: fa,
1597
+ predicate: ma,
1466
1598
  represent: {
1467
1599
  binary: function(e) {
1468
1600
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1485,21 +1617,21 @@ var Sn = new de("tag:yaml.org,2002:int", {
1485
1617
  decimal: [10, "dec"],
1486
1618
  hexadecimal: [16, "hex"]
1487
1619
  }
1488
- }), aa = new RegExp(
1620
+ }), ga = new RegExp(
1489
1621
  // 2.5e4, 2.5 and integers
1490
1622
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1491
1623
  );
1492
- function ia(e) {
1493
- return !(e === null || !aa.test(e) || // Quick hack to not allow integers end with `_`
1624
+ function ya(e) {
1625
+ return !(e === null || !ga.test(e) || // Quick hack to not allow integers end with `_`
1494
1626
  // Probably should update regexp & check speed
1495
1627
  e[e.length - 1] === "_");
1496
1628
  }
1497
- function sa(e) {
1629
+ function ha(e) {
1498
1630
  var n, t;
1499
1631
  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);
1500
1632
  }
1501
- var la = /^[-+]?[0-9]+e/;
1502
- function ua(e, n) {
1633
+ var va = /^[-+]?[0-9]+e/;
1634
+ function ba(e, n) {
1503
1635
  var t;
1504
1636
  if (isNaN(e))
1505
1637
  switch (n) {
@@ -1530,36 +1662,36 @@ function ua(e, n) {
1530
1662
  }
1531
1663
  else if (se.isNegativeZero(e))
1532
1664
  return "-0.0";
1533
- return t = e.toString(10), la.test(t) ? t.replace("e", ".e") : t;
1665
+ return t = e.toString(10), va.test(t) ? t.replace("e", ".e") : t;
1534
1666
  }
1535
- function ca(e) {
1667
+ function Ca(e) {
1536
1668
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || se.isNegativeZero(e));
1537
1669
  }
1538
- var Tn = new de("tag:yaml.org,2002:float", {
1670
+ var On = new de("tag:yaml.org,2002:float", {
1539
1671
  kind: "scalar",
1540
- resolve: ia,
1541
- construct: sa,
1542
- predicate: ca,
1543
- represent: ua,
1672
+ resolve: ya,
1673
+ construct: ha,
1674
+ predicate: Ca,
1675
+ represent: ba,
1544
1676
  defaultStyle: "lowercase"
1545
- }), $n = In.extend({
1677
+ }), Nn = $n.extend({
1546
1678
  implicit: [
1547
- xn,
1548
- An,
1549
- Sn,
1550
- Tn
1679
+ Mn,
1680
+ jn,
1681
+ En,
1682
+ On
1551
1683
  ]
1552
- }), Mn = $n, jn = new RegExp(
1684
+ }), Fn = Nn, Kn = new RegExp(
1553
1685
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1554
- ), En = new RegExp(
1686
+ ), Bn = new RegExp(
1555
1687
  "^([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]))?))?$"
1556
1688
  );
1557
- function da(e) {
1558
- return e === null ? !1 : jn.exec(e) !== null || En.exec(e) !== null;
1689
+ function ka(e) {
1690
+ return e === null ? !1 : Kn.exec(e) !== null || Bn.exec(e) !== null;
1559
1691
  }
1560
- function pa(e) {
1561
- var n, t, r, o, a, i, s, l = 0, c = null, d, u, m;
1562
- if (n = jn.exec(e), n === null && (n = En.exec(e)), n === null)
1692
+ function _a(e) {
1693
+ var n, t, r, o, a, i, s, l = 0, c = null, d, u, g;
1694
+ if (n = Kn.exec(e), n === null && (n = Bn.exec(e)), n === null)
1563
1695
  throw new Error("Date resolve error");
1564
1696
  if (t = +n[1], r = +n[2] - 1, o = +n[3], !n[4])
1565
1697
  return new Date(Date.UTC(t, r, o));
@@ -1568,27 +1700,27 @@ function pa(e) {
1568
1700
  l += "0";
1569
1701
  l = +l;
1570
1702
  }
1571
- return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), m = new Date(Date.UTC(t, r, o, a, i, s, l)), c && m.setTime(m.getTime() - c), m;
1703
+ return n[9] && (d = +n[10], u = +(n[11] || 0), c = (d * 60 + u) * 6e4, n[9] === "-" && (c = -c)), g = new Date(Date.UTC(t, r, o, a, i, s, l)), c && g.setTime(g.getTime() - c), g;
1572
1704
  }
1573
- function fa(e) {
1705
+ function wa(e) {
1574
1706
  return e.toISOString();
1575
1707
  }
1576
- var On = new de("tag:yaml.org,2002:timestamp", {
1708
+ var Pn = new de("tag:yaml.org,2002:timestamp", {
1577
1709
  kind: "scalar",
1578
- resolve: da,
1579
- construct: pa,
1710
+ resolve: ka,
1711
+ construct: _a,
1580
1712
  instanceOf: Date,
1581
- represent: fa
1713
+ represent: wa
1582
1714
  });
1583
- function ma(e) {
1715
+ function Ia(e) {
1584
1716
  return e === "<<" || e === null;
1585
1717
  }
1586
- var Kn = new de("tag:yaml.org,2002:merge", {
1718
+ var Ln = new de("tag:yaml.org,2002:merge", {
1587
1719
  kind: "scalar",
1588
- resolve: ma
1720
+ resolve: Ia
1589
1721
  }), Tt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1590
1722
  \r`;
1591
- function ga(e) {
1723
+ function Aa(e) {
1592
1724
  if (e === null)
1593
1725
  return !1;
1594
1726
  var n, t, r = 0, o = e.length, a = Tt;
@@ -1600,37 +1732,37 @@ function ga(e) {
1600
1732
  }
1601
1733
  return r % 8 === 0;
1602
1734
  }
1603
- function ya(e) {
1735
+ function Sa(e) {
1604
1736
  var n, t, r = e.replace(/[\r\n=]/g, ""), o = r.length, a = Tt, i = 0, s = [];
1605
1737
  for (n = 0; n < o; n++)
1606
1738
  n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | a.indexOf(r.charAt(n));
1607
1739
  return t = o % 4 * 6, t === 0 ? (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)) : t === 18 ? (s.push(i >> 10 & 255), s.push(i >> 2 & 255)) : t === 12 && s.push(i >> 4 & 255), new Uint8Array(s);
1608
1740
  }
1609
- function ha(e) {
1741
+ function xa(e) {
1610
1742
  var n = "", t = 0, r, o, a = e.length, i = Tt;
1611
1743
  for (r = 0; r < a; r++)
1612
1744
  r % 3 === 0 && r && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[r];
1613
1745
  return o = a % 3, o === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : o === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : o === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1614
1746
  }
1615
- function va(e) {
1747
+ function Ta(e) {
1616
1748
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1617
1749
  }
1618
- var Fn = new de("tag:yaml.org,2002:binary", {
1750
+ var qn = new de("tag:yaml.org,2002:binary", {
1619
1751
  kind: "scalar",
1620
- resolve: ga,
1621
- construct: ya,
1622
- predicate: va,
1623
- represent: ha
1624
- }), ba = Object.prototype.hasOwnProperty, ka = Object.prototype.toString;
1625
- function Ca(e) {
1752
+ resolve: Aa,
1753
+ construct: Sa,
1754
+ predicate: Ta,
1755
+ represent: xa
1756
+ }), $a = Object.prototype.hasOwnProperty, Ma = Object.prototype.toString;
1757
+ function ja(e) {
1626
1758
  if (e === null)
1627
1759
  return !0;
1628
1760
  var n = [], t, r, o, a, i, s = e;
1629
1761
  for (t = 0, r = s.length; t < r; t += 1) {
1630
- if (o = s[t], i = !1, ka.call(o) !== "[object Object]")
1762
+ if (o = s[t], i = !1, Ma.call(o) !== "[object Object]")
1631
1763
  return !1;
1632
1764
  for (a in o)
1633
- if (ba.call(o, a))
1765
+ if ($a.call(o, a))
1634
1766
  if (!i)
1635
1767
  i = !0;
1636
1768
  else
@@ -1644,26 +1776,26 @@ function Ca(e) {
1644
1776
  }
1645
1777
  return !0;
1646
1778
  }
1647
- function _a(e) {
1779
+ function Ea(e) {
1648
1780
  return e !== null ? e : [];
1649
1781
  }
1650
- var Nn = new de("tag:yaml.org,2002:omap", {
1782
+ var Un = new de("tag:yaml.org,2002:omap", {
1651
1783
  kind: "sequence",
1652
- resolve: Ca,
1653
- construct: _a
1654
- }), wa = Object.prototype.toString;
1655
- function Ia(e) {
1784
+ resolve: ja,
1785
+ construct: Ea
1786
+ }), Oa = Object.prototype.toString;
1787
+ function Na(e) {
1656
1788
  if (e === null)
1657
1789
  return !0;
1658
1790
  var n, t, r, o, a, i = e;
1659
1791
  for (a = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1660
- if (r = i[n], wa.call(r) !== "[object Object]" || (o = Object.keys(r), o.length !== 1))
1792
+ if (r = i[n], Oa.call(r) !== "[object Object]" || (o = Object.keys(r), o.length !== 1))
1661
1793
  return !1;
1662
1794
  a[n] = [o[0], r[o[0]]];
1663
1795
  }
1664
1796
  return !0;
1665
1797
  }
1666
- function xa(e) {
1798
+ function Fa(e) {
1667
1799
  if (e === null)
1668
1800
  return [];
1669
1801
  var n, t, r, o, a, i = e;
@@ -1671,46 +1803,46 @@ function xa(e) {
1671
1803
  r = i[n], o = Object.keys(r), a[n] = [o[0], r[o[0]]];
1672
1804
  return a;
1673
1805
  }
1674
- var Bn = new de("tag:yaml.org,2002:pairs", {
1806
+ var Vn = new de("tag:yaml.org,2002:pairs", {
1675
1807
  kind: "sequence",
1676
- resolve: Ia,
1677
- construct: xa
1678
- }), Aa = Object.prototype.hasOwnProperty;
1679
- function Sa(e) {
1808
+ resolve: Na,
1809
+ construct: Fa
1810
+ }), Ka = Object.prototype.hasOwnProperty;
1811
+ function Ba(e) {
1680
1812
  if (e === null)
1681
1813
  return !0;
1682
1814
  var n, t = e;
1683
1815
  for (n in t)
1684
- if (Aa.call(t, n) && t[n] !== null)
1816
+ if (Ka.call(t, n) && t[n] !== null)
1685
1817
  return !1;
1686
1818
  return !0;
1687
1819
  }
1688
- function Ta(e) {
1820
+ function Pa(e) {
1689
1821
  return e !== null ? e : {};
1690
1822
  }
1691
- var Pn = new de("tag:yaml.org,2002:set", {
1823
+ var Rn = new de("tag:yaml.org,2002:set", {
1692
1824
  kind: "mapping",
1693
- resolve: Sa,
1694
- construct: Ta
1695
- }), $t = Mn.extend({
1825
+ resolve: Ba,
1826
+ construct: Pa
1827
+ }), $t = Fn.extend({
1696
1828
  implicit: [
1697
- On,
1698
- Kn
1829
+ Pn,
1830
+ Ln
1699
1831
  ],
1700
1832
  explicit: [
1701
- Fn,
1702
- Nn,
1703
- Bn,
1704
- Pn
1833
+ qn,
1834
+ Un,
1835
+ Vn,
1836
+ Rn
1705
1837
  ]
1706
- }), je = Object.prototype.hasOwnProperty, ot = 1, Ln = 2, qn = 3, at = 4, yt = 1, $a = 2, Ht = 3, Ma = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ja = /[\x85\u2028\u2029]/, Ea = /[,\[\]\{\}]/, Un = /^(?:!|!!|![a-z\-]+!)$/i, Rn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1707
- function Jt(e) {
1838
+ }), je = Object.prototype.hasOwnProperty, ot = 1, Dn = 2, Gn = 3, at = 4, yt = 1, La = 2, Jt = 3, qa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ua = /[\x85\u2028\u2029]/, Va = /[,\[\]\{\}]/, zn = /^(?:!|!!|![a-z\-]+!)$/i, Hn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1839
+ function Yt(e) {
1708
1840
  return Object.prototype.toString.call(e);
1709
1841
  }
1710
1842
  function we(e) {
1711
1843
  return e === 10 || e === 13;
1712
1844
  }
1713
- function Ke(e) {
1845
+ function Ne(e) {
1714
1846
  return e === 9 || e === 32;
1715
1847
  }
1716
1848
  function he(e) {
@@ -1719,33 +1851,33 @@ function he(e) {
1719
1851
  function qe(e) {
1720
1852
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1721
1853
  }
1722
- function Oa(e) {
1854
+ function Ra(e) {
1723
1855
  var n;
1724
1856
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1725
1857
  }
1726
- function Ka(e) {
1858
+ function Da(e) {
1727
1859
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1728
1860
  }
1729
- function Fa(e) {
1861
+ function Ga(e) {
1730
1862
  return 48 <= e && e <= 57 ? e - 48 : -1;
1731
1863
  }
1732
1864
  function Wt(e) {
1733
1865
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1734
1866
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1735
1867
  }
1736
- function Na(e) {
1868
+ function za(e) {
1737
1869
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1738
1870
  (e - 65536 >> 10) + 55296,
1739
1871
  (e - 65536 & 1023) + 56320
1740
1872
  );
1741
1873
  }
1742
- var Vn = new Array(256), Dn = new Array(256);
1874
+ var Jn = new Array(256), Yn = new Array(256);
1743
1875
  for (var Pe = 0; Pe < 256; Pe++)
1744
- Vn[Pe] = Wt(Pe) ? 1 : 0, Dn[Pe] = Wt(Pe);
1745
- function Ba(e, n) {
1876
+ Jn[Pe] = Wt(Pe) ? 1 : 0, Yn[Pe] = Wt(Pe);
1877
+ function Ha(e, n) {
1746
1878
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, 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 = [];
1747
1879
  }
1748
- function Gn(e, n) {
1880
+ function Wn(e, n) {
1749
1881
  var t = {
1750
1882
  name: e.filename,
1751
1883
  buffer: e.input.slice(0, -1),
@@ -1754,26 +1886,26 @@ function Gn(e, n) {
1754
1886
  line: e.line,
1755
1887
  column: e.position - e.lineStart
1756
1888
  };
1757
- return t.snippet = Uo(t), new me(n, t);
1889
+ return t.snippet = Zo(t), new me(n, t);
1758
1890
  }
1759
- function $(e, n) {
1760
- throw Gn(e, n);
1891
+ function j(e, n) {
1892
+ throw Wn(e, n);
1761
1893
  }
1762
1894
  function it(e, n) {
1763
- e.onWarning && e.onWarning.call(null, Gn(e, n));
1895
+ e.onWarning && e.onWarning.call(null, Wn(e, n));
1764
1896
  }
1765
- var Yt = {
1897
+ var Zt = {
1766
1898
  YAML: function(e, n, t) {
1767
1899
  var r, o, a;
1768
- e.version !== null && $(e, "duplication of %YAML directive"), t.length !== 1 && $(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && $(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && $(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && it(e, "unsupported YAML version of the document");
1900
+ e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && j(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && it(e, "unsupported YAML version of the document");
1769
1901
  },
1770
1902
  TAG: function(e, n, t) {
1771
1903
  var r, o;
1772
- t.length !== 2 && $(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], Un.test(r) || $(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && $(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Rn.test(o) || $(e, "ill-formed tag prefix (second argument) of the TAG directive");
1904
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], zn.test(r) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && j(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Hn.test(o) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1773
1905
  try {
1774
1906
  o = decodeURIComponent(o);
1775
1907
  } catch {
1776
- $(e, "tag prefix is malformed: " + o);
1908
+ j(e, "tag prefix is malformed: " + o);
1777
1909
  }
1778
1910
  e.tagMap[r] = o;
1779
1911
  }
@@ -1783,30 +1915,30 @@ function Me(e, n, t, r) {
1783
1915
  if (n < t) {
1784
1916
  if (s = e.input.slice(n, t), r)
1785
1917
  for (o = 0, a = s.length; o < a; o += 1)
1786
- i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || $(e, "expected valid JSON character");
1918
+ i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || j(e, "expected valid JSON character");
1787
1919
  else
1788
- Ma.test(s) && $(e, "the stream contains non-printable characters");
1920
+ qa.test(s) && j(e, "the stream contains non-printable characters");
1789
1921
  e.result += s;
1790
1922
  }
1791
1923
  }
1792
- function Zt(e, n, t, r) {
1924
+ function Qt(e, n, t, r) {
1793
1925
  var o, a, i, s;
1794
- for (se.isObject(t) || $(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1926
+ for (se.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1795
1927
  a = o[i], je.call(n, a) || (n[a] = t[a], r[a] = !0);
1796
1928
  }
1797
1929
  function Ue(e, n, t, r, o, a, i, s, l) {
1798
1930
  var c, d;
1799
1931
  if (Array.isArray(o))
1800
1932
  for (o = Array.prototype.slice.call(o), c = 0, d = o.length; c < d; c += 1)
1801
- Array.isArray(o[c]) && $(e, "nested arrays are not supported inside keys"), typeof o == "object" && Jt(o[c]) === "[object Object]" && (o[c] = "[object Object]");
1802
- if (typeof o == "object" && Jt(o) === "[object Object]" && (o = "[object Object]"), o = String(o), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1933
+ Array.isArray(o[c]) && j(e, "nested arrays are not supported inside keys"), typeof o == "object" && Yt(o[c]) === "[object Object]" && (o[c] = "[object Object]");
1934
+ if (typeof o == "object" && Yt(o) === "[object Object]" && (o = "[object Object]"), o = String(o), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1803
1935
  if (Array.isArray(a))
1804
1936
  for (c = 0, d = a.length; c < d; c += 1)
1805
- Zt(e, n, a[c], t);
1937
+ Qt(e, n, a[c], t);
1806
1938
  else
1807
- Zt(e, n, a, t);
1939
+ Qt(e, n, a, t);
1808
1940
  else
1809
- !e.json && !je.call(t, o) && je.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, $(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1941
+ !e.json && !je.call(t, o) && je.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, j(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1810
1942
  configurable: !0,
1811
1943
  enumerable: !0,
1812
1944
  writable: !0,
@@ -1816,11 +1948,11 @@ function Ue(e, n, t, r, o, a, i, s, l) {
1816
1948
  }
1817
1949
  function Mt(e) {
1818
1950
  var n;
1819
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : $(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1951
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1820
1952
  }
1821
- function oe(e, n, t) {
1953
+ function ae(e, n, t) {
1822
1954
  for (var r = 0, o = e.input.charCodeAt(e.position); o !== 0; ) {
1823
- for (; Ke(o); )
1955
+ for (; Ne(o); )
1824
1956
  o === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), o = e.input.charCodeAt(++e.position);
1825
1957
  if (n && o === 35)
1826
1958
  do
@@ -1842,8 +1974,8 @@ function jt(e, n) {
1842
1974
  n === 1 ? e.result += " " : n > 1 && (e.result += se.repeat(`
1843
1975
  `, n - 1));
1844
1976
  }
1845
- function Pa(e, n, t) {
1846
- var r, o, a, i, s, l, c, d, u = e.kind, m = e.result, f;
1977
+ function Ja(e, n, t) {
1978
+ var r, o, a, i, s, l, c, d, u = e.kind, g = e.result, f;
1847
1979
  if (f = e.input.charCodeAt(e.position), he(f) || qe(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (o = e.input.charCodeAt(e.position + 1), he(o) || t && qe(o)))
1848
1980
  return !1;
1849
1981
  for (e.kind = "scalar", e.result = "", a = i = e.position, s = !1; f !== 0; ) {
@@ -1857,7 +1989,7 @@ function Pa(e, n, t) {
1857
1989
  if (e.position === e.lineStart && dt(e) || t && qe(f))
1858
1990
  break;
1859
1991
  if (we(f))
1860
- if (l = e.line, c = e.lineStart, d = e.lineIndent, oe(e, !1, -1), e.lineIndent >= n) {
1992
+ if (l = e.line, c = e.lineStart, d = e.lineIndent, ae(e, !1, -1), e.lineIndent >= n) {
1861
1993
  s = !0, f = e.input.charCodeAt(e.position);
1862
1994
  continue;
1863
1995
  } else {
@@ -1865,11 +1997,11 @@ function Pa(e, n, t) {
1865
1997
  break;
1866
1998
  }
1867
1999
  }
1868
- s && (Me(e, a, i, !1), jt(e, e.line - l), a = i = e.position, s = !1), Ke(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
2000
+ s && (Me(e, a, i, !1), jt(e, e.line - l), a = i = e.position, s = !1), Ne(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1869
2001
  }
1870
- return Me(e, a, i, !1), e.result ? !0 : (e.kind = u, e.result = m, !1);
2002
+ return Me(e, a, i, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1871
2003
  }
1872
- function La(e, n) {
2004
+ function Ya(e, n) {
1873
2005
  var t, r, o;
1874
2006
  if (t = e.input.charCodeAt(e.position), t !== 39)
1875
2007
  return !1;
@@ -1880,10 +2012,10 @@ function La(e, n) {
1880
2012
  else
1881
2013
  return !0;
1882
2014
  else
1883
- we(t) ? (Me(e, r, o, !0), jt(e, oe(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? $(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1884
- $(e, "unexpected end of the stream within a single quoted scalar");
2015
+ we(t) ? (Me(e, r, o, !0), jt(e, ae(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
2016
+ j(e, "unexpected end of the stream within a single quoted scalar");
1885
2017
  }
1886
- function qa(e, n) {
2018
+ function Wa(e, n) {
1887
2019
  var t, r, o, a, i, s;
1888
2020
  if (s = e.input.charCodeAt(e.position), s !== 34)
1889
2021
  return !1;
@@ -1892,23 +2024,23 @@ function qa(e, n) {
1892
2024
  return Me(e, t, e.position, !0), e.position++, !0;
1893
2025
  if (s === 92) {
1894
2026
  if (Me(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), we(s))
1895
- oe(e, !1, n);
1896
- else if (s < 256 && Vn[s])
1897
- e.result += Dn[s], e.position++;
1898
- else if ((i = Ka(s)) > 0) {
2027
+ ae(e, !1, n);
2028
+ else if (s < 256 && Jn[s])
2029
+ e.result += Yn[s], e.position++;
2030
+ else if ((i = Da(s)) > 0) {
1899
2031
  for (o = i, a = 0; o > 0; o--)
1900
- s = e.input.charCodeAt(++e.position), (i = Oa(s)) >= 0 ? a = (a << 4) + i : $(e, "expected hexadecimal character");
1901
- e.result += Na(a), e.position++;
2032
+ s = e.input.charCodeAt(++e.position), (i = Ra(s)) >= 0 ? a = (a << 4) + i : j(e, "expected hexadecimal character");
2033
+ e.result += za(a), e.position++;
1902
2034
  } else
1903
- $(e, "unknown escape sequence");
2035
+ j(e, "unknown escape sequence");
1904
2036
  t = r = e.position;
1905
2037
  } else
1906
- we(s) ? (Me(e, t, r, !0), jt(e, oe(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? $(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
2038
+ we(s) ? (Me(e, t, r, !0), jt(e, ae(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1907
2039
  }
1908
- $(e, "unexpected end of the stream within a double quoted scalar");
2040
+ j(e, "unexpected end of the stream within a double quoted scalar");
1909
2041
  }
1910
- function Ua(e, n) {
1911
- var t = !0, r, o, a, i = e.tag, s, l = e.anchor, c, d, u, m, f, I = /* @__PURE__ */ Object.create(null), v, p, A, b;
2042
+ function Za(e, n) {
2043
+ var t = !0, r, o, a, i = e.tag, s, l = e.anchor, c, d, u, g, f, I = /* @__PURE__ */ Object.create(null), v, p, S, b;
1912
2044
  if (b = e.input.charCodeAt(e.position), b === 91)
1913
2045
  d = 93, f = !1, s = [];
1914
2046
  else if (b === 123)
@@ -1916,13 +2048,13 @@ function Ua(e, n) {
1916
2048
  else
1917
2049
  return !1;
1918
2050
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), b = e.input.charCodeAt(++e.position); b !== 0; ) {
1919
- if (oe(e, !0, n), b = e.input.charCodeAt(e.position), b === d)
2051
+ if (ae(e, !0, n), b = e.input.charCodeAt(e.position), b === d)
1920
2052
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
1921
- t ? b === 44 && $(e, "expected the node content, but found ','") : $(e, "missed comma between flow collection entries"), p = v = A = null, u = m = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (u = m = !0, e.position++, oe(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Re(e, n, ot, !1, !0), p = e.tag, v = e.result, oe(e, !0, n), b = e.input.charCodeAt(e.position), (m || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), oe(e, !0, n), Re(e, n, ot, !1, !0), A = e.result), f ? Ue(e, s, I, p, v, A, r, o, a) : u ? s.push(Ue(e, null, I, p, v, A, r, o, a)) : s.push(v), oe(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
2053
+ t ? b === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = v = S = null, u = g = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (u = g = !0, e.position++, ae(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Re(e, n, ot, !1, !0), p = e.tag, v = e.result, ae(e, !0, n), b = e.input.charCodeAt(e.position), (g || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), ae(e, !0, n), Re(e, n, ot, !1, !0), S = e.result), f ? Ue(e, s, I, p, v, S, r, o, a) : u ? s.push(Ue(e, null, I, p, v, S, r, o, a)) : s.push(v), ae(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
1922
2054
  }
1923
- $(e, "unexpected end of the stream within a flow collection");
2055
+ j(e, "unexpected end of the stream within a flow collection");
1924
2056
  }
1925
- function Ra(e, n) {
2057
+ function Qa(e, n) {
1926
2058
  var t, r, o = yt, a = !1, i = !1, s = n, l = 0, c = !1, d, u;
1927
2059
  if (u = e.input.charCodeAt(e.position), u === 124)
1928
2060
  r = !1;
@@ -1932,15 +2064,15 @@ function Ra(e, n) {
1932
2064
  return !1;
1933
2065
  for (e.kind = "scalar", e.result = ""; u !== 0; )
1934
2066
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
1935
- yt === o ? o = u === 43 ? Ht : $a : $(e, "repeat of a chomping mode identifier");
1936
- else if ((d = Fa(u)) >= 0)
1937
- d === 0 ? $(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? $(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2067
+ yt === o ? o = u === 43 ? Jt : La : j(e, "repeat of a chomping mode identifier");
2068
+ else if ((d = Ga(u)) >= 0)
2069
+ d === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? j(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
1938
2070
  else
1939
2071
  break;
1940
- if (Ke(u)) {
2072
+ if (Ne(u)) {
1941
2073
  do
1942
2074
  u = e.input.charCodeAt(++e.position);
1943
- while (Ke(u));
2075
+ while (Ne(u));
1944
2076
  if (u === 35)
1945
2077
  do
1946
2078
  u = e.input.charCodeAt(++e.position);
@@ -1954,12 +2086,12 @@ function Ra(e, n) {
1954
2086
  continue;
1955
2087
  }
1956
2088
  if (e.lineIndent < s) {
1957
- o === Ht ? e.result += se.repeat(`
2089
+ o === Jt ? e.result += se.repeat(`
1958
2090
  `, a ? 1 + l : l) : o === yt && a && (e.result += `
1959
2091
  `);
1960
2092
  break;
1961
2093
  }
1962
- for (r ? Ke(u) ? (c = !0, e.result += se.repeat(`
2094
+ for (r ? Ne(u) ? (c = !0, e.result += se.repeat(`
1963
2095
  `, a ? 1 + l : l)) : c ? (c = !1, e.result += se.repeat(`
1964
2096
  `, l + 1)) : l === 0 ? a && (e.result += " ") : e.result += se.repeat(`
1965
2097
  `, l) : e.result += se.repeat(`
@@ -1969,100 +2101,100 @@ function Ra(e, n) {
1969
2101
  }
1970
2102
  return !0;
1971
2103
  }
1972
- function Qt(e, n) {
2104
+ function Xt(e, n) {
1973
2105
  var t, r = e.tag, o = e.anchor, a = [], i, s = !1, l;
1974
2106
  if (e.firstTabInLine !== -1)
1975
2107
  return !1;
1976
- for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, $(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !he(i)))); ) {
1977
- if (s = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= n) {
2108
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !he(i)))); ) {
2109
+ if (s = !0, e.position++, ae(e, !0, -1) && e.lineIndent <= n) {
1978
2110
  a.push(null), l = e.input.charCodeAt(e.position);
1979
2111
  continue;
1980
2112
  }
1981
- if (t = e.line, Re(e, n, qn, !1, !0), a.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1982
- $(e, "bad indentation of a sequence entry");
2113
+ if (t = e.line, Re(e, n, Gn, !1, !0), a.push(e.result), ae(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2114
+ j(e, "bad indentation of a sequence entry");
1983
2115
  else if (e.lineIndent < n)
1984
2116
  break;
1985
2117
  }
1986
2118
  return s ? (e.tag = r, e.anchor = o, e.kind = "sequence", e.result = a, !0) : !1;
1987
2119
  }
1988
- function Va(e, n, t) {
1989
- var r, o, a, i, s, l, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, I = null, v = null, p = !1, A = !1, b;
2120
+ function Xa(e, n, t) {
2121
+ var r, o, a, i, s, l, c = e.tag, d = e.anchor, u = {}, g = /* @__PURE__ */ Object.create(null), f = null, I = null, v = null, p = !1, S = !1, b;
1990
2122
  if (e.firstTabInLine !== -1)
1991
2123
  return !1;
1992
2124
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
1993
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, $(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (b === 63 || b === 58) && he(r))
1994
- b === 63 ? (p && (Ue(e, u, m, f, I, null, i, s, l), f = I = v = null), A = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : $(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
2125
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (b === 63 || b === 58) && he(r))
2126
+ b === 63 ? (p && (Ue(e, u, g, f, I, null, i, s, l), f = I = v = null), S = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
1995
2127
  else {
1996
- if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Ln, !1, !0))
2128
+ if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Dn, !1, !0))
1997
2129
  break;
1998
2130
  if (e.line === a) {
1999
- for (b = e.input.charCodeAt(e.position); Ke(b); )
2131
+ for (b = e.input.charCodeAt(e.position); Ne(b); )
2000
2132
  b = e.input.charCodeAt(++e.position);
2001
2133
  if (b === 58)
2002
- b = e.input.charCodeAt(++e.position), he(b) || $(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, u, m, f, I, null, i, s, l), f = I = v = null), A = !0, p = !1, o = !1, f = e.tag, I = e.result;
2003
- else if (A)
2004
- $(e, "can not read an implicit mapping pair; a colon is missed");
2134
+ b = e.input.charCodeAt(++e.position), he(b) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, u, g, f, I, null, i, s, l), f = I = v = null), S = !0, p = !1, o = !1, f = e.tag, I = e.result;
2135
+ else if (S)
2136
+ j(e, "can not read an implicit mapping pair; a colon is missed");
2005
2137
  else
2006
2138
  return e.tag = c, e.anchor = d, !0;
2007
- } else if (A)
2008
- $(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2139
+ } else if (S)
2140
+ j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2009
2141
  else
2010
2142
  return e.tag = c, e.anchor = d, !0;
2011
2143
  }
2012
- if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, o) && (p ? I = e.result : v = e.result), p || (Ue(e, u, m, f, I, v, i, s, l), f = I = v = null), oe(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && b !== 0)
2013
- $(e, "bad indentation of a mapping entry");
2144
+ if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, o) && (p ? I = e.result : v = e.result), p || (Ue(e, u, g, f, I, v, i, s, l), f = I = v = null), ae(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && b !== 0)
2145
+ j(e, "bad indentation of a mapping entry");
2014
2146
  else if (e.lineIndent < n)
2015
2147
  break;
2016
2148
  }
2017
- return p && Ue(e, u, m, f, I, null, i, s, l), A && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), A;
2149
+ return p && Ue(e, u, g, f, I, null, i, s, l), S && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), S;
2018
2150
  }
2019
- function Da(e) {
2151
+ function ei(e) {
2020
2152
  var n, t = !1, r = !1, o, a, i;
2021
2153
  if (i = e.input.charCodeAt(e.position), i !== 33)
2022
2154
  return !1;
2023
- if (e.tag !== null && $(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, o = "!!", i = e.input.charCodeAt(++e.position)) : o = "!", n = e.position, t) {
2155
+ if (e.tag !== null && j(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, o = "!!", i = e.input.charCodeAt(++e.position)) : o = "!", n = e.position, t) {
2024
2156
  do
2025
2157
  i = e.input.charCodeAt(++e.position);
2026
2158
  while (i !== 0 && i !== 62);
2027
- e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : $(e, "unexpected end of the stream within a verbatim tag");
2159
+ e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2028
2160
  } else {
2029
2161
  for (; i !== 0 && !he(i); )
2030
- i === 33 && (r ? $(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), Un.test(o) || $(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2031
- a = e.input.slice(n, e.position), Ea.test(a) && $(e, "tag suffix cannot contain flow indicator characters");
2162
+ i === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), zn.test(o) || j(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2163
+ a = e.input.slice(n, e.position), Va.test(a) && j(e, "tag suffix cannot contain flow indicator characters");
2032
2164
  }
2033
- a && !Rn.test(a) && $(e, "tag name cannot contain such characters: " + a);
2165
+ a && !Hn.test(a) && j(e, "tag name cannot contain such characters: " + a);
2034
2166
  try {
2035
2167
  a = decodeURIComponent(a);
2036
2168
  } catch {
2037
- $(e, "tag name is malformed: " + a);
2169
+ j(e, "tag name is malformed: " + a);
2038
2170
  }
2039
- return t ? e.tag = a : je.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : $(e, 'undeclared tag handle "' + o + '"'), !0;
2171
+ return t ? e.tag = a : je.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : j(e, 'undeclared tag handle "' + o + '"'), !0;
2040
2172
  }
2041
- function Ga(e) {
2173
+ function ti(e) {
2042
2174
  var n, t;
2043
2175
  if (t = e.input.charCodeAt(e.position), t !== 38)
2044
2176
  return !1;
2045
- for (e.anchor !== null && $(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !qe(t); )
2177
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !qe(t); )
2046
2178
  t = e.input.charCodeAt(++e.position);
2047
- return e.position === n && $(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2179
+ return e.position === n && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2048
2180
  }
2049
- function za(e) {
2181
+ function ni(e) {
2050
2182
  var n, t, r;
2051
2183
  if (r = e.input.charCodeAt(e.position), r !== 42)
2052
2184
  return !1;
2053
2185
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !he(r) && !qe(r); )
2054
2186
  r = e.input.charCodeAt(++e.position);
2055
- return e.position === n && $(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || $(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2187
+ return e.position === n && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ae(e, !0, -1), !0;
2056
2188
  }
2057
2189
  function Re(e, n, t, r, o) {
2058
- var a, i, s, l = 1, c = !1, d = !1, u, m, f, I, v, p;
2059
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = i = s = at === t || qn === t, r && oe(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2060
- for (; Da(e) || Ga(e); )
2061
- oe(e, !0, -1) ? (c = !0, s = a, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2062
- if (s && (s = c || o), (l === 1 || at === t) && (ot === t || Ln === t ? v = n : v = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Qt(e, p) || Va(e, p, v)) || Ua(e, v) ? d = !0 : (i && Ra(e, v) || La(e, v) || qa(e, v) ? d = !0 : za(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && $(e, "alias node should not have any properties")) : Pa(e, v, ot === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Qt(e, p))), e.tag === null)
2190
+ var a, i, s, l = 1, c = !1, d = !1, u, g, f, I, v, p;
2191
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = i = s = at === t || Gn === t, r && ae(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2192
+ for (; ei(e) || ti(e); )
2193
+ ae(e, !0, -1) ? (c = !0, s = a, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2194
+ if (s && (s = c || o), (l === 1 || at === t) && (ot === t || Dn === t ? v = n : v = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Xt(e, p) || Xa(e, p, v)) || Za(e, v) ? d = !0 : (i && Qa(e, v) || Ya(e, v) || Wa(e, v) ? d = !0 : ni(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Ja(e, v, ot === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Xt(e, p))), e.tag === null)
2063
2195
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2064
2196
  else if (e.tag === "?") {
2065
- for (e.result !== null && e.kind !== "scalar" && $(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, m = e.implicitTypes.length; u < m; u += 1)
2197
+ for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
2066
2198
  if (I = e.implicitTypes[u], I.resolve(e.result)) {
2067
2199
  e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2068
2200
  break;
@@ -2071,22 +2203,22 @@ function Re(e, n, t, r, o) {
2071
2203
  if (je.call(e.typeMap[e.kind || "fallback"], e.tag))
2072
2204
  I = e.typeMap[e.kind || "fallback"][e.tag];
2073
2205
  else
2074
- for (I = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, m = f.length; u < m; u += 1)
2206
+ for (I = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, g = f.length; u < g; u += 1)
2075
2207
  if (e.tag.slice(0, f[u].tag.length) === f[u].tag) {
2076
2208
  I = f[u];
2077
2209
  break;
2078
2210
  }
2079
- I || $(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && $(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : $(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2211
+ I || j(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && j(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : j(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2080
2212
  }
2081
2213
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2082
2214
  }
2083
- function Ha(e) {
2215
+ function ri(e) {
2084
2216
  var n = e.position, t, r, o, a = !1, i;
2085
- for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2217
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (ae(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2086
2218
  for (a = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !he(i); )
2087
2219
  i = e.input.charCodeAt(++e.position);
2088
- for (r = e.input.slice(t, e.position), o = [], r.length < 1 && $(e, "directive name must not be less than one character in length"); i !== 0; ) {
2089
- for (; Ke(i); )
2220
+ for (r = e.input.slice(t, e.position), o = [], r.length < 1 && j(e, "directive name must not be less than one character in length"); i !== 0; ) {
2221
+ for (; Ne(i); )
2090
2222
  i = e.input.charCodeAt(++e.position);
2091
2223
  if (i === 35) {
2092
2224
  do
@@ -2100,47 +2232,47 @@ function Ha(e) {
2100
2232
  i = e.input.charCodeAt(++e.position);
2101
2233
  o.push(e.input.slice(t, e.position));
2102
2234
  }
2103
- i !== 0 && Mt(e), je.call(Yt, r) ? Yt[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2235
+ i !== 0 && Mt(e), je.call(Zt, r) ? Zt[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2104
2236
  }
2105
- if (oe(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, oe(e, !0, -1)) : a && $(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), oe(e, !0, -1), e.checkLineBreaks && ja.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2106
- e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2237
+ if (ae(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, ae(e, !0, -1)) : a && j(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ae(e, !0, -1), e.checkLineBreaks && Ua.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2238
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, ae(e, !0, -1));
2107
2239
  return;
2108
2240
  }
2109
2241
  if (e.position < e.length - 1)
2110
- $(e, "end of the stream or a document separator is expected");
2242
+ j(e, "end of the stream or a document separator is expected");
2111
2243
  else
2112
2244
  return;
2113
2245
  }
2114
- function zn(e, n) {
2246
+ function Zn(e, n) {
2115
2247
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2116
2248
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2117
- var t = new Ba(e, n), r = e.indexOf("\0");
2118
- for (r !== -1 && (t.position = r, $(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2249
+ var t = new Ha(e, n), r = e.indexOf("\0");
2250
+ for (r !== -1 && (t.position = r, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2119
2251
  t.lineIndent += 1, t.position += 1;
2120
2252
  for (; t.position < t.length - 1; )
2121
- Ha(t);
2253
+ ri(t);
2122
2254
  return t.documents;
2123
2255
  }
2124
- function Ja(e, n, t) {
2256
+ function oi(e, n, t) {
2125
2257
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2126
- var r = zn(e, t);
2258
+ var r = Zn(e, t);
2127
2259
  if (typeof n != "function")
2128
2260
  return r;
2129
2261
  for (var o = 0, a = r.length; o < a; o += 1)
2130
2262
  n(r[o]);
2131
2263
  }
2132
- function Wa(e, n) {
2133
- var t = zn(e, n);
2264
+ function ai(e, n) {
2265
+ var t = Zn(e, n);
2134
2266
  if (t.length !== 0) {
2135
2267
  if (t.length === 1)
2136
2268
  return t[0];
2137
2269
  throw new me("expected a single document in the stream, but found more");
2138
2270
  }
2139
2271
  }
2140
- var Ya = Ja, Za = Wa, Hn = {
2141
- loadAll: Ya,
2142
- load: Za
2143
- }, Jn = Object.prototype.toString, Wn = Object.prototype.hasOwnProperty, Et = 65279, Qa = 9, We = 10, Xa = 13, ei = 32, ti = 33, ni = 34, bt = 35, ri = 37, oi = 38, ai = 39, ii = 42, Yn = 44, si = 45, st = 58, li = 61, ui = 62, ci = 63, di = 64, Zn = 91, Qn = 93, pi = 96, Xn = 123, fi = 124, er = 125, fe = {};
2272
+ var ii = oi, si = ai, Qn = {
2273
+ loadAll: ii,
2274
+ load: si
2275
+ }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, Et = 65279, li = 9, Ye = 10, ui = 13, ci = 32, di = 33, pi = 34, bt = 35, fi = 37, mi = 38, gi = 39, yi = 42, tr = 44, hi = 45, st = 58, vi = 61, bi = 62, Ci = 63, ki = 64, nr = 91, rr = 93, _i = 96, or = 123, wi = 124, ar = 125, fe = {};
2144
2276
  fe[0] = "\\0";
2145
2277
  fe[7] = "\\a";
2146
2278
  fe[8] = "\\b";
@@ -2156,7 +2288,7 @@ fe[133] = "\\N";
2156
2288
  fe[160] = "\\_";
2157
2289
  fe[8232] = "\\L";
2158
2290
  fe[8233] = "\\P";
2159
- var mi = [
2291
+ var Ii = [
2160
2292
  "y",
2161
2293
  "Y",
2162
2294
  "yes",
@@ -2173,16 +2305,16 @@ var mi = [
2173
2305
  "off",
2174
2306
  "Off",
2175
2307
  "OFF"
2176
- ], gi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2177
- function yi(e, n) {
2308
+ ], Ai = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2309
+ function Si(e, n) {
2178
2310
  var t, r, o, a, i, s, l;
2179
2311
  if (n === null)
2180
2312
  return {};
2181
2313
  for (t = {}, r = Object.keys(n), o = 0, a = r.length; o < a; o += 1)
2182
- i = r[o], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && Wn.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2314
+ i = r[o], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && er.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2183
2315
  return t;
2184
2316
  }
2185
- function hi(e) {
2317
+ function xi(e) {
2186
2318
  var n, t, r;
2187
2319
  if (n = e.toString(16).toUpperCase(), e <= 255)
2188
2320
  t = "x", r = 2;
@@ -2194,22 +2326,22 @@ function hi(e) {
2194
2326
  throw new me("code point within a string may not be greater than 0xFFFFFFFF");
2195
2327
  return "\\" + t + se.repeat("0", r - n.length) + n;
2196
2328
  }
2197
- var vi = 1, Ye = 2;
2198
- function bi(e) {
2199
- this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = se.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = yi(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 === '"' ? Ye : vi, 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;
2329
+ var Ti = 1, We = 2;
2330
+ function $i(e) {
2331
+ this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = se.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Si(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 === '"' ? We : Ti, 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;
2200
2332
  }
2201
- function Xt(e, n) {
2333
+ function en(e, n) {
2202
2334
  for (var t = se.repeat(" ", n), r = 0, o = -1, a = "", i, s = e.length; r < s; )
2203
2335
  o = e.indexOf(`
2204
2336
  `, r), o === -1 ? (i = e.slice(r), r = s) : (i = e.slice(r, o + 1), r = o + 1), i.length && i !== `
2205
2337
  ` && (a += t), a += i;
2206
2338
  return a;
2207
2339
  }
2208
- function kt(e, n) {
2340
+ function Ct(e, n) {
2209
2341
  return `
2210
2342
  ` + se.repeat(" ", e.indent * n);
2211
2343
  }
2212
- function ki(e, n) {
2344
+ function Mi(e, n) {
2213
2345
  var t, r, o;
2214
2346
  for (t = 0, r = e.implicitTypes.length; t < r; t += 1)
2215
2347
  if (o = e.implicitTypes[t], o.resolve(n))
@@ -2217,71 +2349,71 @@ function ki(e, n) {
2217
2349
  return !1;
2218
2350
  }
2219
2351
  function lt(e) {
2220
- return e === ei || e === Qa;
2352
+ return e === ci || e === li;
2221
2353
  }
2222
2354
  function Ze(e) {
2223
2355
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Et || 65536 <= e && e <= 1114111;
2224
2356
  }
2225
- function en(e) {
2226
- return Ze(e) && e !== Et && e !== Xa && e !== We;
2357
+ function tn(e) {
2358
+ return Ze(e) && e !== Et && e !== ui && e !== Ye;
2227
2359
  }
2228
- function tn(e, n, t) {
2229
- var r = en(e), o = r && !lt(e);
2360
+ function nn(e, n, t) {
2361
+ var r = tn(e), o = r && !lt(e);
2230
2362
  return (
2231
2363
  // ns-plain-safe
2232
2364
  (t ? (
2233
2365
  // c = flow-in
2234
2366
  r
2235
- ) : r && e !== Yn && e !== Zn && e !== Qn && e !== Xn && e !== er) && e !== bt && !(n === st && !o) || en(n) && !lt(n) && e === bt || n === st && o
2367
+ ) : r && e !== tr && e !== nr && e !== rr && e !== or && e !== ar) && e !== bt && !(n === st && !o) || tn(n) && !lt(n) && e === bt || n === st && o
2236
2368
  );
2237
2369
  }
2238
- function Ci(e) {
2239
- return Ze(e) && e !== Et && !lt(e) && e !== si && e !== ci && e !== st && e !== Yn && e !== Zn && e !== Qn && e !== Xn && e !== er && e !== bt && e !== oi && e !== ii && e !== ti && e !== fi && e !== li && e !== ui && e !== ai && e !== ni && e !== ri && e !== di && e !== pi;
2370
+ function ji(e) {
2371
+ return Ze(e) && e !== Et && !lt(e) && e !== hi && e !== Ci && e !== st && e !== tr && e !== nr && e !== rr && e !== or && e !== ar && e !== bt && e !== mi && e !== yi && e !== di && e !== wi && e !== vi && e !== bi && e !== gi && e !== pi && e !== fi && e !== ki && e !== _i;
2240
2372
  }
2241
- function _i(e) {
2373
+ function Ei(e) {
2242
2374
  return !lt(e) && e !== st;
2243
2375
  }
2244
- function ze(e, n) {
2376
+ function He(e, n) {
2245
2377
  var t = e.charCodeAt(n), r;
2246
2378
  return t >= 55296 && t <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (t - 55296) * 1024 + r - 56320 + 65536 : t;
2247
2379
  }
2248
- function tr(e) {
2380
+ function ir(e) {
2249
2381
  var n = /^\n* /;
2250
2382
  return n.test(e);
2251
2383
  }
2252
- var nr = 1, Ct = 2, rr = 3, or = 4, Le = 5;
2253
- function wi(e, n, t, r, o, a, i, s) {
2254
- var l, c = 0, d = null, u = !1, m = !1, f = r !== -1, I = -1, v = Ci(ze(e, 0)) && _i(ze(e, e.length - 1));
2384
+ var sr = 1, kt = 2, lr = 3, ur = 4, Le = 5;
2385
+ function Oi(e, n, t, r, o, a, i, s) {
2386
+ var l, c = 0, d = null, u = !1, g = !1, f = r !== -1, I = -1, v = ji(He(e, 0)) && Ei(He(e, e.length - 1));
2255
2387
  if (n || i)
2256
2388
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2257
- if (c = ze(e, l), !Ze(c))
2389
+ if (c = He(e, l), !Ze(c))
2258
2390
  return Le;
2259
- v = v && tn(c, d, s), d = c;
2391
+ v = v && nn(c, d, s), d = c;
2260
2392
  }
2261
2393
  else {
2262
2394
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2263
- if (c = ze(e, l), c === We)
2264
- u = !0, f && (m = m || // Foldable line = too long, and not more-indented.
2395
+ if (c = He(e, l), c === Ye)
2396
+ u = !0, f && (g = g || // Foldable line = too long, and not more-indented.
2265
2397
  l - I - 1 > r && e[I + 1] !== " ", I = l);
2266
2398
  else if (!Ze(c))
2267
2399
  return Le;
2268
- v = v && tn(c, d, s), d = c;
2400
+ v = v && nn(c, d, s), d = c;
2269
2401
  }
2270
- m = m || f && l - I - 1 > r && e[I + 1] !== " ";
2402
+ g = g || f && l - I - 1 > r && e[I + 1] !== " ";
2271
2403
  }
2272
- return !u && !m ? v && !i && !o(e) ? nr : a === Ye ? Le : Ct : t > 9 && tr(e) ? Le : i ? a === Ye ? Le : Ct : m ? or : rr;
2404
+ return !u && !g ? v && !i && !o(e) ? sr : a === We ? Le : kt : t > 9 && ir(e) ? Le : i ? a === We ? Le : kt : g ? ur : lr;
2273
2405
  }
2274
- function Ii(e, n, t, r, o) {
2406
+ function Ni(e, n, t, r, o) {
2275
2407
  e.dump = function() {
2276
2408
  if (n.length === 0)
2277
- return e.quotingType === Ye ? '""' : "''";
2278
- if (!e.noCompatMode && (mi.indexOf(n) !== -1 || gi.test(n)))
2279
- return e.quotingType === Ye ? '"' + n + '"' : "'" + n + "'";
2409
+ return e.quotingType === We ? '""' : "''";
2410
+ if (!e.noCompatMode && (Ii.indexOf(n) !== -1 || Ai.test(n)))
2411
+ return e.quotingType === We ? '"' + n + '"' : "'" + n + "'";
2280
2412
  var a = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - a), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2281
2413
  function l(c) {
2282
- return ki(e, c);
2414
+ return Mi(e, c);
2283
2415
  }
2284
- switch (wi(
2416
+ switch (Oi(
2285
2417
  n,
2286
2418
  s,
2287
2419
  e.indent,
@@ -2291,47 +2423,47 @@ function Ii(e, n, t, r, o) {
2291
2423
  e.forceQuotes && !r,
2292
2424
  o
2293
2425
  )) {
2294
- case nr:
2426
+ case sr:
2295
2427
  return n;
2296
- case Ct:
2428
+ case kt:
2297
2429
  return "'" + n.replace(/'/g, "''") + "'";
2298
- case rr:
2299
- return "|" + nn(n, e.indent) + rn(Xt(n, a));
2300
- case or:
2301
- return ">" + nn(n, e.indent) + rn(Xt(xi(n, i), a));
2430
+ case lr:
2431
+ return "|" + rn(n, e.indent) + on(en(n, a));
2432
+ case ur:
2433
+ return ">" + rn(n, e.indent) + on(en(Fi(n, i), a));
2302
2434
  case Le:
2303
- return '"' + Ai(n) + '"';
2435
+ return '"' + Ki(n) + '"';
2304
2436
  default:
2305
2437
  throw new me("impossible error: invalid scalar style");
2306
2438
  }
2307
2439
  }();
2308
2440
  }
2309
- function nn(e, n) {
2310
- var t = tr(e) ? String(n) : "", r = e[e.length - 1] === `
2441
+ function rn(e, n) {
2442
+ var t = ir(e) ? String(n) : "", r = e[e.length - 1] === `
2311
2443
  `, o = r && (e[e.length - 2] === `
2312
2444
  ` || e === `
2313
2445
  `), a = o ? "+" : r ? "" : "-";
2314
2446
  return t + a + `
2315
2447
  `;
2316
2448
  }
2317
- function rn(e) {
2449
+ function on(e) {
2318
2450
  return e[e.length - 1] === `
2319
2451
  ` ? e.slice(0, -1) : e;
2320
2452
  }
2321
- function xi(e, n) {
2453
+ function Fi(e, n) {
2322
2454
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2323
2455
  var c = e.indexOf(`
2324
2456
  `);
2325
- return c = c !== -1 ? c : e.length, t.lastIndex = c, on(e.slice(0, c), n);
2457
+ return c = c !== -1 ? c : e.length, t.lastIndex = c, an(e.slice(0, c), n);
2326
2458
  }(), o = e[0] === `
2327
2459
  ` || e[0] === " ", a, i; i = t.exec(e); ) {
2328
2460
  var s = i[1], l = i[2];
2329
2461
  a = l[0] === " ", r += s + (!o && !a && l !== "" ? `
2330
- ` : "") + on(l, n), o = a;
2462
+ ` : "") + an(l, n), o = a;
2331
2463
  }
2332
2464
  return r;
2333
2465
  }
2334
- function on(e, n) {
2466
+ function an(e, n) {
2335
2467
  if (e === "" || e[0] === " ")
2336
2468
  return e;
2337
2469
  for (var t = / [^ ]/g, r, o = 0, a, i = 0, s = 0, l = ""; r = t.exec(e); )
@@ -2341,31 +2473,31 @@ function on(e, n) {
2341
2473
  `, e.length - o > n && i > o ? l += e.slice(o, i) + `
2342
2474
  ` + e.slice(i + 1) : l += e.slice(o), l.slice(1);
2343
2475
  }
2344
- function Ai(e) {
2476
+ function Ki(e) {
2345
2477
  for (var n = "", t = 0, r, o = 0; o < e.length; t >= 65536 ? o += 2 : o++)
2346
- t = ze(e, o), r = fe[t], !r && Ze(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || hi(t);
2478
+ t = He(e, o), r = fe[t], !r && Ze(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || xi(t);
2347
2479
  return n;
2348
2480
  }
2349
- function Si(e, n, t) {
2481
+ function Bi(e, n, t) {
2350
2482
  var r = "", o = e.tag, a, i, s;
2351
2483
  for (a = 0, i = t.length; a < i; a += 1)
2352
- s = t[a], e.replacer && (s = e.replacer.call(t, String(a), s)), (Ae(e, n, s, !1, !1) || typeof s > "u" && Ae(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2484
+ s = t[a], e.replacer && (s = e.replacer.call(t, String(a), s)), (Se(e, n, s, !1, !1) || typeof s > "u" && Se(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2353
2485
  e.tag = o, e.dump = "[" + r + "]";
2354
2486
  }
2355
- function an(e, n, t, r) {
2487
+ function sn(e, n, t, r) {
2356
2488
  var o = "", a = e.tag, i, s, l;
2357
2489
  for (i = 0, s = t.length; i < s; i += 1)
2358
- l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Ae(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Ae(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += kt(e, n)), e.dump && We === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2490
+ l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Se(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += Ct(e, n)), e.dump && Ye === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2359
2491
  e.tag = a, e.dump = o || "[]";
2360
2492
  }
2361
- function Ti(e, n, t) {
2493
+ function Pi(e, n, t) {
2362
2494
  var r = "", o = e.tag, a = Object.keys(t), i, s, l, c, d;
2363
2495
  for (i = 0, s = a.length; i < s; i += 1)
2364
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = a[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), Ae(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ae(e, n, c, !1, !1) && (d += e.dump, r += d));
2496
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = a[i], c = t[l], e.replacer && (c = e.replacer.call(t, l, c)), Se(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Se(e, n, c, !1, !1) && (d += e.dump, r += d));
2365
2497
  e.tag = o, e.dump = "{" + r + "}";
2366
2498
  }
2367
- function $i(e, n, t, r) {
2368
- var o = "", a = e.tag, i = Object.keys(t), s, l, c, d, u, m;
2499
+ function Li(e, n, t, r) {
2500
+ var o = "", a = e.tag, i = Object.keys(t), s, l, c, d, u, g;
2369
2501
  if (e.sortKeys === !0)
2370
2502
  i.sort();
2371
2503
  else if (typeof e.sortKeys == "function")
@@ -2373,17 +2505,17 @@ function $i(e, n, t, r) {
2373
2505
  else if (e.sortKeys)
2374
2506
  throw new me("sortKeys must be a boolean or a function");
2375
2507
  for (s = 0, l = i.length; s < l; s += 1)
2376
- m = "", (!r || o !== "") && (m += kt(e, n)), c = i[s], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), Ae(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && We === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, u && (m += kt(e, n)), Ae(e, n + 1, d, !0, u) && (e.dump && We === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, o += m));
2508
+ g = "", (!r || o !== "") && (g += Ct(e, n)), c = i[s], d = t[c], e.replacer && (d = e.replacer.call(t, c, d)), Se(e, n + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ye === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += Ct(e, n)), Se(e, n + 1, d, !0, u) && (e.dump && Ye === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, o += g));
2377
2509
  e.tag = a, e.dump = o || "{}";
2378
2510
  }
2379
- function sn(e, n, t) {
2511
+ function ln(e, n, t) {
2380
2512
  var r, o, a, i, s, l;
2381
2513
  for (o = t ? e.explicitTypes : e.implicitTypes, a = 0, i = o.length; a < i; a += 1)
2382
2514
  if (s = o[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2383
2515
  if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2384
- if (l = e.styleMap[s.tag] || s.defaultStyle, Jn.call(s.represent) === "[object Function]")
2516
+ if (l = e.styleMap[s.tag] || s.defaultStyle, Xn.call(s.represent) === "[object Function]")
2385
2517
  r = s.represent(n, l);
2386
- else if (Wn.call(s.represent, l))
2518
+ else if (er.call(s.represent, l))
2387
2519
  r = s.represent[l](n, l);
2388
2520
  else
2389
2521
  throw new me("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
@@ -2393,20 +2525,20 @@ function sn(e, n, t) {
2393
2525
  }
2394
2526
  return !1;
2395
2527
  }
2396
- function Ae(e, n, t, r, o, a, i) {
2397
- e.tag = null, e.dump = t, sn(e, t, !1) || sn(e, t, !0);
2398
- var s = Jn.call(e.dump), l = r, c;
2528
+ function Se(e, n, t, r, o, a, i) {
2529
+ e.tag = null, e.dump = t, ln(e, t, !1) || ln(e, t, !0);
2530
+ var s = Xn.call(e.dump), l = r, c;
2399
2531
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
2400
- var d = s === "[object Object]" || s === "[object Array]", u, m;
2401
- if (d && (u = e.duplicates.indexOf(t), m = u !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && n > 0) && (o = !1), m && e.usedDuplicates[u])
2532
+ var d = s === "[object Object]" || s === "[object Array]", u, g;
2533
+ if (d && (u = e.duplicates.indexOf(t), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (o = !1), g && e.usedDuplicates[u])
2402
2534
  e.dump = "*ref_" + u;
2403
2535
  else {
2404
- if (d && m && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), s === "[object Object]")
2405
- r && Object.keys(e.dump).length !== 0 ? ($i(e, n, e.dump, o), m && (e.dump = "&ref_" + u + e.dump)) : (Ti(e, n, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2536
+ if (d && g && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), s === "[object Object]")
2537
+ r && Object.keys(e.dump).length !== 0 ? (Li(e, n, e.dump, o), g && (e.dump = "&ref_" + u + e.dump)) : (Pi(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2406
2538
  else if (s === "[object Array]")
2407
- r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? an(e, n - 1, e.dump, o) : an(e, n, e.dump, o), m && (e.dump = "&ref_" + u + e.dump)) : (Si(e, n, e.dump), m && (e.dump = "&ref_" + u + " " + e.dump));
2539
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? sn(e, n - 1, e.dump, o) : sn(e, n, e.dump, o), g && (e.dump = "&ref_" + u + e.dump)) : (Bi(e, n, e.dump), g && (e.dump = "&ref_" + u + " " + e.dump));
2408
2540
  else if (s === "[object String]")
2409
- e.tag !== "?" && Ii(e, e.dump, n, a, l);
2541
+ e.tag !== "?" && Ni(e, e.dump, n, a, l);
2410
2542
  else {
2411
2543
  if (s === "[object Undefined]" || e.skipInvalid)
2412
2544
  return !1;
@@ -2418,7 +2550,7 @@ function Ae(e, n, t, r, o, a, i) {
2418
2550
  }
2419
2551
  return !0;
2420
2552
  }
2421
- function Mi(e, n) {
2553
+ function qi(e, n) {
2422
2554
  var t = [], r = [], o, a;
2423
2555
  for (_t(e, t, r), o = 0, a = r.length; o < a; o += 1)
2424
2556
  n.duplicates.push(t[r[o]]);
@@ -2436,65 +2568,65 @@ function _t(e, n, t) {
2436
2568
  for (r = Object.keys(e), o = 0, a = r.length; o < a; o += 1)
2437
2569
  _t(e[r[o]], n, t);
2438
2570
  }
2439
- function ji(e, n) {
2571
+ function Ui(e, n) {
2440
2572
  n = n || {};
2441
- var t = new bi(n);
2442
- t.noRefs || Mi(e, t);
2573
+ var t = new $i(n);
2574
+ t.noRefs || qi(e, t);
2443
2575
  var r = e;
2444
- return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Ae(t, 0, r, !0, !0) ? t.dump + `
2576
+ return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Se(t, 0, r, !0, !0) ? t.dump + `
2445
2577
  ` : "";
2446
2578
  }
2447
- var Ei = ji, Oi = {
2448
- dump: Ei
2579
+ var Vi = Ui, Ri = {
2580
+ dump: Vi
2449
2581
  };
2450
2582
  function Ot(e, n) {
2451
2583
  return function() {
2452
2584
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2453
2585
  };
2454
2586
  }
2455
- var Ki = de, Fi = kn, Ni = In, Bi = $n, Pi = Mn, Li = $t, qi = Hn.load, Ui = Hn.loadAll, Ri = Oi.dump, Vi = me, Di = {
2456
- binary: Fn,
2457
- float: Tn,
2458
- map: wn,
2459
- null: xn,
2460
- pairs: Bn,
2461
- set: Pn,
2462
- timestamp: On,
2463
- bool: An,
2464
- int: Sn,
2465
- merge: Kn,
2466
- omap: Nn,
2467
- seq: _n,
2468
- str: Cn
2469
- }, Gi = Ot("safeLoad", "load"), zi = Ot("safeLoadAll", "loadAll"), Hi = Ot("safeDump", "dump"), Ji = {
2470
- Type: Ki,
2471
- Schema: Fi,
2472
- FAILSAFE_SCHEMA: Ni,
2473
- JSON_SCHEMA: Bi,
2474
- CORE_SCHEMA: Pi,
2475
- DEFAULT_SCHEMA: Li,
2476
- load: qi,
2477
- loadAll: Ui,
2478
- dump: Ri,
2479
- YAMLException: Vi,
2480
- types: Di,
2481
- safeLoad: Gi,
2482
- safeLoadAll: zi,
2483
- safeDump: Hi
2587
+ var Di = de, Gi = An, zi = $n, Hi = Nn, Ji = Fn, Yi = $t, Wi = Qn.load, Zi = Qn.loadAll, Qi = Ri.dump, Xi = me, es = {
2588
+ binary: qn,
2589
+ float: On,
2590
+ map: Tn,
2591
+ null: Mn,
2592
+ pairs: Vn,
2593
+ set: Rn,
2594
+ timestamp: Pn,
2595
+ bool: jn,
2596
+ int: En,
2597
+ merge: Ln,
2598
+ omap: Un,
2599
+ seq: xn,
2600
+ str: Sn
2601
+ }, ts = Ot("safeLoad", "load"), ns = Ot("safeLoadAll", "loadAll"), rs = Ot("safeDump", "dump"), os = {
2602
+ Type: Di,
2603
+ Schema: Gi,
2604
+ FAILSAFE_SCHEMA: zi,
2605
+ JSON_SCHEMA: Hi,
2606
+ CORE_SCHEMA: Ji,
2607
+ DEFAULT_SCHEMA: Yi,
2608
+ load: Wi,
2609
+ loadAll: Zi,
2610
+ dump: Qi,
2611
+ YAMLException: Xi,
2612
+ types: es,
2613
+ safeLoad: ts,
2614
+ safeLoadAll: ns,
2615
+ safeDump: rs
2484
2616
  };
2485
- const Wi = {
2617
+ const as = {
2486
2618
  key: 0,
2487
2619
  class: "config-card-display-form"
2488
- }, Yi = ["data-testid"], Zi = {
2620
+ }, is = ["data-testid"], ss = {
2489
2621
  key: 0,
2490
2622
  class: "config-card-prop-section-title"
2491
- }, Qi = {
2623
+ }, ls = {
2492
2624
  key: 1,
2493
2625
  class: "config-card-display-json"
2494
- }, Xi = {
2626
+ }, us = {
2495
2627
  key: 2,
2496
2628
  class: "config-card-display-yaml"
2497
- }, es = /* @__PURE__ */ ae({
2629
+ }, cs = /* @__PURE__ */ re({
2498
2630
  __name: "ConfigCardDisplay",
2499
2631
  props: {
2500
2632
  propertyCollections: {
@@ -2521,29 +2653,29 @@ const Wi = {
2521
2653
  },
2522
2654
  setup(e) {
2523
2655
  const n = e, t = ut(), { i18n: { t: r } } = ue.useI18n(), o = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), a = O(""), i = O("");
2524
- return Se(() => n.format, (s) => {
2525
- s === "json" ? a.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = Ji.dump(n.record));
2656
+ return xe(() => n.format, (s) => {
2657
+ s === "json" ? a.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = os.dump(n.record));
2526
2658
  }, { immediate: !0 }), (s, l) => {
2527
2659
  const c = q("KCodeBlock");
2528
- return g(), j(ve, null, [
2529
- e.format === "structured" ? (g(), j("div", Wi, [
2530
- (g(!0), j(ve, null, ye(e.propListTypes, (d) => (g(), j("div", {
2660
+ return m(), $(ve, null, [
2661
+ e.format === "structured" ? (m(), $("div", as, [
2662
+ (m(!0), $(ve, null, ye(e.propListTypes, (d) => (m(), $("div", {
2531
2663
  key: `config-card-details-${d}-props`,
2532
2664
  class: Fe(`config-card-details-${d}-props`),
2533
2665
  "data-testid": `config-card-details-${d}-props`
2534
2666
  }, [
2535
- d !== "basic" ? (g(), j("div", Zi, K(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2536
- (g(!0), j(ve, null, ye(e.propertyCollections[d], (u) => (g(), V(St, {
2667
+ d !== "basic" ? (m(), $("div", ss, N(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2668
+ (m(!0), $(ve, null, ye(e.propertyCollections[d], (u) => (m(), R(xt, {
2537
2669
  key: u.key,
2538
2670
  item: u
2539
2671
  }, Te({
2540
2672
  label: h(() => [
2541
- Y(s.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2673
+ W(s.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2542
2674
  ]),
2543
- [u.key]: h(({ rowValue: m }) => [
2544
- Y(s.$slots, u.key, {
2675
+ [u.key]: h(({ rowValue: g }) => [
2676
+ W(s.$slots, u.key, {
2545
2677
  row: u,
2546
- rowValue: m
2678
+ rowValue: g
2547
2679
  }, void 0, !0)
2548
2680
  ]),
2549
2681
  _: 2
@@ -2551,14 +2683,14 @@ const Wi = {
2551
2683
  o(u) ? {
2552
2684
  name: "label-tooltip",
2553
2685
  fn: h(() => [
2554
- Y(s.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2686
+ W(s.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2555
2687
  ]),
2556
2688
  key: "0"
2557
2689
  } : void 0
2558
2690
  ]), 1032, ["item"]))), 128))
2559
- ], 10, Yi))), 128))
2691
+ ], 10, is))), 128))
2560
2692
  ])) : G("", !0),
2561
- e.format === "json" ? (g(), j("div", Qi, [
2693
+ e.format === "json" ? (m(), $("div", ls, [
2562
2694
  F(c, {
2563
2695
  id: "config-card-codeblock",
2564
2696
  code: a.value,
@@ -2566,7 +2698,7 @@ const Wi = {
2566
2698
  theme: "dark"
2567
2699
  }, null, 8, ["code"])
2568
2700
  ])) : G("", !0),
2569
- e.format === "yaml" ? (g(), j("div", Xi, [
2701
+ e.format === "yaml" ? (m(), $("div", us, [
2570
2702
  F(c, {
2571
2703
  id: "config-card-codeblock",
2572
2704
  code: i.value,
@@ -2577,18 +2709,18 @@ const Wi = {
2577
2709
  ], 64);
2578
2710
  };
2579
2711
  }
2580
- }), ts = /* @__PURE__ */ Ce(es, [["__scopeId", "data-v-6c45e9e4"]]), ln = "24px", ns = (e, n) => {
2712
+ }), ds = /* @__PURE__ */ ke(cs, [["__scopeId", "data-v-6c45e9e4"]]), un = "24px", ps = (e, n) => {
2581
2713
  const t = e.__vccOpts || e;
2582
2714
  for (const [r, o] of n)
2583
2715
  t[r] = o;
2584
2716
  return t;
2585
- }, rs = (e) => (yr("data-v-dd88a2bb"), e = e(), hr(), e), os = ["aria-hidden"], as = {
2717
+ }, fs = (e) => (fn("data-v-dd88a2bb"), e = e(), mn(), e), ms = ["aria-hidden"], gs = {
2586
2718
  key: 0,
2587
2719
  "data-testid": "kui-icon-svg-title"
2588
- }, is = /* @__PURE__ */ rs(() => /* @__PURE__ */ R("path", {
2720
+ }, ys = /* @__PURE__ */ fs(() => /* @__PURE__ */ V("path", {
2589
2721
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2590
2722
  fill: "currentColor"
2591
- }, null, -1)), ss = /* @__PURE__ */ ae({
2723
+ }, null, -1)), hs = /* @__PURE__ */ re({
2592
2724
  __name: "BookIcon",
2593
2725
  props: {
2594
2726
  /** The accessibility text provided to screen readers */
@@ -2619,7 +2751,7 @@ const Wi = {
2619
2751
  size: {
2620
2752
  type: [Number, String],
2621
2753
  required: !1,
2622
- default: ln,
2754
+ default: un,
2623
2755
  // if setting to the imported const fails, just pass a number of 24 as the default.
2624
2756
  validator: (e) => {
2625
2757
  if (typeof e == "number" && e > 0)
@@ -2640,7 +2772,7 @@ const Wi = {
2640
2772
  }
2641
2773
  },
2642
2774
  setup(e) {
2643
- const n = e, t = M(() => {
2775
+ const n = e, t = T(() => {
2644
2776
  if (typeof n.size == "number" && n.size > 0)
2645
2777
  return `${n.size}px`;
2646
2778
  if (typeof n.size == "string") {
@@ -2648,8 +2780,8 @@ const Wi = {
2648
2780
  if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
2649
2781
  return `${a}px`;
2650
2782
  }
2651
- return ln;
2652
- }), r = M(() => ({
2783
+ return un;
2784
+ }), r = T(() => ({
2653
2785
  boxSizing: "border-box",
2654
2786
  color: n.color,
2655
2787
  display: n.display,
@@ -2657,14 +2789,14 @@ const Wi = {
2657
2789
  lineHeight: "0",
2658
2790
  width: t.value
2659
2791
  }));
2660
- return (o, a) => (g(), V(He(e.as), {
2792
+ return (o, a) => (m(), R(Ve(e.as), {
2661
2793
  "aria-hidden": e.decorative ? "true" : void 0,
2662
2794
  class: "kui-icon book-icon",
2663
2795
  "data-testid": "kui-icon-wrapper-book-icon",
2664
- style: mr(r.value)
2796
+ style: pn(r.value)
2665
2797
  }, {
2666
2798
  default: h(() => [
2667
- (g(), j("svg", {
2799
+ (m(), $("svg", {
2668
2800
  "aria-hidden": e.decorative ? "true" : void 0,
2669
2801
  "data-testid": "kui-icon-svg-book-icon",
2670
2802
  fill: "none",
@@ -2674,23 +2806,23 @@ const Wi = {
2674
2806
  width: "100%",
2675
2807
  xmlns: "http://www.w3.org/2000/svg"
2676
2808
  }, [
2677
- e.title ? (g(), j("title", as, K(e.title), 1)) : G("", !0),
2678
- is
2679
- ], 8, os))
2809
+ e.title ? (m(), $("title", gs, N(e.title), 1)) : G("", !0),
2810
+ ys
2811
+ ], 8, ms))
2680
2812
  ]),
2681
2813
  _: 1
2682
2814
  }, 8, ["aria-hidden", "style"]));
2683
2815
  }
2684
- }), ls = /* @__PURE__ */ ns(ss, [["__scopeId", "data-v-dd88a2bb"]]), us = { "data-testid": "config-card-title" }, cs = { class: "config-card-actions" }, ds = ["href"], ps = {
2816
+ }), vs = /* @__PURE__ */ ps(hs, [["__scopeId", "data-v-dd88a2bb"]]), bs = { "data-testid": "config-card-title" }, Cs = { class: "config-card-actions" }, ks = ["href"], _s = {
2685
2817
  key: 2,
2686
2818
  class: "config-card-details-section"
2687
- }, fs = {
2819
+ }, ws = {
2688
2820
  key: 3,
2689
2821
  class: "config-card-details-section"
2690
- }, ms = ["data-testid"], gs = {
2822
+ }, Is = ["data-testid"], As = {
2691
2823
  key: 0,
2692
2824
  class: "config-card-prop-section-title"
2693
- }, ys = /* @__PURE__ */ ae({
2825
+ }, Ss = /* @__PURE__ */ re({
2694
2826
  __name: "EntityBaseConfigCard",
2695
2827
  props: {
2696
2828
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2783,7 +2915,7 @@ const Wi = {
2783
2915
  }
2784
2916
  ], d = O("structured"), u = (w) => {
2785
2917
  d.value = w == null ? void 0 : w.value;
2786
- }, m = {
2918
+ }, g = {
2787
2919
  id: {
2788
2920
  type: te.ID,
2789
2921
  label: a("baseConfigCard.commonFields.id_label"),
@@ -2817,21 +2949,21 @@ const Wi = {
2817
2949
  // the last property displayed
2818
2950
  section: be.Basic
2819
2951
  }
2820
- }, f = O(!1), I = O(!1), v = O(""), p = O(), A = M(() => {
2821
- var w, N, B;
2952
+ }, f = O(!1), I = O(!1), v = O(""), p = O(), S = T(() => {
2953
+ var w, K, B;
2822
2954
  if (!p.value)
2823
2955
  return [];
2824
- const C = [], S = Object.keys(p.value).length;
2825
- for (const T in p.value) {
2826
- const P = (N = (w = r.configSchema) == null ? void 0 : w[T]) == null ? void 0 : N.order, J = (B = m[T]) == null ? void 0 : B.order;
2827
- let Q = S;
2828
- (J || J === 0) && (Q = J === -1 ? S + 1 : J), P && (Q = P === -1 ? S + 1 : P), C.push([T, Q]);
2956
+ const k = [], x = Object.keys(p.value).length;
2957
+ for (const M in p.value) {
2958
+ const P = (K = (w = r.configSchema) == null ? void 0 : w[M]) == null ? void 0 : K.order, J = (B = g[M]) == null ? void 0 : B.order;
2959
+ let Q = x;
2960
+ (J || J === 0) && (Q = J === -1 ? x + 1 : J), P && (Q = P === -1 ? x + 1 : P), k.push([M, Q]);
2829
2961
  }
2830
- return C.sort(function(T, P) {
2831
- return T[1] - P[1];
2832
- }), C.map((T) => {
2962
+ return k.sort(function(M, P) {
2963
+ return M[1] - P[1];
2964
+ }), k.map((M) => {
2833
2965
  var P, J;
2834
- const Q = T[0], X = (P = p.value) == null ? void 0 : P[Q], ee = ((J = r.configSchema) == null ? void 0 : J[Q]) || {}, ie = m[Q];
2966
+ const Q = M[0], X = (P = p.value) == null ? void 0 : P[Q], ee = ((J = r.configSchema) == null ? void 0 : J[Q]) || {}, ie = g[Q];
2835
2967
  return {
2836
2968
  key: Q,
2837
2969
  value: X,
@@ -2841,22 +2973,22 @@ const Wi = {
2841
2973
  tooltip: ee.tooltip ?? ((ie == null ? void 0 : ie.tooltip) || void 0),
2842
2974
  section: ee.section ?? ((ie == null ? void 0 : ie.section) || be.Advanced)
2843
2975
  };
2844
- }).filter((T) => !T.hidden && T.key !== r.pluginConfigKey);
2845
- }), b = M(() => {
2846
- var w, N;
2976
+ }).filter((M) => !M.hidden && M.key !== r.pluginConfigKey);
2977
+ }), b = T(() => {
2978
+ var w, K;
2847
2979
  if (!p.value || !r.pluginConfigKey)
2848
2980
  return [];
2849
- const B = p.value[r.pluginConfigKey] || {}, C = Object.keys(B).length, S = [];
2850
- for (const T in B) {
2851
- const P = (N = (w = r.pluginConfigSchema) == null ? void 0 : w[T]) == null ? void 0 : N.order, J = B[T];
2852
- let Q = J != null && J !== "" ? C - 1 : C;
2853
- P && (Q = P === -1 ? C + 1 : P), S.push([T, Q]);
2981
+ const B = p.value[r.pluginConfigKey] || {}, k = Object.keys(B).length, x = [];
2982
+ for (const M in B) {
2983
+ const P = (K = (w = r.pluginConfigSchema) == null ? void 0 : w[M]) == null ? void 0 : K.order, J = B[M];
2984
+ let Q = J != null && J !== "" ? k - 1 : k;
2985
+ P && (Q = P === -1 ? k + 1 : P), x.push([M, Q]);
2854
2986
  }
2855
- return S.sort(function(T, P) {
2856
- return T[1] - P[1];
2857
- }), S.map((T) => {
2987
+ return x.sort(function(M, P) {
2988
+ return M[1] - P[1];
2989
+ }), x.map((M) => {
2858
2990
  var P;
2859
- const J = T[0], Q = B[J], X = ((P = r.pluginConfigSchema) == null ? void 0 : P[J]) || {};
2991
+ const J = M[0], Q = B[J], X = ((P = r.pluginConfigSchema) == null ? void 0 : P[J]) || {};
2860
2992
  return {
2861
2993
  key: J,
2862
2994
  value: Q,
@@ -2866,25 +2998,25 @@ const Wi = {
2866
2998
  tooltip: X.tooltip ?? void 0,
2867
2999
  section: be.Plugin
2868
3000
  };
2869
- }).filter((T) => !T.hidden);
2870
- }), k = M(() => {
2871
- var w, N, B, C;
3001
+ }).filter((M) => !M.hidden);
3002
+ }), C = T(() => {
3003
+ var w, K, B, k;
2872
3004
  return {
2873
- basic: (w = A.value) == null ? void 0 : w.filter((S) => S.section === be.Basic),
2874
- advanced: (N = A.value) == null ? void 0 : N.filter((S) => S.section === be.Advanced),
2875
- plugin: (C = b.value) == null ? void 0 : C.concat((B = A.value) == null ? void 0 : B.filter((S) => S.section === be.Plugin))
3005
+ basic: (w = S.value) == null ? void 0 : w.filter((x) => x.section === be.Basic),
3006
+ advanced: (K = S.value) == null ? void 0 : K.filter((x) => x.section === be.Advanced),
3007
+ plugin: (k = b.value) == null ? void 0 : k.concat((B = S.value) == null ? void 0 : B.filter((x) => x.section === be.Plugin))
2876
3008
  };
2877
- }), x = M(() => {
3009
+ }), A = T(() => {
2878
3010
  const w = [];
2879
- return k.value.basic.length && w.push("basic"), k.value.advanced.length && w.push("advanced"), k.value.plugin.length && w.push("plugin"), w;
2880
- }), ne = (w) => !!(w.tooltip || o[`${w.key}-label-tooltip`]), pe = M(() => {
2881
- var w, N;
3011
+ return C.value.basic.length && w.push("basic"), C.value.advanced.length && w.push("advanced"), C.value.plugin.length && w.push("plugin"), w;
3012
+ }), ne = (w) => !!(w.tooltip || o[`${w.key}-label-tooltip`]), pe = T(() => {
3013
+ var w, K;
2882
3014
  let B = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2883
- return r.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (N = r.config) != null && N.workspace ? `/${r.config.workspace}` : "")), B = B.replace(/{id}/gi, r.config.entityId), B;
3015
+ return r.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (K = r.config) != null && K.workspace ? `/${r.config.workspace}` : "")), B = B.replace(/{id}/gi, r.config.entityId), B;
2884
3016
  }), z = (w) => {
2885
3017
  p.value && w(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2886
3018
  };
2887
- return Se(f, (w) => {
3019
+ return xe(f, (w) => {
2888
3020
  n("loading", w);
2889
3021
  }, { immediate: !0 }), Qe(async () => {
2890
3022
  I.value = !1, f.value = !0;
@@ -2897,65 +3029,65 @@ const Wi = {
2897
3029
  throw new Error(a("errors.dataKeyUndefined", { dataKey: r.dataKey }));
2898
3030
  else
2899
3031
  p.value = { ...w };
2900
- Object.keys(r.configSchema).filter((N) => r.configSchema[N].forceShow).forEach((N) => {
2901
- p.value && typeof p.value[N] > "u" && (p.value[N] = null);
3032
+ Object.keys(r.configSchema).filter((K) => r.configSchema[K].forceShow).forEach((K) => {
3033
+ p.value && typeof p.value[K] > "u" && (p.value[K] = null);
2902
3034
  }), n("fetch:success", w);
2903
3035
  } catch (w) {
2904
- const N = i(w);
2905
- v.value = N.startsWith("code") ? a("baseConfigCard.errors.load") : N, I.value = !0, n("fetch:error", w);
3036
+ const K = i(w);
3037
+ v.value = K.startsWith("code") ? a("baseConfigCard.errors.load") : K, I.value = !0, n("fetch:error", w);
2906
3038
  } finally {
2907
3039
  f.value = !1;
2908
3040
  }
2909
- }), (w, N) => {
2910
- const B = q("KLabel"), C = q("KSelect"), S = q("KButton"), T = q("KClipboardProvider"), P = q("KSkeleton"), J = q("KEmptyState"), Q = q("KCard");
2911
- return g(), V(Q, { class: "kong-ui-entity-base-config-card" }, Te({
3041
+ }), (w, K) => {
3042
+ const B = q("KLabel"), k = q("KSelect"), x = q("KButton"), M = q("KClipboardProvider"), P = q("KSkeleton"), J = q("KEmptyState"), Q = q("KCard");
3043
+ return m(), R(Q, { class: "kong-ui-entity-base-config-card" }, Te({
2912
3044
  actions: h(() => [
2913
- R("div", cs, [
2914
- Y(w.$slots, "actions", {}, void 0, !0),
2915
- e.config.jsonYamlEnabled ? (g(), V(B, {
3045
+ V("div", Cs, [
3046
+ W(w.$slots, "actions", {}, void 0, !0),
3047
+ e.config.jsonYamlEnabled ? (m(), R(B, {
2916
3048
  key: 0,
2917
3049
  class: "config-format-select-label",
2918
3050
  "data-testid": "config-format-select-label"
2919
3051
  }, {
2920
3052
  default: h(() => [
2921
- Z(K(e.label), 1)
3053
+ Z(N(e.label), 1)
2922
3054
  ]),
2923
3055
  _: 1
2924
3056
  })) : G("", !0),
2925
- e.config.jsonYamlEnabled ? (g(), V(C, {
3057
+ e.config.jsonYamlEnabled ? (m(), R(k, {
2926
3058
  key: 1,
2927
3059
  appearance: "select",
2928
3060
  "data-testid": "select-config-format",
2929
3061
  items: c,
2930
3062
  onChange: u
2931
3063
  })) : G("", !0),
2932
- r.config.jsonYamlEnabled && e.configCardDoc ? (g(), V(S, {
3064
+ r.config.jsonYamlEnabled && e.configCardDoc ? (m(), R(x, {
2933
3065
  key: 2,
2934
- appearance: "btn-link",
3066
+ appearance: "tertiary",
2935
3067
  class: "book-icon",
2936
3068
  "data-testid": "book-icon"
2937
3069
  }, {
2938
3070
  default: h(() => [
2939
- R("a", {
3071
+ V("a", {
2940
3072
  href: e.configCardDoc,
2941
3073
  rel: "noopener",
2942
3074
  target: "_blank"
2943
3075
  }, [
2944
- F(y(ls), { size: y(yo) }, null, 8, ["size"])
2945
- ], 8, ds)
3076
+ F(y(vs), { size: y(So) }, null, 8, ["size"])
3077
+ ], 8, ks)
2946
3078
  ]),
2947
3079
  _: 1
2948
3080
  })) : G("", !0),
2949
- e.config.jsonYamlEnabled ? G("", !0) : (g(), V(T, { key: 3 }, {
3081
+ e.config.jsonYamlEnabled ? G("", !0) : (m(), R(M, { key: 3 }, {
2950
3082
  default: h(({ copyToClipboard: X }) => [
2951
- !f.value && !I.value ? (g(), V(S, {
3083
+ !f.value && !I.value ? (m(), R(x, {
2952
3084
  key: 0,
2953
- appearance: "btn-link",
3085
+ appearance: "tertiary",
2954
3086
  "data-testid": "json-copy-button",
2955
3087
  onClick: (ee) => z(X)
2956
3088
  }, {
2957
3089
  default: h(() => [
2958
- Z(K(y(a)("baseConfigCard.actions.copy")), 1)
3090
+ Z(N(y(a)("baseConfigCard.actions.copy")), 1)
2959
3091
  ]),
2960
3092
  _: 2
2961
3093
  }, 1032, ["onClick"])) : G("", !0)
@@ -2965,54 +3097,54 @@ const Wi = {
2965
3097
  ])
2966
3098
  ]),
2967
3099
  body: h(() => [
2968
- f.value ? (g(), V(P, {
3100
+ f.value ? (m(), R(P, {
2969
3101
  key: 0,
2970
3102
  "data-testid": "config-card-loader",
2971
3103
  "table-columns": 2,
2972
3104
  type: "table"
2973
- })) : I.value ? (g(), V(J, {
3105
+ })) : I.value ? (m(), R(J, {
2974
3106
  key: 1,
2975
3107
  "data-testid": "config-card-fetch-error",
2976
3108
  "is-error": ""
2977
3109
  }, {
2978
3110
  message: h(() => [
2979
- R("h3", null, K(v.value), 1)
3111
+ V("h3", null, N(v.value), 1)
2980
3112
  ]),
2981
3113
  _: 1
2982
3114
  })) : G("", !0),
2983
- e.config.jsonYamlEnabled ? (g(), j("div", ps, [
2984
- F(ts, {
3115
+ e.config.jsonYamlEnabled ? (m(), $("div", _s, [
3116
+ F(ds, {
2985
3117
  format: d.value,
2986
- "prop-list-types": x.value,
2987
- "property-collections": k.value,
3118
+ "prop-list-types": A.value,
3119
+ "property-collections": C.value,
2988
3120
  record: p.value
2989
3121
  }, Te({ _: 2 }, [
2990
3122
  ye(Object.keys(w.$slots), (X) => ({
2991
3123
  name: X,
2992
3124
  fn: h(({ row: ee, rowValue: ie }) => [
2993
- Y(w.$slots, X, {
3125
+ W(w.$slots, X, {
2994
3126
  row: ee,
2995
3127
  rowValue: ie
2996
3128
  }, void 0, !0)
2997
3129
  ])
2998
3130
  }))
2999
3131
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3000
- ])) : (g(), j("div", fs, [
3001
- (g(!0), j(ve, null, ye(x.value, (X) => (g(), j("div", {
3132
+ ])) : (m(), $("div", ws, [
3133
+ (m(!0), $(ve, null, ye(A.value, (X) => (m(), $("div", {
3002
3134
  key: `config-card-details-${X}-props`,
3003
3135
  class: Fe(`config-card-details-${X}-props`),
3004
3136
  "data-testid": `config-card-details-${X}-props`
3005
3137
  }, [
3006
- X !== "basic" ? (g(), j("div", gs, K(X === "advanced" ? y(a)("baseConfigCard.sections.advanced") : y(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
3007
- (g(!0), j(ve, null, ye(k.value[X], (ee) => (g(), V(St, {
3138
+ X !== "basic" ? (m(), $("div", As, N(X === "advanced" ? y(a)("baseConfigCard.sections.advanced") : y(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
3139
+ (m(!0), $(ve, null, ye(C.value[X], (ee) => (m(), R(xt, {
3008
3140
  key: ee.key,
3009
3141
  item: ee
3010
3142
  }, Te({
3011
3143
  label: h(() => [
3012
- Y(w.$slots, `${ee.key}-label`, { row: ee }, void 0, !0)
3144
+ W(w.$slots, `${ee.key}-label`, { row: ee }, void 0, !0)
3013
3145
  ]),
3014
3146
  [ee.key]: h(({ rowValue: ie }) => [
3015
- Y(w.$slots, ee.key, {
3147
+ W(w.$slots, ee.key, {
3016
3148
  row: ee,
3017
3149
  rowValue: ie
3018
3150
  }, void 0, !0)
@@ -3022,12 +3154,12 @@ const Wi = {
3022
3154
  ne(ee) ? {
3023
3155
  name: "label-tooltip",
3024
3156
  fn: h(() => [
3025
- Y(w.$slots, `${ee.key}-label-tooltip`, { row: ee }, void 0, !0)
3157
+ W(w.$slots, `${ee.key}-label-tooltip`, { row: ee }, void 0, !0)
3026
3158
  ]),
3027
3159
  key: "0"
3028
3160
  } : void 0
3029
3161
  ]), 1032, ["item"]))), 128))
3030
- ], 10, ms))), 128))
3162
+ ], 10, Is))), 128))
3031
3163
  ]))
3032
3164
  ]),
3033
3165
  _: 2
@@ -3035,9 +3167,9 @@ const Wi = {
3035
3167
  e.hideTitle ? void 0 : {
3036
3168
  name: "title",
3037
3169
  fn: h(() => [
3038
- R("div", us, [
3039
- Y(w.$slots, "title", {}, () => [
3040
- Z(K(y(a)("baseConfigCard.title")), 1)
3170
+ V("div", bs, [
3171
+ W(w.$slots, "title", {}, () => [
3172
+ Z(N(y(a)("baseConfigCard.title")), 1)
3041
3173
  ], !0)
3042
3174
  ])
3043
3175
  ]),
@@ -3046,10 +3178,10 @@ const Wi = {
3046
3178
  ]), 1024);
3047
3179
  };
3048
3180
  }
3049
- }), hs = /* @__PURE__ */ Ce(ys, [["__scopeId", "data-v-64349aa2"]]), vs = ["onReset", "onSubmit"], bs = {
3181
+ }), xs = /* @__PURE__ */ ke(Ss, [["__scopeId", "data-v-24515123"]]), Ts = ["onReset", "onSubmit"], $s = {
3050
3182
  class: "form-actions",
3051
3183
  "data-testid": "form-actions"
3052
- }, ks = /* @__PURE__ */ ae({
3184
+ }, Ms = /* @__PURE__ */ re({
3053
3185
  __name: "EntityBaseForm",
3054
3186
  props: {
3055
3187
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3101,12 +3233,12 @@ const Wi = {
3101
3233
  var t;
3102
3234
  const r = e, o = wt(), { i18n: { t: a } } = ue.useI18n(), { getMessageFromError: i } = ue.useErrors(), { axiosInstance: s } = ue.useAxios({
3103
3235
  headers: (t = r.config) == null ? void 0 : t.requestHeaders
3104
- }), l = O(!1), c = O(!1), d = O(""), u = M(() => r.canSubmit === !1 || r.isReadonly), m = M(() => {
3105
- var p, A;
3236
+ }), l = O(!1), c = O(!1), d = O(""), u = T(() => r.canSubmit === !1 || r.isReadonly), g = T(() => {
3237
+ var p, S;
3106
3238
  if (!r.editId)
3107
3239
  return "";
3108
3240
  let b = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3109
- return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((p = r.config) == null ? void 0 : p.controlPlaneId) || "") : r.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (A = r.config) != null && A.workspace ? `/${r.config.workspace}` : "")), b = b.replace(/{id}/gi, r.editId), b;
3241
+ return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((p = r.config) == null ? void 0 : p.controlPlaneId) || "") : r.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (S = r.config) != null && S.workspace ? `/${r.config.workspace}` : "")), b = b.replace(/{id}/gi, r.editId), b;
3110
3242
  }), f = () => {
3111
3243
  r.config.cancelRoute ? o.push(r.config.cancelRoute) : I();
3112
3244
  }, I = () => {
@@ -3114,28 +3246,28 @@ const Wi = {
3114
3246
  }, v = () => {
3115
3247
  u.value || n("submit");
3116
3248
  };
3117
- return Se(() => l.value, (p) => {
3249
+ return xe(() => l.value, (p) => {
3118
3250
  n("loading", p);
3119
3251
  }, { immediate: !0 }), Qe(async () => {
3120
3252
  if (r.editId)
3121
3253
  try {
3122
3254
  c.value = !1, l.value = !0;
3123
- const { data: p } = await s.get(m.value);
3255
+ const { data: p } = await s.get(g.value);
3124
3256
  n("fetch:success", p);
3125
3257
  } catch (p) {
3126
- const A = i(p);
3127
- d.value = A.startsWith("code") ? a("baseForm.errors.edit") : A, c.value = !0, n("fetch:error", p);
3258
+ const S = i(p);
3259
+ d.value = S.startsWith("code") ? a("baseForm.errors.edit") : S, c.value = !0, n("fetch:error", p);
3128
3260
  } finally {
3129
3261
  l.value = !1;
3130
3262
  }
3131
- }), (p, A) => {
3132
- const b = q("KSkeleton"), k = q("KEmptyState"), x = q("KAlert"), ne = q("KButton"), pe = q("KCard");
3133
- return g(), V(pe, { class: "kong-ui-entity-base-form" }, {
3263
+ }), (p, S) => {
3264
+ const b = q("KSkeleton"), C = q("KEmptyState"), A = q("KAlert"), ne = q("KButton"), pe = q("KCard");
3265
+ return m(), R(pe, { class: "kong-ui-entity-base-form" }, {
3134
3266
  body: h(() => [
3135
- l.value ? (g(), V(b, {
3267
+ l.value ? (m(), R(b, {
3136
3268
  key: 0,
3137
3269
  type: "form"
3138
- })) : c.value ? (g(), V(k, {
3270
+ })) : c.value ? (m(), R(C, {
3139
3271
  key: 1,
3140
3272
  "cta-text": y(a)("baseForm.actions.back"),
3141
3273
  "data-testid": "form-fetch-error",
@@ -3143,32 +3275,32 @@ const Wi = {
3143
3275
  "is-error": !0
3144
3276
  }, {
3145
3277
  message: h(() => [
3146
- R("h3", null, K(d.value), 1)
3278
+ V("h3", null, N(d.value), 1)
3147
3279
  ]),
3148
3280
  _: 1
3149
- }, 8, ["cta-text"])) : (g(), j("form", {
3281
+ }, 8, ["cta-text"])) : (m(), $("form", {
3150
3282
  key: 2,
3151
3283
  "data-testid": "form-content",
3152
3284
  onReset: rt(I, ["prevent"]),
3153
3285
  onSubmit: rt(v, ["prevent"])
3154
3286
  }, [
3155
- Y(p.$slots, "default", {}, void 0, !0),
3156
- e.errorMessage ? (g(), V(x, {
3287
+ W(p.$slots, "default", {}, void 0, !0),
3288
+ e.errorMessage ? (m(), R(A, {
3157
3289
  key: 0,
3158
3290
  "alert-message": e.errorMessage,
3159
3291
  appearance: "danger",
3160
3292
  "data-testid": "form-error"
3161
3293
  }, null, 8, ["alert-message"])) : G("", !0),
3162
- R("div", bs, [
3163
- Y(p.$slots, "form-actions", {}, () => [
3294
+ V("div", $s, [
3295
+ W(p.$slots, "form-actions", {}, () => [
3164
3296
  F(ne, {
3165
- appearance: "outline",
3297
+ appearance: "secondary",
3166
3298
  "data-testid": "form-cancel",
3167
3299
  disabled: e.isReadonly,
3168
3300
  type: "reset"
3169
3301
  }, {
3170
3302
  default: h(() => [
3171
- Z(K(y(a)("baseForm.actions.cancel")), 1)
3303
+ Z(N(y(a)("baseForm.actions.cancel")), 1)
3172
3304
  ]),
3173
3305
  _: 1
3174
3306
  }, 8, ["disabled"]),
@@ -3179,22 +3311,22 @@ const Wi = {
3179
3311
  type: "submit"
3180
3312
  }, {
3181
3313
  default: h(() => [
3182
- Z(K(y(a)("baseForm.actions.save")), 1)
3314
+ Z(N(y(a)("baseForm.actions.save")), 1)
3183
3315
  ]),
3184
3316
  _: 1
3185
3317
  }, 8, ["disabled"])
3186
3318
  ], !0)
3187
3319
  ])
3188
- ], 40, vs))
3320
+ ], 40, Ts))
3189
3321
  ]),
3190
3322
  _: 3
3191
3323
  });
3192
3324
  };
3193
3325
  }
3194
- }), Cs = /* @__PURE__ */ Ce(ks, [["__scopeId", "data-v-44a90aae"]]), _s = {
3326
+ }), js = /* @__PURE__ */ ke(Ms, [["__scopeId", "data-v-81612aef"]]), Es = {
3195
3327
  key: 0,
3196
3328
  "data-testid": "first-col"
3197
- }, ws = /* @__PURE__ */ ae({
3329
+ }, Os = /* @__PURE__ */ re({
3198
3330
  __name: "EntityBaseTableCell",
3199
3331
  props: {
3200
3332
  keyName: {
@@ -3207,25 +3339,25 @@ const Wi = {
3207
3339
  }
3208
3340
  },
3209
3341
  setup(e) {
3210
- const n = e, t = M(() => {
3342
+ const n = e, t = T(() => {
3211
3343
  var v;
3212
3344
  return ((v = n.rowEl) == null ? void 0 : v.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3213
- }), r = M(() => {
3345
+ }), r = T(() => {
3214
3346
  var v;
3215
3347
  return ((v = t.value) == null ? void 0 : v.querySelector('[data-testid="first-col"]')) || null;
3216
- }), o = M(() => {
3348
+ }), o = T(() => {
3217
3349
  var v, p;
3218
- const A = (v = n.rowEl) == null ? void 0 : v.querySelectorAll("td");
3219
- return A ? ((p = A[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
3350
+ const S = (v = n.rowEl) == null ? void 0 : v.querySelectorAll("td");
3351
+ return S ? ((p = S[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
3220
3352
  });
3221
3353
  let a;
3222
3354
  const i = () => {
3223
3355
  a && (a.disconnect(), a = void 0);
3224
3356
  }, s = () => {
3225
- var v, p, A;
3226
- c.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((A = l.value) == null ? void 0 : A.innerText) || "";
3227
- }, l = O({}), c = O(0), d = O(0), u = O(""), m = M(() => [r.value, t.value]), f = Se(
3228
- m,
3357
+ var v, p, S;
3358
+ c.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, u.value = ((S = l.value) == null ? void 0 : S.innerText) || "";
3359
+ }, l = O({}), c = O(0), d = O(0), u = O(""), g = T(() => [r.value, t.value]), f = xe(
3360
+ g,
3229
3361
  (v) => {
3230
3362
  if (o.value && (i(), "ResizeObserver" in window && window)) {
3231
3363
  a = new ResizeObserver((p) => {
@@ -3238,37 +3370,37 @@ const Wi = {
3238
3370
  }
3239
3371
  },
3240
3372
  { immediate: !0, flush: "post", deep: !0 }
3241
- ), I = M(() => o.value ? c.value > d.value : !1);
3242
- return pr(() => {
3373
+ ), I = T(() => o.value ? c.value > d.value : !1);
3374
+ return hr(() => {
3243
3375
  s();
3244
- }), fr(() => {
3376
+ }), vr(() => {
3245
3377
  f();
3246
3378
  }), (v, p) => {
3247
- const A = q("KTooltip");
3248
- return g(), j("span", {
3379
+ const S = q("KTooltip");
3380
+ return m(), $("span", {
3249
3381
  ref_key: "contentRef",
3250
3382
  ref: l,
3251
3383
  class: "content-wrapper"
3252
3384
  }, [
3253
- o.value ? (g(), j("span", _s, [
3254
- F(A, {
3385
+ o.value ? (m(), $("span", Es, [
3386
+ F(S, {
3255
3387
  label: I.value ? u.value : "",
3256
3388
  "max-width": "300",
3257
3389
  placement: "bottomStart"
3258
3390
  }, {
3259
3391
  default: h(() => [
3260
- Y(v.$slots, "default", {}, void 0, !0)
3392
+ W(v.$slots, "default", {}, void 0, !0)
3261
3393
  ]),
3262
3394
  _: 3
3263
3395
  }, 8, ["label"])
3264
- ])) : Y(v.$slots, "default", { key: 1 }, void 0, !0)
3396
+ ])) : W(v.$slots, "default", { key: 1 }, void 0, !0)
3265
3397
  ], 512);
3266
3398
  };
3267
3399
  }
3268
- }), Is = /* @__PURE__ */ Ce(ws, [["__scopeId", "data-v-e42a20c9"]]), xs = { class: "toolbar-container" }, As = {
3400
+ }), Ns = /* @__PURE__ */ ke(Os, [["__scopeId", "data-v-e42a20c9"]]), Fs = { class: "toolbar-container" }, Ks = {
3269
3401
  key: 0,
3270
3402
  class: "toolbar-button-container"
3271
- }, Ss = ["data-testid"], Ts = /* @__PURE__ */ ae({
3403
+ }, Bs = ["data-testid"], Ps = /* @__PURE__ */ re({
3272
3404
  __name: "EntityBaseTable",
3273
3405
  props: {
3274
3406
  // table header configuration
@@ -3377,56 +3509,56 @@ const Wi = {
3377
3509
  },
3378
3510
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3379
3511
  setup(e, { emit: n }) {
3380
- const t = e, { i18n: { t: r } } = ue.useI18n(), o = M(() => t.cacheIdentifier || t.preferencesStorageKey), a = (k) => k.hasData || !!t.query, i = M(() => {
3381
- const k = [];
3382
- return Object.keys(t.tableHeaders).forEach((x) => {
3383
- const ne = t.tableHeaders[x];
3384
- k.push({
3385
- label: ne.label ?? x,
3386
- key: x,
3512
+ const t = e, { i18n: { t: r } } = ue.useI18n(), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), a = (C) => C.hasData || !!t.query, i = T(() => {
3513
+ const C = [];
3514
+ return Object.keys(t.tableHeaders).forEach((A) => {
3515
+ const ne = t.tableHeaders[A];
3516
+ C.push({
3517
+ label: ne.label ?? A,
3518
+ key: A,
3387
3519
  sortable: ne.sortable ?? !1
3388
3520
  });
3389
- }), t.enableEntityActions && k.push({
3521
+ }), t.enableEntityActions && C.push({
3390
3522
  key: "actions",
3391
3523
  hideLabel: !0
3392
- }), k;
3393
- }), s = (k) => ({
3394
- "data-rowid": k.id,
3395
- "data-testid": k.name,
3396
- ...t.rowAttributes(k)
3397
- }), l = O({}), c = (k) => {
3398
- var x;
3399
- return (x = l.value) == null ? void 0 : x.$el.querySelector(`[data-rowid="${k.id}"]`);
3400
- }, d = (k) => {
3401
- const x = {
3402
- "data-testid": k.headerKey,
3403
- ...t.cellAttributes(k)
3524
+ }), C;
3525
+ }), s = (C) => ({
3526
+ "data-rowid": C.id,
3527
+ "data-testid": C.name,
3528
+ ...t.rowAttributes(C)
3529
+ }), l = O({}), c = (C) => {
3530
+ var A;
3531
+ return (A = l.value) == null ? void 0 : A.$el.querySelector(`[data-rowid="${C.id}"]`);
3532
+ }, d = (C) => {
3533
+ const A = {
3534
+ "data-testid": C.headerKey,
3535
+ ...t.cellAttributes(C)
3404
3536
  };
3405
- return k.colIndex === 0 && (x.style = {
3537
+ return C.colIndex === 0 && (A.style = {
3406
3538
  maxWidth: "250px",
3407
3539
  overflowX: "hidden",
3408
3540
  textOverflow: "ellipsis"
3409
- }), x;
3541
+ }), A;
3410
3542
  }, u = () => {
3411
- n("empty-state-cta-clicked"), m();
3412
- }, m = () => {
3543
+ n("empty-state-cta-clicked"), g();
3544
+ }, g = () => {
3413
3545
  n("clear-search-input");
3414
- }, f = M(() => t.disableRowClick ? void 0 : (k, x) => {
3415
- n("click:row", x);
3416
- }), I = (k) => {
3417
- n("sort", k);
3418
- }, { setTablePreferences: v, getTablePreferences: p } = Ar(), A = M(() => {
3419
- const k = p(t.preferencesStorageKey);
3546
+ }, f = T(() => t.disableRowClick ? void 0 : (C, A) => {
3547
+ n("click:row", A);
3548
+ }), I = (C) => {
3549
+ n("sort", C);
3550
+ }, { setTablePreferences: v, getTablePreferences: p } = Tr(), S = T(() => {
3551
+ const C = p(t.preferencesStorageKey);
3420
3552
  return {
3421
3553
  ...t.initialFetcherParams,
3422
- ...k
3554
+ ...C
3423
3555
  };
3424
- }), b = (k) => {
3425
- t.preferencesStorageKey && v(t.preferencesStorageKey, k);
3556
+ }), b = (C) => {
3557
+ t.preferencesStorageKey && v(t.preferencesStorageKey, C);
3426
3558
  };
3427
- return (k, x) => {
3428
- const ne = q("KIcon"), pe = q("KButton"), z = q("KDropdownMenu"), w = q("KTable"), N = q("KCard");
3429
- return g(), V(N, {
3559
+ return (C, A) => {
3560
+ const ne = q("KIcon"), pe = q("KButton"), z = q("KDropdown"), w = q("KTable"), K = q("KCard");
3561
+ return m(), R(K, {
3430
3562
  class: "kong-ui-entity-base-table",
3431
3563
  title: e.title
3432
3564
  }, {
@@ -3452,28 +3584,28 @@ const Wi = {
3452
3584
  "has-error": !!e.errorMessage,
3453
3585
  headers: i.value,
3454
3586
  "hide-pagination-when-optional": "",
3455
- "initial-fetcher-params": A.value,
3587
+ "initial-fetcher-params": S.value,
3456
3588
  "is-loading": e.isLoading,
3457
3589
  "pagination-type": e.paginationType,
3458
3590
  "row-attrs": s,
3459
3591
  "search-input": e.query,
3460
3592
  onKtableEmptyStateCtaClicked: u,
3461
3593
  "onRow:click": f.value,
3462
- onSort: x[0] || (x[0] = (B) => I(B)),
3594
+ onSort: A[0] || (A[0] = (B) => I(B)),
3463
3595
  "onUpdate:tablePreferences": b
3464
3596
  }, Te({
3465
3597
  toolbar: h(({ state: B }) => [
3466
- et(R("div", xs, [
3467
- Y(k.$slots, "toolbar-filter", {}, void 0, !0),
3468
- k.$slots["toolbar-button"] ? (g(), j("div", As, [
3469
- Y(k.$slots, "toolbar-button", {}, void 0, !0)
3598
+ et(V("div", Fs, [
3599
+ W(C.$slots, "toolbar-filter", {}, void 0, !0),
3600
+ C.$slots["toolbar-button"] ? (m(), $("div", Ks, [
3601
+ W(C.$slots, "toolbar-button", {}, void 0, !0)
3470
3602
  ])) : G("", !0)
3471
3603
  ], 512), [
3472
3604
  [tt, a(B)]
3473
3605
  ])
3474
3606
  ]),
3475
- actions: h(({ row: B, rowKey: C, rowValue: S }) => [
3476
- R("div", {
3607
+ actions: h(({ row: B, rowKey: k, rowValue: x }) => [
3608
+ V("div", {
3477
3609
  class: "actions-container",
3478
3610
  "data-testid": B.name
3479
3611
  }, [
@@ -3482,10 +3614,10 @@ const Wi = {
3482
3614
  width: e.dropdownMenuWidth
3483
3615
  }, {
3484
3616
  items: h(() => [
3485
- Y(k.$slots, "actions", {
3617
+ W(C.$slots, "actions", {
3486
3618
  row: B,
3487
- rowKey: C,
3488
- rowValue: S
3619
+ rowKey: k,
3620
+ rowValue: x
3489
3621
  }, void 0, !0)
3490
3622
  ]),
3491
3623
  default: h(() => [
@@ -3496,7 +3628,7 @@ const Wi = {
3496
3628
  }, {
3497
3629
  icon: h(() => [
3498
3630
  F(ne, {
3499
- color: y(mo),
3631
+ color: y(Io),
3500
3632
  icon: "more",
3501
3633
  size: "16"
3502
3634
  }, null, 8, ["color"])
@@ -3506,24 +3638,24 @@ const Wi = {
3506
3638
  ]),
3507
3639
  _: 2
3508
3640
  }, 1032, ["width"])
3509
- ], 8, Ss)
3641
+ ], 8, Bs)
3510
3642
  ]),
3511
3643
  _: 2
3512
3644
  }, [
3513
- ye(e.tableHeaders, (B, C) => ({
3514
- name: C,
3515
- fn: h(({ row: S, rowKey: T, rowValue: P }) => [
3516
- F(Is, {
3517
- "key-name": String(C),
3518
- "row-el": c(S)
3645
+ ye(e.tableHeaders, (B, k) => ({
3646
+ name: k,
3647
+ fn: h(({ row: x, rowKey: M, rowValue: P }) => [
3648
+ F(Ns, {
3649
+ "key-name": String(k),
3650
+ "row-el": c(x)
3519
3651
  }, {
3520
3652
  default: h(() => [
3521
- Y(k.$slots, C, {
3522
- row: S,
3523
- rowKey: T,
3653
+ W(C.$slots, k, {
3654
+ row: x,
3655
+ rowKey: M,
3524
3656
  rowValue: P
3525
3657
  }, () => [
3526
- Z(K(P), 1)
3658
+ Z(N(P), 1)
3527
3659
  ], !0)
3528
3660
  ]),
3529
3661
  _: 2
@@ -3536,13 +3668,13 @@ const Wi = {
3536
3668
  }, 8, ["title"]);
3537
3669
  };
3538
3670
  }
3539
- }), $s = /* @__PURE__ */ Ce(Ts, [["__scopeId", "data-v-6bf92df6"]]), Ms = {
3671
+ }), Ls = /* @__PURE__ */ ke(Ps, [["__scopeId", "data-v-86d2d2a3"]]), qs = {
3540
3672
  key: 0,
3541
3673
  class: "kong-ui-entity-delete-error"
3542
- }, js = {
3674
+ }, Us = {
3543
3675
  key: 1,
3544
3676
  class: "description"
3545
- }, Es = /* @__PURE__ */ ae({
3677
+ }, Vs = /* @__PURE__ */ re({
3546
3678
  __name: "EntityDeleteModal",
3547
3679
  props: {
3548
3680
  visible: {
@@ -3581,14 +3713,14 @@ const Wi = {
3581
3713
  },
3582
3714
  emits: ["cancel", "proceed"],
3583
3715
  setup(e, { emit: n }) {
3584
- const t = e, { i18nT: r } = ue.useI18n(), o = M(() => t.needConfirm ? t.entityName : ""), a = () => {
3716
+ const t = e, { i18nT: r } = ue.useI18n(), o = T(() => t.needConfirm ? t.entityName : ""), a = () => {
3585
3717
  n("cancel");
3586
3718
  }, i = () => {
3587
3719
  n("proceed");
3588
3720
  };
3589
3721
  return (s, l) => {
3590
3722
  const c = q("KAlert"), d = q("KPrompt");
3591
- return g(), V(d, {
3723
+ return m(), R(d, {
3592
3724
  "action-button-text": "Yes, delete",
3593
3725
  "action-pending": e.actionPending,
3594
3726
  class: "kong-ui-entity-delete-modal",
@@ -3600,10 +3732,10 @@ const Wi = {
3600
3732
  onProceed: i
3601
3733
  }, {
3602
3734
  "body-content": h(() => [
3603
- e.error ? (g(), j("div", Ms, [
3735
+ e.error ? (m(), $("div", qs, [
3604
3736
  F(c, { appearance: "danger" }, {
3605
3737
  alertMessage: h(() => [
3606
- Z(K(e.error), 1)
3738
+ Z(N(e.error), 1)
3607
3739
  ]),
3608
3740
  _: 1
3609
3741
  })
@@ -3614,21 +3746,21 @@ const Wi = {
3614
3746
  tag: "p"
3615
3747
  }, Te({
3616
3748
  entityType: h(() => [
3617
- Z(K(t.entityType), 1)
3749
+ Z(N(t.entityType), 1)
3618
3750
  ]),
3619
3751
  _: 2
3620
3752
  }, [
3621
3753
  t.entityName ? {
3622
3754
  name: "entityName",
3623
3755
  fn: h(() => [
3624
- R("strong", null, K(t.entityName), 1)
3756
+ V("strong", null, N(t.entityName), 1)
3625
3757
  ]),
3626
3758
  key: "0"
3627
3759
  } : void 0
3628
3760
  ]), 1032, ["keypath"]),
3629
- t.description || s.$slots.description ? (g(), j("div", js, [
3630
- Y(s.$slots, "description", {}, () => [
3631
- R("p", null, K(t.description), 1)
3761
+ t.description || s.$slots.description ? (m(), $("div", Us, [
3762
+ W(s.$slots, "description", {}, () => [
3763
+ V("p", null, N(t.description), 1)
3632
3764
  ], !0)
3633
3765
  ])) : G("", !0)
3634
3766
  ]),
@@ -3636,13 +3768,13 @@ const Wi = {
3636
3768
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3637
3769
  };
3638
3770
  }
3639
- }), Os = /* @__PURE__ */ Ce(Es, [["__scopeId", "data-v-1c9a2a07"]]), Ks = {
3771
+ }), Rs = /* @__PURE__ */ ke(Vs, [["__scopeId", "data-v-1c9a2a07"]]), Ds = {
3640
3772
  fill: "none",
3641
3773
  height: "20",
3642
3774
  viewBox: "0 0 20 20",
3643
3775
  width: "20",
3644
3776
  xmlns: "http://www.w3.org/2000/svg"
3645
- }, Fs = {
3777
+ }, Gs = {
3646
3778
  id: "mask0_180_20349",
3647
3779
  height: "20",
3648
3780
  maskUnits: "userSpaceOnUse",
@@ -3650,35 +3782,35 @@ const Wi = {
3650
3782
  width: "20",
3651
3783
  x: "0",
3652
3784
  y: "0"
3653
- }, Ns = ["fill"], Bs = { mask: "url(#mask0_180_20349)" }, Ps = ["fill"], Ls = /* @__PURE__ */ ae({
3785
+ }, zs = ["fill"], Hs = { mask: "url(#mask0_180_20349)" }, Js = ["fill"], cn = /* @__PURE__ */ re({
3654
3786
  __name: "IconFilter",
3655
3787
  props: {
3656
3788
  color: {
3657
3789
  type: String,
3658
- default: `var(--kong-ui-entity-filter-color, ${po})`
3790
+ default: `var(--kong-ui-entity-filter-color, ${_o})`
3659
3791
  }
3660
3792
  },
3661
3793
  setup(e) {
3662
- return (n, t) => (g(), j("svg", Ks, [
3663
- R("mask", Fs, [
3664
- R("rect", {
3794
+ return (n, t) => (m(), $("svg", Ds, [
3795
+ V("mask", Gs, [
3796
+ V("rect", {
3665
3797
  fill: e.color,
3666
3798
  height: "20",
3667
3799
  width: "20"
3668
- }, null, 8, Ns)
3800
+ }, null, 8, zs)
3669
3801
  ]),
3670
- R("g", Bs, [
3671
- R("path", {
3802
+ V("g", Hs, [
3803
+ V("path", {
3672
3804
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3673
3805
  fill: e.color
3674
- }, null, 8, Ps)
3806
+ }, null, 8, Js)
3675
3807
  ])
3676
3808
  ]));
3677
3809
  }
3678
- }), qs = {
3810
+ }), Ys = {
3679
3811
  key: 1,
3680
3812
  class: "kong-ui-entity-filter"
3681
- }, Us = { class: "menu-item-title" }, Rs = { class: "menu-item-indicator" }, Vs = { class: "menu-item-body" }, Ds = ["for"], Gs = { class: "menu-item-buttons" }, zs = /* @__PURE__ */ ae({
3813
+ }, Ws = { class: "menu-item-title" }, Zs = { class: "menu-item-indicator" }, Qs = { class: "menu-item-body" }, Xs = ["for"], el = { class: "menu-item-buttons" }, tl = { class: "filter-clear-button-container" }, nl = /* @__PURE__ */ re({
3682
3814
  __name: "EntityFilter",
3683
3815
  props: {
3684
3816
  // filter config, either exact match or fuzzy match
@@ -3698,21 +3830,21 @@ const Wi = {
3698
3830
  },
3699
3831
  emits: ["update:modelValue"],
3700
3832
  setup(e, { emit: n }) {
3701
- const t = e, { i18n: { t: r } } = ue.useI18n(), o = O(!1), a = O({}), i = M(() => {
3833
+ const t = e, { i18n: { t: r } } = ue.useI18n(), o = O(!1), a = O({}), i = T(() => {
3702
3834
  const p = [];
3703
- return new URLSearchParams(t.modelValue).forEach((A, b) => {
3704
- A !== "" && p.push(b);
3835
+ return new URLSearchParams(t.modelValue).forEach((S, b) => {
3836
+ S !== "" && p.push(b);
3705
3837
  }), p;
3706
- }), s = M(() => {
3838
+ }), s = T(() => {
3707
3839
  const p = t.config.fields;
3708
- return Object.keys(p).filter((A) => p[A].searchable).map((A) => ({
3709
- label: p[A].label || A,
3710
- value: A
3840
+ return Object.keys(p).filter((S) => p[S].searchable).map((S) => ({
3841
+ label: p[S].label || S,
3842
+ value: S
3711
3843
  }));
3712
3844
  });
3713
- Se(() => t.modelValue, (p) => {
3714
- a.value = {}, new URLSearchParams(p).forEach((A, b) => {
3715
- a.value[b] = A;
3845
+ xe(() => t.modelValue, (p) => {
3846
+ a.value = {}, new URLSearchParams(p).forEach((S, b) => {
3847
+ a.value[b] = S;
3716
3848
  });
3717
3849
  });
3718
3850
  const l = () => {
@@ -3720,14 +3852,14 @@ const Wi = {
3720
3852
  }, c = (p) => {
3721
3853
  n("update:modelValue", p);
3722
3854
  }, d = (p) => `filter-${p}`, u = (p) => {
3723
- var A, b;
3724
- return (((b = (A = t.config.schema) == null ? void 0 : A[p]) == null ? void 0 : b.values) ?? []).map((k) => ({
3725
- value: k,
3726
- label: k
3855
+ var S, b;
3856
+ return (((b = (S = t.config.schema) == null ? void 0 : S[p]) == null ? void 0 : b.values) ?? []).map((C) => ({
3857
+ value: C,
3858
+ label: C
3727
3859
  }));
3728
- }, m = (p) => {
3729
- var A, b;
3730
- return ((b = (A = t.config.schema) == null ? void 0 : A[p]) == null ? void 0 : b.type) ?? "text";
3860
+ }, g = (p) => {
3861
+ var S, b;
3862
+ return ((b = (S = t.config.schema) == null ? void 0 : S[p]) == null ? void 0 : b.type) ?? "text";
3731
3863
  }, f = (p) => {
3732
3864
  a.value = {
3733
3865
  ...a.value,
@@ -3736,12 +3868,12 @@ const Wi = {
3736
3868
  }, I = () => {
3737
3869
  a.value = {}, v(!0);
3738
3870
  }, v = (p = !1) => {
3739
- const A = Object.keys(a.value).reduce((b, k) => (a.value[k] && (b[k] = `${a.value[k]}`), b), {});
3740
- p && (o.value = !1), n("update:modelValue", new URLSearchParams(A).toString());
3871
+ const S = Object.keys(a.value).reduce((b, C) => (a.value[C] && (b[C] = `${a.value[C]}`), b), {});
3872
+ p && (o.value = !1), n("update:modelValue", new URLSearchParams(S).toString());
3741
3873
  };
3742
- return (p, A) => {
3743
- const b = q("KInput"), k = q("KButton"), x = q("KSelect"), ne = q("KMenuItem"), pe = q("KMenu");
3744
- return e.config.isExactMatch ? (g(), V(b, {
3874
+ return (p, S) => {
3875
+ const b = q("KInput"), C = q("KButton"), A = q("KSelect"), ne = q("KMenuItem"), pe = q("KMenu");
3876
+ return e.config.isExactMatch ? (m(), R(b, {
3745
3877
  key: 0,
3746
3878
  autocomplete: "off",
3747
3879
  class: "kong-ui-entity-filter-input",
@@ -3750,23 +3882,23 @@ const Wi = {
3750
3882
  placeholder: e.config.placeholder,
3751
3883
  "onUpdate:modelValue": c
3752
3884
  }, {
3753
- icon: h(() => [
3754
- F(Ls)
3885
+ before: h(() => [
3886
+ F(cn)
3755
3887
  ]),
3756
3888
  _: 1
3757
- }, 8, ["model-value", "placeholder"])) : (g(), j("div", qs, [
3758
- F(k, {
3759
- appearance: "btn-link",
3889
+ }, 8, ["model-value", "placeholder"])) : (m(), $("div", Ys, [
3890
+ F(C, {
3891
+ appearance: "tertiary",
3760
3892
  "data-testid": "filter-button",
3761
- icon: "filter",
3762
3893
  onClick: l
3763
3894
  }, {
3764
3895
  default: h(() => [
3765
- Z(K(y(r)("filter.filterButtonText")) + " " + K(i.value.length > 0 ? `(${i.value.length})` : ""), 1)
3896
+ F(cn),
3897
+ Z(" " + N(y(r)("filter.filterButtonText")) + " " + N(i.value.length > 0 ? `(${i.value.length})` : ""), 1)
3766
3898
  ]),
3767
3899
  _: 1
3768
3900
  }),
3769
- et(R("div", {
3901
+ et(V("div", {
3770
3902
  class: "kong-ui-entity-filter-backdrop",
3771
3903
  onClick: l
3772
3904
  }, null, 512), [
@@ -3774,67 +3906,66 @@ const Wi = {
3774
3906
  ]),
3775
3907
  et(F(pe, { class: "kong-ui-entity-filter-menu" }, {
3776
3908
  body: h(() => [
3777
- (g(!0), j(ve, null, ye(s.value, (z, w) => (g(), V(ne, {
3909
+ (m(!0), $(ve, null, ye(s.value, (z, w) => (m(), R(ne, {
3778
3910
  key: z.value,
3779
3911
  "data-testid": z.value,
3780
3912
  expandable: "",
3781
3913
  "last-menu-item": w === s.value.length - 1
3782
3914
  }, {
3783
3915
  itemTitle: h(() => [
3784
- R("span", Us, [
3785
- Z(K(z.label) + " ", 1),
3786
- et(R("span", Rs, null, 512), [
3916
+ V("span", Ws, [
3917
+ Z(N(z.label) + " ", 1),
3918
+ et(V("span", Zs, null, 512), [
3787
3919
  [tt, i.value.includes(z.value)]
3788
3920
  ])
3789
3921
  ])
3790
3922
  ]),
3791
3923
  itemBody: h(() => {
3792
- var N, B;
3924
+ var K, B;
3793
3925
  return [
3794
- R("div", Vs, [
3795
- R("label", {
3926
+ V("div", Qs, [
3927
+ V("label", {
3796
3928
  class: "menu-item-label",
3797
3929
  for: d(z.value)
3798
- }, K(y(r)("filter.fieldLabel")), 9, Ds),
3799
- ((B = (N = e.config.schema) == null ? void 0 : N[z.value]) == null ? void 0 : B.type) === "select" ? (g(), V(x, {
3930
+ }, N(y(r)("filter.fieldLabel")), 9, Xs),
3931
+ ((B = (K = e.config.schema) == null ? void 0 : K[z.value]) == null ? void 0 : B.type) === "select" ? (m(), R(A, {
3800
3932
  key: 0,
3801
3933
  id: d(z.value),
3802
3934
  modelValue: a.value[z.value],
3803
- "onUpdate:modelValue": (C) => a.value[z.value] = C,
3935
+ "onUpdate:modelValue": (k) => a.value[z.value] = k,
3804
3936
  appearance: "select",
3805
3937
  items: u(z.value),
3806
3938
  placeholder: y(r)("filter.selectPlaceholder")
3807
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (g(), V(b, {
3939
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), R(b, {
3808
3940
  key: 1,
3809
3941
  id: d(z.value),
3810
3942
  modelValue: a.value[z.value],
3811
- "onUpdate:modelValue": (C) => a.value[z.value] = C,
3943
+ "onUpdate:modelValue": (k) => a.value[z.value] = k,
3812
3944
  autocomplete: "off",
3813
3945
  placeholder: y(r)("filter.inputPlaceholder"),
3814
- size: "small",
3815
- type: m(z.value)
3946
+ type: g(z.value)
3816
3947
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3817
3948
  ]),
3818
- R("div", Gs, [
3819
- F(k, {
3820
- appearance: "btn-link",
3949
+ V("div", el, [
3950
+ F(C, {
3951
+ appearance: "tertiary",
3821
3952
  "data-testid": "apply-filter",
3822
3953
  size: "small",
3823
- onClick: A[0] || (A[0] = (C) => v(!0))
3954
+ onClick: S[0] || (S[0] = (k) => v(!0))
3824
3955
  }, {
3825
3956
  default: h(() => [
3826
- Z(K(y(r)("filter.applyButtonText")), 1)
3957
+ Z(N(y(r)("filter.applyButtonText")), 1)
3827
3958
  ]),
3828
3959
  _: 1
3829
3960
  }),
3830
- F(k, {
3831
- appearance: "btn-link",
3961
+ F(C, {
3962
+ appearance: "tertiary",
3832
3963
  "data-testid": "clear-filter",
3833
3964
  size: "small",
3834
- onClick: (C) => f(z.value)
3965
+ onClick: (k) => f(z.value)
3835
3966
  }, {
3836
3967
  default: h(() => [
3837
- Z(K(y(r)("filter.clearButtonText")), 1)
3968
+ Z(N(y(r)("filter.clearButtonText")), 1)
3838
3969
  ]),
3839
3970
  _: 2
3840
3971
  }, 1032, ["onClick"])
@@ -3845,12 +3976,17 @@ const Wi = {
3845
3976
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
3846
3977
  ]),
3847
3978
  actionButton: h(() => [
3848
- F(k, { onClick: I }, {
3849
- default: h(() => [
3850
- Z(K(y(r)("filter.clearAllButtonText")), 1)
3851
- ]),
3852
- _: 1
3853
- })
3979
+ V("div", tl, [
3980
+ F(C, {
3981
+ size: "small",
3982
+ onClick: I
3983
+ }, {
3984
+ default: h(() => [
3985
+ Z(N(y(r)("filter.clearAllButtonText")), 1)
3986
+ ]),
3987
+ _: 1
3988
+ })
3989
+ ])
3854
3990
  ]),
3855
3991
  _: 1
3856
3992
  }, 512), [
@@ -3859,7 +3995,7 @@ const Wi = {
3859
3995
  ]));
3860
3996
  };
3861
3997
  }
3862
- }), Hs = /* @__PURE__ */ Ce(zs, [["__scopeId", "data-v-745f38c0"]]), Xe = /* @__PURE__ */ ae({
3998
+ }), rl = /* @__PURE__ */ ke(nl, [["__scopeId", "data-v-4ea260f0"]]), Xe = /* @__PURE__ */ re({
3863
3999
  __name: "PermissionsWrapper",
3864
4000
  props: {
3865
4001
  /**
@@ -3881,24 +4017,24 @@ const Wi = {
3881
4017
  }
3882
4018
  },
3883
4019
  setup(e) {
3884
- const n = e, t = O(void 0), r = M(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3885
- return Se(() => n.authFunction, async () => {
4020
+ const n = e, t = O(void 0), r = T(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
4021
+ return xe(() => n.authFunction, async () => {
3886
4022
  t.value = await n.authFunction();
3887
- }, { immediate: !0 }), (o, a) => r.value ? Y(o.$slots, "default", {
4023
+ }, { immediate: !0 }), (o, a) => r.value ? W(o.$slots, "default", {
3888
4024
  key: 0,
3889
4025
  isAllowed: t.value
3890
4026
  }) : G("", !0);
3891
4027
  }
3892
- }), Js = { class: "form-section-wrapper" }, Ws = {
4028
+ }), ol = { class: "form-section-wrapper" }, al = {
3893
4029
  key: 0,
3894
4030
  class: "form-section-title"
3895
- }, Ys = {
4031
+ }, il = {
3896
4032
  key: 1,
3897
4033
  class: "form-section-description"
3898
- }, Zs = {
4034
+ }, sl = {
3899
4035
  key: 2,
3900
4036
  class: "form-section-footer"
3901
- }, Qs = { class: "form-section-content" }, Xs = /* @__PURE__ */ ae({
4037
+ }, ll = { class: "form-section-content" }, ul = /* @__PURE__ */ re({
3902
4038
  __name: "EntityFormSection",
3903
4039
  props: {
3904
4040
  title: {
@@ -3924,35 +4060,35 @@ const Wi = {
3924
4060
  },
3925
4061
  setup(e) {
3926
4062
  const n = ut();
3927
- return (t, r) => (g(), j("fieldset", {
4063
+ return (t, r) => (m(), $("fieldset", {
3928
4064
  class: Fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
3929
4065
  }, [
3930
- R("div", Js, [
3931
- e.hideInfoHeader ? G("", !0) : (g(), j("div", {
4066
+ V("div", ol, [
4067
+ e.hideInfoHeader ? G("", !0) : (m(), $("div", {
3932
4068
  key: 0,
3933
4069
  class: Fe(["form-section-info", { sticky: e.stickyInfoHeader }])
3934
4070
  }, [
3935
- e.title ? (g(), j("h4", Ws, K(e.title), 1)) : G("", !0),
3936
- e.description || y(n).description ? (g(), j("div", Ys, [
3937
- Y(t.$slots, "description", {}, () => [
3938
- R("p", null, K(e.description), 1)
4071
+ e.title ? (m(), $("h4", al, N(e.title), 1)) : G("", !0),
4072
+ e.description || y(n).description ? (m(), $("div", il, [
4073
+ W(t.$slots, "description", {}, () => [
4074
+ V("p", null, N(e.description), 1)
3939
4075
  ], !0)
3940
4076
  ])) : G("", !0),
3941
- y(n).footer ? (g(), j("div", Zs, [
3942
- Y(t.$slots, "footer", {}, void 0, !0)
4077
+ y(n).footer ? (m(), $("div", sl, [
4078
+ W(t.$slots, "footer", {}, void 0, !0)
3943
4079
  ])) : G("", !0)
3944
4080
  ], 2)),
3945
- R("div", Qs, [
3946
- Y(t.$slots, "default", {}, void 0, !0)
4081
+ V("div", ll, [
4082
+ W(t.$slots, "default", {}, void 0, !0)
3947
4083
  ])
3948
4084
  ])
3949
4085
  ], 2));
3950
4086
  }
3951
- }), un = /* @__PURE__ */ Ce(Xs, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Kt, useDeleteUrlBuilder: el, useErrors: tl, useExternalLinkCreator: _l, useFetchUrlBuilder: wl, useFetcher: nl, useDebouncedFilter: ar, useStringHelpers: Il, useHelpers: xl, useGatewayFeatureSupported: Al, useTruncationDetector: Sl } = ue;
3952
- const rl = { class: "add-to-group-form-container" }, ol = { class: "add-to-group-cta-text" }, al = {
4087
+ }), dn = /* @__PURE__ */ ke(ul, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Nt, useDeleteUrlBuilder: cl, useErrors: dl, useExternalLinkCreator: El, useFetchUrlBuilder: Ol, useFetcher: pl, useDebouncedFilter: cr, useStringHelpers: Nl, useHelpers: Fl, useGatewayFeatureSupported: Kl, useTruncationDetector: Bl } = ue;
4088
+ const fl = { class: "add-to-group-form-container" }, ml = { class: "add-to-group-cta-text" }, gl = {
3953
4089
  key: 0,
3954
4090
  class: "kong-ui-entity-add-to-groups-error"
3955
- }, il = { key: 0 }, sl = /* @__PURE__ */ ae({
4091
+ }, yl = { key: 0 }, hl = /* @__PURE__ */ re({
3956
4092
  __name: "AddToGroupModal",
3957
4093
  props: {
3958
4094
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3970,7 +4106,7 @@ const rl = { class: "add-to-group-form-container" }, ol = { class: "add-to-group
3970
4106
  emits: ["cancel", "add:success", "add:partial-success", "error"],
3971
4107
  setup(e, { emit: n }) {
3972
4108
  var B;
3973
- const t = e, { i18n: { t: r } } = ct.useI18n(), { axiosInstance: o } = Kt({
4109
+ const t = e, { i18n: { t: r } } = ct.useI18n(), { axiosInstance: o } = Nt({
3974
4110
  headers: (B = t.config) == null ? void 0 : B.requestHeaders
3975
4111
  }), a = O([]), {
3976
4112
  debouncedQueryChange: i,
@@ -3979,7 +4115,7 @@ const rl = { class: "add-to-group-form-container" }, ol = { class: "add-to-group
3979
4115
  error: c,
3980
4116
  loadItems: d,
3981
4117
  results: u
3982
- } = ar(
4118
+ } = cr(
3983
4119
  t.config,
3984
4120
  $e.list[t.config.app].all,
3985
4121
  "",
@@ -3987,77 +4123,77 @@ const rl = { class: "add-to-group-form-container" }, ol = { class: "add-to-group
3987
4123
  fetchedItemsKey: "data",
3988
4124
  searchKeys: ["name", "id"]
3989
4125
  }
3990
- ), m = M(() => c.value ? r("consumer_groups.errors.general") : ""), f = O(0), I = M(() => l.value === void 0), v = M(() => u.value.map((C) => ({
3991
- label: C.name,
3992
- value: C.id,
3993
- selected: a.value.includes(C.id),
3994
- data: C
4126
+ ), g = T(() => c.value ? r("consumer_groups.errors.general") : ""), f = O(0), I = T(() => l.value === void 0), v = T(() => u.value.map((k) => ({
4127
+ label: k.name,
4128
+ value: k.id,
4129
+ selected: a.value.includes(k.id),
4130
+ data: k
3995
4131
  // we need this to determine whether or not to show the description text
3996
- }))), p = (C) => {
3997
- var T;
3998
- const S = I.value ? u.value.find((P) => P.id === C) : (T = l.value) == null ? void 0 : T.find((P) => P.id === C);
3999
- return S ? S.name : C;
4000
- }, A = () => {
4001
- x.value = "", b.value = [], w.value = [], n("cancel");
4002
- }, b = O([]), k = O(!1), x = O(""), ne = async () => {
4132
+ }))), p = (k) => {
4133
+ var M;
4134
+ const x = I.value ? u.value.find((P) => P.id === k) : (M = l.value) == null ? void 0 : M.find((P) => P.id === k);
4135
+ return x ? x.name : k;
4136
+ }, S = () => {
4137
+ A.value = "", b.value = [], w.value = [], n("cancel");
4138
+ }, b = O([]), C = O(!1), A = O(""), ne = async () => {
4003
4139
  if (!a.value.length) {
4004
- x.value = "", w.value = [], n("cancel");
4140
+ A.value = "", w.value = [], n("cancel");
4005
4141
  return;
4006
4142
  }
4007
- k.value = !0, x.value = "", b.value = [], w.value = [];
4143
+ C.value = !0, A.value = "", b.value = [], w.value = [];
4008
4144
  try {
4009
- const C = a.value.map((P) => z(P)), S = await Promise.allSettled(C);
4010
- let T = !0;
4011
- S.forEach((P) => {
4012
- P.status !== "fulfilled" && (T = !1);
4013
- }), T ? (b.value = [], w.value = [], n("add:success", a.value), a.value = []) : (b.value.length && n("add:partial-success", b.value), a.value = [], N(S));
4145
+ const k = a.value.map((P) => z(P)), x = await Promise.allSettled(k);
4146
+ let M = !0;
4147
+ x.forEach((P) => {
4148
+ P.status !== "fulfilled" && (M = !1);
4149
+ }), M ? (b.value = [], w.value = [], n("add:success", a.value), a.value = []) : (b.value.length && n("add:partial-success", b.value), a.value = [], K(x));
4014
4150
  } catch {
4015
- x.value = r("consumer_groups.errors.add"), n("error", x.value);
4151
+ A.value = r("consumer_groups.errors.add"), n("error", A.value);
4016
4152
  } finally {
4017
- k.value = !1;
4153
+ C.value = !1;
4018
4154
  }
4019
- }, pe = M(() => {
4020
- var S, T, P, J;
4021
- let C = `${t.config.apiBaseUrl}${$e.list[t.config.app].forConsumer}`;
4022
- return t.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, ((S = t.config) == null ? void 0 : S.controlPlaneId) || "").replace(/{consumerId}/gi, ((T = t.config) == null ? void 0 : T.consumerId) || "") : t.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, (P = t.config) != null && P.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((J = t.config) == null ? void 0 : J.consumerId) || "")), C;
4023
- }), z = async (C) => {
4024
- const S = {
4025
- group: C
4155
+ }, pe = T(() => {
4156
+ var x, M, P, J;
4157
+ let k = `${t.config.apiBaseUrl}${$e.list[t.config.app].forConsumer}`;
4158
+ return t.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((x = t.config) == null ? void 0 : x.controlPlaneId) || "").replace(/{consumerId}/gi, ((M = t.config) == null ? void 0 : M.consumerId) || "") : t.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (P = t.config) != null && P.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((J = t.config) == null ? void 0 : J.consumerId) || "")), k;
4159
+ }), z = async (k) => {
4160
+ const x = {
4161
+ group: k
4026
4162
  };
4027
4163
  try {
4028
- const T = await o.post(pe.value, S);
4029
- return b.value.push(C), T;
4030
- } catch (T) {
4031
- let P = `${p(C)} - ${T.message}`;
4032
- return T.response.status === 409 && (P = `${p(C)} - ${r("consumer_groups.errors.already_added")}`), Promise.reject(Error(P));
4164
+ const M = await o.post(pe.value, x);
4165
+ return b.value.push(k), M;
4166
+ } catch (M) {
4167
+ let P = `${p(k)} - ${M.message}`;
4168
+ return M.response.status === 409 && (P = `${p(k)} - ${r("consumer_groups.errors.already_added")}`), Promise.reject(Error(P));
4033
4169
  }
4034
- }, w = O([]), N = (C) => {
4035
- w.value = C.map((S) => {
4036
- var T;
4037
- return (T = S.reason) == null ? void 0 : T.message;
4170
+ }, w = O([]), K = (k) => {
4171
+ w.value = k.map((x) => {
4172
+ var M;
4173
+ return (M = x.reason) == null ? void 0 : M.message;
4038
4174
  }).filter(Boolean);
4039
4175
  };
4040
- return Se(v, () => {
4176
+ return xe(v, () => {
4041
4177
  f.value++;
4042
4178
  }, { immediate: !0, deep: !0 }), Qe(async () => {
4043
4179
  await d();
4044
- }), (C, S) => {
4045
- const T = q("KMultiselect"), P = q("KAlert"), J = q("KPrompt");
4046
- return g(), V(J, {
4047
- "action-pending": k.value,
4180
+ }), (k, x) => {
4181
+ const M = q("KMultiselect"), P = q("KAlert"), J = q("KPrompt");
4182
+ return m(), R(J, {
4183
+ "action-pending": C.value,
4048
4184
  class: "kong-ui-entities-add-to-groups-modal",
4049
4185
  "data-testid": "add-to-group-modal",
4050
4186
  "is-visible": e.visible,
4051
4187
  title: y(r)("consumer_groups.consumers.add.title"),
4052
- onCanceled: A,
4188
+ onCanceled: S,
4053
4189
  onProceed: ne
4054
4190
  }, {
4055
4191
  "body-content": h(() => [
4056
- R("div", rl, [
4057
- R("p", ol, K(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4058
- F(T, {
4192
+ V("div", fl, [
4193
+ V("p", ml, N(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4194
+ F(M, {
4059
4195
  modelValue: a.value,
4060
- "onUpdate:modelValue": S[0] || (S[0] = (Q) => a.value = Q),
4196
+ "onUpdate:modelValue": x[0] || (x[0] = (Q) => a.value = Q),
4061
4197
  autosuggest: "",
4062
4198
  "data-testid": "add-to-groups-multiselect",
4063
4199
  "dropdown-footer-text": I.value ? y(r)("consumer_groups.consumers.add.footer") : void 0,
@@ -4065,19 +4201,19 @@ const rl = { class: "add-to-group-form-container" }, ol = { class: "add-to-group
4065
4201
  label: y(r)("consumer_groups.consumers.add.consumer_groups_label"),
4066
4202
  loading: y(s),
4067
4203
  placeholder: y(r)("consumer_groups.consumers.add.consumer_group_placeholder"),
4068
- readonly: k.value,
4204
+ readonly: C.value,
4069
4205
  required: "",
4070
4206
  width: "100%",
4071
4207
  onQueryChange: y(i)
4072
4208
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4073
- x.value || m.value || w.value.length ? (g(), j("div", al, [
4209
+ A.value || g.value || w.value.length ? (m(), $("div", gl, [
4074
4210
  F(P, { appearance: "danger" }, {
4075
4211
  alertMessage: h(() => [
4076
- R("p", null, K(y(r)("consumer_groups.errors.add")), 1),
4077
- w.value.length ? (g(), j("ul", il, [
4078
- (g(!0), j(ve, null, ye(w.value, (Q, X) => (g(), j("li", { key: X }, K(Q), 1))), 128))
4212
+ V("p", null, N(y(r)("consumer_groups.errors.add")), 1),
4213
+ w.value.length ? (m(), $("ul", yl, [
4214
+ (m(!0), $(ve, null, ye(w.value, (Q, X) => (m(), $("li", { key: X }, N(Q), 1))), 128))
4079
4215
  ])) : G("", !0),
4080
- R("div", null, K(x.value || m.value), 1)
4216
+ V("div", null, N(A.value || g.value), 1)
4081
4217
  ]),
4082
4218
  _: 1
4083
4219
  })
@@ -4094,7 +4230,7 @@ const Ft = (e, n) => {
4094
4230
  for (const [r, o] of n)
4095
4231
  t[r] = o;
4096
4232
  return t;
4097
- }, ll = /* @__PURE__ */ Ft(sl, [["__scopeId", "data-v-4d30f3c5"]]), ul = { class: "kong-ui-entities-consumer-groups-list" }, cl = { key: 1 }, dl = /* @__PURE__ */ ae({
4233
+ }, vl = /* @__PURE__ */ Ft(hl, [["__scopeId", "data-v-4d30f3c5"]]), bl = { class: "kong-ui-entities-consumer-groups-list" }, Cl = { key: 1 }, kl = /* @__PURE__ */ re({
4098
4234
  __name: "ConsumerGroupList",
4099
4235
  props: {
4100
4236
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4135,20 +4271,20 @@ const Ft = (e, n) => {
4135
4271
  },
4136
4272
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4137
4273
  setup(e, { emit: n }) {
4138
- var Nt;
4139
- const t = e, { i18nT: r, i18n: { t: o } } = ct.useI18n(), a = wt(), { axiosInstance: i } = Kt({
4140
- headers: (Nt = t.config) == null ? void 0 : Nt.requestHeaders
4141
- }), s = O(1), l = M(() => !!t.config.consumerId), c = M(() => t.config.app !== "kongManager" || !!t.config.disableSorting), d = {
4274
+ var Kt;
4275
+ const t = e, { i18nT: r, i18n: { t: o } } = ct.useI18n(), a = wt(), { axiosInstance: i } = Nt({
4276
+ headers: (Kt = t.config) == null ? void 0 : Kt.requestHeaders
4277
+ }), s = O(1), l = T(() => !!t.config.consumerId), c = T(() => t.config.app !== "kongManager" || !!t.config.disableSorting), d = {
4142
4278
  name: { label: o("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4143
4279
  };
4144
4280
  t.config.app === "kongManager" && (d.consumers_count = { label: o("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), d.tags = { label: o("consumer_groups.list.table_headers.tags"), sortable: !1 };
4145
- const u = d, m = (E) => ({
4281
+ const u = d, g = (E) => ({
4146
4282
  "data-testid": E.username ?? E.custom_id ?? E.id
4147
- }), f = M(() => {
4148
- var H, le, ke, Ee;
4283
+ }), f = T(() => {
4284
+ var H, le, Ce, Ee;
4149
4285
  let E = `${t.config.apiBaseUrl}${$e.list[t.config.app][l.value ? "forConsumer" : "all"]}`;
4150
- return t.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (ke = t.config) != null && ke.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), E;
4151
- }), I = O(""), v = M(() => {
4286
+ return t.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), E;
4287
+ }), I = O(""), v = T(() => {
4152
4288
  const E = t.config.app === "konnect" || t.config.isExactMatch;
4153
4289
  return E ? {
4154
4290
  isExactMatch: E,
@@ -4164,9 +4300,9 @@ const Ft = (e, n) => {
4164
4300
  },
4165
4301
  schema: t.config.filterSchema
4166
4302
  };
4167
- }), p = M(() => l.value ? "consumer_groups" : void 0), { fetcher: A, fetcherState: b } = nl(t.config, f.value, p.value), k = () => {
4303
+ }), p = T(() => l.value ? "consumer_groups" : void 0), { fetcher: S, fetcherState: b } = pl(t.config, f.value, p.value), C = () => {
4168
4304
  I.value = "";
4169
- }, x = () => {
4305
+ }, A = () => {
4170
4306
  s.value++;
4171
4307
  }, ne = O(""), pe = (E, H) => {
4172
4308
  const le = E.id;
@@ -4199,58 +4335,58 @@ const Ft = (e, n) => {
4199
4335
  }, w = async (E) => {
4200
4336
  var le;
4201
4337
  await ((le = t.canRetrieve) == null ? void 0 : le.call(t, E)) && a.push(t.config.getViewRoute(E.id));
4202
- }, N = (E) => ({
4338
+ }, K = (E) => ({
4203
4339
  label: o("consumer_groups.actions.view"),
4204
4340
  to: t.config.getViewRoute(E)
4205
4341
  }), B = (E) => ({
4206
4342
  label: o("consumer_groups.actions.edit"),
4207
4343
  to: t.config.getEditRoute(E)
4208
- }), C = O(void 0), S = O(!1), T = O(!1), P = O(""), J = el(t.config, f.value), Q = (E) => {
4209
- C.value = E, S.value = !0;
4344
+ }), k = O(void 0), x = O(!1), M = O(!1), P = O(""), J = cl(t.config, f.value), Q = (E) => {
4345
+ k.value = E, x.value = !0;
4210
4346
  }, X = () => {
4211
- S.value = !1;
4347
+ x.value = !1;
4212
4348
  }, ee = async () => {
4213
4349
  var E, H, le;
4214
- if ((E = C.value) != null && E.id) {
4215
- T.value = !0;
4350
+ if ((E = k.value) != null && E.id) {
4351
+ M.value = !0;
4216
4352
  try {
4217
- await i.delete(J(C.value.id)), T.value = !1, S.value = !1, s.value++, n("delete:success", C.value);
4218
- } catch (ke) {
4219
- P.value = ((le = (H = ke.response) == null ? void 0 : H.data) == null ? void 0 : le.message) || ke.message || o("consumer_groups.errors.delete"), n("error", ke);
4353
+ await i.delete(J(k.value.id)), M.value = !1, x.value = !1, s.value++, n("delete:success", k.value);
4354
+ } catch (Ce) {
4355
+ P.value = ((le = (H = Ce.response) == null ? void 0 : H.data) == null ? void 0 : le.message) || Ce.message || o("consumer_groups.errors.delete"), n("error", Ce);
4220
4356
  } finally {
4221
- T.value = !1;
4357
+ M.value = !1;
4222
4358
  }
4223
4359
  }
4224
- }, ie = O(!1), Ve = () => {
4360
+ }, ie = O(!1), De = () => {
4225
4361
  ie.value = !0;
4226
4362
  }, _ = () => {
4227
4363
  ie.value = !1;
4228
4364
  }, L = (E, H) => {
4229
4365
  H || _(), s.value++, n("add:success", E);
4230
- }, re = () => {
4231
- l.value && Ve();
4366
+ }, oe = () => {
4367
+ l.value && De();
4232
4368
  }, U = O(void 0), D = O(!1), ge = O(""), _e = (E) => {
4233
4369
  U.value = E, D.value = !0;
4234
4370
  }, ce = () => {
4235
4371
  D.value = !1, U.value = void 0;
4236
- }, Ne = M(() => {
4237
- var H, le, ke, Ee;
4372
+ }, Ke = T(() => {
4373
+ var H, le, Ce, Ee;
4238
4374
  let E = `${t.config.apiBaseUrl}${$e.list[t.config.app].oneForConsumer}`;
4239
- return t.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (ke = t.config) != null && ke.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), E;
4240
- }), De = O(!1), ir = async () => {
4375
+ return t.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), E;
4376
+ }), Ge = O(!1), dr = async () => {
4241
4377
  if (U.value) {
4242
- De.value = !0;
4378
+ Ge.value = !0;
4243
4379
  try {
4244
- const E = Ne.value.replace(/{consumerGroupId}/gi, U.value.id);
4380
+ const E = Ke.value.replace(/{consumerGroupId}/gi, U.value.id);
4245
4381
  await i.delete(E), n("remove:success", U.value), ce(), s.value++;
4246
4382
  } catch (E) {
4247
4383
  ge.value = E.message || o("consumer_groups.errors.delete"), n("error", E);
4248
4384
  } finally {
4249
- De.value = !1;
4385
+ Ge.value = !1;
4250
4386
  }
4251
4387
  }
4252
4388
  };
4253
- Se(b, (E) => {
4389
+ xe(b, (E) => {
4254
4390
  if (E.status === Oe.Error) {
4255
4391
  ne.value = o("consumer_groups.errors.general"), n("error", E.error);
4256
4392
  return;
@@ -4266,9 +4402,9 @@ const Ft = (e, n) => {
4266
4402
  return Qe(async () => {
4267
4403
  await t.canCreate() && (pt.value.title = l.value ? o("consumer_groups.list.empty_state.title_for_consumer") : o("consumer_groups.list.empty_state.title"), pt.value.ctaText = l.value ? o("consumer_groups.actions.add_to_group") : o("consumer_groups.actions.create"));
4268
4404
  }), (E, H) => {
4269
- const le = q("KButton"), ke = q("KBadge"), Ee = q("KTruncate"), Ge = q("KDropdownItem"), Bt = q("KClipboardProvider"), sr = q("KPrompt");
4270
- return g(), j("div", ul, [
4271
- F(y($s), {
4405
+ const le = q("KButton"), Ce = q("KBadge"), Ee = q("KTruncate"), ze = q("KDropdownItem"), Bt = q("KClipboardProvider"), pr = q("KPrompt");
4406
+ return m(), $("div", bl, [
4407
+ F(y(Ls), {
4272
4408
  "cache-identifier": e.cacheIdentifier,
4273
4409
  "disable-pagination": l.value,
4274
4410
  "disable-pagination-page-jump": "",
@@ -4276,23 +4412,23 @@ const Ft = (e, n) => {
4276
4412
  "empty-state-options": pt.value,
4277
4413
  "enable-entity-actions": "",
4278
4414
  "error-message": ne.value,
4279
- fetcher: y(A),
4415
+ fetcher: y(S),
4280
4416
  "fetcher-cache-key": s.value,
4281
4417
  "pagination-type": "offset",
4282
4418
  "preferences-storage-key": "kong-ui-entities-consumer-groups-list",
4283
4419
  query: I.value,
4284
- "row-attributes": m,
4420
+ "row-attributes": g,
4285
4421
  "table-headers": y(u),
4286
- onClearSearchInput: k,
4287
- "onClick:row": H[3] || (H[3] = (W) => w(W)),
4288
- onEmptyStateCtaClicked: re,
4289
- onSort: x
4422
+ onClearSearchInput: C,
4423
+ "onClick:row": H[3] || (H[3] = (Y) => w(Y)),
4424
+ onEmptyStateCtaClicked: oe,
4425
+ onSort: A
4290
4426
  }, {
4291
4427
  "toolbar-filter": h(() => [
4292
- l.value ? G("", !0) : (g(), V(y(Hs), {
4428
+ l.value ? G("", !0) : (m(), R(y(rl), {
4293
4429
  key: 0,
4294
4430
  modelValue: I.value,
4295
- "onUpdate:modelValue": H[0] || (H[0] = (W) => I.value = W),
4431
+ "onUpdate:modelValue": H[0] || (H[0] = (Y) => I.value = Y),
4296
4432
  config: v.value
4297
4433
  }, null, 8, ["modelValue", "config"]))
4298
4434
  ]),
@@ -4306,10 +4442,10 @@ const Ft = (e, n) => {
4306
4442
  "data-testid": "toolbar-add-consumer-group",
4307
4443
  icon: "plus",
4308
4444
  to: e.config.consumerId ? void 0 : e.config.createRoute,
4309
- onClick: H[1] || (H[1] = () => e.config.consumerId ? Ve() : void 0)
4445
+ onClick: H[1] || (H[1] = () => e.config.consumerId ? De() : void 0)
4310
4446
  }, {
4311
4447
  default: h(() => [
4312
- Z(K(e.config.consumerId ? y(o)("consumer_groups.actions.add_to_group") : y(o)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4448
+ Z(N(e.config.consumerId ? y(o)("consumer_groups.actions.add_to_group") : y(o)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4313
4449
  ]),
4314
4450
  _: 1
4315
4451
  }, 8, ["to"])
@@ -4317,38 +4453,38 @@ const Ft = (e, n) => {
4317
4453
  _: 1
4318
4454
  }, 8, ["auth-function"])
4319
4455
  ]),
4320
- name: h(({ rowValue: W }) => [
4321
- R("b", null, K(W ?? "-"), 1)
4456
+ name: h(({ rowValue: Y }) => [
4457
+ V("b", null, N(Y ?? "-"), 1)
4322
4458
  ]),
4323
- consumers_count: h(({ rowValue: W }) => [
4324
- Z(K(W ?? "-"), 1)
4459
+ consumers_count: h(({ rowValue: Y }) => [
4460
+ Z(N(Y ?? "-"), 1)
4325
4461
  ]),
4326
- tags: h(({ rowValue: W }) => [
4327
- (W == null ? void 0 : W.length) > 0 ? (g(), V(Ee, { key: 0 }, {
4462
+ tags: h(({ rowValue: Y }) => [
4463
+ (Y == null ? void 0 : Y.length) > 0 ? (m(), R(Ee, { key: 0 }, {
4328
4464
  default: h(() => [
4329
- (g(!0), j(ve, null, ye(W, (Be) => (g(), V(ke, {
4465
+ (m(!0), $(ve, null, ye(Y, (Be) => (m(), R(Ce, {
4330
4466
  key: Be,
4331
4467
  onClick: H[2] || (H[2] = rt(() => {
4332
4468
  }, ["stop"]))
4333
4469
  }, {
4334
4470
  default: h(() => [
4335
- Z(K(Be), 1)
4471
+ Z(N(Be), 1)
4336
4472
  ]),
4337
4473
  _: 2
4338
4474
  }, 1024))), 128))
4339
4475
  ]),
4340
4476
  _: 2
4341
- }, 1024)) : (g(), j("span", cl, "-"))
4477
+ }, 1024)) : (m(), $("span", Cl, "-"))
4342
4478
  ]),
4343
- actions: h(({ row: W }) => [
4479
+ actions: h(({ row: Y }) => [
4344
4480
  F(Bt, null, {
4345
4481
  default: h(({ copyToClipboard: Be }) => [
4346
- F(Ge, {
4482
+ F(ze, {
4347
4483
  "data-testid": "action-entity-copy-id",
4348
- onClick: (lr) => pe(W, Be)
4484
+ onClick: (fr) => pe(Y, Be)
4349
4485
  }, {
4350
4486
  default: h(() => [
4351
- Z(K(y(o)("consumer_groups.actions.copy_id")), 1)
4487
+ Z(N(y(o)("consumer_groups.actions.copy_id")), 1)
4352
4488
  ]),
4353
4489
  _: 2
4354
4490
  }, 1032, ["onClick"])
@@ -4357,12 +4493,12 @@ const Ft = (e, n) => {
4357
4493
  }, 1024),
4358
4494
  F(Bt, null, {
4359
4495
  default: h(({ copyToClipboard: Be }) => [
4360
- F(Ge, {
4496
+ F(ze, {
4361
4497
  "data-testid": "action-entity-copy-json",
4362
- onClick: (lr) => z(W, Be)
4498
+ onClick: (fr) => z(Y, Be)
4363
4499
  }, {
4364
4500
  default: h(() => [
4365
- Z(K(y(o)("consumer_groups.actions.copy_json")), 1)
4501
+ Z(N(y(o)("consumer_groups.actions.copy_json")), 1)
4366
4502
  ]),
4367
4503
  _: 2
4368
4504
  }, 1032, ["onClick"])
@@ -4370,40 +4506,40 @@ const Ft = (e, n) => {
4370
4506
  _: 2
4371
4507
  }, 1024),
4372
4508
  F(y(Xe), {
4373
- "auth-function": () => e.canRetrieve(W)
4509
+ "auth-function": () => e.canRetrieve(Y)
4374
4510
  }, {
4375
4511
  default: h(() => [
4376
- F(Ge, {
4512
+ F(ze, {
4377
4513
  "data-testid": "action-entity-view",
4378
4514
  "has-divider": "",
4379
- item: N(W.id)
4515
+ item: K(Y.id)
4380
4516
  }, null, 8, ["item"])
4381
4517
  ]),
4382
4518
  _: 2
4383
4519
  }, 1032, ["auth-function"]),
4384
4520
  F(y(Xe), {
4385
- "auth-function": () => e.canEdit(W)
4521
+ "auth-function": () => e.canEdit(Y)
4386
4522
  }, {
4387
4523
  default: h(() => [
4388
- F(Ge, {
4524
+ F(ze, {
4389
4525
  "data-testid": "action-entity-edit",
4390
- item: B(W.id)
4526
+ item: B(Y.id)
4391
4527
  }, null, 8, ["item"])
4392
4528
  ]),
4393
4529
  _: 2
4394
4530
  }, 1032, ["auth-function"]),
4395
4531
  F(y(Xe), {
4396
- "auth-function": () => e.canDelete(W)
4532
+ "auth-function": () => e.canDelete(Y)
4397
4533
  }, {
4398
4534
  default: h(() => [
4399
- F(Ge, {
4535
+ F(ze, {
4536
+ danger: "",
4400
4537
  "data-testid": "action-entity-delete",
4401
4538
  "has-divider": "",
4402
- "is-dangerous": "",
4403
- onClick: () => e.config.consumerId ? _e(W) : Q(W)
4539
+ onClick: () => e.config.consumerId ? _e(Y) : Q(Y)
4404
4540
  }, {
4405
4541
  default: h(() => [
4406
- Z(K(e.config.consumerId ? y(o)("consumer_groups.actions.exit") : y(o)("consumer_groups.actions.delete")), 1)
4542
+ Z(N(e.config.consumerId ? y(o)("consumer_groups.actions.exit") : y(o)("consumer_groups.actions.delete")), 1)
4407
4543
  ]),
4408
4544
  _: 2
4409
4545
  }, 1032, ["onClick"])
@@ -4413,35 +4549,35 @@ const Ft = (e, n) => {
4413
4549
  ]),
4414
4550
  _: 1
4415
4551
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers"]),
4416
- F(y(Os), {
4417
- "action-pending": T.value,
4552
+ F(y(Rs), {
4553
+ "action-pending": M.value,
4418
4554
  "data-testid": "delete-consumer-group-modal",
4419
4555
  description: y(o)("consumer_groups.delete.description"),
4420
- "entity-name": C.value && (C.value.name || C.value.id),
4421
- "entity-type": y(dn).ConsumerGroup,
4556
+ "entity-name": k.value && (k.value.name || k.value.id),
4557
+ "entity-type": y(yn).ConsumerGroup,
4422
4558
  error: P.value,
4423
4559
  title: y(o)("consumer_groups.delete.title"),
4424
- visible: S.value,
4560
+ visible: x.value,
4425
4561
  onCancel: X,
4426
4562
  onProceed: ee
4427
4563
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4428
- e.config.consumerId ? (g(), V(ll, {
4564
+ e.config.consumerId ? (m(), R(vl, {
4429
4565
  key: 0,
4430
4566
  config: e.config,
4431
4567
  "data-testid": "add-to-group-modal",
4432
4568
  visible: ie.value,
4433
- "onAdd:partialSuccess": H[4] || (H[4] = (W) => L(W, !0)),
4434
- "onAdd:success": H[5] || (H[5] = (W) => L(W)),
4569
+ "onAdd:partialSuccess": H[4] || (H[4] = (Y) => L(Y, !0)),
4570
+ "onAdd:success": H[5] || (H[5] = (Y) => L(Y)),
4435
4571
  onCancel: _
4436
4572
  }, null, 8, ["config", "visible"])) : G("", !0),
4437
- e.config.consumerId && U.value ? (g(), V(sr, {
4573
+ e.config.consumerId && U.value ? (m(), R(pr, {
4438
4574
  key: 1,
4439
4575
  "data-testid": "exit-group-modal",
4440
4576
  "is-visible": D.value,
4441
4577
  title: y(o)("consumer_groups.consumers.exit.title"),
4442
4578
  type: "danger",
4443
4579
  onCanceled: ce,
4444
- onProceed: ir
4580
+ onProceed: dr
4445
4581
  }, {
4446
4582
  "body-content": h(() => [
4447
4583
  F(y(r), {
@@ -4450,19 +4586,19 @@ const Ft = (e, n) => {
4450
4586
  tag: "p"
4451
4587
  }, Te({
4452
4588
  consumerGroup: h(() => [
4453
- R("strong", null, K(U.value.name || U.value.id), 1)
4589
+ V("strong", null, N(U.value.name || U.value.id), 1)
4454
4590
  ]),
4455
4591
  _: 2
4456
4592
  }, [
4457
4593
  e.config.consumerUsername ? {
4458
4594
  name: "consumer",
4459
4595
  fn: h(() => [
4460
- R("strong", null, K(e.config.consumerUsername), 1)
4596
+ V("strong", null, N(e.config.consumerUsername), 1)
4461
4597
  ]),
4462
4598
  key: "0"
4463
4599
  } : void 0
4464
4600
  ]), 1032, ["keypath"]),
4465
- R("p", null, K(y(o)("consumer_groups.consumers.exit.description")), 1)
4601
+ V("p", null, N(y(o)("consumer_groups.consumers.exit.description")), 1)
4466
4602
  ]),
4467
4603
  _: 1
4468
4604
  }, 8, ["is-visible", "title"])) : G("", !0)
@@ -4470,10 +4606,10 @@ const Ft = (e, n) => {
4470
4606
  };
4471
4607
  }
4472
4608
  });
4473
- const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { class: "kong-ui-entities-consumer-group-form" }, fl = { class: "select-item-label" }, ml = {
4609
+ const Pl = /* @__PURE__ */ Ft(kl, [["__scopeId", "data-v-e2fa781a"]]), _l = { class: "kong-ui-entities-consumer-group-form" }, wl = { class: "select-item-label" }, Il = {
4474
4610
  key: 0,
4475
4611
  class: "select-item-desc"
4476
- }, gl = /* @__PURE__ */ ae({
4612
+ }, Al = /* @__PURE__ */ re({
4477
4613
  __name: "ConsumerGroupForm",
4478
4614
  props: {
4479
4615
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4491,7 +4627,7 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4491
4627
  },
4492
4628
  emits: ["update", "error", "loading"],
4493
4629
  setup(e, { emit: n }) {
4494
- var ee, ie, Ve;
4630
+ var ee, ie, De;
4495
4631
  const t = e, { i18n: { t: r } } = ct.useI18n(), o = wt(), a = Pt({
4496
4632
  fields: {
4497
4633
  name: "",
@@ -4510,25 +4646,25 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4510
4646
  error: c,
4511
4647
  loadItems: d,
4512
4648
  results: u
4513
- } = ar(t.config, (ie = $e.form[(ee = t.config) == null ? void 0 : ee.app]) == null ? void 0 : ie.consumersList, "", {
4649
+ } = cr(t.config, (ie = $e.form[(ee = t.config) == null ? void 0 : ee.app]) == null ? void 0 : ie.consumersList, "", {
4514
4650
  fetchedItemsKey: "data",
4515
4651
  searchKeys: ["username", "custom_id", "id"]
4516
- }), { axiosInstance: m } = Kt({
4517
- headers: (Ve = t.config) == null ? void 0 : Ve.requestHeaders
4518
- }), { getMessageFromError: f } = tl(), I = M(() => u.value.map((_) => ({
4652
+ }), { axiosInstance: g } = Nt({
4653
+ headers: (De = t.config) == null ? void 0 : De.requestHeaders
4654
+ }), { getMessageFromError: f } = dl(), I = T(() => u.value.map((_) => ({
4519
4655
  label: _.username || _.custom_id,
4520
4656
  value: _.id,
4521
4657
  selected: a.fields.consumers.includes(_.id),
4522
4658
  data: _
4523
4659
  // we need this to determine whether or not to show the description text
4524
- }))), v = M(() => {
4660
+ }))), v = T(() => {
4525
4661
  var _, L;
4526
4662
  return (L = $e.form[(_ = t.config) == null ? void 0 : _.app]) == null ? void 0 : L.edit;
4527
- }), p = M(() => t.consumerGroupId ? nt.Edit : nt.Create), A = M(() => !!a.fields.name && !w.value), b = M(() => JSON.stringify(a.fields) !== JSON.stringify(i)), k = (_, L = "", re = "") => {
4528
- var D, ge, _e, ce, Ne, De;
4663
+ }), p = T(() => t.consumerGroupId ? nt.Edit : nt.Create), S = T(() => !!a.fields.name && !w.value), b = T(() => JSON.stringify(a.fields) !== JSON.stringify(i)), C = (_, L = "", oe = "") => {
4664
+ var D, ge, _e, ce, Ke, Ge;
4529
4665
  let U = `${(D = t.config) == null ? void 0 : D.apiBaseUrl}${$e.form[(ge = t.config) == null ? void 0 : ge.app][_]}`;
4530
- return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((ce = t.config) == null ? void 0 : ce.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (U = U.replace(/\/{workspace}/gi, (De = t.config) != null && De.workspace ? `/${t.config.workspace}` : "")), U = U.replace(/{id}/gi, L || t.consumerGroupId), (_ === "addConsumer" || _ === "removeConsumer") && (U = U.replace(/{consumerId}/gi, re)), U;
4531
- }, x = () => {
4666
+ return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((ce = t.config) == null ? void 0 : ce.controlPlaneId) || "") : ((Ke = t.config) == null ? void 0 : Ke.app) === "kongManager" && (U = U.replace(/\/{workspace}/gi, (Ge = t.config) != null && Ge.workspace ? `/${t.config.workspace}` : "")), U = U.replace(/{id}/gi, L || t.consumerGroupId), (_ === "addConsumer" || _ === "removeConsumer") && (U = U.replace(/{consumerId}/gi, oe)), U;
4667
+ }, A = () => {
4532
4668
  var _;
4533
4669
  o.push(((_ = t.config) == null ? void 0 : _.cancelRoute) || { name: "consumer-group-list" });
4534
4670
  }, ne = (_) => {
@@ -4536,76 +4672,76 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4536
4672
  }, pe = (_) => {
4537
4673
  n("loading", _);
4538
4674
  }, z = async (_) => {
4539
- var re, U, D, ge, _e;
4540
- a.fields.name = ((re = _ == null ? void 0 : _.item) == null ? void 0 : re.name) || ((U = _ == null ? void 0 : _.consumer_group) == null ? void 0 : U.name) || (_ == null ? void 0 : _.name) || "";
4675
+ var oe, U, D, ge, _e;
4676
+ a.fields.name = ((oe = _ == null ? void 0 : _.item) == null ? void 0 : oe.name) || ((U = _ == null ? void 0 : _.consumer_group) == null ? void 0 : U.name) || (_ == null ? void 0 : _.name) || "";
4541
4677
  const L = ((D = _ == null ? void 0 : _.item) == null ? void 0 : D.tags) || (_ == null ? void 0 : _.consumer_group.tags) || (_ == null ? void 0 : _.tags) || [];
4542
4678
  if (a.fields.tags = (L == null ? void 0 : L.join(", ")) || "", "consumers" in _)
4543
4679
  a.fields.consumers = ((ge = _ == null ? void 0 : _.consumers) == null ? void 0 : ge.map((ce) => ce.id)) || [];
4544
4680
  else
4545
4681
  try {
4546
- const { data: ce } = await m.get(k("getConsumers"));
4547
- a.fields.consumers = "consumers" in ce ? (_e = ce == null ? void 0 : ce.consumers) == null ? void 0 : _e.map((Ne) => Ne.id) : [];
4682
+ const { data: ce } = await g.get(C("getConsumers"));
4683
+ a.fields.consumers = "consumers" in ce ? (_e = ce == null ? void 0 : ce.consumers) == null ? void 0 : _e.map((Ke) => Ke.id) : [];
4548
4684
  } catch (ce) {
4549
- S(ce);
4685
+ x(ce);
4550
4686
  }
4551
4687
  Object.assign(i, a.fields);
4552
- }, w = M(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : r("consumer_groups.form.validation_errors.name")), N = () => {
4688
+ }, w = T(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : r("consumer_groups.form.validation_errors.name")), K = () => {
4553
4689
  var _, L;
4554
4690
  return {
4555
4691
  name: a.fields.name,
4556
- tags: (L = (_ = a.fields.tags.split(",")) == null ? void 0 : _.map((re) => String(re || "").trim())) == null ? void 0 : L.filter((re) => re !== "")
4692
+ tags: (L = (_ = a.fields.tags.split(",")) == null ? void 0 : _.map((oe) => String(oe || "").trim())) == null ? void 0 : L.filter((oe) => oe !== "")
4557
4693
  };
4558
- }, B = async (_, L = "") => await m.post(k("addConsumer", L, _), { consumer: _ }), C = async (_, L = "") => await m.delete(k("removeConsumer", L, _)), S = (_) => {
4694
+ }, B = async (_, L = "") => await g.post(C("addConsumer", L, _), { consumer: _ }), k = async (_, L = "") => await g.delete(C("removeConsumer", L, _)), x = (_) => {
4559
4695
  a.errorMessage = f(_), n("error", _);
4560
- }, T = (_ = t.consumerGroupId) => {
4696
+ }, M = (_ = t.consumerGroupId) => {
4561
4697
  Object.assign(i, a.fields), n("update", { ...a.fields, id: _ });
4562
- }, P = (_, L, re = t.consumerGroupId) => {
4698
+ }, P = (_, L, oe = t.consumerGroupId) => {
4563
4699
  const U = _ == null ? void 0 : _.find((D) => D.status !== "fulfilled");
4564
- U ? S({
4700
+ U ? x({
4565
4701
  code: U.status,
4566
4702
  message: L
4567
- }) : T(re);
4703
+ }) : M(oe);
4568
4704
  }, J = async () => {
4569
4705
  let _ = "";
4570
4706
  try {
4571
- const { data: L } = await m.post(k("create"), N());
4707
+ const { data: L } = await g.post(C("create"), K());
4572
4708
  _ = "item" in L ? L.item.id : L.id;
4573
4709
  } catch (L) {
4574
- S(L);
4710
+ x(L);
4575
4711
  }
4576
4712
  if (a.fields.consumers.length > 0 && _)
4577
4713
  try {
4578
- const L = a.fields.consumers.map((U) => B(U, _)), re = await Promise.allSettled(L);
4579
- P(re, r("consumer_groups.errors.add_consumer"), _);
4714
+ const L = a.fields.consumers.map((U) => B(U, _)), oe = await Promise.allSettled(L);
4715
+ P(oe, r("consumer_groups.errors.add_consumer"), _);
4580
4716
  } catch (L) {
4581
- S(L);
4717
+ x(L);
4582
4718
  }
4583
4719
  else
4584
- a.fields.consumers.length === 0 && _ && T(_);
4720
+ a.fields.consumers.length === 0 && _ && M(_);
4585
4721
  }, Q = async () => {
4586
- var re;
4722
+ var oe;
4587
4723
  try {
4588
- ((re = t.config) == null ? void 0 : re.app) === "konnect" ? await m.put(k("edit"), N()) : await m.patch(k("edit"), N());
4724
+ ((oe = t.config) == null ? void 0 : oe.app) === "konnect" ? await g.put(C("edit"), K()) : await g.patch(C("edit"), K());
4589
4725
  } catch (U) {
4590
- S(U);
4726
+ x(U);
4591
4727
  }
4592
4728
  const _ = a.fields.consumers.filter((U) => !i.consumers.includes(U)), L = i.consumers.filter((U) => !a.fields.consumers.includes(U));
4593
4729
  if (L.length === 0 && _.length === 0)
4594
- T();
4730
+ M();
4595
4731
  else {
4596
4732
  if (L.length > 0)
4597
4733
  try {
4598
- const U = L.map((ge) => C(ge)), D = await Promise.allSettled(U);
4734
+ const U = L.map((ge) => k(ge)), D = await Promise.allSettled(U);
4599
4735
  P(D, r("consumer_groups.errors.remove_consumer"));
4600
4736
  } catch (U) {
4601
- S(U);
4737
+ x(U);
4602
4738
  }
4603
4739
  if (_.length > 0)
4604
4740
  try {
4605
4741
  const U = _.map((ge) => B(ge)), D = await Promise.allSettled(U);
4606
4742
  P(D, r("consumer_groups.errors.add_consumer"));
4607
4743
  } catch (U) {
4608
- S(U);
4744
+ x(U);
4609
4745
  }
4610
4746
  }
4611
4747
  }, X = async () => {
@@ -4618,28 +4754,28 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4618
4754
  return Qe(async () => {
4619
4755
  await d();
4620
4756
  }), (_, L) => {
4621
- const re = q("KInput"), U = q("KMultiselect");
4622
- return g(), j("div", pl, [
4623
- F(y(Cs), {
4624
- "can-submit": A.value && b.value,
4757
+ const oe = q("KInput"), U = q("KMultiselect");
4758
+ return m(), $("div", _l, [
4759
+ F(y(js), {
4760
+ "can-submit": S.value && b.value,
4625
4761
  config: e.config,
4626
4762
  "edit-id": e.consumerGroupId,
4627
4763
  "error-message": a.errorMessage || y(c) || w.value,
4628
4764
  "fetch-url": v.value,
4629
4765
  "is-readonly": a.readonly,
4630
- onCancel: x,
4766
+ onCancel: A,
4631
4767
  "onFetch:error": L[3] || (L[3] = (D) => ne(D)),
4632
4768
  "onFetch:success": z,
4633
4769
  onLoading: L[4] || (L[4] = (D) => pe(D)),
4634
4770
  onSubmit: X
4635
4771
  }, {
4636
4772
  default: h(() => [
4637
- F(y(un), {
4773
+ F(y(dn), {
4638
4774
  description: y(r)("consumer_groups.form.general_info.description"),
4639
4775
  title: y(r)("consumer_groups.form.general_info.title")
4640
4776
  }, {
4641
4777
  default: h(() => [
4642
- F(re, {
4778
+ F(oe, {
4643
4779
  modelValue: a.fields.name,
4644
4780
  "onUpdate:modelValue": L[0] || (L[0] = (D) => a.fields.name = D),
4645
4781
  modelModifiers: { trim: !0 },
@@ -4650,7 +4786,7 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4650
4786
  required: "",
4651
4787
  type: "text"
4652
4788
  }, null, 8, ["modelValue", "label", "placeholder"]),
4653
- F(re, {
4789
+ F(oe, {
4654
4790
  modelValue: a.fields.tags,
4655
4791
  "onUpdate:modelValue": L[1] || (L[1] = (D) => a.fields.tags = D),
4656
4792
  modelModifiers: { trim: !0 },
@@ -4668,7 +4804,7 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4668
4804
  ]),
4669
4805
  _: 1
4670
4806
  }, 8, ["description", "title"]),
4671
- F(y(un), {
4807
+ F(y(dn), {
4672
4808
  description: y(r)("consumer_groups.form.consumers.description"),
4673
4809
  "has-divider": "",
4674
4810
  title: y(r)("consumer_groups.form.consumers.title")
@@ -4690,8 +4826,8 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4690
4826
  "item-template": h(({ item: D }) => {
4691
4827
  var ge, _e, ce;
4692
4828
  return [
4693
- R("div", fl, K(D.label), 1),
4694
- (ge = D == null ? void 0 : D.data) != null && ge.username && ((_e = D == null ? void 0 : D.data) != null && _e.custom_id) ? (g(), j("div", ml, K((ce = D == null ? void 0 : D.data) == null ? void 0 : ce.custom_id), 1)) : G("", !0)
4829
+ V("div", wl, N(D.label), 1),
4830
+ (ge = D == null ? void 0 : D.data) != null && ge.username && ((_e = D == null ? void 0 : D.data) != null && _e.custom_id) ? (m(), $("div", Il, N((ce = D == null ? void 0 : D.data) == null ? void 0 : ce.custom_id), 1)) : G("", !0)
4695
4831
  ];
4696
4832
  }),
4697
4833
  _: 1
@@ -4706,7 +4842,7 @@ const Tl = /* @__PURE__ */ Ft(dl, [["__scopeId", "data-v-80c4522c"]]), pl = { cl
4706
4842
  };
4707
4843
  }
4708
4844
  });
4709
- const $l = /* @__PURE__ */ Ft(gl, [["__scopeId", "data-v-102d40d2"]]), yl = { class: "kong-ui-consumer-group-entity-config-card" }, Ml = /* @__PURE__ */ ae({
4845
+ const Ll = /* @__PURE__ */ Ft(Al, [["__scopeId", "data-v-102d40d2"]]), Sl = { class: "kong-ui-consumer-group-entity-config-card" }, ql = /* @__PURE__ */ re({
4710
4846
  __name: "ConsumerGroupConfigCard",
4711
4847
  props: {
4712
4848
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4733,7 +4869,7 @@ const $l = /* @__PURE__ */ Ft(gl, [["__scopeId", "data-v-102d40d2"]]), yl = { cl
4733
4869
  },
4734
4870
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4735
4871
  setup(e) {
4736
- const n = e, { i18n: { t } } = ct.useI18n(), r = M(() => $e.form[n.config.app].edit), o = O({
4872
+ const n = e, { i18n: { t } } = ct.useI18n(), r = T(() => $e.form[n.config.app].edit), o = O({
4737
4873
  id: {},
4738
4874
  name: {},
4739
4875
  created_at: {},
@@ -4742,8 +4878,8 @@ const $l = /* @__PURE__ */ Ft(gl, [["__scopeId", "data-v-102d40d2"]]), yl = { cl
4742
4878
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
4743
4879
  }
4744
4880
  });
4745
- return (a, i) => (g(), j("div", yl, [
4746
- F(y(hs), {
4881
+ return (a, i) => (m(), $("div", Sl, [
4882
+ F(y(xs), {
4747
4883
  config: e.config,
4748
4884
  "config-card-doc": e.configCardDoc,
4749
4885
  "config-schema": o.value,
@@ -4759,7 +4895,7 @@ const $l = /* @__PURE__ */ Ft(gl, [["__scopeId", "data-v-102d40d2"]]), yl = { cl
4759
4895
  }
4760
4896
  });
4761
4897
  export {
4762
- Ml as ConsumerGroupConfigCard,
4763
- $l as ConsumerGroupForm,
4764
- Tl as ConsumerGroupList
4898
+ ql as ConsumerGroupConfigCard,
4899
+ Ll as ConsumerGroupForm,
4900
+ Pl as ConsumerGroupList
4765
4901
  };