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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { defineComponent as te, ref as O, computed as $, watch as he, renderSlot as Y, createCommentVNode as G, unref as g, useSlots as We, onBeforeMount as mt, resolveComponent as P, openBlock as m, createBlock as R, createSlots as ke, withCtx as h, createElementVNode as K, createTextVNode as W, toDisplayString as j, createVNode as F, createElementBlock as T, renderList as de, Fragment as fe, normalizeClass as Ae, withModifiers as De, withDirectives as Be, vShow as qe, useCssVars as ma, resolveDynamicComponent as Ee, normalizeProps as ga, guardReactiveProps as ya, mergeProps as st, onMounted as ha, onUnmounted as va, normalizeStyle as un, inject as ba, pushScopeId as cn, popScopeId as dn, Teleport as ka, reactive as Nt } from "vue";
1
+ import { defineComponent as te, ref as O, computed as $, watch as he, renderSlot as Y, createCommentVNode as G, unref as g, useSlots as We, onBeforeMount as mt, resolveComponent as P, openBlock as m, createBlock as R, createSlots as ke, withCtx as y, createElementVNode as K, createTextVNode as W, toDisplayString as j, createVNode as F, createElementBlock as T, renderList as de, Fragment as fe, normalizeClass as Ae, withModifiers as De, withDirectives as Be, vShow as qe, useCssVars as ya, resolveDynamicComponent as Se, normalizeProps as un, guardReactiveProps as cn, mergeProps as st, onMounted as ha, onUnmounted as va, normalizeStyle as dn, inject as ba, pushScopeId as pn, popScopeId as fn, reactive as Nt } from "vue";
2
2
  import { useRouter as gt } from "vue-router";
3
- import { createI18n as yt, i18nTComponent as pn } from "@kong-ui-public/i18n";
4
- import Ca from "axios";
5
- import { BadgeMethodAppearances as wa } from "@kong/kongponents";
6
- const Ia = {
3
+ import { createI18n as yt, i18nTComponent as mn } from "@kong-ui-public/i18n";
4
+ import ka from "axios";
5
+ import { BadgeMethodAppearances as Ca } from "@kong/kongponents";
6
+ const wa = {
7
7
  list: {
8
8
  table_headers: {
9
9
  username: "Username",
@@ -98,20 +98,20 @@ const Ia = {
98
98
  tooltip: "An optional set of strings associated with the Consumer for grouping and filtering."
99
99
  }
100
100
  }
101
- }, _a = {
102
- consumers: Ia
101
+ }, Ia = {
102
+ consumers: wa
103
103
  };
104
- function Aa() {
105
- const e = yt("en-us", _a);
104
+ function _a() {
105
+ const e = yt("en-us", Ia);
106
106
  return {
107
107
  i18n: e,
108
- i18nT: pn(e)
108
+ i18nT: mn(e)
109
109
  // Translation component <i18n-t>
110
110
  };
111
111
  }
112
112
  const Ze = {
113
- useI18n: Aa
114
- }, nt = "/api/runtime_groups/{controlPlaneId}", Te = "/{workspace}", Se = {
113
+ useI18n: _a
114
+ }, nt = "/api/runtime_groups/{controlPlaneId}", $e = "/{workspace}", xe = {
115
115
  list: {
116
116
  konnect: {
117
117
  all: "/v2/control-planes/{controlPlaneId}/core-entities/consumers",
@@ -119,9 +119,9 @@ const Ze = {
119
119
  oneForConsumerGroup: "/v2/control-planes/{controlPlaneId}/core-entities/consumer_groups/{consumerGroupId}/consumers/{consumerId}"
120
120
  },
121
121
  kongManager: {
122
- all: `${Te}/consumers`,
123
- forConsumerGroup: `${Te}/consumer_groups/{consumerGroupId}/consumers`,
124
- oneForConsumerGroup: `${Te}/consumer_groups/{consumerGroupId}/consumers/{consumerId}`
122
+ all: `${$e}/consumers`,
123
+ forConsumerGroup: `${$e}/consumer_groups/{consumerGroupId}/consumers`,
124
+ oneForConsumerGroup: `${$e}/consumer_groups/{consumerGroupId}/consumers/{consumerId}`
125
125
  }
126
126
  },
127
127
  form: {
@@ -131,23 +131,23 @@ const Ze = {
131
131
  edit: `${nt}/consumers/{id}`
132
132
  },
133
133
  kongManager: {
134
- validate: `${Te}/schemas/consumers/validate`,
135
- create: `${Te}/consumers`,
136
- edit: `${Te}/consumers/{id}`
134
+ validate: `${$e}/schemas/consumers/validate`,
135
+ create: `${$e}/consumers`,
136
+ edit: `${$e}/consumers/{id}`
137
137
  }
138
138
  }
139
139
  };
140
- var fn = /* @__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))(fn || {}), lt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(lt || {}), Ie = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ie || {}), X = /* @__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))(X || {}), ce = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ce || {});
140
+ var gn = /* @__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))(gn || {}), lt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(lt || {}), Ie = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ie || {}), X = /* @__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))(X || {}), ce = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ce || {});
141
141
  function ht(e = {}) {
142
142
  return {
143
- axiosInstance: Ca.create({
143
+ axiosInstance: ka.create({
144
144
  withCredentials: !0,
145
145
  timeout: 3e4,
146
146
  ...e
147
147
  })
148
148
  };
149
149
  }
150
- function Sa() {
150
+ function Aa() {
151
151
  return {
152
152
  debounce: (e, n) => {
153
153
  let t;
@@ -159,12 +159,12 @@ function Sa() {
159
159
  }
160
160
  };
161
161
  }
162
- const at = "khcp-user-table-preferences", xa = {
162
+ const at = "khcp-user-table-preferences", Sa = {
163
163
  pageSize: 30,
164
164
  sortColumnKey: void 0,
165
165
  sortColumnOrder: void 0
166
166
  };
167
- function Ta() {
167
+ function xa() {
168
168
  const e = (t) => {
169
169
  if (typeof t == "string")
170
170
  try {
@@ -188,24 +188,24 @@ function Ta() {
188
188
  },
189
189
  getTablePreferences: (t) => {
190
190
  const a = n();
191
- return (a == null ? void 0 : a.get(t)) || void 0 || xa;
191
+ return (a == null ? void 0 : a.get(t)) || void 0 || Sa;
192
192
  },
193
193
  deleteAllTablePreferences: () => {
194
194
  localStorage.removeItem(at);
195
195
  }
196
196
  };
197
197
  }
198
- const $a = {
198
+ const Ta = {
199
199
  actions: {
200
200
  copyId: "Copy ID",
201
201
  copied_id: 'Copied "{id}" to the clipboard',
202
202
  copyToClipboard: "Copied successfully!",
203
203
  copyToClipboardFailed: "Failed to copy to the clipboard"
204
204
  }
205
- }, ja = {
205
+ }, $a = {
206
206
  message: "Are you sure you want to delete this {entityType}?",
207
207
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
208
- }, Ma = {
208
+ }, ja = {
209
209
  actions: {
210
210
  save: "Save",
211
211
  cancel: "Cancel",
@@ -214,13 +214,13 @@ const $a = {
214
214
  errors: {
215
215
  edit: "The entity could not be edited at this time."
216
216
  }
217
- }, Oa = {
217
+ }, Ma = {
218
218
  emptyState: {
219
219
  noSearchResultsTitle: "No results found",
220
220
  noSearchResultsMessage: "Please adjust the criteria and try again.",
221
221
  noSearchResultsCtaText: "Clear"
222
222
  }
223
- }, Ea = {
223
+ }, Oa = {
224
224
  title: "Configuration",
225
225
  actions: {
226
226
  copy: "Copy JSON"
@@ -255,7 +255,7 @@ const $a = {
255
255
  entryTitle: "Entry {index}",
256
256
  structuredFormat: "Structured"
257
257
  }
258
- }, Fa = {
258
+ }, Ea = {
259
259
  filterButtonText: "Filter",
260
260
  fieldLabel: "Filter by:",
261
261
  inputPlaceholder: "Enter a value",
@@ -263,15 +263,15 @@ const $a = {
263
263
  applyButtonText: "Apply",
264
264
  clearButtonText: "Clear",
265
265
  clearAllButtonText: "Clear all filters"
266
- }, Ka = {
266
+ }, Fa = {
267
267
  errors: {
268
268
  fetch: "Could not fetch available items",
269
269
  invalid: "Please select a valid value"
270
270
  }
271
- }, Na = {
271
+ }, Ka = {
272
272
  unexpected: "An unexpected error has occurred",
273
273
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
274
- }, Ba = {
274
+ }, Na = {
275
275
  enable: {
276
276
  title: "Enable {entityType}",
277
277
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -282,26 +282,26 @@ const $a = {
282
282
  message: "Are you sure you want to disable the {entityType} {entityName}?",
283
283
  confirmText: "Yes, disable"
284
284
  }
285
- }, qa = {
286
- global: $a,
287
- deleteModal: ja,
288
- baseForm: Ma,
289
- baseTable: Oa,
290
- baseConfigCard: Ea,
291
- filter: Fa,
292
- debouncedFilter: Ka,
293
- errors: Na,
294
- toggleModal: Ba
285
+ }, Ba = {
286
+ global: Ta,
287
+ deleteModal: $a,
288
+ baseForm: ja,
289
+ baseTable: Ma,
290
+ baseConfigCard: Oa,
291
+ filter: Ea,
292
+ debouncedFilter: Fa,
293
+ errors: Ka,
294
+ toggleModal: Na
295
295
  };
296
296
  function vt() {
297
- const e = yt("en-us", qa);
297
+ const e = yt("en-us", Ba);
298
298
  return {
299
299
  i18n: e,
300
- i18nT: pn(e)
300
+ i18nT: mn(e)
301
301
  // Translation component <i18n-t>
302
302
  };
303
303
  }
304
- function mn() {
304
+ function yn() {
305
305
  const e = (t, a) => (a == null ? void 0 : a[t]) ?? void 0, n = (t, a) => {
306
306
  if (t.length !== a.length)
307
307
  return !1;
@@ -345,23 +345,23 @@ function mn() {
345
345
  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
346
346
  };
347
347
  }
348
- function La(e, n, t, a = {
348
+ function qa(e, n, t, a = {
349
349
  fetchedItemsKey: "data",
350
350
  searchKeys: ["id"]
351
351
  }) {
352
352
  t || (t = "100");
353
353
  const { axiosInstance: r } = ht({
354
354
  headers: e.requestHeaders
355
- }), { i18n: { t: o } } = vt(), { debounce: i } = Sa(), s = i(async (_) => {
355
+ }), { i18n: { t: o } } = vt(), { debounce: i } = Aa(), s = i(async (_) => {
356
356
  await q(_);
357
- }, 200), l = O(!1), u = O(""), d = O(""), c = O([]), y = O([]), f = O(void 0), A = g(n);
357
+ }, 200), l = O(!1), u = O(""), d = O(""), c = O([]), h = O([]), f = O(void 0), A = g(n);
358
358
  let k = `${e.apiBaseUrl}${A}`;
359
359
  e.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
360
- const { isValidUuid: p } = mn(), S = async () => {
360
+ const { isValidUuid: p } = yn(), S = async () => {
361
361
  try {
362
362
  l.value = !0;
363
363
  const { data: _ } = await r.get(`${k}?size=${t}`);
364
- _ != null && _.next || (f.value = a.fetchedItemsKey in _ ? _[a.fetchedItemsKey] : []), y.value = a.fetchedItemsKey in _ ? _[a.fetchedItemsKey] : [], c.value = y.value;
364
+ _ != null && _.next || (f.value = a.fetchedItemsKey in _ ? _[a.fetchedItemsKey] : []), h.value = a.fetchedItemsKey in _ ? _[a.fetchedItemsKey] : [], c.value = h.value;
365
365
  } catch {
366
366
  c.value = [], u.value = o("debouncedFilter.errors.fetch");
367
367
  } finally {
@@ -396,7 +396,7 @@ function La(e, n, t, a = {
396
396
  });
397
397
  });
398
398
  } else
399
- c.value = y.value;
399
+ c.value = h.value;
400
400
  } catch (b) {
401
401
  ((N = b == null ? void 0 : b.response) == null ? void 0 : N.status) === 404 ? d.value = o("debouncedFilter.errors.invalid") : (c.value = [], u.value = o("debouncedFilter.errors.fetch"));
402
402
  } finally {
@@ -423,13 +423,13 @@ function La(e, n, t, a = {
423
423
  debouncedQueryChange: s
424
424
  };
425
425
  }
426
- function Pa(e, n) {
426
+ function La(e, n) {
427
427
  const t = g(n), a = $(
428
428
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
429
429
  );
430
430
  return a.value.search = "", (r) => `${a.value.href}/${r}`;
431
431
  }
432
- function Va() {
432
+ function Pa() {
433
433
  const { i18n: { t: e } } = vt();
434
434
  return {
435
435
  getMessageFromError: (n) => {
@@ -457,7 +457,7 @@ function Va() {
457
457
  }
458
458
  };
459
459
  }
460
- function Ra(e) {
460
+ function Va(e) {
461
461
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
462
462
  try {
463
463
  const a = e.join("/"), r = `${t}${a}`, o = e.some((i) => i.trim() === "");
@@ -468,17 +468,17 @@ function Ra(e) {
468
468
  return console.warn("Failed to build valid URL:", a), "";
469
469
  }
470
470
  }
471
- function gn(e, n) {
471
+ function hn(e, n) {
472
472
  const t = O(g(e)), a = O(g(n)), r = $(
473
473
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
474
474
  ), o = $(
475
475
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
476
476
  );
477
477
  return (i) => {
478
- const { page: s, pageSize: l, offset: u, sortColumnKey: d, sortColumnOrder: c, query: y } = i;
478
+ const { page: s, pageSize: l, offset: u, sortColumnKey: d, sortColumnOrder: c, query: h } = i;
479
479
  try {
480
480
  let f = new URL(o.value.href);
481
- return r.value && y ? (f.search = "", f = t.value.app === "konnect" ? new URL(`${f.href}?filter[name][contains]=${y}`) : new URL(`${f.href}/${y}/`)) : (r.value || new URLSearchParams(y).forEach((A, k) => {
481
+ return r.value && h ? (f.search = "", f = t.value.app === "konnect" ? new URL(`${f.href}?filter[name][contains]=${h}`) : new URL(`${f.href}/${h}/`)) : (r.value || new URLSearchParams(h).forEach((A, k) => {
482
482
  f.searchParams.append(k, A);
483
483
  }), d && f.searchParams.append("sort_by", d), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), u && s !== 1 && f.searchParams.append("offset", String(u)), f.href;
484
484
  } catch (f) {
@@ -486,10 +486,10 @@ function gn(e, n) {
486
486
  }
487
487
  };
488
488
  }
489
- function Ua(e, n, t = "data") {
489
+ function Ra(e, n, t = "data") {
490
490
  const a = g(n), { axiosInstance: r } = ht({
491
491
  headers: e.requestHeaders
492
- }), o = gn(e, a), i = O({
492
+ }), o = hn(e, a), i = O({
493
493
  status: Ie.Idle
494
494
  });
495
495
  return { fetcher: async (s) => {
@@ -498,7 +498,7 @@ function Ua(e, n, t = "data") {
498
498
  const l = o(s), { data: u } = await r.get(l), d = t && t.replace(/[^\w-_]/gi, "");
499
499
  let c;
500
500
  u[d] && Array.isArray(u[d]) ? c = u[d] : Array.isArray(u) ? c = u : c = Object.keys(u).length ? [u] : [];
501
- const y = {
501
+ const h = {
502
502
  data: c,
503
503
  total: c.length,
504
504
  ...u.offset ? {
@@ -509,8 +509,8 @@ function Ua(e, n, t = "data") {
509
509
  };
510
510
  return i.value = {
511
511
  status: Ie.Idle,
512
- response: y
513
- }, y;
512
+ response: h
513
+ }, h;
514
514
  } catch (l) {
515
515
  const u = {
516
516
  data: [],
@@ -528,61 +528,61 @@ function Ua(e, n, t = "data") {
528
528
  }
529
529
  }, fetcherState: i };
530
530
  }
531
- function Da() {
531
+ function Ua() {
532
532
  const e = (t, a = "_") => t ? t.split(a).map((r) => r.toLowerCase() === "id" ? r.toUpperCase() : r.charAt(0).toUpperCase() + r.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
533
533
  return {
534
534
  capitalize: (t) => t ? t.replace(n, (a) => a.toUpperCase()) : "",
535
535
  convertKeyToTitle: e
536
536
  };
537
537
  }
538
- const yn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Bt = (e) => {
538
+ const vn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Bt = (e) => {
539
539
  if (typeof e != "string")
540
540
  throw new TypeError("Invalid argument expected string");
541
- const n = e.match(yn);
541
+ const n = e.match(vn);
542
542
  if (!n)
543
543
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
544
544
  return n.shift(), n;
545
545
  }, qt = (e) => e === "*" || e === "x" || e === "X", Lt = (e) => {
546
546
  const n = parseInt(e, 10);
547
547
  return isNaN(n) ? e : n;
548
- }, Ga = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Ha = (e, n) => {
548
+ }, Da = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Ga = (e, n) => {
549
549
  if (qt(e) || qt(n))
550
550
  return 0;
551
- const [t, a] = Ga(Lt(e), Lt(n));
551
+ const [t, a] = Da(Lt(e), Lt(n));
552
552
  return t > a ? 1 : t < a ? -1 : 0;
553
553
  }, Pt = (e, n) => {
554
554
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
555
- const a = Ha(e[t] || "0", n[t] || "0");
555
+ const a = Ga(e[t] || "0", n[t] || "0");
556
556
  if (a !== 0)
557
557
  return a;
558
558
  }
559
559
  return 0;
560
- }, za = (e, n) => {
560
+ }, Ha = (e, n) => {
561
561
  const t = Bt(e), a = Bt(n), r = t.pop(), o = a.pop(), i = Pt(t, a);
562
562
  return i !== 0 ? i : r && o ? Pt(r.split("."), o.split(".")) : r || o ? r ? -1 : 1 : 0;
563
563
  }, Vt = (e, n, t) => {
564
- Ja(t);
565
- const a = za(e, n);
566
- return hn[t].includes(a);
567
- }, hn = {
564
+ za(t);
565
+ const a = Ha(e, n);
566
+ return bn[t].includes(a);
567
+ }, bn = {
568
568
  ">": [1],
569
569
  ">=": [0, 1],
570
570
  "=": [0],
571
571
  "<=": [-1, 0],
572
572
  "<": [-1],
573
573
  "!=": [-1, 1]
574
- }, Rt = Object.keys(hn), Ja = (e) => {
574
+ }, Rt = Object.keys(bn), za = (e) => {
575
575
  if (typeof e != "string")
576
576
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
577
577
  if (Rt.indexOf(e) === -1)
578
578
  throw new Error(`Invalid operator, expected one of ${Rt.join("|")}`);
579
- }, Ya = (e) => typeof e == "string" && /^[v\d]/.test(e) && yn.test(e);
580
- function Wa(e) {
579
+ }, Ja = (e) => typeof e == "string" && /^[v\d]/.test(e) && vn.test(e);
580
+ function Ya(e) {
581
581
  const { gatewayInfo: n, supportedRange: t } = e;
582
582
  if (!n)
583
583
  return !0;
584
584
  const { edition: a, version: r } = n;
585
- if (!Ya(r))
585
+ if (!Ja(r))
586
586
  return console.error("Invalid version"), !1;
587
587
  const o = t[a];
588
588
  if (!o)
@@ -590,7 +590,7 @@ function Wa(e) {
590
590
  const [i, s] = o;
591
591
  return !(i && Vt(r, i, "<") || s && Vt(r, s, ">"));
592
592
  }
593
- function Za(e) {
593
+ function Wa(e) {
594
594
  const n = O(0), t = O(0), a = O(!1);
595
595
  return he(e, (r) => {
596
596
  r && !a.value && (n.value = r.offsetWidth, t.value = r.scrollWidth, a.value = !0);
@@ -600,38 +600,38 @@ function Za(e) {
600
600
  }
601
601
  const re = {
602
602
  useAxios: ht,
603
- useDebouncedFilter: La,
604
- useDeleteUrlBuilder: Pa,
605
- useErrors: Va,
606
- useExternalLinkCreator: Ra,
607
- useFetcher: Ua,
608
- useFetchUrlBuilder: gn,
609
- useHelpers: mn,
610
- useStringHelpers: Da,
603
+ useDebouncedFilter: qa,
604
+ useDeleteUrlBuilder: La,
605
+ useErrors: Pa,
606
+ useExternalLinkCreator: Va,
607
+ useFetcher: Ra,
608
+ useFetchUrlBuilder: hn,
609
+ useHelpers: yn,
610
+ useStringHelpers: Ua,
611
611
  useI18n: vt,
612
- useGatewayFeatureSupported: Wa,
613
- useTruncationDetector: Za
614
- }, Qa = {
612
+ useGatewayFeatureSupported: Ya,
613
+ useTruncationDetector: Wa
614
+ }, Za = {
615
615
  fail: "Failed to copy id to clipboard",
616
616
  success: {
617
617
  prefix: "Successfully",
618
618
  content: " copied to clipboard"
619
619
  }
620
- }, Xa = "Copy to clipboard", er = {
621
- message: Qa,
622
- iconTitle: Xa
623
- }, tr = "kong-ui-copy-uuid-notify", Ut = "24px", nr = (e, n) => {
620
+ }, Qa = "Copy to clipboard", Xa = {
621
+ message: Za,
622
+ iconTitle: Qa
623
+ }, er = "kong-ui-copy-uuid-notify", Ut = "24px", tr = (e, n) => {
624
624
  const t = e.__vccOpts || e;
625
625
  for (const [a, r] of n)
626
626
  t[a] = r;
627
627
  return t;
628
- }, ar = (e) => (cn("data-v-641e0aee"), e = e(), dn(), e), rr = ["aria-hidden"], or = {
628
+ }, nr = (e) => (pn("data-v-641e0aee"), e = e(), fn(), e), ar = ["aria-hidden"], rr = {
629
629
  key: 0,
630
630
  "data-testid": "kui-icon-svg-title"
631
- }, ir = /* @__PURE__ */ ar(() => /* @__PURE__ */ K("path", {
631
+ }, or = /* @__PURE__ */ nr(() => /* @__PURE__ */ K("path", {
632
632
  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",
633
633
  fill: "currentColor"
634
- }, null, -1)), sr = /* @__PURE__ */ te({
634
+ }, null, -1)), ir = /* @__PURE__ */ te({
635
635
  __name: "CopyIcon",
636
636
  props: {
637
637
  /** The accessibility text provided to screen readers */
@@ -700,13 +700,13 @@ const re = {
700
700
  lineHeight: "0",
701
701
  width: t.value
702
702
  }));
703
- return (r, o) => (m(), R(Ee(e.as), {
703
+ return (r, o) => (m(), R(Se(e.as), {
704
704
  "aria-hidden": e.decorative ? "true" : void 0,
705
705
  class: "kui-icon copy-icon",
706
706
  "data-testid": "kui-icon-wrapper-copy-icon",
707
- style: un(a.value)
707
+ style: dn(a.value)
708
708
  }, {
709
- default: h(() => [
709
+ default: y(() => [
710
710
  (m(), T("svg", {
711
711
  "aria-hidden": e.decorative ? "true" : void 0,
712
712
  "data-testid": "kui-icon-svg-copy-icon",
@@ -717,14 +717,14 @@ const re = {
717
717
  width: "100%",
718
718
  xmlns: "http://www.w3.org/2000/svg"
719
719
  }, [
720
- e.title ? (m(), T("title", or, j(e.title), 1)) : G("", !0),
721
- ir
722
- ], 8, rr))
720
+ e.title ? (m(), T("title", rr, j(e.title), 1)) : G("", !0),
721
+ or
722
+ ], 8, ar))
723
723
  ]),
724
724
  _: 1
725
725
  }, 8, ["aria-hidden", "style"]));
726
726
  }
727
- }), lr = /* @__PURE__ */ nr(sr, [["__scopeId", "data-v-641e0aee"]]), ur = "16px", cr = { class: "kong-ui-copy-uuid" }, dr = ["onClick"], Dt = 15, pr = /* @__PURE__ */ te({
727
+ }), sr = /* @__PURE__ */ tr(ir, [["__scopeId", "data-v-641e0aee"]]), lr = "16px", ur = { class: "kong-ui-copy-uuid" }, cr = ["onClick"], Dt = 15, dr = /* @__PURE__ */ te({
728
728
  __name: "CopyUuid",
729
729
  props: {
730
730
  uuid: {
@@ -768,7 +768,7 @@ const re = {
768
768
  },
769
769
  emits: ["success", "error"],
770
770
  setup(e, { emit: n }) {
771
- const t = e, { t: a } = yt("en-us", er), r = t.notify || ba(tr, () => {
771
+ const t = e, { t: a } = yt("en-us", Xa), r = t.notify || ba(er, () => {
772
772
  }), o = $(() => t.idTooltip ? {
773
773
  label: t.idTooltip,
774
774
  positionFixed: !0,
@@ -781,15 +781,15 @@ const re = {
781
781
  maxWidth: "500px",
782
782
  placement: "bottomStart"
783
783
  } : {}), u = $(() => {
784
- var y;
785
- return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(y = t.uuid) == null ? void 0 : y.substring(0, 5)}` : t.uuid;
786
- }), d = (y) => {
787
- s.value = y, setTimeout(() => {
784
+ var h;
785
+ return t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${(h = t.uuid) == null ? void 0 : h.substring(0, 5)}` : t.uuid;
786
+ }), d = (h) => {
787
+ s.value = h, setTimeout(() => {
788
788
  s.value = t.tooltip;
789
789
  }, 1800);
790
- }, c = (y) => {
790
+ }, c = (h) => {
791
791
  var f, A;
792
- if (!y(t.uuid)) {
792
+ if (!h(t.uuid)) {
793
793
  typeof r == "function" && r({
794
794
  type: "error",
795
795
  message: a("message.fail")
@@ -802,11 +802,11 @@ const re = {
802
802
  message: `${p}${a("message.success.content")}`
803
803
  }), i.value ? d(t.successTooltip) : n("success", t.uuid);
804
804
  };
805
- return (y, f) => {
805
+ return (h, f) => {
806
806
  const A = P("KClipboardProvider");
807
- return m(), T("div", cr, [
808
- e.format !== "hidden" ? (m(), R(Ee(e.idTooltip ? "KTooltip" : "div"), st({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
809
- default: h(() => [
807
+ return m(), T("div", ur, [
808
+ e.format !== "hidden" ? (m(), R(Se(e.idTooltip ? "KTooltip" : "div"), st({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
809
+ default: y(() => [
810
810
  K("div", {
811
811
  class: Ae([
812
812
  "uuid-container",
@@ -817,24 +817,24 @@ const re = {
817
817
  ]),
818
818
  _: 1
819
819
  }, 16)) : G("", !0),
820
- (m(), R(Ee(e.tooltip ? "KTooltip" : "div"), st(l.value, { class: "uuid-icon-wrapper" }), {
821
- default: h(() => [
820
+ (m(), R(Se(e.tooltip ? "KTooltip" : "div"), st(l.value, { class: "uuid-icon-wrapper" }), {
821
+ default: y(() => [
822
822
  F(A, null, {
823
- default: h(({ copyToClipboard: k }) => [
823
+ default: y(({ copyToClipboard: k }) => [
824
824
  K("span", {
825
825
  "data-testid": "copy-to-clipboard",
826
826
  role: "button",
827
827
  tabindex: "0",
828
828
  onClick: De((p) => c(k), ["stop"])
829
829
  }, [
830
- F(g(lr), {
830
+ F(g(sr), {
831
831
  class: "uuid-icon",
832
832
  color: e.iconColor,
833
833
  decorative: !!e.tooltip,
834
- size: g(ur),
834
+ size: g(lr),
835
835
  title: g(a)("iconTitle")
836
836
  }, null, 8, ["color", "decorative", "size", "title"])
837
- ], 8, dr)
837
+ ], 8, cr)
838
838
  ]),
839
839
  _: 1
840
840
  })
@@ -844,15 +844,15 @@ const re = {
844
844
  ]);
845
845
  };
846
846
  }
847
- }), fr = (e, n) => {
847
+ }), pr = (e, n) => {
848
848
  const t = e.__vccOpts || e;
849
849
  for (const [a, r] of n)
850
850
  t[a] = r;
851
851
  return t;
852
- }, vn = /* @__PURE__ */ fr(pr, [["__scopeId", "data-v-0c07874b"]]), mr = {
852
+ }, kn = /* @__PURE__ */ pr(dr, [["__scopeId", "data-v-0c07874b"]]), fr = {
853
853
  key: 0,
854
854
  class: "config-card-fieldset-title"
855
- }, gr = /* @__PURE__ */ te({
855
+ }, mr = /* @__PURE__ */ te({
856
856
  __name: "JsonCardItem",
857
857
  props: {
858
858
  item: {
@@ -876,11 +876,11 @@ const re = {
876
876
  var l;
877
877
  return n.isArrayItem ? (l = o.value) != null && l.name ? a(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
878
878
  });
879
- return (l, u) => (m(), R(Ee(e.isArrayItem ? "fieldset" : "div"), {
879
+ return (l, u) => (m(), R(Se(e.isArrayItem ? "fieldset" : "div"), {
880
880
  class: Ae(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
881
881
  }, {
882
- default: h(() => [
883
- e.isArrayItem ? (m(), T("legend", mr, [
882
+ default: y(() => [
883
+ e.isArrayItem ? (m(), T("legend", fr, [
884
884
  K("b", null, j(s.value), 1)
885
885
  ])) : G("", !0),
886
886
  (m(!0), T(fe, null, de(Object.keys(i.value), (d, c) => (m(), R(bt, {
@@ -900,7 +900,7 @@ const re = {
900
900
  for (const [a, r] of n)
901
901
  t[a] = r;
902
902
  return t;
903
- }, bn = /* @__PURE__ */ me(gr, [["__scopeId", "data-v-68ca83ec"]]), yr = /* @__PURE__ */ te({
903
+ }, Cn = /* @__PURE__ */ me(mr, [["__scopeId", "data-v-68ca83ec"]]), gr = /* @__PURE__ */ te({
904
904
  __name: "InternalLinkItem",
905
905
  props: {
906
906
  item: {
@@ -919,7 +919,7 @@ const re = {
919
919
  class: "navigation-button",
920
920
  onClick: a[0] || (a[0] = (o) => t.$emit("navigation-click", e.item))
921
921
  }, {
922
- default: h(() => [
922
+ default: y(() => [
923
923
  W(j(e.item.value || g(n)("baseConfigCard.commonFields.link")), 1)
924
924
  ]),
925
925
  _: 1
@@ -927,7 +927,7 @@ const re = {
927
927
  ]);
928
928
  };
929
929
  }
930
- }), hr = /* @__PURE__ */ me(yr, [["__scopeId", "data-v-c96811e5"]]), vr = /* @__PURE__ */ te({
930
+ }), yr = /* @__PURE__ */ me(gr, [["__scopeId", "data-v-c96811e5"]]), hr = /* @__PURE__ */ te({
931
931
  __name: "StatusBadge",
932
932
  props: {
933
933
  status: {
@@ -942,18 +942,18 @@ const re = {
942
942
  return m(), R(r, {
943
943
  appearance: e.status ? "success" : "neutral"
944
944
  }, {
945
- default: h(() => [
945
+ default: y(() => [
946
946
  W(j(e.status ? g(n)("baseConfigCard.statusBadge.enabledLabel") : g(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
947
947
  ]),
948
948
  _: 1
949
949
  }, 8, ["appearance"]);
950
950
  };
951
951
  }
952
- }), br = "#0044f4", kr = "#e0e4ea", Cr = "#3a3f51", wr = "1px", Ir = "20px", _r = { class: "config-card-details-row" }, Ar = ["data-testid"], Sr = ["data-testid"], xr = ["data-testid"], Tr = ["data-testid"], $r = { key: 1 }, jr = ["data-testid"], Mr = ["data-testid"], Or = ["data-testid"], Er = ["data-testid"], Fr = {
952
+ }), vr = "#0044f4", br = "#e0e4ea", kr = "#3a3f51", Cr = "1px", wr = "20px", Ir = { class: "config-card-details-row" }, _r = ["data-testid"], Ar = ["data-testid"], Sr = ["data-testid"], xr = ["data-testid"], Tr = { key: 1 }, $r = ["data-testid"], jr = ["data-testid"], Mr = ["data-testid"], Or = ["data-testid"], Er = {
953
953
  name: "ConfigCardItem",
954
- components: { CopyUuid: vn, JsonCardItem: bn, StatusBadge: vr, InternalLinkItem: hr }
955
- }, Kr = /* @__PURE__ */ te({
956
- ...Fr,
954
+ components: { CopyUuid: kn, JsonCardItem: Cn, StatusBadge: hr, InternalLinkItem: yr }
955
+ }, Fr = /* @__PURE__ */ te({
956
+ ...Er,
957
957
  props: {
958
958
  item: {
959
959
  type: Object,
@@ -973,8 +973,8 @@ const re = {
973
973
  emits: ["navigation-click"],
974
974
  setup(e, { emit: n }) {
975
975
  const t = e;
976
- ma((f) => ({
977
- "0da74440": u.value ? "none" : `solid ${g(wr)} ${g(kr)}`,
976
+ ya((f) => ({
977
+ "0da74440": u.value ? "none" : `solid ${g(Cr)} ${g(br)}`,
978
978
  "02a039da": l.value && i.value ? "block" : "flex",
979
979
  "690f3ced": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
980
980
  "691182c8": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
@@ -1105,37 +1105,37 @@ const re = {
1105
1105
  text: t.item.value
1106
1106
  };
1107
1107
  }
1108
- }), c = O(), { isTruncated: y } = re.useTruncationDetector(c);
1108
+ }), c = O(), { isTruncated: h } = re.useTruncationDetector(c);
1109
1109
  return (f, A) => {
1110
1110
  const k = P("KLabel"), p = P("KBadge"), S = P("KTooltip");
1111
- return m(), T("div", _r, [
1111
+ return m(), T("div", Ir, [
1112
1112
  K("div", {
1113
1113
  class: "config-card-details-label",
1114
1114
  "data-testid": `${e.item.key}-label`
1115
1115
  }, [
1116
1116
  Y(f.$slots, "label", { item: e.item }, () => [
1117
1117
  F(k, { "tooltip-attributes": { maxWidth: "500px" } }, ke({
1118
- default: h(() => [
1118
+ default: y(() => [
1119
1119
  W(j(e.item.label) + " ", 1)
1120
1120
  ]),
1121
1121
  _: 2
1122
1122
  }, [
1123
1123
  s.value ? {
1124
1124
  name: "tooltip",
1125
- fn: h(() => [
1125
+ fn: y(() => [
1126
1126
  K("div", {
1127
1127
  "data-testid": `${e.item.key}-label-tooltip`
1128
1128
  }, [
1129
1129
  Y(f.$slots, "label-tooltip", {}, () => [
1130
1130
  W(j(e.item.tooltip), 1)
1131
1131
  ], !0)
1132
- ], 8, Sr)
1132
+ ], 8, Ar)
1133
1133
  ]),
1134
1134
  key: "0"
1135
1135
  } : void 0
1136
1136
  ]), 1024)
1137
1137
  ], !0)
1138
- ], 8, Ar),
1138
+ ], 8, _r),
1139
1139
  K("div", {
1140
1140
  class: "config-card-details-value",
1141
1141
  "data-testid": `${e.item.key}-property-value`
@@ -1143,9 +1143,9 @@ const re = {
1143
1143
  Y(f.$slots, e.item.key, {
1144
1144
  rowValue: e.item.value
1145
1145
  }, () => [
1146
- i.value ? (m(), T("div", $r, [
1147
- (m(), R(Ee(d.value.tag), ga(ya(d.value.attrs)), {
1148
- default: h(() => [
1146
+ i.value ? (m(), T("div", Tr, [
1147
+ (m(), R(Se(d.value.tag), un(cn(d.value.attrs)), {
1148
+ default: y(() => [
1149
1149
  d.value.additionalComponent === "KBadge" ? (m(), T("div", {
1150
1150
  key: 0,
1151
1151
  "data-testid": `${e.item.key}-badge-tags`
@@ -1157,54 +1157,54 @@ const re = {
1157
1157
  tooltip: v,
1158
1158
  "truncation-tooltip": ""
1159
1159
  }, {
1160
- default: h(() => [
1160
+ default: y(() => [
1161
1161
  W(j(v), 1)
1162
1162
  ]),
1163
1163
  _: 2
1164
1164
  }, 1032, ["data-testid", "tooltip"]))), 128))
1165
- ], 8, jr)) : G("", !0),
1165
+ ], 8, $r)) : G("", !0),
1166
1166
  d.value.additionalComponent === "CopyUuid" ? (m(), T("div", {
1167
1167
  key: 1,
1168
1168
  class: "copy-uuid-array",
1169
1169
  "data-testid": `${e.item.key}-copy-uuid-array`
1170
1170
  }, [
1171
- (m(!0), T(fe, null, de(e.item.value, (v, q) => (m(), R(g(vn), st(d.value.childAttrs, {
1171
+ (m(!0), T(fe, null, de(e.item.value, (v, q) => (m(), R(g(kn), st(d.value.childAttrs, {
1172
1172
  key: `${e.item.key}-copy-uuid-${q}`,
1173
1173
  "data-testid": `${e.item.key}-copy-uuid-${q}`,
1174
1174
  uuid: v
1175
1175
  }), null, 16, ["data-testid", "uuid"]))), 128))
1176
- ], 8, Mr)) : d.value.additionalComponent === "KMethodBadge" ? (m(), T("div", {
1176
+ ], 8, jr)) : d.value.additionalComponent === "KMethodBadge" ? (m(), T("div", {
1177
1177
  key: 2,
1178
1178
  class: "method-badge-array",
1179
1179
  "data-testid": `${e.item.key}-badge-methods`
1180
1180
  }, [
1181
1181
  (m(!0), T(fe, null, de(e.item.value, (v, q) => (m(), R(p, {
1182
1182
  key: `${e.item.key}-badge-method-${q}`,
1183
- appearance: Object.values(g(wa)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1183
+ appearance: Object.values(g(Ca)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1184
1184
  class: "config-badge",
1185
1185
  "data-testid": `${e.item.key}-badge-method-${q}`
1186
1186
  }, {
1187
- default: h(() => [
1187
+ default: y(() => [
1188
1188
  W(j(v), 1)
1189
1189
  ]),
1190
1190
  _: 2
1191
1191
  }, 1032, ["appearance", "data-testid"]))), 128))
1192
- ], 8, Or)) : G("", !0),
1192
+ ], 8, Mr)) : G("", !0),
1193
1193
  d.value.additionalComponent === "JsonCardItem" ? (m(), T("div", {
1194
1194
  key: 3,
1195
1195
  "data-testid": `${t.item.key}-json-array-content`
1196
1196
  }, [
1197
- (m(!0), T(fe, null, de(e.item.value, (v, q) => (m(), R(bn, {
1197
+ (m(!0), T(fe, null, de(e.item.value, (v, q) => (m(), R(Cn, {
1198
1198
  key: `json-array-item-${q}`,
1199
1199
  index: q,
1200
1200
  "is-array-item": "",
1201
1201
  item: v
1202
1202
  }, null, 8, ["index", "item"]))), 128))
1203
- ], 8, Er)) : (m(), R(S, {
1203
+ ], 8, Or)) : (m(), R(S, {
1204
1204
  key: 4,
1205
- label: g(y) ? e.item.value : ""
1205
+ label: g(h) ? e.item.value : ""
1206
1206
  }, {
1207
- default: h(() => [
1207
+ default: y(() => [
1208
1208
  K("span", {
1209
1209
  ref_key: "textContent",
1210
1210
  ref: c,
@@ -1219,60 +1219,60 @@ const re = {
1219
1219
  ])) : (m(), T("div", {
1220
1220
  key: 0,
1221
1221
  "data-testid": `${e.item.key}-no-value`
1222
- }, " – ", 8, Tr))
1222
+ }, " – ", 8, xr))
1223
1223
  ], !0)
1224
- ], 8, xr)
1224
+ ], 8, Sr)
1225
1225
  ]);
1226
1226
  };
1227
1227
  }
1228
- }), bt = /* @__PURE__ */ me(Kr, [["__scopeId", "data-v-9c87856b"]]);
1228
+ }), bt = /* @__PURE__ */ me(Fr, [["__scopeId", "data-v-9c87856b"]]);
1229
1229
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1230
- function kn(e) {
1230
+ function wn(e) {
1231
1231
  return typeof e > "u" || e === null;
1232
1232
  }
1233
- function Nr(e) {
1233
+ function Kr(e) {
1234
1234
  return typeof e == "object" && e !== null;
1235
1235
  }
1236
- function Br(e) {
1237
- return Array.isArray(e) ? e : kn(e) ? [] : [e];
1236
+ function Nr(e) {
1237
+ return Array.isArray(e) ? e : wn(e) ? [] : [e];
1238
1238
  }
1239
- function qr(e, n) {
1239
+ function Br(e, n) {
1240
1240
  var t, a, r, o;
1241
1241
  if (n)
1242
1242
  for (o = Object.keys(n), t = 0, a = o.length; t < a; t += 1)
1243
1243
  r = o[t], e[r] = n[r];
1244
1244
  return e;
1245
1245
  }
1246
- function Lr(e, n) {
1246
+ function qr(e, n) {
1247
1247
  var t = "", a;
1248
1248
  for (a = 0; a < n; a += 1)
1249
1249
  t += e;
1250
1250
  return t;
1251
1251
  }
1252
- function Pr(e) {
1252
+ function Lr(e) {
1253
1253
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1254
1254
  }
1255
- var Vr = kn, Rr = Nr, Ur = Br, Dr = Lr, Gr = Pr, Hr = qr, ae = {
1256
- isNothing: Vr,
1257
- isObject: Rr,
1258
- toArray: Ur,
1259
- repeat: Dr,
1260
- isNegativeZero: Gr,
1261
- extend: Hr
1255
+ var Pr = wn, Vr = Kr, Rr = Nr, Ur = qr, Dr = Lr, Gr = Br, ae = {
1256
+ isNothing: Pr,
1257
+ isObject: Vr,
1258
+ toArray: Rr,
1259
+ repeat: Ur,
1260
+ isNegativeZero: Dr,
1261
+ extend: Gr
1262
1262
  };
1263
- function Cn(e, n) {
1263
+ function In(e, n) {
1264
1264
  var t = "", a = e.reason || "(unknown reason)";
1265
1265
  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 += `
1266
1266
 
1267
1267
  ` + e.mark.snippet), a + " " + t) : a;
1268
1268
  }
1269
1269
  function Le(e, n) {
1270
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = Cn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1270
+ 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 || "";
1271
1271
  }
1272
1272
  Le.prototype = Object.create(Error.prototype);
1273
1273
  Le.prototype.constructor = Le;
1274
1274
  Le.prototype.toString = function(e) {
1275
- return this.name + ": " + Cn(this, e);
1275
+ return this.name + ": " + In(this, e);
1276
1276
  };
1277
1277
  var se = Le;
1278
1278
  function rt(e, n, t, a, r) {
@@ -1286,7 +1286,7 @@ function rt(e, n, t, a, r) {
1286
1286
  function ot(e, n) {
1287
1287
  return ae.repeat(" ", n - e.length) + e;
1288
1288
  }
1289
- function zr(e, n) {
1289
+ function Hr(e, n) {
1290
1290
  if (n = Object.create(n || null), !e.buffer)
1291
1291
  return null;
1292
1292
  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);
@@ -1316,7 +1316,7 @@ function zr(e, n) {
1316
1316
  `;
1317
1317
  return s.replace(/\n$/, "");
1318
1318
  }
1319
- var Jr = zr, Yr = [
1319
+ var zr = Hr, Jr = [
1320
1320
  "kind",
1321
1321
  "multi",
1322
1322
  "resolve",
@@ -1327,12 +1327,12 @@ var Jr = zr, Yr = [
1327
1327
  "representName",
1328
1328
  "defaultStyle",
1329
1329
  "styleAliases"
1330
- ], Wr = [
1330
+ ], Yr = [
1331
1331
  "scalar",
1332
1332
  "sequence",
1333
1333
  "mapping"
1334
1334
  ];
1335
- function Zr(e) {
1335
+ function Wr(e) {
1336
1336
  var n = {};
1337
1337
  return e !== null && Object.keys(e).forEach(function(t) {
1338
1338
  e[t].forEach(function(a) {
@@ -1340,18 +1340,18 @@ function Zr(e) {
1340
1340
  });
1341
1341
  }), n;
1342
1342
  }
1343
- function Qr(e, n) {
1343
+ function Zr(e, n) {
1344
1344
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1345
- if (Yr.indexOf(t) === -1)
1345
+ if (Jr.indexOf(t) === -1)
1346
1346
  throw new se('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1347
1347
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1348
1348
  return !0;
1349
1349
  }, this.construct = n.construct || function(t) {
1350
1350
  return t;
1351
- }, 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 = Zr(n.styleAliases || null), Wr.indexOf(this.kind) === -1)
1351
+ }, 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 = Wr(n.styleAliases || null), Yr.indexOf(this.kind) === -1)
1352
1352
  throw new se('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1353
1353
  }
1354
- var oe = Qr;
1354
+ var oe = Zr;
1355
1355
  function Gt(e, n) {
1356
1356
  var t = [];
1357
1357
  return e[n].forEach(function(a) {
@@ -1361,7 +1361,7 @@ function Gt(e, n) {
1361
1361
  }), t[r] = a;
1362
1362
  }), t;
1363
1363
  }
1364
- function Xr() {
1364
+ function Qr() {
1365
1365
  var e = {
1366
1366
  scalar: {},
1367
1367
  sequence: {},
@@ -1406,47 +1406,47 @@ ut.prototype.extend = function(e) {
1406
1406
  throw new se("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1407
1407
  });
1408
1408
  var a = Object.create(ut.prototype);
1409
- return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Gt(a, "implicit"), a.compiledExplicit = Gt(a, "explicit"), a.compiledTypeMap = Xr(a.compiledImplicit, a.compiledExplicit), a;
1409
+ return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Gt(a, "implicit"), a.compiledExplicit = Gt(a, "explicit"), a.compiledTypeMap = Qr(a.compiledImplicit, a.compiledExplicit), a;
1410
1410
  };
1411
- var wn = ut, In = new oe("tag:yaml.org,2002:str", {
1411
+ var _n = ut, An = new oe("tag:yaml.org,2002:str", {
1412
1412
  kind: "scalar",
1413
1413
  construct: function(e) {
1414
1414
  return e !== null ? e : "";
1415
1415
  }
1416
- }), _n = new oe("tag:yaml.org,2002:seq", {
1416
+ }), Sn = new oe("tag:yaml.org,2002:seq", {
1417
1417
  kind: "sequence",
1418
1418
  construct: function(e) {
1419
1419
  return e !== null ? e : [];
1420
1420
  }
1421
- }), An = new oe("tag:yaml.org,2002:map", {
1421
+ }), xn = new oe("tag:yaml.org,2002:map", {
1422
1422
  kind: "mapping",
1423
1423
  construct: function(e) {
1424
1424
  return e !== null ? e : {};
1425
1425
  }
1426
- }), Sn = new wn({
1426
+ }), Tn = new _n({
1427
1427
  explicit: [
1428
- In,
1429
- _n,
1430
- An
1428
+ An,
1429
+ Sn,
1430
+ xn
1431
1431
  ]
1432
1432
  });
1433
- function eo(e) {
1433
+ function Xr(e) {
1434
1434
  if (e === null)
1435
1435
  return !0;
1436
1436
  var n = e.length;
1437
1437
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1438
1438
  }
1439
- function to() {
1439
+ function eo() {
1440
1440
  return null;
1441
1441
  }
1442
- function no(e) {
1442
+ function to(e) {
1443
1443
  return e === null;
1444
1444
  }
1445
- var xn = new oe("tag:yaml.org,2002:null", {
1445
+ var $n = new oe("tag:yaml.org,2002:null", {
1446
1446
  kind: "scalar",
1447
- resolve: eo,
1448
- construct: to,
1449
- predicate: no,
1447
+ resolve: Xr,
1448
+ construct: eo,
1449
+ predicate: to,
1450
1450
  represent: {
1451
1451
  canonical: function() {
1452
1452
  return "~";
@@ -1466,23 +1466,23 @@ var xn = new oe("tag:yaml.org,2002:null", {
1466
1466
  },
1467
1467
  defaultStyle: "lowercase"
1468
1468
  });
1469
- function ao(e) {
1469
+ function no(e) {
1470
1470
  if (e === null)
1471
1471
  return !1;
1472
1472
  var n = e.length;
1473
1473
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1474
1474
  }
1475
- function ro(e) {
1475
+ function ao(e) {
1476
1476
  return e === "true" || e === "True" || e === "TRUE";
1477
1477
  }
1478
- function oo(e) {
1478
+ function ro(e) {
1479
1479
  return Object.prototype.toString.call(e) === "[object Boolean]";
1480
1480
  }
1481
- var Tn = new oe("tag:yaml.org,2002:bool", {
1481
+ var jn = new oe("tag:yaml.org,2002:bool", {
1482
1482
  kind: "scalar",
1483
- resolve: ao,
1484
- construct: ro,
1485
- predicate: oo,
1483
+ resolve: no,
1484
+ construct: ao,
1485
+ predicate: ro,
1486
1486
  represent: {
1487
1487
  lowercase: function(e) {
1488
1488
  return e ? "true" : "false";
@@ -1496,16 +1496,16 @@ var Tn = new oe("tag:yaml.org,2002:bool", {
1496
1496
  },
1497
1497
  defaultStyle: "lowercase"
1498
1498
  });
1499
- function io(e) {
1499
+ function oo(e) {
1500
1500
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1501
1501
  }
1502
- function so(e) {
1502
+ function io(e) {
1503
1503
  return 48 <= e && e <= 55;
1504
1504
  }
1505
- function lo(e) {
1505
+ function so(e) {
1506
1506
  return 48 <= e && e <= 57;
1507
1507
  }
1508
- function uo(e) {
1508
+ function lo(e) {
1509
1509
  if (e === null)
1510
1510
  return !1;
1511
1511
  var n = e.length, t = 0, a = !1, r;
@@ -1526,7 +1526,7 @@ function uo(e) {
1526
1526
  if (r === "x") {
1527
1527
  for (t++; t < n; t++)
1528
1528
  if (r = e[t], r !== "_") {
1529
- if (!io(e.charCodeAt(t)))
1529
+ if (!oo(e.charCodeAt(t)))
1530
1530
  return !1;
1531
1531
  a = !0;
1532
1532
  }
@@ -1535,7 +1535,7 @@ function uo(e) {
1535
1535
  if (r === "o") {
1536
1536
  for (t++; t < n; t++)
1537
1537
  if (r = e[t], r !== "_") {
1538
- if (!so(e.charCodeAt(t)))
1538
+ if (!io(e.charCodeAt(t)))
1539
1539
  return !1;
1540
1540
  a = !0;
1541
1541
  }
@@ -1546,13 +1546,13 @@ function uo(e) {
1546
1546
  return !1;
1547
1547
  for (; t < n; t++)
1548
1548
  if (r = e[t], r !== "_") {
1549
- if (!lo(e.charCodeAt(t)))
1549
+ if (!so(e.charCodeAt(t)))
1550
1550
  return !1;
1551
1551
  a = !0;
1552
1552
  }
1553
1553
  return !(!a || r === "_");
1554
1554
  }
1555
- function co(e) {
1555
+ function uo(e) {
1556
1556
  var n = e, t = 1, a;
1557
1557
  if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), a = n[0], (a === "-" || a === "+") && (a === "-" && (t = -1), n = n.slice(1), a = n[0]), n === "0")
1558
1558
  return 0;
@@ -1566,14 +1566,14 @@ function co(e) {
1566
1566
  }
1567
1567
  return t * parseInt(n, 10);
1568
1568
  }
1569
- function po(e) {
1569
+ function co(e) {
1570
1570
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ae.isNegativeZero(e);
1571
1571
  }
1572
- var $n = new oe("tag:yaml.org,2002:int", {
1572
+ var Mn = new oe("tag:yaml.org,2002:int", {
1573
1573
  kind: "scalar",
1574
- resolve: uo,
1575
- construct: co,
1576
- predicate: po,
1574
+ resolve: lo,
1575
+ construct: uo,
1576
+ predicate: co,
1577
1577
  represent: {
1578
1578
  binary: function(e) {
1579
1579
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -1596,21 +1596,21 @@ var $n = new oe("tag:yaml.org,2002:int", {
1596
1596
  decimal: [10, "dec"],
1597
1597
  hexadecimal: [16, "hex"]
1598
1598
  }
1599
- }), fo = new RegExp(
1599
+ }), po = new RegExp(
1600
1600
  // 2.5e4, 2.5 and integers
1601
1601
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
1602
1602
  );
1603
- function mo(e) {
1604
- return !(e === null || !fo.test(e) || // Quick hack to not allow integers end with `_`
1603
+ function fo(e) {
1604
+ return !(e === null || !po.test(e) || // Quick hack to not allow integers end with `_`
1605
1605
  // Probably should update regexp & check speed
1606
1606
  e[e.length - 1] === "_");
1607
1607
  }
1608
- function go(e) {
1608
+ function mo(e) {
1609
1609
  var n, t;
1610
1610
  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);
1611
1611
  }
1612
- var yo = /^[-+]?[0-9]+e/;
1613
- function ho(e, n) {
1612
+ var go = /^[-+]?[0-9]+e/;
1613
+ function yo(e, n) {
1614
1614
  var t;
1615
1615
  if (isNaN(e))
1616
1616
  switch (n) {
@@ -1641,36 +1641,36 @@ function ho(e, n) {
1641
1641
  }
1642
1642
  else if (ae.isNegativeZero(e))
1643
1643
  return "-0.0";
1644
- return t = e.toString(10), yo.test(t) ? t.replace("e", ".e") : t;
1644
+ return t = e.toString(10), go.test(t) ? t.replace("e", ".e") : t;
1645
1645
  }
1646
- function vo(e) {
1646
+ function ho(e) {
1647
1647
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ae.isNegativeZero(e));
1648
1648
  }
1649
- var jn = new oe("tag:yaml.org,2002:float", {
1649
+ var On = new oe("tag:yaml.org,2002:float", {
1650
1650
  kind: "scalar",
1651
- resolve: mo,
1652
- construct: go,
1653
- predicate: vo,
1654
- represent: ho,
1651
+ resolve: fo,
1652
+ construct: mo,
1653
+ predicate: ho,
1654
+ represent: yo,
1655
1655
  defaultStyle: "lowercase"
1656
- }), Mn = Sn.extend({
1656
+ }), En = Tn.extend({
1657
1657
  implicit: [
1658
- xn,
1659
- Tn,
1660
1658
  $n,
1661
- jn
1659
+ jn,
1660
+ Mn,
1661
+ On
1662
1662
  ]
1663
- }), On = Mn, En = new RegExp(
1663
+ }), Fn = En, Kn = new RegExp(
1664
1664
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1665
- ), Fn = new RegExp(
1665
+ ), Nn = new RegExp(
1666
1666
  "^([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]))?))?$"
1667
1667
  );
1668
- function bo(e) {
1669
- return e === null ? !1 : En.exec(e) !== null || Fn.exec(e) !== null;
1668
+ function vo(e) {
1669
+ return e === null ? !1 : Kn.exec(e) !== null || Nn.exec(e) !== null;
1670
1670
  }
1671
- function ko(e) {
1672
- var n, t, a, r, o, i, s, l = 0, u = null, d, c, y;
1673
- if (n = En.exec(e), n === null && (n = Fn.exec(e)), n === null)
1671
+ function bo(e) {
1672
+ var n, t, a, r, o, i, s, l = 0, u = null, d, c, h;
1673
+ if (n = Kn.exec(e), n === null && (n = Nn.exec(e)), n === null)
1674
1674
  throw new Error("Date resolve error");
1675
1675
  if (t = +n[1], a = +n[2] - 1, r = +n[3], !n[4])
1676
1676
  return new Date(Date.UTC(t, a, r));
@@ -1679,27 +1679,27 @@ function ko(e) {
1679
1679
  l += "0";
1680
1680
  l = +l;
1681
1681
  }
1682
- return n[9] && (d = +n[10], c = +(n[11] || 0), u = (d * 60 + c) * 6e4, n[9] === "-" && (u = -u)), y = new Date(Date.UTC(t, a, r, o, i, s, l)), u && y.setTime(y.getTime() - u), y;
1682
+ return n[9] && (d = +n[10], c = +(n[11] || 0), u = (d * 60 + c) * 6e4, n[9] === "-" && (u = -u)), h = new Date(Date.UTC(t, a, r, o, i, s, l)), u && h.setTime(h.getTime() - u), h;
1683
1683
  }
1684
- function Co(e) {
1684
+ function ko(e) {
1685
1685
  return e.toISOString();
1686
1686
  }
1687
- var Kn = new oe("tag:yaml.org,2002:timestamp", {
1687
+ var Bn = new oe("tag:yaml.org,2002:timestamp", {
1688
1688
  kind: "scalar",
1689
- resolve: bo,
1690
- construct: ko,
1689
+ resolve: vo,
1690
+ construct: bo,
1691
1691
  instanceOf: Date,
1692
- represent: Co
1692
+ represent: ko
1693
1693
  });
1694
- function wo(e) {
1694
+ function Co(e) {
1695
1695
  return e === "<<" || e === null;
1696
1696
  }
1697
- var Nn = new oe("tag:yaml.org,2002:merge", {
1697
+ var qn = new oe("tag:yaml.org,2002:merge", {
1698
1698
  kind: "scalar",
1699
- resolve: wo
1699
+ resolve: Co
1700
1700
  }), kt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1701
1701
  \r`;
1702
- function Io(e) {
1702
+ function wo(e) {
1703
1703
  if (e === null)
1704
1704
  return !1;
1705
1705
  var n, t, a = 0, r = e.length, o = kt;
@@ -1711,37 +1711,37 @@ function Io(e) {
1711
1711
  }
1712
1712
  return a % 8 === 0;
1713
1713
  }
1714
- function _o(e) {
1714
+ function Io(e) {
1715
1715
  var n, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, o = kt, i = 0, s = [];
1716
1716
  for (n = 0; n < r; n++)
1717
1717
  n % 4 === 0 && n && (s.push(i >> 16 & 255), s.push(i >> 8 & 255), s.push(i & 255)), i = i << 6 | o.indexOf(a.charAt(n));
1718
1718
  return t = r % 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);
1719
1719
  }
1720
- function Ao(e) {
1720
+ function _o(e) {
1721
1721
  var n = "", t = 0, a, r, o = e.length, i = kt;
1722
1722
  for (a = 0; a < o; a++)
1723
1723
  a % 3 === 0 && a && (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]), t = (t << 8) + e[a];
1724
1724
  return r = o % 3, r === 0 ? (n += i[t >> 18 & 63], n += i[t >> 12 & 63], n += i[t >> 6 & 63], n += i[t & 63]) : r === 2 ? (n += i[t >> 10 & 63], n += i[t >> 4 & 63], n += i[t << 2 & 63], n += i[64]) : r === 1 && (n += i[t >> 2 & 63], n += i[t << 4 & 63], n += i[64], n += i[64]), n;
1725
1725
  }
1726
- function So(e) {
1726
+ function Ao(e) {
1727
1727
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1728
1728
  }
1729
- var Bn = new oe("tag:yaml.org,2002:binary", {
1729
+ var Ln = new oe("tag:yaml.org,2002:binary", {
1730
1730
  kind: "scalar",
1731
- resolve: Io,
1732
- construct: _o,
1733
- predicate: So,
1734
- represent: Ao
1735
- }), xo = Object.prototype.hasOwnProperty, To = Object.prototype.toString;
1736
- function $o(e) {
1731
+ resolve: wo,
1732
+ construct: Io,
1733
+ predicate: Ao,
1734
+ represent: _o
1735
+ }), So = Object.prototype.hasOwnProperty, xo = Object.prototype.toString;
1736
+ function To(e) {
1737
1737
  if (e === null)
1738
1738
  return !0;
1739
1739
  var n = [], t, a, r, o, i, s = e;
1740
1740
  for (t = 0, a = s.length; t < a; t += 1) {
1741
- if (r = s[t], i = !1, To.call(r) !== "[object Object]")
1741
+ if (r = s[t], i = !1, xo.call(r) !== "[object Object]")
1742
1742
  return !1;
1743
1743
  for (o in r)
1744
- if (xo.call(r, o))
1744
+ if (So.call(r, o))
1745
1745
  if (!i)
1746
1746
  i = !0;
1747
1747
  else
@@ -1755,26 +1755,26 @@ function $o(e) {
1755
1755
  }
1756
1756
  return !0;
1757
1757
  }
1758
- function jo(e) {
1758
+ function $o(e) {
1759
1759
  return e !== null ? e : [];
1760
1760
  }
1761
- var qn = new oe("tag:yaml.org,2002:omap", {
1761
+ var Pn = new oe("tag:yaml.org,2002:omap", {
1762
1762
  kind: "sequence",
1763
- resolve: $o,
1764
- construct: jo
1765
- }), Mo = Object.prototype.toString;
1766
- function Oo(e) {
1763
+ resolve: To,
1764
+ construct: $o
1765
+ }), jo = Object.prototype.toString;
1766
+ function Mo(e) {
1767
1767
  if (e === null)
1768
1768
  return !0;
1769
1769
  var n, t, a, r, o, i = e;
1770
1770
  for (o = new Array(i.length), n = 0, t = i.length; n < t; n += 1) {
1771
- if (a = i[n], Mo.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1771
+ if (a = i[n], jo.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
1772
1772
  return !1;
1773
1773
  o[n] = [r[0], a[r[0]]];
1774
1774
  }
1775
1775
  return !0;
1776
1776
  }
1777
- function Eo(e) {
1777
+ function Oo(e) {
1778
1778
  if (e === null)
1779
1779
  return [];
1780
1780
  var n, t, a, r, o, i = e;
@@ -1782,39 +1782,39 @@ function Eo(e) {
1782
1782
  a = i[n], r = Object.keys(a), o[n] = [r[0], a[r[0]]];
1783
1783
  return o;
1784
1784
  }
1785
- var Ln = new oe("tag:yaml.org,2002:pairs", {
1785
+ var Vn = new oe("tag:yaml.org,2002:pairs", {
1786
1786
  kind: "sequence",
1787
- resolve: Oo,
1788
- construct: Eo
1789
- }), Fo = Object.prototype.hasOwnProperty;
1790
- function Ko(e) {
1787
+ resolve: Mo,
1788
+ construct: Oo
1789
+ }), Eo = Object.prototype.hasOwnProperty;
1790
+ function Fo(e) {
1791
1791
  if (e === null)
1792
1792
  return !0;
1793
1793
  var n, t = e;
1794
1794
  for (n in t)
1795
- if (Fo.call(t, n) && t[n] !== null)
1795
+ if (Eo.call(t, n) && t[n] !== null)
1796
1796
  return !1;
1797
1797
  return !0;
1798
1798
  }
1799
- function No(e) {
1799
+ function Ko(e) {
1800
1800
  return e !== null ? e : {};
1801
1801
  }
1802
- var Pn = new oe("tag:yaml.org,2002:set", {
1802
+ var Rn = new oe("tag:yaml.org,2002:set", {
1803
1803
  kind: "mapping",
1804
- resolve: Ko,
1805
- construct: No
1806
- }), Ct = On.extend({
1804
+ resolve: Fo,
1805
+ construct: Ko
1806
+ }), Ct = Fn.extend({
1807
1807
  implicit: [
1808
- Kn,
1809
- Nn
1808
+ Bn,
1809
+ qn
1810
1810
  ],
1811
1811
  explicit: [
1812
- Bn,
1813
- qn,
1814
1812
  Ln,
1815
- Pn
1813
+ Pn,
1814
+ Vn,
1815
+ Rn
1816
1816
  ]
1817
- }), we = Object.prototype.hasOwnProperty, Ge = 1, Vn = 2, Rn = 3, He = 4, it = 1, Bo = 2, Ht = 3, qo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Lo = /[\x85\u2028\u2029]/, Po = /[,\[\]\{\}]/, Un = /^(?:!|!!|![a-z\-]+!)$/i, Dn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1817
+ }), we = Object.prototype.hasOwnProperty, Ge = 1, Un = 2, Dn = 3, He = 4, it = 1, No = 2, Ht = 3, Bo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, qo = /[\x85\u2028\u2029]/, Lo = /[,\[\]\{\}]/, Gn = /^(?:!|!!|![a-z\-]+!)$/i, Hn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1818
1818
  function zt(e) {
1819
1819
  return Object.prototype.toString.call(e);
1820
1820
  }
@@ -1827,36 +1827,36 @@ function _e(e) {
1827
1827
  function pe(e) {
1828
1828
  return e === 9 || e === 32 || e === 10 || e === 13;
1829
1829
  }
1830
- function Me(e) {
1830
+ function Oe(e) {
1831
1831
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1832
1832
  }
1833
- function Vo(e) {
1833
+ function Po(e) {
1834
1834
  var n;
1835
1835
  return 48 <= e && e <= 57 ? e - 48 : (n = e | 32, 97 <= n && n <= 102 ? n - 97 + 10 : -1);
1836
1836
  }
1837
- function Ro(e) {
1837
+ function Vo(e) {
1838
1838
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1839
1839
  }
1840
- function Uo(e) {
1840
+ function Ro(e) {
1841
1841
  return 48 <= e && e <= 57 ? e - 48 : -1;
1842
1842
  }
1843
1843
  function Jt(e) {
1844
1844
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1845
1845
  ` : 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" : "";
1846
1846
  }
1847
- function Do(e) {
1847
+ function Uo(e) {
1848
1848
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1849
1849
  (e - 65536 >> 10) + 55296,
1850
1850
  (e - 65536 & 1023) + 56320
1851
1851
  );
1852
1852
  }
1853
- var Gn = new Array(256), Hn = new Array(256);
1854
- for (var $e = 0; $e < 256; $e++)
1855
- Gn[$e] = Jt($e) ? 1 : 0, Hn[$e] = Jt($e);
1856
- function Go(e, n) {
1853
+ var zn = new Array(256), Jn = new Array(256);
1854
+ for (var je = 0; je < 256; je++)
1855
+ zn[je] = Jt(je) ? 1 : 0, Jn[je] = Jt(je);
1856
+ function Do(e, n) {
1857
1857
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || Ct, 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 = [];
1858
1858
  }
1859
- function zn(e, n) {
1859
+ function Yn(e, n) {
1860
1860
  var t = {
1861
1861
  name: e.filename,
1862
1862
  buffer: e.input.slice(0, -1),
@@ -1865,13 +1865,13 @@ function zn(e, n) {
1865
1865
  line: e.line,
1866
1866
  column: e.position - e.lineStart
1867
1867
  };
1868
- return t.snippet = Jr(t), new se(n, t);
1868
+ return t.snippet = zr(t), new se(n, t);
1869
1869
  }
1870
1870
  function M(e, n) {
1871
- throw zn(e, n);
1871
+ throw Yn(e, n);
1872
1872
  }
1873
1873
  function ze(e, n) {
1874
- e.onWarning && e.onWarning.call(null, zn(e, n));
1874
+ e.onWarning && e.onWarning.call(null, Yn(e, n));
1875
1875
  }
1876
1876
  var Yt = {
1877
1877
  YAML: function(e, n, t) {
@@ -1880,7 +1880,7 @@ var Yt = {
1880
1880
  },
1881
1881
  TAG: function(e, n, t) {
1882
1882
  var a, r;
1883
- t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Un.test(a) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), we.call(e.tagMap, a) && M(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Dn.test(r) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1883
+ t.length !== 2 && M(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Gn.test(a) || M(e, "ill-formed tag handle (first argument) of the TAG directive"), we.call(e.tagMap, a) && M(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Hn.test(r) || M(e, "ill-formed tag prefix (second argument) of the TAG directive");
1884
1884
  try {
1885
1885
  r = decodeURIComponent(r);
1886
1886
  } catch {
@@ -1896,7 +1896,7 @@ function Ce(e, n, t, a) {
1896
1896
  for (r = 0, o = s.length; r < o; r += 1)
1897
1897
  i = s.charCodeAt(r), i === 9 || 32 <= i && i <= 1114111 || M(e, "expected valid JSON character");
1898
1898
  else
1899
- qo.test(s) && M(e, "the stream contains non-printable characters");
1899
+ Bo.test(s) && M(e, "the stream contains non-printable characters");
1900
1900
  e.result += s;
1901
1901
  }
1902
1902
  }
@@ -1905,7 +1905,7 @@ function Wt(e, n, t, a) {
1905
1905
  for (ae.isObject(t) || M(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), i = 0, s = r.length; i < s; i += 1)
1906
1906
  o = r[i], we.call(n, o) || (n[o] = t[o], a[o] = !0);
1907
1907
  }
1908
- function Oe(e, n, t, a, r, o, i, s, l) {
1908
+ function Ee(e, n, t, a, r, o, i, s, l) {
1909
1909
  var u, d;
1910
1910
  if (Array.isArray(r))
1911
1911
  for (r = Array.prototype.slice.call(r), u = 0, d = r.length; u < d; u += 1)
@@ -1953,19 +1953,19 @@ function It(e, n) {
1953
1953
  n === 1 ? e.result += " " : n > 1 && (e.result += ae.repeat(`
1954
1954
  `, n - 1));
1955
1955
  }
1956
- function Ho(e, n, t) {
1957
- var a, r, o, i, s, l, u, d, c = e.kind, y = e.result, f;
1958
- if (f = e.input.charCodeAt(e.position), pe(f) || Me(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) && (r = e.input.charCodeAt(e.position + 1), pe(r) || t && Me(r)))
1956
+ function Go(e, n, t) {
1957
+ var a, r, o, i, s, l, u, d, c = e.kind, h = e.result, f;
1958
+ if (f = e.input.charCodeAt(e.position), pe(f) || Oe(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) && (r = e.input.charCodeAt(e.position + 1), pe(r) || t && Oe(r)))
1959
1959
  return !1;
1960
1960
  for (e.kind = "scalar", e.result = "", o = i = e.position, s = !1; f !== 0; ) {
1961
1961
  if (f === 58) {
1962
- if (r = e.input.charCodeAt(e.position + 1), pe(r) || t && Me(r))
1962
+ if (r = e.input.charCodeAt(e.position + 1), pe(r) || t && Oe(r))
1963
1963
  break;
1964
1964
  } else if (f === 35) {
1965
1965
  if (a = e.input.charCodeAt(e.position - 1), pe(a))
1966
1966
  break;
1967
1967
  } else {
1968
- if (e.position === e.lineStart && Qe(e) || t && Me(f))
1968
+ if (e.position === e.lineStart && Qe(e) || t && Oe(f))
1969
1969
  break;
1970
1970
  if (ye(f))
1971
1971
  if (l = e.line, u = e.lineStart, d = e.lineIndent, ne(e, !1, -1), e.lineIndent >= n) {
@@ -1978,9 +1978,9 @@ function Ho(e, n, t) {
1978
1978
  }
1979
1979
  s && (Ce(e, o, i, !1), It(e, e.line - l), o = i = e.position, s = !1), _e(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1980
1980
  }
1981
- return Ce(e, o, i, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
1981
+ return Ce(e, o, i, !1), e.result ? !0 : (e.kind = c, e.result = h, !1);
1982
1982
  }
1983
- function zo(e, n) {
1983
+ function Ho(e, n) {
1984
1984
  var t, a, r;
1985
1985
  if (t = e.input.charCodeAt(e.position), t !== 39)
1986
1986
  return !1;
@@ -1994,7 +1994,7 @@ function zo(e, n) {
1994
1994
  ye(t) ? (Ce(e, a, r, !0), It(e, ne(e, !1, n)), a = r = e.position) : e.position === e.lineStart && Qe(e) ? M(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1995
1995
  M(e, "unexpected end of the stream within a single quoted scalar");
1996
1996
  }
1997
- function Jo(e, n) {
1997
+ function zo(e, n) {
1998
1998
  var t, a, r, o, i, s;
1999
1999
  if (s = e.input.charCodeAt(e.position), s !== 34)
2000
2000
  return !1;
@@ -2004,12 +2004,12 @@ function Jo(e, n) {
2004
2004
  if (s === 92) {
2005
2005
  if (Ce(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), ye(s))
2006
2006
  ne(e, !1, n);
2007
- else if (s < 256 && Gn[s])
2008
- e.result += Hn[s], e.position++;
2009
- else if ((i = Ro(s)) > 0) {
2007
+ else if (s < 256 && zn[s])
2008
+ e.result += Jn[s], e.position++;
2009
+ else if ((i = Vo(s)) > 0) {
2010
2010
  for (r = i, o = 0; r > 0; r--)
2011
- s = e.input.charCodeAt(++e.position), (i = Vo(s)) >= 0 ? o = (o << 4) + i : M(e, "expected hexadecimal character");
2012
- e.result += Do(o), e.position++;
2011
+ s = e.input.charCodeAt(++e.position), (i = Po(s)) >= 0 ? o = (o << 4) + i : M(e, "expected hexadecimal character");
2012
+ e.result += Uo(o), e.position++;
2013
2013
  } else
2014
2014
  M(e, "unknown escape sequence");
2015
2015
  t = a = e.position;
@@ -2018,8 +2018,8 @@ function Jo(e, n) {
2018
2018
  }
2019
2019
  M(e, "unexpected end of the stream within a double quoted scalar");
2020
2020
  }
2021
- function Yo(e, n) {
2022
- var t = !0, a, r, o, i = e.tag, s, l = e.anchor, u, d, c, y, f, A = /* @__PURE__ */ Object.create(null), k, p, S, v;
2021
+ function Jo(e, n) {
2022
+ var t = !0, a, r, o, i = e.tag, s, l = e.anchor, u, d, c, h, f, A = /* @__PURE__ */ Object.create(null), k, p, S, v;
2023
2023
  if (v = e.input.charCodeAt(e.position), v === 91)
2024
2024
  d = 93, f = !1, s = [];
2025
2025
  else if (v === 123)
@@ -2029,11 +2029,11 @@ function Yo(e, n) {
2029
2029
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0; ) {
2030
2030
  if (ne(e, !0, n), v = e.input.charCodeAt(e.position), v === d)
2031
2031
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2032
- t ? v === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), p = k = S = null, c = y = !1, v === 63 && (u = e.input.charCodeAt(e.position + 1), pe(u) && (c = y = !0, e.position++, ne(e, !0, n))), a = e.line, r = e.lineStart, o = e.position, Fe(e, n, Ge, !1, !0), p = e.tag, k = e.result, ne(e, !0, n), v = e.input.charCodeAt(e.position), (y || e.line === a) && v === 58 && (c = !0, v = e.input.charCodeAt(++e.position), ne(e, !0, n), Fe(e, n, Ge, !1, !0), S = e.result), f ? Oe(e, s, A, p, k, S, a, r, o) : c ? s.push(Oe(e, null, A, p, k, S, a, r, o)) : s.push(k), ne(e, !0, n), v = e.input.charCodeAt(e.position), v === 44 ? (t = !0, v = e.input.charCodeAt(++e.position)) : t = !1;
2032
+ t ? v === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), p = k = S = null, c = h = !1, v === 63 && (u = e.input.charCodeAt(e.position + 1), pe(u) && (c = h = !0, e.position++, ne(e, !0, n))), a = e.line, r = e.lineStart, o = e.position, Fe(e, n, Ge, !1, !0), p = e.tag, k = e.result, ne(e, !0, n), v = e.input.charCodeAt(e.position), (h || e.line === a) && v === 58 && (c = !0, v = e.input.charCodeAt(++e.position), ne(e, !0, n), Fe(e, n, Ge, !1, !0), S = e.result), f ? Ee(e, s, A, p, k, S, a, r, o) : c ? s.push(Ee(e, null, A, p, k, S, a, r, o)) : s.push(k), ne(e, !0, n), v = e.input.charCodeAt(e.position), v === 44 ? (t = !0, v = e.input.charCodeAt(++e.position)) : t = !1;
2033
2033
  }
2034
2034
  M(e, "unexpected end of the stream within a flow collection");
2035
2035
  }
2036
- function Wo(e, n) {
2036
+ function Yo(e, n) {
2037
2037
  var t, a, r = it, o = !1, i = !1, s = n, l = 0, u = !1, d, c;
2038
2038
  if (c = e.input.charCodeAt(e.position), c === 124)
2039
2039
  a = !1;
@@ -2043,8 +2043,8 @@ function Wo(e, n) {
2043
2043
  return !1;
2044
2044
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2045
2045
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2046
- it === r ? r = c === 43 ? Ht : Bo : M(e, "repeat of a chomping mode identifier");
2047
- else if ((d = Uo(c)) >= 0)
2046
+ it === r ? r = c === 43 ? Ht : No : M(e, "repeat of a chomping mode identifier");
2047
+ else if ((d = Ro(c)) >= 0)
2048
2048
  d === 0 ? M(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? M(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2049
2049
  else
2050
2050
  break;
@@ -2089,28 +2089,28 @@ function Zt(e, n) {
2089
2089
  o.push(null), l = e.input.charCodeAt(e.position);
2090
2090
  continue;
2091
2091
  }
2092
- if (t = e.line, Fe(e, n, Rn, !1, !0), o.push(e.result), ne(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2092
+ if (t = e.line, Fe(e, n, Dn, !1, !0), o.push(e.result), ne(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2093
2093
  M(e, "bad indentation of a sequence entry");
2094
2094
  else if (e.lineIndent < n)
2095
2095
  break;
2096
2096
  }
2097
2097
  return s ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2098
2098
  }
2099
- function Zo(e, n, t) {
2100
- var a, r, o, i, s, l, u = e.tag, d = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, A = null, k = null, p = !1, S = !1, v;
2099
+ function Wo(e, n, t) {
2100
+ var a, r, o, i, s, l, u = e.tag, d = e.anchor, c = {}, h = /* @__PURE__ */ Object.create(null), f = null, A = null, k = null, p = !1, S = !1, v;
2101
2101
  if (e.firstTabInLine !== -1)
2102
2102
  return !1;
2103
2103
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), v = e.input.charCodeAt(e.position); v !== 0; ) {
2104
2104
  if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (v === 63 || v === 58) && pe(a))
2105
- v === 63 ? (p && (Oe(e, c, y, f, A, null, i, s, l), f = A = k = null), S = !0, p = !0, r = !0) : p ? (p = !1, r = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = a;
2105
+ v === 63 ? (p && (Ee(e, c, h, f, A, null, i, s, l), f = A = k = null), S = !0, p = !0, r = !0) : p ? (p = !1, r = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = a;
2106
2106
  else {
2107
- if (i = e.line, s = e.lineStart, l = e.position, !Fe(e, t, Vn, !1, !0))
2107
+ if (i = e.line, s = e.lineStart, l = e.position, !Fe(e, t, Un, !1, !0))
2108
2108
  break;
2109
2109
  if (e.line === o) {
2110
2110
  for (v = e.input.charCodeAt(e.position); _e(v); )
2111
2111
  v = e.input.charCodeAt(++e.position);
2112
2112
  if (v === 58)
2113
- v = e.input.charCodeAt(++e.position), pe(v) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Oe(e, c, y, f, A, null, i, s, l), f = A = k = null), S = !0, p = !1, r = !1, f = e.tag, A = e.result;
2113
+ v = e.input.charCodeAt(++e.position), pe(v) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ee(e, c, h, f, A, null, i, s, l), f = A = k = null), S = !0, p = !1, r = !1, f = e.tag, A = e.result;
2114
2114
  else if (S)
2115
2115
  M(e, "can not read an implicit mapping pair; a colon is missed");
2116
2116
  else
@@ -2120,14 +2120,14 @@ function Zo(e, n, t) {
2120
2120
  else
2121
2121
  return e.tag = u, e.anchor = d, !0;
2122
2122
  }
2123
- if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Fe(e, n, He, !0, r) && (p ? A = e.result : k = e.result), p || (Oe(e, c, y, f, A, k, i, s, l), f = A = k = null), ne(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && v !== 0)
2123
+ if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Fe(e, n, He, !0, r) && (p ? A = e.result : k = e.result), p || (Ee(e, c, h, f, A, k, i, s, l), f = A = k = null), ne(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && v !== 0)
2124
2124
  M(e, "bad indentation of a mapping entry");
2125
2125
  else if (e.lineIndent < n)
2126
2126
  break;
2127
2127
  }
2128
- return p && Oe(e, c, y, f, A, null, i, s, l), S && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), S;
2128
+ return p && Ee(e, c, h, f, A, null, i, s, l), S && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), S;
2129
2129
  }
2130
- function Qo(e) {
2130
+ function Zo(e) {
2131
2131
  var n, t = !1, a = !1, r, o, i;
2132
2132
  if (i = e.input.charCodeAt(e.position), i !== 33)
2133
2133
  return !1;
@@ -2138,10 +2138,10 @@ function Qo(e) {
2138
2138
  e.position < e.length ? (o = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : M(e, "unexpected end of the stream within a verbatim tag");
2139
2139
  } else {
2140
2140
  for (; i !== 0 && !pe(i); )
2141
- i === 33 && (a ? M(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(n - 1, e.position + 1), Un.test(r) || M(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2142
- o = e.input.slice(n, e.position), Po.test(o) && M(e, "tag suffix cannot contain flow indicator characters");
2141
+ i === 33 && (a ? M(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(n - 1, e.position + 1), Gn.test(r) || M(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2142
+ o = e.input.slice(n, e.position), Lo.test(o) && M(e, "tag suffix cannot contain flow indicator characters");
2143
2143
  }
2144
- o && !Dn.test(o) && M(e, "tag name cannot contain such characters: " + o);
2144
+ o && !Hn.test(o) && M(e, "tag name cannot contain such characters: " + o);
2145
2145
  try {
2146
2146
  o = decodeURIComponent(o);
2147
2147
  } catch {
@@ -2149,31 +2149,31 @@ function Qo(e) {
2149
2149
  }
2150
2150
  return t ? e.tag = o : we.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : M(e, 'undeclared tag handle "' + r + '"'), !0;
2151
2151
  }
2152
- function Xo(e) {
2152
+ function Qo(e) {
2153
2153
  var n, t;
2154
2154
  if (t = e.input.charCodeAt(e.position), t !== 38)
2155
2155
  return !1;
2156
- for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !pe(t) && !Me(t); )
2156
+ for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !pe(t) && !Oe(t); )
2157
2157
  t = e.input.charCodeAt(++e.position);
2158
2158
  return e.position === n && M(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2159
2159
  }
2160
- function ei(e) {
2160
+ function Xo(e) {
2161
2161
  var n, t, a;
2162
2162
  if (a = e.input.charCodeAt(e.position), a !== 42)
2163
2163
  return !1;
2164
- for (a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !pe(a) && !Me(a); )
2164
+ for (a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !pe(a) && !Oe(a); )
2165
2165
  a = e.input.charCodeAt(++e.position);
2166
2166
  return e.position === n && M(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), we.call(e.anchorMap, t) || M(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ne(e, !0, -1), !0;
2167
2167
  }
2168
2168
  function Fe(e, n, t, a, r) {
2169
- var o, i, s, l = 1, u = !1, d = !1, c, y, f, A, k, p;
2170
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = He === t || Rn === t, a && ne(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2171
- for (; Qo(e) || Xo(e); )
2169
+ var o, i, s, l = 1, u = !1, d = !1, c, h, f, A, k, p;
2170
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = He === t || Dn === t, a && ne(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2171
+ for (; Zo(e) || Qo(e); )
2172
2172
  ne(e, !0, -1) ? (u = !0, s = o, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2173
- if (s && (s = u || r), (l === 1 || He === t) && (Ge === t || Vn === t ? k = n : k = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Zt(e, p) || Zo(e, p, k)) || Yo(e, k) ? d = !0 : (i && Wo(e, k) || zo(e, k) || Jo(e, k) ? d = !0 : ei(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Ho(e, k, Ge === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Zt(e, p))), e.tag === null)
2173
+ if (s && (s = u || r), (l === 1 || He === t) && (Ge === t || Un === t ? k = n : k = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Zt(e, p) || Wo(e, p, k)) || Jo(e, k) ? d = !0 : (i && Yo(e, k) || Ho(e, k) || zo(e, k) ? d = !0 : Xo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && M(e, "alias node should not have any properties")) : Go(e, k, Ge === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Zt(e, p))), e.tag === null)
2174
2174
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2175
2175
  else if (e.tag === "?") {
2176
- for (e.result !== null && e.kind !== "scalar" && M(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
2176
+ for (e.result !== null && e.kind !== "scalar" && M(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, h = e.implicitTypes.length; c < h; c += 1)
2177
2177
  if (A = e.implicitTypes[c], A.resolve(e.result)) {
2178
2178
  e.result = A.construct(e.result), e.tag = A.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2179
2179
  break;
@@ -2182,7 +2182,7 @@ function Fe(e, n, t, a, r) {
2182
2182
  if (we.call(e.typeMap[e.kind || "fallback"], e.tag))
2183
2183
  A = e.typeMap[e.kind || "fallback"][e.tag];
2184
2184
  else
2185
- for (A = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, y = f.length; c < y; c += 1)
2185
+ for (A = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, h = f.length; c < h; c += 1)
2186
2186
  if (e.tag.slice(0, f[c].tag.length) === f[c].tag) {
2187
2187
  A = f[c];
2188
2188
  break;
@@ -2191,7 +2191,7 @@ function Fe(e, n, t, a, r) {
2191
2191
  }
2192
2192
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2193
2193
  }
2194
- function ti(e) {
2194
+ function ei(e) {
2195
2195
  var n = e.position, t, a, r, o = !1, i;
2196
2196
  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 && (ne(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2197
2197
  for (o = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !pe(i); )
@@ -2213,7 +2213,7 @@ function ti(e) {
2213
2213
  }
2214
2214
  i !== 0 && wt(e), we.call(Yt, a) ? Yt[a](e, a, r) : ze(e, 'unknown document directive "' + a + '"');
2215
2215
  }
2216
- if (ne(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ne(e, !0, -1)) : o && M(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, He, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Lo.test(e.input.slice(n, e.position)) && ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Qe(e)) {
2216
+ if (ne(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ne(e, !0, -1)) : o && M(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, He, !1, !0), ne(e, !0, -1), e.checkLineBreaks && qo.test(e.input.slice(n, e.position)) && ze(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Qe(e)) {
2217
2217
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
2218
2218
  return;
2219
2219
  }
@@ -2222,36 +2222,36 @@ function ti(e) {
2222
2222
  else
2223
2223
  return;
2224
2224
  }
2225
- function Jn(e, n) {
2225
+ function Wn(e, n) {
2226
2226
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2227
2227
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2228
- var t = new Go(e, n), a = e.indexOf("\0");
2228
+ var t = new Do(e, n), a = e.indexOf("\0");
2229
2229
  for (a !== -1 && (t.position = a, M(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2230
2230
  t.lineIndent += 1, t.position += 1;
2231
2231
  for (; t.position < t.length - 1; )
2232
- ti(t);
2232
+ ei(t);
2233
2233
  return t.documents;
2234
2234
  }
2235
- function ni(e, n, t) {
2235
+ function ti(e, n, t) {
2236
2236
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2237
- var a = Jn(e, t);
2237
+ var a = Wn(e, t);
2238
2238
  if (typeof n != "function")
2239
2239
  return a;
2240
2240
  for (var r = 0, o = a.length; r < o; r += 1)
2241
2241
  n(a[r]);
2242
2242
  }
2243
- function ai(e, n) {
2244
- var t = Jn(e, n);
2243
+ function ni(e, n) {
2244
+ var t = Wn(e, n);
2245
2245
  if (t.length !== 0) {
2246
2246
  if (t.length === 1)
2247
2247
  return t[0];
2248
2248
  throw new se("expected a single document in the stream, but found more");
2249
2249
  }
2250
2250
  }
2251
- var ri = ni, oi = ai, Yn = {
2252
- loadAll: ri,
2253
- load: oi
2254
- }, Wn = Object.prototype.toString, Zn = Object.prototype.hasOwnProperty, _t = 65279, ii = 9, Pe = 10, si = 13, li = 32, ui = 33, ci = 34, ct = 35, di = 37, pi = 38, fi = 39, mi = 42, Qn = 44, gi = 45, Je = 58, yi = 61, hi = 62, vi = 63, bi = 64, Xn = 91, ea = 93, ki = 96, ta = 123, Ci = 124, na = 125, ie = {};
2251
+ var ai = ti, ri = ni, Zn = {
2252
+ loadAll: ai,
2253
+ load: ri
2254
+ }, Qn = Object.prototype.toString, Xn = Object.prototype.hasOwnProperty, _t = 65279, oi = 9, Pe = 10, ii = 13, si = 32, li = 33, ui = 34, ct = 35, ci = 37, di = 38, pi = 39, fi = 42, ea = 44, mi = 45, Je = 58, gi = 61, yi = 62, hi = 63, vi = 64, ta = 91, na = 93, bi = 96, aa = 123, ki = 124, ra = 125, ie = {};
2255
2255
  ie[0] = "\\0";
2256
2256
  ie[7] = "\\a";
2257
2257
  ie[8] = "\\b";
@@ -2267,7 +2267,7 @@ ie[133] = "\\N";
2267
2267
  ie[160] = "\\_";
2268
2268
  ie[8232] = "\\L";
2269
2269
  ie[8233] = "\\P";
2270
- var wi = [
2270
+ var Ci = [
2271
2271
  "y",
2272
2272
  "Y",
2273
2273
  "yes",
@@ -2284,16 +2284,16 @@ var wi = [
2284
2284
  "off",
2285
2285
  "Off",
2286
2286
  "OFF"
2287
- ], Ii = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2288
- function _i(e, n) {
2287
+ ], wi = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2288
+ function Ii(e, n) {
2289
2289
  var t, a, r, o, i, s, l;
2290
2290
  if (n === null)
2291
2291
  return {};
2292
2292
  for (t = {}, a = Object.keys(n), r = 0, o = a.length; r < o; r += 1)
2293
- i = a[r], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && Zn.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2293
+ i = a[r], s = String(n[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), l = e.compiledTypeMap.fallback[i], l && Xn.call(l.styleAliases, s) && (s = l.styleAliases[s]), t[i] = s;
2294
2294
  return t;
2295
2295
  }
2296
- function Ai(e) {
2296
+ function _i(e) {
2297
2297
  var n, t, a;
2298
2298
  if (n = e.toString(16).toUpperCase(), e <= 255)
2299
2299
  t = "x", a = 2;
@@ -2305,9 +2305,9 @@ function Ai(e) {
2305
2305
  throw new se("code point within a string may not be greater than 0xFFFFFFFF");
2306
2306
  return "\\" + t + ae.repeat("0", a - n.length) + n;
2307
2307
  }
2308
- var Si = 1, Ve = 2;
2309
- function xi(e) {
2310
- this.schema = e.schema || Ct, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = _i(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 === '"' ? Ve : Si, 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;
2308
+ var Ai = 1, Ve = 2;
2309
+ function Si(e) {
2310
+ this.schema = e.schema || Ct, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ae.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Ii(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 === '"' ? Ve : Ai, 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;
2311
2311
  }
2312
2312
  function Qt(e, n) {
2313
2313
  for (var t = ae.repeat(" ", n), a = 0, r = -1, o = "", i, s = e.length; a < s; )
@@ -2320,7 +2320,7 @@ function dt(e, n) {
2320
2320
  return `
2321
2321
  ` + ae.repeat(" ", e.indent * n);
2322
2322
  }
2323
- function Ti(e, n) {
2323
+ function xi(e, n) {
2324
2324
  var t, a, r;
2325
2325
  for (t = 0, a = e.implicitTypes.length; t < a; t += 1)
2326
2326
  if (r = e.implicitTypes[t], r.resolve(n))
@@ -2328,13 +2328,13 @@ function Ti(e, n) {
2328
2328
  return !1;
2329
2329
  }
2330
2330
  function Ye(e) {
2331
- return e === li || e === ii;
2331
+ return e === si || e === oi;
2332
2332
  }
2333
2333
  function Re(e) {
2334
2334
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== _t || 65536 <= e && e <= 1114111;
2335
2335
  }
2336
2336
  function Xt(e) {
2337
- return Re(e) && e !== _t && e !== si && e !== Pe;
2337
+ return Re(e) && e !== _t && e !== ii && e !== Pe;
2338
2338
  }
2339
2339
  function en(e, n, t) {
2340
2340
  var a = Xt(e), r = a && !Ye(e);
@@ -2343,56 +2343,56 @@ function en(e, n, t) {
2343
2343
  (t ? (
2344
2344
  // c = flow-in
2345
2345
  a
2346
- ) : a && e !== Qn && e !== Xn && e !== ea && e !== ta && e !== na) && e !== ct && !(n === Je && !r) || Xt(n) && !Ye(n) && e === ct || n === Je && r
2346
+ ) : a && e !== ea && e !== ta && e !== na && e !== aa && e !== ra) && e !== ct && !(n === Je && !r) || Xt(n) && !Ye(n) && e === ct || n === Je && r
2347
2347
  );
2348
2348
  }
2349
- function $i(e) {
2350
- return Re(e) && e !== _t && !Ye(e) && e !== gi && e !== vi && e !== Je && e !== Qn && e !== Xn && e !== ea && e !== ta && e !== na && e !== ct && e !== pi && e !== mi && e !== ui && e !== Ci && e !== yi && e !== hi && e !== fi && e !== ci && e !== di && e !== bi && e !== ki;
2349
+ function Ti(e) {
2350
+ return Re(e) && e !== _t && !Ye(e) && e !== mi && e !== hi && e !== Je && e !== ea && e !== ta && e !== na && e !== aa && e !== ra && e !== ct && e !== di && e !== fi && e !== li && e !== ki && e !== gi && e !== yi && e !== pi && e !== ui && e !== ci && e !== vi && e !== bi;
2351
2351
  }
2352
- function ji(e) {
2352
+ function $i(e) {
2353
2353
  return !Ye(e) && e !== Je;
2354
2354
  }
2355
2355
  function Ne(e, n) {
2356
2356
  var t = e.charCodeAt(n), a;
2357
2357
  return t >= 55296 && t <= 56319 && n + 1 < e.length && (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343) ? (t - 55296) * 1024 + a - 56320 + 65536 : t;
2358
2358
  }
2359
- function aa(e) {
2359
+ function oa(e) {
2360
2360
  var n = /^\n* /;
2361
2361
  return n.test(e);
2362
2362
  }
2363
- var ra = 1, pt = 2, oa = 3, ia = 4, je = 5;
2364
- function Mi(e, n, t, a, r, o, i, s) {
2365
- var l, u = 0, d = null, c = !1, y = !1, f = a !== -1, A = -1, k = $i(Ne(e, 0)) && ji(Ne(e, e.length - 1));
2363
+ var ia = 1, pt = 2, sa = 3, la = 4, Me = 5;
2364
+ function ji(e, n, t, a, r, o, i, s) {
2365
+ var l, u = 0, d = null, c = !1, h = !1, f = a !== -1, A = -1, k = Ti(Ne(e, 0)) && $i(Ne(e, e.length - 1));
2366
2366
  if (n || i)
2367
2367
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2368
2368
  if (u = Ne(e, l), !Re(u))
2369
- return je;
2369
+ return Me;
2370
2370
  k = k && en(u, d, s), d = u;
2371
2371
  }
2372
2372
  else {
2373
2373
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2374
2374
  if (u = Ne(e, l), u === Pe)
2375
- c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2375
+ c = !0, f && (h = h || // Foldable line = too long, and not more-indented.
2376
2376
  l - A - 1 > a && e[A + 1] !== " ", A = l);
2377
2377
  else if (!Re(u))
2378
- return je;
2378
+ return Me;
2379
2379
  k = k && en(u, d, s), d = u;
2380
2380
  }
2381
- y = y || f && l - A - 1 > a && e[A + 1] !== " ";
2381
+ h = h || f && l - A - 1 > a && e[A + 1] !== " ";
2382
2382
  }
2383
- return !c && !y ? k && !i && !r(e) ? ra : o === Ve ? je : pt : t > 9 && aa(e) ? je : i ? o === Ve ? je : pt : y ? ia : oa;
2383
+ return !c && !h ? k && !i && !r(e) ? ia : o === Ve ? Me : pt : t > 9 && oa(e) ? Me : i ? o === Ve ? Me : pt : h ? la : sa;
2384
2384
  }
2385
- function Oi(e, n, t, a, r) {
2385
+ function Mi(e, n, t, a, r) {
2386
2386
  e.dump = function() {
2387
2387
  if (n.length === 0)
2388
2388
  return e.quotingType === Ve ? '""' : "''";
2389
- if (!e.noCompatMode && (wi.indexOf(n) !== -1 || Ii.test(n)))
2389
+ if (!e.noCompatMode && (Ci.indexOf(n) !== -1 || wi.test(n)))
2390
2390
  return e.quotingType === Ve ? '"' + n + '"' : "'" + n + "'";
2391
2391
  var o = e.indent * Math.max(1, t), i = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), s = a || e.flowLevel > -1 && t >= e.flowLevel;
2392
2392
  function l(u) {
2393
- return Ti(e, u);
2393
+ return xi(e, u);
2394
2394
  }
2395
- switch (Mi(
2395
+ switch (ji(
2396
2396
  n,
2397
2397
  s,
2398
2398
  e.indent,
@@ -2402,23 +2402,23 @@ function Oi(e, n, t, a, r) {
2402
2402
  e.forceQuotes && !a,
2403
2403
  r
2404
2404
  )) {
2405
- case ra:
2405
+ case ia:
2406
2406
  return n;
2407
2407
  case pt:
2408
2408
  return "'" + n.replace(/'/g, "''") + "'";
2409
- case oa:
2409
+ case sa:
2410
2410
  return "|" + tn(n, e.indent) + nn(Qt(n, o));
2411
- case ia:
2412
- return ">" + tn(n, e.indent) + nn(Qt(Ei(n, i), o));
2413
- case je:
2414
- return '"' + Fi(n) + '"';
2411
+ case la:
2412
+ return ">" + tn(n, e.indent) + nn(Qt(Oi(n, i), o));
2413
+ case Me:
2414
+ return '"' + Ei(n) + '"';
2415
2415
  default:
2416
2416
  throw new se("impossible error: invalid scalar style");
2417
2417
  }
2418
2418
  }();
2419
2419
  }
2420
2420
  function tn(e, n) {
2421
- var t = aa(e) ? String(n) : "", a = e[e.length - 1] === `
2421
+ var t = oa(e) ? String(n) : "", a = e[e.length - 1] === `
2422
2422
  `, r = a && (e[e.length - 2] === `
2423
2423
  ` || e === `
2424
2424
  `), o = r ? "+" : a ? "" : "-";
@@ -2429,7 +2429,7 @@ function nn(e) {
2429
2429
  return e[e.length - 1] === `
2430
2430
  ` ? e.slice(0, -1) : e;
2431
2431
  }
2432
- function Ei(e, n) {
2432
+ function Oi(e, n) {
2433
2433
  for (var t = /(\n+)([^\n]*)/g, a = function() {
2434
2434
  var u = e.indexOf(`
2435
2435
  `);
@@ -2452,12 +2452,12 @@ function an(e, n) {
2452
2452
  `, e.length - r > n && i > r ? l += e.slice(r, i) + `
2453
2453
  ` + e.slice(i + 1) : l += e.slice(r), l.slice(1);
2454
2454
  }
2455
- function Fi(e) {
2455
+ function Ei(e) {
2456
2456
  for (var n = "", t = 0, a, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2457
- t = Ne(e, r), a = ie[t], !a && Re(t) ? (n += e[r], t >= 65536 && (n += e[r + 1])) : n += a || Ai(t);
2457
+ t = Ne(e, r), a = ie[t], !a && Re(t) ? (n += e[r], t >= 65536 && (n += e[r + 1])) : n += a || _i(t);
2458
2458
  return n;
2459
2459
  }
2460
- function Ki(e, n, t) {
2460
+ function Fi(e, n, t) {
2461
2461
  var a = "", r = e.tag, o, i, s;
2462
2462
  for (o = 0, i = t.length; o < i; o += 1)
2463
2463
  s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (be(e, n, s, !1, !1) || typeof s > "u" && be(e, n, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
@@ -2469,14 +2469,14 @@ function rn(e, n, t, a) {
2469
2469
  l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (be(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && be(e, n + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += dt(e, n)), e.dump && Pe === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2470
2470
  e.tag = o, e.dump = r || "[]";
2471
2471
  }
2472
- function Ni(e, n, t) {
2472
+ function Ki(e, n, t) {
2473
2473
  var a = "", r = e.tag, o = Object.keys(t), i, s, l, u, d;
2474
2474
  for (i = 0, s = o.length; i < s; i += 1)
2475
2475
  d = "", a !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = o[i], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), be(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), be(e, n, u, !1, !1) && (d += e.dump, a += d));
2476
2476
  e.tag = r, e.dump = "{" + a + "}";
2477
2477
  }
2478
- function Bi(e, n, t, a) {
2479
- var r = "", o = e.tag, i = Object.keys(t), s, l, u, d, c, y;
2478
+ function Ni(e, n, t, a) {
2479
+ var r = "", o = e.tag, i = Object.keys(t), s, l, u, d, c, h;
2480
2480
  if (e.sortKeys === !0)
2481
2481
  i.sort();
2482
2482
  else if (typeof e.sortKeys == "function")
@@ -2484,7 +2484,7 @@ function Bi(e, n, t, a) {
2484
2484
  else if (e.sortKeys)
2485
2485
  throw new se("sortKeys must be a boolean or a function");
2486
2486
  for (s = 0, l = i.length; s < l; s += 1)
2487
- y = "", (!a || r !== "") && (y += dt(e, n)), u = i[s], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), be(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Pe === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += dt(e, n)), be(e, n + 1, d, !0, c) && (e.dump && Pe === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, r += y));
2487
+ h = "", (!a || r !== "") && (h += dt(e, n)), u = i[s], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), be(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Pe === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, c && (h += dt(e, n)), be(e, n + 1, d, !0, c) && (e.dump && Pe === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, r += h));
2488
2488
  e.tag = o, e.dump = r || "{}";
2489
2489
  }
2490
2490
  function on(e, n, t) {
@@ -2492,9 +2492,9 @@ function on(e, n, t) {
2492
2492
  for (r = t ? e.explicitTypes : e.implicitTypes, o = 0, i = r.length; o < i; o += 1)
2493
2493
  if (s = r[o], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof n == "object" && n instanceof s.instanceOf) && (!s.predicate || s.predicate(n))) {
2494
2494
  if (t ? s.multi && s.representName ? e.tag = s.representName(n) : e.tag = s.tag : e.tag = "?", s.represent) {
2495
- if (l = e.styleMap[s.tag] || s.defaultStyle, Wn.call(s.represent) === "[object Function]")
2495
+ if (l = e.styleMap[s.tag] || s.defaultStyle, Qn.call(s.represent) === "[object Function]")
2496
2496
  a = s.represent(n, l);
2497
- else if (Zn.call(s.represent, l))
2497
+ else if (Xn.call(s.represent, l))
2498
2498
  a = s.represent[l](n, l);
2499
2499
  else
2500
2500
  throw new se("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
@@ -2506,18 +2506,18 @@ function on(e, n, t) {
2506
2506
  }
2507
2507
  function be(e, n, t, a, r, o, i) {
2508
2508
  e.tag = null, e.dump = t, on(e, t, !1) || on(e, t, !0);
2509
- var s = Wn.call(e.dump), l = a, u;
2509
+ var s = Qn.call(e.dump), l = a, u;
2510
2510
  a && (a = e.flowLevel < 0 || e.flowLevel > n);
2511
- var d = s === "[object Object]" || s === "[object Array]", c, y;
2512
- if (d && (c = e.duplicates.indexOf(t), y = c !== -1), (e.tag !== null && e.tag !== "?" || y || e.indent !== 2 && n > 0) && (r = !1), y && e.usedDuplicates[c])
2511
+ var d = s === "[object Object]" || s === "[object Array]", c, h;
2512
+ if (d && (c = e.duplicates.indexOf(t), h = c !== -1), (e.tag !== null && e.tag !== "?" || h || e.indent !== 2 && n > 0) && (r = !1), h && e.usedDuplicates[c])
2513
2513
  e.dump = "*ref_" + c;
2514
2514
  else {
2515
- if (d && y && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2516
- a && Object.keys(e.dump).length !== 0 ? (Bi(e, n, e.dump, r), y && (e.dump = "&ref_" + c + e.dump)) : (Ni(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2515
+ if (d && h && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2516
+ a && Object.keys(e.dump).length !== 0 ? (Ni(e, n, e.dump, r), h && (e.dump = "&ref_" + c + e.dump)) : (Ki(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2517
2517
  else if (s === "[object Array]")
2518
- a && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? rn(e, n - 1, e.dump, r) : rn(e, n, e.dump, r), y && (e.dump = "&ref_" + c + e.dump)) : (Ki(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2518
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !i && n > 0 ? rn(e, n - 1, e.dump, r) : rn(e, n, e.dump, r), h && (e.dump = "&ref_" + c + e.dump)) : (Fi(e, n, e.dump), h && (e.dump = "&ref_" + c + " " + e.dump));
2519
2519
  else if (s === "[object String]")
2520
- e.tag !== "?" && Oi(e, e.dump, n, o, l);
2520
+ e.tag !== "?" && Mi(e, e.dump, n, o, l);
2521
2521
  else {
2522
2522
  if (s === "[object Undefined]" || e.skipInvalid)
2523
2523
  return !1;
@@ -2529,7 +2529,7 @@ function be(e, n, t, a, r, o, i) {
2529
2529
  }
2530
2530
  return !0;
2531
2531
  }
2532
- function qi(e, n) {
2532
+ function Bi(e, n) {
2533
2533
  var t = [], a = [], r, o;
2534
2534
  for (ft(e, t, a), r = 0, o = a.length; r < o; r += 1)
2535
2535
  n.duplicates.push(t[a[r]]);
@@ -2547,65 +2547,65 @@ function ft(e, n, t) {
2547
2547
  for (a = Object.keys(e), r = 0, o = a.length; r < o; r += 1)
2548
2548
  ft(e[a[r]], n, t);
2549
2549
  }
2550
- function Li(e, n) {
2550
+ function qi(e, n) {
2551
2551
  n = n || {};
2552
- var t = new xi(n);
2553
- t.noRefs || qi(e, t);
2552
+ var t = new Si(n);
2553
+ t.noRefs || Bi(e, t);
2554
2554
  var a = e;
2555
2555
  return t.replacer && (a = t.replacer.call({ "": a }, "", a)), be(t, 0, a, !0, !0) ? t.dump + `
2556
2556
  ` : "";
2557
2557
  }
2558
- var Pi = Li, Vi = {
2559
- dump: Pi
2558
+ var Li = qi, Pi = {
2559
+ dump: Li
2560
2560
  };
2561
2561
  function At(e, n) {
2562
2562
  return function() {
2563
2563
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2564
2564
  };
2565
2565
  }
2566
- var Ri = oe, Ui = wn, Di = Sn, Gi = Mn, Hi = On, zi = Ct, Ji = Yn.load, Yi = Yn.loadAll, Wi = Vi.dump, Zi = se, Qi = {
2567
- binary: Bn,
2568
- float: jn,
2569
- map: An,
2570
- null: xn,
2571
- pairs: Ln,
2572
- set: Pn,
2573
- timestamp: Kn,
2574
- bool: Tn,
2575
- int: $n,
2576
- merge: Nn,
2577
- omap: qn,
2578
- seq: _n,
2579
- str: In
2580
- }, Xi = At("safeLoad", "load"), es = At("safeLoadAll", "loadAll"), ts = At("safeDump", "dump"), ns = {
2581
- Type: Ri,
2582
- Schema: Ui,
2583
- FAILSAFE_SCHEMA: Di,
2584
- JSON_SCHEMA: Gi,
2585
- CORE_SCHEMA: Hi,
2586
- DEFAULT_SCHEMA: zi,
2587
- load: Ji,
2588
- loadAll: Yi,
2589
- dump: Wi,
2590
- YAMLException: Zi,
2591
- types: Qi,
2592
- safeLoad: Xi,
2593
- safeLoadAll: es,
2594
- safeDump: ts
2566
+ var Vi = oe, Ri = _n, Ui = Tn, Di = En, Gi = Fn, Hi = Ct, zi = Zn.load, Ji = Zn.loadAll, Yi = Pi.dump, Wi = se, Zi = {
2567
+ binary: Ln,
2568
+ float: On,
2569
+ map: xn,
2570
+ null: $n,
2571
+ pairs: Vn,
2572
+ set: Rn,
2573
+ timestamp: Bn,
2574
+ bool: jn,
2575
+ int: Mn,
2576
+ merge: qn,
2577
+ omap: Pn,
2578
+ seq: Sn,
2579
+ str: An
2580
+ }, Qi = At("safeLoad", "load"), Xi = At("safeLoadAll", "loadAll"), es = At("safeDump", "dump"), ts = {
2581
+ Type: Vi,
2582
+ Schema: Ri,
2583
+ FAILSAFE_SCHEMA: Ui,
2584
+ JSON_SCHEMA: Di,
2585
+ CORE_SCHEMA: Gi,
2586
+ DEFAULT_SCHEMA: Hi,
2587
+ load: zi,
2588
+ loadAll: Ji,
2589
+ dump: Yi,
2590
+ YAMLException: Wi,
2591
+ types: Zi,
2592
+ safeLoad: Qi,
2593
+ safeLoadAll: Xi,
2594
+ safeDump: es
2595
2595
  };
2596
- const as = {
2596
+ const ns = {
2597
2597
  key: 0,
2598
2598
  class: "config-card-display-form"
2599
- }, rs = ["data-testid"], os = {
2599
+ }, as = ["data-testid"], rs = {
2600
2600
  key: 0,
2601
2601
  class: "config-card-prop-section-title"
2602
- }, is = {
2602
+ }, os = {
2603
2603
  key: 1,
2604
2604
  class: "config-card-display-json"
2605
- }, ss = {
2605
+ }, is = {
2606
2606
  key: 2,
2607
2607
  class: "config-card-display-yaml"
2608
- }, ls = /* @__PURE__ */ te({
2608
+ }, ss = /* @__PURE__ */ te({
2609
2609
  __name: "ConfigCardDisplay",
2610
2610
  props: {
2611
2611
  propertyCollections: {
@@ -2635,44 +2635,44 @@ const as = {
2635
2635
  return he(() => n.format, (s) => {
2636
2636
  if (s !== "structured") {
2637
2637
  const l = JSON.parse(JSON.stringify(n.record));
2638
- delete l.created_at, delete l.updated_at, s === "json" ? o.value = JSON.stringify(l, null, 2) : s === "yaml" && (i.value = ns.dump(l));
2638
+ delete l.created_at, delete l.updated_at, s === "json" ? o.value = JSON.stringify(l, null, 2) : s === "yaml" && (i.value = ts.dump(l));
2639
2639
  }
2640
2640
  }, { immediate: !0 }), (s, l) => {
2641
2641
  const u = P("KCodeBlock");
2642
2642
  return m(), T(fe, null, [
2643
- e.format === "structured" ? (m(), T("div", as, [
2643
+ e.format === "structured" ? (m(), T("div", ns, [
2644
2644
  (m(!0), T(fe, null, de(e.propListTypes, (d) => (m(), T("div", {
2645
2645
  key: `config-card-details-${d}-props`,
2646
2646
  class: Ae(`config-card-details-${d}-props`),
2647
2647
  "data-testid": `config-card-details-${d}-props`
2648
2648
  }, [
2649
- d !== "basic" ? (m(), T("div", os, j(d === "advanced" ? g(a)("baseConfigCard.sections.advanced") : g(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2649
+ d !== "basic" ? (m(), T("div", rs, j(d === "advanced" ? g(a)("baseConfigCard.sections.advanced") : g(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2650
2650
  (m(!0), T(fe, null, de(e.propertyCollections[d], (c) => (m(), R(bt, {
2651
2651
  key: c.key,
2652
2652
  item: c
2653
2653
  }, ke({
2654
- label: h(() => [
2654
+ label: y(() => [
2655
2655
  Y(s.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2656
2656
  ]),
2657
- [c.key]: h(({ rowValue: y }) => [
2657
+ [c.key]: y(({ rowValue: h }) => [
2658
2658
  Y(s.$slots, c.key, {
2659
2659
  row: c,
2660
- rowValue: y
2660
+ rowValue: h
2661
2661
  }, void 0, !0)
2662
2662
  ]),
2663
2663
  _: 2
2664
2664
  }, [
2665
2665
  r(c) ? {
2666
2666
  name: "label-tooltip",
2667
- fn: h(() => [
2667
+ fn: y(() => [
2668
2668
  Y(s.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2669
2669
  ]),
2670
2670
  key: "0"
2671
2671
  } : void 0
2672
2672
  ]), 1032, ["item"]))), 128))
2673
- ], 10, rs))), 128))
2673
+ ], 10, as))), 128))
2674
2674
  ])) : G("", !0),
2675
- e.format === "json" ? (m(), T("div", is, [
2675
+ e.format === "json" ? (m(), T("div", os, [
2676
2676
  F(u, {
2677
2677
  id: "config-card-codeblock",
2678
2678
  code: o.value,
@@ -2680,7 +2680,7 @@ const as = {
2680
2680
  theme: "dark"
2681
2681
  }, null, 8, ["code"])
2682
2682
  ])) : G("", !0),
2683
- e.format === "yaml" ? (m(), T("div", ss, [
2683
+ e.format === "yaml" ? (m(), T("div", is, [
2684
2684
  F(u, {
2685
2685
  id: "config-card-codeblock",
2686
2686
  code: i.value,
@@ -2691,18 +2691,18 @@ const as = {
2691
2691
  ], 64);
2692
2692
  };
2693
2693
  }
2694
- }), us = /* @__PURE__ */ me(ls, [["__scopeId", "data-v-c914c7e4"]]), sn = "24px", cs = (e, n) => {
2694
+ }), ls = /* @__PURE__ */ me(ss, [["__scopeId", "data-v-c914c7e4"]]), sn = "24px", us = (e, n) => {
2695
2695
  const t = e.__vccOpts || e;
2696
2696
  for (const [a, r] of n)
2697
2697
  t[a] = r;
2698
2698
  return t;
2699
- }, ds = (e) => (cn("data-v-a53b73fd"), e = e(), dn(), e), ps = ["aria-hidden"], fs = {
2699
+ }, cs = (e) => (pn("data-v-a53b73fd"), e = e(), fn(), e), ds = ["aria-hidden"], ps = {
2700
2700
  key: 0,
2701
2701
  "data-testid": "kui-icon-svg-title"
2702
- }, ms = /* @__PURE__ */ ds(() => /* @__PURE__ */ K("path", {
2702
+ }, fs = /* @__PURE__ */ cs(() => /* @__PURE__ */ K("path", {
2703
2703
  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",
2704
2704
  fill: "currentColor"
2705
- }, null, -1)), gs = /* @__PURE__ */ te({
2705
+ }, null, -1)), ms = /* @__PURE__ */ te({
2706
2706
  __name: "BookIcon",
2707
2707
  props: {
2708
2708
  /** The accessibility text provided to screen readers */
@@ -2771,13 +2771,13 @@ const as = {
2771
2771
  lineHeight: "0",
2772
2772
  width: t.value
2773
2773
  }));
2774
- return (r, o) => (m(), R(Ee(e.as), {
2774
+ return (r, o) => (m(), R(Se(e.as), {
2775
2775
  "aria-hidden": e.decorative ? "true" : void 0,
2776
2776
  class: "kui-icon book-icon",
2777
2777
  "data-testid": "kui-icon-wrapper-book-icon",
2778
- style: un(a.value)
2778
+ style: dn(a.value)
2779
2779
  }, {
2780
- default: h(() => [
2780
+ default: y(() => [
2781
2781
  (m(), T("svg", {
2782
2782
  "aria-hidden": e.decorative ? "true" : void 0,
2783
2783
  "data-testid": "kui-icon-svg-book-icon",
@@ -2788,23 +2788,23 @@ const as = {
2788
2788
  width: "100%",
2789
2789
  xmlns: "http://www.w3.org/2000/svg"
2790
2790
  }, [
2791
- e.title ? (m(), T("title", fs, j(e.title), 1)) : G("", !0),
2792
- ms
2793
- ], 8, ps))
2791
+ e.title ? (m(), T("title", ps, j(e.title), 1)) : G("", !0),
2792
+ fs
2793
+ ], 8, ds))
2794
2794
  ]),
2795
2795
  _: 1
2796
2796
  }, 8, ["aria-hidden", "style"]));
2797
2797
  }
2798
- }), ys = /* @__PURE__ */ cs(gs, [["__scopeId", "data-v-a53b73fd"]]), hs = { "data-testid": "config-card-title" }, vs = { class: "config-card-actions" }, bs = ["href"], ks = {
2798
+ }), gs = /* @__PURE__ */ us(ms, [["__scopeId", "data-v-a53b73fd"]]), ys = { "data-testid": "config-card-title" }, hs = { class: "config-card-actions" }, vs = ["href"], bs = {
2799
2799
  key: 2,
2800
2800
  class: "config-card-details-section"
2801
- }, Cs = {
2801
+ }, ks = {
2802
2802
  key: 3,
2803
2803
  class: "config-card-details-section"
2804
- }, ws = ["data-testid"], Is = {
2804
+ }, Cs = ["data-testid"], ws = {
2805
2805
  key: 0,
2806
2806
  class: "config-card-prop-section-title"
2807
- }, _s = /* @__PURE__ */ te({
2807
+ }, Is = /* @__PURE__ */ te({
2808
2808
  __name: "EntityBaseConfigCard",
2809
2809
  props: {
2810
2810
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2897,7 +2897,7 @@ const as = {
2897
2897
  }
2898
2898
  ], d = O("structured"), c = (b) => {
2899
2899
  d.value = b == null ? void 0 : b.value;
2900
- }, y = {
2900
+ }, h = {
2901
2901
  id: {
2902
2902
  type: X.ID,
2903
2903
  label: o("baseConfigCard.commonFields.id_label"),
@@ -2937,7 +2937,7 @@ const as = {
2937
2937
  return [];
2938
2938
  const B = [], I = Object.keys(p.value).length;
2939
2939
  for (const E in p.value) {
2940
- const L = (C = (b = a.configSchema) == null ? void 0 : b[E]) == null ? void 0 : C.order, D = (V = y[E]) == null ? void 0 : V.order;
2940
+ const L = (C = (b = a.configSchema) == null ? void 0 : b[E]) == null ? void 0 : C.order, D = (V = h[E]) == null ? void 0 : V.order;
2941
2941
  let Z = I;
2942
2942
  (D || D === 0) && (Z = D === -1 ? I + 1 : D), L && (Z = L === -1 ? I + 1 : L), B.push([E, Z]);
2943
2943
  }
@@ -2945,7 +2945,7 @@ const as = {
2945
2945
  return E[1] - L[1];
2946
2946
  }), B.map((E) => {
2947
2947
  var L, D;
2948
- const Z = E[0], z = (L = p.value) == null ? void 0 : L[Z], Q = ((D = a.configSchema) == null ? void 0 : D[Z]) || {}, le = y[Z];
2948
+ const Z = E[0], z = (L = p.value) == null ? void 0 : L[Z], Q = ((D = a.configSchema) == null ? void 0 : D[Z]) || {}, le = h[Z];
2949
2949
  return {
2950
2950
  key: Z,
2951
2951
  value: z,
@@ -3023,15 +3023,15 @@ const as = {
3023
3023
  }), (b, C) => {
3024
3024
  const V = P("KLabel"), B = P("KSelect"), I = P("KButton"), E = P("KClipboardProvider"), L = P("KSkeleton"), D = P("KEmptyState"), Z = P("KCard");
3025
3025
  return m(), R(Z, { class: "kong-ui-entity-base-config-card" }, ke({
3026
- actions: h(() => [
3027
- K("div", vs, [
3026
+ actions: y(() => [
3027
+ K("div", hs, [
3028
3028
  Y(b.$slots, "actions", {}, void 0, !0),
3029
3029
  e.config.jsonYamlEnabled ? (m(), R(V, {
3030
3030
  key: 0,
3031
3031
  class: "config-format-select-label",
3032
3032
  "data-testid": "config-format-select-label"
3033
3033
  }, {
3034
- default: h(() => [
3034
+ default: y(() => [
3035
3035
  W(j(e.label), 1)
3036
3036
  ]),
3037
3037
  _: 1
@@ -3049,26 +3049,26 @@ const as = {
3049
3049
  class: "book-icon",
3050
3050
  "data-testid": "book-icon"
3051
3051
  }, {
3052
- default: h(() => [
3052
+ default: y(() => [
3053
3053
  K("a", {
3054
3054
  href: e.configCardDoc,
3055
3055
  rel: "noopener",
3056
3056
  target: "_blank"
3057
3057
  }, [
3058
- F(g(ys), { size: g(Ir) }, null, 8, ["size"])
3059
- ], 8, bs)
3058
+ F(g(gs), { size: g(wr) }, null, 8, ["size"])
3059
+ ], 8, vs)
3060
3060
  ]),
3061
3061
  _: 1
3062
3062
  })) : G("", !0),
3063
3063
  e.config.jsonYamlEnabled ? G("", !0) : (m(), R(E, { key: 3 }, {
3064
- default: h(({ copyToClipboard: z }) => [
3064
+ default: y(({ copyToClipboard: z }) => [
3065
3065
  !f.value && !A.value ? (m(), R(I, {
3066
3066
  key: 0,
3067
3067
  appearance: "tertiary",
3068
3068
  "data-testid": "json-copy-button",
3069
3069
  onClick: (Q) => U(z)
3070
3070
  }, {
3071
- default: h(() => [
3071
+ default: y(() => [
3072
3072
  W(j(g(o)("baseConfigCard.actions.copy")), 1)
3073
3073
  ]),
3074
3074
  _: 2
@@ -3078,7 +3078,7 @@ const as = {
3078
3078
  }))
3079
3079
  ])
3080
3080
  ]),
3081
- default: h(() => [
3081
+ default: y(() => [
3082
3082
  f.value ? (m(), R(L, {
3083
3083
  key: 0,
3084
3084
  "data-testid": "config-card-loader",
@@ -3089,13 +3089,13 @@ const as = {
3089
3089
  "data-testid": "config-card-fetch-error",
3090
3090
  "is-error": ""
3091
3091
  }, {
3092
- message: h(() => [
3092
+ message: y(() => [
3093
3093
  K("h3", null, j(k.value), 1)
3094
3094
  ]),
3095
3095
  _: 1
3096
3096
  })) : G("", !0),
3097
- e.config.jsonYamlEnabled ? (m(), T("div", ks, [
3098
- F(us, {
3097
+ e.config.jsonYamlEnabled ? (m(), T("div", bs, [
3098
+ F(ls, {
3099
3099
  format: d.value,
3100
3100
  "prop-list-types": _.value,
3101
3101
  "property-collections": q.value,
@@ -3103,7 +3103,7 @@ const as = {
3103
3103
  }, ke({ _: 2 }, [
3104
3104
  de(Object.keys(b.$slots), (z) => ({
3105
3105
  name: z,
3106
- fn: h(({ row: Q, rowValue: le }) => [
3106
+ fn: y(({ row: Q, rowValue: le }) => [
3107
3107
  Y(b.$slots, z, {
3108
3108
  row: Q,
3109
3109
  rowValue: le
@@ -3111,21 +3111,21 @@ const as = {
3111
3111
  ])
3112
3112
  }))
3113
3113
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3114
- ])) : (m(), T("div", Cs, [
3114
+ ])) : (m(), T("div", ks, [
3115
3115
  (m(!0), T(fe, null, de(_.value, (z) => (m(), T("div", {
3116
3116
  key: `config-card-details-${z}-props`,
3117
3117
  class: Ae(`config-card-details-${z}-props`),
3118
3118
  "data-testid": `config-card-details-${z}-props`
3119
3119
  }, [
3120
- z !== "basic" ? (m(), T("div", Is, j(z === "advanced" ? g(o)("baseConfigCard.sections.advanced") : g(o)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
3120
+ z !== "basic" ? (m(), T("div", ws, j(z === "advanced" ? g(o)("baseConfigCard.sections.advanced") : g(o)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
3121
3121
  (m(!0), T(fe, null, de(q.value[z], (Q) => (m(), R(bt, {
3122
3122
  key: Q.key,
3123
3123
  item: Q
3124
3124
  }, ke({
3125
- label: h(() => [
3125
+ label: y(() => [
3126
3126
  Y(b.$slots, `${Q.key}-label`, { row: Q }, void 0, !0)
3127
3127
  ]),
3128
- [Q.key]: h(({ rowValue: le }) => [
3128
+ [Q.key]: y(({ rowValue: le }) => [
3129
3129
  Y(b.$slots, Q.key, {
3130
3130
  row: Q,
3131
3131
  rowValue: le
@@ -3135,21 +3135,21 @@ const as = {
3135
3135
  }, [
3136
3136
  w(Q) ? {
3137
3137
  name: "label-tooltip",
3138
- fn: h(() => [
3138
+ fn: y(() => [
3139
3139
  Y(b.$slots, `${Q.key}-label-tooltip`, { row: Q }, void 0, !0)
3140
3140
  ]),
3141
3141
  key: "0"
3142
3142
  } : void 0
3143
3143
  ]), 1032, ["item"]))), 128))
3144
- ], 10, ws))), 128))
3144
+ ], 10, Cs))), 128))
3145
3145
  ]))
3146
3146
  ]),
3147
3147
  _: 2
3148
3148
  }, [
3149
3149
  e.hideTitle ? void 0 : {
3150
3150
  name: "title",
3151
- fn: h(() => [
3152
- K("div", hs, [
3151
+ fn: y(() => [
3152
+ K("div", ys, [
3153
3153
  Y(b.$slots, "title", {}, () => [
3154
3154
  W(j(g(o)("baseConfigCard.title")), 1)
3155
3155
  ], !0)
@@ -3160,10 +3160,10 @@ const as = {
3160
3160
  ]), 1024);
3161
3161
  };
3162
3162
  }
3163
- }), As = /* @__PURE__ */ me(_s, [["__scopeId", "data-v-bea4df63"]]), Ss = ["onReset", "onSubmit"], xs = {
3163
+ }), _s = /* @__PURE__ */ me(Is, [["__scopeId", "data-v-bea4df63"]]), As = ["onReset", "onSubmit"], Ss = {
3164
3164
  class: "form-actions",
3165
3165
  "data-testid": "form-actions"
3166
- }, Ts = /* @__PURE__ */ te({
3166
+ }, xs = /* @__PURE__ */ te({
3167
3167
  __name: "EntityBaseForm",
3168
3168
  props: {
3169
3169
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3215,7 +3215,7 @@ const as = {
3215
3215
  var t;
3216
3216
  const a = e, r = gt(), { i18n: { t: o } } = re.useI18n(), { getMessageFromError: i } = re.useErrors(), { axiosInstance: s } = re.useAxios({
3217
3217
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3218
- }), l = O(!1), u = O(!1), d = O(""), c = $(() => a.canSubmit === !1 || a.isReadonly), y = $(() => {
3218
+ }), l = O(!1), u = O(!1), d = O(""), c = $(() => a.canSubmit === !1 || a.isReadonly), h = $(() => {
3219
3219
  var p, S;
3220
3220
  if (!a.editId)
3221
3221
  return "";
@@ -3234,7 +3234,7 @@ const as = {
3234
3234
  if (a.editId)
3235
3235
  try {
3236
3236
  u.value = !1, l.value = !0;
3237
- const { data: p } = await s.get(y.value);
3237
+ const { data: p } = await s.get(h.value);
3238
3238
  n("fetch:success", p);
3239
3239
  } catch (p) {
3240
3240
  const S = i(p);
@@ -3245,7 +3245,7 @@ const as = {
3245
3245
  }), (p, S) => {
3246
3246
  const v = P("KSkeleton"), q = P("KEmptyState"), _ = P("KAlert"), w = P("KButton"), N = P("KCard");
3247
3247
  return m(), R(N, { class: "kong-ui-entity-base-form" }, {
3248
- default: h(() => [
3248
+ default: y(() => [
3249
3249
  l.value ? (m(), R(v, {
3250
3250
  key: 0,
3251
3251
  type: "form"
@@ -3256,7 +3256,7 @@ const as = {
3256
3256
  "handle-click": f,
3257
3257
  "is-error": !0
3258
3258
  }, {
3259
- message: h(() => [
3259
+ message: y(() => [
3260
3260
  K("h3", null, j(d.value), 1)
3261
3261
  ]),
3262
3262
  _: 1
@@ -3273,7 +3273,7 @@ const as = {
3273
3273
  appearance: "danger",
3274
3274
  "data-testid": "form-error"
3275
3275
  }, null, 8, ["alert-message"])) : G("", !0),
3276
- K("div", xs, [
3276
+ K("div", Ss, [
3277
3277
  Y(p.$slots, "form-actions", {}, () => [
3278
3278
  F(w, {
3279
3279
  appearance: "secondary",
@@ -3281,7 +3281,7 @@ const as = {
3281
3281
  disabled: e.isReadonly,
3282
3282
  type: "reset"
3283
3283
  }, {
3284
- default: h(() => [
3284
+ default: y(() => [
3285
3285
  W(j(g(o)("baseForm.actions.cancel")), 1)
3286
3286
  ]),
3287
3287
  _: 1
@@ -3292,23 +3292,23 @@ const as = {
3292
3292
  disabled: c.value,
3293
3293
  type: "submit"
3294
3294
  }, {
3295
- default: h(() => [
3295
+ default: y(() => [
3296
3296
  W(j(g(o)("baseForm.actions.save")), 1)
3297
3297
  ]),
3298
3298
  _: 1
3299
3299
  }, 8, ["disabled"])
3300
3300
  ], !0)
3301
3301
  ])
3302
- ], 40, Ss))
3302
+ ], 40, As))
3303
3303
  ]),
3304
3304
  _: 3
3305
3305
  });
3306
3306
  };
3307
3307
  }
3308
- }), $s = /* @__PURE__ */ me(Ts, [["__scopeId", "data-v-448d8512"]]), js = {
3308
+ }), Ts = /* @__PURE__ */ me(xs, [["__scopeId", "data-v-448d8512"]]), $s = {
3309
3309
  key: 0,
3310
3310
  "data-testid": "first-col"
3311
- }, Ms = /* @__PURE__ */ te({
3311
+ }, js = /* @__PURE__ */ te({
3312
3312
  __name: "EntityBaseTableCell",
3313
3313
  props: {
3314
3314
  keyName: {
@@ -3338,8 +3338,8 @@ const as = {
3338
3338
  }, s = () => {
3339
3339
  var k, p, S;
3340
3340
  u.value = ((k = a.value) == null ? void 0 : k.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, c.value = ((S = l.value) == null ? void 0 : S.innerText) || "";
3341
- }, l = O({}), u = O(0), d = O(0), c = O(""), y = $(() => [a.value, t.value]), f = he(
3342
- y,
3341
+ }, l = O({}), u = O(0), d = O(0), c = O(""), h = $(() => [a.value, t.value]), f = he(
3342
+ h,
3343
3343
  (k) => {
3344
3344
  if (r.value && (i(), "ResizeObserver" in window && window)) {
3345
3345
  o = new ResizeObserver((p) => {
@@ -3364,13 +3364,13 @@ const as = {
3364
3364
  ref: l,
3365
3365
  class: "content-wrapper"
3366
3366
  }, [
3367
- r.value ? (m(), T("span", js, [
3367
+ r.value ? (m(), T("span", $s, [
3368
3368
  F(S, {
3369
3369
  label: A.value ? c.value : "",
3370
3370
  "max-width": "300",
3371
3371
  placement: "bottomStart"
3372
3372
  }, {
3373
- default: h(() => [
3373
+ default: y(() => [
3374
3374
  Y(k.$slots, "default", {}, void 0, !0)
3375
3375
  ]),
3376
3376
  _: 3
@@ -3379,10 +3379,10 @@ const as = {
3379
3379
  ], 512);
3380
3380
  };
3381
3381
  }
3382
- }), Os = /* @__PURE__ */ me(Ms, [["__scopeId", "data-v-e42a20c9"]]), Es = { class: "toolbar-container" }, Fs = {
3382
+ }), Ms = /* @__PURE__ */ me(js, [["__scopeId", "data-v-e42a20c9"]]), Os = { class: "toolbar-container" }, Es = {
3383
3383
  key: 0,
3384
3384
  class: "toolbar-button-container"
3385
- }, Ks = ["data-testid"], Ns = /* @__PURE__ */ te({
3385
+ }, Fs = ["data-testid"], Ks = /* @__PURE__ */ te({
3386
3386
  __name: "EntityBaseTable",
3387
3387
  props: {
3388
3388
  // table header configuration
@@ -3533,7 +3533,7 @@ const as = {
3533
3533
  overflowX: "hidden",
3534
3534
  textOverflow: "ellipsis"
3535
3535
  }), w;
3536
- }, y = () => {
3536
+ }, h = () => {
3537
3537
  n("empty-state-cta-clicked"), f();
3538
3538
  }, f = () => {
3539
3539
  n("clear-search-input");
@@ -3541,7 +3541,7 @@ const as = {
3541
3541
  n("click:row", w);
3542
3542
  }), k = (_) => {
3543
3543
  n("sort", _);
3544
- }, { setTablePreferences: p, getTablePreferences: S } = Ta(), v = $(() => {
3544
+ }, { setTablePreferences: p, getTablePreferences: S } = xa(), v = $(() => {
3545
3545
  const _ = S(t.preferencesStorageKey);
3546
3546
  return {
3547
3547
  ...t.initialFetcherParams,
@@ -3556,7 +3556,7 @@ const as = {
3556
3556
  class: "kong-ui-entity-base-table",
3557
3557
  title: e.title
3558
3558
  }, {
3559
- default: h(() => [
3559
+ default: y(() => [
3560
3560
  F(C, {
3561
3561
  ref_key: "tableRefs",
3562
3562
  ref: u,
@@ -3584,22 +3584,22 @@ const as = {
3584
3584
  "pagination-type": e.paginationType,
3585
3585
  "row-attrs": l,
3586
3586
  "search-input": e.query,
3587
- onKtableEmptyStateCtaClicked: y,
3587
+ onKtableEmptyStateCtaClicked: h,
3588
3588
  "onRow:click": A.value,
3589
3589
  onSort: w[0] || (w[0] = (B) => k(B)),
3590
3590
  "onUpdate:tablePreferences": q
3591
3591
  }, ke({
3592
- toolbar: h(({ state: B }) => [
3593
- Be(K("div", Es, [
3592
+ toolbar: y(({ state: B }) => [
3593
+ Be(K("div", Os, [
3594
3594
  Y(_.$slots, "toolbar-filter", {}, void 0, !0),
3595
- _.$slots["toolbar-button"] ? (m(), T("div", Fs, [
3595
+ _.$slots["toolbar-button"] ? (m(), T("div", Es, [
3596
3596
  Y(_.$slots, "toolbar-button", {}, void 0, !0)
3597
3597
  ])) : G("", !0)
3598
3598
  ], 512), [
3599
3599
  [qe, i(B)]
3600
3600
  ])
3601
3601
  ]),
3602
- actions: h(({ row: B, rowKey: I, rowValue: E }) => [
3602
+ actions: y(({ row: B, rowKey: I, rowValue: E }) => [
3603
3603
  K("div", {
3604
3604
  class: "actions-container",
3605
3605
  "data-testid": B.name
@@ -3608,22 +3608,22 @@ const as = {
3608
3608
  "kpop-attributes": { placement: "bottomEnd" },
3609
3609
  width: e.dropdownMenuWidth
3610
3610
  }, {
3611
- items: h(() => [
3611
+ items: y(() => [
3612
3612
  Y(_.$slots, "actions", {
3613
3613
  row: B,
3614
3614
  rowKey: I,
3615
3615
  rowValue: E
3616
3616
  }, void 0, !0)
3617
3617
  ]),
3618
- default: h(() => [
3618
+ default: y(() => [
3619
3619
  F(U, {
3620
3620
  class: "actions-trigger",
3621
3621
  "data-testid": "overflow-actions-button",
3622
3622
  size: "small"
3623
3623
  }, {
3624
- icon: h(() => [
3624
+ icon: y(() => [
3625
3625
  F(N, {
3626
- color: g(Cr),
3626
+ color: g(kr),
3627
3627
  icon: "more",
3628
3628
  size: "16"
3629
3629
  }, null, 8, ["color"])
@@ -3633,18 +3633,18 @@ const as = {
3633
3633
  ]),
3634
3634
  _: 2
3635
3635
  }, 1032, ["width"])
3636
- ], 8, Ks)
3636
+ ], 8, Fs)
3637
3637
  ]),
3638
3638
  _: 2
3639
3639
  }, [
3640
3640
  de(e.tableHeaders, (B, I) => ({
3641
3641
  name: I,
3642
- fn: h(({ row: E, rowKey: L, rowValue: D }) => [
3643
- F(Os, {
3642
+ fn: y(({ row: E, rowKey: L, rowValue: D }) => [
3643
+ F(Ms, {
3644
3644
  "key-name": String(I),
3645
3645
  "row-el": d(E)
3646
3646
  }, {
3647
- default: h(() => [
3647
+ default: y(() => [
3648
3648
  Y(_.$slots, I, {
3649
3649
  row: E,
3650
3650
  rowKey: L,
@@ -3663,13 +3663,13 @@ const as = {
3663
3663
  }, 8, ["title"]);
3664
3664
  };
3665
3665
  }
3666
- }), Bs = /* @__PURE__ */ me(Ns, [["__scopeId", "data-v-57b5a97b"]]), qs = {
3666
+ }), Ns = /* @__PURE__ */ me(Ks, [["__scopeId", "data-v-57b5a97b"]]), Bs = {
3667
3667
  key: 0,
3668
3668
  class: "kong-ui-entity-delete-error"
3669
- }, Ls = {
3669
+ }, qs = {
3670
3670
  key: 1,
3671
3671
  class: "description"
3672
- }, Ps = /* @__PURE__ */ te({
3672
+ }, Ls = /* @__PURE__ */ te({
3673
3673
  __name: "EntityDeleteModal",
3674
3674
  props: {
3675
3675
  visible: {
@@ -3726,10 +3726,10 @@ const as = {
3726
3726
  onCanceled: o,
3727
3727
  onProceed: i
3728
3728
  }, {
3729
- "body-content": h(() => [
3730
- e.error ? (m(), T("div", qs, [
3729
+ "body-content": y(() => [
3730
+ e.error ? (m(), T("div", Bs, [
3731
3731
  F(u, { appearance: "danger" }, {
3732
- alertMessage: h(() => [
3732
+ alertMessage: y(() => [
3733
3733
  W(j(e.error), 1)
3734
3734
  ]),
3735
3735
  _: 1
@@ -3740,20 +3740,20 @@ const as = {
3740
3740
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3741
3741
  tag: "p"
3742
3742
  }, ke({
3743
- entityType: h(() => [
3743
+ entityType: y(() => [
3744
3744
  W(j(t.entityType), 1)
3745
3745
  ]),
3746
3746
  _: 2
3747
3747
  }, [
3748
3748
  t.entityName ? {
3749
3749
  name: "entityName",
3750
- fn: h(() => [
3750
+ fn: y(() => [
3751
3751
  K("strong", null, j(t.entityName), 1)
3752
3752
  ]),
3753
3753
  key: "0"
3754
3754
  } : void 0
3755
3755
  ]), 1032, ["keypath"]),
3756
- t.description || s.$slots.description ? (m(), T("div", Ls, [
3756
+ t.description || s.$slots.description ? (m(), T("div", qs, [
3757
3757
  Y(s.$slots, "description", {}, () => [
3758
3758
  K("p", null, j(t.description), 1)
3759
3759
  ], !0)
@@ -3763,13 +3763,13 @@ const as = {
3763
3763
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3764
3764
  };
3765
3765
  }
3766
- }), Vs = /* @__PURE__ */ me(Ps, [["__scopeId", "data-v-1c9a2a07"]]), Rs = {
3766
+ }), Ps = /* @__PURE__ */ me(Ls, [["__scopeId", "data-v-1c9a2a07"]]), Vs = {
3767
3767
  fill: "none",
3768
3768
  height: "20",
3769
3769
  viewBox: "0 0 20 20",
3770
3770
  width: "20",
3771
3771
  xmlns: "http://www.w3.org/2000/svg"
3772
- }, Us = {
3772
+ }, Rs = {
3773
3773
  id: "mask0_180_20349",
3774
3774
  height: "20",
3775
3775
  maskUnits: "userSpaceOnUse",
@@ -3777,35 +3777,35 @@ const as = {
3777
3777
  width: "20",
3778
3778
  x: "0",
3779
3779
  y: "0"
3780
- }, Ds = ["fill"], Gs = { mask: "url(#mask0_180_20349)" }, Hs = ["fill"], ln = /* @__PURE__ */ te({
3780
+ }, Us = ["fill"], Ds = { mask: "url(#mask0_180_20349)" }, Gs = ["fill"], ln = /* @__PURE__ */ te({
3781
3781
  __name: "IconFilter",
3782
3782
  props: {
3783
3783
  color: {
3784
3784
  type: String,
3785
- default: `var(--kong-ui-entity-filter-color, ${br})`
3785
+ default: `var(--kong-ui-entity-filter-color, ${vr})`
3786
3786
  }
3787
3787
  },
3788
3788
  setup(e) {
3789
- return (n, t) => (m(), T("svg", Rs, [
3790
- K("mask", Us, [
3789
+ return (n, t) => (m(), T("svg", Vs, [
3790
+ K("mask", Rs, [
3791
3791
  K("rect", {
3792
3792
  fill: e.color,
3793
3793
  height: "20",
3794
3794
  width: "20"
3795
- }, null, 8, Ds)
3795
+ }, null, 8, Us)
3796
3796
  ]),
3797
- K("g", Gs, [
3797
+ K("g", Ds, [
3798
3798
  K("path", {
3799
3799
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3800
3800
  fill: e.color
3801
- }, null, 8, Hs)
3801
+ }, null, 8, Gs)
3802
3802
  ])
3803
3803
  ]));
3804
3804
  }
3805
- }), zs = {
3805
+ }), Hs = {
3806
3806
  key: 1,
3807
3807
  class: "kong-ui-entity-filter"
3808
- }, Js = { class: "menu-item-title" }, Ys = { class: "menu-item-indicator" }, Ws = { class: "menu-item-body" }, Zs = ["for"], Qs = { class: "menu-item-buttons" }, Xs = { class: "filter-clear-button-container" }, el = /* @__PURE__ */ te({
3808
+ }, zs = { class: "menu-item-title" }, Js = { class: "menu-item-indicator" }, Ys = { class: "menu-item-body" }, Ws = ["for"], Zs = { class: "menu-item-buttons" }, Qs = { class: "filter-clear-button-container" }, Xs = /* @__PURE__ */ te({
3809
3809
  __name: "EntityFilter",
3810
3810
  props: {
3811
3811
  // filter config, either exact match or fuzzy match
@@ -3852,7 +3852,7 @@ const as = {
3852
3852
  value: q,
3853
3853
  label: q
3854
3854
  }));
3855
- }, y = (p) => {
3855
+ }, h = (p) => {
3856
3856
  var S, v;
3857
3857
  return ((v = (S = t.config.schema) == null ? void 0 : S[p]) == null ? void 0 : v.type) ?? "text";
3858
3858
  }, f = (p) => {
@@ -3877,17 +3877,17 @@ const as = {
3877
3877
  placeholder: e.config.placeholder,
3878
3878
  "onUpdate:modelValue": u
3879
3879
  }, {
3880
- before: h(() => [
3880
+ before: y(() => [
3881
3881
  F(ln)
3882
3882
  ]),
3883
3883
  _: 1
3884
- }, 8, ["model-value", "placeholder"])) : (m(), T("div", zs, [
3884
+ }, 8, ["model-value", "placeholder"])) : (m(), T("div", Hs, [
3885
3885
  F(q, {
3886
3886
  appearance: "tertiary",
3887
3887
  "data-testid": "filter-button",
3888
3888
  onClick: l
3889
3889
  }, {
3890
- default: h(() => [
3890
+ default: y(() => [
3891
3891
  F(ln),
3892
3892
  W(" " + j(g(a)("filter.filterButtonText")) + " " + j(i.value.length > 0 ? `(${i.value.length})` : ""), 1)
3893
3893
  ]),
@@ -3900,29 +3900,29 @@ const as = {
3900
3900
  [qe, r.value]
3901
3901
  ]),
3902
3902
  Be(F(N, { class: "kong-ui-entity-filter-menu" }, {
3903
- body: h(() => [
3903
+ body: y(() => [
3904
3904
  (m(!0), T(fe, null, de(s.value, (U, b) => (m(), R(w, {
3905
3905
  key: U.value,
3906
3906
  "data-testid": U.value,
3907
3907
  expandable: "",
3908
3908
  "last-menu-item": b === s.value.length - 1
3909
3909
  }, {
3910
- itemTitle: h(() => [
3911
- K("span", Js, [
3910
+ itemTitle: y(() => [
3911
+ K("span", zs, [
3912
3912
  W(j(U.label) + " ", 1),
3913
- Be(K("span", Ys, null, 512), [
3913
+ Be(K("span", Js, null, 512), [
3914
3914
  [qe, i.value.includes(U.value)]
3915
3915
  ])
3916
3916
  ])
3917
3917
  ]),
3918
- itemBody: h(() => {
3918
+ itemBody: y(() => {
3919
3919
  var C, V;
3920
3920
  return [
3921
- K("div", Ws, [
3921
+ K("div", Ys, [
3922
3922
  K("label", {
3923
3923
  class: "menu-item-label",
3924
3924
  for: d(U.value)
3925
- }, j(g(a)("filter.fieldLabel")), 9, Zs),
3925
+ }, j(g(a)("filter.fieldLabel")), 9, Ws),
3926
3926
  ((V = (C = e.config.schema) == null ? void 0 : C[U.value]) == null ? void 0 : V.type) === "select" ? (m(), R(_, {
3927
3927
  key: 0,
3928
3928
  id: d(U.value),
@@ -3938,17 +3938,17 @@ const as = {
3938
3938
  "onUpdate:modelValue": (B) => o.value[U.value] = B,
3939
3939
  autocomplete: "off",
3940
3940
  placeholder: g(a)("filter.inputPlaceholder"),
3941
- type: y(U.value)
3941
+ type: h(U.value)
3942
3942
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3943
3943
  ]),
3944
- K("div", Qs, [
3944
+ K("div", Zs, [
3945
3945
  F(q, {
3946
3946
  appearance: "tertiary",
3947
3947
  "data-testid": "apply-filter",
3948
3948
  size: "small",
3949
3949
  onClick: S[0] || (S[0] = (B) => k(!0))
3950
3950
  }, {
3951
- default: h(() => [
3951
+ default: y(() => [
3952
3952
  W(j(g(a)("filter.applyButtonText")), 1)
3953
3953
  ]),
3954
3954
  _: 1
@@ -3959,7 +3959,7 @@ const as = {
3959
3959
  size: "small",
3960
3960
  onClick: (B) => f(U.value)
3961
3961
  }, {
3962
- default: h(() => [
3962
+ default: y(() => [
3963
3963
  W(j(g(a)("filter.clearButtonText")), 1)
3964
3964
  ]),
3965
3965
  _: 2
@@ -3970,14 +3970,14 @@ const as = {
3970
3970
  _: 2
3971
3971
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
3972
3972
  ]),
3973
- actionButton: h(() => [
3974
- K("div", Xs, [
3973
+ actionButton: y(() => [
3974
+ K("div", Qs, [
3975
3975
  F(q, {
3976
3976
  appearance: "tertiary",
3977
3977
  size: "small",
3978
3978
  onClick: A
3979
3979
  }, {
3980
- default: h(() => [
3980
+ default: y(() => [
3981
3981
  W(j(g(a)("filter.clearAllButtonText")), 1)
3982
3982
  ]),
3983
3983
  _: 1
@@ -3991,7 +3991,7 @@ const as = {
3991
3991
  ]));
3992
3992
  };
3993
3993
  }
3994
- }), tl = /* @__PURE__ */ me(el, [["__scopeId", "data-v-15962ee2"]]), Ue = /* @__PURE__ */ te({
3994
+ }), el = /* @__PURE__ */ me(Xs, [["__scopeId", "data-v-15962ee2"]]), Ue = /* @__PURE__ */ te({
3995
3995
  __name: "PermissionsWrapper",
3996
3996
  props: {
3997
3997
  /**
@@ -4021,16 +4021,16 @@ const as = {
4021
4021
  isAllowed: t.value
4022
4022
  }) : G("", !0);
4023
4023
  }
4024
- }), nl = { class: "form-section-wrapper" }, al = {
4024
+ }), tl = { class: "form-section-wrapper" }, nl = {
4025
4025
  key: 0,
4026
4026
  class: "form-section-title"
4027
- }, rl = {
4027
+ }, al = {
4028
4028
  key: 1,
4029
4029
  class: "form-section-description"
4030
- }, ol = {
4030
+ }, rl = {
4031
4031
  key: 2,
4032
4032
  class: "form-section-footer"
4033
- }, il = { class: "form-section-content" }, sl = /* @__PURE__ */ te({
4033
+ }, ol = { class: "form-section-content" }, il = /* @__PURE__ */ te({
4034
4034
  __name: "EntityFormSection",
4035
4035
  props: {
4036
4036
  title: {
@@ -4059,34 +4059,34 @@ const as = {
4059
4059
  return (t, a) => (m(), T("fieldset", {
4060
4060
  class: Ae(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4061
4061
  }, [
4062
- K("div", nl, [
4062
+ K("div", tl, [
4063
4063
  e.hideInfoHeader ? G("", !0) : (m(), T("div", {
4064
4064
  key: 0,
4065
4065
  class: Ae(["form-section-info", { sticky: e.stickyInfoHeader }])
4066
4066
  }, [
4067
- e.title ? (m(), T("h4", al, j(e.title), 1)) : G("", !0),
4068
- e.description || g(n).description ? (m(), T("div", rl, [
4067
+ e.title ? (m(), T("h4", nl, j(e.title), 1)) : G("", !0),
4068
+ e.description || g(n).description ? (m(), T("div", al, [
4069
4069
  Y(t.$slots, "description", {}, () => [
4070
4070
  K("p", null, j(e.description), 1)
4071
4071
  ], !0)
4072
4072
  ])) : G("", !0),
4073
- g(n).footer ? (m(), T("div", ol, [
4073
+ g(n).footer ? (m(), T("div", rl, [
4074
4074
  Y(t.$slots, "footer", {}, void 0, !0)
4075
4075
  ])) : G("", !0)
4076
4076
  ], 2)),
4077
- K("div", il, [
4077
+ K("div", ol, [
4078
4078
  Y(t.$slots, "default", {}, void 0, !0)
4079
4079
  ])
4080
4080
  ])
4081
4081
  ], 2));
4082
4082
  }
4083
- }), ll = /* @__PURE__ */ me(sl, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: St, useDeleteUrlBuilder: ul, useErrors: cl, useExternalLinkCreator: Fl, useFetchUrlBuilder: Kl, useFetcher: dl, useDebouncedFilter: pl, useStringHelpers: Nl, useHelpers: Bl, useGatewayFeatureSupported: ql, useTruncationDetector: Ll } = re, fl = { class: "add-consumer-form-container" }, ml = { class: "add-consumer-form-cta" }, gl = { class: "select-item-label" }, yl = {
4083
+ }), sl = /* @__PURE__ */ me(il, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: St, useDeleteUrlBuilder: ll, useErrors: ul, useExternalLinkCreator: El, useFetchUrlBuilder: Fl, useFetcher: cl, useDebouncedFilter: dl, useStringHelpers: Kl, useHelpers: Nl, useGatewayFeatureSupported: Bl, useTruncationDetector: ql } = re, pl = { class: "add-consumer-form-container" }, fl = { class: "add-consumer-form-cta" }, ml = { class: "select-item-label" }, gl = {
4084
4084
  key: 0,
4085
4085
  class: "select-item-desc"
4086
- }, hl = {
4086
+ }, yl = {
4087
4087
  key: 0,
4088
4088
  class: "kong-ui-entity-add-consumers-error"
4089
- }, vl = { key: 0 }, bl = /* @__PURE__ */ te({
4089
+ }, hl = { key: 0 }, vl = /* @__PURE__ */ te({
4090
4090
  __name: "AddConsumerModal",
4091
4091
  props: {
4092
4092
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4113,15 +4113,15 @@ const as = {
4113
4113
  error: u,
4114
4114
  loadItems: d,
4115
4115
  results: c
4116
- } = pl(
4116
+ } = dl(
4117
4117
  t.config,
4118
- Se.list[t.config.app].all,
4118
+ xe.list[t.config.app].all,
4119
4119
  "",
4120
4120
  {
4121
4121
  fetchedItemsKey: "data",
4122
4122
  searchKeys: ["username", "id"]
4123
4123
  }
4124
- ), y = (I) => I, f = $(() => u.value ? a("consumers.errors.general") : ""), A = O(0), k = $(() => l.value === void 0), p = $(() => c.value.map((I) => ({
4124
+ ), h = (I) => I, f = $(() => u.value ? a("consumers.errors.general") : ""), A = O(0), k = $(() => l.value === void 0), p = $(() => c.value.map((I) => ({
4125
4125
  label: I.username || I.customId,
4126
4126
  value: I.id,
4127
4127
  selected: o.value.includes(I.id),
@@ -4152,7 +4152,7 @@ const as = {
4152
4152
  }
4153
4153
  }, U = $(() => {
4154
4154
  var E, L, D, Z;
4155
- let I = `${t.config.apiBaseUrl}${Se.list[t.config.app].forConsumerGroup}`;
4155
+ let I = `${t.config.apiBaseUrl}${xe.list[t.config.app].forConsumerGroup}`;
4156
4156
  return t.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((E = t.config) == null ? void 0 : E.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((L = t.config) == null ? void 0 : L.consumerGroupId) || "") : t.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (D = t.config) != null && D.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((Z = t.config) == null ? void 0 : Z.consumerGroupId) || "")), I;
4157
4157
  }), b = async (I) => {
4158
4158
  const E = {
@@ -4186,9 +4186,9 @@ const as = {
4186
4186
  onCanceled: v,
4187
4187
  onProceed: N
4188
4188
  }, {
4189
- "body-content": h(() => [
4190
- K("div", fl, [
4191
- K("p", ml, j(g(a)("consumers.consumer_groups.add.ctaText")), 1),
4189
+ "body-content": y(() => [
4190
+ K("div", pl, [
4191
+ K("p", fl, j(g(a)("consumers.consumer_groups.add.ctaText")), 1),
4192
4192
  F(L, {
4193
4193
  modelValue: o.value,
4194
4194
  "onUpdate:modelValue": E[0] || (E[0] = (z) => o.value = z),
@@ -4204,17 +4204,17 @@ const as = {
4204
4204
  width: "100%",
4205
4205
  onQueryChange: g(i)
4206
4206
  }, {
4207
- "item-template": h(({ item: z }) => [
4208
- K("div", gl, j(z.label), 1),
4209
- y(z).data.username && y(z).data.custom_id ? (m(), T("div", yl, j(y(z).data.custom_id), 1)) : G("", !0)
4207
+ "item-template": y(({ item: z }) => [
4208
+ K("div", ml, j(z.label), 1),
4209
+ h(z).data.username && h(z).data.custom_id ? (m(), T("div", gl, j(h(z).data.custom_id), 1)) : G("", !0)
4210
4210
  ]),
4211
4211
  _: 1
4212
4212
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4213
- w.value || f.value || C.value.length ? (m(), T("div", hl, [
4213
+ w.value || f.value || C.value.length ? (m(), T("div", yl, [
4214
4214
  F(D, { appearance: "danger" }, {
4215
- alertMessage: h(() => [
4215
+ alertMessage: y(() => [
4216
4216
  K("p", null, j(g(a)("consumers.errors.add")), 1),
4217
- C.value.length ? (m(), T("ul", vl, [
4217
+ C.value.length ? (m(), T("ul", hl, [
4218
4218
  (m(!0), T(fe, null, de(C.value, (z, Q) => (m(), T("li", { key: Q }, j(z), 1))), 128))
4219
4219
  ])) : G("", !0),
4220
4220
  K("div", null, j(w.value || f.value), 1)
@@ -4233,7 +4233,7 @@ const as = {
4233
4233
  for (const [a, r] of n)
4234
4234
  t[a] = r;
4235
4235
  return t;
4236
- }, kl = /* @__PURE__ */ xt(bl, [["__scopeId", "data-v-68cc6403"]]), Cl = { class: "kong-ui-entities-consumers-list" }, wl = { key: 1 }, Il = /* @__PURE__ */ te({
4236
+ }, bl = /* @__PURE__ */ xt(vl, [["__scopeId", "data-v-68cc6403"]]), kl = { class: "kong-ui-entities-consumers-list" }, Cl = { key: 1 }, wl = /* @__PURE__ */ te({
4237
4237
  __name: "ConsumerList",
4238
4238
  props: {
4239
4239
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4286,11 +4286,11 @@ const as = {
4286
4286
  username: { label: r("consumers.list.table_headers.username"), searchable: !0, sortable: !0 },
4287
4287
  custom_id: { label: r("consumers.list.table_headers.custom_id"), searchable: !0, sortable: !0 },
4288
4288
  tags: { label: r("consumers.list.table_headers.tags"), sortable: !1 }
4289
- }, c = d, y = (x) => ({
4289
+ }, c = d, h = (x) => ({
4290
4290
  "data-testid": x.username ?? x.custom_id ?? x.id
4291
4291
  }), f = $(() => {
4292
4292
  var H, ee, ue, ge;
4293
- let x = `${t.config.apiBaseUrl}${Se.list[t.config.app][l.value ? "forConsumerGroup" : "all"]}`;
4293
+ let x = `${t.config.apiBaseUrl}${xe.list[t.config.app][l.value ? "forConsumerGroup" : "all"]}`;
4294
4294
  return t.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ee = t.config) == null ? void 0 : ee.consumerGroupId) || "") : t.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (ue = t.config) != null && ue.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((ge = t.config) == null ? void 0 : ge.consumerGroupId) || "")), x;
4295
4295
  }), A = O(""), k = $(() => {
4296
4296
  const x = t.config.app === "konnect" || t.config.isExactMatch;
@@ -4305,7 +4305,7 @@ const as = {
4305
4305
  },
4306
4306
  schema: t.config.filterSchema
4307
4307
  };
4308
- }), p = $(() => l.value ? "consumers" : void 0), { fetcher: S, fetcherState: v } = dl(t.config, f.value, p.value), q = () => {
4308
+ }), p = $(() => l.value ? "consumers" : void 0), { fetcher: S, fetcherState: v } = cl(t.config, f.value, p.value), q = () => {
4309
4309
  A.value = "";
4310
4310
  }, _ = () => {
4311
4311
  s.value++;
@@ -4346,7 +4346,7 @@ const as = {
4346
4346
  }), B = (x) => ({
4347
4347
  label: r("consumers.actions.edit"),
4348
4348
  to: t.config.getEditRoute(x)
4349
- }), I = O(void 0), E = O(!1), L = O(!1), D = O(""), Z = ul(t.config, f.value), z = (x) => {
4349
+ }), I = O(void 0), E = O(!1), L = O(!1), D = O(""), Z = ll(t.config, f.value), z = (x) => {
4350
4350
  I.value = x, E.value = !0;
4351
4351
  }, Q = () => {
4352
4352
  E.value = !1;
@@ -4368,24 +4368,24 @@ const as = {
4368
4368
  Xe.value = !1;
4369
4369
  }, jt = (x, H) => {
4370
4370
  H || $t(), s.value++, n("add:success", x);
4371
- }, sa = () => {
4371
+ }, ua = () => {
4372
4372
  l.value && Tt();
4373
- }, ve = O(void 0), et = O(!1), la = O(""), ua = (x) => {
4373
+ }, ve = O(void 0), et = O(!1), ca = O(""), da = (x) => {
4374
4374
  ve.value = x, et.value = !0;
4375
4375
  }, Mt = () => {
4376
4376
  et.value = !1, ve.value = void 0;
4377
- }, ca = $(() => {
4377
+ }, pa = $(() => {
4378
4378
  var H, ee, ue, ge;
4379
- let x = `${t.config.apiBaseUrl}${Se.list[t.config.app].oneForConsumerGroup}`;
4379
+ let x = `${t.config.apiBaseUrl}${xe.list[t.config.app].oneForConsumerGroup}`;
4380
4380
  return t.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((ee = t.config) == null ? void 0 : ee.consumerGroupId) || "") : t.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (ue = t.config) != null && ue.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((ge = t.config) == null ? void 0 : ge.consumerGroupId) || "")), x;
4381
- }), Ot = O(!1), da = async () => {
4381
+ }), Ot = O(!1), fa = async () => {
4382
4382
  if (ve.value) {
4383
4383
  Ot.value = !0;
4384
4384
  try {
4385
- const x = ca.value.replace(/{consumerId}/gi, ve.value.id);
4385
+ const x = pa.value.replace(/{consumerId}/gi, ve.value.id);
4386
4386
  await i.delete(x), n("remove:success", ve.value), Mt(), s.value++;
4387
4387
  } catch (x) {
4388
- la.value = x.message || r("consumers.errors.delete"), n("error", x);
4388
+ ca.value = x.message || r("consumers.errors.delete"), n("error", x);
4389
4389
  } finally {
4390
4390
  Ot.value = !1;
4391
4391
  }
@@ -4410,9 +4410,9 @@ const as = {
4410
4410
  return mt(async () => {
4411
4411
  await t.canCreate() && (tt.value.title = l.value ? r("consumers.list.empty_state.title_for_consumer_group") : r("consumers.list.empty_state.title"), tt.value.ctaText = l.value ? r("consumers.actions.add_consumer") : r("consumers.actions.create"));
4412
4412
  }), (x, H) => {
4413
- const ee = P("KButton"), ue = P("KBadge"), ge = P("KTruncate"), Ke = P("KDropdownItem"), Kt = P("KClipboardProvider"), pa = P("KPrompt");
4414
- return m(), T("div", Cl, [
4415
- F(g(Bs), {
4413
+ const ee = P("KButton"), ue = P("KBadge"), ge = P("KTruncate"), Ke = P("KDropdownItem"), Kt = P("KClipboardProvider"), ma = P("KPrompt");
4414
+ return m(), T("div", kl, [
4415
+ F(g(Ns), {
4416
4416
  "cache-identifier": e.cacheIdentifier,
4417
4417
  "disable-pagination": l.value,
4418
4418
  "disable-pagination-page-jump": "",
@@ -4425,81 +4425,81 @@ const as = {
4425
4425
  "pagination-type": "offset",
4426
4426
  "preferences-storage-key": "kong-ui-entities-consumers-list",
4427
4427
  query: A.value,
4428
- "row-attributes": y,
4428
+ "row-attributes": h,
4429
4429
  "table-headers": g(c),
4430
4430
  "use-action-outside": e.useActionOutside,
4431
4431
  onClearSearchInput: q,
4432
4432
  "onClick:row": H[3] || (H[3] = (J) => C(J)),
4433
- onEmptyStateCtaClicked: sa,
4433
+ onEmptyStateCtaClicked: ua,
4434
4434
  onSort: _
4435
4435
  }, {
4436
- "toolbar-filter": h(() => [
4437
- l.value ? G("", !0) : (m(), R(g(tl), {
4436
+ "toolbar-filter": y(() => [
4437
+ l.value ? G("", !0) : (m(), R(g(el), {
4438
4438
  key: 0,
4439
4439
  modelValue: A.value,
4440
4440
  "onUpdate:modelValue": H[0] || (H[0] = (J) => A.value = J),
4441
4441
  config: k.value
4442
4442
  }, null, 8, ["modelValue", "config"]))
4443
4443
  ]),
4444
- "toolbar-button": h(() => [
4445
- (m(), R(ka, {
4446
- disabled: !e.useActionOutside,
4447
- to: "#kong-ui-app-page-header-action-button"
4448
- }, [
4449
- F(g(Ue), {
4450
- "auth-function": () => e.canCreate()
4451
- }, {
4452
- default: h(() => [
4453
- Be(F(ee, {
4454
- appearance: "primary",
4455
- "data-testid": "toolbar-add-consumer",
4456
- icon: "plus",
4457
- to: e.config.consumerGroupId ? void 0 : e.config.createRoute,
4458
- onClick: H[1] || (H[1] = () => e.config.consumerGroupId ? Tt() : void 0)
4459
- }, {
4460
- default: h(() => [
4461
- W(j(e.config.consumerGroupId ? g(r)("consumers.actions.add_consumer") : g(r)("consumers.list.toolbar_actions.new_consumer")), 1)
4462
- ]),
4463
- _: 1
4464
- }, 8, ["to"]), [
4465
- [qe, Et.value]
4466
- ])
4467
- ]),
4468
- _: 1
4469
- }, 8, ["auth-function"])
4470
- ], 8, ["disabled"]))
4444
+ "toolbar-button": y(() => [
4445
+ (m(), R(Se(e.useActionOutside ? "Teleport" : "div"), un(cn(e.useActionOutside ? { to: "#kong-ui-app-page-header-action-button" } : {})), {
4446
+ default: y(() => [
4447
+ F(g(Ue), {
4448
+ "auth-function": () => e.canCreate()
4449
+ }, {
4450
+ default: y(() => [
4451
+ Be(F(ee, {
4452
+ appearance: "primary",
4453
+ "data-testid": "toolbar-add-consumer",
4454
+ icon: "plus",
4455
+ to: e.config.consumerGroupId ? void 0 : e.config.createRoute,
4456
+ onClick: H[1] || (H[1] = () => e.config.consumerGroupId ? Tt() : void 0)
4457
+ }, {
4458
+ default: y(() => [
4459
+ W(j(e.config.consumerGroupId ? g(r)("consumers.actions.add_consumer") : g(r)("consumers.list.toolbar_actions.new_consumer")), 1)
4460
+ ]),
4461
+ _: 1
4462
+ }, 8, ["to"]), [
4463
+ [qe, Et.value]
4464
+ ])
4465
+ ]),
4466
+ _: 1
4467
+ }, 8, ["auth-function"])
4468
+ ]),
4469
+ _: 1
4470
+ }, 16))
4471
4471
  ]),
4472
- username: h(({ rowValue: J }) => [
4472
+ username: y(({ rowValue: J }) => [
4473
4473
  K("b", null, j(w(J)), 1)
4474
4474
  ]),
4475
- custom_id: h(({ rowValue: J }) => [
4475
+ custom_id: y(({ rowValue: J }) => [
4476
4476
  W(j(w(J)), 1)
4477
4477
  ]),
4478
- tags: h(({ rowValue: J }) => [
4478
+ tags: y(({ rowValue: J }) => [
4479
4479
  J && J.length > 0 ? (m(), R(ge, { key: 0 }, {
4480
- default: h(() => [
4481
- (m(!0), T(fe, null, de(J, (xe) => (m(), R(ue, {
4482
- key: xe,
4480
+ default: y(() => [
4481
+ (m(!0), T(fe, null, de(J, (Te) => (m(), R(ue, {
4482
+ key: Te,
4483
4483
  onClick: H[2] || (H[2] = De(() => {
4484
4484
  }, ["stop"]))
4485
4485
  }, {
4486
- default: h(() => [
4487
- W(j(xe), 1)
4486
+ default: y(() => [
4487
+ W(j(Te), 1)
4488
4488
  ]),
4489
4489
  _: 2
4490
4490
  }, 1024))), 128))
4491
4491
  ]),
4492
4492
  _: 2
4493
- }, 1024)) : (m(), T("span", wl, "-"))
4493
+ }, 1024)) : (m(), T("span", Cl, "-"))
4494
4494
  ]),
4495
- actions: h(({ row: J }) => [
4495
+ actions: y(({ row: J }) => [
4496
4496
  F(Kt, null, {
4497
- default: h(({ copyToClipboard: xe }) => [
4497
+ default: y(({ copyToClipboard: Te }) => [
4498
4498
  F(Ke, {
4499
4499
  "data-testid": "action-entity-copy-id",
4500
- onClick: (fa) => U(J, xe)
4500
+ onClick: (ga) => U(J, Te)
4501
4501
  }, {
4502
- default: h(() => [
4502
+ default: y(() => [
4503
4503
  W(j(g(r)("consumers.actions.copy_id")), 1)
4504
4504
  ]),
4505
4505
  _: 2
@@ -4508,12 +4508,12 @@ const as = {
4508
4508
  _: 2
4509
4509
  }, 1024),
4510
4510
  F(Kt, null, {
4511
- default: h(({ copyToClipboard: xe }) => [
4511
+ default: y(({ copyToClipboard: Te }) => [
4512
4512
  F(Ke, {
4513
4513
  "data-testid": "action-entity-copy-json",
4514
- onClick: (fa) => b(J, xe)
4514
+ onClick: (ga) => b(J, Te)
4515
4515
  }, {
4516
- default: h(() => [
4516
+ default: y(() => [
4517
4517
  W(j(g(r)("consumers.actions.copy_json")), 1)
4518
4518
  ]),
4519
4519
  _: 2
@@ -4524,7 +4524,7 @@ const as = {
4524
4524
  F(g(Ue), {
4525
4525
  "auth-function": () => e.canRetrieve(J)
4526
4526
  }, {
4527
- default: h(() => [
4527
+ default: y(() => [
4528
4528
  F(Ke, {
4529
4529
  "data-testid": "action-entity-view",
4530
4530
  "has-divider": "",
@@ -4536,7 +4536,7 @@ const as = {
4536
4536
  F(g(Ue), {
4537
4537
  "auth-function": () => e.canEdit(J)
4538
4538
  }, {
4539
- default: h(() => [
4539
+ default: y(() => [
4540
4540
  F(Ke, {
4541
4541
  "data-testid": "action-entity-edit",
4542
4542
  item: B(J.id)
@@ -4547,14 +4547,14 @@ const as = {
4547
4547
  F(g(Ue), {
4548
4548
  "auth-function": () => e.canDelete(J)
4549
4549
  }, {
4550
- default: h(() => [
4550
+ default: y(() => [
4551
4551
  F(Ke, {
4552
4552
  danger: "",
4553
4553
  "data-testid": "action-entity-delete",
4554
4554
  "has-divider": "",
4555
- onClick: () => e.config.consumerGroupId ? ua(J) : z(J)
4555
+ onClick: () => e.config.consumerGroupId ? da(J) : z(J)
4556
4556
  }, {
4557
- default: h(() => [
4557
+ default: y(() => [
4558
4558
  W(j(e.config.consumerGroupId ? g(r)("consumers.actions.remove") : g(r)("consumers.actions.delete")), 1)
4559
4559
  ]),
4560
4560
  _: 2
@@ -4565,19 +4565,19 @@ const as = {
4565
4565
  ]),
4566
4566
  _: 1
4567
4567
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4568
- F(g(Vs), {
4568
+ F(g(Ps), {
4569
4569
  "action-pending": L.value,
4570
4570
  "data-testid": "delete-consumer-modal",
4571
4571
  description: g(r)("consumers.delete.description"),
4572
4572
  "entity-name": I.value && (I.value.username || I.value.custom_id || I.value.id),
4573
- "entity-type": g(fn).Consumer,
4573
+ "entity-type": g(gn).Consumer,
4574
4574
  error: D.value,
4575
4575
  title: g(r)("consumers.delete.title"),
4576
4576
  visible: E.value,
4577
4577
  onCancel: Q,
4578
4578
  onProceed: le
4579
4579
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4580
- e.config.consumerGroupId ? (m(), R(kl, {
4580
+ e.config.consumerGroupId ? (m(), R(bl, {
4581
4581
  key: 0,
4582
4582
  config: e.config,
4583
4583
  "data-testid": "add-consumer-modal",
@@ -4586,29 +4586,29 @@ const as = {
4586
4586
  "onAdd:success": H[5] || (H[5] = (J) => jt(J)),
4587
4587
  onCancel: $t
4588
4588
  }, null, 8, ["config", "visible"])) : G("", !0),
4589
- e.config.consumerGroupId && ve.value ? (m(), R(pa, {
4589
+ e.config.consumerGroupId && ve.value ? (m(), R(ma, {
4590
4590
  key: 1,
4591
4591
  "data-testid": "remove-consumer-modal",
4592
4592
  "is-visible": et.value,
4593
4593
  title: g(r)("consumers.consumer_groups.remove.title"),
4594
4594
  type: "danger",
4595
4595
  onCanceled: Mt,
4596
- onProceed: da
4596
+ onProceed: fa
4597
4597
  }, {
4598
- "body-content": h(() => [
4598
+ "body-content": y(() => [
4599
4599
  F(g(a), {
4600
4600
  class: "message",
4601
4601
  keypath: e.config.consumerGroupName ? "consumers.consumer_groups.remove.confirmation" : "consumers.consumer_groups.remove.confirmationNoCG",
4602
4602
  tag: "p"
4603
4603
  }, ke({
4604
- consumer: h(() => [
4604
+ consumer: y(() => [
4605
4605
  K("strong", null, j(ve.value.username || ve.value.custom_id || ve.value.id), 1)
4606
4606
  ]),
4607
4607
  _: 2
4608
4608
  }, [
4609
4609
  e.config.consumerGroupName ? {
4610
4610
  name: "consumerGroup",
4611
- fn: h(() => [
4611
+ fn: y(() => [
4612
4612
  K("strong", null, j(e.config.consumerGroupName), 1)
4613
4613
  ]),
4614
4614
  key: "0"
@@ -4621,7 +4621,7 @@ const as = {
4621
4621
  ]);
4622
4622
  };
4623
4623
  }
4624
- }), Pl = /* @__PURE__ */ xt(Il, [["__scopeId", "data-v-38535d5a"]]), _l = { class: "kong-ui-entities-consumer-form" }, Al = { class: "fields-group-title" }, Sl = { class: "fields-group-text" }, xl = /* @__PURE__ */ te({
4624
+ }), Ll = /* @__PURE__ */ xt(wl, [["__scopeId", "data-v-8659549c"]]), Il = { class: "kong-ui-entities-consumer-form" }, _l = { class: "fields-group-title" }, Al = { class: "fields-group-text" }, Sl = /* @__PURE__ */ te({
4625
4625
  __name: "ConsumerForm",
4626
4626
  props: {
4627
4627
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4642,7 +4642,7 @@ const as = {
4642
4642
  var _;
4643
4643
  const t = e, { i18nT: a, i18n: { t: r } } = Ze.useI18n(), o = gt(), { axiosInstance: i } = St({
4644
4644
  headers: (_ = t.config) == null ? void 0 : _.requestHeaders
4645
- }), { getMessageFromError: s } = cl(), l = Nt({
4645
+ }), { getMessageFromError: s } = ul(), l = Nt({
4646
4646
  fields: {
4647
4647
  username: "",
4648
4648
  customId: "",
@@ -4656,11 +4656,11 @@ const as = {
4656
4656
  tags: ""
4657
4657
  }), d = $(() => {
4658
4658
  var w, N;
4659
- return (N = Se.form[(w = t.config) == null ? void 0 : w.app]) == null ? void 0 : N.edit;
4659
+ return (N = xe.form[(w = t.config) == null ? void 0 : w.app]) == null ? void 0 : N.edit;
4660
4660
  }), c = () => {
4661
4661
  var w;
4662
4662
  o.push(((w = t.config) == null ? void 0 : w.cancelRoute) || { name: "consumer-list" });
4663
- }, y = (w) => {
4663
+ }, h = (w) => {
4664
4664
  n("loading", w);
4665
4665
  }, f = (w) => {
4666
4666
  n("error", w);
@@ -4671,7 +4671,7 @@ const as = {
4671
4671
  l.fields.tags = (N == null ? void 0 : N.join(", ")) || "", Object.assign(u, l.fields);
4672
4672
  }, k = $(() => t.consumerId ? lt.Edit : lt.Create), p = (w) => {
4673
4673
  var U, b, C, V, B, I;
4674
- let N = `${(U = t.config) == null ? void 0 : U.apiBaseUrl}${Se.form[(b = t.config) == null ? void 0 : b.app][w]}`;
4674
+ let N = `${(U = t.config) == null ? void 0 : U.apiBaseUrl}${xe.form[(b = t.config) == null ? void 0 : b.app][w]}`;
4675
4675
  return ((C = t.config) == null ? void 0 : C.app) === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((V = t.config) == null ? void 0 : V.controlPlaneId) || "") : ((B = t.config) == null ? void 0 : B.app) === "kongManager" && (N = N.replace(/\/{workspace}/gi, (I = t.config) != null && I.workspace ? `/${t.config.workspace}` : "")), N = N.replace(/{id}/gi, t.consumerId), N;
4676
4676
  }, S = $(() => !!l.fields.username || !!l.fields.customId), v = $(() => JSON.stringify(l.fields) !== JSON.stringify(u)), q = async () => {
4677
4677
  var w, N, U;
@@ -4692,8 +4692,8 @@ const as = {
4692
4692
  };
4693
4693
  return (w, N) => {
4694
4694
  const U = P("KInput"), b = P("KCard");
4695
- return m(), T("div", _l, [
4696
- F(g($s), {
4695
+ return m(), T("div", Il, [
4696
+ F(g(Ts), {
4697
4697
  "can-submit": S.value && v.value,
4698
4698
  config: e.config,
4699
4699
  "edit-id": e.consumerId,
@@ -4703,23 +4703,23 @@ const as = {
4703
4703
  onCancel: c,
4704
4704
  "onFetch:error": N[3] || (N[3] = (C) => f(C)),
4705
4705
  "onFetch:success": A,
4706
- onLoading: N[4] || (N[4] = (C) => y(C)),
4706
+ onLoading: N[4] || (N[4] = (C) => h(C)),
4707
4707
  onSubmit: q
4708
4708
  }, {
4709
- default: h(() => [
4709
+ default: y(() => [
4710
4710
  K("div", null, [
4711
- F(g(ll), {
4711
+ F(g(sl), {
4712
4712
  description: g(r)("consumers.form.info.description"),
4713
4713
  "has-divider": "",
4714
4714
  title: g(r)("consumers.form.info.title")
4715
4715
  }, {
4716
- default: h(() => [
4716
+ default: y(() => [
4717
4717
  K("div", null, [
4718
- K("h5", Al, j(g(r)("consumers.form.consumer_identification.title")) + "* ", 1),
4719
- K("p", Sl, j(g(r)("consumers.form.consumer_identification.description")), 1)
4718
+ K("h5", _l, j(g(r)("consumers.form.consumer_identification.title")) + "* ", 1),
4719
+ K("p", Al, j(g(r)("consumers.form.consumer_identification.description")), 1)
4720
4720
  ]),
4721
4721
  F(b, null, {
4722
- default: h(() => [
4722
+ default: y(() => [
4723
4723
  F(U, {
4724
4724
  modelValue: l.fields.username,
4725
4725
  "onUpdate:modelValue": N[0] || (N[0] = (C) => l.fields.username = C),
@@ -4735,12 +4735,12 @@ const as = {
4735
4735
  readonly: l.readonly,
4736
4736
  type: "text"
4737
4737
  }, {
4738
- "label-tooltip": h(() => [
4738
+ "label-tooltip": y(() => [
4739
4739
  F(g(a), {
4740
4740
  keypath: "consumers.fields.username.tooltip",
4741
4741
  scope: "global"
4742
4742
  }, {
4743
- custom_id: h(() => [
4743
+ custom_id: y(() => [
4744
4744
  K("code", null, j(g(r)("consumers.fields.username.custom_id")), 1)
4745
4745
  ]),
4746
4746
  _: 1
@@ -4762,12 +4762,12 @@ const as = {
4762
4762
  readonly: l.readonly,
4763
4763
  type: "text"
4764
4764
  }, {
4765
- "label-tooltip": h(() => [
4765
+ "label-tooltip": y(() => [
4766
4766
  F(g(a), {
4767
4767
  keypath: "consumers.fields.custom_id.tooltip",
4768
4768
  scope: "global"
4769
4769
  }, {
4770
- username: h(() => [
4770
+ username: y(() => [
4771
4771
  K("code", null, j(g(r)("consumers.fields.custom_id.username")), 1)
4772
4772
  ]),
4773
4773
  _: 1
@@ -4804,7 +4804,7 @@ const as = {
4804
4804
  ]);
4805
4805
  };
4806
4806
  }
4807
- }), Vl = /* @__PURE__ */ xt(xl, [["__scopeId", "data-v-99612940"]]), Tl = { class: "kong-ui-consumer-entity-config-card" }, Rl = /* @__PURE__ */ te({
4807
+ }), Pl = /* @__PURE__ */ xt(Sl, [["__scopeId", "data-v-99612940"]]), xl = { class: "kong-ui-consumer-entity-config-card" }, Vl = /* @__PURE__ */ te({
4808
4808
  __name: "ConsumerConfigCard",
4809
4809
  props: {
4810
4810
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4831,7 +4831,7 @@ const as = {
4831
4831
  },
4832
4832
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4833
4833
  setup(e) {
4834
- const n = e, { i18n: { t }, i18nT: a } = Ze.useI18n(), r = $(() => Se.form[n.config.app].edit), o = O({
4834
+ const n = e, { i18n: { t }, i18nT: a } = Ze.useI18n(), r = $(() => xe.form[n.config.app].edit), o = O({
4835
4835
  id: {},
4836
4836
  username: {
4837
4837
  section: ce.Basic,
@@ -4856,8 +4856,8 @@ const as = {
4856
4856
  hidden: !0
4857
4857
  }
4858
4858
  });
4859
- return (i, s) => (m(), T("div", Tl, [
4860
- F(g(As), {
4859
+ return (i, s) => (m(), T("div", xl, [
4860
+ F(g(_s), {
4861
4861
  config: e.config,
4862
4862
  "config-card-doc": e.configCardDoc,
4863
4863
  "config-schema": o.value,
@@ -4868,23 +4868,23 @@ const as = {
4868
4868
  "onFetch:success": s[2] || (s[2] = (l) => i.$emit("fetch:success", l)),
4869
4869
  onLoading: s[3] || (s[3] = (l) => i.$emit("loading", l))
4870
4870
  }, {
4871
- "username-label-tooltip": h(() => [
4871
+ "username-label-tooltip": y(() => [
4872
4872
  F(g(a), {
4873
4873
  keypath: "consumers.fields.username.tooltip",
4874
4874
  scope: "global"
4875
4875
  }, {
4876
- custom_id: h(() => [
4876
+ custom_id: y(() => [
4877
4877
  K("code", null, j(g(t)("consumers.fields.username.custom_id")), 1)
4878
4878
  ]),
4879
4879
  _: 1
4880
4880
  })
4881
4881
  ]),
4882
- "custom_id-label-tooltip": h(() => [
4882
+ "custom_id-label-tooltip": y(() => [
4883
4883
  F(g(a), {
4884
4884
  keypath: "consumers.fields.custom_id.tooltip",
4885
4885
  scope: "global"
4886
4886
  }, {
4887
- username: h(() => [
4887
+ username: y(() => [
4888
4888
  K("code", null, j(g(t)("consumers.fields.custom_id.username")), 1)
4889
4889
  ]),
4890
4890
  _: 1
@@ -4896,7 +4896,7 @@ const as = {
4896
4896
  }
4897
4897
  });
4898
4898
  export {
4899
- Rl as ConsumerConfigCard,
4900
- Vl as ConsumerForm,
4901
- Pl as ConsumerList
4899
+ Vl as ConsumerConfigCard,
4900
+ Pl as ConsumerForm,
4901
+ Ll as ConsumerList
4902
4902
  };